Results not appearing when (bad?) xml in response?

Type: Bug
varchar table column containing xml-looking data returns no data if xml looks off?
example:
declare @test table (NotXml varchar(max))

insert into @test values (
    '{0}
xx'
)

select * from @test

Expected: Single row retured:
 '{0}
xx'

Actual: Returns no results
Think I can see the results appear briefly then disappear again.
Removing either the [br] or the 'xx' (either from the initial insert data or via a replace() in the query) returns expected results

Azure Data Studio version: azuredatastudio 1.47.0 (c7c2b2f21505562d21972d4c135119d00806db4f, 2023-11-07T17:17:45.669Z)
OS version: Windows_NT x64 10.0.22621
Restricted Mode: No
Preview Features: Enabled
Modes:

System Info

Item
Value

CPUs
12th Gen Intel(R) Core(TM) i7-1260P (16 x 2496)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
31.61GB (8.53GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (9)

Extension
Author (truncated)
Version

copilot
Git
1.82.15

admin-pack
Mic
0.0.2

agent
Mic
0.49.0

dacpac
Mic
1.14.0

import
Mic
1.5.5

profiler
Mic
0.14.0

whoisactive
Mic
0.1.5

azdata-sanddance
msr
4.0.0

vscodeintellicode
Vis
1.2.1

Hi @RandomBlueThing
This has been fixed in the latest insiders build, and will be included in next stable release.
Thanks!


Revert "Update releases.json"

Reverts dotnet/core#6166

Why are we reverting this change?


Allow specifying a custom login page template.

It would be useful to be able to override the template used for the login page without modifying the source code of cla-assistant itself.
This pull request allows specifying the location of the template used for the login page in an environment variable so that an alternative login page can be used whilst leaving the installation of CLA assistant pristine.
Closes #363.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@chrisgavin could you sign the CLA please, so I can merge your PR?

Thanks. I completely forgot to sign the CLA. :laughing:


Some platform icons are missing

 I'm referring to the icons such as the controller as you can see in this image. I want to have the Switch platform icon like I do with the PS and Xbox icons, but none of the Nintendo consoles are showing them.
Also, I'm noticing when looking at other people's screenshots that their platform/info banners don't overlap the covers like they do in my library. Is there some setting I've modified that may have caused this? I did a bunch of silly things when I first customized the theme but I can't seem to find the cause.

I added Icon for all (almost) Library/Source for DuplicateHider in v3.5. It should be working fine after the update.
Ill wait before closing the issue in case its not working, if everything is working as intended, let me know or close the issue.

Amazing work as always, that works perfectly. I also just realised my Game Boy games didn't have a source as well. So if somebody else finds this thread because they had a similar issue, make sure to check your source as well otherwise they'd just show the default controller icon.


Increase default max feed concurrency from 25% to 30% on the way to 4…

…0-50%
@geirst PR
@yngveaasheim FYI

@geirst vote that we postpone this one til critical mass is back from vacation.

Critical mass in place.


Render doesn't work as expected

question1:
I have a canvas and its ctx, I want to draw some elements and stroke(),then change ctx.strokeColor, continue to draw more elements ,it doesn't work any more.
question2:
I tried the ctx.RenderPath() and canvas.RenderPath(),both failed,no output,I even used canvas.Identity as matrix,configed the style :
gocanvas.Style{
Stroke:      gocanvas.Paint{Color: color.RGBA{92, 92, 92, 255}},
StrokeWidth: 2,
DashOffset:  0,
Dashes:      []float64{0},
}.

question3: I created 3 canvas one by one,set ctx one by one, but can only draw on the first canvas,that's weired.

Can you please write more clearly? I really don't understand any of your problems. Post the code you're using, the result you're expecting and the result you're getting instead.

import (
"image/color"
gocanvas "github.com/tdewolff/canvas"
"github.com/tdewolff/canvas/renderers/rasterizer"
)
func main() {
var DashRingStyle = gocanvas.Style{
Stroke:      gocanvas.Paint{Color: color.RGBA{81, 102, 102, 1}},
StrokeWidth: 1,
Dashes:      []float64{5, 5},
}
rc := rasterizer.New(1920, 1080, gocanvas.DPMM(2), gocanvas.DefaultColorSpace)
p := &gocanvas.Path{}
m := gocanvas.Identity
p.MoveTo(0, 0)
p.LineTo(1500, 1500)
rc.RenderPath(p, DashRingStyle, m)

}
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x1165602]
goroutine 1 [running]:
github.com/tdewolff/canvas.offsetSegment(0xc0022b43f0, 0x3fe0000000000000, {0x0, 0x0}, {0x0, 0x0}, 0x0?)
/Users/GaoMing/go/pkg/mod/github.com/tdewolff/canvas@v0.0.0-20230330213711-30ef6b683296/path_stroke.go:468 +0x2042
github.com/tdewolff/canvas.(*Path).Stroke(0x0?, 0x3ff0000000000000, {0x0, 0x0}, {0x0, 0x0}, 0x0?)
/Users/GaoMing/go/pkg/mod/github.com/tdewolff/canvas@v0.0.0-20230330213711-30ef6b683296/path_stroke.go:574 +0x118
github.com/tdewolff/canvas/renderers/rasterizer.(*Rasterizer).RenderPath(0xc0022b2000, 0xc0022b4000?, {{{0x0, 0x0, 0x0, 0x0}, {0x0, 0x0}}, {{0x51, 0x66, ...}, ...}, ...}, ...)
/Users/GaoMing/go/pkg/mod/github.com/tdewolff/canvas@v0.0.0-20230330213711-30ef6b683296/renderers/rasterizer/rasterizer.go:84 +0x23b
main.main()
/Users/GaoMing/Downloads/0405/main.go:22 +0x278
exit status 2

You forgot to set the stroke capper and joiner, which are nil and throw a panic. I've fixes this by stating that when nil, the capper is assumed to be ButtCap, and the joiner MiterJoin`.

So I need to reinstall the canvas project then it could work?

Yes, you should update the library with go get -u github.com/tdewolff/canvas


Gray scale without any result

Hi i am using my laptop CORE i7 VirtualBox Ubunto 16.04 LTS , and  NVIDIA GeForce GT 740M
i have installed all files in daknet_ros according to your instructions,
and i run the test code , it runs Successfully , and this is the output :
1)

2)

3)

I run yolo_v3  , using the instruction :
roslaunch darknet_ros yolo_v3.launch
then i publish the image to the specific Topic : "/camera/rgb/image_raw"

This is the output:

2)

the output did not include the image after classification and detection and a gray screen appear
Any idea to fix this Problem? , Thanks.

hello, I roslaunch darknet_ros darknet_ros.launch.The same problem is that "waiting for image".How can I resolve this problem.

This is a different problem.
This is because the yolo-code waiting an image to subscribe it on a specific topic  , so you should create a node that publish an image to the same topic.


update

Coverage remained the same at 55.179% when pulling bc6093c702cb37adfdae078c06f8670ee251e27f on wy65701436:drone-test into ec8355e6bd1a5b01c90f7efc9a4ec44bd531ef2f on vmware:drone.

Coverage remained the same at 55.179% when pulling 092672e1d406b7c4a19f78f8e4f9b63b2ab749a7 on wy65701436:drone-test into ec8355e6bd1a5b01c90f7efc9a4ec44bd531ef2f on vmware:drone.

Coverage remained the same at 55.179% when pulling af15c61bbae5df4ef67e883792e8b7958695d320 on wy65701436:drone-test into ec8355e6bd1a5b01c90f7efc9a4ec44bd531ef2f on vmware:drone.

Coverage increased (+0.05%) to 55.226% when pulling<PHONE_NUMBER>e090a19eb1e8e35526cb35bca4eea6 on wy65701436:drone-test into ec8355e6bd1a5b01c90f7efc9a4ec44bd531ef2f on vmware:drone.

Coverage increased (+0.05%) to 55.226% when pulling 7af61c2d244a1fe07f50ceac1d3c0393f13a5f2d on wy65701436:drone-test into ec8355e6bd1a5b01c90f7efc9a4ec44bd531ef2f on vmware:drone.

Coverage remained the same at 55.179% when pulling 7bd7e68b7ac52fab2e2b881859840b8b2d14b9a5 on wy65701436:drone-test into ec8355e6bd1a5b01c90f7efc9a4ec44bd531ef2f on vmware:drone.


HTML

HTML
User Story
As a bootcamp student
I want the prework notes to be structured on a webpage
so that I can easily find and read information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I visit the website in my browser
THEN I see four boxes titled HTML, CSS, GIT, and JavaScript with associated notes listed

completed the steps in the pre-work for this issue


Document how arrays should be represented in the JSON ABI file and in the function selector

See https://github.com/FuelLabs/sway/pull/1632:

Arrays in the JSON ABI file: insert their element types in the "components" section. Example:
If [Person; 2] is an argument to a contract method where Person is defined as struct Person { name: str[4] }, then the corresponding JSON ABI entry looks like:

{
        "name": "param1",
        "type": "[struct Person; 2]",
        "components": [
          {
            "name": "r#array_element",
            "type": "struct Person",
            "components": [
              {
                "name": "name",
                "type": "str[4]",
                "components": null
              }
            ]
          }
        ]
      },

In the function selector, arrays are represented as a[<type>; <size>].

W.r.t a[<type>; <size>], that's gonna be the actual string, right? As in, if I had fn(a: [u64; 2]) the fn selector would be the first 4 bytes of the hash of the string "[u64; 2]"? Also, how about that space between ; and 2? Must have space or must not have the space?

Very good point about the space. For consistency, I should probably take it out. I'll do that everywhere shortly.
And yeah, similarly to struct argument that show up as s(..), I'm suggesting that arrays show up as a[..].

Nice, so without the space, "[u64;2]".
And yes, a[..] makes sense to me!

Tuples were not handled properly as well. Fixing them in https://github.com/FuelLabs/sway/pull/1653 and I just updated the title and description of this issue accordingly.


Fix useId hydration error in strict mode

Closes #3637, closes #3637
This fixes a hydration error when using useId with React StrictMode. Due to component render functions being called multiple times on the client but not on the server, the ids would mismatch. Several approaches to fixing this have been proposed (thanks to @ciffelia and others). One in #3637 is to switch to React.useId on React 18, which we still might do, but we need to fix 16 and 17 as well. Another in #3963 is to require a new strictMode prop to explicitly opt-into double incrementing on the server. That will be harder to do correctly, especially in libraries where StrictMode is unknown.
This PR implements an alternate approach using some React internals to get a stable reference to the Fiber node for the component. With this we can detect the second render and reset our counter back to what it was the first time, which in effect means it is only incremented once. This ensures the id never changes after the first render and therefore matches the server. See the code comment for a more detail explanation.
As mentioned before, we may still want to switch to React.useId for React 18 to handle other edge cases I'm not aware of with the new streaming renderer, though this should continue to work as before if you put an SSRProvider around every Suspense boundary. Switching that would change the format of the returned ids though, so might break people's unit tests (especially snapshots), so I am hesitant. Thoughts appreciated.

@devongovett Not sure where's a better place for this comment, so posting here also, for visibility:
https://github.com/adobe/react-spectrum/pull/3963#issuecomment-1428707250

@devongovett Hi , thanks for your PR.
I'm using React on Rails for SSR and I wrapped my bundle with the SSRProvider and used useSSRSafeId but I still get prop didn't match error.
Any thoughts?
"react": "16.13.1"
"@react-aria/ssr": "^3.6.0"
"@react-aria/utils": "^3.16.0"

@devongovett Hi , thanks for your PR.
I'm using React on Rails for SSR and I wrapped my bundle with the SSRProvider and used useSSRSafeId but I still get prop didn't match error.
Any thoughts?
"react": "16.13.1"
"@react-aria/ssr": "^3.6.0"
"@react-aria/utils": "^3.16.0"


Extraction failed

https://www.facebook.com/events/278212406489274
Don't know if facebook doesn't want this type of tools on his site, i will be glad to read your answer !

@FaTalR I think that a Facebook event is a special type of content, not regular article.

Thanks for your reply, I have two more questions about your excellent work: is it in your plans to extract the favicon from articles in the future? And I'm really new with this kind of tools so I don't know if I can code it to personalize its behavior, for example to extract a facebook event?

@FaTalR thank you for your compliment.
I have no plan to extract favicon from article because it's not must-have info, just something to decorate in the view. In additional, it's quite easy to get favicon from a website when you have its URL already, for example  using Google S2: https://www.google.com/s2/favicons?domain=www.facebook.com
Facebook Events are not same as regular article, sometimes they aren't public. The content structure of an event is far different from an article. So you should use a particular tool, such as Facebook Graph API to get it:  https://developers.facebook.com/docs/graph-api/reference/event

Ah yes thanks, i had forgot S2.
Facebook Graph could have been relevant, but it seems that it does not allow to extract events from users or from pages when we are not a "Facebook marketing partners". Sorry to come back to this, but is it possible or very difficult to add a conditional statement in your code to extract this type of URL?

@FaTalR basically it's not very difficult, you just need to check the URL, if it belongs to Facebook event, extract it with your own method. However, this lib has been refactored to focus on only purpose: extract general article content. Its current architecture may be not flexible enough.


NIFI-5535 NIFI-4713 - Change metric tagging in DataDogReportingTask

Description of PR
This continues #4637, copying the description:
This resolves a few pain points related to the DataDogReportingTask that we've been hearing from customers, tracked in the following tickets:

NIFI-4713 - Processor name shouldn't be embedded into metric name
NIFI-5535 - Reporting task generates too many custom metrics (due to metric names and tags)

This PR contains the following changes (unchecked items still TODO):

[x]  Remove all tags from metrics except from env (for all metrics) and processor (for processor metrics only).
[x]  Drop the processor name from the name of metrics (eg nifi.exampleProcessor.FlowFilesReceivedLast5Minutes -> nifi.FlowFilesReceivedLast5Minutes, and nifi.flow.ActiveThreads -> nifi.ActiveThreads) and submit it as a tag

These changes are so that the DataDogReporting task plays better with Datadog, in particular:

Allow users to use native functionality allowed by tagging, such as filtering, grouping, etc.
Remove drastically the amount of metric x tags possible values, in order to reduce the number of custom metrics this reporting task generates. Now number of custom metrics is 23 + 6 * num_processors, instead of potentially thousands or more.

Note: a natural follow-up to this PR would be to implement a configuration mechanism so that users have better control on what groups of metrics they'd like to collect. These groups would probably be: processors, connection_statuses, input_port_statuses, output_port_statuses, jvm, and data_flow. This has been requested in both NIFI-4713 and NIFI-5535, and would allow users to reduce even more the number of custom metrics so that only what they need is pushed to Datadog. This is completely orthogonal to what this PR focuses on: it won't require any changes to the metric names, values, or tags. So I'm keeping this for a follow-up PR.
For all changes:

[x]  Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?
[x]  Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character. (Note: this is related to two JIRA tickets so I've included both in the commit message and PR title.)
[x]  Has your PR been rebased against the latest commit within the target branch (typically main)?
[x]  Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[x]  Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[x]  Have you written or updated unit tests to verify your changes?
[x]  Have you verified that the full build is successful on JDK 8?
[x]  Have you verified that the full build is successful on JDK 11?
[x]  ~If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?~ - Not applicable
[x]  ~If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?~ - Not applicable
[x]  ~If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?~ - Not applicable
[x]  ~If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?~ - Not applicable

For documentation related changes:

[x]  ~Have you ensured that format looks appropriate for the output in which it is rendered?~ - Not applicable

Hello team! Can someone please take a look at https://github.com/apache/nifi/pull/4858? If it is deemed reasonable, we're hoping to have it merged as soon as possible :slightly_smiling_face: (edited)
mattyb149  9 days ago
It would be nice for the transport properties to add dependsOn so only the necessary properties are defined
mattyb149  9 days ago
https://nifi.apache.org/docs/nifi-docs/html/developer-guide.html#validating-processor-properties
Ofek Lev  9 days ago
Thanks! Which property are you referring to?
Joe Witt  9 days ago
In reviewing this a bit it seems like a significant behavior change.  Likely for the better but still it is worth noting/considering.
Joe Witt  9 days ago
For current users of this datadog service this will for sure change the operation for them.
Joe Witt  9 days ago
We would need to make that clear in the migration guide
Joe Witt  9 days ago
I dont yet understand how we set the tags to include things like processor names since we're taking those out of the metric name now as suggested
Joe Witt  9 days ago
is that covered properly?
Ofek Lev  8 days ago
Yes we test for the tags. How should we document this change?
Ofek Lev  7 days ago
just let me know!
Joe Witt  5 days ago
Just need it made clear in the docs for the component and on the PR.  I'd flag this in the migration guidance
New
Ofek Lev  3 hours ago
where should I add a note? or is the PR alright as-is?

I'd recommend adding the information about the behavior change in the JIRA for this so that it can be entered by the release manager into the migration guide.  Set a tag on the JIRA of 'migration' or some such and that would help.


Next.js Hydration error with inline tags

Discussed in https://github.com/markdoc/markdoc/discussions/185

Originally posted by khash August 26, 2022
Using NextJS
I'm trying to build a "hint" tag, similar to this from https://stripe.com/docs/connect/collect-then-transfer-guide

This component, should be usable within any text (like in code) and accept anything as the content of the popover (links, images, etc).
I think this is a simple use case and below is how I've reproduced it. I've removed all code that does that for simplicity in the question:
// hint.markdoc.js
export default {
  attributes: {
    caption: { type: String },
  },
  render: ({ caption, children }) =>
{caption}{children}
,
};

// test.md
This is a {% hint caption="hint"%}generated by the tag{% /hint %} as an example

This throws a NextJS Hydration error https://nextjs.org/docs/messages/react-hydration-error.
However the same code with the following works fine:
This is a
{% hint caption="hint"%}
generated by the tag
{% /hint %}
as an example

@khash just dug into this more, and this issue isn't specific to Markdoc or Next.js, but is actually just this generic React issue: https://stackoverflow.com/questions/41928567/div-cannot-appear-as-a-descendant-of-p, which stems from the W3 HTML spec: https://www.w3.org/TR/html401/struct/text.html#h-9.3.1

The P element represents a paragraph. It cannot contain block-level elements (including P itself).

This is why when you return a div, the warning shows up, but when you return a span, everything is fine.
I think we can close this issue, but let me know if you agree.

Thank you very much @mfix-stripe for looking into this and your answer.
For anyone who lands here, trying to use React Tooltip, you can avoid this problem by setting the tag property to span:
<Tooltip
      tag="span"
      html={(

          {children}

      )}>

        {caption}

</Tooltip>

@khash going to close out this issue—if we run into other similar problems, let's open up a new issue. Thanks for sharing!


Every window title is displayed as my Mac username

<Prefix>+w shows the true window names while catppuccin's theme does not somehow.

By default the theme will display the current working folder. In your case if you open tmux in your home folder you will see your username because that is the current working folder name.
If you want you can override the behaviour you can use:
set -g @catppuccin_window_default_text "#W"
This will display the application running instead of the current working folder.

By default the theme will display the current working folder. In your case if you open tmux in your home folder you will see your username because that is the current working folder name.
You can override this behaviour with: set -g @catppuccin_window_default_text "#W" set -g @catppuccin_window_current_text "#W"
This will display the application running instead of the current working folder.

Thank you for the information. I'm afraid I did not read through the document carefully. It would be helpful for new users if the document said that the @catppuccin_window_default_text is set to the working directory name.


leave team reflected in inbox

this adds back the inbox updating when you leave a team
we figure out which keys are missing and delete them explicitly
@keybase/react-hackers
cc: @mmaxim

Does this handle the case when a team reverts from complex to a simple team (after channel delete)?

works for me. goes from small to big and big to small fine


fix kind create cluster failed on linux when do integrate test manually

Signed-off-by: zackzhangkai<EMAIL_ADDRESS>Please provide a description of this PR:

Fix kind create cluster
When do integrate test on linux by hand, it will come out the errors:

make shell
./prow/integ-suite-kind.sh

✓ Installing CNI 🔌
 ✓ Installing StorageClass 💾
 ✓ Waiting ≤ 3m0s for control-plane = Ready ⏳
 • Ready after 24s 💚
ERROR: failed to create cluster: failed to write KUBECONFIG: open /config/fb379ac4: read-only file system
Stack Trace:
sigs.k8s.io/kind/pkg/errors.Wrap
	/tmp/go/pkg/mod/sigs.k8s.io/kind@v0.11.1/pkg/errors/errors.go:47
sigs.k8s.io/kind/pkg/cluster/internal/kubeconfig/internal/kubeconfig.write
	/tmp/go/pkg/mod/sigs.k8s.io/kind@v0.11.1/pkg/cluster/internal/kubeconfig/internal/kubeconfig/write.go:42
sigs.k8s.io/kind/pkg/cluster/internal/kubeconfig/internal/kubeconfig.WriteMerged
	/tmp/go/pkg/mod/sigs.k8s.io/kind@v0.11.1/pkg/cluster/internal/kubeconfig/internal/kubeconfig/merge.go:52
sigs.k8s.io/kind/pkg/cluster/internal/kubeconfig.Export
	/tmp/go/pkg/mod/sigs.k8s.io/kind@v0.11.1/pkg/cluster/internal/kubeconfig/kubeconfig.go:40
sigs.k8s.io/kind/pkg/cluster/internal/create.Cluster
	/tmp/go/pkg/mod/sigs.k8s.io/kind@v0.11.1/pkg/cluster/internal/create/create.go:154
sigs.k8s.io/kind/pkg/cluster.(*Provider).Create
	/tmp/go/pkg/mod/sigs.k8s.io/kind@v0.11.1/pkg/cluster/provider.go:183
sigs.k8s.io/kind/pkg/cmd/kind/create/cluster.runE
	/tmp/go/pkg/mod/sigs.k8s.io/kind@v0.11.1/pkg/cmd/kind/create/cluster/createcluster.go:80
sigs.k8s.io/kind/pkg/cmd/kind/create/cluster.NewCommand.func1
	/tmp/go/pkg/mod/sigs.k8s.io/kind@v0.11.1/pkg/cmd/kind/create/cluster/createcluster.go:55
github.com/spf13/cobra.(*Command).execute
	/tmp/go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:850
github.com/spf13/cobra.(*Command).ExecuteC
	/tmp/go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:958
github.com/spf13/cobra.(*Command).Execute
	/tmp/go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:895
sigs.k8s.io/kind/cmd/kind/app.Run
	/tmp/go/pkg/mod/sigs.k8s.io/kind@v0.11.1/cmd/kind/app/main.go:53
sigs.k8s.io/kind/cmd/kind/app.Main
	/tmp/go/pkg/mod/sigs.k8s.io/kind@v0.11.1/cmd/kind/app/main.go:35
main.main
	/tmp/go/pkg/mod/sigs.k8s.io/kind@v0.11.1/main.go:25
runtime.main
	/usr/local/go/src/runtime/proc.go:255
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1581
+ echo 'Could not setup KinD environment. Something wrong with KinD setup. Exporting logs.'
Could not setup KinD environment. Something wrong with KinD setup. Exporting logs.

The reason is that when create kind cluster, the kubeconfig file is the default on /config/xxx, which had no permission to write. So we set the PATH to address this issue.

Fix make gen errors, which will hint should set -mod=readonly

@zackzhangkai: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
9fc925f9721677d68ce1ad8bb7e7266ffa2bfeed
link
true
/test lint_istio

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

@zackzhangkai: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
32a289576b6bb2e1c285a5baa6feca9fa61da1c0
link
true
/test lint_istio

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

@zackzhangkai: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-pilot-multicluster-tests_istio
f11616cfc7f04c0ff01066138ca98da2d4c25bbd
link
true
/test integ-pilot-multicluster-tests_istio

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

Both of these files are in the common directory and are overridden with files from the common-files repo. The changes need to be made there, and then they will be propagated to the other repos after merging. Note that this PR does show that the changes should not negatively impact this repo once they are propagated.

https://github.com/istio/common-files/pull/485


Stability problem with radio streaming

Hi,
just want to feedback an interesting usage:
I'm using SS at home (bad 联通 connection) to connect to a server in Europe for quite a couple of years now and always had problem when streaming radio from abroad China. Stream would cut every 5mns and not recover by itself.
A couple days ago I had to switch back to SSH (to the exact same server) for some reason and realize that I can get a stable radio streaming now.
Could it be a problem in the protocol itself? Of course, I don't have the problem with good connections in general.
Also, I just realize doing some test with speedtest.net that using Privoxy in front of SS is significantly faster than direct SS. And it's filtering bad stuff.
I highly recommend this setup!

Try use AES-256-CFB encryption.
GFW is strong now xD

Ouch, just switched back from 256 to AES-128-CFB a month ago when I read somewhere that it was just enough... not an easy switch now, too many clients...
Do you really think it could make a difference? I mean, appart from the streaming, I can surely access any resources without problem (just not in a stable manner as the connection is so weak).
What about default port? Would changing it make any difference? I just can't believe GFW would be tricked by a simple port change.
@Provissy is it a coincidence your name rhyme with Privoxy? :P

:DDD
hmmm, i always use ports higher than 20000.
seems no big problems

GFW对于长时间连接并无法识别的流量，轻则劣化你的线路，重则直接掐断。你更换端口以后会明显改善，所以请尝试配置多端口，每个client尽量用不同的端口。每个端口对应的加密方式也可以不一样。推荐RC4-MD5。

如楼上所说，建议使用20000+端口，但是即使这也可能会被临时切断一分钟左右，这个谁都救不了。。。

@a1328788808 我试一试更换端口。用多端口.
但是更换端口以后，GFW不是还会发现时间连接并无法识别的流量？
为什么推荐RC4-MD5? 我以为AES-xxx-CFB是最强的？

@nodje 与加密强度没有关系。
GFW的规则是只要不能解密，就判断你的内容非法。然后就干扰你。
使用RC算法的原因是因为对于小型vps，速度上会好些。

嗯，明白了。其实RC4-MD5对小型路由器可能刚有效果。
@ElvizLai 你确定GFW的规则是不能加密？是不是要看哪一种加密连接？加入HTTPS应该不会干扰。
我感觉为了连接国外的资源用加密经常是刚快的。

HTTPS和Shadowsocks就不沾边了。
GFW规则是无法解密。

shadowsocks是多tcp连接的，一段时间内连接太多，会被干扰

你可以改到80端口试试，我改后下载很稳定了。

No further information received. Close.


[cloud_firestore_web] startAfterDocument() skipping documents with the same value.

Describe the bug
startAfterDocument() is skipping documents with the same field value as it is sorting by. It seems to be acting just like startAfter(), where this behavior would be expected.
To Reproduce
Steps to reproduce the behavior:

Create a set of documents with a field where some of the values repeat.
Query the documents and sort them by the field. Limit the query to where the query would end in the middle of two documents with the same value.
Query the next set of documents using startAfterDocument(lastDoc) where lastDoc is the last document in the first query.

Example
I have 10 documents with a "quantity" field as shown below.

Using the following code with two queries:
  CollectionReference colRef = Firestore.instance.collection('orders');
  QuerySnapshot docs = await colRef.orderBy('quantity').limit(5).getDocuments();
  print('First Query');
  docs.documents.forEach((element) => print(element.documentID));
  DocumentSnapshot lastDoc = docs.documents.last;
  QuerySnapshot moreDocs = await colRef.orderBy('quantity').startAfterDocument(lastDoc).limit(5).getDocuments();
  print('Second Query');
  moreDocs.documents.forEach((element) => print(element.documentID));

I would expect the output to be:
First Query
1004941
1004956
1004905
1004923
1004940
Second Query
1004947
1004953
1004957
1004958
1004903

(This is how it appear in Python)
But the output is:
First Query
1004941
1004956
1004905
1004923
1004940
Second Query
1004903

(This is how it appear in Flutter web)
Expected behavior
The second query should end exactly where the first query left off. BUT, it will skip all the documents with that value and go to the next.
Additional context
I did this exact same set up using the Python Admin SDK and it worked as I expected, but in Flutter it seems to skip values. I was not able to test this on Android or iOS, I was only able to test this on web.
Flutter doctor
FYI - I'm not using Android at all. Only using web.
Run `flutter doctor` and paste the output below:
[√] Flutter (Channel beta, 1.19.0-4.3.pre, on Microsoft Windows [Version 10.0.18363.836], locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
    X Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See https://developer.android.com/studio/#downloads or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions.
[√] Chrome - develop for the web
[√] Android Studio (version 3.5)
[√] VS Code (version 1.46.1)
[√] Connected device (2 available)

! Doctor found issues in 1 category.

Hi @RedTech64
Can you please provide your flutter run --verbose and a complete reproducible minimal code sample and screenshot firestore dummy data (firestore doesn't allow duplicate documents with sam ID)
Thank you

Hi @RedTech64
I have tested this on the current roadmap version like so:
      CollectionReference collectionReference = FirebaseFirestore.instance.collection('orders');
      QuerySnapshot docs = await collectionReference.orderBy('quantity').limit(5).get();
      print('First Query');

      docs.docs.forEach((element) {
        print(element.id);
      });

      DocumentSnapshot lastDoc = docs.docs.last;
      QuerySnapshot moreDocs = await collectionReference.orderBy('quantity').startAfterDocument(lastDoc).limit(5).get();

      print("Second Query");
      moreDocs.docs.forEach((element) {
        print(element.id);
      });

Everything appears to be functioning correctly and logs out as you expected:
First Query
1004941
1004956
1004905
1004923
1004940
Second Query
1004947
1004953
1004957
1004958
1004903

If the issue still exists on your current version, i'd recommend keeping an eye out on the roadmap for futher updates and releases.

@greghesp @TahaTesser
Looks like this is fixed in the latest dev version (0.14.0-dev.1). It is certainly still a bug on the current version (0.13.7). I hope this can be rolled out soon.


pretrain.py won't run with arguments

I have followed the installation instructions but when I attempt to run the provided example command:
# Run from the root of the repository
torchrun --standalone --nnodes 1 --nproc-per-node 8 scripts/pretrain.py \
  --model.vision_backbone_id "dinosiglip-vit-so-384px" \
  --model.image_resize_strategy "letterbox" \
  --model.llm_backbone_id "vicuna-v15-7b"

It returns an error:
"raise ParsingError(f"Expected a dict with a '{CHOICE_TYPE_KEY}' key for {cls}, got {raw_value}")
draccus.utils.ParsingError: Expected a dict with a 'type' key for <class 'prismatic.conf.models.ModelConfig'>, got {'vision_backbone_id': 'dinosiglip-vit-so-384px', 'image_resize_strategy': 'letterbox', 'llm_backbone_id': 'vicuna-v15-7b'}"
The script seems to run without passing in "model" modifications.
Further investigation shows this error appears for any inputs to "model" or "dataset" but not the other components of PretrainConfig

Hey @rpgrainger-ai - I'm so sorry about this, I left off a line when I was first writing up the README. I just updated the instructions, here's how you'd run the above command instead:
# Run from the root of the repository
torchrun --standalone --nnodes 1 --nproc-per-node 8 scripts/pretrain.py \
  --model.type "one-stage+7b" \
  --model.model_id "<NAME OF NEW MODEL>" \
  --model.vision_backbone_id "dinosiglip-vit-so-384px" \
  --model.image_resize_strategy "letterbox" \
  --model.llm_backbone_id "vicuna-v15-7b"

Here, model.type is important for identifying the base configuration that you want to build on top of;
the full list of model types are available in our config file; by default, if you want to run the single-stage training pipeline we detail in our paper, you always want to start with "one-stage+7b" as the base configuration.
In addition, specifying --model.model_id separately will set the actual directory path that model logs and checkpoints will be written to (otherwise, it'll default to writing things under runs/one-stage+7b).
Thanks for flagging this, and please let me know if you have any other trouble getting things running!

@siddk In the readme write the detail description about all the args which is required for fine-tuning and pertaining.


About the supplementary material...

First, I am appreciating about the excellent work which you and your colleagues have done. I am quiet interested in finetuning SAM on medical images and I found that the paper said "MedSAM may not perform well in certain rare modalities and structures". So I want to ask where could I find the "Supplementary" mentioned in the paper to get more information?

Hi @hhhyr
It is already in this repo
https://github.com/bowang-lab/MedSAM/blob/main/assets/MedSAM_supp.pdf


fix: always use POSIX-normalized paths in .pkg files

This makes it easier for TON verifiers to work with .pkg files produced on Windows
Closes #299

[x] I have updated CHANGELOG.md
[ ] I have added unit tests to demonstrate the contribution is correctly implemented It's hard to test in this case, but there is "Show an example .pkg file on Windows" section in CI
[x] I have run all the tests locally and no test failure was reported
[x] I did not do unrelated and/or undiscussed refactorings

@shaharyakir Looks like this should work for you. Please check here: https://github.com/tact-lang/tact/actions/runs/8846004791/job/24291017150?pr=300, the "Show an example .pkg file on Windows" section.

@shaharyakir Looks like this should work for you. Please check here: https://github.com/tact-lang/tact/actions/runs/8846004791/job/24291017150?pr=300, the "Show an example .pkg file on Windows" section.

Looks great. thank you for the quick turnaround!

@shaharyakir you are most welcome! This will be released with Tact v1.3.0 in a few days


Improve the ability to read data.

I suggest the following approach:
select from cluster:some_cluster - selected data from cluster (so works now)
select from class:some_class - selected data from class (all clusters for class) without class hierarchy
select from some_class - selected data from class hierarchy (so works now)

Hi guys,
Personally I think that our SQL syntax is already too cluttered of reserved words, we should work to simplify it, not to add new variants.
I'd like to drop an close this issue, WDYT?
Thanks
Luigi


[Feature request]: Show comments in a hover window

Thanks to the author! I've been looking for a similar plugins for a long time, but I couldn't find a good one. Now, I've finally found this plugin.
Could you add this feature: show comments in a hover window, just like "Ctrl + 'hover the mouse cursor over the link'" in obsidian, I think it might be a better presentation.
I would be grateful if you could consider adding this feature in the future.

Hey! For now as a workaround, you can "extract original note" and it will work in a way you want. I will investigate options to implement this feature

Thank you very much.

In 1.0.17 added setting to show comment by Ctrl + Hover. Still have problems with showing comment content in a way you suggested. Will appreciate if someone will drop example or draft implementation of how to show comment in hover window.

Found HoverPopover in the Obsidian API https://github.com/obsidianmd/obsidian-api/blob/bceb489fc25ceba5973119d6e57759d64850f90d/obsidian.d.ts#L1590
Will implement a bit later

Hahaha, that's fantistic!

Done! Looks like it works.

Improved behavior of popup in 1.0.19, looks like it perfect now 💯   Closing this feature request.

Yes, It's so perfect. 😄


[NDM] Add type cases for gosnmp types

What does this PR do?
Adds type cases for the rest of gosnmp types.

Motivation
To have correct types in traps (for example, ip-address instead of other):

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes
One can install a custom agent build in mimic, send traps and test that they have correct types for respective variables.

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

Added tests + tried with mimic (successfully)


ROMX font selection support

Jeff@Fritter has asked about supporting the ROMX font selection registers. The code is still there but this is currently disabled for A2DVI.
Not difficult to support the font selection through the ROMX registers, however, it would require a method to select which font is in which bank - so that fonts stored within A2DVI match the fonts stored in ROMX.
Something to look into, after the basic features are complete & tested.

Will be included with the next firmware release.


Pack scripts of preprocessing sentinel-1 & 2 into a package

A few tasks to make it work:

[x] Migrate scripts and adapt them.

[x] Compact and modulize scripts

[x] Pack them into a package

Done.


getting started

document how to get started

[ ] write workflow overview
[ ] write jupytext intro
[ ] write git intro for faculty
[ ] write markdown editing intro
[ ] write docx pandoc intro
[ ] write pptx to notebook intro
[ ] record some 15 second camtasia screencasts

This startup 'todo' list is most helpful. I'm not sure how the checklist was built with it's links to files in the "code" tab, but hopefully that'll become clearer as we move forward.
(This comment is added mainly to see what it looks like.)

Here's the raw markdown:
# document how to get started
- [ ] write [workflow overview](https://github.com/eoas-ubc/eoas_tlef/blob/master/docs/getting_started.md)
- [ ] write [jupytext intro](https://github.com/eoas-ubc/eoas_tlef/blob/master/docs/learning_jupytext.md)
- [ ] write [git intro](https://github.com/eoas-ubc/eoas_tlef/blob/master/docs/learning_git.md) for faculty
- [ ] write [markdown editing](https://github.com/eoas-ubc/eoas_tlef/blob/master/docs/learning_markdown.md) intro
- [ ] write docx pandoc intro
- [ ] write pptx to notebook intro
- [ ] record some 15 second camtasia screencasts

Existing docs ( .md files in the doc folder) were updated May 26th.
Documentation could either evolve as the project progresses or we can circle back to make concise documentation based on decisions and procedures that have been confirmed.
The update today is sort of a hybrid. I was trying to keep notes over the last few weeks but they were getting changed so often I decided it would be more efficient to write docs intermittently when we actually know something.
Some docs will boil down to adaptations of documentation that already exists "out there".


MacOS OBS browser plugin CSS workaround

It seems that MacOS version of OBS has little trouble in rendering the CSS correctly. There is very little information about this, but following forum post hinted to right direction: https://obsproject.com/forum/threads/css-of-browser-source-rendering-wrong.133496/
For example, I get the coloured header boxes rendered incorrectly (not completely filled, "Now Playing" divided on two lines). Since unbox uses bootstrap and is up-to-date but OBS browser not, the workaround is to inject custom CSS such as:
.col-3 {
    max-width: 40%;
}

@oh6fub Thanks for this!
The overlays were designed according to the average browser window size (1366px x 784px), so you can also set the Width and Height properties on the browser source properties page according to this size and you should end up with something like this:

@oh6fub Thanks for this!
The overlays were designed according to the average browser window size (1366px x 784px), so you can also set the Width and Height properties on the browser source properties page according to this size and you should end up with something like this:

How can I make the text wide and not crunched up? What command can input?

How can I make the text wide and not crunched up? What command can input?

You are correct, increasing the browser window size does the trick too. Maybe I was thinking this over complicated :) If the size of window bothers, it can always be cropped (of course it is transparent anyway)
Best app so far!

You are correct, increasing the browser window size does the trick too. Maybe I was thinking this over complicated :) If the size of window bothers, it can always be cropped (of course it is transparent anyway)
Best app so far!


DNN-21637: add config key.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: zyhfish sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@ohine agreed, but you need to have a module to run IUpgradeable code, so doing this for a library or provider isn't really something the platform supports.  We should probably figure out a good way to allow that (it's a scenario we've run into a couple of times, as well)


[pd] failed updateLeader

Hi all,
I ran example in file rawkv.go, but it not ran and it have errors:
INFO[0000] [pd] create pd client with endpoints [<IP_ADDRESS>:32771]
INFO[0000] [pd] leader switches to: http://pd2:2379, previous:
INFO[0000] [pd] init cluster id<PHONE_NUMBER>215653867
cluster ID:<PHONE_NUMBER>215653867
ERRO[0000] [pd] create tso stream error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection
error: desc = "transport: Error while dialing dial tcp: lookup pd2: no such host"
ERRO[0000] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0000] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0000] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0001] [pd] create tso stream error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection
error: desc = "transport: Error while dialing dial tcp: lookup pd2: no such host"
ERRO[0001] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0001] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0002] [pd] create tso stream error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection
error: desc = "transport: Error while dialing dial tcp: lookup pd2: no such host"
ERRO[0002] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0003] [pd] create tso stream error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection
error: desc = "transport: Error while dialing dial tcp: lookup pd2: no such host"
ERRO[0003] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0003] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0004] [pd] create tso stream error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection
error: desc = "transport: Error while dialing dial tcp: lookup pd2: no such host"
ERRO[0004] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0004] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0005] [pd] create tso stream error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp: lookup pd2: no such host"
ERRO[0005] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0006] [pd] create tso stream error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp: lookup pd2: no such host"
ERRO[0006] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0007] [pd] create tso stream error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp: lookup pd2: no such host"
ERRO[0007] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0007] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0008] [pd] create tso stream error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp: lookup pd2: no such host"
ERRO[0008] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0009] [pd] create tso stream error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp: lookup pd2: no such host"
ERRO[0009] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0009] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0010] [pd] create tso stream error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp: lookup pd2: no such host"
ERRO[0010] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0011] [pd] create tso stream error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp: lookup pd2: no such host"
ERRO[0011] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0011] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0012] [pd] create tso stream error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp: lookup pd2: no such host"
ERRO[0012] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0013] [pd] create tso stream error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp: lookup pd2: no such host"
ERRO[0013] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0014] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0014] [pd] create tso stream error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp: lookup pd2: no such host"
ERRO[0014] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0015] [pd] create tso stream error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp: lookup pd2: no such host"
ERRO[0015] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0016] [pd] create tso stream error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp: lookup pd2: no such host"
ERRO[0016] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0016] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0017] [pd] create tso stream error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp: lookup pd2: no such host"
ERRO[0017] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0018] [pd] create tso stream error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp: lookup pd2: no such host"
ERRO[0018] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0018] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0019] [pd] create tso stream error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp: lookup pd2: no such host"
ERRO[0019] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
ERRO[0020] [pd] create tso stream error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp: lookup pd2: no such host"
ERRO[0020] [pd] failed updateLeader: failed to get leader from [http://pd0:2379 http://pd1:2379 http://pd2:2379]
WARN[0020] backoffer.maxSleep 20000ms is exceeded, errors:
loadRegion from PD failed, key: "Company", err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp: lookup pd2: no such host" at 2019-07-29T15:40:57.052765+07:00
loadRegion from PD failed, key: "Company", err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp: lookup pd2: no such host" at 2019-07-29T15:40:58.853341+07:00
loadRegion from PD failed, key: "Company", err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp: lookup pd2: no such host" at 2019-07-29T15:41:00.548358+07:00
panic: pdRPC

goroutine 1 [running]:

I used https://github.com/pingcap/tidb-docker-compose to deploy. And I edited address in file rawkv.go:
cli, err := rawkv.NewClient(context.TODO(), []string{"<IP_ADDRESS>:32771"}, config.Default())

When i used example by TiDB docker-compose, it success. So I don't know if this error is with you or theTiDB docker-compose.

Hi @phamtai97, thanks for your feedback. It looks the reason is that the container name pd0 cannot be translated to an IP address outside of Docker environment. I think to make it work, you need to expose pd services using IP address. Or maybe it can be resolved by moving client-go into a container somehow.
/cc @tennix

Hi @disksing, tks your answer. I will try again

Tks, I solved the problem. I created the container for my service so that I can join the PD's network.


build(deps): bump openssl from 0.10.64 to 0.10.66

Previously, MemBio::get_buf called slice::from_raw_parts with a null-pointer, which violates the functions invariants, leading to undefined behavior. In debug builds this would produce an assertion failure. This is now fixed.

Closes #
📑 Description

✅ Checks

[ ] My pull request adheres to the code style of this project
[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required
[ ] All the tests have passed

ℹ Additional Information

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 68.9%. Comparing base (8e9a36f) to head (93cd687).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##            main     #77     +/-   ##
=======================================
- Coverage   69.0%   68.9%   -0.1%
=======================================
  Files         25      25
  Lines       2607    2606      -1
=======================================
- Hits        1799    1798      -1
  Misses       808     808

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Upgrade from V10 to V13 Requires GRPC Which Fails on Arm64

After updating to the latest Google.Ads.GoogleAds Nuget package, the Ads API is no longer functional on arm64 due to the Google.Ads.Gax > Grpc requirement. The grpc dll will not load with the error of "LoadLibrary failed with error 193".
_client = new GoogleAdsClient(new GoogleAdsConfig
{
    OAuth2Mode = Google.Ads.Gax.Config.OAuth2Flow.APPLICATION,
    DeveloperToken = "***",
    OAuth2ClientId = "***.apps.googleusercontent.com",
    OAuth2ClientSecret = "***",
    OAuth2RefreshToken = "***",
    LoginCustomerId = "###" // manager account id
});
_service = _client.GetService(Google.Ads.GoogleAds.Services.V13.GoogleAdsService);

System.IO.IOException
  HResult=0x80131620
  Message=Error loading native library "Z:\cory\Dashboard\Dashboard\bin\grpc_csharp_ext.x64.dll". LoadLibrary failed with error 193
  Source=Grpc.Core
  StackTrace:
   at Grpc.Core.Internal.UnmanagedLibrary..ctor(String[] libraryPathAlternatives)
   at Grpc.Core.Internal.NativeExtension.LoadNativeMethodsUsingExplicitLoad()
   at Grpc.Core.Internal.NativeExtension..ctor()
   at Grpc.Core.Internal.NativeExtension.Get()
   at Grpc.Core.GrpcEnvironment.GrpcNativeInit()
   at Grpc.Core.GrpcEnvironment..ctor()
   at Grpc.Core.GrpcEnvironment.AddRef()
   at Grpc.Core.Channel..ctor(String target, ChannelCredentials credentials, IEnumerable`1 options)
   at Google.Ads.Gax.Lib.AdsChannel.CreateGrpcCoreChannel(Uri uri, ChannelCredentials credentials)
   at Google.Ads.Gax.Lib.AdsChannel..ctor(AdsConfig config, String url)
   at Google.Ads.Gax.Lib.CachedChannelFactory.GetChannel(AdsConfig config, String serverUrl)
   at Google.Ads.GoogleAds.Lib.GoogleAdsServiceClientFactory.GetService[TService,TServiceSetting](ServiceTemplate`3 serviceTemplate, GoogleAdsConfig config)
   at Google.Ads.GoogleAds.Lib.GoogleAdsClient.GetService[TService,TServiceSetting](ServiceTemplate`3 serviceTemplate)
   at Dashboard.Core.GoogleAdWords.GoogleAdWordsService..ctor(Account account, IAccessRepository accessRepo) in Z:\cory\Dashboard\Dashboard.Core\GoogleAdWords\GoogleAdWordsService.cs:line 52
   at Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext.<>c__DisplayClass1.<GetBuildMethod>b__0(IBuilderContext context)
   at Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context)
   at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)

@coryshaw1 this isn't something I've changed at my end, so I've asked my colleagues in the grpc team to take a look at it.

Just checking, does this work if you compile for AnyCpu? And this used to work for v10, right? What happens if you add a reference to Grpc.Core directly in your application and pin the version in your application to 2.41.0?

On second thoughts: Did this even used to work for Windows? The ARM-specific support was available only for Linux IIRC.

So I updated Google.Ads.GoogleAds Nuget package from <IP_ADDRESS> to <IP_ADDRESS> because of the v10 sunset. Everything was working well until the sunset of v10 of course when the API started erroring with the sunset notice.
I am on an ARM-based Mac running Windows 11 Arm64 in a VM due to legacy projects that are not updated to .NET core yet. The Solution and projects are all set to build for AnyCpu. I had a colleague test this same code on his Intel-based Mac running Windows 11 x64, and it worked fine for him without errors.
I attempted to build specifically for Arm64 with the same error. Have tried a complete reinstall of all packages, but still has errors.
New Package Installs from Update:
Google.Ads.Gax - 2.1.0
Various Package Updates that could be related:
Google.Ads.GoogleAds - <IP_ADDRESS> to <IP_ADDRESS>
Google.Api.Gax.Grpc.GrpcCore - <IP_ADDRESS> to <IP_ADDRESS>
Grpc.Core - 2.41.0 to 2.52.0

Seems like that's giving me an object reference when instantiating the GoogleAdsClient:
Object reference not set to an instance of an object.
at Google.Ads.Gax.Util.ConfigUtilities.GetAppConfigPath()
at Google.Ads.Gax.Util.ConfigUtilities.GetSection(String sectionName)
at Google.Ads.Gax.Config.ConfigBase.ReadAppConfigSection(String sectionName)
at Google.Ads.Gax.Config.ConfigBase.LoadFromAppConfigSection(String sectionName)
at Google.Ads.GoogleAds.Config.GoogleAdsConfig..ctor()
at Dashboard.Core.GoogleAdWords.GoogleAdWordsService..ctor(Account account, IAccessRepository accessRepo) in Z:\\cory\\Dashboard\\Dashboard.Core\\GoogleAdWords\\GoogleAdWordsService.cs:line 42

@coryshaw1 Try this attachment, I missed a place where I had to change a macro.
Google.Ads.GoogleAds.Bundled.15.0.2.nupkg.zip

Unfortunately still the same error, just a little bit of different stack trace:
System.IO.IOException
  HResult=0x80131620
  Message=Error loading native library "Z:\cory\Dashboard\Dashboard\bin\grpc_csharp_ext.x64.dll". LoadLibrary failed with error 193
  Source=Grpc.Core
  StackTrace:
at Grpc.Core.Internal.UnmanagedLibrary..ctor(String[] libraryPathAlternatives)
at Grpc.Core.Internal.NativeExtension.LoadNativeMethodsUsingExplicitLoad()
at Grpc.Core.Internal.NativeExtension..ctor()
at Grpc.Core.Internal.NativeExtension.Get()
at Grpc.Core.GrpcEnvironment.GrpcNativeInit()
at Grpc.Core.GrpcEnvironment..ctor()
at Grpc.Core.GrpcEnvironment.AddRef()
at Grpc.Core.Channel..ctor(String target, ChannelCredentials credentials, IEnumerable`1 options)
at Google.Ads.Gax.Lib.AdsChannel.CreateGrpcCoreChannel(Uri uri, ChannelCredentials credentials)
at Google.Ads.Gax.Lib.AdsChannel..ctor(AdsConfig config, String url)
at Google.Ads.Gax.Lib.CachedChannelFactory.GetChannel(AdsConfig config, String serverUrl)
at Google.Ads.GoogleAds.Lib.GoogleAdsServiceClientFactory.GetService[TService,TServiceSetting](ServiceTemplate`3 serviceTemplate, GoogleAdsConfig config)
at Google.Ads.GoogleAds.Lib.GoogleAdsClient.GetService[TService,TServiceSetting](ServiceTemplate`3 serviceTemplate)
at Dashboard.Core.GoogleAdWords.GoogleAdWordsService..ctor(Account account, IAccessRepository accessRepo) in Z:\\cory\\Dashboard\\Dashboard.Core\\GoogleAdWords\\GoogleAdWordsService.cs:line 52
at Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext.<>c__DisplayClass1.<GetBuildMethod>b__0(IBuilderContext context)
at Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context)
at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)

Now I did create a fresh solution from scratch, and only added Google.Ads.GoogleAds Nuget package (15.0.2). Did the same exact code from this issue where I just instantiated the GoogleAdsClient with the same credentials, and then attempted to retrieve the V13 service. Same VM/Windows arm64 setup, same .NET Framework version (4.7.2), and everything worked flawlessly. So grpc definitely is working on arm64 Windows. It just seems like maybe this specific solution is not fully understanding that this is running on Windows arm64 instead of x64? It is set to compile for Any CPU, and as I mentioned I've even tried to configure a build for arm64 only. It always fails with the same error regardless.

I've seen .NET Framework csprojs get into weird states in the past -- a good example is the ASP.NET example I distribute as part of the SDK. I rebuild it from scratch once every 8-9 months because Visual Studio does something and I can't figure out what went wrong and how. Essentially what you did in this case.
Since it works with the solution from the scratch, it is probably simpler to just reconstruct the project?

Closing this bug for now, since it seems that the original issue can be "fixed" if the csproj is fixed. The original Grpc.Core library has been sunset anyway, so there's little we can do to support this specific runtime if at all, officially.


VSIB encoding errors with vector index registers 16-31

Hi!
First, thanks for all the work making xbyak, it's a great library to work with. I noticed an encoding bug in AVX-512 gather/scatter instructions when the vector index register is in the high half, one of [x,y,z]mm16-31. For instance,
vgatherdps zmm0{k1}, [rax + ymm18]
would be encoded as
vgatherdps zmm0{k1}, [rax + ymm2].
The problem is that the EVEX.V' bit is not set properly in these situations (it is always 1). I have a patch that appears to fix the issue, but I'm not an expert in xbyak's internals, so it might not be the right approach.
Thanks,
Peter

Patch attached.
vsib.patch.txt

Thank you for important information. I'll fix it.

I fixed it. Thank you again.

Thanks for the quick response, and thanks again for your work on xbyak!


kong 1.3.0  http :8001/config<EMAIL_ADDRESS>error

kong version 1.3.0
balancer.lua:611: on_target_event(): target create: balancer not found for xxx
balancer.lua:611: on_target_event(): target create: balancer not found for xxx
balancer.lua:611: on_target_event(): target create: balancer not found for xxx
balancer.lua:611: on_target_event(): target create: balancer not found for xxx

@mocking3 Hi! Let me ask a few questions to try to clarify the situation:

are you using Kong with a database or DB-less?
did this happen at startup or after issuing an Admin API call? (If so, which one?)

DB-less
When I execute the "http :8001/config<EMAIL_ADDRESS>command,
The error appears in the error.log

@mocking3 Hi! Let me ask a few questions to try to clarify the situation:

are you using Kong with a database or DB-less?
DB-less
did this happen at startup or after issuing an Admin API call? (If so, which one?)
When I execute the "http :8001/config<EMAIL_ADDRESS>command,
The error appears in the error.log

I created a new upstream and targets.
Then execute "http:8001/config<EMAIL_ADDRESS>the log starts to report error, which is what I printed before.
Later changed to kong reload command, the log does not report error, but when I access the upstream admin api, the log starts to report error. The content is as follows:
2019/09/12 16:05:22 [error] 65446#0: *1555316 [lua] targets.lua:279: page_collection(): failed getting upstream health: balancer not found, client: <IP_ADDRESS>, server: kong_admin, request: "GET /upstreams/1d987cc7-aec3-5e1b-9870-2c1537af519b/health?size=1000 HTTP/1.1", host: "hzayq-api-gateway-1.server.163.org:8000"
2019/09/12 16:05:22 [error] 65446#0: *1555316 lua coroutine: runtime error: ./kong/db/dao/targets.lua:292: attempt to index local 'health_info' (a nil value)
stack traceback:
coroutine 0:
./kong/db/dao/targets.lua: in function 'page_collection'
./kong/api/routes/upstreams.lua:64: in function 'fn'
./kong/api/init.lua:45: in function <./kong/api/init.lua:28>
coroutine 1:
[C]: in function 'resume'
...ops/gateway/luarocks/share/lua/5.1/lapis/application.lua:397: in function 'handler'
...ops/gateway/luarocks/share/lua/5.1/lapis/application.lua:130: in function 'resolve'
...ops/gateway/luarocks/share/lua/5.1/lapis/application.lua:167: in function <...ops/gateway/luarocks/share/lua/5.1/lapis/application.lua:165>
[C]: in function 'xpcall'
...ops/gateway/luarocks/share/lua/5.1/lapis/application.lua:173: in function 'dispatch'
/home/appops/gateway/luarocks/share/lua/5.1/lapis/nginx.lua:230: in function 'serve_admin_api'
content_by_lua(nginx-kong.conf:233):2: in main chunk, client: <IP_ADDRESS>, server: kong_admin, request: "GET /upstreams/1d987cc7-aec3-5e1b-9870-2c1537af519b/health?size=1000 HTTP/1.1", host: "hzayq-api-gateway-1.server.163.org:8000"
2019/09/12 16:05:22 [error] 65446#0: *1555316 [lua] init.lua:162: handle_error(): ...ops/gateway/luarocks/share/lua/5.1/lapis/application.lua:401: ./kong/db/dao/targets.lua:292: attempt to index local 'health_info' (a nil value)
stack traceback:
./kong/db/dao/targets.lua: in function 'page_collection'
./kong/api/routes/upstreams.lua:64: in function 'fn'
./kong/api/init.lua:45: in function <./kong/api/init.lua:28>
stack traceback:
[C]: in function 'error'
...ops/gateway/luarocks/share/lua/5.1/lapis/application.lua:401: in function 'handler'
...ops/gateway/luarocks/share/lua/5.1/lapis/application.lua:130: in function 'resolve'
...ops/gateway/luarocks/share/lua/5.1/lapis/application.lua:167: in function <...ops/gateway/luarocks/share/lua/5.1/lapis/application.lua:165>
[C]: in function 'xpcall'
...ops/gateway/luarocks/share/lua/5.1/lapis/application.lua:173: in function 'dispatch'
/home/appops/gateway/luarocks/share/lua/5.1/lapis/nginx.lua:230: in function 'serve_admin_api'
content_by_lua(nginx-kong.conf:233):2: in main chunk, client: <IP_ADDRESS>, server: kong_admin, request: "GET /upstreams/1d987cc7-aec3-5e1b-9870-2c1537af519b/health?size=1000 HTTP/1.1", host: "xxx"

@hishamhm


[hotfix] Change default Helm operator configs to align with Flink

What is the purpose of the change
Minor change based on mailng list discussion to align default confs with Flink for subtask number and parallelism.

cc @bgeng777


Bschnurr/fix glb empty

Adding support to write out empty glb files. "stream" was going into a failed state with m_stream was empty.

internal build 11543727 passed


Strange results when mixing literal IRI with database originated IRI

Description
I'd like to reference objects sometimes with a manually entered IRI, sometimes with a database-originated IRI (I'll clarify below).
This does not seem to work.
Steps to Reproduce

Consider these mappings (PREFIXES cut away)

[MappingDeclaration]` @collection [[
mappingId	mapRA
target		:ra/{id} a :RA ; :prop1 :ra/{id}/temp1 .
source		select shopOrder as id from MesData

mappingId	mapRAT
target		:ra/{id}/{temp_type} a myBase:Prop ; :propID {ppvid}^^xsd:string .
source		select
			temp_type,
			shopOrder as id,
			concat(shopOrder,'_',temp_type) as ppvid
			FROM
			(select * from MesData) as M
			cross join
			(select distinct temp_type from Temperatures) as T
			where temp_type='temp1'
]]

Consider a query (again, PREFIX dropped)

select  ?ppv {
  ?rce a :RA; :prop1 ?ppv .
  ?ppv a myBase:Prop .
}

Run the query

Expected behavior:
In case of my database, this should result in 691 matches.
Actual behavior:
Instead, it results in no matches at all.
If you run the query partially (line by line as shown below), I get 691 results.
Alternative 1:
select  ?ppv {
  # ?rce a :RA; :prop1 ?ppv .
  ?ppv a myBase:Prop .
}

Alternative 2:
select  ?ppv {
  ?rce a :RA; :prop1 ?ppv .
  # ?ppv a myBase:Prop .
}

So, both alternatives produce 691 results, and the results are textually identical.
The only reason I can see is that ?ppv is bound to individuals that have textualy the same IRI, but are considered different individuals anyway.
Additional observation:
As you can see, the IRI in the first mapping contains the manual part "temp1".
In the second mapping, this comes from the database field "{temp_type}" that contains (amonst others "temp1" as a value).
In case I replace "{temp_type}" in the second mapping by "temp1", the query works fine.
Reproduces how often:
Consistently
Versions

Ontop 4.0.3 plug-in in Protégé 5.5.0
PostgresSQL server 13.0 (Debian 13.0-1.pgdg100+1))
Ubuntu 20.04 LTS

Thanks a lot @qootec !
I managed to reproduce the issue and fix it (https://github.com/ontop/ontop/commit/4e6930ac94bc3548ba7347166229d483a344fc76).
The fix will be included in the 4.1 release and perhaps in a minor version of 4.0 (I need to discuss it with my colleagues).
Best,
Benjamin


New version: emoacht.Monitorian version 4.10.0

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[x] Resolve #202932

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.9 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

thanks @Dragon1573 , update worked fine 👍


unbound: check if a restart is required, reload after dnsbl update

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
[+] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[+] I have searched the existing issues and I'm convinced that mine is new.
Is your feature request related to a problem? Please describe.
Hello everyone.
For now:

if link on any interface goes down and up, unbound updates the hosts records and restarts. Even if the address has not changed or is static. The restart can take a while if large dnsbl list is in use, so  clients practically lose the Internet for some time.
unbound does not restart after updating the dnsbl list(s) ( pluginctl unbound restart . typo? -s missed ?)
https://forum.opnsense.org/index.php?topic=20356.0

Describe the solution you'd like
could you consider changes like this:

check if the host_entries.conf file has actually changed before unbound restart
(something like https://github.com/kulikov-a/core/commit/d799447ae87bd722a301c83822cf7671c088ee9e).

change actions_unbound.conf [dnsbl] command to
/usr/local/opnsense/scripts/unbound/download_blacklists.py && configctl unbound reload
( pluginctl -s unbound restart works too. but reload is far more fatser than restart. and imho reload is enough after dnsbl update. UPDATE! in my case difference in time for reload vs restart was due to a failed  unbound-anchor launch. not by the procedure itself)
Thanks!

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@kulikov-a the dnsbl part looks like a bug indeed, https://github.com/opnsense/core/commit/3facaaa4700a9e5391352ad60733518099746c45 should fix it. Adding more logic in an attempt to "restart unbound" properly I'm not really a fan of. In my opinion most of these restart actions on interface changes shouldn't happen at all, since the service should take care of its own issues. When bound to a dynamic interface one could argue that using a port forward to an internal address would be a safer choice (and is a pattern most other vendors advise as well to prevent cluttering services).
Short term I'm not sure if we can detach unbound from the interface reload actions, there's more weird cluttering of interface addresses in it at the moment.

@AdSchellevis thanks!
not detach, just skip unnecessary action.
I'm not a fan either, but I think that changing host entries through a unbound-control is also not a nifty way(
so may be at least replace killbypid with "reload"? (for me it 3 times faster) in unbound_hosts_generate()?
(not tested it yet. but should work imo)
and sorry, сould you please explain where I am wrong in https://github.com/opnsense/core/issues/4497 ? so not to make mistakes in the future

@kulikov-a I'm not sure what you mean with the killbypid, but if you add a PR, I'll gladly take a look.
about https://github.com/opnsense/core/issues/4497, did I say it's an improper request? If I did, I'll probably have to apologise . I think most of the backend components do support alternative separators, I can't remember how it's organised in the tokeniser to be honest.

@AdSchellevis
yes, sure. i will test it in VM and make a PR for it
about https://github.com/opnsense/core/issues/4497 : no no. I just decided that if there are no responses, then I either made a crooked request, or poorly described the proposals.

@kulikov-a certainly not, we're just quite busy.

@AdSchellevis
oh! sorry for the impatience

My apologies and clarifications. With a successful launch of unbound-anchor before launching unboud, there is no noticeable time difference between restart and reload  (sorry.  should have found out before creating a FR. just old PIX droped dns-packets > 512 bytes). another question is whether it is necessary to start  unbound-anchor at all if DNSSEC not enabled on onbound.

@fichtner thanks!
@AdSchellevis @fichtner
is it possible to offer an option not to use import of dnsbls via .conf inclusion? can load into an already working inbound using unbound-control local_datas command
quickly tests by adding
/usr/local/sbin/unbound-control -c /var/unbound/unbound.conf local_datas < /var/unbound/etc/testDNSBL.list
in the end of unbound_start.sh
(change a download script a bit to produce suitable list)
result: no downtime at all at restart. the server serves requests while loading the full 102MB dnsbl list
of course, still need to test in different circumstances (links down\up, ip change etc), if you are ready to consider such a transition

@kulikov-a we're using a similar approach in https://github.com/opnsense/core/blob/master/src/opnsense/scripts/dns/unbound_dhcpd.py if I'm not mistaken. I'm not perse agains loading the data using unbound-control when unbound itself starts fast enough when the configuration is already there. (in which case you can maintain the database while initial content is more or less complete). It does however complicate loading a bit, since irrelevant items need to be removed as well, which can be challenging.

@AdSchellevis
wow! did not know that you made dhcp use the unbound-control. (I do not use OPN DHCP  and thought it would still restart unbound on every client). awesome!
I don't know how to manage changes in such a large list faster than just flushing and loading a new one. For now unbound is restarting or reloading to load the dnsbl. and (if dnsbls enabled) reloads list at every restart\reload). so I suggest only to load the list after the start of the unbound so that there is no service downtime

@AdSchellevis
So my suggestion does not change any logic or events that trigger a reload or reload (harmless?). Only changes the moment of loading dnsbls from .conf-inclusion to unbound-control loading.
small bonus: with this approach, the unbound is not at risk of stopping working if there is a junk entry in dnsbl (as in this example: https://forum.opnsense.org/index.php?topic=20284.0). unbound-control just skips this entry and and continues loading the list:
unbound[79396] | [79396:0] error: error parsing local-data at 98 'ister.co.uk/2014/10/07/adobe_digital_editions_4_caught_snooping_into_ebook_collections_of_users/ A <IP_ADDRESS>': Label length overflow
can you please look at the code changes when you have time?
https://github.com/opnsense/core/compare/master...kulikov-a:patch-2

@kulikov-a just open a PR and I'll try to take a look, in case of the blacklists this might be safer indeed. Better not call configd from configd by the way, although it works, we try to avoid nesting.

Ran into this "bug" today.
Alternative can be to just place a warning that a manual restart is required after updating dnsbl selection?

@Bramzor
fixed by https://github.com/opnsense/core/commit/3facaaa4700a9e5391352ad60733518099746c45
(and before I noticed and mentioned this)

@kulikov-a can this be closed?

@kulikov-a can this be closed?

Yes, thanks!
Closing..
PR for moving dnsbls from .conf  to control is still on hold

Yes, thanks!
Closing..
PR for moving dnsbls from .conf  to control is still on hold

I promise to take a look now that 21.1-RC1 is out we have master branch for experiments again :)

I promise to take a look now that 21.1-RC1 is out we have master branch for experiments again :)

I'm not in a hurry, just the PR was mentioned in this FR )
Thanks again!

I'm not in a hurry, just the PR was mentioned in this FR )
Thanks again!


mgmt, loadtesting, prepare 1.0.0

Service requests release to be on Feb. 1
Code changes are minor and changes do not affect API or behavior, same as 1.0.0-beta.1
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

@venkatr21


array filter does not work for n-m relations

const ActorFilter = (props) => (
  <Filter {...props}>
    <ReferenceArrayInput
      label="Project"
      source="projects"
      reference="Project"
      fullWidth
    >
      <AutocompleteArrayInput />
    </ReferenceArrayInput>
  </Filter>
);

This produces data lacking the {some: ... } object, leading to a request failure.
Looks like there's something wrong with the if condition in here:
https://github.com/panter/ra-data-prisma/blob/master/packages/dataprovider/src/buildWhere.ts#L143

@thought2 it works for 1-n relations, maybe it does not work yet for m-n (as in your example)
If you want to do a PR, it would be nice, or i can look into it later

@thought2 i fix this now.
Selecting multiple projects in your example would return Actors that (worked) on any of these Projects. So it will be an OR.

:tada: This issue has been resolved in version 2.2.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 2.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Issue when using on ubuntu server

I'm trying to use node-fetch to send requests to https://www.zalando.nl/ . It works fine when I run my script on my laptop, but when I move it to an ubuntu server the request does not resolve. It only happends when I send it to this domain, other domains just work fine.
Does anyone know what is going on and how I can debug this issue?

@jonkootje Please start by following the issue template.  We need at least a code snippet, version numbers for node-fetch, node, npm, and the OS, and an error message and stack trace (if applicable).  Also, please be sure to notate where your code hangs or where the error is thrown.  Finally, since I've been working on similar problems, please run your script with the following and provide the output (just be sure to sanitize any sensitive data):
NODE_DEBUG=http,https,net,stream

@jonkootje Please start by following the issue template.  We need at least a code snippet, version numbers for node-fetch, node, npm, and the OS, and an error message and stack trace (if applicable).  Also, please be sure to notate where your code hangs or where the error is thrown.  Finally, since I've been working on similar problems, please run your script with the following and provide the output (just be sure to sanitize any sensitive data):
NODE_DEBUG=http,https,net,stream

I found the issue. The host had blocked the IP address of the server I was using. They try to do that with all major hosting providers apparently. Just strange that node-fetch is not giving me any errors about it.

I found the issue. The host had blocked the IP address of the server I was using. They try to do that with all major hosting providers apparently. Just strange that node-fetch is not giving me any errors about it.


user12986714: Watch (?-i:^meta robot$)

user12986714 requests the watch of the watch_keyword (?-i:^meta robot$). See the MS search here and the Stack Exchange search in text, in URLs, and in code.

(?-i:^meta robot$) has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


Create sapcxsearch extension

Create new sapcxsearch extension

Please add the new extension to the following configuration files, otherwise it will not be considered within the build process:

[ ] core-customize/manifest.json, line 89 (tests.extensions)
[ ] core-customize/hybris/config/localextensions.xml, after line 10
[ ] core-customize/hybris/config/cloud/loca-dev.properties, line 10 (testclasses.extensions)
[ ] .github/workflows/dependency-check.xml, line 20 (extensions)
[ ] ci/config/testing-unit.properties, line 4 (testclasses.extensions)
[ ] ci/config/testing-integration.properties, line 4 (testclasses.extensions)


Move Heirarchy from Value to Type and return Value rather than Value *

We no longer have to "new" each Value.
This is a significant PR but the most crucial changes are to the values and types.
All other changes handle the change of the interface.

@pmenon @wangziqi2013  can you do a code review on this?

Coverage increased (+0.03%) to 53.179% when pulling c591f00fe3d7c74af11fd1575abde65b3f2f3f0b on MattPerron:types into 7c2fb4be5cf962cfb8ae49e82a813a821ba83e36 on cmu-db:master.

Coverage increased (+0.03%) to 53.182% when pulling 2640a0fe746483cc3bba122a3aff327f2864dc46 on MattPerron:types into 7c2fb4be5cf962cfb8ae49e82a813a821ba83e36 on cmu-db:master.

As a first step, this looks good.  We've managed to get rid of the new/delete's that was the primary reason for undergoing this change.
There are a few problems, but that probably don't need to be fixed now. I see a lot of switch statements in each of the type classes, which means that adding a new type will be a giant headache.
I think the way to get around this to have some form of type promotion table to quickly promote coercible types. This sort of centralizes the switch statements into a table indexed by type id (or something to that effect). Methods in Type use this promotion table to perform, for example, arithmetic operations.
This is off the top of my head, we should discuss in detail.


Use up-to-down typescript's configuration

Hi @stereobooster,
Thanks for the article about monorepo  - it's inspired me to try again to set up monorepo.
Btw, I've discovered that your setup has the same problem I seek to solve - tsc runs per package. Watch mode - per package as well. The problem here - with more packages in the equation more times it takes to run build for all of them and it's hard to watch the changes.
The more efficient way is to run a single root typescript process that could build whatever needs to be built and could watch over all the changes. Actually,  typescript team has already described how to do it in an article about project refereneces, in their obscure way =)
So, I've tweaked a bit your project set up. Please give it a look. I hope at least some of the changes might be helpful.

Hey! Thank you for reading and helping out. I will check it a bit later

Yep it's quite useful. I have some adjustments - will address in separate PR.

You inspired me to actually finish the job

Problem 2 is resolved in PR #5
Problem 4 is resolved in PR #4

@stereobooster, glad you found it useful!
I saw you've got rid of references settings in projects. I wonder why? If you try to use the code from package b in package c, typescript will throw an error - the code should be under the same root. The way to fix it - use references.
Btw, cool changes! All the kudos!

I saw you've got rid of references settings in projects. I wonder why?

Because it works without them, it inherits projects settings from the root tsconfig

I was wrong we still need it https://github.com/stereobooster/typescript-monorepo/pull/7


Support/wagtail 5.1

Wagtail v5.1 update
The changes here are mainly to add some extra versions to the test matrix.
I have made a change to one of the overridden templates: https://github.com/torchbox/wagtail-webstories/pull/23/commits/ee53525c10afb3e66f269455a2c212a1362f653a but it's not likely to be a required change for wagtail v5.1

Hi @gasman Oooh yes thanks I accepted the suggestion.


Added Zenduty as an Azure Monitor partner and fixed typos

Updates partners.md with Zenduty as an Azure Monitor partner, fixes typos in a few partner logo filenames.
Zenduty is an incident management platform that integrates Azure Monitor by routing new Azure infrastructure alarm alerts to the right team and notifying them based on on-call schedules.

Docs Build status updates of commit d2472b5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/azure-monitor/media/partners/zenduty.png
:white_check_mark:Succeeded

articles/azure-monitor/partners.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
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.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@rboucher
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Hey @rboucher, could you please let me know when we could expect progress on this? Really looking forward to sharing the same with our network!

#sign-off

@microsoft-github-policy-service agree [company="{Zenduty}"]

Learn Build status updates of commit f546afe:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/azure-monitor/media/partners/zenduty.png
:white_check_mark:Succeeded

articles/azure-monitor/partners.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
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.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Display year and month only

How to display month and year only in datepicker.

You can get this in versions 2.3.6 and below.
It has been deprecated since I thought no one would use it.


training dataset..., folder structure of training and validation of dataset

can you explain how to arrange train and validation dataset?

Any response?


fix(modalcomposite): isPrompt should add mod-prompt css class

Proposed Changes
On the ModalComposite component, there is a prop called isPrompt. When setting this to true it wasn't adding the mod-prompt css class to the modal container so the modal wasn't actually looking like a prompt.
I also fixed the type of the ModalCompositeConnected component by letting TypeScript infer its type. Oftentimes less is more with TS.
Potential Breaking Changes
None
Acceptance Criteria

[x] The proposed changes are covered by unit tests
[x] The potential breaking changes are clearly identified
[x] README.md is adjusted to reflect the proposed changes (if relevant)

Codecov Report

Merging #1529 into master will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1529      +/-   ##
==========================================
- Coverage   96.47%   96.47%   -0.01%
==========================================
  Files         412      411       -1
  Lines        9052     9051       -1
  Branches     1653     1653
==========================================
- Hits         8733     8732       -1
  Misses        111      111
  Partials      208      208

Impacted Files
Coverage Δ

...eact-vapor/src/components/modal/ModalComposite.tsx
92.00% <100.00%> (+2.25%)
:arrow_up:

...apor/src/components/modal/loading/ModalLoading.tsx
83.33% <100.00%> (ø)

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 6d822c9...5b571c3. Read the comment docs.


[BUG] xAxis label too long causes radar chart cannot render correctly

By accident I see my data source feed a very long string, about 4xx width, and this causes the radar chart cannot draw itself.
I have managed to limit the width through hard code (not finding a good place to hold the variable):
        _xAxis.labelWidth = widthText.sizeWithAttributes([NSFontAttributeName: _xAxis.labelFont]).width;

        if (_xAxis.labelWidth > 100)
        {
            _xAxis.labelWidth = 100
        }

        _xAxis.labelHeight = _xAxis.labelFont.lineHeight;
        _xAxis.values = xValues;

However, this limit the size, but when rendering, it still draw the whole text. Is there any way to render the text only within the rect? Tried to find a API, but no good.
This is the chart after I have set the width up to 100:

I'm seeing this too - Basically if you have a label that's longer than a certain number of characters (haven't tested exactly, but it's <20 so not that long) the chart becomes tiny.

Yes, this is a defect because it need take the radius and label width into account while calculating. The idea is to show all the labels and chart. I am suggesting add a limit for the label width, and once it exceeds, it will render the text like "ABCD..."
I am having trouble to implement this, becuase the drawText function don't cut the width

This, too, is a duplicate of #153. Please merge the discussions :-)

I'm just trying to track the bugs and it makes it harder to try to understand the same bug twice...


[INLONG-8068][Manager] Support repeatable read for http request

Prepare a Pull Request

Fixes #8068
Parent #7914

Motivation
Explain here the context, and why you're making that change. What is the problem you're trying to solve?
Modifications
For multi-tenancy, inlong must modify the http request body and params.
The NPE will be thrown when spring handler the request, because the namespace filter has read the request body.
So, it's necessary to add a request filter to support repeatable read for request body
Verifying this change
(Please pick either of the following options)

[ ] This change is a trivial rework/code cleanup without any test coverage.

[ ] This change is already covered by existing tests, such as:
(please describe tests)

[ ] This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a follow-up issue for adding the documentation

@vernedeng please add a UT for this PR.

@vernedeng please add a UT for this PR.

UT has been added.


java.lang.UnsatisfiedLinkError

Hi all,
Recently, i am using the elemental2-core for using js type of Int8Array, but got exception.
if anyone can tell what i am wrong. thanks.
jdk is 1.8 and 1.11
dependency is using :

com.google.elemental2
elemental2-core
1.1.0

java code is as below:
ArrayBuffer buffer = new ArrayBuffer(8);
Int8Array array = new Int8Array(buffer);
DataView view = new DataView(buffer);
view.setInt8(0, v);
but got below error:
java.lang.UnsatisfiedLinkError: elemental2.core.DataView.setInt8(ID)V
at elemental2.core.DataView.setInt8(Native Method)
at game.creata.engine.worker.script.shell.VoxelViewTest.writeDouble(VoxelViewTest.java:24)
at game.creata.engine.worker.script.shell.VoxelViewTest.testName(VoxelViewTest.java:17)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArg

It looks you are trying to run this from inside the JVM, instead of as JS, and that isn't going to work - these "native" methods are implemented by the browser, so the code must be executed in a browser. Specifically, these are meant to be used by GWT or J2CL, as opposed to other tools like JSweet or TeaVM which also enable you to transpile Java so that it can be run in as JavaScript.
If you happen to be using something like LibGDX to develop a game (which in turn uses GWT to create its HTML builds), you'll need to be sure to only use this class from your HTML code, not from your other platforms.

Hi niloc132,
Ok, noted.
Know what I am wrong now,  and i need to try other way to do that.
So Appreciate for your help