After installing, build becomes slow

Hi,
After installing this depedency, my build becomes very slow

Share your app.


XAxisUnscaled doesn't play well with zoom making unzoom impossible

When data are continuously coming in, it is impossible to fully unzoom when XAxisUnscaled.
We should return the zoom tracker back to unzoomed state once we hit the "baseX" view.

Secondly when we zoom in and out while the baseX is allowed to scroll, there is a scenario where min > max. Needs investigation:

panic: container.Draw => error: unable to draw widget *linechart.LineChart: failed to create zoomed X axis: invalid min:316, max:311, must be min <= max
goroutine 1 [running]:
main.main()
/Users/mum4k/go/src/github.com/mum4k/termdash/widgets/linechart/linechartdemo/linechartdemo.go:122 +0x6b6
exit status 2

These are two separate issues:

The FSM of the zoom tracker never gets back to the fully unzoomed state.
We have a very basic race - LineChart.Mouse isn't protected by mutex. This causes a race between a mouse event and a redraw.

Fixed in the devel branch.


What's the status of the native Mac client?

Hey,
I'm looking to use FreeRDP as part of a Mac application. It looks awesome, but I'm looking to use the native client from client/Mac rather than the X11-based one.
Unfortunately, while xfreerdp works for me, the native Mac app refuses to show anything but a grey background (xfreerdp shows a grey background plus a proper login screen with the same command-line options).
This is actually an improvement from a few weeks ago, when I could only get a black screen out of the box. After a few hours of debugging, I managed to get it to render part of the screen. Unfortunately, I cannot name the culprit because I was trying all sorts of crazy things. I think that a major progress has been made when I rewrote drawRect to use CoreImage APIs rather than NSBitmapImageRep (but it was late at night and I might have been confused).
I have reset to the master's HEAD today, and I'm getting a grey screen as mentioned above. So yay, some rendering works, but I figured that it's time to get in touch.
What's the current state of the client/Mac port? What remains to be done?

Closing due to lack of feedback.


feat: Adds a smarter default for in_project

Fixes #116

Can you add a test case for this in payload_test.exs ?

Added the test


freeze seem does not work?

    def freeze_model(self):
        '''
        Freeze the model parameters (Mapping)
        '''
        for param in self.model.embed_fn.parameters():
            param.require_grad = False

        for param in self.model.decoder.parameters():
            param.require_grad = False

Here require_grad should be requires_grad, is it necessary to unfreeze after optimizing the pose? Or has it not been frozen, and has been jointly optimized?

Hi @ZZy129326999, thank you for reporting this. I forget to delete freeze_model() in the released version. Ideally, yes, you need an unfreeze_model() to unfreeze the model. However, in our case, the model params have not been jointly optimised as only the pose optimiser has been used during tracking. Please see below.
https://github.com/HengyiWang/Co-SLAM/blob/49cf9e6f947b7e13d453eb8070dee3974d959a50/coslam.py#L479
I have updated the code to remove this function that actually does nothing... Please feel free to contact us if you have any further questions:)

Thank you very much !! I learn a lot by your perfect work of which code format is very good. Look forward your futher work!


xRAT client deployer

We can make an app only having app logic to download the main xRAT Client.exe ( say from an ftp server) so that the deployer application will not be flagged as virus. Moreover, this can be used as an updater and also a persistence which checks if the client.exe runs and if that client.exe is not running, it will start it again.

Sure, can be useful. But not important at the moment. If someone wants to do this, feel free to do it and send a pull request.


suds-jurko -> suds-community

The currently used fork "suds-jurko" is not maintained, see:

https://bitbucket.org/jurko/suds/issues/136/looking-for-maintainer-team
https://bitbucket.org/jurko/suds/issues/117/please-release-new-version

There is a new fork here:

https://pypi.org/project/suds-community/

As it is causing a lot more problems then solutions right now I won’t be including this in the first py3 compatible release right now, I’ll focus on fixing the namespace issue with suds-jurko first.

I don't think the difference between "suds-jurko" and "suds-community" is relevant.
"suds-community" contains just more bug fixes and didn't change the API, isn't it?
But it is also easy to swap the packages and test if it makes a difference.

👋 Hi, happy to see that folks are interested in using suds-community.
Looking at the setup.py of this project, it looks like you're using suds-jurko v0.6 (https://pypi.org/project/suds-jurko/#history) which was the last released version of suds-jurko. There were many changes to master that were never released, so suds-community was started to release those changes and provide a path forward.
I'm sorry to hear that you're having an issue - briefly reading the description, it does sound like it might be related to https://github.com/suds-community/suds/issues/3.

@phillbaker It's clear that there's going to be a change from suds-jurko to suds-community
I've tried this before. A simple replacement breaks the functionality. So, code modifications are necessary. Is there a overview about migration somewhere?

@jedie there shouldn't be a migration necessary - this is the first instance I've heard of major compatibility differences.
I took a quick look at the wsdl/xsd, https://github.com/django-oscar/django-oscar-docdata/blob/d4aaf9d0222da3ea2229be9aec7ee8ef3e5de99d/oscar_docdata/gateway.py#L72
I will point out that for some of the elements you're trying to factory.create, e.g. Quantity, they're not defined as top level objects in the XSD, but only as sub-objects of Item. If you do factory.create('ns0:item') at the console you'll see that it has a quantity object initialized:
(item){
   name = None
   code = None
   quantity =
      (quantity){
         _unitOfMeasure = ""
      }
   description = None
   image = None
   netAmount =
      (amount){
         value = None
         _currency = ""
      }
   grossAmount =
      (amount){
         value = None
         _currency = ""
      }

As well, I think the .namespace() call isn't quite right - you're looking for the prefix, not the namespace.
In the examples where you had multiple prefixes (ns0 and ns1) are you able to print out the client (e.g. print(Client('https://test.docdatapayments.com/ps/services/paymentservice/1_3?wsdl')))? That might help diagnosis where the extra prefix is coming from.


Introduce --remote flag

When given, --remote would wipe the branch remotely, too, and not by default.

Covered by 357cc390aff1f96e8c18fcf1e4de848d0bee40eb...4154f2069e7ca78f6c5dbd300ccd1cc8a0755421.


个人设置->基本设置页面 vue-cropper 报错,有时候又能加载

vue-router.esm.js?8c4f:1897 TypeError: t.component is not a function
at h (index.js?7e79:1)
at Module.eval (index.js?7e79:1)
at o (index.js?7e79:1)
at eval (index.js?7e79:1)
at eval (index.js?7e79:1)
at eval (index.js?7e79:1)
at eval (index.js?7e79:1)
at Object../node_modules/vue-cropper/dist/index.js (44.js:10)
at webpack_require (app.js:767)
at fn (app.js:130)

ref https://github.com/sendya/ant-design-pro-vue/issues/121


WIP: Initial test pipelines

smoke test please

smoke test please

Whew I had fun getting the pip install for this to work on the jenkins-slave-base-centos7 image, the fastparquet build kept failing, finally got it working by installing this extra devel stuff:
RUN yum makecache && \
    yum install -y epel-release && \
    yum install -y yum-utils snappy-devel python36 python36-setuptools python36-devel gcc gcc-c++ && \
    yum-config-manager --enable extras && \
    yum makecache && \
    yum install -y clang && \
    yum clean all -y

This is ready now too

@AparnaKarve Travis is not out of picture at all. We're gonna keep that for unit testing and linting. I don't want to give up the steering wheel completely, since:

We're still responsible for unit testing and code quality.
Travis and Jenkins can work together. It may seem like there is complete redundancy, and that's fine. 3. We have to keep in mind that AI Ops is intended for other purposes than just Insights, though this Jenkins setup is tied to insights OpenShift clusters, but we need to be capable working outside of that.
You need insights-dev cluster credentials to view the test results from Jenkins. Travis is open by default.

@tumido Ok, all good points above of why Travis should still be around - I don't mind the redundancy at all.
I was just going by this, and did not see Travis CI, hence the assumption that we would not be using Travis -

@AparnaKarve yes, that's just because we don't have Travis available for this dummy-ai repo yet (all the others are enabled, this is the only one missing). :wink:


ConPTY: Avoid WINDOW_BUFFER_SIZE_EVENT when the viewport moves

SetConsoleWindowInfoImpl calls PostUpdateWindowSize, which emits a
CM_SET_WINDOW_SIZE event, which causes _InternalSetWindowSize to be
called, which calls ScreenBufferSizeChange which then finally emits a
WINDOW_BUFFER_SIZE_EVENT event into the client input buffer.
This messes up applications like which make use of
WINDOW_BUFFER_SIZE_EVENT to perform potentially lossy operations.
In case of SSH this results in a resize (SIGWINCH) of the server-side
screen which similarly may result in a response by the shell, etc.
Since that happens over networks and is async, and because our conhost
VT viewport implementation appears to have a number of subtle bugs,
this results in duplicate output lines (sometimes hundreds).
Under Windows Terminal this issue is not as apparent, since ConPTY has
no viewport that can be moved and no scrollback. It only appears as an
issue if a terminal application reacts poorly to the SIGWINCH event.
Closes #15769
Validation Steps Performed

Set a breakpoint in SynthesizeWindowBufferSizeEvent
Launch WSL and cause the viewport to move down
No calls to SynthesizeWindowBufferSizeEvent ✅
Execute tput reset
Input line moves to row 0 ✅

Wait does this do anything about #281?

Wait does this do anything about https://github.com/microsoft/terminal/issues/281?

No, that'd be a breaking change at this point, so this PR just avoids calling SetConsoleWindowInfo.
...but I think we should do that breaking change anyways very soon. It's only been 6 years since WINDOW_BUFFER_SIZE_EVENT was broken, but it's been >20 years before that. We should revert it, introduce separate messages and opt-ins or similar. The longer we wait the worse it gets IMO. (Especially since that the issue was reported 5 years ago.)


Undefined constant Mollie\Api\Types\PaymentMethod::POINT_OF_SALE

An update of the Mollie plugin from version 4.1 to version 4.2.0 was not possible.
I therefore uninstalled the plugin and reinstalled it.
When I click on "Activate" I get the following error message:
Undefined constant Mollie\Api\Types\PaymentMethod::POINT_OF_SALE
The plugin has not yet been activated and has no API keys stored. This is my test shop.
Shopware Version <IP_ADDRESS>
Mollie Plugin 4.2.0

Hey,
no there is no mollie-php framework in the shopware root vendor folder.
In the composer.json I can see this:
"vendor/mollie/mollie-api-php/src/"
Maybe I just found the issue. We are using a plugin for subscription based ecommerce by codeenterprise. This plugin uses: mollie-api-php aswell.


Failing upgrade from 0.3.3 to 0.4.5

Hello,
I have tried to upgrade the cashu extension from 0.3.3 to 0.4.5 and got an immidiate error in the logs.
Is this an error with lnbits itselve or within the cashu extension?
Log file
2024-02-27 09:26:35.40 | INFO | Downloading extension cashu (0.4.5).
2024-02-27 09:26:35.78 | INFO | Extracting extension cashu (0.4.5).
2024-02-27 09:26:35.81 | SUCCESS | Extension Cashu (0.4.5) installed.
2024-02-27 09:26:36.34 | INFO | <IP_ADDRESS>:41674 - "DELETE /cashu/api/v1?usr=595def65334______b264b9875be06 HTTP/1.1" 404
2024-02-27 09:26:36.34 | WARNING | Client error '404 Not Found' for url 'http://<IP_ADDRESS>:5000/cashu/api/v1?usr=595def65334______b264b9875be06'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404
2024-02-27 09:26:36.36 | INFO | <IP_ADDRESS>:41658 - "POST /api/v1/extension HTTP/1.1" 200
2024-02-27 09:26:36.37 | ERROR | caught exception in background task:
2024-02-27 09:26:36.37 | ERROR | sqlite3.OperationalError: error in view balance_issued: no such column: s
The above exception was the direct cause of the following exception:
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) error in view balance_issued: no such column: s
[SQL: ALTER TABLE invoices RENAME COLUMN pr TO bolt11]
(Background on this error at: http://sqlalche.me/e/13/e3q8)
2024-02-27 09:26:36.37 | ERROR | will restart the task in 5 seconds.
2024-02-27 09:26:37.35 | INFO | <IP_ADDRESS>:41658 - "GET /extensions?activate=cashu HTTP/1.1" 200
2024-02-27 09:26:41.38 | ERROR | caught exception in background task:
2024-02-27 09:26:41.38 | ERROR | sqlite3.OperationalError: error in view balance_issued: no such column: s
I cannot make sense of the line. Some access error during the update process.

2024-02-27 09:26:36.34 | INFO | <IP_ADDRESS>:41674 - "DELETE /cashu/api/v1?usr=595def65334______b264b9875be06 HTTP/1.1" 404

LNbits startup
2024-02-27 09:45:02.56 | INFO | Started server process [96283]
2024-02-27 09:45:02.56 | INFO | Waiting for application startup.
2024-02-27 09:45:02.87 | INFO | ✔ All migrations done.
2024-02-27 09:45:02.94 | INFO | Initialized webpush settings with generated VAPID key pair.
2024-02-27 09:45:02.94 | INFO | Pubkey: BM0JTWFKjTPmnfkQTIy3________
2024-02-27 09:45:02.94 | INFO | Starting LNbits
2024-02-27 09:45:02.94 | INFO | Version: 0.12.2
2024-02-27 09:45:02.94 | INFO | Baseurl: http://<IP_ADDRESS>:5000/
2024-02-27 09:45:02.94 | INFO | Host: <IP_ADDRESS>
2024-02-27 09:45:02.94 | INFO | Port: 5000
2024-02-27 09:45:02.95 | INFO | Debug: False
2024-02-27 09:45:02.95 | INFO | Site title: LNbits
2024-02-27 09:45:02.95 | INFO | Funding source: LndRestWallet
2024-02-27 09:45:02.95 | INFO | Data folder: ./data
2024-02-27 09:45:02.95 | INFO | Database: SQLite
2024-02-27 09:45:02.95 | INFO | Service fee: 0.2
2024-02-27 09:45:02.95 | INFO | Service fee max: 200
2024-02-27 09:45:02.95 | INFO | Service fee wallet: 1d031681b924422da54c____________
2024-02-27 09:45:03.01 | SUCCESS | ✔ Backend LndRestWallet connected and with a balance of _____000 msat.
2024-02-27 09:45:03.01 | INFO | Installed Extensions (7):
2024-02-27 09:45:03.01 | INFO | boltcards (0.0.5)
2024-02-27 09:45:03.01 | INFO | lnurlp (0.4.4)
2024-02-27 09:45:03.02 | INFO | usermanager (0.4.0)
2024-02-27 09:45:03.02 | INFO | withdraw (0.1.5)
2024-02-27 09:45:03.02 | INFO | lndhub (0.3.2)
2024-02-27 09:45:03.02 | INFO | lnurldevice (0.5.8)
2024-02-27 09:45:03.02 | INFO | tpos (0.6.0)
2024-02-27 09:45:03.27 | INFO | Task: checking all pending payments (incoming=True, outgoing=True) of last 15 days
2024-02-27 09:45:03.28 | INFO | Application startup complete.
2024-02-27 09:45:03.28 | INFO | Task: pending check finished for 0 payments (took 0.004 s)
2024-02-27 09:45:03.28 | INFO | Uvicorn running on http://<IP_ADDRESS>:5000 (Press CTRL+C to quit)
2024-02-27 09:45:03.34 | INFO | Task: expired invoice deletion finished (took 0.055 s)
Regards

Ist this maybe related to issue #67


Error importing Pyfhel in Google Colab

I am trying to use Pyfhel library in google colab. Installation is working using pip, but when I try to import it, it gives me some error like this
from Pyfhel import Pyfhel

RuntimeError                              Traceback (most recent call last)
__init__.cython-30.pxd in numpy.import_array()

RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf . Check the section C-API incompatibility at the Troubleshooting ImportError section at https://numpy.org/devdocs/user/troubleshooting-importerror.html#c-api-incompatibility for indications on how to solve this problem .

During handling of the above exception, another exception occurred:

ImportError                               Traceback (most recent call last)
[<ipython-input-11-46249fb4e0b0>](https://localhost:8080/#) in <cell line: 2>()
      1 import numpy as np
----> 2 import Pyfhel

[/usr/local/lib/python3.9/dist-packages/Pyfhel/__init__.py](https://localhost:8080/#) in <module>
----> 1 from .Pyfhel import Pyfhel
      2 from .PyCtxt import PyCtxt
      3 from .PyPtxt import PyPtxt
      4 from .PyPoly import PyPoly
      5

Pyfhel/Pyfhel.pyx in init Pyfhel.Pyfhel()

__init__.cython-30.pxd in numpy.import_array()

ImportError: numpy.core.multiarray failed to import

---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------

I tried upgrading and downgrading numpy, but it still doesnot work. How should I resolve this

Google Colab has by default the latest version of numpy installed. I have tried with numpy versions 1.24.2, 1.23.5, 1.22. Every version gave the same error

try this code:
!pip uninstall numpy
!pip install numpy --upgrade
!pip install pyfhel

Okay, this is working now. Thank you for the help


chore: bump dependencies (upstream LazyList)

Also adjusts names arguments to LawfulMonad.mk' to match their actual order.
For some reason the motive now has to be specified explicitly.
I'm not really interested in understanding why, however, because this file, in Batteries and Mathlib is about to be deprecated on the grounds that LazyList is not currently being used, is not actually useful in practice without VM support (it was ported from Mathlib3, where it did have such support), and MLList supplies much of the functionality.

bors d+
I edited the PR description to capture your zulip comment.

Oh, I see CI is done
bors merge


fix: fix super user form getting submitted twice while submitting

Description

fix form getting submitted twice while submitting

PR fixes following issue(s)
Fixes #23938

Type of change

Bug fix (non-breaking change which fixes an issue)

Testing

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration.

[x] Manual
[ ] Jest
[ ] Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/ok-to-test

/build-deploy-preview

/ok-to-test


my resume update

Use this template to add a workshop to this repo. Add the following items:

[x] Your workshop design document, filled in with some details about your proposed workshop including its title and the three stages in the designer delineated, using the workshop-designer.md file in the template.

[x] A README.md file that describes the steps of the workshop.

[x] Powerpoint Slides for the workshop.

[x] The workshop's solution in the /solution folder.

[x] An embedded Train the Trainer video.

[x] A Call to Action to enhance the workshop with a direct line to Microsoft Learn by linking to an appropriate Learn module.

[x] Code quality check: no authentication keys should be included in solution or sample code

A reviewer will be assigned to the workshop and will work with you to shape it for production. Thank you for your contribution!

update resume


Investigate - Ingests No Longer Work

I uploaded a small drone imagery flight through the UI by creating a new project.
Thumbnails were generated alright without issue:

But when I make requests for tiles I get empty tiles

If I use StitchLayer to try and grab a stitched version of the layer I get an empty tile back so it seems like something is going on there.

Here is a sample ingest layer definition that doesn't seem to work:
{
  "layers": [
    {
      "output": {
        "crs": "epsg:3857",
        "cell_size": {
          "width": 0.05716999992728233,
          "height": 0.05716999992728233
        },
        "pyramid": true,
        "cellType": "uint16raw",
        "tileSize": 256,
        "resampleMethod": "NearestNeighbor",
        "histogramBuckets": 512,
        "uri": "s3://rasterfoundry-staging-catalogs-us-east-1/layers",
        "keyIndexMethod": "ZCurveKeyIndexMethod",
        "native": false
      },
      "id": "fa4c3781-81f0-4535-ad85-526bfeecea10",
      "sources": [
        {
          "crs": null,
          "bandMaps": [
            {
              "source": 4,
              "target": 4
            },
            {
              "source": 3,
              "target": 3
            },
            {
              "source": 2,
              "target": 2
            },
            {
              "source": 1,
              "target": 1
            }
          ],
          "uri": "s3://rasterfoundry-staging-data-us-east-1/user-uploads/google-oauth2%7C104543305954860658592/a0c50ccf-df12-49f5-b610-3fa3c0efad12/cb-test-three-ebee-may-2015.tif",
          "cellSize": {
            "width": 0.05716999992728233,
            "height": 0.05716999992728233
          },
          "extent": [
            -72.74271734669615,
            44.27503317570743,
            -72.73948082370633,
            44.277490511479485
          ],
          "extentCrs": "epsg:4326"
        }
      ]
    }
  ],
  "id": "fa4c3781-81f0-4535-ad85-526bfeecea10"
}

This ingest worked; + I ingested a duplicate layer (fa4c3781-81f0-4535-ad85-526bfeecea12)
What zoom level have you tried to watch on the map?
it's 14th zoom level:

It's /18/78102/95039:


Remove unused import

Can one of the admins verify this patch?

Thanks for the fix, but it turns out this is actually required in our codebase for platform-specific reasons.
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/platform/__init__.py#L16
We'll try to better document this somewhere.


remove __version__

The __version__ attribute is an old pattern from early in Python packaging. Setuptools eventually made it easier to use the pattern by allowing reading the value from the attribute at build time, and some other build backends have done the same.
However, there's no reason to expose this directly in code anymore. It's usually easier to use feature detection (hasattr, try/except) instead. importlib.metadata.version("flask-debugtoolbar") can be used to get the version at runtime in a standard way, if it's really needed.
This matches what we've already done in the Pallets projects.

I've removed __version__ based on review. I also changed the Jinja extension compatibility to use feature detection instead of examining the version, which is exactly the advice I gave in the PR description ;-)


Prefix tour target with current page

The tour is broken if you add an additional page, as the popup is shown on the first navigation button, which may be on the added page and not on the current one...

Wrong target repo...


Install command fails

Right on the home page it says:
Get started now!

Curl won't download the script because of a redirect but you will not see the error message because the 's' flag makes it fail silently. Following is the error without it.
curl: (51) SSL: certificate subject name 'api.sdkman.io' does not match target
host name 'get.sdkman.io'

Very curious indeed. I just ran this on a clean docker container, and it worked without any issues. You are right that the -s makes it silent, but the actual problem is somehow with your certs.

-k does much better:
[~] curl -k "https://get.sdkman.io" | he
ad
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100 11015  100 11015    0     0   123k      0 --:--:-- --:--:-- --:--:--     0
#!/bin/bash

Copyright 2012 Marco Vermeulen

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

I think we will see this happen from time to time when cert store issues are experienced. The simplest fallback is actually to simply go to http, as this still works too.
The -k simply runs curl in 'insecure' mode.

No response so closing this issue.


If Mimic spawned instead Lootr chest, it will still be here (bugged and unusable)

Mimic spawning from unlooted chests inherently does not work with how Lootr changes chests.
If you want to use the two mods together, in the config set "Unlooted Chest Mimic Chance" to 0.0, and then set "Underground Chest Chance" and "Underground Chest Mimic Chance" to higher values to have Mimics directly spawn underground randomly like chests.

It was underground one created by Apotheosis mod

That doesn't change what I said, Mimics spawning from chests regardless of what makes the chest won't work with Lootr, it inherently doesn't work with what Lootr is designed to do and I have no plans of trying to change that.
If you want Mimics to work with Lootr, do the config changes I posted which will make Mimics directly spawn underground instead of from chests, which will avoid this issue.


introduce reindex query

Started with a bit of experimentation on how to handle query DSL.

Looks good. Are you planning to do more work or is this good to go?

I think is ready now for review.


Fix "insufficient deploy TTL awareness" issue in upgrades

This should fix an issue encountered in tests based on a mainnet snapshot, where the nodes upgraded and got stuck in a loop with messages Validate: insufficient deploy TTL awareness to safely participate in consensus.
The issue here is that the range of blocks returned from storage for initializing the deploy buffer contained all blocks that were within max TTL, but no block that was outside of that time range. So when the deploy buffer was checking whether it had all necessary blocks, all of them were within max TTL, and so it couldn't know whether it actually has all of them (from its point of view there could have been more such blocks before the earliest known one), which made it return false from have_full_ttl_of_deploys. Including one block from outside the range in the set used to initialize the deploy buffer should fix the issue.
We haven't noticed this so far most likely because no other test uses a network that has been running for more than deploy max TTL, and so in other tests the set of blocks was always reaching genesis, causing the deploy buffer to know that no earlier blocks were possible and correctly return true.

bors try

bors try


Update request: Quarto 1.2.475 → 1.3.433

Package name:1.3.433
Latest released version: 1.2.475
Current version on the unstable channel: 1.2.475
Current version on the stable/release channel: 1.2.475

[ x] Checked the nixpkgs pull requests

(a PR exist https://github.com/NixOS/nixpkgs/pull/228984, but it's open by a bot, and they seem stuck)
Notify maintainers
@minijackson
@MrTarantoga

Note for maintainers: Please tag this issue in your PR.
I'm kind a new here, so I don't know what to do...
I already update Quarto to the last stable version on my local nixpkgs repo : https://github.com/EchosinEchos/nixpkgs
I use the existing default.nix, changed version, and add the fix for dart-sass change of version output, to work properly. I did the quarto check, and compile some small project, everything look good (but I'm not an expert).
The problem is that we need Pandoc 3 for this version, and I update by copying the existing up-to-date version of haskellPacket to the main one (ex copying pandoc_
3_1_3 derivation to pandoc).  I'm not a Haskell dev, so I cannot confirm that it works (work was done by other so... I suppose yes).
I don't know what to do. I can put a PR of what's needed, or maybe wait that packet will be updated by itself ?
Best regards. Thibault
(Excuse my English, I'm French, oui oui baguette)

Closed by https://github.com/NixOS/nixpkgs/pull/253065


Add topic tags

I suggest adding the topics statistics, numerical-optimization, nonlinear-equations in the About section, as explained at https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/classifying-your-repository-with-topics

Great suggestion! Thanks!


Allow to set AWS ARN for S3 bucket policies

what

Allows the AWS ARN to be changed so that the module can be run in GovCloud.

why

Received the following error when attempting to deploy to GovCloud
Error: Error putting S3 policy: MalformedPolicy: Policy has invalid resource

references

https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/using-govcloud-arns.html
https://github.com/cloudposse/terraform-aws-tfstate-backend/pull/39

/rebuild-readme

/test all

@dlundgren could you resolve the conflicts, please ?

/test all

/rebuild-readme

/test all


ELB plugin - difference between   dimensions_name & dimensions_value

Hello,
I am trying to use this plugin to get alerts from CW.
I seem to get UnHealthyHostCount datapoints is empty even after generating an alert.
Can you please clarify the difference between them? Maybe I have it setup wrongly.
dimensions_name LoadBalancerName
dimensions_value YOUR_ELB_NAME

Shekar

Can you paste your configuration (except aws_key_id and aws_sec_key)?
I got UnHealthyHostCount value by this configuration.
<source>
  type cloudwatch
  tag  cloudwatch.elb_health
  aws_key_id  xxxx
  aws_sec_key xxxx
  cw_endpoint monitoring.ap-northeast-1.amazonaws.com
  namespace AWS/ELB
  metric_name HealthyHostCount,UnHealthyHostCount
  dimensions_name LoadBalancerName
  dimensions_value my-elb-name
  statistics Average
</source>

http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/US_MonitoringLoadBalancerWithCW.html

UnHealthyHostCount
The count of the number of unhealthy instances in each Availability Zone. Hosts that have failed more health checks than the value of the unhealthy threshold are considered unhealthy. If cross-zone is enabled, the count of the number of unhealthy instances is calculated for all Availability Zones. Instances may become unhealthy due to connectivity issues, health checks returning non-200 responses (in the case of HTTP or HTTPS health checks), or timeouts when performing the health check.
Preferred statistic: average

If your ELB is cross-zone enabled and statistics Minimum, reported value will be minimum  UnHealthyHostCount for each zones.

This is what I have. I still see
2015-02-26 10:11:27 -0800 [warn]: cloudwatch: AWS/ELB LoadBalancerName
fps-preprod UnHealthyHostCount datapoints is empty

type cloudwatch
tag  alert.cloudwatch.raw
aws_key_id  XXX
aws_sec_key XXX
cw_endpoint monitoring.us-west-2.amazonaws.com
interval 5
namespace AWS/ELB
metric_name
HealthyHostCount,HTTPCode_Backend_2XX,HTTPCode_Backend_3XX,HTTPCode_Backend_4XX,HTTPCode_Backend_5XX,HTTPCode_ELB_4XX,Latency,RequestCount,UnHealthyHostCount
dimensions_name LoadBalancerName
dimensions_value fps-preprod
On Wed, Feb 25, 2015 at 6:04 PM, FUJIWARA Shunichiro <
<EMAIL_ADDRESS>wrote:

Can you paste your configuration (except aws_key_id and aws_sec_key)?
I got UnHealthyHostCount value by this configuration.

  type cloudwatch
  tag  cloudwatch.elb_health
  aws_key_id  xxxx
  aws_sec_key xxxx
  cw_endpoint monitoring.ap-northeast-1.amazonaws.com
  namespace AWS/ELB
  metric_name HealthyHostCount,UnHealthyHostCount
  dimensions_name LoadBalancerName
  dimensions_value my-elb-name
  statistics Average

http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/US_MonitoringLoadBalancerWithCW.html
UnHealthyHostCount
The count of the number of unhealthy instances in each Availability Zone.
Hosts that have failed more health checks than the value of the unhealthy
threshold are considered unhealthy. If cross-zone is enabled, the count of
the number of unhealthy instances is calculated for all Availability Zones.
Instances may become unhealthy due to connectivity issues, health checks
returning non-200 responses (in the case of HTTP or HTTPS health checks),
or timeouts when performing the health check.
Preferred statistic: average
If your ELB is cross-zone enabled and statistics Minimum, reported value
will be minimum UnHealthyHostCount for each zones.
—
Reply to this email directly or view it on GitHub
https://github.com/yunomu/fluent-plugin-cloudwatch/issues/19#issuecomment-76109081
.

hmm... other metrics was received collectly?

I am unable to get any metric.

I think we had a wrong region name. It is resolved now.
Thanks.
Shekar


web-actions

Please use the form below, leaving the prefilled data to help us. Thank you.
Page link: web-actions
Document link: web-actions.md
My Issue/Suggestion
It does not give any hands-on manual on how to use and/or set up any of the other features, like scroll-to or set-focus.
In other words: it is to much code-monkey focused and not low-code-business-engineer focused

@KoenHolleboom  Thank you for sharing your feedback with us. I will discuss with the owner of the module and get back to you on this. Since many people are on summer vacation, it might take a while before I can give you an update. But I will try to resolve soon.


parsing error

Describe the bug
Hello, I am encountering a bug when parsing a cell - probably related to some inline comment
To Reproduce
problem = montepy.read_input("foo.imcnp")

Error Message (if any)
/home/marco/miniforge3/lib/python3.10/site-packages/montepy/input_parser/input_syntax_reader.py:184: LineOverRunWarning: The line:           IMP:N=1.0  IMP:P=1.0  U=70            $void reach face limitpos:(562, -86, 395) ~ (613, 0, 447.5) Int cells:<PHONE_NUMBER>61
 exceeded the allowed line length of: 128 for MCNP (6, 2, 0)
  warnings.warn(
Traceback (most recent call last):
  File "/mnt/c/Users/marco/OneDrive - UNED/01_WORK/47_ANTENNA/03_FULL_MODEL_PROC/03_CLEAN_SURFACES/test.py", line 3, in <module>
    problem = montepy.read_input("test")
  File "/home/marco/miniforge3/lib/python3.10/site-packages/montepy/input_parser/input_reader.py", line 29, in read_input
    problem.parse_input(replace=replace)
  File "/home/marco/miniforge3/lib/python3.10/site-packages/montepy/mcnp_problem.py", line 286, in parse_input
    raise e
  File "/home/marco/miniforge3/lib/python3.10/site-packages/montepy/mcnp_problem.py", line 271, in parse_input
    obj = obj_parser(input)
  File "/home/marco/miniforge3/lib/python3.10/site-packages/montepy/cell.py", line 88, in __init__
    super().__init__(input, self._parser)
  File "/home/marco/miniforge3/lib/python3.10/site-packages/montepy/mcnp_object.py", line 57, in __init__
    raise ParsingError(
montepy.errors.ParsingError:     test, line 21

    >   21| 500330   0   ( -501375 501376 -501516 501733 -501830 501856 )((505380
          |                                                              ^ not expected here.
        22|           :504759:-503268:-505404:-503960:503267))((-503778:-505173:503269
        23|           :503777:505380:-503267))((-503778:505380:-503268:503960:-505173
        24|           :503267))((504763:-503775:503263:501866:505381:-503266:-505382))
        25|           IMP:N=1.0  IMP:P=1.0  U=70            $void reach face limitpos:(562, -86, 395) ~ (613, 0, 447.5) Int cells: 500259 50
There was an error parsing "(".
sly: Syntax error at line 1, token=(

    test, line 25

        21| 500330   0   ( -501375 501376 -501516 501733 -501830 501856 )((505380
        22|           :504759:-503268:-505404:-503960:503267))((-503778:-505173:503269
        23|           :503777:505380:-503267))((-503778:505380:-503268:503960:-505173
        24|           :503267))((504763:-503775:503263:501866:505381:-503266:-505382))
    >   25|           IMP:N=1.0  IMP:P=1.0  U=70            $void reach face limitpos:(562, -86, 395) ~ (613, 0, 447.5) Int cells: 500259 50
          |                          ^ not expected here.
There was an error parsing ":".
sly: Syntax error at line 5, token=:

    test, line 25

        21| 500330   0   ( -501375 501376 -501516 501733 -501830 501856 )((505380
        22|           :504759:-503268:-505404:-503960:503267))((-503778:-505173:503269
        23|           :503777:505380:-503267))((-503778:505380:-503268:503960:-505173
        24|           :503267))((504763:-503775:503263:501866:505381:-503266:-505382))
    >   25|           IMP:N=1.0  IMP:P=1.0  U=70            $void reach face limitpos:(562, -86, 395) ~ (613, 0, 447.5) Int cells: 500259 50
          |                                   ^ not expected here.
There was an error parsing "=".
sly: Syntax error at line 5, token==

    test, line 20

        21| 500330   0   ( -501375 501376 -501516 501733 -501830 501856 )((505380
        22|           :504759:-503268:-505404:-503960:503267))((-503778:-505173:503269
        23|           :503777:505380:-503267))((-503778:505380:-503268:503960:-505173
        24|           :503267))((504763:-503775:503263:501866:505381:-503266:-505382))
        25|           IMP:N=1.0  IMP:P=1.0  U=70            $void reach face limitpos:(562, -86, 395) ~ (613, 0, 447.5) Int cells: 500259 50
The input ended prematurely.
sly: Parse error in input. EOF

MCNP input file snippet
Test Model
C Lost particle check model
C Sphere
1  0  -1
       IMP:N=1.0  IMP:P=1.0 FILL= 70
2  0  1 -2
       IMP:N=1.0  IMP:P=1.0
C outside
3  0   2
       IMP:N=0.0  IMP:P=0.0
C ======================================================================
500330   0   ( -501375 501376 -501516 501733 -501830 501856 )((505380
          :504759:-503268:-505404:-503960:503267))((-503778:-505173:503269
          :503777:505380:-503267))((-503778:505380:-503268:503960:-505173
          :503267))((504763:-503775:503263:501866:505381:-503266:-505382))
          IMP:N=1.0  IMP:P=1.0  U=70            $void reach face limitpos:(562, -86, 395) ~ (613, 0, 447.5) Int cells:<PHONE_NUMBER>61

Version

Version 0.3.0

I guess we had the same idea today :D #453

This sounds very similar to #355. I'll check if that is the issue or if there is something else going on as well.

Ok I did confirm this is only #355; I confirmed this by adding spaces between parentheses groups. I'm going to close this issue as a duplicate.
Thank you for your bug report, and feel free to add more context to #355.
Also I'm surprised you both installed 0.3.0 in less than 24 hours. 😄

clear cases of experiment friday 😄! thanks for the feedback


feat(rpc-testing-utils) : implement debug_traceCall JSON-RPC method

this PR Introduced debug_trace_call_json in DebugApiExt.  Now, tracing calls is simpler and more insightful! 🚀🔍

ke request but with a str argument, so we can call it like `"debug_traceCall", "["0x...",...]

i think i got it, we don't need anymore to specify that we're using CallRequest for our params, going to try this, thanks


Skip non-directory files in dataset creation (like .gitignore)

I propose some minor modifications (which do not affect compatibility with the video tutorial) and avoid a bug during serialization.

Add max_num_hands parameter to Hands class (set to 1), avoiding erroneous detection of a second hand (this sometimes occurs when the face appears in the frame during sampling).
(Bug Fix) Skip non-directory files that may be present under ./data folder during dataset creation (like .gitignore)
Display some status messages during serialization (the system seems frozen when many classes are processed).
Added .gitignore to exclude the generated pickle file and .venv & IDE cache directories.

I have problem with your script.
[<EMAIL_ADDRESS>global cap_v4l.cpp:997 open VIDEOIO(V4L2:/dev/video2): can't open camera by index
<EMAIL_ADDRESS>global obsensor_uvc_stream_channel.cpp:159 getStreamChannelGroup Camera index out of range
Collecting data for class 0
Traceback (most recent call last):
File "/home/dragon/Documents/SignL/collect_imgs.py", line 25, in
cv2.imshow('frame', frame)
cv2.error: OpenCV(4.9.0) /io/opencv/modules/highgui/src/window.cpp:971: error: (-215:Assertion failed) size.width>0 && size.height>0 in function 'imshow'

I would like to use it two-handed, but in your code I kept getting crashes. Could you help me use an extra code for two hands?


Specify type for default backend service

Without an explicit type: NodePort on the default backend service, I got an error when trying to apply it:
The Service "default-http-backend" is invalid: spec.ports[0].nodePort: Invalid value: 31950: may not be used when `type` is 'ClusterIP'

This change is

@itamar-resonai this is not required. Please open an issue. I think you assigned a port lower the minimum (32000)

Coverage decreased (-0.03%) to 44.356% when pulling 5fa6707c82a46dc8a8accbe7b2a998eca86d9eab on itamar-resonai:patch-1 into 6ef63438b6ed8f33620d2b78424cad23c77990be on kubernetes:master.


NIFI-4593: Ensuring jackson dependencies are bundled

NIFI-4593:

Ensuring the necessary jackson dependencies are bundled.

+1 verified this works against the hwx schema registry, will merge


molstar update

I updated molstar and rcsb-molstar and didn't observe any issues.  Do you have more details about how the app was failing?

Here are some test cases that were broken: https://rcsbpdb.atlassian.net/jira/software/c/projects/RO/issues/RO-4166

Thank you, @JonStargaryen. Are the cases from the example?  I don't see any problems loading the structures.

Are the cases from the example? I don't see any problems loading the structures.

Yes, that example was also broken (I think the AlphaFold structure loaded successfully but nothing was shown for the other 2 entries).
Great to have that fixed, thanks!

Thank you, @bioinsilico. The versions that introduced a breaking changes were:
"@rcsb/rcsb-molstar": "^2.8.0"
"@rcsb/rcsb-saguaro-3d": "^3.0.18"
"molstar": "^3.40.1" -> "^3.37.1"

either there was an intermediate breaking mol* change or saguaro-3d update would introduce something

I am unsure if it has been fixed or never broken. I just cannot reproduce the problem.


Proposal for extended access methods

I'm proposing to change our access methods, specifically the operator() access:

make unchecked(Args...) the default for containers, forward to a broadcast(Args...) accessor for usage inside xfunctions which has the current behavior (removing overshooting indices from the front etc).
add `broadcast(Args...) as xcontainer accessor for "broadcasting" access
add a all_size_t overload for operator(size_t...) that will provide fast access in loops
change all other access functions so that if the index is negative, we subtract the shape (negative numpy indexing)
implement "fully" periodic access (see @tdegeus issue)

So in total, I propose to create a base class that uses the unchecked accesor in the CRTP baseclass that looks like the following:
xcontainer : xaccess_base<xcontainer<...>>
{
template <Args...>
unchecked(Args...)

}

xaccess_base
{
template <Args..., !all_signed<true>>
operator()(Args...)

template <Args..., all_signed<true>>
operator()(Args...)

template <Args...>
broadcast(Args...);

template <Args...>
periodic(Args...)
}

What do you think? I think collecting these functions in a base class will remove a lot of boiler plate code from implementations and make it simpler to add new functionality.

there are no performance issues with the access methods on containers where the static dimension is known -- only on xarray we can observe a big perf difference that is due this broadcasting behavior.
However, most people who write their code in for loops won't care about this / do broadcasting manually by omitting indices etc.
So I'd like to argue in order to make it easy to write idiomatic "non-numpystyle-vectorized" c++ code with xtensor we should unleash the access methods on xcontainers and make the broadcasting access only the default on xfunction.

I'm in favor of this change, even if I think that people should avoid writing for loops in C++.
Capturing the implementation of accessors in a base class seems to be the best way to implement this, I'd go a little bit further with forbidding mixing different types in the access operators.

I think that the implementation in accessors in a base class is an implementation detail.
Changing the accessors of xarray is a big departure from our current model in terms of behavior. I am convinced that we can already improve performance of data_offset to be closer to that of raw_data_offset by making some micro optimization of https://github.com/QuantStack/xtensor/blob/83c3a4c37a0328ed31b3980d342b16e8b971a109/include/xtensor/xstrides.hpp#L139.

Ok but if we go with the Principle of Least Surprise, I think that having a fast + simple default accessor which doesn't shave off indices is more intuitive, as well as having an explicitly named broadcast(Args...) accessor which implements this cool feature.
One might even run into bugs where one doesn't expect fewer or more indices to work.

I think that the principle of least surprise is to have (a + b)(i1, ... in) = a (i1, ... , in) + b(i1, ... ,in) regardless of the dimensions. The behavior of the accessor is the same when dimension matches.

I completely support @wolv 's argumentation. I would think that in the vast majority of cases people don't use broadcasting. I believe that when you do want to use broadcasting having some explicit command will in fact increase the readability of the production code.

I also support @wolfv 's proposition. In C++ the usage of () or [] operators is limited to for loops where low level stuffs are done: I don't expect any unnecessary overhead by default there.

There is a misunderstanding about what is being debated here.

expressions may have a runtime dimension
operator() has a variadic compile-time number of arguments
the behavior of calling operator() when there is a mismatch needs to be defined.
we decided to not have an exception (mostly for performance reasons), and choose a defined behavior.
the behavior that was chosen is the one that guarantees (a + b)(i1, ..., in) = a(i1, ..., in) + b(i1, ..., in).
this apparently is properly optimized without overhead for xtensor and statically dimensioned expressions.
I think that we can optimize the case of xarray and dynamically dimensioned arrays without breaking the behavior, and match the performances of "unchecked" access.


[FEAT] Standardize Form Components with Interfaces

:bulb: Feature request
Feature Name

Standardize Form Components with Interfaces
The Desired Behavior

When authoring components that wrap form elements or other form components, there are very common properties and behavior that these components share. These components should be standarized and backed with an interface.
Developing parts of the design library that interacts with form components will need to guarantee the structure and behavior of those form components.
Your Use Case

As a developer using Angular reactive forms, I would like to have a predefined interface on which I can base my form components.
As a Daffodil developer, I would like to be able to develop augmentations and extensions to design library components that deal with forms.
Prior Work

A form component will very often have this basic structure:
class FormComponent {
  @Output() submit = new EventEmitter<FormData>()

  form: Form

  ngOnInit() {
    this.form = this.fb({...})
  }

  onSubmit() {
    this.submit.emit(this.form.value)
  }
}

Others:

#2588


The mangledName property of TypeInfo has incorrect or missing results

I would expect the following code to print something like $s11TestRuntime0A8ManglingCMn. However, the actual output is simply TestMangling.
import Runtime

class TestMangling {

}

let type = try! typeInfo(of: TestMangling.self)
print(type.mangledName)

For a few types I've tried, the output is an empty string. I'm guessing that the layout of the nominal type descriptor has changed since Runtime was first written, but I'm not sure how to verify this as I'm not sure where the struct for nominal type descriptors actually lives in the swift runtime source.
I'm using Runtime 2.1.1, Swift 5.1.

Yea unfortunately it looks the like the type descriptor's only have the name now and not the mangled name.

Thanks for responding. In the runtime source code like the variable name is indeed just "name" now.
I did find a potential solution to this issue: use dladdr on a Any.Type pointer and you get a mangled name from dli_sname. This might not work for all types, and I don't know if it would make sense to add to this library, but it is an option.
For the benefit of anyone who stumbles onto this issue and is interested in how to do this, here's a code snippet:
import Darwin

func mangledName(for type: Any.Type) -> String {
   let pointer = UnsafeRawPointer(bitPattern: unsafeBitCast(type, to: Int.self))
   var info = Dl_info()
   dladdr(pointer, &info)
   return String(cString: info.dli_sname)
}

@benpious that code errors out during runtime for me 😞
Fatal error: Can't unsafeBitCast between types of different sizes: file /Library/Caches/com.apple.xbs/Binaries/SwiftPrebuiltSDKModules_macOS/install/TempContent/Objects/EmbeddedProjects/CrossTrain_macOS_SDK/macOS_SDK/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface, line 2910```

Passing in a simple struct as the type to be analyzed


How to get currently selected DRG Element in the Stunner DMN Editor ?

Hello everyone ! I'm currently working on a new set of features for the DMN editor, specifically focused around leveraging AI .
I've managed to create some new ui widgets, create new graph elements, edit them, etc (through new source code).
However, I'm struggling to find a way to get the current (clicked on) drg element. I know it's possible as the properties dock changes on shape click .
Is there anyone here who has a suggestion on how to accomplish this ? Thank you!
This is a discussion moreso than an issue but I wasn't sure where to post this. Please let me know if there's a better place.

Hey Tiago, good to hear from you. I've been impressed and seeing your name quite frequently throughout the code base as I've continued working in it the last few months.
I'm aware of the re-write (and would be happy to help with it I have approx 4 years of React experience.)

Hey @tiagobento ,
Good to hear from you, I've been impressed as I've been working with the source code the last few weeks by how much of it was written by you!

Hey @tiagobento ,
Good to hear from you, I've been impressed as I've been working with the source code the last few weeks by how much of it was written by you!

Hey @tiagobento ,
Good to hear from you - I've been impressed by how much of the source code was written by you as I’ve been working in it the last few weeks.
I’m aware of the editor re-write , and if you’re looking for contributors I’d be happy to help ( I have approximately 4 years of React experience) .
However, a senior engineer at the company I work for advised me to go ahead and start building on the stunner editor as he states
- The new editor won’t be available for several more months at least
-  He is under the impression that while the ui aspect of the editor will be replaced with React, that all the logic/functionality will remain in Java.
Is that correct ?
Are you saying there’s enough of the React editor completed to begin building on top of it?
Yes, I am planning on eventually opening a PR or publishing the work !

@yesamer or @danielzhe  As for finding the exact event that's fired when a node is clicked - I've been struggling. I've looked through the DnD helper files, tried inspecting and watching events through the js inspector, looked through the properties explorer dock package to see how it's accessing the data, looked through graph and canvas utils and various session managers, tried using the various getCurrent[x]Element functions , etc with no luck.

@tyren-r I guess @tiagobento already gave you a comprehensive answer. In any case, if you need any info about the old GWT-based editor, feel free to ping me here or on our Zulip channel https://kie.zulipchat.com

@yesamer
My company still wants me to add to the GWT-based editor before working on the new one - I'll be messaging you shortly. Looking forward to contributing to the new react app at some point too!


打包报错

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.1.1/userguide/command_line_interface.html#sec:command_line_warnings

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.1.1/userguide/command_line_interface.html#sec:command_line_warnings


Bitter Smile Trial [PCSG90096]

Game summary

Game name: Bitter Smile
Game serial: PCSG90096

Vita3K summary

Version: v0.1
Build number: 696
Commit hash: https://github.com/vita3k/vita3k/commit/b915fa1

Test environment summary

Tested by: waterflame
OS: Windows 7
CPU: Intel i7-2600
GPU: AMD Radeon HD 6700 Series
RAM: 8 GB

Issues
It seems everything is going wrong... then bam! Error popup and crash.
Screenshots

Log
vita3k.log
Recommended labels

Crash

Vita3K summary

Version: v0.1
Build number: 805
Commit hash: https://github.com/vita3k/vita3k/commit/4279f967

Issue
So now it's complaining about sceAtrac. So you LLE libatrac... then it goes back to complaining about width and what not, and it seems LLEing libsceavplayer fixes that as it seems that error is due to sceJpeg which is found in SceAvcodecUser.
Log
BitterSmile.log

Vita3K summary

Version: v0.1
Build number: 809
Commit hash: https://github.com/vita3k/vita3k/commit/636513f

Issue
So if you run the game with -m libatrac,libsceavplayer,audiocodec you'll get till it dies because of sceAudioecInitLibrary is unimplemented.
Log
vita3k.log

Vita3K summary

Version: v0.1
Build number: 984
Commit hash: fb0798e of pull/456 (I don't want to append every issue to the PR)

bitter smile. 体験版 - [PCSG90096].log
Issue
Statting file error

Vita3K summary

Version: v0.1
Build number: 1315
Commit hash: https://github.com/vita3k/vita3k/commit/5b070aac

Seems to get further then the "width/height issue" box, goes to open "sys_maker_logo.jpg", "## adv_template: INIT SUCCEEDED"... sceGxmTextureInitLinearStrided! :p(also sceKernelGetThreadExitStatus... I imagine this is the one that crashes it)
BitterSmile.log

Game is bootable

Game is ingame to the end of the first part of the demo, and crashes here + no sound at all

vita3k.log

Tested the full demo here the images of graphical issues and I think the crashing is random had it randomly freeze with the sound stopping and the character not moving but still manage to finish the demo.

Here was the Summary of my experience
The game seems to run fine and is playable from start to finish but crashes when pressing start in-game and pressing continues in the start menu. So it seems like the save menu crashes the game making it impossible to load saves. This seems to affect all games on this engine.
Also, some of the screen transitions have some issues where it flashes the transition frame is rendered in the background before the transition occurs which doesn't happen on hardware. A similar issue also happens to some characters while being rendered causing the character to be rendered incorrectly for a frame.


Add option to proxy insights data collector via the chef server

Enterprise nodes won't necessarily have access to the chef automate server. This allows the nodes to report to the insights data collector via the chef server which they all already have access to instead of having to add more firewall rules.

@stephenbm Thanks for the contribution!  Overall I think this is a nice feature to add.  The only change I would make is to use the data_collector config namespace that already exists rather than adding new configuration under nginx.

Thanks for the feedback - I moved the attributes to the data_collector namespace

@ryancragun @stevendanna I checked the docs here and updated the proxy_pass so it should support the client data and the Chef Server actions. I also changed the location to /data-collector/ as you suggested.

👍 Looks good to me. Might want to squash the commits into one though.

👍 If you get a chance to squash the commits it would be nice.  Otherwise this it good to merge.


Input events ignored (one out of two)

Introduced by aa7c335ce9aa64e09cc2fd31f90b0f8b2ad86c79
One out of two input event is ignored
Steps:

press j
press j

Thanks, I noticed the same.
It seems that textInput is different from what I supposed.


Falcon 2051-Falcon post-processing services are not getting invoked

Basically, reverted FALCON-1926 and ran the tests to make sure REPL metrics are populated.
After 0.10 release, we will figure out a mechanism so that Post Processing does not need to send JMS message.

@peeyushb @bvellanki Please review the pull request. For some reason (I forgot to do a git reset so) the pull request picks up the recent merge changes. Please look at the last commit in the pull request.
Link here - https://github.com/apache/falcon/pull/200/commits/c0b9b4d1ce6036818acf5951bd17017b16f988f6

Please ignore pull request 200 but use 201 instead.


Do not overwrite client.CheckRedirect

grequests always set client.ChekcRedirect.
https://github.com/levigross/grequests/blob/0.9/utils.go#L55
But I want to use my client.CheckRedirect function in a test code.
client := http.Client{
    CheckRedirect: function() error {
        return errors.New("cancel redirection")
    },
}
r, err := grequests.Get("http://example.com/redirect", &grequests.RequestOptions{
    HTTPClient: &client,
})

Please support this feature?

This has been fixed


testing feature adaptation for semantic segmentation

Hi, I managed to train a model following your instructions but I'm not quite sure how to test.

Please use the following script: https://github.com/jhoffman/cycada_release/blob/master/scripts/eval_fcn.py


修复GetChatMembersIterator的Next方法会无限循环获取群用户

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 4 committers have signed the CLA.:x: maowenbo666:x: zhailuxubyte:x: Arklfz:x: maemualYou have signed the CLA already but the status is still pending? Let us recheck it.


User mention emails are not sent

array_merge acts weird when merging two array with entities for some reason

Fixed

Also fixed: https://github.com/Xon/XenForo2-UserMentionsImprovements/commit/ee4dfea79b97c72aec249ad7c4c3e19cb669a600


[FEATURE] one pass min_element/max_element

Have an opt in version of the algorithms that keep track of the index. There are some cases where that's faster

min element works


wzrd.in certificate has expired

The SSL Certificate has apparently expired for wzrd.in.

@jfhbrook is it possible to fix this ASAP?

I've been trying to ping @maxogden who I believe knows much more about the ssl certs than I do. I have admin on the box but did not set up ssl.

@konklone maybe you know about this? I found https://github.com/jfhbrook/wzrd.in/issues/78 this issue about https, maybe you helped set it up?

I did some mild investigation--it's letsencrypt. It looks like an older version of letsencrypt, so this might involve me doing some surgery.

Hey, I think I fixed it! Can you confirm @voronianski ?
I dumped certbot-auto into the homedir, ran it with --nginx and I think that fixed it for now.
Reading to see if I need to cron job this.

Added certbot --nginx renew to the crontab, I think this'll make the problem go away for a while.

@jfhbrook works! Thanks a lot!

alright closing then

Has the SSL cert expired?
https://www.sslshopper.com/ssl-checker.html#hostname=wzrd.in
I'm getting "Error: CORS request rejected: https://wzrd.in/multi" error on esnextb.in


Remove unused assignment in Parallax2D

I'm not quite sure why I got the viewport size from settings while in editor mode, but I assume in an earlier iteration of Parallax2D I used the value later in the method and have since removed it. It's unused now in any case, so I removed the assignment.

Wouldn't get_viewport_rect() in the editor get the actual editor viewport size? Instead of the project viewport size setting?

Thanks!


SERVERS

What is your question?
Is just me or servers are not working?

kinda, game servers are online but the network is not, you can use the latest dev build if you want to use it


NuGet update failes when project path contains spaces.

The command arguments need to be surrounded by quotes, because otherwise there are problems when they contain spaces.
https://github.com/dependabot/dependabot-core/blob/89ebc55dac8630574301a10917425f80a56e4763/nuget/lib/dependabot/nuget/native_helpers.rb#L57

Sorry to hear that; will reopen the issue and tagging @brettfo for awareness

@TomW-Skyline Do you have a recent log file you can share?  There are likely more places we need to surround arguments.

@TomW-Skyline Added PR #9092 to allow proper execution of the tool with spaces in the command line.

@TomW-Skyline I created a repo with a space in the path and did a full dependabot update run to verify the path fix.  I've also just submitted #9104 which will fail a unit test on a malformed path so we can detect this faster.


Forbidden Access When Getting Listing from SubredditPaginator

I'm having an issue where I get a Network exception when running

SubredditPaginator sub= new SubredditPaginator(reddit, "subreddit");
return sub.next();

Stacktrace:

Caused by: net.dean.jraw.http.NetworkException: Request returned non-successful status code: 403 Forbidden
at net.dean.jraw.http.RestClient.execute(RestClient.java:134)
at net.dean.jraw.RedditClient.execute(RedditClient.java:152)
at net.dean.jraw.paginators.Paginator.next(Paginator.java:107)
at net.dean.jraw.paginators.SubredditPaginator.next(SubredditPaginator.java:44)
at net.dean.jraw.paginators.Paginator.accumulate(Paginator.java:127)
at net.dean.jraw.paginators.Paginator.accumulateMerged(Paginator.java:135)

From some googling, it seems as if OAuth was messed up somewhere, even though I have not implemented logging in/OAuth (yet). What could be the issue?
Thanks!
EDIT: Just FYI, I ran the code with "all" instead of "subreddit"

even though I have not implemented logging in/OAuth

The oauth.reddit.com domain will always return a 403 if you don't have a valid access token. If you don't want to implement the login functionality right now, you can use application-only OAuth, which allows you to send requests without a user context.
See here for how to do this.

Awesome. This helps a lot. Thanks for making this awesome wrapper!

I am now getting an error about too many follow-up requests:
Caused by: java.net.ProtocolException: Too many follow-up requests: 21
My code:
Credentials credentials = Credentials.userlessApp("android:me.ccrama.RedditSlide:v0.1.0 (by /u/ccrama)", UUID.randomUUID());
new AsyncLogin().execute(credentials);
AsyncLogin class:
private class AsyncLogin extends AsyncTask<Credentials, Void, Boolean> {
private final ProgressDialog dialog = new ProgressDialog(Subreddit.this);
    @Override
    protected void onPostExecute(Boolean result) {
       isLoggedIn = result;
        if(result == true)
        //Load Stuff

    }

    @Override
    protected Boolean doInBackground(Credentials... creds){

        OAuthData authData = null;
        try {
            authData = reddit.getOAuthHelper().easyAuth(creds[0]);
        } catch (OAuthException e) {
            e.printStackTrace();
            return false;
        }
        reddit.authenticate(authData);
        return true;
    }

} </code>

Am I doing something wrong, or is it just not responding in time?
Thanks

Your last answer worked for non-auth users, and I implemented the code (on that page) to authenticate users who wish to login, which worked perfectly. It also brought up an issue, though.
How do you log the user back in a second time (when the app is opened) without having to request an OAuthToken again (as in the example)? On the wiki, it states about the Refresh Token "Note that this disqualifies script and application-only apps.".
What method to get a token works with with application-only apps (which I'm assuming means phone apps)?

@thatJavaNerd I am getting this despite oAuth working fine at other times.


fix a few warnings from rustc+clippy

This is mostly small stuff, a few to_string()s, map(_).unwrap_or(_) and so on. It also fixes rustc's "privates in public" warnings which will turn into errors in a future Rust version.

Thanks! I think the test failures are on me. :-)

Ouch. In my defense,  it was quite late... :-)

@llogiq Hah. What I meant was, I don't think the test failures are related to your changes. :)


DHT11 on Jessie errors on GPIO on Raspberry Pi 2

root@jessie-rpi:~/Adafruit_Python_DHT/examples# python AdafruitDHT.py 11 4
Traceback (most recent call last):
File "AdafruitDHT.py", line 41, in
humidity, temperature = Adafruit_DHT.read_retry(sensor, pin)
File "build/bdist.linux-armv7l/egg/Adafruit_DHT/common.py", line 90, in read_retry
File "build/bdist.linux-armv7l/egg/Adafruit_DHT/common.py", line 77, in read
File "build/bdist.linux-armv7l/egg/Adafruit_DHT/Raspberry_Pi_2.py", line 34, in read
RuntimeError: Error accessing GPIO. Make sure program is run as root with sudo!
I'm currently running as root, I also tried setting the gpio_base manually to 0x37200000 which is the correct address on Raspberry Pi 2 for the GPIO

Same issue for me.

Huh interesting, right now code uses the same logic as the RPi.GPIO library to find the gpio base address from the device tree configuration.  Perhaps something is different here in Jessie and it's getting a garbage value (although if you manually set the GPIO and still had problems then that's not it).  I don't have a card upgraded to jessie handy to try with just yet, but next time I do I'll try to run through the code here and see if I can investigate further.
Also the error that it needs to run as root is thrown when it can't access /dev/mem or has a problem setting up the memory mapping GPIO (in this function: https://github.com/adafruit/Adafruit_Python_DHT/blob/master/source/Raspberry_Pi_2/pi_2_mmio.c#L38).  Likely something there in the memory mapping setup is behaving differently on Jessie, but I'm not sure off-hand what might be different with Jessie's kernel, updated libraries, etc.  Will need to dig in and check exactly what is failing.

Having exactly the same problems with the same routines - messages are the same as above.  Also using pi 2 with DHT11.

I switched to using WiringPI for the DHT11 because this code is basically useless.

Hello.
I'm also having this issue. Did anyone find a fix?

Switch to using wiring PI as it actually works, this code base is basically useless. (Second time I've posted this comment, but it looks like it has been removed, dear project owner, if you don't like your code being criticised then fix it when people want to use it instead of censoring criticism).
Meanwhile, drop me a message if anyone wants to take a copy of my DHT11 hacks for WiringPi but they're pretty much just a little ascii adjustments around the stock WiringPi example code.

Thanks for reply.  I too found WiringPi working better, but values are off a lot (temperature reading 512 degrees C).  I would be very appreciative to see what you did.

I just did a dist upgrade on a Raspbian wheezy card to take it to jessie and unfortunately I can't repro the same error.  Here's a quick example showing jessie and it working:
pi@raspberrypi ~/Adafruit_Python_DHT/examples $ lsb_release -a
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 8.0 (jessie)
Release:	8.0
Codename:	jessie
pi@raspberrypi ~/Adafruit_Python_DHT/examples $ sudo ./AdafruitDHT.py 2302 4
Temp=22.8*C  Humidity=77.9%

For folks that are running into problems I'm curious how did you upgrade to jessie?  I took a wheezy image (the 2015-05-05 image on raspberrypi.org right now), edited the /etc/apt/sources.list to reference jessie, did a apt-get update, then did a apt-get dist-upgrade.  The dist upgrade took a long time (about 7 hours, ouch!) but when it finished I installed the DHT python code and it seems to work like above.
One thing I have a suspicion about, did you use the image from raspbian.org?  I don't think you can really use that image since it's not from the Pi foundation and doesn't include their changes.  There's some stuff like reading the offset of the GPIO registers from device tree config that the DHT code depends on and might be missing from the raspbian.org image.  Try doing a dist upgrade on a Pi foundation wheezy image instead.

@tdicola censoring my comments further makes you look more and more like you can't stand basic criticism. Another one deleted.

@klattimer Please be positive and constructive with your questions and comments, this is your only warning, next time we'll block/delete, thank you!

Delete me from github? That doesn't sound like a warning that sounds like a threat. Being constructive is telling people to use a functional alternative to resolve their problem. Deleting those suggestions is significantly more spurious than me making them.

@johncstone try adding a 4k7 pullup resistor on the data pin, or if you already have a pull up there, remove it. Some of these parts work one way, some others depends on the manufacturer I guess.
You'll have to be quick to read my comment though because trying to help people by suggesting wiringPi seems to lead to my comments being deleted. Then I get threatened for trying to be constructive and help people who have the same bug I hit.

@ladyada are you now SERIOUSLY editing MY words? That turns into misrepresentation. Absolutely disgusting!!! What a poisonous thing to do.

@johncstone please could you send me a copy of the original text I posted above as I am now seeking legal advice regarding being misrepresented by a third party without my consent. In the UK this will be covered under libellous activity.

@ladyada I suggest you contact me directly via email<EMAIL_ADDRESS>to explain what the hell you think you're doing editing words which are attributed to me. This is illegal to do, you could use this power to misrepresent me in any number of ways and you should not have the power to do that. I have contacted github regarding this issue and am now in touch with a libel lawyer about getting this resolved via the courts.

I am having exactly the same issue. I installed Debian Jessie on my RPi2 before it was officially released. I'm pretty sure I got the image from here:
[link]https://images.collabora.co.uk/rpi2/[/link]
This image only uses one login (root) and does not support the "sudo" command. When logged in as root one has full control. I think this might be the issue, but then it might not have something installed to support the GPIO pins - I really am not sure. Here is the exact message I get:
[code]
root@WorkPi ~/Adafruit_Python_DHT/examples # python AdafruitDHT.py 11 4
Traceback (most recent call last):
File "AdafruitDHT.py", line 41, in
humidity, temperature = Adafruit_DHT.read_retry(sensor, pin)
File "build/bdist.linux-armv7l/egg/Adafruit_DHT/common.py", line 90, in read_retry
File "build/bdist.linux-armv7l/egg/Adafruit_DHT/common.py", line 77, in read
File "build/bdist.linux-armv7l/egg/Adafruit_DHT/Raspberry_Pi_2.py", line 34, in read
RuntimeError: Error accessing GPIO. Make sure program is run as root with sudo!
[/code]
It might be worth noting that the folder /root/Adafruit_Python_DHT/build/bdist.linux-armv7l does not include any files or folders. I installed AdafruitDHT using the instructions on the following web page:
[link]https://learn.adafruit.com/dht-humidity-sensing-on-raspberry-pi-with-gdocs-logging/software-install-updated[/link]
Here is the code I actually used:
[code]
cd ~
git clone https://github.com/adafruit/Adafruit_Python_DHT.git
cd Adafruit_Python_DHT
sudo apt-get update
sudo apt-get install build-essential python-dev python-openssl
sudo python setup.py install
cd examples
python AdafruitDHT.py 11 4
[/code]
Note that I did not use the command "sudo python AdafruitDHT.py 11 4" as sudo is not supported in my install:
[code]
root@WorkPi ~/Adafruit_Python_DHT/examples # sudo python AdafruitDHT.py 11 4
-bash: sudo: command not found
[/code]
I have just downloaded the official Debian Jessie image from raspberrypi.org, but do not wish to have to reinstall all my software again on the RPi2 as it is running sweet just now :-)
Any help would be much appreciated.

Refer to my implementation of pi_2_mmio.c @ https://github.com/AdysTech/raspy-weather/blob/master/dht11_driver/pi_2_mmio.c
I had to change it to /dev/gpiomem from /dev/mem to get it to run without sudo as root.


Ability to save a Windows Terminal pane layout as a profile for easy startup

Description of the new feature/enhancement

In my dev cycles, I usually use 4-6 different pieces of software such as Redis servers, yarn, storybook, NGINX, etc. and it gets to be very tedious launching each of those one after the other. If possible, I'd like to be able to save a "snapshot" or "profile" of my current layout with the directories. From there, it'd be nice to be able to run commands on startup as well so for example, pane 1 launches NGINX in X directory, pane 2 launches Redis in Y directory, pane 3 launches yarn run dev in Z directory, so on and so forth.
This would solve the problem of having to manually launch multiple utilities to get started with your development. As for how the user would use it, I'd imagine a command (ctrl+shift+s) would save the layout and directories in a profile and allow them to launch the profile via the existing profile system.
As a disclaimer, I do know about the wt command with the split-pane option but I've personally not been able to get the configuration I've wanted. This solution would be a bit more user friendly as well so that's a benefit as well. Apologies if this is already an existing feature; if so, please let me know!
Proposed technical implementation details (optional)

The simplest method I can think of would be a launch config in JSON format.

name - The name of the profile or layout
paneLayout - [X, Y] - Number of columns (X) and rows (Y) to create in the tab
paneSettings - The launch config for each pane including the working

workingDirectory - The directory to navigate to in this pane
launchCommand - Optional command to run in this pane

{
  "name": "Project X Local Dev",
  "paneLayout": [3, 2],
  "paneSettings": [
    {
      "workingDirectory": "C:/Users/developer/project/server",
      "launchCommand": "nginx.exe"
    },
    {
      "workingDirectory": "C:/Users/developer/project/server",
      "launchCommand": "redis.exe"
    },
    {
      "workingDirectory": "C:/Users/developer/project/server",
      "launchCommand": "yarn run dev"
    },
    {
      "workingDirectory": "C:/Users/developer/project/client",
      "launchCommand": "yarn run dev"
    },
    {
      "workingDirectory": "C:/Users/developer/project/client",
      "launchCommand": "yarn storybook"
    }
  ]
}

Edit
I've been able to achieve something similar with the wt command but it's not ideal. It doesn't seem like you're able to focus on individual panes so each horizontal split gets smaller and smaller.
wt -p "PowerShell Core" --title "Project" -d "directory" powershell yarn run dev`;
split-pane -p "PowerShell Core" -H -d "directory" powershell yarn run dev`;
split-pane -p "PowerShell Core" -H -d "directory" powershell yarn run dev`;
split-pane -p "PowerShell Core" -H -d "directory" powershell yarn storybook`;
split-pane -p "PowerShell Core" -H -d "directory" powershell yarn storybook -p 6007;

This sounds a lot like issue #3759.

This sounds a lot like issue #3759.

You're absolutely right, I didn't see that issue before but it's asking for the same exact thing. I'll close this issue, thank you!


Should checkbox with constraint IsTrue work out of the box?

...or do I have to implement the constraint IsTrue by myself? I'm trying to use type checkbox with IsTrue validator to force user to check the terms.
http://symfony.com/doc/current/reference/constraints/IsTrue.html
In jquery validation doc I didn't find that it's supported: http://jqueryvalidation.org/documentation/#link-list-of-built-in-validation-methods
and in additional-methods.js there is no IsTrue method.

Hi @robertfausk,
Currently the IsTrue constraint is not supported (my bad). I will take a look at this as soon as I have time and see how the constraint/rule can be best implemented.
Thank you for reporting!

Shall I create issues for further missing constraints/rules?
I could also send you some PR (if it's not to hard to implement them ;) )

@robertfausk The issue sounds like a good idea!
Well the IsTrue implementation is a little complex because there are some constraints for the IsTrue constraint. For example given that a field is a checkbox then IsTrue means that the checkbox is required but if the field is a choice then the value must be matched to the true value.
So the IsTrue constraint mapper is a combination of the required rule and the equalTo rule.
If you have the time to make a PR this would be great! but if not I can pick it up somewhere this or next week.

The IsTrue and IsFalse rules have been added they are part of the additional methods.
Please try dev-master :smile:

Tried! And works! Thank you.


nfent training issue

Hi,

I trying to training nfnet. I used the Pytorch internal Optimizer function ( Adam ). But  Loss value has increased by more than 1billion won. I want to use the optimizer function inside the pytorch. How can we learn nfnet normally using hte Pytorch internal optimizer function

I trained nfnet using a pytorch internal SGD function. when this is done, the Loss values converage. But the accuracy was very low( I used Cifar-10, test accuracy 69% ) How can we use the Pytorch internal function to improve accuracy? I want to use the nfnet network.

Epoch
Loss
Accuracy

1
1.753645
34.90%

2
1.500068
44.98%

3
1.344993
51.19%

4
1.196938
56.67%

5
1.052379
62.29%

6
0.911386
67.60%

7
0.772456
72.64%

8
0.633716
77.47%

9
0.499606
82.60%

10
0.372976
87.39%

11
0.260337
91.45%

12
0.171906
94.62%

13
0.116029
96.64%

14
0.065437
98.22%

15
0.049405
98.83%

16
0.028897
99.36%

17
0.015737
99.74%

18
0.016722
99.71%

19
0.018367
99.67%

20
0.006228
99.93%

21
0.003135
99.97%

22
0.002308
99.97%

23
0.001698
99.98%

24
0.001331
99.99%

25
0.001087
99.99%

26
0.000905
99.99%

27
0.000768
100.00%

28
0.000658
100.00%

29
0.000574
100.00%

30
0.000509
100.00%

31
0.000444
100.00%

32
0.000397
100.00%

33
0.000346
100.00%

34
0.000307
100.00%

35
0.00027
100.00%

36
0.000241
100.00%

37
0.000218
100.00%

38
0.0002
100.00%

39
0.000183
100.00%

40
0.000169
100.00%

41
0.000158
100.00%

42
0.000148
100.00%

43
0.00014
100.00%

44
0.000132
100.00%

45
0.000124
100.00%

46
0.000118
100.00%

47
0.000112
100.00%

48
0.000107
100.00%

49
0.000102
100.00%

50
9.79E-05
100.00%

51
9.38E-05
100.00%

52
8.99E-05
100.00%

53
8.63E-05
100.00%

54
8.31E-05
100.00%

55
8.00E-05
100.00%

56
7.71E-05
100.00%

57
7.45E-05
100.00%

58
7.20E-05
100.00%

59
6.97E-05
100.00%

60
6.75E-05
100.00%

61
6.53E-05
100.00%

62
6.34E-05
100.00%

63
6.15E-05
100.00%

64
5.97E-05
100.00%

65
5.80E-05
100.00%

66
5.65E-05
100.00%

67
5.49E-05
100.00%

68
5.35E-05
100.00%

69
5.21E-05
100.00%

70
5.08E-05
100.00%

71
4.95E-05
100.00%

72
4.84E-05
100.00%

73
4.72E-05
100.00%

74
4.61E-05
100.00%

75
4.51E-05
100.00%

76
4.41E-05
100.00%

77
4.31E-05
100.00%

78
4.22E-05
100.00%

79
4.13E-05
100.00%

80
4.04E-05
100.00%

81
3.96E-05
100.00%

82
3.88E-05
100.00%

83
3.80E-05
100.00%

84
3.73E-05
100.00%

85
3.66E-05
100.00%

86
3.59E-05
100.00%

87
3.53E-05
100.00%

88
3.46E-05
100.00%

89
3.40E-05
100.00%

90
3.34E-05
100.00%

91
3.28E-05
100.00%

92
3.23E-05
100.00%

93
3.17E-05
100.00%

94
3.12E-05
100.00%

95
3.07E-05
100.00%

96
3.02E-05
100.00%

97
2.97E-05
100.00%

98
2.92E-05
100.00%

99
2.88E-05
100.00%

100
2.83E-05
100.00%

I will wait for your reply.
Thank you

I used RMPROPTF or SGD combined with clip-grad=0.002 and clip-mode=AGC that the models work rather well in my own dataset.
I believe it should work with opt Adam. I guess you lack of setting clip-grad and clip-mode.
Good luck
Linh

On 15 Mar 2021, at 08:25, ChoiBigO @.***> wrote:

Hi,
I trying to training nfnet. I used the Pytorch internal Optimizer function ( Adam ). But Loss value has increased by more than 1billion won. I want to use the optimizer function inside the pytorch. How can we learn nfnet normally using hte Pytorch internal optimizer function
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

@ChoiBigO this isn't a bug, so moving to discussion forums, I would not advise deviating far from the paper hparams or the rmsproptf w/ stronger clipping mentioned my @linhduongtuan that I've found to work decently (it can also work with rmsproptf or sgd/momentum + global norm clipping of 1.0.
If you want to use ADAM, you're going to need to do some parameter sweeps


Old Datagrid pagination API causes ExpressionChangedAfterItHasBeenCheckedError in Ivy

Describe the bug
The following is Datagrid's old pagination API:
 <clr-dg-footer>
          {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}}
          of {{pagination.totalItems}} users
          <clr-dg-pagination #pagination [clrDgPageSize]="2"></clr-dg-pagination>
</clr-dg-footer>

This API causes the ExpressionChangedAfterItHasBeenCheckedError if used with Ivy enabled. The underlying issue came with Angular 9's release. The bug has been reported here: https://github.com/angular/angular/issues/34821
However, users can avoid this issue if they use Datagrid pagination's new API:
<clr-dg-footer>
    <clr-dg-pagination #pagination [clrDgPageSize]="10">
        <clr-dg-page-size [clrPageSizeOptions]="[10,20,50,100]">Users per page</clr-dg-page-size>
        {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}}
        of {{pagination.totalItems}} users
    </clr-dg-pagination>
</clr-dg-footer>

So to resolve this issue, we could either wait for a bug fix from Angular or deprecate the old Datagrid pagination API and replace all examples of it with the new API examples on our documentation.
How to reproduce
The issue is visible in our client app if Ivy mode is enabled.
Expected behavior
There must be no ExpressionChangedAfterItHasBeenCheckedError errors.
Versions
App

Angular: ^9.x
Clarity: ^3.x

Closing as we haven't had any issues or reports of this problem, and the workaround is straightforward.


[poly2tri] Set policy CMP0063 to NEW

Describe the pull request

What does your PR fix?

Linker warnings about conflicting visibility settings if poly2tri, which is built as a static library, is pulled into a build as an indirect dependency of a shared library. An example of such a configuration is assimp, which depends on poly2tri, and can be built as a dynamic library on macOS.
Policy CMP0063 enables CMake to set the symbol visibility of static libraries to avoid this problem.

Which triplets are supported/not supported?
Yes, to the best of my knowledge.

No, the maintainer guide says to do that only when updating multiple ports at the same time.

@microsoft-github-policy-service agree]

@microsoft-github-policy-service agree

Thanks for running down that extremely bizarre policy thing


CARDS-2065: Add a questionnaire setting to hide answer instructions, CARDS-2066: Reword "This question is mandatory"

Includes:

CARDS-2065: Add a questionnaire setting to hide answer instruction
CARDS-2066: Reword "This question is mandatory" to "This answer is required" to make it more user-friendly

Testing

Start prems
From Administration > Questionnaires, preview the prems surveys - notice that "This question is mandatory" has become "This answer is required" (per CARDS-2065)
In the questionnaire wizard. for one of the surveys, e.g. CPESIC, set the new questionnaire property labeled Hide answer instructions to true
Start filling out the survey

Notice none of the "This answer is required" lines appear
Try to advance to the next page without filling in a question -> notice "This answer is required" appears under the red-outlined question's text

Works well.
Question: if a question requires between 2+ answers, and we don't provide any and trigger the save failure and highlight, the highlight (and answer instructions) disappear as soon as one option is selected, even though the answer is still not valid. Should we keep the highlight and instructions on until the question meets the criteria? I didn't test, but I expect the same to be true for an invalid range value as well, e.g. expected range 1000-3000, starting with 1 as the value, the instructions disappear as soon as 10 is typed in the input.

You are right in your observations and assumptions. We should, keep the highlight on the question until the answer complies, but that's in the scope of 1375 which has already been merged with the logic that it makes the highlight disappear at first change. Moreover, it disappears at ANY change to the form, not just a change in the highlighted question. I vote for fixing that separately and I would say it is not a blocker.


Add exekube-versions-check to CircleCI config

As found in #484, we periodically forget to update exekube image version in all places.
This new CircleCI check should serve as a reminder.

LGTM


improve performance and memory footprint of inserts

Depends on #214, just review changes from last commit.
Previous:
BenchmarkKallaxInsertWithRelationships-4      	     200	   5412829 ns/op	   21537 B/op	     481 allocs/op
BenchmarkKallaxInsert-4                       	     300	   4225965 ns/op	    3690 B/op	      88 allocs/op

Current:
BenchmarkKallaxInsertWithRelationships-4      	     200	   5734055 ns/op	   10220 B/op	     218 allocs/op
BenchmarkKallaxInsert-4                       	     500	   3914440 ns/op	    1185 B/op	      29 allocs/op

Allocs were cut in more than a half (almost a third without relationships) and it's slightly faster.
TL;DR: just by removing entirely the Squirrel query builder usage the memory usage was cut in half. We should move away from it as soon as possible, at least for inserts, updates and deletes which are fairly simple without it.
Queries might prove to be slightly more difficult but I still think it's worth the effort if we want to reduce in half the memory footprint of the framework
Note that it still uses the cached statements proxy from Squirrel. When we move away from it, we should either use it or make our own. It's the reason why our version, even being more complicated, it's slightly faster than plain database/sql inserts (without prepared statements).

By moving away from squirrel for updates and deletes, you mean for specific record updates and deletes, not for batch ones, don't you?
Building queries can get really complicated really quick for non-trivial cases.

There are no batch updates/deletes.
Yes, querying can get ugly. But the only complex things we're doing are joins and counts. Not like we have to implement a full SQL builder. It's not like we're gonna do this now, but it would be nice for the future to move to a non-immutable query builder, because this one does a lot of allocs.


fixed typo in help text

@larryms,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Codecov Report

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

@@           Coverage Diff           @@
##           master    #2519   +/-   ##
=======================================
  Coverage   72.47%   72.47%
=======================================
  Files         362      362
  Lines       19582    19582
  Branches     2871     2871
=======================================
  Hits        14192    14192
  Misses       4477     4477
  Partials      913      913

Impacted Files
Coverage Δ

...zure-cli-vm/azure/cli/command_modules/vm/custom.py
74.5% <ø> (ø)
:white_check_mark:

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 242874d...d733d85. Read the comment docs.


[SPARK-36748][PYTHON] Introduce the 'compute.isin_limit' option

What changes were proposed in this pull request?
Introduce the 'compute.isin_limit' option, with the default value of 80.
Why are the changes needed?
Column.isin(list) doesn't perform well when the given list is large, as https://issues.apache.org/jira/browse/SPARK-33383.
Thus, 'compute.isin_limit' is introduced to constrain the usage of Column.isin(list) in the code base.
If the length of the ‘list’ is above the 'compute.isin_limit', broadcast join is used instead for better performance.
Why is the default value 80?
After reproducing the benchmark mentioned in https://issues.apache.org/jira/browse/SPARK-33383,

length of filtering list
isin time /ms
broadcast DF time / ms

200
69411
39296

100
43074
40087

80
35592
40350

50
28134
37847

We may notice when the length of the filtering list <= 80, the isin approach performs better than broadcast DF.
Does this PR introduce any user-facing change?
Users may read/write the value of 'compute.isin_limit' as follows
>>> ps.get_option('compute.isin_limit')
80

>>> ps.set_option('compute.isin_limit', 10)
>>> ps.get_option('compute.isin_limit')
10

>>> ps.set_option('compute.isin_limit', -1)
...
ValueError: 'compute.isin_limit' should be greater than or equal to 0.

>>> ps.reset_option('compute.isin_limit')
>>> ps.get_option('compute.isin_limit')
80

How was this patch tested?
Manual test.

Test build #143226 has started for PR 33982 at commit 8d06b21.

Test build #143226 has finished for PR 33982 at commit 8d06b21.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47729/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143226/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47729/

Merged to master.