angular 13 build error

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
arn:aws:amplify:eu-central-1:804891409512:apps/d2pdamscvk6mqh
Region
frankfurt
Amplify Console feature
Build settings
Describe the bug
I am trying to deploy latest angular version app , created just simple app with ng new command still im getting build error like deps not resolved please check build settings yaml
Expected behavior
should build success
Reproduction steps
1 create new angular app with ng new command anguarl version 13
2 deploy with amplify
3 getting build error
Build Settings
version: 1
frontend:
  phases:
    preBuild:
      commands:
        - npm ci
    build:
      commands:
        - npm run build
  artifacts:
    baseDirectory: dist/app
    files:
      - '**/*'
  cache:
    paths:
      - node_modules/**/*

Additional information
No response

@afsalcodehack can you please share the build logs. I cannot find the app, is it deleted?


Python 3.11 is only supported python version

Summary
Only build and test against python 3.11
Details and comments
Removes changes made in #1034

We have a whole mechanism to allow users to choose their Python version that will also need to be ripped out

We have a whole mechanism to allow users to choose their Python version that will also need to be ripped out

That's true, good catch. Probably better to address this in another PR.

We have a whole mechanism to allow users to choose their Python version that will also need to be ripped out

Good catch, thinking in this feature... Probably we could remove the config by now from the client and in the api use always the same image node_image = settings.RAY_NODE_IMAGE. With the providers I don't think it has sense to allow this kind of configuration from the user, wdyt? 🤔

Sorry Paul, missclick 😅

test failures should be resolved by https://github.com/Qiskit/qiskit-serverless/pull/1418/commits/1b3e8ee4e8b8910b1833cb4f78a27cce64e84c05 , so let's get the UBI PR merged first then return to this one

This also drops the number of gh actions we run to 10 (down from 18)

With the providers I don't think it has sense to allow this kind of configuration from the user, wdyt?

It maybe too late but it may be useful for the preparation for the next python version update.  The provider can test their function with the new python version in advance.

The provider can test their function with the new python version in advance.

Good point. Maybe when the project stabilizes we'll need to start cutting release candidates (similar to what qiskit does) for users to test new versions?

The provider can test their function with the new python version in advance.

Yep, I didn't think about this but it's a good point for the future, Aki. I agree, let's do the next:

Let's keep the configuration by now (I liked the idea of the releases candidates)
Let's remove python 3.9 and 3.10 support only
Let's maintain the -py311

Thank you guys! 🙏

I'd still drop the python version. Testing against a release candidate shouldn't be exposed publicly, instead we'd set it up on a staging environment and run tests against that explicitly. Plus, if we're making this available for providers only then we'd need to wrap some kind of permissions around that field so that only providers could call it. Much simpler to just drop it completely.

@psschwei changes look good, if you remove python_version from the model I can help to test it 👍

And after reading you correctly, I agree. Let's see in future discussions how can we improve that way to facilitate the access to the providers to these nightlies versions.

@akihikokuroda @Tansito I think I've got the last bits of python_version out now, so this one is ready for another look

Btw @psschwei I think I added you some conflicts due to my merge 😅

@psschwei feel free to merge it so I can update #1416 and we merge both PRs today 💪


Don't Merge! PR real time test for target branch full build

Docs Build status updates of commit 4f09f4b:
:clock10: Pending: waiting for processors (5 builds ahead of you)
:warning: Docs Build is busy, currently there are 5 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 4f09f4b:
:clock10: Full build: the average full build time is 6 min(s) 50 sec(s), this is based on the last 30 build(s) for this repository.

Docs Build status updates of commit 4f09f4b:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-conceptual/testing.md
:warning:Warning
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)
Details

docs-ref-conceptual/testing.md

[Warning] Missing attribute: either ms.prod or ms.service is required. Use ms.prod for on-premise products, or ms.service for cloud services.
[Warning] Missing attribute: title.
[Warning] Missing attribute: either ms.prod or ms.service is required. Use ms.prod for on-premise products, or ms.service for cloud services.
[Warning] Missing attribute: title.
[Warning] Missing attribute: either ms.prod or ms.service is required. Use ms.prod for on-premise products, or ms.service for cloud services.
[Warning] Missing attribute: title.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Update password requirements with current reqs

The current password requirements have been changed.

:heart:  this news requirements

+1 LGTM

+1


again: BleWinrtDll.cpp:501 SubscribeCharacteristicAsync catch: The attribute cannot be written.

Hello:
I was able to use the computer's Bluetooth LE Explorer tool to connect to my device and debug it. When I was running Blewinrtdell in unity I was able to search the device to find services and characteristics, but when I clicked subscribe I got the error warning above.  Can you kindly give me some advice?

I find the reason why I can't debug. Every time I write a value, I only write the content to the characteristic 1,but I need to write the value to the characteristics 3. How can I solve this problem?

Hi @zhouyexi98,
for investigation, you can download and run the Microsoft's Bluetooth Low Energy sample and see whether subscribing works there. If the demo works, it should be fixable in this repo.

Hi @arafi123,
do I understand you correctly: There is a characteristic that is consistently read from the Microsoft BLE sample without error but shows the error BleWinrtDll.cpp:501 SubscribeCharacteristicAsync catch: The attribute cannot be written everytime you try to subscribe to that characteristic from the BleWinrtDll demo scene?

Hi @adabru Yes you have understood it correctly.

The relevant line should be https://github.com/adabru/BleWinrtDll/blob/f2635b7b02432ea3006983657107f092c862171d/BleWinrtDll/BleWinrtDll.cpp#L486
You can compare it to the code in the Microsoft sample.


amonagent tags

Have you considered allowing users to set tags either via /etc/opt/amonagent/amonagent.conf file or a seperate tags file? Kind of like subscriptions for sensu, though not for the same purpose. This would make deployments of amonagent much more configurable.
Alternatively, or additionally, it may also be a good idea to dynamically generate "reserved" tags based off of system information on behalf of the user at install time. Same thought as grains for saltstack, or facts for puppet. Things like os, distro, etc.

This would be really usefull as this allows to configure hosts nearby completely via ansible/cli.


Stabilizing CpuClock

As part of https://github.com/esp-rs/esp-hal/issues/2499
We're discussing how to stabilize the minimum amount. Or whether this should be stabilized at all.
Stabilize default and max
For each chip we only stabilize the lowest and highest clock speed, and expose default and max methods.
Stabilize CpuClock as is?
Whilst this enum covers every chip we currently support, could run into an issue with future chips, mostly around dynamic frequencies - if a future chip supports that. Given that it's a new chip, we can introduce a different API for this, so I don't see this being an issue.
Don't stabilize it
This option is quite self explanatory, we just mark it as #[unstable], and in esp_hal::Config and come back to stabilize this at a later date. Clock setting is only really required for use with esp-wifi, which itself is currently unstable.

I vote for Stabilize CpuClock as is


Permission request for metrics aggregation and pull request monitoring plugins

Link to GitHub repository

https://github.com/jenkinsci/metrics-aggregation-plugin
https://github.com/jenkinsci/pull-request-monitoring-plugin

When modifying release permission
List the GitHub usernames of the users who should have commit permissions below:

@uhafner

This is needed in order to cut releases of the plugin or component.
If you are modifying the release permission of your plugin or component, fill out the following checklist:

### Release permission checklist (for submitters)
- [x] The usernames of the users added to the "developers" section in the .yml file are the same the users use to log in to [accounts.jenkins.io](https://accounts.jenkins.io/).
- [x] All users added have logged in to [Artifactory](https://repo.jenkins-ci.org/) and [Jira](https://issues.jenkins.io/) once.
- [x] I have mentioned an [existing team member](https://github.com/orgs/jenkinsci/teams) of the plugin or component team to approve this request.

When enabling automated releases (cd: true)
Follow the documentation to ensure, your pull request is set up properly. Don't merge it yet.
In case of changes requested by the hosting team, an open PR facilitates future reviews, without derailing work across multiple PRs.
Link to the PR enabling CD in your plugin

### CD checklist (for submitters)
- [ ] I have provided a link to the pull request in my plugin, which enables CD according to the documentation.

### Reviewer checklist
- [ ] Check that the `$pluginId Developers` team has `Admin` permissions while granting the access.
- [ ] In the case of plugin adoption, ensure that the Jenkins Jira default assignee is either removed or changed to the new maintainer.
- [ ] If security contacts are changed (this includes add/remove), ping the security officer (currently `@Wadeck`) in this pull request. If an email contact is changed, wait for approval from the security officer.

There are IRC Bot commands for it.

I also want to change the issue tracker to Jira for the pull request monitoring plugin. How do I get a new Jira component?

I also want to change the issue tracker to Jira for the pull request monitoring plugin. How do I get a new Jira component?

Can be done when this is merged or via helpdesk.

Hi @alecharp, yes I agree to have @uhafner maintain the metrics aggregation plugin.

Created component: https://issues.jenkins.io/issues/?jql=project %3D JENKINS AND component %3D pull-request-monitoring-plugin


Follow up | Additional Features

Follow up on needed enhancments and features with it ticketing

#14
Get initial thoughts -- need a list if this is going to workout


Support jagged data sets

Currently, data setter will create a temp schema based on the first row.  Instead, data setter should scan the rows to find the max columns and create a temp schema from that row instead.

Jagged datasets are now supported.  When a 2d array is passed to the data setter grid assumes jagged array and entered "spread sheet" mode which is currently nothing more than converting the data from [[]] to [{}].  Column names are 1 = A, 2 = B, 3 = C etc.. to ZZZZ.. = some very large number.
Previous to this update when a [{},..] was encountered in the dataset a child grid was automatically created.  This behavior still exists and is extended to [[],..] schemas.
In addition, if a primitive type is passed to the data setter, it will be converted into [{a:<data>}] and objects will be converted to [<data>].


Cannot convert from 'DynamicBone[]' to 'UnityEngine.Object'

I'm using a fresh install of Unity(Ver. 2018.4.20f1) with the VRChat SDK and this plugin, whenever I try importing avatar tools it displays these two messages and the toolbox never appears.
Assets\PumkinsAvatarTools\Scripts\Editor\PumkinsAvatarTools.cs(4090,65): error CS0246: The type or namespace name 'DynamicBone' could not be found (are you missing a using directive or an assembly reference?)
Assets\PumkinsAvatarTools\Scripts\Editor\PumkinsAvatarTools.cs(4093,60): error CS1503: Argument 1: cannot convert from 'DynamicBone[]' to 'UnityEngine.Object'

Thanks for reporting, I found the issue. Please try the latest hotfix

That made it work, thank you!


Refactor SSH key management controller

How to test:

Generate ssh keys
Remove ssh keys
Deploy ssh keys to environment

Followed the steps above^
Fixed in prod


Attach GPU count to nodes, GPU requests to pods

We currently report GPU costs in the API here, but not GPU counts:
https://github.com/kubecost/cost-model/blob/develop/pkg/costmodel/cluster.go#L424
We may need to emit this as a metric if it does not exist
For pods, we are querying the GPU requests so it should be easy to attach that to the cache-- but some investigation may need to be done: @nikovacevic

After looking into this, there is actually a pricing bug related to this. We aren't correctly counting GPUs which is resulting in a price discrepancy for node classes with GPU counts > 1 on AWS for the public API. We need to emit the GPU counts as a prometheus metric and join them with the per-gpu costs we already emit to prometheus.

Addressed in
https://github.com/kubecost/cost-model/pull/726#pullrequestreview-610213285


Adding new API version 2018-01-10 fixing swagger violations.

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[x] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[x] The spec follows the guidelines described in the Swagger checklist document.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

This commit was treated and no generation was made for Azure/azure-sdk-for-python

This commit was treated and no generation was made for Azure/azure-sdk-for-go

This PR introduces new API version with following changes as compared to last version:

Fixes for swagger violations: a) Camel casing. b) Unwanted top level properties in Job model.
Introducing few new APIs like (TargetComputeSizes_ListByReplicationProtectedItem)
Having operations and models in sorted order in the spec.

Note:

Testing for the changes is in progress, PRs would be updated with the fixes if required.
We will soon update the swagger PR with right API examples (instances which are currently being flagged by model validator).

Updated the readme

Automation for azure-sdk-for-python

Swagger to SDK encountered a Subprocess error: (Azure/azure-sdk-for-go)
Command: profileBuilder -s preview -name preview
Finished with return code 127
and output:
/bin/sh: 1: profileBuilder: not found

@avneeshrai Can you please add the new api version to the README? Without that our validation tool will not be able to run correctly. After that I'll be able to review based on the validation results. Thanks!

@jianghaolu I have already updated the readme in commit https://github.com/Azure/azure-rest-api-specs/pull/2419/commits/2cad80352cc6b4e4d6d0117df4da2967968b033f . Did i miss something there?

Swagger to SDK encountered a Subprocess error: (Azure/azure-sdk-for-go)
Command: profileBuilder -s preview -name preview
Finished with return code 127
and output:
/bin/sh: 1: profileBuilder: not found

And please help with the error: Swagger to SDK encountered a Subprocess error: (Azure/azure-sdk-for-go)
/bin/sh: 1: profileBuilder: not found
what needs to be done here?

@mozehgir  -- Why was this reassigned?

Hey Garrett, I believe Jianghao is OOF for a week and if this PR can be reviewed before the next fundamentals meeting (Feb 13th) - it would be great.
Ideally if we could have it merged this week, we can represent the team accordingly in the meeting.

Hey @avneeshrai , @mozehgir
The new service.json file for the new API version has everything in a completely different order. This significantly increases the effort to review, since the diffs are useless to correlate against.
Is it possible that you can leave the file in the same order the original file was in?

@fearthecowboy I have reverted alphabetical sorting of path and definitions for most of the cases so that review efforts are saved.
We will update the PR again just by sorting definitions and paths
Let me know if there are any other action item on us w.r.t PR.

Automation for azure-sdk-for-go

Tagging @ravbhatnagar for ARM review/feedback.

@fearthecowboy are we talking about just one instance for multiVmGroupCreateOption to be represented as enum here? or you are referring to some other fields as well?

Hey @avneeshrai
I was looking at multiVmGroupCreateOption when I then noticed the same thing throughout the file. Any time you have a string field that ends in ..option or ..type it piques my curiosity to see if there is an enum that contains the acceptable values.
If you don't have an enum and there are specific values that mean something, then we're really doing consumers a disservice by not listing them.
using x-ms-enum and specifying modelAsString: true will make it so you can add more values later without making it a breaking change (since, we store the value even if it's not known, and older clients won't die when they see an unknown value.)
Given that you have a new API version here, I strongly suggest you take the opportunity to fill in details on types like multiVmGroupCreateOption to make sure we've got the best possible documentation for your service, and enable us to generate the best possible SDK we can. 😄

@fearthecowboy we have made multiVmGroupCreateOption as enum as suggested however kept modelAsString: false, to keep it consistent with other enum fields in our APIs.
Just a question here: multiVmGroupCreateOption  is also used for odata query filtering in one of the case, hope that works?

@fearthecowboy and yeah let us know if there is any other action item on us :)

I guess I'm ok with this; we're just waiting for ARM signoff from @ravbhatnagar

Signing off! most of these, if not all, are existing APis which have already been reviewed. It looks like they are getting added to swagger now. @avneeshrai - please correct if I am wrong here.

Right @ravbhatnagar, as per my understanding too approval have been taken by my team on most of these APIs.
@Fearthecowboy I will now update the PR after sorting API paths and definitions as discussed in the thread. Please merge (if you dont see any issue there).

@fearthecowboy could you please review and merge this :)


[Document Intelligence] Corrupted images

API change check
API changes are not detected in this pull request.


Upgrade version.mockito 3.9.0 -> 3.10.0

This PR contains the following updates:

Package
Update
Change

org.mockito:mockito-errorprone
minor
3.9.0 -> 3.10.0

org.mockito:mockito-inline
minor
3.9.0 -> 3.10.0

org.mockito:mockito-core
minor
3.9.0 -> 3.10.0

Release Notes

mockito/mockito
v3.10.0
Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
3.10.0

2021-05-12 - 0 commit(s) by
No notable improvements. No pull requests (issues) were referenced from commits.

[ ] If you want to rebase/retry this PR, check this box

Suggested commit message:
Upgrade Mockito 3.9.0 -> 3.10.0

See:
- https://github.com/mockito/mockito/releases/tag/v3.9.2
- https://github.com/mockito/mockito/releases/tag/v3.9.3
- https://github.com/mockito/mockito/releases/tag/v3.9.7
- https://github.com/mockito/mockito/releases/tag/v3.9.9
- https://github.com/mockito/mockito/releases/tag/v3.9.10
- https://github.com/mockito/mockito/releases/tag/v3.10.0
- https://github.com/mockito/mockito/compare/v3.9.0...v3.10.0


Use flutter --version --machine in hover

Hover currently reads the human readable output of flutter --version and then fetches the full engine commit hash from github, but we can shorten and improve that by using flutter --version --machine which returns json like this:
{
  "frameworkVersion": "1.15.10-pre.4",
  "channel": "master",
  "repositoryUrl": "https://github.com/flutter/flutter",
  "frameworkRevision": "c2ae654ddf9a3d9701262d49590efd3b3642ff8a",
  "frameworkCommitDate": "2020-03-05 08:03:26 +0100",
  "engineRevision": "7df0a6e35e5c1a4e541fb53538bc527daa41ba7c",
  "dartSdkVersion": "2.8.0 (build 2.8.0-dev.11.0 8e5354dccb)"
}

That's a good idea! I wasn't aware of the --machine flag


Test fixes

@biow0lf ?

@majioa to much changes. Can you split out to small commits/pr?
Also, there are a lot stuff that I don't like and don't understand why.


[Feature Request] Unmask properties that are NonPII to make log messages meaningful and for efficient troubleshooting

Just ran into this exact problem. There is PII logging on things like the JWT Token audience. While it might be that someone writes PII into the audience field this is usually not the case as the audience should contain the intended service. Same as the issuer field which usually isn't a user.


[BUG] Inconsistent behaviour for when creating arrays from numpy arrays on multiple gpus

Bug Description
Creating warp arrays from numpy arrays seems to fail when run on secondary gpu.
MVP:
import numpy as np
import warp as wp

dev = "cuda:1"
a = np.array([1])
b = np.array([2])
wp_a = wp.from_numpy(a).to(dev)
wp_b = wp.from_numpy(b).to(dev)
tc_a = wp.to_torch(wp_a)
tc_b = wp.to_torch(wp_b)
print(a, b)
print(wp_a, wp_b)
a = np.array([3])
b = np.array([4])
wp_a = wp.from_numpy(a).to(dev)
wp_b = wp.from_numpy(b).to(dev)
tc_a = wp.to_torch(wp_a)
tc_b = wp.to_torch(wp_b)
print(a, b)
print(wp_a, wp_b)
assert np.all(tc_a.cpu().numpy() == a)
assert np.all(tc_b.cpu().numpy() == b)

expected result:
[1] [2]
[1] [2]
[3] [4]
[3] [4]

and no assertion.
Actual result:
[1] [2]
[1] [2]
[3] [4]
[2] [4]
Traceback (most recent call last):
  File "C:\open\proj\hermes\warp_fail.py", line 22, in <module>
    assert np.all(tc_a.cpu().numpy() == a)
AssertionError

System Information
Warp initialization info:
Warp 1.4.0 initialized:
   CUDA Toolkit 12.6, Driver 12.2
   Devices:
     "cpu"      : "AMD64 Family 23 Model 49 Stepping 0, AuthenticAMD"
     "cuda:0"   : "NVIDIA RTX A6000" (48 GiB, sm_86, mempool enabled)
     "cuda:1"   : "NVIDIA RTX A6000" (48 GiB, sm_86, mempool enabled)
   CUDA peer access:
     Not supported
   Kernel cache:
     C:\Users\elrnv\AppData\Local\NVIDIA\warp\Cache\1.4.0

Hi @elrnv, there's a synchronization issue with this code.  To fix it, you can modify these lines:
wp_a = wp.from_numpy(a).to(dev)
wp_b = wp.from_numpy(b).to(dev)

Like this:
wp_a = wp.from_numpy(a, device=dev)
wp_b = wp.from_numpy(b, device=dev)

This should also improve the performance.
Let me explain.  The wp.from_numpy(a) call creates the Warp array on the default device, which is "cuda:0".  This triggers a CUDA memory copy from the host to "cuda:0", which runs in the context of "cuda:0".  The .to(dev) call launches a CUDA memory copy from "cuda:0" to "cuda:1".  By default memory copies between different GPUs run in the context of the destination device, which is "cuda:1" in this case.  Since operations on different devices are not synchronous with each other, the "cuda:0"->"cuda:1" copy (.to()) can start before the "cpu"->"cuda:0" copy completes (from_numpy()).  This requires explicit synchronization, for example you could break it down like this:
wp_a = wp.from_numpy(a)          # cpu->cuda:0 copy
wp.synchronize_device("cuda:0")  # wait for the copy to complete
wp_a = wp_a.to(dev)              # cuda:0->cuda:1 copy

But you probably want to skip creating an intermediate array on "cuda:0", so you can pass the device argument to from_numpy() to place the array on the correct device right away instead of copying it using .to().
wp_a = wp.from_numpy(a, device=dev)
wp_b = wp.from_numpy(b, device=dev)

For more info, check out the concurrency and synchronization docs.

Thank you for the thorough explanation and examples!


Increase max failures

Status
Ready
Related Issues
fixes: link to the issue
Description
Increasing the max failures.
Screenshots
Paste here any images that will help the reviewer

@MosheEichler I am ok with increasing this for now. But please investigate why this is happening and open an issue to fix.
@anara123 @DeanArbel FYI


using port report by node instead of from config

in some cases, kubemark may use different ports, the origin code uses static port, which can not connect some kubemark daemons

/assign @krzysied

I've just signed a CLA

/ok-to-tes

Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA.
It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.

I've just signed a CLA

close since rebased in https://github.com/kubernetes/perf-tests/pull/1535


fix CacheMiss exception in StreamContinuityManager

Check if this PR fulfills these requirements:

[X] My changes respect the Kodi add-on development rules
[X] I have read the CONTRIBUTING document.
[X] I made sure there wasn't another one Pull Requests opened for the same update/change
[X] I have successfully tested my changes locally

Types of changes

[ ] New feature (non-breaking change which adds functionality)
[ ] Feature change (non-breaking change which change behaviour of an existing functionality)
[ ] Improvement (non-breaking change which improve functionality)
[X] Bug fix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

On Kodi 18.6 and playback of an TV episode the plugin 100% throws a StreamContinuityManager exception.  The issue appears to be that current_videoid is pointing to the TV Show ID and not the individual episode ID that the cache entry was created for.
2020-05-02 14:47:38.619 T:3872   ERROR: [plugin.video.netflix (0)] Traceback (most recent call last):
File "C:\Users\Media 1\AppData\Roaming\Kodi\addons\plugin.video.netflix\resources\lib\services\playback\controller.py", line 189, in _notify_managers
notify_method(data)
File "C:\Users\Media 1\AppData\Roaming\Kodi\addons\plugin.video.netflix\resources\lib\services\playback\action_manager.py", line 59, in on_playback_started
player_state=player_state)
File "C:\Users\Media 1\AppData\Roaming\Kodi\addons\plugin.video.netflix\resources\lib\services\playback\action_manager.py", line 94, in _call_if_enabled
target_func(**kwargs)
File "C:\Users\Media 1\AppData\Roaming\Kodi\addons\plugin.video.netflix\resources\lib\services\playback\stream_continuity.py", line 74, in _on_playback_started
self._show_only_forced_subtitle()
File "C:\Users\Media 1\AppData\Roaming\Kodi\addons\plugin.video.netflix\resources\lib\services\playback\stream_continuity.py", line 250, in _show_only_forced_subtitle
manifest_data = g.CACHE.get(CACHE_MANIFESTS, cache_identifier)
File "C:\Users\Media 1\AppData\Roaming\Kodi\addons\plugin.video.netflix\resources\lib\common\cache.py", line 39, in get
data = self._make_call('get', call_args)
File "C:\Users\Media 1\AppData\Roaming\Kodi\addons\plugin.video.netflix\resources\lib\common\cache.py", line 92, in _make_call_service
return getattr(g.CACHE_MANAGEMENT, callname)(**params)
File "C:\Users\Media 1\AppData\Roaming\Kodi\addons\plugin.video.netflix\resources\lib\services\cache\cache_management.py", line 135, in get
raise CacheMiss()
CacheMiss
In case of Feature change / Breaking change:
Describe the current behavior

Describe the new behavior

Screenshots (if appropriate):

thanks for you help
strange that no one has reported the problem

commits must be separated only to split different code implementations

Apologies, a bit new to git & github.  I presume this is done by doing a "git reset" back to the baseline, and then editing the change, add & re-commit?

Case 2:
i want edit the commit2 commit content created (commit2):
this case commit2 are behind the commit3 (before suggest to make a duplicate of the branch with another name)
then before you have to delete commit3: git reset --hard HEAD^,
now use instructions of Case 1,
at the end, restore the deleted commit3, git cherry-pick xyz3
when you need to update the github
you have to force the push, git push -f repo branch


ReferenceError: h$closeWebSocket is not defined

Here is the program and the error:
https://gist.github.com/agocorona/c1765b72ec915a53489f

I think this works ok with the latest commit of ghcjs-base

I have unregistered ghcjs-base cloned the last commit, compiled and it still produce the same error....
I'm using windows by the way.

Trying other things.  It may be triggered by another error in my server app....

It appears in chrome, but not in edge/explorer.  I also have some problems with the protocol in the server side. So I will close this until I have a more clear case

I'm reporting here the same problem. I investigated the generated files. In the ghcjs-base installation directory, the generated libHSghcjs-base-<IP_ADDRESS>-*-js_a file has the code in jsbits/websocket.js. But the generated lib.js for my app doesn't have the h$openWebSocket, h$closeWebSocket functions from websocket.js! But all code in other jsbits files like jsbits/array.js, jsbits/jsstring.js are all included in the lib.js. Why only the websocket.js code is excluded in the result?  It's really weird.

I tried reinstalling ghcjs-base with the newest version several times and it doesn't help. At last, deleting .ghcjs directory and run 'ghcjs-boot' again solved the problem by installing the latest version in the global directory.  It seems when compiling packages, ghcjs is using the ghcjs-base package in the global directory but not the newer user .ghcjs directory. Is this a problem?

Looks like this is fixed.


Random Crash, Skeleton Tried Replacing Mushroom Block With Air Block?

Forge Version : 36.1.32
Minecraft Version: 1.16.5
WorldSeed:
Describe the bug
Skeleton tried to override a mushroom block with an air block?  the pathtrace blames your mod
** Stack Trace**
crash-2021-07-12_16.13.20-server.txt
Using Kaleidio's Battle Pack at the time with a dedicated server on beta 3.1.0 pre8 (though it's technically pre9 since it was a future to-be-made patch)

Looking at minecraft 1.16.5 version 19 at lines 177 and 262 of MoveEntity.

The problem is the last line.  It should be a mushroom block for sure there but it's not.
It may be a literal edge case where the mushroom is on the edge of a block.  I'll add some code around the line to protect ifrom this "impossible" case.
			boolean red = false;
			boolean brown = false;
			BlockPos mtBP = this.getBlockPos(eventEntity);
			Vector3d vM = new Vector3d (0.5,-0.3,-0.3);
			eventEntity.setMotion(eventEntity.getMotion().add(vM));
			sWorld.setBlockState(mtBP.down(), Blocks.MYCELIUM.getDefaultState());
			if (sWorld.rand.nextDouble() * 100.0 > 75.0) {
				sWorld.setBlockState(mtBP, Blocks.RED_MUSHROOM.getDefaultState());
				red = true;
			} else {
				sWorld.setBlockState(mtBP, Blocks.BROWN_MUSHROOM.getDefaultState());
				brown = true;
			}
			MushroomBlock mb = (MushroomBlock) sWorld.getBlockState(getBlockPos(eventEntity)).getBlock();

This should be fixed now.
Regrowth now ignores creatures which are "on the ground" but standing on a block of air.  This case happens when the creature is hanging by the edge of their hit box on to a higher block.  The area under their feet is air.


Anime dekh

Source name
anime dekho
Source link
https//:animedekho.com
Source language
HINDI
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a title with source name.
[X] I have checked that the extension does not already exist on the website extensions list or the app.
[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I will fill out all of the requested information in this form.

When it's gonna fix ?

When it's gonna fix ?

It will be added whenever someone takes the time to code together an extension, and that could take anywhere from a few hours to a few years


Support Offline Operation

Currently, Obsidian Tikzjax fetches TikZJax from a CDN. This means that if the internet is unavailable for whatever reason it's impossible to render diagrams. Would it be possible to include the script with the plugin?

Oh, please ignore. I missed the section at the bottom of the readme where you mention working on bundling the files. I'm really sorry for the noise!

No problem! It's probably easy to miss, being at the bottom of the readme.
We can keep this issue open to track it / for visibility.

Okay, that'd be brilliant! Might I ask what the current sticking point is? I may be able to help some if I know where you're at.

I'd definitely appreciate any help!
Currently, building TikZJax produces an entire folder of assets (with some files referencing each other). I think the best approach would be to build TikZJax, but instead compile everything into a single .js file. This file could then easily be inlined in the plugin, enabling offline access. However, I'm not familiar with webpack, so I'm not certain on how to do this.
The entry point of TikZJax is tikzjax.js, which sets up a Worker from run-tex.js. I think we might need to inline the run-tex.js code here somehow?
In addition, run-tex.js calls fetch to fetch all the TeX files it needs to compute the TikZ diagram output. These files include core.dump.gz, tex.wasm.gz, and all the TeX package files in the tex-files folder. Using fetch won't work if we want TikZJax to work offline. So I believe we'll need to replace that fetch call, and inline all those files here too.

Currently, building TikZJax produces an entire folder of assets (with some files referencing each other). I think the best approach would be to build TikZJax, but instead compile everything into a single .js file. This file could then easily be inlined in the plugin, enabling offline access. However, I'm not familiar with webpack, so I'm not certain on how to do this.

I'm somewhat unfamiliar with TikZJax. Does it compile purely to JS, or does it also have a WASM blob component? Either way, Webpack can handle bundling it into a single file as far as I know. You can probably do this as a post-build step if you specify the entry point.

The entry point of TikZJax is tikzjax.js, which sets up a Worker from run-tex.js. I think we might need to inline the run-tex.js code here somehow?

Maybe I'm missing something, but why are you saying it'd need to be inlined? Is it due to the fact that there are issues with workers, or just a matter of the bundling?

In addition, run-tex.js calls fetch to fetch all the TeX files it needs to compute the TikZ diagram output. These files include core.dump.gz, tex.wasm.gz, and all the TeX package files in the tex-files folder. Using fetch won't work if we want TikZJax to work offline. So I believe we'll need to replace that fetch call, and inline all those files here too.

I think it'd definitely need to be replaced, but beyond the need to work offline I don't know if the Obsidian plugins system provides any mechanism for downloading data files in addition to the standard main.js, styles.css and manifest.json. Do you know if you can bundle additional files to be downloaded with a plugin, or would it be a matter of base64 encoding the data?
Such a thought actually gives rise to a potentially more simple stopgap solution if working out how to webpack it all proves problematic. Could you potentially base64 encode the entire archive into main.js and then unpack it on the plugin's first load?

I'm somewhat unfamiliar with TikZJax. Does it compile purely to JS, or does it also have a WASM blob component? Either way, Webpack can handle bundling it into a single file as far as I know. You can probably do this as a post-build step if you specify the entry point.

I see, thank you! TikZJax compiles to two .js files, which load a gzipped .wasm file.

Maybe I'm missing something, but why are you saying it'd need to be inlined? Is it due to the fact that there are issues with workers, or just a matter of the bundling?

Ah, I could be wrong here. I was just thinking that loading another file from a URL (${urlRoot}/run-tex.js) would be problematic.

I don't know if the Obsidian plugins system provides any mechanism for downloading data files in addition to the standard main.js, styles.css and manifest.json.

It doesn't, no. The standard approach to bundling extra assets with a plugin appears to be base64 encoding them/inlining them, as you say.

Such a thought actually gives rise to a potentially more simple stopgap solution if working out how to webpack it all proves problematic. Could you potentially base64 encode the entire archive into main.js and then unpack it on the plugin's first load?

That definitely seems possible. (Alternatively, we could have the plugin download the TikZJax files on first use and store them in the plugin folder.)
This still leaves the issue of replacing that fetch call, though, since fetching local files doesn't work. I thought about replacing it with something like TikzjaxPlugin.app.vault.adapter.readBinary(file), which returns the contents of file, where file is a file inside the user's vault. However, TikZJax doesn't have access to TikzjaxPlugin, or the Obsidian App, so I'm not sure that that's possible.

I see, thank you! TikZJax compiles to two .js files, which load a gzipped .wasm file.

This sounds like a fairly trivial application of webpack or similar. I think the argument you want is -s SINGLE_FILE=1. I'm not currently in a position to try this myself, unfortunately!

Ah, I could be wrong here. I was just thinking that loading another file from a URL (${urlRoot}/run-tex.js) would be problematic.

Ah, yes this is likely to cause problems, so I agree that it'd need patching. Would it perhaps be possible to maintain a set of patches? Or are you building from your fork already and hence it's even simpler?

It doesn't, no. The standard approach to bundling extra assets with a plugin appears to be base64 encoding them/inlining them, as you say.

I thought not. How annoying. We at least know that such an approach probably works; we'd not be the first to do it here.

That definitely seems possible. (Alternatively, we could have the plugin download the TikZJax files on first use and store them in the plugin folder.)

Downloading them on the first use may well be a good option. The only issue here is that we'd need to have some kind of updater logic to check for updates to those files and grab new ones if there are. I can think of a few ways to make this less burdensome for users, but that's to visit if we decide to go down this route.

This still leaves the issue of replacing that fetch call, though, since fetching local files doesn't work. I thought about replacing it with something like TikzjaxPlugin.app.vault.adapter.readBinary(file), which returns the contents of file, where file is a file inside the user's vault. However, TikZJax doesn't have access to TikzjaxPlugin, or the Obsidian App, so I'm not sure that that's possible.

I think that's unlikely, unfortunately. You might get it to work on desktop, but I think content security policies would potentially make it hard. I don't think it would work on mobile at all.
Which means probably needing to patch it somehow. What's the entry point to the tikzjax code like? Could we add an additional argument to the initialisation that gives access to TikzjaxPlugin and hence App?

This sounds like a fairly trivial application of webpack or similar. I think the argument you want is -s SINGLE_FILE=1. I'm not currently in a position to try this myself, unfortunately!

I'll give it a shot soon!

Ah, yes this is likely to cause problems, so I agree that it'd need patching. Would it perhaps be possible to maintain a set of patches? Or are you building from your fork already and hence it's even simpler?

Yep, I'm building from a fork, so no problems with that.

Downloading them on the first use may well be a good option.

Indeed. An advantage of this approach is that users can easily add any extra LaTeX / TikZ packages they want to TikZJax, simply by copying the package files to the tex_files folder.

The only issue here is that we'd need to have some kind of updater logic to check for updates to those files and grab new ones if there are. I can think of a few ways to make this less burdensome for users, but that's to visit if we decide to go down this route.

Ah, good point. Perhaps we could have a setting to auto-check for updates every so often.

This still leaves the issue of replacing that fetch call, though, since fetching local files doesn't work. I thought about replacing it with something like TikzjaxPlugin.app.vault.adapter.readBinary(file), which returns the contents of file, where file is a file inside the user's vault. However, TikZJax doesn't have access to TikzjaxPlugin, or the Obsidian App, so I'm not sure that that's possible.

I think that's unlikely, unfortunately. You might get it to work on desktop, but I think content security policies would potentially make it hard. I don't think it would work on mobile at all.
Which means probably needing to patch it somehow. What's the entry point to the tikzjax code like? Could we add an additional argument to the initialisation that gives access to TikzjaxPlugin and hence App?

Not sure whether you meant to reply to this or my question beneath it about hosting the files. I'll assume the latter, since it makes more sense considering you ask about App afterwards. Correct me if I'm wrong!
I just discovered that we can actually access App via window.app -- so TikZJax does actually have access to it.
This seems promising, since we could then replace fetch(file) with window.app.vault.adapter.readBinary(file). The only problem with this is that this code is run inside a web worker, and web workers don't have access to window. So it seems like this approach would be a bit more challenging (think I'd have to transfer the file data to the worker via worker.postMessage or something).

In summary, it looks like there are two approaches we could take:
A. webpack everything into a single .js file, base64 encoding and inlining files where necessary. We can then inline this .js file in the plugin, enabling offline access.
B. Download/unpack and store the TikZJax files in the plugin folder, and have TikZJax run from those files. Patch the relevant function calls so that files aren't being fetched from URLs (might be a bit complex). Enables users to easily add their own LaTeX packages, but we'll need to think about how we distribute updates.
I think option A looks a bit easier and like the "cleaner" solution to me. So I think I'll give it a try soon and see how it goes!

I think (A) is definitely the cleaner solution, but I feel like it's not quite as simple as it seems. Unless I'm missing something, you still need to patch a few calls in TikZJax in order to remove the fetch calls before bundling things? Or are you counting that under the "base64 encoding and inlining files where necessary"?
I should have a bit more time in a few days, so if you keep this issue updated with any progress you have I should be able to muck in then!

Or are you counting that under the "base64 encoding and inlining files where necessary"?

That's what I meant, yes.
I've made progress! I managed to bundle everything into a single file and got the plugin working offline. The way I've done the bundling isn't very clean or elegant, though, and could probably be improved. I'll explain my approach here.
There are two places in TikZJax we need to patch:

The fetch call inside loadDecompress.

To patch this I created a dictionary, where the keys are filenames of TikZJax assets, and the values are the base64 encoded contents of said files, like this;

I then import this dictionary in run-tex.js. I replaced the fetch call so that whenever a file needs to be fetched, we simply lookup its base64 encoded value in the dictionary instead, obtaining the file that way.
This works! But it's probably a bit dirty. Having learnt slightly more about webpack now, I think we should probably use one of the loaders provided by webpack (or asset modules?) instead -- does that sound right?

The initialisation of a web worker inside tikzjax.js created from run-tex.js.

Fortunately, webpack comes with a number of ways to bundle web workers.

https://webpack.js.org/guides/web-workers/ for Webpack 5. However, this doesn't offer a way to inline the worker code, which we need in order to bundle everything into one file.
worker-loader for Webpack 4, which offers an inline option. However, I couldn't get this to work; it led to a runtime error when initialising the worker.

In the end, I resorted to manually inlining the run-tex.js file output by webpack after a build, and using this method to create a Worker from a string of code. Not sure if you have any better ideas or suggestions here.

I've made progress! I managed to bundle everything into a single file and got the plugin working offline. The way I've done the bundling isn't very clean or elegant, though, and could probably be improved.

Though it's a bit hacky, the fact that it works is great! As long as the dictionary build is automated it seems like a perfectly fine starting point to me. That said, you're right that we could probably do it more cleanly with webpack. To my understanding, we want the asset/inline method for v5's asset loader, as you've pointed out.

In the end, I resorted to manually inlining the run-tex.js file output by webpack after a build, and using this method to create a Worker from a string of code. Not sure if you have any better ideas or suggestions here.

Unfortunately I don't. I've spent some time digging and I've come to the exact same conclusion as you. If you want to bundle it all into a single file, we end up stuck with loading it from a string or blob. To that end, it may be best to treat the worker as another asset for the asset loader, that way there's a unified method to inline the worker into the file. From there you can load it using the Blob constructor which is taken by URL.createObject as described in the SO answer you linked to.

Oh, and I forgot to say! It's amazing that you've made so much progress! I don't know if my code-level help is at all useful at this point, given I'm now available to help! Let me know if there's any way I can help beyond continuing to be a sounding board here!

To my understanding, we want the asset/inline method for v5's asset loader, as you've pointed out.

Ah yes, thank you! I suppose we'd replace the values in the dictionary with the file contents not as inlined base64 encoded strings, but as variables holding the base64 encoded contents, each imported via
import tikzjax_file_name from './../tex_files/tikzjax_file_name.gz';

To that end, it may be best to treat the worker as another asset for the asset loader, that way there's a unified method to inline the worker into the file.

Ah, that's what I'm doing! Sorry I neglected to mention it. I ended up creating two separate webpack configs to ensure that the run-tex.js worker is built before tikzjax.js, which depends on run-tex.js being built so it can inline it.

Let me know if there's any way I can help beyond continuing to be a sounding board here!

Will do :)
Another minor issue: the final bundle output by webpack in production mode is 6.6 MB (11.2 MB if we include fonts!), which is a bit hefty. There probably isn't much we can do to reduce this, is there? (The un-bundled files come to 5.1 MB and 8.6 MB including fonts, so that's an extra 2.6 MB coming from the base64 encoding.)

Ah yes, thank you! I suppose we'd replace the values in the dictionary with the file contents not as inlined base64 encoded strings, but as variables holding the base64 encoded contents, each imported via
import tikzjax_file_name from './../tex_files/tikzjax_file_name.gz';

Yes exactly! It'd certainly make things a bit cleaner was webpack then handles a bunch of the gubbins for us.

Ah, that's what I'm doing! Sorry I neglected to mention it. I ended up creating two separate webpack configs to ensure that the run-tex.js worker is built before tikzjax.js, which depends on run-tex.js being built so it can inline it.

I guess this is the point at which package.json needs to start including commands for this kind of thing :'D

Another minor issue: the final bundle output by webpack in production mode is 6.6 MB (11.2 MB if we include fonts!), which is a bit hefty. There probably isn't much we can do to reduce this, is there? (The un-bundled files come to 5.1 MB and 8.6 MB including fonts, so that's an extra 2.6 MB coming from the base64 encoding.)

Yeah fundamentally I don't think there's much we can do for this. Base64 encoding is pretty efficient as a textual encoding, so unless we can pack things further (which I don't think we can) it's just kinda "how things are". The whole download things method would be a bit smaller on disk in the end, but much more maintenance-heavy for users, so I think where we are is definitely the optimal solution.

Yeah fundamentally I don't think there's much we can do for this. Base64 encoding is pretty efficient as a textual encoding, so unless we can pack things further (which I don't think we can) it's just kinda "how things are". The whole download things method would be a bit smaller on disk in the end, but much more maintenance-heavy for users, so I think where we are is definitely the optimal solution.

I see!
Good news -- I tidied up the inlining of assets with webpack, and with that, everything's complete! I just released v0.3.0 of the plugin, which supports offline operation.
Thanks for all your help :D

Amazing! Now I can start to poke at #4!


Omise Go

To request icons for your coin, please fill info below:

Omise Go (OMG)

link to logo:
official website: https://omg.omise.co/

Optional info (not mandatory, but saves me time):

logo color (HEX): #1A53F0
bitcointalk.org thread: https://bitcointalk.org/index.php?topic=2023054.0

Please note: This is all completely voluntary work, so if you want to support my efforts and speed up the addition of your coin, please donate. Donation addresses can be found on my website

Hey, icon just added to the pack. Donations are appreciated!
Enjoy!


Move image builders to one workflow file

Description
Move image builders to one workflow file to keep things cleaner.
Related issue(s)

See #831

/kind enhancement


Naming of OptionalOffsetTimeArgumentFactory  and OptionalZonedTimeArgumentFactory

Since OptionalOffsetTimeArgumentFactory and OptionalZonedTimeArgumentFactory handle OffsetDateTime and ZonedDateTime respectively, shouldn't they be named OptionalOffsetDateTimeArgumentFactory and OptionalZonedDateTimeArgumentFactory?

@joschi what do you think?

Yes, renaming those classes is fine. It was more of an oversight on my end rather than a conscious decision and the end users won't ever come in contact with those classes directly.

I submitted https://github.com/dropwizard/dropwizard/pull/1445 to address this


feat: add fallback value for janus-idp.hostname for openshift clusters

Description of the change

Adds a fallback value for janus-idp.hostname for openshift clusters when both global.host and global.clusterRouterBase are not provided.
Existing or Associated Issue(s)

Fixes #167
Additional Information

Checklist

[x] Chart version bumped in Chart.yaml according to semver.
[ ] Variables are documented in the values.yaml and added to the README.md. The pre-commit utility can be used to generate the necessary content. Use pre-commit run -a to apply changes.
[ ] JSON Schema template updated and re-generated the raw schema via pre-commit hook.
[x] List tests pass for Chart using the Chart Testing tool and the ct lint command.

Thank you @Zaperex

@Zaperex any updates for this PR?

whoops it seems the test charts github action isn't running in an openshift cluster, which is why it's failing.


state is mutable via store.select(fromRoot.someObj) observable

suppose i habe an object inside the store named someObj with initial value:
someObj = {a:1, b:2}

inside component i am getting the Obvervable from the store like this:
this.myObservable$ = store.select(fromRoot.someObj)

For some reasons i need to manipulate the delivered values.
For that reason i am executing .map() function
this.myObservable$ = store.select(fromRoot.someObj)
  .map(obj => {
             obj.a = 2;
             return obj
           })

Unfortunately this operation mutates the someObj Value inside the store. Can be checked like this.
  setTimeout(() => {
    store.select(fromRoot.someObj)
      .subscribe(val => console.log(val))
  }, 3000);

Is it a bug or do i wrong understand the concept of immutable store?

As I understand it's your responsibility to not mutate any objects in the store, but instead replace them.
Look e.g. at this example: src/app/reducers/collection.ts#L42-L44
You completely reuse the previous state, but change only a single attribute of the state: the ids. Therefore you replace only the ids array because you only changed this value and reuse all other values like the loaded attribute. I guess it's the same in the select operator: still your responsibility to not change the state.
If you think about it: why should you clone the whole state instead of reusing unchanged parts? If an object stays unchanged - why would you duplicate it everytime if all duplicates are also never changed and will always have the same value? It would only cost more memory and make the whole state update more complex.
To verify that no state is changed, you can use a library like ngrx-store-freeze as it's done in the example app: src/app/reducers/index.ts#L74-L83.
So a correct version of your example would be
this.myObservable$ = store.select(fromRoot.someObj)
  .map(state => Object.assign({}, state, {a: 2});

@linkvt by definition we are dealing with immutable store. Any store mutations are performed via reducer functions. My understanding was, that this framework saves the store from accidental mutations.
I would expect that the select function return an object from the store, that is a copy of stored object, to avoid unexpected mutations.
Thank you for the hint about store-freeze!

Couldn't the use of ts readonly prevent that ?

I am also curious why the returned state from store.select is not immutable, seems like it would be reasonable since all states changes should happen in the reducer, but maybe I am missing something.


Client has high CPU in certain cases.

Version: <IP_ADDRESS>
OS/Distro: Windows 10  Enterprise
Issue/Impact:
I'm not sure where to raise this issue, but I'm having trouble with the windows client on my development machine. My employer uses this application and whenever I do any file intensive activities (compile, zip, copy, move, linking, console output) BeyondTrust Shared Service goes from < 1 percent to 18-30 percent, and I've seen it as high as 40-50.
If you could point me in the right direction, I'd appreciate it.

That is seems to be BeyondTrust PowerBroker for Windows and we have a support team that can assist you. I would recommend you reach out to your system administrator as they should be able to raise the issue to the BeyondTrust support team.

I have the same issue - is there a solution yet?


fix: dynamic title are not shown correctly

Fix dynamic title with template literals
Incorrect spelling: challange => challenge

@all-contributors please add @haikelz for code


Problems with the MNIST experiment

Dear Sir:
I am very interested in your paper. But some problems occurred when I repeated MNIST experiment. I wrote the test code and adopted the same LOSS function as the training code. Visualize the LOSS value of G and D,  but the normal samples and abnormal samples may not be distinguished.
For example, In the training,the number 1 is treated as a normal sample;  in the test, the number 0,1,2 and 3 are visualized; the number 1 is red, the number 0 is blue, the number 2 is green, and the number 3 is yellow.  The parameters are all default values. The results look good.

But if the number 2 is treated as a normal sample;  in the test,  the number 0,1,2 and 3 are visualized; the number 2 is red,  the number 0 is blue,  the number 1 is green,  and the number 3 is yellow. The parameters are all default values. The results turned out badly.

I tried adding noise to the test sample and adjusted r_alpha,  but none of the results improved significantly.
This question has been bothering me for a few days and How should the LOSS of the test sample be selected，Could you give me some advice. Thank you!
Best wishes!

I also had the same issue. It takes longer than several days to distinguish outliers with normal case '2'.

Now I, however, agree with this paper after tuning up the hyper-parameters. Target class number 2 on MNIST can also be detected with proposed structure, with delicate controls.

As you see, I finally detect outliers with target class both 1 and 2. Both tries watched MNIST training sets for 1K epochs and tested with MNIST test sets.

ALOCC was a very interesting and useful idea! I test it from scratch and I found that finding the threshold could be another new idea which could be useful for extending their project. The ALOCC idea in the pure structure was very nice! I try to use it with adversarial training, I hope it could work in the refining of adversarial examples.


Remove erroneously added wildcard method name

resolves https://github.com/dbt-labs/dbt-core/issues/9641

Problem
https://github.com/dbt-labs/dbt-core/pull/6599/files#diff-9aa4de7075574ef36d838665148e5858294fae6fd66c0eed1fcf2033a34ee84eR50 erroneously added a new key to the MethodName enum which is completely unused -- all wildcard operations are performed within other methods, specifically:

fqn
tag
source
exposure
metric
file
package
test

Solution
Remove the unused key to avoid polluting the MethodName enum.
Checklist

[X] I have read the contributing guide and understand what's expected of me
[X] I have run this code in development and it appears to resolve the stated issue
[X] This PR includes tests, or tests are not required/relevant for this PR
[ ] This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX
[X] This PR includes type annotations for new and modified functions

Thanks for your pull request, and welcome to our community! We require contributors to sign our Contributor License Agreement and we don't seem to have your signature on file. Check out this article for more information on why we have a CLA.
In order for us to review and merge your code, please submit the Individual Contributor License Agreement form attached above above. If you have questions about the CLA, or if you believe you've received this message in error, please reach out through a comment on this PR.
CLA has not been signed by users: @heysweet

I just signed the CLA


Bluetooth: host: l2cap: dynamic channel bugfixes

See commit messages.

Regarding commit https://github.com/zephyrproject-rtos/zephyr/pull/55519/commits/766b4bb8e1ec1ac4dbe71fd40ed0259a2f6f4c58:
Can you add a link to "first bugfix" in the commit message? (I assume it refers to an already merged PR.) I suggest using markdown syntax: "Turns out the [first bugfix] was too naive" and "[first bugfix]: https://github.com/zephyrproject-rtos/zephyr/pull/...".

Scheduled PR #https://github.com/zephyrproject-rtos/zephyr/pull/55519#issuecomment-1486448028 after 10:42:36.

AutoPTS Bot results:
Failed tests:
L2CAP   L2CAP/COS/ECFC/BV-04-C          INCONC
L2CAP   L2CAP/ECFC/BV-43-C              FAIL - ERRATA TSE18351
L2CAP   L2CAP/ECFC/BV-44-C              INCONC - ERRATA TSE18351
L2CAP   L2CAP/TIM/BV-03-C               INCONC

Added DNM as I'm working on a test for the case when a peer uses less than MPS.

@sjanc could you re-run the PTS tests? thanks!

#AutoPTS run zephyr L2CAP

Scheduled PR #https://github.com/zephyrproject-rtos/zephyr/pull/55519#issuecomment-1494165302 after 13:43:06.

AutoPTS Bot results:
Failed tests:
L2CAP   L2CAP/ECFC/BV-43-C              FAIL - ERRATA TSE18351
L2CAP   L2CAP/ECFC/BV-44-C              INCONC - ERRATA TSE18351
L2CAP   L2CAP/TIM/BV-03-C               INCONC

DNM again as throughput is 10x worse in HW tests. Will come up with something else

@jhedberg could you re-review?

#AutoPTS run zephyr L2CAP

Scheduled PR #https://github.com/zephyrproject-rtos/zephyr/pull/55519#issuecomment-1522863226 after 08:48:23.

Scheduled PR #https://github.com/zephyrproject-rtos/zephyr/pull/55519#issuecomment-1522863226 after 08:53:49.

AutoPTS Bot results:
Failed tests:
L2CAP   L2CAP/ECFC/BV-43-C              FAIL - ERRATA TSE18351
L2CAP   L2CAP/ECFC/BV-44-C              INCONC - ERRATA TSE18351
L2CAP   L2CAP/TIM/BV-03-C               INCONC - ERRATA TSE22286

DNM until we triage the failing PTS tests.


Remove the advanced agent in the virtual Fire-alarm

Hi Team,
Currently, there are 2 agents for the virtual fire-alarm. The simple and advanced agent. The only difference is in the simple agent we can't add a policy and in the advanced, we can add a policy.
Can we remove the simple and advanced separation and just have one single agent for the virtual fire-alarm? This way it's intuitive for the users who try things out too. Sharing this as discussed with Ayyoob.
Later on like we do for mobile devices, we can add a policy for the virtual fire alarm too.

Also, can we have a drop down for the following:
When we go to ring the alarm, we have to enter on or off in the form. Instead of entering can we have a drop-down with on and off so it's easy for the user to select.
Or can we have on off as radio button options.
This will make things easier for the user too.

Fixes https://github.com/wso2/carbon-device-mgt-plugins/commit/77da76ecd48af128406331336bc8cd4cf869b8e1

Added radio button options for ring alarm operation.
https://github.com/wso2/carbon-device-mgt/pull/829
https://github.com/wso2/carbon-device-mgt-plugins/pull/745
Since the advance agent removed and radio button option added, this issue is closed.


Quarto used for documentation for a simple package

Link to suggestion
https://aeturrell.github.io/skimpy/
Describe your suggestion
You could add https://aeturrell.github.io/skimpy/ as an example of Quarto being used for documentation of a package. There's a makefile that turns a Jupyter notebook into a website via Quarto (link here: https://github.com/aeturrell/skimpy/blob/main/Makefile).

This would be an example, right?
For example, there is https://github.com/edgararuiz/ecodown which is a tool to make R package documentation into a Quarto website.
Me being curious, it does not seem the documentation is built upon the Docstring Conventions, it is rather hard written in a jupyter notebook used as the index of the gh-page, am I correct?

Yeah, this is very much not a proper or automated documentation tool so happy to close this on that basis (thinking was very much "here's an interesting example").

I think it's fine for now as an example.
But likely to be removed if an automated tool is developed.


New package: Claude v0.1.0

Registering package: Claude
Repository: https://github.com/JaewooJoung/Claude.jl
Created by: @JaewooJoung
Version: v0.1.0
Commit: 17db63bf3b8a5be3ef1ace6eab3b5fc13f5a61c6
Reviewed by: @JaewooJoung
Reference: https://github.com/JaewooJoung/Claude.jl/issues/1#issuecomment-2439997508
Description: Your friendly AI assistant in Julia! 🌟
Release notes:

## What's New in v0.1.0
- Initial release of Claude.jl
- Basic functionality implementation

[noblock] Anthropic has a trademark on “Claude”. I have no idea what implications that has for someone unaffiliated with the company using “Claude” for a package name, but it might be worth getting some clarification on potential legal issues.


typo it should be : privateIPAddress instead of privateIpAddress

[Enter feedback here]
typo it should be : privateIPAddress instead of privateIpAddress

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

ID: 1cbdc700-aa37-77ab-7f19-fc783cded33e
Version Independent ID: b311b772-4239-be60-b66d-bc1143a56b53
Content: Restrict egress traffic in an Azure Red Hat OpenShift (ARO) cluster - Azure Red Hat OpenShift
Content Source: articles/openshift/howto-restrict-egress.md
Service: azure-redhat-openshift
GitHub Login: @joharder
Microsoft Alias: joharder

@bessalahAmar
Thanks for your feedback! We will investigate and update as appropriate.

@bessalahAmar
Thanks for reporting this! We have created a PR for this issue and the changes should go live soon.


bugfix: use new clusterfile logic to update api server cert

Describe what this PR does / why we need it
bugfix: use new clusterfile logic to update api server cert
Does this pull request fix one issue?

Describe how you did it
Describe how to verify it
Special notes for reviews

Codecov Report
Base: 20.36% // Head: 20.44% // Increases project coverage by +0.08% :tada:

Coverage data is based on head (dcbe16e) compared to base (7be682b).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1782      +/-   ##
==========================================
+ Coverage   20.36%   20.44%   +0.08%
==========================================
  Files          71       71
  Lines        6589     6563      -26
==========================================
  Hits         1342     1342
+ Misses       5066     5040      -26
  Partials      181      181

Impacted Files
Coverage Δ

pkg/clusterfile/util.go
0.00% <ø> (ø)

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[bug] tap(click) event is still not working on Android (v 12-13) Chrome browser on Samsung/Pixel phones

I saw several issues like that, the last one with suppose fix was the following https://github.com/SortableJS/Sortable/issues/2136.
But issue is still there on some phones like Samsung and Pixels, on One plus is working perfectly. From what is noticeable I can make a concussion that  draggable event is being called, but tap/click event is never being called (we have tag with x button and click event on it), because as soon as draggable event is called the long text got text-overflow: ellipsis style, and this what exactly happening.

This problem is not reproducible in only one Mozilla Firefox browser, which uses its own rendering engine - GeckoView, all other browsers on Android (as Google Chrome, Microsoft Edge, Opera and Brave) use the Google Chrome rendering engine - Blink. It seems that the issue is reproducible only on the Google Chrome rendering engine - Blink
Thank you!

I have the same issues on Android Chrome(Galaxy 20+), Samsung Internet .. all of chrome engine's browsers.

Hi
I spent a lot of time trying to figure out a similar situation. Somewhere in the issue they wrote how this can be fixed with 2 parameters, but it didn’t work for me:
filter: "input",
preventOnFilter: false,

In your case it look like this:
new Sortable(sortableList, {
	animation: 150,
	filter: "button",
	preventOnFilter: false,
});

Important! The click should be processed without bubbling. That is, it is your close button , and not the cross icon.
button > * {
pointer-events:none;
}

The same applies to the input element inside the label. A click on the label will be ignored and will not reach the input.
I puzzled over the latter for a couple of evenings, and in the end I managed to understand the reason.
Hope this helps someone.

@AnastasiiaMP adding a delay works for me.
Sortable.create(sortable, {
	animation: 150,
	delay: 100,
	delayOnTouchOnly: true,
	}
});


Docker failure due to FileNotFound

Describe the bug
After building the docker file and executing, the following error is returned:
Traceback (most recent call last):
  File "/usr/local/bin/cme", line 11, in <module>
    load_entry_point('crackmapexec==5.1.0.dev0', 'console_scripts', 'cme')()
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 490, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2862, in load_entry_point
    return ep.load()
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2462, in load
    return self.resolve()
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2468, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/local/lib/python3.8/site-packages/crackmapexec-5.1.0.dev0-py3.8.egg/cme/__init__.py", line 10, in <module>
    for module in os.listdir(thirdparty_modules):
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.8/site-packages/crackmapexec-5.1.0.dev0-py3.8.egg/cme/thirdparty'

To Reproduce
Steps to reproduce the behavior:

docker run  cme --help
See error

Expected behavior
The help is displayed (I think the switch is --help)
Crackmapexec info

OS: N/A
Version of CME: 5.1.0.dev0
Installed via Dockerfile

How did you clone the CME repo ?

git clone https://github.com/byt3bl33d3r/CrackMapExec

You need to clone using the flag recursive
git clone --recursive https://github.com/byt3bl33d3r/CrackMapExec


Beat swinging sound effect gone

For some odd reason, beat's swinging sound effect no longer plays with the mod.
It should play.
How? No idea, but will figure this out.

Tried this out without the mod, still no sound. Did they remove Beat's swing sound effect?????


Ambiguous exit code 2

Describe the problem
Copier uses exit code 2 for UnsafeTemplateError while Plumbum uses the same exit code for plumbum.cli.switches.SwitchError type errors, e.g. mutually exclusive switches that are passed simultaneously.
Template
There is none yet that exhibits this problem, but it would occur after merging #1325.
To Reproduce
No response
Logs
No response
Expected behavior
Copier should use different exit codes for semantically different error types.
Screenshots/screencasts/logs
No response
Operating system
Linux
Operating system distribution and version
any
Copier version
next feature release that includes #1325
Python version
any
Installation method
pipx+pypi
Additional context
No response

Yikes...
I guess it's easier to change our own exit code and consider it a breaking change, isn't it?
Our new exit code should be then 0b100, which means 4.

I guess it's easier to change our own exit code and consider it a breaking change, isn't it?

Agreed.

Our new exit code should be then 0b100, which means 4.

Just for my better understanding: What's the rationale behind 0b100?

In general terms, the exit code communicates what happened.
By using only numbers that don't conflict at the binary level, you can reason better about subprocesses.
One example:
from my_custom_cli_calling_lib import run_copier_cli

SOME_ERROR = 0b1
WRONG_FLAGS = 0b10
UNSAFE_TEMPLATE = 0b100

res = run_copier_cli()
if res & UNSAFE_TEMPLATE:
  print("Please add --trust")
if res & WRONG_FLAGS:
  print("Fix flags.")
if res & SOME_ERROR:
  print("I don't know what happened, but it was bad")

With that system, you can even communicate multiple error states with a single exit code. For example, if we were to tell that there are wrong flags and the template is unsafe, we could make Copier exit with 6 and the above code would do what is expected.
Probably not very applicable for Copier, but it's my rule of thumb in all other projects.

Thanks for the detailed clarification :pray:, this makes a lot of sense! 👍
I'll send a PR with this change tomorrow.


New package: PacMan v0.1.0

Registering package: PacMan
Repository: https://github.com/mossr/PacMan.jl
Created by: @mossr
Version: v0.1.0
Commit: ada03632126e7ff6ce5896d9ae05e37387f14280
Reviewed by: @mossr
Reference: https://github.com/mossr/PacMan.jl/commit/ada03632126e7ff6ce5896d9ae05e37387f14280#commitcomment-130591269
Description: PacMan in the Julia REPL

I feel like you can benefit by having all your games under some kind of universal title pattern for branding, or even maybe unify them into REPLGame.jl and users can selectively download each of them.
Also I wonder if there's anything special about unmodified, trademarked game titles as package names.
[noblock]

Great point about REPLGames.jl I'll likely bundle them together into a single package in the future. I currently have four games: PacMan.jl, Tetris.jl, Snake.jl, and REPLMaze.jl
The only issue at the moment is that I played a little code golf with Tetris.jl to get it to one line of Julia code. I'm also working on a separate REPLGameEngine.jl package to host shared code.
[noblock]


Light theme toolbar icon is not visible in incognito mode

Problem
Black toolbar icon is used in incognito mode.

Reproduce

Allow extension in incognito mode
Use the default light theme (black icon)
Open incognito window
Observe the black icon is not very visible on the dark window chrome

Possible ways to fix this:

Check for incognito mode
Add white background to black icon, and black background to white icon. Chrome documentation actually suggests not trying to make icons fit in with the rest of the UI (forgot where I saw but they do)
Don't do anything for release

The icon also does not work in dark themes in Chrome. Maybe I should just suck up and use a background colour on the icon

Be cool though if it could work like the incognito icon:

I removed support for icon matching the theme. It's too flakey, especially with the Manifest V3 changes #85 #90


Added var_dump for session via dumpSession()

Added dumpSession() for easier debugging.

I merged and changed it to use a magic method that should/could be used to explicit state what is shown when doing a var-dump() on the object.


[SP-6113] backport of PDI-19448 Job logs are missing from the PUC Ket…

…tle and Spoon status page--9.2 branch

<IP_ADDRESS> PR: https://github.com/pentaho/pentaho-kettle/pull/8278


Fix for ViewPagerAdapter, getItemPosition calls equals instead of ==.

Hi, I've changed finding item position in ViewPagerAdater to work with objects having their equals overridden.

What issue were you running into? I believe I did this because you could have 2 equal items in the pager and it could select the wrong one.

Ahh, you're right, that would be issue. I got no update to ViewPager when updated item ObservableArrayList with set(index, item). At first i thought i got bad position, but its not the issue (i was confused by wrong debugger session), i must investigate further :-/. Sorry for not tested before pr.

By my mistake, that set(index, item) to ObservableArrayList was added as second item into ViewPager. But now, everything is ok and it seems, that change to current displayed item in ViewPager doesn't reload it. It looks like feature according to ViewPager source code. My wrong.

set(index, item) should refresh that page in the viewpager. If it's not you can open an issue about it.

Hm, I'll try create small sample app to test it outside my context.

Why you think ViewPager should refresh? I don't see nothing to change current item in ViewPager.dataSetChanged().
void dataSetChanged() {
        // This method only gets called if our observer is attached, so mAdapter is non-null.

        final int adapterCount = mAdapter.getCount();
        mExpectedAdapterCount = adapterCount;
        boolean needPopulate = mItems.size() < mOffscreenPageLimit * 2 + 1 &&
                mItems.size() < adapterCount;
        int newCurrItem = mCurItem;

        boolean isUpdating = false;
        for (int i = 0; i < mItems.size(); i++) {
            final ItemInfo ii = mItems.get(i);
            final int newPos = mAdapter.getItemPosition(ii.object);

            if (newPos == PagerAdapter.POSITION_UNCHANGED) {
                continue;
            }

            if (newPos == PagerAdapter.POSITION_NONE) {
                mItems.remove(i);
                i--;

                if (!isUpdating) {
                    mAdapter.startUpdate(this);
                    isUpdating = true;
                }

                mAdapter.destroyItem(this, ii.position, ii.object);
                needPopulate = true;

                if (mCurItem == ii.position) {
                    // Keep the current item in the valid range
                    newCurrItem = Math.max(0, Math.min(mCurItem, adapterCount - 1));
                    needPopulate = true;
                }
                continue;
            }

            if (ii.position != newPos) {
                if (ii.position == mCurItem) {
                    // Our current item changed position. Follow it.
                    newCurrItem = newPos;
                }

                ii.position = newPos;
                needPopulate = true;
            }
        }

        if (isUpdating) {
            mAdapter.finishUpdate(this);
        }

        Collections.sort(mItems, COMPARATOR);

        if (needPopulate) {
            // Reset our known page widths; populate will recompute them.
            final int childCount = getChildCount();
            for (int i = 0; i < childCount; i++) {
                final View child = getChildAt(i);
                final LayoutParams lp = (LayoutParams) child.getLayoutParams();
                if (!lp.isDecor) {
                    lp.widthFactor = 0.f;
                }
            }

            setCurrentItemInternal(newCurrItem, false, true);
            requestLayout();
        }
    }

Well if you change the item == will fail and it will return POSITION_NONE. This should cause that page to be destroyed and recreated.

But regardless of what viewpager does if this doesn't work it is a bug. I'll figure out a way to make it work.

Thanks, that is the point. I was changing inner state of the object instead of the whole object. So lame :(.
Thank you for your time (and library as well). Keep going.

Ooh, yeah if you change the inner state you should use observable fields or @Bindable getteers.

Ahh, yeah :). Thanks man.


Swipe up and down triggers

Is it possible to have a swipe up/down trigger? I would like to experiment with the utlimate, to control not only the lights in the room, but jelousies as well. The idea is to swipe up to start opening the blinds, swipe down to start closing them, a swipe left/right would adjust the angle and a multitouch could stop whatever motion is active.
I tried understanding the code, but I just don't have the info how the data arrives from the touch sensor. Is there a y coordinate somewhere? Could you point me to a description of the data structure the touch sensor sends?
Great work, I really appretiate it!

I don't think it's possible. In Daniel's video you can see the lines and my understanding is, it's working when you slide across sections then it activates as left/right swipe. Since you don't cross any sections going up/down, there is no way to register the movement.
https://www.youtube.com/watch?v=naDLhX89enQ&t=314s

Ahh, thanks, I missed it. I don't speak German, so I watched another video. Sad...


String constant folding (with test)

This just finishes off https://github.com/cython/cython/pull/3952 by adding a test-case.
It's surprisingly hard to create a test-case for this. I had to allow bytes-to-string comparisons in the TreePath code (allowing bytes constants might be another possibility I think). I've confirmed that it fails on the current master and passes with the patch.

I've made those changes.
I think the failures on Py2.7 are unrelated to this change and possibly to do with a new version of decorator (https://pypi.org/project/decorator/#history) that's incompatible with Python 2.7. But it does mean that this isn't tested on Python 2.7

Test failure seems random. Let's get this in and see if it works then.


Library not manually updating default library

Steps to reproduce
Swipe down to update on the default library. If you try the same thing on other categories it updates that category.
Expected behavior
Library should update
Actual behavior
Nothing happens
Crash logs
No response
Mihon version
App version: <IP_ADDRESS>-r5683 (standard, 1925a503d, 147, 2024-09-01T03:36:35Z)
Android version
Android version: 14 (SDK 34)
Device
Samsung SM-S918B (dm3q)
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version 0.16.5.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

You're using Yokai, make issue requests on Yokai GitHub instead
Check your Library Settings, maybe you're excluding something, update restriction, or it's skipping unnecessary updates to reduce load/requests sent to sources. Otherwise, maybe source/extension-related issue.

Anyways, closing since it's not Mihon & probably just user error

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

Do not download the file above, it is malicious.


View and Management Command to visualize Automation graph

Is your feature request related to a problem? Please describe.
In order to visualize Automations, there should be

[ ] a view that provides a graphical image showing the automation flow (either a static image or maybe a graph using one of the popular js libraries?)
[ ] a management command that provides outputs an image file (maybe using a similar approach to how django-extensions can outputs a django project's model structure with graphviz)

Additional context
I am working on building this functionality, but it might take a bit of time.

Sounds like a great idea.
For the first representation in the app I have been thinking (but not yet working) on an HTML/CSS only version, i.e. rendering by the browser. This would avoid a dependency. Layout probably should go from top to bottom to allow for long automations to be displayed.
The latter one might be useful for developers especially. As a thought only: Can this be kept simple if it produces a self-contained HTML/CSS file based on the view template?
Probably one has to invest a thought on how to handle structurally wrong automations which technically one can have in the code. Some kind of error checking might be necessary (or even beneficial to make the error transparent).


Upgrade slate libraries; fix empty link element left hanging when hit enter at end of link

I had to upgrade the slate library, as it introduces an editor.normalize() function that can cleanup the links.
There's one styling fix that needs to be done, the new slate lib triggers a :focus-visible and needs to be disabled with outline: 0px.

@iFlameing if you can, please take over this PR. Taking into consideration that I had to upgrade the slate lib, there may be unforseen bugs or changes, so maybe a bit of live testing wouldn't hurt.

@tiberiuichim Now it is ready for review.

@tiberiuichim what's the status of this one?

@sneridagh I will update the branch.

@sneridagh I tested locally and cypress is working perfectly fine.

I had to revert to use the last good known version of working slate-react
see
https://github.com/ianstormtaylor/slate/pull/5516

@stevepiercy added an upgrade notice, please take a look.


Join after split when used with rayon::join

I hope this is the correct place for this,
In the readme for rayon, the following example is shown:
fn quick_sort<T:PartialOrd+Send>(v: &mut [T]) {
    if v.len() <= 1 {
        return;
    }

    let mid = partition(v);
    let (lo, hi) = v.split_at_mut(mid);
    rayon::join(|| quick_sort(lo), || quick_sort(hi));
}

However, if I wanted to do a merge sort in the same vein, I would be merging the array after the split_at_mut but this causes a cannot assign to array[..] because it is borrowed error. After searching online I cannot find documentation on this problem (which I know is not exactly from rayon) but I think that the readme could benefit with at least an example of dealing with this problem

I think this is probably just a case of wanting non-lexical lifetimes, but you can add a lexical end to the split_at_mut borrow by using a block, like:
    let mid = partition(v);
    {
        let (lo, hi) = v.split_at_mut(mid);
        rayon::join(|| quick_sort(lo), || quick_sort(hi));
    }
    // now `v` is free to be modified again here

Thanks


Use the new errors package in golang 1.13

/kind enhancement

Which functionality do you think we should update/improve?
We can use the new error wrapping addition provided by the errors package in golang 1.13
https://golang.org/doc/go1.13#error_wrapping
We can remove the dependence to 3rd party library we have been using for test wrapping.

/kind code-refactoring
/priority medium


chore: Fine tune/ analysis of hyper-parameters used in Dynamic routing

/assign

/assign

Not a hacktoberfest issue.
Find issues that have a hacktoberfest label attached to it.


Move line highlighting into more javascript, less liveview

looks for anchor tag after page is done loading
listens to hashchange so back button works
I've tested this in Chrome and Firefox on Ubuntu 20.04

I want to test it on mac before merging
Closes: #44

@josevalim I tested this on Mac FF and it works much better.

Beautiful! :green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


Create a LocalAI bundle for Kairos

We want to make it easy to run LocalAI on kairos. We will create a bundle that uses the helm-chart to deploy it.

Bundle is done: quay.io/kairos/community-bundles:LocalAI_latest
only docs left to do

Docs merged. Closing.


Component spec

TODO : Think about Widgets and GlobalComponents and how to
make functions work with them both. Is it better to use
row polymorphism or typeclasses

type Receiver action e = action -> Eff e Unit

RenderFn
 type RenderFn action state eff = Receiver action eff -> state -> Eff eff VTree

+#### UpdateFn
-### Values
-#### foldStateToFoldAll

foldStateToFoldAll :: forall action state. FoldFn action state _ -> RenderFn action state _ -> Receiver action _ -> action -> Folder state -> Eff _ (Folder state)

type UpdateFn action state eff = action -> state -> Eff eff state

-#### mkFolder


DCOS-11455: Breadcrumbs

This PR introduces a recursive function that searches for a route in react-router routes definition.
That patches Breadcrumb component to a state where it is working again.
You can also see that I had to put some additional info into the routes declaration.
As usual, don't forget about the plugins https://github.com/mesosphere/dcos-ui-plugins-private/pull/452

@nLight curious if this is going to be the final implementation for breadcrumbs or if this is an intermediate step before we can register crumbs through the RouteService?

@MatApple this is certainly a quick fix to make it working again. We're going to rethink Breadcrumbs

@Poltergeist 😩 🙏

:trollface:

retest this please

retest this please

mesosphere-ci retest this please

mesosphere-ci retest this please

mesosphere-ci retest this please

mesosphere-ci retest this please


fix: only use types form /types

It is not possible to import JS files via grammy/types for good reason. This plugin needs to respect that. That will fix #24.

I guessed that first, noticed, but... In case anyone will try to use type without type import - they will notice same problem. So, i suggest you to merge both PR's.

Alright


Changes for  Copyservice for external

Changes in etc/nginx config for API's
copyservice service in docker-compose yaml
Documentation for  Firewall and other general networking related issues while installing  Docker compose.

it would conflict with  other,   would merge to separate one.


Suspected memory leak

Bug Report
2021 08 25
Description of the problem
Looks like a memory leak, Server side
Code sample
var doc = new PDFDocument({compress: true, size: 'A4', margin: 0});
for (var i = 0; i < 30000; i++){
doc.fontSize(8);
doc.text('Mobile application', 90, 30);
doc.addPage({compress: true, size: 'A4', margin: 0});
}
doc.end();
doc.pipe(res); // HTTP response
Your environment

pdfkit version: 0.12.1
Node version: v12.16.1.
Browser version (if applicable): -
Operating System: windows 10

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 00007FF676573E0F napi_wrap+108911
2: 00007FF676517E16 v8::base::CPU::has_sse+61910
3: 00007FF676518D16 node::OnFatalError+294
4: 00007FF676DF0CEE v8::Isolate::ReportExternalAllocationLimitReached+94
5: 00007FF676DD5ACD v8::SharedArrayBuffer::Externalize+781
6: 00007FF676C7F95C v8::internal::Heap::EphemeronKeyWriteBarrierFromCode+1516
7: 00007FF676C8ACEA v8::internal::Heap::ProtectUnprotectedMemoryChunks+1258
8: 00007FF676C87E99 v8::internal::Heap::PageFlagsAreConsistent+2457
9: 00007FF676C7CA71 v8::internal::Heap::CollectGarbage+2033
10: 00007FF676C7A7A0 v8::internal::Heap::AllocateExternalBackingStore+80
11: 00007FF676B9023D v8::internal::BackingStore::Allocate+205
12: 00007FF676D96292 v8::internal::Builtins::builtin_handle+290162
13: 00007FF676D94E5D v8::internal::Builtins::builtin_handle+284989
14: 00007FF676D94AE3 v8::internal::Builtins::builtin_handle+284099
15: 00007FF676E79C8D v8::internal::SetupIsolateDelegate::SetupHeap+465453
16: 00007FF676E0DF71 v8::internal::SetupIsolateDelegate::SetupHeap+23825
17: 00007FF676ED9200 v8::internal::SetupIsolateDelegate::SetupHeap+855968
18: 00007FF676E6EE52 v8::internal::SetupIsolateDelegate::SetupHeap+420850
19: 00007FF676E0DF71 v8::internal::SetupIsolateDelegate::SetupHeap+23825

+1
with
pdfkit: 0.13.0
node: v16.13.2

i have found the same issue
how do u solve this


The category page template needs styling

If you list posts by category /category/category-name/ the page isn't formatted.


Clean up signups and reportbacks on the wrong run

Some signups and report backs are associated with the wrong run_nid

DONE.


default wms server from config not accessible

besides the localhost builtin url the other two don't work
default_WMS = [
        "http://localhost:8081/",
        "http://eumetview.eumetsat.int/geoserver/wms",
        "https://apps.ecmwf.int/wms/?token=public"
    ]

90 % of this loads
https://view.eumetsat.int/geoserver/wms
then
ERROR: Can't understand time string '2022-12-09T00:45:00.000Z/2023-08-10T08:45:00.000Z/P'. Please check the implementation.
ERROR: Cannot determine valid time format of https://view.eumetsat.int/geoserver/wms for Blended SEVIRI / LEO MW precipitation and morphologic information - MSG - 0 degree | msg_fes:h60b

retrieving GetCapabilities freaks out to use all my system memory

This uses the figure attr and not fig
http://eccharts.ecmwf.int/wms/?token=public
a view data can be shown

We don't change this in 8.2 because alternative services use a different attribute.

CRITICAL: Fatal error: Traceback (most recent call last):
  File "/home/reimar/MAIN/MSS/mslib/msui/wms_control.py", line 1383, in continue_retrieve_image
    self.display_retrieved_image(img, legend_img, layer, style, init_time, valid_time, complete_level)
  File "/home/reimar/MAIN/MSS/mslib/msui/wms_control.py", line 1629, in display_retrieved_image
    self.view.draw_legend(self.append_multiple_images(legend_imgs))
  File "/home/reimar/MAIN/MSS/mslib/msui/wms_control.py", line 1484, in append_multiple_images
    max_height = int((self.view.plotter.fig.get_size_inches() * self.view.plotter.get_dpi())[1] * 0.99)
AttributeError: 'TopViewPlotter' object has no attribute 'get_dpi'

@joernu76 that would be pretty good when we could display http://eccharts.ecmwf.int/wms/?token=public
Could you have a look on this?


Fix set font size not valid error

Please check if the PR fulfills these requirements

[ ] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Codecov Report

Merging #1019 (d10530b) into main (63d49a3) will decrease coverage by 0.01%.
The diff coverage is 18.18%.

@@            Coverage Diff             @@
##             main    #1019      +/-   ##
==========================================
- Coverage   29.85%   29.84%   -0.02%
==========================================
  Files         334      334
  Lines       14451    14450       -1
  Branches     2213     2213
==========================================
- Hits         4314     4312       -2
+ Misses       9637     9636       -1
- Partials      500      502       +2

Impacted Files
Coverage Δ

packages/core/src/2d/text/TextRenderer.ts
10.04% <18.18%> (+0.17%)
:arrow_up:

packages/math/src/Color.ts
89.28% <0.00%> (-3.58%)
:arrow_down:

packages/loader/src/SceneLoader.ts
2.85% <0.00%> (-0.27%)
:arrow_down:

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


Please merge revision 74229dfb1f162026c7d855ffe1b12cabe46c2116 into dev channel

@whesse @mit-mit @kasperl @johnmccutchan @skybrian
Please merge 74229dfb1f162026c7d855ffe1b12cabe46c2116 and<PHONE_NUMBER>f777d3db91a6918009f61a8ef4029d to dev channel.  These are status file updates for async_single_step_exception_test, and other async tests,  which are failing on simdbc and kernel on the dev builders.

Merged in 1.23.0-dev.11.5


Explore service broker integration

https://github.com/kubernetes-incubator/service-catalog
Blog post: https://medium.com/bitnami-perspectives/service-catalog-in-kubernetes-78c0736e3910
Bind Spec: https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#types-of-binding

Slack conv: https://kubernetes.slack.com/archives/C232SF3TK/p1528392742000310
Bind Transformation;

https://github.com/jeremyrickard/happy-helming-svc-cat/blob/master/charts/mongodb/templates/binding.yaml

"K8s Service Catalog now supports namespaced brokers, classes and plans."
https://twitter.com/jrrickard/status/1020089337386553344
https://svc-cat.io/docs/

https://github.com/kubedb/service-broker exists now.

Consider leveraging the "Automation Broker" http://automationbroker.io/ and "Helm Chart Bundles" https://hub.docker.com/r/ansibleplaybookbundle/helm-bundle-base/ to expedite service catalog integration

Parameters: https://svc-cat.io/docs/parameters/


Create multiple users and databases

Hi!
I was wondering on how to create multiple databases with multiple users? As far as I have seen here, currently only one user that has superuser power and the corresponding database can be created trough POSTGRES_USER
Is creating multiple databases and users currently already possible with the ENV variables? If not, is there another way I can use via docker/docker compose?

I think recommended way is to create new images based on postgres:xxx and add custom scripts there. Here is how I do this:

Dockerfile

# vim:set ft=dockerfile:
FROM postgres:latest
MAINTAINER ...

# Custom initialization scripts
COPY ./create_user.sh   /docker-entrypoint-initdb.d/10-create_user.sh
COPY ./create_db.sh     /docker-entrypoint-initdb.d/20-create_db.sh

create_user.sh

#!/bin/bash
set -e

POSTGRES="psql --username ${POSTGRES_USER}"

echo "Creating database role: ${DB_USER}"

$POSTGRES <<-EOSQL
CREATE USER ${DB_USER} WITH CREATEDB PASSWORD '${DB_PASS}';
EOSQL

create_db.sh

#!/bin/bash
set -e

POSTGRES="psql --username ${POSTGRES_USER}"

echo "Creating database: ${DB_NAME}"

$POSTGRES <<EOSQL
CREATE DATABASE ${DB_NAME} OWNER ${DB_USER};
EOSQL

Then I have to run my image with additional environment variables: DB_NAME, DB_USER, DB_PASS. If you want to create more than one db you can go with DB_XX_NAME and so on but it's really up to you how to name variables. Also note, that files files should be executable (+x).
For really massive deployments you can use environment file with docker-compose.

If you don't want to create a new image, it's also possible to mount the multiple DB creation script as a volume, see https://github.com/mrts/docker-postgresql-multiple-databases

But still guys, why shouldn't we support this feature in this image?

If you would like to create multiple databases under one user, try this script https://github.com/MartinKaburu/docker-postgresql-multiple-databases

Why this is not supported in the main image on docker hub?

Is there any chance for this being reopened and improved?

Is there any chance for this being reopened and improved?

Short answer, no.
Slightly longer answer: https://github.com/docker-library/postgres/pull/240#issuecomment-314228559

@yosifkit Could you give an even longer answer, too?
Creating a new image is not great. Mounting a file to /docker-entrypoint-initdb.d/: is better - but again not really ideal. Having everything contained in a single yml is the prefered way with docker compose and friends.
So why is the resistance to improve this? I am honestly just curious if there is a good reason.

If anyone needs this, there seems to be this image -
https://hub.docker.com/r/lmmdock/postgres-multi/