Not all cameras are showing up on the Samsung Galaxy S24 Ultra

Environment

OS: Linux Mint 22 x86_64
Scrcpy version: 2.7
Installation method: git and then install_release.sh
Device model: Samsung Galaxy S24 Ultra
Android version: 14

Describe the bug
when i use scrcpy --list-cameras i only get 4 camras (2 in front, 2 in back), but the phone has 4 in back. 0 to 3 works fine, and i can iven use id 4.
scrcpy --list-cameras
scrcpy 2.7 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO:     --> (tcpip)  <IP_ADDRESS>:5555              device  SM_S928B
/usr/local/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 89.4 MB/s (71200 bytes in 0.001s)
[server] INFO: Device: [samsung] samsung SM-S928B (Android 14)
[server] INFO: List of cameras:
    --camera-id=0    (back, 4080x3060, fps=[10, 11, 15, 24, 30, 60])
    --camera-id=1    (front, 4000x3000, fps=[10, 15, 24, 30, 60])
    --camera-id=2    (back, 4000x3000, fps=[10, 15, 24, 30, 60])
    --camera-id=3    (front, 3392x2544, fps=[10, 15, 24, 30, 60])

See discussions in #4392 about logical cameras.

I think there’s a misunderstanding. The four cameras that show up are working fine, including camera ID=4. However, the phone has four cameras on the back, not just two. Sorry for not being clear about that.
scrcpy --video-source=camera --camera-id=0 --no-audio --camera-fps=60 --camera-size=1920x1080
scrcpy 2.7 <https://github.com/Genymobile/scrcpy>
INFO: Camera video source: control disabled
INFO: ADB device found:
INFO:     --> (tcpip)  <IP_ADDRESS>:5555              device  SM_S928B
/usr/local/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 163.8 MB/s (71200 bytes in 0.000s)
[server] INFO: Device: [samsung] samsung SM-S928B (Android 14)
[server] INFO: Using camera '0'
INFO: Renderer: opengl
INFO: OpenGL version: 4.6 (Compatibility Profile) Mesa 24.0.9-0ubuntu0.1
INFO: Trilinear filtering enabled
INFO: Texture: 1920x1080

scrcpy --video-source=camera --camera-id=4 --no-audio
scrcpy 2.7 <https://github.com/Genymobile/scrcpy>
INFO: Camera video source: control disabled
INFO: ADB device found:
INFO:     --> (tcpip)  <IP_ADDRESS>:5555              device  SM_S928B
/usr/local/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 150.3 MB/s (71200 bytes in 0.000s)
[server] INFO: Device: [samsung] samsung SM-S928B (Android 14)
[server] INFO: Using camera '4'
INFO: Renderer: opengl
INFO: OpenGL version: 4.6 (Compatibility Profile) Mesa 24.0.9-0ubuntu0.1
INFO: Trilinear filtering enabled
INFO: Texture: 640x480

I managed to get it to work by replacing CameraCapture.java and LogUtils.java with the same files from https://github.com/chenxiaolong/scrcpy/commits/phys. Then, I fixed a few errors, mostly by deleting if statements. I will attach the two modified files; I had to change the extension to .txt to be able to upload them.
CameraCapture.txt
LogUtils.txt

By the way, rom1v, sorry for not reading your comment well enough.


{Linked:Bug3118618} [Adaptive Cards > Action.Toggle Visibility] - Screen Reader is not conveying the 'Expanded/Collapsed' state for the more option button.

Target Platforms
Other
SDK Version
1.0
Application Name
Adaptive Cards
Problem Description
Test Environment:
URL: https://adaptivecards.io/explorer/Action.ToggleVisibility.html
OS Version: 23H2(OS Build 25915.1000)
Browser Version: Edge Dev 117.0.2033.0
Screen Reader: Narrator
Repro Steps:

Open the URL on Edge Dev browser.
Press tab key and navigate to the 'More Option' button under 'Please confirm your data'.
Press enter key and observe the issue.

Actual Result:
While navigating to the 'More Option' button on pressing enter key, screen reader is not conveying the state information as 'Expanded'. It is simply announcing the information about the items present under it.
Expected Result:
Screen reader should convey the state information when user activates the 'More Option' button. It should announce as 'More Option button expanded then it should announce the items present under it.'
User Impact:
Users who rely on screen readers will be affected if screen reader does not announce expand/collapsed state info for the controls present in the Action.toggle visibility screen. Due to this user will get confused and will not get idea that control is getting expanded/collapsed and this may cause distortion.
MAS Reference:
https://microsoft.sharepoint.com/:w:/r/sites/accessibility/_layouts/15/Doc.aspx?sourcedoc={507B5D90-F1B9-4AE1-91D1-2F1F2D6C7C1D}&file=MAS 4.1.2 – Name%2C Role%2C Value.docx&action=default&mobileredirect=true&share=IQGQXXtQufHhSpHRLx8tbHwdAUoz-PLo6lZ2eagKqmDeOGc
Have feedback to share on Bugs? Please help fill Trusted Tester Bug Feedback (office.com).
Screenshots
https://github.com/microsoft/AdaptiveCards/assets/95913748/6ae158f0-a128-454c-b0e1-607665c50439
Card JSON
NA

Sample Code Language
No response
Sample Code
No response

This bug can be originally tracked using the URL below.
https://dev.azure.com/domoreexp/MSTeams/_workitems/edit/3118618
Snippet:

Any update on this issue?

This issue is working fine on the environment below, hence closing this issue.
Test Environment:
URL: https://adaptivecards.io/explorer/Action.ToggleVisibility.html
OS Version: 23H2(OS Build 25977.1000)
Browser Version: Version 120.0.2186.2 (Official build) dev (64-bit)
Screen Reader: Narrator


Fix rq pixels being fired when queryt didn't change

Task/Issue URL: https://app.asana.com/0/1202552961248957/1205843589662925/f
Description
Steps to test this PR
Check pixels fired

[ ] Clean install on a device with Android 13+ and English_US
[ ] Enable voice search
[ ] Perform a search
[ ] Check rq_0 nor rq_1 pixels are fired

Check voice search icon behavior

[ ] Enable voice search
[ ] Tap on the omnibar
[ ] Check both voice search and clear texr buttons are shown
[ ] Type a character
[ ] Check voice search icon disappears and clear text is still shown
[ ] Clear text
[ ] Check clear text button disappears and voice search one is shown

UI changes
No UI changes

Current dependencies on/for this PR:

develop

PR #3783   👈

This stack of pull requests is managed by Graphite.


input/http_server: allow other methods than POST

As we discussed in Discord, (I) need support for other methods in http_server, such as PUT and GET.
As you said, we can add a allowed_methods config in http_server so we can support this feature 👍

Done https://github.com/Jeffail/benthos/commit/2d961ae6e6cbd6e8818effef921db9e5ecdcd2f0


Accept legacy language features

Fix #20419

Accept legacy language features
For other unknown options, it will still fail.

This PR just lists strings not to error on. They have no other representation.
(The principled solution would introduce deprecated feature flags, with labored text that they are no-ops for backward convenience; but that seems overkill.)


['Eco News' page]Create News: Publish functionality #526

Steps to reproduce:
1.Go to https://ita-social-projects.github.io/GreenCityClient/#/news
2.Go to Eco News page
3.Click "Create news" button
4.Enter news
5.Click "Publish" button
Actual result:
"Publish" button does not work
Expected result:
User is able to post news using "Publish" button
Environment:
Windows 10 Enterprise LTSC, Chrome 80.0.3987.132

Not relevant


Polish Pass on CONTRIBUTING.adoc

The CONTRIBUTING file was already 99% of the way there in this repo, so I did a pass to

standardize line length to 80 characters
change master to main
drop some redundant words

Next time we should do an "American" pass ;)


No support of kubernetes.io/dockercfg secret type

When using kube-image-keeper with GitLab Kubernetes Runner, the latter fails to pull any image with the error in corresponding kube-image-keeper proxy pod:
I0523 14:22:43.455311       1 server.go:113] "proxying request" repository="gitlab/gitlab-runner-helper" originRegistry="public.ecr.aws"
I0523 14:22:43.460211       1 server.go:116] "cached image is not available, proxying origin" originRegistry="public.ecr.aws" error="404 Not Found"
I0523 14:22:43.460239       1 server.go:200] "listing CachedImages" repositoryLabel="public.ecr.aws-gitlab-gitlab-runner-helper"
[GIN] 2023/05/23 - 14:22:43 | 401 |   30.418805ms |    <IP_ADDRESS> | HEAD     "/v2/public.ecr.aws/gitlab/gitlab-runner-helper/manifests/x86_64-latest"
Error #01: invalid secret: missing .dockerconfigjson key

The root cause might be that GitLab runner uses kubernetes.io/dockercfg secret type of imagePullSecret for it's runner pods which has .dockercfg key in it instead of .dockerconfigjson.
Would it be possible to add support of kubernetes.io/dockercfg secret type?

The above policy will not work if registry is used and it requires authentication. Below is a Kyverno Policy that deletes only gitlab-runner dockercfg registry secret. It's still possible to use gitlab registry by adding a static dockerconfigjson secret to imagePullSecrets list of runner pods.
apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
  name: glr-image-pull-secret
  annotations:
    policies.kyverno.io/title: Change Gitlab CI/CD Pods to ignore gitlab registry image pull secret
spec:
  validationFailureAction: Audit
  rules:
    - name: remove-image-pull-secrets-rule
      match:
        any:
          - resources:
              kinds:
                - Pod
              names:
                # Gitlab runner pods always have same prefix
                - "runner-*"
              namespaces:
                # Match all GLR namespaces
                - "prod-*-glr-*"
      preconditions:
        any:
          - key: "{{ request.object.spec.imagePullSecrets || '' }}"
            operator: NotEquals
            value: ""
      mutate:
        foreach:
          - list: "request.object.spec.imagePullSecrets"
            preconditions:
              any:
              - key: "{{ element.name }}"
                operator: Equals
                value: "runner-*"
            patchesJson6902: |-
              - path: /spec/imagePullSecrets/{{elementIndex}}
                op: remove

:tada: This issue has been resolved in version 1.2.0-beta.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

Awesome! Thank you, @paullaffitte !


Don't exclude all dso

Comment:
See https://github.com/conda-forge/staged-recipes/pull/21708#discussion_r1073497577 for context

Not using missing_dso_whitelist anymore since https://github.com/conda-forge/deepspeed-feedstock/pull/66/commits/ba5c33dada6f465f9f9810bff84d60ef29211eb1 in #66, so closing.


[IOTDB-2315] Modify some problems of metric

Fix some error in metric doc model.
Fix some description of iotdb-metric.yml
Modify some config of metric model into hot load way: enableMetric and pushPeriodInSecond.
add preDefinedMetrics in iotdb-metric.yml

Coverage increased (+0.02%) to 67.663% when pulling 9cc35d836bb0c13e8ca200b3cbbb872dd97cbb1c on stormbroken:fix/metric_for_013 into c5283320ee3521ed0d4f85cad072ef370a7bf8b4 on apache:master.


Feat/autocomplete with metadatawidget

AutocompleteWidget: The hover information of the option doesn't have any design. Add the MetadataWidget for additional and styled information. Doesn't include entity source or source URL yet (should we add this information to the MetadataWidget?). Unstyled hover information still present - should be removed after adding the source information to the MetadataWidget - do not merge this PR before.

Caveat: Not accessible - no links can be clicked and only one tab can be displayed.
Solves #127

MetadataWidget: Data not available will result in a blank. Use conditionals to avoid spaces.

Before:

After:

Solves #176

@jusa3
Nice idea! I just noticed two points:
1- The hover menu should be removed now that we have this in my opinion:

2- There is a loading symbol that appears in a small box next to the autocomplete when one hovers over the result. It happens very fast which makes it hard to take a screenshot.

I can remove the old hover menu when we decide what we do with the source and source URL so that no feature gets lost.
It's the loading spinner of the MetadataWidget. The default position of the tooltip is "top" so it first appears on top with the loading spinner and when the data loads and the data is too large for the top position it gets displayed at the bottom. I'm afraid we can't change this behaviour.


Add Binary Search Algorithm In Java

Can I add the Java program for searching an Integer in an array using Binary Search?
I will follow all the contributing guidelines.

Sure.


fix: add license

cheers,
originally, this project had an apache 2.0 license file (#1) which somehow got lost during the 1.0.0 release. Can we add it back or was this a deliberate action?

@nikitabelonogov any chance you could let me know whether we can add this here? Thanks!

@moritzwilksch Hello, thank you for your PR! We are discussing it with our team.

amazing, thank you!


[BuyerAuthentication] Bug hunt 2024 using auth_test route

WHY are these changes introduced?
Fixes #0000

WHAT is this pull request doing?

HOW to test your changes?

Post-merge steps

Checklist

[ ] I've read the Contributing Guidelines
[ ] I've considered possible cross-platform impacts (Mac, Linux, Windows)
[ ] I've added a changeset if this PR contains user-facing or noteworthy changes
[ ] I've added tests to cover my changes
[ ] I've added or updated the documentation

/snapit

/snapit

/snapit

/snapit


Missing Textures

I am trying to just add a Title, and I have the file but the mod is giving me a missing texture when I try to use it.
My Directory is: C:\Users(use)\AppData\Roaming.minecraft\resources\textures\arrcraft\gui
And my .json file is as follows:
If you could help me figure out my problem that would be great, as I have extremely basic knowledge with coding.
{
"images":
{
"title":
{
"image":"mainmenu:textures/arrcraft.png",
"posX" : -137,
"posY" : 30,
"width" : 375,
"height" : 200,
"alignment" : "top_center"
}
},
"buttons":
{
    "singleplayer":
    {
        "text" : "menu.singleplayer",
        "posX" : -100,
        "posY" : 48,
        "width" : 200,
        "height" : 20,
        "action" :
        {
            "type" : "openGui",
            "gui" : "singleplayer"
        }
    },

    "multiplayer":
    {
        "text" : "menu.multiplayer",
        "posX" : -100,
        "posY" : 72,
        "width" : 200,
        "height" : 20,
        "action" :
        {
            "type" : "openGui",
            "gui" : "multiplayer"
        }
    },

    "mods":
    {
        "text" : "fml.menu.mods",
        "posX" : -100,
        "posY" : 96,
        "width" : 200,
        "height" : 20,
        "action" :
        {
            "type" : "openGui",
            "gui" : "mods"
        }
    },

    "options":
    {
        "text" : "menu.options",
        "posX" : -100,
        "posY" : 132,
        "width" : 98,
        "height" : 20,
        "action" :
        {
            "type" : "openGui",
            "gui" : "options"
        }
    },

    "quit":
    {
        "text" : "menu.quit",
        "posX" : 2,
        "posY" : 132,
        "width" : 98,
        "height" : 20,
        "action" :
        {
            "type" : "quit"
        }
    },

    "language":
    {
        "text" : "",
        "posX" : -124,
        "posY" : 132,
        "width" : 20,
        "height" : 20,
        "action" :
        {
            "type" : "openGui",
            "gui" : "languages"
        }
    },

    "refresh":
    {
        "text" : "",
        "posX" : -154,
        "posY" : 132,
        "width" : 20,
        "height" : 20,
        "texture" : "custommainmenu:textures/gui/buttons.png",
        "action" :
        {
            "type" : "refresh"
        }
    }
},

"labels":
{
    "mojang":
    {
        "text" : "Copyright Mojang AB. Do not distribute!",
        "posX" : -197,
        "posY" : -10,
        "color" : -1,
        "alignment" : "bottom_right"
    },

    "fml":
    {
        "text" : "",
        "posX" : 2,
        "posY" : -40,
        "color" : -1,
        "alignment" : "bottom_left"
    }
},

"other":
{
    "splash-text":
    {
        "posX" : 90,
        "posY" : 70,
        "color" : -256,
        "alignment" : "top_center",
        "texts" : "file:minecraft:texts/splashes.txt"
    },

    "panorama":
    {
        "images" : "minecraft:textures/gui/title/background/panorama_%c.png",
        "animate" : true,
        "animationSpeed" : 1,
        "blur" : true,
        "gradient" : true
    }
}

}

assuming your png's full path name is C:\Users(use)\AppData\Roaming.minecraft\resources\textures\arrcraft\gui\arrcraft.png
it would be
"image":"textures:arrcraft/gui/arrcraft.png",
For simplicity and good file structure practice you could just have your folders this way:
C:\Users(use)\AppData\Roaming\.minecraft\resources\mainmenu\textures\arrcraft.png
and then for image:
"image":"mainmenu:textures\arrcraft.png",

Tip: the first folder inside the resources will always be the "namespace" for assets,

(the word before : )

I have made the path
C:\Users(use)\AppData\Roaming\.minecraft\resources\mainmenu\textures\arrcraft.png
And when I make the code line
"image":"mainmenu:textures\arrcraft.png",
I just get a white box with nothing inside of it and I have no idea what went wrong.
Is it possible that it's my graphics card?

is the arrcraft.png file actually in the textures folder?

Yes it is in the textures folder.

without knowing anything else if your not getting a missing texture issue then my first assumption is possibly a file format issue. have a link for the picture your using?

Like a download link or?

yep

i used the textcraft.net website to make it

working on my end, by chance do you have ResourceLoader installed?

I do, and I am using minecraft 1.8.9 as my computer is not the best for gaming.

ah never used it in that version. not sure if its the same as 1.12.2. sorry bud

It's fine I found my problem: Was using the wrong version of resource loader.  Thanks for all of your hep man


[QUESTION] Should we expect to see changes in the Home page of the Learning Pathways site if we have to provision it manually with the script?

What is the context of your question?

[ ] Installation
[ ] Administration
[ ] Custom Content
[X ] M365 learning pathways web part

What is your question?
We attempted to provision Learning Pathways on our site and it would never work - no error, it would just spin, even after leaving it for hours it would never work.  We opened a few tickets with support and we were told to provision it manually using the script.  I did that, but we were expecting it to behave the same way as if it were provisioned the other way.  After we finished we expected the "home" page to change - but it has never changed.  I have opened another ticket with support and they are unable to tell me why it doesn't change or if it is even supposed to change since it was manually created with the script.  Should we expect a change in the home page when we provision with the script?
Provide related screen-shots to help us understand your question

Provisioning the site manually through the install scripts does not create the related "getting started" pages in your site collection, it only provisions the web part package and sets up various tenant app properties and configures the admin and viewer pages.  To get the pages you would have to provide through the provisioning service.  Support for the provisioning service is done through GitHub via the sp-dev-docs repo, not a support ticket through Microsoft (not entirely clear if that's whom you mean when you reference support).
That said the provisioning is simply creating a template of content to help you get started and it will not be updated after that first time it's provisioned.

Yes we were going through Microsoft support for assistance.  Thank you for the information this was very helpful.  We thought we had done something incorrectly.


HDDS-3755. Fix the wrong parameters sequence within allocateContainer.

What changes were proposed in this pull request?
Fix the wrong parameters sequence within allocateContainer. The storageClass parameter should be the second parameter.
What is the link to the Apache JIRA
HDDS-3755
How was this patch tested?
CI check.

@elek Please take a look at this PR. Thanks.

Merged. Thanks the help.


Add translation for [KOREAN]

Expected time to finish: [3] weeks. I'll start working on it from [2020/11/21].

Hey @fgo0615, that's nice to know :) Feel free to check out https://github.com/satwikkansal/wtfpython/issues/128
A couple of people have attempted it previously, so you can probably build upon their work.

Oh I think @buttercrab finished this issue. So I close this issue. Thank you for your kindness.


cmd/go: consider some type of tooling to easily test multiple major versions in a single binary

What version of Go are you using (go version)?
Go 1.11
Brief background
Semantic import versioning means multiple major versions of a package might be included in a single build (e.g., v1 and v2 might both be in a single build, or perhaps something like v1, v7, and v15 in a single build). This approach helps with multiple aspects of the modules system, including helping with diamond dependency problems, or allowing a major version to be implemented as a shim around a different major version, etc.
Some related snippets from the "Avoiding Singleton Problems" section of the https://research.swtch.com/vgo-import post, which outlines how this is an improvement over multiple copies due to vendoring and sketches some possible approaches to avoiding conflicts across major versions of a module:

One common objection to the semantic import versioning approach is that package authors today expect that there is only ever one copy of their package in a given build. Allowing multiple packages at different major versions may cause problems due to unintended duplications of singletons. An example would be registering an HTTP handler. If my/thing registers an HTTP handler for /debug/my/thing, then having two copies of the package will result in duplicate registrations, which causes a panic at registration time. Another problem would be if there were two HTTP stacks in the program. Clearly only one HTTP stack can listen on port 80; we wouldn't want half the program registering handlers that will not be used.
Moving to vgo and semantic import versioning clarifies and simplifies the current situation though. Instead of the uncontrolled duplication caused by vendoring inside vendoring, authors will have a guarantee that there is only one instance of each major version of their packages. By including the major version into the import path, it should be clearer to authors that my/thing and my/thing/v2 are different and need to be able to coexist. Perhaps that means exporting debug information for v2 on /debug/my/thing/v2. Or perhaps it means coordinating. Maybe v2 can take charge of registering the handler but also provide a hook for v1 to supply information to display on the page. This would mean my/thing importing my/thing/v2 or vice versa; with different import paths, that's easy to do and easy to understand. In contrast, if both v1 and v2 are my/thing it's hard to comprehend what it means for one to import its own import path and get the other.

Suggestion
This is not fully fleshed out idea, but recording here in case it triggers others in the community to comment with more precise thoughts.
Ideally the go tooling would make it easy to test multi-major version scenarios to help catch any related problems with global registries, global handlers, singletons, etc.
Consider some type of testing option that automatically creates a single binary containing all major versions of a module and runs their tests in parallel from within a single binary. This would not catch all issues, but might help catch the most common issues that arise from having more than one major version in a single build.
Perhaps this could be a go test feature, or part of go release (#26420), or ____.  Perhaps this could be for all major versions, as well as perhaps for a subset of major versions (e.g., perhaps a set of manually selected major versions, or perhaps the tooling could automatically selecting different subsets of major versions).
Ideally it could done in a way such that it is very easy for a module author.
Alternatively, perhaps this is just a documented recommendation with the steps needed to do this manually.
@gopherbot, please add label modules.

Ideally the go tooling would make it easy to test multi-major version scenarios to help catch any related problems with global registries, global handlers, singletons, etc.

I would go a step further: ideally, all major versions except for the latest would be simple forwarding shims (to the next major version). Then the test of v1 necessarily depends on v2, because v1 itself is just a wrapper around v2.
I think I'm going to take a stab at a tool to automatically construct such shims, as sort of a dual to @marwan-at-work's mod tool.

I think I'm going to take a stab at a tool to automatically construct such shims

https://golang.org/cl/137076 contains an initial version of that tool.
In general, you can use blank-imports to pull in all of the major versions you care about to at least test that they can compile and init together.
Beyond that, I don't think there's an obvious path forward on this issue for now. If we discover specific pain points — or have ideas for specific tools — we can open separate issues for those.


File MI Annual Report

See Allen for info. $20 fee

@joel6653 has then been completed for this year?


Retain state between live reloading restarts

https://www.reddit.com/r/haskell/comments/sat5wv/simplest_way_to_retain_state_in_ghci looks like a pretty chill way to do it

Or maybe look into https://hackage.haskell.org/package/rapid ?


suggestion: intergration with wikidata

I was thinking that as wikidata is such a trove of useful information, integrating with it at some level could be useful
For example, allowing a wikidata id to be attached to a record as a tag, for example, I live in a suburb of South London called Hayes and the benches mention Hayes, so you could add the wikidata id for it Q2690370
With that id you could show other records that have the same tag, or link to something like "reasonator" that  takes the ID does a query and shows all it knows (about Hayes for example) in a nice human-readable format https://reasonator.toolforge.org/?&q=2690370
My thinking is to encourage people to dig down in your data and also to answer questions people may have such as a placename or persons name (if they are notable enough to have a wikidata entry)

That's an interesting idea. We already have metatags for location.
<meta property="place:location:latitude"  content="52.477772">
<meta property="place:location:longitude" content="-1.898581">
<meta itemprop="latitude"  content="52.477772" />
<meta itemprop="longitude" content="-1.898581" />

Can you suggest a good way to get a Wikidata ID from the data? And, I guess more importantly, how to expose them to a user?
Are there any example websites which do this well?

I was thinking more of a tagcloud instead of microdata (though I sure there are things that can be done with that too)

OK, I can look into it. Do you have any example sites I can copy from?

I use wikidata a lot, and don't think there is much useful integration. The context for a bench is very unclear, is is the churchyard, village, parish, town, county or country. All have wikidata items, but you'd be better off tying into OpenStreetMap, where they have the granularity of benches in their data.

Well an extreme example of a bench that could do with more data linking to/from it is the one for the band "Black Sabbath", tourists looking at the benches might wonder who the people on the bench are and want to find out more, wikidata could give links to articles, pictures and of course music.
In some ways, openbenches could make the branch interactive!
https://openbenches.org/edit/24599

That would be great in a bench comment, but benches seem to be very rarely for famous people. I guess they aspire for statues...

I really like the idea of adding Wikidata about the subject of a bench. But, as jbray1 says - most of them are for people without Wikipedia bios.
I wonder about doing the reverse though? Would it be possible to put the bench link into the Wikidata page of a subject?

The two ways of adding external links to wikidata are to propose a new property, where you formalise the URL, or to just add a bald 'described by source' OpenBenches with qualifier URL where you put the link
The former needs a consultation process, and it would probably be rejected as not notable enough. Anyone can add the latter once they have a wikidata account, but TBH they are in danger of deletion, as not being notable in most cases.

OB isn't probably isn't big enough (or easy enough for its admins to get their heads around) for it to have its own "property"
(the equivalent in the triplet-world of a field)
They do have a property called URL that I have added OB too (but that may get removed by an admin)

I have also added it in a property called "website account on" that may have more change of "sticking"

We have
https://www.wikidata.org/wiki/Q47526250
and
https://commons.wikimedia.org/wiki/Category:OpenBenches
So there are some Wiki[p|m]edia pages which use the photos - https://commons.wikimedia.org/wiki/Category:Benches_in_OpenBenches
I'm not immersed enough in Wiki-speak to know if that helps or hinders this idea :-)

Nice, so a picture of an OB in a Wikipedia article (for example in Black Sabbaths) could lead (by following enough links) to OB itself.


Setting all properties with map object causes error

Setting all properties using map object does not work.
But works with map literal and individual map keys.
-- ERROR:  properties() argument must resolve to a scalar value
SELECT * FROM cypher('playground', $$
    WITH {first: 'jon', last: 'snow'} AS map
    MERGE (v:PERSION {id: '1'})
    SET v=map
    RETURN v,map
$$) as (v agtype, map agtype);

-- works with map keys
SELECT * FROM cypher('playground', $$
    WITH {first: 'jon', last: 'snow'} AS map
    MERGE (v:PERSION {id: '1'})
    SET v.first=map.first, v.last=map.last
    RETURN v,map
$$) as (v agtype, map agtype);

-- works with map literal
SELECT * FROM cypher('playground', $$
    MERGE (v:PERSION {id: '1'})
    SET v={first: 'jon', last: 'snow'}
    RETURN v
$$) as (v agtype);

@mingfang Will look into this.

@mingfang PR #1637 created to fix this in the master branch.

wow that was fast. thanks!

@mingfang The PR was approved and applied to the master branch. This should be resolved. Please verify at your convenience and consider closing the ticket if this is resolved :)

confirmed fixed

@jrgemignani thank you!


adding time set functionality

Adding functionality for parse and set of time.

Looks like some minor code style issues are failing the Travis-CS tests.

Very nice! I like the approach - seems much simpler than last time around.  A few notes, but other than that, LGTM.

The first go on this pull request was complex because I was trying to create this n-parses scenario, where if the first call of SetTime caused the moment to become invalid, a subsequent good parse could cause it to become valid again.

However, I think that it should be noted in the documentation around this functionality that once a parse renders the date invalid, there is no going back. This may or may not be what people expect.

@mj1856 I fixed the commit history and the resultant merge conflicts on this a couple days ago, so it could go out. That said, knowing significantly more about the library than I did the day I wrote it, I question whether this feature should exist.
In abstract, it is useful. I can see how you came up with it because it would be very helpful in dealing with pre-defined shift start times in a time and attendance solution.
In practice, you take a system that currently parses 1 time, and make it parse n times. The following are weird resultant implications:

Moments can potentially become invalid at any time. I believe currently moments can only become invalid at initial creation unless they're manually invalidated. This is a bit of a paradigm shift in the code.
Parsing flags no longer have meaningful data. I'm overwriting some, concatenating lists with others. The only way around this would be to only hang on to parsing flags for the most recent parse, which makes you lose information for the initial parse, or hang on to parsing flags for every parse, which eats memory and adds complexity. Either one is bad for supportability.
Once dates are parsed invalid, they can't be re-parsed to become valid. Fine, okay, but as a user, this doesn't make sense.

Given the number of support issues I see on using the parser as-is, I don't want to think about what will happen when people can use the parser n-times, but only with certain tokens, and not if the moment is invalid.
I'm okay with it seeing production, and I'm okay with it being removed. Just wanted to voice this concern as this PR has been sitting for a long time, and I know it has merge conflicts with another pull request that I made (that I do believe improves the code).

OH AND
-Because of the issues with overwriting the parsing flags that I talked about, you can't change the strict mode of this parse without having implications for the behavior of isValid for the entire moment
-I honestly think it adds more code to moment then it removes from the user's code base. Given that people already complain about the size of the library that kinda makes you go 'hmmm'.
I think I'm done now.

Closing.


run_command bug

run_command calls in handler and get_telescope_handler functions were not updated to reflect change from run_command to M.run_command in runnables.lua
#34

Fixed in 633d50650bf535127123de894f1684dde9ee5f45


The German translation of the pattern name is nonsense.

"Muster für die Anspruchsprüfung" is outrageously wrong.
The entire article's translation is so embarrassing that I don't even know where to start.

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

ID: 1970e0cd-53ae-02f6-479b-9ca386a5220e
Version Independent ID: 8a81baa3-61c2-a8f6-540c-9a239583b8d6
Content: Claim-Check pattern - Cloud Design Patterns
Content Source: docs/patterns/claim-check.md
Service: architecture-center
Sub-service: cloud-fundamentals
GitHub Login: @yorek
Microsoft Alias: pnp

Thanks for reporting - this issue is under review.  This is a Microsoft Internal DevOps Bug ID AB#267893

@BhargaviAnnadevara-MSFT - who can we get from the loc team to evaluate that page?

@ckittel Adding @SunnyDeng and @CeciAc from the Localization Team to evaluate this further.

Hi @clemensv
Thank you for your feedback.
I own loc content for architecture-center, so I'll follow up on this issue. Since the entire translation should be reviewed, I've requested for a linguistic quality check to evaluate and fix the translation. However, please allow some time as this process may not finish until 8/14 according to our sprint schedule. Will update this issue when work is completed.
cc @absheik @BhargaviAnnadevara-MSFT @ckittel @SunnyDeng @CeciAc

Thanks @JasonCard for looking into it.  HT @JasRobe for making the connection.

@JasonCard has this de version been through the process yet?

@ckittel Linguistic review has been completed, but the translation fixes have not yet been implemented. I'm currently following up on the progress and will update when completed.

Sorry, the implementation had to be put on hold as the process had changed. Then we had to restart the implementation today since there was update to the English source content and localized files were synced yesterday. The translation fixes should be published by Mon 8/24.

@ckittel @clemensv German translation fixes from linguistic review was completed and is now published live. Thank you again for your feedback!

@clemensv -- how does it look now?  We okay to close?


Race-enabled binary and RPC recorder

Our unit/e2e tests do not provide sufficient coverage for the existing code.
This shows up in undetected data races (e.g. #8083). I think we can improve the situation by doing two simple things:

turn on gRPC recorder in test clusters, by using https://godoc.org/cloud.google.com/go/rpcreplay; store as an artifact
replay the traces against race and coverage enabled builds, as a separate job in post-submit

As we accumulate traces, we can aggregate coverage and increase race-free input space.
Note that we should not be using instrumented binaries in all of the tests.
/cc @mandarjog @hklai

/assign istio-testing


Self referencing includes

Problem
Given the following SQL:
select
  *
from
  MessgageThread as mt
  inner join Arc as a on mt.arcId = a.id
  inner join User as u on mt.recipientUserId = u.id
  left join ArcClaim as ac on ac.userId = u.id
  and ac.arcId = a.id

I am able to get the claim associated with a user AND arc.
I'd like to replicate this in prisma but self referencing isn't possible.
const models = this.photonService.messageThread.findMany({
  includes: {
    recipientUser: {
      include: {
        arcClaims: {
          where: {
            arcId: /*USE MessageThread.Arc.Id HERE*/
          }
        }
      }
    },
    arc: {
      select: {
        name: true
      }
    }
  }
})

Suggested solution
Perhaps includes could accept a function which returns the same object as normal. When using the function it could be passed the current model.
const models = this.photonService.messageThread.findMany({
  includes: function(model: MessageThread) {
    return {
      recipientUser: {
        include: {
          arcClaims: {
            where: {
              arcId: model.arc.Id
            }
          }
        }
      },
      arc: {
        select: {
          name: true
        }
      }
    }
  }
})

This is just a thought off the top of my head so I'm not sure how feasible this is
Alternatives
The only alternative is rawQuery for now.

I'd also be interested in this feature, as I found myself needing it a few times.

That would be very useful

I would love such a feature!

It would save hours of work 😢

Is there any feature to make this work? I don't love using Prisma.sql, it doesn't seem like the best practice.


Fix: Validation of fields with a leading asterisk.

Description
https://forum.codeigniter.com/showthread.php?tid=82391&pid=398147#pid398147
Fixed: Validation of fields with a leading asterisk (wildcard).
Also fixed getting an error by field name with a leading asterisk.
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[x] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

Original reporter verifies this works 💪

Thank you! @iRedds


Update changelog, to prepare for release 2.2.1

Signed-off-by: Debosmit Ray<EMAIL_ADDRESS>

Coverage remained the same at 69.865% when pulling 43ce7ae89e089019a78cde00d62cb6f6edb5c738 on dray92:changelog into 91daa63c48cd8ff80a416c72c7fee0ae6ef271bc on uber-common:master.

Should be 2.3.0

Coverage remained the same at 69.865% when pulling 4f02083c8e993ab2a34d2e73d8a53be66bc7fc2f on dray92:changelog into 91daa63c48cd8ff80a416c72c7fee0ae6ef271bc on uber-common:master.


Web Testpage Overlay breaks with 'NoUniqueBeanDefinitionException: No qualifying bean'

Describe the bug
When the project https://github.com/FirelyTeam/fhirstarters/tree/master/java/hapi-fhirstarters-rest-server-skeleton is wrapped in a Spring application, the server fails to run and org.springframework.beans.factory.NoUniqueBeanDefinitionException error. It appears that this is related to the use of the Web Testpage Overlay.
To Reproduce

Clone repo from https://gitlab.com/brsolomon-deloitte/hapi-fhir-overlay-mvce
mvn clean jetty:run

This project is simply the original https://github.com/FirelyTeam/fhirstarters/tree/master/java/hapi-fhirstarters-rest-server-skeleton wrapped in a Spring application, which was in turn created using https://start.spring.io/. We have tried adding @Primary annotation to our FhirTesterConfig.java, but the error is unchanged.
$ tree src
src
└── main
    ├── java
    │   └── ca
    │       └── uhn
    │           └── example
    │               ├── app
    │               │   ├── DemoApplication.java < # New
    │               │   └── ServletInitializer.java < # New
    │               ├── config
    │               │   └── FhirTesterConfig.java
    │               ├── model
    │               │   └── MyOrganization.java
    │               ├── provider
    │               │   ├── OrganizationResourceProvider.java
    │               │   └── PatientResourceProvider.java
    │               └── servlet
    │                   └── ExampleRestfulServlet.java
    ├── resources
    └── webapp
        └── WEB-INF
            └── web.xml

Expected behavior
FHIR server should start up successfully with Web Testpage Overlay accessible at http://localhost:8080.
Screenshots
n/a
Environment (please complete the following information):

HAPI FHIR Version: 6.7.0-SNAPSHOT
OS: MacOS 13.5.1
Browser: Chrome

Additional context
Full stack trace: https://gist.github.com/brsolomon-deloitte/92fa3870d7297e2c85b31d7920728c77

Bump


possible add image optimization?

Its possible add image optimization ?
thanks

Not able to add more that one image in this package ?


WayBar randomly crashes

Hey guys, so I recently installed sway on my new Fedora 30 machine with waybar. And I have been experiencing quite a lot of crashes, I was wondering if this is a problem on my side or something els.
Thanks
GeoDerp
The common crash note:
/usr/include/c++/9/bits/stl_stack.h:200: std::stack<_Tp, _Sequence>::reference std::stack<_Tp, _Sequence>::top() [with _Tp = Json::Value*; _Sequence = std::deque<Json::Value*, std::allocator<Json::Value*> >; std::stack<_Tp, _Sequence>::reference = Json::Value*&]: Assertion '__builtin_expect(!this->empty(), true)' failed.
Aborted (core dumped)

Other crash notes:
* Line 1, Column 21
  Missing ',' or ']' in array declaration

Workspaces: in Json::Value::resolveReference(key, end): requires objectValue
/usr/include/c++/9/bits/stl_stack.h:200: std::stack<_Tp, _Sequence>::reference std::stack<_Tp, _Sequence>::top() [with _Tp = Json::Value*; _Sequence = std::deque<Json::Value*, std::allocator<Json::Value*> >; std::stack<_Tp, _Sequence>::reference = Json::Value*&]: Assertion '__builtin_expect(!this->empty(), true)' failed.
Workspaces: * Line 1, Column 2
  Missing ':' after object member name
* Line 1, Column 24
  Syntax error: value, object or array expect
ed.

double free or corruption (out)
Aborted (core dumped)

From gdb:
Disabling module "backlight", No backlight found
Disabling module "battery", No batteries.
Disabling module "battery#bat2", No battery named BAT2
[New Thread 0x7fffaaffd700 (LWP 28544)]
[Thread 0x7fffe7b79700 (LWP 28514) exited]
/usr/include/c++/9/bits/stl_stack.h:200: std::stack<_Tp, _Sequence>::reference std::stack<_Tp, _Sequence>::top() [with _Tp = Json::Value*; _Sequence = std::deque<Json::Value*, std::allocator<Json::Value*> >; std::stack<_Tp, _Sequence>::reference = Json::Value*&]: Assertion '__builtin_expect(!this->empty(), true)' failed.

Thread 6 "waybar" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffe5fe1700 (LWP 28517)]
0x00007ffff6531eb5 in raise () from /lib64/libc.so.6

WayBar version:
Waybar v0.6.0

My WayBar conf's:

config
style.css

Theses crash must be fixed on master and in the upcoming version (0.6.4)

* Line 1, Column 21
  Missing ',' or ']' in array declaration

Is a syntax pb from your config file

* Line 1, Column 21
  Missing ',' or ']' in array declaration

Is a syntax pb from your config file

I don't believe so, After a quick check I could't find anything. Do Keep in mind that:
* Line 1, Column 21
 Missing ',' or ']' in array declaration

Does not come up often or at all comparing to:
/usr/include/c++/9/bits/stl_stack.h:200: std::stack<_Tp, _Sequence>::reference std::stack<_Tp, _Sequence>::top() [with _Tp = Json::Value*; _Sequence = std::deque<Json::Value*, std::allocator<Json::Value*> >; std::stack<_Tp, _Sequence>::reference = Json::Value*&]: Assertion '__builtin_expect(!this->empty(), true)' failed.
Aborted (core dumped)

which can happen from every 2 min's to every 30min's

Probably can't see it, but there isn't too much  syntax wise that makes it different from the master (master is the one on the left)

I have also gotten this just then:
Workspaces: assert json failed
* Line 1, Column 21
  Missing ',' or ']' in array declaration

Workspaces: assert json failed

This wasn't a crash error, but an error none then less

No i mean by the master version, waybar itself, not configs files :)

No i mean by the master version, waybar itself, not configs files :)

hahaha, aaaaaaah, sorry it's been a long day. I'm currently using the 0.6.3 tag but ill compile the master into a rpm and try that

Built Waybar from master (a1ffa7f) today. I still get seemingly random crashes. Built and ran Waybar with debugoptimized and got the following BT. Hope it helps.
https://gist.github.com/firat/8653f6c63596383d8eb703a62d9ae4d4

@firat It doesn't help me much, do you do anything in particular before the crash?
Does this happen often?
If this happens often can you test by removing modules one by one to see if it comes from a particular module? :)

@Alexays it's hard to tell. I usually takes me a while to notice that Waybar is gone. It's hard to notice it crashed. Maybe sending a notification when it crashes might be a solution. I'll see if I can write a wrapper script to run waybar and send a notification when it exits.

This seems to be happening when I plug/unplug an external display.

This happens to me randomly too with latest git. Best I can say is when switching workspaces. How can I run waybar to get more debugging information?

Okay, I figured it out this came from the network module.
Can you test if it's better with d34c3a801c3ab73eb70b02dc0bea25b4ae1bb81d

I updated from master (because I read the email notification directly) and now some icons are missing, but I'm sure you're aware of it because the edits. :+1:

Some icons?

Some icons?

Yeah, after updating from master by ethernet/vpn icons are gone:

Oh i see, fixed on master

Oh i see, fixed on master

Confirmed :+1: Thanks! (and sorry for the offtopic on the issue)

Fixed (on my side) with aa385e28b6c2c6e8e261b6b108f3635e86796b01
I'm not a big fan of the fix but it works.
Tell me if it's not fixed for you.

Mine still crashes randomly, though a lot less than before:

strace
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, 0) = 0 (Timeout)
lseek(3, 0, SEEK_SET)                   = 0
read(3, "TcpExt: SyncookiesSent Syncookie"..., 8191) = 2588
lseek(3, 0, SEEK_SET)                   = 0
read(3, "TcpExt: SyncookiesSent Syncookie"..., 8191) = 2588
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, -1) = 1 ([{fd=13, revents=POLLIN}])
read(13, "\270\320EE\240U\0\0\220LHE\240U\0\0", 16) = 16
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, 0) = 0 (Timeout)
lseek(3, 0, SEEK_SET)                   = 0
read(3, "TcpExt: SyncookiesSent Syncookie"..., 8191) = 2588
lseek(3, 0, SEEK_SET)                   = 0
read(3, "TcpExt: SyncookiesSent Syncookie"..., 8191) = 2588
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, -1) = 1 ([{fd=13, revents=POLLIN}])
read(13, "\270\320EE\240U\0\0\220LHE\240U\0\0", 16) = 16
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, 0) = 0 (Timeout)
lseek(3, 0, SEEK_SET)                   = 0
read(3, "TcpExt: SyncookiesSent Syncookie"..., 8191) = 2588
lseek(3, 0, SEEK_SET)                   = 0
read(3, "TcpExt: SyncookiesSent Syncookie"..., 8191) = 2588
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, -1) = 1 ([{fd=13, revents=POLLIN}])
read(13, "(\232HE\240U\0\0\220LHE\240U\0\0", 16) = 16
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, 0) = 0 (Timeout)
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, 0) = 0 (Timeout)
sendmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\25\0\0\0\1\0\24\0\35\0\0\0\0\0\0\0\0\0\0\0\25\0\0\0\10\0\f\0\1\0\0\0"..., iov_len=76}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT|MSG_NOSIGNAL) = 76
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, 0) = 0 (Timeout)
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, -1) = 1 ([{fd=4, revents=POLLIN}])
recvmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\35\0\0\0\0\0\10\0", iov_len=3452}, {iov_base="", iov_len=644}], msg_iovlen=2, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = 8
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, -1) = 1 ([{fd=4, revents=POLLIN}])
recvmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\"\0\0\0\0\0\f\0%\341\374\0\1\0\0\0\1\0\f\0\"\0\0\0", iov_len=3444}, {iov_base="", iov_len=652}], msg_iovlen=2, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = 24
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, -1) = 1 ([{fd=13, revents=POLLIN}])
read(13, "\270\320EE\240U\0\0\220LHE\240U\0\0", 16) = 16
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, 0) = 0 (Timeout)
lseek(3, 0, SEEK_SET)                   = 0
read(3, "TcpExt: SyncookiesSent Syncookie"..., 8191) = 2588
lseek(3, 0, SEEK_SET)                   = 0
read(3, "TcpExt: SyncookiesSent Syncookie"..., 8191) = 2588
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, -1) = 1 ([{fd=13, revents=POLLIN}])
read(13, "\270\320EE\240U\0\0\220LHE\240U\0\0", 16) = 16
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, 0) = 0 (Timeout)
lseek(3, 0, SEEK_SET)                   = 0
read(3, "TcpExt: SyncookiesSent Syncookie"..., 8191) = 2588
lseek(3, 0, SEEK_SET)                   = 0
read(3, "TcpExt: SyncookiesSent Syncookie"..., 8191) = 2588
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, -1) = 1 ([{fd=13, revents=POLLIN}])
read(13, "\270\320EE\240U\0\0\220LHE\240U\0\0", 16) = 16
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, 0) = 0 (Timeout)
lseek(3, 0, SEEK_SET)                   = 0
read(3, "TcpExt: SyncookiesSent Syncookie"..., 8191) = 2588
lseek(3, 0, SEEK_SET)                   = 0
read(3, "TcpExt: SyncookiesSent Syncookie"..., 8191) = 2588
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, -1) = 2 ([{fd=6, revents=POLLIN}, {fd=13, revents=POLLIN}])
read(6, "\1\0\0\0\0\0\0\0", 16)         = 8
read(13, "\10\324NE\240U\0\0\220LHE\240U\0\0", 16) = 16
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, 0) = 0 (Timeout)
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, 0) = 0 (Timeout)
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, 0) = 0 (Timeout)
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, 15) = 0 (Timeout)
sendmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\25\0\0\0\1\0\24\0\35\0\0\0\0\0\0\0\0\0\0\0\25\0\0\0\10\0\f\0\1\0\0\0"..., iov_len=76}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT|MSG_NOSIGNAL) = 76
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, -1) = 1 ([{fd=4, revents=POLLIN}])
recvmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\35\0\0\0\0\0\10\0", iov_len=3420}, {iov_base="", iov_len=676}], msg_iovlen=2, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = 8
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, -1) = 1 ([{fd=4, revents=POLLIN}])
recvmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\"\0\0\0\0\0\f\0\5\v\375\0\1\0\0\0\1\0\f\0\"\0\0\0", iov_len=3412}, {iov_base="", iov_len=684}], msg_iovlen=2, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = 24
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, -1) = 1 ([{fd=13, revents=POLLIN}])
read(13, "X\237GE\240U\0\0\220LHE\240U\0\0", 16) = 16
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, 0) = 0 (Timeout)
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, 0) = 0 (Timeout)
sendmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\25\0\0\0\1\0\24\0\35\0\0\0\0\0\0\0\0\0\0\0\25\0\0\0\10\0\f\0\1\0\0\0"..., iov_len=76}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT|MSG_NOSIGNAL) = 76
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, 0) = 0 (Timeout)
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, -1) = 1 ([{fd=4, revents=POLLIN}])
recvmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\35\0\0\0\0\0\10\0", iov_len=3388}, {iov_base="", iov_len=708}], msg_iovlen=2, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = 8
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, -1) = 1 ([{fd=4, revents=POLLIN}])
recvmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\"\0\0\0\0\0\f\0\234\21\375\0\1\0\0\0\1\0\f\0\"\0\0\0", iov_len=3380}, {iov_base="", iov_len=716}], msg_iovlen=2, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = 24
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, -1) = 2 ([{fd=6, revents=POLLIN}, {fd=13, revents=POLLIN}])
read(6, "\1\0\0\0\0\0\0\0", 16)         = 8
read(13, "\10\324NE\240U\0\0\220LHE\240U\0\0", 16) = 16
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, 0) = 0 (Timeout)
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, 0) = 0 (Timeout)
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, 0) = 0 (Timeout)
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, 14) = 0 (Timeout)
sendmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\25\0\0\0\1\0\24\0\35\0\0\0\0\0\0\0\0\0\0\0\25\0\0\0\10\0\f\0\1\0\0\0"..., iov_len=76}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT|MSG_NOSIGNAL) = 76
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, -1) = 1 ([{fd=4, revents=POLLIN}])
recvmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\35\0\0\0\0\0\10\0", iov_len=3356}, {iov_base="", iov_len=740}], msg_iovlen=2, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = 8
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, -1) = 1 ([{fd=4, revents=POLLIN}])
recvmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\"\0\0\0\0\0\f\0z\24\375\0\1\0\0\0\1\0\f\0\"\0\0\0", iov_len=3348}, {iov_base="", iov_len=748}], msg_iovlen=2, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = 24
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, -1) = 1 ([{fd=13, revents=POLLIN}])
read(13, "\270\320EE\240U\0\0\220LHE\240U\0\0", 16) = 16
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, 0) = 0 (Timeout)
lseek(3, 0, SEEK_SET)                   = 0
read(3, "TcpExt: SyncookiesSent Syncookie"..., 8191) = 2588
lseek(3, 0, SEEK_SET)                   = 0
read(3, "TcpExt: SyncookiesSent Syncookie"..., 8191) = 2588
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, -1) = 1 ([{fd=6, revents=POLLIN}])
read(6, "\1\0\0\0\0\0\0\0", 16)         = 8
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, -1) = 1 ([{fd=13, revents=POLLIN}])
read(13, "\10\324NE\240U\0\0\220LHE\240U\0\0", 16) = 16
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, 0) = 0 (Timeout)
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, 0) = 0 (Timeout)
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, 15) = 0 (Timeout)
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7ffd00000000} ---
+++ killed by SIGSEGV (core dumped) +++


add support for tuning plugin in VPC CNI addon

Describe the feature
Enable the VPC CNI addon to support the CNI tuning plugin, allowing for more granular sysctl customization.
Use Case
Our current on-premises cluster employs the tuning plugin to modify specific system parameters (sysctls) at the cluster level. These adjustments, such as:
net.ipv4.tcp_keepalive_time=30
net.ipv4.tcp_keepalive_intvl=15
net.ipv4.tcp_keepalive_probes=6
net.ipv4.ip_unprivileged_port_start=0

are necessary to align the cluster's default behavior with our specific operational requirements.
Proposed Solution
I propose adding a new tuning plugin configuration block analogous to the one used for disabling IPv6. This would allow users to specify an array of sysctl key-value pairs, which would then be automatically converted into another tuning plugin configuration block, enabling flexible customization.
Other Information
No response
Acknowledgements

[X] I may be able to implement this feature request

CDK version used
2.147.3
EKS Blueprints Version
1.15.1
Node.js Version
v20.13.0
Environment details (OS name and version, etc.)
Linux

@phsiao  the suggested approach is specific to the go codebase that backs vpc-cni. The change that you are proposing (and the approach) is more relevant to submit against that repo https://github.com/aws/amazon-vpc-cni-k8s/
I don't see how we can inject these params, unless the VPC-CNI configuration allows to pass them through the standard config mechanism (aka core addon advanced config). If you have a solution, please feel free to submit a PR.

My mistake.  I overlooked the different repo name.


fix(XX-9): import of default commit parser

the default commit parser was moved from defaults.py to ConventionalCommitsCz in commitizen 3.21.3
BREAKING CHANGE:

Thank you, I'm looking into it. Sry that it takes that long but project this has a low priority in my work.

@falko-apheris can you look at it ?


Enable components property in Volto config registry

@tiberiuichim  Back at Quanta, we will need this :) What do you think?

I've built something along those lines here: https://github.com/eea/searchlib/blob/standalone-split/packages/searchlib/src/registry.js#L80 and using it with a <Component factoryName="something"> from here: https://github.com/eea/searchlib/blob/standalone-split/packages/searchlib/src/components/Component/Component.jsx
It's a pretty low-tech solution but I think it's fit only for "closed systems". For flexibility we'd need adaptors or dependency injection, and for that we need types, which leads to Typescript.

@tiberiuichim Quite amazing! I had in mind something much more simple, like the kind of registry we have now for views,  blocks, widgets and following the same rules. True that we still need the "watcher" in case you override two things from two different places (say two different add-ons). But that was not really an issue in the last years.
I had in mind something like, how to completely replace all Button components, without shadowing it.
Yes, at some point we'll have to touch the code everywhere, but I think it's worthy and valuable, in order to support different component libraries other than Semantic.


Defining components

Components list:

TC motor
Motor drive
Bluetooth

For dc motor there is that compony very good let us use it


Feature: GraphQL with AppSync

Requesting feature parity with SST v2 with regards to GraphQL with AppSync.
https://sst.dev/examples/how-to-create-a-serverless-graphql-api-with-aws-appsync.html

Would be extra awesome if we got some SST candy inside of resolver code as well.  Thinking stuff like access to $app.name and $app.stage.  Would have to be some sort of template I guess.

It's Christmas! https://ion.sst.dev/docs/component/aws/app-sync/


DSA 4.1.2 Implementation of Stacks - Documentation

Description
Discuss in detail the implementation of Stacks in Java, Python, C++
Three contributors may take up this issue in these three different languages.
Task

[ ] Documentation

Note

Do not use assign command for this issue.
While requesting the issue to be assigned, please mention your NAME & BATCH NUMBER.
Kindly refer to Issue Guidelines.
Changes should be made inside the DSA/directory & DSA branch.
This issue is only for 'GWOC' contributors of 'DSA' Domain.

Please assign this to me for java
Kavindra Mohan Dwivedi
Batch 3

@Kavindra-Mohan-Dwivedi assigned you for Java.

I can take it for c++ or explanation in only one language is needed?
Maneet kaur
DSA batch 1

@maneet057 assigning it to you for C++, you may show implementation of stacks in C++ only.

@nimisha-yadav got it. Thank you!

Can I work on this issue in Python? @nimisha-yadav

Can I work on this issue in Python? @nimisha-yadav

Go ahead @deepeshaburse

@nimisha-yadav mam can I work on this issue for java?


Can not show $Ghost balance

Send $Ghost token to wallet,can not show $Ghost balance.
Wallet version v0.10

Send $Ghost token to wallet,can not show $Ghost balance.
Wallet version v0.10

Hello @kernel2016
Thanks for posting the issue.
Your query would be best dealt with by Ghost support team.
Please see the link below to our dedicated support line:
Support : Ghost Network Help Center
With ticket ID GHO#3938
Note: Click on the live chat icon at the bottom corner of the page to start a conversation

Hello @kernel2016
This will be review by the support team. Visit the live support page to initiate a chat with an agent and follow their instructions for further assistance via Dfinity live chat.

Hi @kernel2016, sorry for this late response. We will look into it right away.

Hi again, I so far can not reproduce the problem. Receiving 100 GHOST worked for me

But I saw that there seems to be an issue with their index canister.
Can you provide me the 2 canister IDs (ledger and index) you see in the token details?

Also, can you give me the link to the transaction viewer you used (your 2nd screenshot), so I can also check that my transaction shows correctly there.

Now can show,thank you.

Glad to hear. Seems GHOSTs sometimes like to hide...


AWS apigateway sync - TooManyRequests exception

Title: One line description
Description:

What issue is being seen?  Describe what should be happening instead of the bug, for example: Cartography should not crash, the expected value isn't returned, the data schema is wrong, etc.

APIGateway sync crashes with TooManyRequests for get_rest_api_details.
To Reproduce:

Steps to reproduce the behavior.  Provide all data and inputs required to reproduce the issue.

Run apigateway sync on account that is experiencing API quota issues.
Logs:

If applicable, copy and paste your console log with the failing stack trace.

File "{PATH}/cartography/cartography/intel/aws/apigateway.py", line 359, in sync_apigateway_rest_apis
for api_id, stage, certificate, resource, policy in stages_certificate_resources:
botocore.errorfactory.TooManyRequestsException: An error occurred (TooManyRequestsException) when calling the GetResources operation: Too Many Requests
result = method(*args, **kwargs)
File "{PATH}/cartography/cartography/intel/aws/apigateway.py", line 296, in load_rest_api_details
aws_requested_syncs=aws_requested_syncs, # Could be replaced later with per-account requested syncs
for page in response_iterator:
sync_apigateway_rest_apis(neo4j_session, boto3_session, region, current_aws_account_id, update_tag)
File "{PATH}/cartography/cartography/util.py", line 61, in timed
File "/code/venvs/venv/lib/python3.6/site-packages/botocore/client.py", line 357, in _api_call
raise error_class(parsed_response, operation_name)
resources = get_rest_api_resources(api, client)
File "{PATH}/cartography/cartography/intel/aws/apigateway.py", line 46, in get_rest_api_details
result = method(*args, **kwargs)

Please complete the following information::

Cartography release version or commit hash [e.g. 0.12.0 or 95e8e11913e2a44a4d4682506d8364a638ceac69]

047a6bd1820e846e70bda4c6ddc18027da39e20a
Additional context

Going forward we should think of a generic way of handling these API limits. AWS EMR sync handled it with sleeps: https://github.com/lyft/cartography/blob/047a6bd1820e846e70bda4c6ddc18027da39e20a/cartography/intel/aws/emr.py#L29 - maybe we could apply this one-off here as well.

Boto3 should have built in retry with backoff and jitter. Have you considered changing the number of retries and letting the library handle it? Default is 3, upping it to something higher may fix it without a lot of effort.


allow top bar action buttons to be links and make home one

I often want to be able to middle click to open the space's home page in a separate tab. The current code for top bar action buttons doesn't allow for this browser built in functionality. The changes in this PR are to allow action buttons to optionally be contained in an anchor tag with an href. This PR also applies that functionality to the home button.

Looks good to me, tests fail for unrelated reason, has been fixed on a branch. Thanks!


Additional control of systemd service file creation

I want to add another field to the generated systemd file from the .Install service command.
specifically want to add: LimitNOFILE= so I can control the FD limit of the service. Can you expose that as an option?

No one care


CHANGES: add release notes for v6.10.0

Original date: 2019-05-08 04:12:33
Original PR: https://charm.cs.illinois.edu/gerrit/5152

Change-Id: Iee9fd0da868856c0f6461800fcdd0b99a1c4523e

Feel free to edit this PR for any features/fixes I may have missed

Looks to be ready for final review / merge now


Remove unnecessary null pointer checks

Extra null pointer checks are not needed in the function “ScratchImage::Release”.

It is true that you don't need to guard calls to delete or delete[] against nullptr, and I'm aware of that. That said, I am using in that particular place a long-standing practice of 'safe release' where I ensure the pointer is set to null if it wasn't after freeing it:
#ifndef SAFE_DELETE
#define SAFE_DELETE(p)       { if (p) { delete (p);     (p) = nullptr; } }
#endif

In general I favor the Modern C++ practice of using smart-pointers, but for the case of ScratchImage which itself is basically a memory container I stuck with the older design.

How do you think about to increase the usage of smart pointers also for this software instead?


Add cache in NbtSchemaWalker

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket: