array column added from alter table are generated as non array

Version
1.20.0
What happened?
On alter tables, array columns are generated as non array. This doesn't happen in 1.19.

Relevant log output
No response
Database schema
-- Example queries for sqlc
CREATE TABLE authors (
  id   BIGSERIAL PRIMARY KEY,
  name text      NOT NULL,
  array1 BIGINT[],
  array2 BIGINT array
);

ALTER TABLE authors ADD COLUMN array3 BIGINT[];
ALTER TABLE authors ADD COLUMN array4 BIGINT array;

SQL queries
-- name: GetAuthor :one
SELECT * FROM (select id from authors) t;

Configuration
{
  "version": "1",
  "packages": [
    {
      "path": "db",
      "engine": "postgresql",
      "schema": "query.sql",
      "queries": "query.sql"
    }
  ]
}

Playground URL
https://play.sqlc.dev/p/09d13d4e8c68bda99da95e6e0af5adf85c60396277614faae148fd8b56a9dec4
What operating system are you using?
No response
What database engines are you using?
No response
What type of code are you generating?
No response

I am experiencing the same.


Enable multiAZ for new instances by default

What
Our Elasticache instances, even the "HA" ones, don't seem to have the "multiAZ" flag set. This means that the auto-failover won't work if there is a problem with one of the availability zones.
This PR enables the "multiAZ" flag by default for new instances. Other things:

aws-sdk-go updated, as the version we were using didn't have multiAZ as an option
updates mocks and adds flag to tests

How to review

Code review
Create an ha redis instance in dev01 and check in the aws console that it has "multi AZ" enabled

@cadmiumcat,
Seb and I reviewed the code and that looks good.
We also created both an HA redis service and a non-HA redis service on dev01 and dev02. The HA service on dev01 had both multi-az and auto-failover enabled whereas the non-HA service had both properties disabled. On dev02 the HA service had multi-az disabled but auto-failover enabled and the non-HA service had both properties disabled. The tests indicate that the code is performing as designed.


[RFC] Don't enforce self type in equals method

Thanks @lyrixx for the component,
I suggest not to enforce the typehint for the equals method to enable more flexibility.
This would allow one to do write code as is:
$uuid->equals($anObjectOfAnotherType); // false
$uuid->equals($anotherUuidObject); // true / false
$uuid->equals($aNullValue); // false
$uuid->equals('974d05ab-835e-4d58-af3d-88a0666c5e74'); // true / false

What do you think?
PS: I'll update unit tests if a consensus agrees on this change.

Shouldn't this PR be on https://github.com/symfony/symfony?

@kunicmarko20 totally!
@hhamon closing therefor.

Oups indeed, I'am opening it on Symfony repository

See https://github.com/symfony/symfony/pull/36058


Task 2

Add subtract multiply divide the two numbers given by the user

@samkarne94
Task -2
Code verified.
Task -3
Code verified.
Task -4
Code verified.
Task -5
Code verified.
Task -6
Code verified.


Dart does not throw error when analyzer fails with "type_argument_not_matching_bounds" error for mixins

Dart SDK Version: 2.0.0-dev.64.1
OS: Windows 10 (64 bit)
The following test example tries to create an object of the mixin with incorrect type parameter. It produces type_argument_not_matching_bound in analyzer and passes with dart:
class A {}
class B{}

class M<X extends A> {}
class O<X> extends Object with M<X> {}

main() {
  O o = new O<B>();
}

Sample output is:
$>dart --version
Dart VM version: 2.0.0-dev.64.1 (Thu Jun 21 08:47:55 2018 +0200) on "windows_x64"

$>dartanalyzer test.dart
Analyzing test.dart...
  error - 'X' doesn't extend 'A' at test.dart:5:34 - type_argument_not_matching_bounds
  hint - The value of the local variable 'o' isn't used at test.dart:8:5 - unused_local_variable
1 error and 1 hint found.

$>dart test.dart

$>

I believe dart should throw error here.
Please note that there is a similar issue about incorrect class parameters: #33585.

@eernstg

Right, the VM should emit a compile-time error, so this is another case where we encounter the missing bounds checks reported in a more general fashion in #33308.
I'm closing this one as a duplicate of #33308, and adding a comment there that we have extra examples here. Also adjusting the area, just for completeness.


Fix registry path for COM plugin registration

Fixing an error for the registry path where the plugin CLSID needs to be added.

@mapalko : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@mapalko : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@lastnameholiu this issue is still active in the documentation. Can you review my fix?

Thanks for the heads up, @mapalko  and apologize for the delayed review.


Using calc() for columns width

Revisit #27374 for v5.

wow, I found an idea that does not rely on the post-css.
https://www.sassmeister.com/gist/ead6fa9383c992658f3cfcbed5131501

Hey I want to contribute on this issue

Closing as stale for now


Expose truss config top level for backwards compatibility

:rocket: What

:computer: How

:microscope: Testing

what is this for?

Truss config was to some degree "publicly" used in chain definitions. E.g. here. I think for now it's good to defensively leave this backwards compatible, to reduce friction with users who might have old versions of these examples.


Non label zone label in latency evaluation

Hi,
Could you provide non label zone label in latency evaluation input? This will be useful to mask out nlz points

Users do not need to set NLZ in eval.

I mean filtering before model prediction to make sure we don't predict objects in Nlz.
It is fine if this won't be provided though


SAK-44253 Assignment tool translations for Japanese and Chinese

@ern I was QA'ing this jira (after you merged) and noticed a few missing translations


Slack button leads to wrong place

Describe the bug
Wrong URL in Slack button on the main page
To Reproduce
Steps to reproduce the behavior:

Go to https://docs.accordproject.org/
Click on Slack button
You will be redirected to some Google form, and, you need permission here (probably, if you're logged in as an member of owner organisation, you will not see it)

Expected behavior
User should be redirected to the Slack invitation (Probably,    here  )
Additional context
Perhaps, I wrong here, but, im my opinion, link should be fixed, or, button should be renamed

Oh, another interesting place
In footer there's also link to slack, and it's https://accord-project.slack.com/messages/C7U521CTG which also looks strange, because, if I don't have access to Accord Slack workspace, I will be initially redirected here https://accord-project.slack.com/?redir=%2Fmessages%2FC7U521CTG
Perhaps, that also should be updated ?
Any thoughts @irmerk ?

Wow, I'm surprised we haven't caught this one yet! Yes, the link should be https://accord-project-slack-signup.herokuapp.com/ for both of these buttons.


Makes my game laggy

My game gets super laggy when i install it.
Comes back to normal speed if i remove it.

I can't replicate this. Please attach a copy of player.log

My gamelog is 150 mb after a few minutes, full of errors because it s
trying
to access C:\Users\Aaron\source\repos\Wotr\MiscTweaksAndFixes2\MiscTweaksAndFixes\AddedContent\
Would this be the reason? Example:
[170.0487 - Default]: Object reference not set to an instance of an object
at
MiscTweaksAndFixes.Tweaks.NaturalWeaponStacking.NaturalWeaponStacking.PatchConditions
(Kingmaker.EntitySystem.Entities.UnitEntityData unit) [0x00009] in
C:\Users\Aaron\source\repos\Wotr\MiscTweaksAndFixes2\MiscTweaksAndFixes\Tweaks\NaturalWeaponStacking.cs:304
at
MiscTweaksAndFixes.Tweaks.NaturalWeaponStacking.NaturalWeaponStacking+ItemEntityWeapon_get_Size_Patch.Postfix
(Kingmaker.Enums.Size size, Kingmaker.Items.ItemEntityWeapon __instance)
[0x00014] in
C:\Users\Aaron\source\repos\Wotr\MiscTweaksAndFixes2\MiscTweaksAndFixes\Tweaks\NaturalWeaponStacking.cs:62
at (wrapper dynamic-method)
Kingmaker.Items.ItemEntityWeapon.Kingmaker.Items.ItemEntityWeapon.get_Size_Patch1(Kingmaker.Items.ItemEntityWeapon)
at Kingmaker.Items.ItemEntityWeapon.get_DamageDice () [0x00006] in
<9fbdaaba94e842ff9fe97bf4617a0789>:0
at Kingmaker.Items.ItemEntityWeapon.IsBetterThan
(Kingmaker.Items.ItemEntityWeapon otherWeapon) [0x00000] in
<9fbdaaba94e842ff9fe97bf4617a0789>:0
at Kingmaker.Items.UnitBody.SetEmptyHandWeapon
(Kingmaker.Blueprints.Items.Weapons.BlueprintItemWeapon weapon,
System.Boolean isMonkUnarmedStrike, System.Boolean isPermanent) [0x00072]
in <9fbdaaba94e842ff9fe97bf4617a0789>:0
at Kingmaker.Designers.Mechanics.Buffs.EmptyHandWeaponOverride.SetWeapon
() [0x00017] in <9fbdaaba94e842ff9fe97bf4617a0789>:0
at Kingmaker.Designers.Mechanics.Buffs.EmptyHandWeaponOverride.OnTurnOn
() [0x00006] in <9fbdaaba94e842ff9fe97bf4617a0789>:0
at
Kingmaker.EntitySystem.EntityFactComponentDelegate`2+ComponentRuntime[TEntity,TData].OnTurnOn
() [0x0000d] in <9fbdaaba94e842ff9fe97bf4617a0789>:0
On Sun, Apr 30, 2023 at 12:18 AM Aaron Maslen @.***>
wrote:

I can't replicate this. Please attach a copy of player.log
—
Reply to this email directly, view it on GitHub
https://github.com/microsoftenator2022/MiscTweaksAndFixes2/issues/1#issuecomment-1528949063,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7PD2ERKCHLUJZBODXFRAL3XDX73JANCNFSM6AAAAAAXPQIE6A
.
You are receiving this because you authored the thread.Message ID:
@.***>

That is helpful but I need the logs before this (from game start up onwards) to identify the root cause.

You can upload your log here https://docs.google.com/forms/d/e/1FAIpQLSei1Cnpre7LhEKpEU176aCe_S8wxfE2dafGj0ZU17rm9YlVwQ/viewform

I sent you player log and game log.
Cheers
On Sun, Apr 30, 2023 at 10:54 PM Aaron Maslen @.***>
wrote:

You can upload your log here
https://docs.google.com/forms/d/e/1FAIpQLSei1Cnpre7LhEKpEU176aCe_S8wxfE2dafGj0ZU17rm9YlVwQ/viewform
—
Reply to this email directly, view it on GitHub
https://github.com/microsoftenator2022/MiscTweaksAndFixes2/issues/1#issuecomment-1529344970,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7PD2EXHF7SJGNFW4KQLS3DXD46YNANCNFSM6AAAAAAXPQIE6A
.
You are receiving this because you authored the thread.Message ID:
@.***>

You don't appear to be using the current version of this mod (<IP_ADDRESS>) + there are a lot of errors from other mods that are causing issues eg. CustomNPCPortraits and FinneanTweaks
Deactivate all other mods, install this debug version start the game at least once, and then upload your logs again

Done, hope it helps.
On Mon, May 1, 2023 at 9:37 PM Aaron Maslen @.***>
wrote:

You don't appear to be using the current version of this mod (<IP_ADDRESS>) +
there are a lot of errors from other mods that are causing issues eg.
CustomNPCPortraits and FinneanTweaks
Deactivate all other mods, install this debug version
https://github.com/microsoftenator2022/MiscTweaksAndFixes2/releases/download/<IP_ADDRESS>-debug%231/MiscTweaksAndFixes<IP_ADDRESS>-debug.zip
start the game at least once, and then upload your logs again
—
Reply to this email directly, view it on GitHub
https://github.com/microsoftenator2022/MiscTweaksAndFixes2/issues/1#issuecomment-1530823003,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7PD2ETDJZUHSNHZMRHXKJLXEB6OLANCNFSM6AAAAAAXPQIE6A
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thanks. That narrows it down a lot. There's a touch weapon (attack maybe?) without a wielder that is maybe triggering the issue but I don't know what it is or why it would be such an issue in your case specifically. I'll try to work around it in the next release (hopefully today) so please let me know if it's fixed.

That last log i sent is just starting a new game, so there s only 1 default
character at level 1
On Tue, May 2, 2023 at 9:58 PM Aaron Maslen @.***>
wrote:

Thanks. That narrows it down a lot. There's a touch weapon (attack maybe?)
without a wielder that is maybe triggering the issue but I don't know what
it is or why it would be such an issue in your case specifically. I'll try
to work around it in the next release (hopefully today) so please let me
know if it's fixed.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoftenator2022/MiscTweaksAndFixes2/issues/1#issuecomment-1532429031,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7PD2EX2TLXJVLCDBQTYRDDXEHJW5ANCNFSM6AAAAAAXPQIE6A
.
You are receiving this because you authored the thread.Message ID:
@.***>

The logs indicate that's it's now catching and preventing the errors you mentioned earlier, so hopefully the issue doesn't reoccur.

Beautiful, thank you
On Wed, May 3, 2023 at 5:55 PM Aaron Maslen @.***>
wrote:

The logs indicate that's it's now catching and preventing the errors you
mentioned earlier, so hopefully the issue doesn't reoccur.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoftenator2022/MiscTweaksAndFixes2/issues/1#issuecomment-1533892912,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7PD2EUVGWYLL3HOGKNVWIDXELV7HANCNFSM6AAAAAAXPQIE6A
.
You are receiving this because you authored the thread.Message ID:
@.***>


Uncaught Invariant Violation: traverseParentPath(…): Cannot traverse from and to the same ID, ``

Would you please take a look at this: http://stackoverflow.com/questions/34914922/uncaught-invariant-violation-traverseparentpath-cannot-traverse-from-and ?
I'm facing an issue and I think one of these three libraries could be causing it: redux-form, material-ui and parse.

This is a usage question, and we try to use the issue tracker for bug reports and feature requests, as well as some discussions, but this appears to be a very localized question.
I’m closing for these reasons.


feat: Vault tokens are now identity-based instead of anonymous

This is an internal refactoring of security-secretstore-setup, security-file-token-provider, and security-spiffe-token-provider to generate Vault tokens that are based on a Vault identity instead of being anonymous tokens with an attached ACL.
The consequence of this refactoring is that the token issuing components of EdgeX run with fewer required privileges than before, and it is possible to ask Vault for a verifiable JWT-based identity assertion of an EdgeX service.
This change should be completely transparent to all existing EdgeX services.
Signed-off-by: Bryon Nevis<EMAIL_ADDRESS>PR Checklist
Please check if your PR fulfills the following requirements:

[X] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[X] I am not introducing a new dependency (add notes below if you are)
[X] I have added unit tests for the new feature or bug fix (if not, why?)
[X] I have fully tested (add details below) this the new feature or bug fix (if not, why?)
[ ] I have opened a PR for the related docs change (if not, why?) n/a

Testing Instructions

# in edge-go
make clean_docker_base docker_base docker
# in compose-builder
make run dev ds-virtual
make get-token
# Go to localhost:4000 with the above token and make sure everything runs as usual

New Dependency Instructions (If applicable)

Resolved merge conflict in go.mod.


Add some tests

Add some tests
Signed-off-by: Mingzhen Feng<EMAIL_ADDRESS>

I think we can do something more in  drivers/bridge/link_test.go. But good to have this as a start.
LGTM

Thanks. LGTM.


Feature: Add CPU Usage and remove CPU Frequency entities

Addresses half of #102

Do we want to release 0.2.1 or do you want to wait? We could also release a beta...


Rework fine-grained access control syntax implementations

This PR mostly reverts #50 and adds correct implementations for fine-grained access control syntax (GRANT and REVOKE statements).
We introduces two interfaces. Privilege represents a privilege on certain object (e.g. TABLE, VIEW, etc). TablePrivilege represents a privilege on TABLE.

SELECT ON CHANGE STREAM privilege is not supported so far. It is intentional because #58 is working in progress.


How to set custom TLS certificates on Dashboard / Controller

I know LetsEncrypt integration is in the pipeline, but in the meantime I'm doing it semi-manually using terraform and acme.
I have the certificates and have run the following command to set up the default cert.
flynn -a router env set TLSCERT="$(cat cert-chain.pem)" TLSKEY="$(cat cert-key.pem)"
This works fine, and when visiting my app using https it shows the LetsEncrypt certificate.
However, when I access dashboard.<flynndomain>, controller.<flynndomain> or git.<flynndomain> it still uses the self certified certificate.
I also tried updating the route for dashboard and controller apps, as follows but still no joy:
flynn -a dashboard route update http/4aa48f43-11a1-4af2-863c-58c3a5fc6c69 --tls-cert cert-chain.pem --tls-key cert-key.pem
flynn -a controller route update http/f78e7dd7-4c2e-44b4-8580-77af51a568c3 --tls-cert cert-chain.pem --tls-key cert-key.pem
I've searched through the docs and issue queue for similar questions but can't find any thing that works.
Am I missing something?
Ben
P.S. Thanks for all your work on this project - it's great :)

You are doing it correctly, flynn route update should be run with new certificates against these apps: controller, gitreceive, docker-receive, dashboard

Thanks, It now seems to be partially working - so i'm guessing it is a cache issue that means I wasn't seeing the correct cert.
By the way, Is there a way to run route update without knowing the uuid of the route first?

Not currently, #3185 tracks implementing that. You could test with curl, openssl, or another browser.

Okay, thought as much - Thanks for the quick reply.
Closing this now as it's all resolved.

Hello again,
Following on from the above, since i'm trying to use Lets Encrypt the certificates will need to be updated regularly, after which they will need repinning.
When a new cluster is bootstrapped the log shows the command to add the cluster to the flynn cli:
flynn cluster add -p <PIN> default <DOMAIN> <KEY>

If I apply the new certificate using the commands above (e.g setting via the routes) is there a way of programmatically retrieving the PIN and KEY for the cluster?

You can calculate the pin with:
openssl x509 -inform PEM -outform DER < cert.pem | openssl dgst -binary -sha256 | openssl base64

Thanks, that works for me.
I know the controller key should stay the same when changing the certificate, but is there a way to retrieve it from the cluster. I've been looking through the code for a way, but I'm still a bit new to golang.

You can look in the certificates table in the router postgres database:
flynn -a router pg psql

Sorry, you want the controller key, not the controller certificate key. Run flynn-host inspect JOB_ID against a job id from a controller job listed by flynn-host ps. It will be an environment variable.

I'm following these steps, but now I get an error: pinned: the peer leaf certificate did not match the provided pin when changing the core apps' routes


compatibility with Gradle 9.x

> Task :forbiddenApisMain
The org.gradle.api.plugins.JavaPluginConvention type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#java_convention_deprecation
The org.gradle.api.plugins.Convention type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#deprecated_access_to_conventions

gradle/libs.versions.toml
[plugins]
forbiddenapis = "de.thetaphi.forbiddenapis:3.6"

No idea where this class is referenced. It's just standard plugin code.
https://github.com/policeman-tools/forbidden-apis/blob/6a4204546e7e56001ec96ef1c7477d975ab26e56/src/main/groovy/de/thetaphi/forbiddenapis/gradle/ForbiddenApisPlugin.groovy

https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#java_convention_deprecation
https://github.com/policeman-tools/forbidden-apis/blob/6a4204546e7e56001ec96ef1c7477d975ab26e56/src/main/groovy/de/thetaphi/forbiddenapis/gradle/ForbiddenApisPlugin.groovy#L50

I am not sure if I have an idea how to fix this. So it could be that I won't have time to fix this for next version.
Uwe

I will delay changes to after the Java 22 compatibility release. Sorry. I don't feel this is too urgent.

Hi,
I fixed the problem in this PR: #247

Will verify with 3.7.

Thanks! I did this already with Jenkins: https://jenkins.thetaphi.de/job/Forbidden-APIs-testonly-GradleLatest-Linux/119/console

In addition I also changed the code to fetch sourceSets directly from Java extension, if available (after Gradle 7.1). Tis should make it future proof. Normally there should also be a warning poping up, but it isn't.

See 068b0ca72b4bdc5054467e8f1b5a36c8b98694bf

v9.7 was released a minute ago.

verified with v3.7


Module not found

Hi, I was trying to install via vim-plug and when I do require("cmp-nvim-ultisnips").setup(), I got an error of Module not found.
Minimal init.vim to reproduce
call plug#begin(stdpath("data") . '/plugged')
Plug 'hrsh7th/nvim-cmp'
Plug 'quangnguyen30192/cmp-nvim-ultisnips'
call plug#end()

lua << EOF
require("cmp-nvim-ultisnips").setup {}
EOF

Launch with the above init.vim and do :PlugInstall and both are correctly installed but I got this error
E5108: Error executing lua [string ":lua"]:2: module 'cmp-nvim-ultisnips' not found:.
Sorry, I'm new to lua, maybe I configured something wrong.

Hey @ZachariahPang , we recommend using the plugin with packer. You can use vim-plug and packer at the same time. You can check here https://github.com/quangnguyen30192/cmp-nvim-ultisnips/issues/7

Hey @ZachariahPang, I think this is a problem in the readme. It should be
require('cmp_nvim_ultisnips') instead. I will fix this now.

Ah, you're right 👍

Thanks. This solves the importing issue.
In case this is related, the auto-completion list is still showing all snips even when they are not expandable. I tried both with
require("cmp_nvim_ultisnips").setup{} and require("cmp_nvim_ultisnips").setup{show_snippets="expandable"} and both shows non-expandable snips.

Thanks. This solves the importing issue.
In case this is related, the auto-completion list is still showing all snips even when they are not expandable. I tried both with require("cmp_nvim_ultisnips").setup{} and require("cmp_nvim_ultisnips").setup{show_snippets="expandable"} and both shows non-expandable snips.

I did something wrong with my snips, it works as expected. Thanks. I'll close this issue.

Thank you


Inherited Object Types

Note: This should be attempted only once we feel good about library code getting transformed.
One of the challenges for migration is going to be dealing with framework specific objects. This is challenging because TypeScript offers no code action for filling in types from the super class.
Example
Since methods on framework objects typically get called by the framework it self instead of other application code the signatures are actually well known and should not vary. Given this aspect I think we can get very far at emitting the correct framework types by transforming the code in 3 stages to get code actions to do much of the heavy lifting.
Stage 1:
In stage 1 we exam the code and determine if a framework object is being extended. We then look at that type and determine what what members it contains. From there we look at what the developer overrode and we build a temporary type that Picks the values out of the super class type.
Example Stage 1
Stage 2:
In stage 2 we need to temporarily comment out the extension of the super class and instead have the class implements our temporary type. In addition to to that we need to temporarily comment out the body of the class. In doing so we will get a code action on the class that will ask us if we want to implement the interface. When we run the code action we are left with the following. Noticed that it pulled in the correct Transition type.
Example Stage 2
Stage 3
In the third and final stage we need to merge the class body, remove the implements and our temp type, and then run any eslint/prittier fixes.
Example Stage 3
This is not perfect but it is much better for us to do something like this for well known methods rather than infering the types based on usage or emit types from JS and merging them back.
Example of inferring based on usage
Example of JS Types

@chadhietala inlay hints have correct types for a simple solution... checking more complex one :)


Integrate other events / training resources

Examples:
https://raw.githubusercontent.com/RSE-Sheffield/RSE-Sheffield.github.io/master/_events/dltraining-2018-11-28-dli-sheffield.md
https://raw.githubusercontent.com/sheffield-bioinformatics-core/sheffield-bioinformatics-core.github.io/master/training/ngs-introduction-2021-11.md

[ ]  RSE
[ ] Bioinformatics Core
[ ] Others?

https://epcced.github.io/2021-07-28_Containers_Online/
https://epcced.github.io/2021-07-29_Singularity_Online/
Both good resources.

https://astrobiomike.github.io/unix/conda-intro

https://docs.conda.io/projects/conda/en/latest/_downloads/843d9e0198f2a193a3484886fa28163c/conda-cheatsheet.pdf

Lots of ANSYS tutorials as well as specific application tutorials here:
https://www.youtube.com/channel/UCdymxOTZSP8RzRgFT8kpYpA


Typo in documentation

Applied changes from https://github.com/processing/p5.js/pull/4044

@J-888  thanks for contributing with this fix!


fix downloading JPEG files (handle response bodies with first byte = 255)

Following bbfd77c9b0ae7ceacda76fbe7c2622d7ab977c69, handling any response body whose first byte was 255 would result in an empty byte-array when using :as :byte-array.
This was because the value returned from InputStream.read (an int) was being prematurely coerced to a byte, making the EOF marker -1 and the byte 255 indistinguishable.
One consequence is that any GET with content-type image/jpeg would fail because a JPEG's magic number is FF D8.
This commit delays the coercion of the first-byte until after the EOF check.  Added a test using smallest possible valid jpeg file from https://github.com/mathiasbynens/small

That bug just cost me 1 hour of debugging ...
Please merge this soon :) :+1:

Sorry for the delay on this, I've merged this now

I've released 3.9.1 with this fix


SGMatrix cleanups and speedups

Should be much faster.

Travis canceled?

@karlnapf some more stuffs coming up with this PR :)

@karlnapf Summary of changes:

SGMatrix::operator== is now (potentially) inlined
SGMatrix::equals now works with all floating ptypes as well as complex types
SGMatrix::equals now do not look for element-wise similarity when comparing with itself
SGMatrix::clone does a std::copy instead of an element-wise copy
SGMatrix::set_const and SGMatrix::is_symmetric now throw user friendly REQUIRE errors when trying to read from/write into unallocated/insufficient memory
SGMatrix::max_single uses an off-the-shelf algorithm to find the max-value.
made several read-only methods const-qualified in SGMatrix

@lambday could we use std::memcpy instead of std::copy?

@lambday and actually could you wrap std::memcpy with shogun::memcpy in memory.h and use that? just to be able to easily plug in a different memcpy method....

CIs are done and green. Merging this one.


provide a way for DP to communicate with the client outside of presentation models

Right now DP provides one-way communication for a client to talk with the server with dolphin actions. But the server has only presentation models to communicate with the client. What is missing is a communication way outside of the presentation models.
Example: Let us assume I do have to load a list which will take 10 minutes of loading time on the server. Of course I do want to inform the user when all the data is finally available. I may want to do this independent of what is displayed at the current time. Which means I would have a presentation model for something that is not being displayed. Which means I have to misuse presentation models.
Thus it would be nice to have a more general system, maybe with events, to send information from the server to the client. Especially for delayed actions and notifications.

+1 :-)

Will be one of the first goals after 1.0 ;)


Support namespace qualified / packaged Rollups (Custom Metadata)

Currently the Manage Lookup Rollup Summaries page looks for lookups based on the Unique name only. If an org contain a packaged rollup and a subscriber added rollup of the same name, the UI can get confused in certain cases, such as adding.

This works, though the UI for editing is not aware of protected status yet and also does not qualify the rollup on an attempt to save. So this needs adding.


Satellite Fly over not available for android

Summary
For now, satelliteFlyOver map type is only there for apple, not for android. I wonder when the android support for satelliteFlyOver will be available?
Reproducible sample code
N/A

Steps to reproduce
N/A
Expected result
N/A
Actual result
N/A
React Native Maps Version
1.15.6
What platforms are you seeing the problem on?
Android
React Native Version
0.74.2
What version of Expo are you using?
Not using Expo
Device(s)
Pixel 3A(android 14)
Additional information
No response

@Espade @mlc @pedro @netshade @miracle2k
Do you know if there is any progress on this issue?


Better support for sending transactions to a specific proxies and custom networks

Problem
There are certain times where we want to send a transaction to a particular node. For example to understand if a particular node is having problems, sending a test query to that node is something we are required to do.
I imagine this is also a problem for targeting local instances? In my use-case I want to hit specific proxies for previewnet, testnet, and mainnet.
The SDK makes this difficult to do. You can craft a network like so:
  Map<String, AccountId> myNetwork = new HashMap<>();
  myNetwork.put("<IP_ADDRESS>:50211", new AccountId(3));
  Client client = Client.forNetwork(myNetwork)

There are some very big downsides to this approach: for starters, it does not support TLS. That is because no attempt to load the address book is loaded, as that path is not executed. Client provides a setTransportSecurity() flag but this appears to have no effect.
If I didn't want to disable the transport security and provide certificate, I have no way of doing that either. I might be able to do it by loading from a json config but there is no documentation or examples on the structure of that configuration, so I don't know how to use that method.
Solution
Provide methods to initialize a network like mainnet and then restrict it to a single proxy?
Or alternatively change a lot of the accessors?
Client is a final class, for example. There's very useful methods to load from an address book I could probably use to accomplish my use-case, but that are private or package protected so I can't use them.
Similarly, the Network class which does a lot of the heavily lifting of Client is also package protected, so I can't use it.
Alternatives
There's not alot honestly. Short of patching the SDK and cutting my own library I don't see a way to accomplish what I'm trying to do.

Hi @dalvizu, thank you for submitting this detailed proposal. We will review it with team members and get back to you.

@dalvizu please check this PR and comments in the file (I quoted some parts of this issue and replied to them in the code). Let me know if that asked your questions and if you still have any :)

Hi @dalvizu, please let me know if we're good to close this issue or if you need some additional support 🙂

Hi @dalvizu, I am closing this issue, and if you need any additional support on this -- feel free to reopen 🙂


[recorder] Sanitize tokens in recorded tests for auth

We'll need to sanitize token values in both headers and message bodies in our tests once.
In the .NET test framework, I needed to add:

Sanitization for tokens in headers values
Sanitization for tokens in message bodies

For message bodies, .NET did not support sanitization of application/x-www-form-urlencoded content types.  This needed to be added specially to the ACR-specific sanitizer.
I don't know how the test framework works in other languages, but this issue represents the work to investigate and implement sanitization in recorded tests so we don't check in secrets in our test recordings.

Thanks for the issue @annelo-msft.
Can you point me to the PR or the code that you have added to .NET test framework for reference?

Sure!
Here is the PR: https://github.com/Azure/azure-sdk-for-net/pull/19696
You can see the ContainerRegistryRecordedTestSanitizer class I added for .NET here: https://github.com/Azure/azure-sdk-for-net/pull/19696/files?file-filters[]=.cs#diff-df9ae6fe8cf7eaf74104691a4fe7b2aeb4890d35aa6432ec4688154451429879R11

Currently done in ACR

I believe this has been addressed in the unified recorder?

Yes 😎


Add Punchcard/Heatmap output

"old" GitHub had a punchcard diagram to show you the most active hours of the day.
This is great to gain insight about one's daily productivity rhythm.

Hello o/
I started to work on the punchcard but got stuck on the design from GitHub - We don't collect the timeframe, so I decided to draw the card just on basis of the weekdays:

My question is: Will we collect the timeframe in the future? If so, I would wait for pushing my results to the master branch, so I can implement the timeframe too.
For those who are curious, here is my code ^^:
https://github.com/dojoh100/time-tracker/commit/3ef22a0417b43937aa812e9760908b415df2f6f8


encoding/asn1: timeParsing functions impose static formats

What version of Go are you using (go version)?

$ go version
go version go1.11.2 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/chris/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/chris/Optus/Git/gorims"
GOPROXY=""
GORACE=""
GOROOT="/usr/lib/go"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build723180761=/tmp/go-build -gno-record-gcc-switches"

What did you do?
Attempt to unmarshal generalized time received from a 3rd party system that used a format other than the one hard coded in the parseGeneralizedTime([]byte) (time.Time, error) function.
What did you expect to see?
A way to nominate the time format to be used
What did you see instead?
That the time format is hardcoded as a const within the time parsing funcs.

Wrong CL listed above; it should be https://go-review.googlesource.com/c/go/+/152117/
Meanwhile, there are questions about this idea, including whether it should happen at all. I have added the Proposal label to trigger a discussion about the role of this package vs. the crypto on.


useFetch returns null used in component when on parent data is loaded via composable useFetch on route watch

Environment
------------------------------
- Operating System: Linux
- Node Version:     v18.20.3
- Nuxt Version:     3.12.4
- CLI Version:      3.12.0
- Nitro Version:    2.9.7
- Package Manager<EMAIL_ADDRESS>- Builder:          -
- User Config:      compatibilityDate, devtools
- Runtime Modules:  -
- Build Modules:    -
------------------------------

Reproduction
https://stackblitz.com/edit/nuxt-starter-rt2zig?file=pages%2Findex.vue
Describe the bug
On Page Load Response is null. But when changing something in code to trigger client refresh (i provided the console.log to trigger update), Response is given.
It works on page reload when using the doSuccess with another composable method.
While debugging, it seems like that causes it:
In the described behaviour asyncData use _nuxtOnBeforeMountCbs to process the initialFetch
https://github.com/nuxt/nuxt/blob/main/packages/nuxt/src/app/composables/asyncData.ts#L372
But, what seems to be a bug, the line (395) resolves in the given case the Promise where it isn´t processed (359) yet.
Additional context
No response
Logs
No response

Just briefly skimming through the code, useFetch should always be registered top level of a setup context as it's a composable, or be returned from composables. It seems like you're doing multiple levels of nesting and not returning the useFetch instance itself but rather awaited values. -> Docs
I recommend taking a look at that and then seeing whether the issue persists

IMHO, you should use $fetch instead of useFetch on usApi composables.
and if you want to use it on server, you can wrap it using useAsyncData

IMHO, you should use $fetch instead of useFetch on usApi composables.

But when using $fetch i would need to reimplement all the already provided caching functionality, or?

It seems like you're doing multiple levels of nesting and not returning the useFetch instance itself but rather awaited values.

Ok, so never use useFetch in a composable to process the returned data within to create some reusable functionality?

Just briefly skimming through the code, useFetch should always be registered top level of a setup context as it's a composable

What i wonder is, that the useFetch that is implemented as you describe crashes, not the one that is used through composables.

But when using $fetch i would need to reimplement all the already provided caching functionality, or?

yes, you can use useAsyncData + useApi
custom fetcher


Add a min-width prop for Drawers

This function solves the problem (这个功能解决的问题)
This will allow for resizable drawers to have a minimum width. The default-width prop only works for opening the drawer and I think it makes sense to have a min width so the whole drawer is not accidentally resized to zero (especially for ones where the masks are set to false
Expected API (期望的 API)
<n-drawer
v-model:show="active"
:default-width="502"
:minimum-width="300"
:placement="placement"
resizable

<n-drawer-content title="Stoner">
  Stoner is a 1965 novel by the American writer John Williams.
</n-drawer-content>

<n-drawer
v-model:show="active"
:default-width="30%"
:minimum-width="10%"
:placement="placement"
resizable

<n-drawer-content title="Stoner">
  Stoner is a 1965 novel by the American writer John Williams.
</n-drawer-content>

Found drawer-class and that seems to work for what I need.


⚠ Bofrost.at has degraded performance

In 70aee65, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2923 ms

Resolved: Bofrost.at performance has improved in b69b248 after 20 minutes.


Adds Documentation to Wiki

Critical Changes
Uploads package documentation to reside in the wiki including the install guides.

@jlantz @judisohn, there is a glitch where the documentation wiki pages @emilymorse was uploading and the docs ended up in a forked repo.  I did a pull request, but it shows as the branch is out of date.
Any guidance on how Emily and I can get these in sync?  Thanks!


Fixed deprecation warnings for Django 1.10.

@bbusenius thanks for this PR. As you can see, the tests are failing. I think that's because we were still testing with old versions of Django when you submitted it. Could you please close this PR and re-open it, and we'll see if the tests pass now? Thanks!

Thanks! I reopened the pull request. I may have been overzealous with this one. This is pretty minor, so if it still fails we can certainly drop it for now and revisit it in the future.

OK, it failed again, so I'm going to close it.


bitnoi.se/react-scheduler

TypeError: Cannot read properties of null (reading 'useMemo') after implementing the demo code of the react scheduler

Hi,
please refer to issue #115


Crash when use skottie

Thanks for awesome library, i got crash when use skottie
import LottieAnimationFile from 'assets/lottie/loading.json';
import { Skottie } from 'react-native-skottie';

import React from 'react';

const Loading = () => {
  return (
    <Skottie
      source={LottieAnimationFile}
      style={{ width: 100, height: 100 }}
      autoPlay
      loop
    />
  );
};

export default Loading;

Version
"@shopify/react-native-skia": "^1.0.3",
"react-native-skottie": "^2.1.0",

@tanlucvo did you fixed the issue?
I am getting the crash with
@shopify/react-native-skia": "^0.1.233"
react-native-skottie: "^2.1.0"

nvm, its fixed replacing require with file string path

@tanlucvo did you fixed the issue? I am getting crash with @shopify/react-native-skia": "^1.0.3" react-native-skottie: "^2.1.0"

On IOS still working, but Android i got issue fatal error: 'ReactCommon/RuntimeExecutor.h' file not found

Got same error @tanlucvo

Which react native versions are you using? I think this issue appears with the latest version 0.73.X

Which react native versions are you using? I think this issue appears with the latest version 0.73.X

I using latest RN   "react-native": "0.73.6",

I got following logs when crash occurs in xcode
Installing JSI bindings for react-native-skottie...
Successfully installed JSI bindings for react-native-skottie!
Assertion failed: (_type == JsiWrapperValueType::Bool), function getAsBool, file JsiValueWrapper.h, line 95.

@tanlucvo did you fixed the issue? I am getting crash with @shopify/react-native-skia": "^1.0.3" react-native-skottie: "^2.1.0"

On IOS still working, but Android i got issue fatal error: 'ReactCommon/RuntimeExecutor.h' file not found

I am getting the same error when building for Android - running on an M1 MacBook Pro if that is relevant. I've tried running ./gradlew clean and cleaning up node_modules + reinstalling the packages.
Relevant package versions:

"react-native-skottie": "2.0.4" / "react-native-skottie": "2.1.0" (tried with both)
"react-native": "0.72.6"
"@shopify/react-native-skia": "1.0.4"

Error log:
> Task :react-native-skottie:buildCMakeDebug[arm64-v8a] FAILED
C/C++: ninja: Entering directory `/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/android/.cxx/Debug/55h5d3s1/arm64-v8a'
C/C++: In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/android/cpp/jni/JniLoad.cpp:1:
C/C++: In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/android/cpp/jni/include/JniSkiaSkottieView.h:10:
C/C++: In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/android/build/headers/rnskia/JniSkiaBaseView.h:10:
C/C++: In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/android/build/headers/rnskia/JniSkiaManager.h:8:
C/C++: /Users/<REDACTED>/.gradle/caches/transforms-3/5c9dce5e4efb5da58fd43ed81254dd1e/transformed/jetified-react-android-0.72.6-debug/prefab/modules/react_nativemodule_core/include/react/jni/JRuntimeExecutor.h:10:10: fatal error: 'ReactCommon/RuntimeExecutor.h' file not found
C/C++: In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/cpp/react-native-skia-skottie.cpp:2:
C/C++: In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/android/../cpp/JsiSkSkottie.h:5:
C/C++: In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/api/JsiSkCanvas.h:9:
C/C++: In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/api/JsiSkImage.h:9:
C/C++: /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/api/JsiSkMatrix.h:130:21: warning: 'RNSkia::JsiSkMatrix::get' hides overloaded virtual function [-Woverloaded-virtual]
C/C++: /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/jsi/JsiHostObject.h:153:14: note: hidden overloaded virtual function 'RNJsi::JsiHostObject::get' declared here: different number of parameters (2 vs 4)
C/C++: In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/cpp/react-native-skia-skottie.cpp:2:
C/C++: In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/android/../cpp/JsiSkSkottie.h:5:
C/C++: In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/api/JsiSkCanvas.h:9:
C/C++: /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/api/JsiSkImage.h:180:12: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
C/C++: /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/api/JsiSkImage.h:180:12: note: remove std::move call here
C/C++: In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/cpp/react-native-skia-skottie.cpp:2:
C/C++: In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/android/../cpp/JsiSkSkottie.h:5:
C/C++: In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/api/JsiSkCanvas.h:17:
C/C++: /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/api/JsiSkRSXform.h:43:21: warning: 'RNSkia::JsiSkRSXform::set' hides overloaded virtual function [-Woverloaded-virtual]
C/C++: /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/jsi/JsiHostObject.h:143:8: note: hidden overloaded virtual function 'RNJsi::JsiHostObject::set' declared here: different number of parameters (3 vs 4)
C/C++: In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/cpp/react-native-skia-skottie.cpp:1:
C/C++: /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/android/../cpp/react-native-skia-skottie.h:20:17: warning: private field '_jsRuntime' is not used [-Wunused-private-field]

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/8.0.1/userguide/command_line_interface.html#sec:command_line_warnings
947 actionable tasks: 941 executed, 6 up-to-date

info 💡 Tip: Make sure that you have set up your development environment correctly, by running react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor

Note<EMAIL_ADDRESS>uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note<EMAIL_ADDRESS>uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note<EMAIL_ADDRESS>uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note<EMAIL_ADDRESS>uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note<EMAIL_ADDRESS>uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-svg/android/src/main/java/com/horcrux/svg/VirtualView.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-video/android/src/main/java/com/brentvatne/react/ReactVideoViewManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note<EMAIL_ADDRESS>uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note<EMAIL_ADDRESS>uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/node_modules/.pnpm/expo-secure-store<EMAIL_ADDRESS>uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-skottie:buildCMakeDebug[arm64-v8a]'.
> com.android.ide.common.process.ProcessException: ninja: Entering directory `/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/android/.cxx/Debug/55h5d3s1/arm64-v8a'
  [1/5] Building CXX object CMakeFiles/react-native-skottie.dir/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/cpp/RNSkTime.cpp.o
  [2/5] Building CXX object CMakeFiles/react-native-skottie.dir/cpp-adapter.cpp.o
  [3/5] Building CXX object CMakeFiles/react-native-skottie.dir/cpp/jni/JniLoad.cpp.o
  FAILED: CMakeFiles/react-native-skottie.dir/cpp/jni/JniLoad.cpp.o
  /Users/<REDACTED>/Library/Android/sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android26 --sysroot=/Users/<REDACTED>/Library/Android/sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dreact_native_skottie_EXPORTS -I/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/android/../cpp -I/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/android/cpp/jni/include -I/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native/ReactCommon/callinvoker -I/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native/ReactCommon/jsi -I/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native/ReactCommon -I/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native/ReactCommon/react/nativemodule/core -I/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/turbomodule/core/jni -I/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/rnskia -I/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/skia/include/config -I/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/skia/include/core -I/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/skia/include/effects -I/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/skia/include/utils -I/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/skia/include/pathops -I/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/skia/modules -I/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/skia/modules/skparagraph/include -I/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/skia/include -I/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/skia -I/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/api -I/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/jsi -I/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/rnskia/values -I/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/rnskia/dom -I/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/rnskia/dom/base -I/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/rnskia/dom/nodes -I/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/rnskia/dom/props -I/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/utils -isystem /Users/<REDACTED>/.gradle/caches/transforms-3/b1b4a35365af2686094eaa92a126fbd5/transformed/jetified-fbjni-0.3.0/prefab/modules/fbjni/include -isystem /Users/<REDACTED>/.gradle/caches/transforms-3/5c9dce5e4efb5da58fd43ed81254dd1e/transformed/jetified-react-android-0.72.6-debug/prefab/modules/react_nativemodule_core/include -isystem /Users/<REDACTED>/.gradle/caches/transforms-3/5c9dce5e4efb5da58fd43ed81254dd1e/transformed/jetified-react-android-0.72.6-debug/prefab/modules/jsi/include -isystem /Users/<REDACTED>/.gradle/caches/transforms-3/5c9dce5e4efb5da58fd43ed81254dd1e/transformed/jetified-react-android-0.72.6-debug/prefab/modules/turbomodulejsijni/include -isystem /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/android/build/headers/rnskia -O2 -frtti -fexceptions -Wall -Wno-unused-variable -fstack-protector-all -g  -fno-limit-debug-info -fPIC -std=gnu++17 -MD -MT CMakeFiles/react-native-skottie.dir/cpp/jni/JniLoad.cpp.o -MF CMakeFiles/react-native-skottie.dir/cpp/jni/JniLoad.cpp.o.d -o CMakeFiles/react-native-skottie.dir/cpp/jni/JniLoad.cpp.o -c /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/android/cpp/jni/JniLoad.cpp
  In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/android/cpp/jni/JniLoad.cpp:1:
  In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/android/cpp/jni/include/JniSkiaSkottieView.h:10:
  In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/android/build/headers/rnskia/JniSkiaBaseView.h:10:
  In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/android/build/headers/rnskia/JniSkiaManager.h:8:
  /Users/<REDACTED>/.gradle/caches/transforms-3/5c9dce5e4efb5da58fd43ed81254dd1e/transformed/jetified-react-android-0.72.6-debug/prefab/modules/react_nativemodule_core/include/react/jni/JRuntimeExecutor.h:10:10: fatal error: 'ReactCommon/RuntimeExecutor.h' file not found
  #include <ReactCommon/RuntimeExecutor.h>
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1 error generated.
  [4/5] Building CXX object CMakeFiles/react-native-skottie.dir/Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/cpp/react-native-skia-skottie.cpp.o
  In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/cpp/react-native-skia-skottie.cpp:2:
  In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/android/../cpp/JsiSkSkottie.h:5:
  In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/api/JsiSkCanvas.h:9:
  In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/api/JsiSkImage.h:9:
  /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/api/JsiSkMatrix.h:130:21: warning: 'RNSkia::JsiSkMatrix::get' hides overloaded virtual function [-Woverloaded-virtual]
    JSI_HOST_FUNCTION(get) {
                      ^
  /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/jsi/JsiHostObject.h:153:14: note: hidden overloaded virtual function 'RNJsi::JsiHostObject::get' declared here: different number of parameters (2 vs 4)
    jsi::Value get(jsi::Runtime &runtime, const jsi::PropNameID &name) override;
               ^
  In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/cpp/react-native-skia-skottie.cpp:2:
  In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/android/../cpp/JsiSkSkottie.h:5:
  In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/api/JsiSkCanvas.h:9:
  /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/api/JsiSkImage.h:180:12: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
      return std::move(dest);
             ^
  /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/api/JsiSkImage.h:180:12: note: remove std::move call here
      return std::move(dest);
             ^~~~~~~~~~    ~
  In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/cpp/react-native-skia-skottie.cpp:2:
  In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/android/../cpp/JsiSkSkottie.h:5:
  In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/api/JsiSkCanvas.h:17:
  /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/api/JsiSkRSXform.h:43:21: warning: 'RNSkia::JsiSkRSXform::set' hides overloaded virtual function [-Woverloaded-virtual]
    JSI_HOST_FUNCTION(set) {
                      ^
  /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/@shopify/react-native-skia/cpp/jsi/JsiHostObject.h:143:8: note: hidden overloaded virtual function 'RNJsi::JsiHostObject::set' declared here: different number of parameters (3 vs 4)
    void set(jsi::Runtime &rt, const jsi::PropNameID &name,
         ^
  In file included from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/cpp/react-native-skia-skottie.cpp:1:
  /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/android/../cpp/react-native-skia-skottie.h:20:17: warning: private field '_jsRuntime' is not used [-Wunused-private-field]
    jsi::Runtime* _jsRuntime;
                  ^
  4 warnings generated.
  ninja: build stopped: subcommand failed.

  C++ build system [build] failed while executing:
      /Users/<REDACTED>/Library/Android/sdk/cmake/3.22.1/bin/ninja \
        -C \
        /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/android/.cxx/Debug/55h5d3s1/arm64-v8a \
        react-native-skottie
    from /Users/<REDACTED>/Projects/<REDACTED>/<REDACTED>/<REDACTED>/apps/lake/node_modules/react-native-skottie/android

Let me know if you need additional info.

any solution?
    "react-native": "0.73.6",
    "react-native-skottie": "^2.1.0",
    "@shopify/react-native-skia": "^1.0.4",

got same error  @mkyukov
"react-native-skottie": "2.1.0"
"react-native": "0.72.3"
"@shopify/react-native-skia": "^1.0.4"

Should be fixed in version https://github.com/margelo/react-native-skottie/releases/tag/v2.1.1


avoid separation of eval_error and error

In Oloop, we factor out eval_error from error purely because with sexp doesn't work on exn. Is there really no workaround? How come it is possible to convert exn to and from Error.t, and Error.t supports sexp?

One possibility would be to consider that  `Internal_error is actually an error that the user should not handle (at least not locally, he probably wants to propagate it for some time) and thus that it should be converted to Error.t.  If an exception is meant to be handled, it should be added to invalid_phrase.

I think it's better to leave it explicit.

If an exception is meant to be handled, it should be added to invalid_phrase.

Yes, but how? Isn't that the problem, that we cannot include exceptions within invalid_phrase because they are not sexp-able.

On Tue, 14 Apr 2015 12:46:36 -0700, Ashish Agarwal wrote:

I think it's better to leave it explicit.
| If an exception is meant to be handled, it should be added to invalid_phrase.
Yes, but how? Isn't that the problem, that we cannot include exceptions within invalid_phrase because they are not sexp-able.

Like the previous ones: oloop-top transforms the exception into a polymorphic variant.

So we'd still have the catch-all `Internal_error, which we can't make sexp-able? Sure, then we can always add specific additional errors when desired.

If you list every compiler error, you can make it sexp-able.  If you miss one, the oloop-top program will stop (or be taught to ignore/log it).  None of this is very satisfactory.


Fix iOSErrorCode type in d.ts file

Purpose
Fix iosErrorCode type.
Change it from BleATTErrorCode to BleIOSErrorCode.
Implementation seems to use BleIOSErrorCode.
See implementation at https://github.com/Polidea/react-native-ble-plx/blob/1c3ceca0166a810286d035ec782586924310f966/src/BleError.js#L36

@mciechanowicz, it looks like the project is linked to the wrong Travis project.
Do you know how we could get this PR in please?


Possible to specify recurring payment plan_id with checkout window?

I'm using the v3 vault flow to authorize a payment for a subscription. However, I'm not able to find any documentation on whether it's possible to show the user what they will be paying and the payment frequency. Instead it shows only:

Is it possible to display payment amount + frequency for recurring payment plans?

 but this is not the case. After I hit Agree & Continue, the window closes and I receive a payment nonce and charge the user.

There isn't a way to display the amount with the vault flow via the PayPal Billing Agreement API. This is because with Billing Agreements, the merchant is in full control of when to bill and for how much. It's not actually a recurring system, and legally, PayPal needs to inform the customer that they are giving the permissions for the merchant to charge at any time.
So even if the payment method is used within a recurring billing system, the way PayPal's API works, there's no way to specify that.
The text about You’ll be able to review your order before you complete your purchase. does seem like a mistake. The team that handles the login flow is here: https://github.com/paypal/paypal-checkout/issues
Feel free to open up an issue with them so they can investigate/update the text.

Ok, will take it up with them. But just to make sure, when you say the merchant is in full control, PayPal will still handle recurring payments automatically, right? I'm talking about creating a subscription like this:
sub_result = Braintree::Subscription.create(
  :payment_method_token => token,
  :plan_id => "monthly"
)

I don't have to charge this user after a month, PayPal will do it for me, right?

^ That is through Braintree's recurring billing system. Braintree is using PayPal's Billing Agreements API to facilitate it.
So yes, the Braintree subscription will charge the customer's PayPal account on a recurring basis.


Tailwind css + React.js: tailwind config doesn't include the template paths in content

When we create an SPA with react and tailwind enabled, following is the tailwind.config.ts file being created.
/** @type {import('tailwindcss').Config} */
export default {
  content: [],
  theme: {
    extend: {},
  },
  plugins: [],
}

Note that the content is an empty array. But it should be:
/** @type {import('tailwindcss').Config} */
export default {
  content: [
    "./src/**/*.{js,jsx,ts,tsx}"
  ],
  theme: {
    extend: {},
  },
  plugins: [],
}

Note the "./src/**/*.{js,jsx,ts,tsx}" content (template paths)

Hey! Feel free to raise a PR or I will fix it soon.

Looks like the default config generated by tailwindCSS CLI is being used. I don't know what would be the right approach here, any thoughts @nikkothari22 ?

@NagariaHussain I see. My experience is that, until I add the above into the content, CSS didn't get applied. May be we can mention that in the readme?

👍 Yeah, until we have better way, let's add it to README.


Upgrade to most recent integritee-node

To start with the most recent changes of integritee-node I suggest to upgrade the node as well the the current integritee-node

Relativating this one: Upgrade to the most recent integritee-node that works with the current worker


Added callout for managers of commercial apps

What does this PR do?
Adds a callout at the end for anyone using Traefik to manage commercial applications who might need more advanced networking and security functionality.
Motivation
Provides a path for users who need additional functionality beyond what Proxy and Hub offer.
More

[x] Added/updated documentation

Additional Notes
Slack me if you have any questions or comments.

I realize this is on v2.7. Let me know if I need to redo it.


Suggestion: SoundSetter Alias' for existing text commands

Is is possible to have as default or set as an option for the existing ingame chat volume commands such as /mastervolume, /bgm, /voice to also be toggle or set the value while in cut scenes or instances where chat is accessible but the command wont trigger?

Sorry for the late response, my webhook channel is getting a bit cluttered ^^
I'll look into it, overriding native commands is a bit more complicated than just adding new ones, but I'm pretty sure it can be done. At worst, I'll add new commands that function the same way.

Forgot about this, but https://github.com/karashiiro/SoundSetter/commit/96c001c9d2bd0d627986a47b872f3c2330161af9 goes part of the way towards resolving this.

With the addition of the mute/unmute subcommands, the plugin commands should now be sufficient replacements for the native commands.

With the addition of the mute/unmute subcommands, the plugin commands should now be sufficient replacements for the native commands.


fix camera dont go in the characters who sing

What feature do you want to get added on the base engine?
fix this camera

To test your sight, and reliability, please select the option of what should NOT be requested.
Stage Editor, 6K+ support, and winning icons.

i have a video https://youtu.be/YuIqLUkRTas

Camera focus is dependent on the chart, not the engine.
In the Chart Editor under the Section tab, enabling "Must Hit Section" will switch the camera over to Boyfriend's POV. This will swap the icons in the chart editor, but not the notes.
In order to swap the notes, click the Swap Section button under the same tab.

Camera focus is dependent on the chart, not the engine.
In the Chart Editor under the Section tab, enabling "Must Hit Section" will switch the camera over to Boyfriend's POV. This will swap the icons in the chart editor, but not the notes.
In order to swap the notes, click the Swap Section button under the same tab.

im gonna test

it work thanks


Team members are not showing accurately

According to
https://sourcerer.io/tydanielson
via feedback
projects say 1 or 2 team members but many of them have 10+

#194


Data file empty (UCDavis - Western USA - Monarch Butterflies - 1892-2005)

Hi there,
When I try to download the data as a DwC-A file on this page, I get an empty empty .zip file.
Where are the data?
https://bison.usgs.gov/ipt/resource?r=ucdavis_western_usa_monarchs
Thanks.
apdrp

The data are back! (I have no idea what might have caused this.)


Why does LoginView use the IsAuthenticated permission class?

Is there something I'm missing?

The LoginView returns a LoginToken for a user that has authenticated using another authentication scheme (e.g. HttpBasic or Digest). You cannot (and wouldn't want to) return a token to an unauthenticated user.
To be clear, these are views for a RESTful API, LoginView is the view you would post to from the login page of a Single Page Application or a mobile app. It is not a traditional Django view (where the meaning would be to present the login page)

@James1345 what is your recommended way to authenticate? I saw you note that Basic Auth is bad in issue #1. Is there anything bad about initially using Basic Auth over https to get the token?

Currently the recommendation would be to use BasicAuth over HTTPS yes. It is less problematic when only used once this way. The token views should also only be transfered via HTTPS.
Using them this way is more secure than BasicAuth alone (which has several issues). I'm working towards some more Authentication schemes that should be even more secure, but I'm also trying not to add complexity (as that's when people start making errors that compromise security). So it's taking a while.
The tokens as they stand were born out of a lack of security/functionality of the default tokenauth system.
Hope this makes sense :)

Thanks that does make sense. Do you do consulting? I'm building a new open source project that will have some special requirements regarding authentication. If so email me at david at burkesoftware.com if you're interested.


Statevector consistency check

RT now checks every child RTEs' assumption of source for elements, be it either from geom or x_RT, and verifies consistency with the config.forward_model.radiative_transfer.statevector
Closes #543

Thanks for the quick fix, @jammont! That should resolve the issue.

Awesome, thank you!


Send lots more to NewRelic DO NOT MERGE

DO NOT MERGE -- WIP

Whats the difference between dispatcher => true/false ?

@diclophis don't ask me why, but that's how you tell NewRelic that this method is the start of a new transaction (dispatcher=true) or just a method you want to trace (dispatcher=false)


Fixes for AM and enable AM tests that were previously skipped

Fix AM receive message cancelation in C++ implementation that requires a custom cancel() implementation, as well as log when allocator raised an exception and return UCXNoMemoryError to requests where allocation failed. Reimplement Python AM RMM allocator with a pure C++ function to prevent Cython from introducing Python exception handlers that should not occur in the allocators as the C++ backend should not require the GIL.
Enable AM tests that were previously skipped and update test_send_recv_two_workers to match AM implementation.

Thanks @wence- and @jameslamb !

/merge


Kubescape Scan doesn't work in Lens

Dear all，
I tested kubescape and it perform good! So I want to use the Lens to view several K8s cluster security report. But after I install lens-extension of kubescape，I click the Scan button and it doesn't work. It seemed that I met the similari problem as the https://github.com/kubescape/lens-extension/issues/3. Because I installed Lens in Windows enviroments , so I decided to open a new issue for it.

The relevant information is described as follows:
I installed the Lens in windows 10 and the Lens is downloaded from it's website(https://k8slens.dev/). Lens version is the as below. But I think its version is v6.x because when lauch it the icon show that(Lens 6).

I installed the K8s cluster in a centos (Centos 7)virtual machine and also installed the kubescape. The kubescape works correctly in CLI, just as below.

I followed the instruction to instll kubescape extension in Lens .But it doesn't automatically scan the k8s cluster and click the scan button doesn't work also.
I read the "black screen black screen  #3" and also tried to uninstall the kubescape extension and deleted the files in the dir(C:\Users\RKHD\AppData\Roaming\Lens\extension_data and C:\Users\RKHD\AppData\Roaming\Lens\extension-store@kubescape). Then I installed it again but the problem remains. After I click the Scan button I checked the dir(C:\Users\RKHD\AppData\Roaming\Lens\extension_data\756ffa6a545a062276ff3de6d165494b811044faef8558f25d1f71baab813d8f) and find it's blank. Just as blow.

Pls help me to find out the problem and thanks a lot!

I also uploaded the two json files in the dir(C:\Users\RKHD\AppData\Roaming\Lens\extension-store@kubescape\lens-extension), just as blow .I hope it will help.

https://github.com/kubescape/lens-extension/files/9876984/lens-extension.zip
I also check the two json files and find that the scanframework label is blank. Is it related to the problem? But I have downloaded the framwork manually just as below.

@yf-odyssey  The issue you are describing could be a result of large output; If that is the case, it's an open issue we would fix in the future.
To confirm, please advise what is the size of the output file when you run kubescape as follows:
kubescape scan --format json --format-version=v2 > output.json

@amirmalka I thought the Lens extension is running 'format-version=v1`

@yf-odyssey The issue you are describing could be a result of large output; If that is the case, it's an open issue we would fix in the future. To confirm, please advise what is the size of the output file when you run kubescape as follows: kubescape scan --format json --format-version=v2 > output.json

Dear Amir，
First thanks for your reply. I tried as you said and maybe the root cause is really related to the size of the output file. I run the command and find the output file is about 23.8M. The screenshot is as below.

@yf-odyssey  @dwertent Our of habit I wrote v2 - Lens extension still work v1.
Either way it satisfies the question as the v1 format could be around 3 times bigger.
As stated earlier, we hope to fix this soon - not just use the v2 format but also the way the extension reads the output, right now this is done from the standard output, which has its limits and not good enough.

Hi Amir, Thanks for your explanation. I hope this issue can be fixed ASAP. BTW,  I want to know if I install Lens in Mac or Linux and install the corresponding kubescape lens plugin, will the problem occurs?

@yf-odyssey Yes, the extension works the same across all operating systems.
rest assured it will be fixed soon.

@yf-odyssey Yes, the extension works the same across all operating systems. rest assured it will be fixed soon.

Ok, I got it. Thanks for your patient response. Then I'll wait the bug be fixed.


feat(ui): another go at gallery

feat(ui): migrate listImages to RTK query using createEntityAdapter

see comments in endpoints/images.ts for explanation of the caching
so far, only manually updating all images when new image is generated. no other manual cache updates are implemented, but will be needed.
fixed some weirdness with loading state components (like the spinners in gallery)
added useThumbnailFallback for IAIDndImage, this displays the tiny webp thumbnail while the full-size images load
comment out some old thunk related stuff in gallerySlice, which is no longer needed

So I think the plan is we have to just update the caches manually. Plan:

Updating caches

When we move images around, we need to check if the image's previous and new board_ids to determine which caches to update. Then check if the image's created_at is within the range represented in the cache, and if so, update the cache.
For removals, we just remove it from its previous board_id if it had one.
For multi-image operations, we do the same in a loop. We'll need the backend changes I started in https://github.com/invoke-ai/InvokeAI/compare/main...feat/ui/gallery-enhancements to determine which changes were successful.

Populating the getImageDTO

Whenever we get images with listImages we need to upsert all images into the getImageDTO cache. That way we only ever fetch an image's DTO once. Changes to images (eg board_id, is_intermediate) or deletions also need to update the cache.

Update all redux actions to use ImageDTO instead of image_name

I was trying to be efficient and just use image_name everywhere but that's not going to work. All image redux actions should just use the DTO by default, else we won't have access to board_id and created_at for the necessary cache updates described above.

I think this all makes a lot of sense in theory - I do think there will be ample opportunity to miss a spot going forward but at least the code where all of this happens is organized and pretty much in one spot. Maybe we can add some helpful info-level logging as the cached lists change, or make sure it shows up in redux dev tools (I've never checked to see if RTK cache updates register there)

@maryhipp
Ya there are a lot of edge cases, I've commented well, hopefully it all makes sense. There's an RTK Query tab in Redux Devtools (bottom middle). Shows everything related to RTK query - caches, request state, etc, very nice.

Just pushed the cache update logic for changing board for a single image. Working great.
Next step is to replace everything that uses the previous image store and set it up to work from the cache, do a bit of pressure testing.
Once this is done, I say we merge and get this into users' hands.
Then in future PRs:

Resume multi-select implementation
Add "no board" board
Add "batch" board

Weird thing I noticed - if you switch between Images and Assets tabs, the number on the All Boards "board" switches but none of the numbers on the boards themselves do. Should probably be consistent

Yeah good point, that's bc those figures on each board are the total number of images as reported by listAllBoards; we aren't filtering by category on that query.
We could grab the category-specific total from listImages instead of listAllBoards, bc the total in listImages reflects the current galleryView setting. But that means pre-emptively fetching the initial page of images for every combo of board and view.
I think the most efficient way is updating listAllBoards on the backend to report both images_total and assets_total.
Maybe this data is available elsewhere already

My timebox is at an end
(1) pushed up changes for AddImageToBoard modal
(2) small bug where sometimes no image is selected and context menu for multiselect appeared
(3) assets are now working - the list cache updates when you upload via dnd or upload button, and board list cache updates (and add to board network call fires) if user drags into a board's assets list. Not sure if we want an upload to go into a board if a board is selected and they use upload icon 🤷

feat(ui): migrate image uploads to RTK Query

minor refactor of ImageUploader and useImageUploadButton hooks, simplify some logic
style filesystem upload overlay to match existing UI
replace all old imageUploaded thunks with uploadImage RTK Query calls, update associated logic including canvas related uploads
simplify PostUploadActions that only need to display user input

feat(ui): remove receivedPageOfImages thunks
feat(ui): remove receivedImageUrls thunk
feat(ui): finish removing all images thunks
stuff now broken:

image usage
delete board images
on first load, no image selected

very close to having the gallery back up and running, but not quite there yet...

a few more fixes:

added delete board modal loading state (for when loading the potentially large list of images)
use thumbnails for board cover images
fix(ui): fix race condition with board selection

when selecting a board that doesn't have any images loaded, we need to wait until the images haveloaded before selecting the first image.
this logic is debounced to ~1000ms.


Progress reporting enhancements

Fixes #3
Proposing enhancements in MTC progress reporting

@pranavgaikwad can you add Jeff as a reviewer in the enhancement?

status:
   phaseStatuses:
   - name: "FOO"
     startTime: "today 4pm"
     lastUpdateTime: "today 6pm"
     progress: "8/10 completed, working on 9th"

I wonder if adding a new status field phaseStatuses instead of reusing the conditions makes sense. This would serve multiple objectives:

a good place to update progress
a place to record the start time and update time for each phase status. This will help in bubbling up phases that take longer than expected. Since we have update time, what we are reporting in progress is tied to a time, so technically we are as accurate as we can be
ordered list of phaseStatuses will allow us to retain the information even after migrations for retrospecting. This will make the migmigration yaml larger but all the information is useful in debugging

@pranavgaikwad  would you prefer to leave this open as a living doc until we have finalized changes, or should we merge as implementable?

@pranavgaikwad would you prefer to leave this open as a living doc until we have finalized changes, or should we merge as implementable?

I am just addressing Alay's feedback of having a structured progress field instead of strings. I would like to get that in probably tomorrow and then the PR would be good to merge.

Merging as implementable, @pranavgaikwad is planning to make another pass to reconcile this with whatever drift occurred during the actual implementation process.


Nested query example?

While reading the README, I didn't see a nested query example in the Ruby DSL.
I'm trying to do the query below in Ruby DSL.
GET /hosts/host/_search
{
  "query": {
    "nested": {
      "path": "rooms",
      "query": {
        "term": {
          "capacity": {
            "value": 2
          }
        }
      }
    }
  }
}

You are able to do it as is:
MyIndex.query("nested": {
      "path": "rooms",
      "query": {
        "term": {
          "capacity": {
            "value": 2
          }
        }
      }
    })

@pyromaniac am I missing something? Here's the value of a doc in my index:
     {
        "_index" : "dev_songs",
        "_type" : "song",
        "_id" : "3",
        "_score" : 1.0,
        "_source" : {
          "title" : "Song 2",
          "artists" : [
            {
              "name" : "Artist 2"
            }
          ],
          "taggable_tags" : [
            {
              "tag_id" : 111,
              "likeness_rank" : 1
            },
            {
              "tag_id" : 108,
              "likeness_rank" : 1
            },
            {
              "tag_id" : 40,
              "likeness_rank" : 1
            },
            {
              "tag_id" : 23,
              "likeness_rank" : 2
            },
            {
              "tag_id" : 94,
              "likeness_rank" : 2
            },
            {
              "tag_id" : 76,
              "likeness_rank" : 3
            },
            {
              "tag_id" : 93,
              "likeness_rank" : 4
            },
            {
              "tag_id" : 96,
              "likeness_rank" : 5
            },
            {
              "tag_id" : 74,
              "likeness_rank" : 6
            }
          ]
        }

And here's my query:
SongsIndex.query(
  nested: {
    path: "artists",
    query: {
      term: {
        name: {
          value: "Artist 2"
        }
      }
    }
  }
).load.first

Results in:
  SongsIndex Search (78.1ms) {:body=>{:query=>{:nested=>{:path=>"artists", :query=>{:term=>{:name=>{:value=>"A"}}}}}}, :index=>["dev_songs"], :type=>[]}
 => nil

This DOES work with this though:
SongsIndex.query(
  nested: {
    path: "artists",
    query: {
      match: {
        "artists.name": "Artist 2"
      }
    }
  }
).load

Returns:
 SongsIndex Search (328.9ms) {:body=>{:query=>{:nested=>{:path=>"artists", :query=>{:match=>{:"artists.name"=>"Artist 2"}}}}}, :index=>["dev_songs"], :type=>[]}
  Song Load (1.3ms)  SELECT "songs".* FROM "songs" WHERE "songs"."id" IN (3, 7, 13, 16, 18, 28, 39, 46, 49, 66)
 => #<Song id: 3, title: "Song 2", description: nil, bpm: nil, isrc: nil, key: "Bb/A# Major", has_vocals: false, lyrics: nil, release_date: nil, created_at: "2017-05-23 17:58:47", updated_at: "2017-05-23 17:58:47", tagging_completed: false, licensable: true, notes: nil, archived_at: nil, staff_pick: false, state: "approved", uploader_id: nil, archived: false>

Why is that??

That's because your name field is analyzed, so it is not stored as Artist 2, it is stored as Artist and 2, so term query can't match it.


Is there any guidance on how k6 works with complex AVRO schemas?

The moment you try and process anything other than strings, and start dealing with floats, dates and arrays, there seems to be great difficulty handling this
Ive seen the example script for string based avro schemas, but are there any more complex examples?

Hey @DonIsiko,
Please see FAQ No. 12 on README.


Allow list renamed kube scheduler metrics

How to categorize this PR?

/area monitoring
/kind enhancement
What this PR does / why we need it:
The name of the kube scheduler metrics changed. This PR adjusts the allow list and recording rules accordingly.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
/cc @dguendisch
Release note:

Fix kube scheduler metrics collection

/lgtm


Kanban board setup

https://github.com/Rafiduzzaman/Capstone-Project-Module2/projects/1
##There are 3 students working on this project.

Hi @Rafiduzzaman, @jcmunav63 and @CobbyElsonfx 👏 👏,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Highlights
Set up Kanban board ✔
Assigned tasks to the group members correctly ✔
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Rewrite debug_commands_setup

The original implementation is a mess and seemingly breaks with -O3. Guess it's time for a rewrite!

Turns out it's not breaking with -O3, but rather it's because of the 64Drive poll time. I attempted to rewrite the code today but I gave up because I was overengineering it. I think that I should just improve the documentation on the current implementation (for instance, getting rid of the ugly static values and replace them with enums so it's easier to tell what's going on).


non existent error informatoin

On creating power platform billing policy, i got the error "The template deployment failed because of policy violation. Please see details for more information.Learn more."
The Learn more brought me to this page, with no information regarding the error.
The power platform gives no further information regarding the error.
Basically means there is no information on the error in the product or support documentation.
Difficult to use a platform when it throws undocumented, under detailed errors.

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

ID: b25f0bcd-1d16-b206-cab7-d3cc190150b6
Version Independent ID: b25f0bcd-1d16-b206-cab7-d3cc190150b6
Content: Pay-as-you-go plan overview - Power Platform
Content Source: power-platform/admin/pay-as-you-go-overview.md
Service: power-platform
Sub-service: admin
GitHub Login: @Kavishi
Microsoft Alias: kaagar

Thanks for your comment, @FintanGuihen. This issue has been assigned to the doc author for review.


Change "update_cache" to "update"

Use a better action name for the github webhook endpoint. (NOTE: This change will break any existing webhooks, please update your Payload URL to https://YOUR-DOMAIN.COM/api/v1/pull_requests/update)

let's assume we don't break anything yet because it's a brand new project - next time we would have to make such a change in a more gentle way:)
I think it would be better to call this endpoint DOMAIN.COM/hooks/github/ and do something similar with /hooks/slack - I'm just not sure if there is a need for a versioning of webhooks. why? let's take a few examples:

https://circleci.com/hooks/github
https://hooks.slack.com/services/ID
https://codeclimate.com/webhooks
https://houndci.com/builds
https://codecov.io/webhooks/github

what do you think? should we go with the mainstream here?

I'd be very glad to change the endpoints. I didn't like the /pull_requests/ part at all, but since it was a remnant of the old code base, I was somehow reluctant to rewrite it from scratch. Not so sure about the versioning here, but I guess if the big players don't use it, it's probably not really necessary.


Can you provide an IOS demo? Thank you

Sure. I will search here and will add on project.

@larryluo1212 the sample is on master and documented for iOS/macOS on docs


Bump Apache.Avro from 1.10.1 to 1.10.2

Fixes #1398

It looks like @timtebeek hasn't signed our Contributor License Agreement, yet.

The purpose of a CLA is to ensure that the guardian of a project's outputs has the necessary ownership or grants of rights over all contributions to allow them to distribute under the chosen licence.
Wikipedia

You can read and sign our full Contributor License Agreement here.
Once you've signed reply with [clabot:check] to prove it.
Appreciation of efforts,
clabot

[clabot:check]

@confluentinc It looks like @timtebeek just signed our Contributor License Agreement. :+1:
Always at your service,
clabot

Awesome, thanks a lot!


.osx: Explicit the need for sudo in order to kill mds processes

Please refer to commit message for details.

Close as conflicting. Equivalent mergeable PR #795 exists.


Trialpushbranch

Changelogs

enumerate the changes of that PR.

Checklist:

[ ] Was this PR discussed in an issue? It is recommended to first discuss a new feature into a GitHub issue before opening a PR.
[ ] Add tests to cover the fixed bug(s) or the new introduced feature(s) (if appropriate).
[ ] Update the API documentation is a new function is added, or an existing one is deleted.
[ ] Write concise and explanatory changelogs above.
[ ] If possible, assign one of the following labels to the PR: feature, fix or test (or ask a maintainer to do it for you).

discussion related to that PR

@kerstink-GC - missed this when demoing, could you do a lint on these changes and add a new PR please! Sorry about that.


remove missing LF

see https://github.com/helm/charts/pull/10857

Could you please add a DCO signoff to all your commits by running:
git rebase --signoff master

You'll also need to regenerate the static deployment manifests using:
bazel run //hack:update-deploy-gen

and then commit this changes with the --signoff flag too: git commit --signoff -m "Update deployment manifests"
Thanks 😄

$ bazel run //hack:update-deploy-gen
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
DEBUG: Rule 'io_bazel_rules_docker' indicated that a canonical reproducible form can be obtained by modifying arguments commit = "3732c9d05315bef6a3dbd195c545d6fea3b86880", shallow_since = "1547471117 +0100" and dropping ["tag"]
DEBUG: Rule 'build_bazel_rules_nodejs' indicated that a canonical reproducible form can be obtained by modifying arguments commit = "70406e05de721520ca568a17186de73e972d7651", shallow_since = "1551145517 -0800" and dropping ["tag"]
DEBUG: /home/marc/.cache/bazel/_bazel_marc/f3ea4f938d52dc35834c68b348aeb2e8/external/build_bazel_rules_nodejs/package.bzl:52:5: DEPRECATION WARNING:
    rules_nodejs_dependencies is no longer needed, and will be removed in a future release.
    Simply remove any calls to this function and the corresponding call to
      load("@build_bazel_rules_nodejs//:package.bzl", "rules_nodejs_dependencies")

INFO: Analysed target //hack:update-deploy-gen (20 packages loaded, 173 targets configured).
INFO: Found 1 target...
Target //hack:update-deploy-gen up-to-date:
  bazel-bin/hack/update-deploy-gen
INFO: Elapsed time: 55.841s, Critical Path: 0.21s
INFO: 1 process: 1 linux-sandbox.
INFO: Build completed successfully, 5 total actions
INFO: Build completed successfully, 5 total actions
Creating /tmp/tmp.3fC37KduZI/repository
Creating /tmp/tmp.3fC37KduZI/repository/cache
Creating /tmp/tmp.3fC37KduZI/repository/local
Creating /tmp/tmp.3fC37KduZI/plugins
Creating /tmp/tmp.3fC37KduZI/starters
Creating /tmp/tmp.3fC37KduZI/cache/archive
Creating /tmp/tmp.3fC37KduZI/repository/repositories.yaml
Adding stable repo with URL: https://kubernetes-charts.storage.googleapis.com
Adding local repo with URL: http://<IP_ADDRESS>:8879/charts
$HELM_HOME has been configured at /tmp/tmp.3fC37KduZI.
Not installing Tiller due to 'client-only' flag having been set
Happy Helming!
Hang tight while we grab the latest from your chart repositories...
...Unable to get an update from the "local" chart repository (http://<IP_ADDRESS>:8879/charts):
        Get http://<IP_ADDRESS>:8879/charts/index.yaml: dial tcp <IP_ADDRESS>:8879: connect: connection refused
...Successfully got an update from the "stable" chart repository
Update Complete. ⎈Happy Helming!⎈
Saving 2 charts
Save error occurred:  can't get a valid version for dependency webhook
Deleting newly downloaded charts, restoring pre-update state
Error: can't get a valid version for dependency webhook

... don't think I will spend more time for that for adding some missing -s . Maybe you could add them?

Closing this PR in favour of #1624


Artifact removal

According to paper, they had implemented two kinds of artifact removal techniques.

Similar color distribution
Compensate with original image's residual

Any plans to implement this feature?

Hi.
I implemented both artifact removal techniques.
Regarding using image's residual, well reconstruction of original image has little distortion and its residual doesn't work, so I used residual of incompletely reconstructed image that has some distortion.