install/kubernetes/helm/istio/values.yaml correctness for mixer values

Describe the bug
Top of file has:
# chart sections: Every subdirectory inside the charts/ directory has a top level
#       configuration key in this file. This file overrides the values specified
#       by the charts/${chartname}/values.yaml.
#       Check the chart level values file for exhaustive list of configuration options.

mixer section:
#
# mixer configuration
#
# @see charts/mixer/values.yaml, it takes precedence
mixer:
  enabled: true
  policy:
    # if policy is enabled the global.disablePolicyChecks has affect.
    enabled: false

  telemetry:
    enabled: true

Which is correct? Top or mixer section?
Expected behavior
Correct above
Steps to reproduce the bug
{{ Minimal steps to reproduce the behavior }}
Version
1.1.0-rc2
Installation
tar file
Environment
{{ Which environment, cloud vendor, OS, etc are you using? }}
Cluster state
{{ If you're running on Kubernetes, consider following the
instructions
to generate "istio-dump.tar.gz", then attach it here by dragging and dropping
the file onto this issue. }}

https://github.com/helm/helm/blob/master/docs/chart_template_guide/subcharts_and_globals.md
Sounds like top section is right, top level values.yaml has precedence over subchart


Please add a simple example of storing/retrieving a value using this library, in the readme?

You can use encrypted DataStore just as a normal DataStore, so usage is the same as described in the official DataStore docs. Here you can find examples for Preference DataStore and here is for "Proto" DataStore.

@RowanG-IAG, is my answer enough for you? I'm going to close this issue due to inactivity.

I feel that the serializer could benefit from a readme entry. Basically, a full simple example could save users a lot of looking/confirming.

Currently I haven't enough time to add full sample, but I've added link to official samples to README: https://github.com/osipxd/encrypted-datastore/commit/efbb0118b1dde5f02cf02739643e5be5c942d765


Provide a way to access OpenSSL source code via plain HTTP now that ftp.openssl.org is no more

With http://ftp.openssl.org now gone, all official URLs where OpenSSL's source code can be downloaded from are now HTTPS-only. This creates a chicken-and-egg problem, where OpenSSL is required to access its own source code.
This causes a problem for projects like live-bootstrap (https://github.com/fosslinux/live-bootstrap), which now has to rely on 3rd-party mirrors to download OpenSSL - mirrors that might switch to HTTPS-only at any moment without notice, as has happened several times in the past.

what does livebootstrap currently use to download sources?

what does livebootstrap currently use to download sources?

We had two options (see https://github.com/fosslinux/live-bootstrap/blob/master/steps/openssl-3.0.13/sources):
http://ftp.openssl.org/source/openssl-3.0.13.tar.gz 88525753f79d3bec27d2fa7c66aa0b92b3aa9498dafd93d7cfa4b3780cdae313
http://ftp.openssl.org/source/old/3.0/openssl-3.0.13.tar.gz 88525753f79d3bec27d2fa7c66aa0b92b3aa9498dafd93d7cfa4b3780cdae313

I'm sorry, I mean what tool are you using to download your sources?  presumably some minimal set of binaries to start the bootstrapping process.  From the download_distfiles.sh script in the repository, it looks like you require curl at minimum to already be available on the host system to run your process.  So I'm trying to figure out why openssl can't be a requirement on your host system as well.  In fact, it seems like it has to already be a requirement, as you have several other sources files in other steps that require https

Oh there are a couple of ways:

Download everything on the host system and store it on some disk. No issue here...
Download smaller number of sources (these are the ones you noted to be https, they are less than 300 MiB of tarballs). Basically what is needed to bootstrap Linux (earlier kernels have no networking support anyway) and then newly booted system proceeds downloading remaining sources. Perhaps openssl could be included there too though it will likely increase amount of initial pre-downloaded sources...

what does livebootstrap currently use to download sources?

We had two options (see https://github.com/fosslinux/live-bootstrap/blob/master/steps/openssl-3.0.13/sources):
http://ftp.openssl.org/source/openssl-3.0.13.tar.gz 88525753f79d3bec27d2fa7c66aa0b92b3aa9498dafd93d7cfa4b3780cdae313
http://ftp.openssl.org/source/old/3.0/openssl-3.0.13.tar.gz 88525753f79d3bec27d2fa7c66aa0b92b3aa9498dafd93d7cfa4b3780cdae313

So uhm...  can't you simply change http: to https:?  Like @nhorman says, https://github.com/fosslinux/live-bootstrap/blob/master/download-distfiles.sh uses curl, which can handle HTTPS these days.
I'll point out that https://github.com/fosslinux/live-bootstrap/blob/master/steps/curl-8.5.0/sources already uses HTTPS, isn't that an indication that you bootstrap with a HTTPS enabled curl?

And if your minimal boot loader downloads the remainder of the sources, isn't it feasible to just add openssl to that list of minimal sources to get the rest of everything down?  It seems an implied requirement in this system that anything using https be part of the "minimal"  set.  Though if you download openssl as part of that set, your overall set could be reduced, as the minimal ramdisk could then be used to download many more sources that were only available via https

download-distfiles.sh is not used in the normal bootstrap path, but only by the CI infrastructure, to speed up builds (and enable building in a sandboxed environment with no runtime network access). The actual standard bootstrap path uses a special build of curl, built without SSL support, to download openssl and its prerequisites; all of these downloads need to happen over plain HTTP as a result.
One of the goals of the project is to keep the total size of all source code that needs to be predownloaded on the host system (using Python's Requests library) under 256MiB, which is the size of the largest known unmanaged flash memory chip with a simple interface like SPI. All larger flash chips include firmware that could be used to compromise the bootstrap's anti-Trusting-Trust guarantees. We currently meet this goal, but if openssl and all of its dependencies were included in the predownloaded set, the 256MiB goal would be almost, if not outright, impossible to meet.
More generally, it's not great practice to require the very protocol implemented by a library for downloading the source code for that library, even if that protocol is widespread - of course, it's unavoidable for protocols like the basic HTTP, but in this case, it's entirely avoidable. Only serving OpenSSL sources over SSL is comparable to lzip's former practice of only offering lzip-compressed archives of its own source code.

but, its also not good practice to allow downloads without communication security in place..
In fact, I would make the argument that this isn't a problem with the fact that an SSL connection is required to download the openssl sources, its that OpenSSL isn't nominally designed to be used on smaller embedded platforms (which this target arguably is, given its size constraints).
Currently, the typical openssl library DSO  on x86_64 weighs in at around 5MB, and the libssl library at 0.8MB (using the fedora distro build as a guide).  You can certainly shrink that down quite a bit by disabling features you don't need, using SMALL_FOOTPRINT, etc.
The only dependency that either library requires is potentially libz or libbrotli, both of which I believe can be disabled, but at worst the libz weight is 1.3MB
If the addtions of about 7MB is over your capacity for your target, it seems the path forward here is to use a smaller footprint ssl library to preform your downloads for the purpose of bootstrapping.  Something like mbedtls, perhaps.
I'm sorry, but we're not going to enable a non-secure download path to enable easier retrieval of any sources, and I would predict that this is going to be a pervasive theme moving forward.  Given efforts like https://www.eff.org/encrypt-the-web, theres going to be a movement in which the expectation is that more an more downloads will be https-only


Delta LogStore Refactor - AzureLogStore

Refactor AzureLogStore to Java for the new delta-storage artifact.
For the project overview, requirements, and how to contribute, please see the https://github.com/delta-io/delta/issues/951.

Hi @scottsand-db , I would like to give this a try.

@ksree awesome. let me know when the PR is ready for review. thanks!

@scottsand-db  I raised a separate PR  to include writeWithRename method from HadoopFileSystemLogStore.java . I will test it part of AzureLogStore implementation. Let me know if that makes sense.

@ksree awesome! Taking a look.

@scottsand-db Any idea when PR-993 will be merged? This issue is dependant on that one.

Hopefully today :) It's on my todo list, thanks for following up!

@ksree merged

@scottsand-db PR is ready for review.

Closed via https://github.com/delta-io/delta/commit/f3add0beba00327b83b0de24823b1c043288aaf5


🌐 Add Japanese translation for docs/ja/docs/tutorial/path-params-numeric-validations.md

This is a PR to translate docs/ja/docs/tutorial/path-params-numeric-validations.md to japanese.
I would appreciate it if you could review it.

📝 Docs preview for commit a3224e2a8c7934dfdade8e2f94af2965ea2ca909 at: https://649a237d443f2f1969861629--fastapi.netlify.app

I reviewed this japanese translation.
This is great translation for japanese developers !
so, I hope that it is passed smokeshow / coverage  as soon as possible in order to be merged into master branch.

It seems this was covered in another PR, so I'll close this one now, but thanks for the effort @takanosuke! :cake:

It seems this was covered in another PR, so I'll close this one, but thanks for the effort! :coffee:


fix: Service 'watcher' depends on service 'postgres' which is undefined.

Howdy
Overview
Local watcher run needs Postgres service.
Changes
Describe your changes and implementation choices. More details make PRs easier to review.

Manually specify the default docker-compose file because it's not being picked up on

Linux
docker-compose version 1.24.0, build 0aa59064
Mac
docker-compose version 1.23.2, build 1110ad01

Testing

Coverage increased (+0.04%) to 79.394% when pulling 1468c0526c9163ecfe076be2931820f90e45b6f5 on local_w into 8a7ff8f2132bae635da212e995f338d8ad3c8b44 on master.


Undelegatebw on local development node.

I am unable to undelegatebw on my development node due to 15% of voters not voting. Is this there a simple workaround for this?

I have tried setting a regproducer and then voting 20% of all issued tokens, but still receive this error when trying to undelegatebw.

Can you place your exact what happened on your node?

In the end I modified producer_pay.cpp line 8 to zero! Recompiled the system contract. Problem solved

For future reference, the not-editing-the-source-code solution is to issue enough tokens such that voting 15% exceeds the 150 million token limit on line 8.  To emulate mainnet, testnets should create and issue 1 billion tokens.


How to open a PDF from a base64?

Attach (recommended) or Link to PDF file here:
Configuration:

Web browser and its version: All
Operating system and its version: All
PDF.js version: 1.9.426
Is a browser extension: NA

Steps to reproduce the problem:

Open PDF file /web/viewer.html?file=data:application/pdf;base64,JVBERi0xLjcKCjEgMCBvYmogICUgZW50cnkgcG9pbnQKPDwKICAvVHlwZSAvQ2F0YWxvZwogIC9QYWdlcyAyIDAgUgo+PgplbmRvYmoKCjIgMCBvYmoKPDwKICAvVHlwZSAvUGFnZXMKICAvTWVkaWFCb3ggWyAwIDAgMjAwIDIwMCBdCiAgL0NvdW50IDEKICAvS2lkcyBbIDMgMCBSIF0KPj4KZW5kb2JqCgozIDAgb2JqCjw8CiAgL1R5cGUgL1BhZ2UKICAvUGFyZW50IDIgMCBSCiAgL1Jlc291cmNlcyA8PAogICAgL0ZvbnQgPDwKICAgICAgL0YxIDQgMCBSIAogICAgPj4KICA+PgogIC9Db250ZW50cyA1IDAgUgo+PgplbmRvYmoKCjQgMCBvYmoKPDwKICAvVHlwZSAvRm9udAogIC9TdWJ0eXBlIC9UeXBlMQogIC9CYXNlRm9udCAvVGltZXMtUm9tYW4KPj4KZW5kb2JqCgo1IDAgb2JqICAlIHBhZ2UgY29udGVudAo8PAogIC9MZW5ndGggNDQKPj4Kc3RyZWFtCkJUCjcwIDUwIFRECi9GMSAxMiBUZgooSGVsbG8sIHdvcmxkISkgVGoKRVQKZW5kc3RyZWFtCmVuZG9iagoKeHJlZgowIDYKMDAwMDAwMDAwMCA2NTUzNSBmIAowMDAwMDAwMDEwIDAwMDAwIG4gCjAwMDAwMDAwNzkgMDAwMDAgbiAKMDAwMDAwMDE3MyAwMDAwMCBuIAowMDAwMDAwMzAxIDAwMDAwIG4gCjAwMDAwMDAzODAgMDAwMDAgbiAKdHJhaWxlcgo8PAogIC9TaXplIDYKICAvUm9vdCAxIDAgUgo+PgpzdGFydHhyZWYKNDkyCiUlRU9G

What is the expected behavior? expected
example
What went wrong? wrong
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

First of all, note that Base64 encoding is very inefficient; please find more information about converting/opening such data in https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#file.
Secondly, please refer to https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#faq-xhr regarding the error message (which contains a reference to PR #6916).
Closing as answered.


feature(Typeahead): multiple support?

I would love to see multiplicity in TypeAhead, which would essentially allow it to be a tagging component. I believe you've pretty much got all the pieces, so why not, right? :)

actually I am working on, just need to finish with datepicker first ;)

there were same issue before, so just closing for now
join slack or follow me at tweeter to get updates ;)


don't use strum_macros directly, use strum with derive feature

The macros in the strum crate can be used either throught the strum derive feature or directly through the strum_macros crate. The problem is that the macro namespace is global and when two crates use strum differently (one through strum_macros, one through the derive feature), the strum macros will conflict and cause build errors.
In order to make badpod usable with other crates that use strum, this PR switches over to strum with the derive feature as this is the recommended way by the strum crate.
See also:
https://github.com/Peternator7/strum/issues/172
https://github.com/Peternator7/strum/issues/362

Thank you for this!
Missed the PR, will merge next week when I get to my PC.

Published in v0.9.1!

Thank you!


Remove hardcoded genesis alloc

I know that this has low prio but it was annoying me :laughing:
Remove the hard coded genesis allocation addresses with a call to DeceloperGenesisBlock.
Closes #54

Will reopen when possible to fix.


[BUG] Copy of TcOpen issue 725

Describe the bug
When resizing the window it shows a white blank screen, contents are not rendered.
To Reproduce
Upgrade from 0.11.0-alpha.65 to 0.11.0-alpha.71
Resize the window
As per https://github.com/TcOpenGroup/TcOpen/issues/725

/cib


User card - The card link area is larger than card area

Affected Version: 0.3.0-nightly20180712

Test OK.


[torch] IDE is unable to find th in the correct location

I've added the torch7.lua plugin to ZBS v 1.30.
When I try running any script with Torch7 or QLua interpreter selected, I get the following error:

Can't find qlua in any of the folders in PATH or TORCH_BIN: /home/alevol/nn/torch/install/bin, /home/alevol/nn/torch/install/bin, /usr/local/sbin, /usr/local/bin, /usr/sbin, /usr/bin, /sbin, /bin, /usr/games, /usr/local/games, /home/alevol/bin
It's unable to find /home/alevol/nn/torch/install/bin/th in those dirs.

I've tried to paste parts of the script to ZBS's Local console and it worked as intended:
function findCmd(cmd, env)
  local path = (os.getenv('PATH') or '')..sep
             ..(env or '')..sep
             ..(os.getenv('HOME') and os.getenv('HOME') .. '/bin' or '')
  local paths = {}
  local res
  for p in path:gmatch("[^"..sep.."]+") do
    res = res or GetFullPathIfExists(p, cmd)
    table.insert(paths, p)
  end

  if not torch then
    DisplayOutputLn(("Can't find %s in any of the folders in PATH or TORCH_BIN: "):format(cmd)
      ..table.concat(paths, ", "))
    return
  end
  return res
end
findCmd('th')
"/home/alevol/nn/torch/install/bin/th"
findCmd(win and 'th.bat ' or 'th', os.getenv('TORCH_BIN'))
"/home/alevol/nn/torch/install/bin/th"

How can I fix this?

@Ark-kun, thank you for the report! Should be fixed now; give it a try.


Basic VPN does not support deployment in networks with IPv6 address space

Based on my issue described in https://learn.microsoft.com/en-us/answers/questions/1011462/ipv6-blocks-creation-of-vpn-gateway.html I think it's worth to note in the docs that Basic vpn gateway does not support being deployed in networks with Ipv6 address space.

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

ID: e0377d24-bad6-0d7e-e5b1-0343d225d835
Version Independent ID: 163949a6-584f-9c7c-815f-ad69f09f83dd
Content: Azure VPN Gateway configuration settings
Content Source: articles/vpn-gateway/vpn-gateway-about-vpn-gateway-settings.md
Service: vpn-gateway
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

@Matiszak
Thanks for your feedback! We will investigate and update as appropriate.

Hi @Matiszak - I've met with the product team regarding this. I'll be updating the documentation this week. Thanks for noticing that it wasn't included in the documentation. #please-close


gvt curl doesn't handle redirects (curl error: 301)

-> % gvt fetch gopkg.in/urfave/cli.v2
2017/02/03 16:31:30 Fetching: gopkg.in/urfave/cli.v2
error: RPC failed; HTTP 301 curl 22 The requested URL returned error: 301
fatal: The remote end hung up unexpectedly
2017/02/03 16:31:33 command "fetch" failed: exit status 128

It looks to me like the pkg has a 301 redirect, which curl is not following.

never mind : https://github.com/niemeyer/gopkg/issues/50


bug fix

Hi!
This is a bug fix for bug breaking block reference · Issue #21 · liamcain/obsidian-creases like we said in the issue there was a need for consistency between the 2 functions so i refactored some logic in a new function getFoldTargetPosition to get consistent behavior (taking into account blockIDs) between toggleCrease and  creaseCurrentFolds.
This is my first contribution to an open source/github repo, so I hope everything is okay?
Fixes #21
Thanks!

wait so i think i also included package-lock.json and yarn lock with the commit, i tried to modify my last commit by unstaging them and to repush but it also seem to have accidently also included the commit before that and idk how to fix this, i'm sorry

Okay never mind, whatever i did the second time to correct it, also committed the wrong thing, i'm redoing the pr and fork from scratch


Incorrect statement about round-tripping Single in Numeric Format Strings docs

I believe there’s a bug in the documentation for Standard Numeric Format Strings
Under “General Format Specifier,” it says:

When used with a Single value, the "G9" format specifier ensures that the original Single value successfully round-trips. This is because Single is an IEEE 754-2008-compliant single-precision (binary32) floating point number that gives up to nine significant digits of precision. We recommend its use instead of the "R" format specifier, since in some cases "R" fails to successfully round-trip single-precision floating point values.

I believe the bolded statement above is incorrect. I tested on x64 and x32 targeting both .NET 4.5 and .NET 4.7, I think using the code below (takes around an hour to check all ~4 billion values), and it didn’t report any cases where round-tripping failed.
In the docs, I saw test code and an example value for a case where Double with "R" does not round-trip correctly, but not Single, and based on this exhaustive test (Test Them All) I believe no such value exists.
using System;

public class TestSerializeFloat
{
    static void Main()
    {
        for (uint index = uint.MinValue; index < uint.MaxValue; ++index)
        {
            float value = BinaryCast(index);
            Test(value);
        }

        Test(BinaryCast(uint.MaxValue));

        Console.WriteLine("Done.");
    }

    static unsafe float BinaryCast(uint value)
    {
        void* untypedPointer = &value;
        float* castPointer = (float*)untypedPointer;
        return *castPointer;
    }

    static void Test(float value)
    {
        string serialized = value.ToString("r");
        float roundtripped = float.Parse(serialized);
        if (!value.Equals(roundtripped))
        {
            Console.WriteLine("{0:r} != {1:r}", value, roundtripped);
        }
    }
}

@rpetrusha (per offline conversation)

Thanks, @davidmatson. We'll address this issue in the next sprint, which starts next week.


NIFI-9388 GetElasticsearch, NIFI-9387 ElasticsearchClientService Proxy capabilities

Description of PR

NIFI-9388 add GetElasticsearch to fetch Elasticsearch document using the ElasticsearchClientService
NIFI-9387 add Proxy capability to ElasticsearchClientService
NIFI-1576 (superceded) allow GetElasticsearch to run without requiring FlowFile input

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically main)?

[x] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

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

For documentation related changes:

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

Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI for build issues and submit an update to your PR as soon as possible.

Report for testing NIFI-9387 (adding Proxy for Elasticsearch Client Service):

Installed Squid Proxy

configured to allow access to localhost port 9200

Installed apache2-utils and configured Squid Proxy for BASIC auth
Ran Elasticsearch as a Docker container and setup minimal authentication

Testing was performed both with and without authentication in both Squid Proxy and Elasticsearch.
Squid Proxy access.log: with no authentication

1637353491.751    494 <IP_ADDRESS> TCP_MISS/200 814 POST http://localhost:9200/_bulk - HIER_DIRECT/<IP_ADDRESS> application/json

Squid Proxy log with authentication required:

1637354267.294      0 <IP_ADDRESS> TCP_DENIED/407 4287 POST http://localhost:9200/_bulk - HIER_NONE/- text/html
1637354267.724    428 <IP_ADDRESS> TCP_MISS/200 497 POST http://localhost:9200/_bulk squid HIER_DIRECT/<IP_ADDRESS> application/json

Elasticsearch logs showing a successful PUT of a document to a new index (with Elasticsearch and Squid Proxy auth):
{"type": "server", "timestamp": "2021-11-19T20:37:47,418Z", "level": "INFO", "component": "o.e.c.m.MetadataCreateIndexService", "cluster.name": "docker-cluster", "node.name": "1491093bb646", "message": "[test] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]", "cluster.uuid": "975mGhQHQvWt9lVra6s_Iw", "node.id": "bLmLdxrMQQeKYjjGnKYbAw"  }
{"type": "server", "timestamp": "2021-11-19T20:37:47,652Z", "level": "INFO", "component": "o.e.c.m.MetadataMappingService", "cluster.name": "docker-cluster", "node.name": "1491093bb646", "message": "[test/kuPA1pc7RGS1aWEw3DCEdg] create_mapping [_doc]", "cluster.uuid": "975mGhQHQvWt9lVra6s_Iw", "node.id": "bLmLdxrMQQeKYjjGnKYbAw"  }

(shows new index test being created as part of a _bulk operation)


Https support not usable yet

This commit https://github.com/zeit/serve/commit/c6336eaf184feeda7699a541f02bed2d74eabe14 implemented the support for HTTPS, but upgrading to 6.4.1 I still can't see the added ssl option on the man page, where it should be.
Using serve -ssl also doesn't work, tried different things, couldn't reverse engineer what works.

Is this still an issue? Also multi-character flags require double hyphens: --ssl

Running serve --sslwill force https and but with a self signed cert.
The feature to setup a custom cert doesn't exist

I honestly don't know how I solved this, but I can see the ssl command now. You can close this I guess.


feat: add ability to browse and search through VS Code

Previously, this extension only supported features that allowed the user
to open Sourcegraph in the browser for further exploration. This commits
adds several new features that allows the user to browse Sourcegraph
while staying in the editor:

New Sourcegraph file system with tree view
New Sourcegraph notebooks to run search queries

This is still a draft since I have a few more items that I want to clean up before getting a review.  I apologize for the mostly meaningless git commit log. I can try to clean it up a bit but I'm not sure how much easier that will be to review because most of the changes are new files.


Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.

A problem occurred configuring project ':video_compress'.

Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
Namespace not specified. Specify a namespace in the module's build file. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.

 If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.

Hey, did you get solution?

For now it seems that package doesn't work with AGP and Gradle 8, I downgraded agp to 7.4.2 and gradle to 7.5

in my case  if am using gradle 7.4   error  unsupported class file major version 64
else using gradle 8.1.1  error  package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.

how can solve it

what if i dont have [Android Studio], can i fix this problem without Android Studio,, im usnig [Visual Studio Code]

go to android block and write

Where to find Android Block and Write Option?


added printing serial_str_ & serial_num_string to error of not finding device with specificed serial string.

Where feature was added?
If DEVICE_SERIAL_STRING is set, and there are no devices with this serial string found, but there is a device found with different serial string, then error of "Error finding USB device with specified serial string" is triggered
What feature was added?
The error message returns requested DEVICE_SERIAL_STRING and the serial string from device that was not matching.
Why?
Makes it much easier to debug device's serial string as u-center might not correctly convert hex to string, inputting "base" can result in "esab".
Sample output before feature:
[component_container_mt-1] [ERROR] [1711973415.228204225] [base.ublox_dgnss]: usb init error: Error finding USB device with specified serial string
Sample output after feature:
[component_container_mt-1] [ERROR] [1711973415.228204225] [base.ublox_dgnss]: usb init error: Error finding USB device with specified serial string, looking for "Test Base" however "esab" was found.
-Tested via connecting more than once device which one of them has the correct serial string, the error is not being triggered and connection is successful to one that is matching, the usb.cpp is already handling this.
Thanks :)

I think it makes sense, and I also have this problem

Hey guys sorry I thought I had merged this. There are some other changes and once they are done I will publish. Plus need to address Ubuntu 24.04 and Jazzy.


ERRO[0100] failed to stream logs for container ...

Encountered the following log error messages during acorn dev.
ERRO[0100] failed to stream logs for container web on pod restless-wind-3ad7e570/web-56f69f84f-hl6b8: context canceled
ERRO[0100] context canceled
Steps:

run acorn dev on the default sample acorn.cue file
modify the index.html to anything
Updates are properly updates but the above log error messages are shown.

havent seen this in awhile. closing


Add DDoS change log entries for 2024-01-15

Ideally, we would also update the "Scheduled changes" last update date for feed subscribers:
https://github.com/cloudflare/cloudflare-docs/blob/production/data/changelogs/ddos-http.yaml#L7


Staking. APR 31,865.74%

Rewards received for less than a day, looks more like a backend issue

i think everything is working as intended
the thing is that the amount of staked WARDs is really low, hence inflation is really high


Conflict of information

This page indicates Microsoft uses 24 hours for content cache.  This IT showcase published ~30 days after the last update to this page indicates Microsoft uses seven days as max cache age (https://www.microsoft.com/en-us/itshowcase/keeping-windows-10-devices-up-to-date-with-microsoft-intune-and-windows-update-for-business)
Which is it? I'm trying to mirror the Microsoft setup.  Thanks!

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

ID: eb67e518-6f60-23e0-2545-c2839e2b4159
Version Independent ID: e9a31629-e3cb-0367-31c4-5661284d89bf
Content: Configure Delivery Optimization for Windows 10 updates (Windows 10) - Windows Deployment
Content Source: windows/deployment/update/waas-delivery-optimization.md
Product: w10
Technology: windows
GitHub Login: @jaimeo
Microsoft Alias: jaimeo

@narkissit can you help out here?

@jaimeo @narkissit - Do you have any updates on this?
Thank you.
cc: @kenwith

@narkissit  can you help us with this information?

@pstakuu Did you get to find a suitable value for Max Cache Age?
Regarding your initial ask, i don't think we're comparing the same thing. One article refers to Microsoft CSEO (Core Services Engineering and Operations) and the other one refers to Microsoft IT. In my understanding they are not one and the same entity, hence the differences that you spotted in terms of bandwidth utilization.

@pstakuu Please let us know if you still have any question regarding the issue you have raised initially.
The issue is being closed since your question seems to be answered. Feel free to re-open this issue if you feel that it hasn't been answered or that there are further suggestions to improve the documentation itself.
Thanks.


Any idea how to integrate GDC?

Using a recent GDC would be a boon to our linux testing. Any idea how to do it?

setup-dlang is more or less doing what the official install script is doing (only using Typescript + GH Actions builtins, instead of bash).
The main blocker is having prebuilt GDC packages, like LDC and DMD provide. IMO this should be done upstream either by the @D-Programming-GDC or @dlang organizations.
That said, technically nothing prevents someone for setting up a GitHub Action pipeline here that would do the same. Here's a starting point for a CI pipeline: https://github.com/D-Programming-GDC/gcc/blob/5ff6ab4f88164b4c8939a8780da42dc39bd2a7ff/.semaphore/semaphore.yml#L1

Maybe I'm being stupid: is there maybe a way to just invocate sudo apt install gdc in the user Action?

If you are fine with any version and only interested in Linux, literally running apt install gdc in your action should do the trick - and take roughly same amount of yml config :)
For setup-dlang there both needs to be some way to switch between version and support for all of Win-Linux-MacOS triplet. It should be possible to do, probably with some enhancements to GDC own CI, but it is a fair bit of work, much more than was needed for dmd/ldc, so it was not originally implemented.

Fine! Thanks :)

I think it would be better to keep this ticket open - both because it is a necessary feature request and because the same question is likely to come up again. I can create a new one if you prefer of course.

We could just mention in the README how to use GDC.

Do you have any best practice suggestions? (other than apt install  when applicable)

apt install doesn't actually work in Gitub Actions for GDC.

On Ubuntu 20.04, the linker output an error that is:
dub: symbol lookup error: dub: undefined symbol: _D3std3net4curl4HTTP9__mixin376onSendMFNdDFAvZmZv
Similar to that thread<EMAIL_ADDRESS>

Downgrading to Ubuntu 18.04, installing GDC removes dub and ldc packages.

But installing dub or ldc removes GDC:

So I haven't found a way to support GDC properly... Any idea?

apt install doesn't actually work in Gitub Actions for GDC.

On Ubuntu 20.04, the linker output an error that is:
dub: symbol lookup error: dub: undefined symbol: _D3std3net4curl4HTTP9__mixin376onSendMFNdDFAvZmZv
Similar to that thread<EMAIL_ADDRESS>

Downgrading to Ubuntu 18.04, installing GDC removes dub and ldc packages.

But installing dub or ldc removes GDC:

So I haven't found a way to support GDC properly... Any idea?

It may be a time to ask @ibuclaw for suggestions :)

It may be a time to ask @ibuclaw for suggestions :)

Mmmm, I follow the suggestions in the debian thread and install DUB from Github instead. This file allows to dub test with GDC:
name: gdc
on: [push, pull_request]

jobs:
    test:
        name: Dub Tests
        strategy:
            matrix:
                os: [ubuntu-20.04]
                dc:
                    - ldc-latest

        runs-on: ${{ matrix.os }}
        steps:
            - uses: actions/checkout@v2

            - name: Install D compiler
              uses: dlang-community/setup-dlang@v1
              with:
                  compiler: ${{ matrix.dc }}

            - name: Install DUB
              run: |
                  wget https://github.com/dlang/dub/releases/download/v1.23.0/dub-v1.23.0-linux-x86_64.tar.gz
                  tar xvf dub-v1.23.0-linux-x86_64.tar.gz

            - name: Install libcurl
              run: sudo apt install libcurl4-gnutls-dev

            - name: Install GDC
              run: sudo apt install gdc

            - name: Vanilla unittest
              run: ./dub test -a x86_64 --compiler gdc -v

Not optimal but works for this single purpose.

Mmmm, I follow the suggestions in the debian thread and install DUB from Github instead. This file allows to dub test with GDC:
name: gdc
on: [push, pull_request]

jobs:
    test:
        name: Dub Tests
        strategy:
            matrix:
                os: [ubuntu-20.04]
                dc:
                    - ldc-latest

        runs-on: ${{ matrix.os }}
        steps:
            - uses: actions/checkout@v2

            - name: Install D compiler
              uses: dlang-community/setup-dlang@v1
              with:
                  compiler: ${{ matrix.dc }}

            - name: Install DUB
              run: |
                  wget https://github.com/dlang/dub/releases/download/v1.23.0/dub-v1.23.0-linux-x86_64.tar.gz
                  tar xvf dub-v1.23.0-linux-x86_64.tar.gz

            - name: Install libcurl
              run: sudo apt install libcurl4-gnutls-dev

            - name: Install GDC
              run: sudo apt install gdc

            - name: Vanilla unittest
              run: ./dub test -a x86_64 --compiler gdc -v

Not optimal but works for this single purpose.

It may be a time to ask @ibuclaw for suggestions :)

I only see that the package maintainers have shot themselves in both feet.

By making gdc and ldc conflict (did ldc install module sources to /usr/include/d on 18.04?)
By insisting on using shared libraries by default when the phobos ABI is so unstable, building in a different path changes symbol names (yes, the debian/ubuntu builders use a generated /buildd path, so each minor version update probably requires all downstream packages to be rebuilt).

It may be a time to ask @ibuclaw for suggestions :)

I only see that the package maintainers have shot themselves in both feet.

By making gdc and ldc conflict (did ldc install module sources to /usr/include/d on 18.04?)
By insisting on using shared libraries by default when the phobos ABI is so unstable, building in a different path changes symbol names (yes, the debian/ubuntu builders use a generated /buildd path, so each minor version update probably requires all downstream packages to be rebuilt).

On Ubuntu 20.04 I was able to install all of dub, ldc, and gdc. (vs 18.04)

On Ubuntu 20.04 I was able to install all of dub, ldc, and gdc. (vs 18.04)

I was able to use gdc on ubuntu-latest with this change: https://github.com/mbierlee/poodinis/pull/38/commits/6e25ca74fd7516efec48a6c3df92f99f5c296a42
essentially you need something like:
jobs:
  # On Ubuntu we can use GDC (so keep working for D version 2.076)
  gdc-latest:
    name: GDC on Ubuntu
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2

      - name: Install DMD (so dub is available)
        uses: dlang-community/setup-dlang@v1
        with:
          compiler: dmd-latest

      - name: Install GDC
        run: |
          sudo apt-get update
          sudo apt-get install gdc -y
          gdc --version

      - name: Build library
        env:
          DC: gdc
        run: dub build --compiler=gdc --build=release

FWIW I can test both GDC 10 and GDC 12 in GH actions: https://github.com/AuburnSounds/intel-intrinsics/tree/master/.github/workflows

Likewise: https://github.com/dlang/dub/pull/2324
Note that I added support for dub: version in this action, so you can simplify your configuration.

Can it be as simple as this?
      - name: Install D compiler
        uses: dlang-community/setup-dlang@v1
        with:
          compiler: gdc-latest

This won't work currently. But yes, it would be good to make it work.

Unrelated? The godbolt DMD compiler are a bit old. I don't think you can test on the newest DMD.

This won't work currently. But yes, it would be good to make it work.

As I see in compiler.ts, it's a matter of figuring out the URL for a specific GDC version, isn't it?. Is there an issue with this?

updated example for multiple gdc versions:
## On Ubuntu we can use GDC. The compatibility of gdc is:
##   gcc gdc-10  -> D 2.076 (the default on Ubuntu 20.04 (ubuntu-latest))
##   gcc gdc-11  -> D 2.076 (requires Ubuntu 22.04)
##   gcc gdc-12  -> D 2.100 (requires Ubuntu 22.04)
## Note that Github's ubuntu-latest isn't actually the latest release. It's currently set to "ubuntu-20.04" despite github having "ubuntu-22.04" runners (similar situation with macos-latest)
## For this reason it's best to use ubuntu-22.04

jobs:
  test-gdc:
    name: ${{ matrix.compiler }} on ${{ matrix.os }}
    strategy:
      fail-fast: false
      matrix:
        os: [ ubuntu-22.04 ]
        compiler: [ gdc-11, gdc-12 ]
    runs-on: ${{ matrix.os }}
    steps:
      - uses: actions/checkout@v2

      - name: Install DMD (so dub is available)
        uses: dlang-community/setup-dlang@v1
        with:
          compiler: dmd-latest

      - name: Install dependencies on Ubuntu
        if: startsWith(matrix.os, 'ubuntu')
        run: sudo apt-get update && sudo apt-get install libev-dev libevent-dev libsqlite3-dev -y

      - name: Install ${{ matrix.compiler }}
        run: |
          sudo apt-get update
          sudo apt-get install ${{ matrix.compiler }} -y

      - name: Show version
        run: |
          ${{ matrix.compiler }} --version
          dub --version

      - name: Build library
        env:
          DC: ${{ matrix.compiler }}
        run: dub build --compiler=${{ matrix.compiler }} --build=release

SingingBush's example is the current way how to do it. We don't have it in setup-dlang yet because it isn't supported on platforms other than ubuntu-2022.
What we could do is just running apt install on ubuntu and only allow that as the only supported GDC OS on setup-dlang for now though.

OK, so given that I already have a matrix of oses and compilers, how do I skip the invalid combinations? Or do I just make a new yml file?

you can use exclude to exclude all the things that match (entire combinations or also just partial matches iirc)
See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#excluding-matrix-configurations

What's about adding configuration?
      matrix:
        os: [ubuntu-latest, windows-latest, macOS-latest]
        dc: [dmd-latest, ldc-latest]
        include:
          - os: ubuntu-latest
            dc: gdc-latest

you need to separate the installation step like for example D-Scanner does it then: https://github.com/dlang-community/D-Scanner/blob/5a53c538d0aa832f03840840271b6631fbbfc53d/.github/workflows/default.yml#L78-L89

where does DC get defined? I got the workflow running, it installs gdc (and dub from dmd), and then runs dub with dmd, because apparently DC is set to dmd.

oh yeah setup-dlang sets DC - you can manually set it (it's just an environment variable) - or use it to only install dub.

will setup-dlang set DC if I set it first? (hoping it doesn't)

yes, it does so here: https://github.com/dlang-community/setup-dlang/blob/43589c229861e1720e187a344c67dad1d9eefe4c/src/main.ts#L64

you need to separate the installation step like for example D-Scanner does it then: https://github.com/dlang-community/D-Scanner/blob/5a53c538d0aa832f03840840271b6631fbbfc53d/.github/workflows/default.yml#L78-L89

Can setup-dlang take care of this? Even if it's restricted to ubuntu only, this would be very helpful.

So the way I had to do this kinda sucks: https://github.com/dlang/undeaD/blob/d9a6eaad18e5c64bf36609158f1c257f1162c071/.github/workflows/main.yml
I'd like to do it better, or have some of this taken care of without so many manual if conditions. Almost thing it would have been better to run a separate task.

Can setup-dlang take care of this?

I think this was the original reasoning: I wanted to be able to just specify platform/compiler/version matrix and have things "just work". As GDC was (and looks like still is) only available through a distro package install, it was not fitting that pattern. What if you want to test a different GDC version? apt install gdc is great for development but as much for testing coverage, should I maintain a list of older packages to directly download? Have a separate CI to build all relevant GDC versions from source and provide binaries?
So I ended up embracing laziness as a virtue and just ignored the whole thing in a hope things will become more obvious to some point. Which clearly has not happened :) Saved me from a headache though.
tl; dr is "yes, setup-dlang absolutely can take care of this but maybe it can also do better and the right thing is not 100% obvious for GDC".

Yeah, we really should make this work seamlessly. Especially as gdc has now joined the other compilers into the post-2.076 front end realm. People will expect to be able to test against various gdc releases.
What pre-built artifacts are there for gdc? Is there a way we can host them? I know windows is a specific problem, as there is no pre-built binaries that people maintain. downloads.dlang.org should probably be doing it. @ibuclaw is there a way we can fit this into the release process for gdc/dmd?

https://gdcproject.org/downloads#binary-releases implies this was an intentional decision to stop providing binaries, although it is not clear if motivation was to reduce CI load or @ibuclaw simply wanted it to be this way.

let's just implement it internally by doing apt install and only being supported on linux for now


Unable to publish message on SNS fifo topic, getting "Invalid parameter: The MessageGroupId parameter is required for FIFO topics" error

Type: Bug
Component: "SNS"
Issue description
Unable to publish message on SNS fifo topic, getting "Invalid parameter: The MessageGroupId parameter is required for FIFO topics" error
Hi Team,
I have created a SNS fifo topic. I am getting below error from AWS CLI:-
aws sns publish --topic-arn arn:aws:sns:us-east-2:461234567890:testTopic.fifo --message "Hello World!"
ERROR: An error occurred (InvalidParameter) when calling the Publish operation: Invalid parameter: The MessageGroupId parameter is required for FIFO topics
and from aws java sdk also:
https://github.com/awsdocs/aws-doc-sdk-examples/blob/master/javav2/example_code/sns/src/main/java/com/example/sns/PublishTopic.java
I had changed topicArn to sns fifo topic arn, which is throwing "Invalid parameter: The MessageGroupId parameter is required for FIFO topics"
Please note i am unable to set MessageGroupId in PublishRequest as shown in below AWS documentation:-
https://docs.amazonaws.cn/en_us/sns/latest/dg/fifo-topic-code-examples.html
Please share aws java jdk version, where i can set MessageGroupId in PublishRequest.
This issue is similar to https://github.com/spring-cloud/spring-cloud-aws/issues/714
Thanks in advance.

Hi Team,
With SNS java sdk upgrade to 'software.amazon.awssdk:sns:2.15.58', which had been released on Jan 04, 2021.
Now able to publish on sns fifo topic with messageGropuId with java sdk. Below error had gone now:-
Invalid parameter: The MessageGroupId parameter is required for FIFO topics
SNS mvn repo url: https://mvnrepository.com/artifact/software.amazon.awssdk/sns/2.15.58
Sample code:
          PublishRequest request = PublishRequest.builder()
                .message(message)
                .topicArn(topicArn)
                .messageGroupId("messageGroupId1")
                .messageDeduplicationId("messageDeduplicationId1")
                .build();

I am closing this ticket now.
Thanks,

Hi Team,
With SNS java sdk upgrade to 'software.amazon.awssdk:sns:2.15.58', which had been released on Jan 04, 2021.
Now able to publish on sns fifo topic with messageGropuId with java sdk. Below error had gone now:-
Invalid parameter: The MessageGroupId parameter is required for FIFO topics
SNS mvn repo url: https://mvnrepository.com/artifact/software.amazon.awssdk/sns/2.15.58
Sample code:
          PublishRequest request = PublishRequest.builder()
                .message(message)
                .topicArn(topicArn)
                .messageGroupId("messageGroupId1")
                .messageDeduplicationId("messageDeduplicationId1")
                .build();

I am closing this ticket now.
Thanks,

I am still facing the issue on aws lambda node js code, lambda will get the sdk version automatically i suppose? or do i need to upgrade? how do i do it?


Fails to import any non-pure Python modules that are C-based

let gil = Python::acquire_gil();
let py = gil.python();

match py.import("datetime") {
        Err(e) => e.print(py),
        Ok(x) => {},
    }

Traceback (most recent call last):
  File "/Users/michael/.pyenv/versions/3.6.3/lib/python3.6/datetime.py", line 8, in <module>
    import math as _math
ImportError: dlopen(/Users/michael/.pyenv/versions/3.6.3/lib/python3.6/lib-dynload/math.cpython-36m-darwin.so, 2): Symbol not found: __PyLong_GCD
  Referenced from: /Users/michael/.pyenv/versions/3.6.3/lib/python3.6/lib-dynload/math.cpython-36m-darwin.so
  Expected in: flat namespace
 in /Users/michael/.pyenv/versions/3.6.3/lib/python3.6/lib-dynload/math.cpython-36m-darwin.so

This is on a Mac. Python is installed via pyenv. Any idea where I should look?

pyo3-built imports datetime to build a datetime object and it works fine on a system install. So I'd be in favor of a pyenv specific bug.

We got datetime bindings now; Feel free to open another issue if modules still can't be imported with pyo3 that can be imported with normal python.


Atom-beautify causes chaotic behaviour and empties files on save (.html)

Description
After updating to 1.19 Atom starts behaving unexpected after saving html files. It doesn't add/delete anything and redo command is not working. Then, if I close the file and open again the file appears empty. Disabling atom-beautify fixed the problem.
Steps to Reproduce

Open html file
Save file
Close file
Open again

Debug
Disable atom-beautify
Checklist
I have:

[x] Tried uninstalling and reinstalling Atom Beautify to ensure it installed properly
[x] Reloaded (or restarted) Atom to ensure it is not a caching issue
[x] Searched through existing Atom Beautify Issues at https://github.com/Glavin001/atom-beautify/issues
so I know this is not a duplicate issue
[x] Filled out the Input, Expected, and Actual sections above or have edited/removed them in a way that fully describes the issue.
[ ] Generated debugging information by executing Atom Beautify: Help Debug Editor command in Atom and added link for debug.md Gist to this issue

This started happening after I updated Atom as well. It seems to be on multiple file types, not just HTML. I noticed it while working in .js files.

Same bug here, started happening after Atom updated to 1.19.0. I confirm it's at least on HTML and CSS files.

I'm having this issue as well with .js files.
Moreover, when I press save, it seems like the beautifier runs non stop, taking 100% CPU. When I close atom to stop it and start it back, the file is empty.
Disabling atom-beautify fixed the problem.

Confirming issue. Just spent half an hour figuring out which plugin caused this behaviour. Cheers!

Same issue here, been having the issue going for 2 days. Only happened with JS files tho. Disabled each plugin installed one by one until issue was fixed. Disable atom-beautify and now all works perfectly again.

I have the same issue as well.... Although if you go in and disable the beautify on save for the language you are currently working with it will no longer have the random issues.

Same after updating to Atom 1.19.0
Causes webpack dev server to recompile in constant loop, on save of .js file it wipes out all content.

Ultimately caused by https://github.com/Glavin001/atom-beautify/issues/1721. Try disabling beautify on save  as that is where the issue lies. Manual beautify should not cause these problems.

Same problem here. Another weird phenomenon: If I try to save a .json file with beautify on save enabled, the cursor wanders around backwords from token to token.

This is caused by https://github.com/Glavin001/atom-beautify/issues/1721 . I will close this as a duplicate.
Workaround: disable "Beautify On Save" until fixed.
Upcoming fix: https://github.com/Glavin001/atom-beautify/pull/1804

Published to v0.30.5


Resolve #48

I believe this should resolve the issue of shortrevs being passed to fetchgit (#48)

Thanks a lot! Could you add a brief comment explaining what's happening? I lost context :/

Ah, got it. Looks good! I'll run the tests locally. Alternatively you can enable GitHub actions on your fork.

I'm getting an error:
cargo -Z unstable-options --locked build $cargo_release -j "$NIX_BUILD_CORES" --out-dir out --message-format=$cargo_message_format
error: no matching package named `rand` found
location searched: https://github.com/rust-random/rand?rev=5b0d87436999c3d930e17f9f10bdb68cd0aa38df#5b0d8743
prerelease package needs to be specified explicitly
rand = { version = "0.7.0-pre.1" }
required by package `crate-b v0.1.0 (/build/dummy-src/crate-b)`
[naersk] cargo returned with exit code 101, exiting

When running:
$ nix-build ./test.nix -A git-dep-dup

Seems actions are already enabled!
Otherwise, good catch, seems I'd not considered that case and the lock matching wasn't considering the specific shortrevs. The commit I've just pushed fixes that, and the tests now all pass locally, but I'll squash it in a second.
If not already clear, all this does is update the crate parsing so that the shortrevs get replaced by full revision hashes where necessary, so fetchgit doesn't crash out.


Replace the NSFW directive with a more general-purpose metadata system

The NSFW/SFW directives don't seem very useful outside of the standard dictionary. They could be removed and replaced with a system that allows you to attach metadata tags to dictionary entries and query those tags at run-time.
This would still allow tagging things as NSFW, but it would also enable things like tagging something as always plural (earnings, goods, clothes etc).
A sample (which is not a syntax proposal):
@class add tool
  >> spade/s
  | class blunt
  >> scissors/
  | class sharp
  | tag pair_of
@class remove tool

@class add orifice
  >> ear/s
  >> nostril/s
  @tag add nsfw
    >> arse/s
    >> dickhole/s
  @tag remove nsfw
@class remove orifice

Hey, is that your [hastag: tool1; pair_of]{pair of\s}<noun.singular-tool::=tool1>?
# Hey, is that your pair of scissors?
# Hey, is that your spade?

What if you'd stick it up your [hastag: orifice1; nsfw]{fucking\s}<noun.singular-orifice::=orifice1>?

This is a query for a rude orifice: <noun-singular-orifice#nsfw>.

I'm having trouble understanding what the difference is, semantically, between tags and classes. Are tags supposed to be some kind of secondary class?

I think the idea is that a tag is a sort of global class filter. So instead of NSFW being a class and having to filter out the NSFW class on every query, it would be filtered out by default.

I guess the difference between a class and a tag is somewhat arbitrary. The idea of a global class filter @cpancake mentioned is not something I originally thought of, but I could see it being useful.
If nothing else, I'd love to see [hastag:] or [hasclass:] being added.

It would be useful to have global class filtering policies that can be turned on and off. That sounds like something that would be more of a header directive than something applied to individual entries.
The idea of having a hasclass function is interesting. Would this be functionally identical to a query's -class filter, except used to dynamically build queries?

Yes, pretty much.

Good idea. That could eliminate the need for metapatterns in the next major version of Rant, which would make compiling a lot simpler. I'll keep this suggestion in mind for the future.

Adapted version implemented as hidden classes in 6c41088114b2c1769cf45a3bbfa4e299043b25f1.


Provide Software Bill Of Materials

We should generate a SBOM for the kubewarden controller.
Requirements:

[ ] Each controller release has its own SBOM file generated
[ ] The SBOM is signed using cosign
[ ] The SBOM is attached to the GH Release as an artifact

I would suggest to use https://github.com/kubernetes-sigs/bom - this is what the Kubernetes release teams relies on

Bringing this to the board because we need this info in the self-assessment document. https://github.com/kubewarden/kubewarden.io/issues/93


Digitalocean config

WIP, not for merge yet.
It looks like everything works, but finally starting celery fails with an error on djkombu_queue.
(ve) $ sentry --config=/var/sentry/sentry_conf.py celery beat --pidfile=$HOME/celerybeat.pid

celery beat v3.1.18 (Cipater) is starting.
__    -    ... __   -        _
Configuration ->
    . broker -> django://localhost//
    . loader -> celery.loaders.app.AppLoader
    . scheduler -> celery.beat.PersistentScheduler
    . db -> /tmp/sentry-celerybeat
    . logfile -> [stderr]@%INFO
    . maxinterval -> now (0s)
[2016-05-08 08:22:15,052: INFO/MainProcess] beat: Starting...
[2016-05-08 08:22:15,085: INFO/MainProcess] Scheduler: Sending due task flush-buffers (sentry.tasks.process_buffer.process_pending)
[2016-05-08 08:22:15,137: ERROR/MainProcess] Message Error: Couldn't apply scheduled task flush-buffers: relation "djkombu_queue" does not exist
LINE 1: ..."djkombu_queue"."id", "djkombu_queue"."name" FROM "djkombu_q...
                                                             ^

['  File "/var/sentry/ve/bin/sentry", line 11, in <module>\n    sys.exit(main())\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/sentry/runner/__init__.py", line 148, in main\n    cli(prog_name=get_prog(), obj={}, max_content_width=100)\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/click/core.py", line 716, in __call__\n    return self.main(*args, **kwargs)\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/click/core.py", line 696, in main\n    rv = self.invoke(ctx)\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/click/core.py", line 1060, in invoke\n    return _process_result(sub_ctx.command.invoke(sub_ctx))\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/click/core.py", line 889, in invoke\n    return ctx.invoke(self.callback, **ctx.params)\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/click/core.py", line 534, in invoke\n    return callback(*args, **kwargs)\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func\n    return f(get_current_context(), *args, **kwargs)\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/sentry/runner/__init__.py", line 83, in inner\n    ctx.forward(django)\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/click/core.py", line 552, in forward\n    return self.invoke(cmd, **kwargs)\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/click/core.py", line 534, in invoke\n    return callback(*args, **kwargs)\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func\n    return f(get_current_context(), *args, **kwargs)\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/sentry/runner/decorators.py", line 26, in inner\n    return ctx.invoke(f, *args, **kwargs)\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/click/core.py", line 534, in invoke\n    return callback(*args, **kwargs)\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func\n    return f(get_current_context(), *args, **kwargs)\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/sentry/runner/commands/django.py", line 23, in django\n    execute_from_command_line(argv=[ctx.command_path] + list(management_args))\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line\n    utility.execute()\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute\n    self.fetch_command(subcommand).run_from_argv(self.argv)\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/sentry/management/commands/celery.py", line 24, in run_from_argv\n    [\'{0[0]} {0[1]}\'.format(argv)] + argv[2:],\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/celery/bin/celery.py", line 769, in execute_from_commandline\n    super(CeleryCommand, self).execute_from_commandline(argv)))\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/celery/bin/base.py", line 311, in execute_from_commandline\n    return self.handle_argv(self.prog_name, argv[1:])\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/celery/bin/celery.py", line 761, in handle_argv\n    return self.execute(command, argv)\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/celery/bin/celery.py", line 693, in execute\n    ).run_from_argv(self.prog_name, argv[1:], command=argv[0])\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/celery/bin/base.py", line 315, in run_from_argv\n    sys.argv if argv is None else argv, command)\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/celery/bin/base.py", line 377, in handle_argv\n    return self(*args, **options)\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/celery/bin/base.py", line 274, in __call__\n    ret = self.run(*args, **kwargs)\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/celery/bin/beat.py", line 79, in run\n    return beat().run()\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/celery/apps/beat.py", line 83, in run\n    self.start_scheduler()\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/celery/apps/beat.py", line 112, in start_scheduler\n    beat.start()\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/celery/beat.py", line 463, in start\n    interval = self.scheduler.tick()\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/celery/beat.py", line 221, in tick\n    next_time_to_run = self.maybe_due(entry, self.publisher)\n', '  File "/var/sentry/ve/local/lib/python2.7/site-packages/celery/beat.py", line 207, in maybe_due\n    exc, traceback.format_stack(), exc_info=True)\n']
Traceback (most recent call last):
  File "/var/sentry/ve/local/lib/python2.7/site-packages/celery/beat.py", line 204, in maybe_due
    result = self.apply_async(entry, publisher=publisher)
  File "/var/sentry/ve/local/lib/python2.7/site-packages/celery/beat.py", line 260, in apply_async
    entry, exc=exc)), sys.exc_info()[2])
  File "/var/sentry/ve/local/lib/python2.7/site-packages/celery/beat.py", line 252, in apply_async
    **entry.options)
  File "/var/sentry/ve/local/lib/python2.7/site-packages/sentry/celery.py", line 44, in apply_async
    return OriginalTask.apply_async(self, *args, **kwargs)
  File "/var/sentry/ve/local/lib/python2.7/site-packages/celery/app/task.py", line 559, in apply_async
    **dict(self._get_exec_options(), **options)
  File "/var/sentry/ve/local/lib/python2.7/site-packages/celery/app/base.py", line 353, in send_task
    reply_to=reply_to or self.oid, **options
  File "/var/sentry/ve/local/lib/python2.7/site-packages/celery/app/amqp.py", line 305, in publish_task
    **kwargs
  File "/var/sentry/ve/local/lib/python2.7/site-packages/kombu/messaging.py", line 172, in publish
    routing_key, mandatory, immediate, exchange, declare)
  File "/var/sentry/ve/local/lib/python2.7/site-packages/kombu/connection.py", line 436, in _ensured
    return fun(*args, **kwargs)
  File "/var/sentry/ve/local/lib/python2.7/site-packages/kombu/messaging.py", line 184, in _publish
    [maybe_declare(entity) for entity in declare]
  File "/var/sentry/ve/local/lib/python2.7/site-packages/kombu/messaging.py", line 111, in maybe_declare
    return maybe_declare(entity, self.channel, retry, **retry_policy)
  File "/var/sentry/ve/local/lib/python2.7/site-packages/kombu/common.py", line 113, in maybe_declare
    return _maybe_declare(entity, declared, ident, channel)
  File "/var/sentry/ve/local/lib/python2.7/site-packages/kombu/common.py", line 120, in _maybe_declare
    entity.declare()
  File "/var/sentry/ve/local/lib/python2.7/site-packages/kombu/entity.py", line 522, in declare
    self.queue_declare(nowait, passive=False)
  File "/var/sentry/ve/local/lib/python2.7/site-packages/kombu/entity.py", line 548, in queue_declare
    nowait=nowait)
  File "/var/sentry/ve/local/lib/python2.7/site-packages/kombu/transport/virtual/__init__.py", line 446, in queue_declare
    self._new_queue(queue, **kwargs)
  File "/var/sentry/ve/local/lib/python2.7/site-packages/kombu/transport/django/__init__.py", line 36, in _new_queue
    self.Queue.objects.get_or_create(name=queue)
  File "/var/sentry/ve/local/lib/python2.7/site-packages/django/db/models/manager.py", line 154, in get_or_create
    return self.get_queryset().get_or_create(**kwargs)
  File "/var/sentry/ve/local/lib/python2.7/site-packages/django/db/models/query.py", line 376, in get_or_create
    return self.get(**lookup), False
  File "/var/sentry/ve/local/lib/python2.7/site-packages/django/db/models/query.py", line 304, in get
    num = len(clone)
  File "/var/sentry/ve/local/lib/python2.7/site-packages/django/db/models/query.py", line 77, in __len__
    self._fetch_all()
  File "/var/sentry/ve/local/lib/python2.7/site-packages/django/db/models/query.py", line 857, in _fetch_all
    self._result_cache = list(self.iterator())
  File "/var/sentry/ve/local/lib/python2.7/site-packages/django/db/models/query.py", line 220, in iterator
    for row in compiler.results_iter():
  File "/var/sentry/ve/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 713, in results_iter
    for rows in self.execute_sql(MULTI):
  File "/var/sentry/ve/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 786, in execute_sql
    cursor.execute(sql, params)
  File "/var/sentry/ve/local/lib/python2.7/site-packages/django/db/backends/util.py", line 53, in execute
    return self.cursor.execute(sql, params)
  File "/var/sentry/ve/local/lib/python2.7/site-packages/django/db/utils.py", line 99, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/var/sentry/ve/local/lib/python2.7/site-packages/django/db/backends/util.py", line 53, in execute
    return self.cursor.execute(sql, params)
SchedulingError: Couldn't apply scheduled task flush-buffers: relation "djkombu_queue" does not exist
LINE 1: ..."djkombu_queue"."id", "djkombu_queue"."name" FROM "djkombu_q...

The last commit f2a24c9 lets the build get a bit further, but database migration is still failing.
To reproduce, I can execute the following (copied from the ansible output) as the sentry user:
sentry --config=/var/sentry/sentry_conf.py upgrade
Syncing...
Creating tables ...
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)

Synced:
 > south

Not synced (use migrations):
 - kombu.transport.django
(use ./manage.py migrate to migrate these)
Running migrations for django:
- Nothing to migrate.
 - Loading initial data for django.
Installed 0 object(s) from 0 fixture(s)
Creating missing DSNs

This currently not mergeable according to Github. Can you fix that?


Hub reporting as node?

We noticed this is a first time running, we will ask some configuration settings
What is the default Role of this computer? (1 - node | 2 - hub | 3 - hub & node)
Default Value: 1
2  <-- I chose HUB
'2' was set as your value
What is the HOST for the Selenium Grid Hub?
Default Value: <IP_ADDRESS>
'<IP_ADDRESS>' was set as your value
What is the PORT for the Selenium Grid Hub?
Default Value: 4444
'4444' was set as your value
Would you like WebDriver, IEDriver and ChromeDriver to auto update (1-yes/0-no)
Default Value: 1
1
'1' was set as your value
Current Selenium Driver Version: 2.44.0
Current IE Driver Version: 2.44.0
Current Chrome Driver Version: 2.12
Should this Node record test runs? (1-yes/0-no)
Default Value: 1 <-- Yes it asks this

@cktech529  I created a pull request for this fix.

This PR got merged in : https://github.com/groupon/Selenium-Grid-Extras/pull/82
@cktech529  or @dimacus  can you close?
Thanks.

I could once I am back.
About that video bug, I moved domain for hub and nodes, changed hub to ip
vs host name and bam, it's recoding videos now. Very strange.
On Jan 28, 2015 4:00 PM, "Shawn McCarthy"<EMAIL_ADDRESS>wrote:

This PR got merged in : #82
https://github.com/groupon/Selenium-Grid-Extras/pull/82
@cktech529 https://github.com/cktech529 or @dimacus
https://github.com/dimacus can you close?
Thanks.
—
Reply to this email directly or view it on GitHub
https://github.com/groupon/Selenium-Grid-Extras/issues/67#issuecomment-71914826
.

I just realized that this isn't in a downloadable release yet. Will have to wait until the next SGE release to test this fix (or build it yourself).

Just saw that too,
I'll try and build myself. I'm on a windows system at the moment, is there
a process to point to?
Chris
On Jan 28, 2015 4:47 PM, "Shawn McCarthy"<EMAIL_ADDRESS>wrote:

I just realized that this isn't in a downloadable release yet. Will have
to wait until the next SGE release to test this fix (or build it yourself).
—
Reply to this email directly or view it on GitHub
https://github.com/groupon/Selenium-Grid-Extras/issues/67#issuecomment-71923193
.

You can probably just checkout the code and do mvn clean install -DskipTests (from the SeleniumGridExtras directory).

@cktech529 Closing this issue as it has been merged into master and new releases have it. Please reopen or open a new issue if you feel one requires it.


Init with used parts of former service chassis lib

Initialize the repository with all of the code that we want to take over from the GHGA Service Chassis Lib.

The checks should pass when we will update the template files


Start building images tagged with pr_id, and only post Preview URL if  detected 200 status code

We recently switch the env build script to post the latest digest instead of relying on the commit hash, and to check for pr_id tag name This switches the image tag to be pr_id, which:

reduces the number of tags in the CR view
allows for there to not be a flip/flop when checking for the latest image (we just update the digest instead)
pr_id is slightly more consistent that the sha, as that changes with pushes to master (without triggering the build).

Finally, we stall the pipeline for 30 mins waiting for the Environment to appear before we publish the Preview Environment. This should also make the developer experience slightly better, rather than having to infer and wait after the env URL is posted.

I can't understand why your changes are causing the failure in CI.

The failure look unrelated - network level failure between github and the source server in azure maybe?


"TypeError: atVariables is not a function" with v0.2.0.

Node.js version: v14.15.0 LTS
postcss-at-rules-variables version: v0.2.0

After updating to the new version I get the error TypeError: atVariables is not a function.
It appears that require('postcss-at-rules-variables') now returns an object ({ default: [Function: _default], postcss: true}) where other plugins return a function ([Function (anonymous)] { postcss: true }).
I can work around the problem by using atVariables['default']() instead, but I'm not sure what the side effects of that are, if any.

@ehoogeveen What version of postcss are you using?

I tested with postcss version 8.1.7 and pocstcss-cli version 8.2.0, on Windows.

I tested with postcss version 8.1.7 and pocstcss-cli version 8.2.0, on Windows.

Can you give an example or link where you get the error?

I just upgraded to 0.2.0 and had exactly the same issue.TypeError: i is not a function
I'm using in conjunction with postcss-mixins - I'll try throw a mini reproduction together

That would be great, thanks. I've been meaning to make a test case but our setup is a bit arcane.

I've faced with a similar in https://github.com/AlexWayfer/flame-cli/pull/57 (I'm trying to replace SCSS with PostCSS completely, so it's not quite this PR, but based on it).
> postcss assets/styles/ -d public/styles/ --base assets/styles/ --ext=css

TypeError: require(...) is not a function
    at Object.<anonymous> (/home/alex/Projects/ruby/test/foo_bar/postcss.config.js:3:40)
    at Module._compile (node:internal/modules/cjs/loader:1102:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1131:10)
    at Module.load (node:internal/modules/cjs/loader:967:32)
    at Function.Module._load (node:internal/modules/cjs/loader:807:14)
    at Module.require (node:internal/modules/cjs/loader:991:19)
    at module.exports (/home/alex/Projects/ruby/test/foo_bar/node_modules/.pnpm/import-fresh@3.2.2/node_modules/import-fresh/index.js:32:59)
    at loadJs (/home/alex/Projects/ruby/test/foo_bar/node_modules/.pnpm/cosmiconfig@7.0.0/node_modules/cosmiconfig/dist/loaders.js:16:18)
    at Explorer.loadFileContent (/home/alex/Projects/ruby/test/foo_bar/node_modules/.pnpm/cosmiconfig@7.0.0/node_modules/cosmiconfig/dist/Explorer.js:84:32)
    at Explorer.createCosmiconfigResult (/home/alex/Projects/ruby/test/foo_bar/node_modules/.pnpm/cosmiconfig@7.0.0/node_modules/cosmiconfig/dist/Explorer.js:89:36)

My configuration:
// postcss.config.js

module.exports = {
	plugins: [
		// there can be more, but it's reproducible only with this package
		require('postcss-at-rules-variables')({ atRules: ['media'] })
	]
}

package.json:
	"dependencies": {
		"@babel/core": "*",
		"@babel/plugin-transform-object-assign": "*",
		"@babel/preset-env": "*",
		"@rollup/plugin-babel": "*",
		"@rollup/plugin-commonjs": "*",
		"@rollup/plugin-json": "*",
		"@rollup/plugin-node-resolve": "*",
		"autoprefixer": "*",
		"postcss-at-rules-variables": "*",
		"postcss-cli": "*",
		"postcss-flexbugs-fixes": "*",
		"postcss-mixins": "*",
		"postcss-nested": "*",
		"promise-polyfill": "*",
		"rollup": "*",
		"sass": "*",
		"simplify-js": "*",
		"whatwg-fetch": "*"
	},
	...
	"scripts": {
		"build:styles": "postcss assets/styles/ -d public/styles/ --base assets/styles/ --ext=css",
		...
	}

With version lock like this:
"postcss-at-rules-variables": "^0.1.0",

there is no such error.

But it locks PostCSS at version 7, and other dependent packages too.

I've faced with a similar in AlexWayfer/flame-cli#57 (I'm trying to replace SCSS with PostCSS completely, so it's not quite this PR, but based on it).

Describe the configuration OS, nodejs ?

I've faced with a similar in AlexWayfer/flame-cli#57 (I'm trying to replace SCSS with PostCSS completely, so it's not quite this PR, but based on it).

Describe the configuration OS, nodejs ?

Arch Linux, Node.js 15.1.0
I found simpler project: https://github.com/AlexWayfer/alexwayfer.name

@ehoogeveen @spacedawwwg @AlexWayfer I made a small fix, please update the package. Let me know if it doesn't work for you.

Problem seems to be fixed for me, thanks!

Confirm, see no problems anymore, thank you.


Web shells: Huge update

Adding support for 60 new web shells (PHP). We are now able to detect 95 web shells.
Data source: https://github.com/JohnTroony/php-webshells/tree/master/Collection

Maybe i should renumber rule IDs and assign IDs with step of 5 instead of 10? Currently, the last rule has ID 955960.

This is a great contribution. We will need to talk about the right form to introduce this. As it stands it's an awful lot of rules and that means a severe performance impact.

Lots of rules (those not using @rx) could be joined togather using @pm.

That's what I thought as well. :)

See https://github.com/coreruleset/coreruleset/pull/2116

Closing this PR in favor of PR #2116.


Refactor NetworkManager's complex use of sets

There are various sets inside, and it's all a bit too complicated to reason about:

todo_addresses
known_addresses
connecting_addresses

In addition to that, some of the initialization in start() should be moved to the constructor so the class is always in a ready-to-go state. Otherwise it's possible some incoming requests are routed to the NetworkManager while start() hasn't yet been called, which leaves it in an inconsistent state.
I'll work on this later.

Folding into #587


Image loading issues.

i have integrated  MWPhotoBrowser .
Everything works super good.
The issue im facing is ,when i scroll to a particular page,the image will gets loaded in 10 0r 15 seconds..
If i didn't scroll to a particular page,it is not getting loaded,say for example,it did not loaded till 15 mins.
My condition is,i have to stay at a particular page till the image loading gets complete.
And then i have to move to the next page to start loading it.
Am i missing something??
Please answer!

I have the same problem

i too have the same problem.
But i do have solution for that.
Try to change the SDWebImage download mode .
Change the MAX concurrent download to 10 or so.
This may solve the issue.

I have the same problem, any ideas so far?


Support datastore cluster

What this PR does / why we need it:
This PR provides initial datastore clusters support for the vSphere provider.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #653
Special notes for your reviewer:

/retest

\retest

/retest

/retest

/retest

/test pull-machine-controller-e2e-vsphere-datastore-cluster

/approve

/lgtm


Correct small spelling mistake.

Purpose of this pull request
This pull request (PR) ...
Affected pages

...

Links to Magento Open Source code

...

Closing due to inactivity. I made the fix in #171


add support for list values

Looks good, but can we add a test for this please

Added tests around setting  avalue and listValues.


Throw in a map with the ability to draw regions

Testing out adding in a map and drawing polygons on it.  Worked pretty well.  Uses leaflet and OSM.  I don't know if we want to merge because we might end up using something different for the drawing part, but for the map itself i'm pretty sure it'll be leaflet for the interaction layer.
The tiles themselves can be swapped out, if we aren't happy with these free basic ones Cal can design us some cool map layers.

let's say this closes #17


haxelib run go2hx now requires full path for -output and -hl does not work

This error as at commit 44205010d08e0cc5cd46c3563d45600d9992c451.
In good news haxelib run go2hx main.go  --interp still works as before.
A relative output path...
haxelib run go2hx main.go -o ./elliott --interp

...causes the named directory to be created inside the go2hx library code!
So to generate the Haxe locally (rather than inside the library) now requires a full path:
haxelib run go2hx main.go -o `pwd`/golibs --interp

I've been unable to get HashLink generation to work:
% haxelib run go2hx main.go -o `pwd`/golibs --hl run.hl
create compiler instance
listening on local port: 6162
nodejs server started
accepted connection
Generated: /Users/elliottstoneham/code/go2hx/rnd/golibs//Main.hx - 0.305kb
haxe -lib go2hx -cp /Users/elliottstoneham/code/go2hx/rnd/golibs --hl run.hl  -m Main
Error: Could not process argument
Could not process argument
Package name must not be empty
hl run.hl
File not found 'run.hl'

But if I use exactly the same Haxe/HL commands as above from my code directory, it all works correctly:
% haxe -lib go2hx -cp /Users/elliottstoneham/code/go2hx/rnd/golibs --hl run.hl  -m Main
% hl run.hl
go2hx test output

Which suggests that the working directory is not set as it was.

Fixed, thank you @PXshadow.


Add HighAvailabilityMode field to 'infrastructure' CRD

Implements enhancement https://github.com/openshift/enhancements/pull/555
Signed-off-by: Ravid Brown<EMAIL_ADDRESS>

@marun

@marun

@ravidbro once the enhancement is merged, lets update this PR.

@ravidbro once the enhancement is merged, lets update this PR.

@ravidbro once the enhancement is merged, lets update this PR.

Updated according to the merged enhancement

@ravidbro once the enhancement is merged, lets update this PR.

Updated according to the merged enhancement

@wking @csrwng @derekwaynecarr how do you suggest to proceed regrading the "infrastructure nodes"  nodes discussion?
https://github.com/openshift/api/pull/827#discussion_r557575947
Are we good as it is now? Or extra infa/changes are required?
Here is an example how it should be used in ingress:

@wking @csrwng @derekwaynecarr how do you suggest to proceed regrading the "infrastructure nodes"  nodes discussion?
https://github.com/openshift/api/pull/827#discussion_r557575947
Are we good as it is now? Or extra infa/changes are required?
Here is an example how it should be used in ingress:

@romfreiman for me, it's fine as it is

@romfreiman for me, it's fine as it is

@wking what about you?

@wking what about you?

/assign @smarterclayton

/assign @smarterclayton

LGTM. nit: lower-case the field name in descriptions
/approve

LGTM. nit: lower-case the field name in descriptions
/approve

/hold
until master opens.

/hold
until master opens.

/lgtm

/lgtm

/retest

/retest

/retest

/retest

/hold cancel

/retest

/bugzilla refresh


Swift 4.2 migration

Please merge ASAP as this issue is preventing our team from using this package currently!  Otherwise, we will have to start using another fork.

please merge! using me too!!

@baidikoff @tpoche @GentaObata
very sorry :confounded:
merged!! 👍

thanks!

Thank you very much!  Cheers!


Clarify mirroring external private images

In theory it is as simple as setting up this job.
periodic-image-mirroring-supplemental-ci-private-images-redhat
https://github.com/openshift/release/blob/62bd02cec4d1bb02ae9c7d21794a2cf929435c4e/ci-operator/jobs/infra-image-mirroring.yaml#L963
However, it is not practical:
In case the target image could be public (very odd because the source cannot be public in the first place), the image has to set up a new namespace and push credentials for that namespace. The namespace cannot be ci because it could impact other images in ci.
In case the target image stays private, in additional to the above credentials, the ci-operator on other build-farms need to have access to importing the image to the testing namespace.
We probably need a design and automation for the case.

Someone just did this in: https://github.com/openshift/release/pull/37565. They could be having problems with it though, I'm not sure...
I think they were okay with the image in the ci registry being public, but it wasn't ideal either. It would be best to rethink this whole thing for sure
/lgtm


Is it really faster?  (Benchmarks?)

How much faster is accimage than Pillow{,-SIMD}?  Some rough numbers, even say a single sentence in the root README, would be helpful.
FWIW Pillow has some benchmarks here: https://python-pillow.org/pillow-perf/

Loading is substantially slower in accimage than in Pillow-SIMD built against libjpeg-turbo, resizing is quicker.
Here are some results for a single test image of dimensions 1024x768.
Profiling results for 1024x768.jpg
Loading file:
pil:       0.14102697372436523ms ± 0.025246636204578825ms (100 runs)
accimage:  7.622361183166504ms ± 0.9446582625746907ms (100 runs)
Cropping:
accimage:  0.00025272369384765625ms ± 0.00019608388133003323ms (100 runs)
pil:       0.1203775405883789ms ± 0.7707506096893927ms (100 runs)
Resizing x2 bilinear:
accimage:  9.610261917114258ms ± 0.5184845545744059ms (100 runs)
pil:       24.707045555114746ms ± 2.3387713117330766ms (100 runs)
Resizing /2 bilinear:
accimage:  0.5994129180908203ms ± 0.09683739910364275ms (100 runs)
pil:       4.5217108726501465ms ± 0.7945432152139257ms (100 runs)

I'm starting writing some benchmarks to compare the two here: https://github.com/willprice/accimage-benchmark

In my setting, accimage was significantly faster than Pillow (~1.4x-1.5x), but not so much compared to Pillow-SIMD.
Roughly speaking, for every 1000 images Pillow-SIMD loads and pre-processes (crop+resize+transpose), accimage does ~1015.

That's buggy, it needs to re-read the image before running the accimage transformations to be accurate.
In my experience Pillow-SIMD is the better option than accimage, although I'd like to revisit and properly benchmark when I have time, something that won't happen for a long time!

+1 -- would be interested to see a comparison with pil-simd (libjpeg-turbo) in particular!


Update docs for PaC API changes

Don't merge until we make release a new version of @pulumi/policy tomorrow.

although wondering if we should add anything about stack validations? And if so maybe we add the concept of resource vs stack validations to the "Core Concepts" page?

Will do this as a follow-up. It's tracked in https://github.com/pulumi/pulumi-policy/issues/132


Drop extra profile calls

Coverage increased (+0.01%) to 82.412% when pulling 23acdb7e9b3bf0f8ad8b15e086677050ff707486 on eatonphil:simplify-oauth-and-layout into b89e397cd66e8fe9e3b61981be4fa2164bbea62c on linode:master.

Coverage increased (+0.01%) to 82.412% when pulling a7f3b99c060eee69b00227818035508175afafb0 on eatonphil:simplify-oauth-and-layout into 5ecdb6f4c1644aa39292cdd61f6d8c3d3aa1ad62 on linode:master.


NEI

When using the Rick-Click function or the "U" Key function on any NEI recipe it will severely bog down the system and eventually crash Minecraft from the server OR CTD Minecraft. A friend looked at my error log and said it was a Memory issue but that was due to NEI clogging everything up. This also effects a few other people on our server and want to know if it is a mod that is struggling or what?

It's indeed a memory issue. With 160 mods usually loaded think about running every item in the game through a strainer on multiple levels pretty much like a clear text filter works. It gets slowed and clogged up. Looking into it but can pin point if its an exact mod derping or just sheer volume.

I still don't understand that it is only effecting the Right-Click and "u" functions on the NEI. I can left click through everything just fine.

The Issue seemed to be the "Secret Doors" mod. Deactivating it on the server freed up serverside CPU, RAM, No-One is crashing, and NEI is working.

Thanks. We will be removing the mod all together due to its horrendous resource usage, mod incompatibility that frequently corrupts chunks, and generally buginess .


Allow whitespace-delimited comparator sets

Per https://docs.npmjs.com/misc/semver#ranges, comparators can be joined by whitespace to form a comparator set.  But version_req.rs currently requires comparator sets to be comma-delimited.
VersionReq::parse(">= 0.4 < 0.5") currently returns an OpAlreadySet error, but it should be equivalent to VersionReq::parse(">= 0.4, < 0.5").

This is hard due to the ambiguity of
">= 0.4 < 0.5"
   ^   ^

these two spaces. Bummer :/

with https://github.com/steveklabnik/semver/pull/63 merged this should be a lot easier. well, once the VersionReq parser is ported over, anyway.

Cargo doesn't accept this style, and so I'll consider it out of scope for this crate. Once there is a Cargo RFC to accept this and Cargo is on board, we can update the implementation here.


Shouldn't create a new schema per request

As mentioned in #4 creating a new remote schema is expensive and shouldn't be done on a per request basis (or at least should be implemented more efficiently).

I'm caching the introspection schema result, the overhead of creating the actual schema from it is minimal, the introspection query takes most of the effort:
https://github.com/qewl/qewl/blob/master/src/middlewares/remoteSchema.ts#L68-L75


[FloatingActionButton] Appear and disappear animation

Description
Google Material Design provide FAB behavior info, also about animation. Look at GMD behavior info Lateral screens for example. I really want to follow this guidelines and implement this feature as it's missed now in MUI.
Images & references

After analyzing the video, I found:
Disappearing
Icon keep the same proportion of root element
7 frames ~233ms - FAB dissapear
Appearing
9 frames ~300ms for all animation
7 frames ~233ms for FAB itself,
6 frames ~200ms for inner icon
Icon start appearing after 3 frames ~100ms
In according to GMD Common durations the time of leaving object will be approximately over 195ms, and entering about 225 ms (which seems used here). And it's for mobile only. As described in GMD

for the desktop the animation should last 150ms to 200ms
So I want to use ~150ms for disappearing and ~200ms for appearing animation (start icon growth after 50ms).

And, of course, it will be usefull to integrate it with whole library timings, but seems no solution provided yet. Check the #5180

Ok, I studied the source code of src/internal/CircleRipple.js and facebook/react  src/addons/transitions/ReactCSSTransitionGroupChild.jsx
To realize the animation we should change style to the start of the animation and then apply style for the end of animation. MUI use componentWillEnter()-componentDidEnter() trick to do that job, the CSSTransitionGroupChild work only on componentWillEnter which is better because use blocking animation. This is important for animated FAB. But the animation will be started at next TICK (which is now 17 ms). But my animation code will look like the ReactCSSTransitionGroup.jsx. And again the question about using styling discussed in #4066.
Anywhere I will realize that with TICK = 0 - this works on Desktop Chrome.

@oliviertassinari Could you please look at #5266 ?
We a really need that feature. And I think about two options:

You can apply just #5246. I will create new repo like material-ui-enhanced and put the AnimatedFAB there. Maybe until next will be released.
You can merge both #5246 and #5266. May be with some remarks and recommendations to change.

And of course this should be integrated into existed FloatingActionButton instead of creating new HOC, because this is behavior GMD really described. And it can be enabled/disabled through the property.
As I know any features wouldn't be implemented until next, so my first solution make sense.

The package has been published: https://www.npmjs.com/package/material-ui-animated-fab

Closed by @mbrookes with #9693.


Error 501 when accessing https://floor.codes/

When i try to access documentation at https://floor.codes/ the system return an error 501.

thanks for your report. the issue should be fixed now. feel free to reopen the ticket if the problem surfaces again.


fix code style violations

Address code style violations reported by scrutinizer, mostly bringing code style in line with PSR-2

@julianseeger I finally got around to cleaning up all those code style violations. Once this gets merged I will look into coveralls.

Scrutinizer says:

Uh, seems like someone is on fire. 204 issues were fixed!

good job ;)


replace 'an' with 'a' in xml comments

Replaces An with A and an with a in the xml comments.
Addresses #17446

Thanks!


Type species

Coverage increased (+0.07%) to 96.0% when pulling f14e1bacb65b2e7aba91950e6f9d45170632e823 on type_speciew into bdb76b45fd27987ffdb6632313fea09a4c863d1f on master.

Coverage increased (+0.09%) to 96.02% when pulling e7b1e1f6c71bcafc1e0b1bd1ead1df547ee4b7c1 on type_speciew into bdb76b45fd27987ffdb6632313fea09a4c863d1f on master.

Coverage increased (+0.09%) to 96.02% when pulling 199b19f4afc8f0f25a20008ff1671bc3fb29129f on type_speciew into bdb76b45fd27987ffdb6632313fea09a4c863d1f on master.


:test_tube: Integrate code_coverage

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Add Mastodon/Fediverse attribution meta tags

Add <link rel="me"> and fediverse:creator meta.
See https://joinmastodon.org/verification and https://github.com/mastodon/mastodon/pull/30398
To use, open site.metadata.yml and add mastodon username and server:
mastodon:
  username: handle
  server: mastodon.server

Generates:
<link rel="me" href="https://mastodon.server/@handle">
<meta name="fediverse:creator" content="<EMAIL_ADDRESS>

This is awesome! Thanks 🙏🏻

Glad you like it!
The test failures seem unrelated, but let me know if there's something I should do to push this forward.

@goulvench I think I can merge as-is, but would you be able to add a bit of documentation to the Readme? (sorry it's taken me a while to circle back around to this)

Here's an update with a bit of documentation.
The "unescaped HTML in heredoc" warning tells me that I should replace this very basic implementation with mastodon_handle and mastodon_url methods in AuthorDrop. This would allow people to just drop<EMAIL_ADDRESS>into the site or page metadata, and be done with it, without wielding YAML…
I'll try and add this today.


adds Async class

updates boto, botocore and sqlparse for testing
adds infinite wait option for task result functions through wait=-1
fixes bug where task with group would only return group results
faster option iteration for async function
q_options reference now stays intact for reference outside the tasks

Current coverage is 96.50%

Merging #103 into master will increase coverage by +0.14% as of 08b027d

@@            master   #103   diff @@
=====================================
  Files           39     39
  Stmts         2560   2664   +104
  Branches         0      0
  Methods          0      0
=====================================
+ Hit           2467   2571   +104
  Partial          0      0
  Missed          93     93

Review entire Coverage Diff as of 08b027d

Powered by Codecov. Updated on successful CI builds.


Dynamically setting the press event for a sap.m.Button inside a sap.m.Table

Hi, I'd like to know what is the simplest correct way (if one exists) to dynamically bind the press event on a sap.m.Button contained into a sap.m.Table?
I was (somehow) expecting this code to work:
 new sap.m.Button({
        text:"{w/buttonText}",
        type:"{w/buttonType}",
        enabled:"{w/buttonEnabled}",
        press:"{w/buttonCallback}"
       }),

with the w/ being a JSON object of this type:
interface WorkflowInInvoiceTable {
  buttonText: string
  buttonType: sap.m.ButtonType
  buttonEnabled: boolean
  buttonCallback: (e) => void
}

But it seems this is not the case:
Uncaught TypeError: I.fFunction.call is not a function
    at f.a.fireEvent (sap-ui-core.js:449)
    at f.a.fireEvent (sap-ui-core.js:989)
    at f.firePress (sap-ui-core.js:573)
    at f.B.ontap (library-preload.js:696)
    at f.a._handleEvent (sap-ui-core.js:974)
    at constructor.U._handleEvent (sap-ui-core.js:1203)
    at HTMLBodyElement.p (sap-ui-core.js:115)
    at HTMLBodyElement.dispatch (sap-ui-core.js:126)
    at g (sap-ui-core.js:1783)
    at HTMLBodyElement.p (sap-ui-core.js:1783)

Everything binds perfectly but the {w/buttonCallback} that, if put into a normal text field, is correctly stringified.
Note: I've already worked out the gazillionth workaround, so I don't need a consultant action, but having data and manipulators serializable into the same JSON object could be more elegant.
--R

I can see you've closed this issue but did you find an answer? I'm facing the same problem.

Data binding is only supported for properties and aggregations, not for events, not for associations. In declarative views (XMLViews - sorry to mention them in your post @RobertoMalatesta :-) ), you can refer to controller methods by their name. In JS code, you  can to refer to them by reference:
w = /* some instance of WorkflowInInvoiceTable */  ...;
new sap.m.Button({
        text:"{w/buttonText}",
        type:"{w/buttonType}",
        enabled:"{w/buttonEnabled}",
        press: [w.buttonCallback, w]
}),

The array notation with function + context (thisArg) is UI5 specific and ensures that the handler is called with the right this. For sure you can use w.buttonClick.bind(w) instead.
HTH + Kind Regards

@codeworrior thank you for clear explanation :)
Regards.

@codeworrior

(XMLViews - sorry to mention them in your post @RobertoMalatesta :-) )

@eomere I suspect it won't work inside a sap.m.Table (the problem I had), since sap.m.ColumnListItem templates the column once per column.
(So the press function is the same for all elements in the column, not dynamically set with different functions called on different items).
I could be wrong since it was one year ago. @codeworrior can correct me if I'm wrong.
--R


Type '{ children: Element; }' has no properties in common with type 'IntrinsicAttributes'.

Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch<EMAIL_ADDRESS>for the project I'm working on.
Type '{ children: Element; }' has no properties in common with type 'IntrinsicAttributes'.
Here is the diff that solved my problem:
diff --git a/node_modules/react-images/index.d.ts b/node_modules/react-images/index.d.ts
index 3f98829..34b376f 100755
--- a/node_modules/react-images/index.d.ts
+++ b/node_modules/react-images/index.d.ts
@@ -138,7 +138,7 @@ declare const Carousel: React.ComponentType<CarouselProps>

 declare const Modal: React.ComponentType<ModalProps>

-declare const ModalGateway: React.ComponentType<{}>
+declare const ModalGateway: React.ComponentType<{children:any}>

 export default Carousel
 export { Modal, ModalGateway }

This issue body was partially generated by patch-package.

same problem :(

uffou

This works fine.


Unable to load KTX2 texture files into iOS Project

Followed the documentation steps mentioned

ktx.xcframework added to the GLTFKit2 framework target

Trying to load KTX2 file using below code snippet but not able to load it

Please provide us any steps are missed here or code need to be updated! Thanks in Advance.

`
 private func loadAsset() {
 guard let assetURL = Bundle.main.url(forResource: "array_rgba8_linear",
                                      withExtension: ".ktx2")
 else {
     print("Failed to find asset for URL")
     return
 }

 GLTFAsset.load(with: assetURL, options: [:]) { (progress, status, maybeAsset, maybeError, _) in
     DispatchQueue.main.async {
         if status == .complete {
             self.asset = maybeAsset
         } else if let error = maybeError {
             print("Failed to load glTF asset: \(error)")
         }
     }
 }

}
`

Getting this error :
Failed to load glTF asset: Error Domain=com.metalbyexample.gltfkit2 Code=1003 "The asset contains invalid JSON data." UserInfo={NSLocalizedDescription=The asset contains invalid JSON data.}
KTX2 file(Under ZIP file - array_etc1s.ktx2.ZIP) and code :
array_etc1s.ktx2.zip
KTX2-Samples-main.zip

I think this will help you.
https://mega.nz/file/1vkGlJTL#yU-SJLlIilF0mx5qwpPOd3BM8iKZqOJLEQUStR76rrQ
you may need to install the c compiler

Failed to load glTF asset: Error Domain=com.metalbyexample.gltfkit2 Code=1003 "The asset contains invalid JSON data." UserInfo={NSLocalizedDescription=The asset contains invalid JSON data.}

The GLTFKit2 framework doesn’t support loading standalone KTX2 files. It only supports loading glTF/GLB files. If you want to load a standalone KTX file, use libktx or some other KTX loader directly.

Thanks for the quick response warrenm. Do you have any example for iOS libktx or KTX loader? It will help me to proceed. I have tried few iOS KTX loaders but they are not able to load KTX2 formats. Thanks in advance.

I'm not sure what your use case is, but the code in GLTFKTX2Support.m is pretty straightforward and has no additional dependencies besides libktx. If you're using libktx from Swift (with or without a wrapper), I highly recommend writing a C or Objective-C interface to abstract over the libktx API, as using it from Swift gets really gnarly.

@MattGuerrette You sure about that? Even if ImageIO notionally knows what KTX2 is, MTKTextureLoader on iOS 18 fails to load every single KTX2 file in this sample repo, so I'm skeptical that it's usable for practical use cases.

@warrenm  Pretty sure, I have a  textures sample in this repo: https://github.com/MattGuerrette/Metal
which uses MTKTextureLoader to load KTX2 textures.

Fair enough, though I notice that when I use MTKTextureLoader to load your files, they wind up as textures with a pixel format of MTLPixelFormatBGRA8Unorm_sRGB, which seems odd. This sort of spotty support and unpredictable behavior is why I normally steer people away from MTKTextureLoader.

@warrenm  Hmm, interesting. Yeah I only recently added that code to use MTKTextureLoader and made the libktx path optional. I'll probably continue using libktx for the reasons you mention.

Closing due to lack of activity and being off-topic.