Cookie Consent Dialog

Original site uses https://www.cookieyes.com/product/cookie-consent/

cookie consent has no license for commercial use, paid plan: https://medium.com/sandstreamdev/gdpr-compliant-cookie-consent-f6655fa1b5af

internationalization: use the placeholders. The fetchPlaceholders function accepts a prefix parameter which would be your locale (see example).

with customer consent, trying this library first: https://github.com/sandstreamdev/cookieconsent

Added german translations for cookie consent:

A few comments:

Dialog box doesn't close when I click on the text "Zustimmen"
After I click on "Zustimmen" I do not see anything saved in none of the local/session storages or cookie
Design of the consent dialog doesn't look like the original one


CISA Data Importer via GitHub Repo- Added

Add CISA GOV Vulnrichment Importer
This pull request adds a new importer for the CISA GOV Vulnrichment dataset. The importer fetches vulnerability data from the CISAGOV/vulnrichment GitHub repository and imports it into our database.
Related Issue
Closes #1475
Changes

Added a new VulnrichImporter class in vulnerabilities/importers/cisagov.py
Implemented methods to fetch and parse advisory data from the CISAGOV GitHub repository
Added deduplication logic to prevent unnecessary updates to existing records
Integrated the new importer with the existing import system

How to Use
To use the new importer, run the following management command:
python manage.py import vulnerabilities.importers.vulnrichment.VulnrichImporter
This command will fetch the latest data from the CISAGOV/vulnrichment repository and import it into the database.
Features

Fetches vulnerability data from the CISAGOV/vulnrichment GitHub repository
Parses CVE data, including CVE ID, summary, references, and weaknesses
Extracts severity scores
Implements content-based deduplication to avoid unnecessary updates
Logs skipped advisories for transparency

Testing

Tested the importer with a sample dataset from the CISAGOV repository
Verified that duplicate entries are not created when running the importer multiple times
Checked that updates are only applied when the advisory content has changed

Additional Notes

The importer uses the GitHub API to fetch repository content. Ensure that the necessary API rate limits are considered for production use.
The GITHUB_API_BASE, REPO_OWNER, REPO_NAME, and BRANCH constants in the importer can be adjusted if the source repository changes in the future.

Please review and let me know if any changes or additional information is needed.

@keshav-space should we now instead use the new importer pipeline approach?

@pombredanne yes, we have a decent number of pipelines here https://github.com/aboutcode-org/vulnerablecode/tree/main/vulnerabilities/pipelines, and there is a brief instruction on how to write a pipeline here https://github.com/aboutcode-org/vulnerablecode/pull/1589#discussion_r1756470589. I still need to add this to our tutorials in Read the Docs.


Reload page on any changes to the views & src directory

How can I live reload server on any changes to the views plus src directory?

You don't need to reload the server when you make changes to the views, they are always used from the file system.

Sorry I ment reload the browser automatically after a change has been made to any views.

You can use some module like livereload or easy-livereload

I will try that thanks.


DO NOT MERGE - test gh action security

Do bad things to test gh action security

Hurray! We can't use secrets in gh actions that accept forked PRs.


HyperRef from the code example does not exist in the module

https://github.com/jtc42/fastapi-hypermodel/blob/main/examples/simple_app.py
as described at this link, there should be a HyperRef to import from the fastapi_hypermodel module.
The provided example cannot work with that object missing and the examples are not updated.
Can these examples be updated or can someone give me an insight on how to use this module to create links when accessing resources?

Hey, thanks for flagging this! I must have forgotten to update the example file.
If you check the example now, I've fixed the bad import, added some extra examples (e.g. the LinkSet class), and added some comments.
https://github.com/jtc42/fastapi-hypermodel/blob/main/examples/simple_app.py
Hopefully that's an improvement, but if you still have issues let me know. Proper docs are on the todo list as soon as I get chance. It's a simple library so really shouldn't be taking me long....

Hey there!
The links seem to not be generated whenever I create a model entity with the from_orm method.
I'm not sure if I understood how to use this module properly.
class Book(BaseModel):
    isbn: str
    title: str
    publisher: str
    year_of_publishing: int
    genre: str

    links = LinkSet(
        {
            "self": UrlFor("get_book", {"isbn": "<isbn>"}),
            "books": UrlFor("get_books"),
        }
    )

    class Config:
        orm_mode = True

[..]
response_body = Book.from_orm(db_response.payload)
json_data = jsonable_encoder(response_body.__dict__)
return JSONResponse(content=json_data, status_code=status_code)

Response would be:
{
    "isbn": "1232914851245",
    "title": "STR",
    "publisher": "STR",
    "year_of_publishing": 2009,
    "genre": "str",
    "links": {
        "self": "",
        "books": ""
    }
}

Interesting. In your FastAPI route function, are you populating the response_model argument?
I'm obviously missing some context here, but I'm curious why you're calling
json_data = jsonable_encoder(response_body.__dict__)
return JSONResponse(content=json_data, status_code=status_code)

Rather than just returning Book.from_orm(db_response.payload) and using FastAPI response_model to JSON-ify the response?

Something like this?
[...]
from fastapi import Response, status
[...]

@router.get("/book/{isbn}", response_model=Book)
def book_list( isbn: str, response: Response ):
    db_response = [...]
    status_code = [...]

    response.status_code = status_code

    return db_response.payload

Rewrote the code like this:
@app.get("/api/bookcollection/books/{isbn}", status_code=status.HTTP_200_OK, response_model=Book)
def get_book(isbn: str, response : Response):
    """
    Method that handles a DELETE request for a book by the ISBN code.
    """
    db_response = get_book_by_isbn(str(isbn))
    response_body = ''
    if db_response.error:
        status_code = status.HTTP_500_INTERNAL_SERVER_ERROR
        response_body = ErrorDto(status_code, str(db_response.error), 'EXCEPTION')
    elif not db_response.completed_operation:
        status_code = status.HTTP_404_NOT_FOUND
        response_body = BOOK_NOT_FOUND_BODY
    else:
        status_code = status.HTTP_200_OK
        response_body = Book.from_orm(db_response.payload)

    response.status_code = status_code
    return response_body

I'm aware currently the method is flawed because of those errorDto assignments, but still, when I call this method through postman I receive the following body:
{
    "isbn": "9780511623585",
    "title": "Principia Mathematica",
    "publisher": "Whitehead",
    "year_of_publishing": 1910,
    "genre": "Science",
    "links": {
        "self": "",
        "books": ""
    }
}

These talks are unrelated to this open issue, I'm sorry for the spam but I'm not aware how to get the links working.

I just wrote out a massive long comment going through a bunch of debug steps before I realised...
Replace
class Book(BaseModel):
    [...]

with
class Book(HyperModel):
    [...]

That indeed seems to have solved it.
 Good luck with the project!


feat: introduce token supply in native token init

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 2 (100.0%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.06%) to 78.894%

Files with Coverage Reduction
New Missed Lines
%

contracts/root/CheckpointManager.sol
1
96.81%

Totals

Change from base Build<PHONE_NUMBER>:
-0.06%

Covered Lines:
1337

Relevant Lines:
1639

💛  - Coveralls


No dev dependecies are installed

When I run nox my tests cannot be run because the dev dependencies listed in pyproject.toml are not installed. I expect the line
#noxfile.py
...
    session.install(".")
...

installs all dependencies (including dev ones).
In order to have dev dependencies installed, I have to explicitly install them in session, eg:
#noxfile.py
...
    session.install(".")
    session.install("aiounittest")
...

Installing the dev dependencies manually is not a good idea because I need to keep the pyproject.toml as the single source of truth.
However, in the requirements file created per each environment the dev dependencies are listed, eg:
#.nox/tests-3-6/tmp/requirements.txt
...
aiounittest==1.4.0; python_version >= "3.6" and python_version < "3.8"
...

but it seems they are not installed.
Below I highlight my setup:
Packages installed at system level:

poetry
nox
nox-poetry

#pyproject.toml

[tool.poetry.dependencies]
python = "^3.6"
httpx = "^=0.16.1"
typing-extensions = {version = "^3.7.4", python = "~3.6 || ~3.7"}

[tool.poetry.dev-dependencies]
coverage = {extras = ["toml"], version = "^5.1"}
docker = "^=4.4.1"
black = "^=20.8b1"
aiounittest = {version = "^1.4.0", python = "~3.6 || ~3.7"}

#noxfile.py

import nox
import nox_poetry.patch  # noqa
from nox.sessions import Session

@nox.session(python=["3.6", "3.7", "3.8", "3.9"])
def tests(session: Session) -> None:
    session.run("pip", "--version")
    session.run("pip", "install", "pip==20.2.4")
    session.run("poetry", "lock")
    session.install(".")
    session.run("python", "-m", "unittest")

Run nox:
$ nox
nox > Running session tests-3.6
nox > Creating virtual environment (virtualenv) using python3.6 in .nox/tests-3-6
nox > pip --version
pip 20.3.1 from [...]/.nox/tests-3-6/lib/python3.6/site-packages/pip (python 3.6)
nox > pip install pip==20.2.4
Collecting pip==20.2.4
  Using cached pip-20.2.4-py2.py3-none-any.whl (1.5 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 20.3.1
    Uninstalling pip-20.3.1:
      Successfully uninstalled pip-20.3.1
Successfully installed pip-20.2.4
nox > poetry lock
nox > Warning: poetry is not installed into the virtualenv, it is located at /[...]/.local/bin/poetry. This might cause issues! Pass external=True into run() to silence this message.
Updating dependencies
Resolving dependencies... (8.3s)
nox > poetry build --format=wheel
nox > pip uninstall --yes file:///[...]/dist/my_project-0.1.0-py3-none-any.whl#sha256=7b37d980135517485e27d2763a766a9b95bba1d54d2d2cdcb38bafc66d03fe92
nox > poetry export --format=requirements.txt --output=.nox/tests-3-6/tmp/requirements.txt --dev --without-hashes
nox > python -m pip install --constraint=.nox/tests-3-6/tmp/requirements.txt file:///[...]/dist/my_project-0.1.0-py3-none-any.whl#sha256=7b37d980135517485e27d2763a766a9b95bba1d54d2d2cdcb38bafc66d03fe92
nox > python -m unittest
[...]
ModuleNotFoundError: No module named 'aiounittest'

#.nox/tests-3-6/tmp/requirements.txt

aiounittest==1.4.0; python_version >= "3.6" and python_version < "3.8"
appdirs==1.4.4; python_version >= "3.6"
black==20.8b1; python_version >= "3.6"
certifi==2020.12.5; python_version >= "3.6"
click==7.1.2; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
contextvars==2.4; python_version < "3.7" and python_version >= "3.6"
coverage==5.3.1; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0" and python_version < "4")
dataclasses==0.8; python_version >= "3.6" and python_version < "3.7"
docker==4.4.1; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0")
h11==0.12.0; python_version >= "3.6"
httpcore==0.12.2; python_version >= "3.6"
httpx==0.16.1; python_version >= "3.6"
idna==3.1; python_version >= "3.6"
immutables==0.14; python_version < "3.7" and python_version >= "3.6"
mypy-extensions==0.4.3; python_version >= "3.6"
pathspec==0.8.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
pywin32==227; python_version >= "2.7" and python_full_version < "3.0.0" and sys_platform == "win32" or python_full_version >= "3.5.0" and sys_platform == "win32"
regex==2020.11.13; python_version >= "3.6"
requests==2.15.1; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
rfc3986==1.4.0; python_version >= "3.6"
six==1.15.0; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
sniffio==1.2.0; python_version >= "3.6"
toml==0.10.2; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version < "4" and python_version >= "3.6"
typed-ast==1.4.2; python_version >= "3.6"
typing-extensions==<IP_ADDRESS>; python_version >= "3.6" and python_version < "3.8" or python_version >= "3.6"
websocket-client==0.57.0; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
wrapt==1.12.1; python_version >= "3.6" and python_version < "3.8"

Hi @devtud thank you for this feedback!
As you noticed, the current behavior of session.install(".") is to install only dependencies that appear in the metadata of the distribution package built by Poetry for your project, which excludes development dependencies. This is by design. It allows you to have isolated environments for your automated tasks. For example, you don't need to install documentation generators into an environment that is used for type checking. This is also what would happen in your Nox session if you did not have nox-poetry installed. The main reason for having nox-poetry is not to use Poetry as an installer rather than pip. It is to make Nox and pip honor Poetry's lock file, while keeping everything else as much the same as possible.
That said, if you prefer to use Poetry as an installer and install all development dependencies into each session, you can simply use session.run("poetry", "install", external=True) in your noxfile. In that case, you won't need nox-poetry at all.
The README has some more information about this in the section titled "Why?".
I'm going to close this for now, but feel free to reach out if you have any further questions.

Hi @devtud thank you for this feedback!
As you noticed, the current behavior of session.install(".") is to install only dependencies that appear in the metadata of the distribution package built by Poetry for your project, which excludes development dependencies. This is by design. It allows you to have isolated environments for your automated tasks. For example, you don't need to install documentation generators into an environment that is used for type checking. This is also what would happen in your Nox session if you did not have nox-poetry installed. The main reason for having nox-poetry is not to use Poetry as an installer rather than pip. It is to make Nox and pip honor Poetry's lock file, while keeping everything else as much the same as possible.
That said, if you prefer to use Poetry as an installer and install all development dependencies into each session, you can simply use session.run("poetry", "install", external=True) in your noxfile. In that case, you won't need nox-poetry at all.
The README has some more information about this in the section titled "Why?".
I'm going to close this for now, but feel free to reach out if you have any further questions.

I have a use case where I think I need to install dev-dependencies

I have a main package calcipy that defines extras and uses those extras in nox-poetry
Each package built on calcipy has both a dependency and a dev-dependency (where the latter specifies extras from calcipy)
This way, calcipy can bootstrap a project with minimal core functionality and development-only testing and static analysis

As an example, my project recipes has a poetry section like this (full file)
[tool.poetry.dependencies]
python = "^3.9"
calcipy = "^0.3"

[tool.poetry.dev-dependencies]
calcipy = { version = "^0.3", extras = ["dev", "lint", "test", "commitizen_legacy"] }

The problem is that I want to use nox-poetry to test different Python versions, but I can't define calcipy as a both a development dependency and an optional extra (or at least that doesn't possible), so I don't have a way to install the calcipy extras with nox-poetry, unless I go around and use external poetry instead (which I've done as a temporary workaround)

What happens if￼ you do this?
session.install(".", "calcipy[dev,lint]")

Awesome, that seems to work!
https://github.com/KyleKing/calcipy/commit/28915463ab89d7be5cd8c7324740f4b0fd0163af


[SPARK-27990][SQL][ML][WIP] Provide a way to recursively load data from datasource

What changes were proposed in this pull request?
Provide a way to recursively load data from datasource.
I add a "recursive" option.
When "recursive" option turn on, then partition inferring is turned off and all files from the directory will be loaded recursively.
If some datasource explicitly specify the partitionSpec, then if user turn on "recursive" option, then exception will be thrown.
How was this patch tested?
To be added. This is a version for first review.
Please review https://spark.apache.org/contributing.html before opening a pull request.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/11594/
Test PASSed.

Test build #106348 has started for PR 24830 at commit 1003e5d.

Test build #106348 has finished for PR 24830 at commit 1003e5d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/106348/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/11810/
Test PASSed.

Test build #106570 has started for PR 24830 at commit 784e63b.

Test build #106570 has finished for PR 24830 at commit 784e63b.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/106570/
Test FAILed.

Jenkins, retest this.

Jenkins, retest this please.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/11821/
Test PASSed.

Test build #106583 has started for PR 24830 at commit 784e63b.

Test build #106583 has finished for PR 24830 at commit 784e63b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/106583/
Test PASSed.

cc @gengliangwang @cloud-fan

@cloud-fan @gengliangwang It would be great if you can make a pass. The PartitioningAwareFileIndex APIs do not seem to me to have clear semantics defined. So I'm not 100% sure the approach @WeichenXu123 took is correct.

Nit: Please update the PR description

"recursive" option => "recursiveFileLookup" option
update the "How was this patch tested?" section.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/11857/
Test PASSed.

Test build #106621 has started for PR 24830 at commit d5090b0.

Test build #106621 has finished for PR 24830 at commit d5090b0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/106621/
Test PASSed.

@cloud-fan @gengliangwang PR updated. Thanks!

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/11867/
Test PASSed.

Test build #106630 has started for PR 24830 at commit 5251ac7.

Test build #106630 has finished for PR 24830 at commit 5251ac7.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/106630/
Test FAILed.

Test build #106648 has started for PR 24830 at commit 0072083.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/11882/
Test PASSed.

Test build #106648 has finished for PR 24830 at commit 0072083.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/106648/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/11891/
Test PASSed.

Test build #106656 has started for PR 24830 at commit 6f2e75a.

Test build #106656 has finished for PR 24830 at commit 6f2e75a.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/106656/
Test FAILed.

retest this please.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/11900/
Test PASSed.

Test build #106665 has started for PR 24830 at commit 6f2e75a.

Test build #106665 has finished for PR 24830 at commit 6f2e75a.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/106665/
Test FAILed.

retest this please.

Test build #106672 has started for PR 24830 at commit 6f2e75a.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/11906/
Test PASSed.

Test build #106672 has finished for PR 24830 at commit 6f2e75a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/106672/
Test PASSed.

thanks, merging to master!

Sorry to late revisit and post-hoc reviewing. There's no document for this feature so I feel it's better to ask here; what's expected behavior if we have glob in source path like /a/b/c/*/e and turn on this feature? Does Spark read all possible paths in /a/b/c/*/e?
Btw, I guess this is related to SPARK-20568 - previously we could assume the possible depths of source file based on the source path (even if it contains glob) to avoid checking the pattern, and this patch may expand the upper bound of depths as infinity. There's no problem, but just wanted to confirm my understanding is correct.


Fixed CreateTextItem method

I honestly don't know why the method wasn't working but now it does.
Also I added COLLATE NOCASE for the ReadAllTextItemsOrderedByDescription method because I noticed SQL was ordering weirdly.

Tested and this works well. Great work. Simple fix for something that I was struggling with.


Incomplete Document

Hi - It appears this document was not completed as it's still templated with generic wording.
I was hoping to find the cmdlet to remove a custom Caller ID Policy from a user and set the user back to the Global Caller ID Policy, in Teams.

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

ID: 66b449b4-d67e-2503-90e1-fd451c741458
Version Independent ID: 67e38702-5ad0-3743-07a2-2e91bcaafde7
Content: Remove-CsCallingLineIdentity (skype)
Content Source: skype/skype-ps/skype/Remove-CsCallingLineIdentity.md
Service: skypeforbusiness-powershell
GitHub Login: @tomkau
Microsoft Alias: tomkau

@officedocsbot assign @yogkumgit

@dariomws306  Thank you very much for the contribution and updating the documentation with PR. @Chris8au Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


bug - switch to previous / next editor not working (CTRL [+SHIFT] + F6)

System information:

Ubuntu 16.04.6 LTS
DBeaver version <IP_ADDRESS>904211926
Java version OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-2ubuntu<IP_ADDRESS>-b12)

Connection specification:
not relevant
Describe the problem you're observing:
cant switch between editors with ctrl + F6 / ctrl + shift + F6 - nothing happens
only ctrl+pageup/pagedown is working
Steps to reproduce, if exist:
above
Include any warning/errors/backtraces from the logs
no error nothing happens..

this was OK till this version update, i'm usually updating as it comes out. not sure what was the previous build specifically though... might have missed few days.

Maybe something went wrong during multiple version upgrades.
You could try to reset UI settings:

Still no bueno.. :(

remove entirely and reinstall? not sure it'll do anything..

No, you don't need to reinstall. If UI settings reset doesn't help then it is caused by something else.
You can check Preferences->General->Keys for F6 key.
Or maybe it conflicts with some OS keybinding.

Couldn’t find anything, tried to bind it to something else – still nothing..

nothing.... checked os shortcuts, and it works in all other apps (chrome etc)
this is really annoying. :(

could it be any dependency related? like GTK or something?

This is related to update to 2019-03 Eclipse plugins, IMO. I've experienced the same behaviour in Eclipse IDE.
I submitted a bug request, which has since been fixed and should be distributed with 2019-06 (to be released ~2019-06-19). So, if possible and there are no other regressions, updating DBeaver to use libs from 2019-06 should fix this.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=544498

is this something i can do? or this has to be done via DBeaver version? (not interested in downloading sources and recompiling DBeaver :))

After upgrading to 6.1.5, which is based on Eclipse 2019-06 (where the aforementioned bug has been fixed), the switching to previous/next editor works again for me.

yes i confirm it's ok now.


Left arrow navigation issues-  NT beg point to  OT end .  Chapter beg should point to Previous book last chapter

Enhancement /Suggestion: -
It would be better if left arrow is enabled to navigate from
first chapter of a book to last chapter of the previous book - Mark 1 to Matthew 28
ii )Also ,it would be better if beginning of NT ie Matthew 1 points to last chapter of OT ie Malachi
Steps:
Open any version - Hindi IRV-
Select the last chapter of OT in Malachi
Observation:
It is not possible to navigate from Matthew 1st chapter to last chapter of Malachi.
Expected :
Displaying a left arrow would help navigate from first chapter of a book to last chap of previous book
Displaying a left arrow should help navigate from NT beginning to OT end

We are taking it as enhancement for 1.3.0


Expose addSourcePaths function for directory dependencies

This adds fun addSourcePaths(sourcePaths: Any) to the plugin's extension. It can be used when including source directories for generated code, which often come as FileCollections with task dependencies. Using a ConfigurableFileCollection as a task input lets us automatically run those dependency tasks when applicable.
A practical example is including a KotlinSourceSet's source directories in the signature file:
metalava {
  val consumerSourceSetNames = setOf("androidMain", "desktopMain")
  val kotlinSourceFileCollection = files(paths = emptyArray<Any>()) {
    consumerSourceSetNames
      .flatMap {
        val sourceSet = kotlin.sourceSets.getByName(it)
        sourceSet.dependsOn + sourceSet
      }
      .forEach { from(it.kotlin.sourceDirectories) }
  }

  addSourcePaths(kotlinSourceFileCollection)
}

This will ensure even generated code properly gets seen by Metalava.

Superceded by #31, which handles this in a less manual way. Technically less flexible, but I can't think of any use cases for adding a source path that isn't on the compile classpath.

Actually, reopening since this would currently be the only way to add a directory that isn't named "java"/"kotlin". That restriction is a bit unexpected.


fix: Footer LinkList type

Hi @arnaudambro,
This typing was meant to enforce the usage rules defined by the DSFR design team.
Could you give an usage example where this typeing is an issue.
Thanks in advance

Oh OK :)
It's just that the limit looked weird - and I was going to put the list of all our startups in it (la Fabrique des ministères sociaux), which are close to 20
But if this is the requirement, then... 🫡


Additional Variants

more of a question than an issue.
Do you mind if people release variants of this node with different .json files.
I have a version with Fooocus styles included and would like to post it on git but only if you don't mind - I would link back to your original if you agree.
thanks
Mokkaboss1

I have nothing against that, feel free!

many thanks


Control the camera Exposure / AutoExposure

Hi,
Is there a way to control the native camera properties like Exposure / AutoExposure using Sceneform. I cannot seem to find any way to access the camera and change its properties. I am trying to get a fixed exposure for multiple pixelCopy screenshots for a feature during a given AR session so that they look consistent.
Thanks!

Thanks for the request.
This is being tracked in the ARCore Android SDK here: https://github.com/google-ar/arcore-android-sdk/issues/153


Improve Ballerina crash log implementation

Ballerina crash logs use Java.util logging framework. Logging properties file is bundled with the ballerina-logging jar file. I see no reason to have separate properties file as we expect no one to modify it. There we can hard-code these properties and their values in the code itself to clean up the implementation.
Here is the PR which was merged
https://github.com/ballerina-platform/ballerina-lang/pull/7862

In https://github.com/ballerina-platform/ballerina-lang/pull/18323/files we are creating the crash logger on demand. We use the logging.properties for console logging now. Having the logging.properties is useful for them since they can use it to fine-tune their standard library based logging.


Command is not correct

The command should be "python preprocess.py -d movie"?

Hi! Thanks for your reminder. I fixed the mistake just now.


Update to the latest lean and mathlib versions

Putting up for now to let CI test this.
The main change here is that semimodule is gone, and now called module. This is especially convenient given a reviewer's confusion about what semimodule meant in our paper!

Whoops, CI doesn't run on forks - moved to #24


add zu.json() and zu.jsonString()

This PR adds two of the utilities I mentioned in #2. I'm happy to add more if you like.

is there a way to merge this to a dev branch instead? That way I can play around with it before merging to main

I figured it out


add valid language-service slug

FYI @aahill @mtrilbybassett

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


Add MultiDeco v4.14.0

If there’s a checkbox you can’t complete for any reason, that's okay, just explain in detail why you weren’t able to do so.
After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if adding a new cask:

[x] Named the cask according to the token reference.
[x] brew cask install {{cask_file}} worked successfully.
[x] brew cask uninstall {{cask_file}} worked successfully.
[x] Checked there are no open pull requests for the same cask.
[x] Checked the cask was not already refused in closed issues.
[x] Checked the cask is submitted to the correct repo.

One question however remains: For the download to work consistently I had to change the timestamp in the URL to 2 minutes in the past. Is this acceptable or is there a better solution?

For the download to work consistently I had to change the timestamp in the URL to 2 minutes in the past. Is this acceptable or is there a better solution?

That’s certainly unorthodox. Not entirely comfortable accepting the cask, but not seeing a strong reason to refuse it, either.
I removed the caveat since it does not pertain to the installation itself.

Checksum has changed.
==> Verifying checksum for Cask multideco
==> Note: running "brew update" may fix sha256 checksum errors
audit for multideco: failed
 - download not possible: Checksum for Cask 'multideco' does not match.

Expected: 697321e2448e06d60d1029d5421164c5a83b5bb560c2d549d08b6ba67697ca25
Actual:   3e4e607e4355ebedcc84ce603ad7f90463a82c608451ce9a39ed9635adda934d
File:     /Users/travis/Library/Caches/Homebrew/Cask/multideco--4.14.0.dmg&keytag=1538541&qwerty=1501390035&os=mac_intel

The keytag number also changes.
Seems to me like this website is going through a whole lot of trouble to making the download non-curlable.
I think we need to refuse it for now. @rkoch If you’re willing to talk to upstream and they give a better solution, we can try again. Thank you for the contribution.

I will try to find a better solution and reopen if is stable enough.
Thank you for your support and sorry for the troubles :)


support Scala 2.13.0-M1

@non

#51

(this is a dependency of specs2, which in turn large swathes of the ecosystem depend on)

I'll go ahead and publish now. Sorry for the delay everyone.

Just released 0.9.4 which supports Scala 2.13.0-M1.


Clean rendering code specifically around DrawMark

This one is heavily dependent on the work on ColonistDrawer patch (#15) i did earlier. It is based off of that branch as well so either review that one first or skip it
Essentially this branch started as cleaning functions (making them more readable and exit as early as possible instead of checking everything then exiting), but then quickly evolved into applying the same changes ColonistDrawer patch has but for the marks. I do cache the trait check so pawns only scan their traits every 5 seconds rather than every time. While I don't see any particularly large tps gains, I do notice that I am getting a couple frames back it feels like. I did not do benchmarking though. My strategy this time was just to make the code more readable at a glance.

Accepted:
LevelUpSkill_ is only ever reference in the old magic/might draw tabs, but are actually never used - both the old draw methods and LevelUpSkill in the comps needs to be removed altogether.
I think you settled on using the string/ThingID instead of the int/thingIDNumber, but let me know if that's not the case
Some names changed (eg CompAbilityUserMagicMightBase -> CompAbilityUserTMBase)


Fix handling of parse and missing value errors

archaius-pull-requests #173 FAILURE
Looks like there's a problem with this pull request

NetflixOSS » archaius » archaius-pull-requests #6 FAILURE
Looks like there's a problem with this pull request

archaius-pull-requests #174 SUCCESS
This pull request looks good

NetflixOSS » archaius » archaius-pull-requests #7 SUCCESS
This pull request looks good

archaius-pull-requests #180 FAILURE
Looks like there's a problem with this pull request

NetflixOSS » archaius » archaius-pull-requests #12 FAILURE
Looks like there's a problem with this pull request

archaius-pull-requests #181 SUCCESS
This pull request looks good

NetflixOSS » archaius » archaius-pull-requests #13 SUCCESS
This pull request looks good

archaius-pull-requests #182 FAILURE
Looks like there's a problem with this pull request

NetflixOSS » archaius » archaius-pull-requests #14 FAILURE
Looks like there's a problem with this pull request

archaius-pull-requests #183 FAILURE
Looks like there's a problem with this pull request

NetflixOSS » archaius » archaius-pull-requests #15 FAILURE
Looks like there's a problem with this pull request

archaius-pull-requests #184 ABORTED

NetflixOSS » archaius » archaius-pull-requests #16 SUCCESS
This pull request looks good

archaius-pull-requests #185 SUCCESS
This pull request looks good

archaius-pull-requests #186 ABORTED


Can't trigger specific contracts (ones not returning ABI)

I'm not able to trigger call() on specific contracts - the one's that I have tested and are not working, are created by JustSwap factory (eg TUEYcyPAqc4hTg1fSuBCPc18vGWcJDECVw, TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE ).
I'm submitting it as an issue as:
a) the code below works with different contracts
b) I can call the balanceOf() of JustSwap contracts using http API, so it might suggest tronweb problems with "unpublished ABI" contracts
c) it has also been reported on Tron developers Discord channel by several people.
The error that I get is Failed to execute
As I do only need the balanceOf() this is my defined abi :
[
  {
    "constant": true,
    "inputs": [{ "name": "who", "type": "address" }],
    "name": "balanceOf",
    "outputs": [{ "name": "", "type": "uint256" }],
    "payable": false,
    "stateMutability": "view",
    "type": "function"
  }
]

and my code:
import ABI from "./abi.json";
const getDataToken = async (contractAddress, account, account2) => {
  try {
    let abi = ABI;
    const instance = await window.tronWeb.contract(abi, contractAddress);
    if (instance.balanceOf) {
      const tokenBalance = await instance.balanceOf(account).call();
      return {
        tokenBalance: (tokenBalance / Math.pow(10, 18)).toString(),
        tokenContract: instance,
      };
    }
  } catch (error) {
    console.log("error  getData  :" + error);
  }
};

there is no ABI if the contract is created by another contract. however,  you can use the below method to call the functions of the contract.
var contractAddress = 'TXBm8wncj8k8ZCRxFzptxXKm2CuUbhorCQ';

var functionSelector = 'getTrxToTokenInputPrice(uint256)';

var parameter = [
    {type: 'uint256', value: 100}
]
var options = {};

transaction = await tronWeb.transactionBuilder.triggerConstantContract(contractAddress, functionSelector, options,parameter);

there is no ABI if the contract is created by another contract. however, you can use the below method to call the functions of the contract.
var contractAddress = 'TXBm8wncj8k8ZCRxFzptxXKm2CuUbhorCQ';

var functionSelector = 'getTrxToTokenInputPrice(uint256)';

var parameter = [
    {type: 'uint256', value: 100}
]
var options = {};

transaction = await tronWeb.transactionBuilder.triggerConstantContract(contractAddress, functionSelector, options,parameter);

如果合同是由另一个合同创建的，则没有ABI。但是，您可以使用以下方法来调用合同的功能。
var contractAddress = 'TXBm8wncj8k8ZCRxFzptxXKm2CuUbhorCQ';

var functionSelector = 'getTrxToTokenInputPrice(uint256)';

var parameter = [
    {type: 'uint256', value: 100}
]
var options = {};

transaction = await tronWeb.transactionBuilder.triggerConstantContract(contractAddress, functionSelector, options,parameter);

there is no ABI if the contract is created by another contract. however, you can use the below method to call the functions of the contract.
var contractAddress = 'TXBm8wncj8k8ZCRxFzptxXKm2CuUbhorCQ';

var functionSelector = 'getTrxToTokenInputPrice(uint256)';

var parameter = [
    {type: 'uint256', value: 100}
]
var options = {};

transaction = await tronWeb.transactionBuilder.triggerConstantContract(contractAddress, functionSelector, options,parameter);

现在的 tronweb js端 有bug，这个答案是可以使用的


Add SlashCommand.getText()

Pull Request Etiquette

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the contributing guidelines.

Changes

[ ] Internal code
[ ] Library interface (affecting end-user code)
[ ] Documentation
[ ] Other: _____

Closes Issue: NaN
Description
Gets the slash command String for this slash command. This is similar to the String you see when clicking the interaction name in the client.

I absolutely massacred this PR, I apologize.

corrupted branch, forced to open new PR


Fix Rancher API pagination limits

This fix allows the Traefik Rancher provider to obtain a complete view
of the environments, services and containers being managed by the
Rancher deployment.
Resolves #1452

Could we cover the disabled pagination in one of our integration tests somehow? Not a must if it turns out to be tricky, but would be nice.

It may be tricky as it's a struct passed straight into the Rancher client but happy to take a look @timoreimann. Could you point me towards the integration tests for Rancher though? I couldn't find them 😕

@martinbaillie: apologies -- I thought we had integration tests for Ranger but apparently we don't. IIRC, it's on the todo list.
Let's leave that for another PR then.

@timoreimann no problem re. integration tests.
I've tidied up the branch commits and fixed that init mistake 🤒

@SantoDE merged in master again. cheers 👍


[ASK]: Show some sign of unofficial packages for reserved namespace packages

This ask has come from a customer support request where he suggested to reserve namespace like System for specific account or organization, which we already have in place for new packages. But he was confused with some existing packages.
So, the proposal is, to show some kind of indication on existing packages, which has these reserved namespace which aren't owned by those official accounts. Some differentiating factor which clearly tells consumer that this package is from the official account or entity but still doesn't down vote or show any negativity for that package.

When we designed the reserved namespaces feature, we explicitly decided not to show any "negative" icons on packages described in the case above.


fix loading of initial 50 blocks

Before change, it was loading the latest block 50x and displayed it 50x until 49 new blocks had been cached
	for i := latestBlockNumber - uint64(blockCount); i <= latestBlockNumber; i++ {
		if blockStat, ok := globalBlockStats.v[i]; ok {
			h.latestBlocks.addBlock(blockStat)
		}
	}

Ah Thank you!


Extract just git prompt part from $GitPromptScriptBlock

System Details

posh-git version/path: 1.0.0  ~\Documents\PowerShell\Modules\posh-git\1.0.0
PowerShell version: 7.2.2
git version 2.35.1.windows.2
OS: Microsoft Windows NT 10.0.22000.0

Issue Description
I'm trying to use posh-git with a custom prompt. I have custom prompt logic already setup, plus it writes some of the stuff on right side of console. So all I need is [branch-name +1 ~0 -0 !] part from $GitPromptScriptBlock so I don't have to write that manually using values from Get-GitStatus.
I almost got it using
$GitPromptSettings.DefaultPromptPath.Text = $null
$GitPromptSettings.DefaultPromptSuffix = " "

and then using this in prompt
$gitStatus =  & $GitPromptScriptBlock
Write-Host $gitStatus

However, this still prints a new line at the end. And using plain .substring or .split('[') doesnt work, I assume because of non standard chars in there.
I tried to use Write-VcsStatus as well but it still adds a new line. Can someone please guide me to get git status part without new line.
Cheers
Sorry, not sure if this is the right place but I couldnt find any other way to contact. If there is somewhere else where I should be asking for help, please feel to guide me.

Try Write-Host -NoNewline

Dang, can't believe I didn't think of that. Anyways, thank you for quick answer @dahlbyk :)

Hey @dahlbyk ,
Is there an easy way to get length of $gitStatus in $gitStatus =  & $GitPromptScriptBlock. I'm looking to add a right hand side prompt as well so need the number of characters that will be printed in my prompt for the calculation. Using $gitStatus.Length does not yield correct value as there are non-standard chars in there. e.g
> '[master ≡ +1 ~0 -0 | +2 ~1 -0 !]'.Length
32

v/s
>(& $GitPromptScriptBlock).length
154

I've gotten close by using some regex
>$1gitStatus = & $GitPromptScriptBlock
>([regex]::Matches($1gitStatus, "[[:print:]]*" )).Count
27

But it still misses few characters, even hardcoding those doesnt work well.
> ([regex]::Matches($1gitStatus, "[[:print:]]*|[≡↑↓↕×|+~-]" )).count
35

So, before I dig deep into this rabbit hole, just wanted to check with you if there is an easier way to get the number printed chars from  $GitPromptScriptBlock
Cheers

Managed to get it using $gitStatusLength = ($gitStatus -replace '\x1b\[[0-9;]*[a-z]', '').Length


Is it possible to have vertical RecyclerViewPager with two items(pages) on one screen?

Is it possible to have vertical RecyclerViewPager with two items(pages) on one screen?

I think it is possible.

I will try and confirm it.

Thank you, let me know the results.

Yes.You just need to set a large padding for this.

thanks, it works

What about horizontal view pager. I want to show 3 items on one screen ?


Fix wasapi going silent when number of channels are not supported

I found this bug with an USB audio card that reports to the WASAPI driver 12 channels. So now the driver will work even when strange number of channels are reported. I'll commit later the same fix for the master branch.

I guess the same changes are needed in the master branch too?


the imgview is not int the center, when i use the PhotoViewAttacher

the imgview is not int the center, when i use the PhotoViewAttacher. The photo is always at the top ,but when i touch the photo , the photo move to the center.Please help me .

Yes. I have same issue 😟

Pasting some XML in here to show how the layout looks would be helpful

@Jawnnypoo  I am creating ImageView Programmatically and adding it to layout.

Can you paste the code you are using to programatically add the view then?

Setting zoomable to false resolved my issue.

I have resolve it. in the viewpager, when you show image using the PhotoViewAttacher,  the image always don't show in the center, i don't know why. However,i found the right way is to use the PhotoView in the adapter of viewpager.

It was broken the same way for me too, while adding the PhotoViewAttacher in InstantiateItem at my PagerAdapter. However using the PhotoView instead of ImageView as written at the sample fixed it. It was broken the same way on android 4.3 and 5.1.1. If the image was too high, it was alligned Left instead of Top. Here is a commit from going the broken to the working version in case you need it. https://github.com/SimpleMobileTools/Simple-Gallery/commit/3983428d5fd4810e28fadd915a59ca08558ba4ae

@tibbi have been experiencing this too, solved with help of you. Thanks for sharing the code!

Same issue on latest version (1.2.5) and use PhotoView instead of ImageView resolve it.

When I set zoomable to false image view is showed OK. Also when I use PhotoView. But those solutions are not valid for me because I NEED zoom and a center image.

@E2Clince  I finally found a solution!! Refer to this website!
http://stackoverflow.com/questions/33479400/android-photoview-setdisplaymatrix

@tibbi 's way works for me. Use PhotoView instead of ImageView. Thanks!!

I solved this issue. using the next way.
mAttacher.setOnScaleChangeListener(new PhotoViewAttacher.OnScaleChangeListener() {
@Override
public void onScaleChange(float scaleFactor, float focusX, float focusY) {
RelativeLayout.LayoutParams params = new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.MATCH_PARENT, RelativeLayout.LayoutParams.MATCH_PARENT);
params.addRule(RelativeLayout.CENTER_IN_PARENT);
mAttacher.getImageView().setLayoutParams(params);
}
});

you guyz are awesome thanks


Add Localization Support

(this is probably best suited for after the conference)
We should add i18n localization support to the app, to make it more accessible to people whom don't speak English primarily.
The landing / static pages would likely just need entirely different files created, each -- and should probably be done first. The form controls and internals would be a good feature to add eventually as well.

Closing for now, to stay focused. If someone really wants to work on an i18n related issue, feel free to re-open or create a new one and go for it!


there is no record in the table undo_log of datasource of dubbo-storage-service.xml after example worked

after example worked, there is a record in the table undo_log of datasource of dubbo-account-service.xml, and also there is a record in the table undo_log of datasource of dubbo-order-service.xml, but there is no record in the table undo_log of datasource of dubbo-storage-service.xml. Is this right？And When will the data be written to the table undo_log?

because of no update for a long time, I will close the issue, if you have other questions, please reopen it or create a new one


Updated install to pyproject.toml

cc @maxrjones I updated the install to try to only use pyproject.toml.  Hopefully this can fix the broken install issue.
https://github.com/carbonplan/cmip6-downscaling/issues/322

@norlandrhagen I think a lot of the pre-commit errors are because pyproject.toml is configured for ruff but .pre-commit-config.yaml still has flake8. It's probably worth updating to:
ci:
  autoupdate_schedule: quarterly
  autofix_prs: false

repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.4.0
    hooks:
      - id: trailing-whitespace
      - id: end-of-file-fixer
      - id: check-docstring-first
      - id: check-json
      - id: check-yaml
      - id: debug-statements
      - id: mixed-line-ending

  - repo: https://github.com/asottile/pyupgrade
    rev: v3.14.0
    hooks:
      - id: pyupgrade
        args:
          - '--py38-plus'

  - repo: https://github.com/psf/black
    rev: 23.9.1
    hooks:
      - id: black
      - id: black-jupyter

  - repo: https://github.com/keewis/blackdoc
    rev: v0.3.8
    hooks:
      - id: blackdoc

  - repo: https://github.com/astral-sh/ruff-pre-commit
    rev: 'v0.0.276'
    hooks:
      - id: ruff
        args: ['--fix']

  - repo: https://github.com/pre-commit/mirrors-prettier
    rev: v3.0.0-alpha.9-for-vscode
    hooks:
      - id: prettier


Can't find Twitch player

I installed the extension but I can't find the player in the command panel (or anywhere else).
jupyter labextension install @data-exp-lab/jupyterlab-twitch
pip install jupyterlab-twitch  # not sure this one is necessary

I also tried the code
import jupyterlab_twitch
player = jupyterlab_twitch.TwitchPlayerModel()
player.channel = "mst3k"
player.volume = 0.9
display(player)

in a notebook (after installing ipywidgets) but without success.
=> Error displaying widget: model not found
The extension manager display that @data-exp-lab/jupyterlab-twitch is enabled.
There is no error in terminal.
Regards,

Hi -- are you running this in jupyterlab specifically?  Or in jupyter
notebook?
On Thu, Sep 10, 2020 at 2:50 AM Djangoliv<EMAIL_ADDRESS>wrote:

I installed the extension but I can't find the player in the command panel
(or anywhere else).
jupyter labextension install @data-exp-lab/jupyterlab-twitch
pip install jupyterlab-twitch  # not sure this one is necessary
I also tried the code
import jupyterlab_twitch
player = jupyterlab_twitch.TwitchPlayerModel()
player.channel = "mst3k"
player.volume = 0.9
display(player)
in a notebook (after installing ipywidgets) but without success.
=> Error displaying widget: model not found
The extension manager display that @data-exp-lab/jupyterlab-twitch is
enabled.
There is no error in terminal.
Regards,
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/data-exp-lab/jupyterlab_twitch/issues/13, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAVXO2Q7QJGBW4TZWVQWDLSFCAMDANCNFSM4REPJ6VA
.

It works now. Thanks

Oh, thank you for updating me!  I am sorry I did not get back to you.  I
lost track of time when the semester began.
On Fri, Dec 4, 2020 at 9:43 AM Djangoliv<EMAIL_ADDRESS>wrote:

It works now. Thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/data-exp-lab/jupyterlab_twitch/issues/13#issuecomment-738854672,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAVXO3WGDTNMU3XOUQHLCTSTD7RLANCNFSM4REPJ6VA
.

What was the solution? I'm having the same issue right now :)

What was the solution? I'm having the same issue right now :)

I have tried using a Dockerfile like this
FROM jupyter/datascience-notebook

RUN pip install widgetsnbextension
RUN pip install ipywidgets
RUN pip install ipympl
RUN jupyter nbextension enable --py widgetsnbextension

RUN pip install jupyterlab_iframe
RUN jupyter labextension install jupyterlab_iframe
RUN jupyter serverextension enable --py jupyterlab_iframe

RUN pip install jupyterlab-twitch
RUN jupyter labextension install @data-exp-lab/jupyterlab-twitch

I have tried using a Dockerfile like this
FROM jupyter/datascience-notebook

RUN pip install widgetsnbextension
RUN pip install ipywidgets
RUN pip install ipympl
RUN jupyter nbextension enable --py widgetsnbextension

RUN pip install jupyterlab_iframe
RUN jupyter labextension install jupyterlab_iframe
RUN jupyter serverextension enable --py jupyterlab_iframe

RUN pip install jupyterlab-twitch
RUN jupyter labextension install @data-exp-lab/jupyterlab-twitch

sorry that no longer works on my side either.

sorry that no longer works on my side either.

So I'm really not sure why it isn't working.  One thought I had was that there is maybe an issue with the installation of the javascript side of it.
Are either or both of you running jupyterlab 3.0?  I am going to spend a little time when I can trying to get this to work with the pre-built bundles, which should simplify the installation.  That might fix the issues you're seeing, too.

So I'm really not sure why it isn't working.  One thought I had was that there is maybe an issue with the installation of the javascript side of it.
Are either or both of you running jupyterlab 3.0?  I am going to spend a little time when I can trying to get this to work with the pre-built bundles, which should simplify the installation.  That might fix the issues you're seeing, too.

@djangoliv @andeplane I've just updated this to use jupyterlab 3, which should simplify the javascript packaging.  Can you give a try with jupyterlab-twitch 0.2.0 and see if it's still a problem?

@matthewturk I tested and it works perfectly. Thanks !


test_bufferingOldest_error fails with an unexpected set of values.

swift-async-algorithms/Tests/AsyncAlgorithmsTests/TestBuffer.swift:454: error: -[AsyncAlgorithmsTests.TestBuffer test_bufferingOldest_error] : specification violation got "5" after iteration terminated at tick 7
swift-async-algorithms/Tests/AsyncAlgorithmsTests/TestBuffer.swift:454: error: -[AsyncAlgorithmsTests.TestBuffer test_bufferingOldest_error] : expected failure but got "3" at tick 7
swift-async-algorithms/Tests/AsyncAlgorithmsTests/TestBuffer.swift:454: error: -[AsyncAlgorithmsTests.TestBuffer test_bufferingOldest_error] : unexpected "4" at tick 7
swift-async-algorithms/Tests/AsyncAlgorithmsTests/TestBuffer.swift:454: error: -[AsyncAlgorithmsTests.TestBuffer test_bufferingOldest_error] : unexpected finish at tick 7
swift-async-algorithms/Tests/AsyncAlgorithmsTests/TestBuffer.swift:451: error: -[AsyncAlgorithmsTests.TestBuffer test_bufferingOldest_error] : failed - Validation failure:
Expected:
X------[12^]
Actual:
X------[1234|]

This needs to be determined if this is a valid failure or an invalid test.

test_bufferingNewest_error also fails intermittently

Stepping through this in the debugger usually sees it succeed, which sounds like a race condition to me. I've also noticed a similar issue in TestManualClock.test_sleep(), so I wonder if the race isn't happening in there.

Actually, it seems the test_sleep() method fails most of the time when running all the tests in TestManualClock, but succeeds most of the time when running it on its own. This is all in Xcode btw (14A6270e, if that might matter).

Closing this since we have reimplemented buffer since then and the tests are passing.


Use a dichotomic algo to find the minimum set of patches

Implement the dichotomic algorithm in the FileMigration class.
Add Main.previewMigration method to preview the result of migrating a single file.
Test Main.previewMigration on 2 files:

HelloWorld.scala: no change is expected
Test1.scala: One type annotation out of 2 should be added

Merged in a different PR


Correcly handle the block form of search() when using stubs

The true response matches what Chef does, though it's kind of odd.
Probably needs tests or something but I'm free-handing this.

Now with actual tests!


wallet-rpc: add freeze, thaw, and frozen

Added in Monero <IP_ADDRESS> with https://github.com/monero-project/monero/pull/7838

closed by #2083


X Ensure CI still runs

It works the bit_len failure is in main as well, we commented out the test. It should work with 0.22.0. The CI must be rerun when the new package lands.

There is one failure on macOS:
../integration_tests/test_list_item_mixed_print.py * runtime
The JSON metadata differs against reference results
Reference JSON: tests/reference/runtime-test_list_item_mixed_print-a3fd49f.json
Output JSON:    tests/output/runtime-test_list_item_mixed_print-a3fd49f.json
Omitting 9 identical items
Differing items:
{'stderr_hash': '9e014e97e6b24d4be0c537d9dc61d875cbc5cf7f73deb9c97779245a'} != {'stderr_hash': None}
{'stderr': 'runtime-test_list_item_mixed_print-a3fd49f.stderr'} != {'stderr': None}No reference stderr_hash available for ../integration_tests/test_list_item_mixed_print.py

Error: Process completed with exit code 1.


Add types

Adds types and tests copying what Roang-zero1 did for unist-util-find-all-after.

Thanks @mrzmmr, released in 3.0.0!


#34 Added support for cacher interface

Support backward compatibility
Implement client to support different cacher interface
Implement a FIFO cacher interface with max age and size

Coverage increased (+4.3%) to 94.091% when pulling 9115c033d4657131db955390de9115c05fc71da3 on Tuanhao:cacher-interface into 09eb60d822fc77139d1effa6c57f6ee85a6fbe2f on auth0-community:master.


prefer regular nodes by default

killing things on the api nodes might have really bad side-effects, so let users opt in to that
@Dieterbe

rebased


Regenerate test to include NotificationChannelService.

Hi, this is a refresh of an auto-generated test to include NotificationChannelService. This has been tested locally. The pull request is sent on behalf of @michaelsafyan.

The failed tests in Kokoro - Test: OSX Java 8 is a failed connection in the cloud-datastore tests. It is not related to my change in this PR.


Set Restart=always on containerd units

In some rare situations containerd migth be killed, stop docker and kubelet due to systemd dependency and then it won't auto-restart.
After runtime installation, let's add Restart=alwaysto the containerd units and then reload systemd units on all supported operating systems where containerd is the underlying runtime.

/remove-lifecycle stale


Fixed complex parameter generation for custom json content types.

This PR restores support for mime-type parameters for json-based content types. I takes the suggestion from the previous PR #2633 and uses Regex.IsMatch. Additionally, OpenApiResponse.cs is updated to have consistency as was mentioned in the previous PR as well.

Looks good to me, Thx


STORM-590: added Kafka API based partition reader

Following the discussion in https://github.com/apache/storm/pull/387 I've prepared an alternative implementation that is backwards compatible

I’ve isolated the use of the BrokerHosts interface and marked its use as deprecated together with the zookeeper based code
I’ve then added an implementation for API based partition information (based on the implementation https://github.com/apache/storm/pull/387)

Hi @wurstmeister,
There is my pull request https://github.com/apache/storm/pull/406 and corresponding comments in pull request https://github.com/apache/storm/issues/387 . I'd be glad to see your feedback

this is going to be discussed in STORM-650

@wurstmeister What is the status of this PR?  I see it needs an up-merge, but other than that, is there any other work that this needs before we review it?

Closing


Flow types not packed into jest-enzyme

Hi,
just did a fresh install of jest-enzyme and the types folder is not packed with the package, only the lib folder is present. Same for the enzyme-matchers package.
Not sure what the initial goal for 20682e14 was actually.

 I didn't think about it's file resolution..
We just released an update 3.3.0 that seems like it's fixing flow for most people. Can you test it out?

From 3.3.0 Flow won't complain on source files, but won't find any type information since the lib folder is compiled sources.
If you wan't to ship types with the package, flow-copy-sources could be a solution.
For now I'm relying on the flow-typed definitions ;)

Oh awesome! I didn't know they had those definitions in flow-typed That's great!
But yeah, I think we should ship the types. It could help and just seems like the right call. Are you willing to submit a PR to implement flow-copy-sources into each package?


Remove ifExists option from createRole

closes #760

@goce-cz
Mh this line fails now
https://github.com/salsita/node-pg-migrate/blob/79b4b9f0cc6da2f603d50476997ee36b6eb2760f/src/operations/roles.ts#L82
There are multiple solutions we could do :thinking:

Add a // @ts-expect-error: Typedef does not match exactly comment above the line
export type CreateRoleFn and use e.g. as unknown as CreateRoleFn
Try to rewrite the typedef and find a better suited solution

I'm not sure what the best solution could be here
The export type CreateRoleFn is not really good, because it seems no other function is exported this way, isn't it? (except the LogFn)

one extra thing is that we need to check if this problem is similar for other create functions... as far as I understand it doesn't make sense to create smth with "if exists". for example I see same problem on createSchema.
I am not sure at the moment if it's not intended to have this option to control this way automatically generated down migrations... Do we pass the same options that was specified for the up operation to the reverse down operation as well?
I see we do so in wrap:
https://github.com/salsita/node-pg-migrate/blob/5783b6f930f58678f1a8dcfc97b8b9dc5a9f4312/src/migration-builder.ts#L215-L218
but not in getSqlSteps:
https://github.com/salsita/node-pg-migrate/blob/5783b6f930f58678f1a8dcfc97b8b9dc5a9f4312/src/migration-builder.ts#L363-L366
So I am a bit confused... I guess the wrap ones are used only for programmatic api.
Therefore, looks like fixing types - allow reverse to be without options - is the proper way :thinking:

Yeah, I think we need specialized types for the reverse operations, cause like in this case, it's not always compatible.
To be consistent, we should do that to the whole project :thinking:
Maybe not in this PR, but in a separated one

Looking again into this.
I found that we add DropOptions or sometimes only IfExistsOption to any add/create function and it's exactly to avoid typescript complaining about us using the same reverse operation function for both automatic reverse and normal reverse (the errors as above). Automatic uses same options as the direct operation and it has to have the ifExists/drop options.
So all of the below have the same problem:
createPolicy, AddTypeAttribute, createDomain, createExtensionFn, createFunction, createIndexFn, createOperator, createSchema, createSequence, createTable, addColumns, createConstraint, createTrigger, createView
So if we want to fix it, it makes sense to fix it everywhere not only for the roles.
For now i feel like the solution could be to wrap somehow the reverse function and decrease typing... or maybe I am afraid we would need to split the original reverse function to two - one automatic limited and one generic that we add in the API. That could be a significant amount of work...
I'll try to think more how to do it, if not gonna manage today to come up with smth simple enough then I will close this PR and file a separate ticket until better times, I am afraid.

Eventually I think it's more of a feature then a bug. See comment https://github.com/salsita/node-pg-migrate/issues/760#issuecomment-995926821


Min() and Max() aggregate functions on string columns

Description
Provide min() and max() aggregrate functions on string expressions
This is related to https://github.com/apache/druid/issues/11659 but here I am calling out explicit behavior desired.
Motivation
Many database products extend min() and max() aggregate functions to string datatypes, primary based on a lexical sort.
Assumed this would follow the same sorting mechanism as provided by the ORDER BY clause.

Hello, I plan to give a shot at this.
I am referencing the other MinAggregator classes, and am now figuring out what the BufferAggregator and AggregatorFactory are for. While I am confident that I will be able to get somewhere in this, any tips from any experienced developers will be welcome, and will definitely speed up my learning process. 😄

You can refer to the javadocs of these interfaces to get an idea behind these classes. AggregatorFactory is what you use to get a off-heap aggregator  or an on-heap aggregator or a vector aggregator (off-heap). Depending on the use case (ingestion vs query), query engine (topn, grouping), one of on-heap or off-heap aggregator can be used.
When you are building a new kind of aggregation, you will be making all these flavours available so that your aggregation can work in various different settings.


WIP: add docker build

./mvnw clean verify docker:build is going to build the container image

Coverage remained the same at 66.631% when pulling 4d95e9ddaef6648f72e26060a04ede8bf7e4d39b on add_docker_image into d89c599f75b52c94ff418c76244fb3f0f5d05889 on master.

see #481


Multiple tests break when machine's CultureInfo.CurrentCulture is not 'en-US'

The following statement breaks tests on non-US machines:
https://github.com/Microsoft/Trill/blob/3ca9a12ec8386c1d58e6bd32a665ba41a6909769/Sources/Core/Microsoft.StreamProcessing/StringHandling/MultiString.cs#L108
Maybe it would help to configure test runner to use hardcoded culture if its unavoidable, and mention it in documentation?
Thank you.

Closing this issue for now - please reopen or file a new issue if something else comes up. Thank you for your help!


[SPARK-50298][PYTHON][CONNECT] Implement verifySchema parameter of createDataFrame in Spark Connect

What changes were proposed in this pull request?
The PR targets at Spark Connect only. Spark Classic has been handled in https://github.com/apache/spark/pull/48677.
verifySchema parameter of createDataFrame on Spark Classic decides whether to verify data types of every row against schema.
Now it's not supported on Spark Connect.
The PR proposes to support verifySchema on Spark Connect.
By default, verifySchema parameter is pyspark._NoValue, if not provided, createDataFrame with

pyarrow.Table,  verifySchema = False
pandas.DataFrame with Arrow optimization,  verifySchema = spark.sql.execution.pandas.convertToArrowArraySafely
regular Python instances, verifySchema = True

The schema enforcement of numpy ndarray input is unexpected and will be resolved as a follow-up, https://issues.apache.org/jira/browse/SPARK-50323.
Why are the changes needed?
Parity with Spark Classic.
Does this PR introduce any user-facing change?
Yes, verifySchema  parameter of createDataFrame is supported in Spark Connect.
How was this patch tested?
Unit tests.
Was this patch authored or co-authored using generative AI tooling?
No.

Merged to master, thank you!

Actually had the offline discussion. I think we should evaluate the performance impact, and think about deprecating this if this isn't really useful instead of propagating it.
Let me revert https://github.com/apache/spark/pull/48677 and https://github.com/apache/spark/pull/48841 for now.


Add Django Polaris to Open Source Projects

I have added a new open source project, Polaris, as an extendable Django app implementation of Stellar Ecosystem Proposal (SEP).

cc @wsvincent


missing a handler to change _NET_CURRENT_DESKTOP

It seems that berry is missing a handler to change _NET_CURRENT_DESKTOP, so other applications (i.e. polybar) that sends the signal directly cannot change the workspace.
Here is the question I asked to r/polybar on reddit:
https://www.reddit.com/r/Polybar/comments/kokrja/clicking_in_xworkspacesdoesnt_change_the_workspace/
version: 0.1.7 release

Never mind, I see the change was added after the latest release.
Sorry for the noise. Closing.

Never mind, I see the change was added after the latest release.
Sorry for the noise. Closing.


Version of the app that can just extract passwords from the Keychain with Touch ID only

Is it possible to make a version of this app that can extract a password from a macOS custom (non-login) keychain? The macOS security command always asks for password only which makes it annoying to script. It would be nice to have a command that can work with a custom keychain that can read a password from the keychain auth'ed with Touch ID only and output it so it can be piped into another script, temporarily stored in an env variable, etc.
One immediate application would be termotp, without involving age at all, we could just store the Aegis password directly in the Keychain. Nothing wrong with age or age-plugin-se, in fact I'm grateful they both exist, but the fewer moving parts the better.

Hi @timkgh ,
What you're describing sounds like a different tool, with almost no overlap with what this plugin does.
This plugin doesn't use the macOS keychain, but talks to the secure enclave directly, which is explained in the Design document. It's possible you can create a different small tool that uses the Security framework, although I didn't check that the API allows you to decrypt keys using just Touch ID, and note that such a tool is harder to distribute due to required entitlements (as mentioned in the design document).

Hi @timkgh ,
What you're describing sounds like a different tool, with almost no overlap with what this plugin does.
This plugin doesn't use the macOS keychain, but talks to the secure enclave directly, which is explained in the Design document. It's possible you can create a different small tool that uses the Security framework, although I didn't check that the API allows you to decrypt keys using just Touch ID, and note that such a tool is harder to distribute due to required entitlements (as mentioned in the design document).

I see, makes sense. Thanks for the explanation.


feat(proposal): separate Release and Versioning workflows 👨❤💋👨

Separating the Release and Versioning workflows will simplify permission management, allowing us to control who can perform releases more effectively. This will also reduce the risk of errors caused by incorrect version manipulation.

Will be merged to main, Changesets baseBranch changed for the future release of the package fix.


Unable to load plugin script

MAX Plugin Version
1.0.1
Godot Version
4.1.1
Device/Platform Info
No
Current Behavior
Get an error when trying to enable the plugin

Expected Behavior
No response
How to Reproduce

Create a new blank project
Copy the MAX plugin folders (addons, ios, android) to res://
Tick the enable checkbox for AppLovinMAX plugin in Project Settings/Plugins

Additional Info
No response

@lettdev that file applovin_max.gd is named differently from our plugin one AppLovinMAX.gd. Can you verify it's the same file and/or share the file here?

Turns out somehow the file plugin.cfg wasn't replaced and still the 1.0.0 version, which uses that file path (applovin_max.gd). I replace it now but has another error:

Unable to load addon script from path: 'res://addons/applovin_max/AppLovinMAX.gd' Base type is not EditorPlugin.

Btw, this is the content of plugin.cfg in 1.0.1 release, seems like wrong file was shipped 😂
[plugin]

name="AppLovinMAX"
description="AppLovin MAX Godot Plugin for Android and iOS."
author="AppLovin"
version="1.0.0"
script="applovin_max.gd"

Ahh I uploaded a fix for that yesterday on the Godot AssetLib for 1.0.1, but we have been awaiting approval. Could you try deleting your existing res://addons/applovin_max and replacing it with the one in this repo in the mean time?
Lesson learned 😅; we will be documenting the release/publishing process to avoid mistakes like this.

Turns out somehow the file plugin.cfg wasn't replaced and still the 1.0.0 version, which uses that file path (applovin_max.gd). I replace it now but has another error:

Unable to load addon script from path: 'res://addons/applovin_max/AppLovinMAX.gd' Base type is not EditorPlugin.

To solve this problem, I think
@tool
extends EditorPlugin

should be added to the head of AppLovingMAX.gd. Now I can enable the plugin in Project Settings/Plugins 😂

Ah I see. At the moment, our plugin doesn't require to be enabled in the Project Settings/Plugins as we don't perform any modifications or use any functionality in the Godot editor/IDE.
But we will someday as we add more functionality to this plugin 🙂.


Add option to flatten directory structure

Add an option to flatten the input file structure to a single directory and adjust links targets.

Implemented in  #2462


Add defaults to config.txt

Defaults for database and fossology path

When you do this, please move all parameters without CHANGE_ME as the value to above the comment:
// +---------------------------------------------------------+
// | Always set the below values to CHANGE_ME before pushing |
// +---------------------------------------------------------+
Assign it to me when you're done, as I would like to have the order of parameters in the README match the order of parameters in the file, and the README is generated by a script.

Done, ready for change order.

Order has been changed.


Short solution needed: "How to modify response header with Lua" (nginx-lua)

Please help us write most modern and shortest code solution for this issue:
How to modify response header with Lua (technology: nginx-lua)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

How to modify response header with Lua


implement callback function feature

What's this PR do?
add callback function.
When the image is loaded, the function defined as 'onLoadCallback' is called.
lazyload(null, {
    onLoadCallback: function() {
        console.log('callback function is called!');
    }
});

Related Issues
#389

+1

Seems to be here: https://github.com/tuupola/lazyload/pull/429/commits (not added to the core yet)


Support for rc files with extensions

I read about the latest ESLint release (http://eslint.org/blog/2015/11/eslint-v1.10.0-released/) and thought that what they're doing with rc file extensions would be worth mimicking.
The idea is that rc files would not have to be extensionless: if user adds an extension to the file (e.g. .stylelintrc.yaml), then they'll get syntax highlighting in their editor and more exact error stacks if there are syntax errors.

@davidtheclark Maybe make it optional to reduce fs access?

Yep, I was thinking about that problem too.

Sounds good

Or at least check .stylelintrc without extension first, caz it more usual.

Unless someone beats me to it, I will work on this after I get back from vacation in a week and a half.


added --file option to mac_mapper command

mac_mapper still behaves the same way it used to; I just included the ability to write JUST the mac_addresses to a certain file


always display the mutli login prompt for mutli accounts login

If the user is currently logged in with more than one account it should always prompt which account to use.
Currently is always uses the first one in the list.

I don't think that is the case. I'm pretty sure that only happens if you have already authenticated with specific OAuth credentials and re-authenticate. To force a fresh authentication, you can pass the approval_prompt=force option to force displaying the approval screen.

To clarify, that means using:
$url = $provider->getAuthorizationUrl([
    'approval_prompt' => 'force',
]);

this is for the authentication.
I am talking after an app has been authorised
I have created a pull request to fix the issue
https://github.com/thephpleague/oauth2-google/pull/13

The approval_prompt setting does what you want.

Fixed by #13


[CHALLENGE SUBMISSION] - day 21

Please provide the following information for your submission:
What is your name? (First, Last)
Barbara Forbes
Where is your GitHub Repo ?(With your challenge solution)
https://github.com/Ba4bes/25daysofserverless/tree/master/Daya21GiftRegistries
What Challenge is this for? (Challenge number between 1 and 25)
21
(Optional) Anything else we should know? e.g., language used, location, blog post?
PowerShell Function App and CosmosDB

The unthinkable has happened: after weeks of community members all over the globe chipping in to help solve people's problems with serverless technology, the evil grinch's heart is starting to soften! He's still not quite ready to give up his server-stealing plot, but our whole Azure Cloud Advocacy team is flying up to the grinch's lair to help convince him to change his ways.
As such, the team behind 25 Days of Serverless is OOF (Out Of Facility/Office) between Dec 24, 2019 and January 1, 2020. We'll not review Issues in this period of time, but encourage you to catch up on any challenges you haven't had the time to work on yet. 😄 Our Discord Server is a perfect place to reach out to for community support during this time. After our return, we'll add contributors who submitted a working solution as an Issue to CONTRIBUTORS.md file until January 15, 2020.


Unreadable Notebook: wordvectors.ipynb

This is the error I am getting while trying to open the notebook:
NotJSONError('Notebook does not appear to be JSON: u\'{\\n "cells": [\\n  {\\n   "cell_type": "...',)

http://forums.fast.ai/t/error-wordvector-ipynb/5690/4?u=nok
Please use this solution to solve it temporarily.


A solution in the issue #3325

To begin with, i created a single function called archiveFile(filename, filePath) that takes 2 arguments. The first one declares the name of the file that has to be saved in jerkins and the second one declares the whole path of the file. In the post function (especially in line 690) i created a hash map that each key declares the filename and each value of the key declares the whole path of it. The function is called in a for-each loop after the hash map declaration.
PS1. i am not 100% sure if that works, but if it doesn't i'll be happy to contribute again
PS2: thanks for assigning me for this issue, i really wanted to contribute as it is my first open source contribution!

Thanks @Stergios13 for working on this issue. Please see https://github.com/adoptium/aqa-tests/blob/master/Contributing.md for commit guidelines.

I changed the file again listening to your tips.
Additionally, i do not format the whole file, i just change the lines that need to be changed and yet it seems like i format the whole file.

Running good https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/3586/

FYI @llxia @sophia-guo - if @Stergios13 can update this quickly we can wait, otherwise suggest merging and having a followup PR to clean up.
#3394 is somewhat related.


How to setup with proxy

Hi guys,
I need login to azure via ntlm proxy...
so how to tell your client to use a proxy?

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

ID: 0512b7d6-3f16-303f-44dc-4e1595d5ca62
Version Independent ID: 43cd9aca-e5ee-31f7-7c34-497c54ff9487
Content: Azure authentication with the Azure Identity module for Go
Content Source: articles/go/azure-sdk-authentication.md
Service: azure
GitHub Login: @bobtabor-msft
Microsoft Alias: rotabor

Hi @Pymann - this issues list is primarily for documentation feedback, so you should also ask your question on the Microsoft Q&A site. Thanks!


Song Json Won't load

Describe your problem here.
So I tried loading a song into the chart editor and I kept getting an error that says "Uncaught Error:[file_contents,assets/data/sussus-nuzzus/sussus-nuzzus.json]". Any tips on how to fix this?
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

missing chart file


Add option to set the default directory

I've added the option of setting a default directory

The commit message title was abbreviated unnecessarily. Remember, the code you write is not just for a computer but for other people to read. Don't abbreviate unless constraints force you to. In this case, "Update w/ def-dir option" is 25 chars and "Update with default directory option" is 37 chars so the latter is preferable because it is under 50 chars. You should rebase these two commits to squash them into 1, and you can fix the commit message at the same time. Also add to the body of the commit message an explanation of the data attribute you add. https://thoughtbot.com/blog/5-useful-tips-for-a-better-commit-message
Did you test the behavior where default directory is not set. My understanding is that in this case this.input.dataset.defaultDirectory would be undefined and undefined || last_path(this.fs_favorites, this.modalId) would return the result of last_path(this.fs_favorites, this.modalId).
Update the README that has the configuration example to include the default directory option

I'll work on 1 and 3, for 2, I've tested that and the results are basically as you've guessed; it returns you back to the last path.


AttributeError: 'HParams' object has no attribute 'builder'

When running demo.ipynb, I am presented with this error:

AttributeError                            Traceback (most recent call last)
 in ()
10     os.makedirs('results')
11
---> 12 model = build_model().to(device)
13 checkpoint = torch.load("/content/SpeechSplit/checkpoint_step001000000_ema.pth")
14 model.load_state_dict(checkpoint["state_dict"])
/root/wavenet_vocoder/autovc/synthesis.py in build_model()

AttributeError: 'HParams' object has no attribute 'builder'

This has been mentioned before in #1, but there have been no solutions posted. This repo has very few instructions. The ones that exist are vague and lack detail. It would be helpful to have a more comprehensive installation tutorial.

The posted solution is to use the vocoder from AutoVC. They share the same vocoder and thus not included in this repo.

It is not clear what files must be extracted from AutoVC to speechsplit-master/assets. The readme, your comment above and your solution to #1 mention using 'the vocoder from autovc'. There are many files in AutoVC that fit that description.
For instance, AutoVC contains the files:

vocoder.ipynb
model_vc
model_bl

And the AutoVC README links three 'models':

checkpoint_step001000000_ema.pth
autovc.ckpt
3000000-BL.ckpt

I have tried running demo.ipynb with different combinations of these files moved to speechsplit-master/assets. I have even tried moving the entirety of the AutoVC contents into speechsplit-master/assets. I ran vocoder.ipynb in the AutoVC-master folder and then tried running the demo with vocoder-checkpoint.ipynb placed in different folders (speechsplit-master, speechsplit-master/assets, speechsplit-master/.ipynb_checkpoints). All have presented me with the same AttributeError.
Could you please be clearer about what files must be placed where, or at least post a screenshot of the speechsplit-master and speechsplit-master/assets directories with the required files placed in the appropriate folders?

First of all, you need to install the appropriate version of r9y9's Wavenet vocoder, which is a large and delicate repo by itself. We did not include it in our repo in order to make our repo simple and clear.
In our project, Vocoder is the part that converts spectrogram to audio. There are not many files in AutoVC fitting that description.
demo.ipynb has two cells, the first cell does not require the Wavenet vocoder, only the second cell requires the Wavenet vocoder.
The second cell of the demo.ipynb is the same as the vocoder.ipynb in AutoVC.
The second cell of the demo.ipynb imports from synthesis, so you need the synthesis from AutoVC.
The synthesis requires its own hparams, so you need the corresponding hparams from AutoVC. Do not use the hparams for speechsplit.
The second cell of the demo.ipynb loads checkpoint_step001000000_ema.pth, so you need checkpoint_step001000000_ema.pth.

Thank you for the more detailed explanation, however I followed your instructions with a clean install and have received new errors including:
#demo conversion:

RuntimeError ‘Could not infer dtype of NoneType’

and
#spectrogram to waveform:

ImportError: cannot import name ‘builder’ from ‘wavenet_vocoder’

I am sorry to be pedantic on the phrasing of these steps, but there seem to be instructions necessary to run the demo that are missing from the README and scattered amongst solved issues in this repo. I would like to help make the README clearer by including the missing steps and clarify the ones that may be difficult to interpret. Again, a screenshot of the directories would be extremely helpful and would provide context to your steps. I am happy to move this to a separate issue if necessary.
Here are the steps you’ve written in the speechsplit-master README and what I have inferred from them:
“Download pre-trained models to assets”:

Download and move the pre-trained models '640000-P.ckpt' and '660000-G.ckpt' to ‘assets’

“Download the same WaveNet vocoder model as in AutoVC to assets”
I already ran ‘pip install wavenet_vocoder==0.1.1’ so I assume this means:

Download and move the  ‘checkpoint_step001000000_ema.pth’ to ‘assets’
(because this file is described as ‘WaveNet Vocoder pre-trained model’ in AutoVC).

In issue #1, you said

Please run the vocoder part in the vocoder folder, and place the vocoder checkpoint in an accessible folder.

Does this mean downloading AutoVC, running 'conversion.ipynb' and 'vocoder.ipynb', and then moving the file ‘vocoder-checkpoint’ into speechsplit-master/assets? Or does this mean moving ‘checkpoint_step001000000_ema.pth’?
Both of these files include the word ‘checkpoint’ and are related directly to something described ‘vocoder’, which is why it’s confusing.
Those are the only two steps stated in the README before the step that says “Run demo.ipynb”.  I can tell I have misunderstood step 2, though there are no steps that mention ‘synthesis.py’ or ‘hparams’ in the README either. So to clarify the other steps:

Copy ‘synthesis.py’ from AutoVC into 'speechsplit-master'

Replace ‘hparams.py’ in speechsplit-master with ‘hparams.py’ from the AutoVC repo.

Thank you for taking the time to answer. I understand that it is difficult to troubleshoot this software for inexperienced users.

Just from autovc clone hamarm.py and synthesis.py is OK.
Then rename hamarm.py to autovc_hamarm.py, and change synthesis.py content of:
from hparams import hparams to from autovc_hparams import hparams

I follwed both the steps mentioned by @leijue222:

I copied the synthesis.py from the autovc repo, and
I copied the hparams.py from autovc as autovc_hparams.py. Also I changed the import statement in the synthesis.py file

I am still receiving the same error. Pls help.
Thanks in advance.


queued_records_total not defined

Describe the bug
queued_records_total not defined.

Pull Requests:

https://github.com/Senzing/stream-logger/pull/5


Override getQueueCapacity to return delegate's value

@bhattacharyyasom Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@bhattacharyyasom Thank you for signing the Contributor License Agreement!


Database Credentials

Figure out how to retrieve/store the database credentials

Got the creds from Koz. Still need to figure out a secrets store or something.


Proposal to Improve Colouring, Styling, and Design Consistency

I would like to enhance the project's colouring, styling, and design consistency using Tailwind CSS. This includes updating the colour palette for better contrast, standardizing UI components with Tailwind's utility classes, and optimizing layouts for a more user-friendly design. These improvements will ensure a clean, cohesive look while boosting maintainability and scalability.

👋 Thank you for raising an issue! We appreciate your effort in helping us improve. Our GitFinder team will review it shortly. Stay tuned!

@BamaCharanChhandogi please assign this work to me

Same type #65


Feat: Update 'Other' option text in dropdown - #1254

This PR updates the "Other" dropdown option in the FSE column titled "Level of Equipment" to clarify additional information should be provided in the notes field.
Closes #1254

Just echoing @dhaselhan's comment. Yes any data change in seeders that has already happened will need the seeder updated but also a migration to fix the live data.

Thank you, @dhaselhan and @AlexZorkin, for your feedback! I’ve made the changes.


Is it possible to know if the user has complete/cancelled the facebook share action ?

Hello,
All is in the title, is there a way to actually know if the user has completed/cancelled the facebook share action ?
Thanks

Hello @kahaus,
this issue has already been answered here: https://github.com/nicolasbeauvais/vue-social-sharing/issues/39
Short answer: We would need to make API call to Facebook (or any other provider) in order to make the share action, which is outside the scope of this package.


Added prospect.rip (Prospect Network)

Closing as this is broken, please make a new pull request and I'll merge it, @Escapies.


Expiration summary email fixes

Fix incorrect expectation of return type for summary emails in notification cli
Add 1 to days in summary email (as written, it ranges from 0 to 13 instead of 1 to 14)

Coverage increased (+0.005%) to 60.763% when pulling de98586c133735ff8173f7827a70637c2d30c3af on jtschladen:fix-expiration-summary into 9d00464842f54bcfcbfa9b0aab95ba6dc6388fcf on Netflix:master.


SSL_CTX_set_quic_method manpage removed

Between 9398922 and 32be828, the man/man3/SSL_CTX_set_quic_method.3.gz manpage went missing from make install.
Browsed a bit through the commits but couldn't find out how this was in alpha12 but is no longer in alpha13

Upstream alpha12 to alpha13 included changes in how documentation files are built. PR #20 fixes this, but hasn't had any traction.

Resolved with #20


UTIL_Describe.checkFieldFLS() should not namespace

the utility routine UTIL_Describe.checkFieldFLS() for checking FLS assumes that both the object and fields are from the NPSP namespace.  Currently, this public method is only used in one routine in Engagement Plans, and it is OK.  But because this is a public utility method, I fear in the future other devs might use it and not realize it blindly namespaces any custom field.  I'd recommend that we change UTIL_Describe.checkFieldFLS() to NOT namespace fields, and that the callers be responsible for using UTIL_Namespace.StrTokenNSPrefix() on the appropriate fields.  This is critical if this routine is ever used with a page that uses field sets, since those can contain fields from npsp, other packages, and customer unmanaged custom fields.

**lurch: add

Tracking W-020596

Salesforce has determined that this issue will not be explored further.


How do i use this?

please help me i only want to use the skinchanger.

o hell nah this skids nowadays.

i also have no idea, i have 0 idea on computers or how this things work