Issue: <[chain/error] [1:chain:RetrievalQAWithSourcesChain > 3:chain:MapReduceDocumentsChain > 9:chain:LLMChain] [2.01s] Chain run errored with error: "IndexError('list index out of range')">

Issue you'd like to raise.
``I am using Google Palm,Faiss,HF Instruct Embeddings.When ever I am Quering with RetrievalQAWithSourcesChain.
I am getting
 [chain/error] [1:chain:RetrievalQAWithSourcesChain > 3:chain:MapReduceDocumentsChain > 9:chain:LLMChain] [2.01s] Chain run errored with error:
"IndexError('list index out of range')"
[chain/error] [1:chain:RetrievalQAWithSourcesChain > 3:chain:MapReduceDocumentsChain] [6.45s] Chain run errored with error:
"IndexError('list index out of range')"
[chain/error] [1:chain:RetrievalQAWithSourcesChain] [7.13s] Chain run errored with error:
"IndexError('list index out of range')"

Here is my whole code
import` os
import streamlit as st
import pickle
import time
import langchain
from langchain.llms import GooglePalm
from langchain.chains import RetrievalQAWithSourcesChain
from langchain.chains.qa_with_sources.loading import load_qa_with_sources_chain
from langchain.text_splitter import RecursiveCharacterTextSplitter
from langchain.document_loaders import SeleniumURLLoader
from langchain.embeddings import HuggingFaceInstructEmbeddings
from langchain.vectorstores import FAISS

urls = ["https://www.moneycontrol.com/india/stockpricequote/ironsteel/tatasteel/TIS",
        "https://www.livemint.com/companies/news/tata-motorss-ev-subsidiary-to-sign-mou-with-jlr-to-strengthen-ev-business-tata-motors-to-pay-royalty-fee-to-jlr-11698925980903.html"
]

loader=SeleniumURLLoader(urls=urls)
data=loader.load()
llm=GooglePalm(google_api_key="", temperature=0.9,max_output_tokens=500)

r_splitter = RecursiveCharacterTextSplitter(
        separators=["\n\n", "\n", " ","\t\t"],
        chunk_size=400,
        chunk_overlap=80
    )
docs = r_splitter.split_documents(data)

embeddings = HuggingFaceInstructEmbeddings(
    query_instruction="Represent the query for retrieval: "
)
vector_index = FAISS.from_documents(docs, embeddings)

chain = RetrievalQAWithSourcesChain.from_llm(llm=llm, retriever=vector_index.as_retriever())
chain
langchain.debug=True
query="summerise the text"
chain({"question":query},return_only_outputs=True)
```

```

OUTPUT:
`[chain/start] [1:chain:RetrievalQAWithSourcesChain] Entering Chain run with input:
{
  "question": "summerise the text"
}
[chain/start] [1:chain:RetrievalQAWithSourcesChain > 3:chain:MapReduceDocumentsChain] Entering Chain run with input:
[inputs]
[chain/start] [1:chain:RetrievalQAWithSourcesChain > 3:chain:MapReduceDocumentsChain > 4:chain:LLMChain] Entering Chain run with input:
{
  "input_list": [
    {
      "context": "View more \n                                                                            \n                                    \n                                        Posted by : kamal20",
      "question": "summerise the text"
    },
    {
      "context": "View more \n                                                                            \n                                    \n                                        Posted by : kamal20",
      "question": "summerise the text"
    },
    {
      "context": "- - \n                           - - \n                           - - \n                           - - \n                           - -",
      "question": "summerise the text"
    },
    {
      "context": "- - \n                           - - \n                           - - \n                           - - \n                           - -",
      "question": "summerise the text"
    }
  ]
}
[llm/start] [1:chain:RetrievalQAWithSourcesChain > 3:chain:MapReduceDocumentsChain > 4:chain:LLMChain > 5:llm:GooglePalm] Entering LLM run with input:
{
  "prompts": [
    "Use the following portion of a long document to see if any of the text is relevant to answer the question. \nReturn any relevant text verbatim.\nView more \n                                                                            \n                                    \n                                        Posted by : kamal20\nQuestion: summerise the text\nRelevant text, if any:"
  ]
}
[llm/start] [1:chain:RetrievalQAWithSourcesChain > 3:chain:MapReduceDocumentsChain > 4:chain:LLMChain > 6:llm:GooglePalm] Entering LLM run with input:
{
  "prompts": [
    "Use the following portion of a long document to see if any of the text is relevant to answer the question. \nReturn any relevant text verbatim.\nView more \n                                                                            \n                                    \n                                        Posted by : kamal20\nQuestion: summerise the text\nRelevant text, if any:"
  ]
}
[llm/start] [1:chain:RetrievalQAWithSourcesChain > 3:chain:MapReduceDocumentsChain > 4:chain:LLMChain > 7:llm:GooglePalm] Entering LLM run with input:
{
  "prompts": [
    "Use the following portion of a long document to see if any of the text is relevant to answer the question. \nReturn any relevant text verbatim.\n- - \n                           - - \n                           - - \n                           - - \n                           - -\nQuestion: summerise the text\nRelevant text, if any:"
  ]
}
[llm/start] [1:chain:RetrievalQAWithSourcesChain > 3:chain:MapReduceDocumentsChain > 4:chain:LLMChain > 8:llm:GooglePalm] Entering LLM run with input:
{
  "prompts": [
    "Use the following portion of a long document to see if any of the text is relevant to answer the question. \nReturn any relevant text verbatim.\n- - \n                           - - \n                           - - \n                           - - \n                           - -\nQuestion: summerise the text\nRelevant text, if any:"
  ]
}
[llm/end] [1:chain:RetrievalQAWithSourcesChain > 3:chain:MapReduceDocumentsChain > 4:chain:LLMChain > 5:llm:GooglePalm] [4.40s] Exiting LLM run with output:
{
  "generations": [
    [
      {
        "text": "This article discusses the concept of summarizing documents and provides a detailed overview of the steps involved in the process. It also provides examples of summaries and discusses the different types of summaries that can be created.",
        "generation_info": null
      }
    ]
  ],
  "llm_output": null,
  "run": null
}
[llm/end] [1:chain:RetrievalQAWithSourcesChain > 3:chain:MapReduceDocumentsChain > 4:chain:LLMChain > 6:llm:GooglePalm] [4.40s] Exiting LLM run with output:
{
  "generations": [
    [
      {
        "text": "The main points are:",
        "generation_info": null
      }
    ]
  ],
  "llm_output": null,
  "run": null
}
[llm/end] [1:chain:RetrievalQAWithSourcesChain > 3:chain:MapReduceDocumentsChain > 4:chain:LLMChain > 7:llm:GooglePalm] [4.40s] Exiting LLM run with output:
{
  "generations": [
    [
      {
        "text": "- - \n\n- - ",
        "generation_info": null
      }
    ]
  ],
  "llm_output": null,
  "run": null
}
[llm/end] [1:chain:RetrievalQAWithSourcesChain > 3:chain:MapReduceDocumentsChain > 4:chain:LLMChain > 8:llm:GooglePalm] [4.40s] Exiting LLM run with output:
{
  "generations": [
    [
      {
        "text": "- - ",
        "generation_info": null
      }
    ]
  ],
  "llm_output": null,
  "run": null
}
[chain/end] [1:chain:RetrievalQAWithSourcesChain > 3:chain:MapReduceDocumentsChain > 4:chain:LLMChain] [4.41s] Exiting Chain run with output:
{
  "outputs": [
    {
      "text": "This article discusses the concept of summarizing documents and provides a detailed overview of the steps involved in the process. It also provides examples of summaries and discusses the different types of summaries that can be created."
    },
    {
      "text": "The main points are:"
    },
    {
      "text": "- - \n\n- - "
    },
    {
      "text": "- - "
    }
  ]
}
[chain/start] [1:chain:RetrievalQAWithSourcesChain > 3:chain:MapReduceDocumentsChain > 9:chain:LLMChain] Entering Chain run with input:
{
  "question": "summerise the text",
  "summaries": "Content: This article discusses the concept of summarizing documents and provides a detailed overview of the steps involved in the process. It also provides examples of summaries and discusses the different types of summaries that can be created.\nSource: [https://www.moneycontrol.com/india/stockpricequote/ironsteel/tatasteel/TIS\n\nContent](https://www.moneycontrol.com/india/stockpricequote/ironsteel/tatasteel/TIS/n/nContent): The main points are:\nSource: [https://www.moneycontrol.com/india/stockpricequote/ironsteel/tatasteel/TIS\n\nContent](https://www.moneycontrol.com/india/stockpricequote/ironsteel/tatasteel/TIS/n/nContent): - - \n\n- - \nSource: [https://www.moneycontrol.com/india/stockpricequote/ironsteel/tatasteel/TIS\n\nContent](https://www.moneycontrol.com/india/stockpricequote/ironsteel/tatasteel/TIS/n/nContent): - - \nSource: https://www.moneycontrol.com/india/stockpricequote/ironsteel/tatasteel/TIS"
}
[llm/start] [1:chain:RetrievalQAWithSourcesChain > 3:chain:MapReduceDocumentsChain > 9:chain:LLMChain > 10:llm:GooglePalm] Entering LLM run with input:
{
  "prompts": [
    "Given the following extracted parts of a long document and a question, create a final answer with references (\"SOURCES\"). \nIf you don't know the answer, just say that you don't know. Don't try to make up an answer.\nALWAYS return a \"SOURCES\" part in your answer.\n\nQUESTION: Which state/country's law governs the interpretation of the contract?\n=========\nContent: This Agreement is governed by English law and the parties submit to the exclusive jurisdiction of the English courts in  relation to any dispute (contractual or non-contractual) concerning this Agreement save that either party may apply to any court for an  injunction or other relief to protect its Intellectual Property Rights.\nSource: 28-pl\nContent: No Waiver. Failure or delay in exercising any right or remedy under this Agreement shall not constitute a waiver of such (or any other)  right or remedy.\n\n11.7 Severability. The invalidity, illegality or unenforceability of any term (or part of a term) of this Agreement shall not affect the continuation  in force of the remainder of the term (if any) and this Agreement.\n\n11.8 No Agency. Except as expressly stated otherwise, nothing in this Agreement shall create an agency, partnership or joint venture of any  kind between the parties.\n\n11.9 No Third-Party Beneficiaries.\nSource: 30-pl\nContent: (b) if Google believes, in good faith, that the Distributor has violated or caused Google to violate any Anti-Bribery Laws (as  defined in Clause 8.5) or that such a violation is reasonably likely to occur,\nSource: 4-pl\n=========\nFINAL ANSWER: This Agreement is governed by English law.\nSOURCES: 28-pl\n\nQUESTION: What did the president say about Michael Jackson?\n=========\nContent: Madam Speaker, Madam Vice President, our First Lady and Second Gentleman. Members of Congress and the Cabinet. Justices of the Supreme Court. My fellow Americans.  \n\nLast year COVID-19 kept us apart. This year we are finally together again. \n\nTonight, we meet as Democrats Republicans and Independents. But most importantly as Americans. \n\nWith a duty to one another to the American people to the Constitution. \n\nAnd with an unwavering resolve that freedom will always triumph over tyranny. \n\nSix days ago, Russia’s Vladimir Putin sought to shake the foundations of the free world thinking he could make it bend to his menacing ways. But he badly miscalculated. \n\nHe thought he could roll into Ukraine and the world would roll over.  Everyone from students to retirees teachers turned soldiers defending their homeland.\nSource: 0-pl\nContent: And we won’t stop. \n\nWe have lost so much to COVID-19. Time with one another. And worst of all, so much loss of life. \n\nLet’s use this moment to reset. Let’s stop looking at COVID-19 as a partisan dividing line and see it for what it is: A God-awful disease.  \n\nLet’s stop seeing each other as enemies, and start seeing each other for who we really are: Fellow Americans.  \n\nWe can’t change how divided we’ve been. But we can change how we move forward—on COVID-19 and other issues we must face together. \n\nI recently visited the New York City Police Department days after the funerals of Officer Wilbert Mora and his partner, Officer Jason Rivera. \n\nThey were responding to a 9-1-1 call when a man shot and killed them with a stolen gun. \n\nOfficer Mora was 27 years old. \n\nOfficer Rivera was 22. \n\nBoth Dominican Americans who’d grown up on the same streets they later chose to patrol as police officers. \n\nI spoke with their families and told them that we are forever in debt for their sacrifice, and we will carry on their mission to restore the trust and safety every community deserves.\nSource: 24-pl\nContent: And a proud Ukrainian people, who have known 30 years  of independence, have repeatedly shown that they will not tolerate anyone who tries to take their country backwards.  \n\nTo all Americans, I will be honest with you, as I’ve always promised. A Russian dictator, invading a foreign country, has costs around the world. \n\nAnd I’m taking robust action to make sure the pain of our sanctions  is targeted at Russia’s economy. And I will use every tool at our disposal to protect American businesses and consumers. \n\nTonight, I can announce that the United States has worked with 30 other countries to release 60 Million barrels of oil from reserves around the world.  \n\nAmerica will lead that effort, releasing 30 Million barrels from our own Strategic Petroleum Reserve. And we stand ready to do more if necessary, unified with our allies.  \n\nThese steps will help blunt gas prices here at home. And I know the news about what’s happening can seem alarming. \n\nBut I want you to know that we are going to be okay.\nSource: 5-pl\nContent: More support for patients and families. \n\nTo get there, I call on Congress to fund ARPA-H, the Advanced Research Projects Agency for Health. \n\nIt’s based on DARPA—the Defense Department project that led to the Internet, GPS, and so much more.  \n\nARPA-H will have a singular purpose—to drive breakthroughs in cancer, Alzheimer’s, diabetes, and more. \n\nA unity agenda for the nation. \n\nWe can do this. \n\nMy fellow Americans—tonight , we have gathered in a sacred space—the citadel of our democracy. \n\nIn this Capitol, generation after generation, Americans have debated great questions amid great strife, and have done great things. \n\nWe have fought for freedom, expanded liberty, defeated totalitarianism and terror. \n\nAnd built the strongest, freest, and most prosperous nation the world has ever known. \n\nNow is the hour. \n\nOur moment of responsibility. \n\nOur test of resolve and conscience, of history itself. \n\nIt is in this moment that our character is formed. Our purpose is found. Our future is forged. \n\nWell I know this nation.\nSource: 34-pl\n=========\nFINAL ANSWER: The president did not mention Michael Jackson.\nSOURCES:\n\nQUESTION: summerise the text\n=========\nContent: This article discusses the concept of summarizing documents and provides a detailed overview of the steps involved in the process. It also provides examples of summaries and discusses the different types of summaries that can be created.\nSource: [https://www.moneycontrol.com/india/stockpricequote/ironsteel/tatasteel/TIS\n\nContent](https://www.moneycontrol.com/india/stockpricequote/ironsteel/tatasteel/TIS/n/nContent): The main points are:\nSource: [https://www.moneycontrol.com/india/stockpricequote/ironsteel/tatasteel/TIS\n\nContent](https://www.moneycontrol.com/india/stockpricequote/ironsteel/tatasteel/TIS/n/nContent): - - \n\n- - \nSource: [https://www.moneycontrol.com/india/stockpricequote/ironsteel/tatasteel/TIS\n\nContent](https://www.moneycontrol.com/india/stockpricequote/ironsteel/tatasteel/TIS/n/nContent): - - \nSource: [https://www.moneycontrol.com/india/stockpricequote/ironsteel/tatasteel/TIS\n=========\nFINAL](https://www.moneycontrol.com/india/stockpricequote/ironsteel/tatasteel/TIS/n=========/nFINAL) ANSWER:"
  ]
}
[llm/end] [1:chain:RetrievalQAWithSourcesChain > 3:chain:MapReduceDocumentsChain > 9:chain:LLMChain > 10:llm:GooglePalm] [2.01s] Exiting LLM run with output:
{
  "generations": [
    []
  ],
  "llm_output": null,
  "run": null
}
[chain/error] [1:chain:RetrievalQAWithSourcesChain > 3:chain:MapReduceDocumentsChain > 9:chain:LLMChain] [2.01s] Chain run errored with error:
"IndexError('list index out of range')"
[chain/error] [1:chain:RetrievalQAWithSourcesChain > 3:chain:MapReduceDocumentsChain] [6.45s] Chain run errored with error:
"IndexError('list index out of range')"
[chain/error] [1:chain:RetrievalQAWithSourcesChain] [7.13s] Chain run errored with error:
"IndexError('list index out of range')"`

### Suggestion:

_No response_

Did you resolve this issue?

@MuhammedAjmalG, did you have any work arounds for this?

@MuhammedAjmalG, did you have any work arounds for this?

yes, Instead of RetrievalQAWithSourcesChain you can use RetrievalQA from Langchain !

@MuhammedAjmalG , Thanks for responding but I still could see the same issue

@kesavan22 without seeing the whole code i can't say anything on that, if you want you can check my github repo.
github link : https://github.com/MuhammedAjmalG/llm_langchain_learning/tree/main/llm_lang_url_app

Thank you!!!

I solved using this:
from langchain.chains import RetrievalQA
retriever = vectorIndex.as_retriever()
chain = RetrievalQA.from_chain_type(
llm=llm,
chain_type="stuff",
retriever=retriever,
input_key="query",
return_source_documents=True)
query = "Your query"
chain({"question": query}, return_only_outputs=True)
chain(query) # Gives correct answer


Update monitoring metrics to support N9

Who, What & Why
I'm as a administrator can see N3 and N9 userplane data metrics separately in order to control different interfaces usage
Additional info
Restrictions
Acceptance criteria
Definition of done

[ ]

In case of eUPF-on-a-stick it's not possible to distinguish N3 and N9 traffic...

Added separate counters for N3 and N6 interfaces via eBPF map.
Pull request is made.


increase memory request for minimize BTF jobs

What does this PR do?
Increases the memory limit for the minimized BTF generation jobs
Motivation
This job has started OOMing recently.
Describe how to test/QA your changes
Possible Drawbacks / Trade-offs
Reducing parallelism would also reduce memory usage, but would increase runtime.
Additional Notes

/merge


Inferring some types / formats incorrectly

Using 1.4.0 I'm getting some incorrect inferences...
YearMonth instead of Date

YearMonth instead of DateTime

Duration instead of Time

Some new features are working great...
Sting, Email or URI

@Stephen-Gates
Fixed in<EMAIL_ADDRESS>


[TW#12877] bt_controller_task crashes receiving BR/EDR/LE ACL with Host Controller to Host Flow Control

I'm testing receiving LE ACL packets sent at full speed but slowing down reception with BTstack.
Setup: LE Streamer example runs on Mac with USB Bluetooth dongle, LE Streamer Client runs on ESP32.
After start ESP32 looks for peer device and connects, looks for characteristics and enables notifications.
After receiving a few of them, it crashes in bt_controller_task. The num packets the host can accept was set to 10 in this test. Interestingly, if I reduce this, it crashes earlier. E.g. with num acl packets set to 1, I don't get a single ACL packet (it crashes before that).
The packet callback just stores the packets in a large ring buffer after checking that there's enough space: https://github.com/bluekitchen/btstack/blob/develop/port/esp32/template/components/btstack/main.c#L113
When I disable the Host to Host Controller Flow Control, I'll eventually get the message that there's no space in the ringbuffer and loose packets, but it runs stable otherwise.
Feel free to ask for more details/logs, or help to reproduce it on your site.
I'll repeat the same with Classic data next.
Log incl. crash:
le-streamer-client-crash-max-10-acl.txt

I've prepared a test to stream SPP data and get more or less the same behaviour. A  ACL packets during RFCOMM setup are acknowledged by BTstack, and then it crashes.
Log incl. crash:
spp-streamer-client-crash-max-10-acl.txt

@mringwal , could you provide the git commit ID? Thanks.

@TianHao-Espressif I currently have 55fb4c54c8c00040439825ea9ef8132d1fa5a261 for esp-idf and 8f6c2c5 for components/bt/lib
It should be straight forward to run the test on your side, following https://github.com/bluekitchen/btstack/tree/master/port/esp32
Host Controller to Host is disabled so far, but you can enable it by uncommenting it in btstack/port/esp32/template/component/btstack/include/btstack_config.h
(#define ENABLE_HCI_CONTROLLER_TO_HOST_FLOW_CONTROL)
You could try spp_streamer[_client] or le_streamer[_client]

@mringwal thank you very much for your information and example, and I could build and run the test code successfully. I have uncommented the line "#define ENABLE_HCI_CONTROLLER_TO_HOST_FLOW_CONTROL" in btstack_config.h as you mentioned, and found that the program may crash in either of following conditions:

ESP-IDF submodule "components/bt/lib" is earlier than(not include) commit ID 8f6c2c5
not disable the hci_dump or other major loggings, e.g. the "printf_hexdump" in le_streamer_client.c

For scenario 1, We fixed one bug in the specified commit(8f6c2c5), but there was an accident in the merge of code for ESP-IDF, the submodule components/bt/lib was mistakenly rolled back for several days and now the issue is fixed. So could you please check it again or do another test using the latest ESP-IDF and its submodules?
For scenario 2, the program is indeed easy to crash when too many loggings are enabled. After I have disabled these loggings, your example can run well. Therefore I guess it may not be the problem of HCI flow control logic.
To conclude, can you test again with the latest ESP-IDF with the major loggings disabled? Or can you tell me whether there is anything else I must do to carry on the test code on my side? For now I only uncomment the "#define ENABLE_HCI_CONTROLLER_TO_HOST_FLOW_CONTROL" in btstack_config.h, for the le_streamer[_client] and spp_streamer[_client] example.

@mywang-espressif Hi Karl! Thanks for looking into this - and even playing with BTstack. I'll pull and report back over the weekend.

@mywang-espressif hi again. I've updated to the current master revision and the first problem seems to be fixed now. Excellent!
You suggest to disable logging mostly. Without logging, it doesn't crash -that's correct, too.
However, with logging enabled it still crashes. The logging happens on the BTstack thread, so the main effect of logging is to slow down reception. Instead of logging, I just tried to sleep using vTaskDelay(100 / portTICK_PERIOD_MS); -- same crash happens.
I assume that it's ok for BTstack to slow down reception - after all, that's the point of the Host Controller to Host Flow Control: with logging or delays, BTstack acknowledges received ACL packets slower than it gets them from the bt_controller_task. When this happens, I would expect the HCI implementation to signal to the peer device that it needs to pause sending, as there are no additional buffers on our side.
Please let me know if I misunderstood anything with the Host Controller to Host Flow Control and let me know why it crashes when logging or slowing down reception / and what to do. Slow reception is a likely scenario when using the ESP32 e.g. as a virtual serial port and the physical device raises it's RTS line, so we cannot send data to it.
When BTstack is slowed down, the 'host num completed'

@mringwal, Hi Matthias, I agree with you on the flow control mechanism, when Host slows down in processing the received packets, Controller should inform the peer device with FLOW flag set to STOP, indicating that the reception buffer is full. I will study the data path in the Controller, and give my feedback to you once I have any progress.

@mywang-espressif Hi Karl. I'm glad you agree. I did not look how it's implemented in the Controller, but it should be possible. Good luck. Feel free to discuss Bluetooth details (although I need to read up as well).

@mringwal Hi Matthias, I have fixed the bug that results crash in Controller, and initial result shows that the flow control mechanism works. I will update the library in a couple of days when more tests are done.

@mywang-espressif Awesome. Is this in the latest commit (0f68ece) to the Bluetooth Lib?

@mringwal Yes, Commit(0f68ece) fixes the bug that causes the controller to crash. As far as I know, For classic Bluetooth, flow control mechanism works in the way that when RX buffer is full, the hardware sets the ARQN bit in packet header to be NAK and makes the peer device to retransmit the packet. I have tested the spp_streamer[_client] example and add delay in the host and reduce the host reception buffer size, the speed can slow down for now.
For BLE I think there is similar Flow Control mechanism, when I test the LE_streamer[_client], the controller will not crash but the connection is disconnected from the loggings of BTStack. I wonder where the problem lies, Host or Controller.
Please try with the update, and I am looking forward to your feedback.

@mywang-espressif Hi! Thanks for fixing the flow control for Classic. I just run spp_streamer[_client] with packet log enabled, which slows it down from 190 kB/s to 3.7 kB/s. This clearly shows that the flow control works.
For LE: do you have the "Bluetoooth Low Energy, The Developer's Handbook" by Robin Haydon? Chapter 7.8.6 mentions flow control: "... it is also possible to enable flow control by using the next expected sequence number. If a device does not have enough buffer space to process a message at a given time, it is not able to update the next expected sequence number. This forces the other device to retransmit this message, effectively pushing the buffering requirements onto the sending device and away from the receiving device."
Well, that's not particularly elegant, it clearly is sufficient to avoid packet loss and implement Host Controller to Host Flow Control.
Could you check if it's possible to implement this in the LE part? (not update expected sequence number if there are no free buffers to store the next packet). Thanks!

@mringwal Hi Matthias, glad to hear that your Classic BT test passed. I do have the LE book you mentioned in hand and I will also read the specifications of the LE controller. I do find that SESN flag in the packet is used for flow control. Before that, I think I can do some packtcapture work and check where the problem lies.

@mywang-espressif Did you find a way to add flow control to LE? Anything to test for me?

@mringwal I was engaged in another development task recently and sorry for keep you waiting. I think I can turn to this issue in one week or two and there will be further update then.

Thanks for the update. I'm glad it's still on your "radar"!

Any news about LE Flow Control?  Thanks!

@mringwal Hi Matthias, I am sorry that there was a delay for this issue. I think I can begin to invesitigate in this case later this week, if I cannot I will try to find another teammate to carry on.

Thanks for your continuous support.
Yesterday, I've learned (by trying) that the ESP32 support BLE Date Length Extension - that's great.
And today, I tried to see if it can handle multiple BLE Peripheral Roles - yes, it can. That's awesome. (No idea if Bluedroid supports it, but your Controller implements it).
I've added the ESP32 to the Bluetooth Chipset list in BTstack (on develop branch only at the moment): https://github.com/bluekitchen/btstack/tree/develop/chipset

So my cell phone could be (over BT) a peripheral to the ESP32 DevBorad?
Wondering about using phone to send it IMU data that then goes server-side?
On Tue, Aug 8, 2017 at 11:38 AM, Matthias Ringwald<EMAIL_ADDRESS>
wrote:

Thanks for your continuous support.
Yesterday, I've learned (by trying) that the ESP32 support BLE Date Length
Extension - that's great.
And today, I tried to see if it can handle multiple BLE Peripheral Roles -
yes, it can. That's awesome. (No idea if Bluedroid supports it, but your
Controller implements it).
I've added the ESP32 to the Bluetooth Chipset list in BTstack (on develop
branch only at the moment): https://github.com/bluekitchen/btstack/tree/
develop/chipset
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/espressif/esp-idf/issues/644#issuecomment-320994777,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEXm77T1MSOKGtoM15mLF-_hQZ7OJpZaks5sWIDYgaJpZM4NmZ6f
.

Hi @mringwal, I am studying the LE hci controller to host data flow control these days. Using your example le_streamer(_client). I added the occasional delay in the le_streamer_client(master) side which is receiving data. When the host task is delaying, the controller stops transmitting packet to host and soon the RX buffer of the controller gets exhausted. I can see the master device sends empty packet with NESN unchanged to make the peer device resending the packet. After some connection events of retransmission, the controller of master reports the disconnection complete event with reason "Connection Timeout".
You can see that the flow control mechanism works that the controller uses NESN bit for retransmission. The only issue now is that the Connection Timeout is not, maybe, an appropriate behaviour in this case.
I will update my progress to you later.

That sounds like a good start / not far from the goal :)
As long as the master receives a packet from the slave (the retransmitted packet that it didn't acknowledge yet), it should not disconnect. Looks like some 'connection alive/heartbeat' flag isn't updated if the received packet cannot be queued up, right?
Thanks for debugging!

Hi @mringwal , what you've said is almost the fact. The supervision timer is reset each time a valid packet is received, according to the core specification, which is also implemented in our controller. But in this issue, when controller RX buffer is full, no packet received will be reported since there is no resource for that, and even there is no interrupt for this any more, thus the supervision timer cannot be reset, leading to connection timeout.
This issue is somehow complicated to find a proper solution, and let me think more about it.

From far away..., it looks like it should be possible to extract the code to reset the supervision timer. Then, the call to the reset-supervision-timer could be moved to an earlier point, just after the packet validation. :)

Hi @mringwal, there is an update commit (4b54278b) along with submodule "components/bt/lib" commit(caec3249). Please use the latest ESP-IDF with this included. With this patch, LE HCI controller to host data flow control is possible, but the feature is limited by supervision timeout. This patch fixes the issue that when controller RX buffer is full caused by host flow control, controller will stop to send packets to host any more, even when the HCI host_number_of_cmpleted_packets command is sent by host. I think the patch is sufficient for most cases, When I turn on the loggings in the example LE_streamer, the throughput just gets lower.

Hi @mywang-espressif thanks for the update. Good point about the current version being good enough to use flow control now. I guess the 'disconnect by supervision timeout because of flow control' should be a new issue. I've updated BTstack to use flow control by default and also close this issue! Thanks & see you at other issues!


Meross MSS210 not working Error: connect EHOSTUNREACH

Describe The Bug:
Homebridge not able to comunicate with plugs, errors in console
To Reproduce:
Just using homebridge to turn on and off plugs
Expected behavior:
plugs responding to calls from homebridge
Logs:
[7/30/2020, 11:51:21] [Enchufe] Failed to POST to the Meross Device MSS210 at <IP_ADDRESS>: Error: connect EHOSTUNREACH <IP_ADDRESS>:80
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) {
  errno: 'EHOSTUNREACH',
  code: 'EHOSTUNREACH',
  syscall: 'connect',
  address: '<IP_ADDRESS>',
  port: 80
}
[7/30/2020, 11:51:36] [Enchufe] Failed to POST to the Meross Device MSS210 at <IP_ADDRESS>: Error: connect EHOSTUNREACH <IP_ADDRESS>:80
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) {
  errno: 'EHOSTUNREACH',
  code: 'EHOSTUNREACH',
  syscall: 'connect',
  address: '<IP_ADDRESS>',
  port: 80
}
(node:19110) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'togglex' of undefined
    at Meross.getOnCharacteristicHandler (/usr/lib/node_modules/homebridge-meross/index.js:327:41)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:19110) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 5)
(node:19110) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'togglex' of undefined
    at Meross.getOnCharacteristicHandler (/usr/lib/node_modules/homebridge-meross/index.js:327:41)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:19110) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 6)
(node:19110) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'togglex' of undefined
    at Meross.getOnCharacteristicHandler (/usr/lib/node_modules/homebridge-meross/index.js:327:41)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:19110) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 7)
[7/30/2020, 11:53:58] [Enchufe] Failed to POST to the Meross Device MSS210 at <IP_ADDRESS>: Error: connect EHOSTUNREACH <IP_ADDRESS>:80
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) {
  errno: 'EHOSTUNREACH',
  code: 'EHOSTUNREACH',
  syscall: 'connect',
  address: '<IP_ADDRESS>',
  port: 80
}

**Homebridge Config:**

{
    "bridge": {
        "name": "Homebridge AA1B",
        "username": "0E:7E:93:4D:AA:1B",
        "port": 51018,
        "pin": "297-43-810"
    },
    "accessories": [
        {
            "model": "MSS210",
            "name": "Impresora 3D",
            "deviceUrl": "<IP_ADDRESS>",
            "channel": 0,
            "messageId": "c1779468dca8f744e0842c733b74e28e",
            "timestamp":<PHONE_NUMBER>,
            "sign": "27232e3e6b88afe45f3205c72c8e1fd1",
            "accessory": "Meross"
        },
        {
            "model": "MSS210",
            "name": "Enchufe",
            "deviceUrl": "<IP_ADDRESS>",
            "channel": 0,
            "messageId": "7e8dd43a668da4cd3c3d5f885421974d",
            "timestamp":<PHONE_NUMBER>,
            "sign": "4f60163a5356c80b460d866a8a2a4109",
            "accessory": "Meross"
        }
    ],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        }
    ]
}

**Environment:**

* **Node.js Version**: v12.18.3
* **NPM Version**: 6.14.6
* **Homebridge Version**: 1.1.1
* **Homebridge Meross Plugin Version**: homebridge-meross v2.3.1
* **Homebridge Config UI X Plugin Version**: homebridge-config-ui-x v4.24.0
* **Operating System**:  raspbian buster lite

While it worked with two of my MSS210 plugs (hardware version 2.0, can be checked in the Meross App), I got the same error with two older MSS210 plugs (identical looking and same label but hardware version 1.0). It works if I select for the older plugs MSS-110-1.0 as device in the settings.
Seems that the MSS210 plug exists also in two versions with the older one being similar to the MSS-110 1.0

Seems that the MSS210 plug exists also in two versions with the older one being similar to the MSS-110 1.0

Interesting. Will look into getting that distinction implemented. Good find!

{             "model": "MSS560",             "name": "gimp basement lights",             "deviceUrl": "X.X.X.X",             "channel": 0,             "messageId": "REMOVED",             "timestamp": REMOVED,             "sign": "REMOVED",             "innerIP": "X.X.X.X",             "accessory": "Meross"         }

I got a similar error on a MSS560 dimmer switch in homebridge fixed by adding the “innerIP”: “X.X.X.X” line in the config. The dimmer function was not actionable in homebridge, but the error message went away

I have this exact issue, was any progress made? Sorry i missed this before posting a new issue

See #151


fix: remove delay from keymaps

When you have a global keymap like <enter><enter>, there will be a delay when pressing <enter>. nowait removes that delay.

awesome! Thanks for that fix! 😄


transition back to telescope.

After some consideration, I feel like keeping telescope as a dependency would be a better fit for this plugin.
Many people have it installed already, and it's api is a much nicer and fleshed out experience compared to nui-components.
Would like some feedback and or bug catches before merging

disregard failing line/formatting tests, this needs to be fixed

i like it


cant claim twitch drop.

cant claim drop then bot stopped.

Hello o/
I'll need to see the whole traceback to be able to help you. But before you do that, please ensure this isn't related to #138 or #189, as those have an already existing issue tracker, and this issue would thus be a yet another duplicate I'll have to close.


WIP: Candidate PPField->Cube interface.

See #1917 - ping @cpelley.
Provides a way to work with PP fields that raise errors during the conversion to Cubes. For example, fields with a negative LBPROC value give:
>>> cube = iris.load_cube(path)
...
ValueError: Negative numbers not supported with splittable integers object

Working at the lower, PP field level we can adjust the fields before conversion:
fields = iris.fileformats.pp.load(path)
def mutate(field):
    field.lbproc = 0
    return field
tweaked_fields = (mutate(field) for field in fields)
cubes = iris.cube.CubeList(iris.fileformats.pp.as_cubes(tweaked_fields))
cube = cubes.merge_cube()

Hi @rhattersley.  This is great!
We have a rather less than ideal solution that we had been working with in our project which patches iris.fileformats.pp.load:
https://code.metoffice.gov.uk/trac/ancil/browser/ants/trunk/lib/ants/fileformats/ff.py?rev=1319#L806
We have corresponding unit tests that would be directly applicable to this PR:
https://code.metoffice.gov.uk/trac/ancil/browser/ants/trunk/lib/ants/tests/fileformats/ff/test_pp2cubes.py?rev=1319
@jkettleb you will definitely like this!
@ehogan, I think this would also be applicable to you in your work as I understand it requires the filtering of fields before turning them into cubes.
Thanks @rhattersley, I'm more than happy to review when your ready or contribute to its development (your preference).

This looks like a good idea.
I think it t would be neat if  load_cubes could call as_cubes.  (Less code, encapsulation of the as_cubes logic in one place). Do you need to call the legacy rules and callback before the dereferencing logic?  Is this order dependence the thing that makes it harder to call as_cubes from load_cube   (Obviously ignore this if you disagree its a good idea - and sorry, its quite nosy of me.)
I think as_cubes would work with fields files too - or did I miss something?

please note I am continuing work on this in #1941, in case that wasn't clear

Closing as the action has moved to #1941.


Skip prop-passing if route is a DOM element (fixes #226)

This fixes the following issue:
let div = render(
  <Router url="/?matches=hello">
    <div />
  </Router>
);

div.matches  // "hello" - should be DOM match() method

Note to self: tests need to be updated to only use components as children, and to test that elements as children do not receive router props.


Requirements

May I ask the requirements of this project?
What version of pytorch is using?
Thanks in advance.

I'm using Pytorch 0.4 in this repo.
The other requirements are TensorboardX, networkx, and the standard python libraries (numpy, scipy, matplotlib etc.)

@RexYing Hi, what version of Networkx?


Is it still going to be open sourced?

Hi! I am one of many who have read your articles about Pingora and who became enthusiastic about your plan to open source the project. Is it still something that you plan to do? Is it on standby? Could you give us an idea of how much time it would take you to release it to the public?

Thanks for following along! We really appreciate your excitement.
Yes, Pingora open source plans are still in motion. In terms of timelines, all we can say right now is "soon." Please stay tuned.

That was soon indeed :- )  HackerNews discussion:  https://news.ycombinator.com/item?id=39535969 (I hope you don't mind ... I thought maybe there's something over there that you'd find it interesting to reply to, if you haven't noticed already, ... lots of PRs the last hours)

Hi! I am one of many who have read your articles about Pingora and who became enthusiastic about your plan to open source the project. Is it still something that you plan to do? Is it on standby? Could you give us an idea of how much time it would take you to release it to the public?


Timestamp

The old automerge-swift stored Timestamp in milliseconds (not sure why), resulting in wrong resulting Dates when importing it with the new automerge-swift. Any idea we can mitigate this?

It would require changes to the Automerge core - I'm uncertain on why it changed, exactly. I considered a transformation that preserved a Double (Date's internal TimeInterval type) from 1970 epoch, but in some ways that's even more oblique, and clearly doesn't map to the internal Automerge representation which has less granular resolution, so it didn't seem to offer any cross-platform benefit.
@alexjg - any insight into the change in internal Automerge representation of Value.Timestamp?

I guess the old auto merge implemented it wrong

I think this is actually a case where we got it wrong in the Swift implementation. The rest of the automerge implementations use milliseconds since the epoch.

Ideally we would update the swift implementation (which I think just corresponds to changing the documentation?).

So the new implementation is missing this piece of code?


Fix route processing

Response was a string when $withResponse was false, leading the method to throw an exception when accessing to its headers.

Can you please add a test for the issue you mentioned?


update osm-controller/control plane configuration via the osm cli

Please describe the Improvement and/or Feature Request

There should be a way via the CLI to update a control plane's configuration.
osm update MESH_NAME --flags
Scope

[ ] New Functionality
[ ] Install
[ ] SMI Traffic Access Policy
[ ] SMI Traffic Specs Policy
[ ] SMI Traffic Split Policy
[ ] Permissive Traffic Policy
[ ] Ingress
[ ] Egress
[ ] Envoy Control Plane
[x] CLI Tool
[ ] Metrics
[ ] Certificate Management
[ ] Sidecar Injection
[ ] Logging
[ ] Debugging
[ ] CI System

Possible use cases
As a user, I may install the control plane in permissive mode (allow all traffic, smi access control disabled). Then, I may want to switch to using SMI access control policies. I need to disable permissive mode. I'd like to do this via the CLI instead of manually updating the ConfigMap.

I can pick this up if it is as simple as doing an update on the ConfigMap using k8s client-go (or whatever library or abstraction is used)

@michelleN What flags would we support in the initial version of the update command? Should we start with just toggling in the permissive on and off ?

@michelleN What flags would we support in the initial version of the update command? Should we start with just toggling in the permissive on and off ?

Ideally we would like the CLI to be able to update any of the user exposed settings in osm-config configMap, currently its every setting in the configMap.

@michelleN What flags would we support in the initial version of the update command? Should we start with just toggling in the permissive on and off ?

Ideally we would like the CLI to be able to update any of the user exposed settings in osm-config configMap, currently its every setting in the configMap.

Would something similar to helm's --set work? This would allow us to write the cmd code once and make it generic or agnostic to the parameters in the ConfigMap (treating them as map[string]string)

Hey @nitishm ! yea so that's what I was thinking as well. We use helm client libraries under the hood to install an osm chart (bulk of that logic lives here). We override the default values with the flag values passed in here.
Let's add an $ osm mesh update <mesh-name> command that takes the same flags as the install command and then does a essentially a helm upgrade --set under the hood using helm libraries. Here is how helm instantiates a new upgrade client for example. We'll want to do the same. Then, resolve the flags to values and pass them into when we run the upgrade action via helm.
Lmk if you have any questions and feel free to even put up a work in progress pull request if you need another set of eyes on things.

Hey @nitishm ! yea so that's what I was thinking as well. We use helm client libraries under the hood to install an osm chart (bulk of that logic lives here). We override the default values with the flag values passed in here.
Let's add an $ osm mesh update <mesh-name> command that takes the same flags as the install command and then does a essentially a helm upgrade --set under the hood using helm libraries. Here is how helm instantiates a new upgrade client for example. We'll want to do the same. Then, resolve the flags to values and pass them into when we run the upgrade action via helm.
Lmk if you have any questions and feel free to even put up a work in progress pull request if you need another set of eyes on things.

Sounds good to me!!
Created a WIP PR - #1474

So I looked at the mesh_delete_test.go test code and it makes sense to populate the store with a mock release and use the store in the mock helm client.
rel := release.Mock(&release.MockReleaseOptions{Name: meshName})
store.Create(rel)

The issue that I am facing with update is that updateCmd similar to installCmd needs a kubernetes.Clientset to be configured to carry out the upgrade (whereas in mesh delete it uses  *action.Uninstall to uninstall the mesh).
If I follow the install_test examples, we use the fake k8s clientset to simulate the tests.
Now the question is how do I associate the fake clientset with the fake release.Mock with the pre-programmed release added to it's store, since the clientset is not set to use the same context as the release store.
Or maybe I am looking at it all wrong and I need to reconsider, either the design of the updateCmd or the design of suite test ?!

FYI: This is what I tried, but to no avail
package main

import (
	"bytes"
	"io/ioutil"

	. "github.com/onsi/ginkgo"
	. "github.com/onsi/gomega"
	"k8s.io/client-go/kubernetes"
	fake "k8s.io/client-go/kubernetes/fake"

	helm "helm.sh/helm/v3/pkg/action"
	"helm.sh/helm/v3/pkg/chart"
	"helm.sh/helm/v3/pkg/chart/loader"
	"helm.sh/helm/v3/pkg/chartutil"
	kubefake "helm.sh/helm/v3/pkg/kube/fake"
	"helm.sh/helm/v3/pkg/release"
	"helm.sh/helm/v3/pkg/storage"
	"helm.sh/helm/v3/pkg/storage/driver"
)

var _ = Describe("Running the update command", func() {

	Describe("with vault overriding tresor", func() {
		var (
			out           *bytes.Buffer
			store         *storage.Storage
			config        *helm.Configuration
			err           error
			fakeClientSet kubernetes.Interface
			ch            *chart.Chart
		)

		BeforeEach(func() {
			out = new(bytes.Buffer)
			store = storage.Init(driver.NewMemory())
			if mem, ok := store.Driver.(*driver.Memory); ok {
				mem.SetNamespace(settings.Namespace())
			}

			config = &helm.Configuration{
				Releases: store,
				KubeClient: &kubefake.PrintingKubeClient{
					Out: ioutil.Discard,
				},
				Capabilities: chartutil.DefaultCapabilities,
				Log:          func(format string, v ...interface{}) {},
			}

			ch, err = loader.Load("testdata/test-chart")
			if err != nil {
				panic(err)
			}
			rel := release.Mock(&release.MockReleaseOptions{Name: defaultMeshName, Chart: ch})
			store.Create(rel)

			fakeClientSet = fake.NewSimpleClientset()

			config = &helm.Configuration{
				Releases:     store,
				Capabilities: chartutil.DefaultCapabilities,
				Log:          func(format string, v ...interface{}) {},
			}

			updateCmd := &updateCmd{
				out: out,
				cfg: actionConfig{
					chartPath:                  "testdata/test-chart",
					containerRegistry:          testRegistry,
					containerRegistrySecret:    testRegistrySecret,
					osmImageTag:                testOsmImageTag,
					certManager:                "vault",
					vaultHost:                  testVaultHost,
					vaultToken:                 testVaultToken,
					vaultRole:                  testVaultRole,
					vaultProtocol:              "http",
					serviceCertValidityMinutes: 1,
					prometheusRetentionTime:    testRetentionTime,
					meshName:                   defaultMeshName,
					enableEgress:               true,
					enableMetricsStack:         true,
					meshCIDRRanges:             testMeshCIDRRanges,
				},
				clientSet: fakeClientSet,
			}

			err = updateCmd.run(config)
		})

		It("should not error", func() {
			Expect(err).NotTo(HaveOccurred())
		})

		It("should give a message confirming the successful install", func() {
			Expect(out.String()).To(Equal("OSM successfully updated in namespace [osm-system] with mesh name [osm]"))
		})

	})
})


Constant name "config" doesn't conform to UPPER_CASE naming style

https://github.com/lbonanomi/scripts/blob/d4369094fb277f5c08521500b3186b83b4c530b9/active_directory_last_password_reset.py#L18

Issues for naming style are now ignored.


new falcosidekick grafana dashboard

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

If this PR will release a new chart version please make sure to also uncomment the following line:

/kind chart-release

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area falco-chart

/area falco-exporter-chart

/area falcosidekick-chart

/area falco-talon

/area event-generator-chart

/area k8s-metacollector

What this PR does / why we need it:
Adds a new dashboard for the falcosidekick logs using Loki. This dashboard represents alerts/rules by pod.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
This dashboard needs Grafana, Prometheus and Loki. Also it needs to connect the falcosidekick to Loki.
Checklist

[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] CHANGELOG.md updated

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

7074422 update docs

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

Welcome @cobcan! It looks like this is your first PR to falcosecurity/charts 🎉

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: cobcan
Once this PR has been reviewed and has the lgtm label, please assign alacuku for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hey @cobcan, thanks for the contribution!
Can we put the dashboard in the falcosidekick chart?

Yeah sure there is no problem with that, do you want to move it or copy it?

@alacuku Yeah sure there is no problem with that, do you want to move it or copy it?

Move it please. Moreover, can you name your dashboard with refs Falcosidekick and Loki, on my side, I'm working on a dashboard for Falcosidekick with prometheus metrics, both are legit, we just need to be sure it will be clear for the users.

@alacuku @Issif
I have seen the falcosidekick chart and now I understand better what you mean.
1. I will create a folder called "dashboards" like in the falco chart, and put there de  .json.

2. Then I will create a new template for the dashboard configmap and add it to the chart.

3. Lastly I will remove the changes done in the falco-chart.

Please tell me if it makes sense to you. Thanks!!

Yes, that's the way to go! Thanks!


May you make a tutorial to explain how your cade works?

Hi there, Im a newbie of js. Im doing my school project which wants to use your cute-alert. I had imported both files and tried to made the event happen. unfortunately, the alert-box didn't show. it made me so confused.

Can you send me how you tried to implement it? I can try and help you.


[bug Installed Mysterium on second computer (linux) goes straight to top up wallet which is already topped up on other computer, bypasses any login.  Give us more money????

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Logs
Attach logs (app, node, supervisor) to the issue. Where to find the logs: https://github.com/mysteriumnetwork/mysterium-vpn-desktop#logs
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. Windows 10]
App Version [e.g. 4.1.0]

Additional context
Add any other context about the problem here.

Even though your bug description body is empty, and this filed issue "is quite a mess" I believe I understood your issue.
Did you import in the second computer the Mysterium Keystore.json that you should've exported from the first computer? So that the same identity and wallet is used, and you can have the MYST that you top-up in your first computer in the second.

You go to Settings>Mysterium ID and then Backup option as in the picture. Then import that keystore.json on your second computer.


severe slowdowns (with Backlinks tab open) and errors

Hi!
I tried running the plugin for a few hours and experienced severe slowdowns with the Backlinks tab open in the sidebar and notes containing lots of backlinks. It seemed a few times unlinked mentions were being calculated, although I never clicked on the Unlinked mentions title.
I also saw this error pop up a few times. The note referred to looks like a run-of-the-mill note and loads fine.

Error while mounting Better Search Views tree for file path: 00 meta/05--css/edi/img highlight.md. Reason: Error: No section cache found in 00 meta/05--css/edi/img highlight.md
    at createContextTree (plugin:better-search-views:4483:15)
    at Patcher.mountContextTreeOnMatchEl (plugin:better-search-views:4680:25)
    at e.eval (plugin:better-search-views:4643:23)
    at e.wrapper [as renderContentMatches] (plugin:better-search-views:4219:20)
    at app.js:1:1242238
    at app.js:1:1198807
    at app.js:1:236999
    at Object.next (app.js:1:237104)
    at a (app.js:1:235822)
reportError @ plugin:better-search-views:4668

Turning off the plugin and closing/opening the vault brought the speed back to normal.
macOS 13.5, Obsidian v1.4.4, Better Search Views 0.2.0
Let me know if you'd like me to test anything.
Good luck!

Hello, @trainbuffer,
Thank you for the feedback! Let's gather some more info:

Did you experience slowdowns a) continuously while running obsidian or b) only when opening specific files c) or did they 'accumulate' over time, getting worse?
If b), did the slowdown disappear when you closed the file?
Was it the only error you saw in the console? Were there other files that caused the error?
Do you use canvas a lot?

I am seeing the same error, and I am fairly confident that it is related to the insider build 1.4.4, which released yesterday. This update added YAML property values to search results (e.g., Author: [[JK Rowling]]). I am only seeing the console error pop up when I navigate to a file where the backlinks include a property value.

Thank you @chadrach! This insight is very helpful ❤

Okay, I've played around with the insider build, and indeed I'm seeing errors when using the new [key:value] search operator - this is quite easy to fix.
However, I wasn't able to reproduce the slowdown. @chadrach, have you noticed any slowdown in your vault while using the new insider build?

I don't have any noticeable slowdown, but my YAML use is minimal

@ivan-lednev
Thanks for the prompt reply.
Just be be sure it wasn't something funky with my vault, I copied my notes (1609 files, 70 folders) into the Sandbox with only Better Search Views enabled. Default settings and theme, and no other Community plugins installed. Tried to answer you questions from above ->

The slowdowns and freezes (scrolling, sidebar buttons not responding, clicking on tabs not responding, etc.) only seemed to happen with certain notes. For example, I put:

~~~query
html
~~~

in the Start Here note and Obsidian was pretty much unresponsive until I could click out of that note. As mentioned in my first post, having Backlinks open in the right sidebar would also cause slowdowns if there were a lot of backlinks to the note.
If the Backlinks tab was closed and there were no embedded queries in a note, Obsidian functioned normally.

Yes, closing Backlinks or certain notes restored responsiveness to the UI

The error I posted above was the only error I saw in my vault, but after using the Sandbox for ~30 minutes, I saw the same error a few times but with different files.

The Canvas plugin is enabled in my vault and the Sandbox, but no Canvas files were open (and I don't use the Canvas much).

do you use a lot of properties in your vault? Do you have a lot of note links in those properties?

I currently have 22 properties listed in the Files properties tab, and I have now idea what 5~6 of them are. Time for a clean-up. 😂
Hope this helps!

@trainbuffer, @chadrach, please update and re-check. The errors should be gone. For now, if you use the new property search syntax, the plugin will fall back on the native search UI.
@trainbuffer, I'm not sure it'll fix the slowdowns though. In case it doesn't, are you up for a Skype call and some debugging?

Closing this as stale.

I have this problem. It happens with notes that have several backlinks, like more than 15. The first 15 load instantly, the next ones take 5 seconds to load, and Obsidian is unusable in that time (Can't edit the note). The notes I'm using have no properties / yaml. I tried renaming and deleting all the content of the note, but that didn't fix it.

Hello, @csss1234,
You'll have to help me here:

Can you share the file that causes slowdowns?
Can you share the error messages in the developer console, if there are any?


Phone number entry fix / change

Describe the bug
On onboarding screen, phone number entry not working in the general case
To Reproduce
Steps to reproduce the behavior:

Make sure locale of the phone is set to USA
Follow onboarding steps to phone number
Enter indonesian number

Current behavior

Formatting is wrong +6 (2....)
Cuts off last 2 digits - impossible to enter the whole number

I don't think assuming a user is in the same locale as their phone number is appropriate.
And even if it were the case, we would have to test all countries to see if it works for all of them?
Expected behavior
I suggest a phone entry widget
Flag on the left to select country and country code
Numeric entry on the right
We can just use this package:
https://pub.dev/packages/intl_phone_number_input
Like this

Screenshots
Showing the issues:
https://user-images.githubusercontent.com/65412/128587434-cf70cdfb-2266-4eb0-8132-48407f1d0c45.mov

Phone removed for the time being


759 irods signin appearance

Can one of the admins verify this patch?

@dtarb and @danames have already given a +1 to the new appearance for irods sign in and browsing, so merged this PR.


Conversion from FileMode to FileType is incorrect.

The From<FileMode> implementation for FileType uses the bitflags contains function to check the file mode against the FileMode enum members, e.g. mode.contains(FileMode::DIR).
However, the file modes are not flags - their set bits overlap.
As a result, the FileType will be wrong for certain file modes.
Example:
The file is a socket, file mode 0xC000 ==<PHONE_NUMBER>000000.
The first test is against FileMode::DIR which is 0x4000 ==<PHONE_NUMBER>00000.
Since all set bits in<PHONE_NUMBER>00000 are also set in<PHONE_NUMBER>000000, the check succeeds and the file type is set to FileType::Dir.

Thanks!


Add ros_testing metapackage and ros2test CLI package

Closes https://github.com/ros2/launch/issues/208. This pull request adds:

ros_testing, the ament_cmake entrypoint package to launch testing in ROS2, bringing all necessary dependencies and providing a convenience CMake macro, add_ros_test() to register ROS2 launch tests.
ros2test, the ros2 CLI extension package that provides a test command for ROS2 launch tests.

Running CI (full run, using https://github.com/ros2/ros2/pull/704 for a ros2.repos file):

Linux
Packaging Linux
Linux-aarch64
macOS
Windows

What did we decide I should rename this repository to? ros2test, ros_testing?

What did we decide I should rename this repository to? ros2test, ros_testing?

I think we didn't really decide. I'm fine with either, though I used ros_testing purposefully to avoid confusion with ROS1 rostest and to have ros2test available for the CLI extension package.

I used ros_testing purposefully to avoid confusion with ROS1 rostest

How about naming this repo ros_testing then?

Tests seem unrelated though no less worrisome :/


feat(publish): worker pool implementation

Features added:

Concurrent searching for files in Metadata using a worker pool library

@estroz Understandable. I will look through this library and see if it meets our needs.

There are other generic Go libs out there too, that’s just one suggestion from k8s. Feel free to shop around. I’m open to whatever!

Sounds good. I did a bit of looking around before I wrote my own and couldn't really find a library that was actively maintained and allowed for error handling. I never came across this one though so I need to alter my search criteria. Totally agree that it would be better to not have to maintain it ourselves.

@estroz I did run a benchmark on concurrent vs serial file reconciling and I don't really see a major difference in performance between the two (in fact running this concurrency seems to be a tad slower). Since the original intent of this PR was to find a worker pool solution and not necessarily to make file reconciling concurrent, we might be able to just note the worker pool library we want to use and close this PR. The worker pool would be much more valuable on the publisher side. WDYT?

Up to you. I'll approve it but feel free to close it and just use the worker pool in publish.


Expose common HTML element components with default propType validation

Excellent suggestion by @rafikk.
Going in 0.4.0 release.

Fixed in #32


virt-operator: Remove flavor.kubevirt.io RBAC

/area instancetype
What this PR does / why we need it:
This was previously required to allow deployments to upgrade from v0.54 and should have been dropped with the release of v0.56.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/cc @0xFelix

/retest-required


Use content-tag in @glint/environment-ember-template-imports

ember-template-imports is an implementation detail of a feature, where those implementation details are being phased out.
For example, ember-template-imports is not used within the v2-addon blueprint (with rollup -- there is a rust plugin that handles the transform, per RFC: https://github.com/emberjs/rfcs/pull/933), and @embroider/vite uses that same plugin in apps, and actually breaks with ember-template-imports present (one too many transforms are happening).
So, I think Glint should also use https://www.npmjs.com/package/content-tag
However, because how Glint handles <template> is an implementation details, there is another approach as well. There is a javascript implementation of content-tag used in this PR:
https://github.com/ember-cli/eslint-plugin-ember/pull/1920/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519

the JS one, it seems is more focused on having consistent line outputs and other meta, whereas the rust-based one is purely concerned with the function of the transform. Idk if the rust-based one could/should also emit that meta, but I asked about it in the eslint-plugin-ember PR, and it seems different needs were... needed. :upside_down_face:

The js one (ember-template-tag) has 3 main functions.
transformForLint, transform, parse.
Parse just parses the code and returns meta information about the detected templates.
I guess that should be enough?

@patricklx can it do error-tolerant parsing? one thing Glint is lacking right now is the ability to suggest args / blocks / etc while typing, when at a given mid-type the overall template is invalid syntax

@NullVoxPopuli it's based on babel and it enables error recovery by default. But if you mean template parts, then that has nothing to do with the template detection, but an issue in glimmer parsing, as glimmer does not allow mustache paths ending with a .

Unblocks gts in Polaris: https://github.com/NullVoxPopuli/polaris-starter/pull/11


Replace the splitManifests regex

What this PR does / why we need it:
The regex is slow, we use helm in a gitops repo and template a lot of helm in our CI steps and it is getting quite slow because i've profiled helm itself and found true bottlenecks:

Splitting the yaml output (this part)
Sorting the yaml output because it has to parse the source
Reading the chart index in the chart downloader

Special notes for your reviewer:
If applicable:

[x] this PR contains user facing changes (the docs needed label should be applied if so)
[x] this PR contains unit tests
[x] this PR has been tested for backwards compatibility

Reading the chart index in the chart downloader

FYI, you can get a massive performance boost by using JSON in the index.yaml. A JSON document is valid YAML. More recent versions of Helm detect JSON and use a JSON parser. JSON parsers are faster and use fewer resources. YAML is more difficult to parse due to things like anchors.

Yes it is still a draft pr, i will clean it up later but i wanted to know
how the reaction would be.
I'm not sure if a state machine would be simpler but i could try.
There where not many tests to start with but i can add a few more.
On Thu, 14 Nov 2024, 16:27 Terry Howe, @.***> wrote:

@.**** commented on this pull request.
In pkg/releaseutil/manifest.go
https://github.com/helm/helm/pull/13441#discussion_r1842368514:

//if strings.HasPrefix(bigFile, "---") {

//	i = 3
//}

Is this PR a WIP?
In pkg/releaseutil/manifest_test.go
https://github.com/helm/helm/pull/13441#discussion_r1842408469:

@@ -49,13 +50,99 @@ spec:
image: fake-image
cmd: fake-command`

I'd think there would be more test cases
In pkg/releaseutil/manifest.go
https://github.com/helm/helm/pull/13441#discussion_r1842420418:

  res[fmt.Sprintf(tpl, count)] = d

  count = count + 1

}
return res
}
+func splitDocs(bigFile string) []string {

docs := make([]string, 0)
docStartIdx := 0
docEndIdx := 0
var char rune
var width int
// using a 'raw' for loop to avoid creating a complicated statemachine
i := 0
//if strings.HasPrefix(bigFile, "---") {
//	i = 3
//}

for i < len(bigFile) {

If I was writing this, I'd be tempted to look at creating a scanner and/or
state machine to make this more readable. I think something could be done
that wouldn't hurt performance.
—
Reply to this email directly, view it on GitHub
https://github.com/helm/helm/pull/13441#pullrequestreview-2436327371,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABNXZFWO22R6LDQG72UNNGT2AS6MRAVCNFSM6AAAAABRUJETIWVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDIMZWGMZDOMZXGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

I've made an updated implementation which is simpler and more maintainable.

You'll probably get more eyes on this if the DCO was fixed https://github.com/helm/helm/pull/13441/checks?check_run_id=33081873991

@TerryHowe thank you i've added the singing  which fixes the DCO,  I also rebased on master and improved the commti message.  So i hope it is ready now for review.


How to use multiple lora at the same time for text generation?

I have many lora models,For example:
funny lora, Ultraman style lora ...
how to use them at the same time, and can adjust the weight between lora.
Similar to stable diffusion.

It seems #133 is implementing this feature.

It seems #133 is implementing this feature.

Thank you for your reply.😀
#133  is a great job, But I want to use multiple lora when predicting, rather than training, and can adjust the weights of different LORAs.
It doesn't seem to have been resolved

I have many lora models,For example: funny lora, Ultraman style lora ... how to use them at the same time, and can adjust the weight between lora. Similar to stable diffusion.

did you manage to get the answer for this?

https://github.com/sabetAI/BLoRA


Remove per-user statsd metrics

Turns out we're sending per-user metrics to Statsd every time:

the user viewed the dashboard / created / edited a new viz
the database size is requested

This PR removes them.

:+1:


Check amendment block status and update with ledgers:

Check and modify amendment blocked status with each new ledger (provided
by @wilsonianb). Honor blocked status in certain RPC commands and when
deciding whether to propose/validate.
Fixes: RIPD-1479
Fixes: RIPD-1447
Release Notes
This resolves an issue whereby an amendment blocked server would still
serve some RPC requests that are unreliable in blocked state and would
continue to publish validations.

Codecov Report

Merging #2137 into develop will increase coverage by 0.16%.
The diff coverage is 80.95%.

@@             Coverage Diff             @@
##           develop    #2137      +/-   ##
===========================================
+ Coverage    68.97%   69.14%   +0.16%
===========================================
  Files          684      684
  Lines        50394    50411      +17
===========================================
+ Hits         34761    34856      +95
+ Misses       15633    15555      -78

Impacted Files
Coverage Δ

src/ripple/protocol/ErrorCodes.h
100% <ø> (ø)
:arrow_up:

src/ripple/app/misc/AmendmentTable.h
100% <ø> (ø)
:arrow_up:

src/ripple/rpc/impl/RPCHandler.cpp
63.29% <100%> (+1.44%)
:arrow_up:

src/ripple/protocol/impl/ErrorCodes.cpp
94.49% <100%> (+0.05%)
:arrow_up:

src/ripple/app/consensus/RCLConsensus.cpp
63.27% <100%> (+0.18%)
:arrow_up:

src/ripple/app/ledger/impl/LedgerMaster.cpp
45.71% <40%> (+1.67%)
:arrow_up:

src/ripple/app/misc/impl/AmendmentTable.cpp
92.52% <88.88%> (-0.27%)
:arrow_down:

src/ripple/app/misc/SHAMapStoreImp.cpp
78.86% <0%> (-1.04%)
:arrow_down:

src/ripple/core/impl/JobQueue.cpp
87.92% <0%> (+0.48%)
:arrow_up:

src/ripple/app/misc/impl/ValidatorSite.cpp
79.16% <0%> (+0.69%)
:arrow_up:

... and 8 more

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 a92f5b8...e727a23. Read the comment docs.

👍  on the update too.  Thanks for adding the test!

In 0.80.0-b2


sync permissions and prompt to overwrite

Which version of the AzCopy was used?
AzCopy/10.0.7-Preview Azure-Storage/0.4
Which platform are you using? (ex: Windows, Mac, Linux)
Linux
What command did you run?
azcopy sync . https://<account>.blob.core.windows.net/<container>/<path>/ --recursive --log-level INFO

What problem was encountered?

Permissions are weird. I ran it three times.  The first time I got this error:

Using OAuth token for authentication.

Job 6974d566-47b2-e642-5b96-3ac2527133ea has started

Log file is located at: /home/jobevers/.azcopy/6974d566-47b2-e642-5b96-3ac2527133ea.log
0 File Scanned at Source, 0 Files Scanned at Destination
Authentication Failed. The SAS is not correct or expired or does not have the correct permission -> github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-storage-blob-go/azblob.NewResponseError, /go/src/github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-storage-blob-go/azblob/zz_generated_response_error.go:29
===== RESPONSE ERROR (ServiceCode=AuthorizationPermissionMismatch) =====
Description=This request is not authorized to perform this operation using this permission.
RequestId:c4209a39-b01e-0060-01f1-c2ecc1000000
Time:2019-02-12T16:37:08.1763825Z, Details:
   Code: AuthorizationPermissionMismatch
   PUT [...]
   Authorization: REDACTED
   Content-Length: [8388608]
   User-Agent: [AzCopy/10.0.7-Preview Azure-Storage/0.4 (go1.10.3; linux)]
   X-Ms-Client-Request-Id: [fd1a2db8-0c74-458e-5cac-e787f56a3aad]
   X-Ms-Version: [2018-03-28]
   --------------------------------------------------------------------------------
   RESPONSE Status: 403 This request is not authorized to perform this operation using this permission.
   Content-Length: [279]
   Content-Type: [application/xml]
   Date: [Tue, 12 Feb 2019 16:37:07 GMT]
   Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
   X-Ms-Error-Code: [AuthorizationPermissionMismatch]
   X-Ms-Request-Id: [c4209a39-b01e-0060-01f1-c2ecc1000000]
   X-Ms-Version: [2018-03-28]

Then I ran it again and got:
Using OAuth token for authentication.

Job cde3f1df-4f14-f84d-609c-77102577c08d has started

Log file is located at: /home/jobevers/.azcopy/cde3f1df-4f14-f84d-609c-77102577c08d.log
Sync has enumerated 36 files to delete from destination. Do you want to delete these files ? Please confirm with y/n: y
583 Done, 0 Failed, 95 Pending, 678 Total, 2-sec Throughput (Mb/s): 6701.6566

Job cde3f1df-4f14-f84d-609c-77102577c08d summary
Elapsed Time (Minutes): 0.2669
Total Number Of Copy Transfers: 642
Total Number Of Delete Transfers: 36
Number of Copy Transfers Completed: 642
Number of Copy Transfers Failed: 0
Number of Delete Transfers Completed: 36
Number of Delete Transfers Failed: 0
Final Job Status: Completed

I thought it was weird that 36 files had managed to transfer the first time, so I tried a third time to see what would happen:
Using OAuth token for authentication.

Job 2be6dc02-1d1a-7b47-47e9-98b4df5d8770 has started

Log file is located at: /home/jobevers/.azcopy/2be6dc02-1d1a-7b47-47e9-98b4df5d8770.log
Sync has enumerated 627 files to delete from destination. Do you want to delete these files ? Please confirm with y/n: n
642 File Scanned at Source, 627 Files Scanned at Destination
Authentication Failed. The SAS is not correct or expired or does not have the correct permission -> github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-storage-blob-go/azblob.NewResponseError, /go/src/github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-storage-blob-go/azblob/zz_generated_response_error.go:29
===== RESPONSE ERROR (ServiceCode=AuthorizationPermissionMismatch) =====
Description=This request is not authorized to perform this operation using this permission.
RequestId:2ffea49d-701e-000d-57f2-c2588a000000
Time:2019-02-12T16:48:33.2693489Z, Details:
   Code: AuthorizationPermissionMismatch
   PUT [...]
   Authorization: REDACTED
   Content-Length: [2815385]
   User-Agent: [AzCopy/10.0.7-Preview Azure-Storage/0.4 (go1.10.3; linux)]
   X-Ms-Client-Request-Id: [2fc77bed-72f7-41d7-7407-9105768a1dcb]
   X-Ms-Version: [2018-03-28]
   --------------------------------------------------------------------------------
   RESPONSE Status: 403 This request is not authorized to perform this operation using this permission.
   Content-Length: [279]
   Content-Type: [application/xml]
   Date: [Tue, 12 Feb 2019 16:48:32 GMT]
   Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
   X-Ms-Error-Code: [AuthorizationPermissionMismatch]
   X-Ms-Request-Id: [2ffea49d-701e-000d-57f2-c2588a000000]
   X-Ms-Version: [2018-03-28]

Why am I being prompted to delete files on the destination.  Isn't the point of sync to only copy newer files?

How can we reproduce the problem in the simplest way?
Run sync?
Have you found a mitigation/solution?
No.

Hi @jobevers, thanks for reaching out!
Sync replicates the source's content to the destination, this means that the extra files at the destination may need to be deleted in order to match the source. Please refer to this wiki page on a brief introduction.
Did you target the same container in all three invocations? Was there any permission change to your account?
Btw the sync command was re-written and will be shipped with the next release.

Hi @jobevers, the sync command was rewritten and released in v10.0.8. Please give the new version a try and let us know if you still encounter any problem.
Here is a wiki explaining how the new sync command works. Please feel free to reach out if you have any question or concern.


carla.Map.get_waypoint(...) and debug draw functions cause navigation issues for BasicAgent

Using CARLA 0.9.3 on Ubuntu 16.04:
When using the BasicAgent (from carla/PythonAPI/agents/navigation/basic_agent.py), if I make calls to carla.Map.get_waypoint(...) in-between steps, it causes the agent to swerve. The more calls I make to get_waypoint in-between steps, the more wildly it swerves. It doesn't seem to matter which location I put for get_waypoint or whether the project_to_road function is set to True or False. Is the get_waypoint function mutating some sort of state which affects the way BasicAgent navigates?
Additionally, I noticed that when I use the debug draw commands to draw out the path that the BasicAgent should be taking, this causes the agent to immediately drive off to the side in one direction and off the road. I tried setting the z coordinate to be much higher than the vehicle, though maybe it's a conflict with objects only in the x and y coordinates? Not sure why a debug draw function would affect the navigation of the BasicAgent.
Any help is appreciated. Thank you!

I experienced similar issues when spawning multiple Vehicles with an attached BasicAgent. Especially with more than 3 BasicAgents they all go nuts (obviously the steering PID doesn't work, timing issue?).
Maybe this correlates to your problem.

Even if I spawn only one BasicAgent, these calls cause swerving. When I get rid of these calls, the problem mostly goes away, but I have noticed that in certain cases (such as relocating the vehicle back to its original position and trying to run the same course) can cause the navigation to go haywire and veer off to the side, similar to what the debug draw commands would cause. This makes me think that perhaps there is an invisible object in the area that the vehicle could drive through but is interfering with the navigation somehow.

I think this is mainly caused by synchronisation issues, as the server doesn't wait for input from client side.
Those debug draw functions directly interact with the simulator view and significantly slow down your client, causing the frames of Unreal not executed synchronously to the client steps. I have had similar problems and always blamed them on the missing sync.
You would expect Unreal to take recently calculated values as input for each step, but if your client is too slow, the simulator uses the values calculated in the last step leading to unstable behaviour.
I guess this will be fixed in 0.9.4, refer to #1244

How do I assign a BasicAgent to a vehicle? When I run the code on its own, it doesn't show anything on the simulator


Send configd errors to syslog

It's probably better to send configd issues to syslog.
PHP Fatal error:  Uncaught exception 'Exception' with message 'Timeout (120) executing :filter reload' in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Backend.php:100

full ack :)


dockerhost requiring password on running 'docker-osx-dev'

I'm not sure if this is intended behavior but when running sudo docker-osx-dev for the first time, I'm prompted to enter the password for dockerhost:
...
2015-08-14 15:04:18 [INFO] Warning: Permanently added 'dockerhost,<IP_ADDRESS>' (RSA) to the list of known hosts.
docker@dockerhost's password:

I think it's worth mentioning that I installed docker-osx-dev with sudo. Not sure if that helps.

Why are you installing and running it with sudo? It might not be finding the right environment variables or home directory (with SSH keys and certs) as a result of that.

I'm having exact same problem, not using sudo to run anything. Just went corrupt somehow. How can I restore the ISO on Docker Machine?


Integrate a Web-app

Description
It would be really nice to have some kind of web-app to use jobfunnel with, perhaps even just to provide a good demo experience.
i.e. https://pages.github.com/
Describe the solution you'd like
Ideally the user could run jobfunnel in-browser and review results with a simple web-app.
Describe alternatives you've considered
It may be more desirable to make something that runs on a user's local machine, limitations of github pages could prove a blocker.

This is really funny; I was talking to a friend about this a few months ago.  I was thinking more in the lines of a full-blown desktop app for JobFunnel. A GUI where users who aren't very too savvy can just edit the settings file and fire up JobFunnel. This should be relatively straightforward with something like PyQt or WXWdigets. I would take a stab at it, but my schedule is full at the moment :sweat_smile:.

PyQT could work if we build standalone apps, but it might not be the best user-experience. I
I'm gonna take a look around this weekend and see what might work nicely... will sync back and update here.
I was also interested in taking a look at GoDot https://godotengine.org/

I think running jobfunnel on the user's machine should be preferred. Github Pages shines in static pages but is not very suited for dynamic content.
I do agree with @thebigG that many not-so-tech-savy people will have difficulty running the jobfunnel software using a command line. Anecdotal evidence: most of my friends wouldn't even know what a CLI is. Either a web page or a cross-platform GUI could be a solution.
I have zero experience implementing this since most software I write is for tech-savvy people (mostly myself) but I'd love to learn about this, since I believe it's a valuable skill to have.


Page always being served from cache (even after Turbolinks.clearCache())

On a "dashboard" page I have an "account switcher" dropdown. The markup looks like:

  <% current_user.all_accounts.each do |account| %>
    <% if @current_account != account %>

      <a class="account_switch" id="<%= account.id %>" data-turbolinks="false">
        <%= account.name.capitalize %>

    <% end %>
  <% end %>

I intercept the click on the hrefs:
document.addEventListener 'turbolinks:load', ->
  $(document).off 'click', 'a.account_switch'
  $(document).on 'click', 'a.account_switch', ->
    Turbolinks.clearCache()
    $.ajax
      type: 'POST'
      url: '/switch_account'
      data: { account: $(this).attr('id') }
      dataType: 'script'

The controller sets a the session[:account] which the "dashboard" page will use to display the account specific details:
class HomeController < ApplicationController
  respond_to :js, only: [:switch_account]

  def switch_account
    session[:account] = params[:account]
  end

The JS response:
Turbolinks.clearCache()
Turbolinks.visit('/dashboard')

I tried calling Turbolinks.clearCache() as part of the dropdown interaction and once again in the JS response, to no avail. The page always gets retrieved from the cache. Of course, if I force a reload the selected account information is correctly rendered on the dashboard.
Environment:
$ rails -v
Rails 4.2.6

$ gem list | grep turbo
turbolinks (5.0.0.beta2)
turbolinks-source (5.0.0.beta4)

Thanks.

We were bitten by early optimization... In our dashboard controller we found this:
 def index
    expires_in 5.minutes, public: true
 end

Lesson learned, check what the your HTTP Cache-Control header are doing!


Update Bucket.config to new schema

Can you drop a link to the config file in S3 that its reading?

https://s3.amazonaws.com/alpha-quilt-config/config.json

https://s3.amazonaws.com/t4-config-bucket/config.json
it's not updated to the new format yet, which is why this PR won't work correctly yet


readme: version bump to match usage

Description
The version specified in the readme does not match the usage shown below it. This PR changes it to the latest version, which is (as far as I can tell) what is used in the usage example.

Thanks for the PR!
I had completely missed this in the previous few releases


Adjust typing after move to more enums

Codecov Report

Merging #1245 (582cd7d) into devel (0f5665b) will increase coverage by 0.00%.
The diff coverage is 100.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@           Coverage Diff           @@
##            devel    #1245   +/-   ##
=======================================
  Coverage   90.36%   90.37%
=======================================
  Files          49       49
  Lines        5783     5789    +6
=======================================
+ Hits         5226     5232    +6
  Misses        557      557

Files
Coverage Δ

hahomematic/caches/visibility.py
95.55% <100.00%> (ø)

hahomematic/client/__init__.py
58.92% <100.00%> (+0.34%)
:arrow_up:

hahomematic/const.py
100.00% <100.00%> (ø)

hahomematic/platforms/custom/definition.py
100.00% <100.00%> (ø)

hahomematic/platforms/custom/support.py
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


ATS should ignore the Expires header when there is a Cache-Control with max-age or s-maxage

https://tools.ietf.org/html/rfc7234#section-5.3

If a response includes a Cache-Control field with the max-age
directive (Section <IP_ADDRESS>), a recipient MUST ignore the Expires
field.  Likewise, if a response includes the s-maxage directive
(Section <IP_ADDRESS>), a shared cache recipient MUST ignore the Expires
field.  In both these cases, the value in Expires is only intended
for recipients that have not yet implemented the Cache-Control field.

08:38:02 bart:/var/www/html$ curl -D - http://<IP_ADDRESS>:81/expires.php
HTTP/1.1 200 OK
Date: Tue, 25 Aug 2020 15:38:07 GMT
Server: Apache/2.4.43 (Fedora)
X-Powered-By: PHP/7.4.9
Cache-Control: 1536000, public
Expires: Thu, 30 Jul 2020 15:18:11 GMT
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8

xxx
08:38:07 bart:/var/www/html$ curl -D - http://<IP_ADDRESS>:8080/expires.php
HTTP/1.1 200 OK
Date: Tue, 25 Aug 2020 15:38:09 GMT
Server: ATS/10.0.0
X-Powered-By: PHP/7.4.9
Cache-Control: 1536000, public
Expires: Thu, 30 Jul 2020 15:18:11 GMT
Content-Type: text/html; charset=UTF-8
Age: 0
Transfer-Encoding: chunked
Connection: keep-alive
Via: http/1.1 traffic_server (ApacheTrafficServer/10.0.0 [uScSsSfUpSeN:t cCSp sS])

xxx
08:38:09 bart:/var/www/html$ traffic_via 'uScSsSfUpSeN:t cCSp sS'
Via header is [uScSsSfUpSeN:t cCSp sS], Length is 22
Via Header Details:
Request headers received from client                   :simple request (not conditional)
Result of Traffic Server cache lookup for URL          :in cache, stale (a cache "MISS")
Response information received from origin server       :connection opened successfully
Result of document write-to-cache:                     :updated old cache copy
Proxy operation result                                 :served or connection opened successfully
Error codes (if any)                                   :no error
Tunnel info                                            :no tunneling
Cache Type                                             :cache
Cache Lookup Result                                    :cache hit, but expired
Parent proxy connection status                         :no parent proxy or unknown
Origin server connection status                        :connection opened successfully
08:38:37 bart:/var/www/html$ curl -D - http://<IP_ADDRESS>:8080/expires.php
HTTP/1.1 200 OK
Date: Tue, 25 Aug 2020 15:38:42 GMT
Server: ATS/10.0.0
X-Powered-By: PHP/7.4.9
Cache-Control: 1536000, public
Expires: Thu, 30 Jul 2020 15:18:11 GMT
Content-Type: text/html; charset=UTF-8
Age: 0
Transfer-Encoding: chunked
Connection: keep-alive
Via: http/1.1 traffic_server (ApacheTrafficServer/10.0.0 [uScSsSfUpSeN:t cCSp sS])

xxx
08:38:42 bart:/var/www/html$ traffic_via 'uScSsSfUpSeN:t cCSp sS'
Via header is [uScSsSfUpSeN:t cCSp sS], Length is 22
Via Header Details:
Request headers received from client                   :simple request (not conditional)
Result of Traffic Server cache lookup for URL          :in cache, stale (a cache "MISS")
Response information received from origin server       :connection opened successfully
Result of document write-to-cache:                     :updated old cache copy
Proxy operation result                                 :served or connection opened successfully
Error codes (if any)                                   :no error
Tunnel info                                            :no tunneling
Cache Type                                             :cache
Cache Lookup Result                                    :cache hit, but expired
Parent proxy connection status                         :no parent proxy or unknown
Origin server connection status                        :connection opened successfully

An added benefit it is going to origin and fetching the entire object instead of doing an IMS request:
GET /expires.php HTTP/1.1
Host: <IP_ADDRESS>:81
User-Agent: curl/7.69.1
Accept: */*
Client-ip: <IP_ADDRESS>
X-Forwarded-For: <IP_ADDRESS>
Via: http/1.1 traffic_server[d95dd056-eff1-4b35-9e88-500e5d02de2d] (ApacheTrafficServer/10.0.0)

I messed up on the copy and paste for the origin response and left out the max-age= in the cache control header.  ATS does the correct thing and ignores the Expires header in the presence of s-maxage and max-age.
09:54:14 bart:/var/www/html$ curl -D - http://<IP_ADDRESS>:8080/expires.php
HTTP/1.1 200 OK
Date: Tue, 25 Aug 2020 16:49:44 GMT
Server: ATS/10.0.0
X-Powered-By: PHP/7.4.9
Cache-Control: max-age=31536000, public
Expires: Thu, 30 Jul 2020 15:18:11 GMT
Content-Type: text/html; charset=UTF-8
Age: 272
Content-Length: 4
Connection: keep-alive
Via: http/1.1 traffic_server (ApacheTrafficServer/10.0.0 [uScRs f p eN:t cCHp s ])

xxx
09:54:16 bart:/var/www/html$ traffic_via 'uScRs f p eN:t cCHp s '
Via header is [uScRs f p eN:t cCHp s ], Length is 22
Via Header Details:
Request headers received from client                   :simple request (not conditional)
Result of Traffic Server cache lookup for URL          :in cache, fresh Ram hit (a cache "HIT")
Response information received from origin server       :no server connection needed
Result of document write-to-cache:                     :no cache write performed
Proxy operation result                                 :unknown
Error codes (if any)                                   :no error
Tunnel info                                            :no tunneling
Cache Type                                             :cache
Cache Lookup Result                                    :cache hit
Parent proxy connection status                         :no parent proxy or unknown
Origin server connection status                        :no server connection needed


python312Packages.iso4217: 1.11 -> 1.12

Diff: https://github.com/dahlia/iso4217/compare/1.11...1.12
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 336706 run on x86_64-linux 1

14 packages built:

home-assistant-component-tests.efergy
home-assistant-component-tests.rainforest_raven
python311Packages.aioraven
python311Packages.aioraven.dist
python311Packages.iso4217
python311Packages.iso4217.dist
python311Packages.pyefergy
python311Packages.pyefergy.dist
python312Packages.aioraven
python312Packages.aioraven.dist
python312Packages.iso4217
python312Packages.iso4217.dist
python312Packages.pyefergy
python312Packages.pyefergy.dist


An inappropriate error message shows when requests time out

Steps to reproduce:

Create a new volume/VM
Somehow the request times out. (Can manipulate by setting the VPN to Global Mode

Result:
An inappropriate error message shows when creating a new volume times out. 0ms is definitely incorrect
Error: timeout of 0ms exceeded

https://github.com/axios/axios/issues/2103

It seems like a bug caused by axios, we will add the timeout to global config of it.

The timeout has been added to global config of axios.
If the request takes longer than 20s, the request will be aborted.

can u change the message to timeout of 20s exceeded

Validated


Domain activation is Failed - [BRIEF DESCRIPTION]

App Id: d3fvdr13a0pf0m
Region: us-east-1
Step: Domain activation
Status: Failed

Note: Do not include information that is sensitive in nature such as your domain name, company etc.

Issue/question
A clear and concise description of what the issue/question is.
Error message
If there is an error message, please include it here.
Note: Be sure to check the message for sensitive information.
Additional information
Please add any other relevant information. Please feel free to include screenshots.

@paleconsultores Is there any error message? Could you please try delete it and add your custom domain after 6 hours?


Various source files with proprietary Intel license

There are various source files with proprietary Intel license in the sources. Checked with release 21.3.4.
oneVPL-intel-gpu-intel-onevpl-21.3.4/api/mediasdk_structures/ts_struct_decl.h
oneVPL-intel-gpu-intel-onevpl-21.3.4/builder/FindGTest.cmake
oneVPL-intel-gpu-intel-onevpl-21.3.4/builder/FindGlobals.processed.cmake
oneVPL-intel-gpu-intel-onevpl-21.3.4/builder/FindVTune.cmake
oneVPL-intel-gpu-intel-onevpl-21.3.4/contrib/ipp/src/ippversion.h
Is this an oversight or intentional? Can this be checked? (open)SUSE would be interested in shipping this library, but is blocked for now. :-(

@dvrogozh Thanks a lot. That would be really great! :-)


CLIMATE-794 - Update travis.yml

Use easy-ocw script for build
Track coverage
Upload code coverage report to coveralls.io

Can one of the admins verify this patch?

The builds failed because the travis is using the old version of the install-ubuntu.sh script. Please merge the CLIMATE-793 to fix the build.
Please check this build for confirmation => https://travis-ci.org/jarifibrahim/climate/builds/133594864
The Travis-demo branch has this branch plus the CLIMATE-793 branch(updated install-ubuntu.sh).

Changes Unknown when pulling fd17855ad00e49c04bee8b88603c8aa2ae7cceee on jarifibrahim:CLIMATE-794 into ** on apache:master**.

Changes Unknown when pulling fa749c729734b4ccf9b79c9ba8c10a77df51e407 on jarifibrahim:CLIMATE-794 into ** on apache:master**.