Dynamic maximum number of parcels

We currently set the maximum number of parcels as a constant max_num_parcels. This causes issues when increasing the grid resolution. We should make this a runtime dependent value. I suggest to use max_num_parcels = nx * ny * nz * n_per_cell * size_factor (and nx * nz * n_per_cell * size_factor in 2D) where size_factor is a user-defined input parameter.

@sjboeing I would be happy you could have a look at this PR. I checked if I can run EPIC and restart in 2D and 3D as well.

This seems like a sensible approach (maybe we could check with Evegenij). I left a few comments. Did you check restarts from both parcels and grid?

Yes, I checked restarts from parcels and grids.

@sjboeing Can I pull this change into main?

@matt-frey: yes, happy for you to merge this!

Great! Thanks!


virtiofs: Update virtiofs docs

Update this document to get rid of any nemu mentions.
Added comment to mention that number of containers that can be
launched may be limited by the size of /dev/shm.
Fixes #674
Signed-off-by: Archana Shinde<EMAIL_ADDRESS>

cc @egernst @jcvenegas

/test-ubuntu


Postgres's InetAddressField

Using DDB with a database with an InetAddressField prints:
DDB: FBReport.source_ip unsupported type InetAddressField
When the initial migration is run and on every url request.

After getting the model to be visible the fields contents are displayed and filtering gives isNull as an option, so DDB copes but dosn't have the nicer queries.

Are they otherwise available in the ORM? If so you probably want to map a filter lookup, if not you might be able to hack it with a function subfield, similar to how the is_null sub filed (as oppose to the filter lookup) is done.
For filter lookups you need a custom type in types.py (which is also where you can handle custom formatting). New lookups also need to be covered in orm_fields.py _get_django_lookup where the data browser lookup is mapped to the Django one.
For aggregates and functions it's all in orm_fields.py but you will still need a dedicated type in types.py because type subfields are currently overly bound to the types, aka I can't have different sets of subfields for the same type in different contexts.
For functions they are declared in _TYPE_FUNCTIONS and translated to django in _get_django_function. You can see the is_null thing I mentioned by looking for the IsNull function in that file.
For completeness aggregates are handled in a similar way with _TYPE_AGGREGATES and _get_django_aggregate.

I want to make all of this more pluggable somehow, I also need to improve separation through here in as part of the whole sql alchemy thing.


Could you open private API of FlexAdapter?

Could you open private API of FlexAdapter? It could be easier to override some logic for example ItemTouchHelper  implementation.
In my case I want to add onChildDraw to ItemTouchHelper  but preserve other methods from your implemenation but I'm unable to do that because of e.g attrsAt method is private.

Sure, that's possible, although I'd like to keep as much private as possible in order to reduce breaking changes in the future. Can you make a list of the functions/classes that you would need to be public?

Nice to hear that and that requirement make sens to me.
List of things that are required to fully override ItemTouchHelper:

private fun attrsAt
internal interface FlexAdapterItemAttrs
private var callDragListenerOnDropOnly
private var itemDraggedListener

If that's not possible because of your reasonable requirement of keeping API private. I can make pull request with feature that provide possibility of adding custom background during item swiping.


WIP: Sync upstream commits to the 4.11 release branch

Same commit(s) as #264 but adds a commit to the flaky copied CSV test that filters out terminating namespaces to see if that helps alleviate flakiness while running this test in CI (note: difficult to reproduce this locally even on OCP clusters).

/test

/test e2e-aws-olm

/test e2e-aws-olm

/retest

/test all

/retest

/test all

/retest

Note: I took out the CSV e2e refactoring commit that still needs to be pushed through upstream. Yesterday I got CI to a point where it was largely green, so if we see a regression since this latest force push, re-introducing that commit could be a decent start point.
It looks like the following are the current set of downstream-only changes:

Updates to the build root Dockerfile
Fix the catalog operator deployment manifest flags after migrating to use cobra as the CLI library
Hacking around the magic catalog test fixture hardcoding (causes the verify check to fail)
Update the root go module to 1.17
Fixing drift in 568ac3ab2feb81747b7d8a96b16ebdc986e32d18 (causes the verify check to fail)

Note: we may need to live with the verify check failing this time around as it's not clear whether we can avoid having needing to modify the staging director(ies) in the context of those commit changes.

Sync TODO(s):

Check what upstream commits are still missing
Push through an upstream fix to the magic catalog test fixture + CP to this PR
Push through @perdasilva upstream CSV refactoring changes + CP to this PR
Fix hack around operatorhub-catalog hardcoding that was added upstream

Needs home and/or things I've noticed since I've been muddling in this space recently:

The $ARTIFACTS_DIR logic that was added upstream doesn't work with the kubeconfig provisioner
We don't have an easy way of injecting the --debug flag for the OLM/Catalog Operator deployments dynamically before the release image is created
Our o/release jobs are platform-specific despite the jobs being agnostic to the cloud platform type

Opened https://github.com/openshift/release/pull/27217 as a result of this

Debugging individually failed test cases isn't trivial due to poor error messages + the inability to gather the state of testing artifacts during failed test cases
Need to split out the special handlement of the unit/psm target in the unit/olm target into it's own prowjob

/retest

/retest

/retest-required

Alright it looks like the github status' were stuck and closing/re-opening worked :shrug:

/retest-required

/retest-required

/retest

/test all

[BeforeEach] Catalog represents a store of bundles which OLM can use to install Operators
/go/src/github.com/openshift/operator-framework-olm/staging/operator-lifecycle-manager/test/e2e/catalog_e2e_test.go:49
created the catsrc-e2e-bklz7 testing namespace
[It] delete internal registry pod triggers recreation
/go/src/github.com/openshift/operator-framework-olm/staging/operator-lifecycle-manager/test/e2e/catalog_e2e_test.go:544
Creating catalog source catalog-2rq99 in namespace catsrc-e2e-bklz7...
Catalog source catalog-2rq99 created
Waiting for pods matching selector olm.catalogSource=catalog-2rq99 to match given conditions
Waiting for pods matching selector olm.catalogSource=catalog-2rq99 to match given conditions
Waiting for pods matching selector olm.catalogSource=catalog-2rq99 to match given conditions
Waiting for pods matching selector olm.catalogSource=catalog-2rq99 to match given conditions
waiting for [872d5013-7977-4352-8aae-c3068e47250c] not to contain 872d5013-7977-4352-8aae-c3068e47250c
Waiting for pods matching selector olm.catalogSource=catalog-2rq99 to match given conditions
waiting for [a1554b32-db4b-439a-8586-7ad8c395bf49] to not be empty and not contain 872d5013-7977-4352-8aae-c3068e47250c
Deleting config map catalog-2rq99-configmap...
Deleting catalog source catalog-2rq99...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
waiting for the catalog source catalog-2rq99-5z4nd pod to be deleted...
[AfterEach] Catalog represents a store of bundles which OLM can use to install Operators
/go/src/github.com/openshift/operator-framework-olm/staging/operator-lifecycle-manager/test/e2e/catalog_e2e_test.go:62
collecting the catsrc-e2e-bklz7 namespace artifacts as the 'delete internal registry pod triggers recreation' test case failed
$ARTIFACTS_DIR is unset -- not collecting failed test case logs
tearing down the catsrc-e2e-bklz7 namespace

</details>

Going to get this respinned again and investigate more locally.

/retest-required

/retest-required

/retest-required

/retest-required

/retest-required


Migrate from mox to mock library

mox is a mocking library that hasn't been updated in a long time:
https://pypi.org/project/mox/
we use it for test_tasks, test_external_search, and test_send_mail.
Python has a new library simply called mock, which is built-in for Python 3 and available for Python 2 as a library.

It turns out everything else we use mox for is related to AppEngine APIs, which we have to get rid of anyway. It doesn't make a lot of sense to migrate tests that are going to need to be rewritten anyway, so I'm marking this blocked (once we rewrite those tests with Cloud APIs or whatever, we can remove mox.py and close this).


validate version in package.json

I made a release with version number 2.21 and when that version is added to the package.json i get an error in my build:
npm ERR! Invalid version: "2.21"
Maybe add node semver to the job to verify right format, from the npm documentation: https://docs.npmjs.com/files/package.json#version

Hi @espensgr , thanks for the feedback 👍. You're right the version should be validated before any update.
Node is a very big dependency that I do not want to introduce. Right know the OS + code is only  😊
However node-samver is very good reference implementation, the validation logic from samver.js should be ported using bash/shell script.
The version string should be validated when:

reading last version
increasing the version

It'll then exit with fail error code if latest tag does not conform to samver standards.
Thank you again. I'll take a look at the implementation when I have time this week.

I added validation with #4, and the behavior is like this now:
Tag latest commit with invalid semantic version string e.g. 2.1. and now the action fails with following:
2020-07-07T16:12:30.8005615Z Setting up credentials
2020-07-07T16:12:30.8066911Z Bumping and tagging version
2020-07-07T16:12:30.8154334Z Version "2.1" is invalid (not in `major.minor.patch` format)
2020-07-07T16:12:30.8172484Z Latest commit tag "2.1" in commit "13423ec5feece2445edcbb87f45f0982bf52b227" is not a version string

The validation logic is published in latest version

The validation logic is published in latest version, thanks again for your contribution @espensgr, hope I understood you correctly.


Write unit tests for tree training

Currently, tests only verify that training accuracy is improving over time. We want to add unit tests to verify correctness of each component of training. The fast histogram updater (updater_quantile_hist.cc) is a good candidate, since the updater is neatly broken down into multiple methods.

Addressed in #4155, by adding validation logic for intermediate steps of the fast histogram updater.


Errors or bad merged graph when input graphs have same node/output names

this snippet in merge workarounds the problem for me by renaming everything in the second graph:

    sg2 = copy.deepcopy(sg2)

    for init in sg2.initializer:
        init.name = init.name + '_g2'

    for init in sg2.node:
        for index, name in enumerate(init.input):
            init.input[index] = init.input[index] + '_g2'
        for index, name in enumerate(init.output):
            init.output[index] = init.output[index] + '_g2'

    for index, name in enumerate(inputs):
        inputs[index] = inputs[index] + '_g2'

    for init in sg2.output:
         init.name = init.name + '_g2'

I guess we should be able to add this to the discussion here https://github.com/scailable/sclblonnx/pull/19 and fix it in one go.

Thanks again for highlighting this issue; in the overhaul of merge.py (see 44c5078), we have adopted this workaround (see postfix_names() and its usage by concat()).


Ignore root nodes when exporting to GLB

Ignore the root nodes used for conversion from right-handed to left-handed when exporting to GLB.
Solving issue #6349.
It implements Gary's solution discussed in last PR https://github.com/BabylonJS/Babylon.js/pull/7338.
PR is split in 2 commits:

First commit for ignoring one root node
Second commit to ignore multiple root nodes

It might be easier to look at file changed in 1st commit first.
Regarding implementation, the _convertToRightHandedSystemMap is initialized with all nodes. You may prefer to have a default value used when Map.get returns undefined.
Right now, it's sometime necessary to cast to boolean in case the node is not found (should never happen): convertToRightHandedSystemMap.get(babylonTransformNode) as boolean
@bghgary Thanks for the hints! Could you review the PR ?

Looking to fix Unit tests (lights)

Added a check on node type. The following node types are not candidate for a root node used to convert from right-handed to left-handed:

lights
cameras
mesh, or instance of a mesh, with geometry

Last check @bghgary ?


decouple pandera and pandas dtypes

fixes #369
@jeffzi finally getting this into the 0.7.0 release branch! Thanks for all your hard work on this, it's a huge step that will make pandera more accessible in the DS/ML ecosystem!

Exciting news ! For 0.7.1 I'll take a look at opened issues that can be fixed using the new internals.

Thanks for all your hard work on this

My pleasure :tada:


ERR_UNSUPPORTED_DIR_IMPORT

Description
info  - Collecting page data .Error [ERR_UNSUPPORTED_DIR_IMPORT]: Directory import '/Users/chenrocer/Projects/myproject/node_modules/next-intl/dist/react-client' is not supported resolving ES modules imported from /Users/me/Projects/myproject/node_modules/next-intl/dist/index.mjs
at new NodeError (node:internal/errors:399:5)
at finalizeResolution (node:internal/modules/esm/resolve:319:17)
at moduleResolve (node:internal/modules/esm/resolve:945:10)
at defaultResolve (node:internal/modules/esm/resolve:1153:11)
at nextResolve (node:internal/modules/esm/loader:163:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:838:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
at ModuleWrap. (node:internal/modules/esm/module_job:77:40)
at link (node:internal/modules/esm/module_job:76:36) {
code: 'ERR_UNSUPPORTED_DIR_IMPORT',
url: 'file:///Users/me/Projects/myproject/node_modules/next-intl/dist/react-client'
}
Mandatory reproduction URL (CodeSandbox or GitHub repository)
"next-intl": "^2.17.1"
Reproduction description
when next build
info  - Collecting page data .Error [ERR_UNSUPPORTED_DIR_IMPORT]: Directory import '/Users/chenrocer/Projects/myproject/node_modules/next-intl/dist/react-client' is not supported resolving ES modules imported from /Users/me/Projects/myproject/node_modules/next-intl/dist/index.mjs
at new NodeError (node:internal/errors:399:5)
at finalizeResolution (node:internal/modules/esm/resolve:319:17)
at moduleResolve (node:internal/modules/esm/resolve:945:10)
at defaultResolve (node:internal/modules/esm/resolve:1153:11)
at nextResolve (node:internal/modules/esm/loader:163:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:838:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
at ModuleWrap. (node:internal/modules/esm/module_job:77:40)
at link (node:internal/modules/esm/module_job:76:36) {
code: 'ERR_UNSUPPORTED_DIR_IMPORT',
url: 'file:///Users/me/Projects/myproject/node_modules/next-intl/dist/react-client'
}
Expected behaviour
next build success

Please provide a reproduction URL as mentioned in the issue template, as without it I can't help you unfortuantely.

@amannn Here you go: https://github.com/iffa/next-intl-378-reproduction/
➜  ~/Projects/next-intl-378-reproduction git:(main) npm run build

><EMAIL_ADDRESS>build
> next build

- info Linting and checking validity of types
- info Creating an optimized production build
- info Compiled successfully
unhandledRejection Error [ERR_UNSUPPORTED_DIR_IMPORT]: Directory import '/Users/santeri/Projects/next-intl-378-reproduction/node_modules/next-intl/dist/react-client' is not supported resolving ES modules imported from /Users/santeri/Projects/next-intl-378-reproduction/node_modules/next-intl/dist/index.mjs
    at new NodeError (node:internal/errors:399:5)
    at finalizeResolution (node:internal/modules/esm/resolve:319:17)
    at moduleResolve (node:internal/modules/esm/resolve:945:10)
    at defaultResolve (node:internal/modules/esm/resolve:1153:11)
    at nextResolve (node:internal/modules/esm/loader:163:28)
    at ESMLoader.resolve (node:internal/modules/esm/loader:838:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:77:40)
    at link (node:internal/modules/esm/module_job:76:36) {
  type: 'Error',
  code: 'ERR_UNSUPPORTED_DIR_IMPORT',
  url: 'file:///Users/santeri/Projects/next-intl-378-reproduction/node_modules/next-intl/dist/react-client'
}
- info Collecting page data .%

@iffa Thanks, looking into it now!

downgrade to v2.17.0 fix the issue, might be something wrong in v2.17.1.


Training process killed

I tried to train transformer model on my own parallel corpus (about 250MB).
But after the graph is constructed, the process is killed before session started.
Graph loaded
WARNING:tensorflow:From train.py:171: Supervisor.__init__ (from tensorflow.python.training.supervisor) is deprecated and will be removed in a future version.
Instructions for updating:
Please switch to tf.train.MonitoredTrainingSession
2018-11-27 12:32:22.021904: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2018-11-27 12:32:22.279206: I tensorflow/compiler/xla/service/service.cc:149] XLA service 0x5607d324dc90 executing computations on platform CUDA. Devices:
2018-11-27 12:32:22.279319: I tensorflow/compiler/xla/service/service.cc:157]   StreamExecutor device (0): Tesla P100-PCIE-12GB, Compute Capability 6.0
2018-11-27 12:32:22.286826: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1433] Found device 0 with properties:
name: Tesla P100-PCIE-12GB major: 6 minor: 0 memoryClockRate(GHz): 1.3285
pciBusID: 0000:04:00.0
totalMemory: 11.91GiB freeMemory: 10.98GiB
2018-11-27 12:32:22.286958: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1512] Adding visible gpu devices: 0
2018-11-27 12:32:22.288905: I tensorflow/core/common_runtime/gpu/gpu_device.cc:982] Device interconnect StreamExecutor with strength 1 edge matrix:
2018-11-27 12:32:22.288978: I tensorflow/core/common_runtime/gpu/gpu_device.cc:988]      0
2018-11-27 12:32:22.289007: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1001] 0:   N
2018-11-27 12:32:22.289527: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10682 MB memory) -> physical GPU (device: 0, name: Tesla P100-PCIE-12GB, pci bus id: 0000:04:00.0, compute capability: 6.0)
Killed

Any ideas?

same problem anyone solved?
@yanshengjia @ccnankai @kimdwkimdw @maximedb @Kyubyong

Dis you try reducing the model size ?


Cannot fetch Firefox

Hi,
I'm trying to run automatic testing with Firefox, when I start to fetch Firefox and launch it, I got an exception with message: "The remote server returned an error: (404) Not Found.". My puppeteer-sharp version is latest (<IP_ADDRESS>). Maybe the download link have been deprecated.

Any ideas? Thanks!
Regards,
Hung Nguyen

I will fix this and ship 4.1 :)


[CMS] Add 'community' string field to Speaker model

The Speaker model should have an additional string field: 'Community'.
Let's add a migration adding this field, and add it to the Speaker UI in Administrate and the Importer module as well.

I'd be happy to work on this if it's still open

Please do!

Added the field to the speaker model and migrated, but I am not totally sure which speaker UI you are referring to. Is it in the stories column when you enter the site, where you can filter by speakers or region? And the importer is that the csv importer?

@MxOliver It should be the Speaker dashboard when you visit the /admin page, you can click on Speakers in the left rail!
You can find those view files under dashboard https://github.com/Terrastories/terrastories/tree/master/rails/app/dashboards

Hey, what is the status of this issue? Is it still being worked on?

@namel3ss Hey there thank you for your interest! There is a current open PR for this issue :)


[SDK-76] Add account linking functionality

SDK-76
Description

This PR adds the functionality required to pass the login token into webview setup functions and build a URL with the logintoken param (if provided
this enables devs to trigger auto login, they just need to implement the process of requesting this token from there back end (it can't be done client side)

Changes
Added

loginToken param to webview setup function
login token param to BuildURL process
ReloadUrlWithToken to trigger reload without reinitialization.

How to Test

Run webview on a device and check logs for authorized event after logging in

Checklist

[ ] Tests written or updated for the changes.
[ ] Documentation is updated.
[ ] Changelog is updated.
[ ] QA Testing is updated.

QA Testing

Mention any useful test cases for this feature and add to QA Testing documentation.

Details

If more details are necessary to support the description with images and videos add them here.

I that you are passing loginToken in all public functions, wouldn't it be better to set it once in another function/property and then use it everywhere?

I see that you are passing loginToken in all public functions, wouldn't it be better to set it once in another function/property and then use it everywhere?

The login token only lasts 15 seconds so it needs to be used immediately

Hi @Thaina this is an early feature which is not yet publicly available. We will share more details when it is finalized. Meanwhile you can join our Discord to be notified of latest news https://discord.gg/readyplayerme

I have join the discord but there was no answer about this feature


Couldn't find the invocation symbol exception while defining a record

Description:
Steps to reproduce:

Use this code snippet

type Person record {|
    string name;
    int age;
    string school;
|};

Person p = { name: "name"}

Try adding a "," (comma) after name:  "name"  like in the below code snippet

type Person record {|
    string name;
    int age;
    string school;
|};

Person p = { name: "name",}

See the ballerina output

java.lang.Exception: Couldn't find the invocation symbol!
	at org.ballerinalang.langserver.BallerinaTextDocumentService.lambda$signatureHelp$2(BallerinaTextDocumentService.java:210)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1692)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Duplicate of #29549 . Hence closing


Implement --humanize

[x] Tests
[ ] Tests
[ ] Tests

Fixes #159
Closes #128

TodoFormatter already has code for humanizing datetimes. What about that?

The main difference is that the existing code merely replaces a date with "tomorrow", making it more readable but with no loss in precision. The HumanizedFormatter has output with less precision, and exact dates/times are lost.

My point is that it's not very intuitive for humanized datetimes to be shown when --humanized is not used.

Yeah, I agree with that. Maybe the docs could cover that a bit? Do you have any other suggestion?
A second choice is to rename --humanize to --fuzzy.

Why not just remove the humanizing code from the default formatter?

Why not just remove the humanizing code from the default formatter?

Don't really see why. :(

I mean that only when --humanize is used, the date is replaced with Today and so on. I.e. remove the special datetimes dict and all that.

Nope, I don't think I understand.

With this PR we have two ways to humanize datetimes, once using humanize, once using #108. I think there's no major difference between being precise or not. The bigger difference is between formatting with the normal date_format from the config... and not doing that.

I'm not sure if you dislike the result or the implementation (or both).

The intended UI

So, would you rather not show "Tomorrow/"Today" in non-humanized form (for the basic formatter)? Or do you dislike this PR entirely?
What would you change for it?

When humanize setting is false, don't use the strings "Today" or "Tomorrow"
at all, i.e. use pre-#108 behavior.
Otherwise use the humanize package.
On Thu, Mar 02, 2017 at 07:36:40PM -0800, Hugo Osvaldo Barrera wrote:

So, would you rather not show "Tomorrow/"Today" in non-humanized form (for the basic formatter)? Or do you dislike this PR entirely?
What would you change for it?
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/pimutils/todoman/pull/161#issuecomment-283856468

When humanize setting is false, don't use the strings "Today" or "Tomorrow" at all, i.e. use pre-#108 behavior.

Why do you feel that's a bad idea? (I'm honestly just trying to understand your POV).

I'm not sure how to express it better: It feels bad to have two implementations
for humanizing datetimes, first #108 and now using the humanize pkg. Two
implementations that basically serve the same purpose (again I don't consider
the distinction "fuzzy" vs "exact" important). IMO one of them has to go.
On Fri, Mar 03, 2017 at 10:18:04AM -0800, Hugo Osvaldo Barrera wrote:

When humanize setting is false, don't use the strings "Today" or "Tomorrow" at all, i.e. use pre-#108 behavior.

Why do you feel that's a bad idea? (I'm honestly just trying to understand your POV).
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/pimutils/todoman/pull/161#issuecomment-284029637

PR updated (and a lot has been rewritten).

This reintroduces the bug #160 fixed, because now we might end up using humanized datetimes inside TodoEditor again.

Oh, you're right; I just need to modify formatter and never ui_formatter, right?

Right, but we could also stick closer to the original design and have only two TodoFormatters, with formatting methods having a humanize flag.

Right, but we could also stick closer to the original design and have only two TodoFormatters, with formatting methods having a humanize flag.

I think this is actually a perfect scenario to have to classes because we have perfect polymorphism: both implement the same API, but have different implementations.

In either case you're now mixing two approaches: You're passing porcelain as a flag instead of formatter_class=PorcelainFormatter, at the same time you don't pass humanize but influence behavior using formatter_class.

Yup, that's ugly. Updated.

I prefer DefaultFormatter because it's also the one used by default and that makes it a wee bit more obvious.
Regarding the property names: I think they're quite representative, but I'm open to better suggestions.

Rebased. I actually found another bug we had hiding there (which was made evident due to the merge), so I fixed it and added a few tests.


does fmriprep include correction for baseline drifts?

Hello,
Does fmriprep include correction for baseline drifts?
I need to use a LISA tool (LIPSIA) for single-subject analysis and it requires that: "The preprocessing pipeline must include a correction for baseline drifts."
According to the output of the fmriprep (Methods) it seems that there is no correction for baseline drifts.
Please correct me if I am wrong.
Thank you :)

No, fMRIPrep only resamples, and does not attempt to denoise. You could check out https://github.com/nbraingroup/fmridenoise for this purpose. fMRIPrep does provide a set of cosine regressors that can be used to regress out low frequency components. We use a high-pass cutoff of 128s, so frequencies below ~0.008Hz should be effectively removed. This would likely satisfy "baseline drifts".
There are other methods for removing low-frequency components. The only cases where you really need to use the cosine regressors is if you also want to regress out CompCor components.
Hope this helps.

Thank you Chris for your response.
I think I can apply the correction by LIPSIA: "vpreprocess -in tmp4.v -out prep_$1.v -fwhm 6 -low 10 -high 90"
using as input file the fmriprep derivative.

Sounds good. Thanks for the question!


types: add object to populate param

Hello,
This add an object type to the populate param which mimics the allowed types listed in Strapi rest api:
https://docs.strapi.io/developer-docs/latest/developer-resources/database-apis-reference/rest/api-parameters.html
This allows the ability to use an object and thus use advanced populating.
https://docs.strapi.io/developer-docs/latest/developer-resources/database-apis-reference/entity-service/populate.html#advanced-populating
Types of changes

[ x] Bug fix (a non-breaking change which fixes an issue)
[ x] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

I think the above pretty much sums it up. It's just a type change but allows using an object for advanced populating without type errors.
Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes (if not applicable, please state why)

Don't mean to be a bother, but any word on this? This is the only thing holding me back from really being able to use this module.

Thanks @benjamincanac :)


Build system: fix profile variables override platform flags

Build system: fix profile variables override platform flags as like command line args
Where it is useful https://github.com/godotengine/godot/pull/89597
@AThousandShips looks like I found how to do it

One more thing just for notice. In the SConstruct file I didn't saw one naming convention. I saw names "option", "variable", "flag", "argument" and if I understand correctly they in general mean the same thing. It is confusing :/

Akien's approach is much more easy and flexible which will allow to prune some other issues


control physical robots

hello,Dr. Wen，Which is the code that controls the physical robot?

Hi, we didn't release the real-world experiments. However, you can refer to run_grasp_simulation.py for controlling the real-world robot just like simulation.


Nextcloud UID/GID

The docker-compose sample for nextcloud includes the options UID/GID environment variables:
    - UID=1000
    - GID=1000
(see https://hub.docker.com/r/wonderfall/nextcloud/)
but /etc/passwd and /etc/group don't get aligned for user nginx.
It should read
 /etc/passwd: nginx:x:1000:1000:nginx:/var/lib/nginx:/sbin/nologin
  /etc/group: nginx:x:1000:nginx

We don't use the user/group nginx, we launch nginx under these UID/GID.
You can check with ps aux.

Yes, in fact.
This is a rather cosmetic issue only.


Fix/#1

I put a .gitignore rule in so these didn't get checked in.  Do we need them checked in?

Refers to: LUIS/test/.luisrc:7 in bd7017b. [](commit_id = bd7017bc453a78565fa28e1a9c524e1eb7711fb4, deletion_comment = False)


Add server option alwaysIssueNewRefreshToken

The refresh token grant request has a new refresh token on each request. But it would be nice to implement alwaysIssueNewRefreshToken = true/false option, whether to issue a new refresh token upon successful token request or not.
I'm using long-lived refresh token, so i don't want to revoke refresh token and issue a new one.

I will have a PR for this in the next couple of days

Hi,
please have a look at #282 . The PR is closed, but you can understand, what I've wanted to achieve.
Maybe you'll come up with a better solution, than I did.

@visvk - I reopened #282.  There are some conflicts that need to be fixed - if you can fix these, we can work to get this merged.


Post-transaction tx-data

In Datomic, the transaction result includes tx-data, which is a fully-resolved and complete version of the transaction originally submitted (i.e. with tempids resolved, transaction functions applied, maps flattened, etc.).
It would be very helpful to include something similar in the result of a CausalBase transaction, e.g. for sending on the wire to other participants with their own local versions of the CRDT.

Now that I'm thinking about this, @smothers should decide if he wants to support both op-based (CmRDT) and state-based (CvRDT) usage patterns.  This issue is only helpful for the op-based side.


Rename info comonent to slide-preview

Allow arrow-shortcuts everywhere in the preview
Resize the preview

PTAL


Review ACR API conversation with Krzysztof

Identify key areas of concern and make sure the beta.2 API reflects updates

Key points are:

Tags is used differently than elsewhere; this is confusing.  Can we minimize this?
Consider and API with helper methods like Cosmos API -- small types with operations on it, such as CosmosContainer.  (API Proposal)
Upload/download APIs are very low-level; similarly for /acr/v1 methods given user must pull data to client to query/filter.


Fixes python3 dict removal of iteritems() - is now just items()

There's a bug here if using python 3 and attempting to delete specific user messages.
This is caused by a call to iteritems() which no longer exists in Python 3.x

Closing, as it's duplicate of #53


Refactor Redirection.res

Make the code concise and readable by separating concerns into different files.
Solve for easier management of payment methods.
Make components more resilient to unwanted re-renders.

https://github.com/juspay/hyperswitch-client-core/pull/68


Horizontal scrollbars in Outlook

Hi
Does anyone also get horizontal scrollbars in outlook?
I'm currently testing on outlook 2016 and outlook 2010. The scrollbar also appears if I take the example code from the heml online editor (https://heml.io/editor).

I think this comes from width:100%;
What worked for me was to set the width of the body to 99% in the head, style-tag
`

Welcome to HEML!

`

Thanks for your feedback.
In my case I need to set the 99% to the body "style", the bodyTable "with" and "style" attribute.


loss calculation problem

after 5 epoch when i ran load_weights_and_test.py
this error occured
Traceback (most recent call last):
File "src/load_weights_and_test.py", line 144, in
loss = weights_names[0].split(".")[1].split("-")[1] + "." + weights_names[0].split(".")[2]
IndexError: list index out of range
how to solve it
thank you

Hi @vcvishal
Sorry for the delayed response. Could you provide more details on this? I am unable to reproduce your error.
Thanks


Error: No exported locals found

I have a index.scss file with such CSS rules:
@font-face {
   font-family: Lato;
   src: url('font-lato/lato-bold-webfont.woff2') format('woff2')
   font-weight: 700;
}

body {
  font-family: Lato;
}

And I got this error Error: No exported locals found for C:\Users\kw\pm\src\css\index.scss     at Object.module.exports (C:\Users\kw\pm\node_modules\css-modules-typescript-loader\index.js:73:19)
It works fine if the rules are just class selector .selector { color: red }.

I've proposed a fix (with a passing test) for this https://github.com/seek-oss/css-modules-typescript-loader/pull/16


LUIS Scoring not evaluated in trigger evaluation

If you also include another dialog that asks for user input that allows for interruption, Other dialogs trigged based on LUIS intents are fired even though their scores do not meet the threshold.
please note the LUIS score returned during testing yet the Cancel rule required a great than .8 confidence

What am I missing here?

@Todd442 I tried the ToDoBotWithLuisSample in composer which have similar functionalities, but it worked fine in my side, could you share more details of your bot logic or zip your bot and share? Then I can help debug on this.

@luhan2017 Thanks for responding. I was using the Weather tutorial as the base then added another dialog triggered on a different intent. This works as expected. It was only when I added as Ask Question activity with "allow interruption" == True that this occurs.
I will see if I can package that up today and include it here


refactor(utils): Refactoring of the NumpyEncoder

Here a very small refactoring proposal, that actually fixes some (i guess rare) parsing errors in the NumpyEncoder.

🐞 Some numpy types could not be parsed with a previous version
🐞 If a non-numpy type was given to the encode, it would result in a TypeError as per https://docs.python.org/3/library/json.html because of json.JSONEncoder.default(self, obj) call
It seems the NumpyEncoder was copypasta in some example file. Not anymore.
Also the refactored code contains less lines of code and delegates typing to numpy itself
Please not, that np.void(3) would create an empty byte buffer of length 3. It sills convert to None. But keep in mind that this conversion is arbitrary and may cause error in a far future.

Hi,
Thanks for contribution. There are some really useful fixes.
About np.void - currently there no "good" solution for this conversion, so it is there only for preventing it from breaking serialization to JSON.
And I have only one required change to this PR about tests: you need to move tests to folder where source file is located (to evidently/utils/test_utils.py) and revert changes to CI scripts, so this PR wont change previous behaviour.
About changing location of tests: currently we place tests nearby of tested files, and we are in discussion about best approach for us.

Thank you for your feedback. The change to CI does not change previous behaviour - I wonder what you mean by that. Anyhow, I reverted the change. Please consider using default behaviour as a conventional approach - adding parameters just raises questions. Imho simply unittest discover just does the job well already.
As for discussion about testing framework.
Imho, you should consider the following:

having a dedicated directory is a suggested way nowadays:

See for example pytest docs about tests outside applichation

Putting tests into an extra directory outside your actual application code might be useful if you have many functional tests or for other reasons want to keep tests separate from actual application code (often a good idea):

But of course there are good contrary examples in pandas, pytorch, tensorflow, sklearn etc., i.e. test as part of application code

Inlining test directories into your application package is useful if you have direct relation between tests and application modules and want to distribute them along with your application

Still, even in these example, there is a dedicated test directory with all the tests. Tests files inside a submodule directory is very uncommon.

I'm personally a fan of  tests outside applichation:

it enforces a good TDD practice, since you can immediatly see what tests are responsible for what.
I don't think including tests is practical for the end user. I don't see a point in import evidently.test_app.
If you pack tests in your application code, they too will be style-checked - However, good functional and behavioral tests often do not comply with predefined styles in my experience. There way too many issues which are conter-productive when you want to make writing tests easier.

As for test framework, I would encourage you to checkout pytest. It makes writing tests way easier and promotes good programming practice (as opposed to unittest, imho).
When you reached your decision, consider putting such information into your contributing guide for the future.

And here is also an article that really make a good case for pytest. I hope this information will help you to reach a conclustion.

Thanks for sharing information about pytest, it definitely will help to make a decision faster!


Add Event class and replace event string to constant of Event. Improve readability

If this PR will be merge, I will modify other packages which are still using string instead of constant of Event.


Fix sprite size error and rendering error

#1477

Codecov Report
Patch coverage: 84.84% and project coverage change: +0.66 :tada:

Comparison is base (f0c6fd3) 50.75% compared to head (5f61e22) 51.41%.

:exclamation: Current head 5f61e22 differs from pull request most recent head 9d5494b. Consider uploading reports for the commit 9d5494b to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1533      +/-   ##
==========================================
+ Coverage   50.75%   51.41%   +0.66%
==========================================
  Files         365      365
  Lines       18855    18900      +45
  Branches     2713     2720       +7
==========================================
+ Hits         9569     9718     +149
+ Misses       8325     8230      -95
+ Partials      961      952       -9

Impacted Files
Coverage Δ

packages/core/src/2d/sprite/SpriteMask.ts
72.81% <81.81%> (+32.11%)
:arrow_up:

packages/core/src/2d/sprite/SpriteRenderer.ts
79.87% <82.35%> (+32.25%)
:arrow_up:

packages/core/src/2d/sprite/Sprite.ts
96.91% <90.62%> (+27.73%)
:arrow_up:

... and 13 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Add Push Notifications for activity

Get notified when events happen in your project. This should be configurable as not to annoy users too much

This is a bit of a complex problem as this requires defining scopes of notifications that should be enabled or disabled as the user wishes. Ideally this could also be configured at a per project basis, but that most likely won't be in the initial implementation

support via unified push would be nice (https://ntfy.sh)

I think that this really could be helpful, I currently don't really have the time to tackle this on my own though. Currently I am barely able to maintain this project as is, so I need to really think about what I am working on.


Support ccache on Windows with ninja generator

Building Filament or its parts on Windows, using the ninja generator, with ccache installed, fails with the following message:
ninja: fatal: CreateProcess: %1 is not a valid Win32 application.
This is due to the way ccache support is implemented in the root CMakeLists.txt script. Executing line 70, cmake will find ccache installed, and enter the if branch on line 71. It will then configure the launch-c and launch-cxx Bash scripts, and after failing the Xcode check, will set them as compiler launchers (lines 88-90). When ninja tries to run these scripts, it will fail with the message above.
This PR adds a condition to handle Windows, and sets ccache directly as compiler launcher. In order to support passing parameters to ccache, either a batch file, or a powershell script would be needed. I failed to properly create a batch script (it always wanted to open the command in a new command prompt window), and dismissed powershell, as it is disabled by default to run scripts that aren't digitally signed. The CCACHE_CPP2=true parameter is not needed, as it's ccache's current default behavior. The CCACHE_SLOPPINESS parameter affects cache hit rate. Building did become faster without it, so I accepted the result.

Thank you!


Remote connection via ser2net?

Hi,
I understand, that the addon is able to connect via TCP to the vcontrold server on the remote host where the optolink is connected to. Alternativly, I would rather run the vcontrold on the HA server, and forward the optolink serial port from the remote host via ser2net to the HA server. Is this somehow  possible?
Thanks.
Peter

Yes I did it with ESPHOME ... An ESP32 that is connected to the Vissmann vitocal200-S via a DIY optolink and used this code:
https://github.com/oxan/esphome-stream-server


Intermittently losing network connectivity - "Exception 0xc0000006" and "cannot read size from socket: EOF"

WSL2 intermittently keeps losing its connection on one of my dev's laptop.
Connectivity will work both on and off the VPN but suddenly, network connectivity gets lost. Can't dig domains or curl URLs.
Do these logs provide any clue as to what might be happening, or what could be done to help fix the issue?
-- Boot ab69e1e3b21f49cfa3429eeef010c974 --
Aug 22 15:39:09 machinename systemd[1]: Started wsl-vpnkit.
░░ Subject: A start job for unit wsl-vpnkit.service has finished successfully
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit wsl-vpnkit.service has finished successfully.
░░
░░ The job identifier is 85.
Aug 22 15:39:10 machinename wsl.exe[215]: + VPNKIT_GATEWAY_IP=<IP_ADDRESS>
Aug 22 15:39:10 machinename wsl.exe[215]: + VPNKIT_HOST_IP=<IP_ADDRESS>
Aug 22 15:39:10 machinename wsl.exe[215]: + VPNKIT_LOCAL_IP=<IP_ADDRESS>
Aug 22 15:39:10 machinename wsl.exe[215]: + TAP_MAC_ADDR=5a:94:ef:e4:0c:ee
Aug 22 15:39:10 machinename wsl.exe[215]: + VMEXEC_PATH=/app/wsl-vm
Aug 22 15:39:10 machinename wsl.exe[215]: + GVPROXY_PATH=/app/wsl-gvproxy.exe
Aug 22 15:39:10 machinename wsl.exe[215]: + TAP_NAME=wsltap
Aug 22 15:39:10 machinename wsl.exe[215]: + CHECK_HOST=example.com
Aug 22 15:39:10 machinename wsl.exe[215]: + CHECK_DNS=<IP_ADDRESS>
Aug 22 15:39:10 machinename wsl.exe[215]: + DEBUG=0
Aug 22 15:39:10 machinename wsl.exe[215]: + set +x
Aug 22 15:39:10 machinename wsl.exe[215]: + WSL2_TAP_NAME=eth0
Aug 22 15:39:10 machinename wsl.exe[215]: + WSL2_GATEWAY_IP=<IP_ADDRESS>
Aug 22 15:39:10 machinename wsl.exe[215]: + '[' 0 -eq 0 ]
Aug 22 15:39:10 machinename wsl.exe[215]: + set +x
Aug 22 15:39:19 machinename wsl.exe[215]: starting vm and gvproxy...
Aug 22 15:39:19 machinename wsl.exe[215]: time="2023-08-22T14:39:19Z" level=info msg="waiting for packets..."
Aug 22 15:39:19 machinename wsl.exe[215]: time="2023-08-22T15:39:19+01:00" level=info msg="waiting for clients..."
Aug 22 15:39:19 machinename wsl.exe[215]: time="2023-08-22T15:39:19+01:00" level=info msg="new connection from remote to 35636"
Aug 22 15:39:20 machinename wsl.exe[215]: started vm and gvproxy
Aug 22 15:39:20 machinename wsl.exe[215]: check: ✔ ping success to IPv4 WSL 2 gateway / Windows host (<IP_ADDRESS>)
Aug 22 15:39:20 machinename wsl.exe[215]: check: ✔ ping success to IPv4 Windows host (<IP_ADDRESS>)
Aug 22 15:39:20 machinename wsl.exe[215]: check: ✔ ping success to IPv4 gateway (<IP_ADDRESS>)
Aug 22 15:39:21 machinename wsl.exe[215]: check: ✔ nslookup success for example.com A using <IP_ADDRESS>
Aug 22 15:39:21 machinename wsl.exe[215]: check: ✔ nslookup success for example.com A using <IP_ADDRESS>
Aug 22 15:39:22 machinename wsl.exe[215]: check: ✔ nslookup success for example.com A using <IP_ADDRESS>
Aug 22 15:39:22 machinename wsl.exe[215]: check: ✔ ping success to IPv4 external host domain (example.com)
Aug 22 15:39:22 machinename wsl.exe[215]: check: ✔ ping success to IPv4 external host IP (<IP_ADDRESS>)
Aug 22 15:39:22 machinename wsl.exe[215]: check: ✔ nslookup success for example.com AAAA using <IP_ADDRESS>
Aug 22 15:39:22 machinename wsl.exe[215]: check: ✔ nslookup success for example.com AAAA using <IP_ADDRESS>
Aug 22 15:39:22 machinename wsl.exe[215]: check: ✔ nslookup success for example.com AAAA using <IP_ADDRESS>
Aug 22 15:39:22 machinename wsl.exe[215]: ping: bad address 'example.com'
Aug 22 15:39:22 machinename wsl.exe[215]: check: ➖ ping fail to IPv6 external host (example.com)
Aug 22 15:39:22 machinename wsl.exe[215]: check: ✔ wget success for http://example.com
Aug 22 15:39:22 machinename wsl.exe[215]: check: ✔ wget success for https://example.com
Aug 22 15:50:35 machinename wsl.exe[215]: Exception 0xc0000006 0x0 0xc3c9d6 0x6bcc7c
Aug 22 15:50:35 machinename wsl.exe[215]: PC=0x6bcc7c
Aug 22 15:50:55 machinename wsl.exe[215]: time="2023-08-22T14:50:55Z" level=error msg="cannot read size from socket: EOF"
Aug 22 15:50:56 machinename wsl.exe[215]: time="2023-08-22T14:50:56Z" level=info msg="waiting for packets..."
Aug 22 15:50:57 machinename wsl.exe[215]: time="2023-08-22T15:50:57+01:00" level=info msg="waiting for clients..."
Aug 22 15:50:57 machinename wsl.exe[215]: time="2023-08-22T15:50:57+01:00" level=info msg="new connection from remote to 12248"

Nothing appears after those last lines you see, we currently "work around" the issue by doing a wsl --shutdown and starting the distros again.
Would appreciate any pointers, thanks!


Unclear error message on helm lint

Output of helm version:
version.BuildInfo{Version:"v3.1.2", GitCommit:"d878d4d45863e42fd5cff6743294a11d28a9abce", GitTreeState:"clean", GoVersion:"go1.13.8"}

Output of kubectl version:
Using openshift
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
Openshift
Hi, I am facing an issue while doing helm lint for my chart. The error is:
[abc@abc141 abc]$ helm lint .
==> Linting .
[ERROR] templates/: template: abc/templates/_helpers.tpl:19:16: executing "abc.fullname" at <$name>: invalid value; expected string

Error: 1 chart(s) linted, 1 chart(s) failed

I am not able to understand this error because I have no idea what invalid value in this error stands for. I tried to look at the line 19 and nearby lines to see if anything's wrong:
{{- define "abc.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}} // This is line no. 19
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}

But couldn't find anything suspicious. I also compared this chart's _helpers.tpl to other charts' helpers but couldn't find any difference.
What might be causing this? And what exactly is an invalid value?
Note that adding -v to helm lint does not show any more details for this error.

Nevermind, got it. It was related to specifying serviceAccount creation to true in values.yaml and not having a serviceAccount creation template which caused the issue. I tried by setting the serviceAccount.create to false for testing and linting worked without errors.
I am not sure if it's possible to show any more details in the error.


⚠ Bofrost.de has degraded performance

In 3400581, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 2445 ms

Resolved: Bofrost.de performance has improved in 17c64c8 after 20 minutes.


Error loading script: depthmap.py

Error loading script: depthmap.py
Traceback (most recent call last):
File "/stable-diffusion-webui/modules/scripts.py", line 229, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/stable-diffusion-webui/modules/script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/stable-diffusion-webui/extensions/stable-diffusion-webui-depthmap-script/scripts/depthmap.py", line 14, in
from numba import njit, prange
File "/usr/local/lib/python3.10/site-packages/numba/init.py", line 42, in
from numba.np.ufunc import (vectorize, guvectorize, threading_layer,
File "/usr/local/lib/python3.10/site-packages/numba/np/ufunc/init.py", line 3, in
from numba.np.ufunc.decorators import Vectorize, GUVectorize, vectorize, guvectorize
File "/usr/local/lib/python3.10/site-packages/numba/np/ufunc/decorators.py", line 3, in
from numba.np.ufunc import _internal
SystemError: initialization of _internal failed without raising an exception

I am using stable-diffusion-webui-docker to run
full log is here:
https://gist.github.com/timo-tain/35a940b6c56658f64ed5856987450218

I just had this happen on a fresh install, and just had to close the Command prompt or terminal window and restart the WebUI. After installing the script, it adds the requirements to your next launch of the webUI.

Having this issue in Win11.
Error loading script: depthmap.py
Traceback (most recent call last):
File "C:\Users\xxxx\Deep\stable-diffusion-webui\modules\scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\Users\xxxx\Deep\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\Users\xxxx\Deep\stable-diffusion-webui\extensions\stable-diffusion-webui-depthmap-script\scripts\depthmap.py", line 42, in
from dmidas.dpt_depth import DPTDepthModel
File "C:\Users\xxxx\Deep\stable-diffusion-webui\extensions/stable-diffusion-webui-depthmap-script/scripts\dmidas\dpt_depth.py", line 5, in
from .blocks import (
File "C:\Users\xxxx\Deep\stable-diffusion-webui\extensions/stable-diffusion-webui-depthmap-script/scripts\dmidas\blocks.py", line 4, in
from .backbones.beit import (
File "C:\Users\xxxx\Deep\stable-diffusion-webui\extensions/stable-diffusion-webui-depthmap-script/scripts\dmidas\backbones\beit.py", line 9, in
from timm.models.beit import gen_relative_position_index
ModuleNotFoundError: No module named 'timm.models.beit'

Have This issue on MacBook M1
Restarting UI...
[AddNet] Updating model hashes...
0it [00:00, ?it/s]
Error loading script: depthmap.py
Traceback (most recent call last):
File "/Users/chimekuan/stable-diffusion-webui/modules/scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/Users/chimekuan/stable-diffusion-webui/modules/script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/Users/chimekuan/stable-diffusion-webui/extensions/stable-diffusion-webui-depthmap-script/scripts/depthmap.py", line 58, in
from inpaint.mesh import write_mesh, read_mesh, output_3d_photo
File "/Users/chimekuan/stable-diffusion-webui/extensions/stable-diffusion-webui-depthmap-script/scripts/inpaint/mesh.py", line 16, in
from moviepy.editor import ImageSequenceClip
File "/Users/chimekuan/.pyenv/versions/3.10.6/lib/python3.10/site-packages/moviepy/editor.py", line 36, in
from .video.io.VideoFileClip import VideoFileClip
File "/Users/chimekuan/.pyenv/versions/3.10.6/lib/python3.10/site-packages/moviepy/video/io/VideoFileClip.py", line 3, in
from moviepy.audio.io.AudioFileClip import AudioFileClip
File "/Users/chimekuan/.pyenv/versions/3.10.6/lib/python3.10/site-packages/moviepy/audio/io/AudioFileClip.py", line 3, in
from moviepy.audio.AudioClip import AudioClip
File "/Users/chimekuan/.pyenv/versions/3.10.6/lib/python3.10/site-packages/moviepy/audio/AudioClip.py", line 7, in
from moviepy.audio.io.ffmpeg_audiowriter import ffmpeg_audiowrite
File "/Users/chimekuan/.pyenv/versions/3.10.6/lib/python3.10/site-packages/moviepy/audio/io/ffmpeg_audiowriter.py", line 7, in
from moviepy.config import get_setting
File "/Users/chimekuan/.pyenv/versions/3.10.6/lib/python3.10/site-packages/moviepy/config.py", line 36, in
FFMPEG_BINARY = get_exe()
File "/Users/chimekuan/.pyenv/versions/3.10.6/lib/python3.10/site-packages/imageio/plugins/ffmpeg.py", line 173, in get_exe
return imageio_ffmpeg.get_ffmpeg_exe()
File "/Users/chimekuan/.pyenv/versions/3.10.6/lib/python3.10/site-packages/imageio_ffmpeg/_utils.py", line 33, in get_ffmpeg_exe
raise RuntimeError(
RuntimeError: No ffmpeg exe could be found. Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.

@chimeK This is not related to this issue, why post here ?
You need to use brew to install ffmpeg, this has come up before, ..
Solution : https://github.com/thygate/stable-diffusion-webui-depthmap-script/issues/118#issuecomment-1465276686
Please use search first to see if it has come up before.

hank you for your response. I didn't carefully search for related posts at that time, which is why I posted here. I will delete the post later.

No problem, you don't have to delete anything, it's fine. Did you get it working ?

Hello. I have the same problem. The solution from the link does not work.

Hello. I have the same problem. The solution from the link does not work. Starting from the first point, explanations are already needed.

Error loading script: depthmap.py

Several people have posted in this thread with completely different issues.
Specify your problem, what platform you're running on, and what you're trying to do.
If you get an error, post the complete error message !

Same issue as here https://github.com/thygate/stable-diffusion-webui-depthmap-script/issues/137#issuecomment-1501235744

@braintm
If you don't post the stack trace I can't be sure you're having the same issue.
The missing beit models in timm can have several reasons.
Deforum is known to cause conflicts because it installs an older version of timm that did not yet include the beit models.


feat(clerk-js): Add supportEmail property option

Type of change

[ ] 🐛 Bug fix
[x] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

Packages affected

[x] @clerk/clerk-js
[ ] @clerk/clerk-react
[ ] @clerk/nextjs
[ ] @clerk/remix
[ ] @clerk/types
[ ] @clerk/clerk-expo
[ ] @clerk/backend-core
[ ] @clerk/clerk-sdk-node
[ ] @clerk/edge
[ ] build/tooling/chore

Description

[x] npm test runs as expected.
[x] npm run build runs as expected.

Adds support for the supportEmail option on Clerk Components. That way the support email which is now generated by Clerk can be replaced with a custom one provided by the user in any <ClerkProvider /> or Clerk.load

https://www.notion.so/clerkdev/Configurable-support-email-in-ClerkJS-via-a-prop-a57dda30184848b88a4474a0b79442ef
This feature is not available in Clerk Hosted pages yet

@igneel64 We are OK for now not to support this feature in Clerk hosted pages.

Cool I will let the client know and will add the docs!


Allow Removing Recommendations

As a customer, I want the option to mark certain recommendations as "I don't like" so that I can refine the list of suggested products.
Details and Assumptions:
Each recommendation will have an option for the user to remove it from the list. Removed items should not appear in future recommendations unless the user’s behavior changes significantly.
Acceptance Criteria:
Displayed recommendations have an "I don't like" option. When the user marks a recommendation as "I don't like," Then the item is removed from the current recommendation list and future recommendations are adjusted accordingly.


Update htslib to avoid dependency on gcc 4.5 or better

Adrian;
Apologies, one more report this morning. The htslib currently in vt has a dependency on gcc 4.5 or better. This got fixed yesterday in devel so it'll be compatible with older versions:
https://github.com/samtools/bcftools/issues/201#issuecomment-73511968
Would it be possible to update htslib in vt to pull in this fix? Thanks much.

done.


opencl-headers: 2023.02.06 -> 2023.12.14

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/KhronosGroup/OpenCL-Headers/releases.
meta.description for opencl-headers is: Khronos OpenCL headers version 2023.04.17
meta.homepage for opencl-headers is: https://www.khronos.org/registry/cl/
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2023.04.17 in filename of file in /nix/store/y2acbpyl0cd3khjvghicw0iif09n1dnw-opencl-headers-2023.04.17

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

1160 total rebuild path(s)

1160 package rebuild(s)

First fifty rebuilds by attrpath
ChowKick
CuboCore.coretoppings
MIDIVisualizer
Sylk
activitywatch
adapta-gtk-theme
aitrack
ajour
alfaview
alfis
almanah
alsa-scarlett-gui
altair
amberol
anki
anytype
apache-directory-studio
apostrophe
appimage-run
appimage-run-tests
aravis
arcanPackages.all-wrapped
arcanPackages.arcan
arcanPackages.arcan-wrapped
arcanPackages.cat9-wrapped
arcanPackages.durden-wrapped
arcanPackages.ffmpeg
arcanPackages.pipeworld-wrapped
arcanPackages.prio-wrapped
arcanPackages.xarcan
archi
arrayfire
ashpd-demo
astroid
audio-recorder
audiobookshelf
authenticator
auto-multiple-choice
aw-qt
aws-workspaces
bada-bib
badwolf
balsa
banking
baobab
baresip
beamerpresenter
beamerpresenter-mupdf
beamerpresenter-poppler
beekeeper-studio

Instructions to test this update (click to expand)

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

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

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

Pre-merge build results
NixPkgs review skipped

Maintainer pings

@GrahamcOfBorg build ocl-icd

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/KhronosGroup/OpenCL-Headers/releases.
meta.description for opencl-headers is: Khronos OpenCL headers version 2023.12.14
meta.homepage for opencl-headers is: https://www.khronos.org/registry/cl/
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2023.12.14 in filename of file in /nix/store/i5plhin9141x6xfl4zh03d4y8djrs6vl-opencl-headers-2023.12.14

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

520 total rebuild path(s)

520 package rebuild(s)

First fifty rebuilds by attrpath
MIDIVisualizer
aitrack
almanah
arcan
arcan-all-wrapped
arcan-wrapped
arrayfire
audiobookshelf
auto-multiple-choice
beignet
blender
blender-hip
bottles
browsr
caffe
caffeWithCuda
cat9-wrapped
ccextractor
cctag
cgminer
chickenPackages_5.chickenEggs.opencl
citrix_workspace
citrix_workspace_23_02_0
citrix_workspace_23_07_0
citrix_workspace_23_09_0
citrix_workspace_23_11_0
cl
clblas
clblast
clfft
clinfo
clmagma
clpeak
computecpp
computecpp-unwrapped
corrscope
cpu-x
crow-translate
crystfel
crystfel-headless
darktable
davinci-resolve
davinci-resolve-studio
deepin.dde-gsettings-schemas
deepin.deepin-camera
deepin.deepin-image-viewer
deepin.deepin-ocr-plugin-manager
deepin.deepin-screen-recorder
deepin.image-editor
deface

Instructions to test this update (click to expand)

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

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

Or:
nix build github:r-ryantm/nixpkgs/c03fab152970f2bd6b3aa3c10a9883a19815f60b#opencl-headers

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

Pre-merge build results
NixPkgs review skipped

Maintainer pings


Change message sound

The sound actually used by kozette is facebook's old messenger notification sound.
It would be great for kozette to have it's own.

Any idea which one we should use ?

http://1drv.ms/1KEJdaI I just made it. Not perfect but unique.


Feed Page - Backend

NOTE - Relying on model changes #54
This PR handles #42-
handles GET requests to /username/:

Get the profile for the passed username or raise 404 if not found.
If found, retrieve the profiles he follows.
Extracts the streams of these profiles.

Separate live, past and future streams to pass on to the template ('live_streams', 'previous_streams' and 'future_streams').

was implemented in user-logged-in landing page #64


flex grid

hello
I'm a little confused when it comes to flex grid - it's stated that this is going to be deprecated and moved over to Neat - is it going to stay for good but in Neat or is it moved over to Neat and then deprecated anyway?

Duplicate of #770
@mmjaeger Let’s keep the conversation in one thread. I’ll reply in #770.

sorry about that - didn't see the conversation so I thought it didn't get submitted


Add a duplicate/copy button for each action in the autos on the PathPlanner client

Create a button on the PathPlanner GUI to duplicate an action (a path, command, command group).
Implementation of https://github.com/mjansen4857/pathplanner/issues/652

Example of usage (duplicating paths, commands, groups) in video below:
https://github.com/mjansen4857/pathplanner/assets/75756042/a15641a1-4427-4ee7-a7d8-7a5992ccee6b

Bit of a nitpick but can you move the duplicate button for command groups to be next to the delete button so its the same order as other commands?

Yep! Change has been made


[card] Deposit then immediate withdrawal bug

Reported by Bruno from Metamask. Steps to repro:

Deposit in card
Immediately withdraw after deposit completes (after the number shows up)

FYI, I could not reproduce this locally when I tried.

Going to prioritize #462 (which changes deposit fns), and come back to this afterwards to see if it is resolved or easier to repro

Instead of hunting the bug, let's add an e2e test to check if this passes.

Fixed in #640 but still needs an e2e test


[TC-WNCV-2.4]-TH fails to read Type attribute from DUT based on FeatureMap value.

Problem
As per Test-Plan, if PA_LF and PA_TL Feature is supported in Window Covering Cluster, if TH try to read Type attribute
from DUT based on FeatureMap value currently TH reads 0 instead of set to 6 or 8 while the device supports  PA_LF and PA_TL.

**expected behavior:-**TH should read type atrribute value as 6 or 8
actual behavior:- TH reading type atrribute value as 0
steps to reproduce:-
./chip-tool windowcovering read feature-map 1 1
./chip-tool windowcovering read type 1 1

system configuration
Chip-tool - RPI-4, 8GB RAM
DUT - RPI - RPI-4, 8GB RAM
Platform : IP and wifi
Commit-ID:0ef4a9d97f70cb0f409d6736ec9c79217b691153
Dut application: all-clusters-app
Test-Plan Reference:-
https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/cluster/window_covering.adoc#tc-wncv-2-4-type-attribute-dut_server
Spec reference:-
https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/app_clusters/WindowCovering.adoc#features
PFA log below:-
featuremap.txt

Thank you for including the commit id!
This was fixed in https://github.com/project-chip/connectedhomeip/pull/19311, which post-dates that commit id.

Duplicate of https://github.com/project-chip/connectedhomeip/issues/19163


Fix spacing for pending groups in profile listing.

Coverage remained the same at 92.801% when pulling f8d36d1fb11d2277b307fa07bb802fcaf1760d3c on akatsoulas:fix-spacing-pending-terms into b415decf7fab79913a169ad4cdf5f2f88581f480 on mozilla:master.

Coverage remained the same at 92.801% when pulling f8d36d1fb11d2277b307fa07bb802fcaf1760d3c on akatsoulas:fix-spacing-pending-terms into b415decf7fab79913a169ad4cdf5f2f88581f480 on mozilla:master.


Implement search bar

It is still not fully working yet.
It should work after @tayjiehao has pushed the fixed to search.js
Behaviour:

When the search string is empty, it should display the previous folder the user is currently looking at.
When the search string is not empty, it should search and display the matching files and folder.

Wrong pull request


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-main" workflow

AWS CodeBuild CI Report

CodeBuild project: DDKIntegrationTestsD8472609-5SCHWjldmWcf
Commit ID: f82b04625888be1bd73c625c2b8e16b6ba980a5b
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: DDKIntegrationTestsD8472609-5SCHWjldmWcf
Commit ID: 0455b973c2b56e5ebaddf409f9212506d372308a
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Feat/add kucoin spot candles feed

Before submitting this PR, please make sure:

[ ] Your code builds clean without any errors or warnings
[ ] You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:

Add kucoin spot candles following binance structure
Standardize interval management (1m vs 1min vs ...)

Sadly, Kucoin hasn't developed klines with web socket yet. I'll be waiting for more updates in candles_base.py so it can handle only rest calls
Tests performed by the developer:
Tips for QA testing:

Try using this:

# Replace in scripts/candles_example.py

eth_1m_candles = CandlesFactory.get_candle(connector="kucoin",
                                           trading_pair="ETH-USDT",
                                           interval="1m", max_records=500)
eth_1h_candles = CandlesFactory.get_candle(connector="kucoin",
                                           trading_pair="ETH-USDT",
                                           interval="1h", max_records=500)
eth_1w_candles = CandlesFactory.get_candle(connector="kucoin",
                                           trading_pair="ETH-USDT",
                                           interval="1w", max_records=50)```

Hi @tomasgaudino good day
Can you please check the failed tests below, thank you

Hi @rapcmia, sure!
I'll be fixing this as soon as possible :)

@rapcmia done!


Image is being rotated and not correctly resizes on MacOS/Macbook M1

Description:
Describe the bug
When executing rimage -q 75 --width 1300 --height 600 -o ./output -s _updated sample-1.jpg command with both --width and --height -- it rotates the image 90 deg clockwise and then applies 1300 x 600 size but the image width now becomes the height so it appears squeezed. (See sample-1.jpg below).
If I specify just --width:  rimage -q 75 --width 1300 -o ./output -s _updated sample-2.jpg -- it rotates the image 90 deg clockwise and then applies correctly 1300 width. (See sample-2.jpg below).
If I specify just --height -- then it rotes it 90 deg clockwise and is applies height to the with of the original image making image 276 x 600 px. (See sample-3.jpg)
Steps To Reproduce:
Steps to reproduce the behavior:

Run command(s):
1.1. rimage -q 75 --width 1300 --height 600 -o ./output -s _updated sample-1.jpg
1.2  rimage -q 75 --width 1300 -o ./output -s _updated sample-2.jpg
1.3 rimage -q 75 --height 600 -o ./output -s _updated sample-3.jpg

See resultant images.

Expected behavior:
Should not rotate or squeeze image.
Images

Sample-1.jpg

Sample-2.jpg

Sample-3..jpg

Additional info:
Desktop (please complete the following information):

OS: MacOS 12.6.8
Version: 0.8.2

After some research I found the source of the problem: your image has an EXIF orientation header that is not being processed correctly. More information here - https://magnushoff.com/articles/jpeg-orientation/
Started working on this issue.

I suspected that it might have something to do with EXIF data in my images. So it would be wonderful if you could implement auto-orientation capability.
Thank you so much for being so responsive.

Hi Vlad,
Any updates on this issue? Did you make any progress?
Thanks.

Yes, I have fixed this issue in new library, now I struggle with binary to work properly.  In new release this problem should be fixed

New release has been out, please check for this issue again


Fix of a syntax error in a service account code example

File: themes/default/content/registry/packages/gcp/api-docs/serviceAccount/account/_index.md
The imported module "serviceAccount" needs to be lowercase to work: "serviceaccount"
Now it is
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/serviceAccount"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := serviceAccount.NewAccount(ctx, "serviceAccount", &serviceAccount.AccountArgs{
			AccountId:   pulumi.String("service-account-id"),
			DisplayName: pulumi.String("Service Account"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

It should be
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/serviceaccount"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := serviceaccount.NewAccount(ctx, "serviceAccount", &serviceaccount.AccountArgs{
			AccountId:   pulumi.String("service-account-id"),
			DisplayName: pulumi.String("Service Account"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

thx for the report!
a few related issues

https://github.com/pulumi/pulumi-gcp/issues/722
https://github.com/pulumi/pulumi-hugo/issues/477

im going to close out the pulumi-hugo one as a dupe, since it doesn't make much sense for it to be in that repo anymore.

it was noted in community slack, that serviceAccount 404s, from the left nav of the gcp API docs

Duplicate of https://github.com/pulumi/pulumi-gcp/issues/722

@susanev Removing from your board because the root issue is we have the namespace incorrect in the provider. This is a breaking change, so we will need to wait until the next major release of pulumi-gcp to fix.

thank you!

Duplicate of https://github.com/pulumi/pulumi-gcp/issues/722


fix: UI toast typo

SUMMARY
Fixes small typo
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #13026 (33679c3) into master (50fa100) will increase coverage by 9.21%.
The diff coverage is 65.15%.

@@            Coverage Diff             @@
##           master   #13026      +/-   ##
==========================================
+ Coverage   52.64%   61.86%   +9.21%
==========================================
  Files         480      546      +66
  Lines       17300    20153    +2853
  Branches     4481     5268     +787
==========================================
+ Hits         9108    12467    +3359
+ Misses       8192     7473     -719
- Partials        0      213     +213

Flag
Coverage Δ

cypress
?

javascript
61.86% <65.15%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...et-frontend/src/dashboard/actions/nativeFilters.ts
34.78% <ø> (-49.43%)
:arrow_down:

...tend/src/dashboard/components/DashboardBuilder.jsx
75.64% <ø> (-10.26%)
:arrow_down:

...src/dashboard/components/FiltersBadge/selectors.ts
87.65% <ø> (-2.35%)
:arrow_down:

...ters/FilterConfigModal/CancelConfirmationAlert.tsx
100.00% <ø> (ø)

...s/nativeFilters/FilterConfigModal/ColumnSelect.tsx
47.22% <ø> (ø)

...ts/nativeFilters/FilterConfigModal/FiltersList.tsx
0.00% <0.00%> (ø)

superset-frontend/src/dashboard/reducers/types.ts
0.00% <ø> (ø)

...src/dashboard/util/activeDashboardNativeFilters.ts
96.42% <ø> (+7.53%)
:arrow_up:

...shboard/util/charts/getFormDataWithExtraFilters.ts
93.10% <ø> (+1.10%)
:arrow_up:

...perset-frontend/src/views/CRUD/welcome/Welcome.tsx
88.88% <ø> (+85.94%)
:arrow_up:

... and 484 more

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 eb5dc38...33679c3. Read the comment docs.


LL-9182: reduce data store in dbs (proposal)

Type
BugFix + Improvement (probably)
Context

https://ledgerhq.atlassian.net/browse/LL-9182
With the new BTC JS implementation we encounter a very large amount of data for a single account.
In Android we are not able to store more than 2 Mo per row dues to SQLite limitation.

AsyncStorage for Android uses SQLite for storage backend. While it has its own size limits, Android system also have two known limits: total storage size and per-entry size limit.
Total storage size is capped at 6 MB by default. You can increase this size by specifying a new size using feature flag.
Per-entry is limited by a size of a WindowCursor, a buffer used to read data from SQLite. Currently it's size is around 2 MB. This means that the single item read at one time cannot be larger than 2 MB. There's no supported workaround from AsyncStorage. We suggest keeping your data lower than that, by chopping it down into many entries, instead of one massive entry. This is where multiGet and multiSet APIs can shine

https://react-native-async-storage.github.io/async-storage/docs/limits
So as they recommended I tried to compress JSON of large data and then split them into multiple part, not the sexiest way to fix it tho.
I'm up for any recommandation :)
EDIT: We remove compression because it cost a lot of time, we store bigger data raw.
Parts of the app affected / Test plan

Part that rely on device storage. A lot of part in the app :(

@henrily-ledger could you sign all your commits pls :pray:


Document what mixins actually do

I have no idea what mixins do and how it works.
I am adding this both as a documentation issue and as a cry for help, because I really don't know what it does. It seems it can be useful to me but I am not sure.

I think this was primarily present to model React mixins, which are now deprecated, and I can't seem to find recent use of this. Might be worth checking if they can be removed from the codebase or if there is still code that uses it, and if so document it.

mixins doesn't appear in the current doc website https://flow.org/en/docs/
but it was present in the doc at some point:
https://github.com/facebook/flow/commit/5c4297bcfa0f577e6f989ad188a7b8d1633b2df4

+  ## Mixins
+
+  You can declare a class which mixes in 1 or more other classes with the
+  `mixins` keyword. Mixing class `B` into class `A` copies `B`'s fields and
+  methods into `A`. Note, however, that any fields or methods that `B` inherits
+  are not copied over. Mixins are for code reuse, not for multiple inheritance.
+

mode examples in the diff
⚠ BTW, the commit title says: "and adds a note about similarity to TypeScript and Dart." but there is no mention of TypeScript or Dart in the commit
some more infos about mixins can be found in commits:
https://github.com/facebook/flow/commit/448fcb3ce127aeae5641d9846444968dc29e2a9e

interface and declare class share a lot of implementation details, but they also have a bunch of differences. their bodies are identical (for now, though it doesn't really make sense for an interface to have statics).

however, interface can have multiple extends, but no mixins; declare class can have mixins, but only one extends. interfaces' ids are types, classes' are also values.

https://github.com/facebook/flow/commit/12741b0f5254594655a632d6cf93defb17547d3c

When processing a spec, if we see a mixins object, we resolve those in
turn (recursively, as mixins can have mixins), actually mix them in, then emit
the class type.

https://github.com/facebook/flow/commit/b72d1c61487f9e95ddbe68c4f994d9699b7b71c9

Multiple inheritance is available via a new clause declaring 'mixins': declare class Foo extends Bar mixins Qux.

the page about mixins have been deleted by this commit.
https://github.com/facebook/flow/commit/360d6dc429fb76ddfee26c691d06f70c8ac5c809
commit 360d6dc429fb76ddfee26c691d06f70c8ac5c809
Author: James Kyle<EMAIL_ADDRESS>Date:   Mon Mar 20 14:25:51 2017 -0700

    [PR] Website tweaks

    Summary:
    ![330f 1](https://cloud.githubusercontent.com/assets/952783/23810160/4a98f766-0585-11e7-85b0-85db9c371343.gif)
    Closes https://github.com/facebook/flow/pull/3498

    Differential Revision: D4690749

    Pulled By: mroch

    fbshipit-source-id: 06f246ae471cb86478c78cc60ef772be8a1273db

it's hard to say if other content has been deleted, as this commit rename and rewrites a lot of files from the documentation website, but I have the impression that this commit removed some other useful content too (examples, etc).

@TrySound why did you close this issue? Where is it documented?

AFAIK mixins proposal was declined

0b2357
Could you reopen?

Is there any way to use mixins with interfaces? Flowgen generates interface I mixins I1, I2 but Flow doesn't like it

Close as mixin isn't planned to be well supported

New syntax should be avoided imp. Instead, existing plain JavaScript mixins should be made to be super easy to define types for in  Flow.
This is a plain JavaScript mixin:
export function FooMixin(Base) {
  return class Foo extends Base {
    fooMethod() {...}
  }
}

Now you can use it on any other class, even if it already extends another class, meaning you can change this,
import {SomeBaseClass} from 'somewhere'

class MyClass extends SomeBaseClass {
  myMethod() {...}
}

const o = new MyClass()
o.myMethod() // ok

to this:
import {SomeBaseClass} from 'somewhere'
import {FooMixin} from 'somewhere-else'

class MyClass extends FooMixin(SomeBaseClass) {
  myMethod() {...}
}

const o = new MyClass()
o.myMethod() // ok
o.fooMethod() // new

This is incredibly straight forward in plain JS, and powerful for code re-use. However it is difficult in TypeScript, and much more difficult if not impossible in Flow.

New issue for mixins: https://github.com/facebook/flow/issues/9236


Cursor doesn't show blinking in Username/Password textbox when app is launched or tab is pressed to move to another textbox.

My Setup

Operating System: Windows 10
App Version: 2.17.7
Installation type: exe

[X ] I have tested with the latest version
[ X] I can simulate the issue easily

Description
IMHO cursor should be shown as blinking in Username text box when app is loaded. Cursor does not blink in Username and Password TextBox and so user is not able to know where the text will be entered (either in Username box or Password Box). There is no feedback. Even after you press tab you can not know where the cursor is.
Current Behavior
Cursor does not blink in Username and Password TextBox
Expected Behavior
Cursor does not blink in Username and Password TextBox so that user can know that current focus is on i.e Username box and so what she is going to enter will be entered in Username box.

This is the same bug described here: https://github.com/RocketChat/Rocket.Chat.Electron/issues/1536. Minimize/maximize brings cursor back. Hoping soon fix for this.

Please test if the latest release did solve this. If not please reopen the issue or create a new one and tell us. I will be closing this one for now.
Thank you!


My Code is not Correct, But it passes the challenge

Challenge Seek and Destroy has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

function destroyer(arr) {
  // Remove all the values
  var args = Array.from(arguments);
  return args[0].filter(function(val){
    return val!=args[1] && val!=args[2] && val!=args[3];
  });
}
destroyer([1, 2, 3, 1, 2, 3], 2, 3);

Function destroyer will only filter elements not more than 3.
What if a total of 5 arguments are passed to the function.

@harshtomar6 thanks for the issue. I agree that you are able to brute force the algorithm like your code does. I'm not sure how you would test for any number of arguments possible because you would not only add tests, but you could always write to the tests. In other words, we could add five arguments and you could modify your code to just handle five. Why not six? It seems like a slippery slope to me.
So I would say to just keep the challenge the way it is. Firstly, the challenge already has a variety of input sizes (one through three). Secondly, this challenge is only in the Basic Algorithm Scripting section. There are more difficult algorithm challenges ahead.
@FreeCodeCamp/issue-moderators second opinions?

@harshtomar6 I second @erictleung 's comments on this

I once saw a nice talk about testing in which the speaker says about testing for

0 input (or no inputs)
1 input
3 inputs (small number of inputs)
5 inputs (small number of inputs)
50 or more inputs (or similar large number of inputs)

Considering the limitation of the platform, I suggest to at least add a 8 input test.
But still as @erictleung says, one can bypass that by hard coding the cases.

First-timers Only
Add another test case with a minimum of 8 inputs.
The code for this challenge is here
Reading CONTRIBUTING.md will help you set up your testing environment.
If you run in to any issues, got to the Contributiors Chat Room.
Happy Coding :+1:


Fixed wrong error message in function getBufferFromBN. Issue #1002.

Fixes issue #1002

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Added CardanoCity NFT Project

Showcase addition

Name: CardanoCity
Description: CardanoCity is an evolving NFT project based on the Cardano blockchain. The vision behind this project is to build an immersive virtual experience where users can build, customize, trade and explore their houses, and eventually dive into various virtual activities within the city.
Link:   https://cardanocity.io
Source:
Tags:

nft

Please note that all automatic checks are failing. You can reproduce this on your side by running "yarn build".

I’m closing this mainly because of inactivity, but please note that all automatic checks are failing too.


Depreciation costs of business case of stakeholders not taken into account when stakeholder is connected to heat network

The business case does not show depreciation costs for stakeholders that are connected to the heat network.
Even though no depreciation costs are associated with the heat network, there are depreciation costs for P2P and PV for these stakeholders.
Example of LES, in this LES stakeholders AC1, AC2, AC3 and AC6 are connected to the heat network.

@grdw can you look into this please?

One moment, it might have to do with a technical lifetime of 0 (even though costs are 0).
I'll check this first

Indeed, by default Excel returns 0 when referring to the empty cell. It is solve now!
This was my mistake. Another issue is that making a small mistake happens easily. I would be nice if ETM-SA gives feedback when a div/0 (or other error in calculation) occurs. Something like a status report of the LES. I'll make another issue about this.


<EMAIL_ADDRESS>breaks the asset generator

Hi,
After updating @vite-pwa/astro to 0.3.1 from 0.3.0, the asset generator doesn't work properly.
It still generates the artifacts, but specifically, import { pwaAssetsHead } from 'virtual:pwa-assets/head' does not work as expected anymore, as the links array inside of it is empty so it can't be used to render any of the required links or the theme-color meta tag.
Reverting it back to 0.3.0 fixed the problem for now.

Try adding sharp and sharp-ico to "resolutions" entry in your package.json file: sharp 0.33.0+ change native libraries, or try installing the corresponding native packages.


Fix docs CI

Fixes docs CI after recent 3abb5a9035d3333d77b9be55ce96d3d915d11011

Ah I missed that and pushed a hotfix directly: a0588685bb91382b5096864a00dbb4f3c75692c7


Add "kirschbaum-development/eloquent-power-joins": "^3.0" to composer…

….json

Description
This should fix the missing trait issue that reveals when only filament/forms is required into project and ->relationship() method is called on Select, throws missing trait power joins.
I am not sure how you do the subpackages and how to test it properly, the composer line was copied from main filament composer.json to the one in filament/support
Visual changes
no visual changes
Functional changes

[ ] Code style has been fixed by running the composer cs command.
[ ] Changes have been tested to not break existing functionality.
[ ] Documentation is up-to-date.

Please remove the requirement from tables as that depends on this anyway

I would prefer someone who has better knowledge of Filament and its subpackages and their dependencies to do a proper dependencies review.
I am just trying to fix this 1 obviously missing depndency of the support package.
I don't dare to remove/change existing dependencies in package i know for 3 days (and used just forms so far)
PS: Another dependency to eloquent-power-joins is in the root filament composer.json as well.

Please do so, I know it will be fine because it requires the support package

ok, so remove from the root composer.json too? (as it requires filament/support)

sure as long as the CI still passes

Removed from root & tables composer.json, both do have dep. to filament/support
And looks like the support is the only package really using it:

I am not sure how to correctly handle composer.lock and if it matters in this case (the dependency is the same, just defined elsewhere)

Please run composer update --lock in the root of the project

How about without --lock?

composer update
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 19 updates, 2 removals
  - Removing doctrine/cache (2.2.0)
  - Removing doctrine/event-manager (2.0.1)
  - Upgrading aws/aws-sdk-php (3.316.9 => 3.319.2)
  - Upgrading carbonphp/carbon-doctrine-types (2.1.0 => 3.2.0)
  - Upgrading doctrine/dbal (3.8.6 => 4.0.5)
  - Upgrading filament/support (3.x-dev => dev-3.x-fix-support-require-eloquent-power-joins)
  - Upgrading guzzlehttp/guzzle (7.8.2 => 7.9.2)
  - Upgrading guzzlehttp/psr7 (2.6.3 => 2.7.0)
  - Upgrading laravel/framework (v11.18.1 => v11.20.0)
  - Upgrading laravel/pint (v1.17.0 => v1.17.2)
  - Upgrading laravel/serializable-closure (v1.3.3 => v1.3.4)
  - Upgrading nette/utils (v4.0.4 => v4.0.5)
  - Upgrading nunomaduro/collision (v8.3.0 => v8.4.0)
  - Upgrading orchestra/canvas (v9.1.0 => v9.1.1)
  - Upgrading orchestra/testbench-core (v9.2.2 => v9.2.3)
  - Upgrading orchestra/workbench (v9.1.0 => v9.4.1)
  - Upgrading pestphp/pest (v2.34.9 => v2.35.0)
  - Upgrading sebastian/comparator (5.0.1 => 5.0.2)
  - Upgrading spatie/image (3.7.2 => 3.7.3)
  - Upgrading spatie/laravel-medialibrary (11.8.1 => 11.8.2)
  - Upgrading zbateson/mail-mime-parser (3.0.2 => 3.0.3)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 19 updates, 2 removals
  - Downloading sebastian/comparator (5.0.2)
  - Downloading aws/aws-sdk-php (3.319.2)
  - Downloading zbateson/mail-mime-parser (3.0.3)
  - Downloading orchestra/testbench-core (v9.2.3)
  - Downloading orchestra/canvas (v9.1.1)
  - Downloading orchestra/workbench (v9.4.1)
  - Downloading pestphp/pest (v2.35.0)
  - Downloading spatie/image (3.7.3)
  - Downloading spatie/laravel-medialibrary (11.8.2)
  - Removing doctrine/event-manager (2.0.1)
  - Removing doctrine/cache (2.2.0)
  - Upgrading carbonphp/carbon-doctrine-types (2.1.0 => 3.2.0): Extracting archive
  - Upgrading nette/utils (v4.0.4 => v4.0.5): Extracting archive
  - Upgrading laravel/serializable-closure (v1.3.3 => v1.3.4): Extracting archive
  - Upgrading laravel/framework (v11.18.1 => v11.20.0): Extracting archive
  - Upgrading guzzlehttp/psr7 (2.6.3 => 2.7.0): Extracting archive
  - Upgrading guzzlehttp/guzzle (7.8.2 => 7.9.2): Extracting archive
  - Upgrading sebastian/comparator (5.0.1 => 5.0.2): Extracting archive
  - Upgrading doctrine/dbal (3.8.6 => 4.0.5): Extracting archive
  - Upgrading filament/support (3.x-dev => dev-3.x-fix-support-require-eloquent-power-joins): Source already present
  - Upgrading laravel/pint (v1.17.0 => v1.17.2): Extracting archive
  - Upgrading aws/aws-sdk-php (3.316.9 => 3.319.2): Extracting archive
  - Upgrading zbateson/mail-mime-parser (3.0.2 => 3.0.3): Extracting archive
  - Upgrading orchestra/testbench-core (v9.2.2 => v9.2.3): Extracting archive
  - Upgrading orchestra/canvas (v9.1.0 => v9.1.1): Extracting archive
  - Upgrading nunomaduro/collision (v8.3.0 => v8.4.0): Extracting archive
  - Upgrading orchestra/workbench (v9.1.0 => v9.4.1): Extracting archive
  - Upgrading pestphp/pest (v2.34.9 => v2.35.0): Extracting archive
  - Upgrading spatie/image (3.7.2 => 3.7.3): Extracting archive
  - Upgrading spatie/laravel-medialibrary (11.8.1 => 11.8.2): Extracting archive
Generating autoload files
124 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
phpstan/extension-installer: Extensions installed
> larastan/larastan: installed
> nesbot/carbon: installed
> pestphp/pest: installed
No security vulnerability advisories found.

And subsequent composer update --lock did nothing
composer update --lock
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Generating autoload files
124 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
phpstan/extension-installer: Extensions installed
No security vulnerability advisories found.

Thanks