Missing contest data from leetcode.cn

Contest data from leetcode.cn is missing for weekly-318

So, no one noticed the weekly-318？

i have this problem too

yes, same on contest 319

I had the same problem for weekly-318
for contest-319 ,I found that I could search for my ranking within half an hour to a day after the game,and now,cannot.
So I'm guessing that it will delete some of the people's rankings after a day of competition, I'm not sure which ones.

Same as weekly-contest-320.

just changing the update frequency is fine.
the data fetched just after the contest ends is correct, but the data updated when around 1 hour after the contest does not include Leetcode.cn due to Leetcode's new design.
So keeping the origin data for longer time and updating it in the middle of week such as Tue. or Wed. will be fine.

weekly contest 322 is missing .

this has been fixed now. We fetch the data from both leetcode.com & leetcode.cn servers now.


Remove allow_failures on PHP 7.2 + update composer skeleton

updated composer.json skeleton (order of sections, rss link, ...)
removed allow_failures on PHP 7.2 and composer self-update
updated link in SUPPORT.md to the forum

Thanks, @webimpress.


Improve resilience of MacOS Code Signing Step

Fixes Issue #596
Implements a check for each file signed in the code signing step, validates the results, and has 20 attempts with a minor pause to allow and reduce flooding the code signing service with requests.

run tests

The Windows jdk20 job has failed here, but the error (pasted below) appears identical to one seen 2 weeks ago here, so even if this wasn't on a totally different platform, I don't think this failure is related to this PR.
11:43:28  fatal: packfile .git/objects/pack/pack-251e1dcc24630754c55ba307bc330d3298caf56a.pack cannot be mapped: Resource temporarily unavailable
11:43:28  fatal: fetch-pack: invalid index-pack output


Timeline panel leaks internal (?) name

trigger view picker, e.g F1 replace all text with view<space>
:bug: notice how one panel (its the timeline) has a bogous name

Have you moved Timeline into the new second sidebar?

Just the bottom panel

really thought this was going to be a regression, but its an old regression. either way, should be fixed now. the new side panel is not included in this fix, but will be added after the release.


[MENFORCER-488] Add EnforcerLogger.isDebugEnabled()

one missing isWarnOrErrorEnabled

I would prefer to leave that out, as the semantics is not clear from the name. It could mean both

isWarnEnabled() || isErrorEnabled() or
isWarnEnabled() && rule.getLevel() == EnforcerLevel.WARN || isErrorEnabled() && rule.getLevel() == EnforcerLevel.ERROR

Although one could clarify that in the javadoc the chance for misinterpretation is quite high and I would not add it until we see a real use case.


Validation Workflow enhancement to support run with different options for staging and local artifacts

Description
The existing validation workflow is updated to accomodate flexibility while validating OS and OSD artifacts.
Issues Resolved

Changes constrained to tar and rpm distributions

Additional arguments are added to support  -
Staging artifacts
Locally located artifacts
and we should be able to validate OS and OSD altogether and seperately
https://github.com/opensearch-project/opensearch-build/issues/3441
Resolves
#3690
#3691

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

No other comments except the test coverage can be improved as I can see the new changes have not been covered. Don't want to block this PR, so please take it up in subsequent PRs.


Add paint-order

Feels a quite small feature grouping, but if no other logical home for it, then looks good otherwise.

I'm not thinking of a logical grouping for this, but there could be one. There are articles an demos on just this feature that make it seem like a standalone feature. https://css-tricks.com/almanac/properties/p/paint-order/ https://nerdy.dev/css-paint-order


Adds system resources check to make sure minikube is started with minimum resources

Signed-off-by: bharathappali<EMAIL_ADDRESS>

@dinogun Can I please have this reviewed?


[parametric] Enable OTEL Span Link tests for PHP

Motivation
We want to release OTEL Span Links this quarter so we will need to make sure they all pass the system-tests we've written.
Changes
Enables the various OTEL Span Links tests for more languages.
Test Status

[X] PHP

The only remaining language that needs to implement this feature and pass the tests (excluding array dot-notation in attributes) at this point is .NET.
Workflow

⚠ Create your PR as draft ⚠
Work on you PR until the CI passes (if something not related to your task is failing, you can ignore it)
Mark it as ready for review

Test logic is modified? -> Get a review from RFC owner. We're working on refining the codeowners file quickly.
Framework is modified, or non obvious usage of it -> get a review from R&P team

:rocket: Once your PR is reviewed, you can merge it!
🛟 #apm-shared-testing 🛟
Reviewer checklist

[ ] Relevant label (run-parametric-scenario, run-profiling-scenario...) are presents
[ ] If PR title starts with [<language>], double-check that only <language> is impacted by the change
[ ] No system-tests internal is modified. Otherwise, I have the approval from R&P team
[ ] CI is green, or failing jobs are not related to this change (and you are 100% sure about this statement)
[ ] A docker base image is modified?

[ ] the relevant build-XXX-image label is present

[ ] A scenario is added (or removed)?

[ ] Get a review from R&P team

Hi @robertomonteromiguel, this PR was intended to update PHP so I've removed the one Ruby update as @mabdinur is working on a separate branch to fix that. Would you approve for the PHP changes?


Show the Installed extensions tab by default instead of the Available tab when opening the extensions manager.

Just a thought,
On opening the extensions manager window, the Available tab is selected by default and this starts downloading the list available from the extensions registry.
This is sometimes not needed when I would just like to review an already installed extension.
Changing the default panel to Installed and letting the user to load the extensions on his consent would reduce the waiting time for the panel to load and fewer calls to the amazon s3 server.

This is a fantastic idea, because I have a very slow internet connection, and I hate having to wait for the extension registry to download (when I don't even need to install new extensions).


Multiple remote haproxy

I have just started using haproxy_exporter. Hence, a complete a noon question. I want to scrape multiple haproxies using a single haproxy exporter, i.e. all metrics will be available in a single endpoint. Is this possible?
Thanks
Akshat

This is my service file:

[Unit]
Description=Haproxy Exporter

[Service]
ExecStart=/usr/bin/haproxy_exporter  --haproxy.scrape-uri="http://user:pass@remote-ip:8000/haproxy?stats;csv"

[Install]
WantedBy=multi-user.target

This is not possible and won't be added. The Prometheus philosophy is to run exporters as close as possible to the monitored process, and isolate failure domains where possible. The Prometheus server is the place to aggregate metrics from multiple processes / instances. We opted to trade the complexity of having to deal with failure handling, metrics aggregation, etc. in exporters for the added complexity of having to run multiple exporters on a machine. The latter is usually handled with configuration management systems.


add option to display protocol records

When debugging email setups it can be helpful to view the protocol records, without breaking out dig or other tools. Add an option "protocol" to display retrieved records.

Thanks!


Problems with Keeper SDK initialization

A small script is asking for the one-time-token (which is generated with the Desktop Application) and establish the connection to the Keeper Secrets vault:
from keeper_secrets_manager_core import SecretsManager
from keeper_secrets_manager_core.storage import FileKeyValueStorage

oneTimeToken = input("OneTimeToken: ")
secrets_manager = SecretsManager(
    token=oneTimeToken,
    config=FileKeyValueStorage('ksm-config.json')
)

The resulting ksm-config.json is generated and includes the following keys:
{
    "hostname": "...",
    "clientId": "...",
    "privateKey": "...",
    "serverPublicKeyId": "..."
}

When trying to use this connection, the script is not able to get any secret. I think, this cannot work because some documented JSON keys are missing:
{
    "hostname": "...",
    "clientId": "...",
    "privateKey": "...",
    "serverPublicKeyId": "...",
    "appKey": "..missing!!..",
    "appOwnerPublicKey": "..missing!!.."
}

When generating the config.json with the Desktop Applikation (by adding a device), these fields are included - and the script connection is working.
Do I miss something?

Ok, thank you for your help. Now with the single (non-existing) read access, it worked as expected.
This could be a minor improvement in your documentation?


Additional validation of headquarter_type field.

Issue number: DH-1569
Description of change
This adds additional validation of headquarter_type, so that when a company is linked to a global headquarters it can't become global headquarters itself.
Checklist

[x] Have any relevant search models been updated?
[x] Have any relevant fixtures (fixtures/test_data.yaml) been updated?
[x] Have any relevant select-/prefetch-related field lists in the views and search apps been updated?
[x] Has the admin site been updated (for new models, fields etc.)?
[x] Has the README been updated (if needed)?

Codecov Report

Merging #852 into develop will increase coverage by 0.03%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #852      +/-   ##
===========================================
+ Coverage    96.64%   96.67%   +0.03%
===========================================
  Files          159      159
  Lines         4703     4663      -40
  Branches       455      452       -3
===========================================
- Hits          4545     4508      -37
+ Misses          99       96       -3
  Partials        59       59

Impacted Files
Coverage Δ

datahub/search/elasticsearch.py
93.81% <0%> (-0.07%)
:arrow_down:

datahub/search/company/views.py
100% <0%> (ø)
:arrow_up:

datahub/omis/payment/urls.py
100% <0%> (ø)
:arrow_up:

datahub/omis/payment/serializers.py
100% <0%> (ø)
:arrow_up:

datahub/search/company/serializers.py
100% <0%> (ø)
:arrow_up:

datahub/omis/urls.py
100% <0%> (ø)
:arrow_up:

datahub/omis/payment/views.py
100% <0%> (ø)
:arrow_up:

datahub/search/serializers.py
100% <0%> (+5.55%)
:arrow_up:

Continue to review full report at Codecov.

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


feat: Enable Stream creation from Queue

Closes #791
/claim #791

Hello @fwbrasil, I can't seem to understand why kyo-prelude is compiling but kyo-preludeJS can't seem to recognize kyo.scheduler.Queue. Could there be something I'm missing ?

kyo-data should not depend on kyo-scheduler. It's meant to be a standalone module. Additionally, this code is using the wrong Queue. Queue is defined in kyo-core, due to requiring IO/Async. The scheduler's queue is optimized for task scheduling, not use with Kyo.
Given the incorrect Queue usage and an implementation that will work for a finite number of elements, I am closing this PR.


No access to mentioned users

Hi there, I want to get the usernames entered by the user. Could you add getters to storedMentionables prop in MentionTextEditingController. Then they will be accessed from the controller.
It would help me a lot.

Hi, I have the same question.


address security vulnerability in cryptography lib

CVE-2018-10903
More information
high severity
Vulnerable versions: >= 1.9.0, < 2.3
Patched version: 2.3
A flaw was found in python-cryptography versions between >=1.9.0 and <2.3. The finalize_with_tag API did not enforce a minimum tag length. If a user did not validate the input length prior to passing it to finalize_with_tag an attacker could craft an invalid payload with a shortened tag (e.g. 1 byte) such that they would have a 1 in 256 chance of passing the MAC check. GCM tag forgeries can cause key leakage.

Vulnerability was addressed by removing the cryptography library from requirements.txt instead


[Feature Request] Ability to selectively compress textures by texture name?

We are noticing the compression of normal maps in the GLTFPacked models is not ideal for some use-cases and I am currently trying to find a good workaround for this but is it possible for there to be a way to limit what textures are compressed in the file by their texture names or something? Ie. compress all textures except ExampleNormalMap.jpg

You can grab the binaries with the PR above from this job's artifacts to validate that this works as expected: https://github.com/zeux/meshoptimizer/actions/runs/2716336752
Using gltfpack -tc color,attrib -i input.gltf -o output.gltf should now leave the normal maps uncompressed.

You can grab the binaries with the PR above from this job's artifacts to validate that this works as expected: https://github.com/zeux/meshoptimizer/actions/runs/2716336752
Using gltfpack -tc color,attrib -i input.gltf -o output.gltf should now leave the normal maps uncompressed.

Tried with that exact command but I get this error?
Expected option, got color attrib instead

I just tried the same command with the same artifact and it did work; the error message you're getting is a little odd, I wonder if there's some shell expansion going on...
Here's the precise command I ran (from cmd.exe):
C:\> gltfpack.exe -tc color,attrib -i data\test\scene.gltf -o test.glb

I just tried the same command with the same artifact and it did work; the error message you're getting is a little odd, I wonder if there's some shell expansion going on...
Here's the precise command I ran (from cmd.exe): C:\test> gltfpack.exe -tc color,attrib -i data\test\scene.gltf -o test.glb

You're right, the Powershell was doing some expansion and using the last or nearest available gltfpack.exe in the parent directory or subfolder - I noticed this as without appending .\ before the command in Powershell, it will fall back to using the last valid gltfpack.exe.
I just tried copying my test folder with the exact artifact .exe I wanted to use to another laptop that had never seen gltfpack.exe before and it worked just fine so i can confirm your PR worked and is perfect thanks!
I will make sure to explain to our 3D team that they should remove any previous gltfpack.exe's they have in the subfolders or parent folders if they use the new one and I will also check if the .\ before the command will at least enforce using the gltfpack.exe in the current folder when I'm back at my work laptop. Thanks again for your help with this and for the speedy PR, it's a huge help having these extra parameters to change when converting files!

@zeux Just out of curiosity, is there an option via command to set the Quantization/compression of the normal map to be higher than that of the other textures? I'd like to try that also, thanks

Yes, you can control texture quality via -tq parameter, and it also supports masks - see command line help.
Note that when using ETC1S (-tc), the encoding is just not strong enough for normal maps. The quality defaults to 8 but setting it to 10 (max) isn't going to make it much better.
When using UASTC (-tu), it's possible to go much lower and reduce the size impact, e.g. a possibly reasonable configuration is -tc -tu normal -tq 3 normal (sets ETC1 compression for all textures, then overrides normal maps to use UASTC with quality 3). That said, it's still going to be noticeably larger than JPEG.


fix: scrim flow [CU-43b1tpd]

Task linked: CU-43b1tpd Debug response.status Popup on Match Submissions


Change tempest tests file to include the idempotent ids

New environment for QA. Please dont merge this.

please test this

Please test this


SAC with torch 1.5.1 shows some error

Citrusboy1997 send me email:

When I run the SAC code of your pg-is-all-you-need repository with Torch 1.5.1 or nightly version, an error shows that there is an inplace operation during the gradient computation.
According to this disscusion(https://discuss.pytorch.org/t/solved-pytorch1-5-runtimeerror-one-of-the-variables-needed-for-gradient-computation-has-been-modified-by-an-inplace-operation/90256?u=citrusboy1997), I solved this problem by putting all the optimizer.step() functions at the end of update_model() of the SACAgent class. I hope this can help you improve your code.

Is this fixed?

Not yet. But I already know how to fix it. I do that soon.


[BUG] - Permission Denied Exception on executing Minify JS action

Search first
Please make sure, that your issue is not covered by any other ticket. Please search first before you create a ticket.
Describe the bug
When trying to minify a js file.
Netbeans gives an exception:
java.io.IOException: Cannot run program "/home/xxxx/.netbeans/minifierbeans/custom-packages/google-closure-compiler" (in directory "/mnt/xxx/Projects/xxx"): error=13, Permission denied
To Reproduce
Steps to reproduce the behavior:

Go to file
Right click
Click minify js
See error

Expected behavior
a minified js file
Environment (please complete the following information):

OS: Linux (Pop!OS)
NetBeans version: 12.6
JDK version [e.g. JDK 9]
openjdk version "11.0.16" 2022-07-19
OpenJDK Runtime Environment (build 11.0.16+8-post-Ubuntu-0ubuntu122.04)
OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Ubuntu-0ubuntu122.04, mixed mode, sharing)

Thx for the Ticket. Unfortunately I don't have linux to test it. But it seems something with permissions. If you have any idea to check which user and which permissions the folder in your ticket has /home/xxxx/.netbeans/minifierbeans/custom-packages/google-closure-compiler and maybe an other unrelated folder to check the permissions, that would be very helpful.

#92 this has worked for me: chmod a+x ~/.netbeans/minifierbeans/custom-packages/google-closure-compiler
@andrebreves Thanks!


Handling icons/images in tutorials

We have to prepare some good solution to handling icons in main tutorials page for each tutorial.

@talibasya is it done already? I've seen some commits about icons refactor

@dylo0 we don't have handling methods yet


DisableUpdateDriver - using deprecated GPOs?

The following GPOs don't apply to Windows 10 according to template description:
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\DriverSearching" -Name "DontPromptForWindowsUpdate" -Type DWord -Value 1
https://getadmx.com/?Category=Windows_10_2016&Policy=Microsoft.Policies.DeviceSoftwareSetup::DriverSearchPlaces_DontPromptForWindowsUpdate_2
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\DriverSearching" -Name "DontSearchWindowsUpdate" -Type DWord -Value 1
https://getadmx.com/?Category=Windows_10_2016&Policy=Microsoft.Policies.InternetCommunicationManagement::DriverSearchPlaces_DontSearchWindowsUpdate

Supported on: Windows Server 2008, Windows Server 2003, Windows Vista, and Windows XP SP2

This one seems to be current:
System\Device Installation\Specify search order for device driver source locations: Do not search Windows Update
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DriverSearching" /v SearchOrderConfig /t REG_DWORD /d 0 /f
https://getadmx.com/?Category=Windows_10_2016&Policy=Microsoft.Policies.DeviceSoftwareSetup::DriverSearchPlaces_SearchOrderConfiguration
Then there's also
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DriverSearching" /v SearchOrderConfig /t REG_DWORD /d 0 /f
Source: https://www.wagnardsoft.com/forums/viewtopic.php?f=5&t=674
(probably does the same thing as the policy)
And what does DriverUpdateWizardWuSearchEnabled key do?. According to this topic, setting it to 0 (default is 1) causes:
https://www.tenforums.com/drivers-hardware/133482-device-manager-update-driver-issue.html

So when I open Device Manager and say for example, I expand Network Adapters. Then if I right-click my Ethernet Adapter and select Update Driver and then Search automatically for updated driver software, it immediately says The best drivers for your device are already installed. This is the case for every single thing listed in device manager.

So maybe it shouldn't be disabled since it's a user-initiated process. (but I guess it won't work anyway if those other registry keys are set)
I don't have the time or energy to test all the different combinations of these settings, but I thought I'd put this out here. Thanks.

Hmm... these were introduced in 03e501b48159c5e7a8712ae0746b656579c98334 2 years ago. Looking at the commit, I think I was frustrated by the behavior when I tried to use drivers not intended for a piece of hardware (but working regardless) and Windows were still trying to force their own drivers from WU. So I just slapped there all driver update related GPOs and didn't verify if they are even applicable for Win10. Strangely enough the SearchOrderConfig wasn't among them.
So yeah, what you're suggesting makes sense. I'll trim it a bit.


 This PR should fix them for versions < 0.25.
Fixes:

No EventEmitter module
No Subscribable module ( see #1 )
Use const wherever possible
Minor code cleanup
Get React.createElement etc from react not react-native

Note: Reasons tests are failing is that CircleCI isnt configured with any tests, so throws an error

will this fix get bumped into npm?

oh damn, I'd been using my fork for so long I'd not noticed it hadnt been pushed.
@Durgaprasad-Budhwani please bump up to npm asap.


NIFI-3390 Added support for LDAP HA

Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[X] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[X] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

[X] Is your initial contribution a single, squashed commit?

For code changes:

[X] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?

Will review..

Updated the PR to use a space-separated list of URLs as it seems to be the standard according to http://docs.oracle.com/javase/jndi/tutorial/ldap/misc/url.html

Thanks @pvillard31! This has been merged to master.


IPython section was missing from example config

Actually it's not missing, just missing some arguments.. don't merge this yet

Actually I guess this section is not used any more? I had it lingering in my personal configuration file. My mistake.

Coverage remained the same at 79.04% when pulling 09c644a6ac51f84e70260229403be2a423765c10 on adamrp:fix_example_config into 91c5528e61178580c7c9c339381cee20355f8505 on biocore:master.

Coverage remained the same at 79.04% when pulling 09c644a6ac51f84e70260229403be2a423765c10 on adamrp:fix_example_config into 91c5528e61178580c7c9c339381cee20355f8505 on biocore:master.

Coverage remained the same at 79.04% when pulling b9f191b0e77c415bf4261bc67f8f2142253b8902 on adamrp:fix_example_config into 91c5528e61178580c7c9c339381cee20355f8505 on biocore:master.

It's part of the MOI config now, qiita proper doesn't need to know about
ipython
On Mon, Jun 1, 2015 at 11:26 AM, Coveralls<EMAIL_ADDRESS>wrote:

[image: Coverage Status] https://coveralls.io/builds/2689367
Coverage remained the same at 79.04% when pulling b9f191b
https://github.com/biocore/qiita/commit/b9f191b0e77c415bf4261bc67f8f2142253b8902
on adamrp:fix_example_config into 91c5528
https://github.com/biocore/qiita/commit/91c5528e61178580c7c9c339381cee20355f8505
on biocore:master.
—
Reply to this email directly or view it on GitHub
https://github.com/biocore/qiita/pull/1223#issuecomment-107645911.


Fix round-off errors by using decimal module #503

This PR updates the function and test.
For more information #503

Thanks for your comment.
When I set low=0, high=3*math.pi, q=math.pi, q=math.pi, the warning message told me that it changed the high from 9.42477796076938 to 9.42477796076938.
In my environment(macOS 10.13.6, Python 3.7.4),
>>> decimal.Decimal(str(r)) % decimal.Decimal(str(q))
Decimal('1E-15')

>>> ((r // q) * q + low) == high
True

It has not changed, but the warning message  told me that high is replaced.
I think we should update the documentation taking into account this too.

@A03ki
Thank you for sharing your experiments.
According to your result, the behavior of _adjust_discrete_uniform_high is environment-dependent. It suggests that only users can determine if there is a problem with the changed values.
How about letting users know the warning messages about changed high values in the document?
Example:

Note that :math:high may be changed due to round-off errors if :math:q is not an integer. Please check warning messages to find the replaced values.

@toshihikoyanase
That sounds great! I think that this document is easy to understand.


Use Django authentication from client side DDP Client

I am trying to integrate a DDP Client into my Django app  on the client side as explained here.
I believe from the post, that everything should work fine, except that I want to add an authentication layer for my publish and subscribe calls. Only a "check" for userLoggedIn to determine if the client is authorized to subscribe is enough.
However, I plan to have the user login done through Django and I want to modify the authentication check in Meteor to use the Django authentication system.
Any idea how I can use the DDP "request" from the DDP client to determine if the user has already been authenticated by Django or not.
I am new to DDP and Django (!) and wondering if there are any session type things in the DDP "request" that I can use on the server side to determine if the user has been authenticated by Django already.
I hope I am able to explain it clearly ... Please help!

So, you aren't using django-ddp to handle the link between them?
I didn't read that full article, but is there a session maintained for each connection on the Django-side? If so, you should be able to just check if the user is authenticated in the normal Django way: request.user.is_authenticated()
Or for the meteor-side, you may find some clues in the accounts app included with django-ddp, which emulates the Meteor auth backend in Django and allows for the authentication to occur there. It then sends back the auth token so in Meteor you can check Meteor.user() for the current user as you normally would.
Not sure if that helps....

Yes, I don't want to use django-ddp per se. But I thought someone here would be able to help around this question involving django and DDP.
Actually your idea is on the lines of what I am looking for. Is there a way I can pass the "django Request object" when I say subscribe to a Meteor publication.
If I can do that, I can use request.user.is_authenticated() type of thing to figure out the rest. I only need the Django Session and Request object to be passed with the calls from Client Side DDP Client

OK, so you're going the other way? Like I said, I didn't really read that article. I assumed since this was posted here you were trying to connect a Meteor app to a Django backend.
If the Django app is calling out to Meteor to get data, or post data, could you not just prevent unauthorized users in Django from making the subscription or call?
Obviously, this isn't django-ddp project related, so it may be better to continue this on the Stack Overflow question you posted.

@tysonclugg would you be able to advise on this question?

First, I recommend that you follow the instructions from the README and use Django DDP as your primary connection.  Having your client use Django DDP as a secondary connection forces you to understand and work around any assumptions made in Meteor core (and in many packages) regarding the use of the primary DDP connection.
Login RPC calls are only sent on the "primary" DDP connection, as methods such as Meteor.loginWithPassword are bound to an instance of Accounts that is instantiated with default options, so it binds to the default DDP connection.  It is possible to create a new instance of the Accounts object passing {connection: <foo>}, but you will need to call it's login methods directly rather than the usual Meteor.loginWithPassword and such.  See http://docs.meteor.com/api/accounts-multi.html for details on how to use authentication across multiple connections.
It is possible to alter the default login behaviour, see https://github.com/tysonclugg/accounts-secure/blob/master/password_client.js for an example of how to replace the default Meteor.loginWithPassword function with your own.
You could of course call the login API endpoint directly, or use some other means of passing authentication through to your Django app.
Once you've achieved any of the above, then this.user_id, this.user in your Django DDP app will refer to the current user (or None if not logged in).
Then there is external service authentication, it may suit your needs or it could be a waste of time - I've not used it.


Something went wrong when checking out illinker/cecil

The sha exists in mono/linker, so may be an issue in Darc or LibGit2Sharp.
  fail: Microsoft.DotNet.Darc.Operations.Operation[0]
        Something failed while cloning.
  System.Exception: Something went wrong when checking out 1127689f262d52ea8ff68ef03d706fa62b3b40a1 in /home/tmds/repos/source-build/bin/src/linker.1127689f262d52ea8ff68ef03d706fa62b3b40a1
   ---> System.InvalidOperationException: Sequence contains no matching element
     at System.Linq.ThrowHelper.ThrowNoMatchException()
     at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate)
     at Microsoft.DotNet.DarcLib.LocalGitClient.CleanRepoAndSubmodules(Repository repo, ILogger log) in /home/tmds/repos/source-build/tools-local/arcade-services/src/Microsoft.DotNet.Darc/src/DarcLib/LocalGitClient.cs:line 427
     at Microsoft.DotNet.DarcLib.LocalGitClient.Checkout(String repoDir, String commit, Boolean force) in /home/tmds/repos/source-build/tools-local/arcade-services/src/Microsoft.DotNet.Darc/src/DarcLib/LocalGitClient.cs:line 308
     --- End of inner exception stack trace ---
     at Microsoft.DotNet.DarcLib.LocalGitClient.Checkout(String repoDir, String commit, Boolean force) in /home/tmds/repos/source-build/tools-local/arcade-services/src/Microsoft.DotNet.Darc/src/DarcLib/LocalGitClient.cs:line 347
     at Microsoft.DotNet.DarcLib.Local.Checkout(String commit, Boolean force) in /home/tmds/repos/source-build/tools-local/arcade-services/src/Microsoft.DotNet.Darc/src/DarcLib/Actions/Local.cs:line 144
     at Microsoft.DotNet.Darc.Operations.CloneOperation.HandleRepoAtSpecificHash(String repoPath, String commit, String masterRepoGitDirPath, ILogger log) in /home/tmds/repos/source-build/tools-local/arcade-services/src/Microsoft.DotNet.Darc/src/Darc/Operations/CloneOperation.cs:line 218
     at Microsoft.DotNet.Darc.Operations.CloneOperation.ExecuteAsync() in /home/tmds/repos/source-build/tools-local/arcade-services/src/Microsoft.DotNet.Darc/src/Darc/Operations/CloneOperation.cs:line 106

More logging:
  dbug: Microsoft.DotNet.Darc.Operations.Operation[0]
        Trying safe checkout of /home/tmds/repos/source-build/bin/src/linker.1127689f262d52ea8ff68ef03d706fa62b3b40a1/ at 1127689f262d52ea8ff68ef03d706fa62b3b40a1
  dbug: Microsoft.DotNet.Darc.Operations.Operation[0]
        Beginning clean of /home/tmds/repos/source-build/bin/src/linker.1127689f262d52ea8ff68ef03d706fa62b3b40a1/ and 1 submodules
  dbug: Microsoft.DotNet.Darc.Operations.Operation[0]
        Deleted 0 untracked files
  dbug: Microsoft.DotNet.Darc.Operations.Operation[0]
        Submodule cecil in /home/tmds/repos/source-build/bin/src/linker.1127689f262d52ea8ff68ef03d706fa62b3b40a1/external/cecil does not appear to be initialized (no file at /home/tmds/repos/source-build/bin/src/linker.1127689f262d52ea8ff68ef03d706fa62b3b40a1/external/cecil/.git), attempting to initialize now.
  dbug: Microsoft.DotNet.Darc.Operations.Operation[0]
        Submodule cecil in /home/tmds/repos/source-build/bin/src/linker.1127689f262d52ea8ff68ef03d706fa62b3b40a1/external/cecil is already initialized, trying to adopt from super-repo /home/tmds/repos/source-build/.git/modules/src/linker.git/
  dbug: Microsoft.DotNet.Darc.Operations.Operation[0]
        Writing .gitdir redirect /home/tmds/repos/source-build/.git/modules/src/linker.git/modules/external/cecil to /home/tmds/repos/source-build/bin/src/linker.1127689f262d52ea8ff68ef03d706fa62b3b40a1/external/cecil/.git
  dbug: Microsoft.DotNet.Darc.Operations.Operation[0]
        Beginning clean of submodule cecil in /home/tmds/repos/source-build/bin/src/linker.1127689f262d52ea8ff68ef03d706fa62b3b40a1/external/cecil
  dbug: Microsoft.DotNet.Darc.Operations.Operation[0]
        /home/tmds/repos/source-build/bin/src/linker.1127689f262d52ea8ff68ef03d706fa62b3b40a1/external/cecil old worktree is /home/tmds/repos/source-build/bin/src/linker.1127689f262d52ea8ff68ef03d706fa62b3b40a1/external/cecil, setting to /home/tmds/repos/source-build/bin/src/linker.1127689f262d52ea8ff68ef03d706fa62b3b40a1/external/cecil
  dbug: Microsoft.DotNet.Darc.Operations.Operation[0]
        Resetting cecil to cb6c1ca9aaef869841bfc3e2e7407b81b979b875
  fail: Microsoft.DotNet.Darc.Operations.Operation[0]
        Something failed while cloning.
  System.Exception: Something went wrong when checking out 1127689f262d52ea8ff68ef03d706fa62b3b40a1 in /home/tmds/repos/source-build/bin/src/linker.1127689f262d52ea8ff68ef03d706fa62b3b40a1
   ---> System.InvalidOperationException: Sequence contains no matching element
     at System.Linq.ThrowHelper.ThrowNoMatchException()
     at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate)
     at Microsoft.DotNet.DarcLib.LocalGitClient.CleanRepoAndSubmodules(Repository repo, ILogger log) in /home/tmds/repos/source-build/tools-local/arcade-services/src/Microsoft.DotNet.Darc/src/DarcLib/LocalGitClient.cs:line 427
     at Microsoft.DotNet.DarcLib.LocalGitClient.Checkout(String repoDir, String commit, Boolean force) in /home/tmds/repos/source-build/tools-local/arcade-services/src/Microsoft.DotNet.Darc/src/DarcLib/LocalGitClient.cs:line 308
     --- End of inner exception stack trace ---
     at Microsoft.DotNet.DarcLib.LocalGitClient.Checkout(String repoDir, String commit, Boolean force) in /home/tmds/repos/source-build/tools-local/arcade-services/src/Microsoft.DotNet.Darc/src/DarcLib/LocalGitClient.cs:line 347
     at Microsoft.DotNet.DarcLib.Local.Checkout(String commit, Boolean force) in /home/tmds/repos/source-build/tools-local/arcade-services/src/Microsoft.DotNet.Darc/src/DarcLib/Actions/Local.cs:line 144
     at Microsoft.DotNet.Darc.Operations.CloneOperation.HandleRepoAtSpecificHash(String repoPath, String commit, String masterRepoGitDirPath, ILogger log) in /home/tmds/repos/source-build/tools-local/arcade-services/src/Microsoft.DotNet.Darc/src/Darc/Operations/CloneOperation.cs:line 218
     at Microsoft.DotNet.Darc.Operations.CloneOperation.ExecuteAsync() in /home/tmds/repos/source-build/tools-local/arcade-services/src/Microsoft.DotNet.Darc/src/Darc/Operations/CloneOperation.cs:line 106

-> the issue seems to occur when handling the external/cecil submodule

I removed my source-build folder, and started from a fresh clone, and now it works.

@crummel to follow up with darc to either eliminate or upgrade libgit2sharp

@crummel I'll close this. Was there some way to update the modules without doing a fresh clone?


Usage Button on Progress and Ranking page should be renamed to My Usage

Button text should match destination "page" title, change Usage to My Usage to match destination page title.

:+1:


"Default" target should be pre-selected in Command Palette

Usually I just want to build whatever the default is.
Ctrl+Shift+P , FAKE Enter, Enter should build default target

There is Build default command (F5) which executes fake without target name (so runs default target).


consolidate efforts with existing solution

Hi
https://github.com/drevops/mariadb-drupal-data is based on Lagoon images and has been successfully running in CI for consumer sites in Lagoon clusters
it does not require additional tooling like MTK and the image is captured from the existing running DB
Could someone please review that project and advise on the difference with this project
thank you

Just saw this.
The main difference that I see as being different without diving deeper into what the drevops tool is doing

This task is specifically designed for use in Lagoon advanced tasks, not to be used in CI
This is not Drupal specific, it only cares about databases
MTK is used to allow for sanitising the dump before the data is loaded into the resulting image which is required for some users.

Since it is designed for Lagoon advanced tasks, the values used to drive it can be controlled by Lagoon and the users executing the task. This allows them to change the MTK file to suit their needs.
I think these two projects probably accomplish different things.


Update README.md to include launch URL info

Thanks! Regarding the metadata, there are actually more fields supported, do you think it is worth mentioning them all?
https://github.com/dannyvankooten/browserpass/blob/604f560e390e56add8ea751c5928ca08fe32ce5a/browserpass.go#L217

I decided to mention them all, thanks once again 😉

Good to know, thanks!


Adjust the error message for bad getter/setter arity

Fix #1685

Current coverage is 100% (diff: 100%)

Merging #1686 into master will not change coverage

@@           master   #1686   diff @@
=====================================
  Files           1       1
  Lines        3996    3993     -3
  Methods         0       0
  Messages        0       0
  Branches      695     696     +1
=====================================
- Hits         3996    3993     -3
  Misses          0       0
  Partials        0       0

Powered by Codecov. Last update 14c7213...2baa49b

@ariya Can you update the esprima parser used in the online demos?

@hydroper, the version on the demos gets updated when releases get cut.

@mikesherov Unfortunately, it looks like it's not updated here: http://esprima.org/demo/parse.html?code=\u{66}or (%3B%3B)%3B
It should throw an error.

@hydroper That's not related to this PR (please don't do thread hijacking). The demo is only for stable releases, not for any development version (from master). It's updated once there is a 4.0 release.

@ariya I could have issued that. I got it anyways.


[Bug Report] $refs is undefined when components are inside dialog

Element UI version
2.4.3
OS/Browsers version
Windows 10 / Chrome  67.0.3396.99
Vue version
2.5.16
Reproduction Link
https://jsfiddle.net/s4cj9ynv/
Steps to reproduce
Create a dialog component and place an element inside with the ref attribute, then try to access the referenced component from the open event of the dialog.
What is Expected?
The referenced components inside the dialog should not be undefined.
As per documentation, the ref should be accessible in the open event of the dialog component. Currently this is not happening:

The content of Dialog is lazily rendered, which means the default slot is not rendered onto the DOM until it is firstly opened. Therefore, if you need to perform a DOM manipulation or access a component using ref, do it in the open event callback.

What is actually happening?
The ref of the component inside the dialog is undefined.

In this case, you should use vm.$nextTick
https://jsfiddle.net/s4cj9ynv/1/

Thanks. It would be nice to update this in the docs of dialog tho

I get the same problem, check my code for half a hour.
"It would be nice to update this in the docs of dialog tho"


Improve the Background Color of Website

I want to update the background color of the website it not looks good font are not visible in the grey font.
I want to update the color style of whole the website.

@Manishkr1007 Please assign this task to me.

pls assign this task to me

Please assign this task to me for further enhancements.


[DevOps] Snyk Integration

Integrated Snyk issue #241

https://github.com/h2oai/wave-ml/actions/runs/4281132589/jobs/7453771657#step:6:36
@ledell I think it's better to update sklearn in requirements files to scikit-learn. Seems like sklearn package is deprecated.


[WEBRTC-535] Add a way to cancel outgoing call

Signed-off-by: Lucas Pais<EMAIL_ADDRESS>WebRTC-535 - Ticket Description.

Add a way to cancel an outgoing invitation, before an Answer is received.
:older_man: :baby: Behaviors
Before changes
We didn't have a way to cancel an outgoing call, nor to receive feedback on whether an invitation is in progress.
After changes
Green call button, will turn red indicating an invitation is in progress and we can cancel it.
✋ Manual testing

Call
Press call button again (now will be RED)
Verify call is no longer in progress, and ring has stopped on the receiver.

Runs perfectly  Can we include the empty login check as described on the ticket too?

Yep. I'll be on that today, since I was running late for an appointment yesterday..


Show the result of combinations

Hi Sebastian,
How do I show the result of the individual combinations using ajax. For example:
Jeans > Lewis > Black > 7 --> $50
Shoes > Vans > Black > 8 --> $45 etc
I want to show the result in the place where it says "To see results please make your selection using menus above."
Thanks for the wonderful script.

Hi @santoshmaharjan,
You'd have to fetch them from within the file that you make the call to based on the parameters you're sending. Examples make calls to the static .json files /data/colour.json?category=2&make=1, but you can make it to say php page, which takes arguments category=2&make=1 and based on that selection fetches the records, formats them in the correct format  and returns as a replacement json index back to javascript to replace the content. I hope this makes sense.

Hi Sebastian,
I am a noob. Can you please code an example for me.

Change data-url attribute on each select to the php or any other server side coded location, which will take arguments such as category etc. Then based on these arguments full the records, format your html output and return it back in the json format. The structure of the json output you'll find with the exercise files under data directory.

I will try. Thanks a lot. Just in case I am not able to, can you do it for me at cost?

Possibly, but it depends on when you need it by.

As soon as possible. Please quote the rate the mode of payment.

Drop me an email vila the enquiry form and we can continue from there. https://ssdtutorials.com/contact


Bug: Importing Xstate in a React-Native android project errors

XState version
XState version 5
Description
Importing Xstate in a React-Native android project.
When doing so I am getting a "Unexpected token ="
Error, there is no stack trace or similar. This is using JSCRuntime.
The error seems to occure while loading the bundle, as Metro itself does not show the error (Unless xstate is added with fast refresh).
The bundle is never ran, there is atleast no input showing that.
Log output from phone:
2024-05-15 10:09:25.188 18741-23728 unknown:ReactNative     com.heime.app                        E  Exception in native call from JS
                                                                                com.facebook.react.devsupport.JSException: Unexpected token '='
                                                                                at com.facebook.jni.NativeRunnable.run(Native Method)
                                                                                at android.os.Handler.handleCallback(Handler.java:938)
                                                                                at android.os.Handler.dispatchMessage(Handler.java:99)
                                                                                at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:29)
                                                                                at android.os.Looper.loop(Looper.java:250)
                                                                                at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:234)
                                                                                at java.lang.Thread.run(Thread.java:923)
                                                                                Caused by: com.facebook.jni.CppException: Unexpected token '='
                                                                                no stack
                                                                                ... 7 more

2024-05-15 10:09:25.188 18741-23728 ReactNativeJNI          com.heime.app                        E  Attempting to call JS function on a bad application bundle: HMRClient.setup()
2024-05-15 10:09:25.190 18741-23728 unknown:ReactNative     com.heime.app                        E  Exception in native call
java.lang.RuntimeException: Attempting to call JS function on a bad application bundle: HMRClient.setup()
at com.facebook.jni.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:29)
at android.os.Looper.loop(Looper.java:250)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:234)
at java.lang.Thread.run(Thread.java:923)
2024-05-15 10:09:25.190 18741-23728 ReactNativeJNI          com.heime.app                        E  Attempting to call JS function on a bad application bundle: AppRegistry.runApplication()
2024-05-15 10:09:25.192 18741-23728 unknown:ReactNative     com.heime.app                        E  Exception in native call
java.lang.RuntimeException: Attempting to call JS function on a bad application bundle: AppRegistry.runApplication()
at com.facebook.jni.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:29)
at android.os.Looper.loop(Looper.java:250)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:234)
at java.lang.Thread.run(Thread.java:923)
Expected result
Everything should just work.
Actual result
App is never loading metro bundle.
Reproduction
After investigating the issue for some time, i do not have time to reproduce it at this moment.
Additional context
No response

Unfortunately, we cannot be sure what is causing this issue without a proper reproduction, especially an error as vague as Unexpected token =. XState does compile from TS to JS properly without errors, so maybe the issue is on the React Native side?
I will reopen this when a reproduction is available.


Use binary engine

A workaround for OpenSSL issues on Debian Docker images that fixes #74.
Makes Prisma use the legacy binary engine for queries instead of the new library engine.
Pull Request Template
Description
Makes Prisma use the old binary engine for queries
Fixes #74
Type of change
Please delete options that are not relevant.

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

Checklist

[ ] My code follows the style guidelines of this project
[ ] My commits follow the commit standards of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have checked my code and corrected any misspellings

Thank you for the pr.


Fix cyclic dependency of Cursor on MemoryCursor

Landed in https://github.com/metarhia/globalstorage/commit/9bc36f8307a6b368f9773404ff791dd3b0a6f3de.


incorrect window title when has unsaved files in Chinese

VSCode Version: vscode-1.3.0-insider
OS Version: windows7

Steps to Reproduce:

Change Language to Chinese.
Open a file and modify it.

@johnliu2016 fyi

Fixed in latest loc change commits to loc repo.

I will close PR https://github.com/Microsoft/vscode/pull/8885


apiserver cannot find minio object store if minio application is named anything other than minio

Bug Description
Note: This bug is against 1.8-updates-dev-branch, not against main
If kfp-api is deployed without a minio application called minio, it fails to find the object store.  I think this is because there are issues with passing config to the running application?  This is discussed more in #367.  It appears that deploying minio as minio works because it happens to be the default name expected in the application(?).
 Error: Error while creating minio client: Endpoint:  does not follow ip address or domain name standards.:  Error: Error while creating minio client: Endpoint:  does not follow ip address or domain name standards.:  Error: Error while creating minio client: Endpoint:  does not follow ip address or domain name standards.:  Error: Error while creating minio client: Endpoint:  does not follow ip address or domain name standards.:  Error: Error while creating minio client: Endpoint:  does not follow ip address or domain name standards.:  Error: Error while creating minio client: Endpoint:  does not follow ip address or domain name standards.: Endpoint:  does not follow ip address or domain name standards.

Additional context
No response

to summarise further, after #354 kfp-api's apiserver does not use the provided object store hostname/port to find the object store.  Instead, because we do not pass any value, apiserver uses its built-in default of "minio" (or maybe "minio.kubeflow"?) to look for the object store.  This means it accidentally works if charmed kubeflow includes a minio application specifically named minio, but it doesn't work if you do say juju deploy minio minio2; juju relate minio2 kfp-api

The pipelines apiserver will not use the application name, but the object store host and port, which is built from minio's Service, Namespace and Port. These are taken from env variables to form something like minio-service.kubeflow:9090. The apiserver will use a default minio service (see here for more details) in the absence of those:

// If the env vars do not exist, we guess that we are running in KFP multi user mode, so default minio service should be minio-service.kubeflow:9000.

The above is guaranteed by the minio charm as we have explicitly set the default Service name to minio-service, and since minio gets deployed in the kubeflow model, the namespace is also guaranteed. The application name does not really affect this behaviour. What is concerning, though, is the fact that the apiserver is trying to be restarted over and over again until it can actually see the minio service, but as described https://github.com/canonical/kfp-operators/issues/367 that does not seem to happen correctly.

After talking with @DnPlas we think that, with #375 merged, we can close this.
The original issue here and dnplas's comment are sort of both correct.  afaict they each refer to a different version of the minio charm (original aligns to a pre-KF 1.7 minio charm, and @dnplas comment is correct with a minio charm including this change.  Either way though, with #375 merged both discussions should be settled.


Trees plugin is not working on dark theme

Preflight Checklist

[ x] I agree to follow the Code of Conduct that this project adheres to.
[ x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug
The Trees plugin is not working on the dark theme and when switching themes.
To Reproduce
Steps to reproduce the behavior:

To load dark theme with "trees" plugin go to https://app.diagrams.net/?dark=1&p=trees
The trees shapes is not displayed on the sidebar
To load light theme with "trees" plugin go to  https://app.diagrams.net/?dark=0&p=trees
The trees shapes is displayed on the sidebar

This problem also occurs when switching between light and dark themes. The behaviour is visible on this video:
https://user-images.githubusercontent.com/44507136/230442641-77f4505d-b0d6-4851-9483-434ee95bc57e.mov
Expected behavior
The trees shapes should be displayed on dark and light theme.
Screenshots
Trees shapes:

draw.io version (In the Help->About menu of the draw.io editor):

draw.io version 21.1.4

Desktop (please complete the following information):

OS: macOS
Browser: Chrome
Version: macOS Ventura 13.3

This plugin is no longer needed. All shapes are available in the Advanced section.

Hi @alderg,
Thanks for the reply, that's much appreciated. It might interest you to know that we are using the library to enhance the drawing and animation capabilities of our flagship web visualisation application. In this regard the Drawio library is proving to be a great asset. Thank you very much for your effort in providing and maintaining it as an open-source project.
Returning to my earlier question could you please provide some clarity on the following...

In a recent thread I saw a comment which seems to suggest that custom plugins will not be supported in upcoming releases. Is this the case? The reason for asking is that we rely on the plugin feature heavily to extend Drawio's capabilities with our own. We also noticed that the P1 sample plugin documentation is removed(v21.0.10), which appears to be consistent with the referenced comment that plugins might be going away.

If this is the case, is there an alternative mechanism we should be using to inject content to the sidebar and menus (such as an api or callbacks).

Thanks in advanced for your feedback.

We're not getting rid of the plugin system, but we've no intention of documenting it. So, if you're happy developing with it and that there'll be no help in doing so, that's good.
We're removing it from all of the integrations we release because it introduces security issues. It's not a problem to have it available in the code (though it will need to be disabled by default and require a switch to enable).

That is great news indeed. We are relieved to hear that the plugin system is not being deprecated. Do you have specific security vulnerabilities in mind which have led you to implement this change? Also could you elaborate briefly on how the plugins would need to be enabled.
Thanks in advanced again in your help in this regard.


chore(package): update mock-repository-provider to version 5.1.28

Coverage decreased (-0.01%) to 33.73% when pulling e985e245ac59d9e3354a03928b3d808bf30d4c78 on greenkeeper/mock-repository-provider-5.1.28 into 0aef6067a1e9535844c020d58e5a7f2c1e8f0fb9 on master.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add skygfx to SilentPatch project.

Add skygfx to SilentPatch project.
This is to make it convenient with one file, rather than downloading them separately. If the author allows it, of course.

There is no harm in using both mods at once. They won't be combined.


Native User AuthN

While it's expected that most users will probably want to enable SSO, docshelf should still have its own authN built in for ease of use.
The UI will need to hash the passwords so we aren't sending plaintext over the wire, but the API should then hash again just in case the password isn't already hashed (e.g. a user gets created directly by calling the API).
Serverside we'll use bcrypt to hash.
Client side we'll probably use sha256 to hash.

This is done without the client side hashing.


[fix] vec * mat in matmul in onnx converter

Should fix https://github.com/apache/tvm/issues/10651 for ONNX converter.
cc: @masahi

@masahi CI finally passed! I think we can also close the issue after the merge. :-)


Added separate country / area selector back in, added search caret and rounding back in

Before:

After

Can you add a mobile screenshot?

Updated for better mobile responsiveness:
Wide:

Mobile:


python310Packages.dash-bootstrap-components: init at version 1.3.0

Description of changes
dash-bootstrap-components is a library of Bootstrap components for Plotly Dash, that makes it easier to build consistently styled apps with complex, responsive layouts.
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.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.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1806


keys: Add missing /etc/ceph mount to write keys to the host

cephadm itself does not implicitly mount /etc/ceph and instead mounts
the ceph.client.admin.keyring directly. This means when creating keys
using cephadm shell -- ceph auth ... they are not actually being
written to the host and are lost once the container exits.

An annoying side-effect of mounting /etc/ceph is that the /etc/ceph/ceph.keyring hard link setup by cephadm is left on the host. Maybe this isn't such a big deal since it's not hurting anything, but felt compelled to mention this.

I don't think that's required and at least we should not do it by default. They are not lost, they are still in Ceph configuration - you can get them issuing ceph auth get.

That's fair. I can carry some additional logic to dump the keys in my own playbook.


Swift 4 Support

Not able to move ahead after carthage update due to the Incompatible version of Swift for two libraries.

Resolver
Tun2Socks

	"Incompatible Swift version - framework was built with 3.0.1 (swiftlang-8<IP_ADDRESS> clang-8<IP_ADDRESS>) and the local version is 4.2 (swiftlang-1<IP_ADDRESS> clang-1<IP_ADDRESS>)."
*** Downloading tun2socks.framework binary at "0.6.1"
*** Skipped installing tun2socks.framework binary due to the error:
	"Incompatible Swift version - framework was built with 3.0.1 (swiftlang-8<IP_ADDRESS> clang-8<IP_ADDRESS>) and the local version is 4.2 (swiftlang-1<IP_ADDRESS> clang-1<IP_ADDRESS>)."```

Is there any idea on how to get NEKit running.

Does this work?
carthage update --no-use-binaries --platform mac,ios

No it does not work. Still facing the same issue

Sorry for the late reply. I just tried carthage update --no-use-binaries --platform mac,ios and it works. It's not likely you will see the same error if you use --no-use-binaries since there is no binaries used, so there can't be error as "framework was built with 3.0.1"


SettingsService for reading parameters from json file ?

Can the Codon settings service be used also for more complex scenarios, like reading parameters from a json file (or even sqlite database, as you mentioned in the "getting started" guides) ?
If yes, could you please add some sample code for such cases ?

Yes, you just need to implement Codon.SettingsModel.ISettingsStore. Take a look at the LocalSettingsStore class, which uses Mono's IsolatedStorageSettings for iOS and Android, .NET's for UWP, and a custom IsolatedStorageSettings for WPF.
Once you've implemented ISettingsStore for json or whatever, create an instance of Codon.SettingsModel.SettingsService passing the ISettingsStore to its constructor.
For Sqlite, it's pretty straight forward, but the implementation depends on the which library you're using for Sqlite. I'm using a modified version of Frank Krueger's PCL code. The way I approached it was to create a table for settings with columns for various data types.


ci: use pod install --project-directory when testing template

Summary:
Exercise pod install --project-directory=ios when building the generated iOS project to make sure we don't regress in the future.
See also #37992, #35754, #34215, #33909…
Changelog:
[INTERNAL] [ADDED] - Exercise pod install --project-directory=ios when testing the iOS template
Test Plan:
CI should pass.

Seems to be failing as expected:

I'll rebase when #37992 lands.

(requesting change to discuss the point above, mainly)

/rebase

In other words, if we proceed with this, could we end up breaking pod install from ios?

I haven't run through all possible cases, but for what it's worth, we've always used this in RNTA and have not encountered a case where pod install broke and we didn't catch it. If you want to, we could probably add another job where we use plain pod install?

Yeah, I supposed that that was the case.
I'd say let's keep it like this, for now. I don't think we will ever encounter breakages, so let's keep it simple. We can always add another job in a second step! ;)

/rebase


unknown DB column error received

State: had deactivated/deleted WP2Static core a few times after activating the crawl addon. Didn't do an export initially to confirm if this error is present then, too.
To investigate
2020/11/03 11:39:13 [error] 79#79: *115 FastCGI sent in stderr: "PHP message: WordPress database error Unknown column 'crawled_time' in 'where clause' for query SELECT id, url FROM wp_wp2static_urls
             WHERE crawled_time IS NULL OR crawled_time <= '2020-11-03 11:39:13'
             LIMIT 20 made by do_action('wp_ajax_wp2static_run'), WP_Hook->do_action, WP_Hook->apply_filters, WP2Static\Controller::wp2staticRun, WP2Static\Controller::wp2staticHeadless, WP2Static\Controller::wp2staticCrawl, do_action('wp2static_crawl'), WP_Hook->do_action, WP_Hook->apply_filters, WP2StaticAdvancedCrawling\Crawler::wp2staticCrawl, WP2StaticAdvancedCrawling\Crawler->crawlSite, WP2StaticAdvancedCrawling\CrawlQueue::getChunkPHP message: PHP Fatal error:  Uncaught UnexpectedValueException: RecursiveDirectoryIterator::__construct(/usr/html/wp-content/uploads/wp2static-processed-site): failed to open dir: No such file or directory in /usr/html/wp-content/plugins/wp2static-addon-zip/src/ZipArchiver.php:30
Stack trace:
#0 /usr/html/wp-content/plugins/wp2static-addon-zip/src/ZipArchiver.php(30): RecursiveDirectoryIterator->__construct('/usr/html/wp-co...', 4096)
#1 /usr/html/wp-content/plugins/wp2static-addon-zip/src/Controller.php(87): WP2StaticZip\ZipArchiver->generateArchive('/usr/html/wp-co...')
#2 /usr/html/wp-includes/class-wp-hook.php(287): WP2StaticZip\Controller->generateZip('/usr/html/wp-co...', 'wp2static-addon...')
#3 /usr/html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#4 /usr/html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#5 /usr/html/wp-content/plugins/wp2static/src/Controller.php(635): do_action('wp2static_deplo...', '/usr/html/wp-co...', 'wp2static-addon...')
#6 /usr/html/" while reading response header from upstream, client: <IP_ADDRESS>, server: , request: "POST /wp-admin/admin-ajax.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php7-fpm.sock:", host: "localhost:4588", referrer: "http://localhost:4588/wp-admin/admin.php?page=wp2static"

confirmed again via WP_CLI

/usr/html # wp wp2static crawl
[2020-11-28T01:16:52+00:00] Starting crawling
[2020-11-28T01:16:52+00:00] Starting to crawl detected URLs.
[2020-11-28T01:16:52+00:00] Adding discovered URLs.
[2020-11-28T01:16:52+00:00] Crawling with a chunk size of 20
[2020-11-28T01:16:52+00:00] Crawling sitemaps.
[2020-11-28T01:16:52+00:00] Using CrawlCache.
[2020-11-28T01:16:52+00:00] Crawling all URLs.
WordPress database error Unknown column 'crawled_time' in 'where clause' for query SELECT id, url FROM wp_wp2static_urls
WHERE crawled_time IS NULL OR crawled_time <= '2020-11-28 01:16:52'
LIMIT 20 made by include('phar:///usr/bin/wp/php/boot-phar.php'), include('phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php'), WP_CLI\bootstrap, WP_CLI\Bootstrap\LaunchRunner->process, WP_CLI\Runner->start, WP_CLI\Runner->run_command_and_exit, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher{closure}, call_user_func, WP2Static\CLI->crawl, WP2Static\Controller::wp2staticCrawl, do_action('wp2static_crawl'), WP_Hook->do_action, WP_Hook->apply_filters, WP2StaticAdvancedCrawling\Crawler::wp2staticCrawl, WP2StaticAdvancedCrawling\Crawler->crawlSite, WP2StaticAdvancedCrawling\CrawlQueue::getChunk
[2020-11-28T01:16:52+00:00] Crawling complete. 0 crawled, 0 skipped (cached).
[2020-11-28T01:16:52+00:00] Crawling completed

deactivating and activating plugin from this state results in

2020/11/28 01:22:06 [error] 73#73: *292 FastCGI sent in stderr: "PHP message: WordPress database error Duplicate entry 'wp2static-addon-advanced-crawling' for key 'PRIMARY' for query INSERT INTO wp_wp2static_addons (slug,type,name,docs_url,description) VALUES ('wp2static-addon-advanced-crawling','crawl','Advanced Crawling','https://github.com/WP2Static/wp2static-addon-advanced-crawling','Provides advanced crawling options') made by activate_plugin, include_once('/plugins/wp2static-addon-advanced-crawler/wp2static-addon-advanced-crawling.php'), run_wp2static_addon_advanced_crawling, WP2StaticAdvancedCrawling\Controller->run, do_action('wp2static_register_addon'), WP_Hook->do_action, WP_Hook->apply_filters, WP2Static\Addons::registerAddon" while reading response header from upstream, client: <IP_ADDRESS>, server: , request: "GET /wp-admin/plugins.php?action=activate&plugin=wp2static-addon-advanced-crawler%2Fwp2static-addon-advanced-crawling.php&plugin_status=all&paged=1&s&_wpnonce=5bc262ffdd HTTP/1.1", upstream: "fastcgi://unix:/var/run/php7-fpm.sock:", host: "localhost:4844", referrer: "http://localhost:4844/wp-admin/plugins.php?plugin_status=all&paged=1&s"

looks like needing more robust checking/migrating of DB state. my preference would be to look for all fields/seed data we require, if doesn't exist, blow all away and recreate as if new installation. worst case then, should be that we lose caching benefits for a run immediately after a breaking schema change in an addon like this.
@john-shaffer what little MySQL knowledge I may have had seems to have disappeared - any thoughts on fixing this? Was this the already similar fix in WP2Static core that I should be able to copy paste into this?


Agbot generates new exchange token when updating containers

When I update the containers on the management hub, the exchange token of the agbot container (stored in /etc/horizon/anax.json) appears to change. This requires manually setting this token every time the containers are upgraded.
Steps to see the issue:

Run docker exec -it agbot /etc/horizon/anax.json, record the value of the "ExchangeToken" field.
Update the containers: ./deploy-mgmt-hub.sh -S && ./deploy-mgmt-hub.sh -u && ./deploy-mgmt-hub.sh -s
Run docker exec -it agbot /etc/horizon/anax.json, the value has changed.

This issue breaks the management hub deployment by invalidating the auth token stored in the exchange-api container. Is it possible to have this information persist when pulling down updated container images?

FYI Adam (Loudonlune...) did put together a simple bash script which logs the exchange API behavior before upgrade, runs the upgrade procedure, and then logs the ensuing failure with the Exchange API. The link below contains the bash script if anyone wants to recreate, and also his logs from a run he did.
https://drive.google.com/drive/folders/16ZkWBuKk4wPOrYMqrhxHw1Ht-T3EP-ll?usp=sharing

@loudonlune   If you grab the current working  ExchangeToken from the running agbot and then export that as
export AGBOT_TOKEN="${CURRENT_TOKEN}"

and then call your update scripts
./deploy-mgmt-hub.sh -S && ./deploy-mgmt-hub.sh -u && ./deploy-mgmt-hub.sh -s

it should not generate a new token for the agbot

Thanks! So, I guess there are two options for "fixing" this.

./deploy-mgmt-hub.sh is updated to set this environment variable when -u is passed.

or

Loudonlune's playbook for installing/updating the hub (which calls the deploy script) adds a task which sets the environment variable before running ./deploy-mgmt-hub.sh -u. This is fine but it means the "fix" is self contained to the deploy script. People who run the update directly (not using ansible) may still run into this "bug." Up to you guys whether this is a problem or not a problem.

Let us know if you have a preference between these two.

Ideally it would be nice if it could be built in to the update script but not sure how that would work since you call -S first... I am thinking the agbot container has to be running to retrieve the value

Ideally it would be nice if it could be built in to the update script but not sure how that would work since you call -S first... I am thinking the agbot container has to be running to retrieve the value

I am noticing that new configuration files are generated from the templates every time the script runs, regardless of what flags are given. Maybe it would make sense to only generate these on install or when a switch is given on the command line. That way, the previous configuration can be maintained without needing to set the same environment variables.

I think something like the following will would work without introducing a new flag..
If UPDATE == 1, check if agbot container running
If agbot running, try to read get the token
CURRENT_TOKEN=$(docker exec -i agbot cat /etc/horizon/anax.json | jq -r '.AgreementBot.ExchangeToken')

If that is successfully, then
export AGBOT_TOKEN="${CURRENT_TOKEN}"

@loudonlune I was chatting with Joe just now and he clarified that one reason why the token should be tracked by Ansible, not by the deploy script, is that this is a process a human administrator would normally handle on their own.
You had mentioned before that you don't think this point is very clearly documented in the deploy script instructions, and that humans may not know to do this. So, Joe suggests we add a ticket noting where this documentation is missing and a suggestion for some language which will clarify this manual step.

Sounds good to me.


Split pre-built query to separate conditions

GORM Playground Link
https://github.com/go-gorm/playground/pull/421/files
Description
Hello there! We started migration from gorm v1 and have the next problem.
We have a case when build a large complicated condition and before we scan paginated results we use a few counting queries with logic. But now logic from counting queries assigns to the whole condition, so we need to double large condition for all queries.
On the gorm v1 for update pre-build query we reassign it with the new condition like this
query = query.Where("1=1")
and then use different conditions which no-afffects to other one
	query.Where("name = 'something'").Count(&c)
	var users []User
	query.Find(&users)

Similar to https://github.com/go-gorm/gorm/issues/5129
Use Session


Revise wagtailsearch migrations to avoid keeping editorspick table around

Fixes #1824, as per the outline in https://github.com/wagtail/wagtail/issues/1824#issuecomment-1271840741. Revise the existing migrations so that rather than keeping the wagtailsearch_editorspick table in place and unmanaged for the wagtail.contrib.search_promotions app to potentially rename and adopt, search_promotions creates its own table. This then leaves wagtailsearch free to delete wagtailsearch_editorspick properly in a new migration, to be run on both new and upgraded projects (although this needs to be done inside an existence check, in case the old version of the search_promotions app migrations have already run and renamed the table).
Suggested testing procedure:
Test 1: bringing up a new project without searchpromotions
With this feature branch checked out:
wagtail start test1
cd test1
# check test1/settings/base.py - confirm that wagtail.contrib.search_promotions is absent from INSTALLED_APPS
./manage.py migrate
./manage.py dbshell
  .schema wagtailsearch*
  # verify that there is no wagtailsearch_editorspick table and no wagtailsearchpromotions tables
./manage.py flush  # should complete without errors
rm db.sqlite3
./manage.py migrate

Test 2: adding searchpromotions to a project brought up under the new migrations
Continuing from the above project, edit test1/settings/base.py and add "wagtail.contrib.search_promotions" to INSTALLED_APPS. Then:
./manage.py migrate
./manage.py dbshell
  .schema wagtailsearch*
  # verify that there is no wagtailsearch_editorspick table, but wagtailsearchpromotions_searchpromotion exists
./manage.py flush  # should complete without errors
cd ..
rm -rf test1

Test 3: bringing up a new project with searchpromotions
With this feature branch checked out:
wagtail start test3
cd test3
# edit test3/settings/base.py and add `"wagtail.contrib.search_promotions"` to INSTALLED_APPS
./manage.py migrate
./manage.py dbshell
  .schema wagtailsearch*
  # verify that there is no wagtailsearch_editorspick table, but wagtailsearchpromotions_searchpromotion exists
./manage.py flush  # should complete without errors
cd ..
rm -rf test3

Test 4: upgrading an old project without searchpromotions
With Wagtail main branch checked out:
wagtail start test4
cd test4
# check test4/settings/base.py - confirm that wagtail.contrib.search_promotions is absent from INSTALLED_APPS
./manage.py migrate
./manage.py dbshell
  .schema wagtailsearch*
  # verify that wagtailsearch_editorspick exists, but there are no wagtailsearchpromotions tables
# check out this feature branch
./manage.py migrate
./manage.py dbshell
  .schema wagtailsearch*
  # verify that there is no wagtailsearch_editorspick table and no wagtailsearchpromotions tables

For completeness, you may wish to try either ./manage.py flush or installing search_promotions from this point. However, I think we can be satisfied that the database state exactly matches test 1 at this point, so repeating that would be redundant.
cd ..
rm -rf test4

Test 5: upgrading an old project with searchpromotions
With Wagtail main branch checked out:
wagtail start test5
cd test5
# edit test5/settings/base.py and add `"wagtail.contrib.search_promotions"` to INSTALLED_APPS
./manage.py migrate
./manage.py dbshell
  .schema wagtailsearch*
  # verify that there is no wagtailsearch_editorspick table, but wagtailsearchpromotions_searchpromotion exists.
  # Note that the indexes on wagtailsearchpromotions_searchpromotion still have names that reference wagtailsearch_editorspick, but I'm hoping that's harmless...
# check out this feature branch
./manage.py migrate
./manage.py dbshell
  .schema wagtailsearch*
  # verify that there is no wagtailsearch_editorspick table, but wagtailsearchpromotions_searchpromotion exists, as before
./manage.py flush  # should complete without errors
cd ..
rm -rf test5

Merged in f37768ecaf0c201562fc8a6fbdc83e0e39a7191f / f86073c55e2662a12be089206d72e930ccc64620.


[NP-1524] Add FormattedTextField

This adds a generalized version of Kenny's CurrencyInputView. FormattedTextField will use the tableCellFormatter property of the property its editing/viewing to format the text as a user enters it.

@KernelDeimos Is this replaced by String.format PR?

It's a separate thing but would need some more work to be useful. Maybe if I add a comment saying it's incomplete then if anybody ever needs it it can be fixed later, either that or we can just close this

@KernelDeimos I'd rather it be closed then merged in an incomplete state.
@kgrgreer thoughts?


Support Maps with sealed class type

fixes https://github.com/bkbnio/kompendium/issues/210

Nice!


Update for compiler 0.12

Hey folks -- this PR is an extension of the version bump that @justinwoo has already provided. If it isn't adding enough on top I'm perfectly fine closing this in favor of his PR.
This PR passes the test suite.
Specifically this PR introduces:

toCharArray and fromCharArray are now from Data.String.CodeUnits instead of Data.String. There has been discussion about when to use code units vs. code points and that may be worth considering before merging.
0.12 changes like renaming id to identity and removing effect rows
I trimmed down the Bower dependencies to the core libraries used and which already bring in the rest of the transitive dependencies. However, if you'd rather be more explicit, I can re-introduce imports like transformers

However, this is not yet ready to merge: it's waiting on purescript-parsing but is proven to work using the open PR in that repository from @joncfoo. Once that is merged or similar action is taken this can be merged in as well.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: thomashoneyman:x: whoadaveYou have signed the CLA already but the status is still pending? Let us recheck it.

This PR should now be ready to merge as the dependent PR for purescript-parsing has been merged and I've just fixed the bower config to point to it.

@garyb @cryogenian Can we merge this?

I believe Gary wanted to fix this before releasing:
https://github.com/slamdata/purescript-formatters/issues/45

Going to merge this #45 could go into minor/patch release


Not able to 'undeploy'  dmrpp-generator

I deployed DMR++ as documented for some prototyping work. It deployed without issue. After my work, I then tried to remove the module "dmrpp-generator" block from our main.tf. Upon redeploying Cumulus I got:
Error: Provider configuration not present. To work with module.dmrpp-generator.module.dmrpp_service.module.dmrpp_service.aws_ecs_task_definition.default its original provider configuration at module.dmrpp-generator.provider.aws is required, but it has been removed. This occurs when a provider configuration is removed while objects created by that provider still exist in the state. Re-add the provider configuration to destroy module.dmrpp-generator.module.dmrpp_service.module.dmrpp_service.aws_ecs_task_definition.default, after which you can remove the provider configuration again.
To 'undeploy' dmrpp-generator, I had to modify it's main.tf to remove this block:
provider "aws" {
region  = var.region
profile = var.aws_profile
}
and redeploy. I was then able to remove the module "dmrpp-generator" block from our main.tf, and redeploy successfully.
This was helpful in resolving the issue: https://www.terraform.io/docs/modules/providers.html

Resolved in the release v1.1.0


Configure sync to be executed regularly

We need to run sync_channels command to sync the videos. This needs to be configured to be executed in a regular basis (hourly seems to be a good start).

This was developed on this commit .
At this moment, a cron job executing the management command seems to be enough.


Added and connected database to server using controllers and routes

Task linked: CU-860qtxz6d Set up database model


Allow dedicated sonarr/radarr instances for anime

Description
I'd like to be able to define a default instance of sonarr and radarr for anime content.
Desired Behavior
similar to how a dedicated instance can be configured for 4K, I'd like to check a box in the sonarr/radarr config identifying it as the default/preferred instance for anime content
Additional Context
No response
Code of Conduct

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

Dedicated anime root folder, language profile, quality profiles and tags can already be set on sonarr

Owner

while that is true, if you get in deep with Trash Guides, etc, it's a lot easier to have a separate instance of sonarr and radarr for anime.

while that is true, if you get in deep with Trash Guides, etc, it's a lot easier to have a separate instance of sonarr and radarr for anime.

If you do not use 4k, for the time being a workaround could be to configure the 4k for anime. Tho ik it's not  a solution

Hey is there any update on this as i would love todo this and ditch filebot for good

while that is true, if you get in deep with Trash Guides, etc, it's a lot easier to have a separate instance of sonarr and radarr for anime.

If you do not use 4k, for the time being a workaround could be to configure the 4k for anime. Tho ik it's not a solution

unfortunately I'm already using my 4K server for 4K.  I dream of a world where we only need one instance of sonarr/radarr v5 to manage everything, but until that time comes it's 3 instances each!

sct/overseerr#3664


add a required parameter in the 'existing vpc' template

add template parameter 'VpcEndpointId'
resolve #43

an additional fix is required before merging it.

an additional fix is required before merging it.

after investigation, no additional patch is required, just documentation update.


Event triggers

Allow listening for events (like MEMBER_JOIN) and run actions on them. This would allow for welcome messages and also other stuff in the future.

https://ptb.discord.com/channels/730045476459642900/1282382165136510986


Use minima-solarized/solarized-dark

I am working on creating a blog using the minima theme. I was just using the default theme when I decided to look for a darker one. I tried to use it first by modifying the _config.yml file and then by creating a custom scss file, but it sent me an email saying that "minima-solarized" could not be found. The contents of my assets/main.scss file are as follows:
---
# Bello!
---

$sol-is-dark: true;
@import "minima-solarized";

I am not sure why this is happening. I am using the minima theme by passing
theme: minima

through my config file. Any help?

UPDATE
Here is the contents of the email sent me:
The page build failed for the master branch with the following error:
Your SCSS file assets/main.scss has an error on line 2: File to import not found or unreadable: minima-solarized. Load path: /hoosegow/.bundle/ruby/2.5.0/gems/minima-2.5.1/_sass. For more information, see https://help.github.com/en/github/working-with-github-pages/troubleshooting-jekyll-build-errors-for-github-pages-sites#invalid-sass-or-scss.

It looks like you are using Minima 2.5, but customizable skins are the feature that would be introduced in Minima 3.0, which is not yet released. However, you can use directly the master branch of Minima by using jekyll-remote-theme. Here are my steps, hope that is useful for you.

Thanks so much!!! I had tried something similar, by forking the minimal theme and trying to use it, but I had failed to add the "jekyll-remote-theme" plugin, so it didn't work. Now it does! Thanks again!


Add color to PR labels

Description
Currently the auto generated PR labels almost all have the same color. Using different colors for different labels can improve readability.
Related Issue(s)
https://github.com/delta-io/delta-rs/issues/1026

Could we also align them to the existing labels? I realized we added delta-rs-crate when we already had bindings/rust for example. Similar with python and bindings/python.

@wjones127 Sure! I also wonder whether we should retroactively label old PRs and generate a better historical CHANGELOG.

@wjones127 @roeap On it..


Write quickstart guide for documentation

Just covering the basics for new users: suppose you don't care about topology at all, what's the smallest thing you can add to your code to make it 'topology-aware?'

imo, a new user would like to see a detailed overview of I/O from functions in the library.

That's a great idea! Do you know whether this can be added in the code itself and then referenced from some other place in the docs? I'd love to to add something like this but also want to prevent code duplication.

Maybe it could be another demo? Like a notebook. I've been experimenting with the CubicalComplex function using inputs like this:

I expect the number of 0 dim topological features to be 1, 2, and 10 (top to bottom respectively) but the outputs from the library were quite different.

Thanks! Can you add some example code as well and the actual output if you have that handy?

code:
`import os
import json
import glob
import torch
import numpy as np
import matplotlib.pyplot as plt
from PIL import Image
from skimage.filters import gaussian
from skimage.transform import resize, rescale
from torch_topological.nn import CubicalComplex
Toy experiments using structured binary inputs (b/w images) for PyTorch-Topological. D.S. July 2023
def binarize(im, t=0.5):
im = im/np.max(im) # normalize
im = im > t
im = im.astype(float)
return im
def main():
topo_analyzer = CubicalComplex()
dataDir = '/local-scratch2/darren/datasets/toy'
### iterate over test images
for i in range(2, 6):
    path = os.path.join(dataDir, 'test{}.png'.format(i))
    test_im = Image.open(path)

    test_im = np.array(test_im).astype(float)
    small_im = rescale(test_im, 0.5)
    smaller_im = rescale(test_im, 0.25)

    ### run on original resolution
    test_im = test_im[:,:,0]
    test_im = binarize(test_im)
    test_im = torch.tensor(test_im)

    y = topo_analyzer(test_im)
    print('the number of 0-dim features in the original image are {}'.format(len(y[0][0])))

    ### run on the small image
    small_im = small_im[:,:,0]
    small_im = binarize(small_im)
    small_im = torch.tensor(small_im)

    s = topo_analyzer(small_im)
    print('the number of 0-dim features in the downscaled image are {}'.format(len(s[0][0])))

    ### run on the smaller image
    smaller_im = smaller_im[:,:,0]
    smaller_im = binarize(smaller_im)
    smaller_im = torch.tensor(smaller_im)

    z = topo_analyzer(smaller_im)
    print('the number of 0-dim features in the downscaled image are {}'.format(len(z[0][0])))

    ### Visualize

    plt.subplot(1,3,1)
    plt.imshow(test_im)
    plt.title('original image')
    plt.subplot(1,3,2)
    plt.imshow(small_im)
    plt.title('1/2 resolution')
    plt.subplot(1,3,3)
    plt.imshow(smaller_im)
    plt.title('1/4 resolution')
    plt.show()

if name == "main":
main()`
viz of inputs:

outputs:

I ran this script on a few toy images and there seemed to be a correlation between resolution and detected 0 dim topological features.

Thanks! I'll look into this.


5191 e45 permission group

Initial round of security implementations.
API:

Retrieve roles from tokens and map to permissions (using role->permission map in properties file)
Secure endpoint based on permissions
Add endpoint to get permissions for a User
Updated logic to retrieve user org from token

Web:

Secure routes based on user permissions
Secure menu, dropdown, tabs based on user permissions
Update main.js to ensure permissions are loaded before creating the App

Could maybe do with some unit tests for SecurityUtil.java though they'd probably only break if the JWT format changed.
And in that case our E2E tests would all break.

Could maybe do with some unit tests for SecurityUtil.java though they'd probably only break if the JWT format changed. And in that case our E2E tests would all break.

Added a SecurityUtilTest. Couldn't test methods which retrieve the JWT from the SecurityContext as this wasn't straightforward to setup in a unit test.


Exclude hidden profiles from search results

See platform issue 2670 and related PR https://github.com/cfpb/collab/pull/74

We paired on this update and got it working locally.


image-builder: fix "paratition" typo

Signed-off-by: Stefan Hajnoczi<EMAIL_ADDRESS>

Hi @stefanha - Thanks for raising!
Travis has failed though due to your commit not having the required Fixes #XXX comment and a full commit body. See:

https://github.com/kata-containers/community/blob/master/CONTRIBUTING.md#patch-format

However, I've just created #89 for you so if you change your commit to something like the following it will be happy :smile::
image-builder: fix "paratition" typo

Corrected a typo in the image builder script.

Fixes #89

Signed-off-by: Stefan Hajnoczi<EMAIL_ADDRESS>

Thanks, I have pushed an updated commit and Travis has passed now.

Thanks @stefanha!
lgtm

ping @bergwolf, @grahamwhaley.


[WFCORE-6411] Make it possible to use JaasSecurityRealm via a custom-realm resource

https://issues.redhat.com/browse/WFCORE-6411
Related PR for wildfly repo : https://github.com/wildfly/wildfly/pull/17077
Supersedes https://github.com/wildfly/wildfly-core/pull/5587
I have made the updates @yersan suggested in https://github.com/wildfly/wildfly-core/pull/5587 to remove the the javax.xml.stream.api dependency from org.wildfly.extension.elytron.jaas-realm and opened this new PR since @Skyllarr is on PTO.

https://ci.wildfly.org/buildConfiguration/WF_WildFlyCoreIntegrationExperiments/417545 (Linux integration)
https://ci.wildfly.org/buildConfiguration/WF_WildFlyCoreIntegrationExperiments/417547 (Microprofile)
https://ci.wildfly.org/buildConfiguration/WF_WildFlyCoreIntegrationExperiments/417549 (Bootable JAR)
https://ci.wildfly.org/buildConfiguration/WF_WildFlyCoreIntegrationExperiments/417551 (Galleon)
https://ci.wildfly.org/buildConfiguration/WF_WildFlyCoreIntegrationExperiments/417553 (WildFly Preview JDK 17)
https://ci.wildfly.org/buildConfiguration/WF_WildFlyCoreIntegrationExperimentsWindows/417555 (Windows)

@yersan Thank you very much for starting the jobs! Unfortunately, I had a typo in https://github.com/wildfly/wildfly/pull/17637 which I've now fixed, sorry about that.

Core -> Full Integration Build 13243 outcome was UNKNOWN using a merge of f516d31cb8e7ac4c6bb340a5d0ac2ac91df10ede
Summary: Canceled (Error while applying patch; cannot find commit 9cdb34e98fae05cfa435da45ca9427894e4fccfe in the https://github.com/wildfly/wildfly-core.git repository, possible reason: refs/pull/5861/merge branch was updated and the commit selected for the ... Build time: 00:00:30

Core -> Full Integration Build 13482 outcome was UNKNOWN using a merge of f516d31cb8e7ac4c6bb340a5d0ac2ac91df10ede
Summary: Canceled (Error while applying patch; cannot find commit 9cdb34e98fae05cfa435da45ca9427894e4fccfe in the https://github.com/wildfly/wildfly-core.git repository, possible reason: refs/pull/5861/merge branch was updated and the commit selected for the ... Build time: 00:00:15

Core -> WildFly Preview Integration Build 13305 outcome was UNKNOWN using a merge of f516d31cb8e7ac4c6bb340a5d0ac2ac91df10ede
Summary: Canceled (Error while applying patch; cannot find commit 9cdb34e98fae05cfa435da45ca9427894e4fccfe in the https://github.com/wildfly/wildfly-core.git repository, possible reason: refs/pull/5861/merge branch was updated and the commit selected for the ... Build time: 00:00:14

https://ci.wildfly.org/buildConfiguration/WF_WildFlyCoreIntegrationExperiments/417597 (Linux integration)
https://ci.wildfly.org/buildConfiguration/WF_WildFlyCoreIntegrationExperiments/417599 (Microprofile)
https://ci.wildfly.org/buildConfiguration/WF_WildFlyCoreIntegrationExperiments/417601 (Bootable JAR)
https://ci.wildfly.org/buildConfiguration/WF_WildFlyCoreIntegrationExperiments/417603 (Galleon)
https://ci.wildfly.org/buildConfiguration/WF_WildFlyCoreIntegrationExperiments/417605 (WildFly Preview JDK 17)
https://ci.wildfly.org/buildConfiguration/WF_WildFlyCoreIntegrationExperimentsWindows/417607 (Windows)
All green, this is ready to go

Thanks @Skyllarr @fjuma and @darranl


"./" to "./*" in packages.json

(node:27404) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at {APPPATH}\node_modules\tslib\package.json.
Update this package.json to use a subpath pattern like "./*".
(Use node --trace-deprecation ... to show where the warning was created)
In my node_modules I changed the above and it works. It has to be fixed

This thread has been repeated many times, it is already fixed. There is only one step we are still waiting. We need that https://github.com/DanielRosenwasser creates a release with current main branch.

Ok, nice. lookig forward to see this be released.

Should be out now.


download test images

Some can be found on Internet (see https://entropymine.com/jason/bmpsuite/bmpsuite/html/bmpsuite.html).
Have a look there also : https://blog.mozilla.org/nnethercote/2015/11/06/i-rewrote-firefoxs-bmp-decoder/.
This will be useful for testing BMPLoader implementations.

Done.


Second Plate Issues

There have been many issues that have come from the second plate with the NF1 data.
But the main issue at the current moment, when we have received all images that are .tif files, they came as RGB (3 channel) images and contained a scale.
When we received the updated second plate dataset, the images were still RGB but did not contain the scale.
What I noticed is that when splitting the images in CellProfiler to take the one channel connected to the colored channel in a composite Cell Painting image, there were discrepancies in how CellProfiler displayed the split channels.
Here is what it looks like with the images with scale:

Here is what is looks like with the updated images without the scale:

As seen in both images, the OrigGreen channel in the scaled image is less intense compared to in the non-scaled image, where OrigGreen and GrayBlue look like the exact same image.
I am unsure of if this makes a difference in terms of image quality. I am only taking one channel from the split RGB images so what I expect could happen is loss of some data but maybe not. These are my observations of the current discrepancies between NF1 datasets.

Update: This issue has been resolved except for being RGB images. All plates are now .tif which insures quality of the images is saved but still needs to be converted to greyscale (see https://github.com/WayScience/NF1_SchwannCell_data/tree/main/0_download_data).


The generated documentation Modules Canvases do not contain Types implemented in the nested packages.

First of all, thank you @odrotbohm for the tremendous work you've done over the years on the jMolecules and Spring Modulith projects!
Based on this repository: https://github.com/odrotbohm/tactical-ddd-workshop/tree/main/04-moduliths, the types are present in the generated modules canvas files.
However, if I decide to create nested packages (e.g. domain/) and put classes annotated as AggregateRoot, Entity, ValueObject etc. there, then the types are not present in the modules canvas files.
I wanted to know if this is a bug, a planned feature, or if there's simply another reason ?
Thank for your help

This is a feature. By default, the Application Module Canvas describes the API of a module, i.e. only architectural elements that are visible to other modules. The idea is that the documentation is usually most interesting to other module's developers. To those, it would be puzzling, if the canvas contained elements that they, then, cannot refer to without introducing an architectural violation.
That said, CanvasOptions exposes a revealInternals() that would disable the visibility check and the canvas would contain the types hidden inside the module as well.


Create CSSence.json

Hi Eric, I'd like to join.
I've created CSSence.json to avoid a filename with an umlaut.
By the way, the webring's site is off the charts, accessibility, theming, everything! So good.
Cheers,
Matthias (Zöchling)
PS: Shoutout to fellow Austrian @maxboeck, TIL he made a webring boilerplate template.

The pleasure is all mine. And thanks for the merge.


Change font family and increase font size for small device

Change font family and increase font size for small device which looks good.
fixes: #74
Before

After Change

@GeorgeApos

We can't accept the change of the font. I don't think we need a change in the font and the size.


DAL browser compatibility

Is there a compatibility checklist for known browsers? By experience, I found out that django-autocomplete-light does not work, for example, in ie11, safari 5.1.7 (desktop and mobile versions). Or is there some way to make it work in these browsers?

Select2 should support IE11 https://select2.org/#full-browser-support
We merge compatibility patches whenever they are submitted which happens from time to time.

Can we haz translation please?
And full traceback?
Le ven. 10 déc. 2021 à 13:32, DrunkGhost @.***> a
écrit :

In Internet Explorer 11 I see this right now:
[image: Screenshot_63]
https://user-images.githubusercontent.com/40352269/145574332-afb00836-da45-4aa6-aa8f-89fac7467824.png
[image: Screenshot_62]
https://user-images.githubusercontent.com/40352269/145574362-185e9ba2-beb2-472f-88a0-8961169d318d.png
[image: Screenshot_61]
https://user-images.githubusercontent.com/40352269/145574407-1095b166-2023-4cb0-b9f7-13c9c23562d9.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/yourlabs/django-autocomplete-light/issues/1273#issuecomment-990935346,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAXDLGJ7P66QN7WYBWRJHDUQHXPFANCNFSM5JWUP5NQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

https://caniuse.com/customevent

Ok for pull request


Fixed Block schema

Fixed errors in Block schema referenced in #102.
In testing I found that logsBloom and number no longer returns null when the block is pending.

For nullable values, can't we just remove them from the required fields list?