Fix race condition between zedagent and DownloadMgr - Make zedagent start before Download Mgr /

Fix race condition between zedagent and DownloadMgr - Make zedagent start before Download Mgr

Start Downloader, verifier and domainMgr after Level1 agents

Fix a bug in enforcing minDom0Percent.

Improve error messages for App instance failure due to disk space
not available.

Signed-off-by: Kalyan Nidumolu<EMAIL_ADDRESS>

Hi Erik, The issue we are seeing is - After device reboot - when the agents are starting up:

Downloader was getting started - It processed DataStore config - There were no entries as zedmanager was not started yet.

Then Zedmanager started, it published both Datastore config and Downloader Config

Downloader picks up Downloader config first - And because it doesn't find datastore for the image, puts it in an error state - causing the App instance itself to go into error state

Downloader later reacts to Datastore Config - And downloads the image.

This is causing the app to go through an error state before coming online. The fix is to handle this race condition correctly.
Please note - once both agents are up - DataStore config is being published first by zedagent - and verifier is also trying to process it first - so this issues doesn't happen.
By making this change - We avoid this race condition.
I think this would address most of the cases we have. Not sure if we need a more heavy duty sync mechanism.
At this point, I only have a case for downloader. I thought Verifier and DomainMgr also can be started later - and probably belong later.
What is the case for Verifier starting early? Looking at the code now - We might need to start Earlier than Zedmanager? So that Verifier status is populated from stored images?


Document how to migrate an existing project to use the new standards

We must document how to configure a project from the ground up so it follows our coding standards. However, we should automate most of this process via vtex setup or something similar.

vtex setup on an app's root. This is going to install the linting and formatting dependencies, git-hooks, etc.
Remove everything lint-related or formatting-related from react, node directories


There is my waymo dataset model prediction results, I think the ped/cyc length and width are wrong!

As describe, but the car bboxes prediction is right, what's wrong with the ped/cyc？ @sshaoshuai
here are some result and bboxes configs.

Have you ever tried training on the kitti dataset?

Have you ever tried training on the kitti dataset?

kitti dataset is OK, but waymo coordinate origin is ground, so are there some error configs in anchor_bottom_heights?

but waymo coordinate origin is ground, so are there some error configs in anchor_bottom_heights?

From the graph, there are some errors in pedestrian ,but from the anchor size, it is reasonable,could it be an error in visual?
Could you show me your envs you trained the kitti dataset?

but waymo coordinate origin is ground, so are there some error configs in anchor_bottom_heights?

From the graph, there are some errors in pedestrian ,but from the anchor size, it is reasonable,could it be an error in visual?
Could you show me your envs you trained the kitti dataset?

Think you for your reply, I find the error, I used the normalization for the z value in the pointcloud when generate the voxel.
I del the normalize, it looks better.


[bug] none of the selected packages contains these features: custom-protocol

Describe the bug
Why can't it be compiled? It was always possible before, but suddenly it's not possible anymore.
Reproduction
No response
Expected behavior
No response
Full tauri info output
[✔] Environment
    - OS: Windows 10.0.22631 X64
    ✔ WebView2: 125.0.2535.92
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.78.0 (9b00956e5 2024-04-29)
    ✔ cargo: 1.78.0 (54d8815d0 2024-03-26)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 19.0.0
    - pnpm: 9.1.3
    - yarn: 1.22.22
    - npm: 8.19.2

[-] Packages
    - tauri [RUST]: 2.0.0-beta.23
    - tauri-build [RUST]: 2.0.0-beta.18
    - wry [RUST]: 0.41.0
    - tao [RUST]: 0.28.1
    - @tauri-apps/api [NPM]: 2.0.0-beta.0
    - @tauri-apps/cli [NPM]: 2.0.0-beta.0

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Vite

Stack trace
No response
Additional context
No response

Can you post the full error please? And also, try updating @tauri-apps/api and @tauri-apps/cli to their latest version instead of beta.0

This should be fixed by updating the @tauri-apps/cli to latest.


code changes to add a new site kind

In this PR I have made changes to include a new appkind i.e workflowApp. This appkind is used to multi tenant Logic App.

Closing in favor of https://github.com/microsoft/vscode-azuretools/pull/897/files


fix for Gradle version 8.x.x

Please merge this branch.
because this issue. i am not able to integrate in project.
Thanks.


[FLINK-36052] Add elasticsearch.md for elasticsearch pipeline connector

add elasticsearch.md for elasticsearch pipeline connector

@proletarians Could you also add Chinese document to zh docs directory?

Closed this one as https://github.com/apache/flink-cdc/pull/3649 is ready for merge


Populate from database

Hi,
I am not even close to find documentation that help me to know how can I in a select and in a table load data coming from database query, I would appreciate if you help me to provide some examples or documentation, I'm for now only using Vanilla JavaScript.
I appreciate any help.
Regards,
Javier

@jparadaa do you have an example showing what you are trying to do?


Elegant monolith

This PR is for review only

This will never be used as a main template. Imperative & Functional hybrid is tinier more testable and more readable


Justification for using path vs line/rectangle elements in SVGs

Is there a reason a lot of icons have rectangles and lines? Is SVGO's conversion to paths not trusted, or are semantics important?

@aschaap Yes there are some reasons but also improvements can be made.
In some cases, rounded rectangles have less code than paths.
Example
<svg
  xmlns="http://www.w3.org/2000/svg"
  width="24"
  height="24"
  viewBox="0 0 24 24"
  fill="none"
  stroke="currentColor"
  stroke-width="2"
  stroke-linecap="round"
  stroke-linejoin="round"
>
  <rect x="3" y="3" width="18" height="18" rx="2" ry="2" />
</svg>

vs
<svg
  xmlns="http://www.w3.org/2000/svg"
  width="24"
  height="24"
  viewBox="0 0 24 24"
  fill="none"
  stroke="currentColor"
  stroke-width="2"
  stroke-linecap="round"
  stroke-linejoin="round"
>
  <path d="M19 3H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2Z" />
</svg>

Beside that when lucide forked from feathericons we kept a lot of SVG code the same.
I think we should convert some icons to paths, because it is less code.
For example menu icon:

<svg
  xmlns="http://www.w3.org/2000/svg"
  width="24"
  height="24"
  viewBox="0 0 24 24"
  fill="none"
  stroke="currentColor"
  stroke-width="2"
  stroke-linecap="round"
  stroke-linejoin="round"
>
  <line x1="4" y1="12" x2="20" y2="12" />
  <line x1="4" y1="6" x2="20" y2="6" />
  <line x1="4" y1="18" x2="20" y2="18" />
</svg>

Awesome, good to know that smaller file size is the goal.


Including custom TLS cert in build

Hi,
Background
We're looking at melange for packaging however one of the issues we're facing is all developer connections to the internet are behind a TLS inspection proxy.  As it currently stands this makes melange build fail as it essentially gets what it regards as an untrusted cert (i.e. it is from our corporate PKI rather than the Mozilla cert bundle) when, for example building a golang application the requires go get's.
Problem Statement
When doing a docker build this is easy enough to overcome by simply doing something akin to
tee -a /etc/ssl/certs/ca-certificates.crt < $PROXY_CERT

and passing the cert in as a build arg.
As melange is creating a bubblewrapped container for the build process it is unclear how an equivalent can be achieved.
We specifically do not want to utilise a multi-stage Dockerfile or Containerfile to overcome this, we'd like to utilise melange directly.
What I've tried
First Attempt
Create a new package to essentially replace /etc/ssl/certs/ca-certificates.crt with the existing Mozilla chain pre-pended to our corporate cert.  Very "brute force" and not at all desirable:
melange.yaml
package:
  name: my-internal-certificate
  version: 1.0.0
  epoch: 0
  description: "my internal certificate"
  target-architecture:
    - x86_64

environment:
  contents:
    keyring:
      - https://packages.wolfi.dev/os/wolfi-signing.rsa.pub
      - melange.rsa.pub

    repositories:
      - https://packages.wolfi.dev/os

    packages:
      - busybox
      - ca-certificates-bundle

pipeline:
  - runs: >
      mkdir -p "${{targets.destdir}}"/etc/ssl/certs

      cp /etc/ssl/certs/ca-certificates.crt "${{targets.destdir}}"/etc/ssl/certs

      printf -- '-----BEGIN CERTIFICATE-----\n
      ...
      -----END CERTIFICATE-----' >> "${{targets.destdir}}"/etc/ssl/certs/ca-certificates.crt

apko.yaml
contents:
  keyring:
    - https://packages.wolfi.dev/os/wolfi-signing.rsa.pub
    - melange.rsa.pub
  repositories:
    - https://packages.wolfi.dev/os
    - packages
  packages:
    - wolfi-baselayout
    - busybox
    - my-internal-certificate

entrypoint:
  command: /bin/sh -l

archs:
  - x86_64

Results in apko build failing:
Installing apk packages: installing packages: installing my-internal-certificate: unable to install files for pkg my-internal-certificate: unable to install file over existing one, different contents: etc/ssl/certs/ca-certificates.crt

Second Attempt
Create a new package to add the certificate into the image and append it to /etc/ssl/certs/ca-certificates.crt when installed via the post-install scriptlet:
melange-2.yaml
package:
  name: my-internal-certificate
  version: 1.0.0
  epoch: 0
  description: "my internal certificate"
  target-architecture:
    - x86_64

  scriptlets:
    post-install: |
      #!/bin/busybox sh
      tee -a /etc/ssl/certs/ca-certificates.crt < /usr/local/share/ca-certificates/my-internal-cert.crt

    post-deinstall: |
      #!/bin/busybox sh
      rm /usr/local/share/ca-certificates/my-internal-cert.crt

environment:
  contents:
    keyring:
      - https://packages.wolfi.dev/os/wolfi-signing.rsa.pub
      - melange.rsa.pub

    repositories:
      - https://packages.wolfi.dev/os

    packages:
      - busybox

pipeline:
  - runs: >
      mkdir -p "${{targets.destdir}}"/usr/local/share/ca-certificates

      printf -- '-----BEGIN CERTIFICATE-----\n
      ...
      -----END CERTIFICATE-----' > "${{targets.destdir}}"/usr/local/share/ca-certificates/my-internal-certificate.crt

Results in apko build succeeding and the certificate is in the container at /usr/local/share/ca-certificates.  It doesn't, however,  appear that the post-install scriptlet has been executed?
There is no output when using --debug to indicate any issues with the post-install script (or even to indicate whether it has or hasn't been executed).
What next steps could you suggest to allow our evaluation to continue?
Thanks!

The first approach should work if you make your modified ca-certificates-bundle provide ca-certificates-bundle itself, e.g.
package:
  name: my-ca-certs-bundle
  version: 1.2.3
  epoch:
  description: my CA certs bundle
  copyright:
    - license: Public-Domain
  dependencies:
    provides:
      - ca-certificates-bundle=20230506-r999

environment:
  repositories:
    - https://packages.wolfi.dev/os
  keyring:
    - https://packages.wolfi.dev/os/wolfi-signing.rsa.pub
  contents:
    - busybox
    - ca-certificates-bundle

pipeline:
  - working-directory: ${{targets.destdir}}/etc/ssl/certs
    runs: |
      cat /etc/ssl/certs/ca-certificates.crt /home/build/mycert.pem > ca-certificates.crt


Better keybindings

As a user I want to be able to edit the text I entered into Algernon using my arrow keys.
Currently it is not possible to use the arrow keys in algernon as those are reserved for navigating the children.
We should consider changing that behavior.
This issue was raised in working on #17, see the discussion at #72.

Suggested new keybindings:

Tab to "go into" the item.
Shift+Tab to "go back" when already in an item.
Arrow keys for cursor navigation.
This would mimic the behavior of the Autocompletion.

Does anyone have insight on how tools like Spotlight/Alfred implement this behavior?
Also, the arrow icon that is currently used to indicate "go into" (🡒) could be replaced by a "tab symbol" (↹ or ⇥, possibly depending on client platform)

Albert on Linux uses Tab for similar behavior.

Spotlight does not know the concept of children or actions, so Tab does not do anything.
Alfred uses Tab to complete the current search term for the selected item. (Search for "test", "TestApp.app" is displayed as the result; Tab sets the search term to "TestApp.app").
Shift-Tab Selects the entire current search term.
The arrow keys are used in Alfred for cursor navigation, but also - when the cursor is rightmost - to display the Children. And in the Children view to trigger an action. Esc is used to navigate out of the children again.
In both apps an Enter triggers the default action.
Another interesting feature is that Alfred allows to change the default action by pressing Shift, Option or Command.
--
Personally, I think that navigating in and out with Tab is a good solution here, too. I also think that Tab should also be able to trigger actions (in addition to Enter).
I furthermore feel it would be nice to give the user additionally the possibility to navigate with the arrow keys only, comparable to Alfred with the right and left arrow key to move the cursor, navigate in/out and to trigger actions.
Algernon is mainly meant to be a fast productivity tool and therefore several options for the user to navigate the app with the keys he is most comfortable with, are quite important.

Take look at ALGCore class>>initializeGlobalKeyBindings
initializeGlobalKeyBindings
	KeyBindings := Dictionary newFrom:
		{ '<down>' -> [:anEvent :morph | morph selectNext].
		'<up>' -> [:anEvent :morph | morph selectPrevious].
		'<right>' -> [:anEvent :morph |  morph showChildList].
		'<left>' -> [:anEvent :morph | morph showParentList].
		'<escape>' -> [:anEvent :morph | morph deactivate: anEvent hand].
		'<cr>' -> [:anEvent :morph | morph doActionOnSelectedEvent:anEvent] }


Update CHANGELOG.md

I tried to use the latest commit on master as a dependency in a project as i needed currently un-released changes. I ran into some changes that broke the application.
The first one was documented here, the renaming of getResourceToOneRelationship and getResourceToManyRelationship.
The second one was not, the change of the constructor signature of the Request class.
The change can be found here: `https://github.com/woohoolabs/yin/commit/78c316db9d39cdb0bf9a4333c58339fb8e51dea6#diff-8b9b082f8f14fc68d1683252b988283eR59
I added it to the changelog and changed the version to 1.0.0. I know 1.0 feels like a very significant release but if this project follows semver (the readme states it and I think it would be great if it did), this version should really be a major version bump. :)
Following semver would make it easier to set proper version constraints in your composer file and avoid updating to breaking changes.
Bumping to 1.0.0 is also a great reason to celebrate with an extra beer this weekend. :)

What is your opinion on all this?

Yeah, i was wrong.

Major version zero (0.y.z) is for initial development. Anything may change at any time. The public API should not be considered stable.

Is the general idea in the project that 0.x.0 change is breaking and 0.0.x is non breaking? Want me to add a small note about that to the README?

Ah sorry, I forgot to document this change indeed :S Thank you for doing it instead of me!
Yes, I din't want to release 1.0 yet because it is much easier to break API below it. :D So for now I would prefer to release v0.11 today and it would be the last minor one before 1.0.
The reason of it is that I then want to add a bit more tests and make sure if pagination and other rarely used concepts work well in practice (I am not sure). So I don't think that adding a note about the break is necessary.


Horizontal Scroll Bar is Missing in Chrome

In Chrome, when the table responsive is set to "scroll", the horizontal scroll bar within the table is missing.

Expected Behavior

Firefox(60.2.2esr (64-bit)) works fine with horizontal scroll bar.
So the expected behavior in Chrome would be when a user clicks on the table, the horizontal scroll bar within the table shows up.
Current Behavior

In Chrome, when I tried to scroll the table horizontally, I cannot make the horizontal scroll bar show up.
Steps to Reproduce (for bugs)

Set table responsive to "scroll"
Open the website with Chrome.
Try to scroll the table horizontally.

Your Environment

Tech
Version

Material-UI
2.0 beta 36

MUI-datatables

React

browser
Chrome Version 70.0.3538.77 (Official Build) (64-bit)

etc

Hey, everybody, can you give us an update on this? I have the same issue.

Can anyone verify if this is still an issue?

In 2.0.0-beta-52 version the scroll is working fine

The issue persists in v: 2.0.0-beta.58, any updates would be helpful,
meanwhile, I'm digging down, will update the solution if I had.

@shubhamk54 That version of the library is no longer supported. Try upgrading and seeing if that helps.

If the number of columns in my table take up more space than the table container, I'm applying the   responsive: 'scrollFullHeight', and MUIDataTable { responsiveScrollFullHeight: { overflowX: 'scroll' } } styles to get the table to scroll horizontally. Is there a way to persist the scroll bar to indicate the table can scroll.

@artivilla Do you mean, show a scroll bar even when the table cannot actually scroll? If so, try overflow-x: scroll.

This issue is old and likely out of date since responsive options have changed quite a bit. Closing this issue.


-- Fix Grammatical Issue --

You can not use those in this case. Switched it to that. The data is referred to as a whole as "that data".

Example: That data is corrupt and not those data is corrupt
fixes issue #516

In the InfluxDB documentation, "data" is used in the plural sense.
From http://www.merriam-webster.com/dictionary/data (emphasis mine):
Usage Discussion of data
Data leads a life of its own quite independent of datum, of which it was originally the plural. It occurs in two constructions: as a plural noun (like earnings), taking a plural verb and plural modifiers (as these, many, a few) but not cardinal numbers, and serving as a referent for plural pronouns (as they, them); and as an abstract mass noun (like information), taking a singular verb and singular modifiers (as this, much, little), and being referred to by a singular pronoun (it). Both constructions are standard. The plural construction is more common in print, evidently because the house style of several publishers mandates it.


#define directives get reformatted on save

VSCode Version: 1.11.x
OS Version: Windows 10

When writing code with #define directives like the following:
public MyClass {
    void MyMethod() {
        #if UNITY_ANDROID
            Vector3 target = Camera.main.ScreenToWorldPoint(Input.touches[0].position);
        #else
            Vector3 target = Camera.main.ScreenToWorldPoint(Input.mousePosition);
        #endif
    }
}

The code gets reformatted on save to look something like this:
public MyClass {
    void MyMethod() {
#if UNITY_ANDROID
            Vector3 target = Camera.main.ScreenToWorldPoint(Input.touches[0].position);
#else
            Vector3 target = Camera.main.ScreenToWorldPoint(Input.mousePosition);
#endif
    }
}

As you can see it moves it #if, #else and #endif all the way to the left hand side of the document.

Unfortunately, this is the default behavior for C# formatting in Roslyn and Visual Studio 2017. All preprocessor directives are formatted to the left. We would need to take a change in Roslyn to address this.
@Pilchie: Is there already a request on https://github.com/dotnet/roslyn for this behavior? It seems like there should be an option to control this formatting behavior.

https://github.com/dotnet/roslyn/issues/12306 tracks this feature request.

Thanks @Pilchie! @TheColorRed, feel free to track https://github.com/dotnet/roslyn/issues/12306 for a fix (or take a stab at yourself! :smile:). Once that happens and we update OmniSharp to use a newer version of Roslyn that has the fix, you'll be able to configure this in VS Code with an omnisharp.json file.

Thanks! To bad that issue is almost a year old and no updates :(


Corrected combined science error. Added num_covid_impacted column

Pull request overview
Give a general description of why a change is being made, include issue number(s) being fixed if relevant
Pull request checklist
Please check if your PR fulfils the following:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[ ] Tests have been run locally and are passing (run_tests_locally())
[ ] Code is styled according to tidyverse styling (checked locally with tidy_code())

What is the current behaviour?
Please describe the current behaviour that you are modifying, or link to a relevant issue. Include screenshots for UI changes where possible.
What is the new behaviour?
Please describe the behaviour or changes that are being added by this PR. Include screenshots for UI changes where possible.
Anything else
Add any notes for people reviewing and testing your code that are appropriate. Tag a @person to review if someone in particular needs to see this.

@rmbielby I've followed the guidance to connect to chrome and rerun the tests


Preview/Thumbnail shown on Map

I think the desired behavior that only overviews are shown on the map, but not previews (from links) or thumbnails (from assets). Right now it shows me one of them on the map...

Yeah, there's an issue in the code:
https://github.com/stac-utils/stac-layer/blob/main/src/index.js#L542
It seems right now that stay-layer looks for an asset with key thumbnail, but it should look for an asset with role overview.

PR: #10

That's my mistake.  I forgot to add support for the displayOverview option.  I see PR #10 and will look to merge that work in soon.  However, there's one point of confusion.  I was under the impression we did want to give people the option on whether or not they wanted to display preview/thumbnail assets through the displayPreview option and stac-browser would pass in displayPreview: false when calling stacLayer.
Would it be perhaps okay to keep displayPreview as an option but set the default to false while of course also adding support for displayOverview?
Additionally, do you happen to have any good test cases where the STAC item includes an overview asset?

Yes, your alternative is also fine or even better. My PR was just the easiest solution to quickly make it work. Feel free to update the PR (or close and create a new one) to support the other approach.
No, unfortunately not out of my head. I thought Planet would have it, but they use visual for what should be overview, I think.

You read my mind!  I was just working on this earlier today :-) I think the next step will be to create some sample test cases.  Once I'm done with those, I'll share those with you and see if that covers the remaining issues.  I'll then merge your PR into a branch and build off of that to code up a solution.

Hey, @m-mohr .  I created this PR here to track updates to displayOverview functionality
https://github.com/stac-utils/stac-layer/pull/13
I added a test case which you can check here: https://github.com/stac-utils/stac-layer/blob/8c0328bc6fd29d6a63d2d4b050edf822d8462225/src/test/stac-item/cogs/cog-no-cors-overview.html#L35
I created a sample overview PNG file of the Canopy Base Height COG for California using https://observablehq.com/@danieljdufour/convert-geotiff-to-png-using-georaster.
It's small so I checked it in here: https://github.com/stac-utils/stac-layer/blob/8c0328bc6fd29d6a63d2d4b050edf822d8462225/src/test/stac-item/cogs/California-Vegetation-CanopyBaseHeight-2016-Summer-00010m.png
Let me know if you think added a PNG Overview asset is a good test case.
Thank you!

okay, cool.  I'll add another test case for the cog.

I created an external overview file using gdaladdo and it appears that the overview file doesn't include projection info like CRS/SRS.  (I think because it assumes that the original file is available).  This complicates things, but I think there are workarounds.
There's several different cases the code needs to gracefully handle.  I would like your help determining which cases we are required to support.
1) Overview is a JPG/PNG file and is accessible.

Possible Solution: Simply use the STAC Item's BBox and Leaflet's ImageLayer

2) Overview is a COG with geospatial info (including projection)

Possible Solution: use GeoRaster/TiTiler to try to display it

3) Both Original GeoTIFF and Overview are Accessible

Good news is that GeoRaster automatically looks for a file with the same name + ".ovr".  It doesn't really need an overview file, but will use it when it makes sense (zoomed out).
Bad news is that GeoRaster currently doesn't support a way for a user to pass in an overview url
Possible Solution: Change GeoRaster to allow people to specify an overview url (but this will require some additional coding)

4) Original GeoTIFF is inaccessible (sometimes CORS or it's too large) and Overview is Accessible but without geospatial information

Not sure on solution.  But could use georaster or maybe geotiff.js to convert the COG to a JPG/PNG and then use Leaflet's ImageLayer.  (Example using georaster: https://observablehq.com/@danieljdufour/convert-geotiff-to-png-using-georaster).  One problem will be that georaster throws an error if no projection info is present.  I think I could hack together a solution using geotiff.js to read the values from a low resolution internal image and then calling parseGeoRaster with an in-memory object like here.  The code won't look nice, but it should work.

As always, open to your thoughts and advice.

@m-mohr , great comments.  Thank you.
Would "Displayable Assets" only include those with RGB/RGBA bands or a color palette?  Is this synonymous with "visual"?  Would it also include single-band GeoTIFFs that can be displayed on a dynamically calculated linear color scale (like https://twitter.com/DanielJDufour/status/1431300791319638022)? I'm assuming no, but want to make sure I understand.
Another question I have is, could you expand on your preference to display the overview before the others?  Is it because it would put less strain on the browser's CPU / memory?  Not disagreeing with the idea, just want to better understand how we sort priorities (visualization vs. performance vs. accuracy, etc.).
Regarding displayOrder, it's certainly desirable to give users that level of customization.  But I need some time to think how to implement it.  The current code makes a bunch of assumptions about display order and it might be tricky to find a way to model them concisely in an array.  For example, the code currently looks to see if the RGB bands are in separate GeoTIFFs (like Landsat 8 on AWS) if there are multiple assets and no asset with the "visual" key.  I'm not sure how to represent this as an array option.  Maybe as the string "separated" like ["overview", "separated", "visual", "data"] ?  Or we could do something more complicated like
[{ role: "overview" }, [{ common_name: "red" }, { common_name: "green" }, { common_name: "blue" }], { name: /visual/i }, { name: /data/i }]

Would "Displayable Assets" only include those with RGB/RGBA bands or a color palette?

For all formats except GeoTiff: yes
For GeoTiff: No, I'd expect that overview and visual only have RGBA (or a single/grayscale band), but as it may also display the normal data assets, it may also be something else.

Is this synonymous with "visual"?
overview and visual are very similar usually, but otherwise no (see above).

Would it also include single-band GeoTIFFs

Yes. I mean overall in STAC we just gives recommendations what people should provide for these roles, but in the end they could provide anything (even a 2000 band image as a preview if they so desire, but we focus on common use cases here and don't need to support every exotic use case out there).

Another question I have is, could you expand on your preference to display the overview before the others? Is it because it would put less strain on the browser's CPU / memory?

Yes and it's basically the order that we had in mind when writing STAC. Usually the overview (and the non-standardized[!] visual assets) should optimized vor visualization purposes (e.g. in the browser) and as such I'd expect better performance overall. Right now my browser is already very slow if I open the Planet COGS with 256 resolution. I'm not sure whether it's due to WebGL, but the COGs render much faster on my machine with OpenLayers compared to georaster/leaflet. And if I make them equally fast (by tuning the resolution option), I get very pixelated images.

Regarding displayOrder, it's certainly desirable to give users that level of customization. But I need some time to think how to implement it.

We can start without it and leave this for a later version for sure, but it would be nice to get the overviews in. :-)

For example, the code currently looks to see if the RGB bands are in separate GeoTIFFs (like Landsat 8 on AWS) if there are multiple assets and no asset with the "visual" key.

I'm not sure this is the way to go anyway. The roles are really independant of the bands. The code should look at the eo:bands/raster:bands to see how many and which bands are available. If you don't get enough details about it from the metadata and the image is not RGB(A), I'd simply show a single band as otherwise we are really just guessing.

Maybe as the string "separated" like ["overview", "separated", "visual", "data"] ?

That doesn't really work as it's not part of the STAC spec and at least STAC Browser is not configured for specific COG "types" by default, so I separated would make an assumption that in most cases is not true.

Or we could do something more complicated

Let's don't make it too complicated, overall this was just meant to be a "bugfix" for an oversight and not something completely new (although I appreciate your thoughts and ideas). :-)

Sounds good.  I appreciate the thoughtful feedback.  I'll get the overview support in and remove the unreliable assumptions about separated RGB bands.
There's a few factors why the COGs render more quickly for you using OL vs. GeoRasterLayer.  The most important factor is probably that OL is using WebGL whereas GeoRasterLayer is using the CPU.  But I'd be curious to test the speed difference once geowarp is added as a rendering option to GeoRasterLayer.


Bump version to 0.1.32

this is true story 🤣

thank you very much for this amazing software.

Thank you!


CSS: sub_div-width

sub_div width style is additional style parameter.
It's possibly to remove that style adding sub_div width in javascript.

fixed


C# HttpClient throws exception when trying to add signature

C# HttpClient throws an FormatException when I'm trying to add auth header like this:
client.Headers.Add("Authorization", _responseService.CreateSignature(challenge, url, additionalFactors));

It does so because according to RFC-2617 auth header has two parts: a scheme part, and a parameter part. Like this:
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==

I was able to workaround this by using TryAddWithoutValidation method, but please consider adding schema to auth header.

Interesting, I guess I'd never run into this because I was using WebClient instead of HttpClient
It shouldn't be too hard to make it add a scheme - say uCHAP - and be able to accept schemed or schemeless headers for backwards compatibility.

Fixed in 1.2.0, by altering the default HTTP header names (with a legacy compatible fallback) to X-MC-MAC and X-MC-Nonce to avoid entanglements with RFCs.
The client in 1.2.0 automatically uses the new header names. 1.1.x compatible clients should still work, though they are deprecated.


Enable GCC Toolet 12 to support AVX VNNI

Fixes issue #471 based on a Red Hat KBase article (subscription required), to use AVX VNNI on platforms that support it a later version of binutils is needed.
This adds the GCC 12 Toolset and directly sources the environment vars into the build script.
There are also toolsets available for GCC 13 and 14 available if there's a need for more current versions. They should work the same way.
Summary by Sourcery
Build:

Add GCC Toolset 12 to the build script for AVX VNNI support.

Thanks @rhatdan, should be signed now. I don't need to update this PR right?

@bmahabirbu PTAL
LGTM

Looks good!


user12986714: Watch theosnews.xyz

user12986714 requests the watch of the watch_keyword theosnews\.xyz. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

theosnews\.xyz has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


Update gantt chart dashboards plugin link to GitHub

Description
Updates gantt chart dashboards plugin link to GitHub
Issues Resolved
Checklist

[X] By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@hdhalter This updates the GitHub link to the gantt charts dashboards plugin. The PR is related to the dead link error on 1/31/2024.

@joshuali925 Please verify the change to the GitHub link for gantt chart dashboards plugin. Is this the cross-reference we should use to guide users to the proper information. The doc team received a dead link error, so we need to update the documentation accordingly. Thank you.


No source-code and AV getting files as trojan

Pretty strange to know that the developer deleted the source-code and only distributes binaries. I liked that BAT script, though.
Also: here is some scans from v3.1.1 to last update (today, v3.1.4):
https://www.virustotal.com/#/file/6791dd08739f413bc4a0b1ba4a6b0a8cdbf0892a47ba3904f7a1525662149255/detection
https://www.virustotal.com/#/file/bf1b16d1e663483f1813610ac281822d26d0934346982667a65ef926eb50b38e/detection

Please respond as this can be an issue if the files from the releases are really infected. I got a Sality trojan after using this tool and infected my USB drives.

Thanks for the reply, @nikolaevich23 !
I confirmed that I got infected somewhere else.
The UPX.exe got some false positives after all. ;)


Fix datatable to JSON conversion streaming

Fix for https://github.com/ballerina-platform/ballerina-lang/issues/9806

Closing this PR since this was added with https://github.com/ballerina-platform/ballerina-lang/pull/9872


engine: LiveUpdateBaD runs updates on all containers it knows about [ch3021]

Integration test to follow but wanted some eyes on this first

bump! @nicks @dbentley this is ready for review (lmk if i should loop in someone else)

@maiamcc did you see my last round of review comments? i didn't see them addressed

relatedly, it seems like this PR is spiraling a bit out of control...concerned that it's introducing lots of new bugs due to the size and complexity.
is there a way we could split this into smaller testable pieces? I can suggest a few options if you're not sure how.

oh whoops, @nicks i didn't get notified -_- sorry, will look into them tomorrow AM!

:raised_hands:


icu-deploy/ARCH=x86_64,NAME=icu,OS=u1610,SITE=generic,VERSION=59_1 #1 failed

Build 'icu-deploy/ARCH=x86_64,NAME=icu,OS=u1610,SITE=generic,VERSION=59_1' is failing!
Last 50 lines of build output:
Started by upstream project "icu-deploy" build number 1
originally caused by:
 Started by GitHub push by brucellino
[EnvInject] - Loading node environment variables.
Building remotely on local-e8d44fc17621 (x86_64 u1610) in workspace /home/jenkins/workspace/icu-deploy/ARCH/x86_64/NAME/icu/OS/u1610/SITE/generic/VERSION/59_1
Cloning the remote Git repository
Cloning repository https://github.com/SouthAfricaDigitalScience/icu-deploy
 > git init /home/jenkins/workspace/icu-deploy/ARCH/x86_64/NAME/icu/OS/u1610/SITE/generic/VERSION/59_1 # timeout=10
Fetching upstream changes from https://github.com/SouthAfricaDigitalScience/icu-deploy
 > git --version # timeout=10
using GIT_ASKPASS to set credentials Jenkins Github token
 > git fetch --tags --progress https://github.com/SouthAfricaDigitalScience/icu-deploy +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://github.com/SouthAfricaDigitalScience/icu-deploy # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/SouthAfricaDigitalScience/icu-deploy # timeout=10
Fetching upstream changes from https://github.com/SouthAfricaDigitalScience/icu-deploy
using GIT_ASKPASS to set credentials Jenkins Github token
 > git fetch --tags --progress https://github.com/SouthAfricaDigitalScience/icu-deploy +refs/heads/*:refs/remotes/origin/*
Checking out Revision<PHONE_NUMBER>4b2daa4758038b4dc779aa466ec714 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f<PHONE_NUMBER>4b2daa4758038b4dc779aa466ec714
First time build. Skipping changelog.
Run condition [Current build status] enabling prebuild for step [Execute shell]
Run condition [Current build status] enabling prebuild for step [Execute shell]
[Set GitHub commit status (universal)] PENDING on repos [GHRepository@497febf9[description=International Components for Unicode (deploy scripts),homepage=<null>,name=icu-deploy,license=<null>,fork=false,size=0,milestones={},language=Shell,commits={},source=<null>,parent=<null>,url=https://api.github.com/repos/SouthAfricaDigitalScience/icu-deploy,id=94328623]] (sha:1706354) with context:icu-deploy/ARCH=x86_64,NAME=icu,OS=u1610,SITE=generic,VERSION=59_1
Setting commit status on GitHub for https://github.com/SouthAfricaDigitalScience/icu-deploy/commit/17063541054b2daa4758038b4dc779aa466ec714
[59_1] $ /bin/sh -xe /tmp/hudson5781968648287776978.sh
+ ./build.sh

------------------------- /usr/share/modules/versions --------------------------
3.2.10

------------------------ /usr/share/modules/modulefiles ------------------------
ci          dot         module-info null
deploy      module-git  modules     use.own
 There seems to be a download currently under way, will check again in 5 sec
 There seems to be a download currently under way, will check again in 5 sec
 There seems to be a download currently under way, will check again in 5 sec
 There seems to be a download currently under way, will check again in 5 sec
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Build step 'Execute shell' marked build as failure
[WARNINGS] Skipping publisher since build result is FAILURE

Changes since last successful build:
View full output

Build was fixed!


Matomo fork update

Fixes https://optimere.atlassian.net/browse/MON-3954

@felipecabargas should this be reviewed or is it still WIP?

@felipecabargas https://github.com/Monsido/piwik-ruby-api/pull/16#issuecomment-1274391566 ?

Still wip @serch

@felipecabargas that's totally fine, I'll mark it as draft 👌

@felipecabargas could you please create a jira task to continue with this? thanks

@felipecabargas unless we have plans to work on this in Q3 I'd say we close the PR

@felipecabargas I'll close the PR, feel free to reopen if you plan on working on it


CustomMessage trigger & HTML email message?

I generated a CustomMessage trigger in hopes of sending a decent html email when users sign up. I initially tried to paste the html into the text area in the user pool admin/console in the browser, but saw validation error, so I thought I'd try using the trigger, however I am seeing the same error. The docs say:

"For email, the maximum length for the message is 20,000 UTF-8 characters, including the verification code. HTML tags can be used in these emails."

Is there more information on the allowed html? Is it not possible to send a completely html email with a design (body tag, style tags, tables, images, html comments because if IE <!--[if (mso)|(IE)]>, etc)?
Which Category is your question related to?
auth
Amplify CLI Version
4.20.0

@smakinson This is related to Cognito capabilities, please check the documentation here: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-email-verification-message-customization.html
For further questions it is a better place to ask in the Cognito Forums: https://forums.aws.amazon.com/forum.jspa?forumID=173

@attilah I was hoping there is more documentation, the only thing mentioned on that page is

"HTML tags can be used in these emails."

but it seems there must be some rules around it since it is rejecting a full html page for the email. I think the information on this would be better as part of the documentation. Is there a place to request this if it does not exist?
I have tried temporarily removing the <style> tag and content to see if it is the  { and } in there causing the issue as mentioned on the forum, but I see the same error. The html does contain {####}
The error is:
at 'emailVerificationMessage' failed to satisfy constraint: Member must satisfy regular expression pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{####\}[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]* (Service: AWSCognitoIdentityProviderService; Status Code: 400; Error Code: InvalidParameterException;
forum links:
https://forums.aws.amazon.com/thread.jspa?messageID=840827&#840827
https://forums.aws.amazon.com/thread.jspa?messageID=943959&#943959
https://forums.aws.amazon.com/thread.jspa?messageID=943961&#943961

I was having this same issue, and it turned out there was a weird special character in my HTML, and that was the reason it didn't satisfy the constraint. Once I removed it, it started working great, with style, head, html and even doctype tags!
For future reference, the HTML can be tested here: https://regex101.com/r/y8G6bF/2


Pages renders a warning from Iron Router each time you click.

Not sure why but Pages keeps rendering a warning each time I click on the page link.
Route dispatch never rendered. Did you forget to call this.next() in an onBeforeAction?

Is this fixed with your PR?

Not in this PR but I will submit an additional PR to fix this issue you can
leave it open for now .
On Wed, Jun 10, 2015 at 11:36 AM Nicolás López<EMAIL_ADDRESS>wrote:

Is this fixed with your PR?
—
Reply to this email directly or view it on GitHub
https://github.com/orionjs/orion/issues/192#issuecomment-110869426.


Implemented head_commit for webhooks

api.PushPayload contains a HeadCommit field which is always empty. This PR sets a value to the field.
fixes #5266
close #5419

:rocket:


Application could not connect to database if  i start application then database start

I am using play 2.5 and HikarCP  as connection pool.  I start application in following way

Shutdown the Database
Start application
send requests to application that have some database transaction
I can see the log, Pool could not connect the database which ok as database is down
Start Database
I can see the log, Pool could not connect the database which is  wrong. as now databse is up.

here is my HokarCP config
 autoCommit = true
    connectionTimeout = 5 seconds
    idleTimeout = 5 minutes
    maxLifetime = 10 minutes
    connectionTestQuery =  SELECT 1
    minimumIdle = 5
    maximumPoolSize = 25
    poolName = keymaker-pool

    initializationFailTimeout = 0
    isolateInternalQueries = false
    allowPoolSuspension = false
    readOnly = false
    registerMbeans = false
    catalog = null

    connectionInitSql = SELECT 1
    transactionIsolation = null
    validationTimeout = 5 seconds
    leakDetectionThreshold = 15 seconds

Environment
HikariCP version: 2.7.1
JDK version     : 1.8.0_121
Database        : PostgreSQL
Driver version  : x.x.x

Have you searched the CLOSED issues already? How about checking stackoverflow?

@ayubsarker Can you enable DEBUG level logging and attach the log here, covering the transition from DB-down to DB-up.  I assume when you write "5 seconds" etc. above your actualy configuration has valid values (300000 etc.).
Also, check that the JVM is not caching the DNS lookup failure when the DB is down.  Java does cache DNS failures and will not re-resolve for quite an extended amount of time.  See this thread for info on how to set the TTL.

here is the application log
Caused by: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Connection to <IP_ADDRESS>:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at com.zaxxer.hikari.pool.HikariPool.throwPoolInitializationException(HikariPool.java:548)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:540)
at com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:113)
at com.zaxxer.hikari.HikariDataSource.(HikariDataSource.java:72)
at play.api.db.HikariCPConnectionPool$$anonfun$1.apply(HikariCPModule.scala:58)
at play.api.db.HikariCPConnectionPool$$anonfun$1.apply(HikariCPModule.scala:54)
at scala.util.Try$.apply(Try.scala:192)
at play.api.db.HikariCPConnectionPool.create(HikariCPModule.scala:54)
at play.api.db.PooledDatabase.createDataSource(Databases.scala:200)
at play.api.db.DefaultDatabase.dataSource$lzycompute(Databases.scala:124)
Caused by: org.postgresql.util.PSQLException: Connection to <IP_ADDRESS>:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:265)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
at org.postgresql.jdbc.PgConnection.(PgConnection.java:194)
at org.postgresql.Driver.makeConnection(Driver.java:450)
at org.postgresql.Driver.connect(Driver.java:252)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:112)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:118)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:376)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:205)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:448)

When the master goes down, and the application requests a connection, and HikariCP tries to validate a connection to return, HikariCP is running into unacknowledged TCP issues.  Unfortunately, there is nothing HikariCP itself can do in this case without the assistance of the driver.
This is a big problem, and one that can only be addressed by the driver.  pgjdbc does not support Connection.setNetworkTimeout().
I have an outstanding pull request pgjdbc/pgjdbc#849 that has been waiting quite a while to be merged.  Please vote for it.  It borders on unbelievable that PostgreSQL, a supposedly enterprise class database, still does not support a feature so critical to reliability.

(@ayubsarker and I are co-workers)
@brettwooldridge  I was hoping you could help provide some more clarity as to how HikariCP operates and what is causing this issue.
Our scenario:
If our database (postgres) is down when the play application starts, we (as expected) see database connection failures upon trying to execute queries.
Upon the database coming up, we see successful connections to it (i.e. we see on the Postgres side that there are connections, and that the are running the "select 1" test query).
Now we attempt to execute another query vs the database.  This fails with the exception above.
Discussion:
Take a look at this log snippet once the database has come up.  It looks like we added a total of 10 jdbc connections (yet only a total of 5 are being reported).
2017-10-18 16:41:49,027 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool housekeeper - keymaker-pool - Before cleanup stats (total=0, active=0, idle=0, waiting=0)
2017-10-18 16:41:49,027 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool housekeeper - keymaker-pool - After cleanup  stats (total=0, active=0, idle=0, waiting=0)
2017-10-18 16:41:57,702 [INFO] from com.zaxxer.hikari.pool.PoolBase in keymaker-pool connection adder - keymaker-pool - Driver does not support get/set network timeout for connections. (Method org.postgresql.jdbc.PgConnection.getNetworkTimeout() is not yet implemented.)
2017-10-18 16:41:57,702 [INFO] from com.zaxxer.hikari.pool.PoolBase in keymaker-pool connection adder - keymaker-pool - Driver does not support get/set network timeout for connections. (Method org.postgresql.jdbc.PgConnection.getNetworkTimeout() is not yet implemented.)
2017-10-18 16:41:57,776 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool connection adder - keymaker-pool - Added connection org.postgresql.jdbc.PgConnection@1f0c40f1
2017-10-18 16:41:57,776 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool connection adder - keymaker-pool - Added connection org.postgresql.jdbc.PgConnection@66ee65b4
2017-10-18 16:41:57,817 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool connection adder - keymaker-pool - Added connection org.postgresql.jdbc.PgConnection@fd77fed
2017-10-18 16:41:57,830 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool connection adder - keymaker-pool - Added connection org.postgresql.jdbc.PgConnection@2dc804f6
2017-10-18 16:41:57,837 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool connection adder - keymaker-pool - Added connection org.postgresql.jdbc.PgConnection@7f822ce3
2017-10-18 16:41:57,845 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool connection adder - keymaker-pool - Added connection org.postgresql.jdbc.PgConnection@6d4d58c1
2017-10-18 16:41:59,258 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool housekeeper - keymaker-pool - Before cleanup stats (total=1, active=0, idle=1, waiting=0)
2017-10-18 16:41:59,258 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool housekeeper - keymaker-pool - After cleanup  stats (total=1, active=0, idle=1, waiting=0)
2017-10-18 16:42:02,785 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool connection adder - keymaker-pool - Added connection org.postgresql.jdbc.PgConnection@99d76a2
2017-10-18 16:42:02,792 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool connection adder - keymaker-pool - Added connection org.postgresql.jdbc.PgConnection@62e8081d
2017-10-18 16:42:02,799 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool connection adder - keymaker-pool - Added connection org.postgresql.jdbc.PgConnection@47a2261
2017-10-18 16:42:02,805 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool connection adder - keymaker-pool - Added connection org.postgresql.jdbc.PgConnection@57b41c08
2017-10-18 16:42:19,025 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool housekeeper - keymaker-pool - Before cleanup stats (total=5, active=0, idle=5, waiting=0)

If the connections to Postgres have been made, what "unacknowledged TCP issues" are we running into?

@brettwooldridge - The following program works correctly in the scenario we described (starting it with the database down, then bringing it up).  So I'm not certain it is due to a limitation on the driver or unacknowledged TCP stuff.  Would you know how Play creates the data source (is it different from how its done in this example) or how it deals with the exception thrown when it tries to tries to create it when it is down?
Thanks in advance.
`   public static void main(String[] args) throws Exception {
HikariConfig config = new HikariConfig();
config.setJdbcUrl("jdbc:postgresql://xxxxx:5432/djm_test");
config.setUsername("postgres");
config.setPassword("postgres");
config.addDataSourceProperty("connectionTestQuery", "SELECT 1");
config.addDataSourceProperty("connectionInitSql", "SELECT 1");
config.addDataSourceProperty("connectionTimeout", "5000");
config.addDataSourceProperty("validationTimeout", "5000");
config.addDataSourceProperty("idleTimeout", "300000");
config.addDataSourceProperty("maxLifetime", "600000");
config.addDataSourceProperty("minimumIdle", "5");
config.addDataSourceProperty("maximumPoolSize", "25");
config.addDataSourceProperty("initializationFailTimeout", "0");
    HikariDataSource ds = null;

    while(true) {
        try {
            while(ds == null) {
                ds = new HikariDataSource(config);
            }

            try (Connection c = ds.getConnection()) {
                Statement statement = c.createStatement();
                ResultSet rs = statement.executeQuery("Select * from public.test_table");
                while (rs.next()) {
                    System.out.println("Name " + rs.getString("name"));
                    System.out.println("UUID " + rs.getInt("uid"));
                }
            } catch (Exception e) {
                System.out.println(e);
            }
        }
        catch (Exception e){
            System.out.println(e);
        }
        Thread.sleep(10000);
    }
}`

@danjmarques I will investigate further.  I don't really know much about Play and how it sets up or controls connections.  It might be more fruitful to ask that question in the Play user forum.
I do want to make note of some "oddities" in the log you provided.

Note that HikariCP connection acquisition is single threaded.
Note that during connection acquisition, HikariCP calls a method, getAndSetNetworkTimeout().  Calling this method will result in a member variable, isNetworkTimeoutSupported, being set to either TRUE or FALSE.  There is no escape from that method without isNetworkTimeoutSupported being assigned one of those two values.

Based on both of the two points above, it should only be possible for the message "Driver does not support get/set network timeout for connections" to be emitted once.  And yet, in the log, we see it emitted twice...
2017-10-18 16:41:57,702 [INFO] from com.zaxxer.hikari.pool.PoolBase in keymaker-pool connection adder - keymaker-pool - Driver does not support get/set network timeout for connections. (Method org.postgresql.jdbc.PgConnection.getNetworkTimeout() is not yet implemented.)
2017-10-18 16:41:57,702 [INFO] from com.zaxxer.hikari.pool.PoolBase in keymaker-pool connection adder - keymaker-pool - Driver does not support get/set network timeout for connections. (Method org.postgresql.jdbc.PgConnection.getNetworkTimeout() is not yet implemented.)

Strange.
Next.

The message "Added connection..." is emitted in two places in the code, here during initialization, and here at all other times a connection is added.
The "Added connection..." method is always called after a call to ConcurrentBag.add().  ConcurrentBag.add() adds the connection to a CopyOnWriteArrayList called sharedList.
The HouseKeeper thread calls logPoolState(), which in turn calls getTotalConnections(), which in turn calls ConcurrentBag.size(), which finally calls sharedList.size() on the CopyOnWriteArrayList.

Therefore, it is impossible for a connection to be added but not be reflected in the pool stats, if the pool stats are logged after the "Added connection..." log appears.
And yet, five connection adds were logged, but the pool stats indicate only single connection in the pool.
2017-10-18 16:41:57,776 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool connection adder - keymaker-pool - Added connection org.postgresql.jdbc.PgConnection@1f0c40f1
2017-10-18 16:41:57,776 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool connection adder - keymaker-pool - Added connection org.postgresql.jdbc.PgConnection@66ee65b4
2017-10-18 16:41:57,817 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool connection adder - keymaker-pool - Added connection org.postgresql.jdbc.PgConnection@fd77fed
2017-10-18 16:41:57,830 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool connection adder - keymaker-pool - Added connection org.postgresql.jdbc.PgConnection@2dc804f6
2017-10-18 16:41:57,837 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool connection adder - keymaker-pool - Added connection org.postgresql.jdbc.PgConnection@7f822ce3
2017-10-18 16:41:57,845 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool connection adder - keymaker-pool - Added connection org.postgresql.jdbc.PgConnection@6d4d58c1
2017-10-18 16:41:59,258 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool housekeeper - keymaker-pool - Before cleanup stats (total=1, active=0, idle=1, waiting=0)
2017-10-18 16:41:59,258 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool housekeeper - keymaker-pool - After cleanup  stats (total=1, active=0, idle=1, waiting=0)

Because this is literally impossible, there must be another explanation.
I find some clues here...
2017-10-18 16:41:49,027 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool housekeeper - keymaker-pool - Before cleanup stats (total=0, active=0, idle=0, waiting=0)
2017-10-18 16:41:49,027 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool housekeeper - keymaker-pool - After cleanup  stats (total=0, active=0, idle=0, waiting=0)
...
2017-10-18 16:41:59,258 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool housekeeper - keymaker-pool - Before cleanup stats (total=1, active=0, idle=1, waiting=0)
2017-10-18 16:41:59,258 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool housekeeper - keymaker-pool - After cleanup  stats (total=1, active=0, idle=1, waiting=0)
...
2017-10-18 16:42:19,025 [DEBUG] from com.zaxxer.hikari.pool.HikariPool in keymaker-pool housekeeper - keymaker-pool - Before cleanup stats (total=5, active=0, idle=5, waiting=0)

The HouseKeeper runs every 30 seconds.  So, how it is possible to get logs at 16:41:49,027 and 16:41:59,258?
This indicates to me that there are two pools running.  Which explains the two "Driver does not support get/set network timeout for connections" messages, which also should not be possible in the case of a single pool instance.

@danjmarques As a side-note, the unacknowledged TCP issue is unrelated, and its mention probably the result of my lack of sleep.  It would only come into play if a database to which HikariCP was already connected went down.  Your case is the opposite.  There are no connections, and then the database is brought up.  Sorry for the confusion, you can ignore it as it does not apply in this case.


Page flagged as 404 not found despite statically built site and page existing?

Versions

nuxt: v2.14.12
node: v10.x
@nuxtjs/pwa: v3.3.3
@nuxtjs/component-cache: v1.1.6
@nuxt/content: v1.11.1

Reproduction

https://domain-monitor.io/blog/ingredients-of-creating-original-content/

nuxt.config.js:
require('dotenv').config();
import axios from 'axios'
import getRoutes from './utils/getRoutes'

// exlcude sitemap pathd
const excludePaths = [
  '/account/recovery',
  '/account/reset',
  '/account/profile',
  '/account/domains/add',
  '/account/domains',
  '/account/monitors/add',
  '/account/monitors',
  '/help/account/introduction',
  '/help/monitors/introduction',
  '/help/domains/introduction'
]

export default {
  /*
  ** Nuxt rendering mode
  ** See https://nuxtjs.org/api/configuration-mode
  */
  mode: 'universal',
  /*
  ** Nuxt target
  ** See https://nuxtjs.org/api/configuration-target
  */
  target: 'static',
  /*
  ** Env variables
  */
  env: {
    BASE_URL: process.env.BASE_URL || "https://domain-monitor.io",
    API_URL: process.env.API_URL || "http://<IP_ADDRESS>:8000",
    ONESIGNAL_PUSH_APP_ID: process.env.ONESIGNAL_PUSH_APP_ID || "",
    ONESIGNAL_SAFARI_WEB_ID: process.env.ONESIGNAL_SAFARI_WEB_ID || "",
    GA_ID: process.env.GA_ID || ""
  },
  /*
  ** Headers of the page
  ** See https://nuxtjs.org/api/configuration-head
  */
  head: {
    title: 'Domain Monitor',
    meta: [
      { charset: 'utf-8' },
      { name: 'viewport', content: 'width=device-width, initial-scale=1' },
      { hid: 'og:title', name: 'og:title', content: 'Domain Monitor' },
      { hid: 'description', name: 'description', content: 'Keep track of your expiring domains today for FREE with our FREE domain monitoring product.' },
      { hid: 'og:description', name: 'og:description', content: 'Keep track of your expiring domains today for FREE with our FREE domain monitoring product.' }
    ],
    link: [
      { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
      { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap' },
      { rel: 'stylesheet', href: 'https://fonts.googleapis.com/icon?family=Material+Icons' }
    ],
    script: [
      { src: '/mailchimp.js' },
      { src: '/reddit-pixel.js' }
    ]
  },
  /*
  ** Global CSS
  */
  css: [
<EMAIL_ADDRESS>  ],
  /*
  ** Bootstrap Vue
  */
  bootstrapVue: {
    bootstrapCSS: false,
    bootstrapVueCSS: false
  },
  /*
  ** Plugins to load before mounting the App
  ** https://nuxtjs.org/guide/plugins
  */
  plugins: [
    { mode: 'client', src: '@/plugins/filters' },
    { mode: 'client', src: '@/plugins/bootstrap-vue-icons' },
    { mode: 'client', src: '@/plugins/vue-axios' },
    { mode: 'client', src: '@/plugins/vee-validate' },
    { mode: 'client', src: '@/plugins/vue-moment' },
    { mode: 'client', src: '@/plugins/content-images' },
    { mode: 'client', src: '@/plugins/content-videos' }
  ],
  /*
  ** Auto import components
  ** See https://nuxtjs.org/api/configuration-components
  */
  components: true,
  /*
  ** Nuxt.js dev-modules
  */
  buildModules: [
    ['@nuxtjs/google-analytics', {
      id: process.env.GA_ID
    }]
  ],
  /*
  ** Nuxt.js modules
  */
  modules: [
    'bootstrap-vue/nuxt',
    '@nuxtjs/axios',
    '@nuxtjs/auth',
    '@nuxtjs/onesignal',
    '@nuxtjs/pwa',
    '@nuxt/content',
    '@nuxtjs/sitemap',
    ['@nuxtjs/component-cache', { maxAge: 1000 * 60 * 5 }] // 5 minutes
  ],
  /*
  ** Auth config
  */
  auth: {
    redirect: {
      login: '/account/login',
      logout: '/account/login',
      callback: '/account/login',
      home: '/account/domains'
    },
    strategies: {
      local: {
        login: { url: 'auth/login', method: 'post', propertyName: 'token' },
        logout: { url: 'account/logout', method: 'post' },
        user: { url: 'auth/user', method: 'get', propertyName: 'user' }
      }
    }
  },
  /*
  ** One Signal
  */
  oneSignal: {
    init: {
      appId: process.env.ONESIGNAL_PUSH_APP_ID,
      safari_web_id: process.env.ONESIGNAL_SAFARI_WEB_ID,
      allowLocalhostAsSecureOrigin: true,
      welcomeNotification: {
          disable: true
      }
    }
  },
  /*
  ** Axios module configuration
  ** See https://axios.nuxtjs.org/options
  */
  axios: {
    baseURL: process.env.API_URL
  },
  /*
  ** Build configuration
  ** See https://nuxtjs.org/api/configuration-build/
  */
  build: {
    extractCSS: true,

    extend (config, ctx) {
      const vueLoader = config.module.rules.find((rule) => rule.loader === 'vue-loader')
      vueLoader.options.transformAssetUrls = {
        video: ['src', 'poster'],
        source: 'src',
        img: 'src',
        image: 'xlink:href',
        'b-img': 'src',
        'b-img-lazy': ['src', 'blank-src'],
        'b-card': 'img-src',
        'b-card-img': 'img-src',
        'b-card-img-lazy': ['src', 'blank-src'],
        'b-carousel-slide': 'img-src',
        'b-embed': 'src'
      }
    },

    babel: {
      compact: true
    }
  },
  /*
  ** Generate configuration
  ** See https://nuxtjs.org/docs/2.x/configuration-glossary/configuration-generate
  */
  generate: {
    fallback: '404.html'
  },
  /*
  ** Sitemap configuration
  ** See https://www.npmjs.com/package/@nuxtjs/sitemap#setup
  */
  sitemap: {
    hostname: process.env.BASE_URL, // https://www.yoursite.com
    trailingSlash: true,
    exclude: excludePaths,
    routes() {
      return getRoutes(excludePaths);
    },
  }
}

Steps to reproduce

Load up the reproduction URL which has been statically built using npm run build && npm run generate
Observe the fact that the page has loaded
Consider viewing network in console
Reload the page

What is Expected?
The page should load correctly and be indexable by Google with all of the relevant resources, it should be reachable by a search engine.
What is actually happening?
For some strange reason, despite my URL being accessible by me, by Google PageSpeed Insights and via the search engine, Google is having trouble indexing this page and is flagging the page as being a 404 page not found.
When I click into the error, and choose the option to Test live url then then everything comes back okay, so I imagine Google is able to get to it, but for whatever reason is then failing at some point because of how the content is generated?
I'm not sure whether I'm missing something, Google hasn't flagged any of the other pages as of yet, so my only guess is that there's something wrong with my configuration?
In addition, I'm having issues loading images from my assets folder via the Nuxt JS Content module, I wonder whether this is related? I've opened an issue regarding this so it might be worth checking that out as well to aid with identifying a potential issue becuase I'm having to resolve the assets directory via a component, and I wonder whether they need to be placed inside of the static folder instead?
I'll attach a screenshot, but would appriciate some guidance or suggestions here, thanks 👍

It shows a 200 in the dev tools for the repro URL
The site itself can load (see the rich result test) but as you've blocked /_nuxt/ for Googlebot via your robots.txt, some resources can't be loaded.

It shows a 200 in the dev tools for the repro URL
The site itself can load (see the rich result test) but as you've blocked /_nuxt/ for Googlebot via your robots.txt, some resources can't be loaded.

@manniL I blocked the following via robots.txt because I was getting a load of /_nuxt URLs showing up in the search engine when doing site:domain-monitor.io (is there an alternative to prevent these showing up in search?) I can allow Google to crawl those pages after this then...
robots.txt
# All crawlers welcome:
User-agent: *
Disallow: /_nuxt/

@manniL I blocked the following via robots.txt because I was getting a load of /_nuxt URLs showing up in the search engine when doing site:domain-monitor.io (is there an alternative to prevent these showing up in search?) I can allow Google to crawl those pages after this then...
robots.txt
# All crawlers welcome:
User-agent: *
Disallow: /_nuxt/

Content from /_nuxt/ should never be shown in the search engine (as it usually doesn't contain HTML). Never saw something like that I'm afraid 🙈

Content from /_nuxt/ should never be shown in the search engine (as it usually doesn't contain HTML). Never saw something like that I'm afraid 🙈

@manniL There's always a first for everything :) it does show up, I've removed /_nuxt/ from my robots file and will add a screenshot when they appear, why would they show up? Might be worth trying to catch an answer before they show up because I don't want them in the search engine either

@manniL There's always a first for everything :) it does show up, I've removed /_nuxt/ from my robots file and will add a screenshot when they appear, why would they show up? Might be worth trying to catch an answer before they show up because I don't want them in the search engine either

I think it's because _nuxt is in the dist directory, and since dist is served as the webroot, going to the domain and then _nuxt means I can see all of that

I think it's because _nuxt is in the dist directory, and since dist is served as the webroot, going to the domain and then _nuxt means I can see all of that

@sts-ryan-holton You'll want to turn off directory listing in your web server config ...

@sts-ryan-holton You'll want to turn off directory listing in your web server config ...

@danielroe Could you point me in the right direction with that? I'm running a Digital Ocean Centos droplet, I wonder whether the .htaccess file is the right option here and I just add one line to the .htaccess file in Nuxt?

@danielroe Could you point me in the right direction with that? I'm running a Digital Ocean Centos droplet, I wonder whether the .htaccess file is the right option here and I just add one line to the .htaccess file in Nuxt?

@danielroe I think I've got it, I removed Indexes from httpd.conf on the server on the line which lists options and symlinks, that now gives me a Forbidden error when trying to get to just the /_nuxt/ directory and I assume others

@danielroe I think I've got it, I removed Indexes from httpd.conf on the server on the line which lists options and symlinks, that now gives me a Forbidden error when trying to get to just the /_nuxt/ directory and I assume others

Did the workarounds provided resolve your issue @sts-ryan-holton? ☺

Did the workarounds provided resolve your issue @sts-ryan-holton? ☺

@manniL I will update in a few days once Google has indexed the new changes, they're currently validating the fix 👍  Once I know more, I'll come back and provide an update :)

@manniL I will update in a few days once Google has indexed the new changes, they're currently validating the fix 👍  Once I know more, I'll come back and provide an update :)


Non working links

codebetter.com has been down for some time.

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

ID: 84d83855-4370-90e8-024a-12c5ac8220e9
Version Independent ID: 01be3db1-4a00-c8f2-aa59-59656f206b93
Content: Applying CQRS and CQS approaches in a DDD microservice in eShopOnContainers
Content Source: docs/standard/microservices-architecture/microservice-ddd-cqrs-patterns/eshoponcontainers-cqrs-ddd-microservice.md
Product: dotnet
Technology: dotnet-ebooks
GitHub Login: @CESARDELATORRE
Microsoft Alias: wiwagn

Thanks for letting us know @stjepan.
@mvelosop @CESARDELATORRE We have three articles linking to that site. Ok to remove?

Hi @stjepan, thanks for the heads up, just tried contacting the author, let's wait for a few days.

Hi @stjepan, @mairaw, I got to chat with Greg Young and he didn't supplied a replacement for those articles.
However, the one from https://cqrs.wordpress.com/ contains most of the material, so I'm updating this article now.


Search Program Text should show progress when Next/Previous takes a long time

Is your feature request related to a problem? Please describe.
When using Search Program Text, clicking Search All opens a window that shows a progress bar, but clicking Next or Previous just shows an hourglass.
Describe the solution you'd like
There should be a progress bar and/or a display of where Ghidra is currently searching.
Describe alternatives you've considered
It would also be nice if Search Program Text was faster :)
Additional context
IDA shows an indicator for where it's currently searching in the file scrubber bar thingy.

-5 internet points for trying to pressure us with what the other guys are doing.

I apologize, as it wasn't my intent to pressure anyone.  My main reason for mentioning IDA in feature requests has been to demonstrate that the feature in question isn't just some random idea I had that I speculate might be useful, but something I know would be useful if implemented, given that it's useful in IDA.  I admit I also mentioned it because I saw IDA parity as one factor among many potentially worth considering when prioritizing work; again, not with the intent to pressure, but as something worth noting.  But this seems to have been received badly, so I will stop doing it.

No need to apologize @comex.  I believe @dev747368 was just trying to make a joke.  We welcome all enhancement requests, so we'd love to hear about anything you think would make Ghidra better and more useful. Of course, we have a massive list of enhancement requests to consider and prioritize, so we cannot guarantee when or even if they will get implemented, even if we agree that it is a good idea.  Sorry for any confusion!

yep, my comment could have used a smiley face.

@comex The Search Program Text dialog shows not only a spinning hour glass, but also a progress bar.   If you are not seeing this, then can you describe the steps to reproduce the issue?
I'm not familiar with this IDA tool of which you speak, so I cannot speak to its functionality.   Our current progress bar shows something to the effect of "1% (26930 of 4493601)".   Are you asking for some other sort of message?

It would also be nice if Search Program Text was faster :)

Haha, yes, it can be quite slow on large binaries.  You can somewhat mitigate this slow down by reducing the number of fields to be searched via the dialog's checkboxes.  Also, you can also restrict the search to a program selection in order to reduce the search scope.


chore(main): release 1.2.3

:rocket: New release
1.2.3 (2023-05-25)
:bug: Bug Fixes

inline code not being stylized in list items (#52) (2585ddb)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/hugo-sid/hugo-blog-awesome/releases/tag/v1.2.3 :sunflower:


Add-on Outdated in Mozilla store

The version available from the add-on store is still 2.4.3. Are there any issues preventing the uploading of new versions?

The main dev's PC just died so we aren't pushing new updates on the Add-on store yet, but you can download the latest version on releases =)

Fixed ;)


[PT Run] Ignoring drive not indexed warning

📝 Provide a description of the new feature
What is the expected behavior of the proposed feature?  What is the scenario this would be used?
I would like to ignore / disable "Not all drives are indexed" warning.

If you'd like to see this feature implemented, add a 👍 reaction to this post.

Sorry, I haven't seen this option.


Multiple file upload?

Hello, thanks for the great job.
How can I enable multiple file select?
My HTML input element has the multiple attribute set, but it is only allowing one file to be selected!
any advice please?

Thanks for your question!
Please check the following pull request by @james2001:
https://github.com/delight-im/Android-AdvancedWebView/pull/23/files
Does this help? Can you implement it (after copying this library's JAVA file to your app and removing the JAR)?

hi
thank you it works great .. i was wondering if it possible to set cache like when user lunch the main activity load data from cache

@rijudewan You might want to take a look at the WebSettings#setCacheMode method. But please open separate issues for your questions that aren't related to existing issues. Thank you!

It didn't worked for me, i replaced with your above code, but still able to select only one image at a time.
How may it get done!

Done!
Thanks

Feature has been implemented, see https://github.com/delight-im/Android-AdvancedWebView/pull/23


Fix file extension of signature files in signer workflow.

Right now the signer workflow is invoking the client and specifying the output with -o as a *.asc file.  In reality, the file returned from the client is a binary (.sig) file and not ascii armored.
Until this issue is resolved to specify the desired file type we should change the extension and correctly mark these as .sig files.

[Triage] Still waiting on downstream

Proposing a work around:
Instead of changing the code base of signer client side (which is likely to be remodel or be replaced by something else cc: @bbarani ), proposing to making this change via python code.
It is considerably more easy to change the .sig (binary output) to .asc (armored output) via gpg commands.
The code can be implemented via interim code base (python code in this repo. More precisely https://github.com/opensearch-project/opensearch-build/blob/main/src/sign_workflow/signer_pgp.py) rather than waiting on upstream.
I'll be looking into this.
Thanks!

Works as expected: https://build.ci.opensearch.org/job/distribution-maven-sign-and-release/26/


How to: Object property chaining

I'm trying to use Flow, but I keep getting the "Not covered by Flow" warning, so my code is mostly underlined. I checked the Flow documentation, but it wasn't helpful regarding object property chaining, so how do you get something like this to work?

And if there's a better place to ask such a question, please let me know. I couldn't find any tutorials or other articles online from preliminary searches.

You shouldn't use Object type if you want flow coverage, use concrete types

A few follow up questions then:

If I don't know what sails.models is (because it's part of the framework), do I just leave it as an Object?
How do I write the top line then?
Flow knows users is Object[], and it knows waiting is a Number, so why is that not covered?
What's wrong with the retData line? Or am I not supposed to use Object in that case too?

Here is what I modified after your comment, but there are still quite a few underlines:

do I just leave it as an Object

You can, but it's better to cast it's property to concrete type as soon as possible:
const User: Model<UserType> = sails.modules.user;

If you provide proper declaration for Model type, the whole callback will be covered and won't need any annotations

Flow knows users is Object[], and it knows waiting is a Number, so why is that not covered

Not sure, might be a bug

Closing since this issue hasn’t seen a lot of activity. Sorry about that 😣
Please reopen with a reproduction on https://flow.org/try if you are still having issues!


deltav speech

Hello
Can you create a speech-to-text section for Delta V in C # or C?
https://www.youtube.com/watch?v=t778cvQ3dJM

Hello Doctor Who,
ZenUnit and MetalMock can confirm the correctness of C++ programs but cannot convert speech to text as spoken to a DeltaV system.
Kind regards,
Neil


mpeg4 (Simple Profile) (XVID / 0x44495658) (header error)

My video
Duration: 00:00:10.00, start: 0.000000, bitrate: 5095 kb/s
Stream #0:0: Video: mpeg4 (Simple Profile) (XVID / 0x44495658), yuv420p, 800x600 [SAR 1:1 DAR 4:3], 3681 kb/s, 25 fps, 25 tbr, 25 tbn
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Console error :
Succesfully initialized video decoder:MPEG-4 part 2
[mpeg4 @ 000001936eb89c80] header damaged
[mpeg4 @ 000001936eb89c80] header damaged
[mpeg4 @ 000001936eb89c80] header damaged
[mpeg4 @ 000001936eb89c80] header damaged
[mpeg4 @ 000001936eb89c80] header damaged

Please post the file.

https://github.com/user-attachments/assets/9b4f22d7-961f-4068-b8f6-9a2c0553a148

test video.zip

Hi! Did you manage to look into the problem?


Backport WiFi support on RB5

Backport WiFi support for RB5 to dunfell branch. As we require linux-firmware backport, use next version and also include lt9611uxc firmware.
Depends .on https://review.linaro.org/c/openembedded/meta-backports/+/37326

run tests

Hmmm. Can we use meta-backports in meta-qcom?

Dropped lt9611uxc for now, to have just ath11k fixes.


Replace Image's default layouts in SQL import with template is="starcounter-composition"

This is a clone of the task https://github.com/StarcounterSamples/Products/issues/18

Currently, Images contains default layout information that comes as an SQL import (https://github.com/StarcounterSamples/Images/blob/master/src/Images/Content/default-layout.sql). Remove that SQL file and the helper class that uses it.
Provide equivalent layout in form of template is="starcounter-composition".
Use https://github.com/StarcounterSamples/Products/blob/develop/src/Products/wwwroot/Products/viewmodels/EditProductPage.html as reference how to do it.
Please note, that template is="starcounter-composition" requires Starcounter nightly and Launcher develop branch. Because of that, work needs to be done on People develop branch.

Done


event examples include spurious 'age' field

most of the event examples include an age field, which isn't really part of the event - in particular it will be absent over federation. /sync and /messages will add an age, but put it in the unsigned object. /intialSync probably does put an age where the examples suggest, but it's deprecated.
The example for m.room.redaction puts age under unsigned, but I'm not sure that's very clear either.
Basically I think we should remove both age and unsigned from these examples.

related: https://github.com/matrix-org/matrix-doc/issues/684


Use JPA in Custom Logic

Tutorial URL: https://developers.sap.com/tutorials/cp-apm-05-using-jpa.html
Please specify the step you are referring to: Step 5
We have completed all steps in the tutorial including the conversion to jta and tomee. Initially the service starts and responds to our get/post requests but after exactly 100 requests the app stops responding to requests involving database access.
For example: https://07yqgrpayeanrzu4-jtabookstore-srv.cfapps.sap.hana.ondemand.com/odata/v2/CatalogService/Books works exactly 100 times after starting the app.
The metadata-request still works. The only way to make the books-request work again is to restart the app in cloud foundry.
Link to our sap-github repository

Hi Daniel. Sorry for the late response. I'd forwarded the issue to the dev team to look into but they haven't been able to replicate it so far. Are you still facing this issue?

Hi Jijo, sorry I forgot to update this issue. I was contacted by colleagues who work on the JPA/JTA library. It seems like a bug in a library that they use and they are working on a fix.


[HUDI-5994] Bucket index supports bulk insert mode.

Change Logs
Bucket index supports bulk insert mode.
Impact
you can set hoodie.sql.bulk.insert.enable=true when using bucket index.
Risk level (write none, low medium or high below)
If medium or high, explain what verification was done to mitigate the risks.
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

@hudi-bot re-run the last Azure build

@hudi-bot re-run

@hudi-bot re-run

@hudi-bot run azure

@hudi-bot run azure

@hudi-bot run azure

@hudi-bot run azure

@watermelon12138 Hi, https://github.com/apache/hudi/issues/8279, it seems that my issue is because of this.

@XuQianJin-Stars

@XuQianJin-Stars Can you review my code? Thanks

Start reviewing now~

Reviewing now~

Thanks for the contribution, I have reviewed and applied a patch:
5994.patch.zip

Close and move the work to: https://github.com/apache/hudi/pull/8776


Make APIs type safe according to AAS meta model spec

Many properties in the AAS meta model are optional. However, in the AAS4J API, corresponding methods return null when a certain value is not present in a loaded Environment. One (arbitrarily chosen) example: AdministrativeInformation#getVersion() returns the value of an optional field, but neither the API nor the JavaDoc indicate this. The only way to find out is by opening the link and look at the specification.
IMO adding this information in the JavaDoc (i.e., "@returns Returns the String for the property version or null") would only be a weak workaround; I'd actually like to have such methods return java.util.Optional<String>. This is the only way to work robustly with the API.

The problem with java.util.Optional is that it's not intended as a "maybe type", which obviously could deliberately be ignored, but more importantly it doesn't support null as a value. If there is a difference between null as a value and the property not being present, Optional cannot be used. Now I don't know if this is relevant for any property in AAS, but as an example due to this issue, OpenAPITools has added the type JsonNullable.

Yes, I'm aware of how Optional was originally intended. From the post you linked, citing Brian Goetz:

Our intention was to provide a limited mechanism for library method return types where there needed to be a clear way to represent "no result", and using null for such was overwhelmingly likely to cause errors.

This is exactly what we have here, and what I'm requesting.
I do know that in some cases distinguishing between present/not present/null is necessary (in particular for PUT/PATCH requests in REST APIs) and I also know JsonNullable. However, I don't think this is relevant here. The AAS meta model clearly states that some fields are optional, a value of null to indicate anything specifically, however, is not mentioned anywhere. Therefore Optional both can be used, and is used in the way it was intended.

Although I have a different interpretation of that quote, it doesn't really matter. As long as there is no need to differentiate between null and a value not being present, Optional is fine to use imo as well and I support your suggested change.

What exactly is the benefit of having optional properties return Optional<>? A getter that returns an Optional<> can still be null (if not explicitly enforced, e.g. in every setter method), i.e. you still have to check if the value is null before accessing it which means at the end of the day you need to check if the return value is null and if not again check Optional.isPresent().
In this case, what would be the semantics of each of those cases and wouldn't they in the end not have the same meaning?
It maybe is helpful that the AAS metamodel classes in AAS4J are designed in such a way that it is possible to create instances that are not valid, e.g. by not setting the idShort where it is actually required. We made the design decision that we think it is better to allow the creation of invalid instances and than add a validator component that will check if a given instance if compliant to the standard. Unfortunately, this validator is currently not available as we did not yet finish updating it to the metamodel v3.0.
Generally speaking, there are multiple things the AAS metamodel classes can be used for, e.g. as result format from loading AAS model files, to create AAS models from code or as payload for API operations. The only scenario I really think using Optional<> could be beneficial is when using the classes as payload for PATCH commands because in this case there is a strong semantic difference between a property being not present (meaning it should not be changed) or it being null (meaning it should be set to null, i.e. deleted/removed).
If you use AAS4J in this case to parse the payload, this information is lost, i.e. the metamodel classes are not helpful in this case.
My approach upon implementing PATCH using AAS4J was therefore not to parse the payload to the AAS4J classes but to treat it as a generic JSON Merge request and use libraries that can execute any JSON Merge request on any object instance.
Coming back to the potential implications of using Optional<> and assuming we would enforce that properties of this type could never actually be null but only Optional.empty, how would you suggest to handle collections that can be empty, e.g. Submodel.submodelElement or SubmodlElementCollection.value and so on? As they have a cardinality of 0..* I would consider them optional and therefore would expect the API to return something like Optional<Collection<>> which seems cumbersome.
For clarification, I do not categorically oppose the use of Optional<> but to make an informed decision we need a detailed list of pros and cons. If you think we should use Optional<> please provide your arguments in a comprehensible way, e.g. why it is not suitable to check if AdministrativeInformation#getVersion() returns null instead of Optional.empty.


what's the point?

there's a setting to disable bobbing in-game so why bother making a mod for this?

the settings disables both hand bobbing and screen bobbing. This mod completely removes screen bobbing


Snow - Fix for light theme

Description
Changes proposed in this pull request:

improve detection of light theme

Related issue(s)

/retest


[stable/traefik] metrics port/endpoint should not be exposed in traefik service

Is this a request for help?:
NO
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT

Version of Helm and Kubernetes:
2.7.2 & 1.8
Which chart:
traefik
What happened:
When metrics.prometheus.enabled this chart add access to metrics endpoint and port in main service, so it get exposed to internet.
The metrics endpoint should only be exposed in dashboard service, so it can be protected.
What you expected to happen:
Not to expose metrics to internet
How to reproduce it (as minimally and precisely as possible):
A vanilla install with prometheus metrics enbaled
Anything else we need to know:

See #4473 for more details. It's not only about metrics but the whole web-ui (dashboard) which is exposed as soon as metrics are enabled.

so no one thinks this is important?


exResetAllFilters doing many Ajax requests

When calling yadcf.exResetAllFilters(dt) many ajax requests are sent in the same time.
From what I see you  have 1 request per filter. If you disable redraw you gain 1 request but still have many requests.

what if you set true as the second argument for this function ?

exResetAllFilters
Description:        Allows to reset all filters externally/programmatically (support ALL filter types!!!) , perfect for adding a "reset all" button to your page!
Arguments:          table_arg: (variable of the datatable)
noRedraw:   (boolean) , use it if you don't want your table to be reloaded after the filter reset,
for example if you planning to call exFilterColumn function right after the exResetAllFilters (to avoid two AJAX requests)
Usage example:      yadcf.exResetAllFilters(oTable);

If you disable redraw you gain 1 request but still have many requests.

please provide a scenario / simple test page

i'm still working on it.

I have the exact same issue, using latest build.
It happens with when you have filter_type='multi-select' and select_type='select2'.
Calling exResetAllFilters works just fine, but sends a number of repeated Ajax request, as many as visible columns. If noRedraw=true there are one less Ajax request than number of visible columns.

It happens with when you have filter_type='multi-select' and select_type='select2'.

this is my config too.
It's nice to know I'm not alone :)

Hi! Can you please reopen this issue?

Please post a link to a test page
On Sat, Apr 20, 2019, 15:35 Nicolas Rodriguez<EMAIL_ADDRESS>wrote:

Hi! Can you please reopen this issue?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/vedmack/yadcf/issues/448#issuecomment-485110171, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAM2EX2C5OBG7KBXG5MGMCTPRMEXNANCNFSM4EV5F7AQ
.

@kgiil do you still have the issue?


Extra methods for Option

I noticed that a few potentially useful methods convertingOption to Result aren't currently implemented: ok_or_default, err_or, err_or_else, and err_or_default.
ok_or_default could be useful as a complement to unwrap_or_default when converting Options to Results with a certain error type.
All of the err_or functions are complements to ok_or and aren't implemented at all.

Also, unchecked_unwrap() and give (opposite of take).

https://doc.redox-os.org/doc/extra/option/trait.OptionalExt.html

the opposite of take is *opt = value;, there's no reason for a method.
unchecked_unwrap has been discussed and the comments suggest that you should rather stabilize std::intrinsics::unreachable
ok_or_default can be expressed as ok_or_else(Default::default)
what's the meaning of err_or_*? turn Some(x) into Err(x)? That's very confusing, please us a match
do you have statistical evidence that those functions will carry their weight? I would have wanted some of them sometimes, but in hindsight those situations are so rare, an explicit match is much better, because the future reader (myself included) will instantly recognize this situation as "something hokey pokey is going on, pay attention while reading"

the opposite of take is *opt = value;, there's no reason for a method.

No, you might misunderstand what I want.
pub fn give(&mut self, val: T) -> Option<T> {
    ::std::mem::replace(self, Some(val))
}

do you have statistical evidence that those functions will carry their weight? I would have wanted some of them sometimes, but in hindsight those situations are so rare, an explicit match is much better, because the future reader (myself included) will instantly recognize this situation as "something hokey pokey is going on, pay attention while reading"

(assuming you're referencing libextra) Yes, we do use those a lot. They are a better and faster alternative to panicking, especially when making CLI tools.

Wouldn't you get the same behaviour with abort on panic? Or is this a choice that varies inside a single project?
The other cases are what i meant actually, are there lots of awkward matches when converting options to results?

Wouldn't you get the same behaviour with abort on panic? Or is this a choice that varies inside a single project?

Nope, because of the way errors are handled and written to stderr. Abort on panic doesn't change that.

For example, we don't want coreutils to do thread '<main>' paniced at: "blah", we want to have simply blah.

#1416 for previous discussion on give. I'm against it because after being called it would guarantee that the Option is Some which encourages use of unwrap.


How to manage corner radius of BubbleView

Hello
I know BubbleView corners are managed via mask images, but I can not figure out how to create my own image resource for a specific corner radius of BubbleView.
Any suggestions?
Thanks

Hey @sundaleek,
Currently we only support this by changing the image resource itself unfortunately.
But if you'd like to contribute to make it more flexible, please let me know, I'll provide you assistance on that.
Thanks


Upgrading to v0.4.0 causes application panic

Hi. We were previously running v0.3.6 on self hosted. When attempting to upgrade to v0.4.0 the app panics when handling uploads (POST /v1/files) with the following stack trace:
[Recovery] 2023/11/01 - 02:08:08 panic recovered:

POST /v1/files HTTP/1.1
Host: [REDACTED]
Accept: */*
Client-Ip: [REDACTED]
Content-Length: 311322
Content-Type: multipart/form-data; boundary=X-INSOMNIA-BOUNDARY
Cookie: session=[REDACTED];
Disguised-Host: [REDACTED].azurewebsites.net
Max-Forwards: 10
Traceparent: 00-6dbce7be8b0dda37159d49534c2c4b3d-ba5ca4dac846e382-00
User-Agent: insomnia/2023.2.2
Via: HTTP/2.0 Azure
Was-Default-Hostname: [REDACTED].azurewebsites.net
X-Appservice-Proto: https
X-Arr-Log-Id: 7543c16f-635c-4292-917f-4b0507fe2301
X-Arr-Ssl: 2048|256|CN=Microsoft Azure TLS Issuing CA 02, O=Microsoft Corporation, C=US|CN=*.azurewebsites.net, O=Microsoft Corporation, L=Redmond, S=WA, C=US
X-Azure-Clientip: [REDACTED]
X-Azure-Fdid: [REDACTED]
X-Azure-Ref: [REDACTED]
X-Azure-Requestchainv2: hops=1
X-Azure-Socketip: [REDACTED]
X-Client-Ip: [REDACTED]
X-Client-Port: 48752
X-Forwarded-For: [REDACTED], [REDACTED]
X-Forwarded-Host: [REDACTED]
X-Forwarded-Proto: https
X-Forwarded-Tlsversion: 1.2
X-Original-Url: /v1/files
X-Site-Deployment-Id: [REDACTED]
X-Waws-Unencoded-Url: /v1/files

runtime error: invalid memory address or nil pointer dereference
runtime/panic.go:260 (0x44effc)
runtime/signal_unix.go:841 (0x44efcc)
github.com/nhost/hasura-storage/metadata/hasura.go:19 (0xaeda07)
github.com/nhost/hasura-storage/metadata/hasura.go:143 (0xaeeec7)
github.com/nhost/hasura-storage/controller/upload_file.go:107 (0x96bf2a)
github.com/nhost/hasura-storage/controller/upload_file.go:157 (0x96ca1a)
github.com/nhost/hasura-storage/controller/upload_file.go:293 (0x96dd5a)
github.com/nhost/hasura-storage/controller/upload_file.go:298 (0x96ddef)
github.com/gin-gonic/gin@v1.9.1/context.go:174 (0xaf2a37)
github.com/nhost/hasura-storage/middleware/auth/needs_admin.go:23 (0xaf2a09)
github.com/gin-gonic/gin@v1.9.1/context.go:174 (0xcab5b4)
github.com/nhost/hasura-storage/cmd/serve.go:51 (0xcab591)
github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x93f101)
github.com/gin-gonic/gin@v1.9.1/recovery.go:102 (0x93f0ec)
github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x93df0a)
github.com/gin-gonic/gin@v1.9.1/gin.go:620 (0x93db91)
github.com/gin-gonic/gin@v1.9.1/gin.go:576 (0x93d6bc)
net/http/server.go:2936 (0x6f1ff5)
net/http/server.go:1995 (0x6ed511)
runtime/asm_amd64.s:1598 (0x46b0a0)

I have [REDACTED] confidential pieces of information above. This specific request has been triggered from the Insomnia HTTP client for the sake of isolation but the same happens from Chrome.
We're rolling back to v0.3.6 for now. Feel free to ask any questions that would help troubleshoot.
Thanks.

Please, provide steps to reproduce.

Looking at the traceback though it looks like you got a graphql error and for some reason it crashed while trying to parse it so if you could try to see in the hasura logs the error you got that might be useful too.


Tableau

Codecov Report

Merging #74 (26cd7bb) into master (7c47653) will decrease coverage by 1.21%.
The diff coverage is 88.88%.

@@            Coverage Diff             @@
##           master      #74      +/-   ##
==========================================
- Coverage   84.34%   83.12%   -1.22%
==========================================
  Files          15       15
  Lines        2299     2358      +59
==========================================
+ Hits         1939     1960      +21
- Misses        360      398      +38

Impacted Files
Coverage Δ

src/useful_states.jl
60.00% <58.33%> (+0.62%)
:arrow_up:

src/experimental/NoisyCircuits.jl
55.60% <60.00%> (-0.47%)
:arrow_down:

src/project_trace_reset.jl
84.10% <75.00%> (-1.68%)
:arrow_down:

src/QuantumClifford.jl
86.80% <92.26%> (-1.66%)
:arrow_down:

src/canonicalization.jl
97.19% <100.00%> (-2.81%)
:arrow_down:

src/classical_register.jl
52.72% <100.00%> (-0.98%)
:arrow_down:

src/dense_cliffords.jl
82.56% <100.00%> (ø)

src/enumeration.jl
97.24% <100.00%> (ø)

src/graphs.jl
100.00% <100.00%> (ø)

src/linalg.jl
86.81% <100.00%> (ø)

... and 10 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Image Resize bug

The size of the image generated by 'image resize' is inconsistent with the input 'width' and 'height'.

The generated size：

you have "keep proportion" as method. the smaller side is used as reference, in that instance 512