HBASE-28546 Make WAL rolling exception clear

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 26s
Docker mode activated.

Any updates here?
@jojochuang
Thanks.

Thanks for the reminder. Updated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 28s
Docker mode activated.

Thanks Duo!


UnstructuredUrlLoader or SeleniumUrlLoader are not able to upload the pdf's consisting by urls.

System Info
Hi,
I am using UnstructureUrlLoader to upload the urls into Chroma vector database but it is only uploading the html content of the url, not uploading the pdfs available on this url that's why it is not giving the answer for query related to pdf files while performing querying using RetrievalQA chain
I also tried with SeleniumUrlLoader but still no results.
from langchain.vectorstores import Chroma
from langchain.embeddings import OpenAIEmbeddings
from langchain.text_splitter import RecursiveCharacterTextSplitter , TokenTextSplitter
from langchain.llms import OpenAI
from langchain.chat_models import ChatOpenAI
from langchain.chains import VectorDBQA, RetrievalQA
from langchain.document_loaders import TextLoader, UnstructuredFileLoader, DirectoryLoader,UnstructuredURLLoader,SeleniumURLLoader
from langchain.indexes import VectorstoreIndexCreator
from langchain.prompts import PromptTemplate
import chromadb
import wx
import os
import requests
from bs4 import BeautifulSoup
openai_api_key = my_openai_key
persist_directory = "Zdb_directory"
collection_name = 'my collection'
temperature = 0
max_tokens = 200
llm=ChatOpenAI(openai_api_key=openai_api_key)
urls = ['url1,'url2','url3']
#loader = UnstructuredURLLoader(urls)
loader = SeleniumURLLoader(urls)
text_splitter = TokenTextSplitter(chunk_size=1000, chunk_overlap=200)
texts = text_splitter.split_documents(docs)
embeddings = OpenAIEmbeddings(openai_api_key=openai_api_key)
vectordb = Chroma.from_documents(texts, embedding=embeddings, persist_directory=persist_directory)
vectordb.persist()
vectordb = None
vectodb = Chroma(persist_directory=persist_directory, embedding_function=embeddings, collection_name='my_collection)
qa = RetrievalQA.from_chain_type(llm=ChatOpenAI(openai_api_key=openai_api_key), chain_type="stuff", retriever=vectordb.as_retriever(search_type="mmr"), return_source_documents=True)
ques = 'my_question'
ans = qa(ques)
Can anyone please help me that how can I upload all the pdf files consisting by a url into the chroma vector database using UnstructuredUrlLoader or SeleniumUrlLoader, I will be thankful to you.
Thank You
Who can help?
No response
Information

[ ] The official example notebooks/scripts
[X] My own modified scripts

Related Components

[X] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[X] Document Loaders
[X] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
from langchain.vectorstores import Chroma
from langchain.embeddings import OpenAIEmbeddings
from langchain.text_splitter import RecursiveCharacterTextSplitter , TokenTextSplitter
from langchain.llms import OpenAI
from langchain.chat_models import ChatOpenAI
from langchain.chains import VectorDBQA, RetrievalQA
from langchain.document_loaders import TextLoader, UnstructuredFileLoader, DirectoryLoader,UnstructuredURLLoader,SeleniumURLLoader
from langchain.indexes import VectorstoreIndexCreator
from langchain.prompts import PromptTemplate
import chromadb
import wx
import os
import requests
from bs4 import BeautifulSoup
openai_api_key = my_openai_key
persist_directory = "Zdb_directory"
collection_name = 'my collection'
temperature = 0
max_tokens = 200
llm=ChatOpenAI(openai_api_key=openai_api_key)
#all url are consisting pdf files inside it or in sub url
urls = ['url1,'url2','url3']
#loader = UnstructuredURLLoader(urls)
loader = SeleniumURLLoader(urls)
text_splitter = TokenTextSplitter(chunk_size=1000, chunk_overlap=200)
texts = text_splitter.split_documents(docs)
embeddings = OpenAIEmbeddings(openai_api_key=openai_api_key)
vectordb = Chroma.from_documents(texts, embedding=embeddings, persist_directory=persist_directory)
vectordb.persist()
vectordb = None
vectodb = Chroma(persist_directory=persist_directory, embedding_function=embeddings, collection_name='my_collection)
qa = RetrievalQA.from_chain_type(llm=ChatOpenAI(openai_api_key=openai_api_key), chain_type="stuff", retriever=vectordb.as_retriever(search_type="mmr"), return_source_documents=True)
ques = 'my_question'
ans = qa(ques)
Expected behavior
while I am uploading a url to chroma vector database using Unstructured or SeleniumUrlLoader so rather than just uploading the html website it should also upload the content of all sub urls and the content of all files which are available in this url.
Thank You

That's not the expected behavior. You have to write the code to do that.

Okay, Thanks Jamiequint


Validation issue with<PHONE_NUMBER> (IN)

Please read the "guidelines for contributing" (linked above) and fill in the template below.
Country/region affected (e.g., "US"): IN
Example number(s) affected ("+1<PHONE_NUMBER>"):<PHONE_NUMBER>
The phone number range(s) to which the issue applies ("+1 555 555-XXXX"):
The type of the number(s) ("fixed-line", "mobile", "short code", etc.):
The cost, if applicable ("toll-free", "premium rate", "shared cost"):
Supporting evidence (for example, national numbering plan, announcement from mobile carrier, news article): IMPORTANT - anything posted here is made public. Read the guidelines first!
link to demo

@rishi-amura,
We are able to conclude that 8369x xxxxx are mobile numbers and is assigned to Reliance Jio in India as per Wikipedia. We've accepted this issue and will fix this in an upcoming release.
Would you be able to confirm on the carrier details for this range? Please share any supporting evidence (for example, a national numbering plan, announcements from mobile carriers, news articles). Please see our contribution guidelines.
Please note that you have submitted this information with the knowledge that we may use, modify, reproduce, publicly display, and distribute the information in accordance with our open source policies. Please let us know if you did not intend to submit the information for such use.

Fixed in release 8.2.0

@SumathiSundara Thanks :+1:


Chrome has been running REALLY slow since the update to 49

At least, I think it's 49 that did it. I restart Chrome on OSX only once a week or so, so I'm not sure if the update caused the issue or not, but I noticed it at the same time that I noticed #40. In any case, through trial and error, I found that it was this extension that slowed my Chrome down to a crawl, on doing anything (new tabs, clicking a link, clicking a button, whatever). In Incognito I don't have the problem, and I confirmed it by turning off and on this extension. Any debug info I can provide, of some sort?

Could you please attach JavaScript console data? It's very easy:

Open chrome://extensions/?id=jafmfknfnkoekkdocjiaipcnmkklaajd url in your Google Chrome.
Enable Developer mode & click on JavaScript Errors Notifier background.html link(see screenshot).
Open Console tab (see screenshot).
If there are some errors, then expand all blocks and copy console data to clipboard.

Thank you.

Well, I reactivated the extension, and it's been a couple of hours and I have no problems so far. I'm going to close this issue, but I'll let you know if it happens again (currently on Version 49.0.2623.87 (64-bit) for the record), and I'll include the console data as requested. Thanks!


Using cl_image_tag to drive transformations

I've been using Cloudinary for a number of projects and feel quite good about using Cloudinarys helper (cl_image_tag) to crop, face-detect, grayscale and transform images "on-the-fly". Is there a possibility to do this with Active storage or am I stuck with using the variant-functionality?

Hey @johanandre, lemme look into this and get to you.

I can definitely second how excellent it would be to have cl_image_tag available via ActiveStorage. For me a big point of using Cloudinary is getting these kinds of transformations as I need them, versus having to use ImageMagick etc. on my server. It would be handy to be able to grab those transformations via the Rails transform api if possible (or have a workaround to use it while still doing ActiveStorage).
Thanks!

Just to follow up, there is one way to use Cloudinary tranformations that seems to work on some of my test data. You can use the blob.key syntax to get the Cloudinary key to use for transformations as you regularly would using the Cloudinary gem.
Say you have a model object person and your ActiveStorage attached file is headshot, uploaded through this Cloudinary service. Your view code for a 100x100px resize might look like this:
<%=<EMAIL_ADDRESS>width: 100, height: 100) %>

I'm not sure how kosher this is, because it's quite different from the auto-generated URL that you get using blob.service_url, but it works decently well for my use case.

Yup, what @dmerand said. As of now, activestorage transformation processor wouldn't natively support cloudinary transformations.
As an alternative to @dmerand suggestion above, you can also consider setting up an upload preset with your desired transformations if this will apply for every image uploaded.
Monkey patching ActiveStorage::Variant is another option, but there's pain down that road.

There's the ongoing discussion #7 on possible specifying upload transformations as part of the configurations. If that falls through, will be another option


Passing headers with the Azure OpenAI client in 1.1.1

Confirm this is an issue with the Python library and not an underlying OpenAI API

[x] This is an issue with the Python library

Describe the bug
To be clear, I’m not certain this is a bug, but I’m uncertain how to do this now.
For extra security layers, I am exposing Azure OpenAI via the Azure API Management service. When I make a call this way, I pass a bearer JWT token and Apim subscription key as headers. I had no problem doing this on lower versions like 0.28.1, but now I don’t know how to do this.
To Reproduce
Attempting to call Azure OpenAI with 1.1.1. The call does not successfully connect. After glancing through the source Python code, I thought maybe sticking the headers as default_headers in the AzureOpenAI client would work, but it does not.
# Setting the auth headers
auth_headers = {
    ‘Ocp-Apim-Subscription-Key’: my_apim_sub_key,
    ‘Authorization’: f’Bearer {my_jwt_token}’
}

# Setting the Azure OpenAI client
azure_openai_client = AzureOpenAI(
   api_key = ‘null’,
   api_version = ‘2023-07-01-preview’,
   azure_endpoint = my_special_url,
   default_headers = auth_headers
)

# Calling Azure OpenAI
openai_response = azure_openai_client.chat.completions.create(
    model = ‘gpt-35-turbo-16k’,
    messages = my_messages
)

Here’s the way I’m doing it on 0.28.1, and this still works just fine. As you can see, I’m passing the auth headers at the time of the actual API call here.
import openai

# Setting the auth headers
auth_headers = {
    ‘Ocp-Apim-Subscription-Key’: my_apim_sub_key,
    ‘Authorization’: f’Bearer {my_jwt_token}’
}

# Setting config information on OpenAI
openai.api_url = my_special_url
openai.api_version = ‘2023-07-01-preview’
openai.api_key = ‘null’

# Calling Azure OpenAI
openai_response = openai.ChatCompletion.create(
    engine = ‘gpt-35-turbo-16k’,
    messages = my_messages,
    Headers = auth_headers
)

What might I be doing wrong?
Code snippets
No response
OS
macOS
Python version
Python v3.10
Library version
1.1.1

Hey @dkhundley, I can't reproduce the issue you're seeing.
I've updated your snippet to pass in an event hook to easily verify what headers are being sent in the request:
import json
import httpx
from openai import AzureOpenAI

my_apim_sub_key = "apim key"
my_jwt_token = "jwt token"
my_special_url = "https://unknown_url.azure.com"
auth_headers = {
    "Ocp-Apim-Subscription-Key": my_apim_sub_key,
    "Authorization": f"Bearer {my_jwt_token}",
}

def event_hook(req: httpx.Request) -> None:
    print(json.dumps(dict(req.headers), indent=2))
    raise BaseException()

azure_openai_client = AzureOpenAI(
    api_key="null",
    api_version="2023-07-01-preview",
    azure_endpoint=my_special_url,
    default_headers=auth_headers,
    http_client=httpx.Client(event_hooks={"request": [event_hook]}),
)
openai_response = azure_openai_client.chat.completions.create(
    model="gpt-35-turbo-16k",
    messages=[],
)

This is the log I get:
{
  "host": "unknown_url.azure.com",
  "accept-encoding": "gzip, deflate",
  "connection": "keep-alive",
  "accept": "application/json",
  "content-type": "application/json",
  "user-agent": "AzureOpenAI/Python 0.0.1",
  "x-stainless-lang": "python",
  "x-stainless-package-version": "0.0.1",
  "x-stainless-os": "MacOS",
  "x-stainless-arch": "arm64",
  "x-stainless-runtime": "CPython",
  "x-stainless-runtime-version": "3.9.18",
  "authorization": "Bearer jwt token",
  "ocp-apim-subscription-key": "apim key",
  "api-key": "null",
  "content-length": "45"
}

Which seems to match what you want? The authorization and ocp-apim-subscription-key headers are present.

Hmmm okay. I'm away from my work computer for the remainder of the day, but I'll see what I can try and post the precise error that I'm seeing. Thank you for the quick reply!

@RobertCraigie Well, I don't know if I was just making a silly mistake or if something was fixed in 1.1.2, but I just updated my client to 1.1.2 and now I'm totally fine. Thank you again for looking into this!


How can I use yolo-nas in ROS2

💡 Your Question
I ve trained my own yolo-nas-m model, and now I want to move it to 3D by using it in ROS2, I am so confused that there are no tutorials on the web, maybe can I get some instructions....
Versions
No response

I suggest you to check the documentation on ROS2 in that regard. We provide a mechanism to export a model to ONNX format which you can then take to any platform you like that is capable of running ONNX graphs. Can't provide support on that as it's goes very much beyond expertise. To learn how to export YoloNAS to ONNX please check the tutorials listed in our README.


Add KB link for Enterprise Adapters CU

Docs Build status updates of commit cebed72:
:warning: Validation status: warnings

File
Status
Preview URL
Details

:warning:Warning

Details

biztalk/adapters-and-accelerators/lob-and-enterprise-2020-support.md
:white_check_mark:Succeeded
View

[Warning-RepositoryOwnerPermissionInsufficient] Owner MandiOhlinger of repository https://github.com/MicrosoftDocs/biztalk-docs has lost Admin permission. Please use Transfer Owner via Docs portal https://ops.microsoft.com to assign a new owner.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit f6888a5:
:warning: Validation status: warnings

File
Status
Preview URL
Details

:warning:Warning

Details

biztalk/adapters-and-accelerators/lob-and-enterprise-2020-support.md
:white_check_mark:Succeeded
View

[Warning-RepositoryOwnerPermissionInsufficient] Owner MandiOhlinger of repository https://github.com/MicrosoftDocs/biztalk-docs has lost Admin permission. Please use Transfer Owner via Docs portal https://ops.microsoft.com to assign a new owner.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


chore: Add dependabot to karpenter-core

Fixes #
Description

Add dependabot to karpenter-core

How was this change tested?
make presubmit
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 79.321%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
6402

Relevant Lines:
8071

💛  - Coveralls


Behaviour if Graylog2 is not running

I still have to decide how to react when Graylog2 is not running.
Right now log2gelf will start sending UDP messages (i.e. consume log data) and then receive the ICMP feedback as 'connection refused'.
The alternative is to ignore all network feedback and keep sending. In this case the log2gelf itself would be more reliable (always on, always updating its status file) but if Graylog2 is down then all those messages will be lost.

I would suggest something like periodical check each X minutes, configurable, instead of requiring manual intervention.


Bump XCFramework pointer to lottie-ios 4.1.3

This PR bumps the Lottie.xcframework pointer to lottie-ios 4.1.3

tbr


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v4.8 to before v5.10.96",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=156d0e290e969caba25f1851c52417c14d141b24",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=129c71829d7f46423d95c19e8d87ce956d4c6e1c"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "156d0e290e969caba25f1851c52417c14d141b24",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "129c71829d7f46423d95c19e8d87ce956d4c6e1c",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "powerpc64/bpf: Limit 'ldbrx' to processors compliant with ISA v2.06\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.10.96 by commit 129c71829d7f46423d95c19e8d87ce956d4c6e1c, it was introduced in version v4.8 by commit 156d0e290e969caba25f1851c52417c14d141b24. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2022-1000198


[Tizen 5.5 watch] Apps cannot launch in candidate mode

.NET type apps crash on my Tizen 5.5 watch device when run in candidate mode (launched from an existing loader process without creating a new process). The issue is probably related to the EFL preloading feature on watch devices. (Removing files in /usr/share/dotnet.tizen/preload temporarily fixes the problem - only for rooted devices.)
How to reproduce:

Create a project and run on a 5.5 watch device:flutter-tizen create --tizen-language csharp .
flutter-tizen run

The app is run in standalone mode when it's launched for the first time after install.
Stop the app.
Wait for 5 seconds (until a loader process starts) and launch the app again, by clicking an app icon or using app_launcher -s.

lldb caught a segmentation fault at libfreetype.so code section:
(lldb) Process 7461 stopped
* thread #21, name = 'io.flutter.ui', stop reason = signal SIGSEGV: invalid address (fault address: 0x30)
    frame #0: 0xec19e0e6 libfreetype.so.6
->  0xec19e0e6: .long  0xb1036b1b                ; unknown opcode
    0xec19e0ea: addshs r4, r6, r8, lsl r7
    0xec19e0ee: .long  0xf8d04770                ; unknown opcode
    0xec19e0f2: push   {r2, r3, r8, r9, r12, sp}
bt
* thread #21, name = 'io.flutter.ui', stop reason = signal SIGSEGV: invalid address (fault address: 0x30)
  * frame #0: 0xec19e0e6 libfreetype.so.6
    frame #1: 0xe4a7e03a libflutter_engine.so

Device info:
bash-3.2# cat /etc/os-release
NAME=Tizen
VERSION="5.5.0 (Tizen5/Unified)"
ID=tizen
VERSION_ID=5.5.0
PRETTY_NAME="Tizen 5.5.0 (Tizen5/Unified)"
ANSI_COLOR="0;36"
CPE_NAME="cpe:/o:tizen:tizen:5.5.0"
BUILD_ID=PLATFORM_DayR800XX_20200611.001

The issue doesn't occur on Tizen 4.0 or 6.0 devices because:

The preloading feature was first introduced in Tizen 5.5.
On Tizen 6.0, apps launch in standalone mode only, because the http://tizen.org/metadata/direct-launch metadata value is by default enabled in tizen-manifest.xml. The metadata was first introduced in Tizen 6.0.

This issue seems to be related to #57.

More detailed backtrace:
(lldb) bt
* thread #21, name = 'io.flutter.ui', stop reason = signal SIGSEGV: invalid address (fault address: 0x30)
  * frame #0: 0xec6fe0e6 libfreetype.so.6`tt_get_cmap_info(charmap=0xf417ec68, cmap_info=0x00000043) at ttcmap.c:3931
    frame #1: 0xe4fe803a libflutter_engine.so`SkScalerContext_FreeType::generateMetrics(SkGlyph*) + 306
    frame #2: 0xe4f33c4a libflutter_engine.so`SkScalerContext::internalMakeGlyph(SkPackedGlyphID, SkMask::Format) + 506
    frame #3: 0xe4f33a44 libflutter_engine.so`SkScalerContext::makeGlyph(SkPackedGlyphID) + 12
    frame #4: 0xe4f3288c libflutter_engine.so`SkScalerCache::digest(SkPackedGlyphID) + 140
    frame #5: 0xe4f32bbe libflutter_engine.so`SkScalerCache::metrics(SkSpan<unsigned short const>, SkGlyph const**) + 90
    frame #6: 0xe4f40860 libflutter_engine.so`SkBulkGlyphMetrics::glyphs(SkSpan<unsigned short const>) + 92
    frame #7: 0xe4ee7436 libflutter_engine.so`SkFont::getWidthsBounds(unsigned short const*, int, float*, SkRect*, SkPaint const*) const + 70
    frame #8: 0xe51a53c4 libflutter_engine.so`txt::FontSkia::GetHorizontalAdvance(unsigned int, minikin::MinikinPaint const&) const + 184
    frame #9: 0xe519c8ac libflutter_engine.so`minikin::harfbuzzGetGlyphHorizontalAdvance(hb_font_t*, void*, unsigned int, void*) + 20
    frame #10: 0xe51c4df4 libflutter_engine.so`hb_font_get_glyph_h_advances_default(hb_font_t*, void*, unsigned int, unsigned int const*, unsigned int, int*, unsigned int, void*) + 60
    frame #11: 0xe51fc636 libflutter_engine.so`_hb_ot_shape + 2986
    frame #12: 0xe51feff8 libflutter_engine.so`hb_shape_plan_execute + 108
    frame #13: 0xe51ff22c libflutter_engine.so`hb_shape + 64
    frame #14: 0xe519dd28 libflutter_engine.so`minikin::Layout::doLayoutRun(unsigned short const*, unsigned int, unsigned int, unsigned int, bool, minikin::LayoutContext*, std::__1::shared_ptr<minikin::FontCollection> const&) + 1936
    frame #15: 0xe519d176 libflutter_engine.so`minikin::LayoutCacheKey::doLayout(minikin::Layout*, minikin::LayoutContext*, std::__1::shared_ptr<minikin::FontCollection> const&) const + 138
    frame #16: 0xe519d57e libflutter_engine.so`minikin::LayoutCache::get(minikin::LayoutCacheKey&, minikin::LayoutContext*, std::__1::shared_ptr<minikin::FontCollection> const&) + 202
    frame #17: 0xe519cfe2 libflutter_engine.so`minikin::Layout::doLayoutWord(unsigned short const*, unsigned int, unsigned int, unsigned int, bool, minikin::LayoutContext*, unsigned int, std::__1::shared_ptr<minikin::FontCollection> const&, minikin::Layout*, float*) + 294
    frame #18: 0xe519cd00 libflutter_engine.so`minikin::Layout::doLayoutRunCached(unsigned short const*, unsigned int, unsigned int, unsigned int, bool, minikin::LayoutContext*, unsigned int, std::__1::shared_ptr<minikin::FontCollection> const&, minikin::Layout*, float*) + 212
    frame #19: 0xe519ce58 libflutter_engine.so`minikin::Layout::measureText(unsigned short const*, unsigned int, unsigned int, unsigned int, bool, minikin::FontStyle const&, minikin::MinikinPaint const&, std::__1::shared_ptr<minikin::FontCollection> const&, float*) + 168
    frame #20: 0xe519f060 libflutter_engine.so`minikin::LineBreaker::addStyleRun(minikin::MinikinPaint*, std::__1::shared_ptr<minikin::FontCollection> const&, minikin::FontStyle, unsigned int, unsigned int, bool) + 80
    frame #21: 0xe51a7b2c libflutter_engine.so`txt::ParagraphTxt::ComputeLineBreaks() + 1156
    frame #22: 0xe51a8d28 libflutter_engine.so`txt::ParagraphTxt::Layout(double) + 232
    frame #23: 0xe5233b46 libflutter_engine.so`flutter::Paragraph_layout(_Dart_NativeArguments*) + 78
    frame #24: 0xe531af06 libflutter_engine.so`dart::NativeEntry::AutoScopeNativeCallWrapperNoStackCheck(args=<unavailable>, func=<unavailable>)(_Dart_NativeArguments*)) at native_entry.cc:217
    frame #25: 0xe531acde libflutter_engine.so`dart::NativeEntry::LinkNativeCall(args=<unavailable>) at native_entry.cc:327
    frame #26: 0xe31d8c28
    frame #27: 0xe323f1e4
    ...
    frame #58: 0xe327d87c
    frame #59: 0xe31d89c4
    frame #60: 0xe530df1c libflutter_engine.so`dart::DartEntry::InvokeCode(code=<unavailable>, arguments_descriptor=<unavailable>, arguments=<unavailable>, thread=<unavailable>) at dart_entry.cc:181

It seems Skia has an unexpected behavior on Tizen 4.0 and 5.5 because it tries to dlopen the system FreeType library and  FT_COLOR_H (https://flutter.googlesource.com/third_party/freetype2/+/1f03c1b2d7f2ae832a4fbe9d12bd96c3c15bbece/include/freetype/config/ftheader.h#777) was newly added to freetype2 by the last patch ([freetype2] Update to version 2.10.4) which had been not available in older FreeTypes.
(lldb) p FT_Load_Glyph
(FT_Error (*)(FT_Face, FT_UInt, FT_Int32)) $0 = 0xe503c369 (libflutter_engine.so`FT_Load_Glyph + 1)
(lldb) p FT_Get_Color_Glyph_Layer
error: 'FT_Get_Color_Glyph_Layer' has unknown type; cast it to its declared type to use it
(lldb) b FT_Get_Color_Glyph_Layer
Breakpoint 2: where = libflutter_engine.so`FT_Get_Color_Glyph_Layer, address = 0xe504075c
(lldb) c
Process 10716 resuming
(lldb) Process 10716 stopped
* thread #21, name = 'io.flutter.ui', stop reason = breakpoint 2.1
    frame #0: 0xe504075c libflutter_engine.so`FT_Get_Color_Glyph_Layer
libflutter_engine.so`FT_Get_Color_Glyph_Layer:
->  0xe504075c <+0>: cbz    r0, 0xe5040778            ; <+28>
    0xe504075e <+2>: cmp    r2, #0x0
    0xe5040760 <+4>: it     ne
    0xe5040762 <+6>: cmpne  r3, #0x0
(lldb) c
Process 10716 resuming
(lldb) Process 10716 stopped
* thread #21, name = 'io.flutter.ui', stop reason = signal SIGSEGV: invalid address (fault address: 0x30)
    frame #0: 0xec39e0e6 libfreetype.so.6`tt_get_cmap_info(charmap=0xf3e7ee48, cmap_info=0x00000043) at ttcmap.c:3931

freetype2 is statically linked by skia so I don't really understand why the system freetype2 library is referenced dynamically at runtime on Tizen. Please let me know if anybody has an idea.


Can't scan with custom framework

Describe the bug
can't scan with custom framework
Environment
OS version : Centos7
Kubescape version :  v2.0.174
Steps To Reproduce
Steps to reproduce the behavior:

I log into cloud.armosec.io and create a custom framework named test which included 9 controls. Below the screepshot.

I have read the similiar issue(https://github.com/kubescape/kubescape/discussions/516?sort=top), so I run the scan which with the account flag and specified framework, just as the below. But it said the framework 'test' not found.

I also try to run the list frameworks with the account flag.But it still no my custom framework ,only showing the
standard frameworks. Below  is the screenshot.

I'm sure the account id is correct and I copy it from the cloudplatform.

Could you help me to find out the problems? Thanks a lot!

@yf-odyssey thanks for your report.
Can you try the latest version of kubescape and tell me if it persists?
https://github.com/kubescape/kubescape/releases/

/cc: @YiscahLevySilas1

@yf-odyssey thanks for your report. Can you try the latest version of kubescape and tell me if it persists? https://github.com/kubescape/kubescape/releases/

Thanks matthyx！ I just downloaded the latest version and it works. So it may be a bug? Anyway, Thanks you all ! Kubescape is a wonderful opensource K8s security product!

@yf-odyssey thanks for the kind words, yes it was a bug and it sounded like something we had solved already, hence my question.
I'm closing this issue, please feel free to reopen it if you need to.

@matthyx This is actually still a bug. I'm running kubescape list frameworks --account BLAH and it's not including my custom frameworks.
I've tried 2.0.182 and the latest 183

@matthyx I had to run a kubescape scan --account X first, before list frameworks would work.
I'm assuming that the list command doesn't use the account ID and relies on the cached account, which isn't set until a scan?

I'm assuming that the list command doesn't use the account ID and relies on the cached account, which isn't set until a scan?

I think it's more the token that is not retrieved unless you perform a scan.
Maybe @dwertent  can confirm?


Move PathFilters from internal to public API

This type is used in Rule so it should be part of the public API.

Can we hold this PR? I have in mind some refactors in this area where I move all these code from api to core. The idea is that the Rule will not need to handle if it should run over a file or not. The core will check the configuration and only call the rule when it should check a file.
I can't advance right now on that because I have a lot of open PRs. They depend between each other and I can't continue because I'm on a branch hell right now. Reviews are more than welcome 🙏, I'm stuck.

Sure, I'll mark as a draft and come back to it later.

Closing in favour of #6866


New : Include CIFuzz

Included CIFuzz

Signed-off-by: naveensrinivasan<EMAIL_ADDRESS>

Cause for the failure https://github.com/ossf/scorecard-webapp/issues/220


fix incorrect check in lis2ds12_set_full_scale

Checking if fs has a value bigger than LIS2DS12_FS_16G is incorrect because LIS2DS12_FS_4G and LIS2DS12_FS_8G have a bigger numeric value and are valid configurations for this device.

I also found some problems in the lis2ds12_set_rate function.
The LIS2DS12_DATA_RATE_LP_10BIT_800HZ is defined as 0x70 when it should be 0xF0 according to the documentation. The condition check for the rate argument is also not the best one (and is incorrect right now).

@gonccalo, appreciate your changes and bug fix. Please keep up the good work, we need all the help we can get 🙂

@gonccalo , we have noticed that something went wrong when squashing and merging your PR and  your patch is in the tree but with incorrect author information. Sorry about that, we need to look closer into github to figure out what happen. Promise it will not happen again. Thanks!

@gonccalo , we have noticed that something went wrong when squashing and merging your PR and your patch is in the tree but with incorrect author information. Sorry about that, we need to look closer into github to figure out what happen. Promise it will not happen again. Thanks!

https://github.com/isaacs/github/issues/1368

I'd rather disable both "Squash and merge" and "Create a merge commit" options, one is a Github rather then a git concept, the other changes how the author organized his/her commits. Authors should be responsible for squashing, rebasing, and organizing commits.


ci: add label for fork

PR Checklist
Please check if your PR fulfills the following requirements:

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

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Refactoring (no functional changes, no api changes)
[ ] Other... Please describe: CI

What is the current behavior?
Closes #879
Does this PR introduce a breaking change?

[ ] Yes
[x] No

@waterplea I'll go over the Github documentation again, but it seems to me that it would also be great to have a label on the PR itself to easily view a list of all PRs

Sure, I don't mind it on the PR. But if it mentions closes #XXX it would be nice to add it to the issue too.


Question mark in Components

When I reinstalled Vagrant in cc  on MacOs. When the installation was finished , the question mark appeared in Components. See the screenshot:

Here are the latest logs:
logs_18.zip
Steps are simple:
Just delete Vagrant and install it again.

Reintalled Vagrant via CC.
When the installation was finished, did not get question mark on Vagrant.
Question mark on other components disappeared right after I checked for updates

Expected behavior:
After installation of components, there should not be question mark and null
Failed in master

Faced with question mark only below case:
Reinstalled Vagrant.

Question mark on other components disappeared right after I checked for updates

Tested in master

Fixed in prod


refactor: enable a few TS flags

Motivation
Stricter compilation. Although 95% of them just require a !, there are actually a few potentially unsound accesses.
Have you read the Contributing Guidelines on pull requests?
Yes

What about using this base config?

That one has some configurations that we not necessarily agree with / are compatible with. For example, exactOptionalPropertyTypes is known for being painful for React. noPropertyAccessFromIndexSignature is IMO bad and I've also added a comment explaining why we turned it off: to be able to use process.env.NODE_ENV instead of process.env["NODE_ENV"]. (Of course you can declaration-merge and define that field explicitly, but... no)

Honestly not fan of noUncheckedIndexedAccess, it's not an option a lot of projects turn on and these ! everywhere only add noise

I think it makes sense, particularly when merging translations so we don't assume that all translation keys are present. I can't remember but maybe I fixed a bug a while ago related to this? It seems we are overall very cautious with index access in general, and remaining places just require slapping a !, which is good. A ! forces us to think about edge cases.

That one has some configurations that we not necessarily agree with / are compatible with.

I agree but I'd rather disable these specific rules from a base strict config rather than enabling other rules on a less strict config => when a new strictness rule is introduced, it becomes automatically enabled so we don't forget to enable it in the future

Ok we can keep noUncheckedIndexedAccess
I find it painful in a few places like theming/CSS modules, maybe we don't want these ! to end-up in swizzled TS files too, so why not disable it in themes only for example?

so why not disable it in themes only for example?

Yup, that's workable. Just unsure if it reduces type-safety elsewhere... Ah, I wish TS is as configurable as a linter...


[Windows] domain users create syntax error during image creation

[ERROR] Failed to execute task "build-img:build": API error (500): {"message":"Error parsing reference: \"<project-name>-build:<project-name>-<ad_domain>\\\\<username>\" is not a valid repository/tag: invalid reference format"}

Since my employer uses AD, my username causes a syntax error in the image name.

I think the user name here is coming from the exec-id. You can override the default for the project frommeta.exec-id (http://dnephin.github.io/dobi/config.html#meta), or you can set the $DOBI_EXEC_ID environment variable to override it.
I think in general using the user id as the default is a good option, but maybe it should be sanitized first.


any #EXT-X-DISCONTINUITY lines are now handled in the parser

Also removed the code in parser.js which I think is unreachable (https://github.com/tedconf/node-m3u8/issues/10).
This closes #9

Closed by #13


Feat(mwpw-161785):Updated favicon to project red.

Favicon images updated.
Resolves: MWPW-161785
Test URLs:
Before: https://main--homepage--adobecom.hlx.live/drafts/sharathkannan/doc1home?martech=off
After: https://mwpw-161785--homepage--adobecom.hlx.live/drafts/sharathkannan/doc1home?martech=off

@seanchoi-dev This needs to go live : 11/13 5:30PM IST. It will be a coordinated release.


[Bug] Negative prompt with batch size 2+

So I started by disabling all extensions and I was able to narrow this bug specifically to sd-webui-neutral-prompt.
I disabled all non-native extensions and left sd-webui-neutral-prompt and I was still able to reproduce this issue.
Setup:
Prompt: 1girl
Negative: gloomy
Batch size: 2
Seed: 1
Step 1: generate, this will be reference two images
Step 2: modify Negative to "gloomy, vibrant"
Step 3: generate, you should already notice something weird with image 2
Step 4: modify Negative back to "gloomy"
Step 5: generate - at this point image 2 should look weird and not match reference image from step 1.
This corruption can be fixed by modifying in any way positive prompt (needs to differ on generate), even comma will do.
It feels like some caching issue as detecting change on Positive fixes it, but negative part isn't forcing refresh in the overall prompt.

Thanks for the detailed steps, I narrowed down the issue.
When you change the negative prompt, for some reason the webui uses the positive prompt function, which the extension hijacks to display the right number of tokens for the positive prompt. I'll make a PR for the webui if I find an opportunity in the code, and otherwise I'll see if there's anything I can do from the extension.

Glad to hear the issue is reproducible and not just something on my end.
Neutral prompt provides really cool and unique features, so looking forward to a resolution.
I very appreciate your quick response and details on your findings!

I submitted a PR to the webui as the issue originates from there. I'm not sure how long this could take.
For now, a workaround is to disable conds caching in the settings.


JSDoc option doesn't save it's state.

When changing JSDoc option in preferences, it loads default value upon next program start.

when changing it specifically to "don't auto-generate" https://github.com/GameMakerDiscord/GMEdit/commit/2213d0ac731d67a504c7cee1f39090982437d6fb


Add Collapsable Bar

add collapsable bar functionality

fix old linting errors
add collpasableBar api props
replace the Container View with a ScrollView to allow collapsable functionality
use collapasable functionality just if it's passed in props
add collapsable to Examples

CONS: When collapsableBar is active we cannot support pre-loading the TABs View as it will break the vertical scroll, so at each TAB click the content will be re-rendered.
DEMO :
https://github.com/tibbus/react-native-scrollable-tab-view/blob/demo/demo_images/demo-collapsable.gif
ISSUES : 638 628 385

Hi, at each TAB click the content will be re-rendered, Can this problem be solved in the future?

Not sure, I was thinking a bit about it and didn't find any easy fix.
I didn't looked too much into it as it's not a big issue for me and this is not even merged yet.

could the childElement of the ScrollableTabView be a  ListView ?

Hi, i changed View to Listview as a childElement of the  ScrollableTabView, but i found the onEndReached func occured a wrong callback

Not sure what do you mean ?  ScrollableTabView was already changed to a ScrollView in this PR .
So to have this effect CollapseBar, TabBar and the Content should be inside the same ScrollView as children so you can add stickyIndex to the TabBar

getInitialState: function () {
let ds = new ListView.DataSource({rowHasChanged: (r1, r2) => r1 !== r2});
return {
dataSource: ds.cloneWithRows(this._genRows({})),
};
},
_genRows: function (pressData) {
    let dataBlob = [];
    for (let ii = 0; ii < 30; ii++) {
        let pressedText = pressData[ii] ? ' (pressed)' : '';
        dataBlob.push('Row ' + ii + pressedText);
    }
    return dataBlob;
},

render() {
    const collapsableComponent = (
        <View>
            <Icon name='logo-apple' color='black' size={100} style={styles.topIcon}/>
            <Icon name='logo-android' color='#A4C639' size={100} style={styles.topIcon}/>
        </View>
    );

    return <ScrollableTabView collapsableBar={collapsableComponent}
                              tabBarBackgroundColor="white"
                              renderTabBar={() => <DefaultTabBar />}
    >
        <ListView
            tabLabel='IOS'
            scrollEnabled={false}
            dataSource={this.state.dataSource}
            renderRow={(rowData) => <Text style={{fontSize: 50}}>{rowData}</Text>}
            onEndReachedThreshold={50}
            scrollRenderAheadDistance={10}
            onEndReached={() => {
                Log.log('CollapsableExample.js onEndReached')
            }
            }

        />
        <ListView
            tabLabel='Android'
            scrollEnabled={false}
            dataSource={this.state.dataSource}
            renderRow={(rowData) => <Text style={{fontSize: 50,}}>{rowData}</Text>}
            onEndReachedThreshold={50}
            scrollRenderAheadDistance={10}
            onEndReached={() => {
                Log.log('CollapsableExample.js onEndReached')
            }
            }

        />
    </ScrollableTabView>;
},

hi ,here is my changed code ,I don't know why the onEndReached function has been called back 11 times  ?

It's very much possible to build the tab bar on your own, see https://github.com/skv-headless/react-native-scrollable-tab-view/issues/628#issuecomment-324893658

@tibbus hi，how can i use the collapsable bar ，It seems that author（skv-headless） dose not merge your fork？

@Kunsan16 This pull request was not merged indeed. If you want to use it, you need to fork this PR, there's also an example in this PR of how to use it :
https://github.com/skv-headless/react-native-scrollable-tab-view/pull/667/files#diff-dde318e73285bbdce77dae632bbe1be5R1

Appart from @cham1985 's issue, there is another one:
as long as any of the tab contents under tabbar has reached the end and bounced, switch to another tab, scroll up before the CollapsableBar reaches the top and bounces, then switching tabs again will cause the CollapsableBar instantly collapse. The issue disappear afters scrolling to the very top.

excuse me @tibbus , how about this:
  renderSectionHeader(sectionData, sectionId, rowId) {
    if (sectionId == 0) {
      return null;
    }
    if (sectionId == 1) {
      return this.renderTabBar(tabBarProps);

    } else {
      return null;
    }
  }

  renderRow(rowData, sectionId, rowId) {
    if (sectionId == 0) {
      return <CollapsibleHeader/>

    } else if (sectionId == 1) {
      return this.renderScrollableContent();

    } else {
      return null;
    }
  }

  render() {
    return (
      <ListView
        style={{flex: 1}}
        renderSectionHeader={this.renderSectionHeader}
        renderRow={this.renderRow}
        dataSource = {this.ds.cloneWithRowsAndSections({0: [{0: 'rowData0'}], 1: [{0: 'rowData1'}]})}
        enableEmptySections
        stickyHeaderIndices = {[1]}
      />
    );
  }

then disable the nested ListView if it's in scrollable content, pass onEndReached to parent ListView for handling fetching more data.
I know this is dumb but at least it doesn't need to worry about the calculations.
Before integrating with the lib, I combined yours and @davidpaulsson 's idea of rendering custom tabbar instead of rendering this.renderTabBar() for sectionId 1 sectionHeader, also setting renderTabBar={() => } for <ScrollableTabView /> and it seems to be working as well.

@JaxGit
I don't really follow what file is this or how it's working as I didn't looked into it anymore, but it looks like this pull request will NOT be merged.
So it's good to have here more examples / ways of how to implement this behavior so other people can find it.

Thank you @tibbus , I just found my code wrong.
Now I know why in you solution for each TAB click the content will be re-rendered, as my code which is rendering <ScrollableTabView /> instead of this.renderScrollableContent() already breaks the vertical scroll -- after vertical scrolling any tab content, all other tab contents have also scrolled ...

@tibbus the code that you shared works well but have a problem with it,
when i scroll it up the scrollHeader fixes to the top but when i try to change the tab, the scrollHeader that was fixed on top comes back to its old position and then changes the tab.
Is there any way to change the tab even while the scrollHeader is fixed on top.

@mayupat13 you need the changes from this PR for that Example to work.

@tibbus  if i put the flatList into the ScrollableTabView its not working. like this``

@tibbus if i put the flatList into the ScrollableTabView its not working. like this
<ScrollableTabView collapsableBar={collapsableComponent}                                                                renderTabBar={() => <DefaultTabBar/>}         >             <View tabLabel='iOS' style={{height:VALUE.height-100}}>                 <FlatList                     showsVerticalScrollIndicator={false}                     ref={'flatList'}                     data={[{key: 'a'}, {key: 'b'}, {key: 'c'}, {key: 'd'}, {key: 'e'}, {key: 'f'},                         {key: 'g'}, {key: 'h'}, {key: 'i'}, {key: 'j'}, {key: 'k'}, {key: 'l'}, {key: 'm'},                         {key: 'n'}, {key: 'o'}, {key: 'p'}, {key: 'q'}, {key: 'r'}, {key: 's'}, {key: 't'},                         {key: 'u'}, {key: 'v'}, {key: 'w'}, {key: 'x'}, {key: 'y'}, {key: 'z'}                     ]}                     keyExtractor={this._keyExtractor}                     renderItem={this._renderItem}                 />             </View>             <View tabLabel='Android'>                 <FlatList                     showsVerticalScrollIndicator={false}                     ref={'flatList'}                     data={[{key: 'a'}, {key: 'b'}, {key: 'c'}, {key: 'd'}, {key: 'e'}, {key: 'f'},                         {key: 'g'}, {key: 'h'}, {key: 'i'}, {key: 'j'}, {key: 'k'}, {key: 'l'}, {key: 'm'},                         {key: 'n'}, {key: 'o'}, {key: 'p'}, {key: 'q'}, {key: 'r'}, {key: 's'}, {key: 't'},                         {key: 'u'}, {key: 'v'}, {key: 'w'}, {key: 'x'}, {key: 'y'}, {key: 'z'}                     ]}                     keyExtractor={this._keyExtractor}                     renderItem={this._renderItem}                 />             </View>         </ScrollableTabView>;

This PR is very outdated, hence if this changes are still needed feel free to rebase them on top of master and open a new PR. From now on there will be faster feedback on issues and pull requests.

Is there solution to this problem? I'm heavily relying on this package and want collapsible header but not able to. Please Help!

@Tritty I'm facing problem,

Tab with FlastList component is not fixed on the top.
And Not sliding from Tab (has FlastList) to another tab.

You can try the react-native-head-tab-view.
(tabs with collapsible header)

Hello

Is there solution to this problem? I'm heavily relying on this package and want collapsible header but not able to. Please Help!

Have you found the solution ?


Revert "Build Neutron from stackhpc fork"

The upstream fix for the IPv6 metadata DAD failure was merged on all
branches up to Victoria [1].
This reverts commit 9df33a626e0d809790d067a05d1e3844cb16e90b.
[1] https://review.opendev.org/q/I6b544c5528cb22e5e8846fc47dfb8b05f70f975c

It's only for Xena and Wallaby, right? In Yoga we need the fork for OVN native DHCP.

It's only for Xena and Wallaby, right? In Yoga we need the fork for OVN native DHCP.

True, I've updated the yoga merge #511


double constants should be lower case

Since the convention is to have constants as lower case.

Change NOT_A_NUMBER to nan too. Consider dropping negativeInfinity since it's just -double.infinity.

This appears to be done. https://api.dartlang.org/stable/2.0.0/dart-core/double-class.html

yup.


New version

@bradmartin Do you plan a new version 3.0.3 with the fixes for TNS 4?

Yep, guess I forgot to run the cmd after last PR, thanks for pinging it.


Avoid unexpected numpy imports

In #345 I ran into the doc build env not having installed numpy, and therefore failing the build. Numpy is not a dependency. So let's fix that.

[x] Remove numpy usage from gui/offscreen.py. Easy, because a memory object is easy enough to turn into a numpy array by the caller.
[x] Remove numpy usage from utils/shadertoy.py. Had to refactor the uniform array stuff a bit.
[x] Added a CI testbuild to avoid regressions. It simply imports wgpu and some of its subpackages in a minimal env.
[x] Refactoring the CI code a bit, moving the codegen and pyinstaller tests out of the matrix-test-build. This makes the yaml easier to read and the tests run faster.

Because you renamed some jobs, you have to go into the branch protection settings and changed the required jobs.

Ah, I though GH was having caching issues. Fixed!


Fix bug parsing revisions in 'asv compare'

@mdboom I noticed a bug when attempting to run asv compare on the pandas asv suite. I was seeing the following issue:
$ asv compare e118206d 912854
All benchmarks:

    before     after       ratio
  [e       ] [9       ]
   310.58ns   311.98ns      1.00  attrs_caching.getattr_dataframe_index.time_getattr_dataframe_index
     3.66μs     3.75μs      1.03  attrs_caching.setattr_dataframe_index.time_setattr_dataframe_index
      [...]

Note that the before and after hashes have been truncated to the first character. The essence of this bug is that Compare.run_from_conf_args() has some custom logic that wasn't being covered by tests. Changing the tests to call this function confirms that the [0]s are unnecessary.

Thanks, merged.


Analytic Rule and RuleSet use the same icon

maybe change the colour of the RuleSet one

Fixed in >7.2-beta.79
Changed the icon and removed the document type for the time being.  When receipt rules is properly implemented the type can be reinstated.


istio reconciler should support downgrades

Description
At this moment istio reconciler is not supporting downgrades. This can lead to situation that on managed kyma customer can bump istio to newer version before kyma supports it. In such situation istio reconciler should downgrade istio to istio supported in kyma.
AC:

[x] istio downgrade is supported within one minor version

Reasons
Reconciler should always apply desired state, in this case managed kyma istio.
Attachments

Cli is bumped. Tested with the kyma-cli and it works as expected!


Exponential of linear combination of Paulis

Hi, could we please add a function to compute the exponential of a linear combination of Multi Qubit Paulis?
E.g. H =0.1Z1 Z2 X3 Y4 + 0.2X1 Z2 X3 Z4 + 0.01* Z1 Z2 X3 Z4, then can we implement the exp(iHt)? Allow H to be arbitrary!

Hi Dikshant,
We have implemented the mat_exp function and controlled unitary functions, one example can be found at:
https://github.com/mit-han-lab/torchquantum/blob/dev/examples/hadamard_test/circ.py
Let me know if you have any questions!


Support arrays in ::get

It would be cool to be able to get multiple settings like:
$settings = Setting::get(['finance.vat_rate', 'app_name']);

Return:
[
    'finance' => [
        'vat_rate' => 20,
    ],
    'app_name' => 'My App'
]

If this should be supported, I feel that the following should also work:
Setting::get(['finance' => ['vat_rate'], 'app_name']);

What do you think?

How would default value be handled in this scenario?

That's a good question. I think non-existant array keys should be left out of the return value, unless you provide an array as the $default argument to get(), in which case that'll be merged with the result.

Maybe make this another method getMulti?

@anlutro possibly, I personally wouldn't use it, as I think when accessing properties you should only do so in dot-format. Laravel's Config:: works same way, you can't send it a multi dimensl array to get, only dot format.
For default value, to keep things simple I would just return whatever you've set for any keys that it couldn't find. In theory you could add support for an array for $default but again probably overcomplicating it at this stage.
As an initial implementation, it could just support dot-format and returning single default value. Just a basic loop. This is how I've implemented something similar in my app (using the Laravel-5 style helper)
/**
 * Get app setting
 * @param  string|array|null $name
 * @param  mixed $default
 * @return mixed
 */
function setting($name = null, $default = null)
{
	$setting = app('anlutro\LaravelSettings\SettingStore');

	if (is_null($name))
	{
		return $setting;
	}
	elseif (is_array($name))
	{
		$value = [];
		foreach ($name as $key)
		{
			$value[$key] = $setting->get($key, $default);
		}
	}
	else
	{
		$value = $setting->get($name, $default);
	}

	return $value;
}

I wouldn't want an extra method like getMulti just for accessing by array. get should be fine and it keeps things consistent with multi array support similar to it's set sibling.

Keeping it consistent with Config::get sounds good. Makes it easier to implement as well.

Implemented here https://github.com/anlutro/laravel-settings/issues/19 in case you have any feedback.

Added in 0.2.15


Palette names

The palette names are confusing and not straight-forward for a new user.
These were all my tries until I got the correct palette name  😂

panther pink
panther
'pink'
'panther pink'
pink

I mean it could just be me being dumb, but maybe the instructions could be more clear in the CLI.

I tried to create a story behind the colors hahahahaha but you're right. It had been quite some time that I was not using the tool, and even I got confused. I think we could improve with better docks and maybe a help command.

I tried to create a story behind the colors hahahahaha but you're right. It had been quite some time that I was not using the tool, and even I got confused. I think we could improve with better docks and maybe a help command.

Those sound like good ideas, if I can, I'll make a PR!


Installing v0.34.0 from PyPI installs a package called google-cloud and nothing else

As the title states, when I attempt to install the client libraries via PyPi (pip install --upgrade google-cloud) as of 0.34.0 this only installs a module called google-cloud, yet when I revert to an earlier version (0.33.1) all the individual packages come with.
I've tested this on Windows, Mac OS and Debian - I experience the same behaviour for all.

From https://pypi.org/project/google-cloud/:

WARNING: The google-cloud Python package is deprecated. On June 18, 2018, this package will no longer install any other packages. Please install the product-specific google-cloud-* packages needed for your application.

Here's a list of all the specific packages you may want to install instead: https://github.com/GoogleCloudPlatform/google-cloud-python#google-cloud-python-client

@di alright, thanks for that, though I do think it is then pertinent to update the Github.io page, as it still retains the line pip install --upgrade google-cloud.


Graph reserved words(in, out)

Why words "in" and "out" are reserved in graph.py (line: 663)?
I think they should be permitted, because referring to documentation http://orientdb.com/orientdb-using-schemas-with-graphs-part-1/.
I should be albe to create these properties with ogm.
BR
Michal

Hi, I did that because of orientechnologies/orientdb/issues/4684. Perhaps graph.py should be smarter about which it allows and which it does not; what do you think?

Hi,
can i close this?


Add licensing.

Fixes #43.
I'm not experienced with licenses, so this should probably be reviewed with extra care.

Hmmm, @zulipbot, as a contributor, I am clearly not in the set of {Zulip maintainer}. Maybe it should be "someone reviewed ..." when the reviewer is not a maintainer?

@lonerz @synicalsyntax that's a fair point on the zulipbot "reviewed" notifications

@timabbott I guess, we can use the same idea as labelling. There's a specific group of people where a review will switch "needs review" to "reviewed".

Hello @roberthoenig, a Zulip maintainer reviewed this pull request over 10 days ago, but you haven't updated your pull request since. Please take a look at the requested changes and update your pull request accordingly.
Thank you for your valuable contributions to Zulip!

I merged this as 1dc2bf8ba6c6511d445a69e2ee9b6d2069b4fd29 after some cleanup.


CALICO_ETCD_IP is not replaced with real IP

Calico version 3.0.1
Orchestrator version  kubernetes 1.8.4
Operating System and version: Centos 7.2
This is the log of etcd:

2018-01-01 12:03:49.061223 I | etcdmain: etcd Version: 3.1.10
2018-01-01 12:03:49.061379 I | etcdmain: Git SHA: 0520cb9
2018-01-01 12:03:49.061390 I | etcdmain: Go Version: go1.8.3
2018-01-01 12:03:49.061398 I | etcdmain: Go OS/Arch: linux/amd64
2018-01-01 12:03:49.061407 I | etcdmain: setting maximum number of CPUs to 40, total number of available CPUs is 40
2018-01-01 12:03:49.061429 I | etcdmain: advertising using detected default host "<IP_ADDRESS>"
2018-01-01 12:03:49.061485 N | etcdmain: the server is already initialized as member before, starting as etcd member...
2018-01-01 12:03:49.061672 I | embed: listening for peers on http://<IP_ADDRESS>:6667
2018-01-01 12:03:49.061812 I | embed: listening for client requests on <IP_ADDRESS>:6666
2018-01-01 12:03:49.234035 I | etcdserver: name = calico
2018-01-01 12:03:49.234076 I | etcdserver: data dir = /var/etcd/calico-data
2018-01-01 12:03:49.234101 I | etcdserver: member dir = /var/etcd/calico-data/member
2018-01-01 12:03:49.234113 I | etcdserver: heartbeat = 100ms
2018-01-01 12:03:49.234129 I | etcdserver: election = 1000ms
2018-01-01 12:03:49.234139 I | etcdserver: snapshot count = 10000
2018-01-01 12:03:49.234160 I | etcdserver: advertise client URLs = http://$CALICO_ETCD_IP:6666
2018-01-01 12:03:49.272665 I | etcdserver: restarting member bbae441ad340c3d1 in cluster 4cdbd1ebc9dc644c at commit index 4088
2018-01-01 12:03:49.314326 I | raft: bbae441ad340c3d1 became follower at term 2
2018-01-01 12:03:49.314363 I | raft: newRaft bbae441ad340c3d1 [peers: [], term: 2, commit: 4088, applied: 0, lastindex: 4088, lastterm: 2]
2018-01-01 12:03:49.448415 I | mvcc: restore compact to 3482
2018-01-01 12:03:49.521818 I | etcdserver: starting server... [version: 3.1.10, cluster version: to_be_decided]
2018-01-01 12:03:49.522918 I | etcdserver/membership: added member bbae441ad340c3d1 [http://<IP_ADDRESS>:6667] to cluster 4cdbd1ebc9dc644c
2018-01-01 12:03:49.523090 N | etcdserver/membership: set the initial cluster version to 3.1
2018-01-01 12:03:49.523138 I | etcdserver/api: enabled capabilities for version 3.1
2018-01-01 12:03:49.634626 I | raft: bbae441ad340c3d1 is starting a new election at term 2
2018-01-01 12:03:49.634671 I | raft: bbae441ad340c3d1 became candidate at term 3
2018-01-01 12:03:49.634701 I | raft: bbae441ad340c3d1 received MsgVoteResp from bbae441ad340c3d1 at term 3
2018-01-01 12:03:49.634721 I | raft: bbae441ad340c3d1 became leader at term 3
2018-01-01 12:03:49.634732 I | raft: raft.node: bbae441ad340c3d1 elected leader bbae441ad340c3d1 at term 3
2018-01-01 12:03:49.774993 I | embed: ready to serve client requests
2018-01-01 12:03:49.775102 I | etcdserver: published {Name:calico ClientURLs:[http://$CALICO_ETCD_IP:6666]} to cluster 4cdbd1ebc9dc644c

The yaml is :
# This manifest installs the Calico etcd on the kubeadm master.  This uses a DaemonSet
# to force it to run on the master even when the master isn't schedulable, and uses
# nodeSelector to ensure it only runs on the master.
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
  name: calico-etcd
  namespace: kube-system
  labels:
    k8s-app: calico-etcd
spec:
  template:
    metadata:
      labels:
        k8s-app: calico-etcd
      annotations:
        # Mark this pod as a critical add-on; when enabled, the critical add-on scheduler
        # reserves resources for critical add-on pods so that they can be rescheduled after
        # a failure.  This annotation works in tandem with the toleration below.
        scheduler.alpha.kubernetes.io/critical-pod: ''
    spec:
      # Only run this pod on the master.
      tolerations:
      # this taint is set by all kubelets running `--cloud-provider=external`
      # so we should tolerate it to schedule the calico pods
      - key: node.cloudprovider.kubernetes.io/uninitialized
        value: "true"
        effect: NoSchedule
      - key: node-role.kubernetes.io/master
        effect: NoSchedule
      # Allow this pod to be rescheduled while the node is in "critical add-ons only" mode.
      # This, along with the annotation above marks this pod as a critical add-on.
      - key: CriticalAddonsOnly
        operator: Exists
      nodeSelector:
        node-role.kubernetes.io/master: ""
      hostNetwork: true
      containers:
        - name: calico-etcd
          image: quay.io/coreos/etcd:v3.1.10
          env:
            - name: CALICO_ETCD_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
          command:
          - /usr/local/bin/etcd
          args:
          - --name=calico
          - --data-dir=/var/etcd/calico-data
          - --advertise-client-urls=http://$CALICO_ETCD_IP:6666
          - --listen-client-urls=http://<IP_ADDRESS>:6666
          - --listen-peer-urls=http://<IP_ADDRESS>:6667
          - --auto-compaction-retention=1
          volumeMounts:
            - name: var-etcd
              mountPath: /var/etcd
      volumes:
        - name: var-etcd
          hostPath:
            path: /var/etcd

If use this form of command and args, the problem will be resolved:
command: ["/bin/sh", "-c"]
args: ["/usr/local/bin/etcd --name=calico --data-dir=/var/etcd/calico-data --advertise-client-urls=http://$CALICO_ETCD_IP:6666 --listen-client-urls=http://<IP_ADDRESS>:6666 --listen-peer-urls=http://<IP_ADDRESS>:6667 --auto-compaction-retention=1"]

same here, using this page as reference https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/

victor@centauro:~$ sudo kubeadm init --ignore-preflight-errors Swap --pod-network-cidr=<IP_ADDRESS>/16
[init] Using Kubernetes version: v1.9.3
[init] Using Authorization modes: [Node RBAC]
[preflight] Running pre-flight checks.
[WARNING SystemVerification]: docker version is greater than the most recently validated version. Docker version: 17.12.1-ce. Max validated version: 17.03
[WARNING Swap]: running with swap on is not supported. Please disable swap
[WARNING FileExisting-crictl]: crictl not found in system path
[preflight] Starting the kubelet service
[certificates] Generated ca certificate and key.
[certificates] Generated apiserver certificate and key.
[certificates] apiserver serving cert is signed for DNS names [centauro kubernetes kubernetes.default kubernetes.default.svc kubernetes.default.svc.cluster.local] and IPs [<IP_ADDRESS> <IP_ADDRESS>]
[certificates] Generated apiserver-kubelet-client certificate and key.
[certificates] Generated sa key and public key.
[certificates] Generated front-proxy-ca certificate and key.
[certificates] Generated front-proxy-client certificate and key.
[certificates] Valid certificates and keys now exist in "/etc/kubernetes/pki"
[kubeconfig] Wrote KubeConfig file to disk: "admin.conf"
[kubeconfig] Wrote KubeConfig file to disk: "kubelet.conf"
[kubeconfig] Wrote KubeConfig file to disk: "controller-manager.conf"
[kubeconfig] Wrote KubeConfig file to disk: "scheduler.conf"
[controlplane] Wrote Static Pod manifest for component kube-apiserver to "/etc/kubernetes/manifests/kube-apiserver.yaml"
[controlplane] Wrote Static Pod manifest for component kube-controller-manager to "/etc/kubernetes/manifests/kube-controller-manager.yaml"
[controlplane] Wrote Static Pod manifest for component kube-scheduler to "/etc/kubernetes/manifests/kube-scheduler.yaml"
[etcd] Wrote Static Pod manifest for a local etcd instance to "/etc/kubernetes/manifests/etcd.yaml"
[init] Waiting for the kubelet to boot up the control plane as Static Pods from directory "/etc/kubernetes/manifests".
[init] This might take a minute or longer if the control plane images have to be pulled.
[apiclient] All control plane components are healthy after 30.001219 seconds
[uploadconfig] Storing the configuration used in ConfigMap "kubeadm-config" in the "kube-system" Namespace
[markmaster] Will mark node centauro as master by adding a label and a taint
[markmaster] Master centauro tainted and labelled with key/value: node-role.kubernetes.io/master=""
[bootstraptoken] Using token: 1455a5.9ca3aec138481f55
[bootstraptoken] Configured RBAC rules to allow Node Bootstrap tokens to post CSRs in order for nodes to get long term certificate credentials
[bootstraptoken] Configured RBAC rules to allow the csrapprover controller automatically approve CSRs from a Node Bootstrap Token
[bootstraptoken] Configured RBAC rules to allow certificate rotation for all node client certificates in the cluster
[bootstraptoken] Creating the "cluster-info" ConfigMap in the "kube-public" namespace
[addons] Applied essential addon: kube-dns
[addons] Applied essential addon: kube-proxy
Your Kubernetes master has initialized successfully!
To start using your cluster, you need to run the following as a regular user:
mkdir -p $HOME/.kube
sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
sudo chown $(id -u):$(id -g) $HOME/.kube/config
You should now deploy a pod network to the cluster.
Run "kubectl apply -f [podnetwork].yaml" with one of the options listed at:
https://kubernetes.io/docs/concepts/cluster-administration/addons/
You can now join any number of machines by running the following on each node
as root:
kubeadm join --token 1455a5.9ca3aec138481f55 <IP_ADDRESS>:6443 --discovery-token-ca-cert-hash sha256:dc7af3a17bba2ac7bff998b697eb9a3d970009b1d9e3468c9d8c096e82ba4099
victor@centauro:~$ mkdir -p $HOME/.kube
victor@centauro:~$ sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
cp: ¿sobreescribir '/home/victor/.kube/config'? (s/n) s
victor@centauro:~$ sudo chown $(id -u):$(id -g) $HOME/.kube/config
victor@centauro:~$ kubectl apply -f \

https://docs.projectcalico.org/v3.0/getting-started/kubernetes/installation/hosted/kubeadm/1.7/calico.yaml
configmap "calico-config" created
daemonset "calico-etcd" created
service "calico-etcd" created
daemonset "calico-node" created
deployment "calico-kube-controllers" created
clusterrolebinding "calico-cni-plugin" created
clusterrole "calico-cni-plugin" created
serviceaccount "calico-cni-plugin" created
clusterrolebinding "calico-kube-controllers" created
clusterrole "calico-kube-controllers" created
serviceaccount "calico-kube-controllers" created
victor@centauro:~$ watch kubectl get pods --all-namespaces
victor@centauro:~$ kubectl taint nodes --all node-role.kubernetes.io/master-
node "centauro" untainted
victor@centauro:~$ kubectl get nodes -o wide
NAME       STATUS    ROLES     AGE       VERSION   EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION     CONTAINER-RUNTIME
centauro   Ready     master    4m        v1.9.3            Ubuntu 16.04.4 LTS   4.4.0-93-generic   docker://17.12.1-ce
victor@centauro:~$ ps -ef | grep CALICO_ETCD_IP
root     19562 19546  0 20:57 ?        00:00:00 /usr/local/bin/etcd --name=calico --data-dir=/var/etcd/calico-data --advertise-client-urls=http://$CALICO_ETCD_IP:6666 --listen-client-urls=http://<IP_ADDRESS>:6666 --listen-peer-urls=http://<IP_ADDRESS>:6667 --auto-compaction-retention=1
victor   30104 14041  0 21:00 pts/12   00:00:00 grep --color=auto CALICO_ETCD_IP
victor@centauro:~$

I believe the fact that ps shows CALICO_ETCD_IP in the command is just a red-herring.  I deployed with the kubeadm manifest and see the same thing.  To see the value for CALICO_ETCD_IP if you do sudo cat /proc/<etcd pid>/environ you should see CALICO_ETCD_IP in the output and see the value it is set to.
If you could describe the problem that you are seeing perhaps we can identify the root problem.

This guy is pretty old, so I'm going to close for now. Please shout if you are still hitting issues.

@caseydavenport I'm hitting this in the latest version as well. Following these instructions.
If the entrypoint is not shell, is etcd binary really going to get the env var value for $CALICO_ETCD_IP?

You're absolutely right, not sure what I missed above! I've got a PR here: https://github.com/projectcalico/calico/pull/2188


Bug: Placeholder rendered outside the Editable Field

The code sample in Lexical React Docs renders the placeholder outside the editable field.
The blue bordered box is the editable field and "Enter some text..." is supposed to be the placeholder:
<LexicalComposer initialConfig={initialConfig}>
  <PlainTextPlugin
    contentEditable={<ContentEditable />}
    placeholder={
Enter some text...
}
    ErrorBoundary={LexicalErrorBoundary}
  />
  <HistoryPlugin />
  <MyCustomAutoFocusPlugin />
</LexicalComposer>

Lexical version: 0.12.0
The current behavior
Placeholder rendered outside the editable field

The expected behavior
The placeholder should be rendered inside the editable field

Having the same issue

This is just how it works. You need to position it inside the content editable (or wherever you want it to be positioned). Check the playground example. or search for other issues about this that suggest alternative approaches.


enrich_now() shortcut

Or I could just have a default .enrich_batch() method which calls .enrich_row() - then the class author can decide which of those methods to override.
If you override .enrich_batch() then it's on you to record errors.

Originally posted by @simonw in https://github.com/datasette/datasette-enrichments/issues/7#issuecomment-1829215626

Since many enrichments will work perfectly fine if they go a row at a time, rather than doing a batch optimization, this could be an easier way to write them.
Signature could be:
        async def enrich_row(
            self,
            datasette,
            db: Database,
            table: str,
            row: dict,
            pks: List[str],
            config: dict,
            job_id: int,
        ):

So you get passed the row itself and also the IDs extracted out for you.
If that method raises an exception it can get automatically logged.
One thing I haven't figured out yet: it would be nice if that method could return a value which then gets inserted into the output column - but that would mean we would need some kind of default get_config_form() that only has the single output column in it. That feels weird. Not quite decided on that yet.

Half-finished prototype of this:
diff --git a/datasette_enrichments/__init__.py b/datasette_enrichments/__init__.py
index 62e2a09..44ece6d 100644
--- a/datasette_enrichments/__init__.py
+++ b/datasette_enrichments/__init__.py
@@ -11,7 +11,7 @@ from . import hookspecs

 from datasette.utils import await_me_maybe

-from typing import TYPE_CHECKING, Optional, Dict
+from typing import TYPE_CHECKING, Any

 if TYPE_CHECKING:
     from datasette.app import Datasette
@@ -49,6 +49,16 @@ create table if not exists _enrichment_jobs (
 )
 """.strip()

+CREATE_ERROR_TABLE_SQL = """
+create table if not exists _enrichment_errors (
+    id integer primary key,
+    job_id integer references _enrichment_jobs(id),
+    created_at text,
+    row_pk text, -- JSON encoded, can be integer or string or ["compound", "pk"]
+    error text
+)
+""".strip()
+

 class Enrichment(ABC):
     batch_size = 100
@@ -72,6 +82,24 @@ class Enrichment(ABC):
     def __repr__(self):
         return "<Enrichment: {}>".format(self.slug)

+    async def log_error(self, db: "Database", job_id: int, ids: Any, error: str):
+        # Record error and increment error_count
+        await db.execute_write(
+            """
+            insert into _enrichment_errors (job_id, row_pk, error)
+            values (?, ?, ?)
+        """,
+            (job_id, json.dumps(ids), error),
+        )
+        await db.execute_write(
+            """
+            update _enrichment_jobs
+            set error_count = error_count + 1
+            where id = ?
+        """,
+            (job_id,),
+        )
+
     async def get_config_form(self, datasette: "Datasette", db: "Database", table: str):
         return None

@@ -85,7 +113,6 @@ class Enrichment(ABC):
     ):
         pass

-    @abstractmethod
     async def enrich_batch(
         self,
         datasette: "Datasette",
@@ -96,7 +123,36 @@ class Enrichment(ABC):
         config: dict,
         job_id: int,
     ):
-        raise NotImplementedError
+        "Enrich a batch of rows"
+        for row in rows:
+            try:
+                ids = [row[pk] for pk in pks]
+                await async_call_with_supported_arguments(
+                    self.enrich_row,
+                    datasette=datasette,
+                    db=db,
+                    table=table,
+                    row=row,
+                    pks=pks,
+                    ids=ids,
+                    config=config,
+                    job_id=job_id,
+                )
+            except Exception as e:
+                await self.log_error(db, job_id, ids, str(e))
+
+    async def enrich_row(
+        self,
+        datasette: "Datasette",
+        db: "Database",
+        table: str,
+        row: dict,
+        pks: list,
+        ids: list,
+        config: dict,
+        job_id: int,
+    ):
+        "Enrich a single row"

     async def increment_cost(
         self, db: "Database", job_id: int, total_cost_rounded_up: int
diff --git a/tests/conftest.py b/tests/conftest.py
index c413ee0..9a70a8c 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -14,9 +14,25 @@ class MultiCheckboxField(SelectField):

 @pytest.fixture(autouse=True)
-def load_uppercase_plugin():
+def install_plugins():
     from datasette_enrichments import Enrichment

+    class RowByRowDemo(Enrichment):
+        name = "Row by row demo"
+        slug = "byrow"
+
+        async def enrich_row(
+            self,
+            datasette,
+            db: Database,
+            table: str,
+            row: dict,
+            pks: List[str],
+            config: dict,
+            job_id: int,
+        ):
+            print("Have not quite got design right yet")
+
     class UppercaseDemo(Enrichment):
         name = "Convert to uppercase"
         slug = "uppercasedemo"
@@ -58,15 +74,15 @@ def load_uppercase_plugin():
             # Wait 0.3s
             await asyncio.sleep(0.3)

-    class UppercasePlugin:
-        __name__ = "UppercasePlugin"
+    class TestPlugins:
+        __name__ = "TestPlugins"

         @hookimpl
         def register_enrichments(self):
-            return [UppercaseDemo()]
+            return [UppercaseDemo(), RowByRowDemo()]

-    pm.register(UppercasePlugin(), name="undo_uppercase")
+    pm.register(TestPlugins(), name="undo_test_plugins")
     try:
         yield
     finally:
-        pm.unregister(name="undo_uppercase")
+        pm.unregister(name="undo_test_plugins")

I'm going to leave this for a bit, and inform the design of it from plugins that I and others have created.


Cldfbench

@johenglisch Do we know, why the Homonym column is not included in the new CLDF here: https://github.com/dictionaria/palula/pull/1/files?diff=split&w=1#diff-71461c25688b8e8d07a1270715035d32b5e00ae2d9ecc06014a9cfbf21c4a987
?

Hm, I don't know why the homonym number was in there to begin with -- it's mentioned neither in the md.json nor in pydictionaria's default values…
We could add it to the md.json but that would make this the only submission that includes the original \hm markers from the SFM input, as far as I can tell.

Okay, \hm → Homonym used to be part of pydictionaria's defaults but got removed at some point.  So this column was just an artifact from way back when.

It's a bit difficult, to assess the impact on the CLDF data when all rows have changed. But I guess all of this can be explained. examples.csv doesn't have media IDs, because there's no media for Palula, etc.

I think we can merge this, as soon as loading the production db from this CLDF is implemented.


CLI wallet command "get_block" should show block_id

locked >>> get_block 40900
get_block 40900
{
  "previous": "00009fc34e4ade62dede6c202f294e8cd1e393f4",
  "timestamp": "2015-08-20T07:11:55",
  "witness": "1.6.2",
  "next_secret_hash": "01741cf716df5d55ea806f2762619a85555e1fa4",
  "previous_secret": "96702037462c0ef47b15e6f7be96c051c46bb28c",
  "transaction_merkle_root": "0000000000000000000000000000000000000000",
  "extensions": [],
  "witness_signature": "20208487e3194e105b8160cad15e9b35285b5d2852e8f8d4d1b960d48a7f313d3d357dd0334f90dd5f2135d8834795aa78c4759341a9abbb5484e6fc77734bd9b0",
  "transactions": []
}

Now it has this info.


neonavigation: 0.12.1-1 in 'noetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository neonavigation to 0.12.1-1:

upstream repository: https://github.com/at-wat/neonavigation.git
release repository: https://github.com/at-wat/neonavigation-release.git
distro file: noetic/distribution.yaml
bloom version: 0.11.2
previous version for package: 0.12.0-1

costmap_cspace

No changes

joystick_interrupt

No changes

map_organizer

No changes

neonavigation

No changes

neonavigation_common

No changes

neonavigation_launch

No changes

obj_to_pointcloud

No changes

planner_cspace
* Improve test logs on timeout (#673 <https://github.com/at-wat/neonavigation/issues/673>)
* planner_cspace: fix map update range (#672 <https://github.com/at-wat/neonavigation/issues/672>)
* planner_cspace: clear velocity of dummy_robot on position set (#669 <https://github.com/at-wat/neonavigation/issues/669>)
* planner_cspace: fix flaky action tests (#665 <https://github.com/at-wat/neonavigation/issues/665>)
* planner_cspace: fix planner_cspace_msgs version constraint (#663 <https://github.com/at-wat/neonavigation/issues/663>)
* Contributors: Atsushi Watanabe

safety_limiter
* safety_limiter: update config to stabilize simulation test (#668 <https://github.com/at-wat/neonavigation/issues/668>)
* safety_limiter: fix flaky simulation tests (#664 <https://github.com/at-wat/neonavigation/issues/664>)
* Contributors: Atsushi Watanabe

track_odometry

No changes

trajectory_tracker
* trajectory_tracker: relax test conditions (#674 <https://github.com/at-wat/neonavigation/issues/674>)
* Improve test logs on timeout (#673 <https://github.com/at-wat/neonavigation/issues/673>)
* trajectory_tracker: throttle tf exception logs (#670 <https://github.com/at-wat/neonavigation/issues/670>)
* trajectory_tracker: improve test stability (#667 <https://github.com/at-wat/neonavigation/issues/667>)
* Contributors: Atsushi Watanabe

Holding for Noetic sync

New version is released: https://github.com/ros/rosdistro/pull/36346


[zh] Update reference\glossary (7)

Update about reference/glossary,this chapter is often used, so make adjustments,and ensure all these files were still in sync with English upstream now.
the following
content/zh-cn/docs/reference/glossary/cni.md
content/zh-cn/docs/reference/glossary/container-runtime-interface.md
content/zh-cn/docs/reference/glossary/container-runtime.md
content/zh-cn/docs/reference/glossary/container.md
content/zh-cn/docs/reference/glossary/containerd.md

Signed-off-by: ydFu<EMAIL_ADDRESS>

/approve

/lgtm


Channel Close. Loss all my fund.

What do I need to do to get my fund back?Thanks.
Channel ID: 06c5b23fedca775ed327d7492b32f5269c9397f7eb4f7274b5eafc40355f71b7

Submit the logs and the node id. We can take a look.

I found the logs but where  can I find the node id?
mutiny-logs.txt

It's in the admin settings at the top

Found it. Thank you.
03f4b5e556d9c59d3fe40e2a512a85fcc42e04d5b016f4650b3fb3d0e8bef4de49

Does it sound accurate that it was for about 62,193 sats?
There's a missing channel update that isn't in the logs. Do you use the same wallet on multiple devices? What's the current os/browser that you sue?

Yes. 62k sats sounds about right. I did not know that I cannot run 2 devices at the same time for the same wallet. Right now, I run it in my iPhone. I think Safari.

I did not know that I cannot run 2 devices at the same time for the same wallet

You can, but I'm curious if you did or not. Because there's either some missing logs that could be a result of the state not persisting or from it being on a different device. So you only run on the same phone?

Yes i did try to run on a different device.
On Sun, Sep 24, 2023 at 17:26 Tony Giorgio @.***> wrote:

I did not know that I cannot run 2 devices at the same time for the same
wallet
You can, but I'm curious if you did or not. Because there's either some
missing logs that could be a result of the state not persisting or from it
being on a different device. So you only run on the same phone?
—
Reply to this email directly, view it on GitHub
https://github.com/MutinyWallet/mutiny-web/issues/557#issuecomment-1732684143,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5EWHVF45GBQFWRGAYJ35QTX4CXQZANCNFSM6AAAAAA5ENSPPU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Do you still have that device around to get the logs off of?

I deleted it. It was from my tablet
On Sun, Sep 24, 2023 at 17:51 Tony Giorgio @.***> wrote:

Do you still have that device around to get the logs off of?
—
Reply to this email directly, view it on GitHub
https://github.com/MutinyWallet/mutiny-web/issues/557#issuecomment-1732688730,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5EWHVAR55MEG4HMQKPYEM3X4C2PFANCNFSM6AAAAAA5ENSPPU
.
You are receiving this because you authored the thread.Message ID:
@.***>

That's fine, would have helped prevent the issue going forward, but odds are there was a bug with the multi device syncing and that's why it happened. I'm pretty sure the funds are on the LSP side, so I'll talk to them tomorrow. Can you provide a bitcoin address we can refund the payment to? Either here or email us again.

lnbc1pj3pkfjpp5jtdemerq6dpwp5ulgcq2erh7rqd3w6ejw5uqz8y5dr03ezgxvqrsdqqcqzzsxqyz5vqsp53awyrhrpcvchz3crlawnzfz9xqjvtxqpr4qdmkptrhk32n2e4ucs9qyyssqgxxwf5su4zapee2s8l94vseusvnudls6kzjpgtgj2unc9n0ghsu5j092z4gksgde5fger57zy6j9xxka6juwhguxdp623gcfxxjc8ygp68puxp
On Sun, Sep 24, 2023 at 19:24 Tony Giorgio @.***> wrote:

That's fine, would have helped prevent the issue going forward, but odds
are there was a bug with the multi device syncing and that's why it
happened. I'm pretty sure the funds are on the LSP side, so I'll talk to
them tomorrow. Can you provide a bitcoin address we can refund the payment
to? Either here or email us again.
—
Reply to this email directly, view it on GitHub
https://github.com/MutinyWallet/mutiny-web/issues/557#issuecomment-1732718375,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5EWHVC52EXNQGRR2TOXXRDX4DFMJANCNFSM6AAAAAA5ENSPPU
.
You are receiving this because you authored the thread.Message ID:
@.***>

It's not going to be immediate and will take up to a few days to verify with the LSP, please send a bitcoin address instead.

bc1q87u46v4uzx4gytd25rv6x4e4dxz29cnv6y08hd8myefdcmtu6caqga6jcp
On Sun, Sep 24, 2023 at 21:02 Tony Giorgio @.***> wrote:

It's not going to be immediate and will take up to a few days to verify
with the LSP, please send a bitcoin address instead.
—
Reply to this email directly, view it on GitHub
https://github.com/MutinyWallet/mutiny-web/issues/557#issuecomment-1732790888,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5EWHVBXWXF5SSSBSJAC4UTX4DQ2NANCNFSM6AAAAAA5ENSPPU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi Tony, any update?  :)

Should have been sent earlier today.

Awesome, thanks for the update!
On Thu, Sep 28, 2023 at 8:55 PM Tony Giorgio @.***>
wrote:

Closed #557 https://github.com/MutinyWallet/mutiny-web/issues/557 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/MutinyWallet/mutiny-web/issues/557#event-10505902418,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5EWHVCGMFBHQGRSFCTFPDDX4YTAPANCNFSM6AAAAAA5ENSPPU
.
You are receiving this because you authored the thread.Message ID:
@.***>


It is impossible to take a screenshot on the screens.

Description:
Only on the" start phrase " screen the ability to take a screenshot should be disabled. On all other screens, the user can take a screenshot.
Steps to behaviour to reproduce:
Precondition: app installed.

Go to wallet.
Tap button "create new wallet"
Go to the screen "seed phrase" and try to make screenshot. Screenshot can't be done.
Go back to the previous screen and take a screenshot.
Expected: Screenshot can be done.
Actual: Screenshot can't be done.

Only on Seed phrase screen screenshot should be forbiden
For now it's also forbiden on Confirm seed phrase screen

Checked


better login flow

Right now we want URL+token in the environment (perhaps that should become a config file, although there should not be much more to config there - see #9). However, https://developers.home-assistant.io/docs/auth_api/ exists, and I suspect we could do some convenient flow with that. Perhaps even with a QR for a smartphone?

https://developers.home-assistant.io/docs/api/native-app-integration/setup


crash in canRemoveVertex

see DetourTileCacheBuilder.cpp
in canRemoveVertex
// Find edges which share the removed vertex.
unsigned short edges[MAX_REM_EDGES];
I compare the func in RecastMesh.cpp
it seem to be  edges[MAX_REM_EDGES * 3]

Yup have hit this also, it seems edges should be declared as edges[MAX_REM_EDGES * 3]

@SpangMcgraw Do you have a repro case I can use to test this?


[Feature] Add a button to reset scoring algorithms for all characters

*** Motivation
Currently the only way to undo scoring changes is to revert characters one by one. But its not always clear which characters have been changed.
Objective

Add a new button on the Scoring Algorithm modal to the right of "Reset to default", called "Reset all characters"

This button should be a Red danger button from antd
The button should have a popover confirmation: "Are you sure you want to reset the scoring algorithm for all characters?" Yes/No

hi! wld like to give this a try

Released in https://github.com/fribbels/hsr-optimizer/pull/298


Implement the supersmoother algorithm

Note that this depends on the supersmoother package, which is quite light-weight and can be installed via pip install supersmoother

See an example of it in action here: http://nbviewer.ipython.org/github/jakevdp/periodogram/blob/supersmoother/examples/SuperSmootherExample.ipynb

Looks great!


Unable to checkout - JavaScript / Vue Errors

When checking out on the store linked below (legend) I'm not able to complete the process. I add my private / pub key to the checkout form and click "Checkout". On clicking checkout, there is no change in the UI, but I can see JS errors in the dev console.
Stall: https://legend.lnbits.com/nostrmarket/market?merchant_pubkey=a7e8069e57ec8ff359d994621e8a492930f1a2ea3f862629e54e2ed627d182e8&stall_id=cAKpWpxTCZpcRQ5ZG2Jydo
Images attached

Chrome console log here
legend.lnbits.com-1693476592945.log

This is an old UI. Please check: https://lnbits.github.io/nostr-market-app/market/#/

@motorina0 should the market client be removed / updated in the extension sidebar?

@motorina0 should the market client be removed / updated in the extension sidebar?

no, in the new version of the extension the same SPA (as the one here https://lnbits.github.io/nostr-market-app/market/#/) is hosted and served from the LNbits extension (the link works)
this is in case the users of the market do not want to access a public page


Roll engine 38ac5f30a702..33b0082b1e5b (3 commits)

https://github.com/flutter/engine/compare/38ac5f30a702...33b0082b1e5b
git log 38ac5f30a7026e870619c2e8e8c99c070d74036f..33b0082b1e5b296fc553cbcd67400a9efccc25f8 --no-merges --oneline
33b0082b1 Roll src/third_party/skia a022b0fdc441..7217e22822b2 (1 commits) (flutter/engine#10200)
4ee453d24 Roll fuchsia/sdk/core/linux-amd64 from NDQim5iXsGvfeCYhlEPR_KlvZv33t_0m7BMA41mj8HQC to RbDm6nqefHOlinm0ulXGeQqpMp1hMsBIpfrBAElpkhwC (flutter/engine#10199)
19760216a Roll fuchsia/sdk/core/mac-amd64 from gXIxRFXOagEFKXR0YCwZPnoFd5HsrVLysQ2gQyvtk3kC to vBbEgWegVmypZ-HnXDLc8NopkD3SLzco2m6F5USDhLUC (flutter/engine#10198)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (cbracken@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/5985908933787648 , https://cirrus-ci.com/task/5000746515300352

Commit queue failed; closing this roll.


There seems to be a problem with the player's movement

Can't run in the stairs

Players will be returned to their original positions

it's snapping the player back

have you got cache-chunks in the config set to true?

Yes

have you got cache-chunks in the config set to true?

try updating to the version I just released https://github.com/Hellohi3654/Geyser/releases/latest

I just tested and can see what you mean I will try and fix this issue

I have fixed this issue in the lastest release


[AutoPR reservations/resource-manager] [Hub Generated] Review request for Microsoft.Capacity to add version preview/2019-04-01

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5745

(message created by the CI based on PR content)

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/4792


Change the comment sigil

If we go for the hashtags in #7, we'll need to find another sigil for comments.  @Pike suggested that a simple tool which helps visualize different options might be useful. I consequently created https://people-mozilla.org/~stas/sigils/.

I like -- for comments: https://people-mozilla.org/~stas/sigils/?comment=--&trait=%23

The # for grammar is easier on me than the + was.
That said, I find -- a bit hard on the eye for multiline comments. Playing around with // felt easier to read to me.

I don't like --, and I've been bitten so many times by auto-correct before, trying to be smart and changing my -- to – in IRC conversations.
// seems like a natural alternative.

OK, let's go with //.

IIRC the plan was to run a mini UX survey among 4-5 users. Did the plan changed?

No, the plan didn't change. Over the course of last week I talked to Flod, Théo, Stef and Piotr.  Flod responded above, Stef liked # for tags and // for comments but in general had reservations regarding our use of brackets and said he'd prefer more sigils instead. Piotr didn't have an opinion and in general felt that FTL was complicated. Théo said he needed more time to familiarize himself with core concepts of FTL before he could answer.
My take-away is that conservative changes that can be reasonably justified are OK. Which is why I'd like to go ahead with // as the sigil for comments and with # for tags in #7.


Allowing withVerification to remove all options if none are valid

CATEGORY
Choose one

[x] Bug Fix
[ ] Enhancement (new features, refinement)
[ ] Refactor
[ ] Add tests
[ ] Build / Development Environment
[ ] Documentation

SUMMARY
Previously, I was only allowing options to be filtered if there were existing validOptions, but it was preventing filtering out all options if none are valid.
TEST PLAN
Set up control overrides to use one of the controls using withVerification
Call a getEndpoint with no valid options
Confirm that no options show up in the dropdown
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

REVIEWERS
@kristw @graceguo-supercat

Codecov Report

Merging #7652 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #7652   +/-   ##
=======================================
  Coverage   65.57%   65.57%
=======================================
  Files         435      435
  Lines       21754    21754
  Branches     2394     2394
=======================================
  Hits        14266    14266
  Misses       7367     7367
  Partials      121      121

Impacted Files
Coverage Δ

...c/explore/components/controls/withVerification.jsx
96.77% <100%> (ø)
:arrow_up:

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 1cd0e7f...ce82c97. Read the comment docs.

ping @kristw @graceguo-supercat


Add matchedRoutePath to Request

We're in the processing of adding request tracing to all of our java systems, all of which are using Spark as their web framework. To do so we implemented global before and an afterAfter filter which records information about the request and the response and sends it off to our tracing implementation. After the first version was released we noticed an improvement could be made by sanitizing paths params and using the route parameter key as the cleaned version.
This technique was noted in https://github.com/perwendel/spark/issues/959 and https://github.com/perwendel/spark/issues/1048 with https://github.com/perwendel/spark/pull/1049 appearing to close both those issues.
The problem for our use case occurs because we implement automatic tracing of requests as ALL_PATHS filters. This becomes a problem because matchedUri() in a global after filter will return all paths and not that actual matched route path (https://github.com/perwendel/spark/pull/1049#issuecomment-421309271).
The proposal in this PR is to introduce a new field called matchedRoutePath with a getter and setter. The setter records the path during the route execution so it is available in the getter for after and afterAfter filters to use.

The naming of this field and thus the getter is up for debate. I had toyed with using an original prefix but decided it didn't make sense. Arguably this could be matchedRoute but I decided to leave that available to return the actual RouteMatch object should that be required in the future.

Hmm, I've reviewed this quickly and I fail to see how this new method would return anything different the the already existing matchedPath() in Request?

I've checked some more and concluded that this is just duplicate functionality of matchedPath(). I'll close for now.

Hey there, glad to get the review!
Initially I thought matchedPath() was what I was looking for but it didn't turn out to be the case which is why the PR ended up being raised with very similar yet subtly different semantics.
The problem with matchedPath() is that it returns the matched path of the filters instead of the path of the original matching route that the filter is operating on. This means that when you're looking to attach tracing information from an afterAfter(), for example, you'll get the filters matched path which will generally never be the actual route that was matched. In most cases it will indeed return ALL_PATHS==+/*paths.
The following snippet shows the difference adapted from one of the new tests added:
@Test
    public void shouldBeAbleToGetTheMatchedRoutePathInAfter() throws Exception {
        final AtomicReference<String> matchedRoutePath = new AtomicReference<>();
        final AtomicReference<String> matchedPath = new AtomicReference<>();
        after((q, p) -> {
            matchedRoutePath.set(q.matchedRoutePath());
            matchedPath.set(q.matchedPath());
        });

        http.get("/users/bob");

        assertNotNull(matchedRoutePath.get());
        assertThat(matchedRoutePath.get(), is(THE_MATCHED_ROUTE));
        assertThat(matchedPath.get(), is(THE_MATCHED_ROUTE)); // Assertion Failure
    }

This fails because the last assertion for the matchedPath.get() actually returns +/*paths which is the ALL_PATHS filter used as the default if none is specified.
This behaviour is further reinforced by the tests like this one. The test ensures the matchedPath() returns the filters path and not the original THE_MATCHED_ROUTE that was called.
https://github.com/perwendel/spark/blob/10ddf62b1b66f52d1e8f7a0908af3aed28fb0a94/src/test/java/spark/RequestTest.java#L143
This situation was pointed out in the original implementation of matchedPath() here https://github.com/perwendel/spark/pull/1049#issuecomment-421309271 but really could be considered a feature and I do feel both are required to cover both cases.
Happy to discuss more cases and why I ended up requiring this feature. I've been using it for quite some time now.


Support S3-compatible services that don't rely on X-Amz-Security-Token

The DigitalOcean S3 equivalent (Spaces) does not use the X-Amz-Security-Token header. This change makes the session/security token optional.

Thanks for the PR. I should maybe update the readme with details on DigitalOcean.


[Airbrake] [Production] undefined method `ancestors' for nil:NilClass

Airbrake error: #7419
Airbrake project: ETMoses
Error type: NoMethodError
Error message: undefined method `ancestors' for nil:NilClass
Where: gas_asset_lists#load_summary
Occurred at: Jun 20, 2016 09:01:22 UTC
First seen at: Jun 20, 2016 09:01:22 UTC
Occurrences: 1 (1 since last deploy on Jun 12, 2016 15:59:55 UTC)
URL: https://moses.energytransitionmodel.com/testing_grounds/485/gas_asset_lists/6/load_summary
File: [PROJECT_ROOT]/app/models/network/path.rb
Backtrace:
[PROJECT_ROOT]/app/models/network/path.rb:16:in find
[PROJECT_ROOT]/app/models/calculation/technology_load.rb:30:in block (2 levels) in run
[PROJECT_ROOT]/app/models/calculation/technology_load.rb:27:in each
[PROJECT_ROOT]/app/models/calculation/technology_load.rb:27:in block in run

Dup: #1100