Support for Generic Properties

We currently support some properties and the ProcessEngine Configuration and JobExecutor Configuration can be overwritten programmatically.
It would be nice to support generic properties as well, similar to the Camunda Spring Boot Starter, see https://docs.camunda.org/manual/latest/user-guide/spring-boot-integration/configuration/#generic-properties
Here is a list of configuration properties: https://docs.camunda.org/manual/latest/reference/deployment-descriptors/tags/process-engine/#configuration-properties
Todo

make sure that the property values are overwritten if this is done programmatically, e.g. in ProcessEngineConfigurationCustomizer or JobExecutorCustomizer
document feature and order of property evaluation in README.md
Please also add a test to verify that this works with a property whose behavior is easily testable.

Current implementation status can be found here: https://github.com/Hayvon/micronaut-camunda-bpm/tree/genericProperties
Done:

Properties can now be set via camunda.bpm.generic-properties.properties
Application throws exception when undefined properties are set
Provisional type recognition
Test added

ToDo:

setIgnoreInvalidFields and set IngnoreUnknownFields (see: https://github.com/camunda/camunda-bpm-spring-boot-starter/blob/db34812f808381ddd2677c44d0722af159a8cb1d/extension/camunda-spring-boot-starter/src/main/java/org/camunda/bpm/spring/boot/starter/configuration/impl/GenericPropertiesConfiguration.java#L23) not supported
Improve type conversion --> make it dynamic
document feature and order of property evaluation in README.md
#130


Fix text culling of ellipses along the left side of the viewport

Before:

After:

Fixes #134

Coverage decreased (-0.02%) to 42.349% when pulling 2c40f569c4fc5c86e407442a86486aed37b17c9c on jlfwong/fix-text-culling into 2c89cefcdc8ab5b151b61c791ef6f48f3c7871c2 on master.


Demo doesn't work on Google Colab

When I try to run the following demo notebook on Google Colab:
https://colab.research.google.com/github/stellargraph/stellargraph/blob/master/demos/node-classification/gat-node-classification.ipynb#scrollTo=bj9n9ho7WXds
when I try to run the first step:
# install StellarGraph if running on Google Colab
import sys
if 'google.colab' in sys.modules:
  %pip install -q stellargraph[demos]==1.2.1

, I get this:

ERROR: Ignored the following versions that require a different python version: 0.10.0 Requires-Python >=3.6.0, <3.8.0; 0.11.0 Requires-Python >=3.6.0, <3.8.0; 0.11.1 Requires-Python >=3.6.0, <3.8.0; 0.4.0 Requires-Python >=3.6,<3.7; 0.4.0b0 Requires-Python >=3.6,<3.7; 0.4.1 Requires-Python >=3.5.0, <3.7.0; 0.5.0 Requires-Python >=3.5.0, <3.7.0; 0.6.0 Requires-Python >=3.5.0, <3.7.0; 0.6.1 Requires-Python >=3.5.0, <3.7.0; 0.7.0 Requires-Python >=3.5.0, <3.8.0; 0.7.1 Requires-Python >=3.5.0, <3.8.0; 0.7.2 Requires-Python >=3.5.0, <3.8.0; 0.7.3 Requires-Python >=3.5.0, <3.8.0; 0.8.0 Requires-Python >=3.5.0, <3.8.0; 0.8.1 Requires-Python >=3.5.0, <3.8.0; 0.8.2 Requires-Python >=3.5.0, <3.8.0; 0.8.3 Requires-Python >=3.5.0, <3.8.0; 0.8.4 Requires-Python >=3.5.0, <3.8.0; 0.9.0 Requires-Python >=3.6.0, <3.8.0; 1.0.0 Requires-Python >=3.6.0, <3.8.0; 1.0.0rc1 Requires-Python >=3.6.0, <3.8.0; 1.1.0 Requires-Python >=3.6.0, <3.9.0; 1.2.0 Requires-Python >=3.6.0, <3.9.0; 1.2.1 Requires-Python >=3.6.0, <3.9.0
ERROR: Could not find a version that satisfies the requirement stellargraph[demos]==1.2.1 (from versions: none)
ERROR: No matching distribution found for stellargraph[demos]==1.2.1

It looks like Colab is running Python 3.10, which appears to be unsupported.

is python 3.9 supported?

is python 3.9 supported?

I tried with 3.9, it couldn't find a matching stellargraph version

Run on python 3.8..it will work


Now feature for time/datetime in datepicker

Is your feature request related to a problem? Please describe.
It can be confusing that you can only choose today when using datetime since it only affects date and not time
Describe the solution you'd like
It would be better if "now" was an option
Describe alternatives you've considered
Additional context
Add any other context or screenshots about the feature request here.

Please clarify if this is about the datepicker in eds-lab-react or Textfield from eds-core-react with type set to datetime-local

Please clarify if this is about the datepicker in eds-lab-react or Textfield from eds-core-react with type set to datetime-local

Its about TextField

The entire date and time picker interface here is provided by the browser, so unfortunately it is not something we can modify 🤷♂. This interface also differs between browsers, what operating system is used and device. For this reason there is a lot of third party datepicker solutions, but they are hard to get right 😬.
I recommentd reading this article about why datepickers are a mess 👍


values: labels is a map, not a struct

Fixes https://github.com/istio/istio/issues/21103
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
985b140d8acfd411886ea835d3dc0e250b52e09e
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


searching for text has bad background color, highlighted results are illegible

thanks twitter user https://twitter.com/JoanChao/status/1008829066827333632

addressed in the v1.0 release 😇


i18n $100 bounty

Implement internationalization on the backend project.https://nestjs-i18n.com/

can you assign this to me?


ApiRateLimiter Error with the latest API release

After I have updated the API with the latest release I get this error when trying to download the chart
Error | Cannot access a disposed object.
Object name: 'ApiRateLimiter'.
I had to revert back to the previous version which works

Changing this code from ServiceCollectionExtensions.cs it works
`if (BinanceHttpClient.Initializer.IsValueCreated)
{
            services.AddSingleton<IBinanceHttpClient>(s =>
            {
                // Replace initializer.
                BinanceHttpClient.Initializer = new Lazy<BinanceHttpClient>(() =>
                    new BinanceHttpClient(
                        s.GetService<ITimestampProvider>(),
                        s.GetService<IApiRateLimiter>(),
                        s.GetService<IOptions<BinanceApiOptions>>(),
                        s.GetService<ILogger<BinanceHttpClient>>()), true);

                return BinanceHttpClient.Instance;
            });
        }`

The code was:
if (!BinanceHttpClient.Initializer.IsValueCreated)
{
    // Replace initializer.
    BinanceHttpClient.Initializer = new Lazy<BinanceHttpClient>(() =>
        new BinanceHttpClient(
            s.GetService<ITimestampProvider>(),
            s.GetService<IApiRateLimiter>(),
            s.GetService<IOptions<BinanceApiOptions>>(),
            s.GetService<ILogger<BinanceHttpClient>>()), true);
}

@evo11x, can you elaborate on "trying to download the chart" with some example code?
Are you, perhaps, using both new BinanceApi() and DI?

I have 2 threads, one running with Binance API with getcandlestickasync and another one with BinanceAPI for order processor which is using another api key for orders, and I found that in the order processor I also had these 2 lines
       var api = services.GetService<IBinanceApi>();
        var manager = services.GetService<IUserDataWebSocketManager>();

and I think the second line destroyed the binanceapi object also for the thread which was downloading the candlesticks

there is something wrong with the latest update, I have downloaded again the api and compiled and the app is blocking without any error, switching back to previous version works perfectly.

Yes, I have this in each thread
var services = new ServiceCollection()
               .AddBinance()
               .AddLogging(builder => builder.SetMinimumLevel(Microsoft.Extensions.Logging.LogLevel.Trace))
               .BuildServiceProvider();

I am initializing the serviceprovider in each thread because I have a monitor for the threads when there is no internet connection so it restarts the threads, if I declare it static in main and initialize it at startup will it work if the threads will restart?

Yes, @evo11x, you should have only one ServiceProvider in your application. A second one is redundant and it invalidates singleton usage.
This library was designed to support multiple sets of API keys (multiple users) with the singleton API client. If an API key is required, an IBinanceApiUser instance will be a parameter. The public market data does not require an API key. If you want to use multiple API keys, you would manage them with one or more IBinanceApiUser instances.
var user = services
    .GetService<IBinanceApiUserProvider>()
    .CreateUser("<API Key>", "<API Secret>");

Ok, thank you! and can I use the GetServices method from different threads without a lock?
I already use the public market data for the charts without API keys, but there is another thread which uses API keys which reads the account ballances and another one with API keys for the orders, so 3 in total.

No problem. I haven't seen any official documentation stating ServiceProvider is thread-safe (and I didn't look at the source code), but I would expect you can do that without a lock.

I made a global ServiceProvider from where each thread gets it's api, but one thread is using the websockets, I don't know if that is a problem? But the application now works fine for 1-3 days until it closes without any error. You have any ideea what is happening? Because with the older version of API it worked fine.


Cleanup CDF dataclass

Change Summary
This PR is big. I apologize in advance. If you can take a look at your instrument, I appreciate it!
Overview
This PR cleans up CDF attribute dataclasses. This caused lot of code to fail. I tried my best to update accordingly. Unfortunately, MAG and Ultra's changes was touching lot of areas. I tried my best and added TODOs where it needs further updates. I will create GitHub issue to address those.
Following this PR, I like to refactor epoch and change other places to use 'global' epoch variable from imap_processing/cdf/__init__.py

The CoDICE changes LGTM! Thank you!

Lo and HIT look good. Thanks!


[Feature Request] Improving installation instructions in the guide

Is your feature request related to a problem? Please describe.
I believe the instructions in the guide for installing this UI library are not very detailed. I encountered a lot of issues while using a React application created with Vite. It took me a while to resolve them.
Describe the solution you'd like
I encountered the following problems:

The description of Setup pnpm (optional) is not very clear. Initially, I overlooked it and spent a lot of time troubleshooting in other places. I suggest emphasizing the importance of this step for pnpm users earlier in the guide.

Regarding deployment on platforms like Vercel: After resolving the first issue, I noticed that when deploying my website on Vercel, the styles were still missing. Initially, I didn't understand why. Later, I realized that I also needed to set up .npmrc on Vercel.

Later, I added the next-themes package, but after installation, my styles disappeared again. When I checked the developer console, I found that the content of my CSS file went from over 7000 lines to 1300 lines! I'm not entirely sure why this happened, but after making some modifications to tailwind.config.js, it successfully reverted back to normal.

Describe alternatives you've considered
This is my solution:

Skip the explanation.

Please refer to Vercel's official instructions (other-package-registries)。
I executed the following command on my computer:

PS C:\Users\admir> cd YOUR_LOCAL_REPOSITORIES_LOCATION
PS C:\.....> cmd       //Switch from powershell to cmd
C:\.....> npx vercel env add NPM_RC production < C:\\Users\\USERNAME\\.npmrc
Vercel CLI 33.6.1
✅  Added Environment Variable NPM_RC to Project xxxxxxx [231ms]

I write the tailwind configuration file this way：

import { nextui } from '@nextui-org/react';

/** @type {import('tailwindcss').Config} */
const config = {
  content: [
    "./src/**/*.{js,ts,jsx,tsx}",
    './node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}',
  ],
  theme: {
    extend: {},
  },
  darkMode: 'class',
  plugins: [nextui()],
};

export default config;

Screenshots or Videos

The use-dark-mode has not been updated for four years, and it seems that it cannot be used on React 18. It is recommended to remove the guidance for using it.

I'm also setting up a theme switcher using NextUI with vite. Like you said, use-dark-mode is not actively maintained, have you found a way to integrate dark-mode into your vite app?
PS: Agree with your comments about lack of details regarding pnpm - I've had issues installing NextUI using pnpm in my monorepo earlier, I resolved it by doing this:
import { nextui } from '@nextui-org/react';

/** @type {import('tailwindcss').Config} */
const config = {
  content: [
    "./src/**/*.{js,ts,jsx,tsx,mdx}",
    // 👇 making sure it's pointing to the ROOT node_modules 👇
    '../../node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}',
  ],
  theme: {
    extend: {},
  },
  darkMode: 'class',
  plugins: [nextui()],
};

export default config;

My monorepo folder structure:
root
  /packages
    /frontend
      package.json
      tailwind.config.js
    /backend
    /core-db
    /core-cms
   etc etc
package.json
pnpm-lock.yaml
pnpm-workspace.yaml
tsconfig.json
turbo.json

@Mingyang-Li 很抱歉。我前几天从邮件中看到了你的回复，当时我是准备过一会就回复的。但是后来忘了。我使用了 next-themes 来作为 use-dark-mode 的替代，他在react中也可以正常运作。

I'm sorry. I saw your reply in the email a few days ago, and I was prepared to reply shortly. But later I forgot. I used "next-themes" As "use dark mode" Instead, it can also function normally in React.

谢啦 @Dilettante258 - can confirm next-themes works fine in Vite app


CI is broken on master August 2022

CI is broken on master for a number of reasons. I already fixed a few issues. It's not finished

[x] dependencies https://github.com/eclipse/repairnator/commit/388315dd577e5e3af0b370fc45b94a7a9259bf77 https://github.com/eclipse/repairnator/commit/1bdf424ca6e8bd439611a768e27b7f060e7433de
[x] broken tests due to disappeared api.travis.org https://github.com/eclipse/repairnator/commit/461111d415145fb3742101a596bfb96105c9d70f
[ ] CI uses anonymous connnections to Gtihub, see https://github.com/eclipse/repairnator/issues/1253
[x] SSL certificate of sachaproject.gforge.inria.fr outdated

[ERROR] Failed to execute goal on project repairnator-realtime: Could not resolve dependencies for project fr.inria.repairnator:repairnator-realtime:jar:3.3-SNAPSHOT: Failed to collect dependencies at fr.inria.repairnator:repairnator-pipeline:jar:3.3-SNAPSHOT -> org.inria.sacha.automaticRepair:astor:jar:20190919 -> fr.inria.gforge.spirals:nopol:jar:0.2-SNAPSHOT -> com.microsoft.z3:z3:jar:0.0.1: Failed to read artifact descriptor for com.microsoft.z3:z3:jar:0.0.1: Could not transfer artifact com.microsoft.z3:z3:pom:0.0.1 from/to gforge.inria.fr-release (http://sachaproject.gforge.inria.fr/repositories/releases/): Transfer failed for http://sachaproject.gforge.inria.fr/repositories/releases/com/microsoft/z3/z3/0.0.1/z3-0.0.1.pom: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed: NotAfter: Thu Aug 25 23:59:59 UTC 2022 -> [Help 1]

SSL certificate of sachaproject.gforge.inria.fr outdated, sent an email to Inria

certificate of sachaproject.gforge.inria.fr renewed

FYI:
CI uses anonymous connnections to Gtihub, see https://github.com/eclipse/repairnator/issues/1253 is already fixed on https://github.com/eclipse/repairnator/pull/1256


Question: How long until Angular?

I'm looking for good TailwindCSS Components for Angular.  Roughly how long until this will be available for Angular?

Hey @harvanchik
Until now we are in the testing stage of our framework and collecting feedbacks to make the material-tailwind better and easy to use, and once we publish the stable react version of Material Tailwind v1.0.0 then we will work on the angular version.
We will inform you once we publish the angular version of Material Tailwind.
Feel free to ask any type of question related to Material Tailwind we appreciate it and answer to is as soon as possible.
All the best
Sajad

Any updates?


Event handlers functiion created at every re-render?

Code here https://github.com/dekujs/todomvc/blob/master/client/todo-item/index.js#L26
Came from React, which puts methods on this and render looks clean, Deku's solution looks quite messy to me. And during every render, function like onClick in the example below are created.
render: function() {
  var onClick = function(){}
  return
Click

}

Would that cause performance issues? Would it bother features like hot module replacement?

You can put the functions anywhere you want, the handlers are passed everything you'll need:
function render (component) {
  return
Click

}

function onClick (event, component, setState) {
  // do anything
}

In some of the examples we put the functions inside when they're really simple. Hope that helps!

So that onClick is passed in with component and setState. Didn't notice that. It's helpful.
Also found in docs https://github.com/dekujs/deku#event-handlers


Close Modal by clicking the overlay

This is a (multiple allowed):

[ ] bug

[x] enhancement

[ ] feature-discussion (RFC)

Link scenario

What you did
Open a Modal
Expected Behavior
Can I close the Modal by clicking the overlay, as the popup

Please remember that this is not a help forum & to read the docs
Close by outside is disabled by default for models, you need to set modalCloseByOutside to true

Thx ~
Appreciate it 😜


maintainers: add almac

Motivation for this change
Adding myself to maintainers so that I can add new Python packages to nixpkgs and continue to maintain them.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Please include this commit with along with a pull request for a new package or its change.


Support for non .net version of Godot ?

I don't know how feasible this is but is there any chance of a non .net version ?

Hey @saminton !
Right now the addon only works with .net but you will be able to continue using GDscript or GDextensions flawlessly 🙂
The only thing to do is to use the .net version of Godot, nothing more is required.
Not impossible that it would change in the future but right now this is how I created the addon.

I'll close this issue for now since rebuilding it with GDScript or GDExtension would require a lot of stuff


[upgrade guide] remove mentions of beta

Description (required)
This removes all mention of "beta 5" from the upgrade guide so that it conforms to a regular, major (stable) upgrade guide.
Also some tiny polishing.
TODO (either in this PR, or before the main 5.0.0 PR is merged)

[ ] create the unmaintained snapshot of v4 docs
[ ] remove the yelling instruction in the docs for Chris to create the unmaintained snapshot of the v4 docs

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File
Note

en/guides/upgrade-to/v5.mdx
Source changed, localizations will be marked as outdated.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


feat: add Link and styles to component library

Pull Request Test Coverage Report for Build 102394966

46 of 52 (88.46%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.6%) to 63.554%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/components/src/theme/Theme.js
0
2
0.0%

packages/react/src/components/MobiledocRenderer.js
23
27
85.19%

Totals

Change from base Build 102393128:
0.6%

Covered Lines:
1336

Relevant Lines:
1764

💛  - Coveralls


docs(zh-cn): Reviewed 00_welcome-to-the-hugging-face-course.srt

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Add scaffolding for OCI providers + DockerHub and GHCR

Summary
This adds an initial implementation of OCI providers. This is very simple and is meant
to get this work kickstarted.
Currently it's safe to use this as it's not possible for folks to create custom providers.
The idea is to kickstart the methods and structures and elaborate on these as we go.
This cherry-picked the first two PRs from the POC in https://github.com/stacklok/minder/pull/2765
Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[x] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 49.845% (-0.7%) from 50.517%
when pulling dc85935772622ef25cc18b1c12bd49d027367f8d on oci-providers
into ef52a1d24f44cb372f1aaea67f17ed9fb5b6469a on main.


Domain activation is Failed - [BRIEF DESCRIPTION]

App Id: d34c9drqerklwf
Region: ap-south-1
Step: Domain activation
Status: Failed
Issue/question
even after clearing other CNAMEs, the same issue & error.
Error message
Error message: One or more of the CNAMEs you provided are already associated with a different resource.
Additional information

Hi @kiruthikcs, thanks for raising. Are you still having this issue?
If so, does the information on the CNAMEAlreadyExistsException FAQ help at all?
Thanks!


[Snyk] Security upgrade jinja2 from 2.11.2 to 3.1.3

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

requirements.txt

⚠ Warning
Jinja2 3.1.3 has requirement MarkupSafe>=2.0, but you have MarkupSafe 1.1.1.

Vulnerabilities that will be fixed
By pinning:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

556/1000  Why? Recently disclosed, Has a fix available, CVSS 5.4
Cross-site Scripting (XSS) SNYK-PYTHON-JINJA2-6150717
jinja2:  2.11.2 -> 3.1.3
No
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Cross-site Scripting (XSS)

Qovery can create a Preview Environment for this PR.
To trigger its creation, please post a comment with one of the following command.

Command
Blueprint environment

/qovery  preview d9b7b17e-2b12-4f2e-aa62-4645c4e74c4f
blueprint-x

/qovery  preview 6ec46edb-7f37-4146-b00c-f59c3f21d1cc
niall-env

/qovery  preview 5981bcb2-b865-4fee-be8c-e3241c8e26b5
blueprint-x-clone

/qovery  preview {all|UUID1,UUID2,...}
To preview multiple environments

This comment has been generated from Qovery AI :robot:.
Below, a word from its wisdom :

Help yourself at 2AM by putting some metrics to help observability


[client] Fix SelendroidDriver#readCallLog()

AddCallLogTest was broken. Turns out the readCallLog() method was
actually broken. The execute() method returns an ArrayList<String>,
so the cast to String was erroring.
Changed the cast to the appriopriate one and fixed the loop that parses
the individual call log entries. Added extra error handling for the
class cast exception.

fixes #855


Assists log

Hi all,
I would like to know if there is any way to get an assist log (just like kills and items), or if not are there any plans to implement it?
Thanks,
Mortis

It's been requested, but not implemented yet.
https://github.com/odota/core/issues/1465


[Feature] New RBAC privilege framework: create & drop role

What type of PR is this：

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

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Introduce a new privilege framework.
To avoid huge PR which is hard to review and easy to conflict, I'm splitting into several small PR, each implementing an individual aspect of the new privilege framework. This is the seventh one. For previous PRs see
https://github.com/StarRocks/starrocks/pull/11447
https://github.com/StarRocks/starrocks/pull/11528
https://github.com/StarRocks/starrocks/pull/11593
https://github.com/StarRocks/starrocks/pull/11732
https://github.com/StarRocks/starrocks/pull/11777
https://github.com/StarRocks/starrocks/pull/11847
This PR adds a map in PrivilegeManager to maintain roles.

support create & drop role
persist roles to image & journal.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

[FE PR Coverage Check]
:disappointed: fail : 95 / 124 (76.61%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/journal/JournalEntity.java
0
3
00.00%
[733, 734, 735]

:large_blue_circle:
com/starrocks/persist/EditLog.java
5
13
38.46%
[926, 927, 928, 929, 932, 933, 934, 935]

:large_blue_circle:
com/starrocks/persist/RolePrivilegeCollectionInfo.java
8
14
57.14%
[38, 42, 46, 50, 59, 60]

:large_blue_circle:
com/starrocks/qe/DDLStmtExecutor.java
4
6
66.67%
[449, 461]

:large_blue_circle:
com/starrocks/privilege/PrivilegeManager.java
42
51
82.35%
[344, 346, 347, 349, 351, 369, 371, 373, 375]

:large_blue_circle:
com/starrocks/sql/analyzer/PrivilegeStmtAnalyzerV2.java
15
16
93.75%
[105]

:large_blue_circle:
com/starrocks/privilege/RolePrivilegeCollection.java
21
21
100.00%
[]

run all

[FE PR Coverage Check]
:heart_eyes: pass : 144 / 155 (92.90%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/persist/EditLog.java
5
13
38.46%
[926, 927, 928, 929, 932, 933, 934, 935]

:large_blue_circle:
com/starrocks/qe/DDLStmtExecutor.java
6
8
75.00%
[450, 462]

:large_blue_circle:
com/starrocks/sql/analyzer/PrivilegeStmtAnalyzerV2.java
15
16
93.75%
[105]

:large_blue_circle:
com/starrocks/persist/RolePrivilegeCollectionInfo.java
14
14
100.00%
[]

:large_blue_circle:
com/starrocks/privilege/PrivilegeManager.java
77
77
100.00%
[]

:large_blue_circle:
com/starrocks/privilege/RolePrivilegeCollection.java
24
24
100.00%
[]

:large_blue_circle:
com/starrocks/journal/JournalEntity.java
3
3
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 143 / 154 (92.86%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/persist/EditLog.java
6
14
42.86%
[926, 927, 928, 929, 932, 933, 934, 935]

:large_blue_circle:
com/starrocks/qe/DDLStmtExecutor.java
4
6
66.67%
[450, 462]

:large_blue_circle:
com/starrocks/sql/analyzer/PrivilegeStmtAnalyzerV2.java
15
16
93.75%
[106]

:large_blue_circle:
com/starrocks/persist/RolePrivilegeCollectionInfo.java
14
14
100.00%
[]

:large_blue_circle:
com/starrocks/privilege/PrivilegeManager.java
77
77
100.00%
[]

:large_blue_circle:
com/starrocks/privilege/RolePrivilegeCollection.java
24
24
100.00%
[]

:large_blue_circle:
com/starrocks/journal/JournalEntity.java
3
3
100.00%
[]

run starrocks_admit_test

run starrocks_admit_test


.aliases: Add ifactive.  Lists active interfaces

Handy for quickly chopping down the wall-of-text that is ifconfig.
Credit to g.rocket over at Stack Exchange.

Thanks!

My pleasure :)
On Mon, Oct 31, 2016 at 6:10 AM, Mathias Bynens<EMAIL_ADDRESS>wrote:

Closed #722 https://github.com/mathiasbynens/dotfiles/pull/722 via
2f0d5d6
https://github.com/mathiasbynens/dotfiles/commit/2f0d5d65a87765875c3af71e258bd3e7b045b5eb
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mathiasbynens/dotfiles/pull/722#event-841866736, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABNmiml6KfyjJ0YHGLtN-kWul8g5pWXoks5q5ei2gaJpZM4KkmJS
.


Add enPxxx pattern support to MTUIfacePattern

For the Linux network device naming rules talked in [0],[1]: prefix [Pdomain] pbus sdevice [ffunction] [nphys_port_name | ddev_port]
The domain is omitted if it's 0 and the function is only present if it's a multi-function device. But for some network devices and/or Linux system, the domain is non-zero, so the pattern would be "enPxxxxxx".
On the other side, from the real case showed in our server, the ethernet interface name like "enP1p1s0f1" is valid as a normal data interface.
Now we lack this pattern in MTUIfacePattern, so when findHostMTU, this kind of interfaces would be skipped. It will affect the final MTU calculation for this miss.
[0] https://utcc.utoronto.ca/~cks/space/blog/linux/UdevNetworkDeviceNaming [1] https://www.freedesktop.org/software/systemd/man/systemd.net-naming-scheme.html
Signed-off-by: trevor tao<EMAIL_ADDRESS>Description

Related issues/PRs

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

TBD

Reminder for the reviewer
Make sure that this PR has the correct labels and milestone set.
Every PR needs one docs-* label.

docs-pr-required: This change requires a change to the documentation that has not been completed yet.
docs-completed: This change has all necessary documentation completed.
docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

release-note-required: This PR has user-facing changes. Most PRs should have this label.
release-note-not-required: This PR has no user-facing changes.

Other optional labels:

cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

@TrevorTaoARM this LGTM, but there's now a conflict (sorry for the delay in reviewing).
I think this is also going to conflict with some documentation changes we're making on Monday, so we may need to revisit this later next week once that effort is done.

/sem-approve

/sem-approve

@TrevorTaoARM @caseydavenport I've made the corresponding changes in the new docs repo here: https://github.com/tigera/docs/pull/244


[Update Request]: Nlitesoft.NTLite Installer hash does not match v2024.8.10013.0

What type of update are you requesting?
A change to the package metadata
Current Package Identifier
Nlitesoft.NTLite
Package Version
2024.8.10013.0
Please describe the changes you would like to see
Update Installer Hash for NTLite v2024.8.10013.0 to resolve installation error message:
Installer hash does not match; this cannot be overridden when running as admin

This has been resolved by:

https://github.com/microsoft/winget-pkgs/pull/167904
https://github.com/microsoft/winget-pkgs/pull/167953


Update for IoT command modules use of DPS SDK 0.2.0

Increment DPS mgmt SDK requirement
Fix internal breaking changes for SDK usage patterns
Apply work around (back rev API) for assocating a linked-hub due to swagger/sdk
mismatch with API.
Update tests and DPS recording
Addresses issue 6973

This checklist is used to make sure that common guidelines for a pull request are followed.

[X] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[X] I adhere to the Command Guidelines.

@YingXue

@digimaun if this PR is approved in an hour it may still make into this release.

Looks good to me, I'll merge it now. @YingXue, please feel free to leave comments.


aws: expose a list of supported services

This PR adds a list of supported AWS services as well as validates it when creating a new Ingester. This causes a breaking change.
Closes #14

Pushed fixups for the feedback

Rebased and added AWSELB to the list (implemented by #32)


Sorting of results

The results should be sorted by value ascending
e.g. 2,5,13 instead of 13,2,5 as it is now.

And Add median instead of average result, thanks to Erik!


How lookup elements inside dom?

Look at to the html of this page:
https://www.goodreads.com/search?q=book
I want to grab all titles. Is there a simple way to chain and look up elements like this:
body->div>div>div>span
Edit: it's just an example. i want to know is there any sample code that show us how to iterate dom elements to get special data?

@LinArcX
#include "lexbor/html/parser.h"
#include "lexbor/dom/interfaces/element.h"
#include "lexbor/core/fs.h"

#define FAILED(...)                                                            \
    do {                                                                       \
        fprintf(stderr, __VA_ARGS__);                                          \
        fprintf(stderr, "\n");                                                 \
        exit(EXIT_FAILURE);                                                    \
    }                                                                          \
    while (0)

int main(void)
{
    size_t length;
    lxb_status_t status;
    lxb_dom_attr_t *attr;
    lxb_dom_node_t *node;
    const lxb_char_t *value;
    lxb_html_document_t *document;
    lxb_dom_collection_t *collection;

    lxb_char_t *data;

    data = lexbor_fs_file_easy_read((const lxb_char_t *) "/path/to/file.html",
                                    &length);
    if (data == NULL) {
        FAILED("File not found");
    }

    document = lxb_html_document_create();
    if (document == NULL) {
        FAILED("Failed to create document object");
    }

    status = lxb_html_document_parse(document, data, length);
    if (status != LXB_STATUS_OK) {
        FAILED("Failed to parse HTML");
    }

    lexbor_free(data);

    collection = lxb_dom_collection_create(&document->dom_document);
    status = lxb_dom_collection_init(collection, 128);
    if (status != LXB_STATUS_OK) {
        FAILED("Failed to create collection object");
    }

    node = lxb_dom_interface_node(document->body);

    status = lxb_dom_elements_by_attr_begin(lxb_dom_interface_element(node),
                                            collection, (lxb_char_t *) "href", 4,
                                            (lxb_char_t *) "/book/show/", 11, true);

    for (size_t i = 0; i < lxb_dom_collection_length(collection); i++) {
        node = lxb_dom_collection_node(collection, i);

        attr = lxb_dom_element_attr_by_name(lxb_dom_interface_element(node),
                                            (lxb_char_t *) "title", 5);

        if (attr != NULL) {
            value = lxb_dom_attr_value(attr, NULL);

            if (value != NULL) {
                printf("%s\n", value);
            }
        }
    }

    lxb_html_document_destroy(document);

    return 0;
}

Result:
The Book Thief
The Graveyard Book
Harry Potter og De Vises Sten
The Great Gatsby. Students' Book.
1984 : Ungekurzte mp3-Ausgabe: 2 CDs - Audio book
PRIDE AND PREJUDICE by Jane Austen, Josephine Woodbury Heermans: REVIEW
Harry Potter and the Prisoner of Azkaban (Harry Potter, #3) Picture Book
Harry Potter, II : Harry Potter et la Chambre des Secrets Audiobook PACK [book + 2 CD MP3]
Angels & Demons
Harry Potter og Flammernes Pokal
Mockingjay
Vlammen
A Game of Thrones (HBO Tie-In Edition): A Song of Ice and Fire: Book One
The Art Book
Romeo and Juliet
Jane Eyre: FREE Crime And Punishment By Fyodor Dostoevsky, Illustrated [Quora Media]
Cinquante [ 50 ] nuances de Grey Audiobook PACK [Book + 2 CDMP3]
Percy Jackson and the Olympians, Book One The Lightning Thief
Fahrenheit 451: The Temperature at Which Book Paper Catches Fire, and Burns
The Children's Treasure Book - Vol V - Little Women

Please, see example for find elements by attributes.
For walk by tree use lxb_dom_node_simple_walk.
In the near future there will be CSS selectors.

@lexborisov don't you think it would be nice to have tutorials with cmplete examples for questions like this ?

@lexborisov  thank you so much.

@vtorri
Thanks for the tip, I'll do it on the wiki tab.


WIP: Fixing dcos history service to fail on exceptions and adding more tests

on_starting : Called just before the master process is initialized.
pre_fork : Called just before a worker is forked.

@mellenburg  @cmaloney  thoughts on having the tests in test_endpoints vs cluster_api? Currently its doing the same test in both
once the tests pass this should be ready for review

@cmaloney ready for review

in holding for 1.9


encoder bug? encoded output become gray  after 1-2 hours

Hi.
After 1-2 hours sometimes the h264 output become gray - it is hard to explain how it looks so i attached screenshot.
It keeps like that until I stop the encoding.
What can cause this issue?
Bug in the encoder?
Please look in the attached image.
Thanks!

Someone know if this issue got resolved in new versions?
when new binaries will be created? the one here :
https://github.com/cisco/openh264/releases
is 1.5 years old...


Fixed npm run command in README.md

Changed the npm run command to 'npm run dev' as the old command seemed to be deprecated and not aligned with https://plugins.remnote.com/in-depth-tutorial/setup#start-your-plugin.

Good catch, thanks!


[BitSail][connector-ftp]fixed ftp compile issue.

Signed-off-by:
Pre-Checklist
Note: Please complete ALL items in the following checklist.

[x] I have read through the CONTRIBUTING.md documentation.
[x] My code has the necessary comments and documentation (if needed).
[x] I have added relevant tests.

Purpose

https://github.com/bytedance/bitsail/issues/83
Some description about what this PR wants to do.
Approaches

Some description about how this PR achives the purpose.
Related Issues

e.g. Close #796
New Behavior (screenshots if needed)

N/A

Check the unit test.

@hk-lrzy  Couldn't make change on your branch so I checkout one from my fork https://github.com/bytedance/bitsail/pull/88
The tests passed and it may has been caused by testing using port 21 (but I wonder why it was ok before)..


Fix app.listen calls doc

Hello dear Express maintainers,
This PR does:

Fix the fact that the "port" argument is optional
Fix Node.js doc links
Fix HTML id, an HTML id must be unique

Closes #929.

I've fixed the erroneous replacement (sorry!) and rebased. Ready for your proof reading!

LGTM, thanks!

Thanks @crandmck!


MapListener.onZoom does not get triggered when pinching and zooming

I asked a question at https://stackoverflow.com/questions/46096035/osmdroid-scale-an-infowindow-when-zoom but I think this might be a bug with how MapListener.onZoom  is being called
I expect the onZoom method to be called as I am pinching and zooming the mapView but this does not appear to be the case. The onZoom method only gets triggered after I stop pinch-zoom by lifting up my fingers.  The method should get called as I am pinching and zooming

What verison? This sounds like the expected behavior for 5.6.5 and older.  I thing the new floating point zoom gesture will resolve this on the next version

I'm building from master

I see that in MultiTouchController.java, there's a performDragOrPinch . However, there is no way for me to call an onZoom because MultiTouchController has no reference to MapListener. To make it work will require major surgery.
I'd like to propose a different mechanism for handling events.  All events should generate a value that is put into a "message bus" event handlers will examine this message bus and process event based on a data values.  This will separate the generation of events from the consumption of events. I didn't invent this pattern. It comes from my experience using https://github.com/Day8/re-frame which is uses a common pattern in functional reactive programming

I created a org.osmdroid.mercury.MessageBus. https://github.com/sonwh98/osmdroid/commit/875fc00bd5ad96a7c75c51b37019f73b434ca145
its in mercury package because mercury is the god messaging and communication.
what do you think?
I got scaling of InfoWindow view like by creating a MessageHandler like this:
``
MessageBus.registerMessageHandler("map/scale", MessageHandler { multiTouchScale: Any ->
val scale = multiTouchScale as Float
infowWindowView.scaleX = scale
infowWindowView.scaleY = scale
error("map/zoom value" + scale)
Object()
})

Can you point me to the floating point zoom gesture code? I'd like to see how it works

sure thing and sorry for the delay. it's currently on the master branch.
There's a few things at play here
MapView is the android view. It handles the scaling, rotation, etc
https://github.com/osmdroid/osmdroid/blob/master/osmdroid-android/src/main/java/org/osmdroid/views/MapView.java
The gestures themselves are detected in the MultitouchController
https://github.com/osmdroid/osmdroid/blob/master/osmdroid-android/src/main/java/org/metalev/multitouch/controller/MultiTouchController.java
During each movement/gesture, the MapView is notified. Specifically look for references to the objectCanvas
https://github.com/osmdroid/osmdroid/blob/master/osmdroid-android/src/main/java/org/metalev/multitouch/controller/MultiTouchController.java#L417
which leads you to here:
https://github.com/osmdroid/osmdroid/blob/master/osmdroid-android/src/main/java/org/osmdroid/views/MapView.java#L1201
https://github.com/osmdroid/osmdroid/issues/640 That's the zoom ticket
https://github.com/osmdroid/osmdroid/commit/ba74d6158904b9f247f4c80b395d6683cd82ff5e#diff-0bb50b730ea24896c5f4201928423da1
That's the commit that added floating point zoom
Finally, the contribution was by @monsieurtanuki who will probably have more insight into how it works.

thanks. I'll take a look. What do you think about decoupling event producers from event consumers using a message bus? it can handle one-to-one and one-to-many. I think this will improve the design

I was never really happy with the away map events are fired because osmdroid only supports a single map events receiver. I've seen quite a few use cases whereby users of osmdroid put a shim in front of the events receiver so that multiple things can listen at the same time.
The messaging thing is closer to what https://github.com/missioncommand/emp3-android did along with http://cmapi.org/ Same type of deal whereby the map publishes events, such as the current extent to some kind of bus or an icon was tapped, icon drag events, etc. Multiple receivers are often needed to update displays, such as menus that display items on a layer, redrawing events, etc.
On the other hand, i'm somewhat against adding an additional dependencies for osmdroid unless the minsdk is reasonable, the library is relatively small and it is license compatible. Otherwise, someone would have to cook up a solution. It would likely be a large architectural and api shift, which would most likely cause some issues adopting the new code/version. This library was originally founded on mirroring a google maps like api.

as long as changes to the api is 'appending' instead of 'removing', backwards compatibility is maintained without breaking existing clients.  a message bus can be introduced without breaking compatibility. any code that generates an event has to be changed to publish to the message bus too. in my example  sonwh98/osmdroid@875fc00 it is just one line of code to publish to the message bus at the point the event is being generated. there maybe many such places where events are generated but its just one line of code to publish to the message bus. the old api can be marked as deprecated and maintained as long as necessary while documentation is changed to inform people to use the message bus to publish and respond to events

the jdk has https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ConcurrentLinkedQueue.html so building an aysnc messaging queue would not require more dependencies

@sonwh98 Should be fixed by #800. Could you give it a try?
The zoom used to be handled by a Canvas scaling during the pinch gesture, and at the end of the gesture the new zoom was computed as the product of the canvas scaling end zoom with the MapView zoom at the gesture start.
Now we don't use Canvas scaling anymore: we compute the floating zoom at each moment. Which is supposed to call MapListener.onZoom.

Fixed by #800.
@sonwh98 Feel free to reopen if needed.


Here's the command that's running:
m                11926 100.0  0.0  5084696     24   ??  R    10:58PM 790:42.08 go list -modfile=/var/folders/4f/tcxcr6_55v9bp38d8g4hjlf80000gn/T/go.81d65b897d3d2041650a7b316bfe7936e665c0667228e1aea9664629dbcc4506.974007766.mod -e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/4f/tcxcr6_55v9bp38d8g4hjlf80000gn/T/go.81d65b897d3d2041650a7b316bfe7936e665c0667228e1aea9664629dbcc4506.974007766.mod -- github.com/matthewmueller/mat.tm/duo/cli

It seems like go list is stuck trying to list a package that no longer exists.
Roughly the steps I took:

I had a directory called command: github.com/matthewmueller/mat.tm/duo/command
Renamed the directory from command to cli: github.com/matthewmueller/mat.tm/duo/cli
Changes all the package names from command to cli
Realized that was a dumb idea, changed all the packages back to command
Renamed the directory from cli back to command.
Noticed about an hour later that my CPU usage was at 100%.

Unfortunately, I don't have the gopls logs as far as I know. I closed VSCode in an effort to bring down CPU usage.

stamblerre:

@heschik: I believe you had previously looked into these issues (and resolved them with the gocommand package). Do you think it's possible that go list could hang for an hour for a nonexistent package?

This is clearly a go command bug, perhaps caused by the filesystem changing during a list run. I think you're asking if it could hang hitting the network, but I don't think so, and even if it did it would not use 100% cpu to do it.
The fact that gopls hasn't killed it suggests that whatever triggered the load was running detached, e.g. the IWL. Perhaps we should set a deadline of last resort like 5 minutes?

A deadline seems like a good idea--maybe we could add it as an experimental setting.

Throwing this out there naively: could go list be used programmatically to avoid dealing with process lifecycle?

Unfortunately not--gopls needs to use the version of go that the user is currently using, not the version with which gopls was compiled.


add buffer to promise like channel

PR Description
add buffer to promise like channel so main goroutine loop doesn't block
Which issue(s) this PR fixes
no issue, just performance improvement
Notes to the Reviewer
hey @mattdurham, I was reviewing usage of go-actor and just noticed this so I wanted to share it with you.
in DoWork caller is being notified  after config gets updated. because this channel is not buffered this goroutine will get blocked because caller is also blocked at this point (it's waiting on response from done channel). main loop will remain blocked until goroutine that made this request is resumed again (which can take time theoretically speaking).
probably the best approach when implementing logic of DoWork (aka workers) is to never have it's code blocked unless it is blocked on reading data from inbound mailboxes - in other words blocked because it's waiting on work.
in this case, this can be easily achieved by making done, promise like channel, to have buffer of size 1. this will ensure that DoWork can write to it without waiting on this goroutine to be ready.

defer close(done) was removed because it is unnecessary, after data transmission, this channel is no longer used so no one will care if this channel is closed or not - eventually it will be garbage collected.
PR Checklist

[ ] CHANGELOG.md updated
[ ] Documentation added
[ ] Tests updated
[ ] Config converters updated

Since your here :) having an issue on where I don't know the number of callers, so if I close call and still have work coming in I get a panic which is not ideal. My idea is for actors that behave as a channel to not call close and not set the panic send handler. Thoughts?

You mean mailboxes? To me it sound like you are using mailbox and sometimes you stop mailbox but there is more work coming in? If this is true then just just have to additional logic that will not send data to mailbox is something is sopped.
Or there is different issue, were you are stopping in different order. Inbound routine, that sends work, should be stopped first, before mailbox.


Fixed issue 15340. Alexa Smart Home now handles unsupported properties correctly

Fixed issue 15340.  alexa/smart home now properly skips over properties that aren't supported in the current state, eg lowerSetpoint in Heat mode or targetSetpoint in Eco mode for Nest devices.
Description:
As described in issue 15340, the Alexa smart home skill cannot retrieve the properties of a climate device like the Nest (not sure about other devices).  When Alexa asks for a state report, alexa/smart_home.py attempts to return all of the properties of the climate component, even if the properties are null.  Properties can be null depending on the state of the device.  For example, target_temp_low is null if the thermostat mode only has a single setpoint, and target_temperature is null when the mode has two setpoints (lower and upper).  So, when Alexa asks for a state report, some property values are always null, causing ThermostatController.get_property() to always fail with the UnsupportedProperty exception.
The fix is to have the only caller, serialize_properties, handle a None return value from get_property, and have get_property return None if the associated value is actually null or None.
Related issue (if applicable): fixes #15340
Pull request in home-assistant.github.io with documentation (if applicable): N/A
Checklist:

[X] The code change is tested and works locally.
[X] Local tests pass with tox. Your PR cannot be merged unless tests pass

If user exposed functionality or configuration variables are added/changed - N/A
If the code communicates with devices, web services, or third-party tools: N/A
If the code does not interact with devices: N/A

Hi @rmiller14,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Hi @rmiller14,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Hi @rmiller14,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Awesome! 🎉


Including the slot number of the creation of a UTxO entry (in that entry)

This feature would be useful for Plutus, as well as Lightning and Hydra integration.
The entry would look like (txid, ix) |-> (a,c, creation_slot)
When this is implemented, the creation slot would be included for all UTxO entries.
We want here to use the actual slot of the block in which a transaction was included, rather than the last slot in its validity interval.

This feature is not needed


add storage queue trigger integration tests

Codecov Report

Merging #271 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #271   +/-   ##
========================================
  Coverage    55.33%   55.33%
========================================
  Files           55       55
  Lines         1688     1688
  Branches       191      191
========================================
  Hits           934      934
  Misses         691      691
  Partials        63       63

Continue to review full report at Codecov.

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


How to set android system property in SampleApp

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
We want to build in AVS sdk on Android devices.
We want to set Android system property in some status of SampleApp.
How to do about this?
Briefly summarize your issue:

What is the expected behavior?

What behavior are you observing?

Provide the steps to reproduce the issue, if applicable:

Tell us about your environment:

What version of the AVS Device SDK are you using?
  <x.y.z>

Tell us what hardware you're using:

[ ] Desktop / Laptop
[ ] Raspberry Pi
[ ] Other - tell us more:
Qualcomm SDM450

Tell us about your OS (Type & version):

[ ] Linux
[ ] MacOS
[ ] Raspbian Stretch
[ ] Raspbian Jessy
[ ] Other - tell us more:
Android P device

OK , Thanks for your help.


BlazePose model support in iOS sample

Hi Team, I was checking https://github.com/tensorflow/examples/tree/master/lite/examples/pose_estimation/ios example it supports
Posenet, Movenet Lightning, Movenet Thunder models. I just wanted to know, Is it possible to add googles BlazePose model  support ? If yes how can I do that ?
Thank you

@pratimash ,
Please take a look at this link 1 2 and 3 which delivers the approach towards BlazePose.It helps.Thanks!


Submit application of hamster

Project Abstract
Hamster is a decentralized computing network based on the underlying chain. It aims to provide users with cost-effective computing servers. It is a decentralized platform for leasing computing resources that can be performed to rent idle computing resources
For which grant level are you applying?

[ ] Level 1:  Up to $10,000, 2 approvals
[x] Level 2:  Up to $50,000, 3 approvals
[ ] Level 3:  Unlimited, 5 approvals (for > $100k Web3 Foundation Council approval)

Application Checklist

[x] The application template has been copied, renamed ( project_name.md) and updated.
[x] A BTC or Ethereum (DAI/USDT) address for the payment of the milestones is provided inside the application.
[x] I have read and acknowledged the terms and conditions.
[x] The software delivered for this grant will be released under an open-source license specified in the application.
[x] The initial PR contains only one commit (squash and force-push if needed).
[x] The grant will only be announced once the first milestone has been accepted.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.liangteng seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Display LoaderExceptions in ErrorPage

Issue #315
@pranavkm

:watch: for the formatting. Looks ok otherwise.

:up: :date:

:shipit:
Could you add a test for this in Mvc? Something like https://github.com/aspnet/Mvc/blob/dev/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ErrorPageTests.cs#L92


Adds Microsoft Azure example

Happy HashiConf!
This PR adds an example of how to deploy HCP Vault on Microsoft Azure.
(I'm also bumping the base version for Vault from 1.10.3 to 1.11.3)

Tested azure example, works well!


v2: dep upgrades, cleaner API, opt-in hodgepodging plugins

Resolves #2

Coverage remained the same at 100.0% when pulling 3fbfa186c4987ee9eec9d834cc9dc0aa1a5ba681 on v2 into 84b52adb12e5da4df0a1a348289d78770a50397b on master.

Coverage remained the same at 100.0% when pulling 3fbfa186c4987ee9eec9d834cc9dc0aa1a5ba681 on v2 into 84b52adb12e5da4df0a1a348289d78770a50397b on master.


Better error handling of Utils module

Currently unhandled errors exist when there is no config.ini file or missing api keys in the file.
The code needs to gracefully handle such scenarios and display appropriately to the user (with a print) when such errors occur.
Example:
print("config.ini file does not exist")
print("VT_APIKey does not exist in config.ini")

Completed.


tslib should be in dependencies

You currently have tslib  in devDependencies, but it should be in dependencies.
2024-08-20 17:38:11 node:internal/modules/cjs/loader:1148
2024-08-20 17:38:11   throw err;
2024-08-20 17:38:11   ^
2024-08-20 17:38:11
2024-08-20 17:38:11 Error: Cannot find module 'tslib'
2024-08-20 17:38:11 Require stack:
2024-08-20 17:38:11 - /app/node_modules/.pnpm/aws-sdk-v3-nest@0.3.0_@nestjs+common@10.3.7_class-transformer<EMAIL_ADDRESS>2024-08-20 17:38:11 - /app/node_modules/.pnpm/aws-sdk-v3-nest@0.3.0_@nestjs+common@10.3.7_class-transformer<EMAIL_ADDRESS>

the latest package (1.0.0) doesn't have this tslib anymore. please try that. thanks.


Third_party in docker image may need rebuild

Hi prashast, thanks for your great work.
I met a problem while using the docker images. I validated the fuzzers then i got a message Empty/non-existent directory detected for queue folder, please check fuzzer configuration.
So i remove all the dirs under third_third and rebuild the project as the Installing SieveFuzz from scratch. It worked correct.
Maybe there is a problem in the docker image?
I use Arch Linux. I can't determine if this caused the problem.

Hi, i test the standalone.
The steps i followed is
beanstalkd &

python3 create_fuzz_script.py -c sanitycheck.config -n 7 --flush
python3 create_fuzz_script.py -c sanitycheck.config -n 7 --flush
python3 create_fuzz_script.py -c sanitycheck.config -n 7 --flush

python3 create_fuzz_script.py -c sanitycheck.config -n 7 --put
python3 create_fuzz_script.py -c sanitycheck.config -n 7 --get

Infact totaly same as the readme. I use ./sanitycheck_run.sh to test.
By the way , I fix the problem by:
cd /root/Sievefuzz/third_party
rm -r sievefuzz  spdlog  SVF

cd ..
./build.sh
cp gllvm_bins/*  third_party/SVF/Release-build/bin/

# Could work without this command
eval/setup_fuzzer_env.sh

While i building the docker image, some errors occur at building the SVF:
Unable to find executable: mta
...
Unable to find executable: cfl
...
Failed to change working directory to /root/sievefuzz/third_party/SVF/-build/bin : No such file or directory

I have not encountered these situations while i followed Installing SieveFuzz from scratch.


Toggle shows incorrectly for GPU plugin presets if GPU (Experimental) is installed

This is a bit of a weird one.
If I have the "Plugin on/off" key selected for GPU and the plugin enabled, the toggle switch on the menu for that preset will break and always show as disabled.
This seems to be some weird conflict with the GPU (Experimental) plugin, but I've no idea why. If that is installed, that key is saved in the plugin preset, and GPU is enabled, the toggle will show incorrectly.

Apparently the preset loading fails because both of those gpu plugins have the same configName. It seems that RuneLite does not care if there is plugins with same configNames...

Also the legacy gpu plugin causes this problem.

Fixed here. The preset comparing failed because all of those gpu plugins have same configName (and also same setting configs).
I don't know if its a RL feature or a bug but when you edit any of those GPU plugin configurations, the other 2 gpu plugins will also get updated with that setting. Nothing seems to be broken but it kinda messes up preset editing if using those certain gpu plugins.


Foreign key handled incorrectly

I set up a blaze data object with a sqlalchemy select statement, including a foreign key live_algo_id
t = bz.resource(conn_str, schema='session')
l_ts = bz.Data(select([t.c.id, t.c.ref_id, t.c.live_algo_id]))

The dshape of l_ts looks like:
dshape("""var * {
  id: string,
  ref_id: int64,
  live_algo_id: map[string, {id: string, log_count: int32}]
  }""")

But, odo(l_ts[l_ts.live_algo_id == 'foo'], pd.DataFrame) always returns the first row of the table, regardless of the value of live_algo_id. I think the correct behavior should be to throw an error, as live_algo_id is a foreign key.
Is there a way I can ignore the contents of the foreign table linked by the foreign key? I only want the key itself.

Having the same problem. See also #1477  along similar lines - you can't use 'like' on the the id column either to try to get all the rows.


Nrf9160 dts and soc

Following suggestion by Andy I have moved the common peripherals' definition in a single file. Using the "range" property, only the set of peripherals dedicated to either security domain needs to be defined in the main .dtsi header.

Codecov Report

Merging #12202 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #12202   +/-   ##
=======================================
  Coverage   48.24%   48.24%
=======================================
  Files         293      293
  Lines       44130    44130
  Branches    10591    10591
=======================================
  Hits        21290    21290
  Misses      18570    18570
  Partials     4270     4270

Continue to review full report at Codecov.

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

recheck

Maybe we should also clean up the interrupt priorities.
For most peripherals these are set to 1, for some (rtc1, timers, clock, and watchdog, so this is perhaps ok) 0, but for gpiote nodes these are set to 5.

I suppose the idea was the GPIOTE should have low default priority.


Exception in Loader.filter_chunks due to wrong webpack-stats.json data format

I'm updating a project to Django 4 and after updating both django-webpack-loader and webpack-bundle-tracker to 1.6.0 (migrating from v0.6.0), the render_bundle tag is failing with a TypeError exception when loading CSS files.
https://github.com/django-webpack/django-webpack-loader/blob/b9ac29763d02b7c9a56729d7a9c77ec84b78e492/webpack_loader/loader.py#L54-L63
In filter_chunks, chunk is expected to be a string but in my case it is a dict, so it raises TypeError when performing regex.match(chunk). In my case, chunks is:
>>> chunks
[{'name': 'main.js', 'path': '/home/fabio/neuralmind/eliot/eliot/case_analysis/static/case_analysis/dist/main.js'}]

The webpack-stats.json content is:
{
  "status": "done",
  "chunks": {
    "main": [
      {
        "name": "main.js",
        "path": "/home/fabio/neuralmind/eliot/eliot/case_analysis/static/case_analysis/dist/main.js"
      }
    ]
  }
}

My configs are:
webpack version: 4.46.0
Django template tag:
{% render_bundle 'main' 'css' %}

webpack.config.js:
const path = require('path');
const BundleTracker = require('webpack-bundle-tracker');
const { CleanWebpackPlugin } = require('clean-webpack-plugin');

module.exports = {
  mode: 'production',
  entry: path.resolve(__dirname, './js-src/index'),

  output: {
    path: path.resolve(
      __dirname,
      './eliot/case_analysis/static/case_analysis/dist'
    ),
    filename: 'main.js',
  },

  plugins: [
    new CleanWebpackPlugin(), //clean dist folder before building new files
    new BundleTracker({
      path: path.resolve(path.join(__dirname, './eliot')),
      filename: 'webpack-stats.json',
    }),
  ],
  resolve: {
    alias: {
      nm: path.resolve(__dirname, 'node_modules'),
    },
    modules: [
      path.resolve(__dirname, 'js-src'),
      path.resolve(__dirname, 'node_modules'),
    ],
  },
  resolveLoader: {
    modules: [path.resolve(__dirname, 'node_modules')],
  },

  module: {
    rules: [
      {
        test: /\.jsx?$/,
        loader: 'babel-loader',
        options: {
          presets: [
            path.resolve(__dirname, 'node_modules', '@babel/preset-react'),
          ],
        },

        exclude: /node_modules/,
      },
    ],
  },
};

settings.py:
WEBPACK_LOADER = {
    'DEFAULT': {
        'BUNDLE_DIR_NAME': 'dist/',
        'STATS_FILE': os.path.join(BASE_DIR, 'webpack-stats.json'),
    }
}

I searched through READMEs and issues in both repositories but could not solve this issue, so any help will be appreciated.
Thanks in advance

I'm having the same issue although I'm upgrading to Django 3.2 from 3.1. I bumped the version from 0.7.0 to 1.6.0 and I'm getting the same error. Hopefully, we'll have something soon so we can upgrade. Thanks!

+1 to this issue. It seems to be related to the fact that the new version of webpack-bundle-tracker puts both the CSS and JS in the same array under one dictionary heading, as opposed to before where it was only one per. Hopefully it gets fixed soon, I'm moving to 1.5.0 for the time being and hoping for the best!

Hi folks, sorry to hear about this issue.
I've tried to reproduce this behavior on my end, unfortunately I wasn't able to come across this issue on my attempts. I've used both django-webpack-loader==1.6.0 and<EMAIL_ADDRESS>One thing I've noticed in the provided webpack-stats.json file
{
  "status": "done",
  "chunks": {
    "main": [
      {
        "name": "main.js",
        "path": "/home/fabio/neuralmind/eliot/eliot/case_analysis/static/case_analysis/dist/main.js"
      }
    ]
  }
}

is that the outer JSON only contains chunks and status as its keys, when the expected format for the stats file outputted by<EMAIL_ADDRESS>should be similar to
{
  "status": "done",
  "assets": {
    "i-1561b91d7b75f3ca28145ff2b1a79802.png": {
      "name": "i-1561b91d7b75f3ca28145ff2b1a79802.png",
      "path": "/app/frontend/bundles/i-1561b91d7b75f3ca28145ff2b1a79802.png"
    },
    "i-4c677b78d12c96ea7adde99ce24d8172.png": {
      "name": "i-4c677b78d12c96ea7adde99ce24d8172.png",
      "path": "/app/frontend/bundles/i-4c677b78d12c96ea7adde99ce24d8172.png"
    },
    "main.js": {
      "name": "main.js",
      "path": "/app/frontend/bundles/main.js"
    },
    "vendors~main.js": {
      "name": "vendors~main.js",
      "path": "/app/frontend/bundles/vendors~main.js"
    }
  },
  "chunks": {
    "main": [
      "vendors~main.js",
      "main.js"
    ]
  }
}

with the outer JSON containing chunks, status and also assets. One thing to notice is that assets on the file I've obtained is similar to chunks on the provided file. If I recall correctly, that used to be the case in a previous version of webpack-bundle-tracker, but was changed in favor of the new approach in a version prior to 1.6.0.
I've also did some investigations on webpack-bundle-tracker to try pinpointing a section of the code that could be producing an incorrect stats file, but also couldn't identify it (for completeness, here is the section that produces the output content https://github.com/django-webpack/webpack-bundle-tracker/blob/master/lib/index.js#L146-L178).
I'll continue to investigate that behavior. In the meantime, could you double-check if both versions are running on 1.6.0 and, if possible, ensure that the stats file is being generated with the latest version(i.e.: delete any old stats file and ensure it's a new one being produced).

It looks like this change https://github.com/django-webpack/django-webpack-loader/blame/master/webpack_loader/loader.py#L58 turned chunk["name"] into chunk so that it was passing a dict into regex.match().  This error is affecting be with django-webpack-loader==1.6.0 and<EMAIL_ADDRESS>

Thanks for reporting back @Jdsleppy
Since version 1.0.0, both projects must always match versions in order to work correctly.
Therefore, if one uses django-webpack-loader==1.6.0, they must use<EMAIL_ADDRESS>Even if something changes in only one side, we'll make a new release on the other.
I'll close this issue for now. If anyone is still facing the issue after correcting the versions, please let me know by commenting here and mentioning me. (cc @Starmism @ronilrufo-domain @fabiocapsouza)


Dragging Tasks with checkbox alternatives

Discussed in https://github.com/roovo/obsidian-card-board/discussions/170

Originally posted by Naxey October 18, 2023
This would add a third kind of kanban board besides timeline and tagboard. Maybe call it an emoji board.
Each list would have an assigned character (or even emoji).
Dragging one task to another would then change the character to the character of the list it's dragged to.
These are some ideas on how this could be used.
In this example, there would be 11 kanban lists. I gave the list entries the names that could be given to the kanban lists in the settings.
- [ ] to-do
- [/] incomplete
- [x] done
- [-] canceled
- [?] question
- [!] important
- [I]  idea
- [*] star
- [>] forwarded
- [i] information
- [🐛] bugs

Dragging an item from the list to-do to incomplete would then change the checkmark in the note like this:
- [ ] example task --> - [/] example task
These settings would be needed:

the third kanban board option to enable this
a text box to set the characters/emojis that are used in the checkboxes and give the lists their names (like the definitions for the tags). The naming scheme mentioned above could be used here.

The Tasks Plugin calls those Custom Task Statuses. This feature could be added as a Column Type that filters tasks by the content of the brackets, and changes the status of a task when dragged in.
I don't know much about Elm, but it seems that tasks have a completion field that can be Incomplete, Completed, or CompletedAt(time). I suppose one approach would be to split this logic into a status type that would take a character as parameter.
Another approach would be to add another value to the completion type. If my understanding is correct, something like Incomplete, Checked(character), Completed, and CompletedAt(time).
To add the new column type, either the Completed column is rethought as a Status column, or a new one is created while leaving the Completed column as is.
It seems that a separate setting and a separate column type would be clearer for the end user, and might also be simpler to implement.

also see #122

Not being a user of alternative checkboxes, are there any other statuses than checked that could be expected to have an impact on how/where/if tasks appear on boards in general.
From a cursory look, one might be that tasks marked as cancelled should not appear in columns as I presume one wouldn't want cancelled tasks cluttering other columns on the board.  Perhaps having a cancelled column (or some way of collating cancelled tasks) would be useful tho.
Are there any others that could have this kind-of more general impact?

I think the easiest solution is to have a column type than handles one alternative checkbox, possibly user-defined. This way you stay independent of the Tasks implementation, support emojis as OP suggested, and can handle the weirder statuses that IMO don't fit well as statuses, like "important" (!). It could support multiple characters per column, but then it complicates the drag-n-drop feature; what character does the card gain?
The Completed column could have a toggle to switch between any non-whitespace character or "x" only, so that it still supports auto-dating of completed tasks. A Cancelled column could be similar, but this might get a bit too complicated for the end user who does not know about alternative statuses and will not understand why cancelled tasks appear also in the completed column because the special toggle is not on.
Alternatively, but this will be more work, the ability to auto-date, to auto-tag, or to auto-change-status could be separate functionalities. There would be no Completed column, just a column that auto-dates a task that enters it when its status becomes a user defined value, defaulting to [x].

interesting ideas!


PSAvoidUsingPlainTextForPassword Error

The PSAvoidUsingPlainTextForPassword is being flagged incorrectly in both v1.5.0 and v1.6.0. It seems to trip whenever there is "Password" mentioned in the parameter name:
PSAvoidUsingPlainTextForPassword    Warning      MSFT_xADUs 259   Parameter '$PasswordAuthenticationContext' should
                                                 er.psm1          use SecureString, otherwise this will expose
                                                                  sensitive information. See ConvertTo-SecureString
                                                                  for more information.
PSAvoidUsingPlainTextForPassword    Warning      MSFT_xADUs 521   Parameter '$PasswordAuthenticationContext' should
                                                 er.psm1          use SecureString, otherwise this will expose
                                                                  sensitive information. See ConvertTo-SecureString
                                                                  for more information.
PSAvoidUsingPlainTextForPassword    Warning      MSFT_xADUs 771   Parameter '$PasswordAuthenticationContext' should
                                                 er.psm1          use SecureString, otherwise this will expose
                                                                  sensitive information. See ConvertTo-SecureString
                                                                  for more information.
PSAvoidUsingPlainTextForPassword    Warning      MSFT_xADUs 965   Parameter '$PasswordAuthenticationContext' should
                                                 er.psm1          use SecureString, otherwise this will expose
                                                                  sensitive information. See ConvertTo-SecureString
                                                                  for more information.

Here's the parameter definition:
[Parameter()]
[ValidateSet('Default','Negotiate')]
[System.String] $PasswordAuthenticationContext = 'Default'

This parameter is perfectly legal and it makes no sense that this should be flagged as a warning.

PSAvoidUsingPlainTextForPassword checks for string type parameters with names that contain any of the following: "Password", "Passphrase", "Cred", "Credential". Hence, it trips in the above mentioned case. This is definitely a false alarm and a limitation of the existing implementation
If it helps, please have a look at #371 and #203 for more context on this rule's behavior.
One work around would be use an enum type for the parameter. This would prevent the rule from triggering.
OR
Use rule suppression - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingPlainTextForPassword", "PasswordAuthenticationContext")]

Looks like [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingPlainTextForPassword", "PasswordAuthenticationContext")] doesn't work. I'll open an issue to fix this.

Here is the issue #569


Catch load errors during inventory class constantization

There seems to be an issue with safe_constantize in activesupport 5.0.6 that causes a load error instead of returning nil if it can't find a file containing the constant. It's fixed in 5.0.7 as far as I can tell. This PR works around that issue by adding LoadError to the existing rescue block in parser_class_for and persister_class_for.
Part of the fix for https://bugzilla.redhat.com/show_bug.cgi?id=1570965

@miq-bot add_label gaprindashvili/yes

@mansam do you know who can review and merge. We're trying to get these blocker PRs merged asap.

@Ladas would you look at this one too, please? :)

@agrare It was trying to guess the persister class for ManageIQ::Providers::Openstack::StorageManager::CinderManager and failing because it looks for it at manageiq/providers/openstack/inventory/persister/cinder_manager. I'm feeling less confident about the root issue now though because although ManageIQ::Providers::Amazon::StorageManager::Ebs should have the same issue if that's the case, it just returns nil instead of throwing... I'm going to have to look further at this.


ZEPPELIN-837: Bring Bootstrap user auth dialog back

What is this PR for?
There were hotfix https://github.com/apache/incubator-zeppelin/pull/870 that encourage user use basic auth dialog instead of bootstrap auth dialog.
This issue will address bringing bootstrap auth dialog back.
What type of PR is it?
[Bug Fix]
Todos

[x] -  bringing bootstrap auth dialog back
[x] -  have a session timeout (optional)

What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-837
How should this be tested?
At the end of shiro.ini file
#/** = anon
/** = authc

Bootstrap user auth dialog should work as expected
Screenshots (if appropriate)
Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

CI fails #4080.4 with Failed to run task: 'npm install --color=false' failed.  which is un related.

Merging is no more discussion.


Missing  /datasets/HumanML3D/HumanML3D/test.txt'

Hello,
I'm trying to run the code, seems like there are still files missing.

Could you please upload it? BTW, if possible, could you please double check by running the two inference command on your end to ensure all the needed files are uploaded? Huge thanks in advance.

I can confirm the second command
python -m motion_to_mesh --ckpt_path ../weights/handle_predictor_latest.pth --motion_path ../demo/motion/motion_0.npz --tgt_mesh_path ../demo/mesh/001.obj --save_dir ../demo/results/001
works fine

I see the updated files, Thanks


Jellyfin user profile picture when using a reverse proxy

Description
When a Jellyfin external URL is set, the web interface should get the profile picture from the value instead of the internal URL.
Version
1.9.2
Steps to Reproduce

Go to /settings/jellyfin
Set External URL
Right clic and inspect on the current user dropdown at top right
Check the src attribute
Src attribute should be the Exernal URL set

Screenshots
No response
Logs
No response
Platform
desktop
Device
web
Operating System
web
Browser
Brave
Additional Context
No response
Code of Conduct

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

I can't reproduce this.
I have a different internal and external URL for Jellyfin, but Jellyseerr uses the correct external URL for Jellyfin avatars.

It already does this. It uses the external url. You will need to relogin for it to change.


Feature/provider consent check

This restored the reverted commits from pull request #275 via cherry-picks.


bug: global diagnostic config may be overwritten

https://github.com/chipsenkbeil/distant.nvim/blob/998724f62386c8022a4e6c885f4509cf9477451a/lua/distant-core/ui/window.lua#L314

@whitemoon I don't have any of the errors or issues you are listing. Are you saying there is an issue with using vim.diagnostic.config? What version of neovim are you using?
Editor Setup
If you want a reference for the setup I have for testing and development, here's what I've got:

For all tests, we use neovim 0.8.0 as a baseline.
On my local machine, I am using 0.9.0.
Lua language server version is 3.6.19.
neodev.nvim plugin at commit a2b1d8f.

@chipsenkbeil  I have configured diagnostics={virtual_text=false} in my own configuration, but  not effective, and underline is enable, but also not effective.
I tried to block one plugin at a time and found that this plugin caused it, so I guess the configuration in this plugin covered the global configuration. When I blocked the code, it would be fine.
neovim: nightly
neovim config: base on LazyVim
os version: archlinux

I'm having a related issue as well: when I load distant.nvim the diagnostics icons that I set in my config to appear next to the line numbers are not shown.
Without distant.nvim:

With distant.nvim:

As you can see, also the icons next to the virtual text are reset to default.
I am using vim.diagnostic.config to set those up.


Add rsync as a dep

Fixes the sh: 1: rsync: not found␊ issue in
https://github.com/aragon/aragon-cli/pull/459/checks?check_run_id=133193102

I may be wrong, but is rsync not available on windows natively as well?

I may be wrong, but is rsync not available on windows natively as well?

Nope, neither ps nor cmd. (and I think some linuxes too, or whatever GH Actions is running on)
Also, this package does not have have the rsync binary, so it still fails: https://github.com/aragon/aragon-cli/pull/459/checks?check_run_id=133266860
(I ran npx rsync and thought it works, but no... :face_with_head_bandage:)
Fixed it again here: https://github.com/aragon/aragon-react-boilerplate/pull/58


Multiple videos aren't playing

I have a collection of three videos on one page. The issues I'm having is that only one of them (the first of the three) is autoplaying. I'm using standard code here:
<script>
  $('video').get().forEach(makeVideoPlayableInline);
</script>

Try:
$('video').each(function() {
makeVideoPlayableInline(this, false);
});

I have multiple videos working on the same page but only on iphone 5, iphone 6 and up it just stops the site, doesn't move forward with the js. Can this be fixed?

Just to add to this my iphone 5 is ios 9.3.5 and iphone 6 and 7 are the latest version 10.

IIV is disabled automatically on iOS 10

Anyway of not disabling it? your implementation for ios 9 is better than apples it would seem. just wondering if that would solve the issue


Refactory of next_slot method

This PR:

Simplifies the implementation of next_slot method
Prevents slot worker to exit if inherent data provider creation fails.

Just an idea... maybe we can set an upper bound to the number of allowed failures?

Fixes warp sync test 0002 in https://github.com/paritytech/substrate/pull/13078

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2278930


Clean up disposing of backgrounded terminals

After reading through https://github.com/microsoft/vscode-remote-release/issues/7642#issuecomment-1532261303 and https://github.com/microsoft/vscode/pull/181365, I think we should move the disposal to _onWillShutdown, along side the disposal of this._terminalGroupService.instances:
https://github.com/microsoft/vscode/blob/0b55b8fc780c5f04291712d812fadca4eed78312/src/vs/workbench/contrib/terminal/browser/terminalService.ts#L651-L670
The problem with the current approach is that it's happening on before shutdown, meaning the shutdown may be vetoed (canceled) and the terminal will still get disposed.

maybe another code review to verify this one @Tyriar ?

This bug has been fixed in the latest release of VS Code Insiders!
@Tyriar, you can help us out by commenting /verified if things are now working as expected.
If things still don't seem right, please ensure you're on version fa8eefda18bf099d82b58453f8fe5d3010196fa0 of Insiders (today's or later - you can use Help: About in the command palette to check), and leave a comment letting us know what isn't working as expected.
Happy Coding!


Shiki.getHighlighter() never gets resolved on netlify build

The build fails, I think Shiki is taking too long to resolve.
Simple set up, using node v16.7.0 (npm v7.20.3)
//vite.config.ts

...,
Markdown({
  ...,
  markdownItSetup({
    md.use(Shiki, {
      theme: 'dracula'
    }
  })
})

let me know if anyone has any thoughts!

Can you share a minimal reproduction? Thanks.

So this is just your Vitesse, but I swap out Prism for Shiki. Check out the test repo.
Can load it up with
pnpm install && pnpm run build

Then you'll get the error:
[vite-plugin-pwa] Shiki.getHighlighter() never gets resolved

My way of fixing it, after reading through a lot of what remark-shiki-twoslash does, looks like this gist
Then inside of your vite.config.ts you'd have something like this:
import setupForMarkdownIt from 'markdown-it-shiki'

export default defineConfig(async () => {
  const Shiki = await setupForMarkdownIt({ theme: 'nord' })

  return {
    plugins: [
      Markdown({
        markdownItSetup(md) {
          md.use(Shiki, {
            theme: 'nord'
          })
        },
      }),
    ],
  }
})

Can you share a minimal reproduction? Thanks.

Another minimal reproduction
pnpm install && pnpm run build

FYI:
It will be OK if I changed this line that using fs.readFileSync instead of fs.promises.readFile.

const sleep = (n) => new Promise(resolve => setTimeout(resolve, n));
(async function () {
    while (true) {
      // After calling _deasync2.default.sleep(200), sleep(20) will never be resolved.
      await sleep(20)
      console.log('hello')
    }
})();

if (!_highlighter) {
    // Here can not be resolved too.
    _shiki.getHighlighter.call(_shiki, { themes, langs }).then((h) => {
      _highlighter = h;
    });
}

markdownit.options.highlight = (code, lang) => {
   if (!_highlighter) {
      debug("awaiting getHighlighter()");
      let count = 10000;
      while (!_highlighter) {
        _deasync2.default.sleep(200);
        count -= 1;
        if (count <= 0)
          throw new Error("Shiki.getHighlighter() never gets resolved");
      }
      debug("getHighlighter() resolved");
    }
   // ....
}


Fixed bmp_attach null pointer issue

Using an original BMP v2.1 connected to a SAM3X8C bmtrace crashes without any error messages.
A bit of debugging revealed it's caused by lack of null pointer checks in bmp-support.c:240 where it copies architecture into a null pointer.
This is a quick and dirty fix as I couldn't immediately see where the arch != NULL should be added.

The real bug is in the strlcpy() and strlcat() implementations. It has been fixed in commit 685b5377474e610848131e1b596fd0558e800fe9. Your fix works too, but it takes a variable (whose value isn't used).

I've confirmed your changes works so I'm closing my two pull requests. Thanks!


Västtrafik component: Access failure for API: /bin/rest.exe/v2, version: v2

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.45.1
Python release (python3 --version):
3.4.2
Component/platform:
Västtrafik Public Transport
Description of problem:
Error while setting up platform vasttrafik.
Expected:
Result from API Endpoint.
Problem-relevant configuration.yaml entries and steps to reproduce:
sensor vasttrafik:
  - platform: vasttrafik
    key: 'masked'
    secret: 'masked
    departures:
      - name: 'Mot järntorget'
        from: 'Musikvägen'
        heading: Järntorget
        delay: 10

Obtain key and secret from https://developer.vasttrafik.se/portal/#/applications
Run hass.
Check error log.
Traceback (if applicable):
2017-06-02 13:40:47 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform vasttrafik
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 155, in _async_setup_platform
    entity_platform.schedule_add_entities, discovery_info
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/sensor/vasttrafik.py", line 58, in setup_platform
    departure.get(CONF_DELAY)))
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/sensor/vasttrafik.py", line 70, in __init__
    self._departure = planner.location_name(departure)[0]
  File "/home/homeassistant/.homeassistant/deps/vasttrafik/journy_planner.py", line 84, in location_name
    input=name)
  File "/home/homeassistant/.homeassistant/deps/vasttrafik/journy_planner.py", line 151, in _request
    str(res.content))
vasttrafik.journy_planner.Error: Error: 403b'{"fault":{"code":900908,"message":"Resource forbidden ","description":"Access failure for API: /bin/rest.exe/v2, version: v2"}}'

Additional info:
Same issue as in #6478.

Hi,
Have you checked this first: https://community.home-assistant.io/t/anyone-using-vasttrafik-component/9989/3

Hi,
Ah. Great and thanks! Works as expected once I've setup my vasttrafik application with the reseplanerare prenumeration. This issue can be closed for 0.45.1.


FluWindow scrollbar

Does FluWindow allow a FluScrollBar? Under a root flickable type such as ScrollView it is rendered in top left corner.

Made it with a content data of ScrollView, anchored to the parent and set anchors for the scrollbar variables.


machswap2 exploit failed on iPhone 5S (b48)

I tried M2 exploit for 6th time and failed at 2/38 everytime, M1 works fine (duh) but i want to be able to use M2 too for a faster jailbreak.
iOS version: 11.3.1
(Maybe) Conflicted Tweak: Sileo for unc0ver (Sileo port make by Diatrus but he/she stated that it's safe)

the same happen on iOS 12.1.2 5s. stuck at 2/38 and phone just reboot.

The same happened with the iPhone X on 12.1

6sp 12.1.1 too

Same happening with me iPhone 5s iOS 12.1

I tried M2 exploit for 6th time and failed at 2/38 everytime, M1 works fine (duh) but i want to be able to use M2 too for a faster jailbreak.
iOS version: 11.3.1
(Maybe) Conflicted Tweak: Sileo for unc0ver (Sileo port make by Diatrus but he/she stated that it's safe)

But M1 is already pretty fast, don't believe anything could be faster than that.

Same - iPhone6,2 (N53) | 12.1.2 [16C104]

But M1 is already pretty fast, don't believe anything could be faster than that.

Yes, but less offset = faster jailbreak (in theory)


CS 2.1.2 works for empty multipart complete

As test for https://github.com/basho/riak_cs/pull/1304 and https://github.com/basho/riak_cs/issues/1100

+1 2e567ff

Unfortunately no @borshop enabled here.


Use semantic release

Description
Updates master to make a release with semantic release
Breaking Changes
None

:tada: This PR is included in version 8.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


:bug: Update indirect Dependency location

Updating dependency incident location lookup for indirect dependencies to point to "parent" dependency location. E.g. for maven-javax-to-jakarta-00002 rule.
Replaces https://github.com/konveyor/analyzer-lsp/pull/532
Related to https://issues.redhat.com/browse/MTA-2006

Thanks for review @pranavgaikwad, will update!


Add vectorization to experimental features list

... along with some context about what the feature is, how it works (by
linking to George's blog post), and a list of current limitations.
Fixes #4953.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/a9867da7638869a03dc4f4dcac5321397b14ca6f/
Edited pages:

v19.2/experimental-features.md

@asubiotto hoping for your review since you had commented on the issue for this.  In particular, please let me know:

If you have a different / better description of the feature
If you can think of other limitations users should be aware of before turning it on.  Also, should the language be more or less scary than what I have so far? :-)
If anything is missing or incorrect in general

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/4444f02d174d7850fddc5d1e89861f510ae73032/
Edited pages:

v19.2/experimental-features.md

Thanks for the review Alfonso!
Jordan, I'll let this sit a bit before sending along to Docs team in case you would like some changes.  Thanks!

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/5f86a5ec9b12215e9f5a98b6f231745929f361e0/
Edited pages:

v19.2/experimental-features.md


Hello! Pls help me!

(venv) C:\Users\Administrator\Desktop\silero-webui>python app.py
Running on local URL:  http://<IP_ADDRESS>:7861

To create a public link, set `share=True` in `launch()`.
[nltk_data] Downloading package punkt to
[nltk_data]     C:\Users\Administrator\Desktop\silero-webui...
[nltk_data]   Package punkt is already up-to-date!
Using cache found in C:\Users\Administrator/.cache\torch\hub\snakers4_silero-models_master
Traceback (most recent call last):
  File "C:\Users\Administrator\Desktop\silero-webui\venv\lib\site-packages\gradio\queueing.py", line 406, in call_prediction
    output = await route_utils.call_process_api(
  File "C:\Users\Administrator\Desktop\silero-webui\venv\lib\site-packages\gradio\route_utils.py", line 217, in call_process_api
    output = await app.get_blocks().process_api(
  File "C:\Users\Administrator\Desktop\silero-webui\venv\lib\site-packages\gradio\blocks.py", line 1553, in process_api
    result = await self.call_function(
  File "C:\Users\Administrator\Desktop\silero-webui\venv\lib\site-packages\gradio\blocks.py", line 1191, in call_function
    prediction = await anyio.to_thread.run_sync(
  File "C:\Users\Administrator\Desktop\silero-webui\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync
    return await get_async_backend().run_sync_in_worker_thread(
  File "C:\Users\Administrator\Desktop\silero-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2134, in run_sync_in_worker_thread
    return await future
  File "C:\Users\Administrator\Desktop\silero-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 851, in run
    result = context.run(func, *args)
  File "C:\Users\Administrator\Desktop\silero-webui\venv\lib\site-packages\gradio\utils.py", line 659, in wrapper
    response = f(*args, **kwargs)
  File "C:\Users\Administrator\Desktop\silero-webui\app.py", line 79, in generate
    torchaudio.save(output_file, audio, params['sample_rate'])
  File "C:\Users\Administrator\Desktop\silero-webui\venv\lib\site-packages\torchaudio\_backend\utils.py", line 311, in save
    backend = dispatcher(uri, format, backend)
  File "C:\Users\Administrator\Desktop\silero-webui\venv\lib\site-packages\torchaudio\_backend\utils.py", line 221, in dispatcher
    raise RuntimeError(f"Couldn't find appropriate backend to handle uri {uri} and format {format}.")
RuntimeError: Couldn't find appropriate backend to handle uri output.wav and format None.

And also where I should put other models? I wanna use other language models but I can't becuz don't know where I should put it

I made some commits so that it might work now.

And also where I should put other models?

You don't.
I have it configured to use the English "v3_en" model.
Although, you should be able to manually input the speaker, language and model id in the params variable.
You could see what available here: https://github.com/snakers4/silero-models#models-and-speakers

Have you tried pip install soundfile. this fixed the issue for me. if it didn't work restart the pc.

Hello to every1, I'ma stopped using silero, but thx u all, I appericiate it :)


whos turn is it?

it is unclear who's turn it is when the game starts.

Oh yeah that can be a nice addition! Thanks for the idea! :slightly_smiling_face:

I have created a pull request that address's this issue

@ketanhwr
Is this issue still open?
I would Love to contribute to it


CalendarModal Issue

Thanks for this library. I am getting CalendarModal is not defined error. Where should i add CalendarModal? i am adding button from react

i added Modal from reactstrap but i dont have cancel button in my model and i could not close the modal :( what should i do ?

I’m not sure what you mean. Can you post a code example or screenshot of your issue? Steps to reproduce would be helpful too.
Please use the bug report template:
# Bug report

## Describe the bug

A clear and concise description of what the bug is.

## To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

## Expected behavior
A clear and concise description of what you expected to happen.

## Screenshots
If applicable, add screenshots to help explain your problem.

## System information
 - OS: [e.g. macOS, Windows]
 - Browser (if applies) [e.g. chrome, safari]
 - Version of Library: [e.g. 1.0.1]

## Additional context

Add any other context about the problem here.

i handled thank you!


Add submitter information to allrecipes.com

Coverage decreased (-1.3%) to 95.109% when pulling 53c55fc66234e7ec3252dd41da3bbfc2ba260cf7 on za3k:master into 06f80529cf5bdb8ba642a6b71e1f3b88de1de6d7 on hhursev:master.

Coverage decreased (-2.06%) to 94.34% when pulling 1941e2168b056802e352d3575882b9ebc85f51c4 on za3k:master into 06f80529cf5bdb8ba642a6b71e1f3b88de1de6d7 on hhursev:master.