CLID-261,CLID-274: rebuild independently of collect

Description

In order to inform the user why Operator Collector is taking long, # CLID-274 adds spinners ( :warning: without adding concurrency) to both:

the for loop around operator catalog collection
the for loop around operator catalog rebuild

In order for catalog rebuild not to be done when --dry-run, CLID-261 moves the logic of catalog rebuild away from the CollectAll method and into its own separate method within the executor

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

How Has This Been Tested?
Mirror to Disk with the following ImageSetConfig passes:
apiVersion: mirror.openshift.io/v2alpha1
kind: ImageSetConfiguration
mirror:
  operators:
    # - catalog: oci:///tmp/oci-catalog
    - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.14
      packages:
      - name: aws-load-balancer-operator
    - catalog: registry.redhat.io/redhat/certified-operator-index:v4.16
      targetCatalog: other/certified-operator-index
      packages:
      - name: gitlab-operator-kubernetes
    - catalog: registry.redhat.io/redhat/certified-operator-index:v4.15
      targetCatalog: other/certified-operator-index
      targetTag: v4.15.0
      packages:
      - name: gitlab-operator-kubernetes
    - catalog: registry.redhat.io/redhat/community-operator-index:v4.15
      targetTag: v4.15.0-c
      packages:
      - name: cert-utils-operator

Expected Outcome
Please describe the outcome expected from the tests

verified locally using the imagesetconfig as mentioned in the comments section
Console output shows the catalog spinner for both collection the catalogs and rebuilding catalogs
2024/11/19 11:43:27  [WARN]   : ⚠  --v2 flag identified, flow redirected to the oc-mirror v2 version. This is Tech Preview, it is still under development and it is not production ready.
2024/11/19 11:43:27  [INFO]   : 👋 Hello, welcome to oc-mirror
2024/11/19 11:43:27  [INFO]   : ⚙  setting up the environment for you...
2024/11/19 11:43:27  [INFO]   : 🔀 workflow mode: mirrorToDisk
2024/11/19 11:43:27  [INFO]   : 🕵  going to discover the necessary images...
2024/11/19 11:43:27  [INFO]   : 🔍 collecting release images...
2024/11/19 11:43:27  [INFO]   : 🔍 collecting operator images...
 ✓   (2m1s) Collecting catalog registry.redhat.io/redhat/redhat-operator-index:v4.14
 ✓   (1m1s) Collecting catalog registry.redhat.io/redhat/certified-operator-index:v4.16
 ✓   (1m11s) Collecting catalog registry.redhat.io/redhat/certified-operator-index:v4.15
 ✓   (58s) Collecting catalog registry.redhat.io/redhat/community-operator-index:v4.16
2024/11/19 11:48:41  [INFO]   : 🔍 collecting additional images...
2024/11/19 11:48:41  [INFO]   : 🔍 collecting helm images...
2024/11/19 11:48:41  [INFO]   : 🔂 rebuilding catalogs
 ✓   (1s) Rebuilding catalog docker://registry.redhat.io/redhat/community-operator-index:v4.16
 ✓   (0s) Rebuilding catalog docker://registry.redhat.io/redhat/certified-operator-index:v4.15
 ✓   (1s) Rebuilding catalog docker://registry.redhat.io/redhat/certified-operator-index:v4.16
 ✓   (2s) Rebuilding catalog docker://registry.redhat.io/redhat/redhat-operator-index:v4.14


Error : java.lang.IllegalArgumentException: Unable to parse Identifier.

error running the flutterBeacon.ranging method on android (oneplus 7 pro):
D/RANGING (10621): Start ranging = [{identifier=com.casvanluijtelaar.leading, proximityUUID=88-B6-4D-E6-15-F5-37-9C, major=100, minor=100}]
E/REGION  (10621): Error : java.lang.IllegalArgumentException: Unable to parse Identifier.
E/RANGING (10621): Region ranging is null or empty. Ranging not started.
E/MONITORING(10621): Region monitoring is null or empty. Monitoring not started.

tried on the latest release and the master branch.
flutter version 1.22.6

it seems like android-beacon-library doesn't allow these kinds of identifiers:

    /**
     * Takes the passed string and tries to figure out what format it is in.
     * Then turns the string into plain bytes and constructs an Identifier.
     *
     * Known bug: This method happily parses UUIDs without dashes (normally
     * invalid). Although the bug is left unfixed for backward compatibility,
     * please check your UUIDs or even better, use
     * {@link #fromUuid(java.util.UUID)} directly, which is safe.
     *
     * Allowed formats:
     *

     *
UUID: 2F234454-CF6D-4A0F-ADF2-F4911BA9FFA6 (16 bytes)

     *
Hexadecimal: 0x000000000003 (variable length)

     *
Decimal: 1337 (2 bytes)

     *

     *
     * @param  stringValue string to parse
     * @return             Identifier representing the specified value
     * @throws             IllegalArgumentException if the passed string cannot be parsed
     * @throws             NullPointerException if the passed string is null
     * @see                RFC 4122 on UUIDs
     */
    public static Identifier parse(String stringValue) {
       return parse(stringValue, -1);
    }

so your example wouldn't work?

correction, this error relates to the proximityUUID. It might be worth it wrapping those exceptions because this will create confusion for people new to bluetooth beacons


Some endpoint here for 21V

<add key="PartnerServiceApiEndpoint" value="https://partner.partnercenterapi.microsoftonline.cn" />
<add key="AuthenticationAuthorityEndpoint" value="https://login.chinacloudapi.cn"/>
<add key="GraphEndpoint" value="https://microsoftgraph.chinacloudapi.cn"/>
<add key="CommonDomain" value="common"/>

thanks for the info @huyi2218, I will mark this as closed, please let us know if you have any further inquiries


HTML support on system-wide-alert

Is your feature request related to a problem? Please describe.
When using the system-wide alert feature I've wanted several times to put a specific link for our users. Normally it's to give them a direct link to a specific page describing an update or an email address to contact for a specific reason. Being able to highlight some information would also be really useful.
Describe the solution you'd like
To be able to use HTML for the system-wide alert messages.
Describe alternatives or workarounds you've considered
I don't think full HTML support is necessary, only the ability to put links and maybe bold text.

This can be easily performed by changing two simple lines:
Replace:
https://github.com/DSpace/dspace-angular/blob/6c4ff40020c6bf7cc27cc69756f404bbc857fa16/src/app/system-wide-alert/alert-banner/system-wide-alert-banner.component.html#L24
with:
https://github.com/sistedes/dspace.ui/blob/8c5c07dac054ad1c70adbecc60bc4dc0444625c0/src/app/system-wide-alert/alert-banner/system-wide-alert-banner.component.html#L25
And similarly, replace:
https://github.com/DSpace/dspace-angular/blob/6c4ff40020c6bf7cc27cc69756f404bbc857fa16/src/app/system-wide-alert/alert-form/system-wide-alert-form.component.html#L102
with:
https://github.com/sistedes/dspace.ui/blob/8c5c07dac054ad1c70adbecc60bc4dc0444625c0/src/app/system-wide-alert/alert-form/system-wide-alert-form.component.html#L101
Of course, this solution does not do any sanity check on the included HTML, but since the system-wide alert is something that only administrators can set, seems fair enough.
If that's acceptable, I can submit a pull request.

Sorry, it seems that links to lines in my repo are not rendered.
To make it clear, replace:
{{(systemWideAlert$ |async)?.message}}

with:

@abelgomez : Feel free to submit a PR.  We use [innerHTML] in other areas of the application as well, so it is acceptable.


StoragePool GA Swagger Release

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[X] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
08/28/2021
If updating an existing version, please select the specific langauge SDKs and CLIs that must be refreshed after the swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No refresh required for updates in this PR

Contribution checklist:

[X] I commit to follow the Breaking Change Policy of "no breaking changes"
[X] I have reviewed the documentation for the workflow.
[X] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[X] Check this box if any of the following apply to the PR so that label “WaitForARMFeedback” will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits.

[X] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in a stable version
[ ] Removing properties in a stable version
[ ] Removing API version(s) in a stable version
[ ] Updating API in a stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

@ruowan how do I fix these unreferenced json file errors? I've added the GA API reference to the readme, but the Avocado errors are still there.

Hi @ArcturusZhang , would you help have a look at whether the go sdk failure comes from this PR? Thanks.


Using avr functions in EEPROM.h

I cant compile EEPROM.h on my laptop because the are used avr functions:

eeprom_read_byte
eeprom_write_byte
Is that correct?

I am using Platformio, not makefile, but I think it is not correct.

You are correct, EEPROM.h is not functional. When I committed that version, I made the smallest change possible to allow some of my programs compile. But if you actually try to use it, you get error messages as you saw.
However, you are in luck, because by sheer coincidence, I just checked in (like 5 minutes ago), 2 working implementations of EEPROM: one for AVR processors, and one for ESP8266/ESP32 processors. Please grab the latest version from the develop branch, and read the instructions at:

https://github.com/bxparks/EpoxyDuino/tree/develop/libraries/EpoxyPromAvr
https://github.com/bxparks/EpoxyDuino/tree/develop/libraries/EpoxyPromEsp

Each directory has an examples directory, which I hope is enough to explain how to use these.

Closing for house cleaning. Pls reopen if you have updates.


[REQUEST] Add ability to switch dialogue locale

Describe the feature / enhancement.
There are many ways to go about implementing this feature, the proposal can change through continued discussion, but for now I propose a locale dropdown selection in the Header. This can be added beside the Test button as such:

Below is a sample dropdown UI concept where the user can open the dropdown, click on the "+" button to add a new locale. Each locale selection has an ✏ edit button to rename it, and a 🗑 delete button. There could be a ⭐ toggle button to set a locale as an application default, so all new .json files will start with this locale for convenience sake.

Upon selection of a locale, all SentenceNodes, ChoiceNodes and OptionNodes that have actual dialogue lines should automatically switch to the new locale. If the locale was newly created, then those nodes will have empty sentences, ready to accept a new sentence in the new language. Values that are not dialogue lines such as EndPathNode or BridgeNode should NOT be affected.
Extra Notes

There should be a hotkey to quickly switch between locales for quick comparison.
The entire Monologue UI can piggyback on this dropdown to change the application language. So not only the dialogue language will change, but the Monologue application language changes too.

Is this a feature for a project you're working on?
Supporting multiple languages is a common and important use case in VNs to reach a wider audience.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
Changes to JSON Structure
Following Monologue's design philosophy, I don't think we should introduce .csv files for dialogue localization. Instead, it should be built into the existing JSON. The current idea is proposed to look like this:
Before
"Sentence": "Hello!",
"Voiceline": "hello.mp3"

After
"Sentence": {
	"EN": "Hello!",
	"JP": "こんにちは！"
},
"Voiceline": {
	"EN": "hello.mp3",
	"JP": "hello_jp.mp3"
}

To support this change, the MonologueLine field needs to be able to deal with the locale dictionary to display/save the sentences of each language correctly. MonologueProcess will just need to have one extra step to get the correct locale before displaying the sentence.
Consideration for .csv Translations
I foresee that users may still want to do translations in a .csv file or at least in a table format, where each column represents a locale. Personally, I don't want Monologue to have a .csv file for each .json file; especially when EndPathNode is very strong and we can chain lots of stories. Having each .json spawn an extra .csv is going to be a lot. Creating a UI in Monologue just to support translation tables seems overkill since we don't use .csv. If we want to support any user's existing workflow for .csv, maybe we can have an Import button that will grab the data from a .csv and distribute it into our .json structure, where the ID/key is the node ID, and the locale data will be put into the locale dictionary?

I really like this proposal, the only problem I see at the moment is that it's complicated to have an overview of the translations, to know if any are missing or to compare them easily with other sentences.


Support for streaming response scenarios for HTTP triggers

The following functions works as you would expect in the in-process model:
using System.Threading.Tasks;
using System.Net.Http;
using System.Net;
using System.Collections.Generic;
using System.IO;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;

namespace MyStreamExamples;
public class StreamExamples
{
    private static HttpClient Client { get; } = new HttpClient();

    [FunctionName("StreamExample1")]
    public async Task<HttpResponseMessage> Run1([HttpTrigger(AuthorizationLevel.Anonymous)] HttpRequest req)
    {
        // Get a stream to some large-ish resource
        var stream = await Client.GetStreamAsync("https://git.kernel.org/torvalds/t/linux-6.2-rc7.tar.gz");

        // This immediately starts streaming the upstream content to the client without having to buffer the entire file first
        return new HttpResponseMessage(HttpStatusCode.OK)
        {
            Content = new StreamContent(stream),
        };
    }

    [FunctionName("StreamExample2")]
    public async Task<IActionResult> Run2([HttpTrigger(AuthorizationLevel.Anonymous)] HttpRequest req)
    {
        // Manipulate the response directly
        var response = req.HttpContext.Response;

        response.StatusCode = 200;
        response.ContentType = "text/plain";

        await using var sw = new StreamWriter(response.Body);
        await foreach (var msg in GetDataAsync())
        {
            // This streams a line to the client every 200 ms
            await sw.WriteLineAsync(msg);
            await sw.FlushAsync();
        }

        // Required to avoid the host trying to add headers to the response
        return new EmptyResult();
    }

    private async IAsyncEnumerable<string> GetDataAsync()
    {
        for (var i = 0; i < 50; ++i)
        {
            await Task.Delay(200);
            yield return $"Hello World no. {i+1}!";
        }
    }
}

Neither of these scenarios appear to be possible in the out-of-process model, as the HttpRequestMessage  / HttpResponseMessage instances are handled at the host, marshalling HttpRequestData and HttpResponseData as gRPC messages to and from the workers.
This comment hints that work is being done to bring the HTTP functionality available in the in-process model to workers, and refers to this epic and the most recent roadmap update. However, the issue referred to from both the roadmap and the epic for tracking HTTP related improvements hasn't seen any activity for (almost exactly) two years.
Is there any information you can share at this point related to supporting scenarios like the above? It appears to me (based on my cursory knowledge) that this will require substantial design/architecture changes for the entire worker-based model, so I am very curious to hear from you guys on what approaches you are considering and how this will turn out looking in "userland".
(Adding this as a new issue, as #366 - while obviously related - addresses streaming requests, not responses.)

Hey @elsand, thank you for opening this.
Yes, the epic you've linked to is what we're primarily using to track the different work streams for feature parity enhancements.
You are correct in your assertion; the work to support the HTTP experience we plan on exposing with the Isolated worker requires a significant change in how the platform components (primarily the host) handle HTTP triggered functions and expose the request to out-of-proc language workers, and although other work streams (e.g. SDK Type binding support, Durable Functions, performance, and a number of required features like cancellation support) have taken precedence over this work, we've been making progress in this area and the OOP model limitation is being addressed.
I'll share more details in a epic dedicated to the HTTP work (similar to the SDK Type bindings epic here ), but to avoid waiting for that before providing a short answer, a summary of the work is that with the HTTP trigger enhancements, the host will introduce a model that no longer simply passes a representation of the HTTP request to the worker, but instead, gives the worker access to the actual HTTP request (it becomes an intermediary/reverse proxy), enabling us to support the same experience you've shared above, with additional capabilities we'll be able to support with Isolated.
I'll update the parity epic with a link to the HTTP details once that is available, so please keep an eye on that for updates. I realize this is a short answer, but I hope this is helpful.

@elsand we have opened #1387 epic and will be using that to track updates. Closing this in favor of that issue, but please let us know if you have any questions.


Time lag in appearance of refresh form banner in Enketo Express

In the new Enketo Express on zebra.ona.io, the appearance of the banner that alerts the user to refresh the form is seriously delayed.  Users are accustomed to seeing this within a few seconds of opening the form, but in this case, it was more like a few minutes after I opened the form.  If the user refreshes the page, they would lose any data they already entered.

Also, on Enketo legacy (or whatever is on beta.ona.io right now), the word "Refresh" in the banner is clickable and refreshes the page, but in this instance, you can't click on the word "Refresh" in the banner.
Replaces https://github.com/onaio/core/issues/567

@ukanga this seems to still be an issue.  I replaced a form, but the new form wouldn't refresh.  Even after 5 minutes, still no notification that there was an updated form.  Finally, I had to clear my browser for the new form version to show up.  It's interesting to note that this happens when you replace a form, but also when you delete the form and upload it again.  Sometime, I delete the form and re-upload it, because I don't want to wait for the refresh banner to appear, but now even when I do this, I still see the old form version and have to wait for it to refresh.

this should be fixed by now. re-open if it still occurs


Hyprland-git failed to install  Could not resolve all dependencies.

Regression?
No
System Info and Version

❯ cat /etc/os-release
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
could not install hyprrland-git

Description
==> Leaving fakeroot environment.
==> Finished making: aquamarine-git 0.4.1_r215.ge4a1320-1 (Sun 08 Sep 2024 09:36:29 AM CST)
==> Cleaning up...
loading packages...
resolving dependencies...
looking for conflicting packages...
:: hyprcursor-git-0.1.9.r11.g912d5602-1 and hyprcursor-0.1.9-1 are in conflict. Remove hyprcursor? [y/N] y
Packages (5) hyprcursor-0.1.9-1 [removal]  aquamarine-git-0.4.1_r215.ge4a1320-1  aquamarine-git-debug-0.4.1_r215.ge4a1320-1
hyprcursor-git-0.1.9.r11.g912d5602-1  hyprcursor-git-debug-0.1.9.r11.g912d5602-1
Total Installed Size:  21.90 MiB
Net Upgrade Size:
21.28 MiB
:: Proceed with installation? [Y/n] y
(4/4) checking keys in keyring
[###################################################] 100%(4/4) checking package integrity
[###################################################] 100%(4/4) loading package files
[###################################################] 100%(4/4) checking for file conflicts
[###################################################] 100%error: failed to commit transaction (conflicting files)
aquamarine-git: /usr/include/aquamarine/allocator/Allocator.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/allocator/GBM.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/allocator/Swapchain.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/backend/Backend.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/backend/DRM.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/backend/Headless.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/backend/Misc.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/backend/Session.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/backend/Wayland.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/backend/drm/Atomic.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/backend/drm/Legacy.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/buffer/Buffer.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/input/Input.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/misc/Attachment.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/output/Output.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/lib/libaquamarine.so exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/lib/pkgconfig/aquamarine.pc exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/share/licenses/aquamarine/LICENSE exists in filesystem (owned by aquamarine)
Errors occurred, no packages were upgraded.
-> Failed to install layer, rolling up to next layer.error:error installing: [/home/akari/.cache/yay/hyprcursor-git/hyprcursor-git-0.1.9.r11.g912d5602-1-any.pkg.tar.zst /home/akari/.cache/yay/hyprcursor-git/hyprcursor-git-debug-0.1.9.r11.g912d5602-1-any.pkg.tar.zst /home/akari/.cache/yay/aquamarine-git/aquamarine-git-0.4.1_r215.ge4a1320-1-x86_64.pkg.tar.zst /home/akari/.cache/yay/aquamarine-git/aquamarine-git-debug-0.4.1_r215.ge4a1320-1-x86_64.pkg.tar.zst] - exit status 1
==> Making package: hyprland-git 0.42.0.r64.82c67e61-1 (Sun 08 Sep 2024 09:39:57 AM CST)
==> Checking runtime dependencies...
==> Missing dependencies:
-> aquamarine-git
-> hyprcursor-git
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
-> error making: hyprland-git-exit status 8
==> Making package: hyprcursor-git 0.1.9.r11.g912d5602-1 (Sun 08 Sep 2024 09:39:58 AM CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating hyprcursor git repo...
==> Validating source files with sha256sums...
hyprcursor ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of hyprcursor git repo...
Cloning into 'hyprcursor'...
done.
==> Starting pkgver()...
==> Sources are ready.
-> hyprcursor-git-0.1.9.r11.g912d5602-1 already made -- skipping build
==> Making package: hyprcursor-git 0.1.9.r11.g912d5602-1 (Sun 08 Sep 2024 09:40:01 AM CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Sources are ready.
==> Making package: aquamarine-git 0.4.1_r215.ge4a1320-1 (Sun 08 Sep 2024 09:40:02 AM CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating aquamarine git repo...
==> Validating source files with sha256sums...
aquamarine ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of aquamarine git repo...
Cloning into 'aquamarine'...
done.
==> Starting pkgver()...
==> Sources are ready.
-> aquamarine-git-0.4.1_r215.ge4a1320-1 already made -- skipping build
==> Making package: aquamarine-git 0.4.1_r215.ge4a1320-1 (Sun 08 Sep 2024 09:40:05 AM CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Sources are ready.
loading packages...
resolving dependencies...
looking for conflicting packages...
:: hyprcursor-git-0.1.9.r11.g912d5602-1 and hyprcursor-0.1.9-1 are in conflict. Remove hyprcursor? [y/N] y
Packages (5) hyprcursor-0.1.9-1 [removal]  aquamarine-git-0.4.1_r215.ge4a1320-1  aquamarine-git-debug-0.4.1_r215.ge4a1320-1
hyprcursor-git-0.1.9.r11.g912d5602-1  hyprcursor-git-debug-0.1.9.r11.g912d5602-1
Total Installed Size:  21.90 MiB
Net Upgrade Size:      21.28 MiB
:: Proceed with installation? [Y/n] y
(4/4) checking keys in keyring
[###################################################] 100%(4/4) checking package integrity
[###################################################] 100%(4/4) loading package files
[###################################################] 100%(4/4) checking for file conflicts
[###################################################] 100%error: failed to commit transaction (conflicting files)
error: failed to commit transaction (conflicting files)
aquamarine-git: /usr/include/aquamarine/allocator/Allocator.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/allocator/GBM.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/allocator/Swapchain.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/backend/Backend.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/backend/DRM.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/backend/Headless.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/backend/Misc.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/backend/Session.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/backend/Wayland.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/backend/drm/Atomic.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/backend/drm/Legacy.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/buffer/Buffer.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/input/Input.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/misc/Attachment.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/include/aquamarine/output/Output.hpp exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/lib/libaquamarine.so exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/lib/pkgconfig/aquamarine.pc exists in filesystem (owned by aquamarine)
aquamarine-git: /usr/share/licenses/aquamarine/LICENSE exists in filesystem (owned by aquamarine)
Errors occurred, no packages were upgraded.
-> error installing: [/home/akari/.cache/yay/hyprcursor-git/hyprcursor-git-0.1.9.r11.g912d5602-1-any.pkg.tar.zst /home/akari/.cache/yay/hyprcursor-git/hyprcursor-git-debug-0.1.9.r11.g912d5602-1-any.pkg.tar.zst /home/akari/.cache/yay/aquamarine-git/aquamarine-git-0.4.1_r215.ge4a1320-1-x86_64.pkg.tar.zst /home/akari/.cache/yay/aquamarine-git/aquamarine-git-debug-0.4.1_r215.ge4a1320-1-x86_64.pkg.tar.zst] - exit status 1
error installing: [/home/akari/.cache/yay/hyprcursor-git/hyprcursor-git-0.1.9.r11.g912d5602-1-any.pkg.tar.zst /home/akari/.cache/yay/hyprcursor-git/hyprcursor-git-debug-0.1.9.r11.g912d5602-1-any.pkg.tar.zst /home/akari/.cache/yay/aquamarine-git/aquamarine-git-0.4.1_r215.ge4a1320-1-x86_64.pkg.tar.zst /home/akari/.cache/yay/aquamarine-git/aquamarine-git-debug-0.4.1_r215.ge4a1320-1-x86_64.pkg.tar.zst] - exit status 1
How to reproduce
yay -S hyprland-git
Crash reports, logs, images, videos
No response

You can delete all aquamarine in /usr/include/, did you build and install aquamarine  before installing Hyprland-git?

Thanks myamusashi. I could launch hyprland after running sudo pacman -R aquamarine

After sucessfully install Hyprland and launch it, when I launch kitty, it launched and immediately disappear...

hyprland log
[LOG] Instance Signature: 312411fc7073143a8bf1fc3ba23ef403b7d15eee_1725768344_1358391955
[LOG] Runtime directory: /run/user/1000/hypr/312411fc7073143a8bf1fc3ba23ef403b7d15eee_1725768344_1358391955
[LOG] Hyprland PID: 72441
[LOG] ===== SYSTEM INFO: =====
[LOG] System name: Linux
[LOG] Node name: moe
[LOG] Release: 6.10.6-arch1-1
[LOG] Version: #1 SMP PREEMPT_DYNAMIC Mon, 19 Aug 2024 17:02:39 +0000
[LOG] GPU information:
00:0f.0 VGA compatible controller [0300]: VMware SVGA II Adapter [15ad:0405] (prog-if 00 [VGA controller])
Subsystem: VMware SVGA II Adapter [15ad:0405]
[LOG] os-release:
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
[LOG] ========================
[INFO] If you are crashing, or encounter any bugs, please consult https://wiki.hyprland.org/Crashes-and-Bugs/
[LOG]
Current splash: The AUR packages always work, except for the times they don't.
[LOG] Old rlimit: soft -> 1024, hard -> 524288
[LOG] New rlimit: soft -> 524288, hard -> 524288
[LOG] Creating the EventLoopManager!
[LOG] Creating the HookSystem!
[LOG] Creating the KeybindManager!
[LOG] Creating the AnimationManager!
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 56.75µs. Estimated average calc time: 0.07µs.
[LOG] Creating the ConfigManager!
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 15.27µs. Estimated average calc time: 0.05µs.
[LOG] Using config: /home/akari/.config/hypr/hyprland.conf
[INFO] !!!!HEY YOU, YES YOU!!!!: further logs to stdout / logfile are disabled by default. BEFORE SENDING THIS LOG, ENABLE THEM. Use debug:disable_logs = false to do so: https://wiki.hyprland.org/Configuring/Variables/#debug

Are you using a virtual machine? and yes it doesn't work in vm.

I recommend you to use foot instead

Yes, I am running archlinux on VMware workstation. I will try to use foot. Thanks.
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Gilang ramadhan @.>
Sent: Sunday, September 8, 2024 5:14:46 PM
To: hyprwm/Hyprland @.>
Cc: AkariH @.>; Author @.>
Subject: Re: [hyprwm/Hyprland] Hyprland-git failed to install Could not resolve all dependencies. (Issue #7691)
I recommend you to use foot instead
—
Reply to this email directly, view it on GitHubhttps://github.com/hyprwm/Hyprland/issues/7691#issuecomment-2336610733, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AP5MGJAUJCUEF54ZP6U2ZTDZVQIQNAVCNFSM6AAAAABN2QOT5WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZWGYYTANZTGM.
You are receiving this because you authored the thread.Message ID: @.***>

this is not a bug tracker for packaging issues on external distributions


Update CEFOverviewWorkbook.json

Required items, please complete
Change(s):

Updated the CEFOverview workbook to include workspace parameter & removed default values

Reason for Change(s):

See guidance below

Version Updated:

Required only for Detections/Analytic Rule templates
See guidance below

Testing Completed:

See guidance below

Checked that the validations are passing and have addressed any issues that are present:

See guidance below

Guidance <- remove section before submitting

Before submitting this PR please ensure that you have read the following sections and filled out the changes, reason for change and testing complete sections:
Thank you for your contribution to the Microsoft Sentinel Github repo.

Details of the code changes in your submitted PR.  Providing descriptions for pull requests ensures there is context to changes being made and greatly enhances the code review process.  Providing associated Issues that this resolves also easily connects the reason.

Change(s):

Updated syntax for XYZ.yaml

Reason for Change(s):

New schema used for XYZ.yaml
Resolves ISSUE #1234

Version updated:

Yes
Detections/Analytic Rule templates are required to have the version updated

The code should have been tested in a Microsoft Sentinel environment that does not have any custom parsers, functions or tables, so that you validate no incorrect syntax and execution functions properly.  If your submission requires a custom parser or function, it must be submitted with the PR.

Testing Completed:

Yes/No/Need Help

Note: If updating a detection, you must update the version field.

Before the submission has been made, please look at running the KQL and Yaml Validation Checks locally.
https://github.com/Azure/Azure-Sentinel#run-kql-validation-locally

Checked that the validations are passing and have addressed any issues that are present:

Yes/No/Need Help

Note: Let us know if you have tried fixing the validation error and need help.

References:

Guidance for Detection checks
General contribution guidance
PR validation troubleshooting

Hi @prtanej I have removed value of subscription from workbook due to validation checks fail we were getting error "A workbook template must not contain any references to resources".
After removed value section and kept it null now all validation checks are passed so is that valid to remove that subscription value.


How do I change the entire message bg?

How can I change the background color of the entire message?  I dont want it to use the Normal highlight group.  I'd prefer to use the default ones (or some other group) and style them thru my theme.  It seems no matter what I do, some part of the message still gets the Normal highlight group.

I don't want to create a new topic. Can you tell me how can I install this plugin? I don't see the instructions.(

what plugin? are you talking about notify? the instructions are in the readme for this repo. did you mean to comment on this issue?

какой плагин? ты о чем notify? инструкции находятся в файле readme для этого репо. Вы хотели прокомментировать этот вопрос?

I'm a beginner. Usually I see how they ask in the instructions to download something and write Plug 'notify'

i dont think you intend to ask that question here. the instructions for the plugin can be found here ... this is a github issue about.a specific problem i am having.

Your config should now work as you want. The "Body" highlight will be used as the normal highlight from now on

tyvm!!!


TypeError: Cannot read property 'core' of undefined at Object.setPrototypeOf.proto

I'm submitting a ...  (check one with "x")
[ ] bug report => check the FAQ and search github for a similar issue or PR before submitting
[X] support request => check the FAQ and search github for a similar issue before submitting
[ ] feature request

Current behavior
Exception is raised when the application is bootstrapped.  The application still works, but this exception is blocking automated build.
Code block where exception occurs:

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs/observable/of'), require('rxjs/Observable'), require('rxjs/operators')) :
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', 'rxjs/observable/of', 'rxjs/Observable', 'rxjs/operators'], factory) :
(factory((global['ngx-translate'] = global['ngx-translate'] || {}, global['ngx-translate'].core = {}),global.ng.core,global.Rx.Observable,global.Rx,global.Rx.Observable.prototype));
}(this, (function (exports,core,of,Observable,operators) { 'use strict';

Exception (as reported by Chrome):

Uncaught TypeError: Cannot read property 'core' of undefined
at Object.setPrototypeOf.__proto__ (universalModuleDefinition:5)
at universalModuleDefinition:6

Exception (as reported in VS Code):

Exception has occurred: TypeError
TypeError: Cannot read property 'core' of undefined
at Object.setPrototypeOf.__proto__ (http://localhost:4200/scripts.bundle.js:5:114)
at http://localhost:4200/scripts.bundle.js:6:2

The undefined object is "global.ng".
Expected/desired behavior
No exception raised.
Please tell us about your environment:
Windows 10, VS Code, Angular, ngx-translate, ngrx-store

ngx-translate version: 8.0.0

Angular version: 5.0.3

Browser: Chrome Version 62.0.3202.94 (Official Build) (64-bit) | Microsoft Edge 41.16299.15.0

Prior to the upgrade to ngx-translate 9.0.0 (from 8.0.0), we were getting an exception that was identical to this one at the application startup.

Do you have any kind of reproduction? A repo, a plunkr, a stackblitz?

I'm afraid the repo is not publicly accessible.  I'm loading the library in a fairly textbook manner:
`export function HttpLoaderFactory(http: HttpClient) {
return new TranslateHttpLoader(http);
}
let imports = [
BrowserModule,
HttpClientModule,
TranslateModule.forRoot({
loader: {
provide: TranslateLoader,
useFactory: HttpLoaderFactory,
deps: [HttpClient]
}
}),
...
]
@NgModule({
declarations: [
...
],
entryComponents: [ ... ],
imports: imports,
providers: [
...
],
bootstrap: [AppComponent]
})`
My tsconfig is as follows:
{   "compileOnSave": false,   "compilerOptions": {     "outDir": "./dist/out-tsc",     "sourceMap": true,     "declaration": false,     "moduleResolution": "node",     "emitDecoratorMetadata": true,     "experimentalDecorators": true,     "target": "es5",     "typeRoots": [       "node_modules/@types"     ],     "lib": [       "es2016",       "dom"     ]   },   "angularCompilerOptions": {     "preserveWhitespaces": false   } }

if you are using the cli, are you using a version >=1.5 ?

We're using 1.5.4 of the CLI.

The issue was the inclusion of the following scripts in "apps" section of .angular-cli.json:
"scripts": [
<EMAIL_ADDRESS><EMAIL_ADDRESS>],

Removing those scripts removed the error.


Isabelle2020 dune m1

Check if tlapm builds on macOS arm64 (M1) after upgrading Isabelle.

@kape1395 Please consider accepting the build on m1 into your isabelle2020-dune branch.

The isabelle2020-dune branch was missing changes from the main.
I merged them now, now this branch conflicts :( Could you resolve that?

Nevermind, I fixed the conflict.


yarn-container-logs not giving back any containers

Hi, I'd love to use your tool, however, it seems like yarn-container-logs is not outputting any container logs at all. All the folders inside the created application ID folder are empty.
$ yarn-container-logs 0025
Downloading logs for application_1457471530597_0025 and splitting per-container...
/usr/hdp/<IP_ADDRESS>-169//hadoop-yarn/bin/yarn.distro: line 64: /localhome/hadoop/hadoop-2.6.0/libexec/yarn-config.sh: No such file or directory
Done downloading; rename and create per-host directories...
Removing: ./containers/container-
Look for driver containers and application masters...
grep: containers/container_*: No such file or directory
grep: containers/container_*: No such file or directory
Creating EID symlinks...
grep: containers/*: No such file or directory

$ ls application_1457471530597_0025/containers

Turns out that Bash is not configured properly on my cluster. I will see if I can get this resolved. Would be nice if these scripts would work with Zsh.

Got Bash working properly. The script still doesn't work:
$ yarn-container-logs 0025
Downloading logs for application_1457471530597_0025 and splitting per-container...
16/04/19 17:39:00 INFO impl.TimelineClientImpl: Timeline service address: http://xxxxxxxxxx:8188/ws/v1/timeline/
16/04/19 17:39:00 INFO client.RMProxy: Connecting to ResourceManager at iccluster075.iccluster.epfl.ch/<IP_ADDRESS>:8050
Unable to get ApplicationState. Attempting to fetch logs directly from the filesystem.
Done downloading; rename and create per-host directories...
Removing: ./containers/container-
Look for driver containers and application masters...
grep: containers/container_*: No such file or directory
grep: containers/container_*: No such file or directory
Creating EID symlinks...
grep: containers/*: No such file or directory

Please close the issue when you see this, as it is not very relevant. Are you interested if I make some additions to the scripts?

Hi @zommerfelds! Thanks for dropping in, as you've noticed these scripts are rough around the edges. Any additions you want to make are welcome. I'll add set -e to yarn-container-logs and document the $PATH addition as you mentioned.

Also, if you can describe more what went wrong with finding the cluster ID, that would be nice to get fixed as well

I added set -e, and made the .sourceme file add the repo dir to $PATH and documented it on the README.

Thanks!
The reason for the ID being wrong is that for some reason there exist two different application_XXXXXXXX prefixes. I don't know where this ID comes from. An alternative would be to grep all the applications every time you run yarn-container-logs and try to mach it with the input.

Yea we could go through the YARN API but it is slow IME so it'd be nice to avoid that.
On my cluster, that prefix seems to be fixed for the life of the RM, and is updated only on RM restart. Is it possible you're looking at apps from different RM incarnations?

It is possible yeah, but I'm not sure, since I don't manage the cluster. The admins are currently setting up the cluster; it could be that they restarted it a few times in the beginning. Maybe we can change the ID to be the last match, rather than the first one.

gtk. My current disposition is that the 4-digit-abbreviation only working during the lifetime of one YARN RM process is "working as intended".
Whenever my RM is restarted I run yarn-refresh-cluster-id to get ~/.yarn-cluster-id updated.
i'm not even sure otomh what to grep for the 4-digit argument in, to figure out which app the user might be referring to, across multiple RM incarnations; yarn application -list will only show apps from the current RM.
Passing the full app ID when it's from a previous RM seems like the right workaround.

Actually, if I run yarn application -list -appStates ALL I see different ID prefixes. Maybe they persisted across restarts or maybe the different IDs are not related to restarts.
BTW, this is not a big problem for me, my main use of the script right now is to split containers logs.

Great, sounds good, I'll close this then. Thanks for your help.


[BUG] Test Branch: If statement always evauluate to True

In raising this issue, I confirm the following:
{please fill the checkboxes, e.g: [X]}

[X] I have read and understood the contributors guide.
[X] The issue I am reporting can be replicated.
[X] The issue I am reporting can be is directly related to the pivpn installer script.
[X] The issue I am reporting isn't a duplicate (see FAQs, closed issues, and open issues).

Describe the bug
The if statement at: https://github.com/pivpn/pivpn/blob/8d9bb3422b4f608011ca4ac6b741268d71eaedc3/auto_install/install.sh#L490-L496
Is always evaluated to True as an echo will always produce a new line even if a var is empty.
To Reproduce
Just try this part of the script alone:
#!/bin/bash
if [ "$(echo "${availableInterfaces}" | wc -l)" -eq 1 ]; then
	IPv4dev="${availableInterfaces}"
	echo "::: No interface specified, but only ${IPv4dev} is available, using it"
else
	echo "::: No interface specified"
	exit 1
	fi

Expected behavior
Script should bailout if it cant find any available interface as well.
Additional context
found this while reviewing test branch code, Will be submitting a fix for this today, latest tomorrow.

Just noticed the whole function might not work exactly as expected, the whole logic needs to be changed, maybe we didn't noticed this because there are not many users having more than one interface active at time.
wc -l should not be used to count for stuff inside strings or arrays.
should be used ${#var[@]} to count array items
for strings .. i thing wc -w should be good enough to get the word count
availableInterfaces is being considered a string instead of an Array, which will always make it return 1 while line counting, to test this lets cause availableInterfaces to get more interfaces ( no only the Up ones), so I have removed the filter for "state UP" to pick up multiple interfaces
┌─[f0rs3ti@nebuchadnezzar]─[~/temp]
└──╼ $availableInterfaces=$(ip -o link | awk '{print $2}' | cut -d':' -f1 | cut -d'@' -f1)
┌─[f0rs3ti@nebuchadnezzar]─[~/temp]
└──╼ $echo $availableInterfaces
lo enp0s31f6 wlp61s0 wwp0s20f0u6
┌─[f0rs3ti@nebuchadnezzar]─[~/temp]
└──╼ $echo $availableInterfaces | wc -l
1
┌─[f0rs3ti@nebuchadnezzar]─[~/temp]
└──╼ $echo ${#availableInterfaces[@]}
1
┌─[f0rs3ti@nebuchadnezzar]─[~/temp]
└──╼ $testarray=("a" "b" "c")
┌─[f0rs3ti@nebuchadnezzar]─[~/temp]
└──╼ $echo $testarray
a
┌─[f0rs3ti@nebuchadnezzar]─[~/temp]
└──╼ $echo ${testarray[@]}
a b c
┌─[f0rs3ti@nebuchadnezzar]─[~/temp]
└──╼ $echo ${#testarray[@]}
3

this should fix it ... I Still only have it locally as i want to test it with some more other changes i have made.
chooseInterface(){
# Turn the available interfaces into an array so it can be used with a whiptail dialog
local interfacesArray=()
# Number of available interfaces
local interfaceCount
# Whiptail variable storage
local chooseInterfaceCmd
# Temporary Whiptail options storage
local chooseInterfaceOptions
# Loop sentinel variable
local firstloop=1

if [ -z "$availableInterfaces" ]; then
    echo "::: Could not find any active network interface, exiting"
    exit 1
else
    while read -r line; do
        mode="OFF"
        if [[ ${firstloop} -eq 1 ]]; then
            firstloop=0
            mode="ON"
        fi
        interfacesArray+=("${line}" "available" "${mode}")
        ((interfaceCount++))
    done <<< "${availableInterfaces}"
fi

if [ "${runUnattended}" = 'true' ]; then
    if [ -z "$IPv4dev" ]; then
        if [ $interfaceCount -eq 1 ]; then
            IPv4dev="${availableInterfaces}"
            echo "::: No interface specified, but only ${IPv4dev} is available, using it"
        else
            echo "::: No interface specified and failed to determine one"
            exit 1
        fi
    else
        if ip -o link | grep -qw "${IPv4dev}"; then
            echo "::: Using interface: ${IPv4dev}"
        else
          	echo "::: Interface ${IPv4dev} does not exist"
            exit 1
        fi
    fi
    echo "IPv4dev=${IPv4dev}" >> /tmp/setupVars.conf
    return
else
    if [ "$interfaceCount" -eq 1 ]; then
        IPv4dev="${availableInterfaces}"
        echo "IPv4dev=${IPv4dev}" >> /tmp/setupVars.conf
        return
    fi
fi

chooseInterfaceCmd=(whiptail --separate-output --radiolist "Choose An interface (press space to select):" "${r}" "${c}" "${interfaceCount}")
if chooseInterfaceOptions=$("${chooseInterfaceCmd[@]}" "${interfacesArray[@]}" 2>&1 >/dev/tty) ; then
    for desiredInterface in ${chooseInterfaceOptions}; do
        IPv4dev=${desiredInterface}
        echo "::: Using interface: $IPv4dev"
        echo "IPv4dev=${IPv4dev}" >> /tmp/setupVars.conf
    done
else
    echo "::: Cancel selected, exiting...."
    exit 1
fi
}

Fix pushed here: https://github.com/pivpn/pivpn/commit/5cea5bddf80d9138b946a21d01ad5513dfd3cbbb


[WORKFLOWS-501] Update usage instructions with public release

Now that https://github.com/nextflow-io/plugins/pull/4 has been merged, nf-prov users can activate the plugin anywhere they want as long as they are using a sufficiently recent version of Nextflow.

This looks great @BrunoGrandePhD, Do you think this should be part of the sage config profile?

Good idea! I looked into it, and it's tricky to come up with a default set of arguments that can live in the sage.config file. For example, how do we set the output file path for the manifest without risking overwriting files? I'm going to leave it out for now until we are motivated by a need.


The games Gomoku swap2, minishogi, diceshogi,  and kyotoshogi have indexing/UB errors

See this log in CircleCI
https://app.circleci.com/pipelines/github/AlignmentResearch/polygames/50/workflows/156a1321-441a-4019-898d-0ccb7cf56d1a/jobs/55
As found by the Clang sanitizer.

I suggest we just disable the tests for these things and print a warning to stderr every time they are created.

solved in #39


simple_serialise - not possible to parse the structure without type information

Due to the special encoding of 'hash32' and 'address' without any prefix, it will not be possible to parse any simple_serialise messages without knowing the type. This might seem to be OK, but precludes writing of generic parsers that do not depend on the type being parsed. The consequence that any tools/libraries that look at traffic and analyse it has to be type-dependent and will have to be updated any time types change. That will create unnecessarily tight coupling between serialisation format and the tooling.
Also, list and 'type' encodings look like a length-prefixed blob, and without type information it is impossible to see how many elements/fields they have and the boundaries of these elements/fields.
RLP does not have this drawback, for example. But it has its own issues, of course.
Another concern is that serialised messages can mean different things depending on the schema. That is more of a safety/security concern - if we have software of two slightly incompatible version, we can have very hard to find bugs due to misinterpreted messages. Generally, it should be possible to have a high assurance that changing the schema will not successfully parse any messages that were produced by a different schema (or at least a schema of the previous version).

We're sending Blocks and AttestationRecords across the network, so there's not many different types we need to accommodate for.

This is true for now, but probably not in the long term. Additional types from the top of my head:

EVM Transactions
Potentially transactions targeting other execution engines
Shard blocks
Shard headers
State requests and responses for light clients
Proof of custody challenges and responses

@paulhauner Thank you for your comment! I had an impression from the Eth 2.0 call on 13.09.2018 that simple_serialise had been proposed for p2p serialisation (since p2p serialisation was on the agenda).
As for consensus serialisation (serialise things before they get hashed and signed - and I assume you are saying that deserialisation will not actually happen), one of the main requirements there is to be able to avoid excessive dynamic memory allocations during the serialisation. To achieve that, serialisers might want to compute the resulting serialisation size efficiently, before starting the serialisation. Or, alternatively, if we are using sponge-based hash functions (like Keccak) that can consume streams of data as input. In the latter case, prepending the serialisation with the length prefix actually makes it harder, because you cannot start the stream until you have computed the whole serialised string.
Therefore, if simple_serialise is to be used for one-way serialisation (input to hash functions, therefore no deserialisation is required), then I suggest dropping length prefixes, because that would allow streaming input to the sponge hash functions like Keccak

@mratsim Yes, I agree:  make schema mandatory serialisation/deserialisation has many problematic consequences. It is not memory efficient, as you said, it precludes generic analysis tools and libraries, it introduces potential for mis-interpretation, and makes the consideration of backwards compatibility much harder. And it also mingles syntax and semantics of messages into one, inseparable into different layers of codes/decoders

RLP is actually good serialisation format for wire encoding. I do not agree that it is overly complicated - but I have seen some implementations that make it look complicated.
I do agree that RLP is not great to generate input for hashing. Therefore, I suggest using RLP for wire messages, but for making inputs for hashes use simple serialisation streams without length prefixes (because length prefixes force us to buffer input instead of simple start hashing it). Since no-one is going to undo the hashes and deserialise, it is not important to have length prefixes

@paulhauner Do you have the benchmark of SSZ v.s. RLP?

Do we want to support two serializations? Does the outcome of introducing e.g. SSZ is so big to maintain both RLP and SSZ or ProtoBuf and SSZ?

@jannikluhn good point about future data types. Thanks.
@AlexeyAkhunov no worries, happy to talk about this. With regards to the ssz length prefixes, I don't see a need to remove them before we hash. I think the entire SSZ byte-array should be hashed.
@hwwhww we updated the serialization_sandbox notes with RLP message sizes :)
@mkalinin I am in favor of using SSZ for both p2p serialization and consensus serialization because it's pretty small and I think one of the very first things we want to do with some block/attestation record when we get it off the wire is hash it. Having two formats would require some translation. I'm totally open to discussion on this though.

We are currently using RLP as it has already been implemented in EthereumJ. I agree that RLP is over complicated in terms of implementation and open for changing it. But there is no sense to me in supporting several serializations, it sounds even more complicated than implementing RLP.
So, it's OK to change serialization algorithm but the new one should handle all the cases and replace RLP all over the codebase. IMHO, if something that we want to switch to doesn't fit some of the cases then we should consider another algorithm.

@mkalinin I totally agree.

Hi @AlexeyAkhunov, I didn't make the connection between yourself and TurboGeth earlier. Knowing this, I'll give your proposal much more thought as your knowledge on the subject is more extensive than mine.

The two arguments in favor of using the same serialization format for networking and hashing are

simplicity: Two serialization formats are more complicated than one
performance: If the same format is used, a received packet can be hashed (almost) immediately without an additional de+serialization step, which is non-negligible for less performant languages such as Python

I'm wondering if both arguments are valid if we go with the libp2p daemon: I assume libp2p has its own transport serialization format and considering that it's implemented in Go this should also not be our bottleneck. It's also fully abstracted away from us, so it doesn't affect simplicity of the Eth2.0 client itself.
So the relevant question becomes which serialization format do/should we use to communicate with the daemon? There we have of course different trade offs, in particular we don't need to care about size so much as the messages aren't transmitted via the network. @raulk Has this been specified already?

@AlexeyAkhunov could you, please, outline your thoughts on what requirements both algorithms should satisfy? Maybe you even have some algorithms to take a look at? It would help to get why SSZ is not suitable for network serialization from your point of view and raise further discussion on alternatives.

@jannikluhn libp2p is agnostic of the wire format of messages. The control API of the daemon does use protobuf, but that should be well encapsulated inside the binding, e.g. py-libp2p-binding. It's used to exchange commands and control signals like: "open connection", "open stream", "new incoming stream", DHT operations, etc. between the binding and the daemon.
The application itself (Eth2.0 implementations) can select whatever wire format is best for them. The daemon just pipes raw reads and writes on the local unix socket representing the stream, into reads and writes on the underlying libp2p stream.

Thanks for clearing that up, @raulk! Disregard my post then as we still have to decide on a wire format by ourselves.

IMHO the network should relay consensus objects without re-encoding them. These objects can always be represented as byte arrays, e.g. a message defined as a protocol buffer can include a 'block' object as a blob.
To solve the issue that started this discussion, it would be best to define consensus objects as an ssz blob with a known header including a version number, e.g. a block would be encoded as "block-v1-..." with ... being the ssz blob.


sql: no rows in result set

Describe the bug
After updating to latest release (in this case, Android, but is likely a cross-platform issue), starting the app leads to an sql no rows error.
To Reproduce
Steps to reproduce the behavior:

Update to latest release (Android)
Open App
See error

Expected behavior
Expected to start onboarding/migration flow in app.
Screenshots

Smartphone (please complete the following information):

Device: [e.g. Android Nexus]
Version [e.g. 22]

Additional context
This was after a Play Store update from a relatively recent fresh install.

Closing this one as 'stale'. Please reopen if needed.


Ignore collection not found error when dropping collections.

One comment to address. Otherwise LGTM and can be merged if there's no err.code to use or if replaced with the appropriate check.


vagrantfile-ubuntu1404-desktop.tpl contains deprecated network type

v.vmx["ethernet0.virtualDev"] = "vmxnet3"
When installing VMware Tools there are a ton of warnings about the vmxnet3 no longer being supported. The e1000 in a lot of cases has better performance anyways as it gets tuned by Linux kernel experts and not just the folks at VMware. I'd suggest changing it to the e1000 or another valid type especially since 1404 is running kernels that don't support the vmxnet3 type at all anymore.
I will try to test this and submit a pull request, but I don't see it affecting things negatively.

I've discovered that they now have the vmxnet drivers built into open-vm-tools, which is why they don't recommend vmware tools and the kernel modules. vmxnet3 is potentially higher performing than e1000, so I'll withdraw my concern.


Don't reuse any message components

Was causing the exploding animation to re-explode messages sometimes. r? @keybase/react-hackers

cc @malgorithms

this could solve some measuring issues


mapper [x] cannot be changed from type [float] to [long]

The following covers what the bug is, instructions to reproduce it and why i think it happens.

We use opensearch where I work

One day, I got this error:

I am confident this is because of how the library deals with types internally to speak to opensearch API. the following is why:

This error comes specifically when workflow.actions.position.X has a value of float64(206). Usually, since these positions are entered by the user through the GUI, the probability of these positional values being perfect is less. Usually, they have a decimal at the end. But when i got this bug, It just so happened that there was a perfect value at use.

Here is how the struct for this object looks like:

Here is what i think is happening demonstrated with an example (this is pretty interesting):

this is for a golang code that uses a float value, puts it into a struct (which expects float64), converts it into JSON.

Notice how even for values which are typed as float64, the JSON object converted might convert them into what might be confused as an integer, rather than a float.
This might cause the API server to throw the errors it is throwing :)

Update:

this fixes the issue temporarily but i can see similar annoying bugs with timestamps as well. Thought you all should know.

For context, we do use json.Marshal() ourselves. hmm. Technically, it's us who is causing this bug, but I wonder if you folks can also watch out for something like this somehow.

Thanks for the report @0x0elliot. What do you expect the library to do in this case? Maybe try to write a unite test that reproduces the error?

Thanks for the report @0x0elliot. What do you expect the library to do in this case? Maybe try to write a unite test that reproduces the error?

Thanks for the response @dblock. I decided that it's rather a encoding/json issue and has nothing to do with go-opensearch.


DateRangePicker getting select one day back date when i select start date.

As example When i click on 19th March on dateRangePicker calendar, its automatically getting selected as 20th March as "start date". For end date selection working fine.
I want to select the date whatever i am choosing from calendar.
Could you please help me.

Thanks It's fixed. I was using old version so i was getting error.


What are the possible choices for Audio-out?

Raspberry Pi as a built-in audio Jack that we can use. We can connect a headset or a speaker (in the demo).

Raspberry Pi as a built-in audio Jack that we can use. We can connect a headset or a speaker (in the demo).

I think it may be better to use a bluetooth headset with an audio jack receiver. This makes it a bit more efficient and less cumbersome to deal with?


[Test]:Implement oom kill

Signed-off-by: tarukumar<EMAIL_ADDRESS>Test case to verify OOM kill by creating multiple namespace in openshift
steps:

Create 1500 namespace
Check the rhods operator status
launch rhods and spawn notebook
Delete the namespace
Check if all the dummy namespace is delete or not

Note:Number of namespace is hard coded to 1500 by keeping in mind with minimum cluster configuration

/test image=qe-catalog-source:v160-8;testrepo=https://github.com/tarukumar/ods-ci;testbranch=rhods-OOM-kill-verification;testuser=user1;testcluster=qeaisrhods-ts1;testarg=--extra-robot-args '-i ODS-1091';

/test image=qe-catalog-source:v160-8;testrepo=https://github.com/tarukumar/ods-ci;testbranch=rhods-OOM-kill-verification;testuser=user1;testcluster=qeaisrhods-ts0;testarg=--extra-robot-args '-i ODS-1091';


Compatibility with Oracle 11

Default names of tables and foreign keys are incompatible with Oracle 11 - since some of them are longer then 30 characters.
This constraint can be solved by externalizing the package.jdo file and adaptin it, but in the e.g. ApplicationPermission class the index name is simply too long:
@javax.jdo.annotations.Uniques({@javax.jdo.annotations.Unique(name = "ApplicationPermission_role_feature_rule_UNQ", members = {"role", "featureType", "featureFqn", "rule"})})
In total there are 7 indexes with too long names.

please raise a PR, I'll be happy to merge it in.

moved to https://github.com/incodehq/incode-platform/issues/39


Please add license

Your code cannot be used in projects without a license like MIT License.
Can you add that? :)

https://github.com/kerimcharfi/prisma-compositor/commit/df656b2a2efc9a59ad8bb495e3fc5e1c4874f20d :blush:


How to mirror camera's output in case of fallback ?

I tried to tweak the actionscript files but could not make it work, any ideas how it can be done ?

You want to flip the image, is that what you mean? Like a horizontal flip?


Swtich to users group

ref https://keboola.atlassian.net/browse/PS-24

tvl :-( .  that directory is writable.  locally it passes.


Coroot agent fails to detect and monitor KeyDB but detects Redis

I installed the coroot agent on my kubernetes cluster to monitor the performance of my KeyDB instance. However, I noticed that the agent is not able to detect and monitor KeyDB, whereas it is able to detect and monitor Redis on the same kubernetes cluster.

KeyDB is a fork of redis the export is the same as Redis.

Steps to reproduce:

Install the coroot agent on the kubernetes cluster.

Install KeyDB and Redis on the same kubernetes cluster.

Check the coroot agent dashboard to see if both KeyDB and Redis are being monitored.

Expected behavior:
The coroot agent should be able to detect and monitor both KeyDB and Redis.
Actual behavior:
The coroot agent is only able to detect and monitor Redis. It is not able to detect and monitor KeyDB.
Additional information:

I am using the latest version of the coroot agent.

I have checked that KeyDB is running on the kubernetes cluster and is accessible.

I have checked the coroot agent logs and did not find any errors related to KeyDB.

Please let me know if there is anything else I can provide to help resolve this issue.

@YoranSys, please update to coroot:0.14.3 and coroot-node-agent:1.7.0


Static creator for reference holder

The creator method in parcelable referenceholder should be static. Now it crashes when you those need need to be restored with the following exception "expected receiver of type com.github.johnpersano.supertoasts.SuperCardToast$ReferenceHolder, but got null"

I get expected receiver of type com.github.johnpersano.supertoasts.SuperCardToast$ReferenceHolder, but got null error, but I can't understand why. I use last 1.3.4aar. Is it have 4c8d4ac changes?


🚧 Adds MLflow materializer

🚧 WIP 🚧
Changes
How I tested this
Notes
Checklist

[ ] PR has an informative and human-readable title (this will be pulled into the release notes)
[ ] Changes are limited to a single goal (no scope creep)
[ ] Code passed the pre-commit check & code is left cleaner/nicer than when first encountered.
[ ] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future TODOs are captured in comments
[ ] Project documentation has been updated if adding/changing functionality.

how to save a model into mlflow: https://mlflow.org/docs/latest/quickstart.html#store-a-model-in-mlflow
how to load a model from mlflow: https://mlflow.org/docs/latest/quickstart.html#load-a-model-from-a-specific-training-run-for-inference

most (if not all) model flavors
>>> import mlflow
>>> mlflow.__version__
'2.7.1'
>>> [attr for attr in dir(mlflow) if hasattr(getattr(mlflow, attr), 'log_model')]
[
    'catboost', 'diviner', 'fastai', 'gluon', 'h2o', 'johnsnowlabs', 'langchain',
    'lightgbm', 'mleap', 'onnx', 'openai', 'paddle', 'pmdarima', 'prophet',
    'pyfunc', 'pytorch', 'sentence_transformers', 'sklearn', 'spacy', 'spark',
    'statsmodels', 'tensorflow', 'transformers', 'xgboost'
]

example of load/save flow for sklearn model flavor:
from sklearn.model_selection import train_test_split
from sklearn.datasets import load_diabetes
from sklearn.ensemble import RandomForestRegressor

import mlflow
from mlflow.models import infer_signature

run_id = None

db = load_diabetes()
X_train, X_test, y_train, y_test = train_test_split(db.data, db.target)

with mlflow.start_run() as run:
    rf = RandomForestRegressor(n_estimators=100, max_depth=6, max_features=3)
    rf.fit(X_train, y_train)
    save_predictions = rf.predict(X_test)
    signature = infer_signature(X_test, save_predictions)
    mlflow.sklearn.log_model(rf, "model", signature=signature)
    run_id = run.info.run_id

model = mlflow.sklearn.load_model(f"runs:/{run_id}")
load_predictions = model.predict(X_test)

assert save_predictions == load_predictions

disclaimer: I have not tested this

chatgpt-generated tensorflow example:
import tensorflow as tf

import mlflow
from mlflow.models import infer_signature

run_id = None
(X_train, y_train), (X_test, y_test) = tf.keras.datasets.boston_housing.load_data()

with mlflow.start_run() as run:
    model = tf.keras.Sequential([
        tf.keras.layers.Input(shape=(X_train.shape[1],)),
        tf.keras.layers.Dense(64, activation='relu'),
        tf.keras.layers.Dense(32, activation='relu'),
        tf.keras.layers.Dense(1)
    ])
    model.compile(optimizer='adam', loss='mean_squared_error')
    model.fit(X_train, y_train, epochs=10, batch_size=32, verbose=2)
    save_predictions = model.predict(X_test)
    signature = infer_signature(X_test, save_predictions)
    mlflow.tensorflow.log_model(tf_saved_model_dir="model", tf_model=model, signature=signature)
    run_id = run.info.run_id

loaded_model = mlflow.tensorflow.load_model(model_uri=f"runs:/{run_id}")
load_predictions = loaded_model.predict(X_test)

assert save_predictions == load_predictions

disclaimer: I have not tested this

Experimental flavors, so can we probably prioritize these last?

Diviner (diviner)
John Snow Labs (johnsnowlabs) (Experimental)- Diviner (diviner)
LangChain (langchain) (Experimental)
OpenAI (openai) (Experimental)
SentenceTransformers (sentence_transformers) (Experimental)
Transformers (transformers) (Experimental)

@bryangalindo we should come up with the Hamilton UX to help guide this. i.e. what's the API we want to expose for Hamilton?

@bryangalindo we should come up with the Hamilton UX to help guide this. i.e. what's the API we want to expose for Hamilton?

Ok let's chat during our sync. Thanks!

High-level tasks:
Analysis:

[ ] Create "hello, world!" version of load_model/log_model to understand mlflow (debug, print stmts, etc).
[ ] Observe directories/files created from log_model
[ ] Understand Hamilton driver at a high level (e.g., adapter, builder)
[ ] Read through files in examples/materialization
[ ] Decide on what reader/writer type makes sense (e.g., .json, MLflowJsonReader/MLflowJsonWriter)
[ ] Decide on the applicable type (e.g., dataframe, classifiers, regressors)
[ ] Decide what metadata to save from model (see hamilton/plugins/mlruns/0/0b9e9b23c3ef443ba638d23e4318b58e/artifacts/model)
[ ] Discover kwargs for log_model, load_model

Reader/Writer Implementation:

[ ] Write reader
[ ] Write writer
[ ] Write get metadata function
[ ] Write unit tests for get metadata function
[ ] Write unit tests for reader/writer

Materializer Implementation:

[ ] Write data loader module (see examples/materialization/data_loaders.py)
[ ] Write model_training module (see examples/materialization/model_training.py)
[ ] Write run.py module (see examples/materialization/run.py)
[ ] Write jupyter notebook example (see examples/materialization/notebook.ipynb)
[ ] Write requirements.txt

Hey @bryangalindo -- a thought on a feature that might be helpful. Here's an outline of what the API should look like -- the data saver/materialization implementatino should support this.
dr = driver.Driver(...)
dr.materialize(
   to.mlflow(
      id="mlflow_save",
      dependencies=["my_cool_model"],
      model_input=source("training_data"),
      model_output=source("predictions"),
   )
)

Then the materializer would call infer_signature with the model_input and model_output -- these would be taken from nodes called training_data and predictions. The DAG would look like:
training_data -> mlflow_save
predictions -> mlflow_save

and possibly more connections. Does this make sense? This is all supported btw -- materializers can take in source/value type parameters -- if they take in one that isn't it, they'll just resolve to a value.

Closed in favor of #945


Password encryption configuration

From chicchiricco on April 11, 2011 12:26:39
At the moment user passwords are crypted as MD5.
A nice feature would be to make configurable whether to use one-way or invertible password encrypting. This could be useful when provide additional password synchronization features
Original issue: http://code.google.com/p/syncope/issues/detail?id=88

From chicchiricco on April 12, 2011 00:36:25
Labels: -Milestone-Release-20110502 Milestone-Release-20110510

From<EMAIL_ADDRESS>on April 14, 2011 08:57:39
Status: Accepted

From<EMAIL_ADDRESS>on April 14, 2011 08:58:16
Owner<EMAIL_ADDRESS>

From<EMAIL_ADDRESS>on April 14, 2011 09:02:07
Status: Fixed


Feature/owner service

Partial implementation, with modification to IOwnerService

What do you mean by 'partial'?

What do you mean by 'partial'?

I had a gut feeling that these should not be all there are to OwnerService but couldn't think of what else should be added so I said "partial". Upon rethinking I realize that this already has all the CRUD actions currently needed.
I will remove the 'partial' description from the PR


relates to #1720: table manager for creating, validating and deleting collections

What this PR does:
Implementation of the TableManager (without the JSON schema management capabilities). Added features:

schema manager methods for accessing the table, with and without schema authorization
table manager for creating, deleting collections and two methods for getting the valid collection table (get and ensure)
authorized version of table manager that authorizes schema read before fetching the table
DocumentTableColumnsImpl to eagerly create all needed columns in ImmutableColumn form
configuration of the consistency level for queries, divided into reads, writes and schema updates
proper and detailed tests to verify each query

Which issue(s) this PR fixes:
Relates #1720
Checklist

[x] Authorized table manager test
[x] Extend schema manager tests for table fetching
[x] Validate table revisit
[x] Tracing annotations
[x] rebase on #1809

Rebased on the latest master.


Unable to add the ipp network printer to cup server

Hi Team,
I would like to add the network printer to cups server using http call ( printer_host_name, port).
I couldn't find the way to add the printer to cupserver from cups api documentation.
Please share the cup api which allows to add ipp network printer into cups and share the different approaches to connect the printer.
Currently, I have connecting the cup server with cups4j library through java.
Thanks

See the CUPS Implementation of IPP, specifically the information about the CUPS-Add-Modify-Printer operation. The "ppd-name" attribute will have a value of 'everywhere' for an IPP Everywhere printer, otherwise you need to specify a driver/model name (lpinfo -m) corresponding to the printer.
For a C code example, look at the "lpadmin.c" file in the CUPS source code.

Thank you for the response.

@gmuth macOS uses an old version of CUPS that doesn't support the "everywhere" virtual PPD; instead, the "lpadmin" command and "admin.cgi" programs did the PPD generation and provided the PPD file as an attachment.

@gmuth It can be anything, including /dev/null - IIRC it is used to update a print queue.


[OpenAI] Add tests and a sample for Batch

Add a sample and a simple unit test and make sure to run it inside a withDeployments call. We need to test create and get status.

Done in #30886 and #31278


Remove all-caps global variables from docs

See here, for instance: https://arosen93.github.io/quacc/reference/quacc.recipes.dftb.core.html

Merged with #238


fix: typo in link of "Edit this page on GitHub"

🔗 Linked issue

❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Update app.config.ts so the link "Edit this page on GitHub" on every page would work correctly

The old link "Edit this page on GitHub" was targeting https://github.com/nuxt-modules/nuxt-modules/i18n/ due to the owner: "nuxt-modules" was repeated also in the repo indocus.github in app.config.ts. This made the hyperlink redirects the user to a wrong URL.

AFAIK, there's no open issue (I did a quick search)
📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

very quick response! thanks ❤


Create website text

"About" page

Home page

Collections home page

Moving this out of this project.


Android: Build failed after adding the plugin

Hello,
When I build the project after adding the plugin, I received the following error:
path_to_my_project/platforms/android/build/intermediates/res/merged/debug/values/values.xml:218: error: Attribute "layout_anchorGravity" already defined with incompatible format.
path_to_my_project/platforms/android/build/intermediates/res/merged/debug/values/values.xml:158: Original attribute defined here.
Please help!

I am having the same issue. Did this get resolved?

This is because of conflicts on the support v4 versions.
This plugin can be configured to select the desired support v4 version so it makes easier to handle those conflicts by using ANDROID_SUPPORT_V4_VERSION variable. (See readme).
Other plugins should do the same.


Enable sort for arbitrary keys

Closed by https://github.com/MoOx/phenomic/commit/721e830b45d0d12570c5b0ce579a79ecb1a14d68


Resolve correct CEL types consistently for all field types

The way we were resolving the CEL types for type-checking expressions was inconsistent between custom and standard constraints. Resulting in compilation errors (particularly around repeated fields). Logic shared between the two (mostly lookups) was moved into the expression internal package and used uniformly for both environments.
This also improves on a previously discovered bug around the Any WKT where custom expressions against such a field would fail with a runtime error if its underlying type was not known to CEL (CEL treats Any's as the underlying type, instead of the Any message itself). The standard constraints on Any do not have this limitation. We are populating the root CEL environment with protoregistry.GlobalFiles for now, but will likely make this configurable in the long-run.
Context: https://github.com/bufbuild/protovalidate/issues/92#issuecomment-1813198938 (h/t @matthewpi)

LGTM, thanks for doing this! Is it possible to also export the expression package so that the CLI can reuse it for linting CEL expressions?

I'm sure we could!


fix: handle missing authConfig gracefully

If an GraphQL API is provisioned using older version CLI its possible that the cloudformation output
might have authConfig missing. The frontend config creator for andorid and iOS did not handle
missing authConfig. Updated to code to handle missing authConfig
fix #2480
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #2518 into master will increase coverage by 0.13%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2518      +/-   ##
==========================================
+ Coverage   65.92%   66.05%   +0.13%
==========================================
  Files         196      197       +1
  Lines        9563     9544      -19
  Branches     1955     1943      -12
==========================================
  Hits         6304     6304
+ Misses       2979     2959      -20
- Partials      280      281       +1

Impacted Files
Coverage Δ

...amplify-appsync-simulator/src/mqtt-server/index.ts

...psync-simulator/src/velocity/util/general-utils.ts

...simulator/src/data-loader/dynamo-db/utils/index.ts

.../amplify-appsync-simulator/src/mqtt-server/util.ts
0% <0%> (ø)

...mplify-appsync-simulator/src/resolvers/function.ts
0% <0%> (ø)

...sync-simulator/src/velocity/value-mapper/mapper.ts
0% <0%> (ø)

...fy-appsync-simulator/src/data-loader/none/index.ts
0% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 35aab06...c7df510. Read the comment docs.


Improve UX

Make more visible buttons for showing source
Show source in popup instead of sending user to github
Show java code in first instance since users prefer that
Split Widget vs Element source
Re-distribute items

Reviewed 13 of 13 files at r1.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from the review on Reviewable.io


Text simplify cosine similarity

This PR has no justification in the description; the description is of size 0. Please always describe what your PR does and don't assume that a brief title is enough, especially when changing code that is not trivial.
It's not clear (to me at least) that the inlining of method calls in the algorithm simplifies anything.


Feature request: Twilio test numbers should pass isMobilePhone validation

Hello, I'm using sequelize model validations which use this validator.
It would be nice if you could add Twilio test numbers as valid phone numbers, here is a list of them:
https://www.twilio.com/docs/api/rest/test-credentials
That would greatly help with the testing.
Thank you!

@chriso -- what's the direction on this one? Is it to expand this en-US regex to accommodate this too?

These pass now:
> validator.isMobilePhone('+15005550000', 'en-US')
true


more details about installation and operation

I don't konw which python in this project.I hope to get some information about it and some more details about operation.

Hi,
Python version is 2.7.16. I plan on releasing a true installation script. Right now things are still a work in progress, but I will update the readme soon for installation steps. The dataset is not public because of its medical nature, we are working on releasing it as well.

Thank you~Hope to see it.

Hi, it has passed 11 days.I think you may commit a pip script.Just using 'pip freeze >requirements.txt' command in your project root and will get a text named requirements.And you can commit it.It contains some dependency packages.Thank you.

Hi,
I updated the readme. Be aware of a few things:

dataset is not public yet so I can't give instructions about it in the README
everything is dependent on Tensorflow Object Detection API and Google Cloud SDK, which adds steps to the installation.

I'd like to switch do python 3.7 but i don't think the Object Detection API supports it.

Thank you for updating.You're right.The Object Detection API doesn't support python3.But I found a solution.Here is the URL: 'https://stackoverflow.com/questions/49311195/how-to-install-coco-pythonapi-in-python3'.It said that you can use the python package 2to3 if you want to switch to python3 from python2.Hope it can help you~


Running code with default arguments

To have Flow allow calls to a function with not all of its arguments given, those arguments have to be given default values using the ES6 = notation.
Yet, JSX does not appear to be able to compile default arguments yet.
So how do I run Flow code that has optional arguments? (The problem is technically in JSX/react-tools/jstransform, but since I assume people are actually running their Flow code, I'm reporting it here in the hope that someone can point out an existing solution.)

Default arguments is on the radar: https://github.com/facebook/jstransform/issues/42 (same issue basically). Babel strips types (afaik), and understands JSX and default arguments.

Babel does indeed do this, by default. I did not expect that, but it does solve my problem. Thanks for the fast response!

(Might want to note this on the website, so that the next person doesn't run into this.)


最新的版本里面的kotlin版本太高怎么向下兼容

这是报错信息-->Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.

// This class file was compiled with different version of Kotlin compiler and can't be decompiled.
//
// Current compiler ABI version is 1.5.1
// File ABI version is 1.9.0

遇到相同问题

这是报错信息-->Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.

把自己项目Kotlin版本升级一下？或者把这个项目拉下来，降低版本，用AAR也可以。


subsys: shell: manual * parsing

This PR fixes: #10195.
Function _vprintk when used cannot parse '*' what as a result
causes dereferencing bad pointer.
This change is replacement for: #10299
Signed-off-by: Jakub Rzeszutko<EMAIL_ADDRESS>

Codecov Report

Merging #10321 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #10321   +/-   ##
=======================================
  Coverage   53.05%   53.05%
=======================================
  Files         214      214
  Lines       26203    26203
  Branches     5646     5646
=======================================
  Hits        13903    13903
  Misses      10028    10028
  Partials     2272     2272

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6cb20ab...b88f90e. Read the comment docs.

@jarz-nordic : I guess you tested it?

@aescolar : Yes I tested it.
I will correct your finding shortly.


[Event Request]Application “Tests-SMB”, Codeunit 138100 "Streamline. Autofill No Series"

[Event Request]Application “Tests-SMB”, Codeunit 138100 "Streamline. Autofill No Series"

Could you please insert the OnTestInitialize Event at the beginning of the procedure Initialize:

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


DataFrame#transform method added in Spark 3

Added code is tested for PySpark 3.3.2

@NikhilGupta178 - thanks for submitting this.  We'll need to make sure this function works as intended for PySpark 2, PySpark 3.2, and PySpark 3.3 (because PySpark 3.3 changed the method signature again).  Have you tested out this version for different PySpark versions to make sure it's working as intended?  This is a public facing function and we want to make sure that it works for all our users correctly.  Let me know!

@SemyonSinchenko - can you please test this one in detail?  We need to be careful about this because it could break public interfaces, thanks!

So I made a check and create a code snippet:
import warnings
from pyspark.sql.dataframe import DataFrame

def _ext_function(self, f):
    warnings.warn(
        "Extensions may be removed in the future versions of quinn. Please use explicit functions instead",
        category=DeprecationWarning,
        stacklevel=2
    )
    return f(self)

DataFrame.transform = getattr(DataFrame, "transform", _ext_function)

I run this code under PySpark 2.4.8:

And under latest PySpark:

As you can see in latest PySpark there is no replacement of existed method (because there is no warning in output). So it works well.
@MrPowers I think we can merge this and also do in the same way with other extensions

@SemyonSinchenko - thanks for the detailed QA.
@NikhilGupta178 - thanks for the contribution.


Enhance home page

I want to make the home page more attractive using css.
Please assign this issue to e under gssoc-extd and hacktoberfest.

@iamparas0 Hii i want to enhance the website of home page to make it more attractive
please assing to me

I want to work on the UI of this game.
can you assign this to me @iamparas0

you can assign this task to me..


ngIf on md-input-container hides container when initially false

Bug, feature request, or proposal:
When ngIf switches to true, it creates the component, but the component includes style="display:none".
As a work around use a surrounding div or span for ngIf
What is the expected behavior?
It should show the component
What are the steps to reproduce?
http://plnkr.co/edit/9G1tmuLQPzwTsriiNITa?p=preview
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Is there anything else we should know?

This seems to specifically be linked to setting the "show" value with the the select. The same behavior is not exhibited when manually setting the "show" value.
Here is a simplified plunker:
http://plnkr.co/edit/WnYkJReZOCyVeSXBYfTX?p=preview

@crisbeto I have an inkling that this has something to do with animations

cc @matsko

and also with md-select
and only with angular 4.3.6.
4.3.5 is okay

@jelbourn this is definitely animations-related. Having any kind of animation in the animations array, even if it isn't being used in the view, causes it to break. The only way I got it working was by removing the animations altogether.

This fix I believe will take care of it: https://github.com/angular/angular/pull/18853

Closing as something that will be fixed in core.


Create International Phone Number Input examples

Create examples in storybook, link them from pattern page

Remove priority, will be built as a pepper pattern


Will there be the vertical federated learning for the GAN network?

Will there be the vertical federated learning for the GAN network?

Thanks for your interest!
It is a good idea to apply the vertical federated learning to the GAN network, but we don't have a clear short-term plan for it by now. We really appreciate some contributions (e.g., implementation and/or related works) to FederatedScope that are related to this, and we will help out as much as we can.

Hope that helps! This thread is closed and let us know if you have more questions.


README has wrong installation instructions

installed, but unable to execute.
`
python3 -m pip install --user python-gnupg
Collecting python-gnupg
Downloading python_gnupg-0.4.6-py2.py3-none-any.whl (17 kB)
Installing collected packages: python-gnupg
Successfully installed python-gnupg-0.4.6
❯  python3 pass2csv.py ~/.password-store
python3: can't open file 'pass2csv.py': [Errno 2] No such file or directory
✘ ❯ pass2csv --help
command not found: pass2csv
`

Sorry, the README is outdated. You can install pass2csv with
python3 -m pip install --user pass2csv

I'll update the README with correct instructions.

I have no issue on installing but on executing.

Run it without python3 and .py, just pass2csv.

I get the zsh: command not found: pass2csv error

Is the pip installation folder on your path? See https://github.com/reinefjord/pass2csv/issues/13#issuecomment-745442589


touchParent wont work if table a name is specified in the model.

touchParent wont work if table a name is specified in the model.
Steps to recreate:

create a user model. Give $table = 'test_users';
create belongsToMany relation to roles model
Now use ->sync(...) to assign some roles
See if touch parent worked. Since the checking is based on old code, the feature is not working
We needed to call setTouchedRelations() manually to work this.
This becomes an issue when we follow own convention for table names. We will have many tables and relations in the project. It wold be great if it handles automatically.

https://github.com/laravel/framework/blob/ccefc764871fe263dd20f8f7108c18180f78241b/src/Illuminate/Database/Eloquent/Relations/BelongsToMany.php#L1142
Originally posted by @deeputvr in https://github.com/laravel/framework/discussions/42808

Please don't move discussions to issues.