[Question]: QA with PDF using Dense X Retrieval

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
In Dense X Retrieval, I have modified base.py code from openAI to Gemini model and embeddings.
It is working for pdf having lesser content only but not working for pdf having large content getiing Internal Server Error
find the attachment

`import asyncio
import json
from typing import Any, Dict, List, Optional
import yaml
from llama_index.core import Document, ServiceContext, VectorStoreIndex
from llama_index.core.async_utils import run_jobs
from llama_index.core.base.embeddings.base import BaseEmbedding
from llama_index.core.base.response.schema import RESPONSE_TYPE
from llama_index.core.llama_pack.base import BaseLlamaPack
from llama_index.core.node_parser.interface import TextSplitter
from llama_index.core.node_parser.text import SentenceSplitter
from llama_index.core.prompts import PromptTemplate
from llama_index.core.query_engine import RetrieverQueryEngine
from llama_index.core.retrievers import RecursiveRetriever
from llama_index.core.schema import IndexNode, TextNode
from llama_index.embeddings.gemini import GeminiEmbedding
from llama_index.llms.gemini import Gemini
backwards compatibility
try:
from llama_index.core.llms.llm import LLM
except ImportError:
from llama_index.core.llms.base import LLM
PROPOSITIONS_PROMPT = PromptTemplate(
"""Decompose the "Content" into clear and simple propositions, ensuring they are interpretable out of
context.

Split compound sentence into simple sentences. Maintain the original phrasing from the input
whenever possible.
For any named entity that is accompanied by additional descriptive information, separate this
information into its own distinct proposition.
Decontextualize the proposition by adding necessary modifier to nouns or entire sentences
and replacing pronouns (e.g., "it", "he", "she", "they", "this", "that") with the full name of the
entities they refer to.
Present the results as a list of strings, formatted in JSON.

Input: Title: ¯Eostre. Section: Theories and interpretations, Connection to Easter Hares. Content:
The earliest evidence for the Easter Hare (Osterhase) was recorded in south-west Germany in
1678 by the professor of medicine Georg Franck von Franckenau, but it remained unknown in
other parts of Germany until the 18th century. Scholar Richard Sermon writes that "hares were
frequently seen in gardens in spring, and thus may have served as a convenient explanation for the
origin of the colored eggs hidden there for children. Alternatively, there is a European tradition
that hares laid eggs, since a hare’s scratch or form and a lapwing’s nest look very similar, and
both occur on grassland and are first seen in the spring. In the nineteenth century the influence
of Easter cards, toys, and books was to make the Easter Hare/Rabbit popular throughout Europe.
German immigrants then exported the custom to Britain and America where it evolved into the
Easter Bunny."
Output: [ "The earliest evidence for the Easter Hare was recorded in south-west Germany in
1678 by Georg Franck von Franckenau.", "Georg Franck von Franckenau was a professor of
medicine.", "The evidence for the Easter Hare remained unknown in other parts of Germany until
the 18th century.", "Richard Sermon was a scholar.", "Richard Sermon writes a hypothesis about
the possible explanation for the connection between hares and the tradition during Easter", "Hares
were frequently seen in gardens in spring.", "Hares may have served as a convenient explanation
for the origin of the colored eggs hidden in gardens for children.", "There is a European tradition
that hares laid eggs.", "A hare’s scratch or form and a lapwing’s nest look very similar.", "Both
hares and lapwing’s nests occur on grassland and are first seen in the spring.", "In the nineteenth
century the influence of Easter cards, toys, and books was to make the Easter Hare/Rabbit popular
throughout Europe.", "German immigrants exported the custom of the Easter Hare/Rabbit to
Britain and America.", "The custom of the Easter Hare/Rabbit evolved into the Easter Bunny in
Britain and America." ]
Input: {node_text}
Output:"""
)
class DenseXRetrievalPack(BaseLlamaPack):
def init(
self,
documents: List[Document],
proposition_llm: Optional[LLM] = None,
query_llm: Optional[LLM] = None,
embed_model: Optional[BaseEmbedding] = None,
text_splitter: TextSplitter = SentenceSplitter(),
similarity_top_k: int = 4,
streaming: bool = False,
) -> None:
"""Init params."""
self._proposition_llm = proposition_llm or Gemini(
model="models/gemini-1.5-pro-preview-0215",
temperature=0.1,
max_tokens=2048,
)
    embed_model = embed_model or GeminiEmbedding(embed_batch_size=128)

    nodes = text_splitter.get_nodes_from_documents(documents)
    sub_nodes = self._gen_propositions(nodes)

    all_nodes = nodes + sub_nodes
    all_nodes_dict = {n.node_id: n for n in all_nodes}

    service_context = ServiceContext.from_defaults(
        llm=query_llm or Gemini(),
        embed_model=embed_model,
        num_output=self._proposition_llm.metadata.num_output,
    )

    self.vector_index = VectorStoreIndex(
        all_nodes, service_context=service_context, show_progress=True
    )

    self.retriever = RecursiveRetriever(
        "vector",
        retriever_dict={
            "vector": self.vector_index.as_retriever(
                similarity_top_k=similarity_top_k
            )
        },
        node_dict=all_nodes_dict,
    )

    self.query_engine = RetrieverQueryEngine.from_args(
        self.retriever,
        service_context=service_context,
        streaming=streaming,
    )

async def _aget_proposition(self, node: TextNode) -> List[TextNode]:
    """Get proposition."""
    inital_output = await self._proposition_llm.apredict(
        PROPOSITIONS_PROMPT, node_text=node.text
    )
    outputs = inital_output.split("\n")

    all_propositions = []

    for output in outputs:
        if not output.strip():
            continue
        if not output.strip().endswith("]"):
            if not output.strip().endswith('"') and not output.strip().endswith(
                ","
            ):
                output = output + '"'
            output = output + " ]"
        if not output.strip().startswith("["):
            if not output.strip().startswith('"'):
                output = '"' + output
            output = "[ " + output

        try:
            propositions = json.loads(output)
        except Exception:
            # fallback to yaml
            try:
                propositions = yaml.safe_load(output)
            except Exception:
                # fallback to next output
                continue

        if not isinstance(propositions, list):
            continue

        all_propositions.extend(propositions)

    assert isinstance(all_propositions, list)
    nodes = [TextNode(text=prop) for prop in all_propositions if prop]

    return [IndexNode.from_text_node(n, node.node_id) for n in nodes]

def _gen_propositions(self, nodes: List[TextNode]) -> List[TextNode]:
    """Get propositions."""
    sub_nodes = asyncio.run(
        run_jobs(
            [self._aget_proposition(node) for node in nodes],
            show_progress=True,
            workers=8,
        )
    )

    # Flatten list
    return [node for sub_node in sub_nodes for node in sub_node]

def get_modules(self) -> Dict[str, Any]:
    """Get modules."""
    return {
        "query_engine": self.query_engine,
        "retriever": self.retriever,
    }

def run(self, query_str: str, **kwargs: Any) -> RESPONSE_TYPE:
    """Run the pipeline."""
    return self.query_engine.query(query_str)

`
this is the modified code of base.py using Gemini model
after the changes are also done in the code when we executing Dense X as:
`from llama_index.llms.gemini import Gemini
from llama_index.core.node_parser import SentenceSplitter
from google.generativeai.types import safety_types
from base1 import DenseXRetrievalPack as Dp1
Create a Gemini model with stricter safety settings
model = Gemini(
model="models/gemini-pro",
max_tokens=2048,
safety_settings = [
{
"category": "HARM_CATEGORY_HARASSMENT",
"threshold": "BLOCK_MEDIUM_AND_ABOVE"
},
{
"category": "HARM_CATEGORY_HATE_SPEECH",
"threshold": "BLOCK_MEDIUM_AND_ABOVE"
},
{
"category": "HARM_CATEGORY_SEXUALLY_EXPLICIT",
"threshold": "BLOCK_MEDIUM_AND_ABOVE"
},
{
"category": "HARM_CATEGORY_DANGEROUS_CONTENT",
"threshold": "BLOCK_MEDIUM_AND_ABOVE"
}
]
)
Use the new model in your DenseXRetrievalPack
dense_pack = Dp1(
documents,
proposition_llm=model,
query_llm=model,
text_splitter=SentenceSplitter(chunk_size=1024),
)
dense_query_engine = dense_pack.query_engine`
For some PDf's I am getting error as folows:
**---------------------------------------------------------------------------
StopCandidateException                    Traceback (most recent call last)
 in <cell line: 29>()
27 )
28 # Use the new model in your DenseXRetrievalPack
---> 29 dense_pack = Dp1(
30     documents,
31     proposition_llm=model,
21 frames
/usr/local/lib/python3.10/dist-packages/google/generativeai/generative_models.py in _check_response(self, response, stream)
459                 glm.Candidate.FinishReason.MAX_TOKENS,
460             ):
--> 461                 raise generation_types.StopCandidateException(response.candidates[0])
462
463     def _get_function_calls(self, response) -> list[glm.FunctionCall]:
StopCandidateException: finish_reason: RECITATION
index: 0**
and for some pdfs getting 500: Internal Server Error

The "TypeError: Failed to fetch" error you're encountering when working with large PDF content and the Gemini model suggests a few specific areas to focus on for troubleshooting:

Network and API Endpoint: Ensure your network connection is stable and the API endpoint is correctly configured. This error often points to network issues or incorrect endpoint configurations.
Content Size Handling: Large PDFs may exceed the Gemini model's input token limit. Consider splitting the PDF content into smaller segments that fit within the model's limitations.
Timeout Settings: The error might be due to timeouts from large payloads or slow responses. Adjust your network request timeout settings to accommodate larger or more complex requests.
Error Handling and Logging: Implement robust error handling around your API calls and add logging to capture the size of inputs and other relevant details. This can help pinpoint the cause of failures.
API Rate Limits: Verify that your usage does not exceed the API's rate limits and quotas, as this can lead to failed requests.
Dependencies and Documentation: Make sure all dependencies are up to date and consult the Gemini model's API documentation for any new guidelines on handling large inputs.

By focusing on these areas, you should be able to identify and resolve the issue with handling large PDF content in your application.
Sources

llama-index-integrations/llms/llama-index-llms-gemini/llama_index/llms/gemini/base.py
llama-index-legacy/llama_index/legacy/llms/gemini.py
llama-index-legacy/llama_index/legacy/program/predefined/evaporate/base.py

About Dosu

`import asyncio
import json
from typing import Any, Dict, List, Optional
import yaml
from llama_index.core import Document, ServiceContext, VectorStoreIndex
from llama_index.core.async_utils import run_jobs
from llama_index.core.base.embeddings.base import BaseEmbedding
from llama_index.core.base.response.schema import RESPONSE_TYPE
from llama_index.core.llama_pack.base import BaseLlamaPack
from llama_index.core.node_parser.interface import TextSplitter
from llama_index.core.node_parser.text import SentenceSplitter
from llama_index.core.prompts import PromptTemplate
from llama_index.core.query_engine import RetrieverQueryEngine
from llama_index.core.retrievers import RecursiveRetriever
from llama_index.core.schema import IndexNode, TextNode
from llama_index.embeddings.gemini import GeminiEmbedding
from llama_index.llms.gemini import Gemini
backwards compatibility
try:
from llama_index.core.llms.llm import LLM
except ImportError:
from llama_index.core.llms.base import LLM
PROPOSITIONS_PROMPT = PromptTemplate(
"""Decompose the "Content" into clear and simple propositions, ensuring they are interpretable out of
context.

Split compound sentence into simple sentences. Maintain the original phrasing from the input
whenever possible.
For any named entity that is accompanied by additional descriptive information, separate this
information into its own distinct proposition.
Decontextualize the proposition by adding necessary modifier to nouns or entire sentences
and replacing pronouns (e.g., "it", "he", "she", "they", "this", "that") with the full name of the
entities they refer to.
Present the results as a list of strings, formatted in JSON.

Input: Title: ¯Eostre. Section: Theories and interpretations, Connection to Easter Hares. Content:
The earliest evidence for the Easter Hare (Osterhase) was recorded in south-west Germany in
1678 by the professor of medicine Georg Franck von Franckenau, but it remained unknown in
other parts of Germany until the 18th century. Scholar Richard Sermon writes that "hares were
frequently seen in gardens in spring, and thus may have served as a convenient explanation for the
origin of the colored eggs hidden there for children. Alternatively, there is a European tradition
that hares laid eggs, since a hare’s scratch or form and a lapwing’s nest look very similar, and
both occur on grassland and are first seen in the spring. In the nineteenth century the influence
of Easter cards, toys, and books was to make the Easter Hare/Rabbit popular throughout Europe.
German immigrants then exported the custom to Britain and America where it evolved into the
Easter Bunny."
Output: [ "The earliest evidence for the Easter Hare was recorded in south-west Germany in
1678 by Georg Franck von Franckenau.", "Georg Franck von Franckenau was a professor of
medicine.", "The evidence for the Easter Hare remained unknown in other parts of Germany until
the 18th century.", "Richard Sermon was a scholar.", "Richard Sermon writes a hypothesis about
the possible explanation for the connection between hares and the tradition during Easter", "Hares
were frequently seen in gardens in spring.", "Hares may have served as a convenient explanation
for the origin of the colored eggs hidden in gardens for children.", "There is a European tradition
that hares laid eggs.", "A hare’s scratch or form and a lapwing’s nest look very similar.", "Both
hares and lapwing’s nests occur on grassland and are first seen in the spring.", "In the nineteenth
century the influence of Easter cards, toys, and books was to make the Easter Hare/Rabbit popular
throughout Europe.", "German immigrants exported the custom of the Easter Hare/Rabbit to
Britain and America.", "The custom of the Easter Hare/Rabbit evolved into the Easter Bunny in
Britain and America." ]
Input: {node_text}
Output:"""
)
class DenseXRetrievalPack(BaseLlamaPack):
def init(
self,
documents: List[Document],
proposition_llm: Optional[LLM] = None,
query_llm: Optional[LLM] = None,
embed_model: Optional[BaseEmbedding] = None,
text_splitter: TextSplitter = SentenceSplitter(),
similarity_top_k: int = 4,
streaming: bool = False,
) -> None:
"""Init params."""
self._proposition_llm = proposition_llm or Gemini(
model="models/gemini-1.5-pro-preview-0215",
temperature=0.1,
max_tokens=2048,
)
    embed_model = embed_model or GeminiEmbedding(embed_batch_size=128)

    nodes = text_splitter.get_nodes_from_documents(documents)
    sub_nodes = self._gen_propositions(nodes)

    all_nodes = nodes + sub_nodes
    all_nodes_dict = {n.node_id: n for n in all_nodes}

    service_context = ServiceContext.from_defaults(
        llm=query_llm or Gemini(),
        embed_model=embed_model,
        num_output=self._proposition_llm.metadata.num_output,
    )

    self.vector_index = VectorStoreIndex(
        all_nodes, service_context=service_context, show_progress=True
    )

    self.retriever = RecursiveRetriever(
        "vector",
        retriever_dict={
            "vector": self.vector_index.as_retriever(
                similarity_top_k=similarity_top_k
            )
        },
        node_dict=all_nodes_dict,
    )

    self.query_engine = RetrieverQueryEngine.from_args(
        self.retriever,
        service_context=service_context,
        streaming=streaming,
    )

async def _aget_proposition(self, node: TextNode) -> List[TextNode]:
    """Get proposition."""
    inital_output = await self._proposition_llm.apredict(
        PROPOSITIONS_PROMPT, node_text=node.text
    )
    outputs = inital_output.split("\n")

    all_propositions = []

    for output in outputs:
        if not output.strip():
            continue
        if not output.strip().endswith("]"):
            if not output.strip().endswith('"') and not output.strip().endswith(
                ","
            ):
                output = output + '"'
            output = output + " ]"
        if not output.strip().startswith("["):
            if not output.strip().startswith('"'):
                output = '"' + output
            output = "[ " + output

        try:
            propositions = json.loads(output)
        except Exception:
            # fallback to yaml
            try:
                propositions = yaml.safe_load(output)
            except Exception:
                # fallback to next output
                continue

        if not isinstance(propositions, list):
            continue

        all_propositions.extend(propositions)

    assert isinstance(all_propositions, list)
    nodes = [TextNode(text=prop) for prop in all_propositions if prop]

    return [IndexNode.from_text_node(n, node.node_id) for n in nodes]

def _gen_propositions(self, nodes: List[TextNode]) -> List[TextNode]:
    """Get propositions."""
    sub_nodes = asyncio.run(
        run_jobs(
            [self._aget_proposition(node) for node in nodes],
            show_progress=True,
            workers=8,
        )
    )

    # Flatten list
    return [node for sub_node in sub_nodes for node in sub_node]

def get_modules(self) -> Dict[str, Any]:
    """Get modules."""
    return {
        "query_engine": self.query_engine,
        "retriever": self.retriever,
    }

def run(self, query_str: str, **kwargs: Any) -> RESPONSE_TYPE:
    """Run the pipeline."""
    return self.query_engine.query(query_str)

`
this is the modified code of base.py using Gemini model
after the changes are also done in the code when we executing Dense X as:
`from llama_index.llms.gemini import Gemini
from llama_index.core.node_parser import SentenceSplitter
from google.generativeai.types import safety_types
from base1 import DenseXRetrievalPack as Dp1
Create a Gemini model with stricter safety settings
model = Gemini(
model="models/gemini-pro",
max_tokens=2048,
safety_settings = [
{
"category": "HARM_CATEGORY_HARASSMENT",
"threshold": "BLOCK_MEDIUM_AND_ABOVE"
},
{
"category": "HARM_CATEGORY_HATE_SPEECH",
"threshold": "BLOCK_MEDIUM_AND_ABOVE"
},
{
"category": "HARM_CATEGORY_SEXUALLY_EXPLICIT",
"threshold": "BLOCK_MEDIUM_AND_ABOVE"
},
{
"category": "HARM_CATEGORY_DANGEROUS_CONTENT",
"threshold": "BLOCK_MEDIUM_AND_ABOVE"
}
]
)
Use the new model in your DenseXRetrievalPack
dense_pack = Dp1(
documents,
proposition_llm=model,
query_llm=model,
text_splitter=SentenceSplitter(chunk_size=1024),
)
dense_query_engine = dense_pack.query_engine`
For some PDf's I am getting error as folows:
**---------------------------------------------------------------------------
StopCandidateException                    Traceback (most recent call last)
 in <cell line: 29>()
27 )
28 # Use the new model in your DenseXRetrievalPack
---> 29 dense_pack = Dp1(
30     documents,
31     proposition_llm=model,
21 frames
/usr/local/lib/python3.10/dist-packages/google/generativeai/generative_models.py in _check_response(self, response, stream)
459                 glm.Candidate.FinishReason.MAX_TOKENS,
460             ):
--> 461                 raise generation_types.StopCandidateException(response.candidates[0])
462
463     def _get_function_calls(self, response) -> list[glm.FunctionCall]:
StopCandidateException: finish_reason: RECITATION
index: 0**
and for some pdfs getting 500: Internal Server Error

I feel like this is more of an error with googles servers?  I think this model is super new too, wouldn't be surprised if it had some issues


Update HF blog post date/height

Should the filename change too?

It would break all of the other links that have been shared if we do so, so I'd recommend against it unless we just want to put out an entirely new blog post in addition to this update.

You can see the updated post/title here, @SamsungGalaxyPlayer: https://deploy-preview-1992--barolo-time-757cf9.netlify.app/2022/04/20/network-upgrade-july-2022.html


Fix broken link in guidance.md

This PR attempts to fix a broken link to the "definitions" page that was introduced in my last PR to improve the saga guidance page.

In the future, it may help to test locally as shown in the docs.


Move method dependency type conversion causes syntax errors

Does this issue occur when all extensions are disabled?: Yes/No

-VS Code Version: 1.88.1
-OS Version: Windows11
-Language：java
Steps to Reproduce:
1.select "moveMethod()"
2.click “Refacator-Move method”
class SourceClass{
private TargetClass target;
public SourceClass(TargetClass target) {
this.target = target;
}
public void moveMethod(TargetClass parameter) {
((TargetClass) target.abstractField).methodWithSameName();
}
}
interface TargetClass {
Object abstractField = null;
void methodWithSameName();
}
refactoring result:

/extJava

It looks like this is caused by the Java extension. Please file the issue to the Java extension repository. Make sure to check their troubleshooting instructions and provide relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.
Happy Coding!


Balloons, Helm... are still considered present when destroyed with explosions or fire.

This issue occurs when only Valkyrien Skies and addons are installed and no other mods

[x] I have tested this issue and it occurs when no other mods are installed

Minecraft Version
1.20
Mod Loader
Fabric
Issue description
When a special block (balloon, helm...) are destroyed without the hand (with fire, tnt, fireball...), the ship don't behave like they have been destroyed.
For example if I destroy the helm of an airship with tnt, the ship don't fall, it stands like nothings happened.
Here is the video to illustrate : https://drive.google.com/file/d/1CqsurTP2436cfFudedIWs3A3lteE0urg/view?usp=sharing
It seems like the ballon and helm exist in a "ghost" state that allow the ship to float in the air.
I haven't tested it, but I suspect the same things would happens on floater and ballasts.
It is even possible that the general weight of the ship itself don't update when blocks are destroyed with explosions or fire.
I tested this issure on Fabric 1.20.1 with no other mods and on Quilt 1.20.1 with 50~100 other mods installed. It happened both times.

Logs
No response

Duplicate of #308


Make variable name more reasonable

Type of Change
Improve variable naming reasonably
No API changed
Description
Make variable name more reasonable
Expected Behavior & Potential Risk
Quantization examples run successfully.
How has this PR been tested?
Local Test

extension test


Fix reverseMap function

There is currently a method called reverseMap that lives in /lib/reverseMap.js.
It is incomplete and needs to be fixed!
It reverses the key-value pairings of a Map to be value-key pairings.
Original map             | Reversed map
key1 -> value1           | value1 -> key1
Map.get(key1) === value2 | Map.get(value1) === key1

Acceptance Criteria:

Running yarn test reverseMap results in tests passing.
You have written a skeleton method for someone else to work on.
You have written tests surrounding your skeleton method.
Running yarn lint does not print any errors to the console!
Optional: write one or two more tests surrounding the method you are solving to account for potential edge cases.

Please include the skeleton of a new method + an accompanying test for someone else to work on at the time of creating a pull request! A pull request will most likely be denied if it does not contain a skeleton method for someone else to work on! For more information, please read the Contributing Guide.
Thank you so much for your contribution!

Hi @janclarin I would like to take on this issue and complete it.

Sounds good @jamesg1 ! Thanks


New version: vim.vim.nightly version 9.1.0643

Pull request has been created with WinGet Releaser :rocket:
Microsoft Reviewers: Open in CodeFlow

/azp run

/azp run


Cannot Connect User Profile in Acumatica

When I try to connect my Acumatica user to my Smartsheet user account, it is giving me a failure as if there is a missing link in Acumatica customization project. Is there something I may have missed in setting this integration up?
Acumatica Version - 20.101.0032

Note: It correctly brings up the authorize page and the error occurs after clicking "allow"

After further review and troubleshooting, it looks like the integration uses PMSubTasks but these are not included in Acumatica 2020 R1 from my brief attempt to look into it. I believe this detail is now being found with Cost Codes instead of subtasks. I may be entirely missing something here but thought I would share my findings.

@dcoll22 ,
#1. About token issue, are you using e-mail as username in Acumatica ? If so, there's a known issue at present with this integration. Try to use acumatica username which is not e-mail address until this issue is fixed.
#2. About PMSubTasks and CostCode -
Yes, integration uses PMSubTasks and that is part of SmartSheet integration not in core Acumatica. PMSubTasks is custom table. Cost codes has not been utilized in SmartSheet integration. Please submit an idea and use case at https://feedback.acumatica.com/.

@dcoll22 Is there a workaround here to get this integration working for 2020 R1 or higher?  I am experiencing the same issue for a 2020R2 environment.

I have the same issue on Acumatica 2020R2 as @dcoll22 .
@DhirenChhapgar the username in Acumatica instance is not the e-mail address.
I tried with the last version of the package (v2).

For 2020R2 the problem was solved after publishing the version of the package.

Confirmed, we have this working with 2020R2 as well using build 20.201.0051.

@dcoll22 would you please indicate if this issue is still occurring?
@kulvirTAC @AlinPara FYI - a new version for 2021R1 is now available in the repository as well.


Add Vladi as Contributor to the list

Added myself to the contributors list

@ewoks, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added Facebook share and tweet feature to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.


onCSSImportPath

Part of Microsoft/vscode#51331

@octref Looks good.
Sorry I accidentally pushed Microsoft/vscode#51331, so pushing this one too.

Don't forget to mention new APIs in the CHANGELOG. I added a entry for ICompletionParticipant.onCssImportPath

Don't forget to mention new APIs in the CHANGELOG.

Will do next time, thanks!


Symlink to enable dynamic cms?

As I explained in this comment, at application startup you can make a symlink and map the contents folder from the filesystem to a folder under the contextroot of the app (and it will behave exactly as if the content would be inside the deployable, under the webapp folder).
Something like this:
File contextRoot = new File(servletContext.getRealPath(""));
File link = new File(contextRoot, "cms");

Path contentPath = FileSystems.getDefault().getPath("path/to/content/on/disk");

Files.createSymbolicLink(link.toPath(), contentPath);

Your content becomes available at path /cms/... under your context-root. So say the app has contextroot /app, a link to the index page would look like this domain/app/cms/.../index.html
This way, the static content can be managed inside a CMS, published on the filesystem and it would become available right away, eliminating the need for a build and deployment just for a change of text or html file or javascript clientside code.
I think it would be nice if takes offered such functionality.

@yegor256 please do something about it, see par.21

@amihaiemil you can do it already. See how it's done here, for example: https://github.com/yegor256/jare/blob/0.7.1/src/main/java/io/jare/tk/TkApp.java#L162-L168 Or I didn't understand your question?

@yegor256 If I understand well that code, it takes images from somewhere and then, using that refresh method, it puts them under the project's src/main/resources...
And that refresh method runs a mvn command ...? Seems very strange to me, sorry.
So the app makes static resources accesible by first looking for them, and then running mvn on-the-fly to pack them inside it... but why not simply put them on disk, in a place accessible through a symlink, like I illustrated here?
Why do the static resources need to be part of the application?
I mean sure, it seems to achieve the dynamicity I talk about, but it seems awfully complicated ^^

@amihaiemil you can do it with the help of TkFiles. Or I miss the idea again? :)

@yegor256 I see. That sounds more like what I had in mind :D


Fix buttons on macOS

Use ttk, which is supported on macOS.

Current coverage is 43.89% (diff: 100%)

Merging #5 into master will increase coverage by 0.73%

@@             master         #5   diff @@
==========================================
  Files             3          3
  Lines           380        385     +5
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            164        169     +5
  Misses          216        216
  Partials          0          0

Powered by Codecov. Last update 0c3ba56...933343e

LGTM


trouble compiling with --include-distribution-metadata=pandas and without --include-distribution-metadata=pandas

I think there is a bit of a regression on factory, we discussed that it might be more complex in discord.
I was gonna write a ticket but it was mentioned not to that in the github issue template.

Nuitka version, full Python version, flavor, OS, etc. as output by this exact command.
1.9rc7 factory branch e7eaea90ae40248a11c1c3bd1f04337d892639c3
Commercial: None
Python: 3.10.2 (tags/v3.10.2:a58ebcc, Jan 17 2022, 14:12:15) [MSC v.1929 64 bit (AMD64)]
Flavor: CPython Official
Executable: C:\Users\Tensor\Desktop\jsonformertest.venv\Scripts\python.exe
OS: Windows
Arch: x86_64
WindowsRelease: 10

Installed via Pip3 cloned repo on factory branch.
download from here https://huggingface.co/TheBloke/OpenHermes-2-Mistral-7B-AWQ
git clone the repo then when cloned use git
lfs pull to get the model.
from awq import AutoAWQForCausalLM
from transformers import AutoTokenizer, TextStreamer
## loop over numbers from 1 to 10

def main():
    quant_path = r"C:\Users\Tensor\Desktop\jsonformertest\OpenHermes-2-Mistral-7B-AWQ"
    quant_file = r"model.safetensors"

    # Load model
    model = AutoAWQForCausalLM.from_quantized(quant_path, quant_file, fuse_layers=True)
    tokenizer = AutoTokenizer.from_pretrained(quant_path, trust_remote_code=True)
    streamer = TextStreamer(tokenizer, skip_special_tokens=True)

    # Convert prompt to tokens
    prompt_template = """\
    A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.

    USER: {prompt}
    ASSISTANT:"""

    tokens = tokenizer(
        prompt_template.format(prompt="How are you today?"),
        return_tensors='pt'
    ).input_ids.cuda()

    # Generate output
    generation_output = model.generate(
        tokens,
        streamer=streamer,
        max_new_tokens=512
    )

main() When run should output just text.

The issue is when using this build command
python -m nuitka --standalone --include-package=huggingface_hub.repocard,huggingface_hub.hf_file_system,sentencepiece,transformers.models.falcon.configuration_falcon,transformers.models.musicgen.configuration_musicgen,transformers.models.mpt.configuration_mpt,transformers.models.deprecated.open_llama.configuration_open_llama,safetensors --include-distribution-metadata=sentencepiece,safetensors --include-distribution-metadata=accelerate --include-distribution-metadata=datasets --include-distribution-metadata=peft --include-distribution-metadata=jinja2 --include-distribution-metadata=openai --include-distribution-metadata=psutil  --include-distribution-metadata=torchaudio
--include-distribution-metadata=torchvision --include-distribution-metadata=torch --include-distribution-metadata=pandas --report=report --plugin-enable=anti-bloat --noinclude-unittest-mode=allow main.py
When I run the main.exe it tells me to:
--include-distribution-metadata=pandas
When I compile it without that flag
FATAL: Error, including metadata for distribution 'pandas' without including related package 'pandas.libs'
The build exits
It's a catch 22 thanks!

So, what's going on there, is that pandas and pandas.libs are provided by the distribution pandas, however, during its discovery of what these packages are, it finds both, and then picks only one.

And then it insists, that should be part of your program, but it is not. This happens with any import pandas and then --include-stribution-metadata=pandas, of course were pandas.libs included, that would be fine. We should make sure that we do consider nested names there.

Hm, actually top_level.txt of pandas claims it contains pandas.libs only as that's the only line there, clearly a packaging bug I guess.

@kayhayen Thanks hopefully you are doing well these days!


Embed does not update dynamically

Hi I tried this out and while it does embed, it seems to be a static version of the diagram. Once I update the diagram, the notion embed is still stuck on a static version of the diagram and does not reflect the updates.

Hi, this is unfortunately an issue with how draw.io publishes diagrams. Since they do not always host the diagrams, they can't share a 'live' link for the diagram. Instead, they seem to encode the entire drawing in a URL and then share that.
If you are aware of a way to share a 'live' link form draw.io please let me know and we can look at implementing it!


Add ||spoilers||

this is not backwards compatible
currently spoilers when turned into text in og will just show their content :(
well actually, the notifications don't show up at all. I want to fix that before merging.


Update defender-for-sql-usage.md

Updated the list of supported SQL server versions explicitly

@bmansheim

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off
@idokeshet Please double-check that you have SpineEdit enabled so that these types of PRs will open in the private repo. 😁


libvorbis: fix 404'ing patch

Also use full commit for the other patch, just in case there's ever a
collision, as unlikely as that may be.

Motivation for this change
Thanks to Kyndig on IRC, again.
Things done

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

[ ] NixOS
[ ] macOS
[x] other Linux distributions

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

I'll open backport PRs after this is merged. @veprbl, since you did that last time for the ninja 404, should I backport to 19.03 and 19.09 as well? (20.03 is a given)

Huh, I swore I checked that with ,vimtofu... Sorry, should be sorted now.

Darn, I was hoping this wouldn't need to go to staging...

This is no big deal


Fix wrong binary name in the publish workflow

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

/changelog


[Bug] it seems prebuild action dont work by default with pod 'xxx', :macro => { :git => 'xxx', :tag => 'xxx' }

What happened?
Problem 1
Steps:

change the Podfile of examples as follow:

  config_cocoapods_spm(
    dont_prebuild_macros: false,
    default_macro_config: "debug"
  )

run the command: make ex.install
check the directory: .spm.pods/macros/.downloaded/MacroCodableKit/,
there is no .build directory,

Result:

The prebuild action is not triggered by default.
The plugin dose not call the prebuild_macro_impl method by default.

Problem 2
Steps:

I execute the prebuild action mannually by run command:bundle exec pod spm macro prebuild --macros=MacroCodableKit --config=debug

check the directory: .spm.pods/macros/.downloaded/MacroCodableKit/.build/debug
the binary product is  <product_name>-tool, and can not be copyed as the prebuild binary by plugin:

the prebuild product named with the '-tool' suffix, which maybe caused by swift 6 different compiled rule?

CocoaPods environment
Stack
   CocoaPods : 1.16.2
        Ruby : ruby 3.3.6 (2024-11-05 revision 75015d4c1f) [arm64-darwin24]
    RubyGems : 3.5.23
        Host : macOS 15.1.1 (24B91)
       Xcode : 16.0 (16A242d)
         Git : git version 2.46.1
Ruby lib dir : /opt/homebrew/Cellar/ruby/3.3.6/lib
Repositories : byted-lark-xcbinary_v6_0_0_9_10_sdk18.0 - git - git@code.byted.org:lark/xcbinary_v6_0_0_9_10_sdk18.0.git @ d8710554b4ebfd1a6a8bac6c41cb1fc3f1dc8e8f

               trunk - CDN - https://cdn.cocoapods.org/

Installation Source
Executable Path: /opt/homebrew/lib/ruby/gems/3.3.0/bin/pod

Plugins
cocoapods-compact-spec   : 0.0.4
cocoapods-deintegrate    : 1.0.5
cocoapods-plugins        : 1.0.0
cocoapods-search         : 1.0.1
cocoapods-spm            : 0.1.8
cocoapods-trunk          : 1.6.0
cocoapods-try            : 1.2.0
cocoapods-xcconfig-hooks : 0.0.1

Podfile
# --------------------------------------------------
# Base configs
# --------------------------------------------------
@checksum = "dummy-checksum-to-prevent-merge-conflicts"
ios_deployment_target = "16.0"

platform :ios, ios_deployment_target
use_frameworks! :linkage => (ENV["LINKAGE"] || :static).to_sym
install! "cocoapods", :generate_multiple_pod_projects => true

# --------------------------------------------------
# Plugin configs
# --------------------------------------------------
plugin "cocoapods-spm"
plugin "cocoapods-xcconfig-hooks"
config_compact_spec(
  extra: ->(s) { s.ios.deployment_target = ios_deployment_target }
)

config_cocoapods_spm(
  dont_prebuild_macros: false,
  default_macro_config: "debug"
)

# --------------------------------------------------
# Pods config
# --------------------------------------------------

def shared_pods
  pod "Logger", :path => "LocalPods/Logger"
end

target "EX" do # rubocop:disable Metrics/BlockLength
  shared_pods
  pod "CommonUI", :path => "LocalPods/CommonUI"
  pod "Services", :path => "LocalPods/Services"

  pod "Orcam", :macro => {
    :git => "https://github.com/trinhngocthuyen/orcam.git",
    :branch => "main",
  }
  pod "MacroCodableKit", :macro => {
    :git => "https://github.com/mikhailmaslo/macro-codable-kit",
    :tag => "0.3.0",
  }

  spm_pkg "SnapKit",
          :url => "https://github.com/SnapKit/SnapKit.git",
          :version => "5.7.1",
          :products => ["SnapKit-Dynamic"]
  spm_pkg "SwiftUIX", :git => "https://github.com/SwiftUIX/SwiftUIX.git", :tag => "0.1.9"
  spm_pkg "SwiftyBeaver", :git => "https://github.com/SwiftyBeaver/SwiftyBeaver.git", :tag => "2.0.0"
  spm_pkg "opentelemetry-swift",
          :git => "https://github.com/open-telemetry/opentelemetry-swift.git",
          :branch => "main",
          :products => ["OpenTelemetrySdk"]
  spm_pkg "GoogleMaps",
          :git => "https://github.com/googlemaps/ios-maps-sdk.git",
          :version => "8.4.0",
          :products => ["GoogleMaps", "GoogleMapsBase", "GoogleMapsCore"]
  spm_pkg "mqtt-nio",
          :url => "https://github.com/swift-server-community/mqtt-nio.git",
          :version => "2.11.0",
          :products => ["MQTTNIO"]
  spm_pkg "DebugKit", :path => "LocalPackages/debug-kit"
end

target "EXTests" do
  # Nothing here
end

target "EXMac" do
  platform :osx, "14.0"
  shared_pods
end

post_install do |installer|
  installer.native_targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] = ios_deployment_target
    end
  end
end

Anything else?
CocoaPods 1.16.2 + Ruby 3.2.2 + Xcode 16.0 + Swift 6 + macOS 15.1.1

For problem (1)
Found the root cause:

The macro prebuild logic is triggered together with installer.install! https://github.com/trinhngocthuyen/cocoapods-spm/blob/main/lib/cocoapods-spm/macro/pod_installer.rb#L10-L13
However, CocoaPods has the cache to skip PodSourceInstaller for incremental installation. Let say, if we delete Pods dir, or just Pods/Local Podspecs/MacroCodableKit.podspec.json, the prebuild will be triggered again. But the subsequent runs will not.

-> I think we can force-run this step for macro pods in incremental installations.
For problem (2)
It turns out Xcode 16 changes the macro binary format, having a -tool suffix in the name 😅.

for Problem 2, maybe we should found another way to locate the correct binary name

For problem 1, I'm not sure about the caching mechanism of the installation at the moment, and it may take a little more time to understand it

Problem 1 has been fixed in #137. Could you help check it out. Thanks!

Ok, great job.

I just test the fix #137 in my project, and it works, when the pod install executed, the prebuild binary be produced and integerated into the build settings successfully. Thanks for your great job. 👏


SB-46: Block Creation Via Upload

This PR includes...

removed samples from workspace
moved upload button from workspace to audio library
uploading a .wav file now create a draggable block in the audio library
this block can be moved to the workspace
multiple blocks can be uploaded without overlapping

Video Demo:
https://user-images.githubusercontent.com/57294243/199775581-1ccac202-7640-4846-b1a1-f03ccc997f6d.mp4

Can you run npx prettier --write . for formatting?

Also, this looks really good!

Can you run npx prettier --write . for formatting?

Good call out, let me handle rn.

Current version works running a npm ci followed by npm start.


feat: Allow table search to include label and value for tables with select column type

Description
Problem
The search functionality in the table widget does not properly search through the label values in columns with the select type. Currently, it only searches using the underlying value property, leading to inconsistent and inaccurate search results.
Root Cause
A recent PR updated the table widget to display label values instead of the raw values in select columns. However, this change inadvertently caused the search logic to overlook these label values, continuing to search only by the value property.
Solution
To address this, the search functionality in the derived.js file within tablev2 has been updated. The solution involves retrieving the label value associated with the select column's value property and passing this label into the search logic. This ensures that the search functionality accurately reflects what is displayed in the table, providing correct search results based on the label values.
Fixes #35406
Automation
/ok-to-test<EMAIL_ADDRESS>@tag.Widget, @tag.Table, @tag.Binding"
:mag: Cypress test results

[!CAUTION]
🔴 🔴 🔴 Some tests have failed.
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/10674893177
Commit: b608cf72b8b529379598524c49f210a9956219f8
Cypress dashboard.
Tags: @tag.Sanity, @tag.Widget, @tag.Table, @tag.Binding
Spec:
The following are new failures, please fix them before merging the PR:
cypress/e2e/Regression/ClientSide/Widgets/TableV2/columnTypes/Select1_spec.ts
List of identified flaky tests.
Tue, 03 Sep 2024 02:40:31 UTC

Communication
Should the DevRel and Marketing teams inform users about this change?

[ ] Yes
[x] No

Summary by CodeRabbit

New Features

Enhanced search functionality in the TableWidgetV2 to include label values for select column types.
Improved test specifications for the TableV2 component, incorporating feature flags and complex data interactions.

Bug Fixes

Added test cases to verify the correct behavior of the table filtering and searching mechanisms.

Documentation

Updated test suite to reflect new functionalities and ensure comprehensive testing coverage.

@jacquesikot Please check failure.


remove extra single quote from toString

servo-pull-requests #162 SUCCESS
This pull request looks good


Update logback-classic to 1.2.6

Updates ch.qos.logback:logback-classic from 1.2.5 to 1.2.6.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (1.2.5).
You might want to review and update them manually.
ember-server/js/yarn.lock
project/Http4sPlugin.scala

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "ch.qos.logback", artifactId = "logback-classic" } ]

labels: library-update, semver-patch, old-version-remains

This is just runtime.  I'm not going to fuss with backporting it.


Can timeline Component Support Pagination?

Hi
Can you please tell if this component support Pagination feature...Suppose i want to load 10 record a time and when click on next then next 10 should load or scrolling down should load next 10 items?

Hi,
You have to implement this feature in your component.

Create a button to load new data
Build VerticalTimeline children with a props (ex: records) (Use redux if need)
If user clicks on "Load new data" button, add more 10 items to records props.
You component will rerender with the additional 10 records.

I added a demo for you ;) : https://stephane-monnot.github.io/react-vertical-timeline/#/demo-load-more
You could use this script as inspiration.

Thanks will test and update you further.


release: v1.6.1

Description: 概要

Changes: 変更内容

Changes

fix: broken tests (bcf2ddb839ccfd67f3f56dd81e0dda79013943d2)

Expected Impact: 影響範囲

Operating Requirements: 動作要件

Additional context: 補足

Codecov Report

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

@@            Coverage Diff            @@
##            master       #47   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            4         4
  Lines           71        71
  Branches         6         6
=========================================
  Hits            71        71

Continue to review full report at Codecov.

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


Theorem Suggestion: Include theorems for deducing and upgrading $k$-space properties when locally Hausdorff

Changes
New Theorem 1. ($\text{locally Hausdorff} + \text{locally compact} \implies CG3$.) If a space is:

P84
P130

then it is P142.

New Theorem 2. ($\text{locally Hausdorff} +CG2 \implies CG3$.) If a space is:

P84
P141

then it is P142.

Property Addition.  (One point compactification of Arens-Fort space is locally Hausdorff).  Space S165 has property P84

Rationale
Looking at T309, ($CGWH \implies CG3$), I was astonished to see there were no counterexamples to the converse, given the bajillion variations on the telophase topology we have.
It seems none of these have $CG3$ deduced.
We could deduce most of these automatically via the first of the preceding theorems, and pick up the non-locally compact stragglers like S97 with the second.  (Technically we could probably get all with just the second theorem, but the first seems important and can't be deduced from the second).
Finally, adding local Hausdorff to the Arens Fort space is worth doing for its own sake, but also beneficial as it shows why we can't simply relax Hausdorff to local Hausdorff in T60.

Proof/References
These are all pretty straightforward.
For Theorem 1, Local Hausdorff and locally compact gives a base of compact Hausdorff spaces, which therefore generate the topology.
For Theorem 2, If $X$ is CG2 and locally Hausdorff and $A\subseteq X$ is not closed, then by CG2 we have a map $f\colon Z\to X$ from compact Hausdorff $Z$ with $f^{-1}(A)$ not closed.  Let $z\in \overline{f^{-1}(A)}\backslash f^{-1}(A)$, let $U\ni f(z)$ be a locally Hausdorff open neighborhood, and choose a neighborhood $V$ of $z$ with $\overline{V}\subseteq f^{-1}(U)$, then $f(\overline{V})$ is compact Hausdorff.  Since $z\in \overline{f^{-1}(A)\cap \overline{V}}\backslash f^{-1}(A)$, $f(z)\in \overline{A\cap f(\overline{V})}\backslash A$, so $f(\overline{V})\subseteq U$ is compact Hausdorff, with $f(\overline{V})\cap A$ is not closed in $f(\overline{V})$.
Finally, the one point-compactification $X^*$ of the Arens-Fort space $X$ is locally Hausdorff, since $X$ is Hausdorff, and $\infty$ has $X^*\backslash\{(0,0)\}$ as a Hausdorff neighborhood (note this neighborhood is homeomorphic to $\omega+1$).

If it's alright I'm going to assign this one to myself so I can go through all the steps and get a little more familiar with pi-base in general.

Hmm, are these arguments short enough to directly paste in without making a Math.SE post to reference?  I feel like for Theorem 1 and the new Property it should be fine, but is Theorem 2 pushing it too far?  @StevenClontz  @prabau I'd be grateful for either of your thoughts.

I haven't looked yet at the details of your proposal (will look tomorrow).  But as a general principle for pi-base, as Steven told us, pi-base is in the business of reflecting peer-reviewed mathematics rather than reviewing suggested contributions.  And generally results should be accompanied by some reference ("refs" field).  The previous reviewing may mean having appeared in a mathematics journal/book, but also just having stood scrutiny on mathse or mo.  At the same time if a result is really simple or just a few lines of argument, we have decided it's acceptable to have it in pi-base without refs.  It's really a judgment call.

@prabau
Thanks, based on your comment and doing some more thinking on this, I think I'll just go ahead and ask/answer on Math.SE.


大佬能否整个vue3版本的出来😁

No description provided.

其实有意向升级的，不知道大佬有没有精力一起搞一下呀？ 哈哈，可以先把脚手架升级了，再改造组件内部方法。

最近可能没有时间，大佬先着手，后续我有时间参与进来。哈哈

I can help with that migration. From what I understand they want to carry out the entire project migration to Vue3, right?

Yes, can you set up the scaffold first? Later, I can participate in the transformation when I am free

I will work on it

Yes, can you set up the scaffold first? Later, I can participate in the transformation when I am free

I will work on it

Look forward to your release of the first edition

是的，你能先搭好脚手架吗？以后有空可以参与改造

我会努力的

期待您发布第一版

感谢各位大佬，可以直接搞一个分支，在现有基础上升级感觉会方便一些，工作流也少。

Yes, can you set up the scaffold first? Later, I can participate in the transformation when I am free

I will work on it

Hi，Welcome to participate，My English is poor，Create a new branch and Migration to  vue3   Is it better? https://v3-migration.vuejs.org/

Yes, can you set up the scaffold first? Later, I can participate in the transformation when I am free

I will work on it

Hi，Welcome to participate，My English is poor，Create a new branch and Migration to  vue3   Is it better? https://v3-migration.vuejs.org/

Thank you, I've done this migration before and from what I saw in the code it's easy to do, it's well organized. During the week I will create the branch and do that.

Hello, I started the migration to Vue3, however, right away, I already had a problem.
The view-design library doesn't support vue3, only vue1 or vue2, do you have any suggestions of what we can use to replace it?

Hello, I started the migration to Vue3, however, right away, I already had a problem. The view-design library doesn't support vue3, only vue1 or vue2, do you have any suggestions of what we can use to replace it?

I looked at the code, and it was true. Personally, I suggest you consider upgrading with element-plus. I hope so. But we still need to discuss with the author

There is time difference between us, and communication may not be timely.

Yes, I think element-plus will work well, I didn't know about it yet.
Exactly, I'm from Brazil, and I can only move at night, after leaving work, so there will always be this delay in the response, but I believe that this upgrade will be quick, among other adjustments that we can make together.
I don't know if the project has a Telegram channel, if so, we can discuss the project there.

I also agree that element plus will be better, waiting for the author's reply
This migration will not be very difficult. I believe that as long as communication is timely, it will be completed soon.
We are from China. I don't know whether the author has Telegram, because it is prohibited in our country, but I can use vpn

iview

There is time difference between us, and communication may not be timely.

Yes, I think element-plus will work well, I didn't know about it yet.
Exactly, I'm from Brazil, and I can only move at night, after leaving work, so there will always be this delay in the response, but I believe that this upgrade will be quick, among other adjustments that we can make together.
I don't know if the project has a Telegram channel, if so, we can discuss the project there.

Thank you both for your discussion, I think about it this way： 1、The UI looks a little more polished,I prefer iview's Message style. 2、The UI component satisfies the scenario of our editor interface, iview-plus and element-plus all can be。 3、The main focus is on improving the functionality of the editor，Don't expect to stretch out too long on the UI framework。
I haven't used element-plus, Will it be better than iview ? My English is poor, It often has to be edited into Chinese and then published with translation software, Important discussions are more likely to use issues or discussions,Whether it is necessary to build a web version of the live chat room?
感谢两位的讨论，我是这样想的： 1、UI看起来更精致，我更喜欢iview的 Message 样式。 2、UI组件可以满足编辑器的场景，iview-plus 和 element-plus都满足。 3、希望把精力集中在编辑器的功能上，不要在框架上卡太长时间。
我没用过element-plus，是比iview有更多的优势吗？我英文不是特别好，经常需要把文字编辑好用翻译软件再转成英文，更重要的讨论希望在issue或者discussions中保留下来，如果特别必要，是不是可以开一个实时聊天的web论坛，我忘记叫什么名字了，S开头的一个论坛工具，用的也比较多。

Because element plus may be more popular, some international friends may not know about iview, and using the more popular UI will attract more like-minded people. I hope that after the project is relocated, someone can directly use it in the project. Now, the basic standard configuration of vue3 is element plus, so it is recommended to use it.
因为element plus 可能更加热门一些 国际友人可能不知道iview，使用更加热门的UI 会吸引更过志同道合的人，我希望这个项目重新迁移后，可以有人直接在项目使用，现在使用vue3基本标配就是element plus ，所以建议使用。

There is time difference between us, and communication may not be timely.

Yes, I think element-plus will work well, I didn't know about it yet.
Exactly, I'm from Brazil, and I can only move at night, after leaving work, so there will always be this delay in the response, but I believe that this upgrade will be quick, among other adjustments that we can make together.
I don't know if the project has a Telegram channel, if so, we can discuss the project there.

Thank you both for your discussion, I think about it this way： 1、The UI looks a little more polished,I prefer iview's Message style. 2、The UI component satisfies the scenario of our editor interface, iview-plus and element-plus all can be。 3、The main focus is on improving the functionality of the editor，Don't expect to stretch out too long on the UI framework。
I haven't used element-plus, Will it be better than iview ? My English is poor, It often has to be edited into Chinese and then published with translation software, Important discussions are more likely to use issues or discussions,Whether it is necessary to build a web version of the live chat room?
感谢两位的讨论，我是这样想的： 1、UI看起来更精致，我更喜欢iview的 Message 样式。 2、UI组件可以满足编辑器的场景，iview-plus 和 element-plus都满足。 3、希望把精力集中在编辑器的功能上，不要在框架上卡太长时间。
我没用过element-plus，是比iview有更多的优势吗？我英文不是特别好，经常需要把文字编辑好用翻译软件再转成英文，更重要的讨论希望在issue或者discussions中保留下来，如果特别必要，是不是可以开一个实时聊天的web论坛，我忘记叫什么名字了，S开头的一个论坛工具，用的也比较多。

如果你有Telegram 我们可以在上面联系

iview

There is time difference between us, and communication may not be timely.

Yes, I think element-plus will work well, I didn't know about it yet.
Exactly, I'm from Brazil, and I can only move at night, after leaving work, so there will always be this delay in the response, but I believe that this upgrade will be quick, among other adjustments that we can make together.
I don't know if the project has a Telegram channel, if so, we can discuss the project there.

Thank you both for your discussion, I think about it this way： 1、The UI looks a little more polished,I prefer iview's Message style. 2、The UI component satisfies the scenario of our editor interface, iview-plus and element-plus all can be。 3、The main focus is on improving the functionality of the editor，Don't expect to stretch out too long on the UI framework。
I haven't used element-plus, Will it be better than iview ? My English is poor, It often has to be edited into Chinese and then published with translation software, Important discussions are more likely to use issues or discussions,Whether it is necessary to build a web version of the live chat room?
感谢两位的讨论，我是这样想的： 1、UI看起来更精致，我更喜欢iview的 Message 样式。 2、UI组件可以满足编辑器的场景，iview-plus 和 element-plus都满足。 3、希望把精力集中在编辑器的功能上，不要在框架上卡太长时间。
我没用过element-plus，是比iview有更多的优势吗？我英文不是特别好，经常需要把文字编辑好用翻译软件再转成英文，更重要的讨论希望在issue或者discussions中保留下来，如果特别必要，是不是可以开一个实时聊天的web论坛，我忘记叫什么名字了，S开头的一个论坛工具，用的也比较多。

Because element plus may be more popular, some international friends may not know about iview, and using the more popular UI will attract more like-minded people. I hope that after the project is relocated, someone can directly use it in the project. Now, the basic standard configuration of vue3 is element plus, so it is recommended to use it.
因为element plus 可能更加热门一些 国际友人可能不知道iview，使用更加热门的UI 会吸引更过志同道合的人，我希望这个项目重新迁移后，可以有人直接在项目使用，现在使用vue3基本标配就是element plus ，所以建议使用。

Your advice is particularly good，I think it's possible to separate the vue2 upgrade from the UI framework replacement，We can do this in two separate tasks，The first one upgrades the scaffolding and vue to Vue3，UI using the existing framework, the cost of renovation will be relatively small；The second step is to replace the UI frame,Before we replace it, we can discuss whether element or another framework is a better fit,The current priority is still Vue and scaffolding version upgrade, what do you think?
你的建议特别好，我觉得可以把升级vue2和替换UI框架分开来，我们可以分2个任务来完成，第一步先把脚手架和vue升级为Vue3，UI沿用现有框架，改造成本也会相对较小；第二步再替换UI框架，替换前我们可以再讨论下是使用element还是其他框架更好合适。当前优先级比较高的还是Vue和脚手架版本升级，两位觉得呢？

iview

There is time difference between us, and communication may not be timely.

Yes, I think element-plus will work well, I didn't know about it yet.
Exactly, I'm from Brazil, and I can only move at night, after leaving work, so there will always be this delay in the response, but I believe that this upgrade will be quick, among other adjustments that we can make together.
I don't know if the project has a Telegram channel, if so, we can discuss the project there.

Thank you both for your discussion, I think about it this way： 1、The UI looks a little more polished,I prefer iview's Message style. 2、The UI component satisfies the scenario of our editor interface, iview-plus and element-plus all can be。 3、The main focus is on improving the functionality of the editor，Don't expect to stretch out too long on the UI framework。
I haven't used element-plus, Will it be better than iview ? My English is poor, It often has to be edited into Chinese and then published with translation software, Important discussions are more likely to use issues or discussions,Whether it is necessary to build a web version of the live chat room?
感谢两位的讨论，我是这样想的： 1、UI看起来更精致，我更喜欢iview的 Message 样式。 2、UI组件可以满足编辑器的场景，iview-plus 和 element-plus都满足。 3、希望把精力集中在编辑器的功能上，不要在框架上卡太长时间。
我没用过element-plus，是比iview有更多的优势吗？我英文不是特别好，经常需要把文字编辑好用翻译软件再转成英文，更重要的讨论希望在issue或者discussions中保留下来，如果特别必要，是不是可以开一个实时聊天的web论坛，我忘记叫什么名字了，S开头的一个论坛工具，用的也比较多。

Because element plus may be more popular, some international friends may not know about iview, and using the more popular UI will attract more like-minded people. I hope that after the project is relocated, someone can directly use it in the project. Now, the basic standard configuration of vue3 is element plus, so it is recommended to use it.
因为element plus 可能更加热门一些 国际友人可能不知道iview，使用更加热门的UI 会吸引更过志同道合的人，我希望这个项目重新迁移后，可以有人直接在项目使用，现在使用vue3基本标配就是element plus ，所以建议使用。

Your advice is particularly good，I think it's possible to separate the vue2 upgrade from the UI framework replacement，We can do this in two separate tasks，The first one upgrades the scaffolding and vue to Vue3，UI using the existing framework, the cost of renovation will be relatively small；The second step is to replace the UI frame,Before we replace it, we can discuss whether element or another framework is a better fit,The current priority is still Vue and scaffolding version upgrade, what do you think?
你的建议特别好，我觉得可以把升级vue2和替换UI框架分开来，我们可以分2个任务来完成，第一步先把脚手架和vue升级为Vue3，UI沿用现有框架，改造成本也会相对较小；第二步再替换UI框架，替换前我们可以再讨论下是使用element还是其他框架更好合适。当前优先级比较高的还是Vue和脚手架版本升级，两位觉得呢？

It seems that view design is not friendly enough for vue3, and the official website code is also written in the same way as vue2. I suggest upgrading all at once. Don't do nothing. It's up to you to decide. I suggest upgrading scaffolding and element plus directly
好像view-design 对于vue3的支持不够友好，官网的代码也是vue2 的写法。我建议一步到位，要升级都升级，不要做无用功，最后看你们决定吧，我建议直接升级脚手架和element plus

@asang28 刚才看了下View UI Plus，View 对Vue3 来说确实还有很多问题，我赞同直接升级到element plus，不过不确定工作量会增加多少，@icleitoncosta  你怎么看？是否需要我们一起升级？
@asang28  I just looked at View UI Plus，View does have a lot of problems with Vue3，I'm in favor of upgrading directly to element plus, But it's not sure how much more work will be  @done, @icleitoncosta  What do you think? Do we need to upgrade together?

It will increase the work a little, but I believe it is even simple. The most annoying part will be the alignment and divs that maybe should change from one to the other, but I believe it's not something that big because the frameworks follow a pattern too, I'll start migrating to element-plus and let's talk.

It will increase the work a little, but I believe it is even simple. The most annoying part will be the alignment and divs that maybe should change from one to the other, but I believe it's not something that big because the frameworks follow a pattern too, I'll start migrating to element-plus and let's talk.

Thank you for your hard work, If the adjustment is more tedious,You can start with iview plus or have a more suitable Vue3 UI framework,It's an iteration that wants to be able to run in small steps, Lest you be too tired, Feel free to let me know if you need me.
辛苦你了，如果调整比较繁琐，可以先用iview plus或者有更适合的Vue3 UI框架都可以，还是希望能够小步快跑的迭代，怕你太累，如果需要我的话随时沟通。

I started the migration to Vue3.
This week I had to do a lot of chores, so I didn't have time to move beforehand.
I decided to opt for "view-ui-plus", since the project is all based on the previous version, and the migration would be easier.
The migration still needs some design and translation tweaks, but I have a bigger problem and would like your help.
In FabricJS's Canva build, it just doesn't show up.
The import buttons work and even when I click on save the image, it downloads the template that was chosen correctly, however, the canvas box simply does not exist.
Can anyone help me with this step?
I don't understand or know FabricJS in depth.
Here's the branch:
https://github.com/icleitoncosta/vue-fabric-editor/tree/migrate-vue3

I started the migration to Vue3. This week I had to do a lot of chores, so I didn't have time to move beforehand.
I decided to opt for "view-ui-plus", since the project is all based on the previous version, and the migration would be easier.
The migration still needs some design and translation tweaks, but I have a bigger problem and would like your help.
In FabricJS's Canva build, it just doesn't show up. The import buttons work and even when I click on save the image, it downloads the template that was chosen correctly, however, the canvas box simply does not exist.
Can anyone help me with this step? I don't understand or know FabricJS in depth.
Here's the branch: https://github.com/icleitoncosta/vue-fabric-editor/tree/migrate-vue3

The error is caused because in version 3 the provides are declared before creation, so it cannot find the #canvas in the html.
An alternative I thought would be to use props, instead of inject, but as it may be a limitation of my knowledge, I would like your suggestion.
Greetings

I started the migration to Vue3. This week I had to do a lot of chores, so I didn't have time to move beforehand.
I decided to opt for "view-ui-plus", since the project is all based on the previous version, and the migration would be easier.
The migration still needs some design and translation tweaks, but I have a bigger problem and would like your help.
In FabricJS's Canva build, it just doesn't show up. The import buttons work and even when I click on save the image, it downloads the template that was chosen correctly, however, the canvas box simply does not exist.
Can anyone help me with this step? I don't understand or know FabricJS in depth.
Here's the branch: https://github.com/icleitoncosta/vue-fabric-editor/tree/migrate-vue3

The error is caused because in version 3 the provides are declared before creation, so it cannot find the #canvas in the html.
An alternative I thought would be to use props, instead of inject, but as it may be a limitation of my knowledge, I would like your suggestion.
Greetings

Copy that. I'll try to fix it

@icleitoncosta   将初始化代码从 setup 迁移到 mounted 就可以了，在你的分支上我本地已经运行正常了，因为fabric初始化元素需要确保DOM元素渲染完成。
@icleitoncosta   Just migrate the initialization code from setup to mounted,I'm already running fine locally on your branch, because fabric initializing elements requires making sure the DOM elements are rendered.

@icleitoncosta   将初始化代码从 setup 迁移到 mounted 就可以了，在你的分支上我本地已经运行正常了，因为fabric初始化元素需要确保DOM元素渲染完成。
@icleitoncosta   Just migrate the initialization code from setup to mounted,I'm already running fine locally on your branch, because fabric initializing elements requires making sure the DOM elements are rendered.

But if we put in "mounted" the "provides" will be passed before initialization, in components like setSize it will give errors, as it has not yet been instantiated in mounted, since inject is called in create.
did you manage to make it work without errors there?
I could only make it work without errors using props.

@icleitoncosta   将初始化代码从 setup 迁移到 mounted 就可以了，在你的分支上我本地已经运行正常了，因为fabric初始化元素需要确保DOM元素渲染完成。
@icleitoncosta   Just migrate the initialization code from setup to mounted,I'm already running fine locally on your branch, because fabric initializing elements requires making sure the DOM elements are rendered.

But if we put in "mounted" the "provides" will be passed before initialization, in components like setSize it will give errors, as it has not yet been instantiated in mounted, since inject is called in create.
did you manage to make it work without errors there?
I could only make it work without errors using props.

The parent of the set-size component is controlled by v-if="show". The show property is initialized to true.

@icleitoncosta HI, I created a branch perf-vue3, Another friend is also interested in the Vue3 upgrade and we can discuss it together, @QJune 。

@icleitoncosta   将初始化代码从 setup 迁移到 mounted 就可以了，在你的分支上我本地已经运行正常了，因为fabric初始化元素需要确保DOM元素渲染完成。
@icleitoncosta   Just migrate the initialization code from setup to mounted,I'm already running fine locally on your branch, because fabric initializing elements requires making sure the DOM elements are rendered.

But if we put in "mounted" the "provides" will be passed before initialization, in components like setSize it will give errors, as it has not yet been instantiated in mounted, since inject is called in create.
did you manage to make it work without errors there?
I could only make it work without errors using props.

@icleitoncosta   将初始化代码从 setup 迁移到 mounted 就可以了，在你的分支上我本地已经运行正常了，因为fabric初始化元素需要确保DOM元素渲染完成。
@icleitoncosta   Just migrate the initialization code from setup to mounted,I'm already running fine locally on your branch, because fabric initializing elements requires making sure the DOM elements are rendered.

But if we put in "mounted" the "provides" will be passed before initialization, in components like setSize it will give errors, as it has not yet been instantiated in mounted, since inject is called in create.
did you manage to make it work without errors there?
I could only make it work without errors using props.

We don't have to use "provides", we can use Publish subscriber pattern or vuex.Do  you migrated it on the branch of perf-vue3?let me try to solve this problem

I can help with that migration. From what I understand they want to carry out the entire project migration to Vue3, right?

hi, do you migrate it with vue3+ts？

hi, do you migrate it with vue3+ts？

Yesterday I couldn't continue the migration, I arrived very late from work.
I believe that using "vuex" would put one more library without much need, because vuex must be discontinued in favor of Pinia, and we can do without it.
I didn't migrate to TS, but we can do it that way if you prefer.

I'll be free next week.You can create a branch or a repository.we can do it together.

hi, do you migrate it with vue3+ts？

Yesterday I couldn't continue the migration, I arrived very late from work.
I believe that using "vuex" would put one more library without much need, because vuex must be discontinued in favor of Pinia, and we can do without it.
I didn't migrate to TS, but we can do it that way if you prefer.

I'll be free next week.You can create a branch or a repository.we can do it together.

hi, do you migrate it with vue3+ts？

Yesterday I couldn't continue the migration, I arrived very late from work.
I believe that using "vuex" would put one more library without much need, because vuex must be discontinued in favor of Pinia, and we can do without it.
I didn't migrate to TS, but we can do it that way if you prefer.

I'll be free next week.You can create a branch or a repository.we can do it together.

hi, do you migrate it with vue3+ts？

Yesterday I couldn't continue the migration, I arrived very late from work.
I believe that using "vuex" would put one more library without much need, because vuex must be discontinued in favor of Pinia, and we can do without it.
I didn't migrate to TS, but we can do it that way if you prefer.

yes, It's just Pinia.
I'll be free next week.You can create a branch or a repository.we can do it together.
i want to use ts.because i want to learn ts.

hi, do you migrate it with vue3+ts？

Yesterday I couldn't continue the migration, I arrived very late from work.
I believe that using "vuex" would put one more library without much need, because vuex must be discontinued in favor of Pinia, and we can do without it.
I didn't migrate to TS, but we can do it that way if you prefer.

Thanks for your hard work, Take care of yourself, Not in a particular hurry, Just go at your pace, Maybe you can submit the code first,We do it together。
辛苦你了，照顾好自己，这件事情不着急，按你的节奏慢慢来就好，或者你也可以先提交代码，我们一起做。

@icleitoncosta   将初始化代码从 setup 迁移到 mounted 就可以了，在你的分支上我本地已经运行正常了，因为fabric初始化元素需要确保DOM元素渲染完成。
@icleitoncosta   Just migrate the initialization code from setup to mounted,I'm already running fine locally on your branch, because fabric initializing elements requires making sure the DOM elements are rendered.

But if we put in "mounted" the "provides" will be passed before initialization, in components like setSize it will give errors, as it has not yet been instantiated in mounted, since inject is called in create.
did you manage to make it work without errors there?
I could only make it work without errors using props.

@icleitoncosta   将初始化代码从 setup 迁移到 mounted 就可以了，在你的分支上我本地已经运行正常了，因为fabric初始化元素需要确保DOM元素渲染完成。
@icleitoncosta   Just migrate the initialization code from setup to mounted,I'm already running fine locally on your branch, because fabric initializing elements requires making sure the DOM elements are rendered.

But if we put in "mounted" the "provides" will be passed before initialization, in components like setSize it will give errors, as it has not yet been instantiated in mounted, since inject is called in create.
did you manage to make it work without errors there?
I could only make it work without errors using props.

We don't have to use "provides", we can use Publish subscriber pattern or vuex.Do you migrated it on the branch of perf-vue3?let me try to solve this problem

First of all thanks to QJune for the idea,I have the same idea as icleitoncosta,Introducing unnecessary dependencies can lead to a larger work load,So far it looks like we can do this without using state management and still work cleanly;About TS,We want the same thing,Make the project and the contributors better。
首先感谢QJune的想法，我和icleitoncosta的想法一样，引入不必要的依赖可能会让工作量变大，目前看我们可以在不使用状态管理下简洁的工作，关于TS，我们目标是一致的，让项目和贡献者都变得更好。

we can do it with events. The library had uesd in master

我已经完成了迁移到vue3
看到你们使用了iview,所以我就着手自己迁移了
我使用了 element plus vite脚手架
不知道功能迁移的完不完整
还请各位如果有兴趣和时间一起帮我看看
分支地址是:
https://github.com/asang28/vue3-fabric-edito.git
I have completed the migration to vue3
I saw that you used iview, so I started to migrate myself
I used the element plus vite scaffold
I don't know whether the function migration is complete
Please also help me if you are interested and time
Here's the branch:
https://github.com/asang28/vue3-fabric-edito.git

https://github.com/asang28/vue3-fabric-editor.git

Executive force is too strong, it was really cool。
执行力太强了，真酷。

https://github.com/asang28/vue3-fabric-editor.git

Executive force is too strong, it was really cool。
执行力太强了，真酷。

It's not perfect in our spare time. Let's put forward suggestions together
闲暇时间弄的，不够完善的地方大家一起提提意见

vue3 ,   .. https://github.com/vockalimo/vue-fabric-editor
hmm .  maybe can help ~


Green flavor failing to build raspberry packages

cpio util is not installed it seems
 #11 [ 7/10] RUN rpm2cpio raspberrypi-firmware-dt-2021.03.15-2.1.noarch.rpm | cpio -idmv
 #11 sha256:abda826a890421fe4cd7a1c16f788365b797011d7f7c27380c6cd44328d3612f
 INFO   #11 0.275 /bin/sh: line 1: cpio: command not found

Maybe https://github.com/rancher/elemental-toolkit/pull/1549

actually fix is on #1551


custom fallback logic

Pull Request Test Coverage Report for Build 1448

6 of 21 (28.57%)  changed or added relevant lines in 4 files are covered.
14 unchanged lines in 6 files lost coverage.
Overall coverage increased (+0.2%) to 63.9%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

core/config/cb_config.go
0
1
0.0%

core/client/client.go
0
3
0.0%

core/handler/bizkeeper_consumer_handle.go
5
16
31.25%

Files with Coverage Reduction
New Missed Lines
%

core/handler/bizkeeper_consumer_handle.go
1
55.81%

core/rest_invoker.go
2
91.84%

core/router/cse/router_manager.go
2
72.73%

metrics/metric.go
3
59.26%

core/handler/router_handler.go
3
0.0%

core/registry/servicecenter/util.go
3
48.21%

Totals

Change from base Build 1444:
0.2%

Covered Lines:
4958

Relevant Lines:
7759

💛  - Coveralls


 selection doesn't work

Selection not work!

This kind of an issue does not help. The demo for he uif-table shows the selection of a row working: http://ngofficeuifabric.com/demos/uifTable/
If you have a specific issue you can repo to help us understand what you mean when you say it doesn't work, that would help. But as this issue stands, it's not helpful or actionable.


Cow: Watch shayariraja.com

Cow requests the watch of the watch_keyword shayariraja\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

shayariraja\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by VLAZ in Charcoal HQ


Please mention the length of the name segment for DNS Prefix

As per the Azure Portal, while deploying the cluster, the DNS Name Prefix needs to be between 1 & 54 characters -

Regarding this question - https://docs.microsoft.com/en-us/azure/aks/troubleshooting#what-naming-restrictions-are-enforced-for-aks-resources-and-parameters
Please modify the document to detail this.
Thanks!

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

ID: 55fe52d9-5526-de32-7e16-3e3207fc8aef
Version Independent ID: 28d7cd54-bc74-5a08-684d-5d64ea589750
Content: Troubleshoot common Azure Kubernetes Service problems
Content Source: articles/aks/troubleshooting.md
Service: container-service
GitHub Login: @sauryadas
Microsoft Alias: saudas

I have created a PR with the update, changes will be live shortly.
https://github.com/MicrosoftDocs/azure-docs-pr/pull/104157
Thanks for bringing this to our attention. We will now close this issue. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.


mat-tab with ng-template matTabContent shows on top of each other on safari ios

Bug, feature request, or proposal:
Bug
What is the expected behavior?
mat-tab content shouldnt overlap with other tab content
What is the current behavior?
when switching between tabs, tab content is shown on top of other tab content. Only happens on iPhone Safari (note: this happens only in browser. I was able to install it as a PWA and when opening the "app" version it doenst reproduce)
What are the steps to reproduce?
Template: https://github.com/mbarbuscio/news-hawker/blob/master/src/app/shared/settings/settings.component.html
Issue can be seen on https://news-hawker.com . Open it on safari, tap to open the bottom drawer and move through the tabs.
What is the use-case or motivation for changing an existing behavior?
Clearly a bug
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 6.0.3
Material2 6.2.1
OS iOs 11.4
Browser Safari (mobile)
Is there anything else we should know?
heres a picture of the tabs on top of each other

Hello! sorry for us taking so long to get to that issue. I was trying a basic tab group in Safari but wasn't able to reproduce this. It might have been fixed already on our end or in Safari. Safari had a lot of these rendering quirks the last time I dealt with it, but that might be fixed now. Please resubmit an issue if you still can see this. Thanks!


Added Advanced Adobe XD course.

What does this PR do?
Added a course.
For resources
Description
Added a free Advanced Adobe XD course,
Why is this valuable (or not)?
It is free and about Adobe XD.
How do we know it's really free?
It is freely available on the web.
For book lists, is it a book? For course lists, is it a course? etc.
It is a course.
Checklist:

[x] Read our contributing guidelines
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists  in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction)

Followup

Check the output of Travis-CI for linter errors!

#5379

Great to have your help!


Stomp.js differences?

Is there any discernable difference for use case or otherwise between this and the stomp.js repo? Thx

If you are talking about https://github.com/stomp-js/stompjs I do not know, I forked based on https://github.com/jmesnil/stomp-websocket initial version, which is the root for all stomp / webstomp related library it seems.


Update correct plugin name

Changed "AWS CodeBuild Plugin for Jenkins" to "AWS CodeBuild"
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks for submitting this fix.


Corrected capitalization of Internet

#MMS2019Docathon submission.

@ChrisKibble : Thanks for your contribution! The author, @aczechowski, has been notified to review your proposed change.

Microsoft recently changed it's style to lower case "internet," as part of a larger tend. But thanks for your input.

Thanks @ChrisKibble. For future reference: https://docs.microsoft.com/style-guide/a-z-word-list-term-collections/i/internet-intranet-extranet
p.s. to be clear, I'm not going to count this PR towards the contest 😢

Understood and thanks for the style guide!


Offsets for export/load

ref: https://github.com/keboola/connection/issues/1197
connection: https://github.com/keboola/connection/pull/1200

I am closing this for now https://github.com/keboola/connection/pull/1200#issuecomment-383063007


Add a Vector Database Service to allow stages to read and write to VDBs

Description

Closes #1177
By Submitting this PR I confirm:

I am familiar with the Contributing Guidelines.
When the PR is ready for review, new or existing tests cover these changes.
When the PR is ready for review, the documentation is up to date with these changes.

/merge


We had the same idea :D

Please check this article<EMAIL_ADDRESS>

Nice! 😉


Issues with diffbot_gazebo diffbot_base.launch

Hi, I am trying to get the diffbot controller working in simulation. When I run the diffbot_base.launch file I see the following error:
RLException: roslaunch file contains multiple nodes named [/diffbot/robot_state_publisher]. Please check all <node> 'name' attributes to make sure they are unique. Also check that $(anon id) use different ids. The traceback for the exception was written to the log file
I can get it to run if change the name of diffbot/robot_state_publisher/ to something else such as diffbot_2/robot_state_publisher. However, I can't see the controller working in simulation. If I try to do a rostopic of encoder ticks or mesured joint states, I don't see any message being published. I see the following warning message:
WARNING: no messages received and simulated time is active. Is /clock being published?
My steps are:
roslaunch diffbot_base diffbot.launch roslaunch diffbot_gazebo diffbot_base.launch
Could you please guide me, what am I doing wrong. Thank you!

Hi, thanks for trying the diffbot packages. The diffbot_base.launch from the diffbot_gazebo package isn't well tested and is intended to run together with the real robot hardware.
https://github.com/ros-mobile-robots/diffbot/blob/e9e74fe1fe1ede8200c607376ad21539526aad2b/diffbot_gazebo/launch/diffbot_base.launch#L2-L4
So just to clarify, you should run diffbot_base/launch/diffbot.launch on the real robot hardware and diffbot_gazebo/launch/diffbot_base.launch on your development PC.
If you don't have the robot hardware, it is only possible to work with the simulated robot and the ros control gazebo plugin. For this I suggest you follow the examples in the readme, here in this section.
It is unfortunately not possible to simulate the encoder ticks in gazebo.
I hope this helps, otherwise just let me know.
Thanks.

I am closing this but feel free to reply if needed.


Improve CustomNSError.errorDomain calculation

Optimized CustomNSError.errorDomain calculation.
String(reflecting:) for Any.Type objects eventually calls _type(:qualified:). But String(reflecting:) call has overhead because of as? checks.
All details are listed in issue.

@swift-ci please test

This patch will help for non-Darwin platforms - the Foundation version is here.

@swift-ci test

Here is the same MR for Darwin platforms:
https://github.com/swiftlang/swift-foundation/pull/1032

@swift-ci test

@swift-ci please test Windows platform

One more thing - can we verify we have a unit test for this behavior?

Sure, here it is TestNSError.swift

It looks like the linux test failed in a SwiftPM test with
Test Case 'PackageCommandTests.testCommandPluginDiagnostics' started at 2024-11-04 20:21:39.518
/home/build-user/swiftpm/Tests/CommandsTests/PackageCommandTests.swift:2433: error: PackageCommandTests.testCommandPluginDiagnostics : XCTAssertTrue failed - unexpected failure matching '' against pattern equal("command plugin: print\n")
Test Case 'PackageCommandTests.testCommandPluginDiagnostics' failed (55.424 seconds)

It's not immediately apparent how that could be related to this change. @ChrisBenua any thoughts, or should we try a re-run to see if it was an intermittent issue

Windows passed and this isn't platform specific so I'll just rerun Linux and see what happens 🙂

@swift-ci please test Linux platform

It looks like the linux test failed in a SwiftPM test with
Test Case 'PackageCommandTests.testCommandPluginDiagnostics' started at 2024-11-04 20:21:39.518
/home/build-user/swiftpm/Tests/CommandsTests/PackageCommandTests.swift:2433: error: PackageCommandTests.testCommandPluginDiagnostics : XCTAssertTrue failed - unexpected failure matching '' against pattern equal("command plugin: print\n")
Test Case 'PackageCommandTests.testCommandPluginDiagnostics' failed (55.424 seconds)

It's not immediately apparent how that could be related to this change. @ChrisBenua any thoughts, or should we try a re-run to see if it was an intermittent issue

It's unclear to me how my changes can possibly affect SPM. Linux tests passed after re-run, so most likely it was intermittent issue

@jmschonfeld, I was wondering if you could please ask someone from your colleagues to take a look at similar PR: https://github.com/swiftlang/swift/pull/77369?
It would be greatly appreciated. Thank you in advance for your consideration.


Update error code document of oav tool

Adding the description about traffic payload in related error code document.

@akning-ms , please force merge this PR since avocado failure is expected failure.

@akning-ms , please force merge this PR since avocado failure is expected failure.


Migrate existing vocabularies

Migrate the existing vocabualries staring with:

[x] Resource type
[ ] Roles (creators/contributors)
[ ] Title types

Replaces inveniosoftware/invenio-app-rdm#187 (Please go read this issue)

Replaced by https://github.com/inveniosoftware/invenio-app-rdm/issues/926


A new bittorent extension (like ut_pex, ut_metadata) to send plain chat message to peer

How can I use this extension or ut_metadata or by creating a new one to be able to send messages to other peer (chat message) ?
I just started by creating a new extension which i am thinking of integrating that into webtorrent. So I modified torrent.js (inside webtorrent, ln 463) - _onWire callback - this block is same as that of ut_pex.
if (typeof ut_message === 'function') {
    wire.use(ut_message())

    //wire.ut_message.start() // TODO two-way communication
    wire.ut_message.on('peer', function (peer) {
      debug('ut_message: got peer: %s (from %s)', peer, addr)
      self.addPeer(peer)
    })

    wire.ut_message.on('dropped', function (peer) {
      // the remote peer believes a given peer has been dropped from the swarm.
      // if we're not currently connected to it, then remove it from the swarm's queue.
      debug('ut_message: dropped peer: %s (from %s)', peer, addr)
      var peerObj = self.swarm._peers[peer]
      if (!peerObj || !peerObj.conn) self.swarm.removePeer(peer)
    })
  }

Is it required? Or i can just use any extension (ut_metadata, ut_pex or mine - ut_message) as:
torrent.swarm.on("wire", function(wire) {
    console.log("onwire - " + wire.peerId + " - " + wire.remoteAddress + ':' + wire.remotePort);

    wire.on('extended', function (ext, obj) {
        console.log('extended', ext, obj.toString());
    });
    wire.use(ut_message());
        //or
        wire.use(ut_metadata());
        //or
    wire.use(ut_pex());

    wire.extended(3, 'hello'); //first param will be either 1, 2 or 3
});

torrent.on('wire', function (wire) {})

https://github.com/feross/webtorrent#torrentonwire-function-wire-

My Seeder looks like:
var client = new WebTorrent({
	dht: {
		announce: ['http://<IP_ADDRESS>:6881/announce']
	}
});

client.seed('something.mp4', {
  announce: ['http://<IP_ADDRESS>:6881/announce'],
  private: false
}, function onTorrent (torrent) {
        // Client is seeding the file!
	console.log('MargnetURI:', torrent.magnetURI);
	console.log('Info hash:', torrent.infoHash);
});

client.on('torrent', function (torrent) {
       torrent.on("wire", function(wire) {
		console.log("onwire - " + wire.peerId + " - " + wire.remoteAddress + ':' + wire.remotePort);

		wire.on('extended', function (ext, obj) {
			console.log('extended', ext, obj.toString());
		});

		wire.ut_pex.on('warning', function (err) {
			console.log('warning', err.message)
		})

		wire.extended(2, 'hello');
	});
});

-- The callback onwire will be called if i specify
torrent.swarm.on("wire", function(wire) {

instead of
torrent.on("wire", function(wire) {

Which one I should use ?
-- When i restart the local tracker then the litcher is getting the message 'hello'. Is there anything wrong I am doing?

I was using<EMAIL_ADDRESS>that may be the reason why "torrent.on("wire", function(wire) {" was not triggering. When i updated to<EMAIL_ADDRESS>it starts working.
Yes, @devTristan I have created a new extension for message communication and I will be using the way you suggested.
Thanks both you.

How is your extension working @vairabagni? You can add extensions to the list of known extensions by making a pull request here https://github.com/feross/bittorrent-protocol#extension-api
I'm interested in something like this 👍

@devtristan would you care to share the working piece of your messaging extension?


[DPP] Bump to version 10.0.32

This PR updates DPP package to 10.0.32
NOTE: This release removes dependency upon libsodium, we use openssl primitives to achieve the same result without the extra dependency.
Our vcpkg update is built from our CI actions.

Which triplets are supported/not supported? Have you updated the CI baseline?
Triplets are unchanged, baseline not updated.

Does your PR follow the maintainer guide?

Yes

azure pipelines seem to have an error; can they please be rerun? does not appear to be a problem in my side:
D:\a\_work\1\s\scripts\azure-pipelines\test-modified-ports.ps1 : vcpkg ci testing failed; this is usually a bug in a port. Check for failure logs attached to the run in Azure Pipelines.
At D:\a\_work\_temp\azureclitaskscript1728744625521_inlinescript.ps1:9 char:1
+ & scripts/azure-pipelines/test-modified-ports.ps1 -Triplet x86-window …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,test-modified-ports.ps1

/mnt/vcpkg-ci/b/dpp/src/v10.0.32-1542d44946.clean/src/dpp/voice/enabled/../../dave/session.h:36,
                 from /mnt/vcpkg-ci/b/dpp/src/v10.0.32-1542d44946.clean/src/dpp/voice/enabled/enabled.h:56,
                 from /mnt/vcpkg-ci/b/dpp/src/v10.0.32-1542d44946.clean/src/dpp/discordvoiceclient.cpp:41:
/mnt/vcpkg-ci/b/dpp/src/v10.0.32-1542d44946.clean/src/dpp/voice/enabled/../../dave/persisted_key_pair.h:35:10: fatal error: bytes/bytes.h: No such file or directory
   35 | #include <bytes/bytes.h>

converting to draft until resolved.

Push an empty or amended commit.


[Messaging Bindings] Document Additional Options

Summary
The focus of these changes is to document additional options available in the host.json configuration options for the Event Hubs and Service Bus extensions, when v5.x is used.

@jsquire : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@jsquire : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hey @jsquire and @JoshLove-msft I'm in the middle of redoing this article with version tabs, so I'm going to grab your updated commits into my private branch and I'll send you a link to review the finished product.

Thank you for the update @ggailey777.   Do you have an idea of when your new revisions may be available?   Setting the transport has come up several times in the last two weeks across GitHub issues in the Azure SDK repository and Stack Overflow questions.   If your target is further out then the next few days, could we consider merging these updates in the interim?

#sign-off


Feature Request: Port to VSCode

Hi dundalek,
Thanks for this awesome plugin for Atom, really useful when writing API docs.
I'm wondering do you have any plans to bring this plugin to VSCode?
Thanks.

Hi, thanks for opening this question. I don't use VSCode myself so I don't plan porting the extension.
But I would be glad if someone else did and can provide some guidance if needed.

any progress regarding Porting to VSCode?

VSCode added a new API for custom editors recently which might make the port easier to do.

Bumping this. This is exactly what I have been looking for to add to VSCode. Has anyone taken this on?

I found one tool support VSCode, which is inspired by this.
https://github.com/gera2ld/markmap

@zhuzhzh Sort of. gera2ld markmap does export as HTML, but not SVG


Feature request: Map Randomization

This is something I'm sure you've thought of but might be very difficult to implement. I'd like to know if even one of these is feasible: shuffling room locations within the same area, shuffling room locations across multiple areas, mirroring or rotating individual rooms, or moving entire areas to different places within the castle. Getting a new castle every time could be very exciting for runners and I'd consider it one of the most impressive features for a SotN randomizer to have, but I wouldn't be surprised if it's just impossible to do.

This would be very difficult. At best you would be able to shuffle rooms within the same zone so long as their new layouts don't overlap. Then we'd need to figure out how to change the map screen itself to reflect the changes. Work has been done on the latter and it has proven not to be trivial. This would be a great feature, but due to the work involved, it's not currently on the roadmap.

Thanks for the explanation, that's about what I was expecting. As far as the map screen is concerned, I see that  https://github.com/LagoLunatic/dsvrandom just informs the user that the map screen will be broken when randomizing the map, which seems acceptable even if it's not exactly ideal. Hopefully some day!

good point, +1

Thanks for the explanation, that's about what I was expecting. As far as the map screen is concerned, I see that https://github.com/LagoLunatic/dsvrandom just informs the user that the map screen will be broken when randomizing the map, which seems acceptable even if it's not exactly ideal. Hopefully some day!

Huh? Room rando on DSV has been map-friendly for a time now.
And regions are kept contiguous, so you might check and see if the code is workable, convertable, whatever.

And regions are kept contiguous, so you might check and see if the code is workable, convertable, whatever.

The DS Vania and SotN engines have absolutely nothing in common.

@SenseiLeRoof I haven't tried DSVRandom myself but the repo's README for it states that Room connections and Area connections randomization are not map-friendly. But in any case, the high-level map randomization algorithm doesn't seem to be the challenging part but rather injecting those changes into the base game.

Just checking in on this feature again, would it be possible to just randomize connections between zone doors? (e.g. the door from the Entrance to the Alchemy Laboratory could instead lead to a different area, or potentially even a teleporter room)
Compared to the other ways one could randomize locations, this seems like probably the best ratio of effort vs. payoff. Doesn't seem like it would need any map overlay changes either, as the doors are conceptually just teleporting you to different points in the castle.

If figuring out how to generate the map layout is a problem, perhaps you could do what the True Randomization mod for Bloodstained does, and have a selection of pre-made maps that can be randomly picked.

Coming back into this to say that I'm currently working on an editor that uses json files to store info about the room layouts, and I could potentially integrate support for them into the randomizer, if that's something you'd be interested in having.

If you could get that to work, it would breathe new life into the game for sure!

Quick update on this. There are many hurdles to getting a map rando working, even with the json files MM is working on. She is a talented coder and she can get it working, we'd love to have it but this will be a long outstanding ticket.

Last year I was playing around with randomizing area connections and building a graph. The way I was envisioning it would inevitably require somewhat breaking the existing complexity convention and introducing some abstractions, mainly full flight, to minimize computation. Then instead of solving it would need to first make a breadth first search over the entire graph, to build minimum ability requirements per zone. Only then can the normal solver be ran to start placing relics. It's quite the hassle. That's why it seemed easy to just randomize the starting location and open all the shortcuts as an experiment.

I'm thinking we can add the starting area randomizer. That's an easy enough option to add. The other issue we have to deal with is making sure that rooms are randomized within their stages to prevent Saturn-style loading segments.


⚠ Bofrost.de has degraded performance

In cb6d125, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1376 ms

Resolved: Bofrost.de performance has improved in 78b93bf after 6 minutes.


test: maintainer merge by topics

This PR is intended to be maintainer merged multiple times, but merged none.
Its purpose is to test the maintainer merge by topics automation.

maintainer merge

maintainer merge

maintainer merge

This PR served its testing purpose.