ZEVA - Reassessment Credit Reduction

Title: Reassessment Credit Reduction
Blocked by card 1821
Description: When the director issues a reassessment (which could have originated as a supplementary report or government reassessment), the original transaction needs to be updated to alter the new credit reduction amounts. This can result in either an increase or decrease of the credits held in the suppliers balance.
Task is to make the credit adjustment to the supplier balance as necessary and to show the new reduction amounts on the credit transaction pages (both bceid and idir versions), see wireframe below, NOTE: this is a redesign of the transaction page that is still in progress (card 1821)
The transactions appear as : YYYY Model Year Report Credit Reduction
The transaction date should not change, it should remain as Sept 30, YYYY
The transaction ID number should also not change
Just the credit amounts change
Wireframe: https://preview.uxpin.com/4946124c44da522837a3b54ccb7b5243fa384039#/pages/163585536/simulate/no-panels?mode=mf
Purpose and benefit to user: The vehicle supplier credit balance will be updated accordingly and it will be reflected properly on the credit transaction pages.
Acceptance Criteria:

[ ] Given I am a idir\director, When I am issue a reassessment, then the suppliers credit balance is updated accordingly and it will be reflected properly on the credit transaction pages.

Development Checklist:

[ ] When a reassessment occurs that changes the credit balance, update the credit values of the transaction in the database.
[ ] Verify nothing else about the aforementioned transaction changes other than the credits.
[ ] Verify the updated balance is then properly calculated/updated everywhere.

Notes:

When the credit transaction credits values are updated, please check that the supplier overall balance updates. The assumption here is that the supplier balance is calculated by aggregating all transactions.

Please add your planning poker estimate with Zenhub @tim738745

Hey team! Please add your planning poker estimate with Zenhub @AlexZorkin @tim738745

Testing this on dev I experienced a problem - see attached screeenshot where the credit reduction is not correctly updated with the reassessment values.

Closing as the the scope of this card is completed. There is an issue with the link from the transactions page pointing to the wrong reassessment that may need a new card. There is also an issue with the history component missing the full history and other known issues that still require follow-up.


Ability to disable queue awaiting

Codecov Report

Merging #136 into master will decrease coverage by 0.35%.
The diff coverage is 68.75%.

@@            Coverage Diff             @@
##           master     #136      +/-   ##
==========================================
- Coverage   75.88%   75.52%   -0.36%
==========================================
  Files           5        5
  Lines         506      519      +13
==========================================
+ Hits          384      392       +8
- Misses        107      112       +5
  Partials       15       15

Flag
Coverage Δ

#unittests
75.52% <68.75%> (-0.36%)
:arrow_down:

Impacted Files
Coverage Δ

main.go
63.77% <100%> (+0.28%)
:arrow_up:

protect/queue.go
82% <61.53%> (-7.48%)
:arrow_down:

Continue to review full report at Codecov.

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


Show black screen for first time run camera

Describe the bug
Show black screen for first time run camera
Smartphone (please complete the following information):

Device: All device
OS: Android

Additional context
Add any other context about the problem here.

+1

Any updated on this?

ymmv but I was able to work around this with something like
const hasAndroidCameraPermission = async () => {
  const cameraPermission = await request(PERMISSIONS.ANDROID.CAMERA)
  return cameraPermission !== RESULTS.BLOCKED && cameraPermission !== RESULTS.DENIED
}

export const QRCodeScanner = (props) => {
  const [shouldLoad, setShouldLoad] = useState<boolean>(false)

  useEffect(() => {
    ;(async () => {
      setShouldLoad(Platform.OS !== "android" || (await hasAndroidCameraPermission()))
    })()
  }, [])

  if (!shouldLoad) {
    return <></>
  }
  return (
    <CameraScreen {...props} hideControls scanBarcode showFrame={false} />
  )
}

ymmv but I was able to work around this with something like
const hasAndroidCameraPermission = async () => {
  const cameraPermission = await request(PERMISSIONS.ANDROID.CAMERA)
  return cameraPermission !== RESULTS.BLOCKED && cameraPermission !== RESULTS.DENIED
}

export const QRCodeScanner = (props) => {
  const [shouldLoad, setShouldLoad] = useState<boolean>(false)

  useEffect(() => {
    ;(async () => {
      setShouldLoad(Platform.OS !== "android" || (await hasAndroidCameraPermission()))
    })()
  }, [])

  if (!shouldLoad) {
    return <></>
  }
  return (
    <CameraScreen {...props} hideControls scanBarcode showFrame={false} />
  )
}

@arirusso I think you can probably return null instead.
return shouldLoad ? <CameraScreen {...props} hideControls scanBarcode showFrame={false} /> : null

CameraScreen component will be removed in v14.
The black screen is usually caused by not checking permissions prior to showing the camera component. We recommend using https://github.com/zoontek/react-native-permissions to check - it's an excellent library, and permissions are surprisingly complicated to manage.


add delete migration method in migration list and details pages

Adding delete migration context menu in migrations list

Adding delete migration button to migration details

Fix bug with account.isStale property, adding wrapper method to evaluate

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 41.96%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
28807

Relevant Lines:
63747

💛  - Coveralls


Ruby 2.5.0-preview1 fails to build on macOS 10.13 High Sierra

$ xcode-select -p

/Applications/Xcode.app/Contents/Developer

$ gcc -v

Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.0.0 (clang-900.0.37)
Target: x86_64-apple-darwin17.0.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

$ rbenv install 2.5.0-preview1

Downloading openssl-1.1.0f.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/12f746f3f2493b2f39da7ecf63d7ee19c6ac9ec6a4fcd8c229da8a522cb12765
Installing openssl-1.1.0f...
Installed openssl-1.1.0f to /Users/username/.rbenv/versions/2.5.0-preview1

Downloading ruby-2.5.0-preview1.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.0-preview1.tar.bz2
Installing ruby-2.5.0-preview1...

BUILD FAILED (OS X 10.13 using ruby-build 20170914-5-gf41e847)

Inspect or clean up the working tree at /var/folders/k0/txdvcgj145v2d3lb358bnkkr0000gn/T/ruby-build.20171013221528.17242
Results logged to /var/folders/k0/txdvcgj145v2d3lb358bnkkr0000gn/T/ruby-build.20171013221528.17242.log

Last 10 log lines:
    X509_REQ_get0_signature(req, NULL, &alg);
    ^
5 warnings generated.
4 warnings generated.
1 warning generated.
8 warnings generated.
make[1]: *** [ext/openssl/all] Error 2
make[1]: *** Waiting for unfinished jobs....
linking shared-object ripper.bundle
make: *** [build-ext] Error 2

ossl_x509cert.c:87:5: warning: implicit declaration of function 'X509_up_ref' is invalid in C99 [-Wimplicit-function-declaration]
    X509_up_ref(x509);
    ^
ossl_x509cert.c:334:31: warning: implicit declaration of function 'X509_get0_tbs_sigalg' is invalid in C99 [-Wimplicit-function-declaration]
    if (!i2a_ASN1_OBJECT(out, X509_get0_tbs_sigalg(x509)->algorithm)) {
                              ^
ossl_x509cert.c:334:59: error: member reference type 'int' is not a pointer
    if (!i2a_ASN1_OBJECT(out, X509_get0_tbs_sigalg(x509)->algorithm)) {
                              ~~~~~~~~~~~~~~~~~~~~~~~~~~  ^
ossl_x509cert.c:424:22: warning: implicit declaration of function 'X509_get0_notBefore' is invalid in C99 [-Wimplicit-function-declaration]
    if (!(asn1time = X509_get0_notBefore(x509))) {
                     ^
ossl_x509cert.c:424:20: warning: incompatible integer to pointer conversion assigning to 'const ASN1_TIME *' (aka 'const struct asn1_string_st *') from 'int' [-Wint-conversion]
    if (!(asn1time = X509_get0_notBefore(x509))) {
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
ossl_x509cert.c:463:22: warning: implicit declaration of function 'X509_get0_notAfter' is invalid in C99 [-Wimplicit-function-declaration]
    if (!(asn1time = X509_get0_notAfter(x509))) {
                     ^
ossl_x509cert.c:463:20: warning: incompatible integer to pointer conversion assigning to 'const ASN1_TIME *' (aka 'const struct asn1_string_st *') from 'int' [-Wint-conversion]
    if (!(asn1time = X509_get0_notAfter(x509))) {
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~
6 warnings and 1 error generated.
make[2]: *** [ossl_x509cert.o] Error 1
make[2]: *** Waiting for unfinished jobs....
ossl_x509crl.c:175:5: warning: implicit declaration of function 'X509_CRL_get0_signature' is invalid in C99 [-Wimplicit-function-declaration]
    X509_CRL_get0_signature(crl, NULL, &alg);
    ^
ossl_x509crl.c:214:12: warning: implicit declaration of function 'X509_CRL_get0_lastUpdate' is invalid in C99 [-Wimplicit-function-declaration]
    time = X509_CRL_get0_lastUpdate(crl);
           ^
ossl_x509crl.c:214:10: warning: incompatible integer to pointer conversion assigning to 'const ASN1_TIME *' (aka 'const struct asn1_string_st *') from 'int' [-Wint-conversion]
    time = X509_CRL_get0_lastUpdate(crl);
         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ossl_x509crl.c:245:12: warning: implicit declaration of function 'X509_CRL_get0_nextUpdate' is invalid in C99 [-Wimplicit-function-declaration]
    time = X509_CRL_get0_nextUpdate(crl);
           ^
ossl_x509crl.c:245:10: warning: incompatible integer to pointer conversion assigning to 'const ASN1_TIME *' (aka 'const struct asn1_string_st *') from 'int' [-Wint-conversion]
    time = X509_CRL_get0_nextUpdate(crl);
         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ossl_x509revoked.c:134:31: warning: implicit declaration of function 'X509_REVOKED_get0_serialNumber' is invalid in C99 [-Wimplicit-function-declaration]
    return asn1integer_to_num(X509_REVOKED_get0_serialNumber(rev));
                              ^
ossl_x509revoked.c:134:31: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const ASN1_INTEGER *' (aka 'const struct asn1_string_st *') [-Wint-conversion]
    return asn1integer_to_num(X509_REVOKED_get0_serialNumber(rev));
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_asn1.h:31:46: note: passing argument to parameter here
VALUE asn1integer_to_num(const ASN1_INTEGER *);
                                             ^
ossl_x509revoked.c:161:12: warning: implicit declaration of function 'X509_REVOKED_get0_revocationDate' is invalid in C99 [-Wimplicit-function-declaration]
    time = X509_REVOKED_get0_revocationDate(rev);
           ^
ossl_x509req.c:ossl_x509revoked.c:161:10: warning: incompatible integer to pointer conversion assigning to 'const ASN1_TIME *' (aka 'const struct asn1_string_st *') from 'int' [-Wint-conversion]
266:5:    time = X509_REVOKED_get0_revocationDate(rev);
         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 warning: implicit declaration of function 'X509_REQ_get0_signature' is invalid in C99 [-Wimplicit-function-declaration]
    X509_REQ_get0_signature(req, NULL, &alg);
    ^
5 warnings generated.
4 warnings generated.
1 warning generated.
8 warnings generated.
make[1]: *** [ext/openssl/all] Error 2
make[1]: *** Waiting for unfinished jobs....
linking shared-object ripper.bundle
make: *** [build-ext] Error 2

Thanks to your report.
But I couldn't reproduce this.
~ > rbenv install 2.5.0-preview1
Installing openssl-1.1.0f...
Installed openssl-1.1.0f to /Users/hsbt/.rbenv/versions/2.5.0-preview1

Installing ruby-2.5.0-preview1...
ruby-build: use readline from homebrew
Installed ruby-2.5.0-preview1 to /Users/hsbt/.rbenv/versions/2.5.0-preview1

~ > otool -L /Users/hsbt/.rbenv/versions/2.5.0-preview1/lib/ruby/2.5.0/x86_64-darwin17/openssl.bundle
/Users/hsbt/.rbenv/versions/2.5.0-preview1/lib/ruby/2.5.0/x86_64-darwin17/openssl.bundle:
	/Users/hsbt/.rbenv/versions/2.5.0-preview1/openssl/lib/libssl.1.1.dylib (compatibility version 1.1.0, current version 1.1.0)
	/Users/hsbt/.rbenv/versions/2.5.0-preview1/openssl/lib/libcrypto.1.1.dylib (compatibility version 1.1.0, current version 1.1.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.0.0)
	/usr/local/opt/gmp/lib/libgmp.10.dylib (compatibility version 14.0.0, current version 14.2.0)
	/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)

It seems to work with standalone openssl libraries.

Are you using the same gcc version?

Hi! When trying to install 2.5.0-preview1, I get this
myuser$ rbenv install 2.5.0-preview1
ruby-build: definition not found: 2.5.0-preview1

See all available versions with `rbenv install --list'.

If the version you need is missing, try upgrading ruby-build:

 brew update && brew upgrade ruby-build

Then I try to upgrade ruby-build:
myuser$ brew update && brew upgrade ruby-build
Already up-to-date.
Error: ruby-build 20170914 already installed

Same here. rbenv install --list results in (abbreviated)
  ...
  2.4.0
  2.4.1
  2.4.2
  2.5.0-dev
  jruby-1.5.6
  jruby-1.6.3
  jruby-1.6.4
  ...

@anikolaev94 @Petercopter I send a new version to homebrew. https://github.com/Homebrew/homebrew-core/pull/21736
Please try it again after merged.

@keithrbennett correct option name is --with-openssl-dir.

This also worked for me:
rvm install 2.5.1 --disable-binary  --with-openssl-dir=/usr/local/Cellar/openssl/

https://github.com/rvm/rvm/issues/4271#issuecomment-354952009

Hi. Similar problem. Solved with:
rvm install ruby-2.5.1 --with-openssl-dir=/usr/local/opt/openssl

You can also check if XCode is updated

For rbenv you can use the RUBY_CONFIGURE_OPTS environment variable to pass in --with-openssl-dir, like:
RUBY_CONFIGURE_OPTS=--with-openssl-dir=/usr/local/opt/openssl rbenv install ruby-2.5.1

best way seems to be:
brew install openssl
rvm install 2.5.0 --with-openssl-dir=`brew --prefix openssl`

I commented previously that the --with-openssl-dir=$(brew --prefix openssl) would fix the problem, but today I tried to install Ruby 2.7.0 with rvm and it failed. What fixed it was, I did a brew info openssl to get some clues, and this worked:
export<EMAIL_ADDRESS>Your directory may differ, it was in the output of brew info openssl, but that export fixed the problem for me.


Swift 3

Its November 18 and you don't support swift 3... wowza

#110

Its May 5 2017 and they dont support Swift 3. Shame!!!

@Samavesh123 This might interest you https://github.com/uber/rides-ios-sdk/tree/swift-3-dev. Once we have more resources after a current project, we'll get that merged to master after a bit of API cleanup.
Thanks for your patience!


Arrange books side by side in Library

Is your feature request related to a problem? Please describe.
On the library page, each book is taking a large space and the user will have to scroll more. So we can align books in a different manner.
Describe the solution you'd like
we can display 2 books side by side.
Are you willing to contribute to this issue? [Yes/No]
Yes
I am a GSSOC'21 participant I would like to contribute to this issue.

@nidhivanjare Need more description & detail with screenshots check out any other sample issues

Library Page Display
What I want it to look like

If we display the cards side by side in the library page then the user has to scroll less and can view more. I think it will be a good UI / UX change in the website.

@nidhivanjare We would want the same current UI for library, what you could do is arrange them side by side and paginate accordingly, there will be backend change too
Is that what you mean?

Yes, I just want to arrange them side by side !!

Sure go ahead

May I work on this? @nidhivanjare

Hi @shreya-gb This is already assigned :)
Check out up-for-grab issues or the starter guide


Cannot find products

Running the code provided in the example gives an ProductNotFoundException
from functions import Product
import json
product = Product('https://www.ah.nl/producten/product/wi193679/lay-s-paprika')
print(json.dumps(product.__dict__, indent=4, sort_keys=True))

<Response [404]>
Traceback (most recent call last):
  File "c:\Users\Amin\Documents\VSCode\Random Projects\SupermarktStuff\main.py", line 3, in <module>
    product = Product('https://www.ah.nl/producten/product/wi193679/lay-s-paprika')
  File "c:\Users\Amin\Documents\VSCode\Random Projects\SupermarktStuff\functions.py", line 52, in __init__
    raise ProductNotFoundException(url)
functions.ProductNotFoundException: Product with URL https://www.ah.nl/producten/product/wi193679/lay-s-paprika could not be found

It appears that Albert Heijn changed their internal API that AppiePy was relying on. I'll happily merge any PRs that figure out the new API and update the code.

It looks like the old internal API is completely removed, so I'll be marking AppiePy as defunct and archive the repository. The code will stay online for anyone to clone if they figure out how to make it work again.


Use quotes for the DOCKER_REGISTRY variable.

This avoids the following error in the terminal tab on initialization:
 *  Executing task: DOCKER_HOST= source ./.conf/tcb-env-setup.sh -s /work/dmoseley/scratch/hellotcb/storage -t 3.11.0

 ./.conf/tcb-env-setup.sh: line 9: [: =: unary operator expected

LGTM


kill and yank on Mac OS

"In the MacOS and many linux system, the following hotkey is defined: Ctrl+k is “kill-to-end-of-line”, but what is killed goes into a buffer that you can later yank back out with Ctrl+y." (Source)
While CTRL-k works to kill, CTRL-y doesn't yank back the text.
The issue is discussed further at the source cited above.

This issue can be closed since I can see now that yank (as well as other commands) has been implemented in the external emacs.js keymap.


GROOVY-8732: @CompileStatic refers to private field in parent class

Currently JavaBean style getters aren't recognised
before some preliminary provisions are made for the
case of accessing the private field in places where that
is allowed. The change is just not to proceed with those
provisions if the JavaBean getter is detected.

No test added just yet but the bytecode looks good with visual inspection.

Looks good!


New Operators: SequentialAnd and SequentialOr

In many complex scenarios, the order in which rules are evaluated significantly impacts the performance and outcome. Current operators like "And" and "Or" do not provide enough control for scenarios where the evaluation needs to be strictly sequential or stopped early based on certain conditions. "SequentialAnd" and "SequentialOr" are designed to address these limitations, offering more precise control and efficiency.
SequentialAnd:

Each rule is evaluated in order. The evaluation proceeds to the next rule only if the current rule is true.
If any rule evaluates to false, the entire set immediately fails, and no further rules are evaluated.
This is similar to the "And" operator but with the added functionality that the order is strictly followed, and evaluation stops after the first false condition.

Example:
{
  "RuleName": "Sample of SequentialAnd",
  "Rules": [
    { //Rule1 },
    { //Rule2 }, // If this rule fails we stop here with Success.
    { //Rule3 },
  ],
  "Operator": "SequentialAnd"
}

SequentialOr:

Each rule is evaluated in order. The evaluation proceeds to the next rule only if the current rule is false.
If any rule evaluates to true, the entire set immediately succeeds, and no further rules are evaluated.
If all rules are evaluated to false, the entire set immediately fails.
This is similar to the "Or" operator but with the added functionality that the order is strictly followed, and evaluation stops after the first true condition.

Example:
{
  "RuleName": "Sample of SequentialOr",
  "Rules": [
    { //Rule1 },
    { //Rule2 }, // If this rule succeed we stop here with Success.
    { //Rule3 },
  ],
  "Operator": "SequentialOr"
}

Implementation Considerations:

Ensure compatibility with existing rule engine structures and evaluate the impact on performance.
Provide clear documentation and examples for proper usage and understanding.
Include comprehensive testing scenarios to ensure reliability and expected behavior.

I invite the community and maintainers to discuss this proposal, the potential impacts, and any additional considerations or improvements. Any insight and feedback is more than appreciated.
Thank you for considering this enhancement. I look forward to your input and collaboration!

@douglasgalico , your requirement appears very similar to performance mode settings in ReSettings.
https://github.com/microsoft/RulesEngine/blob/9bcf4f334b7b98b4ab2d347522ff86b3e884afed/src/RulesEngine/Models/ReSettings.cs#L80-L94
Can you check this and let me know if this is what you are looking for?

@abbasc52 Thanks for the reply. I could say that's "almost" besides the fact the ReSettings will impact the whole workflow execution.
The idea behind the new operators is to isolate this logic only for some set of rules in the same workflow (as we can do with And and Or).
What you think about it? I can help implementing it at RuleCompiler and their tests too :)

@douglasgalico interesting idea would like to understand more on where you would need to selectively use it vs whole workflow execution.
I do understand one use case where for some workflow you may want performance mode vs for other normal mode. Currently we only support it at RulesEngine instance level, We can look at workflow level settings but for Rule level, it will help if you can share examples where it makes sense

@abbasc52  I believe that's from use-case to use case, I currently use it extensively and having some complex workflows (with multiple rules and sub-rules) I've stepped many times in a situation where having a SequentialAnd/Or would be grat for a specific block.
If we believe is something achievable and that will contribute to the product, then I can try to formalize a PR with the changes plus samples on it. What you think?

i think your idea is great but...this project is no longer being maintained, please use my fork moving forward as it is being maintained


Error creating AutoScaling Group

Running terraform apply -var-file=aws-cluster.tfvars, I eventually hit
Error: Error creating AutoScaling Group: ValidationError: You must use a valid fully-formed launch template. You cannot use PartitionNumber with a Placement Group that does not exist. Specify a valid Placement Group and try again.
        status code: 400, request id: 01bd991d-e8ff-4bf9-af50-b5ec5d279950

  on .terraform/modules/eks/terraform-aws-eks-11.1.0/workers_launch_template.tf line 3, in resource "aws_autoscaling_group" "workers_launch_template":
   3: resource "aws_autoscaling_group" "workers_launch_template" {

Error: Error creating AutoScaling Group: ValidationError: You must use a valid fully-formed launch template. You cannot use PartitionNumber with a Placement Group that does not exist. Specify a valid Placement Group and try again.
        status code: 400, request id: 10d2f03d-820c-4f05-bca0-d16d9817470e

  on .terraform/modules/eks/terraform-aws-eks-11.1.0/workers_launch_template.tf line 3, in resource "aws_autoscaling_group" "workers_launch_template":
   3: resource "aws_autoscaling_group" "workers_launch_template" {

@salvis2 any guesses on why that would be? Any other info I should provide (first time using terraform).

I haven't created an autoscaling group with the base Terraform resource. I'm using their EKS module and specifying worker groups from within there.
Looking in that module's local.tf and workers_launch_template.tf, it seems the default placement group it an empty string. I've never specified that variable, and I can't find it with terraform state [asg_resource].
Reading the aws_autoscaling_group docs, I see they specify a placement group resource in the first example, but not in the others. The placement_group variable is listed as optional.
Did you just run the Terraform command in the aws/ directory? What config did you use?

The config is at https://github.com/pangeo-data/multicloud-demo/tree/master/aws/aws.
The command was
$ terraform apply -var-file=aws-cluster.tfvars

I can keep poking at this.
I notice that the master branch has more .tf files in the aws/ directory. I based my setup off the blog branch. Could that be relevant?

@salvis2 discovered the issue: a recent update to the aws module: https://github.com/terraform-aws-modules/terraform-aws-eks/issues/874#event-3319611103
That's been fixed, but pinning to 2.59.0 for now worked.


Switch state doesn't always update after clicking

"Problem" was in the SmartApp - the on() and off() calls to devices are async, and there's some amount of communication delay before they report back.  This may be worse in the FNI environment - might have to do something with push notifications or polling to address.


[Wiki Pages] Update Teapot Recipe

Love the mod! Noticed the teapot recipe on the wiki page is out-dated. I'd submit a PR but I'm not sure if you can for github wikis...
Thank You!

Updated

Updated


Setting scale X or Y (not both) to negative value on Skeleton2D breaks Modifications like SkeletonModification2DLookAt and SkeletonModification2DTwoBoneIK

Godot version
v4.1.stable.official [970459615]
System information
Godot v4.1.stable - Ubuntu 22.04.2 LTS 22.04 - Vulkan (Mobile) - dedicated NVIDIA GeForce GTX 860M (nvidia; 535.54.03) - Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz (8 Threads)
Issue description
Context
I'm working with a 2D platformer character who flips around horizontally when going left, using a full scale X = -1 on a parent containing all visual nodes, including the Skeleton2D. The Skeleton2D uses a 2-bone IK modification. I noticed that when setting scale X = -1 on the Skeleton 2D (whether the IK target is also scaled or not), the bones didn't behave as expected.
General issue
When a Skeleton2D (or some parent of it) is scaled on X or Y (but not both) with a negative value, modifications such as SkeletonModification2DLookAt and SkeletonModification2DTwoBoneIK do not behave as expected: bones go the opposite way of intended, as if moving away from the target.
Example with an actual character using 2-bone IK on arms:
Normal pose, arm-hand using 2-bone IK toward two targets (red crosses):

Scale X = -1, including IK targets to flip them so they stay near corresponding bones:

Scale X = -1, excluding IK targets:

Note that three phenomena occur:

The bone root positions are flipped, but the bones keep their angle if auto_calculate_length_and_angle is false, using the fixed Bone Angle; or keep some relative angle else, giving the impression of changing the pose instead of doing a proper flip. It looks like the legs are broken too. But this is essentially an impression (just ignore the head and feet pointing to the right)
The targets may or may not be flipped (in the last picture, they are not). When not flipped, the hands should not be pointing at the right target, and cross each other's directions toward the bottom, but not go up as they are doing now.
The actual bug causing the hands to go up, "evading" the targets.

Another smaller example that you'll find in the MWE attached:
Normal pose (uses 2-bone IK + Look At for another bone):

Scale X = -1:

Scale Y = -1:

This time, LookAt is easy t understand, 2-bone IK much less as the bones shrink on themselves.
Steps to reproduce

Open MWE which has the simple skeleton shown above setup
Open demo.tscn and select Skeleton2D
Set Scale X = -1. Observe
Set Scale Y = -1. Observe

Minimal reproduction project
Godot 4.1 - Scaling skeleton X=-1 causes 2BoneIK to avoid target.zip

I think that most of problems have to do with using transform and not restoring rotation and scale.
It's not possible to represent negative X scale with transforms, it needs to restore this information from the local scale/rotation and not from the transform (I couldn't find how Node2D normally do that restoration).
So when the Bone2D set the transform, it loses the true scale and rotation. Next time it tries to load from it transform, the Y scale and the rotation will be flipped (saving the scene would be an example of loading from the transform again).
Screencast from 2023-08-13 09-23-19.webm
I did some testing with caching the scale and rotation (my own way because i don't understand how Node2D restore this information).
Screencast from 2023-08-13 09-24-17.webm
Note that after creating a SkeletonModificationStack2D it will always send the transform to the MeshStorage. I think that this is when it tries to update the bone every frame with the information from transform (which is not good because transform can't restore true scale and rotation).
https://github.com/godotengine/godot/blob/master/scene/2d/skeleton_2d.cpp#L618

See also:

#75224

Note: I could be wrong 🤣

And I was wrong. I started looking at the Math behind SkeletonModification2DTwoBoneIK

joint_one_bone->set_global_rotation(angle_atan - angle_0 - joint_one_bone->get_bone_angle());

And my guess is that when you scale X by -1 you should stop subtracting arctangent by the internal angle and start adding it.

joint_one_bone->set_global_rotation(angle_atan + angle_0 + joint_one_bone->get_bone_angle());

I only did manual tests, so I could be wrong (again).
Video showing results

Looks good to me, you can open a PR to start getting reviews from other devs.
Side note: wow, checked the reference links above the modified code and found a nice article and blog! Also found a typo // Adopted from the links below: -> Adapted, I don't know what Godot's policy is on these small things, you can probably fix it on the go and just mention it in the commit message.

Yes! This article and blog were very helpful!
I will fix the typo, thanks.
I still have to look at the Gizmo, not sure if was suppose to rotate this way after scaling. :laughing:
Screencast from 2023-08-23 13-15-23.webm

Can this fix be added to version 4.3?

If someone's interested in a temporary solution, I have created a script to do the two bone IK calculations, respecting the transform of the skeleton. It's still quite limited, as the scale values can be only 1 or -1, as neither bone length is "scaled" nor the distance between the bone origin and the target node.
I based my implementation on
https://www.ryanjuckett.com/analytic-two-bone-ik-in-2d/
In summary - with some tweaks I managed to project the target position into the bone's local space, this allows to compensate the scale and rotation of the bone's parent, now scaling and rotating the skeleton should work fine (works for me at least).
twoboneik.webm
extends Node

@export_node_path("Node2D")
var target_node_path = NodePath()

@export var flip_bend_direction = false
@export var joint_one_bone_index = -1
@export var joint_two_bone_index = -1

var _angle_a = 0.0
var _angle_b = 0.0

func _process(delta: float) -> void:
	_update_two_bone_ik_angles()

func _update_two_bone_ik_angles():
	assert(joint_one_bone_index != -1)
	assert(joint_two_bone_index != -1)

	if target_node_path.is_empty():
		return

	var target = get_node(target_node_path) as Node2D
	var bone_a = get_parent().get_bone(joint_one_bone_index)
	var bone_b = get_parent().get_bone(joint_two_bone_index)

	var bone_a_len = bone_a.get_length()
	var bone_b_len = bone_b.get_length()

	var sin_angle2 = 0.0
	var cos_angle2 = 1.0

	_angle_b = 0.0

	var cos_angle2_denom = 2.0 * bone_a_len * bone_b_len
	if not is_zero_approx(cos_angle2_denom):
		var target_len_sqr = _distance_squared_between(bone_a, target)
		var bone_a_len_sqr = bone_a_len * bone_a_len
		var bone_b_len_sqr = bone_b_len * bone_b_len

		cos_angle2 = (target_len_sqr - bone_a_len_sqr - bone_b_len_sqr) / cos_angle2_denom
		cos_angle2 = clamp(cos_angle2, -1.0, 1.0);

		_angle_b = acos(cos_angle2)
		if flip_bend_direction:
			_angle_b = -_angle_b

		sin_angle2 = sin(_angle_b)

	var tri_adjacent = bone_a_len + bone_b_len * cos_angle2
	var tri_opposite = bone_b_len * sin_angle2

	var xform_inv = bone_a.get_parent().global_transform.affine_inverse()
	var target_pos = xform_inv * target.global_position - bone_a.position

	var tan_y = target_pos.y * tri_adjacent - target_pos.x * tri_opposite
	var tan_x = target_pos.x * tri_adjacent + target_pos.y * tri_opposite
	_angle_a = atan2(tan_y, tan_x)

	var bone_a_angle = bone_a.get_bone_angle()
	var bone_b_angle = bone_b.get_bone_angle()
	bone_a.rotation = _angle_a - bone_a_angle
	bone_b.rotation = _angle_b - bone_a_angle - bone_b_angle

func _distance_squared_between(node_a: Node2D, node_b: Node2D) -> float:
	return node_a.global_position.distance_squared_to(node_b.global_position)


Unit Testing

Add unit testing for all functions.
Also test results against established software for several cases.

Added pytest functionality and some examples to documentation to later be expanded upon in commit 994c585.
Added CI with github actions in commit dfb3665fbb201f235de7d9e2d045dc65911fedc3.
Added pre-commit linting and autoformatting checks with github actions 3d8147b7f7b646e781d2944287b32cb706a7a75c.


Inventory > Unassigned Items Not Clearing/Reinitializing

The Inventory > Unassigned Items list will display duplicate values when loading multiple saves or clicking the File > Reload Current Savegame function

Thanks for the report, I will have a look.


subscription filter owner in the backend

Which Category is your question related to? subscriptions filters
Amplify CLI Version
8.5.0
What AWS Services are you utilizing?
AWS AppSync (api), Amazon Cognito (auth), Amazon DynamoDB (storage), Lambda
Provide additional details e.g. code snippets. Be sure to remove any sensitive data.
I have and app that has suscriptions to data that is sensitive, I could filter the data from my front-end in the subscription by the owner id, but this could be cheated very easy putting another user id and start to receive data thta is no target to him.
Im calling the APPSYNC API from a Lambda, I have succesfully set all the flow and I receive the subscritions from the lambda calls, Im using an IAM Role for access the API through the lambda So I don have any info of the current cognito user in the lambda, I'm just relying in the value of the owners: [String] field.
For currently the users of my app are receiving the notifications of the suscriptions, even if they are not in the list of owners
So, Is there any way I can filter in the backend the owner, or someway that I can secure more the data of the subscritions?
type Notification @model
@auth( rules: [
  { allow: owner, ownerField: "owners" },
  { allow: public, provider: iam, operations: [read] }
])
{
  id: ID!
  title: String!
  owners: [String]
  type: String!
}

Also, if I want to filter this by just one owner, could I pass a single user id to the suscription? or is not posible to filter just one owner among the array of owners

I am looking how to do this also.
Our use case is when messages are sent between users, we only want the users of that conversation to receive that message.
# ****************************************************************************
# MESSAGE
# ****************************************************************************
 type Message
   @model(mutations: { create: "createMessage", update: "updateMessage" })
   @auth(rules: [
     { allow: groups, groups: ["Users"] } <-- we need to do this to make the subscription work
     { allow: owner, operations: [read, create], ownerField: "users" }
     { allow: private, provider: iam }
   ]) {
     conversationId: ID! @index(name: "messagesByConversation", sortKeyFields: ["createdAt"], queryField: "messagesByConversation")
     text: String
     attachments: [S3Upload]
     users: [String]!
     createdBy: String!
     createdAt: AWSDateTime!
     updatedAt: AWSDateTime
}

@josefaidt is there any way we can achieve as of current? Cheers

https://github.com/aws-amplify/amplify-category-api/pull/551 I think this may enable filtering by array of strings for owner

Hey @dylan-westbury and @Quetzalfir :wave: apologies for the delay here but as @dylan-westbury pointed out support for AppSync's runtime filtering is under active development and would enable workflows such as what is described here!

@Quetzalfir - You can use server side filtering feature to achieve this. When you establish a subscription connection on a model contains only owner rule, you will receive only the data you have access to.
https://docs.amplify.aws/cli/graphql/data-modeling/#server-side-filtering-for-subscriptions
However it is not possible to filter on fields used for auth rules. You can still write the same data to another field and use that to filter data.

I am looking how to do this also.
Our use case is when messages are sent between users, we only want the users of that conversation to receive that message.
# ****************************************************************************
# MESSAGE
# ****************************************************************************
 type Message
   @model(mutations: { create: "createMessage", update: "updateMessage" })
   @auth(rules: [
     { allow: groups, groups: ["Users"] } <-- we need to do this to make the subscription work
     { allow: owner, operations: [read, create], ownerField: "users" }
     { allow: private, provider: iam }
   ]) {
     conversationId: ID! @index(name: "messagesByConversation", sortKeyFields: ["createdAt"], queryField: "messagesByConversation")
     text: String
     attachments: [S3Upload]
     users: [String]!
     createdBy: String!
     createdAt: AWSDateTime!
     updatedAt: AWSDateTime
}

# ****************************************************************************
# SUBSCRIPTIONS
# ****************************************************************************
 type Subscription {
   onCreateMessageForConversation(conversationId: ID!): Message @aws_subscribe(mutations: ["createMessage"])
 }

@josefaidt is there any way we can achieve as of current? Cheers

Hi Dylan, i am experiencing your same issue right now, subscribed messages are visible in ALL chat rooms, but i just want them to be visible in that specific room. I have already tried passing a filter argument but no success, maybe because i am using an older version of Amplify (2021)? If so, which library should i update? Thanks in advance

Hi @tonydatw
AppSync's runtime filtering was still in development and I could not find a way to achieve subscribe messages for users of the message / chat only.
For our use case we only had 2 people in a chat, a sender and a receiver of the message.
As a solution for our use case we added a property "receiver" to the model Message and created a subscription for this property. That way the person designated to receive the message would be notified in real time.
I haven't since looked into how we could achieve messaging for multiple users, nor have I looked at server side filtering subscriptions as posted above

Hey @dylan-westbury apologies for the delay here! Are you still experiencing this?

Hi 👋, We are closing this issue as we have not received any response from you. However, if you are still facing the same issue and require our assistance, please don't hesitate to leave a comment and provide us with the information our team had previously asked for. This way, we can reopen the issue and provide you with better assistance.
Thank you!


Improve detection for 'DigitalRiver' Ecommerce platform

Current Detection -
"DigitalRiver": {
  "cats": [
    6
  ],
  "cookies": {
    "X-DR-SHOPPER-ets": "",
    "X-DR-THEME": "^\\d+$"
  },
  "description": "Digital River provides global ecommerce, payments and marketing services.",
  "icon": "DigitalRiver.svg",
  "scripts": "/drh\\.img\\.digitalriver\\.\\w+/DRHM/",
  "website": "https://www.digitalriver.com"
},

Sites which is currently not detecting this - https://www.jabra.co.uk/
We can detect by looking for https://js.digitalriver.com/v1/DigitalRiver.js

Hey there ,  updated.


Structuring the recipes folder

As more recipes are added to ESMValTool we might need a way to structure them by project. For example, for the eWaterCycle project we will use ESMValTool to do pre-processing for hydrology models. I propose adding a layer of folders in the esmvaltool/recipes folder that clusters recipes of certain projects together. e.g. esmvaltool/recipes/eWaterCycle.
I think this will increase usability. The ESMValTool documentation would also benefit from such a structure.

Maybe structuring by project is not the best way. Another option is structuring by use, e.g esmvaltool/recipes/hydrology and esmvaltool/recipes/climate?


fetch themes from /themes endpoint

refs https://github.com/TryGhost/Ghost/pull/8022

use /themes API endpoint to fetch list of themes instead of settings[0].availableThemes

Coverage decreased (-0.01%) to 75.114% when pulling fe83aa67255185d946ec0810477e0b3fcc3d2b25 on kevinansfield:themes-endpoint into<PHONE_NUMBER>5996722f3cc1d7a0f95cf80a95856a on TryGhost:master.


Access Business Central instance with the applications indentity

I would like to build an application that accesses our Business Central instance with the applications identity, and I am seeking guidance on this page.
However, all examples presented here, of access based on applications identity are about accessing a windows service owned by me. I would like to see also a working example about accessing a microsoft-owned multi-instance service like Business Central using application's identity.
My aim would be to just access the single instance of Business Central that is ours. I hope that this is possible but could not deduce it from this page.

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

ID: 08b04e33-be5f-f9de-e034-a83d2e9a5e18
Version Independent ID: 71611fc5-c00d-380c-fa2a-e0ec98c47bba
Content: Azure Active Directory code samples
Content Source: articles/active-directory/develop/sample-v1-code.md
Service: active-directory
GitHub Login: @jmprieur
Microsoft Alias: celested

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

@wolterOnEntocare I have assigned this to the author to consider this as feedback and updating the samples accordingly.

@wolterOnEntocare - Per feedback from andretms, please post your question on Stack Overflow. You can use the info from jmprieur as a starting point. Thank you.

Provided response to customer.
#please-close


sort the incident context

While integrating alertmanager, I noticed that having many context fields results in a very messy view of the incident. Sort to be more pleasing on the eye.

Thanks for the PR @wleese!
I'll flag this with the rest of the team to see what they think, but I wanted to mention why we don't already have something like this.
When you integrate a new application with Iris there is a place to add templates for how the context should be rendered in the UI. The unordered dumping of the context is meant to be more of a debugging view until you get those templates written. That said there's little harm in sorting it (maybe slightly larger JS payload and extra JS processing to sort).

Ah, I get it now. Guess i’ll be adding some templates then. Couldn’t find anything about this in the docs - I thought templating was only done for alert messages.

I'll close this, as I personally have no need for it anymore now that I've written proper templates.


hello! I cannot find this " https://github.com/verydogelabs/inscription-wallet.git"

Thank you sincerely for providing this code.
I cannot find this " https://github.com/verydogelabs/inscription-wallet.git". Could you share it to me?

Same problem here, any help?


Too many open files for bigquery

I am using a big query  as a data source for connecting BigQuery I am using credntials.json from GCP. after 4 5 days of using it I am getting this error
export GOOGLE_APPLICATION_CREDENTIALS=/usr/local/lib/python3.8/site-packages/superset/credential.json

any solution for this

We are facing the same issue on our self-hosted superset. Any tips would be appreciated.
@AbhishekOnedigital have you found a solution?

Closing this as stale since it's been silent for so long, and we're trying to steer toward a more actionable Issues backlog. If people are still encountering this in current versions (currently 3.x) please re-open this issue, open a new Issue with updated context, or raise a PR to address the problem. Thanks!


Warn about possible deadlock per #1014

If no duration is set and a response does not end the trial, then
the trial will never end and the experiment is deadlocked. Users
will be warned about this situation and given hints on how to
fix it.

thanks!


feat: add apisix-openresty deb support

Issue: #62

Ping @spacewander @tzssangglass @imjoey for review at your free time. Thanks.

Regarding the reason for the CI failure, I think we should use yum install epel-release to install epel-release, which was verified here[1].
Looking forward to your suggestions.
[1] https://github.com/EnableAsync/apisix-build-tools/runs/3583747375?check_suite_focus=true

Regarding the reason for the CI failure, it seems that the download link for epel-release is no longer available, and I think we should use yum install epel-release to install epel-release, which was verified here[1].
Looking forward to your suggestions.
[1] https://github.com/EnableAsync/apisix-build-tools/runs/3583747375?check_suite_focus=true

@EnableAsync you're right. That would eliminate this CI failure. Would you please submit another PR for this now? We would better fix the CI failures before reviewing/merging this PR. What do you think? Thanks.

Regarding the reason for the CI failure, it seems that the download link for epel-release is no longer available, and I think we should use yum install epel-release to install epel-release, which was verified here[1].
Looking forward to your suggestions.
[1] https://github.com/EnableAsync/apisix-build-tools/runs/3583747375?check_suite_focus=true

@EnableAsync you're right. That would eliminate this CI failure. Would you please submit another PR for this now? We would better fix the CI failures before merging this PR. What do you think? Thanks.

@imjoey Hi, I have submitted the pr(https://github.com/api7/apisix-build-tools/pull/93), please take a look in your free time. Thanks.

Regarding the reason for the CI failure, it seems that the download link for epel-release is no longer available, and I think we should use yum install epel-release to install epel-release, which was verified here[1].
Looking forward to your suggestions.
[1] https://github.com/EnableAsync/apisix-build-tools/runs/3583747375?check_suite_focus=true

@EnableAsync you're right. That would eliminate this CI failure. Would you please submit another PR for this now? We would better fix the CI failures before merging this PR. What do you think? Thanks.

@imjoey Hi, I have submitted the pr(#93), please take a look in your free time. Thanks.

@EnableAsync #93 has been merged. Please rebase codes here. Thanks. 😄

@EnableAsync thank you very much for this. 😄

@EnableAsync Hi, the readme seems not updated yet. Would you please submit another PR to add relevant instructions? Thanks.

@EnableAsync Hi, the readme seems not updated yet. Would you please submit another PR to add relevant instructions? Thanks.

@imjoey Hi, I have submitted the pr(#94), please take a look in your free time. Thanks.


How to receive another data frame.

Hi all , I can receive the data form mqtt device service, but now I need to receive another data format.
The data frame as shown below:
+(0)---------+(1)------+(2)--------+(3)------------+(7)----------+(8)---------+(11)
|Device type |DAC type |Channel id |Reference time |Alarm status |Data sample |
|(1 byte)    |(1 byte) |(1byte)    |(4 bytes)      |(1 byte)     |(3 bytes)   |
+------------+---------+-----------+---------------+-------------+------------+
Are there any ways to solve this issue?

you can fork this reference implementation and customize it for your data format

Thank you ! @cloudxxx8


Conflicting DLLs when using PyQt5 + ZeroMQ

System Info
<IP_ADDRESS>
Python: 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:01:18) [MSC v.1900 32 bit (Intel)]
Executable: C:\Users\user.virtualenvs\Nuitka_Test_moXy6b\Scripts\python.exe
OS: Windows
Arch: x86
Nuitka Installation Method - Pip
Venv - Yes created via pipenv
Regression? No - first time using Nuitka
Reproduction - Attempt to compile with both pyzmq and PyQt5 as imports
Command Used - python -m nuitka --follow-imports --recurse-all --plugin-enable=qt-plugins --python-flag=nosite --force-dll-dependency-cache-update --standalone NuitkaTest/start_app.py --output-dir=nuitka_build   ( and a couple of variations while testing, but same behavior consistently )
Conflicting DLLs - concrt140.dll msvcp140.dll
Error Sample - Error, conflicting DLLs for 'concrt140.dll'. c:\users\joe.deuchar\.virtualenvs\kat-hub-tng-g-moxy6b\lib\site-packages\pyqt5\qt\bin\concrt140.dll used by:    **snip - basically all Qt .pyds** different from c:\users\joe.deuchar\.virtualenvs\kat-hub-tng-g-moxy6b\lib\site-packages\zmq\concrt140.dll used by    n_build\start_hub.dist\zmq\libzmq.pyd
Dependencies / PipFreeze
certifi==2018.10.15
chardet==3.0.4
idna==2.7
influxdb==5.0.0
katagentapi==0.0.1
katapi==2.0.0rc0
katlog==0.0.1
lxml==4.2.5
Nuitka==<IP_ADDRESS>
pathlib==1.0.1
PyGithub==1.35
PyJWT==1.5.3
PyQt5==5.7.1
python-dateutil==2.7.5
pytz==2018.7
pyzmq==17.1.2
requests==2.20.1
sip==4.19.8
six==1.11.0
splunk-handler==2.0.8
urllib3==1.24.1

These ones are rejected from pip for me:
katagentapi==0.0.1
katapi==2.0.0rc0
katlog==0.0.1

I am assuming they don't matter. I am missing a main program from you, so I assume you mean import PyQt5; import pyzmq as the test case.

I am totally unsure how Nuitka can possibly decide which of those DLL to use. It should be impossible to load both, and which one is loaded should depend on which imports and uses of the module occur first, so that is nothing to be able to predict.
The one DLL is higher version than the other, so that might be a criterion to go with, in making that decision.
So far this error message has mostly only served to find errors in the selection process. Normally when this has occurred, Nuitka had two copies of a DLL for bad reasons. This is the first time it happens where it is not at fault, but rather the situation is normal.
I am tempted now, to make the PyQt plugin which is responsible for injecting these, handle a decision, where its own DLLs loose more often and stir the decision to pick the newest version of the DLL. Then the impact will be limited, and bugs should they still exist, can be revealed. On the other hand, they have become rare, and it's probably not worth it anymore.

Hey!
Thanks for the responses, you're correct the missing packages are in house
stuff that's not on pypi.
I'm currently away from the office where I have my work machine and will be
back on the 2nd,I'll aim to make a minimal reproduction for you then!
Hope you're having a good festive season and wishing you a happy new year
:-)
~Joe
On Wed, 26 Dec 2018, 09:53 Kay Hayen<EMAIL_ADDRESS>wrote:

I am totally unsure how Nuitka can possibly decide which of those DLL to
use. It should be impossible to load both, and which one is loaded should
depend on which imports and uses of the module occur first, so that is
nothing to be able to predict.
The one DLL is higher version than the other, so that might be a criterion
to go with, in making that decision.
So far this error message has mostly only served to find errors in the
selection process. Normally when this has occurred, Nuitka had two copies
of a DLL for bad reasons. This is the first time it happens where it is not
at fault, but rather the situation is normal.
I am tempted now, to make the PyQt plugin which is responsible for
injecting these, handle a decision, where its own DLLs loose more often and
stir the decision to pick the newest version of the DLL. Then the impact
will be limited, and bugs should they still exist, can be revealed. On the
other hand, they have become rare, and it's probably not worth it anymore.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Nuitka/Nuitka/issues/198#issuecomment-449941376, or mute
the thread
https://github.com/notifications/unsubscribe-auth/Ah9a-CsOx-8jiRCrn5RTZ5KHUKgzDw3Vks5u80cBgaJpZM4YqyPu
.

Thanks, I managed to reproduce the issue anyway, and implemented the detection of DLL version working for at least Python3, and based on that, give a warning and proceed:
Nuitka:WARNING:Ignoring conflicting DLLs for 'msvcp140.dll' and using newest file version.
Nuitka:WARNING:Ignoring conflicting DLLs for 'concrt140.dll' and using newest file version.

However,  this reveals another issue:
$ ./Mini.dist/Mini.exe
Traceback (most recent call last):
  File "C:\Users\kayha\test\issue198\Mini.dist\Mini.py", line 2, in <module>
  File "C:\Users\kayha\test\issue198\Mini.dist\zmq\__init__.py", line 47, in <module zmq>
  File "C:\Users\kayha\test\issue198\Mini.dist\zmq\backend\__init__.py", line 40, in <module zmq.backend>
  File "C:\Users\kayha\test\issue198\Mini.dist\zmq\utils\sixcerpt.py", line 34, in reraise
  File "C:\Users\kayha\test\issue198\Mini.dist\zmq\backend\__init__.py", line 27, in <module zmq.backend>
  File "C:\Users\kayha\test\issue198\Mini.dist\zmq\backend\select.py", line 27, in select_backend
ImportError: No module named 'zmq.backend.cython'

It seems zmq plays some "plugin" tricks, that need to be dealt with too. But the DLL collision issue seems resolved. I will look into this zmq next though, hoping however it reproduces on Linux.
Yours,
Kay

So there is now code on the factory branch which makes the DLL decision and something that makes sure the standard cython backend for zmq is available. Not sure what zmq is doing with it though, I would be grateful for a minimal test that exercises zmq so I can cover more than import zmq to work.
Yours,
Kay

This is now on develop and soon in a release, closing the issue therefore.


[jobs] squeue fallback method

with the upgrade to squeue --json, the command takes 1:45m up from like 2 secs. So this is a alternative squeue cmd that falls back on traditional cmd line, tries to use the existing json parse logic as much as possible.

After benchmarking this fallback option is better by every metric. The cmd takes a fraction of the time and the exporter uses very little memory


Scroll back to same spot

when I select a section from the bottom of the left sidebar, the sidebar scrolls up to the top when the selected section loads. Can we keep the sidebar scroll in its place?

Rushan, I think this is because we render sidebar for every click on the sidebar. Is there are fix you can implement on client side? It may have to be done in server side. Please investigate.

This can be done in client side. I'll check


scss with &:not()::before not compiling correctly

https://gist.github.com/Zxurian/54f7cade973e975e5f43
Works on sassmeister, however when actually used, the entire block of
&:not([class^="icon-"], [class*=" icon-"])::before {
				content: 'ASDF';
			}

is omitted from the resulting css.

Worksforme on 0.1.7.


user docker doesn't start properly in v0.5.0 branch after installing to disk

RancherOS Version: (ros os version)
Custom build of v0.5.0 branch (os3)
Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)
Virtual Box
After installing to disk, user docker doesn't start up.
/var/log/docker.log
time="2016-06-12T16:59:15.497130127Z" level=info msg="New containerd process, pid: 696\n"
time="2016-06-12T16:59:15Z" level=error msg="containerd: notify OOM events" error="open /sys/fs/cgroup/memory/docker/1d197aa2eaa56739f133987ed793b37a522418feabdd117f19c63a4b2a5a0a0e/memory.oom_control: no such file or directory"
time="2016-06-12T16:59:15Z" level=error msg="containerd: notify OOM events" error="open /sys/fs/cgroup/memory/docker/6ffcf6122738010db79c059ff341876fd8f6564cc951083f2cdcd52d4b31ca38/memory.oom_control: no such file or directory"
time="2016-06-12T16:59:15Z" level=error msg="containerd: notify OOM events" error="open /sys/fs/cgroup/memory/docker/7fe4ba1fdac9d745b2dfbc37ea5ae3608d0892dbbbd4c11f4357a5b100b6c34f/memory.oom_control: no such file or directory"
time="2016-06-12T16:59:15Z" level=error msg="containerd: notify OOM events" error="open /sys/fs/cgroup/memory/docker/a3aee590d9ab1d271919a4bcb3f3a24f85d579555e2d2269f499602c59f4ee35/memory.oom_control: no such file or directory"
time="2016-06-12T16:59:15Z" level=error msg="containerd: notify OOM events" error="open /sys/fs/cgroup/memory/docker/c18e97f89bac06229d322db8de78b013aac13053decbfc74330586b735586562/memory.oom_control: no such file or directory"
time="2016-06-12T16:59:15Z" level=error msg="containerd: notify OOM events" error="open /sys/fs/cgroup/memory/docker/ccc2b7edf2fef830efd41679a6a0d93b3ec98022576ba7040f10742b881f8004/memory.oom_control: no such file or directory"
time="2016-06-12T16:59:15Z" level=error msg="containerd: notify OOM events" error="open /sys/fs/cgroup/memory/docker/d612ff5146b5715119f93f3e7e018c6425bd7819e86543759a11da4170638707/memory.oom_control: no such file or directory"
time="2016-06-12T16:59:16.549256147Z" level=fatal msg="Error starting daemon: Couldn't create Tag store repositories: EOF"
time="2016-06-12T16:59:16Z" level=error msg="containerd: get exit status" error="containerd: process has not exited" id=6ffcf6122738010db79c059ff341876fd8f6564cc951083f2cdcd52d4b31ca38 pid=83c6dfd34b1fdc4c57c9279225761147de1c1a7592f50c71b8c48798dc1cb95f systemPid=580
time="2016-06-12T16:59:16Z" level=error msg="containerd: get exit status" error="containerd: process has not exited" id=ccc2b7edf2fef830efd41679a6a0d93b3ec98022576ba7040f10742b881f8004 pid=init systemPid=512
time="2016-06-12T16:59:17.218203120Z" level=info msg="previous instance of containerd still alive (696)"
time="2016-06-12T16:59:17.225840308Z" level=fatal msg="Error starting daemon: Couldn't create Tag store repositories: EOF"

Verified with custom build (os9) that I'm no longer hitting this issue.


Multitranslation Support 3rd Migration

Closes PROD-1687
❗ Downrev needs to be pointed to downrev of data migration https://github.com/ethyca/fides/pull/4636 after that one is merged
❗ Corresponding plus PR that handles the side effects https://github.com/ethyca/fidesplus/pull/1334#pullrequestreview-1913133937
Description Of Changes
Removes obsolete fields on PrivacyNotice* and PrivacyExperience* models after application changes and data migration changes are in.  There should be 3 migrations total for consent multi translation work: 1) Adds new fields and tables 2) Migrates old data 3) Removes deprecated fields. That's this one!
Code Changes

[ ] Make ExperienceConfig.allow_language_selection to be False by default at the db level
[ ] Cleanup migration

Removes "privacy_experience_id" columns from Privacy Preference History and Served Notice History
Removes obsolete translation-related fields from PrivacyExperienceConfig
Removes obsolete fields around display (things like regions and displayed_in* from Privacy Notice)
Removes the FK and column linking Privacy Notice and Privacy Notice History (the Experience Config > Experience Config History is being removed earlier in https://github.com/ethyca/fides/pull/4636)
Makes ExperienceConfigTemplate and PrivacyExperienceConfig name non-nullable
Also sets PrivacyExperienceConfigHistory and PrivacyNoticeHistory language back to non nullable after data migration backfiled
Makes PrivacyNoticeHistory title non nullable after data migration backfilled
Makes PrivacyExperience.experience_config_id non nullable after data migration removed old records
Adds some missing indexes to support common queries (ExperienceTranslation.experience_config_id, PrivacyExperienceConfig.disabled, PrivacyExperienceConfigHistory.translation_id

Steps to Confirm

[ ] Confirm with instructions in plus PR

Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
Documentation:

[ ] documentation complete, PR opened in fidesdocs
[ ] documentation issue created in fidesdocs

[ ] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[ ] Update CHANGELOG.md
[ ] For API changes, the Postman collection has been updated

@adamsachs making a round of changes here to be less aggressive about what I'm removing from the historical tables as well as not attempting to backfill some of the historical information

Okay this is ready for review now @adamsachs along with its corresponding Plus side -https://github.com/ethyca/fidesplus/pull/1334#pullrequestreview-1913133937
I'm not handling performance here but I narrowed down the set of queries I need to look info further and will explore as part of https://ethyca.atlassian.net/browse/PROD-1776


Use kubebuilder way to build binary and run test in Github CI

Currently, we are using following way to build and test code.
https://github.com/ray-project/ray-contrib/blob/f4076b4ec5bfae4cea6d9b66a1ec4e63680ca366/.github/workflows/test-job.yaml#L47-L53
In ray operator project, we can change to use make manager and make test instead. The major reason is it can find more problems for us. One example is it may fail to generate manifest which indicates our code is not compatible with controller-tools

Doesn't this issue resolved by #31 ?

@anencore94 Hi, this has been supported and we didn't get a chance to close the issue. Thanks for your reminder.


[Concurrency] add comment about bug causing Sendable conformance test…

… case to be error rather than warning (follow up to e8d98047d)

addressing request by @hborla

@swift-ci please test

@swift-ci please test macOS

maybe issue would be good to go with it. unless it's tracked perhaps somewhere already :)

I have issues for this that I'm working on!


Update fr/files.json

Fix a few typos

Thanks for your contribution @jerive!
We're using Transifex to manage our translations, please update the translations there:
https://www.transifex.com/ipfs/ipfs-webui/language/fr/


vert.x - configuration abstraction

Hello,
We should work on abstracting away the configuration of the modules, etc. to interfaces (which are now pure JSON objects). This would make it possible to use more advanced config libraries, such as typesafe-config, using wrapper implementations of those interfaces

Are you referring to https://github.com/vert-x3/vertx-config ?

BTW, we use json because it's a polyglot format. Every language can manipulate json object. It's not necessary the case with other formats.

That looks promising, I'll have to take a closer look. But the problem is not the parsing level, that can be done independently, but the way the verticles have access to a specific class instead of an abstract interface for interacting with the config object.
I suspect that even in case of vertx-config at some point the configuration is trasformed into a json object, which is passed down to the verticles, as the verticles config() must return a json object currently.
I would like to see that abstracted away

My biggest issue with the Json approach is that it is not immutable, as one would expect a configuration descriptor to be, and allows for dirty hacks, which could be avoided.

Well not with the Json approach per se, but the vert.x json implementation is not immutable.


Update FAQ link list style.

Per @yumeforever:

For the question I would use:
links:
text-decoration: none;
color: #29648F;
font-size: 18px;

and no margin on the left
hover:
text-decoration: underline; (I guess)

@yumeforever Assigning to you for review. This is up at https://pages.github.ibm.com/Bluemix/developer.ibm.com-openwhisk/faq


Add Dockerfile for rotate-backups

Simple Docker build file to run this package.
Motivation is to run this as log rotator on my kubernetes cluster.
Image size is ~110MB

Coverage remained the same at 92.718% when pulling 50f9c20d07095aa9726984c060b3ea9dc78da8c0 on pyle:docker-integration into 46346880dd3c84642610e16fd106b9bf1d85e878 on xolox:master.

Coverage remained the same at 92.718% when pulling 50f9c20d07095aa9726984c060b3ea9dc78da8c0 on pyle:docker-integration into 46346880dd3c84642610e16fd106b9bf1d85e878 on xolox:master.


Build failure due to is_viewer

OS: Linux Sabayon, X64
When I try to make, I get the following output: (I always use -j4. It makes Make make faster :smile:)
$ make -j4
[  1%] Linking C executable cen64
CMakeFiles/cen64.dir/pi/is_viewer.c.o: In function `is_viewer_init':
/home/user/misc/Other/Other/cen64/pi/is_viewer.c:21: undefined reference to `libiconv_open'
CMakeFiles/cen64.dir/pi/is_viewer.c.o: In function `write_is_viewer':
/home/user/misc/Other/Other/cen64/pi/is_viewer.c:62: undefined reference to `libiconv'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/cen64.dir/build.make:1814: cen64] Error 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/cen64.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

Do you have libiconv installed?

@Krakn Yes, I do.

Which version?

Libiconv 0-r2~0 according to my package manager.
If it helps, the description reads "Virtual for the GNU conversion library"
I also have Iconv <IP_ADDRESS> installed.
Hope this helps.

Fetch master, blow away your build directory, and rerun cmake.

Great, problem fixed! :smile:
Thanks a lot!


thread-num for nydusd should be configurable?

Now it's set to a fixed value of 10:
https://github.com/containerd/nydus-snapshotter/blob/672434e7b31924f286932de4ea1941f66fb03b59/pkg/process/manager.go#L133-L138

Very much agree


add swing left/right service

Currently it is not possible to set the left/right swing/fan position.
This is due to the climate entity limitations.
Therfore it would be nice to set it trough a service and mayby a input slider or something alike.

There is already a option to enable 3D Auto:

Would be great to control Left/Right fan position (blowing direction). Not all units have this feature, but the units I have do.
The 'Smart M-Air app' gives me the following options;


[CCFPCM-0340] DRAFT automate parse/reconcile

CCFPCM-0340
Objective:

set up event on the s3 bucket to notify the application and run parsing automatically
for local dev: set up a NATS server to receive the event notification from minio
TODO add S3 trigger to aws
TODO validate that all files are parsed. May need to use NATS jetstreaming vs pub/sub approach to ensure "at least once" delivery (using this for local development only)
TODO: ensure file validation is not being bypassed
TODO: trigger reconciliation after all files have been parsed

To Run Locally:
make stop
(delete all of your containers)
make drop
(^^ or just delete the data)
make build
make migrations-run
make minio-init
make sync

not ready for review


cypress-vite not able to preprocess files

Hi!
I get the following error when using cypress-vite as a preprocessor for cypress.
Unable to compile TypeScript:
error TS5095: Option 'preserveValueImports' can only be used when 'module' is set to 'es2015' or later.

Here is my cypress.config.ts:
export default defineConfig({
	e2e: {
		baseUrl: 'http://localhost:4173',
		setupNodeEvents(on) {
			on('file:preprocessor', vitePreprocessor('./vite.config.ts'));
		},
	}
});

Any idea why that might happen?

It might be something in your vite.config.ts or tsconfig?

@flawnn can you share your tsconfig?


feat: rfc for supporting tables in excalidraw

RFC for https://github.com/excalidraw/excalidraw/issues/4847

@Mrazator I have tried incorporating some of your suggestions and answered some of the queries in the updated RFC.
Could you elaborate on what you meant by Defining the order of rows and columns to allow drag and drop?


[CirrusCI] Run FreeBSD tests with Julia 1; add more platforms

dgemmt is failing also here on FreeBSD.  CC: @amontoison

gemmt should be only tested with MKL.
MKL is not available on FreeBSD (we don't have a MKL_jll for this platform).

@giordano The error with FreeBSD is for dgemm and not dgemmt, I am wrong?

Yeah, too similar names.  @ararslan how to install gmake?  The make available doesn't seem to like our makefiles.

how to install gmake?

pkg update && pkg install -y gmake

The make available doesn't seem to like our makefiles.

Yeah, make on BSD is BSD Make, which is incompatible with GNU Make.

Looks like you figured it out on your own 🙂

Yay, it's working!  I'm going to merge this, to have CI working on FreeBSD and Musl Linux.


Downloading RealEstate10K frames fails

Hi,
I am trying to train the network but I haven't been able to download the RealEstate10K frames from the download script. It doesn't give me any errors and the output says that they are downloaded, but none of them are and they all go into failed_videos_train.txt.
Is there a different way I could download these frames to reproduce the results?
Thank you

I just fix the problem on this scipt and it works now.
if it goes to the failed~ file then it's because pytube doesn't work. It's occasional and just try again or use vpn instead. I did encounter that either, but some of the videos can be downloaded. So if "all" go to the failed file, then probably you need to fix something.
if it didn't go to the failed file but the frames are still empty, check if the ffmpeg is successfully installed.
there is a code issue here about the videoname, just change the -2 to -1 as below
videoname_candinate.split('.')[-1] == '/current_' + mode
hope I can help you on this one. It's quite weird that no one explain on this realestate10k downloading problem. If you still have any problems on this one feel free to contact me

Thanks, @PrinceRay7!
Do you still encounter issues with downloading? @violetamenendez

That fixed it! Thank you very much for sharing your fix @PrinceRay7 . And thanks for checking @qianqianwang68 , it is downloading now succesfully

I confronted the same issue. All videos failed to download. Fix the problem by updating the pytube.
The error code, that printed out manually, is [Pytube: urllib.error.HTTPError: HTTP Error 410: Gone]
Try to upgrade, there is a fix in version 11.0.0 or above:
python -m pip install --upgrade pytube

I confronted the same issue. All videos failed to download. Fix the problem by updating the pytube.
The error code, that printed out manually, is [Pytube: urllib.error.HTTPError: HTTP Error 410: Gone]
Try to upgrade, there is a fix in version 11.0.0 or above: python -m pip install --upgrade pytube

This works for me.


[mobile] gate grpc api calls

Commit Message: gRPC API calls are available only if ENVOY_GOOGLE_GRPC is true. Otherwise, they are compiled out. The lack of added #ifdef prevents Envoy Mobile from building for cases when ENVOY_GOOGLE_GRPC is false.
Additional Description:
Risk Level: Low
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

Opened GH issue https://github.com/envoyproxy/envoy/issues/26259 and assigned to @caschoener


Suspected unnecessarily high op cost on callable strings

I can't seem to find any particular reason to add such a massive penalty for string calling when the reported CPU time impact is either negligible or actually superior
if(first()){
    runOnTick(1)
}
vec(1)

Sits at 13 ops and jumps sporadically between 30 to 200+ us
@persist A:string

if(first()){
    runOnTick(1)
    A = "vec"
}
A(1)[vector]

Hovers around 220 ops and 20 to 40 us
Are there any particular reasons for this, am I missing something?

Afaik it has to search all of your udfs first, then all of the builtins every single time repeatedly. Also there's no way to tell if you meant vec(a) or vec(nnn) or vec(v4) etc. You can look at the code yourself here, just looks super bulky already. Maybe the ops can be toned down a little bit if we optimize it

There appears to be a cache for this at line 25

That still loops through the entire cache. No idea why they didn't make it a hashtable if they're just going to do string comparisons..

But ofc the the flat 100 (20 + 40 + 40) ops penalty for a stringcall should be reduced to like 30 if we fix the cache to use a lookup table.

While I was starting to do this I noticed that Divran limited the cache to the last 20 calls, is there any specific reason for this?


[Bug] [api]  cannot delete yarn queue

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
cannot delete yarn queue  in yarn queue manage page. have Not delete button.
What you expected to happen
Want to delete yarn queue
How to reproduce
in yarn queue manage
Anything else
No response
Version
3.1.x
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

can you implement this?

I wanna have a try, can you please assign to me?

I wanna have a try, can you please assign to me?

have assigned to you

#13046


Mammouth: For Mastodon

GitHub Issue

Testflight

Departures

App ID: 66c1wW8y

Description
This is the first beta build of my new Mastodon app, Mammoth.

Please test everything
Note that post details and various profile actions don’t work yet

If you have any questions or feedback, please get in touch. Mammoth was created by an incredibly small team of one and I’d love to hear your thoughts. I’m available through Twitter @JPEGuin and Mastodon<EMAIL_ADDRESS>Developer Contact
Shihab Mehboob

Mastodon
Twitter

iPadOS Lock Screen Notifications


Question about Dependency (json-schema/json-schema-test-suite)

I was looking through a recent composer.lock file after adding a dev dependency that includes justinrainbow/json-schema and noticed that there was a require-dev entry listed as: "json-schema/json-schema-test-suite": "1.2.0".
When I checked packagist.org to see what this package was about, I landed on the following page after searching for json-schema/json-schema-test-suite:
https://packagist.org/packages/json-schema/json-schema-test-suite
This package doesn't look like it has very many installs and has a lot of "test" related meta information.
Am I looking in the wrong place for information about the dev dependency of json-schema/json-schema-test-suite?
If so, where can I find information about the actual dependency used by justinrainbow/json-schema?

This library does not depend on the package you have linked to. The entry in composer.json does not refer to it, although Packagist seems to be a little confused, as it lists this library as a dependent.
The dependency actually refers to this test suite, which is used to validate this library's validation logic against the official JSON schema specification. The test suite is not available via packagist, and is therefore defined in composer.json as a direct repository reference.


Multiple "sure you want to quit?" dialogs

When MacBook pro tried to go to sleep/auto shutdown goki prevented shutdown (good!), but it opened up many, many dialog windows as shown in the "all desktops" view:

added logic to widgets app to not show repeated prompts


How do I make the font scalable?

I really like Tewi, but the font size is too small for my bad eyes. Can we get other sizes?

no


3.2.2 Stuck On GLB Import

GLES3, Windows 10, RTX 2070
Issue description:
Was importing basic glb file (which came from Blender export), the engine froze instantly and never recovered. Upon re-opening the program it continues with this fatal error.
Steps to reproduce:
When my main mesh has a child mesh (collider) named "-colonly" without a proceeding mesh name, it will crash consistently on import.
To anybody who runs into this problem of it infinitely crashing your project, just go to the folder and delete the import object from the actual Godot project files. It'll then open correctly.

@joshchristiane https://github.com/godotengine/godot/blob/master/CONTRIBUTING.md#provide-a-simple-example-project

Closing due to no reply. Please comment if you can still reproduce in 3.2.2+.


[tool_crash] ArgumentError: Invalid argument(s): Invalid type for "path": null

Command
flutter create --ios-language swift --android-language kotlin .

Steps to Reproduce

...
...
...

Logs
ArgumentError: Invalid argument(s): Invalid type for "path": null
#0      FileSystem.getPath (package:file/src/interface/file_system.dart:160:7)
#1      LocalFileSystem.directory (package:file/src/backends/local/local_file_system.dart:23:41)
#2      ErrorHandlingFileSystem.directory (package:flutter_tools/src/base/error_handling_io.dart:118:24)
#3      _templateImageDirectory (package:flutter_tools/src/template.dart:290:21)
<asynchronous suspension>
#4      Template.fromName (package:flutter_tools/src/template.dart:75:32)
<asynchronous suspension>
#5      CreateBase.renderTemplate (package:flutter_tools/src/commands/create_base.dart:380:31)
<asynchronous suspension>
#6      CreateBase.generateApp (package:flutter_tools/src/commands/create_base.dart:398:23)
<asynchronous suspension>
#7      CreateCommand.runCommand (package:flutter_tools/src/commands/create.dart:259:31)
<asynchronous suspension>
#8      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1157:12)
<asynchronous suspension>
#9      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1009:27)
<asynchronous suspension>
#10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#11     AppContext.run (package:flutter_tools/src/base/context.dart:149:12)
<asynchronous suspension>
#12     CommandRunner.runCommand (package:args/command_runner.dart:197:13)
<asynchronous suspension>
#13     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:278:9)
<asynchronous suspension>

[✓] Flutter (Channel stable, 2.0.4, on Linux, locale en_US.UTF-8)
    • Flutter version 2.0.4 at /home/tasu/snap/flutter/common/flutter
    • Framework revision b1395592de (7 days ago), 2021-04-01 14:25:01 -0700
    • Engine revision 2dce47073a
    • Dart version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /home/tasu/Android/Sdk
    • Platform android-29, build-tools 28.0.3
    • Java binary at: /usr/lib/jvm/java-8-openjdk-amd64/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_282-8u282-b08-0ubuntu1~18.04-b08)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] IntelliJ IDEA Community Edition (version 2019.2)
    • IntelliJ at /opt/idea
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.54.2)
    • VS Code at /usr/share/code
    • Flutter extension version 3.21.0

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 88.0.4324.182

! Doctor found issues in 1 category.

Flutter Application Metadata
No pubspec in working directory.

Hi @totalitdevelopers
There's similar open issue describing your case, https://github.com/flutter/flutter/issues/56811
Follow-up there for updates. Closing this as duplicate.


bilinear pooling layer

Hi,
you proposed to use bilinear pooling instead of first-order average pooling in the original resnet, as mentioned in the paper.
However, I found the average pooling is kept in the implementation of resnet (BaseCNN.py). A bilinear pooling layer is added on top of that, no?

Yes, I didn't remove the original 1000-dim fc layer. But it will not be updated during the training and has no effect during the testing.


[Question - Request] How can I limit number messages with time per socket?

Hi guys,
I wanna apply mechanism about limit messages per socket with time. I have searched for this issue but found no one has suggested or asked about this issue. Though, i also resolve this problem with count the message sent from socket and store limit parameters in cache. But the problem here is message still have to transmit to server. If the system suffers so many time, to a certain threshold, server maybe crash. So, I need request the mechanism temporary disconnect with setup limit message in times per socket.
Thanks!

@tangquoctuan There is no default option to do rate limiting in SC but it should be easy to implement it on your own using middleware. See https://socketcluster.io/#!/docs/middleware-and-authorization

@tangquoctuan You can use the sc-publish-out package and modify it to add a timeout or something to message pushing. I will accept pull requests.


A table disappears after being created

EdgeDB Version: alpha-2
OS Version: the edgedb/edgedb docker

Hi!
I created this repo to make it easy to reproduce the problem: https://github.com/Mulugruntz/edgedb-playground/tree/b241ebd66e5b873ba3c446c96d9d057b08130698
Everything is explained there in the README.
But basically, a table creation that was committed seems to have disappeared after another table creation.
I tried to follow all the examples and documentation on the website. And I'm not sure whether it's a bug on EdgeDB side (I doubt it) or a documentation issue that could be improved (maybe) or something else.
I can also reply to messages on irc (I'm on #python and #python-fr, I'll reply if you send a message to my nic: Mulugruntz).
Thanks for your great work!
PS: I've also sent a question there but as I'm not sure whether it's a bug or me not understanding how to use the api, I'm posting it here as well.

This is working as intended.  You are using a MIGRATION to amend the schema, and the migration block must include the entire schema, not just the new additions.  For incremental, programmatic schema modifications you want to use the imperative DDL syntax instead. So:
conn.execute("""
CREATE TYPE B { ... };
""")

instead of
conn.execute("""
CREATE MIGRATION m TO {
module default {
  type B
}};
""")

@vpetrovykh we need to ensure that the semantics of CREATE MIGRATION is clear from the docs.

Ohhhhh 😱
Now I see! Yeah, the documentation is not clear... yet 😉.
That's confusing as (I just did a quick check after reading your explanation), the migration term is used by many systems (Django, Laravel, Rails, MS Entity Framework, FlywayDB, ...) to describe the changes to apply to migrate to a new schema... and not the target schema itself.
Anyway, that's still a very cool objective!!
But yeah, reusing semantics for different things may make it harder to "migrate" db skills 😜
Thanks!

and not the target schema itself.

In Django etc. the target schema is implicitly read from your models.  In EdgeDB you have to let the database know the desired state of the target schema somehow, but the end result -- the migration object is exactly like the one in an ORM framework -- a script to migrate to a certain schema state.
We are working on adding the necessary tooling to enable the familiar migration workflows, please see RFC 1000 for some details.

Thanks! I stumbled upon RFD 1000 this afternoon when I was trying to understand what was happening.
And you're right... the keywords are "create migration", implying that the command creates a migration and is not a migration itself. Makes sense (now that I have been given the solution ^^).


Interactive effects on all profiles?

Is there any way to have an option to apply interactive effects on all profiles?

yeah this would be very nice.

There will be an option to add an interactive effect to any profile you want. But it's not a "global interactive effect", you will have to configure each one.

will this implemented in the next update or do i have to do something with the actual version?

If you compile the dev version, you can add an interactive effect to any profile now. It's not "global interactive effect" like I said before, but it works.

i´ve tried several thing but no results for me.. :( is there anywhere a step by step introduction how to compile and edit the dev version? sorry :(


Added support for the new blocked state on the Pipelines page

Blocked builds will now show with the correct icon and will appear in the graph

OMG YOLO MERGE


Image transformations

Fixes #394

[x] Decide on configuration format; only applies to images, so is postTypes[type].media the right place to provide transformation options?
[ ] Add tests
[ ] Add documentation

I tried this branch locally via the file upload UI and it worked well enough. One reason I had suggested a more general image transformation was because there are so many options like image quality and whether or not to include metadata, but the simplicity of a config options feels really approachable with options for other config values later.
I noticed that squoosh seems to output still smaller files even with the quality set to 80 (I think that's sharp's default). I'd be curious what the difference is.
I also realized while looking at the code that all images would use the "photo" config and that you wouldn't have different sizes for images in articles vs images in notes. I think one config is fine but it was slightly confusing having that on the postType config.

I also realized while looking at the code that all images would use the "photo" config and that you wouldn't have different sizes for images in articles vs images in notes.

 I wanted to check for file type, but have instead used the post type; I got that mixed up. The idea is that you could do something like the following:
postTypes: {
  article: {
    name: "Blog post",
    media: {
      resize: {
        width: 1024
      }
    }
  },
  photo: {
    name: "Photography",
    media: {
      resize: {
        width: 2400
      }
    }
  }
}

Although, I’m now wondering if it’s possible for media transformations to be keyed of field names, something like:
postTypes: {
  article: {
    name: "Blog post",
    fields: {
      content: { // Not sure how images can be includes in content yet!
        resize: { width: 1600 },
        required: true
      },
      featured: {
        resize: { width: 1200, height: 630 },
      }
    }
  },
  photo: {
    name: "Photography",
    fields: {
      photo: {
        resize: { width: 2400 },
        required: true
      }
    }
  }
}

Thinking about this a bit more, I think processing options need to be at the media endpoint level, as opposed to something set for each post and/or post fields.
Firstly, I don’t think its possible, but also the media endpoint should be post type agnostic; it just gets a media file, uploads it, and returns the URL where it’s been stored.
So, the proposed configuration format would be as follows:
export default {
  publication: {
    me: "https://website.example",
  },
  plugins: [
    // "@indiekit/endpoint-media", Don’t need to add to `plugins` as installed by default
  ],
  "@indiekit/endpoint-media": {
    "imageProcessing": {
      "resize": {
        "width": 320,
        "height": 320,
      },
    },
  },
};

@aciccarello Thoughts? This is the last feature I want to add before releasing Beta 10 hopefully this week – it’ll be a juicy one!

Going to merge this and ship with Beta 10. More options can be added, and refinements made, but need to use this in anger to know where to focus efforts, and to get feedback from users.


OpenBLAS and LAPACK

Hi everyone,
I would like to know how to link OpenBLAS and LAPACK libraries to the fortran code.
Could someone give a CMakeLists.txt example of how to link those libraries?
Thank you

Can you please explain where your confusion lies? This template is an example of how to use those libraries.

Thank you very much, I made it work.
I seemed to be an issue with the Path of Lapack library


vscode Live Server Doesn't link CSS

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->
[ ] Feature request
[ ] Documentation issue or request
[ ] Other: <!-- Please describe: -->

Current behavior
When I go live, my index.html file updates after each save in my browser window, but none of my CSS shows up.
For example, if I have  This is a paragraph. in my index.html, it will show up and update if I change anything to it, but if/when I have p {color: blue;} in my style.css file, nothing will change. I am also able to right click my index.html file and it prompts me with "Open with Live Server", but no such option appears if I right click my style.css file.
Expected behavior
Anytime I add or change CSS when using Live Server, I expect it to show up/update.
Environment
Browser:

- [x] Chrome (desktop) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:

- Live Server: v5.6.1
- Platform:  Mac
- Visual Studio Code: v1.48.2

Others
Thank you in advance!

I'm very new to this and I didn't link my external css to the html.


Added animations for ebpf and opa

Description
Added animations for ebpf and opa on the catalog page.
Need some design recommendation and description for ebpf and opa

This PR fixes #
Notes for Reviewers
Signed commits

[ ] Yes, I signed my commits.

Good! A small item:
Update the color used in the vertical bar shown on hover of each of the new icons.


Should use 100 proposals for evaluation for fair comparisons with other method.

It seems that you are using self.num_proposals proposals for evaluation, as shown here, while the common practice in COCO evaluation is to use 100 proposals.
I test the performance of R50_300pro_3x model using the top100 scoring proposals:

proposal
AP
AP50
AP75
APs
APm
APl

100
44.875
63.874
48.869
27.565
47.418
59.588

300
45.028
64.130
49.034
27.758
47.549
59.664

Though the performances are very close to those using 300 proposals, I feel they should be corrected for fair comparisons.

It seems that you are using self.num_proposals proposals for evaluation, as shown here, while the common practice in COCO evaluation is to use 100 proposals.
I test the performance of R50_300pro_3x model using the top100 scoring proposals:
proposal	AP	AP50	AP75	APs	APm	APl
100	44.875	63.874	48.869	27.565	47.418	59.588
300	45.028	64.130	49.034	27.758	47.549	59.664
Though the performances are very close to those using 300 proposals, I feel they should be corrected for fair comparisons.

In their paper, Table 1, Sparse R-CNN-R50/R101 is what you said using 100 proposals, and the one with "*" use 300 proposals actually.

@lt1103725556 in Table1, the models trained with 100 proposals are evaluated with 100 proposals, which is the correct setting. However, for models that are marked with "*" (i.e., trained with 300 proposals), the evaluation should still be performed with 100 proposals, rather than 300 proposals as done in the code, so as to be consistent with the previous approaches.


Update GlobalResources.nl-NL.resx

Correctie in html weergave van sommige e-mailvelden.

Some explanations here https://stackoverflow.com/questions/2784183/what-does-cdata-in-xml-mean

@valadas: The issue was that the corrected fields dit generate incorrect mails with only HTML code. So I have copied the original text and did the translation. So I followed the original file in this case to correct the problem.

Sorry! I will recheck the file.


fix scrape failures on ch 18.5.x+

I encountered this problem just now and saw your PR. Thanks for fixing it. Now I need to figure out how to get a docker container with the fix :-)

@valo https://hub.docker.com/r/tkroman/clickhouse_exporter_fresh/
built a newer docker based on my fork. as a bonus you get an actually working dockerfile :)

Deployed the image and it works great! Thanks for providing this

Thanks @tkroman . Do you mind if I borrow you build file for docker-image?

Sure, go ahead.


Window fuzzer test failure in CI

Bug description
https://github.com/facebookincubator/velox/actions/runs/12334871263/job/34426252753
This failure happens at commit-time.
System information
CI
Relevant logs
No response

The failed iterations was
I20241214 18:52:02.716722   586 WindowFuzzer.cpp:409] ==============================> Started iteration 286 (seed:<PHONE_NUMBER>)
I20241214 18:52:02.718173   586 AggregationFuzzerBase.cpp:450] Executing query plan:
-- Window[1][partition by [p0] order by [row_number ASC NULLS LAST] w0 := classification_precision(ROW["c0"],ROW["c1"],ROW["c2"]) ROWS between<PHONE_NUMBER>124059165 FOLLOWING and UNBOUNDED FOLLOWING] -> c0:BIGINT, c1:BOOLEAN, c2:DOUBLE, p0:BOOLEAN, row_number:BIGINT, w0:ARRAY<DOUBLE>
  -- Values[0][500 rows in 10 vectors] -> c0:BIGINT, c1:BOOLEAN, c2:DOUBLE, p0:BOOLEAN, row_number:BIGINT
I20241214 18:52:02.720964  3889 Task.cpp:1201] All drivers (1) finished for task test_cursor 1330 after running for 2ms
I20241214 18:52:02.720976  3889 Task.cpp:1966] Terminating task test_cursor 1330 with state Finished after running for 2ms
I20241214 18:52:02.721484   586 PrestoQueryRunner.cpp:798] Execute presto sql: DROP TABLE IF EXISTS tmp
I20241214 18:52:02.735339   586 PrestoQueryRunner.cpp:798] Execute presto sql: CREATE TABLE tmp(c0, c1, c2, p0, row_number) WITH (format = 'DWRF') AS SELECT cast(null as BIGINT), cast(null as BOOLEAN), cast(null as DOUBLE), cast(null as BOOLEAN), cast(null as BIGINT)
I20241214 18:52:02.793249   586 PrestoQueryRunner.cpp:798] Execute presto sql: SELECT "$path" FROM tmp
I20241214 18:52:02.883687   586 PrestoQueryRunner.cpp:798] Execute presto sql: DELETE FROM tmp
I20241214 18:52:02.926111   586 PrestoQueryRunner.cpp:798] Execute presto sql: SELECT c0, c1, c2, p0, row_number, classification_precision(c0, c1, c2) OVER (PARTITION BY p0 ORDER BY row_number ASC NULLS LAST  ROWS BETWEEN<PHONE_NUMBER>124059165 FOLLOWING AND UNBOUNDED FOLLOWING) FROM tmp
E20241214 18:52:03.097422   586 Exceptions.h:66] Line: /__w/velox/velox/velox/velox/exec/fuzzer/WindowFuzzer.cpp:704, Function:verifyWindow, Expression: assertEqualResults( expectedResult.value(), plan->outputType(), {resultOrError.result}) Velox and reference DB results don't match, Source: RUNTIME, ErrorCode: INVALID_STATE
/__w/velox/velox/velox/velox/exec/tests/utils/QueryAssertions.cpp:1167: Failure
Failed
Expected 500, got 500
500 extra rows, 500 missing rows
10 of extra rows:
	43958 | null | 1.614066005835391E308 | null | 56 | null
	43958 | null | 1.249509044542672E308 | null | 73 | null
	43958 | null | 1.0352077108850509E308 | null | 133 | null
	43958 | null | 1.4197168072885737E308 | null | 222 | null
	43958 | null | 1.5812716007918045E308 | null | 251 | null
	43958 | null | 1.2735686950279541E308 | null | 256 | null
	43958 | null | 3.911438594915475E307 | null | 257 | null
	43958 | null | 1.2969345942976502E307 | null | 258 | null
	43958 | null | 1.26088371317719[55](https://github.com/facebookincubator/velox/actions/runs/12334871263/job/34426252753#step:6:56)E308 | null | 273 | null
	43958 | null | 1.7284583913651944E308 | null | 275 | null

10 of missing rows:
	43958 | null | 1.614066005835391E308 | null | [56](https://github.com/facebookincubator/velox/actions/runs/12334871263/job/34426252753#step:6:57) | []
	43958 | null | 1.249509044542672E308 | null | 73 | []
	43958 | null | 1.0352077108850509E308 | null | 133 | []
	43958 | null | 1.419716807288[57](https://github.com/facebookincubator/velox/actions/runs/12334871263/job/34426252753#step:6:58)37E308 | null | 222 | []
	439[58](https://github.com/facebookincubator/velox/actions/runs/12334871263/job/34426252753#step:6:59) | null | 1.5812716007918045E308 | null | 251 | []
	43958 | null | 1.2735686950279541E308 | null | 256 | []
	43958 | null | 3.911438[59](https://github.com/facebookincubator/velox/actions/runs/12334871263/job/34426252753#step:6:60)4915475E307 | null | 257 | []
	43958 | null | 1.2969345942976502E307 | null | 258 | []
	43958 | null | 1.2[60](https://github.com/facebookincubator/velox/actions/runs/12334871263/job/34426252753#step:6:61)8837131771955E308 | null | 273 | []
	43958 | null | 1.7284583913651944E308 | null | 275 | []

Unexpected results

Close this issue since it has been fixed in https://github.com/facebookincubator/velox/pull/11864.


Option to provide the resulting command on the prompt before execution

Feature request: Allow seeing the command before execution
This change would let a user choose a command and variables, and have the result returned to the shell. The user can then give it a quick eyeball and hit <ENTER> if happy.
ie, I want the sequence to look like

I choose a cheat:

I prepare it

I "receive the prepared result"

I see it looks good and hit <ENTER>

Rationale

The user may see something wrong before execution (eg suddenly see "production" is in the firing line...)
User shell highlighting may identify syntax issues before execution.
The user may want all commands they execute in their history (I do).

It can be a config / ENV switch for those who don't (I don't mind if this is not default behaviour).
Thanks!

I believe that what you want is already implemented: https://github.com/denisidoro/navi/blob/master/README.md#shell-widget

Aha, thank you! I also didn't notice running the command navi does not give this functionality, but when using CTRL+G it does. Can we expose it as a switch?

AFAIK, a command can't print to the prompt line. Only to stdout/stderr/file descriptors.
Hence the need to do this at a shell level.

No problem, thanks for the clarification! :+1:


Finish off Angular 1.x sample application TODOs to be used for porting to React/Redux

https://github.com/MatthewVita/angular-to-react/tree/sample-applications/samples/patient-demographics-example#todos

@danielehrlich is going to write the contact directive unit tests
I am going to switch everything over to John Papa style guide

cc @ShaneChesnutt

Actually this was very easy to do. Once you separated out the Basic Info Controller and the Contact Info Controller to their own files, I realized how super similar they were. The testing became very easy that point. Either way good chance to learn about Jasmine, which I had not used previously (I avoided it with React but I think it's pretty popular because Jest is built on top of it and Facebook uses Jest).