bug(LiveAnnouncer): LiveAnnouncer does not announce subsequent calls to the same text

Reproduction
Use StackBlitz to reproduce your issue:

Components: https://stackblitz.com/edit/angular-announcer-bug?file=src/app/app.component.html

Steps to reproduce:

Open StackBlitz link from above
Enable Narrator (on Windows press Windows key + Ctrl + Enter)
Click on "Hello world" button multiple times
Observe that Narrator announces text only on the first click

Note that if text to announce changes, the announcer works as expected. You can reproduce that by pressing on "Announce Different" button multiple times.
Expected Behavior
Narrator should announce text on each click
Actual Behavior
Narrator  announces text only on the first click if the text being announced didn't change
Environment

Angular:
CDK/Material: 11.0.3
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): Windows

@DmitryEfimenko does this behavior happen if you clear before making the announcement (likely requiring a small setTimeout). My suspicion is that the aria-live element doesn't announce anything because it's content didn't actually change, which could be considered an expected behavior.
cc @stevenyxu since this might relate to the concept of queueing live announcer messages, which might provide a way to deal with this.

@DmitryEfimenko does this behavior happen if you clear before making the announcement (likely requiring a small setTimeout). My suspicion is that the aria-live element doesn't announce anything because it's content didn't actually change, which could be considered an expected behavior.
cc @stevenyxu since this might relate to the concept of queueing live announcer messages, which might provide a way to deal with this.

It seems that this use-case was accounted for according to the comments in the source code:
// This 100ms timeout is necessary for some browser + screen-reader combinations:
// - Both JAWS and NVDA over IE11 will not announce anything without a non-zero timeout.
// - With Chrome and IE11 with NVDA or JAWS, a repeated (identical) message won't be read a
//   second time without clearing and then using a non-zero delay.
// (using JAWS 17 at time of this writing).

According to the above, the expected behavior is that repeated identical messages should be announced.
Also, looking through the code it looks like it already clears the text and sets timeout to handle exactly this use-case, but for some reason this does not work.
I'd say this is a regression.

It seems that this use-case was accounted for according to the comments in the source code:
// This 100ms timeout is necessary for some browser + screen-reader combinations:
// - Both JAWS and NVDA over IE11 will not announce anything without a non-zero timeout.
// - With Chrome and IE11 with NVDA or JAWS, a repeated (identical) message won't be read a
//   second time without clearing and then using a non-zero delay.
// (using JAWS 17 at time of this writing).

According to the above, the expected behavior is that repeated identical messages should be announced.
Also, looking through the code it looks like it already clears the text and sets timeout to handle exactly this use-case, but for some reason this does not work.
I'd say this is a regression.

It's unlikely a regression because this code hasn't changed since inception. Does the behavior occur in screen-readers other than Narrator? We've never explicitly supported that one (just JAWS and NVDA on Windows), so I'm wondering if it's a reader-specific behavior.

It's unlikely a regression because this code hasn't changed since inception. Does the behavior occur in screen-readers other than Narrator? We've never explicitly supported that one (just JAWS and NVDA on Windows), so I'm wondering if it's a reader-specific behavior.

I haven't test with JAWS since it's a payed version of software. However, I installed NVDA and it looks like it works as expected with it.
I'd think the Narrator should be supported as well since it's a default screen reader that comes with Windows.

I haven't test with JAWS since it's a payed version of software. However, I installed NVDA and it looks like it works as expected with it.
I'd think the Narrator should be supported as well since it's a default screen reader that comes with Windows.

The issue also occurs with both Edge and Chrome on Mac with voiceover.

As per https://github.com/angular/components#browser-and-screen-reader-support, we don't support Windows with Narrator or Mac with Edge. I tested on Chrome with Voiceover and it seems to be working there.


Release Google.Cloud.Logging.Log4Net version 3.2.0

Changes in this release:
No API surface changes, but this release updates dependencies.

Created release for Google.Cloud.Logging.Log4Net-3.2.0


Add the SSO button and its code to UI

Work is related to manifoldco/engineering#8691

Reason for change
The SSO button is a data component that will trigger a POST sso request on connector and return the redirect_url necessary for properly logging into the resource's product dashboard.
It also adds a manifold-resource-sso wrapper components that will automatically inject some of the attributes into the button.
Testing
Test with storybook

I also see the manifold-resource-list.e2e.ts test failing on renders the no resource state if no resources are found.

That test fails on local only for some reason, you should be able to ignore it. I'll look at it when I get time.

Awesome thank you for the follow up Guillaume!!

In Storybook it's currently very hard to see the SSO flow as I expect it to be used - the in person demo today helped me understand how the CTA and the SSO button relate to each other. But I do see the SSO button making a (failing) call to https://api.connector.manifold.co/v1/sso! So if that's the expected behavior then it looks good to me.

Do you think this is okay to approve given this^ then?

Where were you trying the sso button? In the docs?


Redirected com.google.android.gms to play-services-ads, fixing export…

Newer versions of the android sdk no longer supports com.google.android.gms, causing 'does not exist' errors and an inability to export.
Redirecting to the new play-services-ads api fixes this.

@threethan Thank you!

@threethan Thank you!


Added configuration options to Microsoft.Batch/batchAccounts

Description
The current batchaccounts module does not support any detailed configurations towards the Azure resource.
The one @JPEasier and myself added, supports the full range of options currently available from the API directly.
Developed with pair-programming.
Pipeline references

Type of Change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update (Wiki)

Checklist

[x] I'm sure there are no other open Pull Requests for the same update/change
[x] My corresponding pipelines / checks run clean and green without any errors or warnings
[x] My code follows the style guidelines of this project
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation (readme)
[x] I did format my code

waiting for #1350

Waiting for Bug: #1347

Waiting for Bug: #1347

As per the reply in the other PR - Linter should not block this PR as it is overly sensitive

Waiting for Bug: #1347

As per the reply in the other PR - Linter should not block this PR as it is overly sensitive

gotcha, thought the linter had to be green in order to merge it. Will proceed as soon as @eriqua gives her go :)


Logger.interalLog not catching all possible JSON serialization exception

The serialization of the context param in the Logger.internalLog method may throw an AssertionError that isn't caught by the try/catch block surrounding the call to the toJsonTree method.
Here is the piece of code (Logger.java line 158 to 166):
 try {
    if (context != null) {
       JsonElement root = gson.toJsonTree(context);
       if (root.isJsonObject()) event = root.getAsJsonObject();
    }
 } catch (Exception e) {
     Log.e(TAG,e.getMessage(), e);
 }

AssertionError extends Error that extends Throwable. A suggested correction would be:
 try {
    if (context != null) {
       JsonElement root = gson.toJsonTree(context);
       if (root.isJsonObject()) event = root.getAsJsonObject();
    }
 } catch (Throwable e) {
     Log.e(TAG,e.getMessage(), e);
 }

Sounds good.
I didn't watch your message until now. I plan to release a new version in next weeks.
Do you want to do a PR?


[Internal] JSON Binary Encoding: Adds support for encoding uniform arrays

Description
Added full end-to-end support for writing and reading binary-encoded uniform number arrays, as well as nested arrays of uniform number arrays.
Uniform Number Arrays
A uniform number array is a JSON array where all items share the same numeric type. The encoding supports the following numeric types:

Int8: Signed 1-byte integer (-128 to 127)
UInt8: Unsigned 1-byte integer (0 to 255)
Int16: Signed 2-byte integer
Int32: Signed 4-byte integer
Int64: Signed 8-byte integer
Float16: 2-byte floating-point value (currently unsupported)
Float32: 4-byte floating-point value
Float64: 8-byte floating-point value

Uniform number arrays are represented by these new type markers:

ArrNumC1: Uniform number array with a 1-byte item count
ArrNumC2: Uniform number array with a 2-byte item count

Both type markers are encoded as follows:
| Type marker | Item type marker | Item count |
To maintain backward compatibility, writing uniform number arrays is controlled via the EnableNumberArrays write option. When enabled, at the end of writing an array, the writer checks if all values are numeric. It identifies the smallest numeric type that fits all values and compares the length of the uniform number array to the regular array. If the new length is less than or equal to the old one, the array is converted to a uniform number array.
Arrays of Uniform Number Arrays
This encoding enhancement allows for encoding multiple uniform number arrays with the same underlying numeric type and item count into a single contiguous array of numbers. The items in all arrays are preceded by a prefix indicating the common array encoding and the number of encoded arrays.
Arrays of uniform number arrays are supported by these two new type-markers:

ArrArrNumC1C1: Array of 1-byte item count of common uniform number arrays with 1-byte item count.
ArrArrNumC2C2: Array of 2-byte item count of common uniform number arrays with 2-byte item count.

Both new values are encoded as follows:
| Type-marker | Array type-marker | Number type-marker | Number item count | Array item count |
Similar to uniform number arrays, the writing of arrays of uniform number arrays is conditional on the EnableNumberArrays write option being specified. This ensures backward compatibility with readers and navigators that do not yet support this encoding.
JSON Serialization Testing

Introduced a new set of tests for both uniform number arrays and nested arrays of uniform number arrays.
Enhanced the JsonToken class to support representation of uniform number array tokens.
Updated JsonWriterTest to include additional validation. This now not only checks the expected output but also verifies round-trip consistency across different formats and write options for all three rewrite scenarios: JSON Navigator, JSON Reader - Write All, and JSON Reader - Write Current Token.

Type of change
Please delete options that are not relevant.

[ ] New feature (non-breaking change which adds functionality)

Closing issues

In a future change, it may be good to consider adding some emulator equivalence tests that utilize these code paths. We can use supported serialization formats to get both binary and text responses and then transcribe the binary to text using the sdk and compare with the backend text response as a baseline.

I'm not too sure if we need to rely on the emulator for that. All the new tests I’ve added are direct ports from the backend, which include the expected binary output.
In addition, each implementation should be self-sufficient when it comes to verification as long as it's able to verify round-tripping between different formats. This is true for both SDK and backend tests.

In reply to:<PHONE_NUMBER>

Does it make sense to put these changes behind a flag to minimize issues (since binary is on by default)?

For the JsonBinaryWriter, the EnableUniformNumberArray option must be specified to enable writing uniform number arrays; without this, the behavior remains unchanged. For JsonReader and JsonNavigator, there is no option to disable the reading of uniform number arrays, and I don't believe such a feature is needed. I have significantly expanded the test coverage, including comprehensive round-trip testing, to ensure confidence in implementing these changes.

In reply to:<PHONE_NUMBER>


[Bug]: Particles not loading on mobile devices

Contact Details
No response
What happened?
Everything is up and running properly on desktop, but when I switch to an iPad Min 2 or iPhone 7, the particles fail to load. I should note, I'm running the same functions as in the README - particlesInit and particlesLoaded. The particlesInit function prints to the console fine, but instead of particlesLoaded printing to the console, I get this error -

Unhandled Promise Rejection: TypeError: element.addEventListener is not a function.
(In 'element.addEventListener(event, handler, addOptions)', 'element.addEventListener' is undefined)

The error traces to the commented line in this function -
function manageListener(element, event, handler, add, options) {
  if (add) {
    let addOptions = {
      passive: true
    };

    if (typeof options === "boolean") {
      addOptions.capture = options;
    } else if (options !== undefined) {
      addOptions = options;
    }

    //specifically, this line below
    element.addEventListener(event, handler, addOptions);
  } else {
    const removeOptions = options;
    element.removeEventListener(event, handler, removeOptions);
  }
}

Version
1.36.0
Which library are you using?
React.js (react-tsparticles, react-particles-js)
tsParticles Configuration
const particlesInit = (main) => {
          console.log(main);
     };

    const particlesLoaded = (container) => {
        console.log(container);
    };

    return (
        <Particles
            init={particlesInit}
            loaded={particlesLoaded}
            options={{
                background: {
                    color: {
                        value: "#0d47a1",
                    },
                },
                fpsLimit: 60,
                fullScreen: {
                    enable: true
                },
                interactivity: {
                    events: {
                        onClick: {
                            enable: true,
                            mode: "push",
                        },
                        onHover: {
                            enable: true,
                            mode: "repulse",
                        },
                        resize: true,
                    },
                    modes: {
                        bubble: {
                            distance: 400,
                            duration: 2,
                            opacity: 0.8,
                            size: 40,
                        },
                        push: {
                            quantity: 4,
                        },
                        repulse: {
                            distance: 200,
                            duration: 0.4,
                        },
                    },
                },
                particles: {
                    color: {
                        value: "#ffffff",
                    },
                    links: {
                        color: "#ffffff",
                        distance: 150,
                        enable: true,
                        opacity: 0.5,
                        width: 1,
                    },
                    collisions: {
                        enable: true,
                    },
                    move: {
                        direction: "none",
                        enable: true,
                        outMode: "bounce",
                        random: false,
                        speed: 6,
                        straight: false,
                    },
                    number: {
                        density: {
                            enable: true,
                            value_area: 800,
                        },
                        value: 80,
                    },
                    opacity: {
                        value: 0.5,
                    },
                    shape: {
                        type: "circle",
                    },
                    size: {
                        random: true,
                        value: 5,
                    },
                },
                detectRetina: true,
            }}
        />
        </div>
    );

What browsers are you seeing the problem on?
Chrome, Safari
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi @stylessard, two questions:

Which iOS version are you running on the devices?
Have you tried updating tsParticles to version 1.37.0?

Just updated to the newest version of tsParticles and still getting the same error. The iPad is running on iOS 12.5.5 and the iPhone on 13.5.1. Let me update the iOS on the iPhone and see if I'm getting the same problems.

I have to check which features are not supported in iOS 12, maybe some of them is breaking.

Updated to iOS 15 and works perfectly now, so that must've been it. Thanks, Matteo!


fix: add test ns labels for PSA

The PSA changes in OCP 4.12 prevent pods from starting as ns are labeled restricted by default. This commit sets the label pod-security.kubernetes.io/enforce: "baseline"
on the lvm-endtoendtest to allow the test pods to run. This also renames a file to conform to the naming convention.
Signed-off-by: N Balachandran<EMAIL_ADDRESS>

/cherry-pick release-4.12


Add real tests for the API in production

The new tests were launched in the pipeline. If the new tests pass, we can accept the PR


Disable openbsd action

Disable openbsd build
@jg1uaa I disable github action to build openbsd since it is not working at the moment because c++ library is to old to support std::format
Latest release that does not require std::format is https://github.com/contour-terminal/contour/releases/tag/v<IP_ADDRESS>68 but you need to have fmt version lower than 11

Will there be any way to get notified/pinged when OpenBSD has a more up-to-date compiler packaged?

Will there be any way to get notified/pinged when OpenBSD has a more up-to-date compiler packaged?

I think the best i can do is to subscribe to openbsd mailing :)

Sorry for late reply, OpenBSD-7.6 (will be released at this month) and current -current branch has fmt-10.x package.
And, clang-16.0.6 on amd64 platform.
Does this problem comes from termbench-pro?

Sorry for late reply, OpenBSD-7.6 (will be released at this month) and current -current branch has fmt-10.x package. And, clang-16.0.6 on amd64 platform.
Does this problem comes from termbench-pro?

No, this is not termbench related, we switched to formatting library that is in the standard of c++ language (https://en.cppreference.com/w/cpp/utility/format) instead of implementation from fmt


refactor: Migrate to null safety

Dart 2.12 and Flutter 2.0 released. Now every package should be migrated to null safety.
Sound null safety
Migrating to null safety

Oh, and thank you for the links about the Dart 2.12 changes, very useful.

Oops, I'm sorry your changes are actually better than what the migration tool recommended. Thank you! I'm accepting it.


Option to specify fields by number

Some CSV files don't have headers, and it's somewhat awkward to add them just to use csvlink. So something like:
$ csvlink file1.csv file2.csv --field_numbers_1 3,4 --field_numbers_2 1,2

Would also be great to have the option of single-letter arguments to make everything more concise. Also the long argument names should probably use hyphens instead as in other Unix utilities.

I like both of these ideas.


Update VulnerableCode property names

Please have a look at the individual commit messages for the details.

@sschuberth : This is a breaking change since the renamed properties are part of the public API.

@sschuberth : This is a breaking change since the renamed properties are part of the public API.

You're right, I'll label it as such. This is the downside of using data class models directly in the signature of the interface functions...


footer background color and footer size

Issues Identification
Closes: #(issue number)
Description
Summary
A brief description of what this pull request does and why it is needed.
Details
Include any detailed information about the changes in this pull request.
Types of Changes
Please check the boxes that apply

[ ] Bugfix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Please check the boxes that apply

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] My changes do not break the current system and pass all existing test cases
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Screenshots
If applicable, please attach screenshots of the changes made to the user interface.
Additional Information
Please provide any other information that is relevant to this pull request.

@Abhishek-223 pls mention the issue number.
And resolve the conflicts.

@Abhishek-223 i am closing this PR, as you didn't resolved the conflicts and i have asked you 2 days ago, still no update, so i am closing it.


SVG not working

The demo in the dev branch is now fixed with an existing svg image but it doesn't show the svg.

In the PR #17 they're treated like any other image type. The browsers supports this, I won't support old browsers.


Bug: CodeBlock formatting deletes custom nodes like YoutubeNode, TweetNode etc in Lexical Playground.

When we select a paragraph node and the paragraph contains a TweetNode or Poll or any kind of custom node and if we select all and try to format it with code block the custom nodes are deleted and its not rendered.
I am attaching a video for reference.
https://user-images.githubusercontent.com/21175404/163665718-b311a42a-8ca8-4a8f-b1f6-890a1c623eb6.mp4
I think the bug got introduced while fixing this #1644 issue. Only text data is retrieved from the selection and inserted back into the code block.
Some of the fixes that I thought of :
Maybe the custom nodes can be parsed back to text and can be inserted into the code block and can be reparsed back to custom nodes again or maybe custom nodes can be ignored and only text can be formatted ( Not entirely sure how it would look for mentions and emojis ).

Sorry for delay in checking this out.
I was able to verify the issue, but I don't necessarily feel like it's a bug. The fix for this particular issue would be to add a getTextContent to any DecoratorNode so when it's put into a CodeBlock, we can show some text instead.
I've verified this approach by adding the below into YouTubeNode:
  getTextContent(): string {
    return `https://www.youtube.com//watch?v=${this__id}`;
  }


Feat/expo router

Linked issue
Closes  #97.
Additional context
Since expo-router hit v2 and is included in Expo Go, I think it makes sense to include it in this repo.
This PR is a minimal implementation adding the dependencies, and configuring the plugin.

Thanks for adding this! Be aware that I also want to fix some pnpm issues, before adding Expo Router. This includes removing the node-linker=hoisted workaround.
Work is underway for that!

Closing in favor of #105


[minor] Plug fails to update plugin installed as git submodule

In my case plugin in question is vim-plug itself but issue is more generic.
When i run PlugUpdate I get Invalid URI error:
x vim-plug:
    Invalid URI: https://github.com/junegunn/vim-plug
    Expected:    https://github.com/junegunn/vim-plug.git
    PlugClean required.

Submodule is defined using expected path but then git strips .git:
[submodule "bundle/vim-plug"]
	path = bundle/vim-plug
	url = https://github.com/junegunn/vim-plug.git
	branch = master

$ git remote -v
origin	https://github.com/junegunn/vim-plug (fetch)
origin	https://github.com/junegunn/vim-plug (push)

I believe vim-plug should recognize and accept such uri.
I install vim-plug initially as submodule and then it manages itself as git installed plugin. I see potential for improvement: PlugUpgrade can check if plug.vim is in local repo with origin pointing to https://github.com/junegunn/vim-plug and update it as git repo instead of as standalone file

We officially do not support updating vim-plug via :PlugUpdate. This was discussed many times before and that's the conclusion. There are workarounds, yes, but I suggest that you don't declare vim-plug with Plug command. After all vim-plug is not Vundle.
Thanks for your suggestion on :PlugUpgrade, but as we officially instruct the users to download the standalone file into autoload directory which is probably not under version control, I think it's okay that the command only handles the configuration. Users who decided to take different path will easily figure out their own way of updating vim-plug without using :PlugUpgrade. Should be a one-liner script. But anyway, I'll take note of your suggestion and see if we can improve the usability somehow.


Initial commit of zapi cli with info command

Adds a barebones version of zapi: A simple cli for interacting with
zqd servers.
To reduce burden on reviewers the scope has been limited to and single
command: info (additionally the stock charm help command also works).
Future functionality will eventually cover the entirety of the zqd
api including the ability to create, update, remove, post data to
spaces.
The info commands allows user to view information on space(s). The
space(s) can be queried by using either the global space selection
flags (i.e. -n or -id) or by use one or more globbed enhanced arguments.
part of #526

Going to look how difficult it is to add a few rudimentary tests with ztest.


EC-Earth highresSST-future

All failed datasets fixed and published. HR datasets need retrieving and publishing.

Outstanding:
EC-Earth-Consortium.EC-Earth3P-HR.highresSST-future.r3i1p1f1
EC-Earth-Consortium.EC-Earth3P.highresSST-future.r3i1p1f1


Error "Poetry could not find a pyproject.toml file" when running docker-compose up

Describe the bug
Error "Poetry could not find a pyproject.toml file" when running docker-compose up
To Reproduce
Steps to reproduce the behavior:

Follow steps from Quickstart
Run docker-compose up

Expected behavior
Command is successful
Screenshots
$ docker-compose up
Creating network "justice40-tool_default" with the default driver
Building score
[+] Building 259.6s (19/20)
 => [internal] load build definition from Dockerfile                                                                                0.5s
 => => transferring dockerfile: 1.44kB                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.4s
 => => transferring context: 2B                                                                                0.0s
 => [internal] load metadata for docker.io/library/ubuntu:20.04                                                                                0.8s
 => [auth] library/ubuntu:pull token for registry-1.docker.io                                                                                0.0s
 => [ 1/15] FROM docker.io/library/ubuntu:20.04@sha256:b5a61709a9a44284d88fb12e5c48db0409cfad5b69d4ff8224077c57302df9cf                                      2.2s
 => => resolve docker.io/library/ubuntu:20.04@sha256:b5a61709a9a44284d88fb12e5c48db0409cfad5b69d4ff8224077c57302df9cf                                        0.1s
 => => sha256:b5a61709a9a44284d88fb12e5c48db0409cfad5b69d4ff8224077c57302df9cf 1.42kB / 1.42kB                                                               0.0s
 => => sha256:57df66b9fc9ce2947e434b4aa02dbe16f6685e20db0c170917d4a1962a5fe6a9 529B / 529B                                                                   0.0s
 => => sha256:d13c942271d66cb0954c3ba93e143cd253421fe0772b8bed32c4c0077a546d4d 1.46kB / 1.46kB                                                               0.0s
 => => sha256:ea362f368469f909a95f9a6e54ebe0121ce0a8e3c30583dd9c5fb35b14544dec 28.57MB / 28.57MB                                                             0.4s
 => => extracting sha256:ea362f368469f909a95f9a6e54ebe0121ce0a8e3c30583dd9c5fb35b14544dec                                                                    0.7s
 => [internal] load build context                                                                                0.3s
 => => transferring context: 2.25MB                                                                                0.0s
 => [ 2/15] RUN apt-get update && apt-get install -y     build-essential     make     gcc     git     unzip     wget     python3-dev     python3-pip        66.6s
 => [ 3/15] RUN ln -snf /usr/share/zoneinfo/America/Los_Angeles /etc/localtime && echo America/Los_Angeles > /etc/timezone                                   0.7s
 => [ 4/15] RUN apt-get install -y software-properties-common libsqlite3-dev zlib1g-dev                                                                     46.8s
 => [ 5/15] RUN apt-add-repository -y ppa:git-core/ppa                                                                                3.8s
 => [ 6/15] RUN mkdir -p /tmp/tippecanoe-src && git clone https://github.com/mapbox/tippecanoe.git /tmp/tippecanoe-src                                       5.7s
 => [ 7/15] WORKDIR /tmp/tippecanoe-src                                                                                0.3s
 => [ 8/15] RUN /bin/sh -c make && make install                                                                                81.5s
 => [ 9/15] RUN add-apt-repository ppa:ubuntugis/ppa                                                                                3.8s
 => [10/15] RUN apt-get -y install gdal-bin                                                                                35.5s
 => [11/15] WORKDIR /data-pipeline                                                                                0.3s
 => [12/15] COPY poetry.lock /data-pipeline/                                                                                0.3s
 => [13/15] RUN pip install "poetry==1.1.12"                                                                                8.7s
 => ERROR [14/15] RUN poetry config virtualenvs.create false   && poetry config virtualenvs.in-project false   && poetry install --no-dev --no-interaction   1.8s
------
 > [14/15] RUN poetry config virtualenvs.create false   && poetry config virtualenvs.in-project false   && poetry install --no-dev --no-interaction --no-ansi:
#19 1.644
#19 1.644   RuntimeError
#19 1.644
#19 1.644   Poetry could not find a pyproject.toml file in /data-pipeline or its parents
#19 1.644
#19 1.644   at /usr/local/lib/python3.8/dist-packages/poetry/core/factory.py:369 in locate
#19 1.657       365│             if poetry_file.exists():
#19 1.657       366│                 return poetry_file
#19 1.657       367│
#19 1.658       368│         else:
#19 1.658     → 369│             raise RuntimeError(
#19 1.658       370│                 "Poetry could not find a pyproject.toml file in {} or its parents".format(
#19 1.658       371│                     cwd
#19 1.658       372│                 )
#19 1.658       373│             )
------
executor failed running [/bin/sh -c poetry config virtualenvs.create false   && poetry config virtualenvs.in-project false   && poetry install --no-dev --no-interaction --no-ansi]: exit code: 1
ERROR: Service 'score' failed to build : Build failed

Desktop (please complete the following information):

OS: Ubuntu 20.04.3 LTS

docker --version
Docker version 20.10.12, build e91ed57

docker-compose --version
docker-compose version 1.24.1, build 4667896b

Additional context
Fresh clone of github repo.

@sverchdotgov can you check? Looks like Poetry isn't installed.

Oh, we took this out during the code review, but I must not have rerun it after we did that: https://github.com/usds/justice40-tool/blob/main/data/data-pipeline/Dockerfile#L38
I think that line needs to be changed to copy pyproject.toml into the container.


Added name and contentTypes to ArtifactCreated

As discussed in issue #84.

Internal workshop review outcome: data.name makes perfect sense. data.contentTypes, however, is not mutually exclusive with regards to meta.tags. They can be used for practically the exact same purpose.

:+1:


[swagger-zod] Add a way to coerce date

What is the problem this feature would solve?
If have a setup where I generate mocks and use msw (without kubb here), and zod to validate the data.
I would like to generate every date with the native Date, but on runtime msw send a date as a string (because it's serialized), and it break, because zod expect a Date object.
External documents/projects?
No response
What is the feature you are proposing to solve the problem?
Instead of doing z.date(), do z.coerce.date() to parse date even if they come in string
What alternatives have you considered?
No response

There will be a new option called coercion that you can enable that will use z.coerce.date() instead of .date().
See https://1051.docs.kubb.dev/plugins/swagger-zod/#coercion.

Awesome thanks!

Thank you for this feature! It has a slight side effect to coerce everything where it’s might not be wanted:
z.union([z.coerce.string(), z.null()]),
null in input will be coerced as "null" string
Would there be a way to coerce only Date and not the rest?


Version constraint doesn't work

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
When I set a controller to a version, let's say
[ApiVersion("1.0")]
[Route("api/v{version:apiVersion}/example")]
public class ExampleController : ControllerBase

And turn using a default version off:
services
        .AddApiVersioning(options => options.AssumeDefaultVersionWhenUnspecified = false)
        .AddMvc();

I can call endpoints from the controller using the correct path ~/api/v1/example/resource, however, I can use any other version and I get through, for example ~/api/v22/example/resource.
Expected Behavior
I expect paths with unsupported versions to be filtered and returning 404.
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
7.0.203
Anything else?
No response

From your example, it doesn't look like this controller has API Behaviors applied. Controllers are expected to have [ApiController] applied so that they can be disambiguated from non-API controllers. It's possible that you've indicated that all controllers are API controllers by targeting the assembly (e.g. [assembly: ApiController]), but I don't have enough information.
Filtering controllers that have [ApiController] is just a convention. This is facilitated by the IApiControllerFilter service. The default implementation simply includes a sequence of IApiControllerSpecification instances. The entire service can be replaced or you can add/replace new specifications. There is a provided default implementation if you want to map an implementation that performs no filtering.
Without the controller being identified as an API controller, no other API versioning behaviors or policies will be applied. The ApiVersionRouteConstraint only handles extracting and setting the requested API version from the request URL. This doesn't require other parts of API Versioning to work, which would result in any well-formed API version value to match. This appears to be the behavior that you are observing.
Setting AssumeDefaultVersionWhenUnspecified = true will never work when you version by URL segment unless you use double-route registration and have a route template that does not include the API version constraint. In the same way, /order/{id}/items will never match with a default value for {id}. This is simply something that the routing system doesn't support. The configuration was only meant for backward compatibility, meaning you had api/example for V1 and now you need api/v{version:apiVersion}/example for V2+. If you are using this option for something else, then you are abusing what the feature was intended to do.


result of running CLI without options?

If I run the jsonschema CLI with the name of a schema file, but I don't give any options, it doesn't seem to do anything.  That is:
jsonschema schema_file.json

There's no output.
What is it doing, if anything?

Hi. With no instances specified, essentially just validating your schema.

What do you think of having it validate stdin against the schema if no -i option is given?
If you like that idea, I'm interested in implementing this feature and opening a PR back to this repo.

Thanks for the offer!
That's actually already implemented :), it's just not released yet. It's on master though. Part of the reason for the release delay is I'd love some slightly further improvements to the CLI before a release, but I may not get the time, and may just have to push it out.
But certainly if you're offering to help it would be more than appreciated!

I don't know what time frame you have in mind, but I'd be happy to take a look at the CLI issues (or maybe others) and see whether I can help.  Can you tell me links to the issues you had in mind?

That'd be amazing! The time frame is likely less of a big deal, as unfortunately is usual at this point, at some point either enough time will go by that I'll have to release without the improvements and then add them in when they get done, or the release will keep dragging :/
As for the concrete ones, so there are definitely some (underspecified) issues that I have in mind -- #672 is one. But I think more important than adding even more output renderers is essentially cleaning up the one new one that was added. Specifically, here's some example output from the new pretty renderer:
⊙  printf '7' | jsonschema --output pretty <(printf '{"minimum": 9, "multipleOf": 3, "not": {"const": 7}}')                                                                        julian@Air
===[ValidationError]===(<stdin>)===

7 is less than the minimum of 9

Failed validating 'minimum' in schema:
    {'minimum': 9, 'multipleOf': 3, 'not': {'const': 7}}

On instance:
    7
-----------------------------
===[ValidationError]===(<stdin>)===

7 is not a multiple of 3

Failed validating 'multipleOf' in schema:
    {'minimum': 9, 'multipleOf': 3, 'not': {'const': 7}}

On instance:
    7
-----------------------------
===[ValidationError]===(<stdin>)===

{'const': 7} is not allowed for 7

Failed validating 'not' in schema:
    {'minimum': 9, 'multipleOf': 3, 'not': {'const': 7}}

On instance:
    7
-----------------------------

where some things that rub me a bit wrong visually are:

the width of the ascii dividers (right now it's a bit arbitrary)
not using unicode box characters
needing a bit of vertical space between each error
the fact that, though it's not obvious there, in the exception message, what's there is reprs of Python objects. Even though usually that's what I want shown because jsonschema normally deals with Python objects, not JSON, here that's not the case -- here in fact the reverse is true -- the CLI takes JSON, and does the deserialization itself. So when showing errors back to users of the CLI, it should show JSON, not Python objects.

Obviously the above are just some quick scribbles, which is a bit unfortunate, but maybe you see one or two small ways to make that nicer looking? Definitely happy to give some more pointers, the offer is as I say definitely appreciated!

This sounds like a good first issue for me to get an idea of what this project is like internally.  I've already forked the repo, so a good next step for me is to try building in my environment from the master branch.
Do you have an issue for cleaning up pretty?  You could assign it to me, if you'd like.  We can use comments there to communicate about it or you can contact me directly.

Awesome! There isn't an existing one -- if it's useful obviously feel free to just copy paste the above into a new one definitely sounds like a good way to communicate.

I've opened #708 for this purpose.

Gonna close this one since we're discussing on #708 and the issue originally here hopefully will go out on next release.


[1.21] High CPU usage issues when opening containers

On 1.21, there are a couple of scenarios I've found that cause high CPU:

Whenever a container inventory is opened, a CPU core becomes pegged until the inventory screen is closed (this includes containers that were not placed with HTM enabled).
Each time a player tries to open a container that they do not have access to, an additional CPU core becomes pegged.  This seems to clear up as soon as the player opens a container they do have access to.

I am unable to replicate these issues on 1.20.1.  I have not tested other versions between these.
Steps to reproduce scenario 1:

Player opens a container inventory
Observe CPU usage while inventory screen is open
Player closes inventory; CPU usage goes back down

Steps to reproduce scenario 2:

Player A places a chest set to PRIVATE
Player B right-clicks on it, gets the expected "Locked" message -- there are no visual indications of an issue, but a CPU core becomes pegged
Observe CPU usage increase each time Player B right-clicks on the chest
Player B right-clicks on a container that they can open; after closing it, all high CPU usage clears up

Ah, nevermind.  This turned out to be a conflict with the Chest Logs mod.


removing alpha sort

Saw that this was not included in m33_001. Seems still relevant, acknowledging we may wish to further analysis of subject headings and refine order and number that display.
Fixes #1044

The travis problem is just a difference in Summon indexing and unrelated to this issue. I'm going ahead an merging it.


Issues to enable DMA for SweRV

Hi,
I am trying to enable DMA for SweRV. I did following changes in testbench/tb_top.sv

added following signal
logic        [31:0]                 dma_haddr;
logic        [2:0]                   dma_hburst;
logic        [3:0]                   dma_hprot;
logic        [2:0]                   dma_hsize;
logic        [1:0]                   dma_htrans;
logic                                dma_hmastlock;
logic                                dma_hwrite;
wire                                 dma_hresp_out;

port mapping
// DMA Slave
//---------------------------------------------------------------
.dma_haddr          ('0) replaced with   (  dma_haddr ),
.dma_hburst         ('0) replaced with    (  dma_hburst  ),
.dma_hmastlock     ('0) replaced with  (  dma_hmastlock),
.dma_hprot             ('0) replaced with  (  dma_hprot ),
.dma_hsize            ('0) replaced with   (  dma_hsize),
.dma_htrans           ('0) replaced with   (  dma_htrans),
.dma_hwrite           ('0) replaced with   (  dma_hwrite ),
.dma_hwdata          ('0) replaced with   (  dma_hwdata ),
    .dma_hrdata          ( dma_hrdata    ),
    .dma_hresp          (dma_out)   **replaced with**   ( dma_hresp_out   ),
    .dma_hsel            ( 1'b1            ),
    .dma_hreadyin        ( dma_hready_out  ),
    .dma_hreadyout       ( dma_hready_out  ),

added instance
ahb_sif  o_ahb_dma (
.HWDATA(dma_hwdata),
.HCLK(core_clk),
.HSEL(1'b1),
.HPROT(dma_hprot),
.HWRITE(dma_hwrite),
.HTRANS(dma_htrans),
.HSIZE(dma_hsize),
.HREADY(dma_hready),
.HRESETn(reset_l),
.HADDR(dma_haddr),
.HBURST(dma_hburst),
.HREADYOUT(dma_hready),
.HRESP(dma_hresp),
.HRDATA(dma_hrdata)
);

after all , ran verilator and got hello world  but DMA is not enable as ICCM and DCCM donot getting any data.
Here is GTKwave for reference
.
Please help me, to enable DMA for SweRV.
Thanks & Regards
Rajoo

Hello.
Please post questions/issues on the ChipsAlliance site (https://github.com/chipsalliance/Cores-SweRV).
The SweRV core's DMA port is a slave. It requires an external DMA agent to pull or push data from/into the ICCM/DCCM.
From the code snippet you have provided I am not able to make out if you have a valid DMA master hooked up to drive read or write requests into the internal memories.

Thanks Aprnath
I have DMA master (DMA controller) to drive read and write into the internal memories.
I will post this issue on ChipsAlliance site
Thanks & Regards
Rajoo


Adding regression tests for FHIR, FHIRWithHelpers, USCore, and QICore.

Test content added, test cases stubbed in. Will need some more iterations but I wanted to get the code into develop to keep forward progress.


Update to A-Frame 1.0 to support WebXR

WebVR will soon be deprecated in browsers. A-Frame 1.0 supports WebXR which replaces WebVR. So FlappyBird VR should update to 1.0 so it continues to work!

@jacobrossi seems like the issue is fixed on v1.0.4.


rename sshd-30

sshd-{30,31} have the same title but do different checks, this change propose a new title for sshd-30

Thanks @attachmentgenie for pointing that out! Let me fix the ruby dependency bug. We can rebase your PR then

@attachmentgenie please rebase your pr, that we can merge it

your wish is my command

Thanks for the improvement @attachmentgenie


Generate useful statistics

Generate better statistics
For one or more sets of results, give things like

per club status (headships, blades, spoons, net score per crew, Pegasus club score, etc)
comparison of years (bumps per racing crew, number of overbumps, etc)
biggest gain over the days of racing, biggest gain in single day, biggest losses, etc

Make generated statistics available on the archive bumps results website

highest second/third/fourth boat
biggest/smallest number of boats racing from a single club (both genders, each gender)
for each crew from the club, the largest number of continuous days at their highest position

First code with better stats committed as 0fb4402ee0795a1737a40c561cc781206002e774
Still need to add things like pegasus club scores.  Then need a way to visualise all this on the web - things like being able to pick which college stats to see, how to order clubs based on one of the stats, better ordering for headship stats, etc.

Stats converted to html with rankings: 92d5c2e42ddd6246f750863069c34c3f2d9b9292
Stats added to archive web view: de421b3702a12f3bdd7a16574d9dc18936903f22 and  c7da6fadc8f859ba02ff8347c1adf83e86025574


Add doc link

@mjsabby

CI check fail because of a bug of the C# support

The command "sudo apt-get update -qq" failed and exited with 100 during .

It's not my issue.

@mjsabby

@mjsabby


CNV-23014: Paste clipboard into VNC

Signed-off-by: Aviv Turgeman<EMAIL_ADDRESS>📝 Description
Since VNC console blocks the copy/paste keyboard shourtcuts (ctrl+v or ctrl+shift+v) we want to a button to inject text from clipboard into the VNC console.
NOTE: this will not work on default on firefox browser, to workaround it:

enter about:confix in the browser navigation bar and wait to get redirected to another page
Click "Accept the Risk and Continue"
Search dom.events.testing.asyncClipboard and set true

🎥 Demo

/lgtm


Support for CI webhooks during rollout

When initiating a canary rollout, flagger allows you to specify webhooks during various stages of the rollout procedure (confirm-rollout, pre-rollout, etc).
Before a rollout commences, most likely in the pre-rollout phase, it is sometimes necessary to run integration tests through a CI system (i.e. Jenkins, Travis CI) to ensure the canary is valid before sending live traffic to the deployment.
Will flagger likely support these types of CI webhooks in future, with the ability to trigger a job and confirm test/build status before continuing onto with canary analysis?
Thanks

To trigger CI jobs you can use the pre-rollout webhook. Build a web app that accepts HTTP post requests, add the endpoint as a webhook and Flagger will send the canary name and namespace, wait for the job to finish and based on the retuned status code the rollout will continue (HTTP 2xx) or the canary will be aborted (HTTP 5xx). Docs here https://docs.flagger.app/how-it-works#webhooks

hi @stefanprodan, thank you for the quick reply. I was thinking of something similar but wanted to confirm this was the right path to go down. Thanks again


version not updated in Chinese page

Will modify the install url from github to gitee in Chinses?

Will modify the install url from github to gitee in Chinese?

The current version is "0.5.0"

Will modify the install url from github to gitee in Chinese?

Will modify the install url from github to gitee in Chinese?

like the english page

fixed in https://github.com/Edgenesis/shifu.run/pull/199


Toolbar android import from react-native-community/toolbar-android

Issue: ToolbarAndroid Removed From RN 0.61

How can review this PR 🙏

May I humbly ask when a release including this change is to be expected? This currently stops me from upgrading to react-native-web 0.12

We React-Native-Web users need a release with this commit!!! Please

I've forked the project and applied the toolbar fix to it. If anyone is interested here is the fork: https://github.com/cravoley/react-native-vector-icons/tree/toolbarfix


Issue coming in case akaze type feature

I'm getting the following error while running OpenSfM with AKAZE feature.
"loky.process_executor.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending."

No answer in a while, closing.


this package is deprecated

@conda-forge/core, is it possible to remove or archive this feedstock ?

Archiving it now.


Merge staging into production - 2024-Jan-12 edition

NOTE: this needs to be updated to account for ALLOWED_HOSTS and CSRF_TRUSTED_ORIGINS changes.
Merge staging into production - 2024-Jan-12 edition:

APIs

[x] provenance json export API has been created
[x] notation json export API has been created
[x] concordances json export API has been created (concordances for all cantus IDs are saved in a single JSON object, which is updated daily by cron)

Chant/Source Create/Edit pages:

[ ] autocomplete widgets are now the same width as nearby fields

Chant Index view:

[ ] This view has been refactored/optimized to minimize database calls

Chant by Cantus ID view:

[ ] This view has been refactored/optimized to minimize database calls

Source Detail page:

[ ] In sidebar, replace "image gallery" with "images"
[ ] Under "Full Source/Fragment", "Fragment" has been updated to read "Fragment or Fragmented"

Source List page:

[ ] Title column has been moved to the left of the Siglum column
[ ] An unnecessary </a> in the template was removed

Network configuration

[ ] traffic to mass.cantusdatabase.org is now redirected to cantusdatabase.org

Under the hood:

[x] https certificate renewal is now done using Lego rather than Certbot, and is now run monthly rather than weekly
[ ] our backup cron/shell jobs have been fixed and refactored
[x] Our Postgres configuration, which was being overwritten during the building of our docker containers, is now properly set up
[x] ujson added to requirements.txt, and ijson removed
[x] several unnecessary shell scripts related to fixtures have been removed
[x] AjaxSearchBarTest has been refactored so as to not fail at random anymore
[x] duplicate test in SourceEditChantsViewTest has been removed
[x] our deployment process has been streamlined, with separate development vs. staging vs. production versions of various configuration files
[x] settings.py now reads the site's ALLOWED_HOSTS and CSRF_TRUSTED_ORIGINS from environment variables, and our env file has been updated to specify these hosts/origins explicitly

update_cached_concordances failed to run again this morning. Perhaps I missed a step when pulling changes yesterday? But the running crontab should not change based on docker containers coming down and going up.... This is a thing to check in on again early next week.

update_cached_concordances failed to run again this morning.

The file that just downloaded when I went to staging.cantusdatabase.org/concordances has this at the end:
"metadata":{"last_updated":"2024-02-09T04:10:12.812415"}

Isn't that what we would expect if it had run successfully this morning?

update_cached_concordances failed to run again this morning.

The file that just downloaded when I went to staging.cantusdatabase.org/concordances has this at the end:
"metadata":{"last_updated":"2024-02-09T04:10:12.812415"}

Isn't that what we would expect if it had run successfully this morning?

Checking again this morning, it seems to be doing fine. I had files named concordances, concordances-1, concordances-2, etc. in my Downloads folder - current hypothesis is that I inspected concordances, i.e. an older version of the download, when I was writing this comment on Friday.

Everything looks good to go! Going to deploy these changes to the Production VM.

These changes have been deployed, and are running on the Production server! All tests are passing! Good job everyone!


Reject the last healthy replica deletion

To prevent accidentally from deleting the last replica regardless of that it is healthy or faulty, reject the last replica deletion if spec.deletionTimestamp of its volume is not set in the validating webhook.
Longhorn/longhorn#7372

e2e
https://ci.longhorn.io/job/private/job/longhorn-tests-regression/5446/

@mergify backport v1.5.x

@mergify backport v1.4.x


Optimize config and api/v2 transfer

structure in config and api/v2 need to convert to each other, and most of members are the same.

fix by #250


cicd hotfix: move pypi env stuff to release block

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Please upload report for BASE (main@b2d282f). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #9   +/-   ##
=======================================
  Coverage        ?   81.78%
=======================================
  Files           ?       33
  Lines           ?     1213
  Branches        ?        0
=======================================
  Hits            ?      992
  Misses          ?      221
  Partials        ?        0

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


Extension greyed out in list

Inkscape 1.3.2, Arch Linux, python 3.12.4.
Extension used to work but tried it recently and was greyed out in the extension list. Updated to newer version, cleared out old extensions - same problem.
Resolved (for now) by deleting the inkex.py dependency as per solution to previous issue - even though inkex.py is present in /usr/share/inkscape/extensions it doesn't seem to be found.
Either this superb rotary encoder extension needs to be updated, or issue needs passing upstream to the Inkscape people.
Thanks for a great tool!

I haven't really been using this for a couple years in any of my projects so not surprised it needs some updates for the latest versions of Inkscape. If I find some time I'll check it out on my fork and see what it'll take to update it for the newer version.


Rebuild tool for automated refactoring

A good example on how this can be done is c2rust. It not only converts the source, but keeps it compilable, provides the refactoring tool and means to script the refactoring with Lua language. See their manual for more information.

This is interesting, but what exactly is your issue/concern/proposal?

This is interesting, but what exactly is your issue/concern/proposal?

@alanjds Idea is to convert the current Python codebase to Go, with a similar workflow as c2rust - first, transpile, this is what grumpy already does, but extend the tool with refactoring capabilities of the produced code, to help the porters to keep project running and passing tests while the slow porting is progressing.

Well, you can already do that.
Passing grumpy -v debug --keep-main script.py, all the transpiled code will be kept and the Go compiler command will also be echoed. You can collect this and start rewriting your Py modules to Go and replacing it via from '__go__/mymodule' import Myfunc
The main() is wrote to a location on /tmp that is kept when --keep-main flag is set. There you can follow the execution line.


Add new options for limiting amount of buffer tabs

This introduces two new features.
max_buffers which disables the tabs if there are more buffers than you specify
This is helpful when you have a lot of buffers open and the tabs dont fit on the screen.
The default value is 0 which is current behaviour where you can have as many buffer tabs as you want
surround_active_buffer which only shows tabs for the active buffer and a number of buffers either side
This is a similar but slightly different use case, I had intended to introduce an option such as max_buffer_tabs, which unlike above didn't stop rendering tabs but just capped the amount that could be rendered. After trying this out I found what was more useful was to have a limited amount of tabs either side of the current buffer so you can see what you would access with :bnext and :bprevious
The default value is 0 which is current behaviour
Also, if there are not enough buffers open to fill out surround_active_buffer tabs to either side of the current buffer, we fall back to current behaviour.

Thanks for your work on this plugin, it is awesome!

Thank you so much. I really appreciate it


lines with extra tabs makes the program consume large amount of memory

Since chearmyp parser is being used in pruecendrae to parse configuration files, and run several scripts at once, but sometimes the program overflows and crashes.
With the help of the author, we initially figured out the root of the problem. Lines with extra tabs may have caused the crash.
It would be great if chearmyp would show any redundant spaces and tabs when the configuration runs.

After creating a test, the error was found in the lexer. See the test 3c10cfa.


NotFoundError: encountered while running function tf.train.latest_checkpoint() in predict.py

Both the model and the checkpoints exist in the same directory. This is the error i encounter when i try to run the file.
NotFoundError                    Traceback (most recent call last)
<ipython-input-60-8de4d687f60c> in <module>()
  5     checkpoint_dir += '/'
  6 print (checkpoint_dir + 'checkpoints')
  ----> 7 checkpoint_file = tf.train.latest_checkpoint(checkpoint_dir +    'checkpoints')
  8 print (checkpoint_file)

  /usr/local/lib/python3.5/dist-packages/tensorflow/python/training/saver.py in latest_checkpoint(checkpoint_dir, latest_filename)
 1612     v1_path = _prefix_to_checkpoint_path(ckpt.model_checkpoint_path,
 1613                                          saver_pb2.SaverDef.V1)
 -> 1614     if file_io.get_matching_files(v2_path) or     file_io.get_matching_files(
 1615         v1_path):
 1616       return ckpt.model_checkpoint_path

 /usr/local/lib/python3.5/dist-packages/tensorflow/python/lib/io/file_io.py in get_matching_files(filename)
 330           # Convert the filenames to string from bytes.
 331           compat.as_str_any(matching_filename)
 --> 332           for single_filename in filename
 333           for matching_filename in pywrap_tensorflow.GetMatchingFiles(
 334               compat.as_bytes(single_filename), status)

/usr/lib/python3.5/contextlib.py in __exit__(self, type, value, traceback)
 64         if type is None:
 65             try:
 ---> 66                 next(self.gen)
 67             except StopIteration:
 68                 return

/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/errors_impl.py in raise_exception_on_not_ok_status()
464           None, None,
465           compat.as_text(pywrap_tensorflow.TF_Message(status)),
--> 466           pywrap_tensorflow.TF_GetCode(status))
467   finally:
468     pywrap_tensorflow.TF_DeleteStatus(status)

NotFoundError: /home/user/cnn-model/trained_model_1506946529/checkpoints

~/Desktop/multi-class-text-classification-cnn/trained_model_1509570669/checkpoints$ ls
checkpoint                      model-1000.meta                 model-1200.meta                 model-1400.meta                model-600.meta                 model-800.meta
model-1000.data-00000-of-00001  model-1200.data-00000-of-00001  model-1400.data-00000-of-00001  model-600.data-00000-of-00001  model-800.data-00000-of-00001
model-1000.index                model-1200.index                model-1400.index                model-600.index                model-800.index
~/Desktop/multi-class-text-classification-cnn/trained_model_1509570669/checkpoints$ ls ../../trained_model_1479757124/

~/Desktop/multi-class-text-classification-cnn$ python3 predict.py ./trained_model_1509570669/ ./data/small_samples.json
CRITICAL:root:Loaded the trained model: /home/ai-admin/Desktop/multi-class-text-classification-cnn/trained_model_1509570669/checkpoints/model-1400
INFO:root:The number of x_test: 1000
INFO:root:The number of y_test: 1000
2017-11-01 21:30:05.576209: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
2017-11-01 21:30:05.576240: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
2017-11-01 21:30:05.576247: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
2017-11-01 21:30:05.576258: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
2017-11-01 21:30:05.576268: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.
NVIDIA: no NVIDIA devices found
2017-11-01 21:30:05.585781: E tensorflow/stream_executor/cuda/cuda_driver.cc:406] failed call to cuInit: CUDA_ERROR_UNKNOWN
2017-11-01 21:30:05.585827: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:145] kernel driver does not appear to be running on this host (AI-ACR-PPE-VM): /proc/driver/nvidia/version does not exist
INFO:tensorflow:Restoring parameters from /home/ai-admin/Desktop/multi-class-text-classification-cnn/trained_model_1509570669/checkpoints/model-1400
INFO:tensorflow:Restoring parameters from /home/ai-admin/Desktop/multi-class-text-classification-cnn/trained_model_1509570669/checkpoints/model-1400
CRITICAL:root:The accuracy is: 0.741

Thank you. Though i saved the model as a ckpt file and to call the model ran these commands
saver = tf.train.import_meta_graph(checkpoint_dir + 'checkpoints/generator.ckpt.meta')
saver.restore(sess, tf.train.latest_checkpoint(checkpoint_dir + 'checkpoints'))

The prediction script worked for me then.


Is it possible to configure settings per endpoint?

Discussed in https://github.com/neutrinolabs/xrdp/discussions/3049

Originally posted by conioh April 27, 2024
The issue was raised in #1124:

With the added support for AF_VSOCK some users would like to be able to connect both hypervisor local and also expose a remote endpoint at the same time. This would be a modification to the config to support both tcp settings and vsock settings for the same daemon at the same time. Then a user could connect via a fast connection (ip independent) when local but also connect to this vm when remote. This is roughly exactly what the windows TermSrv does to accomplish this.
A few thoughts:

We would need to modify the config to support connection independent settings and add new connection dependent settings sections. IE: you might want bitmap_compression=true for tcp but =false for vsock.

...

Soon after the following comment the issue was closed:

I think all the items are addressed and I created PR #1366

But as far as I can see that PR only added support for multiple endpoints, but not for settings per endpoint. Is there a way to configure settings per endpoint?
For example, I'd like the equivalent of:
[Globals]
port=vsock://-1:3389 tcp://:3389
security_layer=negotiate
crypt_level=high
bitmap_compression=true

[Globals_vsock://-1:3389]
security_layer=rdp
crypt_level=none
bitmap_compression=false

That is, to have some [Globals] for the general case and endpoint-specific [Globals] for one the multiple endpoint specified by the port parameter (in this case, for Hyper-V Enhanced Session Mode).

Thanks for opening the issue.
My main use-case is using Hyper-V's enhanced session mode but I can think of other scenarios.
For example, someone might want to open two TCP ports, one for local network access and one for remote, and they might have similar considerations - compress and encrypt for remote connections but skip that for local.
I don't think it affects the requirements or the implementation, and it doesn't pop into mind how other use cases would affect that, but it might be worth a little consideration.


Decorating a declared class property should be an error

TypeScript Version:  ^3.7

Search Terms:
declare decorator decorated class property
Code
function baz(_target: Object, _key: string) {};

class Foo {
  @baz declare bar: string;
}

Expected behavior:
Error due to decorating ambient context.
Actual behavior:
No error, decorated property is emitted (exact same output as without declare).
Playground Link:
https://www.typescriptlang.org/play/?experimentalDecorators=true&ssl=6&ssc=2&pln=2&pc=1#code/FAMwrgdgxgLglgewgAgEYEMBeAKA+jdAJwHMBTGALmQHlUArU2AGmVwGtSBPKgZxkLgRiASmQBvAL4BuYMCgAbdDx7IAYggTjgyZAAEMmZABNGiwqTRFe-QcRkSgA
Related Issues:

Is this an error or a feature? I think it's useful since I'm using this pattern for dependency injection.
class A {
  @Inject('AnyNamespace.AnyInterface')
  declare private Foo: AnyNamespace.AnyInterface;

  method() {
    this.Foo.blabla... // <-- this.Foo is type-safe.
  }
}

DI module will inject to the property Foo from decorator, so the assignment could be omitted. However, since I enabled strictPropertyInitialization: true, property declaration without initialization will result in an error. So the declare keyword is needed.
If it turns to be an error, the injection to property have to be written as
  @Inject('AnyNamespace.AnyInterface')
  private Foo: AnyNamespace.AnyInterface = undefined as any;

What about using definite?
  @Inject('AnyNamespace.AnyInterface')
  private Foo!: AnyNamespace.AnyInterface;

What about using definite?
  @Inject('AnyNamespace.AnyInterface')
  private Foo!: AnyNamespace.AnyInterface;

Sorry for the late reply, but declare foo: any and foo!: any may have different behavior: The later will override its value when useDefineForClassFields: true is set.
declare function SomeDecorator(...args: any): any;

class A {
    foo: string = 'foo';
}

class B extends A {
    @SomeDecorator
    declare foo: string;
}

class C extends A {
    @SomeDecorator
    foo!: string; // <- warning here.
    // Property 'foo' will overwrite the base property in 'A'. If this is intentional, add an initializer.
    // Otherwise, add a 'declare' modifier or remove the redundant declaration.(2612)
}

playground link
Sometimes I don't need to overwrite the value, only want to add some behavior by using a decorator.
There will be no way to do it if decorating a declared property becomes an error.

This is actually an intended behavior, and one of the reasons declare exists. If you are compiling targeting native fields, or with --useDefineForClassFields, redeclaring a field in a subclass just to decorate it would actually overwrite the field, as @whzx5byb mentions above. We allow you to decorate a declare field as that is the only way to decorate the field on a subclass without overwriting it.

Thanks, @rbuckton! TBH I should have closed this months ago. Decorated declare properties is a pattern I now use regularly. I even wrote a blog post about it! 😆


Error: RPC response error -40000: Commitment not supported

Attempting to snapshot holders, using RPC from the index as suggested since mainnet doesn't work anymore
command used:
metaboss snapshot holders --creator  (CM ID) --v2 -r https://rpc.theindex.io/mainnet-beta/
note: also tried CM creator
resulted in error in title. How to successfully get around this to take a screenshot of current holders?

I used https://solana-api.projectserum.com as an endpoint instead of theindex and was able to successfully take a snapshot.

Glad you got this working but that is not how you used the indexer feature, checkout the docs for next time: https://metaboss.rs/snapshot.html#indexed-data.


Contract items disapear

Reloading a save makes Contract items (lost scavanger, bomb...) disapear from the ship.
Here is the log of me taking a Scav to the ship quitting and reloading the save, if it can help you in any way:
LogOutput.log
(I have this bug for multiple updates, reported it on Discord. Reporting here again to be sure you have it.)

The issue with these two specifically is that their initial state is not in grabbable state (scavenger will start in injured and bomb will start clocking), besides the check if they are in a contract to be "visible" to the player.
When I have the time to look at these, I will have to rearrange some stuff to make sure the "grabbable" states are saved when they are stored in the ship and reboot happens.

Should be fixed and live in next release.


error

[Enter steps to reproduce below:]

... opened nvatom as usual
... typed a few letters, hit return; threw error:

Atom Version: 1.8.0
System: Linux Mint
Thrown From: nvatom package, v0.10.0
Stack Trace
Uncaught TypeError: Cannot read property 'name' of undefined
At /opt/atom/resources/app.asar/src/package-manager.js:619

TypeError: Cannot read property 'name' of undefined
    at PackageManager.module.exports.PackageManager.deactivatePackage (/opt/atom/resources/app.asar/src/package-manager.js:619:36)
    at save (/home/robert/.atom/packages/nvatom/lib/notational-velocity-view.coffee:108:25)
    at later (/opt/atom/resources/app.asar/node_modules/underscore-plus/node_modules/underscore/underscore.js:724:25)

Commands
     -0:09.7.0 nvatom:toggle (ul.list-inline.tab-bar.inset-panel)
  2x -0:02.4.0 editor:newline (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "disabledPackages": [
      "language-c",
      "language-clojure",
      "language-coffee-script",
      "language-csharp",
      "language-gfm",
      "language-git",
      "language-go",
      "language-java",
      "language-javascript",
      "language-json",
      "language-less",
      "language-make",
      "language-mustache",
      "language-objective-c",
      "language-perl",
      "language-php",
      "language-property-list",
      "language-ruby",
      "language-ruby-on-rails",
      "language-source",
      "language-toml",
      "package-generator",
      "symbols-view",
      "styleguide",
      "open-on-github",
      "autocomplete-css",
      "autocomplete-atom-api",
      "autocomplete-html",
      "deprecation-cop",
      "dev-live-reload",
      "encoding-selector",
      "language-css",
      "language-sql",
      "language-todo",
      "language-xml",
      "markdown-preview",
      "wrap-guide",
      "whitespace",
      "welcome",
      "autocomplete-python",
      "pandoc-convert",
      "project-manager",
      "script"
    ],
    "ignoredNames": [
      ".git",
      ".hg",
      ".svn",
      ".DS_Store",
      "._*",
      "Thumbs.db",
      ".localized",
      ".sync",
      "prefs.db",
      ".dropbox.cache",
      ".dropbox"
    ],
    "openEmptyEditorOnStart": false,
    "themes": [
      "one-light-ui",
      "base16-tomorrow-light-theme"
    ]
  },
  "nvatom": {
    "directory": "/home/TextNotes",
    "extensions": [
      ".txt",
      ".md"
    ]
  }
}

Installed Packages
# User
language-pfm, v0.82.0
markdown-preview-plus, v2.4.0
minimap, v4.24.6
nvatom, v0.10.0

# Dev
No dev packages

I've got exactly the same problem, also with version 1.8.0. Happens when I close a file.
Just tried nvatom for the first time though.

It is a very handy package. I use it on my Mac now instead of NValt. It still works on Mac, incidentally, with no problems after the update.  Just a Linux problem.
Sent from my iPhone

On Jun 16, 2016, at 12:33 PM, Hendrik Buschmeier<EMAIL_ADDRESS>wrote:
I've got exactly the same problem, also with version 1.8.0. Happens when I close a file.
Just tried nvatom for the first time though.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

/opt/atom/resources/app.asar/src/package-manager.js Hmm... I don't know what that file is. I'm using OSX... I'll find a linux machine tomorrow and play with it.

I'm using a OS X as well (10.10 Yosemite):
/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:619

TypeError: Cannot read property 'name' of undefined
    at PackageManager.module.exports.PackageManager.deactivatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:619:36)
    at save (/Users/hendrik/.atom/packages/nvatom/lib/notational-velocity-view.coffee:108:25)
    at later (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/underscore-plus/node_modules/underscore/underscore.js:724:25)

The problem is that nvatom tries to deactivate the package whitespace before saving (trailing whitespace is meaningful in Markdown) and that I had disabled it globally in Atom settings. Deactivating a package that is disabled, causes the function deactivatePackage in PackageManager to throw an error. Enabling the whitespace package globally fixed the problem.
@seongjaelee I am not familiar with CoffeeScript programming and currently do not have the time to look into this in more detail, but I think the problem should be easily fixable in nvatom by checking whether the package that will be deactivated is actually available (i.e. installed and enabled). In general this would better be addressed in the package manager itself though.
@rsshel Could you check, whether this fixes your problem as well?

Sorry for the slow reply.  Yes, that did it for me!  I also had whitespace
disabled.  Thanks!
Robert Shelton
On Thu, Jun 23, 2016 at 4:30 AM, Hendrik Buschmeier <
<EMAIL_ADDRESS>wrote:

The problem is that nvatom tries to deactivate the package whitespace
https://github.com/atom/whitespace before saving (trailing whitespace
is meaningful in Markdown) and that I had disabled it globally in Atom
settings. Deactivating a package that is disabled, causes the function
deactivatePackage in PackageManager to throw an error. Enabling the
whitespace package globally fixed the problem.
@seongjaelee https://github.com/seongjaelee I am not familiar with
CoffeeScript programming and currently do not have the time to look into
this in more detail, but I think the problem should be easily fixable in
nvatom by checking whether the package that will be deactivated is actually
available (i.e. installed and enabled). In general this would better be
addressed in the package manager itself though.
@rsshel https://github.com/rsshel Could you check, whether this fixes
your problem as well?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/seongjaelee/nvatom/issues/52#issuecomment-227983798,
or mute the thread
https://github.com/notifications/unsubscribe/ATCcU5_MygAj7R0peDZ8r2OFflUP5x7Dks5qOkQigaJpZM4I25OD
.

Found the reason; the fix will be there soon. Thanks!

Just for the future reference to myself, package-manager.js is the compiled version of atom's package-manager.coffee.

Thanks a lot Robert and Hendrik tracking down this problem so far. =D

Thanks for fixing it so quickly.


[FEATURE] Add image alt-tag generation by using ChatGPT Vision

Assuming SEO is the main goal of this request, how feasible is it to get significant result?
Per google

So if you didn’t care about Image Search, then from a Search point of view, you don’t really need to worry about alt text

It is even more difficult in scenarios like:
1, when there is a model(s) in the image
2, image gallery with same product in different angle

My use case would mainly be accessibility


Use Custom serializer

The built-in ArraySerializer adds the data attributes to includes in transformers. This custom serializer solves this issue by only setting the resourceKey to the included data if set rather than falling back to data
https://github.com/thephpleague/fractal/issues/430#issuecomment-461130026

Can you give an example on how you're using this in Scout? And if you're comfortable with it add a test to check if the output of the serializer is exactly what we'd expect?

Hi, the use case is when we have a transformer that uses Fractal include.
class ProductTransformer extends TransformerAbstract
{
    /**
     * List of resources possible to include
     *
     * @var array
     */
    protected $defaultIncludes = [
        'productSpecs',
    ];

    ...

    /**
     * @return \League\Fractal\Resource\Item
     */
    public function includeProductSpecs()
    {
        return $this->collection($this->getAttr('productSpecs'), new ProductSpecsTransformer);
    }
}

class ProductSpecsTransformer extends TransformerAbstract
{
    public function transform(\craft\commerce\elements\Product $product)
    {
        return [
            'title' => (string) $this->getAttr('title'),
        ];
    }
}

the following code would send the following to Algolia
{
    "title": "blah blah"
    "productSpecs": {
        "data": [{
            "title": "foo"
        }, {
            "title": "bar"
        }]
    }

}

With the change on this PR the output to Algolia would remove the extra data attribute from the included field
{
    "title": "blah blah"
    "productSpecs": [{
        "title": "foo"
    }, {
        "title": "bar"
    }]
}

I'll take a stab at writing something to check the output of the Fractal toArray doesn't return a resourceKey unless is defined

I've never actually used Fractal beyond a basic array, so thank you for explaining the use-case. Any code I merge will become mine to maintain so I make sure to understand why it's there.
The test would be great, as it would've caught the error I commented on ;)

Hi, totally agree! I started taking a stab at writing the test but I can't seem to get codecept to execute the test, any tip as to what i could be missing?

@santi6291 There should be a /** @test **/comment right before your test functions

Hi @riasvdv added the test, let me know if there is anything else I can do here?

Awesome, looks good! Thank you for your work


Allow KW_SPEC to specify spec name

I understand that the current <file name>:<line number of spec> syntax allows for flexibility regarding the scope of the tests that run (spec/describe/context/it) but at best, it is unreliable. I couldn't get it to work at all, and even if I did it would be broken the first time someone added or deleted a single line of code.
However the spec name is pretty well defined. If I could say KW_SPEC=FooSpec that should be pretty reliable (unless I rename the spec of course, but I guess there's an inherent limit to this method).

Hi! Thanks for opening an issue. If this is something that you would still find useful and isn't too big of a change, we may consider a pull request for a change like this.
@modocache and I are doing spring cleaning on issues at the moment, so I'm going to close this for now. Feel free to comment if you'd like to discuss this further though!


The following code is missing in main.tf

[Enter feedback here]
I think the following code is missing in main.tf
terraform {
  required_providers {
    azurerm = {
      source  = "hashicorp/azurerm"
      # version = "=3.10.0"
    }
  }
}

provider "azurerm" {
  features {}
}

thank you!

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

ID: 14080c3b-027f-93e1-fd0f-4bea971f51b0
Version Independent ID: 5894d6ec-4347-153c-fa9a-203d41275153
Content: Install the Azure Terraform Visual Studio Code extension
Content Source: articles/terraform/configure-vs-code-extension-for-terraform.md
Service: terraform
GitHub Login: @TomArcherMsft
Microsoft Alias: tarcher

This should be defined in your providers.tf file; in this example, main.tf is primarily used to enumerate the specific resources/references in the infrastructure (as opposed to provider-specific dependencies).

@yukit7s Apologies for responding to this so late. I've been out on some summer vacation. As @Tythos says, this information (the provider declaration) is in the providers.tf file.

@TomArcherMsft Thank you for your reply. If you can add the following code to this tutorial, I think that beginners will not get lost.
https://learn.microsoft.com/en-us/azure/developer/terraform/configure-vs-code-extension-for-terraform?tabs=azure-cli#3-implement-the-terraform-code
1. Create a file named `providers.tf` and insert the following code:

    [!code-terraform[master](../../terraform_samples/quickstart/101-resource-group/providers.tf)]


plugin GA on AKS

Hello and thanks for the work.
are there any plans to make this plugin GA on AKS?
for instance, we are using azure-file-csi (https://github.com/kubernetes-sigs/azurefile-csi-driver) since the earlier versions and now we see that it is in preview and will be soon GA on AKS. So I was thinking that you would have similar roadmap.
I'm asking this question as our stakeholders (Infra managers..Etc) will be more relieved to know that we are using a plugin which is planed to be GA (meaning that it will be included in the support contract with Azure).

@aelmanaa Thank you for opening the issue 👍
The integration is in the AKS backlog. You can open an issue here - https://github.com/Azure/AKS/issues to get updates.

ok thanks @aramase  will do.
another question: do you support all AKS GA versions ? For instance 1.18 is GA now and 1.19 will GA soon. Do you ensure that AZure CSI secret store supports new k8s versions before that they become GA?
thanks

another question: do you support all AKS GA versions ? For instance 1.18 is GA now and 1.19 will GA soon. Do you ensure that AZure CSI secret store supports new k8s versions before that they become GA?

@aelmanaa We currently test the driver with the latest versions of AKS as part of our CI pipeline.

ok thanks @aramase


Cannot install Service Fabric SDK

Trying to install Microsoft Azure Service Fabric SDK 3.4.664 from fresh installed VS2019.
"VS2019 Prof" was installed with "ASP.NET development" and "Azure development".
I also already installed PowerShell-6.2.3-win-x64.
I got an error message from "Web Platform Installer 5.1 Log" (log is attached):
This product did not install successfully because a product that it depends on did not install successfully.
Please help me to find out what I have to install prior SDK?
webpi12.txt

Please open an issue here for help with SDK installation
https://github.com/Microsoft/service-fabric/issues
Also make sure you are following this:
https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-get-started
If you have issues with the web platform installer, try uninstalling it and then running the SDK install again. That has worked for me in the past.

Powershell.exe was missing from Windows\system32


support for multiple tags

hi , ploypoint supports for multiple tags?

Yes, PolyPoint now supports multiple tags. See https://patpannuto.com/pubs/kempke16surepoint.pdf, in particular Section 5, for details.


Add a tutorial for setting up a 3-node Kubernetes cluster on Debian with Flannel for networking, with working DNS and the web dashboard

Hi,
first of all thanks for your great work!!
However ...
Having fragmented tutorials will not help when trying to get a grip on Kubernetes.
Existing tutorials on setting up a cluster will fail after a few days as underlying Specs and processes are permanently changing.
Suggestion:
Make one tutorial that describes how to SUCCESSFULLY

set-up a 3 Node cluster on Debian x (where each of the Debian servers is in a minimal state, i.e. no desktop version)
with Flannel as the CNI plugin
in which 2 pods can successfully communicate between each other (DNS working)
a service from outside the cluster is reachable
have the dashboard running and is reachable from outside with a proper port forwarding enabled once the server starts

And keep the tutorial up-to date so it will be working for anyone at anytime who uses it in order to learn Kubernetes.
If the the single steps in the tutorial are annotated well and references to sources are given, this tutorial will constitute a landmark resource for Kubernetes going forward serving the community as a reference.
Best
Holger

/retitle Add a tutorial for setting up a 3-node Kubernetes cluster on Debian with Flannel for networking, with working DNS and the web dashboard
/language en
/kind feature

This is quite a specific request. A page like that is hard to maintain, and there's a cardinality issue: if we document for Debian and Flannel, what about all the other combinations? CRI-O, Calico, Ubuntu? containerd, flannel, Fedora? There are many of these.
It might work better as a blog article unless we can find a hidden supply of documentation maintainers.
/priority awaiting-more-evidence

There's a similar challenge with https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Setting up this kernel is only really useful if you combine it with a libc, a DNS resolver, a root filesystem, etc. However the docs for Linux itself don't cover all the detail you'd need it to, and that's left for other projects to cover.
Right now there isn't a good Kubernetes equivalent to https://www.linuxfromscratch.org/
Maybe one day there will be.

Point(s) taken:
Difficult to scope on specific stack, for instance:
Debian 11
CRI-O
Flannell
As other providers being neglected.
However: Readers will gradually replace components as appropriate. Main objective will be achieved - Have a working set-up in a lab to test and play around.
Maintaining of the tutorial
While this point is valid it actually is the core idea of the whole exercise. Ensuring that a working set-up can be deployed at all times and is indeed working.
This could be supported by some sort of continuos integration testing by automatically spawning the 3 node cluster by running the instalment instructions provided with the tutorial. If failing, the script / tutorial needs amendment.

/assign

/close not-planned


Select all content on entry focus ?

Something that has always required code in the code behind is the ability / behavior of selecting the content of the entry on focus.
With MAUI I expected that this would be addressed but I didn't see anything.
Was this addressed and if so how would we implement selecting the content of an entry on focus through the recommended MVVM construction technique ?
Thanks.

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

ID: 45f3b9bb-82d0-5c49-42c4-d80c20e96f5b
Version Independent ID: 45f3b9bb-82d0-5c49-42c4-d80c20e96f5b
Content: Entry - .NET MAUI
Content Source: docs/user-interface/controls/entry.md
Product: dotnet-mobile
Technology: dotnet-maui
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Can a human being check this please ?

I AM HUMAN beep boop
😁
Hey there. Looking at the xamarin forms source and comparing it to the maui source, I don't see any property that has changed to indicate this mode. I'm new to this technology, though I did a lot of WPF a while back, can't you just create a behavior and attach it to the element? That's how I would expect an MVVM model to do it when the property was missing.
I looked and looked and there isn't a really good way to do this cross-plat. It seems straightforward at first, create a behavior, set the selection when focused, move on. But Android seems to do it completely different from windows. I didn't go down the rabbit hole of implementing ios/mac, I only did windows, tested on android, noticed it didn't work, then researched the countless android questions of people wanting to do the same thing lol.
Android has a method you call on the text field to turn this mode on, Windows doesn't. So the two operate differently. You have to catch the handler (native control) for android and then turn on the mode, while in windows you can do the straightforward Focused event and select the text. Here is the code to do that. Just add this behavior in XAML to the entry element.
I hope this helps!
internal class SelectTextBehavior: Behavior<Entry>
{
    protected override void OnAttachedTo(Entry bindable)
    {
#if ANDROID
        bindable.Loaded += Bindable_Loaded;
#else
        bindable.Focused += Bindable_Focused;
#endif
    }

#if ANDROID
    private void Bindable_Loaded(object sender, EventArgs e) =>
        ((Android.Widget.EditText)((Entry)sender).Handler.PlatformView).SetSelectAllOnFocus(true);
#endif

    protected override void OnDetachingFrom(Entry bindable)
    {
#if ANDROID
        bindable.Loaded -= Bindable_Loaded;
#else
        bindable.Focused -= Bindable_Focused;
#endif
    }

    private void Bindable_Focused(object sender, FocusEventArgs e)
    {
        Entry entry = (Entry)sender;

        if (!string.IsNullOrEmpty(entry.Text) && entry.Text.Length > 0)
        {
            entry.CursorPosition = 0;
            entry.SelectionLength = entry.Text.Length;
        }
    }
}

Thanks, I will try it out and see if it works ..
How is this not a feature in MAUI ?
It's standard behavior for editing existing data on mobile devices / touch screens

My guess would be that it's not a common feature among the platform-native controls. For example, Android is a "toggle" mode, it's built into the control, but on Windows it isn't, you would have to add extra logic and mapping between the MAUI control and the native control. Looking up iOS people seem to inject a 10ms delay when the focus event happens and force a selection to happen, much the same way as Windows... so there are all sorts of little idiosyncrasies in how the platform themselves implement it, if they even do.
I think the MAUI team is focused on implementing everything and fixes existing issues over adding new features, unless the feature has a major improvement to the platform like adding horizontal/vertical stack layout controls.
Don't forget to let me know if it works.

I'm going to close this as I assume it worked since it's been 2 weeks 😁

I tried it - and it seems to work cheers!


Affine traversal

I don't know of any useful operations that operate specifically on affine traversals, but the type synonym is nice just to help demarcate something that is just Lens + Prism (composed together) versus something that is actually a Traversal (with potentially many foci).
In addition, the Index class really generates an AffineTraversal, so I rewrote those methods to allow that restriction. Maybe it's better to merge it with At, so index i = at i <<< _Just?
element should also really produce an AffineTraversal, but I haven't figured out how to do that yet. Maybe something with Fold and Setter ...

We should also add AnAffineTraversal and related operations for construction and cloning.
Something like:
-- | The `Stall` profunctor characterizes an `AffineTraversal`.
data Stall a b s t = Stall (s -> b -> t) (s -> Either t a)

instance functorStall :: Functor (Stall a b s) where
  map f (Stall u p) =
    Stall (map f <<< u) (lmap f <<< p)

instance profunctorStall :: Profunctor (Stall a b) where
  dimap f g (Stall u p) =
    Stall (map g <<< u <<< f) (lmap g <<< p <<< f)

instance strongStall :: Strong (Stall a b) where
  first (Stall u p) =
    Stall (\(Tuple s x) b -> Tuple (u s b) x)
          (\(Tuple s x) -> lmap (\t -> Tuple t x) (p s))

  second (Stall u p) =
    Stall (\(Tuple x s) b -> Tuple x (u s b))
          (\(Tuple x s) -> lmap (Tuple x) (p s))

instance choiceStall :: Choice (Stall a b) where
  left (Stall u p) =
    Stall
      (case _ of
        Left s -> \b -> Left (u s b)
        Right x -> \_ -> Right x)
      (case _ of
        Left s -> lmap Left (p s)
        Right x -> Left (Right x))

  right (Stall u p) =
    Stall
      (case _ of
        Left x -> \_ -> Left x
        Right s -> \b -> Right (u s b))
      (case _ of
        Left x -> Left (Left x)
        Right s -> lmap Right (p s))

type AffineTraversal s t a b = forall p .
  AnAffineTraversal s t a b ->
  ((s -> b -> t) -> (s -> Either t a) -> r) ->
  r
withAffineTraversal l f = case l (Stall (const identity) Right) of
  Stall g h -> f g h

cloneAffineTraversal ::
  forall s t a b .

Does a valid Affine obey more or less the same laws as a valid Lens?

Superseded by #112


Joy UI Select should support "required" prop for native validation

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
Autocomplete, Input and Textarea all support "required" prop for native validation, but not Select. The feature exists on the underlying HTML select, we should support it in Joy UI Select.
Examples 🌈
No response
Motivation 🔦
No response

@michaldudak @mj12albert Which approach do you recommend? I feel that we should start with how Base UI will support this first.
The ways I see it:

use aria-required on the Select button slot
use the existing hidden input and add required to it.

The first option, I think. I don't know if setting required to a hidden input would make sense.

@michaldudak "The aria-required attribute, like all ARIA states and properties, has no impact on element functionality. Functionality and behavior must be added in with JavaScript." from MDN.
I tested and it does not block the form submission. I will try with both aria-required and required on the hidden input to see it works.

My POC in #38167
https://github.com/mui/material-ui/assets/18292247/7c3bdad2-0666-4fa2-901c-0c94461562d3

The aria-required attribute, like all ARIA states and properties, has no impact on element functionality. Functionality and behavior must be added in with JavaScript

That's right. But I didn't know you could add a required attribute to a hidden field and prevent a form submission this way.
Since the input is hidden and not focusable, we may need to add aria-required anyway to notify assistive technologies that a field is required.


add a new blog for php

maybe it works now sir:)

The PR is technically OK, but I don't think it's a programming book.


The filename directory level is too long

hi，The filename directory level is too long . how to setting ignore this

replace the default implementation


Add day 1 of 100DaysOfSpaces challenge

I will be adding all of the details of 100 days of spaces here little by little.
Day 1 for now.
Solves Issue #223

@avie-dev  do not forget to change the AsakatsuOrg image to the designed logo.
So that the site and Org logo matches

That's a good idea...


Missing styles

I have an Aurelia-based app, using Typescript and webpack.  The control is working for me, but it seems to be missing styling and I'm unsure why?
I'm importing as:
import JSONFormatter from 'json-formatter-js'
And I'm using the control as:
let jsonFormatter = new JSONFormatter(myData);
someElement.appendChild(jsonFormatter.render());
It renders, and I see everything correctly, and I can click elements and expand them, but I see no styling, no icons, no indention.
How can I ensure the styles get loaded properly so it looks like your demo?  Or is there an issue with Aurealia/webpack and this control?

Styles are  added to JS using the style loader. See the demo, it's not importing css or doesn't have a css loader in webpack

It works if you clone your demo repo, but if you npm install it into an existing project, it doesn't work.  If I examine /dist/json-formatter.js, it is only 245 lines, and the styles are not embedded.  I can see that they are embedded in the one where I clone the repro from your github.  Not sure what the difference is, but I can even run webpack directly against the version that was npm installed into my project's node_modules directory.  It generates dist/json-formatter.js, but again, the styles aren't embedded.

Maybe I've not published the changes. With #47 I need to publish a new version anyways. Will publish soon

can you try 2.2?
https://github.com/mohsen1/json-formatter-js/releases/tag/v2.2.0

Yes, that did it!  Thanks much. It's working great now.


Add ability to publish translations

I have them individually tagged by language (as well as the global canvas-lang), but we could just go with the canvas-lang tag and make the developer remove the ones they don't want to override. It's up to you.
The only downside I can see with doing it this way is maintaining it when someone adds a new language.

I see the downside you mentioned here as a blocker. I can understand if a developer would would finer control over the language file, but why not submit a PR and update the language file so that everyone else would benefit?

Hi @austintoddj,
For me, it's just a case of the client being not so smart. Instead of "Meta Title/Description", I'm changing it to "SEO Title/Description". I didn't know if this would benefit everyone or not. I'm also debating on changing "Topic" to "Category" because they've only ever used WordPress before.

I've updated the code to just a simple publish that will publish all the languages.