how to make wrapper for (nested) router?

i want to wrap nested router:
let router = new Router({prefix: 'users'});
router = router
  .get('/', userCtrl.getUsers)
  .post('/', userCtrl.post)
  .get('/:id', userCtrl.get)
  .patch('/:id', userCtrl.patch)
  .delete('/:id',  userCtrl.del)
  .routes();

function* wrapper(next) {
   console.log('enter');
    //my wrapper code
    try {
      console.log('run');
      yield* router.call(this, next);
    } finally {
      console.log('exit');
    }
}

let mainRouter = new Router();
mainRouter.use(wrapper);

But this does not work.
I get to debug:
  koa-router defined route HEAD,GET /users/ +41ms
  koa-router defined route POST /users/ +1ms
  koa-router defined route HEAD,GET /users/:id +0ms
  koa-router defined route PATCH /users/:id +1ms
  koa-router defined route DELETE /users/:id +0ms
  koa-router defined route  (.*) +0ms

and then when request
  koa-router GET /users +3s
  koa-router test (.*) /^(.*)(?:\/(?=$))?(?=\/|$)/i +0ms
  koa-router test (.*) /^(.*)(?:\/(?=$))?(?=\/|$)/i +0ms
  --> GET /users 404 50ms 1.31kb

I have also tried: dispatch.router = router.router;
And it's worked, but without my wrapper.
This is a simplified example, in my application, I do a lot of routers and do one wrapper for each, with different parameters inside.

I think this may be related to my comment on issue #257

Is it still an issue? @dimonnwc3


Change poky submodule to use our github hosted mirror

Changelog-entry: Change the poky submodule to our github mirror
Signed-off-by: Florin Sarbu<EMAIL_ADDRESS>

@resin-jenkins test this please

@resin-jenkins ok to test

@resin-jenkins test this please

@resin-jenkins test this please

@resin-jenkins test this please

@balena-ci I self-certify!


CI: K8sDatapathConfig MonitorAggregation Checks that monitor aggregation flags send notifications

Test Name
Suite-k8s-1.16.K8sDatapathConfig MonitorAggregation Checks that monitor aggregation flags send notifications

Failure Output
FAIL: Timed out after 240.000s.

Stack Trace
/home/jenkins/workspace/cilium-master-k8s-1.16-kernel-4.19/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:515
Timed out after 240.000s.
monitor aggregation did not result in correct number of TCP notifications

Expected
    <bool>: false
to be true
/home/jenkins/workspace/cilium-master-k8s-1.16-kernel-4.19/src/github.com/cilium/cilium/test/k8s/datapath_configuration.go:139

Standard Output
06:15:45 STEP: Installing Cilium
06:15:47 STEP: Waiting for Cilium to become ready
06:16:32 STEP: Validating if Kubernetes DNS is deployed
06:16:32 STEP: Checking if deployment is ready
06:16:32 STEP: Checking if kube-dns service is plumbed correctly
06:16:32 STEP: Checking if DNS can resolve
06:16:32 STEP: Checking if pods have identity
06:16:36 STEP: Kubernetes DNS is up and operational
06:16:36 STEP: Validating Cilium Installation
06:16:36 STEP: Performing Cilium status preflight check
06:16:36 STEP: Performing Cilium controllers preflight check
06:16:36 STEP: Checking whether host EP regenerated
06:16:36 STEP: Performing Cilium health check
06:16:43 STEP: Performing Cilium service preflight check
06:16:43 STEP: Performing K8s service preflight check
06:16:43 STEP: Cilium is not ready yet: connectivity health is failing: Cluster connectivity is unhealthy on 'cilium-bspz9': Exitcode: 1
Err: exit status 1
Stdout:

Stderr:
 	 Error: Cannot get status/probe: Put "http://%2Fvar%2Frun%2Fcilium%2Fhealth.sock/v1beta/status/probe": dial unix /var/run/cilium/health.sock: connect: no such file or directory

	 command terminated with exit code 1

06:16:43 STEP: Performing Cilium controllers preflight check
06:16:43 STEP: Performing Cilium health check
06:16:43 STEP: Performing Cilium status preflight check
06:16:43 STEP: Checking whether host EP regenerated
06:16:50 STEP: Performing Cilium service preflight check
06:16:50 STEP: Performing K8s service preflight check
06:16:50 STEP: Performing Cilium controllers preflight check
06:16:50 STEP: Performing Cilium status preflight check
06:16:50 STEP: Performing Cilium health check
06:16:50 STEP: Checking whether host EP regenerated
06:16:57 STEP: Performing Cilium service preflight check
06:16:57 STEP: Performing K8s service preflight check
06:16:57 STEP: Performing Cilium controllers preflight check
06:16:57 STEP: Checking whether host EP regenerated
06:16:57 STEP: Performing Cilium status preflight check
06:16:57 STEP: Performing Cilium health check
06:17:04 STEP: Performing Cilium service preflight check
06:17:04 STEP: Performing K8s service preflight check
06:17:11 STEP: Waiting for cilium-operator to be ready
06:17:11 STEP: WaitforPods(namespace="kube-system", filter="-l name=cilium-operator")
06:17:11 STEP: WaitforPods(namespace="kube-system", filter="-l name=cilium-operator") => <nil>
06:17:11 STEP: Making sure all endpoints are in ready state
06:17:14 STEP: Launching cilium monitor on "cilium-bspz9"
06:17:14 STEP: Creating namespace<PHONE_NUMBER>17k8sdatapathconfigmonitoraggregationchecksthatmonito
06:17:14 STEP: Deploying demo_ds.yaml in namespace<PHONE_NUMBER>17k8sdatapathconfigmonitoraggregationchecksthatmonito
06:17:14 STEP: Applying policy /home/jenkins/workspace/cilium-master-k8s-1.16-kernel-4.19/src/github.com/cilium/cilium/test/k8s/manifests/l3-policy-demo.yaml
06:17:22 STEP: Waiting for 4m0s for 5 pods of deployment demo_ds.yaml to become ready
06:17:22 STEP: WaitforNPods(namespace="202304120617k8sdatapathconfigmonitoraggregationchecksthatmonito", filter="")
06:17:26 STEP: WaitforNPods(namespace="202304120617k8sdatapathconfigmonitoraggregationchecksthatmonito", filter="") => <nil>
06:17:26 STEP: Checking pod connectivity between nodes
06:17:26 STEP: WaitforPods(namespace="202304120617k8sdatapathconfigmonitoraggregationchecksthatmonito", filter="-l zgroup=testDSClient")
06:17:26 STEP: WaitforPods(namespace="202304120617k8sdatapathconfigmonitoraggregationchecksthatmonito", filter="-l zgroup=testDSClient") => <nil>
06:17:26 STEP: WaitforPods(namespace="202304120617k8sdatapathconfigmonitoraggregationchecksthatmonito", filter="-l zgroup=testDS")
06:17:26 STEP: WaitforPods(namespace="202304120617k8sdatapathconfigmonitoraggregationchecksthatmonito", filter="-l zgroup=testDS") => <nil>
06:17:37 STEP: Checking the set of TCP notifications received matches expectations
06:17:37 STEP: Looking for TCP notifications using the ephemeral port "46090"
Could not locate final FIN notification in monitor log: egressTCPMatches [[84 67 80 9 123 67 111 110 116 101 110 116 115 61 91 46 46 51 50 46 46 93 32 80 97 121 108 111 97 100 61 91 93 32 83 114
...
 56 49 49 53 54 53 32 68 97 116 97 79 102 102 115 101 116 61 56 32 70 73 78 61 116 114 117 101]]
FAIL: Timed out after 240.000s.
monitor aggregation did not result in correct number of TCP notifications

Expected
    <bool>: false
to be true
=== Test Finished at 2023-04-12T06:21:37Z====

Standard Error
-

Resources

Jenkins URL:  https://jenkins.cilium.io/job/cilium-master-k8s-1.16-kernel-4.19/4451/testReport/junit/Suite-k8s-1/16/K8sDatapathConfig_MonitorAggregation_Checks_that_monitor_aggregation_flags_send_notifications/
ZIP file(s): 24b57202_K8sDatapathConfig_MonitorAggregation_Checks_that_monitor_aggregation_flags_send_notifications.zip

Anything else?
No response

Another similar one on the same test:

Jenkins URL: https://jenkins.cilium.io/job/Cilium-PR-K8s-1.16-kernel-4.19/916/testReport/Suite-k8s-1/16/K8sDatapathConfig_MonitorAggregation_Checks_that_monitor_aggregation_restricts_notifications/
Zip file:
b89c3536_K8sDatapathConfig_MonitorAggregation_Checks_that_monitor_aggregation_restricts_notifications.zip

Another one (similar failure on the same test).

Jenkins URL: https://jenkins.cilium.io/job/Cilium-PR-K8s-1.16-kernel-4.19/916/
ZIP file(s): b89c3536_K8sDatapathConfig_MonitorAggregation_Checks_that_monitor_aggregation_restricts_notifications.zip

The absence of a monitor-aggregation.log file in the artifacts and of monitor output in the logs suggests that the cilium monitor was somehow empty at the end. https://github.com/cilium/cilium/pull/25152 should the reporting a bit and hopefully allow us to get some more clarify.

This is still occurring on v1.11.

This was hit in #27031.

https://jenkins.cilium.io/job/Cilium-PR-K8s-1.16-kernel-4.9/61/testReport/junit/Suite-k8s-1/16/K8sDatapathConfig_MonitorAggregation_Checks_that_monitor_aggregation_flags_send_notifications/

Artifacts: 8e2d60ca_K8sDatapathConfig_MonitorAggregation_Checks_that_monitor_aggregation_flags_send_notifications.zip

This was hit in #28227.

https://jenkins.cilium.io/job/Cilium-PR-K8s-1.16-kernel-4.9/163/testReport/junit/Suite-k8s-1/16/K8sDatapathConfig_MonitorAggregation_Checks_that_monitor_aggregation_flags_send_notifications/

Artifacts:
d3a5be1a_K8sDatapathConfig_MonitorAggregation_Checks_that_monitor_aggregation_flags_send_notifications.zip

Hit on https://github.com/cilium/cilium/pull/28762: https://jenkins.cilium.io/job/Cilium-PR-K8s-1.16-kernel-4.9/201/

https://jenkins.cilium.io/job/Cilium-PR-K8s-1.17-kernel-4.9/287/testReport/junit/Suite-k8s-1/17/K8sDatapathConfig_MonitorAggregation_Checks_that_monitor_aggregation_flags_send_notifications/ Artifacts were too big to upload.

This was hit in #29639.

https://jenkins.cilium.io/job/Cilium-PR-K8s-1.17-kernel-4.9/313/testReport/junit/Suite-k8s-1/17/K8sDatapathConfig_MonitorAggregation_Checks_that_monitor_aggregation_flags_send_notifications/

534be830_K8sDatapathConfig_MonitorAggregation_Checks_that_monitor_aggregation_flags_send_notifications.zip


Facebook Marketing Connector Source Broken

Please update this to the latest version

Seems this relates to Jitsu Cloud. Jitsu Cloud has a special configuration, and this issue most likely is not reproducible in self-hosted Jitsu. Please contact<EMAIL_ADDRESS>


Stream 935/api integration init

WIP: Add api_integration GHA

Closing in favor of https://github.com/FlipsideCrypto/admin-models/pull/6


Add support for bidirectional RNNs

This is simply a transformation which applies a layer twice over the sequence (forward and backward).

Tracked in #119


Add functionality to each choice

Hi StraTon
Is there a way I can set variables or ececute functions whenever a choice is made?
For instance, let's assume we have 3 choices, A B and C
If A is chosen, the player loses points; when B is chosen, the player gains points; when C is chosen, the make_friend() function is called.

Hi @ChaqSilent.
This tool is kind of... left behind, I'm afraid. The functionality you're asking for was expected to have, but to be honest I can't maintain it anymore. Thus, I redirect you to a very similar tool that is also under MIT Licence : https://github.com/LittleMouseGames/whiskers
It should be able to do what you want with a few modifications.


Update mean climate notebook

The changes in this PR are:

Update the mean climate demo notebook with more examples
Update the download notebook to use new sample data
Move the parameter file generation function to a separate file
Update parameter files with new sample data paths
Add a README for the notebooks

@gleckler1 @lee1043 Here's my first pass at a new mean climate notebook.

@gleckler1 @lee1043 Here's my first pass at a new mean climate notebook.

@acordonez I'm thinking to make a few edits to the README.md, but I'm not sure if its ok for me to directly edit the file from the pull request (looks like I have permission) or if I should just make suggestions here.

@acordonez I'm thinking to make a few edits to the README.md, but I'm not sure if its ok for me to directly edit the file from the pull request (looks like I have permission) or if I should just make suggestions here.

@acordonez Wondering about this:
Additionally, the user should clone the PMP to acquire the notebooks:
git clone https://github.com/PCMDI/pcmdi_metrics.git
Don't the notebooks get included when one creates a PMP env via conda?   I think the above means that a user have some basic experience with git and that they have git setup.  Unfortunately, not everyone does.   Maybe there is no way around this?

@acordonez Wondering about this:
Additionally, the user should clone the PMP to acquire the notebooks:
git clone https://github.com/PCMDI/pcmdi_metrics.git
Don't the notebooks get included when one creates a PMP env via conda?   I think the above means that a user have some basic experience with git and that they have git setup.  Unfortunately, not everyone does.   Maybe there is no way around this?

@gleckler1 For the README, if you're able to edit from the PR, that seems reasonable to me.

@gleckler1 For the README, if you're able to edit from the PR, that seems reasonable to me.

@acordonez Wondering about this:
Additionally, the user should clone the PMP to acquire the notebooks:
git clone https://github.com/PCMDI/pcmdi_metrics.git
Don't the notebooks get included when one creates a PMP env via conda? I think the above means that a user have some basic experience with git and that they have git setup. Unfortunately, not everyone does. Maybe there is no way around this?

I am not aware of the notebooks being distributed with the conda package - I don't see any mention of them in setup.py so my initial thought is that they aren't part of the install. One alternative is that users can download the repo code as a zip file on github - does that sound like a simpler method, or does that also seem a bit complicated?

@acordonez Wondering about this:
Additionally, the user should clone the PMP to acquire the notebooks:
git clone https://github.com/PCMDI/pcmdi_metrics.git
Don't the notebooks get included when one creates a PMP env via conda? I think the above means that a user have some basic experience with git and that they have git setup. Unfortunately, not everyone does. Maybe there is no way around this?

I am not aware of the notebooks being distributed with the conda package - I don't see any mention of them in setup.py so my initial thought is that they aren't part of the install. One alternative is that users can download the repo code as a zip file on github - does that sound like a simpler method, or does that also seem a bit complicated?

@acordonez @lee1043  Thanks I understand better.  I wonder if they could be added to setup.py, or perhaps there is a good reason why they are not there?  Maybe it is reasonable to just complement them with static documentation, carry on, and see what kind of feedback we get.

@acordonez @lee1043  Thanks I understand better.  I wonder if they could be added to setup.py, or perhaps there is a good reason why they are not there?  Maybe it is reasonable to just complement them with static documentation, carry on, and see what kind of feedback we get.

@gleckler1 I think I would not prefer having jupyter notebook in setup.py.  Installing from conda automatically process setup.py so user won't have to install it from source. We don't have any importable functions in jupyter notebook. So I don't think it is necessary to have those in setup.py.

@gleckler1 I think I would not prefer having jupyter notebook in setup.py.  Installing from conda automatically process setup.py so user won't have to install it from source. We don't have any importable functions in jupyter notebook. So I don't think it is necessary to have those in setup.py.

@lee1043 @acordonez  The advantage of making the notebooks available via the PMP env installed from conda is it could simplify accessibility.  But I appreciate that there are good reasons to not do this.  Perhaps for now we should not overly emphasize making the PMP/demos trivial to use, and just target non-beginners, e.g., some expectation that the user knows a little python, github, and is interested to try jupyter if they have not already.

@lee1043 @acordonez  The advantage of making the notebooks available via the PMP env installed from conda is it could simplify accessibility.  But I appreciate that there are good reasons to not do this.  Perhaps for now we should not overly emphasize making the PMP/demos trivial to use, and just target non-beginners, e.g., some expectation that the user knows a little python, github, and is interested to try jupyter if they have not already.

@gleckler1 @lee1043 For now I do think distributing the notebooks via github is a good way to go. In the future we might consider how they can be boxed up with conda.

@gleckler1 @lee1043 For now I do think distributing the notebooks via github is a good way to go. In the future we might consider how they can be boxed up with conda.

@gleckler1 @acordonez I agree for distributing the notebooks via github for now.

@gleckler1 @acordonez I agree for distributing the notebooks via github for now.

@acordonez @lee1043 Sounds good.  Lets not merge this until AO has adopted notebooks with PG's latest tinkering with the demo data.

@acordonez @lee1043 Sounds good.  Lets not merge this until AO has adopted notebooks with PG's latest tinkering with the demo data.

@lee1043 @acordonez  I think this may have been merged before AO could finish updating demos with PG's latest corrections to "pmp_tutorial_files.txt".  Doubtful there is any harm done.   Not sure what the easiest path for AO is, create another branch with minor updates to demos, or to resurrect this branch.

I have not deleted the branch when approving this PR, so I think you can keep working on the existing branch and make PR from it once done.

Yes, I think I can make a new PR from this branch still.


[Question] supported formats for globals['ts-jest'].diagnostics.pathRegex?

Issue :
Running jest 23.6.0 and ts-jest 23.10.5, I wanted to configure the diagnostics options for ts-jest. Specifically, using the documentation as a base, I had a minimal configuration like this as the jest.config.js file:
// jest.config.js
module.exports = {
  // ...
  globals: {
    'ts-jest': {
      'tsConfig': 'tsconfig.json',
      diagnostics: {
        pathRegex: /\.test\.tsx$/
        // or new RegExp('\.test\.tsx$')
      }
    }
  }
};

However, when actually running this, the diagnostics were still running against the source files themselves, so I wasn't sure what was going wrong. I started logging out diagnosticsOpt.pathRegex in ts-jest/dist/config/config-set.js itself, and noticed that the pathRegex was coming through as an empty object. Looking into it further, I found this from the jest configuration docs:

Jest's configuration can be defined in the package.json file of your project, or through a jest.config.js file or through the --config <path/to/js|json> option.
...
Please keep in mind that the resulting configuration must be JSON-serializable.

And more specifically, in the globals docs:

In addition the globals object must be json-serializable, so it can't be used to specify global functions. For that you should use setupFiles.

From what I can tell, jest itself will JSON serialize the jest.config.js before "handoff" to ts-jest happens, which is why ts-jest is getting an empty object as diagnosticsOpt.pathRegex.
Expected behavior :
Using a regex literal or constructed Regex as globals['ts-jest'].diagnostics.pathRegex would limit ts-jest diagnostics to files matching that regex, as suggested in the documentation.
Alternatively, if this is not possible due to external JSON serialization conducted by jest, that the ts-jest diagnostics docs are updated to reflect this, and suggest a JSON-serializable alternative (i.e. string).

hi, at the moment ts-jest only supports pathRegex with string, new RegExp isn't supported. You can fix your issue by specifying pathRegex: '/\.test\.tsx$/' . If you want to request for support new RegExp, feel free to submit a PR to help us.

Hi @ahnpnl, thanks for taking a look at the issue. Truth be told, I don't think I am still running into the original issue I was trying to solve in January.
To follow on your suggestions though, I don't think it would be possible to support new RegExp, since it seems that it will always be serialized to the string "{}" as jest provides this config data to ts-jest.
Do you think a PR should be opened to change the documentation? In this part: https://kulshekhar.github.io/ts-jest/user/config/diagnostics#advanced-options
// jest.config.js
module.exports = {
  // [...]
  globals: {
    'ts-jest': {
      diagnostics: {
        pathRegex: /\.(spec|test)\.ts$/
      }
    }
  }
};

It seems to give the wrong impression that regex literals and RegExp instances are supported.

Yes I think the documentation needs to be adjusted. We are always happy to receive PRs from community to help us :)
Besides, you are right that because of stringify config before adding to cache that results in new RexExp is stringify as a string ‘{}’. Actually it is possible to support RexExp object but it’s more like an enhancement. If you have free time, feel free to help us with that.


Rename the Task Class

I have come across a conflict between System.Threads.Tasks.Task and Conductor.Client.Models.Task The class in question is here: https://github.com/conductor-sdk/conductor-csharp/blob/ec6a079113826782d26c83b6b5b6d037860cfc9c/Conductor/Client/Models/Task.cs#L12-L18
Can it be renamed to something else?

Hi @j0nimost we will consider this in the future versions, currently changing the name is going to cause backwards compatibility issues.  Closing this issue for now, but we will certainly find a way in the future releases.


restrictions

From @dazinator on Thursday, November 24, 2016 5:34:06 PM
Its interesting to read #232 #213 #186 where basically the comments from the team seem to indicate an intention to bake in security restrictions (such as ignoring files that start with ".") to make particular files invisible.
Seems backwards to me. It seems these decisions may be taken purely because one use case for a provider is to automatically serve up content from a webroot directory to the browser.
However this is not the sole use case. The environment also has a content root file provider. Also the fileprovider does not appear to be tied to asp.net web app necessarily, and could be used from console apps. When a developer wants to read a file, how do you know their use case isn't to read a file that is hidden or starts with a dot?
It seems to me that the consequences of setting a physical file provider to serve a webroot folder should be understood by develoers i e every file in that folder is serveable.
If it's not desirable to serve certain files wouldn't middleware be the best place to stop that - not the file provider itself?
Just thought I'd chime in with my opinion - because after all, this is github :-)
Copied from original issue: aspnet/FileSystem#247

fyi This issue has been transferred and now the linked issues in its description don't tie up to their original location

Thanks for your feedback. We appreciate your letting us know about the problem you've encountered or suggestion but we are not planning to take further action on this issue because our focus has been on issues with significantly higher customer interest and issues impacting a broad number of customers.


tf.reduce_mean is not compatible with np.mean

tf.reduce_mean emphasized that this function is compatible with numpy:

Equivalent to np.mean

But it doesn't in the output type. Consider the following code for example:
import tensorflow as tf
x = tf.Variable([1, 0, 1, 0])
init = tf.global_variables_initializer()
sess = tf.Session()
sess.run(init)
print(sess.run(tf.reduce_mean(x)))

The output is zero. It seems that tf.reduce_mean infer the output type from the input tensor because casting the input tensor to float values, solve the problem. This attribute is not compatible to np.mean:
import numpy as np
print(np.mean([1,0,0,1]))

System information

OS Platform and Distribution: Linux Ubuntu 16.04
TensorFlow installed from (source or binary): Source
TensorFlow version (use command below): 1.3
Python version: 3.6

In numpy, numpy.mean has a dtype that could be used to specify the output type:
https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/numpy.mean.html
By default this is dtype=float64 for integer types and same type as input for non-integer types.
It might be possible to add a dtype in tf.reduce_mean though a type cast is always needed I assume.

@MarkDaoust should we update the numpy compat docstring?
/CC @aselle

@drpngx @MarkDaoust  dtype is an optional parameter in both TF and Numpy. I think it should be clear in the document or adapt to Numpy. It's my honer to contribute in both cases.

Sure, if you want to update the @compatability(numpy) note we'd welcome the PR.
But I don't think this is enough of a bug that we can break backwards compatibility to fix it.

@drpngx I'd like to send a PR to add the dtype argument for reduce_mean funciton.

@DjangoPeng sounds good, it'll have to go to api review. Thank you!

Fixed by #13941


Runtime error occures when function parameter containing error value is referenced inside a transaction statement

Description:
public function main() {
    createUpdateDeleteTransaction(error("theError"));
}

function createUpdateDeleteTransaction(error? dbOperation) {
    transaction {
        error? queryResult = dbOperation;
    }
}

error: {ballerina/lang.map}InherentTypeViolation message=invalid map insertion: expected value of type 'any', found 'error'
        at main:createUpdateDeleteTransaction(main.bal:5)
           main:main(main.bal:2)

The workaround is to assign these parameters which could contain error values to local variables before the transaction block.
Above sample with workaround applied.
public function main() {
    createUpdateDeleteTransaction(error("theError"));
}

function createUpdateDeleteTransaction(error? dbOperation) {
    error? er = dbOperation; // assign to intermediate local variable
    transaction {
        error? queryResult = er;
    }
}

Note:
This looks like a bug in the closure var map calculation, it seems that the parameters are not considered when type of closure var map is calculated.
Steps to reproduce:
Affected Versions:
1.2.6
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Fixed from #27245


Relation "wagtailredirects_redirect" doesn't exist when loading initial data

docker-compose run app /venv/bin/python manage.py load_initial_data fails with
Traceback (most recent call last):
  File "/venv/lib/python3.7/site-packages/django/db/backends/utils.py", line 86, in _execute
    return self.cursor.execute(sql, params)
psycopg2.errors.UndefinedTable: relation "wagtailredirects_redirect" does not exist
LINE 1: DELETE FROM "wagtailredirects_redirect" WHERE "wagtailredire...
                    ^

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "manage.py", line 15, in <module>
    execute_from_command_line(sys.argv)
  File "/venv/lib/python3.7/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line
    utility.execute()
  File "/venv/lib/python3.7/site-packages/django/core/management/__init__.py", line 395, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/venv/lib/python3.7/site-packages/django/core/management/base.py", line 328, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/venv/lib/python3.7/site-packages/django/core/management/base.py", line 369, in execute
    output = self.handle(*args, **options)
  File "/code/bakerydemo/base/management/commands/load_initial_data.py", line 37, in handle
    Site.objects.get(hostname='localhost').delete()
  File "/venv/lib/python3.7/site-packages/django/db/models/base.py", line 938, in delete
    return collector.delete()
  File "/venv/lib/python3.7/site-packages/django/db/models/deletion.py", line 314, in delete
    count = qs._raw_delete(using=self.using)
  File "/venv/lib/python3.7/site-packages/django/db/models/query.py", line 736, in _raw_delete
    return sql.DeleteQuery(self.model).delete_qs(self, using)
  File "/venv/lib/python3.7/site-packages/django/db/models/sql/subqueries.py", line 75, in delete_qs
    cursor = self.get_compiler(using).execute_sql(CURSOR)
  File "/venv/lib/python3.7/site-packages/django/db/models/sql/compiler.py", line 1152, in execute_sql
    cursor.execute(sql, params)
  File "/venv/lib/python3.7/site-packages/django/db/backends/utils.py", line 68, in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  File "/venv/lib/python3.7/site-packages/django/db/backends/utils.py", line 77, in _execute_with_wrappers
    return executor(sql, params, many, context)
  File "/venv/lib/python3.7/site-packages/django/db/backends/utils.py", line 86, in _execute
    return self.cursor.execute(sql, params)
  File "/venv/lib/python3.7/site-packages/django/db/utils.py", line 90, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/venv/lib/python3.7/site-packages/django/db/backends/utils.py", line 86, in _execute
    return self.cursor.execute(sql, params)
django.db.utils.ProgrammingError: relation "wagtailredirects_redirect" does not exist
LINE 1: DELETE FROM "wagtailredirects_redirect" WHERE "wagtailredire...

I'm unable to replicate this on a fresh bakerydemo install following the steps in the readme. This error would indicate that either migrations failed during the docker-compose up --build -d step, or the database was cleared after that step. One setup where the latter might possibly happen is a site on Heroku (which uses a non-permanent filesystem) with a sqlite database - however, without more details on the setup leading up to this error, it's not possible to troubleshoot further.


Gradio Blocks Demo

Hi, thanks for making the gradio demos here: https://huggingface.co/OFA-Sys, great work. Would you be interested in updating the demos for the gradio blocks competition this month: https://huggingface.co/Gradio-Blocks or to add another model to the competition, thanks!

Seems very interesting! We'll take a look and try to use the new APIs and participate in the competition!


SDK 0.6 - samsung galaxy tab 4 smt530 - camera no moving

Hi, i test the vr app sample cardoboard demo without stereo cam, on my tablet, but camera not moving when i move the tablet. When start app camera have a bad orientation and don't move.
Thanks
Ale

Ok sorry, maybe that in this tablet there is not the gyroscope... :(
Ale

Yes. That is the problem.


work out databases in general

Please learn how to manipulate the data
We could also try other databases, like Django or Firebase, though the code plan was for MongoDB to be the database. Don't know if we should change it.

not a specific task we need to do; this is included in any issue involving using the database


Add AllContributors integration

@all-contributors please add @kamiazya for code, tests, ideas and doc.


buttonDeleteComponent not deleting the pincode

I have set up the props buttonDeleteComponent, however, it seems that there's no definition or documentation of how we can be able to delete the pin code every time we click the new component for the delete icon.
buttonDeleteComponent={() => {
          return (
            <TouchableHighlight>
              <View>
                <Icon
                  name={'backspace'}
                />
                <Text>Test Delete</Text>
              </View>
            </TouchableHighlight>
          )
}}

Hey,
Yes it's missing sorry.
Atm it's doing this:
this.props.buttonDeleteComponent(() => {
                      if (this.state.password.length > 0) {
                        const newPass = this.state.password.slice(0, -1);
                        this.setState({ password: newPass });
                        if (this.props.getCurrentLength)
                          this.props.getCurrentLength(newPass.length);
                      }
                    })
                 ```

@Haskkor sorry Haskkor, im having this same problem, but I didn't understand what we need to do with that code you put there. Can you explain please?

Ok I already figured it out, for anyone wondering you just need to pass the prop that @Haskkor mentioned to your component.
Something like this
buttonDeleteComponent={(eraseCharacter) => (                 <TouchableOpacity onPress={() => eraseCharacter()}>                   <DeleteIcon />                   <Text style={{color: globals.colors.ghost}}>Delete</Text>                 </TouchableOpacity>    )}
I named it eraseCharacter, but you can name it whatever you want


v3 error '' Cannot read property 'source_url' of undefined ''

v3 looks awesome

I have been busy with other stuff (organizing events mostly) lately so I have not got the time to work on v3. try to checkout a previous commit maybe I pushed a bad state.

Thank you
i will wait for the next release

v3 is awsome sir,
but npm run restore command giving error saying - current working dir. is not codova based project ?

@shprink

Try to search keywords on files: pages-item.html, post-card.html and posts-item.html with "media_details.sizes.medium.source_url", change to "source_url".
good luck!


[REVIEW] bharadwajduggaraju

GitHub Profile Link
https://github.com/bharadwajduggaraju

I would use 'I' as pronunciation but this is only my personal preference otherwise I really like the text and the profile.

Thanks a lot, I think that is a useful change that I will probably implement. If you like my work, a follow would be hugely appreciated!

@schmelto do you think that adding the way to pronounce my name (brod-waj) right next to my name would also be a viable solution?

And some other useful feedback would be what other sections should I add to the readme/what badges to add.

@schmelto do you think that adding the way to pronounce my name (brod-waj) right next to my name would also be a viable solution?

I think this could be a good idea

Profile not found, so I will close


The same question as DLwbm123, where is the file adj_mx.pkl?

You have to use the scripts in the DCRNN model that you can find here. In particular, for that you will need the gen_adj_mx.py.


Handle cwd that isn't this project's root

Closes #103
Ran the same command as in linked issue, and it worked properly.

Nice, thank you!


Connection.getMetaData().getProcedures(String,String,String)) missing 9th column

Connection.getMetaData().getProcedures(String,String,String)) should return 9 columns but is missing the 9th column SPECIFIC_NAME.
While the underlying server's stored procedure only returns 8 columns, the JDBC API must return the 9th to be compliant with the API even if the column values are null. This bug makes is harder to write JDBC code that is vendor neutral.
If you agree this is a bug, I can provide a fix.

Hi @garydgregory, that sounds like a good fix. If you could add the changes to this PR, the team will review it.

Hi @garydgregory, that sounds like a good fix. If you could add the changes to this PR, the team will review it.

We have looked at this PR and have found that it does not work with the existing code base. We want to get this  working but at this point we have not been able to dedicate the effort


Add infrastructure unit tests

Current tests are integration tests. Use Moq to add unit tests without database dependency.

Tests have all been rewritten from scratch


Mac client trying to mount network drive and crashing

When I setup keybase on my new Mac I had a network drive mounted (a freenas smb share) and while it worked as long as the network drive was connected keybase now won't launch (or launches and freezes with a white box sans any interface elements) and repeatedly shows an error connecting to the network drive if I am whereI couldn't access the NAS.

Bump bump.  This is driving me crazy. I've uninstalled and reinstalled keybase but to no avail - if I can't connect to the NAS keybase is non-functional (which is a drag as my team is using it for some of our internal communications).

@strib, how do you disable Fuse via config?
As a separate issue, it seems like there's a UI regression and there's no way to disable Fuse via UI, but that likely won't help here.

keybase uninstall -c redirector,fuse plus restarting Keybase will disable the mount (or the Files tab in the Settings tab -- I suspect the regression is only in the admin builds)
But that's not really what the user is asking.  I believe there's some other problem that's been reported before where the osx mounter has to loop through the Finder favorites for some reason, and if one of them isn't responsive, it hangs.  I don't know anything about it though.

@strib you're right, it's still there, i didn't know it had moved.

@strib I spoke too soon - I also removed all favorites and cleared all history from my connect to server window. Nothing is listed there.  I tried running keybase uninstall -c redirector,fuse, tried uninstalling and reinstalling keybase, tried deleting application support - still can't launch keybase on my mac if I'm not on the LAN with this FreeNAS server - really annoying!

@strib @maxtaco  any chance you lovely people have any other suggestions for a work around here?

duplicate of #6359 ?

@fluxens yeah, I think this is a dupe. It's also still plaguing me. Would love to see a fix as I can't find anyway to suppress this behavior despite all attempts to remove this drive from startup items and favorites.


Add class factories

This PR is a starting point for adding class factories as mentioned in https://github.com/Leaflet/Leaflet.toolbar/issues/12. I'd love to get your feedback on this.
For instance, you can now do either new L.Toolbar(options) or L.toolbar(options). The latter is Leaflet's preferred approach.
I've added the class factories, as well as specs to test them. I believe the specs and lints still pass.
If you approve of the changes I've made so far, I can go ahead and add class factories and specs for other classes too.

Coverage increased (+0.32%) when pulling 43a556eaac0820e31f30c6a11552e635432a1803 on kyletolle:class-factories into af55e113574c2b7c48749615aa60606de98dd3e0 on Leaflet:master.

I used Leaflet as my starting point for implementing the code and the specs.

Thanks for the PR! :) I left two small comments above, should be easy fixes.

Coverage decreased (-20.27%) when pulling 8a713562b0496cb144b5bb431a13c61108c0d4bf on kyletolle:class-factories into af55e113574c2b7c48749615aa60606de98dd3e0 on Leaflet:master.

I've added the class factories to L.Toolbar.Control and L.Toolbar.Popup.
I see that L.ToolbarAction is also in the API Documentation, so would that also be a candidate for having a class factory?

Coverage decreased (-19.99%) when pulling c08ac79d3dfaabeeb7236fdc3e71195632947570 on kyletolle:class-factories into af55e113574c2b7c48749615aa60606de98dd3e0 on Leaflet:master.

It seems like L.ToolbarAction is another abstract class too, so I don't think it'd need a class factory, but I wanted to check.

Coverage increased (+0.4%) when pulling dda8a388cc731dff80054d9450cc294853d4be74 on kyletolle:class-factories into af55e113574c2b7c48749615aa60606de98dd3e0 on Leaflet:master.

Coverage increased (+0.4%) when pulling 72c20c2497836a32875327bba0fc22d169b81a5d on kyletolle:class-factories into af55e113574c2b7c48749615aa60606de98dd3e0 on Leaflet:master.

.... and ... (drumroll please) ...we have our first contributor! Thanks, @kyletolle, for the PR and for all your suggestions!

I've been a bit off the radar over the past few days, but I plan to dedicate some time this weekend to the issues you opened this week and last week.

Glad to help! I'm interested in being able to use this on an application I'm currently working on. Please let me know if I can be of any further assistance!


Release (2021-05-30)

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


Feat/lw 9740 revamp create wallet screen

Checklist

[ ] JIRA - <link>
[ ] Proper tests implemented
[ ] Screenshots added.

Proposed solution
Explain how does this PR solves the problem stated in JIRA ticket.
You can also enumerate different alternatives considered while approaching this task.
Testing
Describe here, how the new implementation can be tested.
Provide link or briefly describe User Acceptance Criteria/Tests that need to be met
Screenshots
Attach screenshots here if implementation involves some UI changes

Changes unknown
when pulling de45a1b0c7cd23602a8e466a9cebd29cc6a6185b on feat/lw-9740-revamp-create-wallet-screen
into ** on main**.

Probably best to let the other one get merged first () or we create a branch to merge both tasks into. The reason is that I had to remove the legal stuff from the wallet setup as well due to the build not compiling from those things being flagged as unused.

Hey @szymonmaslowski
re your requests above

yes, confirmed with Legal. They want us to keep those links there.
the analytics events will go into a separate ticket, and yes, we have a specific naming policy to name user analytics events. If possible, let's remove the analytics events from this PR - we will add them later.

cc @greatertomi


Weird console behaviour at boot on NRF52840 with CONFIG_LOG and CONFIG_SHELL

I stumbled on a weird behaviour when testing Zephyr on nRF82540DK (supported by zephyr).
I also tested on Nucleo-L476RG and everything works as expected on that platform.
It appears with this config (commenting one or the other makes the bug disappear):
CONFIG_LOG=y
CONFIG_SHELL=y

At boot time, I'm expecting the banner *** Booting Zephyr OS build v3.6.0 ***. But it doesn't show. I got a uart:~$ prompt instead, so console is working at that time.
Once in the main(), i got an even weirder behaviour. Here's my test code:
	led_on(led_gpio, 0);
	printk("before sleep\n");

	k_msleep(100);
	led_on(led_gpio, 1);
	printk("after 100ms sleep\n");

	k_msleep(1000);
	led_on(led_gpio, 2);
	printk("after sleep\n");

before sleep is NEVER shown
after 100ms sleep and after sleep messages are shown AT THE SAME TIME after 1.1s.
LEDs are turned on at the expected "timestamps" though.

Here's my minimal reproducing project : https://github.com/Salamandar/zephyr-console-bug
When debugging, I tried to turn on CONFIG_BOOT_DELAY=1000 but it doesn't change the behaviour.
BUT ! If i tinker in zephyr/kernel/banner.c and add k_usleep(1); instead of k_busy_wait(), everything works again as expected !? (with CONFIG_BOOT_DELAY commented out)
So it looks like it's a buffering issue and the k_usleep gives the opportunity to the buffer to initialize ?
Expected behavior
Banner and messages to be printed at the expected "moments".
Environment (please complete the following information):

Linux Manjaro
Zephyr SDK from the AUR
Zephyr tag v3.6.0

What's your log backend in the build/zephyr/.config file? you can't have both the log and the shell competing for the UART, so you need to set CONFIG_SHELL_LOG_BACKEND=y

Also, if you are using printk, then you need to ensure that CONFIG_LOG_PRINTK=y, otherwise printk and logging will also be fighting for the console

Nice catch @carlescufi . I’m using LOG_BACKEND_RTT=y. If I disable that, everything works as expected !
What’s the consequence of this backend ?

Nice catch @carlescufi . I’m using LOG_BACKEND_RTT=y. If I disable that, everything works as expected ! What’s the consequence of this backend ?

Well, then logging will go over RTT, which means to see its output you need an RTT viewer from Segger, the UART will not contain the log output.

What I meant was : why selecting this backend affects the way early print messages are (not) displayed ?

What I meant was : why selecting this backend affects the way early print messages are (not) displayed ? And why calling k_usleep(1) in banner.c fixes the issue ? :(

This is possibly a race condition, but I am not sure. Pinging @nordic-krch to see if he can throw some light at this.

If you have more than one logging backend enabled then when at least one backend is ready messages are processed. At early stage shell is not yet ready (thread did not started) but RTT is ready (even though RTT on host does not capture the data). In that case, first messages goes to RTT (and they are lost). Once shell starts it also starts to receive logging messages. If you disable RTT then logging does not process messages until at least one backend is ready so messages are not lost and all are visible on shell.

Thank you, that is a very understandable explanation.
I'll leave other maintainers to decide if that is a real issue interesting to fix.


List component Data Refresh

Reproduction/Problem
I'm trying to implement my own pagination system with the existing List component. My idea was to able to change the page and be able to fill the data from the database so I don't overload the client-side.
However, I'm now facing a problem... whenever I have an item on a page selected and change to the next page or update data variable.
Ex: If on page 1 or dataset 1 I selected 10 elements if I change to the next page/ dataset and it only has 9 elements I get an error.
This seems to be the table trying to fill that index that no longer exists.  My question now is can I clean the selected elements in any way to avoid this problem?  I don't seem to find any way to programmatically unselect these list checkboxes.
Actual Behavior
The error message:
1.Cannot read property 'actions' of undefined.
2. Sometimes just an empty blank reloaded tab inside teams
This error appears every time I try to manually change the data by updating the row variable I pass to the list. Also passing an empty array/empty data after having selected data previously shows the same issue...

Hi @LeandroMendesDS, thanks for reaching out about this.
Actually we were planning on implementing first-party pagination support soon. If your need is not urgent, you may find pagination support in a release in the near future.
Could you share a CodeSandbox with the configuration that's causing this issue, or could you share the props you’re giving Table for each page of content you’re trying to render?


Mobile filters and object card. Not ideal but works

Let's create hook useMatchMedia and we're ready to merge :)

Let's create hook useMatchMedia and we're ready to merge :)

By the way panel with other ekb.dev projects will be hidden in mobile version and I didn't come up with an idea where to place it. I'll leave it that way.
Also in mobile version historgram is overflowing the side borders. So I'll do one more fix to make it scrollable.

Thanks for fixing it. Yes, we will need to do it separately
I moved it to issues:

By the way panel with other ekb.dev projects will be hidden in mobile version and I didn't come up with an idea where to place it. I'll leave it that way.
https://github.com/ekaterinburgdev/map/issues/45

Also in mobile version historgram is overflowing the side borders. So I'll do one more fix to make it scrollable.
https://github.com/ekaterinburgdev/map/issues/44


Void Linux

Hi, how can I install kite on Void Linux?

Kite does not officially support Void Linux. Here's a list of supported Linux versions. Apologies for the inconvenience.


support for zabbix with PostgreSQL installation

I suppose it's a future request.
The code in daemon connect to MySQL DB. I always use pgsql db for zabbix.

Done. Now it uses zabbix api.
You need to install pyzabbix module for python.


billing - text changes - application to fleet

change-type: patch
signed-off-by: Laura Alison <@poshrolls>

Please make sure to read the CONTRIBUTING document before opening the PR for relevant information on contributing to the documentation. Thanks!

@balena-ci rebase


I2C slave not receiving broadcast (IDFGH-852)

According to the I2C spec section 3.1.12, address 00 is a "general call" address, a.k.a. broadcast.
A write message sent to address 00 is supposed to be received by all slaves.
However, the ESP32 I2C slave seems to ignore it (I guess it's not implemented?).
Is there any workaround possible?

@rustyx if you set the slave id to 0 and engage slave mode, it will answer.  But, it will not answer as id 0 if slave id has a different value, or, if slave id is zero, but mode is master.
It is a hardware limitation, the general call address is an optional feature of I2C.
Chuck.

@rustyx Although, you could use both I2C peripherals, program one for your normal address, the other as zero tie SCL0 to SCL1 and SDA0 to SDA1.   It would then be able to respond to both address zero and your other value.
Chuck.

I thought about that... but the other I2C is already used as a master, and besides I think a slave should not ACK a broadcast(?)
Anyway, it would be of immense help if there was a "sniff" slave mode, as I actually need to watch traffic between 4 different devices. Is there a place to file a hardware improvement suggestions?

@rustyx There is no problem with multiple slaves ACKing the same address, each slave thinks it is the only one answering.  The first bit that does not match causes that slave to generate an internal arbitration error.
I have successfully connected multiple 24LCxx EEPROMS with the same address and written to them.  They are perfectly happy to accept the same data.  If I read from them, the first one with a 0 bit where the other have a 1 bit wins then arbitration battle.
One of the features of using the general call address is for error monitoring. (The slave hardware has to have this ability). Do a Read of address 0, the lowest id'd slave with error will answer, get that address, respond to error, rinse, repeat. When no one answers, all errors are cleared.
Chuck.


Multiple resource listing docs in same application

Hi,
I have a use case where I want to register multiple services in the same web application, to bring separation among multiple services , I want separate resource listing docs for my APIs.
1.http://localhost:8080/SwaggeTest/rest1/api-docs
2.http://localhost:8080/SwaggeTest/rest2/api-docs
I also tried using in different servlet with
BeanConfig beanConfig = new BeanConfig();
beanConfig.setVersion("1.0.2");
beanConfig.setBasePath("http://localhost:8089/myapp/swaggerTest/"+restPath);
System.out.println("package name :"+cl.getPackage().getName());
beanConfig.setResourcePackage(cl.getPackage().getName());
beanConfig.setScan(true);
It would be nice if you can give me some direction.

Are you looking to do that within a single web application?

Yes Ron,
I am looking for multiple resource listing docs within a single application.

That's not really supported with 1.3.X. @fehguy - is this possible with 1.5.X?

Not possible in 1.3.x as @webron said.  Possible in 1.5.x, but it's a non-standard configuration.  If you want to go this route, you'll be going off-road a bit but it's technically possible.  Consider using the BeanConfig technique to generate a Swagger.java pojo from whatever classes you like, and serving it up on one of your routes.

I am not clear about Swagger.java pojo...please clarify

Swagger.java

Is there a way to configure the same using web.xml

Eventually, the Swagger.java is what's being served. You can check the code to see how it is currently served and copy the mechanism to serve another separate copy of it.

Closing due to lack of activity. Please reopen if needed.

@fehguy

you want to go this route, you'll be going off-road a bit but it's technically possible.

Could you please give an example of code? We have multiple endpoints and we would like to document them.
Thanks for your attention :wink:

@blackat this was added a year ago in a standard way, please see this example:
https://github.com/swagger-api/swagger-samples/tree/master/java/java-jersey-jaxrs-multi

@fehguy thanks a lot for the link, I have already tested a bit that approach but I would like to know if there is a javax.ws.rs.core.Application based approach, sorry may be I was not really clear.
I have tested a bit the servlet based approach but configuring the base path as following
new SwaggerContextService()
    .withServletConfig(config)
    .withBasePath(config.getServletContext().getContextPath() + "/api1")
    .updateSwagger(swagger);

I don't have the the good context path, I am expecting something like app.war/api1 but I simply get /api1.
I don't have any basePath configuration in the web.xml (I dont configure DefaultJaxrsConfig2) where I just add my BoostrapServlet, as you have done in the examples. All the rest system is configured via javax.ws.rs.core.Application extension.
Do you have please any hint?


⚠ Bofrost.lu has degraded performance

In 8df86d3, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2131 ms

Resolved: Bofrost.lu performance has improved in b2ae499 after 10 minutes.


[BUG] TypeError: Candlestick.set() got an unexpected keyword argument 'render_drawings

Expected Behavior
Hello, praise your work. I want to know why the drawing function is not working well, even in version 2.0. It's impossible to reload the drawn graphics. It prompts "TypeError: Candlestick.set() got an unexpected keyword argument 'render_drawings'". Can you tell me why this is happening and how to fix it? Thank you.
Current Behaviour

Reproducible Example
import pandas as pd
from lightweight_charts import Chart

def get_bar_data(symbol, timeframe):
    if symbol not in ('AAPL', 'GOOGL', 'TSLA'):
        print(f'No data for "{symbol}"')
        return pd.DataFrame()
    return pd.read_csv(f'bar_data/{symbol}_{timeframe}.csv')

def on_search(chart, searched_string):
    new_data = get_bar_data(searched_string, chart.topbar['timeframe'].value)
    if new_data.empty:
        return
    chart.topbar['symbol'].set(searched_string)
    chart.set(new_data)

    # Load the drawings saved under the symbol.
    chart.toolbox.load_drawings(searched_string)

def on_timeframe_selection(chart):
    new_data = get_bar_data(chart.topbar['symbol'].value, chart.topbar['timeframe'].value)
    if new_data.empty:
        return
    # The symbol has not changed, so we want to re-render the drawings.
    chart.set(new_data, render_drawings=True)

if __name__ == '__main__':
    chart = Chart(toolbox=True,debug=True)
    chart.legend(True)

    chart.events.search += on_search
    chart.topbar.textbox('symbol', 'TSLA')
    chart.topbar.switcher(
        'timeframe',
        ('1min', '5min', '30min'),
        default='5min',
        func=on_timeframe_selection
    )

    df = get_bar_data('TSLA', '5min')

    chart.set(df)

    # Imports the drawings saved in the JSON file.
    chart.toolbox.import_drawings('drawings.json')

    # Loads the drawings under the default symbol.
    chart.toolbox.load_drawings(chart.topbar['symbol'].value)

    # Saves drawings based on the symbol.
    chart.toolbox.save_drawings_under(chart.topbar['symbol'])

    chart.show(block=True)

    # Exports the drawings to the JSON file upon close.
    chart.toolbox.export_drawings('drawings.json')

Environment
os:win10
python 3.12.3 64

Hey @chfwz,
2.0 doesn't need to re-render drawings, so the argument has been removed.
At the moment you'll need to set the keep_drawings argument to True, but this may be removed before release.
Louis


Added mongo DB, logger and set up API router with an eye toward user …

…model creation.

Code works locally. This refactors the app.js to set the stage for the User data model, api and Mongo DB connection.


Correction for raw affiliation TETIS, Univ Montpellier, AgroParisTech, CIRAD, CNRS, INRAE, Montpellier, France.

Correction needed for raw affiliation TETIS, Univ Montpellier, AgroParisTech, CIRAD, CNRS, INRAE, Montpellier, France.
raw_affiliation_name: TETIS, Univ Montpellier, AgroParisTech, CIRAD, CNRS, INRAE, Montpellier, France.
new_rors: 02kbmgc12;05kpkpg04;051escj72;003vg9w96;02feahw73;0458hw939
previous_rors: 02kbmgc12;05kpkpg04;051escj72;003vg9w96;02feahw73
works_examples: W3164265265;W4401664623
contact: b2f4a21aa734c0cd2f87ee2202fb3d08:751be6cf584704d6b7dc276b98e1fd5a9e00 @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


Library name

Guys, I'd like you to consider rename of the library for mainly 2 reasons:

If in the future you'd like to add this lib into Arduino repository, it probably wont be possible due to name conflict with the PaulStoffregen lib.
If I did know nothing about SignalK and SensESP projects, the first impression I'd have seeing SensESP/OneWire name, would be - oh, just another OneWire fork solving some of its many flaws. Maybe something like SensESPOneWire, SensOneWire etc., would be better candidate for the library name. (You may even consider to introduce a name patter common for all SensESP add-ons to help things sorting out)

I wouldn't worry about the name too much. The library is only useful for SensESP users, and for SensESP, Arduino IDE is in my opinion out of scope due to its non-existent dependency management.
Given that PlatformIO's preferred dependency declarations now use the org/repo pattern, I don't see much problem for using overlapping library names.
Also, it's likely that the primary library discovery method for SensESP is the GitHub Pages documentation, in development at https://github.com/SignalK/SensESP/blob/v2-dev/docs/, and https://github.com/SignalK/SensESP/blob/v2-dev/docs/pages/additional_resources/add-ons.md, in particular. And in that context the library would always be referred to as SensESP/OneWire.
Having said all this, I'm not completely opposed to renaming the library e.g. to SensESP/SensESPOneWire or SensESP/SensESP_OneWire, but it just feels quite redundant to me, with limited benefit. And for consistency, the same renaming would have to be applied to the other library wrappers at SensESP/ - MAX31856 and ve_direct.mppt, in particular.
What do you think?

That's fine. If you don't plan to use this lib via Arduino repository, the justification you provided makes sense. It' would be unnecessary to have SensESPOneWire if the library is accessed via SensESP/OneWire. I'm just a little oversensitive, when see just another OneWire library, since most of them are just Paul Stoffregen's original library offsprings. But maybe I'm not much representative person in this area and other people don't have such impression.


siril: 1.2.0 -> 1.2.1

Description of changes
Upgrade to latest upstream release: https://siril.org/download/2024-01-26-siril-1.2.1/
Add support for libcurl to enable features such as photometric color calibration.
Remove exiv patch which has since been merged upstream.
Things done

Built on platform(s)

[x] x86_64-linux

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage

[x] Tested basic functionality of all binary files (usually in ./result/bin/)

[x] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 309602 run on aarch64-linux 1

1 package built:

siril

and small note for the future: editing the PR template should be kept to a minimum. you don't need to remove fields that have been left unchecked

Noted, thanks for the tip!


Allow to access built-in schema

I want to attach directives to schema resolvers, one way to do this is manual setup schema and pass it to GraphQL server (to much imports are required). Easy way is allow to accees schema.

i will open a PR soon. :)

Hey, @Urigo from The Guild here!
You might know us from projects such as graphql-code-generator, envelop or graphql-tools.
For a long time we thought that the Javascript ecosystem is still missing a lightweight cross-platform, but still highly customizable GraphQL Server.
In the past the awesome Prisma team took on that great challenge and now we are happy to announce that we are continuing them and just released GraphQL Yoga 2.0 - Build fast, extensible, and batteries-included (Subscriptions, Serverless, File uploads support) GraphQL APIs in Node.js 🚀
And regarding the issue here, Yoga is completely separated from the way you do HTTP or create your schema, so any schema solution you use will work with Yoga!
We have been working a long time on version 2.0 and have been using it in our clients projects for a few months now and shared a couple of alpha cycles here.
Thank you all for your feedback and suggestions, you made this release possible!
Please try Yoga out again, give us feedback and help us spread the word on the new release!

Announcement and blog post
https://github.com/dotansimha/graphql-yoga/issues/704
https://www.graphql-yoga.com/


Cannot import notes that were exported with BetterBibTeX JSON

[JavaScript Error: "Error: undefined: unexpected note.attachments for zotero in {"itemType":"note","note":"Wenn nicht anders angegeben, habe ich mich bei der Gliederung an Introduction to Global Missions, Zane Pratt, M. David Sills, Jeff K. Walters angelehnt bzw. weitgehend übernommen\n ","tags":[{"tag":"remove note"}],"dateAdded":"2020-01-21T09:53:25Z","dateModified":"2020-01-21T14:32:59Z","itemID":651,"attachments":[],"notes":[]} / {"dateAdded":true,"dateModified":true,"id":true,"itemID":true,"itemType":true,"note":true,"tags":true}" {file: "chrome://zotero/content/xpcom/translation/translate_firefox.js line 425 > eval" line: 1676}]

debug ID: XRWA6VIT-euc

Can you attach the file you're trying to import here? You may have to rename it to .txt to get github to allow it to be attached.

Here is the link to the JSON file:
https://www.dropbox.com/s/d54at4zu532bgly/Weltmission erster Punkt - 06-03-2020.json?dl=0
Weltmission erster Punkt - 06-03-2020.zip

:robot: this is your friendly neighborhood build bot announcing test build <IP_ADDRESS>53 ("don't initialize notes & attachments for notes & attachments")
Install in Zotero by downloading test build <IP_ADDRESS>53, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

The files generated by the current release have unexpected fields on notes. If you have existing files, you can remove the notes and attachment arrays from items with itemType note or attachment. Build 6153 will generate files that can be imported back in without manual editing. If you can verify this fixes the problem for you, I can merge it into a release.

When I try to download test build <IP_ADDRESS>53, I get the error "page not found." Can you please verify the link?

:robot: this is your friendly neighborhood build bot announcing test build <IP_ADDRESS>82 ("Merge branch 'master' into gh-1456")
Install in Zotero by downloading test build <IP_ADDRESS>82, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

Report ID: U5Q6GQB6-euc
Debug ID D886575919
Debug ID D886575919.zip
Steps to reproduce:

export references and at least one standalone note (use the BetterBibTeX JSON format and check export notes and export files in Translator Options)
try to import this JSON file into a different category

LINK to JSON file:
https://www.dropbox.com/s/v5a27bp3pyaqt66/Weltmission - 16-03-2020.zip?dl=0
Expected behavior:
I will see all the references and the standalone note
Actually, I was only able to import the references. The standalone note didn't make it. The import process didn't finish. I had to manually stop the process.

:robot: this is your friendly neighborhood build bot announcing test build <IP_ADDRESS>87 ("pop version for tests")
Install in Zotero by downloading test build <IP_ADDRESS>87, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

Can you export again with 6187?

Report ID: 5I5YZHT7-euc
The import of the standalone note still hangs. I have to manually stop the process. Importing the references is okay like before.
Here is the JSON file.
Die Missiologische Grundlage der Bibel - 16-03-2020 evening.zip

:robot: this is your friendly neighborhood build bot announcing test build <IP_ADDRESS>91 ("explicitly strip them")
Install in Zotero by downloading test build <IP_ADDRESS>91, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

Can you please explain what I am supposed to do when you wrote to "explicitly strip them"?

Nothing - that message is just my commit message. The commit that led to this build explicitly strips the extra fields - I don't know why you're seeing this when I'm not, but I hope me explicitly stripping those fields fixes it for you.
That zotero hangs when an import fails is not something I can fix - that's just how zotero reacts when any import, bbt or not, fails. You might want to report that to zotero come to think of it, but zotero severely restricts (for good reason) what translators can do.

Success! The import of references and a standalone file worked. This is great.
import complete.zip

Superb. Integration tests are running.


SDK does not expose options to control transactions

The transactional methods such as attest or register exposed by EAS SDK should accept options (ethers Override) for on-chain transactions.
We need to customize:

gasLimit
gasPrice
nonce (for concurrent invocations)

This is a great suggestion, @raymondfeng! We will add it this.


Favorite stations

Hot key to add station in search or history list to a favorites list
Save favorite stations to a JSON file in users config directory
Display this list in favorites pane
One hot-key to switch to favorite pane
DEL removes station from history

Fixed in 6b37afba2


Optimize ConcurrentHashMap#computeIfAbsent have performance problem in jdk1.8

What is the purpose of the change
Optimize ConcurrentHashMap#computeIfAbsent have performance problem in jdk1.8
Brief changelog
Optimize ConcurrentHashMap#computeIfAbsent have performance problem in jdk1.8
Verifying this change
Refer to this benchmark
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist.
[x] Run `mvn clean compile --batch-mode -DskipTests=false -Dcheckstyle.skip=false -Drat.skip=false -Dmaven.javadoc.skip=true to make sure basic checks pass.

@justinmclean @ke4qqq @gmcdonald @Humbedooh


[BUG] Potential Memory Leak

Description
We've seen our Arcane operator increase in memory until it hits our limits to then get restarted by kubernetes
There are only 5 streams attached to the operator, so looks like it could be a memory leak:

Steps to reproduce the issue
Monitor Arcane Operator Memory
Describe the results you expected
More or less constant
System information
v0.0.10

Need to investigate. I don't see this behavior on our cluster, but we did not perform massive migration of our streams. I will add more streams and take a look at how much memory Arcane.Operator consumes.


Trial offer A 60-day trial is available starting August 4, 2020. You can get the trial through the Microsoft 365 admin center.

[Could you include instructions on how to enable the 60-day trail for Advanced Communications add-on.  It is not obvious how to enable it, and I was not able to find where this is done in the Teams Admin center or the O365 Admin portal for my tenant.]

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

ID: 09168b55-8244-974e-8bb3-6ec16429a650
Version Independent ID: c17f4f8d-a8bb-3c81-368f-07b932f52ebc
Content: Advanced Communications add-on for Microsoft Teams - Microsoft Teams
Content Source: Teams/teams-add-on-licensing/advanced-communications.md
Service: msteams
GitHub Login: @cichur
Microsoft Alias: v-cichur

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


Configurable s3 client

reopening https://github.com/flyway/flyway/pull/2920 off of master

not sure what the flaky issue is here but if you look at #2920 this is the same code, just failed CI for some reason

Hi! Many thanks for the contribution. As it stands, I think it creates an awkward dependency between Configuration (which is intended just to be a place to read environment and config files) and the notion of an S3Client. I assume you're using the Flyway Java API rather than the command line - could you give us a quick sample of how you would invoke Flyway with a different S3Client?

Yes agreed, overall I'm not even too happy with the added params caused by this implementation I've added.  The code kinda smells, I'm all for other ways that would achieve this functionality.
However, I do think it is crucial to allow the S3 client to be configurable at runtime.  For example, if a user is using Localstack, then you need to use a modified S3 client.
Also, in general, AWS offers a lot of flexibility on client setup/instatiation, and to have flyway kinda just ignore that and force developers down one path (use generic client or bust) seems very limiting IMO.
My thinking here was that at runtime, the user could inject their app specific S3 client to Flyway, ideally making flyway a bit lighter on the S3 coupling side, as it is not really Flyways "job" per-say to know the specifics of how an S3 connection is being made, simply that a client has been provided.
So (and forgive me, I haven't actually looked at this code in probably a month) but something along the lines of
new Flyway(new FlywayConfig()
  .s3client(myCustomClient)
  ...
  .build()
)

seems like a pretty run of the mill use case that users would want to be able to leverage

Thanks for the PR, however we have ourselves implemented the ability to pass in a custom client via the API

Works for me, cheers!

Just as an aside, after sleeping on it I've decided to keep the fluent API too - my first draft just looked horribly inconsistent!


Missing information in REAMDE.md that developer needs to install Bower and Ember CLI first

Issue Summary
As a newbie in Ghost world I wanted to run it on my Windows 7.
I installed Node.js server also today, so it was fresh copy for both: the project and the server
I have an e-book called "Getting Started with Ghost" written by Kezz Bracey, David Balderston, Andy Boutte and went to Installing Ghost on Windows (local), where I can find following list of steps:

npm install --production
Inside the Ghost folder, there is a file called config.example.js
npm start --production

In the browser I got an error message that there was no template in themes (I realized that after some time - Google didn't help):

ghost ERROR: Failed to lookup view "default" in views directory

I started digging and came to README.md file in project main directory.
I was doing steps described in this file, but also encountered some problems with missing commands.
A summary of the issue and the browser/OS environment in which it occurs.
Steps to Reproduce
Initial requirement
Have a fresh Node.js setup without Bower and Ember CLI
Steps

Follow in steps described in README.md so:
Install Grunt
npm install -g grunt-cli
Install Ghost
npm install
Build the things
grunt init

I think every fresh Ghost user should be guided what to do if this is also her/his first approach to Node.js world.
Technical details:

Ghost Version: master branch
Node Version: v6.6.0
Browser/OS: Mozilla Firefox 48.0.2 (but it can be skipped in this issue)
Database: default (but it can be skipped in this issue)

Going to close this as it's not an issue - see my comment in the PR.


Support negative indexing in tuple.

As title.
Fixes #3401

Codecov Report

Merging #3402 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #3402      +/-   ##
==========================================
+ Coverage   80.65%   80.65%   +<.01%
==========================================
  Files         390      390
  Lines       78159    78169      +10
  Branches     8823     8824       +1
==========================================
+ Hits        63040    63050      +10
  Misses      13738    13738
  Partials     1381     1381

This looks good.  Merging.


JedisMovedDataException

it's happened when use shardedJedisPool.getResource().get(key). the redis version is 3.0

My Computer is Toshiba Satellite Laptop and it didn't come with any Key or disc


OnPush component dynamic disable input , the input component style is not updated

Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-start-taeerc?file=src%2Fapp%2Fapp.component.html
Steps to reproduce
click button
What is expected?
style is updated
What is actually happening?
style is not updated

Environment
Info

ng-zorro-antd
8.0.2

Browser
chrome

https://stackblitz.com/edit/ng-zorro-antd-start-77vojp?file=src/app/app.component.html

@vthinkxie 虽然解决了，但是还是请教下原因：


Update overflow.js

Currently there are a number of overflow rules - but the naming is inconsisent.

You have overflow-auto - which applies auto rules.
You have overflow-scroll - which applies scroll rules.
but then you have overflow-x-scroll - which incorrectly auto rules instead of scroll rules.

This PR fixes the names and adds both options for x and y to have both auto and scroll options.

Fixed conflicts and merged to the 0.5 branch manually, thanks @laurencei!
https://github.com/tailwindcss/tailwindcss/commit/174f3723aadc52b49d24fc0292344fc92d66f385


Can Latte train for I2V tasks?

Thanks for your nice work! I want to know how to extend Latte to I2V tasks. Hoping for your reply!

Thanks for your nice work! I want to know how to extend Latte to I2V tasks. Hoping for your reply!

Hi, thanks for your interest. You can refer to our latest image animation (a.k.a, image-to-video generation) work Cinemo.

Thanks for your nice work! I want to know how to extend Latte to I2V tasks. Hoping for your reply!

Hi, thanks for your interest. You can refer to our latest image animation (a.k.a, image-to-video generation) work Cinemo. The codes and checkpoints are also public.


astro ec-config loader should handle Bun resolver messages at startup

Bun users of astro-expressive-code get the following error during application startup:
> [6/6] RUN bun run build:
0.113 $ astro build
0.963 msg.match is not a function. (In 'msg.match(/ec\.config\.mjs.*(imported from|resolved id)/)', 'msg.match' is undefined)
0.963   Stack trace:
0.963     at <anonymous> (/sudovanilla/node_modules/astro-expressive-code/dist/index.js:39:10)
0.971 error: script "build" exited with code 1

The startup process for astro-expressive-code is to attempt to load each of the possible locations for the config file.  Normal module-not-found errors get passed up.
On Bun, this process is hanging up because the Bun team decided to throw ResolveMessage instead of Error, so the type comparison was failing on Bun.
With this change, instead of finding the error message and code implicitly through type checking, I've just explicitly checked to see if the error object has got a message attribute.

It looks great!  Though, I probably should have thought to wonder whether there might be other places in this repo, where the code similarly expects the module resolver to throw Error for MODULE_NOT_FOUND.
But it should be fine.  Bun is intended as a drop-in replacement for Node.  For the vast majority of functionality, that is the case.

BTW Thanks for your great work building / maintaining this tool for the community!  🎆

I just released this with Expressive Code v0.34.0. Thanks again!
I'll create a Starlight PR to bump the EC version there as well. The next Starlight release will probably be on Friday.


Emptied payment checkout method parameters

PaypalWebCheckoutMethod is not useful right now since some parameters, like quantity or item_name can be appended with numbers (i.e. item_name1 or quantity1) when the originating form uses more than one item per paypal checkout.
It is better to remove it until we discuss the minimum set of attributes that should be passed to the PaypalWebCheckoutMethod

@alch Feel free to merge if you're sure about that :dancer:

+1
I'm agree with that, actually this is a problem and the payments are not processed correctly. Is it necessary to clean PaypalWebCheckoutMethod's constructor?

I agree too .. with a little docs to help developpers ;)

Hi, same problem here :disappointed:
better to remove only these params: quantity, item_name, item_number
        $paypalMethod = new PaypalWebCheckoutMethod(
            $parameters['mc_gross'],
            $parameters['payment_status'],
            $parameters['notify_version'],
            $parameters['payer_status'],
            $parameters['business'],
            null,
            $parameters['verify_sign'],
            $parameters['payer_email'],
            $parameters['txn_id'],
            $parameters['payment_type'],
            $parameters['receiver_email'],
            null,
            $parameters['txn_type'],
            null,
            $parameters['mc_currency'],
            null,
            $parameters['test_ipn'],
            $parameters['ipn_track_id']
        );

Thanks!

Done, review please. Will tag version then :+1:

:+1: this is easy to review ;)

Thanks @mickaelandrieu. Ok to merge?

yes !


[BUG]

Description
I have installed the LinkFree repo on my local windows environment but it fails to load my profile even though I am currently able to view it on the official https://t.co/OqUKw4vpX7 site.
Screenshots
No response
Additional information

Thank you for raising the issue. In the docs for local development, it has a message at the top, to load the json data, you need to visit a url https://linkfree.io/docs/environments/local-development - so I will close for now
Please give this a try and let us know if you have any issues

Hey still getting the same error after reloading the json files.
Sorry about the back and forth.

Your image didn't upload, I can't see it. It would be easier for us to help debug if we chat in EddieHub Discord, here it is creating extra notifications for the project. You can join our Discord here and we have a help channel http://discord.eddiehub.org

Great, all the data got loaded 👍 - share your error in Discord and we can debug it further. I am going to lock this issue as mentioned before this is not the place to debug your local environment - see you in the EddieHub Discord, link shared above


Add hyper-hybrid-reduced-contrast theme

This PR adds the hyper-hybrid-reduced-contrast theme to the themes list!
Checklist for submitting an awesome plugin, theme, or resource:

[x] The title for my package or theme uses its npm title (hyper-plugin-example)
[x] The link for my package or theme uses the npmjs.com link (https://www.npmjs.com/package/hyper-plugin-example)
[x] There is a visual representation of what my plugin or theme does in the repo. (Plugin: screenshot or gif || Theme: screenshot of the theme applied to Hyper)
[ ] Put your awesome item at the BOTTOM of the correct (plugin, theme, or resource) list.
[x] VERY IMPORTANT: I've written a short (one sentence) description for my package or theme as the description of the awesome plugin, theme, or resource in the README.md file I'm submitting in the PR.

Happy to move it down to the bottom of the list, but thought it would make more sense next to its sibling standard hybrid theme. Let me know!

Done!

can i ask you to update you branch so it wouldnt conflict with master?

nvm


Create a possibility to use multiple routes and proxies.

Hey @ericmdantas I changed " to ' too.

Coverage decreased (-2.9%) to 91.62% when pulling 9294007ab5463dd27116b49bf375946752ca741d on Alterdata:multiples-proxies into a19c669cc3d7b0a54a417f979fefb5cfd6a5e6e9 on ericmdantas:master.

Looking great, thanks!
Few changes we agreed when discussing in person:

remove the .vscode folder
remove the .jshint file
rename proxyOptions to _proxyOptions and initialize it in the constructor
move the _proxyOptions.push outside the if/else conditions
add unit tests when proxyTarget and proxyWhen are arrays

Let me know if you need any help.

Coverage increased (+0.5%) to 95.0% when pulling 6ef846b1491237a2ce0f9b901ae5d2fcdefbff3f on Alterdata:multiples-proxies into a19c669cc3d7b0a54a417f979fefb5cfd6a5e6e9 on ericmdantas:master.

Coverage increased (+0.5%) to 95.0% when pulling 4259acd29ae9c78d593e4dd5737c97c8f319d866 on Alterdata:multiples-proxies into a19c669cc3d7b0a54a417f979fefb5cfd6a5e6e9 on ericmdantas:master.

Coverage increased (+0.5%) to 95.0% when pulling d19bef901e603ea79ad5717b09943d2716ea734c on Alterdata:multiples-proxies into a19c669cc3d7b0a54a417f979fefb5cfd6a5e6e9 on ericmdantas:master.

Thanks!


mouse_callback on WiFi widget no effect

Hi, I am using your WiFi Widget, I added a mousecallback for button3, but nothing happens when I click it.
Expanding it with Button 1 works.
Nothing in the logs exept:
2022-09-08 09:52:54,405 DEBUG libqtile core.py:_xpoll():L301 X11 event: ButtonPress (targets: 2)
2022-09-08 09:52:54,539 DEBUG libqtile core.py:_xpoll():L301 X11 event: ButtonRelease (targets: 2)
2022-09-08 09:52:55,735 DEBUG libqtile core.py:_xpoll():L301 X11 event: ButtonPress (targets: 2)
2022-09-08 09:52:55,869 DEBUG libqtile core.py:_xpoll():L301 X11 event: ButtonRelease (targets: 2)
Here is the relevant config:
def open_wifi():
qtile.cmd_spawn("iwgtk")
...
w_wlan = (
widget.WiFiIcon(
active_colour=colors[11],
inactive_colour=colors[16],
background=colors[12],
foreground=colors[11],
font="JetBrainsMono Nerd Font",
# disconnected_message="󰖪",
fontsize=12,
interface="wlan0",
update_interval=5,
mouse_callbacks={"Button3": open_wifi},
padding=8,
decorations=_left_decor(colors[19]),
),
separator(),
)

Thanks for the report.
Yes, it's a bug. I can see the error in the code. Will fix when I get a chance.

Awesome response time! thanks :D

Awesome response time! thanks :D

You caught me at a good time. Fix might take a bit longer...

No worries, just thought I report since i didn't know if it was a Bug or an issue with my config.

That was quick,  will test it and report back :)

Nice, works perfectly now! :)

Cool. Thanks for confirming.
I'm just waiting for a PR to be merged in the main repo (which will stop my tests failing) and then we can get this merged.


Documentation is broken

Describe the bug
Most (if not all) codesandbox examples are giving me an error

https://tanstack.com/table/v8/docs/examples/react/column-groups

When I open the editor and open src/main.tsx, it doesn't load either:

Am I missing something?
Your minimal, reproducible example
https://codesandbox.io/p/sandbox/github/tanstack/table/tree/main/examples/react/column-groups?embed=1&file=%2Fsrc%2Fmain.tsx
Steps to reproduce

Go to documentation or https://codesandbox.io/p/sandbox/github/tanstack/table/tree/main/examples/react/column-groups?embed=1&file=%2Fsrc%2Fmain.tsx for example
See the error

Expected behavior
I expect the code to be shown
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Windows 11, Brave browser (both (non)anonymous modes)
react-table version
latest in codesandbox examples
TypeScript version
No response
Additional context
No response
Terms & Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

Pretty sure this is a codesandbox error.

I've had this problem for a few days now and it really sucks. The only workaround currently is to find the examples from Github itself.
In my opinion, a project of this size should have decent documentation. Examples are a good and useful addition, but should not replace that basic documentation.

I have this issue too; every example fails in chrome with the following console errors:
instrument.js:111 DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
    at 32441 (https://codesandbox.io/p/_next/static/chunks/pages/_app-377e4f13a2cb0af5eb3d.js:1:687235)
    at n (https://codesandbox.io/p/_next/static/chunks/webpack-edabb97e0eb4e1348ea3.js:1:149)
    at 93535 (https://codesandbox.io/p/_next/static/chunks/pages/_app-377e4f13a2cb0af5eb3d.js:1:1087779)
    at n (https://codesandbox.io/p/_next/static/chunks/webpack-edabb97e0eb4e1348ea3.js:1:149)
    at 68801 (https://codesandbox.io/p/_next/static/chunks/pages/_app-377e4f13a2cb0af5eb3d.js:1:717444)
    at n (https://codesandbox.io/p/_next/static/chunks/webpack-edabb97e0eb4e1348ea3.js:1:149)
    at 44397 (https://codesandbox.io/p/_next/static/chunks/pages/_app-377e4f13a2cb0af5eb3d.js:1:727542)
    at n (https://codesandbox.io/p/_next/static/chunks/webpack-edabb97e0eb4e1348ea3.js:1:149)
    at https://codesandbox.io/p/_next/static/chunks/pages/_app-377e4f13a2cb0af5eb3d.js:1:1122142
    at https://codesandbox.io/p/_next/static/chunks/main-f6619ef2246d0489359c.js:1:25202

instrument.js:111 A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred

config.ts:103 Uncaught (in promise) DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
    at 32441 (https://codesandbox.io/p/_next/static/chunks/pages/_app-377e4f13a2cb0af5eb3d.js:1:687235)
    at n (https://codesandbox.io/p/_next/static/chunks/webpack-edabb97e0eb4e1348ea3.js:1:149)
    at 83024 (https://codesandbox.io/p/_next/static/chunks/pages/_app-377e4f13a2cb0af5eb3d.js:1:675316)
    at n (https://codesandbox.io/p/_next/static/chunks/webpack-edabb97e0eb4e1348ea3.js:1:149)
    at 23399 (https://codesandbox.io/p/_next/static/chunks/pages/_error-748ad78ae893000c6040.js:1:188)
    at n (https://codesandbox.io/p/_next/static/chunks/webpack-edabb97e0eb4e1348ea3.js:1:149)
    at https://codesandbox.io/p/_next/static/chunks/pages/_error-748ad78ae893000c6040.js:1:1492
    at https://codesandbox.io/p/_next/static/chunks/main-f6619ef2246d0489359c.js:1:25202

Even if this is a codesandbox error it still needs a workaround in the docs.
IMO documentation has always been sorely lacking for this project, which sucks because I think it's the best approach to complex data grids in the ecosystem, and it makes it difficult to recommend to colleagues when the docs either don't work or just have a sometimes broken link to the API page.

This library is literally unusable because of the horrible documentation

I just tested the docs and all of the examples appear to be working now, so this issue should probably be closed.


feat(gui): nullable paths

This makes app state paths nullable and introduces an env variable GUI_USE_DEFAULT_PATHS that can be set to use some default paths for convenience. Read more in ./GUI/README.md

closes #226


Rename initialize to initializePackage to avoid breakage in Atom 1.14

As of Atom 1.14, any method named initialize on the main module of a package will be automatically invoked by Atom before calling activate. You can read more about the change in this pull request to Atom's documentation.
Since your package's initialize method wasn't written with this behavior in mind, we've renamed it for you to avoid unexpected breakage.
Atom 1.14 should reach the beta channel in early January 2017 and will be on stable in early February 2017. Please merge and test out this PR before then to prevent issues, and let us know if you have any questions.
Thanks for your contributions to the Atom community! 🙇
/cc @sgengler

All set, thanks for looking out!


Create UniqueElementArray.py (Solution in Python)

Thank you

The existing function in the file "basic.py" had to be updated. A new file was not needed for this.
Please make a new pull request.


Improve select tool's tooltip for 2D and 3D

Makes tips clearer and more consistent.
Removes outdated Shift+V that isn't a thing anymore.
Adds tip for Ctrl+RMB for adding nodes at position.
Removes tip for Alt+Drag in 3D select tool, because it does not do anything. It could be added back if it is ever implemented, but for now it's just confusing.

Before (2D)
After (2D)

Before (3D)
After (3D)

I think all of these changes can be added to 3.x as well.

For 3D: "pivot" could possibly be changed to "origin"

Thanks!

Cherry-picked for 3.4.


set() doesn't track uniques

What I expected:
statsd.set('names', 'A');
statsd.set('names', 'B');
statsd.set('names', 'C');

… with names:3|s emitted.
Instead, I need to statsd.set('names', 3)… in which case, keeping track of the set and when to emit is left to me.

armon/statsite suggests we're supposed to send raw values. I'll chase it up in this proposed spec change.

I think you've got it wrong. The point of sets is that they count uniques across several clients reporting to the same statsd-server. Example:
Client one sends A and B, while client two sends B and C. The total set has size 3, which only the server can deduce. (It can't if it only gets 2 and 2 sent....)
(That being said, the client could be some more intelligent about de-duplicating the sending of multiple keys in one packet.)


the function is too slow

we set warm container 50.

but the TPS is too low, function respose too slow, we use K6 test it.

We hardware is 12vCPU and 32GB RAM K8s cluster, 3 nodes.

and we function code don't have error

See https://github.com/apache/openwhisk-deploy-kube/blob/master/docs/k8s-custom-build-cluster-scaleup.md for some hints on how to configure the helm chart. The default settings are for development/testing at small scale

Well, I have done some configuration on the helm chart before, but now it seems that I need to read further the documentation provided by you.


[CA-1311] A11y: Terms of Service, HoF and Cookiebar

This PR makes the following updates:
Terms of Service page

Added 'main' region
Marked up the title as an <h1>
Converted all headers in the markdown to <h2> instead of <h4>. This significantly changed their styling, but I'm not sure whether that matters.
Fixed the Markup link text to include more than just "here".
Increased the height of the scrollable region on larger screens for easier reading

These changes have a noticeable visual effect on the page. In addition, they involved changes to the Terms of Service markdown. The ToS changes are insubstantial and do not constitute a legal change to the terms people agreed to, in that they change the styling but not the text itself.
Are both of these effects OK? Or do I need to consult with the UX team or take a different approach?
GDPR Cookie Bar

Increased contrast of links and buttons
Used <header> tag instead of role="banner" since the latter must be unique on the page

Hall of Fame

Added headers and list semantics

FWIW, looks good to me from a code perspective, @dmohs or @zarsky-broad, as for actual visual changes, who approves those?  I'm inclined to run them by Jerome?
I'll withhold my thumb until we can get that sorted.

@gpolumbo-broad usually Jerome is who I'd check in with, however he is out and this is time sensitive. I'd try Joy or Lou?
@andrewmarcus, would you mind adding screenshots of the style changes to PRs if its significant changes?

Tall screens
Old

New

Short screens
Old

New


Bikeshed-type things

[x] http://greenkeeper.io/
[x] Some sort of CI
[ ] publish-latest and/or semantic-release
[x] TSLint

Decided not to go with any sort of release automation for the time being.


Please enable CommonJS and AMD for Webpack development

For SPA( Angular ) development, the async file load send a thank you. It's optimize and minimize page load and enable javascript module management.

Hi All,
We follow the Angular Package format starting with version 19.2.5. You can find all supported formats in the following Angular documentation article: https://docs.google.com/document/d/1CZC2rcpxffTDfRDs6p1cfbmKNLA6x5O-NtkJglDaBVs/edit .


Some questions about the implementations of DGAdaIN

Hello! I recently read the paper and the code, and I am a bit confusing about the implementation of DGAdaIN ( in model_DGAdaIn.py).
According to the original paper, instance normalization is done along the temporal dimension (termed as L) of RGB features. However, in your codes, instance normalization is done along the last dimention of RGB features. I check the document that says nn.InstanceNorm1d will normalize along the last dimenstion of the input tensor.
I am not sure which one (normalization along the temporal dimenstion or along the activations) is better and how they will affect the final results. Hoping for your help~

Hi, thanks for your question.
:( sorry for noticing the issue now.
We apply the instance normalization along with the activations.  I guess what confused you is the concepts of temporal dimension (D) and the activation dimension (L). Specifically, given a video of BxDxL e.g., 6x16x2048,  we use the D to denote the number of frames, the L denotes the dimension of the activations.

I'm confused of the "activation dimension (L)". Normally, it is the channel dimension. I'm very curious about the activation dimension (L).


fix(docker): use kong shipped openssl library and header to build lua dev dependencies

Currently Kong's docker image on master is based on ubuntu 22.04, which has moved to openssl 3.0, causing
inconsistency with the openssl Kong ships (1.1.1 series).

looks like the tests fails on python missing out openssl

all tests passed 🎉 !

Thank you @Tieske for reviewing and merging this! I will work on the pongo PR on kong-ee side now.
Regarding the paths for openssl, it occurs to me that it might make sense to just provide a correct pkgconfig file
in the official docker image, so we don't even need to pass along env var/args. I will adjust that in later PRs.

I don't think luarocks uses pkgconfig, so that would not help (except for the pip dependency maybe).
@hisham you probably know; see the changes in this PR. We're setting up some env vars to ensure we can build rocks with the proper version of openssl (the one shipped with Kong). If we add the info, as suggested by @fffonion in pkgconfig, would Luarocks then automatically pick that up?


Add JSORM and JSONAPI Suite implementations

@richmolj I'm surprised these weren't listed yet. Thanks for all your work!