[FEATURE] Adding datasets component with basic hierarchical data.

Is your feature request related to a problem? Please describe.
Adding a datasets component to download some base hierarchical structure, like the one in visitors night in australian used by Hyndman in his book.
Describe the solution you'd like
A simple section of datasets such as we see in pmdarima, scikit-learn, etc.
Example:
scikit-hts requires that each column to be a node in our dataframe, however, almost any standard data comes in long format, so we would include this long format data and transform it to demonstrate the entire process.

from hts.datasets import visnights

So, I was writting this dataset implementation based on pdmarima structure: example
However, I noticed you have a file named load_data inside utilities. I think it is better to have a different structure following the design above, what you think? @carlomazzaferro

I do prefer the structure you suggest, and I'd be in favour of that implementation. If you would like to proceed with an it, keep in mind that:

We do need to provide a cache checking implementation, so data is not downloaded twice
Refactor will be extensive, as conftest.py and some of the examples use the current data loading capibility
The function: load_hierarchical_sine_data doesn't really fit within this structure, but we might just rename it so that it can be imported as from hts.datasets import synthetic_sine_data or something like that

Yes, I checked the structure and this is something to discuss.
For visnights dataset I do not have a place to download data, I just got the one from R and transformed into a long data format because I think this is the standard use case and how data come from databases, look what I did here: visnights.ipynb

Also, we could do something like:
from hts.datasets import load_visnights
visnights = load_visnights(long_format=True) # default
>>> visnights.head(5)
         date state   zone  total_visitors_nights
0  1998-01-01   NSW  Metro            9047.095397
1  1998-04-01   NSW  Metro            6962.125890
2  1998-07-01   NSW  Metro            6871.963047
3  1998-10-01   NSW  Metro            7147.292612
4  1999-01-01   NSW  Metro            7956.922814

And
visnights = load_visnights(long_format=False)
visnights.head(5)

state_zone | NSW_Metro | NSW_NthCo | NSW_NthIn | NSW_SthCo | NSW_SthIn | OTH_Metro | OTH_NoMet | QLD_Cntrl | QLD_Metro | QLD_NthCo | ... | WAU_Coast | WAU_Inner | WAU_Metro | NSW | QLD | SAU | VIC | WAU | OTH | total
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | --

9047.095397 | 8565.677890 | 2977.506662 | 5818.028804 | 2679.537963 | 3437.923945 | 2073.469372 | 2748.373689 | 12106.052376 | 2137.234012 | ... | 3066.555070 | 694.995372 | 3075.778941 | 29087.846716 | 16991.660077 | 6368.246298 | 18641.013782 | 6837.329383 | 5511.393317 | 83437.489573
6962.125890 | 7124.468362 | 3477.702717 | 2466.436706 | 3010.732155 | 2677.081107 | 1787.938519 | 4040.915256 | 7786.686688 | 2269.595619 | ... | 3334.405408 | 557.679575 | 2154.928814 | 23041.465829 | 14097.197563 | 4479.766589 | 12427.741460 | 6047.013796 | 4465.019627 | 64558.204863
6871.963047 | 4716.893116 | 3014.770331 | 1928.052834 | 3328.869005 | 3793.742887 | 2345.020634 | 5343.964347 | 11380.023616 | 4890.227020 | ... | 4365.844091 | 1006.184417 | 2787.286174 | 19860.548333 | 21614.214983 | 4344.740630 | 11167.789164 | 8159.314681 | 6138.763522 | 71285.371313
7147.292612 | 6269.299065 | 3757.972112 | 2797.555974 | 2417.772236 | 3304.231082 | 1943.688721 | 4260.418878 | 9311.460272 | 2621.548165 | ... | 4521.995729 | 1172.551447 | 2752.909841 | 22389.891997 | 16193.427315 | 4792.987183 | 12898.831518 | 8447.457017 | 5247.919803 | 69970.514833
7956.922814 | 9493.901336 | 3790.759900 | 4853.680680 | 3224.285428

Or something suggestive to get data in a format that scikit-hts requires. (This would help us in tests as well)
Sorry for above, I just have the idea, I will put images later and edit the comment.

https://github.com/carlomazzaferro/scikit-hts/pull/70


Bad request

Hello,
I've just tried the workflow1 sample in Kubernetes. I keep ending up with a Bad Request (400) issue with no error in the body.
The workflow engine is running together with the daprd:
dapr-workflows-host-76f9fc7b9b-x8hfj     2/2     Running   0          2m33s
Daprd logs are here
time="2020-07-30T15:27:57.39857996Z" level=info msg="starting Dapr Runtime -- version 0.9.0 -- commit 6babe85-dirty" app_id=workflows instance=dapr-workflows-host-76f9fc7b9b-x8hfj scope=dapr.runtime type=log ver=0.9.0
time="2020-07-30T15:27:57.398763266Z" level=info msg="log level set to: debug" app_id=workflows instance=dapr-workflows-host-76f9fc7b9b-x8hfj scope=dapr.runtime type=log ver=0.9.0
time="2020-07-30T15:27:57.399080878Z" level=info msg="metrics server started on :9090/" app_id=workflows instance=dapr-workflows-host-76f9fc7b9b-x8hfj scope=dapr.metrics type=log ver=0.9.0
time="2020-07-30T15:27:57.3996595Z" level=info msg="loading default configuration" app_id=workflows instance=dapr-workflows-host-76f9fc7b9b-x8hfj scope=dapr.runtime type=log ver=0.9.0
time="2020-07-30T15:27:57.399803705Z" level=info msg="kubernetes mode configured" app_id=workflows instance=dapr-workflows-host-76f9fc7b9b-x8hfj scope=dapr.runtime type=log ver=0.9.0
time="2020-07-30T15:27:57.399903309Z" level=info msg="app id: workflows" app_id=workflows instance=dapr-workflows-host-76f9fc7b9b-x8hfj scope=dapr.runtime type=log ver=0.9.0
time="2020-07-30T15:27:57.400008413Z" level=info msg="mTLS is disabled. Skipping certificate request and tls validation" app_id=workflows instance=dapr-workflows-host-76f9fc7b9b-x8hfj scope=dapr.runtime type=log ver=0.9.0
time="2020-07-30T15:27:57.436658671Z" level=info msg="application protocol: grpc. waiting on port 50003.  This will block until the app is listening on that port." app_id=workflows instance=dapr-workflows-host-76f9fc7b9b-x8hfj scope=dapr.runtime type=log ver=0.9.0
time="2020-07-30T15:28:00.14391819Z" level=info msg="application discovered on port 50003" app_id=workflows instance=dapr-workflows-host-76f9fc7b9b-x8hfj scope=dapr.runtime type=log ver=0.9.0
time="2020-07-30T15:28:00.14474632Z" level=warning msg="either no actor state store or multiple actor state stores are specified in the configuration, actor stores specified: 0" app_id=workflows instance=dapr-workflows-host-76f9fc7b9b-x8hfj scope=dapr.runtime type=log ver=0.9.0
time="2020-07-30T15:28:00.144783922Z" level=info msg="Initialized name resolution to kubernetes" app_id=workflows instance=dapr-workflows-host-76f9fc7b9b-x8hfj scope=dapr.runtime type=log ver=0.9.0
time="2020-07-30T15:28:00.181670489Z" level=warning msg="actors: state store must be present to initialize the actor runtime" app_id=workflows instance=dapr-workflows-host-76f9fc7b9b-x8hfj scope=dapr.runtime.actor type=log ver=0.9.0
time="2020-07-30T15:28:00.181897197Z" level=warning msg="failed to init actors: state store does not support transactions which actors require to save state - please see https://github.com/dapr/docs" app_id=workflows instance=dapr-workflows-host-76f9fc7b9b-x8hfj scope=dapr.runtime type=log ver=0.9.0
time="2020-07-30T15:28:00.182062103Z" level=info msg="enabled monitoring middleware" app_id=workflows instance=dapr-workflows-host-76f9fc7b9b-x8hfj scope=dapr.runtime.grpc.api type=log ver=0.9.0
time="2020-07-30T15:28:00.182202808Z" level=info msg="API gRPC server is running on port 50001" app_id=workflows instance=dapr-workflows-host-76f9fc7b9b-x8hfj scope=dapr.runtime type=log ver=0.9.0
time="2020-07-30T15:28:00.182366815Z" level=info msg="enabled monitoring middleware" app_id=workflows instance=dapr-workflows-host-76f9fc7b9b-x8hfj scope=dapr.runtime.grpc.internal type=log ver=0.9.0
time="2020-07-30T15:28:00.18252792Z" level=info msg="internal gRPC server is running on port 50002" app_id=workflows instance=dapr-workflows-host-76f9fc7b9b-x8hfj scope=dapr.runtime type=log ver=0.9.0
time="2020-07-30T15:28:00.182801731Z" level=info msg="enabled cors http middleware" app_id=workflows instance=dapr-workflows-host-76f9fc7b9b-x8hfj scope=dapr.runtime.http type=log ver=0.9.0
time="2020-07-30T15:28:00.182904034Z" level=info msg="enabled metrics http middleware" app_id=workflows instance=dapr-workflows-host-76f9fc7b9b-x8hfj scope=dapr.runtime.http type=log ver=0.9.0
time="2020-07-30T15:28:00.182997738Z" level=info msg="enabled tracing http middleware" app_id=workflows instance=dapr-workflows-host-76f9fc7b9b-x8hfj scope=dapr.runtime.http type=log ver=0.9.0
time="2020-07-30T15:28:00.183091941Z" level=info msg="http server is running on port 3500" app_id=workflows instance=dapr-workflows-host-76f9fc7b9b-x8hfj scope=dapr.runtime type=log ver=0.9.0
time="2020-07-30T15:28:00.183188345Z" level=info msg="dapr initialized. Status: Running. Init Elapsed 2783.390141ms" app_id=workflows instance=dapr-workflows-host-76f9fc7b9b-x8hfj scope=dapr.runtime type=log ver=0.9.0

I have enabled debug level but nothing special is reported. I created the secret & configmap as stated in the read me. The logs of the host are:
Loading Configuration
Creating Edge Configuration
Registering Web Environment
Loading workflow: wf.json
Flow Created
Dapr LogicApps Server listening on port 50003

However, when doing the port forwarding and invoking http://localhost:3500/v1.0/invoke/workflows/method/workflow1, I get a 400 back and no error in the response so not sure what is bad in the request. Not a single extra logging info can be found nor in daprd, nor in the host logs.  Note that I have disabled mTls because I'm also using Linderd but I suppose it is not related? Whether I inject the pod with Linkerd makes no difference anyway.
Any clue?
Thanks

I suspect the issue might be here:
Loading workflow: wf.json.
Can you try invoking this url?
http://localhost:3500/v1.0/invoke/workflows/method/wf

What a fast answer :). Good catch, that's indeed the problem. I renamed the workflow I guess to add my own bits :)...Don't you think some extra logging could be added?
Thanks

A log when invoking a missing workflow can be added, sure.
Would you mind opening a new issue for that?

I will, tomorrow

Thanks. Closing this for now.


Publish a public npm module for testrtc

Have you considered publishing publicly on npm to ease ingestion for downstream users? I couldn't find it on npmjs.org and it looks like you've set it to publish privately.

No we have not considered that. Submodules like SSIM and framechecker are published via the https://github.com/webrtc/utilities repo.

Closing due to age.


Start live log viewer with a filename as start argument

Hello,
based on ticket #10, I've created a few minutes ago, I did the small change right now for myself.
Please check, if this is ok to you and perhaps you want to add the code to your source tree.
best regards
Robert

Closes #10

Closes #10


Support async handlers for entities as well

Similar to actions we need to support asynchronous handlers for entities as well.
Callback/Promised based programming in the JS/TS world is very common, we need to support this functionality for entities as well.
See more about the use cases and reasons here.

fyi @pvlugter

Fixed with #43


ProfileTable header missing string inclusion that is required due to GCC 10 header dependency changes

Compiling on Fedora release 32 with g++ version 10.1.1 results in "error: 'string' in namespace 'std' does not name a type" in ProfileTable.hpp.  Adding #include  resolves this issue as expected.
This behavior is expected in GCC 10 as outlined on the "Porting to GCC 10" page "...C++ programs that used components defined in  or  without explicitly including the right headers will no longer compile."
Error:
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -DGEOPM_DEFAULT_PLUGIN_PATH=\"/home/lhlawson/build/geopm/lib/geopm\" -D_POSIX_C_SOURCE=200809L -DOMPI_SKIP_MPICXX -I
googletest-release-1.8.1/googletest/include -Igoogletest-release-1.8.1/googlemock/include -fopenmp -std=c++11 -msse4.2 -Wall -Werror -g -O2 -MT src/ProfileTable.lo -M$
 -MP -MF src/.deps/ProfileTable.Tpo -c src/ProfileTable.cpp  -fPIC -DPIC -o src/.libs/ProfileTable.o
In file included from src/ProfileTable.cpp:34:
src/ProfileTable.hpp:79:45: error: ‘string’ in namespace ‘std’ does not name a type
   79 |             virtual uint64_t key(const std::string &name) = 0;
      |                                             ^~~~~~
src/ProfileTable.hpp:41:1: note: ‘std::string’ is defined in header ‘<string>’; did you forget to ‘#include <string>’?
   40 | #include "geopm_internal.h"
  +++ |+#include <string>
   41 |

Additional related GCC10 cleanup:

RecordTable.cpp uses exceptions as values instead of constant references.
FFT Example uses nonstandard X instead of Z for hexidecimals
FFT Example uses mismatched argument types, which is no longer allowed.  This can be quickly resolved with a -fallow-argument-mismatch in the short term (downgrades error to warning).


Bfix(#589): Fixes tweetMention filter

Fixes issue #589
See fixed screenshots!

@sopu I've left a review here https://github.com/loklak/loklak_webclient/pull/590#discussion_r58325250 This looks good but please could you answer what I've asked over there.

In posts having >1 mentions, when you hover over any of the mentions(except for the first) also takes  with it.

In posts having >1 mentions, when you hover over any of the mentions(except for the first) also takes  "closing anchor tag" with it.
@sudheesh001 ^


Update deps

#334  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


Add more metadata from Sentinel-1 Prodict Specification

Related to #21

Codecov Report

Merging #25 (265e2dd) into main (cd0e56e) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #25      +/-   ##
==========================================
+ Coverage   91.63%   91.66%   +0.03%
==========================================
  Files           7        7
  Lines         502      504       +2
  Branches       59       59
==========================================
+ Hits          460      462       +2
  Misses         25       25
  Partials       17       17

Impacted Files
Coverage Δ

xarray_sentinel/conventions.py
100.00% <100.00%> (ø)

xarray_sentinel/sentinel1.py
92.22% <100.00%> (ø)

Continue to review full report at Codecov.

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

Good to merge for me.

OK, I merge this myself assuming nothing is controversial so I can sync the README


support map and multi slice

I refactored part of the parsing code, and now it works well with maps and arrays without restrictions on levels.
If you are interested, you can test it to see if there are any other problems.
@HugoWw @TianTianBigWang

I refactored part of the parsing code, and now it works well with maps and arrays without restrictions on levels. If you are interested, you can test it to see if there are any other problems. @HugoWw @TianTianBigWang

ok


[improve][broker]improve the getAntiAffinityNamespaceOwnedBrokers check exclude the current namespace cause count add.

Motivation
As  the PIP 7: Pulsar Failure domain and Anti affinity namespaces design, the anti affinity namespaces should be distributed to  evenly across all domain and all the brokers.
But in method getAntiAffinityNamespaceOwnedBrokers , brokerToAntiAffinityNamespaceCount add a count even the namespace  equal the given bundle's namespace which will be load. The behavior will cause the namespace easy to distributed to
a broker which has another namespace in anti affinity group,   the behavior broke the  anti affinity balance. It's better behavior is the same namespace should be distributed to those broker which has loaded the same namespace when all broker have load at least one namespace in ti affinity group.
there is some case
ns-0 ns-1 ns-2 are all set the same anti affinity group like 'a-group
broker-0 own ns-0 bundle-0;
broker-1 own ns-1 bundle-0;
broker-2 own ns-2 bundle-0;
then another  ns-2 bundle-1 need choice a broker to load. As the old policy, broker-0 broker-1 and broker-2 are all satisfy the least NamespaceCount; but if  ns-2 bundle-1 load to broker-0 or broker-1 will broke the anti affinity balance.  ns-2 bundle-1 need be load by broker-2 is better.
Also, the behavior will cause give up doLoadShedding when the all broker own one namespace in anti affinity group, but the different broker owned namespace bundle count and payload is different.
So brokerToAntiAffinityNamespaceCount should  exclude  the given namespace count add.
Modifications

In LoadManagerShared.class  getAntiAffinityNamespaceOwnedBrokers method,  exclude  the given namespace count add.
changed shouldAntiAffinityNamespaceUnload check;
add some unit test.

Documentation

[X] doc-not-needed

Matching PR in forked repository
PR in forked repository: https://github.com/Nicklee007/pulsar/pull/5

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

@Jason918 Could you help to review this PR, Thx.

@codelipenghui @Jason918 @eolivelli Could you help to review this PR, Thx.

there is some case
broker-0 own ns-0 bundle-0;
broker-1 own ns-1 bundle-0;
broker-2 own ns-2 bundle-0;
then another  ns-2 bundle-1 need choice a broker to load. As the old policy, broker-0 broker-1 and broker-2 are all satisfy the least NamespaceCount; but if ns-2 bundle-1 load to broker-0 or broker-1 will broke the anti affinity balance. ns-2 bundle-1 need be load by broker-2 is better.

What's the anti affinity setting in this case?

What's the anti affinity setting in this case?

ns-0 ns-1 ns-2 are all set the same anti affinity group like 'a-group', and the three ns be anti affinity load is expected.

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

Codecov Report

Merging #16563 (118b16b) into master (b05fddb) will decrease coverage by 8.44%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master   #16563      +/-   ##
============================================
- Coverage     45.64%   37.19%   -8.45%
+ Complexity    11043     1988    -9055
============================================
  Files           773      209     -564
  Lines         74463    14452   -60011
  Branches       8018     1577    -6441
============================================
- Hits          33986     5376   -28610
+ Misses        36687     8492   -28195
+ Partials       3790      584    -3206

Flag
Coverage Δ

unittests
37.19% <ø> (-8.45%)
:arrow_down:

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

Impacted Files
Coverage Δ

...g/apache/pulsar/client/impl/ConnectionHandler.java
50.00% <0.00%> (-5.32%)
:arrow_down:

...he/pulsar/client/impl/PartitionedProducerImpl.java
30.34% <0.00%> (-5.13%)
:arrow_down:

...va/org/apache/pulsar/client/impl/ProducerImpl.java
15.66% <0.00%> (-1.17%)
:arrow_down:

.../pulsar/client/impl/ProducerStatsRecorderImpl.java
84.04% <0.00%> (-0.62%)
:arrow_down:

...sar/broker/loadbalance/impl/LoadManagerShared.java

...ulsar/proxy/extensions/ProxyExtensionMetadata.java

...er/loadbalance/impl/ModularLoadManagerWrapper.java

...a/org/apache/pulsar/proxy/server/ProxyService.java

...a/org/apache/pulsar/broker/admin/v3/Functions.java

...org/apache/pulsar/broker/web/WebExecutorStats.java

... and 559 more

/pulsarbot run-failure-checks


fix: avoid nfs mount error on network services by waiting for alb to finish its process

Description

avoid nfs mount error on network services by waiting for alb to finish its process
Remove reboot

Release required?

[ ] No release
[x] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

:tada: This PR is included in version 5.0.1 :tada:
The release is available on:

GitHub release
v5.0.1

Your semantic-release bot :package::rocket:


Codecov Report

Merging #5760 (f4ee747) into main (28739ba) will increase coverage by 0%.
The diff coverage is 67%.

@@          Coverage Diff          @@
##            main   #5760   +/-   ##
=====================================
  Coverage     65%     65%
=====================================
  Files        352     352
  Lines      24137   24164   +27
  Branches    3635    3637    +2
=====================================
+ Hits       15821   15846   +25
+ Misses      6929    6928    -1
- Partials    1387    1390    +3

Impacted Files
Coverage Δ

src/client/datascience/types.ts
100% <ø> (ø)

...er/jupyterInterpreterSubCommandExecutionService.ts
85% <67%> (-7%)
:arrow_down:

...rc/client/datascience/jupyter/debuggerVariables.ts
76% <0%> (-2%)
:arrow_down:

...client/datascience/kernel-launcher/kernelDaemon.ts
53% <0%> (-2%)
:arrow_down:

...t/datascience/jupyter/kernels/jupyterKernelSpec.ts
96% <0%> (+39%)
:arrow_up:


Unexpected Variant payload structure change on version 1.11.2

Hi, we're trying to migrate the SDK version, but we faced an unexpected variant payload structure changes, could you please point me out if it's expected? And where I can find the changelog related to this change, it seems fundamental and breaks almost all of our payload parsing. Thanks
Link to the config:
https://app.amplitude.com/experiment/bandlab/293492/config/36135/configure
Before (v1.10.1)
Variant(value=true, payload={"url":"https:\/\/bnd.la\/deals"}, expKey=null)

After (v1.11.2)
Variant(value=true, payload={url=https://bnd.la/deals}, expKey=null, key=true, metadata=null)

We're experiencing the same issue after upgrading. Moreover, the payload is not stable, in some cases it's returned as String and in other cases as a LinkedHashMap.

Seems alright, thanks 🙏  I'm good to close the issue


Create iotnxp

Windows IoT on NXP hardware landing page

please do not publish publicly yet. Go live date not met.

OPS Build status updates of commit b16d852:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/learn-about-hardware/iotnxp
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit ec9334a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/learn-about-hardware/iotnxp
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


doesn't work with webpack 1

Throws chunk.hasRuntime is not a function

Can just install the older version - npm install<EMAIL_ADDRESS>--save-dev

For webpack 1 you can now use version 1.0.0 of this plugin


Handle nil-able cache fields in Image/Build Conversions

Codecov Report

Merging #826 (c62affe) into main (78655e0) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #826      +/-   ##
==========================================
+ Coverage   67.78%   67.80%   +0.01%
==========================================
  Files         112      112
  Lines        4843     4846       +3
==========================================
+ Hits         3283     3286       +3
  Misses       1191     1191
  Partials      369      369

Impacted Files
Coverage Δ

pkg/apis/build/v1alpha2/build_conversion.go
94.02% <100.00%> (+0.18%)
:arrow_up:

pkg/apis/build/v1alpha2/image_conversion.go
93.65% <100.00%> (+0.10%)
:arrow_up:

Continue to review full report at Codecov.

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


A1ODT-26 , Implementing Network

First Commit and basic network graph

Will be included here: https://github.com/catenax/tractusx/pull/301


Add Skylint checks to CI

It would be helpful to avoid deprecation surprises and maintain code quality to run Skylint on rules_scala in CI.
Right now we have 39 warnings that we would need to address before doing so. Should we make tickets for each group of warnings? Or work on them all in this issue?

How complicated are they? I feel we have too many issues and am afraid
things will get drowned out.
OTH if this is massive maybe there's no alternative than splitting it up
On Mon, 13 Nov 2017 at 2:39 Gregg Donovan<EMAIL_ADDRESS>wrote:

It would be helpful to avoid deprecation surprises and maintain code
quality to run Skylint
https://github.com/bazelbuild/bazel/blob/master/site/docs/skylark/skylint.md
on rules_scala in CI.
Right now we have 39 warnings
https://github.com/bazelbuild/rules_scala/files/1465260/skylint.txt
that we would need to address before doing so. Should we make tickets for
each group of warnings? Or work on them all in this issue?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/rules_scala/issues/336, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUIFx0lhA26Tw0qVnsWTPK_DPGzp-GCks5s14-_gaJpZM4QbHfC
.

Does skylint a have an install option besides cloning the entire bazel repo. I'd be interested in it for some of my own rules but that clone is a heavy tax in ci

Thanks for running this @greggdonovan ... Looks like docstring and + deprecation are the most of them.

@softprops Not that I could find. I opened a ticket to expose Skylint via @bazel_tools for this.
@ittaiz I think you're right and its best to chip away at the warnings in separate tickets.


Support for context (variables) in import()?

Hi! Thanks for the great work. Seems like a very good contender on the field of making SSR nice and round.
Comparing with some other solutions I was wondering whether the solution supports context imports like import(`./views/${viewName}`) - would be somewhat nicer than wrapper each individual view/page.
The reason I am writing an issue is because there is nothing officially mentioned in the docs.

Currently context imports are not supported.

It's doing a directory lookup and just imports all the files matched.

Not exactly - it bundles all the files possible matching the mask, loads that bundle and then picks the "right" file from it.
That might be changed in future, but webpack 3 and 4 will transfer to client("load") all the files you might match. This is not the thing you actually need, unless you want to repeat moment.js's fate.

I think this is not a good approach, views are already known because they are actually real files. I suggest you to generate the whole possibilities, you can do it using a custom script or maybe Prepack.

So you will have one Loadable component for each possible view.


Support for .NET MAUI

As a developer, this plugin is very useful for customizing tab to meet the requirement.
So, If this is going to support MAUI, it will be very useful.
Thanks.

I have the same question. I'm migrating an app to maui which uses the TabHostView control. Would be great to know if it's something that won't happen or will happen and a deadline. Ty !

yup, but I wait for MAUI to be stable cause for now, it's a waste of time.

@roubachof  now, i think it's time to upgrade to MAUI.

yup, but I wait for MAUI to be stable cause for now, it's a waste of time.

@roubachof now, i think it's time to upgrade to MAUI.

I disagree. Although I'm already using MAUI, it's still very buggy despite it being GA already. Also, it would make more sense to fork this and create a MAUI variant instead of migrating this to MAUI and leaving Xamarin.Forms behind entirely, because XF will still live on for a while until a majority made the switch.

Hi there !
In fact I'm using a strategy where I link XF files and using compilation directive to share the code between the 2 frameworks.
XF won't be left behind...

And also I'm currently working on it, sneak peak for this issue x)

@roubachof Is this compatible with Shell navigation?

nope I don't support shell, you can't achieve advanced scenario with it.
I never used it in prod, Prism is way much better

nope I don't support shell, you can't achieve advanced scenario with it.
I never used it in prod, Prism is way much better

That's a pity, because Prism is overkill for small projects. For larger apps, I understand. Did you have a look at MAUI's new Shell?

That's a pity, because Prism is overkill for small projects. For larger apps, I understand. Did you have a look at MAUI's new Shell?

I agree Shell has limitations and "bugs". For ex views in tabs are never released once they are created. But it's out of the box and will be used by a majority of users.
Prism has other limitations, does not play well with AOT, is fat, and mobile is not a first class citizen (ie: bugs/crashes arise with new versions).

@softlion I don't think it's a bug that views are not released in Shell, it seems more like a design decision. Those views are created lazily and since the views that are behind the tabs are frequently used views, this is not an issue, I think.

If a dev is happy with the customization of Shell tabs, he should definitely use them.
The philosophy of Tabs is to have full control of your views.
You can put them really where you want on your page and implement the design you want.

it seems more like a design decision.
I agree

this is not an issue, I think.
i don't agree. They are created only once, reusing the same viewmodel (never disposing it).
If that was explained somewhere - as it's a major change from previous versions - ok. But it's hidden deep and official devs only beat around the bush.

I didn't mean to divert the discussion
ok

I was just curious whether it makes sense to plan with Sharpnado.Tabs for Shell apps or not, because the native Tabs are very limited in design and functionality. I will probably check out the TabView control that is being developed for the MAUI CommunityToolkit as well.
I agree.

@softlion Do you have some example code or a repo to check your solution out?

Would it makes sense to make a specific tabs which integrates into shell? I have no idea since I never had an interest in shell ¯_(ツ)_/¯

Would it makes sense to make a specific sharpnado tabs version which integrates into shell? I have no idea since I never had an interest in shell ¯_(ツ)_/¯

I like the routing and the built-in (automatic) dependency injection of Shell in MAUI. So, I think it's certainly something to think about. It could be a joint effort, maybe?

Please open a new issue for Shell integration cause Sharpnado.Tabs.Maui has now been shipped \o/

@roubachof just for my understanding. Can I use Sharpnado to make a single page with tabs within an application that uses appshell or does that not work either?

You can put tabs and the view switcher absolutely anywhere in your page, they are just very modular normal views


Load testing pre-go-live

Warren confirmed we are clear to close this ticket. Would be good to capture learnings from this testing: pdf testing


Port EnumerateStereoisomers to C++

Description:
It would be nice to have access to this from the cartridge and the Java wrappers (so we could, e.g. create a KNIME node for it).

Ohh, this is also only my to do list. If you don't already have work on this, I'll probably start on it in the next couple of weeks.

Nope, I haven’t started yet; just wanted to capture it

I've scheduled time to work on this. I'll probably put the implementation in a file associated with MolBundle.h.

My two cents: I think the implementation goes in a separate source file in $RDBASE/Code/GraphMol. The declaration should be in the namespace MolOps.
Creating a separate test file for this would be a good idea, and the tests would ideally use the new catch2-based testing style (take a look at  https://github.com/rdkit/rdkit/blob/master/Code/GraphMol/catch_tests.cpp for an example of what these look like).

@greglandrum - I've started on this in truth now.
One thing that I'm curious about - do you think that the randomization feature is important? I haven't been able to find anyone using it on Github, and it adds complexity and size, as well as making the interface slightly larger.
It feels like if you had enough stereoisomers to actually want to randomly sample them, you'd have to be looking at something like a polymer, in which case I'd imagine that there might be some defined relationship between the centers.

I think it’s not critical to leave it out. We can always bolt it back on later if need be.
@coleb: I think you are the most likely to be using the random feature; you ok with leaving it out?

Provided that the C++ function still terminates when a certain number of isomers are generated I am fine leaving out the random sampling. It's not uncommon to run across drug like molecules with quite a few centers that would expand out to thousands of isomers. It's not just polymers, complex ring systems seen in drug-like natural products have quite a few. For example, heroin/morphine has 5 stereo centers in its single complex ring system.
We typically don't want to expand sampling for a specific racemate 32-fold as this could artificially enrich racemic compounds in 3D virtual screens. So more important than the 'random' part is being able to fix the number of isomers generated for a molecule. It also makes sure the software terminates in a reasonable time frame.
Fun fact to demonstrate why taking care with isomer sampling is important. The DUD-E docking validation dataset has more unspecified stereo centers in its actives than its decoys. So just by throwing a random number for every expanded isomer and taking the maximum value seen you can achieve an AUC ~0.6.

I need this for a project I'm working on and can write the C++ for it. Can I take this on?

Go for it! I was hoping to implement the C++ version as an iterator, allowing the caller to stop at will

@d-b-w  That sounds like a good idea! I'll ping everyone here once I have a working PR.

Thanks @mcneela !

Hi @greglandrum and @d-b-w
I've started a draft PR for this. It would be great if you could take a look and let me know your thoughts on how everything is structured.
I also need a bit of help as I'm relatively new to RDKit, especially the C++ library. A few things:

Any ideas for how to best implement the _RangeBitsGenerator and _UniqueRandomBitsGenerator classes? Defining full C++ iterators for these seems a bit overkill, but I'm open to suggestions.
I'm confused on how to use the DGeomHelpers::EmbedMolecule class. In the Python version this returns an integer that is used for branching in the EnumerateStereoisomers function, but the C++ version doesn't return anything.

Please let me know any other thoughts! I'm still going to do at least a few more passes to clean things up.

Hi @mcneela thanks for the PR.
This week is super busy because of the upcoming RDKit beta release, but I will try to make some time to take a look next week.

@greglandrum No worries, take your time!


Add helper function for styles in TypeScript.

Adds a helper function style(cssProps: Partial<React.CSSProperties>): Partial<React.CSSProperties> to make TypeScript typing easier.
For a guide to using TypeScript with Material UI styles, see https://material-ui-next.com/guides/typescript/
With the current set of typings, the compiler is unable to infer appropriate typings for the arguments to withStyles():
const decorate = withStyles(theme => ({
  root: {
    overflow: 'hidden', // error
  },
}))

// Error:
// Types of property 'overflow' are incompatible.
// Type 'string' is not assignable to type '"hidden" | "initial" | "inherit" | "unset" | "auto" | "scroll" | "visible" | undefined'.

This can be fixed by adding the classname as a generic parameter, like so:
const decorate = withStyles<'root'>(theme => ({
  root: {
    overflow: 'hidden', // ok
  },
}))

However, this is cumbersome when the number of classnames becomes large, as in:
const decorate = withStyles<'root0' | 'root1' | 'root2' | 'root3' | 'root4' >(theme => ({
  root0: { overflow: 'hidden' },
  root1: { overflow: 'hidden' },
  root2: { overflow: 'hidden' },
  root3: { overflow: 'hidden' },
  root4: { overflow: 'hidden' },
}))

The addition of the style() helper assists with type inference, such that the above example becomes:
const decorate = withStyles(theme => ({
  root0: style({ overflow: 'hidden' }),
  root1: style({ overflow: 'hidden' }),
  root2: style({ overflow: 'hidden' }),
  root3: style({ overflow: 'hidden' }),
  root4: style({ overflow: 'hidden' }),
}))

This helper also enables the easy declaration of CSS properties outside of the context of withStyles(), eg, where a set of constant properties should be reused in multiple places:
const overflowHiddenStyle = style({ overflow: 'hidden' })

@oliviertassinari Is it fine by you having an identity function just for TypeScript? :)
I wonder if this may have some performance implications or if the compilers are smart enough and inline it 🤔

@sebald It feels quite fiddly to do this and I think makes the code less readable to do this, is there any time frame for if/when typescript will improve its type system so it doesn't need this sort work around?

Does the Typescript team know about the need to fix this? If not, maybe it's better to make them aware instead of silently working around the problem?

@eyn I am not part of the TypeScript team, so I can not tell you if or when it will be fixed 🙂
I also would not call it an improvement, rather it was a design decision AFAIK. Basically what happens is that TypeScript widens the types from 'hidden' to string. The later is obviously not compatible with CSSProperties['overflow'].
I had issues with widening several times (see Microsoft/TypeScript#13948). The current workaround is to use type assertion. For example, at my company we write it like this instead:
type StyleClasses = 'root0' | 'root1' | 'root2' | 'root3' | 'root4';

const styles:StyleRulesCallback<StyleClasses> = theme => ({
  root0: { overflow: 'hidden' },
  root1: { overflow: 'hidden' },
  root2: { overflow: 'hidden' },
  root3: { overflow: 'hidden' },
  root4: { overflow: 'hidden' },
});

const Component = () => {}

export default withStyles(styles)(Component);

Which works fine and is very explicit, though more to write of course.

Is it fine by you having an identity function just for TypeScript? :)

Hummm. We would need a comment at least explaining why we export such function.

@sebald - thanks for the clarification. Is it not possible to use keyof to enumerate the keys?
@oliviertassinari - for this to work think we would also need to add style(....) to all style definitions in Mui not just export the style function or am I missing something?

I'm closing this PR as have been inactive for 5 days. Feel free to open a new PR to push the discussion forward. I don't have much optioning on how the TypeScript should be handled. So, I'm gonna let people that know the topic decide. Thanks, everybody.


Typescript error on compile request.use((config))

Hi Niko,
thanks for the great example!
I get an error in the httpservice on compiling:

Argument of type '(config: AxiosRequestConfig) => Promise<boolean | void> | undefined' is not assignable to parameter of type '(value: AxiosRequestConfig) => AxiosRequestConfig | Promise'.
Type 'Promise<boolean | void> | undefined' is not assignable to type 'AxiosRequestConfig | Promise'.
Type 'undefined' is not assignable to type 'AxiosRequestConfig | Promise'.  TS2345
12 | const configure = () => {
13 |     _axios.interceptors.request.use((config) => {

I can not figure out what trhe problem is. Can you or someone else help?
Thanks,
Sergej

Please post a complete code example of what you are doing, not only the error message. From this, it's not possible to infer any idea to what is wrong at your side.
Even better: provide a minimum working example or your scenario.

closing due to inactivity


NPE in NativeTransportService.destroy

Calling persistence.destroy()causes a NPE in NativeTransportService.destroy both for C* 3.11 and 4.0 persistence.
See "TODO" notes in:
https://github.com/stargate/stargate/blob/master/persistence-cassandra-4.0/src/test/java/io/stargate/db/cassandra/impl/CassandraPersistenceIT.java
https://github.com/stargate/stargate/blob/master/persistence-cassandra-3.11/src/test/java/io/stargate/db/cassandra/impl/CassandraPersistenceIT.java

won't fix


Add commons commands from package-zookeeper and package-kafka

Both the Zookeeper and Kafka packages have forks of bash-commons. This is my attempt to merge them all back into a single place. I have patches for package-zookeeper and package-kafka that use this new, combined bash-commons pending this merge.
I added tests where I could. Unfortunately, moto doesn't support enis afaik so I was unable to add tests for the eni functions I copied over.
Everything else should have a test and is confirmed to pass.

https://github.com/gruntwork-io/bash-commons/releases/tag/v0.1.1


Be feature comment api alex

Codecov Report

Merging #73 (64b9fd7) into dev (2edfd20) will increase coverage by 1.88%.
The diff coverage is 39.00%.

@@            Coverage Diff             @@
##              dev      #73      +/-   ##
==========================================
+ Coverage   24.91%   26.79%   +1.88%
==========================================
  Files          11       11
  Lines         610      709      +99
==========================================
+ Hits          152      190      +38
- Misses        458      519      +61

Impacted Files
Coverage Δ

citrus_network/citrus_home/urls.py
100.00% <ø> (ø)

citrus_network/citrus_home/views.py
10.30% <14.08%> (+0.36%)
:arrow_up:

citrus_network/citrus_home/admin.py
100.00% <100.00%> (ø)

citrus_network/citrus_home/models.py
100.00% <100.00%> (ø)

citrus_network/citrus_network/settings.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Harmonized interface between calibration output and fair input

Standardise the column names in the calibrated_constrained_parameters.csv file in a way that is logical input for fair to pick up calibrations with maximum abstraction/minimum user interaction.

fair 2.2.0 in its f.override_defaults() method does this. Just need to link up the parameter dump to these explicit names.


Buffer content is invisible after certain join operation

Steps to reproduce

Run vim --clean
Source the following file:

set nocompatible
31vsplit
6new
setlocal scrolloff=5
call setline(1, ['a'] + repeat([repeat('b', 25)], 81) + repeat([''], 20))
normal! j100gJ

Buffer content is invisible but it is visible after pressing Ctrl-L

Expected behaviour
Buffer content is visible
Version of Vim
9.0.1536
Environment
Operating system: Arch Linux
Terminal: kitty
Value of $TERM: xterm-kitty
Shell: fish
Logs and stack traces
No response

Bisect to patch 9.0.1121

Running that repro with gdb reveals that skipcol is correctly set in curs_columns() but is reset again in scroll_cursor_halway(). The assumption that it should be reset there if skipcol doesn't change skipcol seems incorrect. I think it should only be done if 'smoothscroll' is enabled. I'll propose a patch.
Old value = 0
New value = 1922
0x00005555556dc1bf in curs_columns (may_scroll=1) at move.c:1351
1351                curwin->w_skipcol = n * width2;
(gdb) bt
#0  0x00005555556dc1bf in curs_columns (may_scroll=1) at move.c:1351
#1  0x00005555556daea0 in validate_cursor () at move.c:829
#2  0x00005555556da747 in update_topline () at move.c:523
#3  0x00005555558cad86 in main_loop (cmdwin=0, noexmode=0) at main.c:1370
#4  0x00005555558ca39a in vim_main2 () at main.c:887
#5  0x00005555558c9a1f in main (argc=5, argv=0x7fffffffd308) at main.c:433

Old value = 1922
New value = 0
reset_skipcol () at move.c:255
255         redraw_later(UPD_SOME_VALID);
(gdb) bt
#0  reset_skipcol () at move.c:255
#1  0x00005555556df5d3 in scroll_cursor_halfway (atend=0, prefer_above=0)
    at move.c:2896
#2  0x00005555556da3d6 in update_topline () at move.c:396
#3  0x00005555555ed9d8 in win_update (wp=0x555555a2e710) at drawscreen.c:2743
#4  0x00005555555e78d0 in update_screen (type_arg=0) at drawscreen.c:324
#5  0x00005555558cae91 in main_loop (cmdwin=0, noexmode=0) at main.c:1427
#6  0x00005555558ca39a in vim_main2 () at main.c:887
#7  0x00005555558c9a1f in main (argc=5, argv=0x7fffffffd308) at main.c:433


Add hook to post-filter results

Use sift "filter arrays with mongodb queries"
https://www.npmjs.com/package/sift
https://github.com/crcn/sift.js
https://docs.mongodb.com/manual/reference/operator/query/

See https://github.com/feathersjs/feathers-hooks-common/pull/182 will be published with v3.3.0.


Ask Travis to use GHC 7.10 too.

Curiously, travis couldn't reproduce https://github.com/coreyoconnor/vty/issues/65, maybe it's a problem with ghc or cabal or something else on my system. I'll try testing on more machines later.

Thanks! Doubly so for adding CABALVER.


⚠ Fetchers has degraded performance

In 0b34b19, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 345 ms

Resolved: Fetchers performance has improved in 8610c4a.


Chore/migrate to using @bnb/skeleton alias

DO NOT MERGE:
Can't put it into draft mode for some reason.
In preparation for migrating to a monorepo.

all doc site pages and components now use @brainandbones/skeleton as the alias as $lib/hardcoded/paths will not exist there post migration.
added exports in index.ts for AppRail and AppRailTile - done in separate PR
added exports in index.ts for DataTableService.ts and updated data-tables doc page - fixes #478 (though they are not scoped name wise - not sure if we need to).  May no longer be needed.

I seem to have lost the ability to put this PR back into draft mode :(

I've set it as a draft, but will be curious to hear more about what this entails.


RViz crashes when use_sim_time changes value

To reproduce a segfault, run rviz2:
rviz2

Then in another shell, set the parameter use_sim_time to true:
ros2 param set /rviz use_sim_time true

I've narrowed down the issue to this change in geometry2: https://github.com/ros2/geometry2/pull/380
Reverting it resolves the issue.
I'm not sure if RViz is using the TransformListener improperly or if it is a bug in geometry2.

I've identified the bug: https://github.com/ros2/geometry2/pull/380/files#r596460592


Hash support?

Does flow router support url hashes?
I'm considering the use of hashes as a way to control the UI (i.e. show/hide modals) of a single page (single route). This is a pattern that Iron Router does a poor job of explaining but i believe is a very common pattern. Thanks

I'm not quite sure it's working on not. Anyway page.js seems to support it.
So, do flow-router.
https://github.com/visionmedia/page.js/issues/112

Looks like there is no way to get/set hashes though. Something like FlowRouter.getHash() and FlowRouter.setHash().

page.js has hashing support: https://github.com/visionmedia/page.js#pageoptions
But how do i enable it in flow router? How do i access the page.js object?

FlowRouter.current().context.hash

There is a PR for this as well. Which is nice I will merge it soon.
On 2015 මැයි 16, සෙන at ප.ව. 8.26 benjamin79<EMAIL_ADDRESS>wrote:

FlowRouter.current().context.hash
—
Reply to this email directly or view it on GitHub
https://github.com/meteorhacks/flow-router/issues/43#issuecomment-102633945
.

There is a PR to add hash support to flow router. But, it get conflicts when we add IE9 support. See my original comment: https://github.com/meteorhacks/flow-router/pull/110#issuecomment-102779714
We can of course add an API to get the hash reactively. But, I'm quite not sure about setting it.
@dcworldwide What's your use case to use hash? Can't you deal with it query params?

@arunoda My use case is that i have a complex single page application (single route) with multiple states. I need to store each state in the browser history (i.e using a hash). My code applies transitions to move between states. When i share hashed urls with other users, i expect that when the user opens the url that the the hash is used to transition the page to the appropriate state. A state could be as simple as a scroll position, or as complex as an expand grid card / modal. I guess params would work for me?

Hmm. I see.
On Wed, May 20, 2015 at 6:02 AM dcworldwide<EMAIL_ADDRESS>wrote:

@arunoda https://github.com/arunoda My use case is that i have a
complex single page application (single route) with multiple states. I need
to store each state in the browser history (i.e using a hash). My code
applies transitions to move between states. When i share hashed urls with
other users, i expect that when the user opens the url that the the hash is
used to transition the page to the appropriate state. A state could be as
simple as a scroll position, or as complex as an expand grid card / modal.
I guess params would work for me?
—
Reply to this email directly or view it on GitHub
https://github.com/meteorhacks/flow-router/issues/43#issuecomment-103705890
.

Closing this for now.
See here for the reasoning. https://github.com/meteorhacks/flow-router/pull/110#issuecomment-111402565

Thanks. Thats what i would need. hash support for routing.
Iron Router seem to first try to resolve using html5 push state and then falls back to hash, ideally we can set the hash option somewhere before any of the logic starts..

@arunoda how do i access the page.js object to enable hasbang urls, instead of html push state?
https://github.com/visionmedia/page.js#pageoptions
This is very important to make single plage apps also work on the file:// protocol, e.g. for desktop based apps like electron. Where the the app should work in a normal browser, but also within the desktop app container (where its served as index html using meteor-build-client)
It would be awesome if you can expose that page.js objecty so i can enable this!

The error you get when using the file protocol is:
Uncaught SecurityError: Failed to execute 'replaceState' on 'History': A history state object with URL 'file:///Users/frozeman/Sites/_ethereum/meteor-dapp-wallet/build/index.html' cannot be created in a document with origin 'null'.

Actually simply adding hashing support is not enough, as on file protocol the .replaceState will still throw an error. So it seems besides disabling web security there is no solution for this.

Any news on this?


Table of Contents with SimpleDocTemplate

There is a great feature in reportlab that easily lets you generate table of contents automatically every time you add some headings in your PDF document. However, this feature works only if you use BaseDocTemplate as your parent class, and not SimpleDocTemplate.
Since SimpleDocTemplate does not override the method multiBuild() from the BaseDocTemplate, which is needed in order to generate the table of contents, I cannot use a feature of SimpleDocTemplate such as onFirstPage and onLaterPages.
Would be nice to add support for table of contents for SimpleDocTemplate as well.

krunkerista this is really a robot mirror; please refer your issue to
https://pairlist2.pair.net/mailman/listinfo/reportlab-users

krunkerrsta, I need to try and understand why you need to have an overridable multibuild method in SimpleDocTemplate; that method is already overridable in the base class of SimpleDocTemplate. The onFirstPage etc etc arguments of build can be passed through. Just use the reportlab-users list.

@MrBitBucket I tried as you suggested, but I get the following error:
File "build\bdist.win32\egg\reportlab\platypus\doctemplate.py", line 1156, in multiBuild IndexError: Index entries not resolved after 10 passes
I have a custom PdfDocument class which extends SimpleDocTemplate. I'm trying to generate a table of contents by using a technique described in the official documentation. Namely, by overriding the method afterFlowable. Here is the code snippet:
class PdfDocument(SimpleDocTemplate):

    def __init__(self, filename, **kwargs):
        SimpleDocTemplate.__init__(self, filename, **kwargs)
        self.filename = filename
        self._contents = []
        self._toc = TableOfContents()

    def afterFlowable(self, flowable):
        if isinstance(flowable, SubChapter):
            self.notify('TOCEntry', (1, flowable.title, self.page))
        elif isinstance(flowable, Chapter):
            self.notify('TOCEntry', (0, flowable.title, self.page))

    def multiBuild(self, on_first_page=_do_nothing, on_later_pages=_do_nothing):
        self.insert_content(0, self._toc)
        SimpleDocTemplate.multiBuild(self, self._contents, onFirstPage=on_first_page, onLaterPages=on_later_pages)

As you can see, I add my table of contents to the contents of the document before calling multiBuild() of SimpleDocTemplate.
I also have two custom flowable classes - Chapter and SubChapter. So, basically I want to generate a TOCEntry for every flowable that is of type Chapter or SubChapter.


Are there plans to port the workflow to DSL2?

Currently, this pipeline will not run on the latest version of Nextflow. The error message " Nextflow DSL1 is no longer supported — Update your script to DSL2, or use Nextflow 22.10.x or earlier", appears.

Hi there,
Thanks for your message. Yes, this is currently being worked on by a number of people, you can see this from the activity in the dev branch. As you can imagine, there is a considerable amount of work required, and hopefully this will be completed soon!

Are there any updates on the DSL2 version of this pipeline?

Yes - being worked on currently, but only as a single person. I'm hesitant to give an exact timeframe, but should be soon!

@reganhayward, thanks for your work!!


value(object) method fails in Rails 5.2

value(object) method fails in Rails 5.2
Details
In Rails 5.2 value method does not accept any parameter.
It fails with
ActionView::Template::Error (wrong number of arguments (given 0, expected 1)):

Reference
https://github.com/rails/rails/commit/530b5fea8f3e04c45a20ff3dcc8d473a6d25c1b4
Solution
There can be 2 possible alternatives
Option 1:
Keep only value method definition without parameters considering support to the latest version or release 2 different versions of gems mentioning Rails < 5.2 and Rails > 5.2 dependencies
Option 2:
Write 2 methods with some condition like
if Rails.version.to_f < 5.2
  def value(object)
  end
else
  def value
  end
end

I have done changes following the second approach.
Please review PR #171 and merge it

Option 1 is a no go.
Option 2 is the fallback.
But there is another way which should work though a little less transparent.


bug fix

Powershell function returns object[] instead of object when there are some messages for echo . redirecting the output of loading dlls to null to change the behavior of the return of function.
Testing : bdt in all os

reviewed by pryenugu


Open empty editor on startup not working

Description
Atom does not open empty editor on startup even if I activate it in the settings.
Steps to Reproduce

Activate "Open Empty Editor On Start" in Atoms core settings
Open any file or folder
Close Atom
Open Atom (even in --safe mode)

Expected behavior: Empty Editor
Actual behavior: Editor with all recently opened files/folders/tabs.
Versions
Atom    : 1.8.0
Electron: 0.36.8
Chrome  : 47.0.2526.110
Node    : 5.1.1

https://github.com/atom/atom/issues/10623?

You are completely right, I am so sorry. How could I've overseen that, actually I did a search...
Thanks

Since it's a duplicate you can close it now. Thanks.

Closing as duplicate of #10623.


Develop blockchain trait

In order to define clear functionality needing proper implementation, defining a trait for the blockchain should be done

@chb0github There are a few traits that I think need to be developed. The most urgent is what I was calling blockchain manager. It is the trait that will define the interface between the blockchain manager and the rest of the node. It will need to define a way to add an identity to the blockchain. It will also need to provide a way to get all of the information related to an identity.
If there is a mock blockchain implementing this the rest of the node can use the mock for now and you can develop without having to worry about the demo date.
The other traits I think are needed are for the internal use of the blockchain. Defining them will allow you to focus on the overall internal structure of the blockchain and then allow you to focus on one part at a time. Some suggestions for what these internal trait should be are:

A committer trait that defined methods for committing blocks to the blockchain. The implementation of this will be responsible also for initiating the propagation of all new blocks to consensus nodes and the rest of the Pyrsia network.
A consensus trait for scheduling records for consensus processing.
A trait to be implemented by the blockchains of non-consensus nodes to allow new blocks to be pushed to them.

Some of this can already be derived from the current implementation. And I agree with your thinking mark: defining these will allow focus
I am thinking:
pub trait BlockChain {

    add_block(self, block: Block) -> Result<BlockChain,Error> // add the block to the chain
    validate(self) -> Result<BlockChain,Error> // starting with the genesis block, validate the entire chain
    add_observer(self, event: Event, observer: Observer<T>) // where T, in this case, would be a block and event would be an enum
}

And then:
pub trait Loadable<T> {

    load(self) -> Result<&T,Error> // loads the chain off disk and validates it
}

another
pub trait Storable<T> {
    store(self) -> Result<&T,Error> // saves the chain to disk
}

But you know, on thinking more about this, the method of propagation and where/how to store should be totally abstracted. An event based, async model is better in my opinion, as I/O is almost always the slowest part of an app. So, when a block has been added, then an event triggers and anyone who's interested can do as they wish (like save and propagate)
So, the 3 of us can freestyle these APIs. @mgrand - I get what you're saying for some of this and not others. I'll try to setup a call to discuss.

@chb0github These three traits look like a start, but it is not clear to me what they are for. The Loadable and Storable traits look like they are for a layer over the local blockchain storage. I am concerned that they seem to assume that the entire blockchain will be resident in memory. While that is reasonable for now, I don't think that it is a necessary assumption.
I would prefer to see a trait called something like BlockchainCursor with methods to access the current block and navigate to the next block, previous block or a random block number. Being able to access random block numbers is a feature we would use in conjunction with an index of blockchain contents.
The trait you name BlockChain has a name that sounds like it might be the external interface for the blockchain. However I am not sure that the methods you propose should go there. add_block is something that we be done only by a node that commits blocks to the blockchain, so maybe that should be part of a trait that is used by commit nodes when they have assembled records into a block. add_block would be responsible for for synchronously storing the block in the local store, sharing the new block with consensus nodes and any other commit nodes. add_block would also be responsible for asynchronously initiating the propagation of the new block to non-consensus, non-commit nodes.
I like the add_observer method. There should also be a remove_observer method.
Which trait to put a validate method in is unclear since we don't know when it should be called. For now the best way I can see to use validate is the have a daemon thread that continuously runs it and have an observer event that gets sent when the blockchain is invalid.
I hope this is helpful.

BlockChainCursor -> Iterator - Yeah, most of this is meant to be an external interface for a block chain - even though it's not really necessary, defining such an interface makes clear what needs implementing.
Definitely a remove_observer - I wonder if rust has the observer/observable pattern built in
the validate method on a block chain may be called by anyone at anytime to validate the chain in its entirety. It's functionality that definitely needs to exist


Upgrade org.postgresql:postgresql 42.2.21 -> 42.2.22

This PR contains the following updates:

Package
Update
Change

org.postgresql:postgresql (source)
patch
42.2.21 -> 42.2.22

[ ] If you want to rebase/retry this PR, check this box.

Suggested commit message:
Upgrade PostgreSQL JDBC 42.2.21 -> 42.2.22

See:
- https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md
- https://github.com/pgjdbc/pgjdbc/compare/REL42.2.21...REL42.2.21-rc2

Suggested commit message:
Upgrade PostgreSQL JDBC 42.2.21 -> 42.2.22 (#139)

See:
- https://github.com/pgjdbc/pgjdbc/blob/release/42.2/CHANGELOG.md
- https://github.com/pgjdbc/pgjdbc/compare/REL42.2.21...REL42.2.22


When looking for templates, follow symlinks

Thanks for the PR, nice and easy

Thanks! Do you plan to release a new version of this soon?

@timkpaine just wanted to check in again about release plans


Drop target selection transformation scales borders and outlines

Outlines and borders provided to drop-target-selection will scale with the transformation, resulting in an inconsistent outline.
In the cases where the drop-zone is the extreme top, bottom, left or right of the view, the border is scaled such that it essentially disappears.
Consequently, I've found that using --dv-drag-over-border-color doesn't work.
Steps to reproduce the behavior:

Add a dashed outline or a border to the drop-target-selection

Expected that outlines and borders do not scale with the drop-target-selection transformation. This could probably be fixed with a wrapper around drop-target-selection.

Browser: Chrome
Version: 120.0.6099.216 (Official Build) (x86_64)

Thanks for the report, I'm not entirely sure on how to re-produce this. Would you be able to re-produce it using one of the sandboxes?
Here's one that you may be able to use
https://codesandbox.io/s/github/mathuo/dockview/tree/master/packages/docs/sandboxes/simple-dockview

Sure. Simply add the following snippet to styles.css:
.drop-target-selection {
  border: 10px dashed blue;
}

Sure. Simply add the following snippet to styles.css:
.drop-target-selection {
  border: 10px dashed blue;
}

I understand what you mean now - sorry didn't quite get it the first time. Since the scale transformation is applied to the same element you would want to add a border too the border is scaled too causing weird scaling issues for dashed borders, as an example - will look into that!

Released in 1.10.0 https://dockview.dev/


error when loading data

Hi,
I'm trying to load the lmdb data you shared using the lmdb_dataflow function, but I got an error:
_pickle.UnpicklingError: invalid load key, '\xdc'.
Do you know how to fix this? Thanks

Thanks for your interest in our work and data!
For the environments I’m using, please see:
https://github.com/hansen7/OcCo/blob/c218a2bb446f91702cf8fa6f56bb3a1da406009f/OcCo_Torch/Requirements_Torch.txt#L1-L14
and relavant codes for I/O:
https://github.com/hansen7/OcCo/blob/c218a2bb446f91702cf8fa6f56bb3a1da406009f/OcCo_Torch/train_completion.py#L70-L71
https://github.com/hansen7/OcCo/blob/c218a2bb446f91702cf8fa6f56bb3a1da406009f/OcCo_Torch/utils/LMDB_DataFlow.py#L75-L89
I’ve just downloaded the data from the Google Drive and test these myself, so it should works fine, as reproduced by others (#8) as well.

BTW, if you want to convert the lmdb files into other format, e.g., h5, you might find OcCo_Torch/utils/lmdb2hdf5.py useful

For anyone else stumbling across this issue, make sure you're using the right version of tensorpack. I had this exact problem with the exact same "invalid load key" in the TF implementation of OcCo. Although the Requirements_TF.txt allows any version >=0.8.9, what worked for me was downgrading from tensorpack=0.11 (the only version available through conda) to tensorpack=0.8.9.


Api extension - Authenticate

To authenticate POST email and password to /api/login. The app will then return 200 and session as well as remeber cookies if login was successful or 403 if there was an error.
First step for @Zlepper and #414

Not exactly first step, but it should allow me to integrate most of the functionality of Solder into Solderhelper.
It's also bad style for an API to use cookies, but it's a temporary workaround until there is a proper API in place.

I agree on the cookies and would suggest the use of json web tokens for future api authentication

You don't need a special API endpoint for this. You can just post to the current login of Solder and get the exact same result?

Problem is that always return 200, and then an html page. Which makes it reallt hard to figure out if the login request was successful. At least I haven't found ant easy way to read it from what is currently possible.

Then why don't we change the login page to return a 401 on failed logins?

Would work just as well


Initial temporal RDO implementation

This PR adds original-frame motion vector computation in lookahead, and block importance computation in lookahead, which is heavily based on x264's MBTree, as described in this paper. Additionally, the distortion is biased in the RD-cost computation according to the computed block importance. Three-way AWCY (original; this PR; this PR with inverted bias to show that it works).
The block importance computation is far from final. For instance, right now it only uses half-res MVs and a single intra prediction mode.
Two new Python scripts are included to visualize the computed MVs and block importances respectively, which are dumped when the corresponding flag is set in compute_lookahead_data().
Things that might be desirable to do with this PR before merging:

Add tests for the computed MVs and block importance values. An actual real clip with, say, two subgops worth of frames would be very valuable for this, but I guess it can be done on random pixels with a set seed?
Play with the constants (4 and 0.8 in the RD-cost biasing, lookahead frame queue size, etc.). However it's not really worth it to spend too much time on this until the block importance computation is closer to being finalized, and until we can affect the actual quantizers.
Hide WRITE_DEBUG_FILES behind a feature or something because it pulls two extra dependencies.
Make a speed setting to enable or disable the block importance computation because it could take a while, especially later on when full MVs are employed.

Coverage increased (+0.1%) to 81.35% when pulling 7f193e9c6169947da178ed48d1b7777d901ba8e9 on YaLTeR:lookahead-mv-3 into 4bc23e4b9a1c41099ced4fcd60155911e4577176 on xiph:master.

needs rebase

@tdaede and @lu-zero , Hey- I wonder if you two reviewers had chance to watch actual decoded videos, in addition to metric changes in awcy?

I reviewed only the code part, did you see something strange in the videos?

I reviewed only the code part, did you see something strange in the videos?

No, but that is why, when we review the patch that can particularly affect the subjective qualities, I hope us to check the decoded video frames as well. In order to to avoid any unwalnted artifacts. Temporal RDO is proven to give a gain so less change to give unexpected artifacts in motion but what I stressed in the Tuesday, Oct 8, weekly meeting was focused on activity masking. Because it is devised to help subjective quality not a PSNR. @shreevari
I had chance to see just few clips using awcy's AB comparisons and was able to observe that the quality on stationary area like road signs in
Netflix_Driving_Pov can be claimed better. Playing them and toggle also can show us the differences when frames are in motion.


Quiz question in /07-nla-1.ipynb

In the 6th question of the quiz, you might want to substitute scipy.misc.derivative for numdifftools.Derivative, since you mentioned the first one is deprecated. I believe the correct answer remains the same.

thanks. fixed, I think.


PBI Publish with Service Principle does not find existing workspace

Hi,
Firstly, thanks for the plugin - it's great!
I've set up a service principle for PBI, allowed SPs publish rights in PBI Admin centre, and added the SP as an Admin on an existing workspace.
When the pipeline task to publish a report runs, it never finds the existing workspace which I created. Instead, it creates it itself and deploys the report.
If I delete the report it published and rerun the pipeline, it does find the workspace it created itself, and publishes the report.
Is there a reason for this? I.e. it can only publish to workspaces it creates itself?
Thanks

Hi @BISQLC,
I think this is because the SP creates a V2 kind of workspace. I think the workspace you create are the so called V1 and they are not support for service principals

Thanks for your prompt reply.
However, the workspace I created is definitely a 'new' workspace, and not a 'classic' workspace.
Any other ideas?

If that is not the case I would need to investigate it further. I have never seen this occur. Will check it


NetClient failing to connect to broker (MQTT)

Hi, I  am running a netclient using docker and I keep getting the same error. If I try connecting to the broker using this tool or a C# sample I am able to have a successful connection and I can subscribe and send messages.
{"time":"2023-09-02T20:30:50.669546749Z","level":"ERROR","source":"daemon.go 195}","msg":"unable to connect to broker","server":"","error":"status can only transition to connecting from disconnected"}
[netclient] 2023-09-02 20:31:50 could not connect to broker at wss://broker.netmaker.xxxxx.com
[netclient] 2023-09-02 20:31:50 error publishing checkin connection timeout

I am running NetMaker in docker:
version: "3.4"

services:
  netmaker:
    container_name: netmaker
    image: gravitl/netmaker:v0.20.6
    cap_add:
      - NET_ADMIN
      - NET_RAW
      - SYS_MODULE
    sysctls:
      - net.ipv4.ip_forward=1
      - net.ipv4.conf.all.src_valid_mark=1
      - net.ipv6.conf.all.disable_ipv6=0
      - net.ipv6.conf.all.forwarding=1
    restart: always
    volumes:
      - dnsconfig:/root/config/dnsconfig
      - sqldata:/root/data
    environment:
      SERVER_NAME: "wss://broker.netmaker.xxxxx.com"
      SERVER_HOST: "xxx.xxx.xxx.xxx"
      SERVER_API_CONN_STRING: "api.netmaker.xxxxx.com:443"
      COREDNS_ADDR: "xxx.xxx.xxx.xxx"
      DNS_MODE: "on"
      SERVER_HTTP_HOST: "api.netmaker.xxxx.com"
      API_PORT: "8081"
      CLIENT_MODE: "on"
      RCE: "on"
      MASTER_KEY: "xxxxx"
      CORS_ALLOWED_ORIGIN: "*"
      DISPLAY_KEYS: "on"
      DATABASE: "sqlite"
      NODE_ID: "netmaker-server-1"
      TELEMETRY: "off"
      MQ_HOST: "xxx.xxx.xxx"
      MQ_PORT: "1883"
      HOST_NETWORK: "off"
      VERBOSITY: "4"
      MANAGE_IPTABLES: "on"
      PORT_FORWARD_SERVICES: "dns"
    ports:
      - "51821-51830:51821-51830/udp"
      - 4481:8081
  ......
  mq:
    container_name: mq
    image: eclipse-mosquitto:2.0.11-openssl
    depends_on:
      - netmaker
    restart: unless-stopped
    volumes:
      - ./mosquitto/data/:/mosquitto/data
      - ./mosquitto/logs/:/mosquitto/log
      - ./mosquitto/conf/:/mosquitto/config/
    ports:
      - "1883:1883"
      - "8883:8883"
      - "8885:8885"

This is the mosquitto config
per_listener_settings true

listener 8885 <--- Broker traffic is being rerouted to this port
allow_anonymous true
protocol websockets
require_certificate false
use_identity_as_username true

listener 8883
allow_anonymous false
require_certificate true
use_identity_as_username true
certfile /mosquitto/config/sslCert.cert
keyfile /mosquitto/config/privkey.pem

listener 1883
allow_anonymous true

you are missing wait.sh from your mosquitto mounts:
volumes

./wait.sh:/mosquitto/config/wait.sh


[Feature]: data connection to Oracle Cloud

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
Connection to oracle cloud databases. Separate from other types of oracle connections.
Why should this be worked on?
Oracle cloud has lots of great features, being able to integrate with it would be great:
https://www.oracle.com/cloud/

@jacobsteffenBYU I don't think this should be any different from our #10096 so we'll track it there


The node buttons render incorrectly after navigation away and back

Describe the bug
Rendering of nodes in build page should render the same each time.
To Reproduce
Steps to reproduce the behavior:

Goto http://localhost:3000/builder
Hover over topoaa node, it should look like :

Navigate to About page and back to build page. The topoaa node on hover now looks like

Workaround
Refreshing the page. The topoaa node on hover now looks like same as first time.
Expected behavior
The topoaa node on hover the second time looks the same as the first time.

We could add extra css classes to https://github.com/i-VRESSE/workflow-builder/blob/main/packages/core/src/CatalogNode.tsx to make it easier to overwrite them in https://github.com/i-VRESSE/haddock3-webapp/blob/main/app/builder/Form.css

After researching about the issue I come to conclusion that combining  CSS-in-JS, standard css and tailwind css should be avoided. Different approached are not aware of each other and the order CSS injection is important. In this specific case the injection of CSS is not "stable". Initially Form.css is injected before emotion styles and during page change the order is different and the original styles are overwritten.
In addition, there seem to be some challenges when CSS-in-JS is used with ErrorBoundaries in remix. See this issue. There are fixes for emotion and remix but in our case the dependency library "@i-vresse/wb-core" uses emotion so it is not guaranteed that remix fixes will work in this case.
We decided to remove emotion from web-core library and use different css approach.


[Task]: GSheets CI test: share meeting minutes and next steps document.

Is there an existing issue for this?

[X] I have searched the existing issues

SubTasks

We currently lack automated testing facility for Google Sheets integration which has resulted in many release blocker and critical issues showing up unexpectedly. This document will attempt to document the minutes of the meeting that we had with QA to discuss previous attempted solutions and next steps.

No response

The document is available here.


fix(time-series table): display null values in time-series table and sortable

SUMMARY
Currently Time-series table display null value as number 0. I had a fix #18039 but it wasn't handle sorting correctly. in airbnb we found when null value mixed with number, the sort function didn't work, so i reverted the previous PR.
This PR is still try to fix the null value issue with similar approach, and add extra logic fix sorting: if null value is mixed with number values, all null value will be pushed to the smaller end.
TESTING INSTRUCTIONS
CI and manual test
ADDITIONAL INFORMATION

[x] Has associated issue: #18039
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

before we make this fix could we either:

add unit tests for this function
migrate the component to TS

or even both? since we know related changes have broken this chart before. thanks!

i added unit test. I tried migration, but triggered a lot of errors, I am afraid of causing other bugs. I don't want to lose the focus of this Sorting issue.

i am ok with new solution, it is a more general comparator sort string/number/NaN/null like a number type way.


Add support to read innerEncoder ContentType

The MessageEncoder says it support the contentType if the inner encoder supports it (IsContentTypeSupported(contentType: string):bool)
However the ReadMessage method will try to read multipart even if the contentType is not multipart but a supported contentType of inner encoder.
This change will shortcut to innerEncoder if it supports the contentType directly

Hello,
Any news about this pull request guys ?
branch cloned and tested locally and it works like a charm :)


sometimes it still finds ignored files

I have installed this recently and it mostly works great. I have not changed the default config, but still I see files from .git folders from time to time:

Any idea why this happens?

One way it might happen is if those files have gotten in your history.  The files come from 2 sources: the history and the filesystem via recursive scan.  If they're not in your history (looks unlikely in this case), then it would be related to the patterns that are passed into ripgrep as command line arguments.  Maybe there should be some way of turning on diagnostics to be able to see the resulting command, but putting in a temporary print() could do it.

I'm also experiencing this issue. One of my folder (.direnv with some Python venv in it) is shown even though the folder has always been git-ignored in the repository it lives in. After looking at the SQLite database, it indeed has entries for files in that folder.
I've tried to understand how it could happen and on a fresh database: went to the parent folder, opened smart-open which returned the .direnv files because it's not in the folder that's ignored, then moved to the child folder and opened smart-open again, and indeed the ignored files were there, even if I didn't opened them in the previous step.


Unable to prevent default when using require("remote")

Platform:Linux/Ubuntu 15.04
Electron:v0.34.0
KeyEvent of HTMLInputElement can't be preventDefaulted, when I call preventDefault after a call to require("remote").require("shell").openExternal("...")
I can put remote things in setTimeout(...,0), so not a big problem, but do cost me sometimes to find it out. I'm migrating my webapp to Electron.

Can you provide an example?

Closing until more information is provided.


fitmultirice etc

fitmultigauss is a convenient interface for using Gauss functions as basis functions. It would be good to have a similar function fitmultirice for 3D-Rice basis functions, and maybe others. The challenge is not to repeat code.

Agreed, I found that same issue today and I am already working on design ideas.

It should work with any mixture model, so fitmixmodel would be a suitable working name for now. My recent improvements to mixmodels (cae2a5c8d33b08e9fb7680b4708eaacd2f672196) probably improved performance of non-hard-coded mixture models sufficiently that this could be possible. (I haven't tested the performance though).

The current prototype fitmultimodel works for a general multi-component distribution using any of the built-in models as basis functions.
The current limitation/problem lies in the optional specification of boundaries. Since now the basis functions can have different parameters, including the amplitudes introduced by mixmodels makes the indexing of the different parameters in the mixed models complex.
In order to solve this, #55 must be solved first. Then, solving this issue will be trivial.


Helm v3 helm repo update cannot load repositories file [MAC]

I am using helm 3 beta1
Somehow helm tries to load an empty path string?
helm repo update
Error: couldn't load repositories file (): open : no such file or directory

helm repo list
NAME        	URL
rook-release	https://charts.rook.io/release

@Silvest89 this issue is already been fixed here https://github.com/helm/helm/pull/6292

Closing as fixed in #6292

Hello,
hm i got the same with new beta1 release:
./darwin-amd64/helm version
version.BuildInfo{Version:"v3.0.0-beta.1", GitCommit:"f76b5f21adb53a85de8925f4a9d4f9bd99f185b5", GitTreeState:"clean", GoVersion:"go1.12.9"}

 ./darwin-amd64/helm repo update
Error: couldn't load repositories file (): open : no such file or directory


fix support cte rf pushdown for exttable for 2.0

Proposed changes
Currently, cte inside rf pushdown doesn't support external table, this pr open this restriction.
master pr id: https://github.com/apache/doris/pull/24806
commit id: ece2e3cd70e6ca321efcc108e6275d2b3f42b08c
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 49.53 seconds
stream load tsv:          578 seconds loaded<PHONE_NUMBER>9 Bytes, about 123 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.6 seconds inserted 10000000 Rows, about 337K ops/s
storage size:<PHONE_NUMBER>7 Bytes

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.63 seconds
stream load tsv:          583 seconds loaded<PHONE_NUMBER>9 Bytes, about 122 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.7 seconds inserted 10000000 Rows, about 336K ops/s
storage size:<PHONE_NUMBER>1 Bytes

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 51.18 seconds
stream load tsv:          578 seconds loaded<PHONE_NUMBER>9 Bytes, about 123 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.5 seconds inserted 10000000 Rows, about 338K ops/s
storage size:<PHONE_NUMBER>1 Bytes

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 47.47 seconds
stream load tsv:          570 seconds loaded<PHONE_NUMBER>9 Bytes, about 125 MB/s
stream load json:         21 seconds loaded<PHONE_NUMBER> Bytes, about 107 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select:          29.6 seconds inserted 10000000 Rows, about 337K ops/s
storage size:<PHONE_NUMBER>6 Bytes


Set UID

Is this the approach we want to take going forward?
This PR will serve as a forum to address this question.

This can break tools that use environmental variables that are affected by changing the user such as HOME.
New approach we are going to sets is to set the GID on each output volume so that all output files created in the container have a GID that will allow the funnel worker to access them.


DO NOT MERGE

This repository cannot use the CommitQueue.

This repository cannot use the CommitQueue. Please uninstall the app from this repository.

This repository cannot use the CommitQueue. Please uninstall the app from this repository.

This repository cannot use the CommitQueue. Please uninstall the app from this repository.


Telerik Platform, unable to register: Everlive plugin error

I've done a running prototype several months ago that works fine with Telerik platform. Today I wanted to implement this functionality to a new app but always get an "EverliveError: A plugin error occurred".
Even my old, untouched prototype and the demo-app fires this error :(
 "nativescript": {     "id": "com.glanzbox.jut",     "tns-android": {       "version": "2.5.0"     },     "tns-ios": {       "version": "2.5.0"     }   },   "dependencies": {     "everlive-sdk": "^1.9.1",     "nativescript-push-notifications": "^0.1.0",     "nativescript-theme-core": "^0.2.1",     "tns-core-modules": "^2.5.2"   },   "devDependencies": {     "babel-traverse": "6.22.1",     "babel-types": "6.22.0",     "babylon": "6.15.0",     "lazy": "1.0.11",     "nativescript-dev-android-snapshot": "^0.*.*"   } }

@spacetasse
Can you specify:

Which version of the plugin you are using (which is installed in the project)
What happens if you remove and add the platform again
The platform you are running on (iOS, Android)
The whole call stack - it should contain the native error as well
Any other information you consider useful

I'm using 0.1.0 of the push-plugin and 1.9.1 of the everlive-sdk. Adding and removing platform doesn't change anything :( These are the latest versions for NS 2.5, aren't they? I've tested it with some others versions, but always got the same error.
This error occurs on iOS, I haven't tested on android yet.
CONSOLE LOG file:///app/views/main.js:379:24: {"name":"EverliveError","message":"A plugin error occurred","stack":"EverliveError@file:///app/tns_modules/everlive-sdk/./dist/everlive.all.js:2026:31\nDeviceRegistrationError@file:///app/tns_modules/everlive-sdk/./dist/everlive.all.js:2054:21\nfromPluginError@file:///app/tns_modules/everlive-sdk/./dist/everlive.all.js:2071:44\nfile:///app/tns_modules/everlive-sdk/./dist/everlive.all.js:12177:103\n_deviceRegistrationFailed@file:///app/tns_modules/everlive-sdk/./dist/everlive.all.js:10733:37\n_failedRegistrationAPN@file:///app/tns_modules/everlive-sdk/./dist/everlive.all.js:10760:40\n[native code]\nfile:///app/tns_modules/nativescript-push-notifications/push-plugin.js:50:26\nonReceive@file:///app/tns_modules/tns-core-modules/application/application.js:59:32\nUIApplicationMain@[native code]\nstart@file:///app/tns_modules/tns-core-modules/application/application.js:251:26\nanonymous@file:///app/app.js:38:18\nevaluate@[native code]\nmoduleEvaluation@[native code]\n[native code]\npromiseReactionJob@[native code]"}

I've just added the functionality for Android and it works like a charm. So it seems the problem occurs only on iOS.

I've updated to the current version and I've updated the certificates, but with no success.

Starting from the scratch, now the Android-Push-Notifications works perfect. But on iOS I get the same error.

We experiencing it as well, starting from scratch didn't help.  I also tried run the sample-push-plugin app and got the same error see below:

{"name":"EverliveError","message":"A plugin error occurred","stack":"EverliveError@file:///app/tns_modules/everlive-sdk/./dist/everlive.all.js:2026:31\nDeviceRegistrationError@file:///app/tns_modules/everlive-sdk/./dist/everlive.all.js:2054:21\nfromPluginError@file:///app/tns_modules/everlive-sdk/./dist/everlive.all.js:2071:44\nfile:///app/tns_modules/everlive-sdk/./dist/everlive.all.js:13799:103\n_deviceRegistrationFailed@file:///app/tns_modules/everlive-sdk/./dist/everlive.all.js:10664:37\n_failedRegistrationAPN@file:///app/tns_modules/everlive-sdk/./dist/everlive.all.js:10691:40\n[native code]\nfile:///app/tns_modules/nativescript-push-notifications/push-plugin.js:50:26\nonReceive@file:///app/tns_modules/tns-core-modules/application/application.js:51:32\nUIApplicationMain@[native code]\nstart@file:///app/tns_modules/tns-core-modules/application/application.js:211:26\nanonymous@file:///app/app.js:3:18\nevaluate@[native code]\nmoduleEvaluation@[native code]\n[native code]\npromiseReactionJob@[native code]"}
tns version:3.1.2
Problem platform: IOS


chore(master): release 1.1.37

:robot: I have created a release beep boop
1.1.37 (2023-08-21)
Bug Fixes

deps: update dependency wayofdev/laravel-webhook-client to v1.1.28 (7aee2d1)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wayofdev/laravel-stripe-webhooks/releases/tag/v1.1.37 :sunflower:


🚀 Feature request: Proper PowerShell C# handling

Describe the solution you'd like

Use System.Management.Automation.Powershell to run commands.
Use WSManConnectionInfo to create PowerShell within JEA sessions.

Links

https://docs.microsoft.com/en-us/powershell/scripting/learn/remoting/jea/using-jea?view=powershell-7.1#using-jea-programmatically
https://docs.microsoft.com/en-us/powershell/scripting/developer/hosting/adding-and-invoking-commands?view=powershell-7.1

Handle non-terminating errors
Handle terminating errors
Run commands asynchronously

The embeded console dream still alive?

https://github.com/dwmkerr/consolecontrol
https://github.com/Jaykul/PoshConsole
https://github.com/oriches/Simple.Wpf.Terminal


Implement flatten(order)

Fix flatten as ravel in #6585.
This PR also refactors the test of ravel.

/test mini

/test mini


Updated deploy.rst for better clarity

I changed deploy.rst for better clarity specifically this part:
Before:
$ python -c 'import secrets; print(secrets.token_hex())'
'192b9bdd22ab9ed4d12e236c78afcb9a393ec15f71bbf5dc987d54727823bcbf'

After:
$ python -c 'import secrets; print(secrets.token_hex())'
Example secret key:
'192b9bdd22ab9ed4d12e236c78afcb9a393ec15f71bbf5dc987d54727823bcbf'

I wonder whether we shouldn't simply blacklist that particular not-so-secret key, since I guess there's always a chance that people copy it instead of generating their own, even with that line message...
Also I don't think that adding this message is a good idea - this code block shows a shell command and its output, and that message you added is not part of the output.


[microsoft-signalr] Build error on x64-linux

The package microsoft-signalr[cpprestsdk] has failed while building and installing.
The error log has been atached.
please find the command below used to build and install package:
vcpkg microsoft-signalr[cpprestsdk]
install-x64-linux-dbg-out.log
install-x64-linux-dbg-err.log

See https://github.com/aspnet/SignalR-Client-Cpp/pull/96.


Question about service discovery

Hi,
Sorry to bother you with this question. Actually I am not sure if your library can be used for my scenario. My scenario is quite simple, I want to detect all computer running my service on a local network. A bit like UPnP/AV that are able to discover media servers on the network.
So I've tried your examples (e.g. the chat) but in my scenario I just want to list the peers (their IP addresses) at the moment, I don't want to connect to them. So I got rid of everything related to messaging and Dial from the code. But then skademlia.FindNode(...) returns an empty array. In your example, it looks like you know in advance that a peer would run on localhost so you can connect to it, you don't discover it.

At the moment, S/Kademlia discovers peers within your network by recursively walking through all neighboring nodes you know about.
Hence, inevitably your node in some way has to dial at least log(n) peers to know all of the peers within the network. The same goes for any other peer discovery-based solution.
If it's a matter of wishing to get rid of the peers connections after discovering them, then it is a matter of keeping the code entirely the same, and after calling FindNode(..), you'd disconnect from all of your peers by calling peer.Disconnect().
You can alternatively kill your node by calling node.Kill() and simply print out all peers discovered in your routing table by calling skademlia.Table(node).GetPeers().

Should you wish to have your devices discover each other over a local network, a centralized approach would work too where you'd just have one node be responsible for keeping track of all devices and their status.
Any device can then send a message to this central node to get a list of all available peers.

You could use mDNS-SD (multicast DNS Service Discovery) to discover all nodes on your local network. mDNS is also sometimes referred to as Zeroconf. In my experience, this works quite easy and reliably in local IP networks.
There are several implementations for Go.

Wikipedia - DNS-SD with multicast
RFC 6762 - Multicast DNS
RFC 6763 - DNS-Based Service Discovery
Avahi: A free Zeroconf / mDNS-SD implementation, which is used on most Linux systems today

Using mDNS-SD together with perlin-network/noise enables you to bootstrap peer2peer connections on the local network without specifying initial bootstrap nodes manually.

Thanks for your precious inputs. I guess we can close this issue.


Complaint to subroutine MAPL_GetGlobalHorzIJIndex

@weiyuan-jiang:
I have a complaint on
module subroutine MAPL_GetGlobalHorzIJIndex
https://github.com/GEOS-ESM/MAPL/blob/main/base/Base/Base_Base_implementation.F90#L3173-L3253
The error is from my recent code addition:
MAPL_HistoryGridComp.F90
 subroutine Run
    call list(n)%td_mask%get_mask(time_span,grid_in,_RC)  !  td_mask is an type obj. from TimeDependentMask defined below.

If I use  MAPL_GetGlobalHorzIJIndex,  after a few  model time steps and subsequent history calls,  the code hangs forever.
I suspect:

elemental subroutine calculate(x, y, z, i, j)  is fancy and I see arrays not deallocated.

I did the following tests:
1. allocate(x(npts), y(npts), z(npts))
    deallocate (lons, lats, xyz, max_abs, x, y, z)
    it did not solve my specific problem.

2. inside my subroutine get_mask
   if I make a do loop call
      do k=1, 2
          call  MAPL_GetGlobalHorzIJIndex(nx,II,JJ,lon=obs_lons,lat=obs_lats,grid=Grid,_RC)
      enddo
   The code does not hang.  There is no problem.   This surprised me.  I donot know how to explain.

Additional information:   my input nx = 54810  e.g.
It appears that MAPL_GetHorzIJIndex does not have element subroutines. So I think deallocate and element subroutines are the issues here.
Will you please take a look?
Thanks!

What is "k" 's role in original call ?

The "k" does not belong to the original code.
With and without "k"-loop, the history run fails after a few collection cycles.
With the k-loop, I thought the code failure can occur at the first cycle, but I find no failure at the first cycle, meaning the k-loop can not reveal the problem earlier.
I will give a try by  do k=1, 1000 ; to see if there is a problem.

The first history collection step does not crush at the step:
do  k=1, 10**6
call MAPL_GetGlobalHorzIJIndex
If it is not the memory leakage,  does the algorithm has a problem?

@metdyn in Fortran there's no need to explicitly deallocate purely local allocatable variables in procedures, anything with allocate is automatically deallocated when leaving scope

@metdyn in Fortran there's no need to explicitly deallocate purely local allocatable variables in procedures, anything with allocate is automatically deallocated when leaving scope

@bena-nasa  Thank you; that really helps me!   I will check more into it.

Yeah - the danger with random points is that they may miss the corner cases.  (Possibly literal "corners" in this case!)

@weiyuan-jiang:
Debug shows the following for   mpirun -np 6   bin/ExtDataDriver.x  when using
call  MAPL_GetGlobalHorzIJIndex(nx,II,JJ,lon=obs_lons,lat=obs_lats,grid=Grid,_RC)
when ( myid == 0 )
 code hangs at
    subroutine MAPL_GetGlobalHorzIJInde
       good_grid = grid_is_ok(grid)
            call MAPL_GridGetCorners(Grid,corner_lons,corner_lats)
                  module subroutine MAPL_GridGetCorners
else
  code run through

This happens at the first instance call. (My previous description is erroneous, because I failed to see that only 5 thread passes through the call MAPL_GetGlobalHorzIJIndex, the tile=1 fails at the first call.)  It is not related to the interpolation method, but only the check grid step.
When I commented out   good_grid = grid_is_ok(grid),   the mpirun completes (I have not check numerical results).
I think something happened inbetween call MAPL_GridGetInterior(grid,I1,I2,J1,J2) and call MAPL_GridGetCorners(Grid,corner_lons,corner_lats) in  function grid_is_ok(grid) result(OK) has a problem.  I cannot be sure.
My guess is either the CS grid_in I am using from ExtDataDriver.x has problematic setup, or the grid_is_ok subroutine and the calls therein has a bug. Please let me know if you can reproduce this result. I believe you will see the same error. Thanks.
I used:
AGCM1.rc
NX: 1
NY: 6
Root.GRID_TYPE: Cubed-Sphere
Root.GRIDNAME: PE180x1080-CF
Root.LM: 5
Root.IM_WORLD: 12
Root.NF: 6

Can you comment out the two line and try again ? https://github.com/GEOS-ESM/MAPL/blob/7905086a9207e0b131d78c5d279c49d1c43460a9/base/Base/Base_Base_implementation.F90#L3207-L3208
I guess  inside the MAPL_GetCorners, there are collective calls. I need to pull the call out of the condition

Thanks. I will do it!

@weiyuan-jiang, yes, the code runs through.  Thanks!


Variation Documentation

Hi @aparton does this need to go for release 103?

Hi @aparton does this need to go for release 103?


fix(alert): Ignore ipmi Entity Presence type alert

Alert rule ipmi_generic_sensor_value ignoe type="Entity Presence"
The "Entity Presence"
Fix: #102

Is this related to https://bugs.launchpad.net/charm-hw-health/+bug/1891915 ?

It's a different case that want to ignore Entity Absent. I would like to put it into another issue.

Hi @aieri , I update the wording and put some information on the issue.