[Question/Feedback]: Several Policies became Non Compliant since 10/3 with reason - NoRegisteredProviderFound

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Description
I initially deployed AMBA from the now Archived repository on 10/3/2023.  I deployed unaligned and deployed all Initiatives, into an existing environment and all Policy definitions were successfully remediated and all Initiatives showed 100% compliant and all ALert Rules were created.
My customer and I have both since experienced the following.  Several Initiatives now have definitions which appear as non-compliant, but the Alert rules are still in place, and they still work (ex, deleting an NSG raises the alert).   However, the dashboard shows non-compliant for these shown.  And the two environments are identical!   And Remediation actually succeeds yet definitions remain reflecting noncompliance.
I am thinking that since we moved AMBA to a new GitHub repo that maybe some of the Bicep templates may have changed, but that doesn't explain why an existing deployed environment that has had no Azure Services added or deleted in the last month suddenly change.
I don't want to just clean up and start over because this happened to a customer in hos PROD environment, and I want to be certain of the reason why we might suggest that.
Is anyone else seeing this?

This Compliance Reason is the same for all of them across all initiatives....

This shows I remediated the NSG policy definitions SUCCESSFULLY, yet an hour later they are still showing non-compliant.

I have check that both RPs are enabled on my Subscription
"6. For the policies to work, the following Azure resource providers, normally registered by default, must be registered on all subscriptions in scope:
Microsoft.AlertsManagement
Microsoft.Insights"

Experiencing the exact same issue. Deployed AMBA, all of them went compliant and deployed all the rules and alert rules and now the exact same rules that are showing non-compliant for you is the same for us and the alerts still work. We've deployed this for two customers facing the same compliance issue so any help would be appreciated.

Hello @stdistef,
Can we have a look at your environment?

We were able to see and repro this issue that seems to impacting only Activity Log based alerts. We're still actively investigating and get back as soon as possible.

@Brunoga-MS  I have been having the same issue and trying to work out why, but am yet to pinpoint it. I did spot though that in a number of policy definitions, there are entries for  "existenceScope": "resourcegroup" and "resourcegroup" (with lowercase G) get flags as invalid input as it requires "resourceGroup" . May or may not be related to the issue, but might be something that is worth correcting if not

Hello @philrice ,
thanks for the interesting clue. I tried it out with no luck. We're still investigating the issue.
Thanks.

Policy team have identified the issue and are looking to apply a fix.

just for clarity.  Both my customer and myself both originally deployed AMBA ~10/3 and all Policies that should be compliant, were compliant.   It seems that approximately 11/3 or 11/4 (2 weekends ago) the Activity Log based initiatives all became non compliant.  They have remained this way since.    The alerts still work.   But the Policy compliance portal says non-compliant.

I have been informed that a fix should be rolled out to all regions in the next 24 hours.
Anyone who sees the problem can check as I plan to do tomorrow.

@stdistef - so is that in the form of a fix to the Azure Policy platform itself? or are changes being made to the AMBA repo that we will need to resynch with? (or both)
thanks

@stdistef - so is that in the form of a fix to the Azure Policy platform itself? or are changes being made to the AMBA repo that we will need to resynch with? (or both) thanks

I am told its an Azure backend service change and wont require us to redeploy.

Correct this is a backend issue which is being surfaced by AMBA, no updates are required to your deployment to fix this, we just need to wait for the rollout to complete, if it’s still the same tomorrow please let us know here. Thanks!

I am still getting this error , so wanted to check if anyone has seen the changes remediate the problem in their tenant/s yet?

N.B. - this is a developer tenant im testing in , so it potentially is earmarked to receive updates later than prod tenants, hence the reason for checking / asking

I'm still in the same boat too, @philrice not compliant ones still around at the moment

Thanks for sharing, we have been advised the roll-out will complete to all regions by end of Saturday, keep us posted after this date to see if these have landed in your region successfully

My test environment is looking so much better this morning!!!!

Customer's environment in Australia SE, not yet

Got the news that the issue have been mitigated by the Azure Policy team. You should now see the compliance back to work. My environment looks good now.


libcurl dependency issue with Yocto build and pre-built .NET Core 2.0.6 arm binaries

Following the instructions in this repo, I've been trying to package the .NET Core 2.0.6 pre-built binaries as part of a Yocto build. All is well with the build process until I hit this error regarding the libcurl dependency :
ERROR: dotnetcore-2.0.6-r0 do_package_qa: QA Issue: /opt/dotnet/shared/Microsoft.NETCore.App/2.0.6/System.Net.Http.Native.so contained in package dotnetcore requires libcurl.so.4(CURL_OPENSSL_3), but no providers found in RDEPENDS_dotnetcore? [file-rdeps]
ERROR: dotnetcore-2.0.6-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: dotnetcore-2.0.6-r0 do_package_qa: Function failed: do_package_qa

Curl and libcurl are specified in my DEPENDS and RDEPENDS_${PN}, and curl and libcurl.so.4 are definitely packaged into the rootfs so I'm not sure why there's an issue here.
curl -V

curl 7.54.1 (arm-poky-linux-gnueabi) libcurl/7.54.1 OpenSSL/1.0.2n zlib/1.2.11
Release-Date: 2017-06-14
Protocols: file ftp ftps http https
Features: AsynchDNS IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets HTTPS-proxy

I'm also hitting the same problem when trying to package a self-contained application instead of going down the shared framework route.
I'm using the 'rocko' branch of poky.
Any help would be greatly appreciated!

@wfurt @karelz

I'll take a look @jamespettigrew Last time I tried was poky-morty.
It seems like curl it self got updated.

BTW can you send me your local.conf and your .net packaging?

In order to reduces variables, I've simplified the build to this script:
#!/bin/bash

if [ ! -d poky ]; then
git clone git://git.yoctoproject.org/poky.git -b rocko
fi

cd poky

if [ ! -d meta-openembedded ]; then
git clone https://github.com/openembedded/meta-openembedded -b rocko
fi

if [ ! -d meta-sunxi ]; then
git clone https://github.com/linux-sunxi/meta-sunxi -b master
fi

if [ ! -d meta-mender ]; then
git clone git://github.com/mendersoftware/meta-mender -b rocko
fi

source ./oe-init-build-env

bitbake-layers add-layer ../meta-openembedded/meta-oe
bitbake-layers add-layer ../meta-openembedded/meta-python
bitbake-layers add-layer ../meta-openembedded/meta-networking
bitbake-layers add-layer ../meta-sunxi
bitbake-layers add-layer ../meta-mender/meta-mender-core
bitbake-layers add-layer ../meta-dotnettest

cat << EOF >> conf/local.conf

MACHINE = "nanopi-neo"
IMAGE_BOOT_FILES ?="boot.scr"
IMAGE_BOOTLOADER_FILE = "u-boot-sunxi-with-spl.bin"
IMAGE_BOOTLOADER_BOOTSECTOR_OFFSET="16"
IMAGE_FSTYPES = "ext4"
DISTRO_FEATURES_append = " systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
VIRTUAL-RUNTIME_initscripts = ""

INHERIT += "mender-full buildhistory"
MENDER_ARTIFACT_NAME = "release-1"
BUILDHISTORY_COMMIT = "1"

PACKAGECONFIG_pn-curl_append = "zlib ipv6 ssl"
IMAGE_INSTALL_append = " kernel-devicetree dotnetcore"

EOF

bitbake core-image-minimal

The 'meta-dotnettest' layer is just some unrelated u-boot and kernel patches along with the dotnetcore recipe which is as follows:
DESCRIPTION = ".NET Core 2.0.6"
HOMEPAGE = "http://dot.net/"
LICENSE = "MIT"
LIC_FILES_CHKSUM="file://LICENSE.txt;md5=42b611e7375c06a28601953626ab16cb"
SECTION = "devel"
PV = "2.0.6"
PR = "r0"

RPROVIDES_${PN} = "dotnetcore"
DEPENDS = "zlib curl"
RDEPENDS_${PN} = "libunwind icu curl libcurl openssl libgssapi-krb5 util-linux-libuuid lttng-ust"

FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI = "file://dotnet-runtime-2.0.6-linux-arm.tar.gz"
S = "${WORKDIR}/dotnet-runtime-2.0.6-linux-arm"

# Silence some QA warnings
INSANE_SKIP_${PN} += "staticdev already-stripped ldflags"

do_compile() {
}

do_install() {
    install -d ${D}/opt/dotnet
    cp -R --no-dereference --preserve=mode,links -v ${WORKDIR}/dotnet-runtime-2.0.6-linux-arm/* ${D}/opt/dotnet/
}

FILES_${PN} = "/opt/dotnet"
FILES_${PN}-dbg += "/opt/dotnet/.debug"

PACKAGES = "${PN}-dbg ${PN}"

I suspected the 'CURL_OPENSSL_3' part of the error message may have been the culprit. With this in mind, I ran:
objdump -T libcurl.so.4

...
00021aa8 g    DF .text	00000044  Base        curl_mfprintf

Noticing all the references to 'Base', I then made a curl bbappend to set the '--enable-versioned-symbols' flag and after recompiling objdump was returning 'CURL_OPENSSL_4' in the symbols instead of 'Base'. Finally, I patched libcurl.vers.in in the curl source to change the version flavour and after recompiling the symbol versions read 'CURL_OPENSSL_3' and now the Yocto build completes successfully. I haven't yet tested it to be sure it won't blow up at runtime.
The question is why are the prebuilt binaries expecting 'CURL_OPENSSL_3'? Curl itself doesn't appear to have used this version for around a decade, and the corefx source code has comments referencing relatively recent versions of curl so I don't think there's a genuine incompatibility here. Is this a corefx build issue or is something just lost on me? Perhaps there's a Yocto setting that will avoid this problem altogether?

I'm glad you got it working @jamespettigrew. In general I think we build on oldest supported distro and that may suck in some dependencies - possibly unintentionally.
Did you check https://github.com/dotnet/source-build ??? There is effort to allow building from sources and that should avoid troubles like this. As minimum you may be able to rebuild native dependencies for corefx. But I understand if you want to use whole consistent package.

@wfurt is there anything more to track here or can the issue be closed?

probably not. I was planing to update Yocto  notes, but that can be done independently.

@jamespettigrew it doesn't look like the Yocto notes ever got updated..
Could you possibly provide the bbappend that solved this issue? I cannot get it to work.

@karelz Thank you for the information. Then it is even more strange that Yocto is throwing errors. I'm using a freshly downloaded 2.1.5

I think it is still build-time dependency as we have opt-out from the new networking stack to use libcurl.

not necessarily. libcul is still build and runtime dependency. Even if 2.1 has default http handler implemented in c#, the old handler is still part of distribution.
However, to get it you need to target 2.1 in your project files. Simply using new runtime is not sufficient.

@jran-dasa
I created the following patch for curl 7.54.1 and then modified the curl recipe so that the patch would be applied before curl gets compiled by Yocto.
From fd9e88d37ef3aa8c08c52a3bed8bd1ce9e0b6a43 Mon Sep 17 00:00:00 2001
From: James<EMAIL_ADDRESS>Date: Thu, 22 Mar 2018 14:20:29 +1100
Subject: [PATCH 1/1] Modify symbol versions

Should silence spurious libcurl dependency errors when packaging dotnetcore
---
 lib/libcurl.vers.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libcurl.vers.in b/lib/libcurl.vers.in
index ae978a4..bce5633 100644
--- a/lib/libcurl.vers.in
+++ b/lib/libcurl.vers.in
@@ -6,7 +6,7 @@ HIDDEN
     _save*;
 };

-CURL_@CURL_LT_SHLIB_VERSIONED_FLAVOUR@4
+CURL_@CURL_LT_SHLIB_VERSIONED_FLAVOUR@3
 {
   global: curl_*;
   local: *;
--
2.7.4

If this doesn't make any sense or you need more help let me know!

@jamespettigrew Thank you very much.
I finally got it working.
The patch did not do it all on its own, but when I also added
EXTRA_OECONF += "--enable-versioned-symbols"
into Curl bbappend, I could finally build the rootfs without errors.

Forgot about that part, sorry!
Glad you got it working!

@jamespettigrew do you mind sharing your .bbappend file showing the modification of curl?  I'd greatly appreciate it.


Fix a bug in RedundantArray

Fixes #1690.
The problem was mishandling of the memlet path. Unfortunately, the difference is quite difficult to spot, since the vscode UI does not show it correctly.

#1692 covers this already, so not needed anymore.


Documentation for docker volume for data storage

First of all, thanks for an awesome product!
The installation documentation refers only how to mount the configuration-file, not how (or where) to mount a volume for data-storage.
This stackoverflow question (that points to Dockerfile) led me in the right direction (I think)
My request / suggestion is that you include documentation on how/where the data-storage volume should be mounted, preferably here
Sorry in advance, if I've overlooked something.

Can I take this if the instruction needs to be added?

CC @hdost @stuart-c

@Hangzhi Feel free to work on a PR


added profile edit section for all users

[x]  profile edit routes
[x]  password change route

done
can be merged
codeql succeeded
precaution to take
it will require all the fields to be non empty to make any request for now.

Need to find a way to pass codeql scanning even without the need to fill all the fields.

@Siddhant-Patil0203
review this first this is big pr and merging this will automatically reduce file changed in other prs

Sure @Naresh-chandanbatve
Will be done by tomorrow

Deployment Working Properly 👍


Flutter doesn't consistently reach 120 fps on macOS

Similar to https://github.com/flutter/flutter/issues/90675, support 120 hz / ProMotion on the macOS platform.
EDIT: Flutter does appear to support 120 fps on macOS, but doesn't consistently reach it. See https://github.com/flutter/flutter/issues/97530#issuecomment-1028590690.

@KevinBrendel
Can you please elaborate on the issue by providing a code sample ? Is there a current limitation that you are facing specific to macOS ?

@darshankawar
I must admit that upon further investigation, the issue appears to be slightly different than I originally thought. Flutter does in fact appear to support 120 hz on macOS, but it appears to be nearly impossible to actually reach it.
In my minimal example project, (running on the current stable release on an M1 Max with 32 GPU cores), the Flutter profiler shows performance well above 120 fps with no dropped frames:

But visually, the performance is much lower and extremely inconsistent, with large amounts of stuttering resulting from large variations in frame-times. This can be confirmed by profiling the app using Xcode with the Game Performance template. This also confirms that some of the frames do in fact render within the 8.33 ms required to achieve 120 fps.

There appear to be some serious performance issues in the macOS implementation of Flutter that are not caught by the Flutter profiler. Colleagues confirmed that the performance issue also appears on Intel Macs. This same app runs smoothly on iPadOS.
The issue is not limited to animations, as I originally encountered it in a real project in a SingleChildScrollView as well as when manually handling scroll events.

@KevinBrendel
Thanks for the details. Can you check if this issue is similar to your use case ?

@darshankawar
It is definitely related to my issue. Running the linked code from that issue on the ProMotion display also only results in a 60 fps output in the Flutter code. (Although both the Flutter and Xcode profilers once again report much higher frame-rates.)
I am not sure if supporting higher frame-rates is the whole story, though, as I even experience dropped frames on 60 hz displays (although much less often than on 120 hz displays).
I don't know enough about the inner workings of Flutter, but it seems to me that the frames delivered by Flutter are not in sync with the frames delivered by the native application into which Flutter is embedded, resulting in the frame-rate mismatch and in the stutters (I have a hard time believing that these are actually performance issues).

Thanks for further details. I think following up in the linked issue : https://github.com/flutter/flutter/issues/49757 would help to better track your observation. You can also share your findings in that issue.
I am going ahead and closing this in favor of https://github.com/flutter/flutter/issues/49757. If you disagree, write in comments and I'll reopen it.


qemu: vendor subprojects locally

i.e. when building on arm64, we need dtc, which is not available in the tarball.
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux (pkgsCross.aarch64-multiplatform)
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I also got reports that aarch64 can no longer build qemu... So we should probably also make this part of the next NixOS release?

verified to build again in 3 scenarios
x-compile x86_64 -> aarch64 for nvidia jetson agx target
native compile : x86_64 and aarch64

We don't need to have QEMU build its own dtc — we just need to provide it as a build input: #314806.  Presumably that's why upstream doesn't include this in its tarball.  I think it's mostly there as a development aid.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/best-practices-for-meson-wrapped-subprojects-with-patches/26845/6


v0.1.2

updates the CHANGELOG and README in preparation for a new release
r? @rust-embedded/tools (anyone)

Published https://crates.io/crates/cargo-binutils/0.1.2


[APIs]Consuming the Jenga Banking API using Django

Topic Suggestion
Writing sample(s):
My samples.
Proposal Submission
Proposed title of article
Consuming the Jenga Banking API using Django
Proposed article introduction
Jenga API is an API created by Equity Bank(Kenya) ICT team to allow developers to integrate payment in the projects they are working on. It supports several languages e.g Java, Python, PHP, etc. Since Equity Bank is multinational, it is of much importance to learn how to use the API. We will use Django for that.
Key takeaways

Accessing Jenga API
Processing the API's responses using Django
Using Django ORM to save the responses

Article quality
It is easy to follow through, and the API is not much explored.
References
Jenga API's official documentation.

Thank you for the topic suggestion, however this is a bit outside of our preferred topic areas.
We're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts.
Please feel free to suggest an alternate topic to explore. 🚀

@lalith1403, how is it not programmer-centric? It's the same as this Eng-Ed here.

@lalith1403 did you mean the topic may be written about on other sites 🤔

The banking API used in this article is a third party app, and therefore, their documentation covers the first 2 points, I believe.
Hence, I thought it was outside the scope of our covered areas.


Running the Gateway locally

Hi I'm having an issue running the gateway locally. Here is my code. I get the error "TypeError: Completions.create() got an unexpected keyword argument 'headers'". Can you please help?
from openai import OpenAI
from langchain_openai import ChatOpenAI
portkey_config = {
  "retry": {
    "attempts": 3
  },
  "cache": {
    "mode": "semantic", "max_age":10000,
  },
  "strategy": {
    "mode": "loadbalance"
  },
  "targets": [
    {
      "provider": "azure-openai",
      "resource_name":"xxxxx",
      "deployment_id":"xxxxxx",
      "api_version": "2023-03-15-preview",
      "api_key":"xxxxx",
      "weight": 0.5
    },
    {
      "provider": "together",
      "api_key":"xxxxx",
      "weight": 0.5
    }
  ]
}

client = ChatOpenAI(base_url='https://<IP_ADDRESS>:8787',
                api_key='hello_world',
                headers = {
                    'x-portkey-config': portkey_config,
                })

print(client)
from langchain.prompts.chat import ChatPromptTemplate
from langchain.schema import BaseOutputParser

class CommaSeparatedListOutputParser(BaseOutputParser):
    """Parse the output of an LLM call to a comma-separated list."""

    def parse(self, text: str):
        """Parse the output of an LLM call."""
        return text.strip().split(", ")

template = """You are a helpful assistant who generates comma separated lists.
A user will pass in a category, and you should generate 5 objects in that category in a comma separated list.
ONLY return a comma separated list, and nothing more."""

human_template = "{text}"

chat_prompt = ChatPromptTemplate.from_messages([
    ("system", template),
    ("human", human_template),
])
chain = chat_prompt | client | CommaSeparatedListOutputParser()
print(chain.invoke({"text": "Colors"}))

Hi @nlpravi, on the new OpenAI SDK, headers is replaced with default_headers. Please try with that change. Additionally, cache setting is available on the hosted API (i.e. https://api.portkey.ai/v1) and not on the open source gateway so the cache setting in your Config will not have the desired effect.

Thank you. I still get this error.
python3.11/site-packages/langchain_openai/chat_models/base.py", line 339, in validate_environment
"default_headers": values["default_headers"],
~~~~~~^^^^^^^^^^^^^^^^^^^
KeyError: 'default_headers'

Sorry for the confusion, @nlpravi! You can follow the guide here - it's specifically about using Langchain with Portkey. Hope it helps!

Hey @nlpravi - just checking up on this. Did the guide solve your issues. Please let is know if you are still blocked anywhere.

Yes. Thank you.
On Mon, Jan 29, 2024 at 12:33 AM Visarg Desai @.***>
wrote:

Hey @nlpravi https://github.com/nlpravi - just checking up on this. Did
the guide solve your issues. Please let is know if you are still blocked
anywhere.
—
Reply to this email directly, view it on GitHub
https://github.com/Portkey-AI/gateway/issues/163#issuecomment-1914048570,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOY3CJGQ4CIMHS4F2PME6LYQ47DDAVCNFSM6AAAAABCF6JTHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJUGA2DQNJXGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Ravi


Cannot remove component, but it appears to be there

Problem

Since rustfmt is now on stable, I wanted to remove it from my nightly toolchain, but despite it appearing in rustup component list, it appears not removable (however clippy was removed fine in a similar manner):
% rustup component list --toolchain nightly | grep rustfmt
rustfmt-x86_64-unknown-linux-gnu
% rustup component remove rustfmt --toolchain nightly
error: toolchain 'nightly-x86_64-unknown-linux-gnu' does not contain component 'rustfmt' for target 'x86_64-unknown-linux-gnu'; did you mean 'rust-std'?

Using the full name rustfmt-x86_64-unknown-linux-gnu also doesn't work with the same message.
Steps

Unsure. I've not wanted to mess with the installation too much for fear of losing the repro.
Notes
Output of rustup --version: rustup 1.18.3 (2019-05-23)
Output of rustup show:
% rustup show
Default host: x86_64-unknown-linux-gnu

installed toolchains
--------------------

stable-x86_64-unknown-linux-gnu (default)
nightly-2018-10-07-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu

active toolchain
----------------

stable-x86_64-unknown-linux-gnu (default)
rustc 1.35.0 (3c235d560 2019-05-20)

If the component were installed it'd have (installed) after it in the component list.

Oh! So this is my misunderstanding then, I thought rustup component list only listed installed components. I'll make sure to pass --installed. Sorry for the noise! :-)


Custom attribute while sending message

I want to add some custom keys while sending the messages in order to integrate it with some other system. Once the message is created with this custom key, it should reflect in the webhook payload as well.
The sendText function should look like this:
 sendText(request: MessageTextRequest) {
    const options: MessageSendOptions = {
      // It's fine to sent just ids instead of Contact object
      mentions: (request.mentions as unknown) as string[],
      extra: {
        my_custom_key: 'some-value',
      },
    };
    return this.whatsapp.sendMessage(
      this.ensureSuffix(request.chatId),
      request.text,
      options,
    );
  }

I checked the MessageSendOptions type in the WAWebJS library and it seems to have an extra param, but it doesn't work:
  /** Options for sending a message */
    export interface MessageSendOptions {
        /** Other keys */
        /** Extra options */
        extra?: any
        /** Other keys */
    }

Let me check if it works the way you described and WhatsApp sends the extra back to us - in that case we could add extra field in the payload as well.
Do you think it's safe to use extra with some custom logic? It can looks suspicious from WA side, but it's up to you.

Sure, thanks a lot. Here's the related PR: https://github.com/pedroslopez/whatsapp-web.js/pull/600
Since it's supported by the Whatsapp web library itself, it shouldn't be a security concern. Let me know what do you think.
Also, I'd be more than happy to work on this if you can guide me a bit.

It doesn't' work - no my_custom_key gets back in the payload (likely WhatsApp start to cleanup the payload on WhatsApp Web before encrypting it)

It's possible to do it this way tho
      extra: {
        quotedMsg: {
          my_custom_key: 'some-value',
        },
      },

in that case we get back it in _data
                "quotedMsg": {
                    "my_custom_key": "some-value"
                },

But I'm not sure about "blocking" concerns - changing payload can be detected by end clients pretty easily
I wouldn't suggest to use that feature and stick to original one only, but if you 100% wish to do that - we can do that!
With that you'll be able to also add self: "in" in that payload to detect messages from the app (not from other sources) https://github.com/devlikeapro/whatsapp-http-api/issues/304
I'd strongly recommend using extral database for that tho, but it's up to you, we can add it on our side, not a problem!


Component's slot is selecting value from

Version
2.6.11
Reproduction link
https://jsfiddle.net/sq589fnj/
Steps to reproduce
Check jsfiddle for default select tag and custom select component
What is expected?
It should not select any value by default as is the case for default: <select multiple>
What is actually happening?
It selects first value by default after slot is being 'replaced'

This is due to the multiple attribute being passed to the component. Give the select a v-model to display the correct option or pass multiple directly to the select element inside select2 with a prop or using inheritAttrs: false + v-bind="$attrs" inside select2

thank you for the reply but I don't understand how you dont consider this a bug ?
I can't pass multiple as a prop in my whole application (using symfony forms, which generates form automatically and adds multiple when specified in server side).

you need to give it to the select, the element, not the component.
This is a browser specific behavior but in practice you give the select a v-model

I can't pass multiple as a prop in my whole application (using symfony forms, which generates form automatically and adds multiple when specified in server side).

You only need to change select2 component and add it

Ok got it working for the multiple part, but v-model refuses to work: https://jsfiddle.net/g20mxdjf/1/

it's
"vModel": { },

Remember to use the forum or the Discord chat to ask questions!


Changing nickname makes bot ingore user input? [HELP]

When i dont have a nickname i can use commands, but the second i change my nickname it seems to ignore me if i try to execute a command.
Any help would be appreciated.
Code:
        public async Task HandleCommandsAsync(SocketMessage userMessage)
        {
            var message = userMessage as SocketUserMessage;

            if (message is null || message.Author.IsBot) return;

            int argPos = 0;

            if (message.HasStringPrefix(Program.settings.botPrefix, ref argPos))
            {
                var context = new SocketCommandContext(Program.client, message);

                var result = await Program.commands.ExecuteAsync(context, argPos, Program.services);

                if (!result.IsSuccess)
                {
                    var build = new EmbedBuilder()
                    {
                        Title = "Command! [ERROR]",
                        Description = $"{result.ErrorReason} [{context.Message}]\nWrite !Help get a list over valid commands.",
                        Color = Color.Orange,
                        Timestamp = DateTimeOffset.Now
                    };

                    await message.Channel.SendMessageAsync("", false, build.Build());
                }
            }
        }

Please use our channel on Discord API (#dotnet_discord-net, invite link in README) for help with the lib, not the issue tracker.

Oh, sorry.
Wasnt aware of this discord channel, will be using that from now on! ;)


Update Readme.md

Added some instructions under :
Contributing -> Code -> Testing

This is mainly in cases where system dialogs are used. The Extension Dev Host doesn't show any system dialogs.

I think I'm with Chris on this one. Running with F5 is much preferred and works in the majority of cases

Abandoning this PR.


Could not open library 'libopencc.so': libopencc.so: cannot open shared object file: No such file or directory

# rails c
/usr/local/rvm/gems/ruby-2.2.2/gems/ffi-1.9.10/lib/ffi/library.rb:133:in `block in ffi_lib': Could not open library 'opencc': opencc: cannot open shared object file: No such file or directory. (LoadError)
Could not open library 'libopencc.so': libopencc.so: cannot open shared object file: No such file or directory
	from /usr/local/rvm/gems/ruby-2.2.2/gems/ffi-1.9.10/lib/ffi/library.rb:100:in `map'
	from /usr/local/rvm/gems/ruby-2.2.2/gems/ffi-1.9.10/lib/ffi/library.rb:100:in `ffi_lib'
	from /usr/local/rvm/gems/ruby-2.2.2/gems/ropencc-0.0.6/lib/ropencc.rb:8:in `<module:LibOpenCC>'
	from /usr/local/rvm/gems/ruby-2.2.2/gems/ropencc-0.0.6/lib/ropencc.rb:6:in `<class:Ropencc>'
	from /usr/local/rvm/gems/ruby-2.2.2/gems/ropencc-0.0.6/lib/ropencc.rb:5:in `<top (required)>'
	from /usr/local/rvm/gems/ruby-2.2.2/gems/bundler-1.10.5/lib/bundler/runtime.rb:76:in `require'
	from /usr/local/rvm/gems/ruby-2.2.2/gems/bundler-1.10.5/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
	from /usr/local/rvm/gems/ruby-2.2.2/gems/bundler-1.10.5/lib/bundler/runtime.rb:72:in `each'
	from /usr/local/rvm/gems/ruby-2.2.2/gems/bundler-1.10.5/lib/bundler/runtime.rb:72:in `block in require'
	from /usr/local/rvm/gems/ruby-2.2.2/gems/bundler-1.10.5/lib/bundler/runtime.rb:61:in `each'
	from /usr/local/rvm/gems/ruby-2.2.2/gems/bundler-1.10.5/lib/bundler/runtime.rb:61:in `require'
	from /usr/local/rvm/gems/ruby-2.2.2/gems/bundler-1.10.5/lib/bundler.rb:134:in `require'
	from /opt/otaku/config/application.rb:7:in `<top (required)>'
	from /usr/local/rvm/gems/ruby-2.2.2/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:141:in `require'
	from /usr/local/rvm/gems/ruby-2.2.2/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:141:in `require_application_and_environment!'
	from /usr/local/rvm/gems/ruby-2.2.2/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:67:in `console'
	from /usr/local/rvm/gems/ruby-2.2.2/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
	from /usr/local/rvm/gems/ruby-2.2.2/gems/railties-4.2.2/lib/rails/commands.rb:17:in `<top (required)>'
	from bin/rails:4:in `require'
	from bin/rails:4:in `<main>'

# opencc --version

Open Chinese Convert (OpenCC) Command Line Tool
Version: 1.0.3

# bundle list ropencc
/usr/local/rvm/gems/ruby-2.2.2/gems/ropencc-0.0.6

# ls /usr/lib/libopencc.so*
/usr/lib/libopencc.so    /usr/lib/libopencc.so.1.0.0
/usr/lib/libopencc.so.1  /usr/lib/libopencc.so.2

Solved by echo "/usr/local/lib" >> /etc/ld.so.conf


Add collaborator credits onto posts

Co-creator byline at the top of the post, and a larger bio with photo & links at the bottom.

[ ] Mockup design for top byline "co-created by David Davidson the Developer and Maggie"
[ ] Mockup design for larger bio box at the bottom. Need: photo, couple lines about who they are and why they're a Subject Matter Expert (SME), links out to their website/twitter/github,

Irrelevant until we start having collaborators


Suppress deprecated warnings

mem::uninitialized() will be deprecated in 1.39.

Perhaps it was almost covered by #278


Show methods realisation for choosen chain

It will be much more useful to have popup window, wich shows code that was used in given method.
For example strings doesn't have 'Reverse' method, but we can implement it by hands.
And for user who want to use our method it will be much easier to see how we made this function.
C# doesn't have built-in tools to get functions code as string, so we should make our methods as string, and then compile them on start of the program.

@Mikhail158 I'm not quite sure where specifically you think a popup should appear. Care to elaborate?

@nesteruk It should be like second Window. I can help, but only if you will help me to understand your code structure.

Any chance you could draw a picture of what you'd like to achieve? No need
to use a prototyping tool, a simple sketch will do. Or just ping me on
skype (dmitri.nesteruk) and we can take it from there.
On 25 December 2016 at 23:17, Michael Ermishin<EMAIL_ADDRESS>wrote:

@nesteruk https://github.com/nesteruk It should be like second Window.
I can help, but only if you will help me to understand your code structure.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nesteruk/CallSharp/issues/8#issuecomment-269135988,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAcoNs2fqfZ9m87durNMw03RGSQfmu04ks5rLs9ngaJpZM4LVdH5
.

--
Dmitri Nesteruk
<EMAIL_ADDRESS>skype: dmitri.nesteruk


Clarification about the minimum random number value

In the documentation in https://altcha.org/docs/complexity/ the following notes appear:

The widget always starts the computational loop at 0 and does not support negative numbers.

We recommend using a minimum value of the random number of at least several thousand as a “minimum required complexity”. The maximum value of 100,000 is a good start for most systems. Adjust these values to your needs.

I don’t understand that.
First, your own implemenation does not seem to use a minimum in https://github.com/altcha-org/altcha-lib/blob/c1f2b989c47685ee84fa6ce0c4b11d7de76d07a7/lib/index.ts#L40
And second, I cannot see the benefit. It would reduce the computational effort of spambots (as they would start the loop with a higher number then) but it would not reduce it for the real clients as the widget always starts the loop at 0.
I think the range of the random number should always be from zero to the desired maximum.

Hi, there are two things to consider:

The minimum number is also a secret, unknown to both the client and the attacker. Because the attacker does not know where to start, they must begin at 0.
Having a minimum number greater than 0, as recommended in the documentation, ensures that the PoW runs for "some time" instead of finishing in only one cycle of SHA hashing.

The latest version 0.6.0 supports the attribute delay, which adds an artificial delay to the verification process. This makes it appear as though it is performing a task, which is useful when users have powerful devices and a relatively low random number, making the verification too quick, which might not provide the best user experience, as users expect some feedback from the UI, such as a visible spinner.
With this new delay attribute, having a minimum number greater than 0 is no longer necessary to extend the verification duration. I will update the documentation and remove this recommendation.


Thiner bindings layer with pure CPython

:tada: This PR is included in version 2.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


postgresql12JitPackages.pgtap: 1.3.0 -> 1.3.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/pgtap/versions.
meta.description for postgresql12JitPackages.pgtap is: A unit testing framework for PostgreSQL
meta.homepage for postgresql12JitPackages.pgtap is: https://pgtap.org
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.3.1 with grep in /nix/store/ryq75qm0xc3w2cz2v7yprnpkzhr2df0c-pgtap-1.3.1
found 1.3.1 in filename of file in /nix/store/ryq75qm0xc3w2cz2v7yprnpkzhr2df0c-pgtap-1.3.1

Rebuild report (if merged into master) (click to expand)

12 total rebuild path(s)

12 package rebuild(s)

First fifty rebuilds by attrpath
postgresql12JitPackages.pgtap
postgresql12Packages.pgtap
postgresql13JitPackages.pgtap
postgresql13Packages.pgtap
postgresql14JitPackages.pgtap
postgresql14Packages.pgtap
postgresql15JitPackages.pgtap
postgresql15Packages.pgtap
postgresql16JitPackages.pgtap
postgresql16Packages.pgtap
postgresqlJitPackages.pgtap
postgresqlPackages.pgtap

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ryq75qm0xc3w2cz2v7yprnpkzhr2df0c-pgtap-1.3.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A postgresql12JitPackages.pgtap https://github.com/r-ryantm/nixpkgs/archive/81abe296a06dd267ba216960032e6e585d0f8a45.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/81abe296a06dd267ba216960032e6e585d0f8a45#postgresql12JitPackages.pgtap

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ryq75qm0xc3w2cz2v7yprnpkzhr2df0c-pgtap-1.3.1
ls -la /nix/store/ryq75qm0xc3w2cz2v7yprnpkzhr2df0c-pgtap-1.3.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

10 packages built:

postgresql12JitPackages.pgtap
postgresql12Packages.pgtap
postgresql13JitPackages.pgtap
postgresql13Packages.pgtap
postgresql14JitPackages.pgtap
postgresql14Packages.pgtap
postgresqlJitPackages.pgtap (postgresql15JitPackages.pgtap)
postgresql15Packages.pgtap
postgresql16JitPackages.pgtap
postgresql16Packages.pgtap

Maintainer pings
cc @WilliButz for testing.

it needs to install its shared library


I cannot install it with composer

Hi,
I am having a problem with installing it with composer.
I've followed to the letter this page: http://jonnnnyw.github.io/php-phantomjs/
and when I launch the composer downloads php-phantomjs, at 100% it says zip is invalid and it retries 2 more times then it fails with a value exception.
Do you know whats wrong with it?
Thanks a lot
Greg

Hi Greg,
Not really sure what could be the problem here. Doesn't sound like it is related to the library itself. What version are you trying to install?

Hi,
I would like to install the latest version and I thought the json that is
provided on the manual will do that. Apparently it tries to install 1.9.7
and I guess that's not the latest..  Could you please indicate how to get
the latest version?
Thank you very much.
Greg
Le 21 mars 2015 08:37, "Jonny Wenmoth"<EMAIL_ADDRESS>a écrit :

Hi Greg,
Not really sure what could be the problem here. Doesn't sound like it is
related to the library itself. What version are you trying to install?
—
Reply to this email directly or view it on GitHub
https://github.com/jonnnnyw/php-phantomjs/issues/50#issuecomment-84275626
.

Hi,
I'm having the same problem as Greg767 had. Did you find a solution for it?
Thanks

Hi,
No, unfortunately I didn't find why it didn't install... I just abandoned.
Sorry.
2015-06-30 10:05 GMT+02:00 razum90<EMAIL_ADDRESS>
Hi,
I'm having the same problem as Greg767 had. Did you find a solution for it?
Thanks
—
Reply to this email directly or view it on GitHub
https://github.com/jonnnnyw/php-phantomjs/issues/50#issuecomment-117049011
.


Switch styling needs changing to match other input fields

Switch styling needs changing to match other input fields.
The current height and width of this component means it looks out of place when used in conjunction with inputs in a form.

This is fixed in #366


search and sort implementation

The css is broken in leavegroup.ejs at /group. Currently works as expected in the main branch. Please fix it and then we can merge the code.


pretty print and show progress of commands' dependencies

currently our dependency listing is on one line, we should show them on multiple lines and show progress for installation of each dependency

Doubt we can do progress bars easily without some shitty bloated module and its not really needed anyway.

Yea can't find any real way to do this.


Add facility to MPS

Is it possible to port some of the features to MPS in the future.

Which features of MPS would you like to have?

Use this framework as a web editor for DSLs defined in MPS / Mbeddr

Is Jetpad completely separate from MPS or will one of the two tools integrate with the other in the future?


ng build --prod | ERROR in ng-pick-datetime-moment | Error during template compile of 'MomentDateTimeAdapter'

Hello. I get following error when I build in prod.
ERROR in ng-pick-datetime-moment\moment-adapter\moment-date-time-adapter.class.ts(46,2): Error during template compile of 'MomentDateTimeAdapter'
  Function calls are not supported in decorators but 'ɵmakeDecorator' was called in 'Injectable'
    'Injectable' calls 'ɵmakeDecorator'.

ng build without prod works fine.
app also runs in debug mode properly.
I have moment installed.
I tried installing momentjs but didn't change anything. I uninstalled momentjs after.
Any help would be greatly appreciated! Thank you!

I had solved this by changing how I import the moment adapters.
with this i'm getting the error
import { OwlMomentDateTimeModule } from 'ng-pick-datetime-moment';
and this fixed it
import { OwlMomentDateTimeModule } from 'ng-pick-datetime/date-time/adapter/moment-adapter/moment-date-time.module';
I also uninstalled ng-pick-datetime-moment since it looks like I don't need it anymore.
ng build --prod now runs successfully. app seems to work as expected. :)


Changed ForeignKeyIndexConvention to update the IsUnique property

of the ForeignKey when the associated index's uniqueness changes.
Fixes #7254

Hi @tuespetre, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

@tuespetre are you planning to address the feedback on this PR?

Yes, sorry for the delay. I hope to get to this soon.

@ajcvickers I have made changes and rebased. @AndriySvyryd thanks for pointing me in the right direction. By removing that call and then ensuring that the 'added' convention is run for a foreign key during replacement, everything seems to work out.
Note that I did have to change one existing test in order for it to pass -- when a one-to-one is changed to a one-to-many, it still makes sense that the dependents' foreign key stays unique by convention. The existing test had it being no longer unique.

@tuespetre The test was correct, if the FK uniqueness changes conventions need to update the index uniqueness. To achieve this you need to add code to run ModelBuilder.Metadata.ConventionDispatcher.OnForeignKeyUniquenessChanged() in InternalRelationshipBuilder.ReplaceForeignKey

@AndriySvyryd oh geez, yeah I see it now. I got the dependent/principal thing flipped around in my brain holes for some reason. Thanks

@ajcvickers @AndriySvyryd alright, third time's a charm?

@tuespetre You are straying in the wrong direction now. ForeignKeyIndexConvention doesn't need to be changed, it just needs to be run at the appropriate times.
More specifically currently InternalRelationshipBuilder.ReplaceForeignKey invokes newRelationshipBuilder.IsUnique with runConventions: false to avoid running the conventions prematurely before the relationship is fully configured, but it doesn't call ModelBuilder.Metadata.ConventionDispatcher.OnForeignKeyUniquenessChanged() afterwards. The latter is what needs to be added.

@AndriySvyryd so instead of the change I made here, add an else block that runs the ModelBuilder.Metadata.ConventionDispatcher.OnForeignKeyUniquenessChanged()?

@tuespetre yes, though it would be an else if as it should only run if the uniqueness changed

:up: :date: :hash: :four:

@tuespetre Looks good if the tests pass 😉

Well, I guess Travis decided to bail 💀

@tuespetre StackOverflowException. Run the tests under a debugger to see what's happening.

Hmmm. I've been running TestDriven from Visual Studio to avoid the extra wait of the whole build/package process of build.cmd, but apparently it doesn't report this kind of error! Guess I need to take note of the total number of tests that ran/passed.

@tuespetre Yeah, with TestDriven.net you need to run the tests under the debugger with the option to break when StackOverflowException is thrown, otherwise it just swallows the exception.

@tuespetre I found and fixed the bug in  RelationshipDiscoveryConvention that was causing infinite recursion. Thanks for the contribution!

Oh, nice! Thank you!


INSIDE (2016) on Ubuntu 22.04 with a Weaker GPU Card (GTX 760, 2GB VRAM)

INSIDE (2016): Default Wine 8.0.2

INSIDE (2016): Wine with dxvk 1.10.2. Notice reflections, shadows, and the two platforms between the boy and the wagon.

INSIDE (2016) is a 2.5D platformer game with amazing graphics which is also notoriously difficult to render properly on Linux. Often the frames are too dark even with the brightest settings, and some important details may be missing. dxvk solves this problem admirably. Notice how the default wine (v8.0.2) misses the two tiny platforms that are essential to solve the puzzle. Without them it is not possible to open the door and progress to the next level.
P.S.
This is not an issue, but one amazing case for the use of dxvk and a personal note/memo how to run a Windows game on Ubuntu 22.04 with GTX 760 (a low-end desktop GPU with 2GB VRAM). The newest dxvk v2.3 crashes, while dxvk v1.10.2 does wonders, see the results above, also clf. the issues #2727 and #2493.

Install the latest GPU driver for your specific card, vulkan, wine. For GTX 760, January 2024, it is only 470.223.2, not 535 something. Some useful links:
NVDIA driver versions
How to Enable Vulkan Rendering in Wine Games using DXVK
How to Install Wine on Ubuntu 22.04 or 20.04
I am not sure if these Vulkan libs are essential, but I have installed them along with vulkan-tools.

Install the latest dxvk that works with older NVIDIA cards such as GTX 760:
Download and extract dxvk v1.10.2 (not the newer ones) from releases.
cd dxvk-1.10.2
chmod +x setup_dxvk.sh
mkdir /home/tokyo/Games/wpr1.10.2
(Use your own "/home/username", and a path, mine is "/home/tokyo").
WINEPREFIX=/home/tokyo/Games/wpr1.10.2 ./setup_dxvk.sh install
Notice that newer dxvk versions do not have a script, you have to follow a few manual instructions shown in dvxk readme.md. Version 1.10.2 still has the script setup_dxvk.sh that does it all, no need to copy anything manually, and no need to use winecfg to add DLL overrides for "d3d11, d3d10core, dxgi, and d3d9".
Ignore all the warnings and errors unless they result in a crash. I get "Could not find dependent assembly LMiscrosoft.Windows.Common-Controls", "Haswell Vulkan support is incomplete", "failed to create ifstub...", "failed to marshall the interface..." and so on. Plenty of null exceptions from Unity will appear later on, none of them seem to matter.

Install the game:
cd into a mounted game folder.
WINEPREFIX=/home/tokyo/Games/wpr1.10.2 wine setup.exe

Start the game:
cd /home/tokyo/Games/wpr1.10.2/drive_c/Program Files (x86)/Inside
WINEPREFIX=/home/tokyo/Games/wpr1.10.2 wine INSIDE.exe
To log FPS and debug:
DXVK_HUD="1" DXVK_LOG_LEVEL=debug DXVK_DEBUG_LAYERS=1 WINEPREFIX=/home/tokyo/Games/wpr1.10.2 WINEDEBUG=-all,+vulkan wine INSIDE.exe &> output.txt

1.10.3 is the last stable release to work on older drivers just as a quick fyi.
Branch https://github.com/doitsujin/dxvk/commits/1.10.x/ have some extra commit back ports on top that didn't make it to a stable release outside 2.0+


[PRO] UI configuration may need further clarification

Description
Hi all,
Firstly, thank you for this amazing package!
I just have a few issues with UI configuration, let me go straight to the point with a simple example.
Say I want to make changes on the Popover component inside UHeader.
From the documentation (Pro), we get the following:
...
header: {
 popover: {
        links: {
          inactive: "text-black text-left",
        },
      },
}
...

Now, that's great. But doing the following in the component scope won't work:
<UHeader
    :links="links"
    :ui="{
      popover: {
        links: {
          inactive: 'text-black text-left',
        },
      }
    }"
  >

Why? The popover object doesn't even exist in the ui props.
Another example. Say I want to add a red background to the UHeader's popover. Logically, this should work:
...
header: {
 popover: {
        wrapper: 'bg-red-500',
        links: {
          inactive: "text-black text-left",
        },
      },
}
...

But it doesn't. Maybe I'm missing something there, but it clearly isn't clear enough.

You're absolutely correct, this does not work yet. However, there is an alternative! You can use slots and use the components yourself.
For example, you can use the UHeaderLinks component in the #center slot of the UHeader and the UHeaderPopoverLinks inside the #panel slot of the UHeaderLinks.
This involves writing a bit more code but this way, you can customize each component's ui prop individually 😊

Oh yes indeed, the types inside are not marked as Partial yet, there is an open issue about this: https://github.com/nuxt/ui-pro/issues/151#issuecomment-1843703446
As a workaround for now, you can cast the ui object with as any.
Do you have access to the @nuxt/ui-pro repository so I can transfer this issue?

Great, thanks!
Nope, I didn't purchase the Pro version yet as I just started using it for a new project ^^


large desciptions

@nikhita peoples again commit with some large descriptions :(

@championshuttler If you are interested in making them small, please go ahead! :D

i did this . now you can review it :)

Re-opening until the PR is merged. It's better to close the issue from the PR itself.
If you write Fixes #XXXX in the PR description, the issue is automatically closed when the PR is merged.


Can you please provide the depth visualization results of eigen test set？image or .npy both ok~

Can you please provide the depth visualization results of eigen test set？image or .npy both ok~ I would like to cite your paper, and compare the visualization result with yours.

I store them in google drive, you can download it from this link:
https://drive.google.com/file/d/1RYRVqsOzfrrT8wLFWFF_bp8f5yMBDPNj/view?usp=sharing
BTW, you can use scripts/infer_singleimage.py to generate visualized depth prediction.

Thanks a lot. What's the version of model of these visualization results? M, M*, MS or MS*?

MS

Thank you very much. Could you please provide your test results of monocular model (abs rel 0.104) in .npy？Because I need visualization images in different color mode~


Promises/A+ compilance test script and instructions

Now that polyfilling of Promises (#1826) is partially implemented, we can run the Promise/A+ conformance tests against them.

Not sure why this was still open.
I guess I failed to label the internal submission of these files correctly.


Add __repr__() method to NormalizedDict

I see the problem, that with the RobotDebug REPL i am updating right now, the NormalizedDict are just shown like this:
${SUITE_METADATA} = <robot.utils.normalizing.NormalizedDict object at 0x1048063e0>
Could we do it like this?
def __repr__(self):
    return '%s(%s)' % (self.__class__.__name__, str(self))

or:
def __repr__(self):
    return f'{self.__class__.__name__}({self.__str__()})'

Then it would be :
${SUITE_METADATA} = NormalizedDict({'Hello': 'World', 'Test': '123'})
We could also write it like this?
robot.utils.NormalizedDict({'Hello': 'World', 'Test': '123'})
But i think the former version would be good enough
What do you think?

Sounds good to me. We have in general added meaningful __str__ and __repr__ to model objects. We've typically used format ClassName(params) where params represent the object state. With the TestSuite structure we include the package name like robot.running.TestSuite(params), though, but we do that to separate classes with same name under robot.model, robot.runningandrobot.result`.
The code example looks good, except that type(self).__name__ is preferred over self.__class__.__name__ (and str(self) is better than self.__str__() unless the code is super performance critical). We've moved to f-strings where feasible, but with them them internal Python expressions can grow complicated and require extracting variables. They can also look pretty strange if the template involves lot of literal () and {}. Not an issue here, but if NormalizedDict.__repr__ uses f-strings, also NormalizedDict.__str__ should use them for consistency, and with that code formatting can be a bit tricky.
In addition to the new code, this will need a new unit test.
Do you @Snooz82 want to create a PR or should I do this myself? Ought to be trivial either way.


Add highlight support for search queries

Support adding highlight settings to search queries to control the
highlighting performed on results. Settings themselves are not modeled,
but are represented simply as a JSON string, just like the actual query.

Coverage increased (+0.1%) to 48.839% when pulling db8f72afd5b3f6af6dfc454bf0f33ecf93732510 on komu:search-highlight into cab4cf0eab0f75c7f77319ce8d32e0177db93cef on searchbox-io:master.

You can already provide the highlight settings bundled with the query as demonstrated in  SearchIntegrationTest.java#L148. What's the added benefit of having it as a separate field?

Right, my bad. There seems to be no point in this PR.
To my defense I'll have to say that the API was somewhat misleading: since Search.Builder took a constructor parameter named query and had a method called addSort, I assumed that they would end up in the subtrees under { "query": ..., "sort:" ... }. But now that I read the code again it's clear that query ends up being the whole document and addSort overrides the sorts in the document. But of course I should have been more careful to understand the code.
That said, one could consider that addSort has a bug, since it does not simply add a sort criterion but rather overrides the criteria defined in the original query:
Action search = new Search.Builder("{\"query\" : { \"term\" : { \"baz\" : \"quux\" } }, \"sort\": [{ \"foo\": {}}] }")
     .addSort(new Sort("bar")).build();

It's not unreasonable to expect final sort being [{"foo": {}}, {"bar": {}}] instead of [{"bar":{}}]. (Anyway, this is a digression from the original topic.)
I'll close this PR, no point in merging.
Thank you!

You are right about the somewhat unexpected behaviour of addSort method, thanks for bringing that up; would you like to fix it in a new PR? :)


Pages do not scroll on firefox desktop

The is an issue in Azure Citadel site that the content is not scrollable on FireFox (desktop on Windows 11).
https://www.azurecitadel.com/network/vdc/monitor/
There is already some analysis that this is because of use of some old WebKit style CSS:
https://github.com/azurecitadel/azurecitadel/issues/104
What version of Hugo are you using (hugo version)?
hugo_version=0.90.1
Firefox version 104.0.2 (64-bit).
Does this issue reproduce with the latest release?
Do not know. Not involved with Citadel development, so have not tested this yet.

There are also somewhat similar issues, but maybe bit different analysis on firefox mobile:
https://github.com/gohugoio/hugo/issues/6517
Seems this could be different. Should likely dig out which theme the citadel is using.

I don't see how this could have anything to do with Hugo, this needs to be solved in the template/style etc. source.


Avoid sending redundant commands to "Other" IR devices

:recycle: Current situation
If an "Other" IR device will currently receive a command repeating it's on/off state - behaviour created in #315. @donavanbecker has indicated that redundant commands should not be sent.
:bulb: Proposed solution
Only send on and off commands to devices not already in the target state.

@donavanbecker Should fix the redundant command issue you indicated in #315 ! :)

@jonzhan Thanks!

@donavanbecker Just tested this and it seems to be working fine!


Update codeowners file to reflect team org updates

Alaska Airlines Pull Request
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes: #214
Summary:
The scope of this update reflects the changes to the team settings. This update allows for others to be added to the team that will not be pulled into pull request reviews.
Type of change:
Please delete options that are not relevant.

[ ] New capability
[x] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

:tada: This PR is included in version 3.9.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


padstack name

@maxcapodi78 @svandenb-dev there is a change in the padstack name. It may break customer code, but I think it is better to correct the way how the padstack name is returned in the lone run.

@maxcapodi78 @svandenb-dev there is a change in the padstack name. It may break customer code, but I think it is better to correct the way how the padstack name is returned in the lone run.

I am not sure sure we can change the pin naming (e.g component.pin name). This will for sure break current flows. I remember we had to  sync EDB pin name with AEDT ones. @maxcapodi78 what do you think ?


Using Array.from() breaks tests in IE11

Since a few days qunit-dom uses Array.from() in findElements(). It was introduced in this commit: 8b274f1c3b4e3c558e57a332784a4d2cf668fa8e
This is breaking tests in Internet Explorer 11 for Ember Bootstrap: https://travis-ci.org/kaliber5/ember-bootstrap/jobs/464077936#L1762-L1783 Array.from() is not supported in IE 11 and it seems like there isn't any transpiling done for it.

Typescript throws a semantic error if you try to do that: TS2461 Type 'NodeListOf<Element>' is not an array type. To be honest I'm not a TypeScript expert. Would be great if someone else could take over.


Inventor Infusions Disappearing (Plus Same Controller Issue)

Hello,
I am playing an online, 2-player multiplayer 6-Charactor Campaign, with one Bolgrif Inventor Grenader (Multi-Class is on, but I have only put levels into the Inventor). All UB mod classes, subclasses, feats, etc. are active. Characters just got to level 5.
For the Inventor, when first selecting Infusions at level 2, there were 4 to select as described. However, with each subsequent level, an infusion selection disappears. I just finished his level 5 selections, and there were only 2 infusion selection available, and now that I am back on the normal game screen, when selecting Infusions from the Character Action bar, there is only 1 infusion remaining to be selected. I have terminated infusions a couple of times after long rests, so maybe I am misunderstanding what is supposed to be happening with Infusion. If that is the case, I do apologize for my ignorance.

Also, we are experiencing similar controller issues with our spell casters during battles. When we try to highlight the spell action, the display seems to desync and doesn't highlight Cast Spell. I will add another response if I can get a save where this issue is actively occurring. Keyboard and Mouse does work fine for everything, but we typically play with controllers/gamepads.
Inventor Broke + Ctrlr Issue.zip
Thank you for this amazing mod!

Have you tried RESPEC this hero? I cannot reproduce on my end.

I went through the RESPEC and it does seem to fix the issue for now. Since I originally experienced infusions disappearing each level, I tried RESPEC and then leveling up once, activating infusions, terminating infusions, then leveling up again, and I could not recreate the problem. All four infusions were still available after each level (up to level 5).
If I run into this again during normal play and find a consistent way to recreate, I will let you know. For now, RESPEC is the solution. Thank you!

We had changed these powers a bit and recommended Respec to others as well. Great it worked.


Wav2vec2 BFloat16 training fixes

What does this PR do? Please describe:
Two fixes to allow for BF16 training of the Wav2vec2 morel
Check list:

[ ] Was the content of this PR discussed and approved via a GitHub issue? (no need for typos or documentation improvements)
[ ] Did you read the contributor guideline?
[ ] Did you make sure that your PR does only one thing instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests?
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you update the CHANGELOG? (no need for typos, documentation, or minor internal changes)

Upon follow up experiment we used this implementation of the cosine similarity BF16 implementation for stable training.


Amplify could not fetch data on SSR in Nuxt 3.

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v20.14.0
Amplify CLI Version
12.12.2
What operating system are you using?
Windows
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes made
Describe the bug
I wanted to fetch data on SSR in Nuxt 3. I have followed the AWS amplify Gen-2 Nuxt 3 document.
(https://docs.amplify.aws/vue/build-a-backend/data/set-up-data/) &
(https://docs.amplify.aws/vue/build-a-backend/server-side-rendering/nuxt/).
Amplify Data resource  schema:

  Todo: a
    .model({
      content: a.string(),
      isDone: a.boolean(),
    })
    .authorization((allow) => [allow.publicApiKey()]),

--------
Nuxt 3 :

<template>

Todos

{{ data }}

{{ error }}

</template>

It gives the data on sever-side. It works fine.

When i add authentication
Amplify Data resource  schema:

  Todo: a
    .model({
      content: a.string(),
      isDone: a.boolean(),
    })
    .authorization((allow) => [allow.authenticated()]),

--------
Nuxt 3 :
    const { data, error } = useAsyncData(async () => {
  const { data, errors } = await useNuxtApp().$Amplify.GraphQL.client.models.Todo.list({
    authMode: 'userPool',
  });
  console.log('data2', data);
  console.log('errors', errors);
  return data;
});

It is not working on sever-side. Even when I'm logged in.

It force me to do this
....).authorization((allow) => [allow.authenticated(), allow.owner(), allow.group('Admin')]),

----Note---
It does not working on Sever side. It works when I change some code and save the file.
Expected behavior
It should work in Sever side when i fetch the data
Reproduction steps

Here, you can see that on the server side, I don't get any data. After making changes to the code and saving the file, it shows the data.
Project Identifier
No response
Log output

# Put your logs below this line

Additional information
No response
Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

Hey @jewells07, Thanks for raising this. We have a followup question. When you say server side, are you referring AppSync console?  Also, did you wait till the sandbox to complete the deployment before verifying the changes?

Hey @jewells07, Thanks for raising this. We have a followup question. When you say server side, are you referring AppSync console? Also, did you wait till the sandbox to complete the deployment before verifying the changes?

Severe side rendering in Nuxt 3, that's what I meant. As in the screenshot, we can see we don't get data, and the model has authentication. but it works in onMounted (nuxt 3) but not in severe side rendering.

Hi @jewells07 I don't think the client.models API will work on the server side. In the documentation, you might notice that the client configuration generates the client with the Schema like so:
// nuxt-amplify-gen2/plugins/01.amplify-apis.client.ts

const client = generateClient<Schema>();

But on the server, it is configured without the Schema:
// nuxt-amplify-gen2/plugins/01.amplify-apis.client.ts
const client = generateClient<Schema>();

So, if you are trying to use client.models on the server-side, please use client.graphql instead.
Let me know if that helps!

const { data, error } = useAsyncData(async () => {
  const { data, errors } = await $Amplify.GraphQL.client.graphql({
    query: listTodo,
    authMode: 'userPool',
  });
  console.log('data', data);
  console.log('errors', errors);
  return { data, errors };
});

<template>

Todos

{{ data }}

{{ error }}

</template>

I got an error: $Amplify.GraphQL.client.graphql is not a function

@jewells07 apologies for the delay, are you still experiencing this issue? I noticed you have another more recent issue so I'm curious if you were able to get unblocked on this one.

Hi 👋 Closing this as we have not heard back from you. If you are still experiencing this issue and in need of assistance, please feel free to comment and provide us with any information previously requested by our team members so we can re-open this issue and be better able to assist you.
Thank you!


Add HP logo

Have we added the Fry-IT logo..?

No, cos they haven't sent it to us.  Chasing sponsors is on today's list.

We already have it somewhere - in the old repos?

It's not just Fry IT whose logo we're missing.
Sending a reminder email is quick -- but I'm not spending my Saturday hunting around old repos (what old repos?) to find something that I've asked to be sent.

Turns out Fry-IT have just changed their logo. ;-)
Email away (was trying to save you some effort).
I'm off to watch my son play football (in the rain). Will be back later.


Define reload() for Python 3

reload() is no longer a builtin In Python 3 but has been moved to importlib.  Recuperated from #146

Required because https://travis-ci.org/fossasia/query-server/jobs/279716251#L528

Also define HEADERS once as a global constant instead of 5 times inside of individual functions.
NOTE: The Travis CI build fails because of #193.

Thanks! Please resolve conflicts and try to get two reviews that approve the PR.

Closed in favor of #197


Web support

Want to try use react-native-web. Check this Issue in react-native-material-kit.

Not an extensive test by any means but seems that it kind of works on RNW :) https://github.com/remon-georgy/react-native-components-on-web/tree/react-native-material-ui

I am trying to use react-native-material-ui components with react-native-web. I am finding that i get a warning in the console and the colors don't seem to be applying:
Warning: Failed prop type: Invalid props.style key elevation supplied to View.
Bad object: {
"flexDirection": "row",
"height": 56,
"backgroundColor": "#ffffff",
"borderTopColor": "rgba(0, 0, 0, 0.12)",
"borderTopWidth": 1,
"elevation": 8,
"transform": [
{
"translateY": 0
}
]
}
Valid keys: [
"animationDelay",
"animationDirection",
"animationDuration",
"animationFillMode",
"animationIterationCount",
"animationName",
"animationPlayState",
"animationTimingFunction",
"borderColor",
"borderTopColor",
"borderRightColor",
"borderBottomColor",
"borderLeftColor",
"borderRadius",
"borderTopLeftRadius",
"borderTopRightRadius",
"borderBottomLeftRadius",
"borderBottomRightRadius",
"borderStyle",
"borderTopStyle",
"borderRightStyle",
"borderBottomStyle",
"borderLeftStyle",
"borderLeftColor$noI18n",
"borderRightColor$noI18n",
"borderTopLeftRadius$noI18n",
"borderTopRightRadius$noI18n",
"borderBottomLeftRadius$noI18n",
"borderBottomRightRadius$noI18n",
"borderLeftStyle$noI18n",
"borderRightStyle$noI18n",
"borderWidth",
"borderBottomWidth",
"borderLeftWidth",
"borderRightWidth",
"borderTopWidth",
"boxSizing",
"height",
"margin",
"marginBottom",
"marginHorizontal",
"marginLeft",
"marginRight",
"marginTop",
"marginVertical",
"maxHeight",
"maxWidth",
"minHeight",
"minWidth",
"padding",
"paddingBottom",
"paddingHorizontal",
"paddingLeft",
"paddingRight",
"paddingTop",
"paddingVertical",
"width",
"alignContent",
"alignItems",
"alignSelf",
"flex",
"flexBasis",
"flexDirection",
"flexGrow",
"flexShrink",
"flexWrap",
"justifyContent",
"order",
"bottom",
"left",
"position",
"right",
"top",
"borderLeftWidth$noI18n",
"borderRightWidth$noI18n",
"left$noI18n",
"marginLeft$noI18n",
"marginRight$noI18n",
"paddingLeft$noI18n",
"paddingRight$noI18n",
"right$noI18n",
"shadowColor",
"shadowOffset",
"shadowOpacity",
"shadowRadius",
"shadowSpread",
"transform",
"transformOrigin",
"backfaceVisibility",
"backgroundColor",
"opacity",
"overflow",
"zIndex",
"backgroundAttachment",
"backgroundClip",
"backgroundImage",
"backgroundOrigin",
"backgroundPosition",
"backgroundRepeat",
"backgroundSize",
"boxShadow",
"cursor",
"display",
"outline",
"overflowX",
"overflowY",
"perspective",
"perspectiveOrigin",
"transitionDelay",
"transitionDuration",
"transitionProperty",
"transitionTimingFunction",
"userSelect",
"visibility",
"WebkitOverflowScrolling"
]
in View (created by AnimatedComponent)
in AnimatedComponent (created by BottomNavigation)
in BottomNavigation (at App.js:76)
in div (created by View)
in View (at App.js:33)
in ThemeProvider (at App.js:32)
in App (at index.js:14)
in WebApp (created by ReactNativeApp)
in div (created by View)
in View (created by ReactNativeApp)

elevation won't throw warnings in RNW anymore.
@xotahal how do you develop this package to find out if/how a component renders? It looks like most of it should work without adjustments to RNW, but I can't be sure without some kind of examples to try and render.


Question regarding ZULIP_ADMINISTRATOR

I am using chat.myserver.com for hosting zulip.
and ZULIP_ADMINISTRATOR as<EMAIL_ADDRESS>; using sendgrid.
Now How can I receive notifications and errors because sendgrid doesn't have an inbox. ?
Also<EMAIL_ADDRESS>is already hosted with Zoho (non-transactional)

Hi @ManasN, you should try asking this on Zulip's user community stream for quicker answers. :)

You'll need to use an email address with an inbox for ZULIP_ADMINSTRATOR (E.g. the email account of the person who runs the server, or a mailing list that forwards to that person).


Examples need to be updated to reflect v0.2.0 changes in spec

Reopening https://github.com/openvex/spec/issues/42 over here as it's more appropriate.
The recent v0.2.0 release introduced new enhancements to the spec, but while some examples were updated in the original PR, some documentation has not been updated to reflect this.
Specific spec changes:

OPEV-0014: Expansion of the VEX Product Field,
OPEV-0015: Expansion of the Vulnerability Field,

I've started on a PR for the above, but opening this issue for discussion, in case there are any other references I've missed. Are there any other locations these should be updated?

This was fixed in #3


Add wrapping breaks

Hi,
This is an upstreaming of the changes done for https://github.com/ocaml/dune/pull/3616
I chose to have something quite specific as Wrapping_break instead of having something as generic as Custom_break of (string * int * string) * (string * int * string) that is less likely to be used, but if you already see usecases for this in dune I can change it.

Note that the Windows command prompt uses ^ as a wrapping character, since \ is a file separator: https://stackoverflow.com/a/605724/5186002. The terminology of wrapping_break is perhaps a bit non-Windows-friendly in that case (and the same applies to the feature suggested in https://github.com/ocaml/dune/pull/3616).

I can either test Sys.unix here, or do this test in the dune PR and only provide a generic interface copying the arguments of pp_print_custom_break

It seems best to me to keep Pp OS-independent, so let's expose a generic interface here and do the Sys.unix test in Dune.
BTW, I just realised that this function doesn't do what I had in mind. I imagined that it would modify all the break hints in a block of pretty-printed text, however it's only for a single break. The latter seems fine to add, but I expect that the former is the most useful one.

And in fact, since we construct an AST internally it should be pretty easy to implement the former. We just need to re-implement the splitting done by pp_print_text ourselves so that we can map all break hints.

Thanks!

I implemented an extend_breaks function in #5


Scouting page

The Scouting page is currently graphically serviceable, but it is not functional, and it is definitely in need of a facelift.

fce736e73d215a401fa1c494fa4f2f640f46f3a1 made the page functional enough to be used, but there are a few more things to do, such as clearing the scorecard. Any other suggestions are appreciated.

f511c77542d647b96e09f50fb6711ad8efa0b38a adds a little bit of function. Most of what is needed to work is done.


"Task: Set Up Automated Email Alert Script for Critical Events"

Script Title - Email Alert Automation Script
Brief -This script automates the process of sending email notifications based on predefined conditions or triggers. It can be integrated into various systems to notify users or administrators about important events, such as errors, updates, or threshold breaches. The script supports customizable email templates, recipient lists, and subject lines, ensuring flexible and targeted communication. Additionally, it includes error handling to manage failed deliveries and optimize the alert process for timely and reliable notifications.
Instructions

Create a new folder for your script and file/folder name should be appropriate.
Create a README.md (using this template) in your folder for program Instructions
add requirements.txt if needed

Programming Language

[x] Python

Happy Coding

Please assign this to me so that I can make a valid PR on this issue.


add's name and description to the pipeline

Description

adds name and description to the pipeline
also syncs contributing section of main readme

Check the relevant boxes:

[ ] Bug fix (nonbreaking change that fixes an issue)
[ ] New feature (nonbreaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Examples or tests (addition or updates of examples or tests)
[x] Documentation update
[x] CI related update (pipeline, etc.)

Checklist

[ ] If relevant, a test for the change has been added or updated as part of this PR.
[ ] If relevant, documentation for the change has been added or updated as part of this PR.

Merge

Merge using "Squash and merge".
Make sure to use a relevant conventional commit message that is based on the PR contents. The commit message determines whether a new version of the modules needs to be released, and if so, which semver number to use).

sorry. forgot to push the changes.

:tada: This PR is included in version 1.0.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Added tflite frontend support for quantized mean

cc @FrozenGene @srkreddy1238 @anijain2305 can you take a look?

CI failure is unrelated to this patch - I'll kick it off again once the issue is resolved

@tristan-arm CI is consistently failing. Shouldn't relate to your change.

Thanks @tristan-arm @anijain2305 @FrozenGene


Cmd + Shift + Left Arrow in editor selects opposite direction

Issue Type: Bug

Steps

Have a first line that is indented, and a second line that is also indented (child)
Navigate to the start of line 2
Backspace (should be on line 1), then hit enter
:bug: type Cmd + Shift + Left arrow to select all text to the beginning of line, notice how it selects the opposite direction

VS Code version: Code - Insiders 1.40.0-insider (93ee2fc3121b7f66ddf568c051f3bfff7db8d618, 2019-10-31T05:39:25.980Z)
OS version: Darwin x64 19.0.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7920HQ CPU @ 3.10GHz (8 x 3100)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (0.41GB free)

Process Argv

Screen Reader
no

VM
14%

Extensions (21)

Extension
Author (truncated)
Version

mock-debug
and
0.35.1

vscode-eslint
dba
1.9.1

gitlens
eam
10.1.1

prettier-vscode
esb
2.3.0

vscode-open-in-github
fab
1.2.2

vscode-pull-request-github-insiders
Git
2019.10.44104

svg
joc
1.0.5

all-symbol-kinds
jri
0.0.1

vscode-colorize
kam
0.8.15

remote-containers
ms-
0.83.0

remote-ssh-edit-nightly
ms-
2019.10.42662

remote-ssh-nightly
ms-
2019.10.42662

azure-account
ms-
0.8.7

vscode-typescript-tslint-plugin
ms-
1.2.2

cloudenv-extensions
ms-
1.0.1173

vsonline
ms-
1.0.1173

debugger-for-chrome
msj
4.12.1

rescuetime
Res
1.0.1

notification-tester
svi
2.1.5

enumerator
swi
0.0.6

ayu
tea
0.18.0

(8 theme extensions excluded)

I believe this is the expected behavior.
This is the equivalent of Shift+Home in Windows.
Since pressing Home toggles moving the cursor between the beginning of the line and the first non-whitespace character in the line, it is very logical that when you press it with Shift it will toggle selecting until the same two places.
This should be closed.

@NotWearingPants no, when you are on an indented line it will always go to the left, so this should never go to the right.

@misolori I agree this might appear weird (that home/cmd+shift+left would go to the right), but the cursorHome command is implemented to work in the following way:

go to the first non-whitespace character in the line.
if already at the first non-whitespace character, go to column 1.

This is pretty useful for editing, as oftentimes there's something wrong at the "beginning" of a line... I have double checked this is also the behavior of SublimeText, so I don't think we have a quirk.


npm install material-design-lite doesn't have default entry point

Doing
npm install material-design-lite

then in my code
require('material-design-lite')

The require doesn't point to a js file, have to do it manually with
require('material-design-lite/material.min.js')

Please consider updating the package.json to point to the correct javascript files when requiring it from npm.

Dupe of #833 I would say. An external contributor is working on a patch, hopefully with results soon :-)

+1

Can't wait!

I think this issue should be re-opened. The workaround above require('material-design-lite/material.min.js') does not work when I use webpack's CommonsChunkPlugin to extract vendor libraries:
webpack.optimize.CommonsChunkPlugin('vendor', 'vendor.dist.js')

I get the following error at compile time:
ERROR in multi vendor
Module not found: Error: Cannot resolve module 'material-design-lite' in /project-path/myproject
 @ multi vendor

And my vendor.dist.js has this error:
...
__webpack_require__(324);
(function webpackMissingModule() { throw new Error("Cannot find module \"material-design-lite\""); }());
...

Manually adding "main": "material.js” or "main": "material.min.js” fixes this issue. Obviously, manual code editing is not an option for when building in Jenkins.
I've created a fork with a fix, please consider merging it in:
https://github.com/google/material-design-lite/pull/2000

i had the same issue too but i managed to fix it by adding "material-design-lite": "^1.3.0" to the dependencies in my package.json then i ran npm install once again


Don't automatically add the current directory as a module

[ x] I have searched the issue tracker and believe that this is not a duplicate.

Steps to reproduce
pdm add pendulum

Actual behavior
user@computer ~/Noël/foo [1]$ pdm add pendulum
Adding packages to default dependencies: pendulum
✔ 🔒 Lock successful
Changes are written to pdm.lock.
Changes are written to pyproject.toml.
Synchronizing working set with lock file: 5 to add, 0 to update, 0 to remove

  ✔ Install pendulum 2.1.2 successful
  ✔ Install python-dateutil 2.8.1 successful
  ✔ Install pytzdata 2020.1 successful
  ✔ Install six 1.15.0 successful
Installing the project as an editable package...
  ✔ Install foo 0.0.0 successful

🎉 All complete!

This will install foo as a package because it's my project name, but my project may not be one:

it may be a collection of scripts, with no __init__.py
my main directory may be the project name, but it may contains a module, a package or a src directory that contains the stuff I want to install

Expected behavior
I do think it's a great feature to have your code installed in dev mode. So many people don't know this mode exists and have PYTHONPATH problems because of this, especially with unit tests.
So I'm not sure what's the best behavior here. Maybe prompt what to do in init ?

If pyproject.toml doesn't have name field, then it won't be installed

Maybe prompt what to do in init ?

Yes I am always thinking to do this way


Subamainer e2e is not taking the latest Operator image.

The submariner CI is not taking the latest operator image that is built when run using
DEPLOY_ARGS="--deploytool_broker_args '--service-discovery'" make e2e
When tried kubectl --context cluster3 get deployments -n submariner-operator submariner-operator -o yaml the image used was image: quay.io/submariner/submariner-operator:0.3.0, while the local image was expected.

logs.txt


release 0.0.2

@rultor release, tag is 0.0.2

@rultor release, tag is 0.0.2

@rultor release, tag is 0.0.2

@maxonfjvipon OK, I will release it now. Please check the progress here

@rultor release, tag is 0.0.2

@maxonfjvipon Done! FYI, the full log is here (took me 1min)


Feat / Heading component

Heading component
Quick addition to #46 to make dynamic heading numbers possible

After the feedback by you and Mike, I've already dynamically solved this myself in that PR in a slightly different way and with the default headingLevel set to '3', because that is more used throughout the app. How do you like my approach?


Unresolved dependency error (with Scala 2.11, sbt 0.13)

Hi,
I have
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.5.0")

in my PROJECT_DIR/project/plugins.sbt and I'm getting the following error:
[info] Resolving com.typesafe.sbteclipse#sbteclipse-plugin;2.5.0 ...
[warn] 	module not found: com.typesafe.sbteclipse#sbteclipse-plugin;2.5.0
[warn] ==== typesafe-ivy-releases: tried
[warn]   http://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbteclipse/sbteclipse-plugin/scala_2.11/sbt_0.13/2.5.0/ivys/ivy.xml
[warn] ==== sbt-plugin-releases: tried
[warn]   http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.sbteclipse/sbteclipse-plugin/scala_2.11/sbt_0.13/2.5.0/ivys/ivy.xml
[warn] ==== local: tried
[warn]   /home/tomas/.ivy2/local/com.typesafe.sbteclipse/sbteclipse-plugin/scala_2.11/sbt_0.13/2.5.0/ivys/ivy.xml
[warn] ==== public: tried
[warn]   http://repo1.maven.org/maven2/com/typesafe/sbteclipse/sbteclipse-plugin_2.11_0.13/2.5.0/sbteclipse-plugin-2.5.0.pom
[warn] ==== Sonatype OSS Snapshots: tried
[warn]   https://oss.sonatype.org/content/repositories/snapshots/com/typesafe/sbteclipse/sbteclipse-plugin_2.11_0.13/2.5.0/sbteclipse-plugin-2.5.0.pom
[info] Resolving org.scala-lang.modules#scala-parser-combinators_2.11;1.0.1 ...
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	::          UNRESOLVED DEPENDENCIES         ::
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	:: com.typesafe.sbteclipse#sbteclipse-plugin;2.5.0: not found
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] 	Note: Some unresolved dependencies have extra attributes.  Check that these dependencies exist with the requested attributes.
[warn] 		com.typesafe.sbteclipse:sbteclipse-plugin:2.5.0 (scalaVersion=2.11, sbtVersion=0.13)

怎么样解决呢

是呀，咋解决．．．．　I need a answer here!!!!
use scala 2.11.7

在自己的build.sbt 中写 scalaVersion := "2.10.3"

Why has build.sbt to be scala 2.10 ? Play dropped the support for  scala 2.10 ?

what the hell are saying

新手，写个helloworld提示未解决依赖，不能从org/scala-lang#scala-library下载，我电脑上的linux本来就不能联网，咋解决？要下载啥插件？放到哪？还是要改啥配置不让从网上down？？


Error: 'MySQL' is not recognised as an internal or external command

1.0.0-beta 17
Windows 10 Pro 64-bit

We've previously seen something very similar to this on Gitter https://gitter.im/resin-io/etcher?at=582a14e945c9e3eb4339d229
I didn't realise we didn't have a Github issue for it yet.
@jviotti Did we ever get any ideas what might be causing this?
@RobertLutken Would you be willing to help us debug this? Do you currently have MySQL installed on your PC, or have you had it installed previously?

@lurch I do indeed have MySQL installed, well MySQL workbench.
A little bit of digging seems to refer to "A key is a string specified in the Add method that uniquely identifies a specific member of a collection." MSDN
I'll have a dig around and try setup some different environment variables.
Happy to help!

Hey there @RobertLutken !
Thanks a lot for reporting! We've very recently fixed the Microsoft VBScript runtime error: This key is already associated with an element of this collection error (see https://github.com/resin-io-modules/drivelist/pull/130).
Regarding the MySQL error, I think its simply output coming from your environment every time you type a command, and should be safely ignored by our drive detection parser (see https://github.com/resin-io-modules/drivelist/pull/99).
So just to confirm the issue is gone, can you try the following bat scripts on your computer, and report back the results?

After the fix: https://github.com/resin-io-modules/drivelist/blob/master/scripts/win32.bat
Before the fix: https://github.com/resin-io-modules/drivelist/blob/cdfc551e5fbe874a09cc947589480548bd938712/scripts/win32.bat

Also, can you open cmd.exe and try typing some commands on it? I want to check if those MySQL warnings you get get printed every time you write a command there, independently on what they are. You can try wmic diskdrive list brief for instance.

Hello
Same error message, in French this time  :-)
Etcher-1.0.0-beta.18-win32-x64
Windows 7, 64 bits Edition Familiale Premium
Anything I can do to help?

Hi @daturach ,
Can you try running the .bat scripts I linked to in my previous comment?
Also, what happens if you any command on cmd.exe? Do you get the MySQL warning as well?

For this user, it seems to happen everytime a cmd.exe window is opened. Maybe its the same thing?
https://i.stack.imgur.com/e8b8q.png

Hi @daturach ,
Can you also paste a screenshot of the error dialog?

Hello @jviotti
Thanks for your quick answer.
This is the error message I get when starting etcher:

As a side note, this dialog box is not even supporting accented chars...:-(
Running win32.bat before the fix:

This MySQL error message is displayed only once. Other commands run into the same cmd.exe does not show this message anymore.
Running win32.bat after the fix displays the list of devices as above but without the error message if run in the same session.
Command wmic diskdrive list brief shows list of devices but never displays the error message.
Hope that helps!
Thanks

I think I have a theory about this. While our YAML parser will ignore invalid keys (https://github.com/resin-io-modules/drivelist/pull/99), the JavaScript code that executes the .bat script as a child process will blow up with an error if the stderr from the child process is not empty:
// See https://github.com/resin-io-modules/drivelist/blob/master/lib/scripts.js
if (stderr.trim().length) {
    return callback(new Error(stderr));
}

This seems to be what's happening given that the error contains both MySQL warning instead of just one (if the YAML parser would have been complaining about this, it would have complained about the first warning only, and we would have a YAML related stack trace).
I'm not very sure about what to do here. We can of course ignore stderr completely, but we might be hiding real errors accidentally, which is definitely not good.
@lurch What do you think?

In the mid-time, in order to validate this theory, I'll produce a custom Windows build that logs a warning instead of throwing an error if the child process includes stderr output.

Hmmm, given that we've only ever seen this error for MySQL (for a still-unknown reason) but for multiple times, I'd be tempted to filter out only any stderr messages starting with 'MySQL'  which matches both the English and French errors above.
Also, should there be a separate issue for the French error-dialog not correctly showing accented characters?

Hmmm, given that we've only ever seen this error for MySQL (for a still-unknown reason)

It seems to be a MySQL %PATH% configuration issue. Try googling the warning, the error seems to be well known. The reason why we see it here is that when you execute cmd.exe, it tries to run some MySQL command by default, and thus we get it on every new cmd.exe instance, including the one that triggers the drive detection script.

I'd be tempted to filter out only any stderr messages starting with 'MySQL' which matches both the English and French errors above.

Yeah, maybe, although the fact that a similar error might be reported in the future makes me feel a bit uncomfortable.
I have an alternative solution: What about allowing the drivelist client to pass a function to handler stderr from the scripts? We can throw by default, but Etcher could silently print them in DevTools (and we'll see it if a user has any problems and we ask him to send us the DevTools output), and send them to TrackJS.
A similar approach would be to allow some option in drivelist to print stderr output to stderr instead of throwing (basically proxying the output). Since in Etcher we send any stderr output to TrackJS, we accomplish the same thing automatically.

It seems to be a MySQL %PATH% configuration issue. Try googling the warning, the error seems to be well known.

I googled, and as expected the first few results are from people actually trying to run mysql (which we aren't). But then I found https://github.com/cmderdev/cmder/issues/443 which has lots of great info, especially https://github.com/cmderdev/cmder/issues/443#issuecomment-150202124 which suggests that using double-quotes is the way to fix this problem, i.e. maybe we simply need to change https://github.com/resin-io-modules/drivelist/blob/master/scripts/win32.bat#L6 to
set "PATH=%PATH%;%SYSTEMROOT%\System32"

:-D

@lurch, jviotti
Running win32.bat with the PATH between "" does not produce any MySQL error.

Amazing discovery! This might indeed be the reason! I'm uploading a custom build with these changes and we'll see how it goes :)

@daturach Can you try the following custom build as well just to confirm? https://drive.google.com/open?id=0B7tkbonGU-RyNTRxdlBhRVgwQnc.

Thanks
What's the process? unzip and run Etcher.exe?
I get the following:

Let me try here. I might be messed something up when editing the files straight in the asar archive.

Try this one: https://drive.google.com/open?id=0B7tkbonGU-RyUnJxbm5WeVpSM1U. Indeed messed up the previous one, sorry about that :)

Ok thanks; it's looking fine. MySQL error message disappeared.
Next week, I will start flashing some images. Great work!

Woohoo! Thanks a lot for the help on this issue. I'll send a patch to apply this fix!

All the credit to @lurch and his amazing observations of course \o/

should we just be double-quoting everything-in-general and get it over
with? it seems so many issues end with "use double quotes"
--
Alexandros Marinos
Founder & CEO, Resin.io
+1<PHONE_NUMBER>
@alexandrosm
On Fri, Jan 27, 2017 at 1:47 PM, Juan Cruz Viotti<EMAIL_ADDRESS>wrote:

All the credit to @lurch https://github.com/lurch and his amazing
observations of course \o/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/resin-io/etcher/issues/1025#issuecomment-275783810,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABLUCGjBlkP2d2KwzOBiuX8iYBWNrbR5ks5rWmXUgaJpZM4Li2lr
.

I'll definitely check if we can use double quotes elsewhere. At least in the Windows script, everything else is quoted already.

I've sent two PRs addressing issues highlighted by shellcheck, a shell script linter, for both the GNU/Linux and OS X scripts:

https://github.com/resin-io-modules/drivelist/pull/134
https://github.com/resin-io-modules/drivelist/pull/135

This tool, among other improvements, highlighted all the places where we should quote for safety purposes.


Remove steamName, profilePublic and skill from api request body

We should remove skill, profilePublic and steamName from the request body because it is not needed. As a first step this attributes should be optional, so the application is still working after the api change.
[
  {
    "name": "string",
    "steamName": "string",   //remove
    "profilePublic": true,   //remove
    "steamID": "string",
    "skill": {}   //remove
  }
]

Check Swagger for new API :)

Check Swagger for new API :)


Explain all the stable hashing shenanigans

So rustc is full of these impl_stable_hash_for. What are these for? I originally thought that would be for FxHashMap, but that seems to be wrong (I still need to derive(Hash) to use FxHashMap). So now I am just confused. It would be great if the guide could explain that.
@eddyb said "incremental" but that on its own does not explain much of anything -- why is Hash not good enough? Why do I need a tcx to compute a "stable hash"?

I was told that @michaelwoerister knows all about this? :D

Our Hash impls hash pointers, IDs, etc. - they're designed for efficiency, not stability.
Stability here is across compilations, and it means the hash depends on semantic data, not transient representation.
tcx is needed to e.g. convert an ID into its "stable" representation / get a cached hash.

Okay so "stable" here means "guaranteed not to change between rustc invocations". We must not hash pointers, for example. Good to know.

"Stable" here means stable across compilation sessions and crate boundaries. For example, if you Hash a Ty you get a different value in two different compiler processes (because you are actually hashing a pointer to an interned data structure). If you StableHash it, the hash value will be the same for different invocations of the compiler, and it will also be the same, independently of whether the type was defined in the current crate being compiled or if it was loaded from an upstream crate.
This is used for telling if something has changed in between to sessions (for incr. comp.) without actually having to have the value stored somewhere. Another example is the hash value at the end of every Rust symbol. This also needs be stable across sessions and crate boundaries.

@michaelwoerister thanks, that helps! Why does this kind of stability require access to a "context" (StableHashingContext) though?

@RalfJung To cache some kinds of more expensive caches and to look up IDs (NodeId, DefId, etc.).

It's not just caching. NodeId, DefId, Span, etc are not stable things. The context provides the data needed for mapping them into a stable format. For example mapping Span from a u32 to file:line:col.

That's what I meant by "looking up IDs".

Right, I wasn't reading your answer properly :)