python3Packages.canmatrix: 0.9.1 -> 0.9.3

Motivation for this change
Update to latest upstream release 0.9.3
Commit log: https://github.com/ebroecker/canmatrix/commits/development
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 111007 run on x86_64-linux 1

6 packages built:

python37Packages.canmatrix
python37Packages.canopen
python38Packages.canmatrix
python38Packages.canopen
python39Packages.canmatrix
python39Packages.canopen

Result of nixpkgs-review pr 111007 run on x86_64-linux 1

6 packages built:

python37Packages.canmatrix
python37Packages.canopen
python38Packages.canmatrix
python38Packages.canopen
python39Packages.canmatrix
python39Packages.canopen

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 111007 run on x86_64-darwin 1

3 packages failed to build and are new build failures:

python37Packages.canopen: log was empty
python38Packages.canopen: log was empty
python39Packages.canopen: log https://termbin.com/tvi1

3 packages built:

python37Packages.canmatrix
python38Packages.canmatrix
python39Packages.canmatrix

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 111007 run on x86_64-darwin 1

3 packages failed to build and are new build failures:

python37Packages.canopen: log was empty
python38Packages.canopen: log was empty
python39Packages.canopen: log https://termbin.com/tvi1

3 packages built:

python37Packages.canmatrix
python38Packages.canmatrix
python39Packages.canmatrix

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 111007 run on x86_64-linux 1

6 packages built:

python37Packages.canmatrix
python37Packages.canopen
python38Packages.canmatrix
python38Packages.canopen
python39Packages.canmatrix
python39Packages.canopen

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 111007 run on x86_64-linux 1

6 packages built:

python37Packages.canmatrix
python37Packages.canopen
python38Packages.canmatrix
python38Packages.canopen
python39Packages.canmatrix
python39Packages.canopen

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 111007 run on x86_64-darwin 1

3 packages failed to build and are new build failures:

python37Packages.canopen: log was empty
python38Packages.canopen: log was empty
python39Packages.canopen: log https://termbin.com/n16g

3 packages built:

python37Packages.canmatrix
python38Packages.canmatrix
python39Packages.canmatrix

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 111007 run on x86_64-darwin 1

3 packages failed to build and are new build failures:

python37Packages.canopen: log was empty
python38Packages.canopen: log was empty
python39Packages.canopen: log https://termbin.com/n16g

3 packages built:

python37Packages.canmatrix
python38Packages.canmatrix
python39Packages.canmatrix

Ah, sorry. I came upon the same issue and fixed it in cb4fe8e0cda8e4af51a54b7cfb3c2385894e7958. Can you rebase, sorry for not checking the pull requests first.


data:BejadiRajeshReddy18

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

Looks good, Thanks! 🎉

Thanks
My linktree url isn't generated

Linktree url isn't generated

It will be generated after your PR is merged & deployed. The deployment can take about 5mins after being merged.


Can´t install pdftotext

By the time I saw this, you edited the description so that this is a completely blank issue.


Individual order items need to record tax amount/rate

When an order is recorded, it may include items that are both taxed and not taxed.
Therefore the VividStoreOrderItem table needs to include details of what tax the individual line item included. It should store:

The name of the tax rate applied
Either the amount of tax applied to that item, or the percentage used at the time of transaction
Whether the tax was already part of the item price or not

This is important for creating detailed order invoices and for reporting.

I certainly like it just from the reporting aspect alone. I know many other systems actually don't record it as a line item, but that's also somewhat a frustrating thing.


change dim=-1 to dim=1 in bounding_box.py for the purpose of tracing using jit

when trace the rpn and rcnn heads using torch.jit.trace, it encouters the problem vector::_M_range_check: __n (which is<PHONE_NUMBER>3709551615) >= this->size() (which is 2), and find that it is caused by the dim=-1 in  bounding_box.py file. so changing all of dim=-1 to dim=1 can solve it.

Hi @zimenglan-sysu-512 ,
Thanks for spotting this!
Can you please provide a short script to reproduce this error?


How to freeze the text_encoder when training?

Is the text_encoder frozen when running the dist_train.py? I don't find the code to freeze the text_encoder，can you tell me where it is ?

I have the same question.  When I debug it at CLAMP's forward process shows all the parameters' require_grad is True


clean up description for sdk_location

R: @melap

Thank you for the quick review.

Changes Unknown when pulling 65d80119d061a7f57b99e3d3ac3ea2a9289fd2da on aaltay:wc into ** on apache:master**.

Changes Unknown when pulling 65d80119d061a7f57b99e3d3ac3ea2a9289fd2da on aaltay:wc into ** on apache:master**.


Why a jar for BugReporter.jar ?

at Everest/src/main/resources/BugReporter.jar
https://github.com/RohitAwate/Everest/commit/a679c6d1a2c0ad168e43930a902b7673caab8bf0
com.rohitawate.everest.util.EverestUtilities

The Bug Reporter gets copied into the 'Everest/' directory the first time you run Everest. It's there to generate a little report about your system, document your description of the bug and collect all the log files into a single zip which you can then post here in Issues.
As to why its not a part of the UI, I wanted to do something different. Everest is a developer tool and developers love the CLI. I plan to add the ability to directly upload the zip to the cloud. Let's see how that turns out.

If the main everest jar fails to run, you can still run the bug report tool if it's separated out!


number's say it all cards section

Current Behavior
on hovering over the number say it all cards section it doesn't show any animation
Desired Behavior
I'll add some animation on hovering these cards.
pls assign this issue to me in Gssoc 2023

Yes sure @NexusNeeraj

As this issues (#223)  was assigned to me so how one can change it?
It's showing hanges which was supposed to do with my own .but it seems like
someone has changed this so what should I do ?
On Tue, May 23, 2023, 00:27 Akshatha R @.***> wrote:

Assigned #223
https://github.com/OSCode-Community/OSCodeCommunitySite/issues/223 to
@NexusNeeraj https://github.com/NexusNeeraj.
—
Reply to this email directly, view it on GitHub
https://github.com/OSCode-Community/OSCodeCommunitySite/issues/223#event-9306197491,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZ7JCZISQEBF6X72UMBXGCLXHOZI5ANCNFSM6AAAAAAYKXRZGE
.
You are receiving this because you were assigned.Message ID:
<OSCode-Community/OSCodeCommunitySite/issue/223/issue_event/9306197491@
github.com>


[Feature request] network info

Very great project, can you support obtaining network information? Such as upload speed, download speed, total upload traffic and total download traffic

Very great project, can you support obtaining network information? Such as upload speed, download speed, total upload traffic and total download traffic

I think we can support obtaining download speed with some way but your other requests are probably cannot done with such general purpose liblary for following reasons:
1 - for measuring the upload speed, we need to upload some file to somewhere and we need to take a response about the median upload speed. I checked many speed tester website on the internet and as i see none of them give you that answer with  simple http connection, they done it with ajax or/and websocket. Because of that, if you need that kind of feature i recommend you to create a server that measures the speed of file uploads.
2 - Measuring total upload and download traffic we need to check either every browser's all download and upload(since there is bunch of browsers, that's very hard) records or we basically need to break into users modem, which cannot be done with a general purpose liblary.
Thanks for feedback, i'll apply measuring download speed in future release. If you wan't to implement that, you can make a pull request and i'll test in windows and linux and accept if it works fine.

There may be a misunderstanding. What I mean is not to test the network speed. It is the data received by the network card per second and the data sent per second. It is the total amount of data received and sent within a period of time.

This is macOS activity monitor data. What I need more is the windows implementation.


signInAndRetrieveDataWithCredential return error code 11

Version info

"firebase": "^5.9.3",
"@angular/fire": "^5.1.2",
Other (e.g. Ionic/Cordova, Node, browser, operating system):
cordova 8.0.0
On Iphone X ios 12.2
this.afAuth.auth.signInAndRetrieveDataWithCredential(facebookCredential).then(userCredential => {
       console.log('It's OK!');
      return userCredential.user;
      });
    }).catch(error => {
      console.log(error);
       return null;
    });

signInAndRetrieveDataWithCredential sometimes works fine sometimes return the error
{ "message": "Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.", "code": 11}
Some help please!
<

!--
Provide a failing test unit, or create a minimal, complete, and
verifiable example (http://stackoverflow.com/help/mcve) using either
Plunker (http://plnkr.co/) or JSFiddle (https://jsfiddle.net/).
-->
Steps to set up and reproduce

Sample data and security rules
<-- include/attach/link to some json sample data (or provide credentials to a sanitized, test Firebase project) -->
Debug output
** Errors in the JavaScript console **
** Output from firebase.database().enableLogging(true); **
** Screenshots **
Expected behavior

Actual behavior

You should make your function async and use await - your problem is that the response time from either Firebase and/or Facebook is taking too long.  It seems like firestore/datastore and all of its inner components are much slower as of late.  That's why it sometimes works and sometimes doesn't.


count instead of jobs list and expose filter by pipeline and tag

This change is

/deploy

/deploy

/deploy

/deploy

/deploy


update to 1.28.0

request from snowflake, was supposed to go to snowflake channel, but actually it is update on existing package on default channel

upstream
removed tests as there is cyclic dependency on composeml in tests, will get back to it once composeml is done
add private channel as there are cyclic dependencies between feedstocks in tests
add openblast to test requirements so test_nans test passes

An error on win64: docker 4.0.1 requires pypiwin32, which is not installed.

FYI, it's the same issue we noticed on https://github.com/AnacondaRecipes/woodwork-feedstock/pull/2

Linter check found the following problems:
The following problems have been found:
ERROR: clone/recipe/meta.yaml:40: missing_pip_check: For pypi packages, pip check should be present in the test commands
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: clone/recipe/meta.yaml:40: missing_pip_check: For pypi packages, pip check should be present in the test commands
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: clone/recipe/meta.yaml:40: missing_pip_check: For pypi packages, pip check should be present in the test commands
Errors were found


Disable PROTIPS in CI environments

Fixes #108

Can you please merge this one? :)

thanks for this and sorry for the delay merging

Thank you so much!

@wheresrhys Could we bother you for a 4.6.1 or 4.7.0 release on npm?

Yeah sure. It had slipped my mind
On Tue, 12 Jul 2016 at 11:02 pm, Peter deHaan<EMAIL_ADDRESS>wrote:

@wheresrhys https://github.com/wheresrhys Could we bother you for a
4.6.1 or 4.7.0 release on npm?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/wheresrhys/fetch-mock/pull/109#issuecomment-232195523,
or mute the thread
https://github.com/notifications/unsubscribe/AAbUR_G31vYXhkTxCYFijs9I7eCw9m_5ks5qVA7dgaJpZM4JGn4G
.


Make request labeler a scheduled search

This task runs every 3 hours and labels open issues that are in a project and assigned to someone with the reQUEST label.

Closing and reopening for a fresh build (The warnings in the standard were fixed yesterday afternoon).


Can I use your code on classification task? Directly use the encoder that you designated.

Yes, it is possible to use just the encoder and fine-tune it on a classification task. Just make sure that during denoising pretraining that you have --model.mode "encoder+decoder" or else the encoder will be kept frozen during pretraining.
Once you've finished pretraining, you can load the encoder weights with something like this:
import torch
from torchvision.models import resnet50

# Load entire state_dict
checkpoint = torch.load("dep-unet-resnet50.ckpt", map_location="cpu")["state_dict"]

# Keep only encoder weights
encoder_weights = {}
for k, v in checkpoint.items():
    if not k.startswith("net.encoder."):
        continue

    k = k.replace("net.encoder.", "")
    encoder_weights[k] = v

# Initialize new network with the weights
encoder = resnet50()
encoder.load_state_dict(encoder_weights, strict=False)

strict=False is used since the final classification layer will be missing


Did you mange to solve issue "Scrolling using trackpad while hovering link will opening that link in browser"?

Hi,
Thx for sharing EFI folder here!
I have Lenovo Thinkpad X1 Yoga Gen 3.
I tried many repos for my laptop, however the issue of auto click while scrolling with middle button + trackpoint persists.
e.g. whenever I scroll using Trackpoint - pointing finger on Trackpoint and thumb on middle button - every link, clickable image etc which falls under mouse pointer automatically opens (if I am using a browser).
Do you experience the same issue with your build? Did you mange to fix it?

Hi I don't experience that issue. The middle button opens a link in a new tab on my laptop. Sorry I can't be of more help. Best of luck.


Taking PRNGs seriously

Currently, we have very rudimentary handling of stochastic layers. Initialization of RNGs for stochastic layers is done as:
    randn(rng, 1)
    return (rng=replicate(rng), training=true)

This makes stochastic layers start from different RNGs. Need to look at how jax frameworks do it

JAX benefits from a natively splittable, immutable RNG interface. To my knowledge there is no such equivalent in the Julia ecosystem, but were there one you could envision how the splitting process might work.

I found something similar that exists in Julia. We will have to shift to Random123.jl and use https://github.com/SciML/DiffEqNoiseProcess.jl/blob/c48cdce099cece1edbd8f99da960bc67e3c2c4ca/src/noise_interfaces/virtual_brownian_tree_interface.jl#L139-L148

https://github.com/UBC-Stat-ML/SplittableRandoms.jl/


Where can I submit a vulnerability?

Component
Forge, Anvil, Chisel
Have you ensured that all of these are up to date?

[ ] Foundry
[ ] Foundryup

What version of Foundry are you on?
No response
What command(s) is the bug in?
No response
Operating System
None
Describe the bug
title

Please refer to https://github.com/foundry-rs/foundry/pull/8741/files for contact details


Fix package name in instructions

Vendoring package ruby-2.4 fails with Expected to find package 'ruby-2.4'; vendoring ruby-2.4-r3 works as advertised.

Oops; thanks!


Reading from Aurora

Hi, When I try to read from aurora like this:
import awswrangler as wr
df = wr.pandas.read_sql_aurora(
sql="SELECT ...",connection=con)

I got error:
pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'xxxxxx.rds.amazonaws.com' (timed out)")
It looks like default Wrangler has very small value for validation timeout.
static generate_connection(database: str, host: str,
port: Union[str, int], user: str, password:str, engine:
str = 'mysql', tcp_keepalive:  bool = True,
applica-tion_name:  str = 'aws-data-wrangler',
connection_timeout:  Op-tional[int] = None,
validation_timeout: int = 10)

Is it possible to increase validation_timeout? or even better to allow users to modify?

Hi @GlibMartynenko!
Makes sense expose this configuration on  wr.pandas.read_sql_aurora(), we will consider that for version 1.0.0.
By now you could create your own connection and pass it to wr.pandas.read_sql_aurora() to overcome this limitation.
ex:
import awswrangler as wr

conn = wr.Aurora.generate_connection(
    database="...",
    host="...",
    port=3306,
    user="...",
    password="...",
    engine="mysql")

 df = wr.pandas.read_sql_aurora(sql="...", connection=conn)

P.S. Are you sure that you have access through the database SecurityGroup and Subnet? More than 10 seconds to establish a connection seems to be a network/security issue.

Privet Igor, I did like you suggested and still the same error.
I`m not able to connect also via SQL client.
So probably you right about network issue.
However, when I use Boto3 client('rds-data')
I`m able to get data like this:
rds_client = boto3.client('rds-data')

database_name = "XXXX"
db_cluster_arn = "arn:aws:rds:XXXX"
db_credentials_secrets_store_arn = "arn:aws:secretsmanager:XXXXXX"

sql_query = "select * from {rds_table}".format(rds_table=table)

def execute_statement(sql):
    response = rds_client.execute_statement(
        secretArn=db_credentials_secrets_store_arn,
        database=database_name,
        resourceArn=db_cluster_arn,
        sql=sql
    )
    return response

Here the full picture:

Aurora in a private network
glue connection is established and works.
Create df from Glue Python shell is not working.
Connection from external client (like MySQL Workbench ) via endpoint is not working.

So, my question is:
Why Glue connection is working, but when I put the connection name into read_sql_aurora() I got timeout error.

Sorry, Igor... It was my mistake. I didn`t connect Glue's connection to Python shell initially.
I will close this "issue"

Sorry, Igor... It was my mistake. I didn`t connect Glue's connection to Python shell initially.
I will close this "issue"

hi, I got the same issue with you, would you please tell me how did you fix the problem?

Sorry, Igor... It was my mistake. I didn`t connect Glue's connection to Python shell initially.
I will close this "issue"

would you show some details about how to connect Glue's connection to Python shell ?

Sorry, Igor... It was my mistake. I didn`t connect Glue's connection to Python shell initially.
I will close this "issue"

would you show some details about how to connect Glue's connection to Python shell ?

Hi, It was my mistake. When I created a Python shell job in GLUE  I forgot to specify the connection. It is the second step when you create Python shell job in Glue. See attached screenshot:

There are several different alternatives, but last walkthrough the easiest one:
First you need to create your connection in the catalog:

Second, configure the connection in your job:

Third, load your connection:
# Get MySQL connection (SQLAlchemy) from Glue Catalog and LOAD the data into MySQL
engine = wr.catalog.get_engine("my-mysql-connection")
wr.db.to_sql(df, engine, schema="test", name="my_table")

P.S. Make sure to create your connection in a subnet with internet access (To download the wheel file dependencies from pypi) and with access to the database itself.

@fen9ru1

thanks for replying, many thanks, i still have the problem,here is my issue
i tested the glue connection, it is work
with that glue connection, i run a crawler, and it is works too
and inside the sagenotebook based on glue dev endpoint, I got error:

OperationalError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on 'abc***.rds.amazonaws.com' (timed out)")

here is my code
##GLUE DB Connection
eng_mysql = wr.catalog.get_engine(connection="glue-con")

## test
record = wr.db.read_sql_query("SELECT * FROM db_iotpf_poc_fps.data_store_root", con=eng_mysql)

i tried use "pymysql" as following, and it works
import pymysql
pymysql.install_as_MySQLdb()
import MySQLdb

# JDBC Connection, Pay Attention to Security Group

# db = MySQLdb.connect("URL", "USERNAME", "PASSWORD", "DATABASE")
db = MySQLdb.connect(
    host="abc***",
    port=3306,
    user="admin",
    passwd="***",
    db="db_name",
)

i am confused where is the issue

@fen9ru1 are you sure that both codes are running in the same environment and with the same inputs?
If yes, could you please send the connection string that appears into your glue connection HIDING/REPLACING ALL SENSITIVE INFO, please?

@igorborgest  hello, i am sure that both codes are running in the same notebook,
here is my glue connection(SENSITIVE INFO REPLACED )
jdbc:mysql://hoge-mysql57.cluster-abcedfghigk.ap-northeast-1.rds.amazonaws.com:3306/my_db
P.S. my subnet is private, used for of SageMaker Notebook and Glue dev point, i did not set  internet gw on My VPC.
inside of SageMaker Notebook, with following code, i got no problem.
 !pip install awswrangler


Correctly unverify packages when they are removed from their reserved namespaces (HOTFIX)

https://github.com/NuGet/NuGetGallery/issues/6039
(also see https://github.com/NuGet/NuGetGallery/pull/6043)

Unit test?

@loic-sharma done


Unable to run e2e tests locally

What steps did you take and what happened:
When running e2e tests locally using Makefile targets (make test-e2e or make test-e2e-run) both will fail, IF you have never run the make-docker-build-e2e target on the repo (if you have an operator image with dev tag locally, you would not see this problem, but that is not the case for everyone) which builds an operator image with dev tag.
That is because make test-e2e-run sets E2E_OPERATOR_IMAGE to http://gcr.io/k8s-staging-capi-operator/cluster-api-operator:dev, spins up a kind cluster and loads that image into cluster:
Creating cluster "capi-operator-e2e" ...
 • Ensuring node image (kindest/node:v1.27.0) 🖼  ...
 ✓ Ensuring node image (kindest/node:v1.27.0) 🖼
 • Preparing nodes 📦   ...
 ✓ Preparing nodes 📦
 • Writing configuration 📜  ...
 ✓ Writing configuration 📜
 • Starting control-plane 🕹  ...
 ✓ Starting control-plane 🕹
 • Installing CNI 🔌  ...
 ✓ Installing CNI 🔌
 • Installing StorageClass 💾  ...
 ✓ Installing StorageClass 💾
  INFO: The kubeconfig file for the kind cluster is /var/folders/cz/q854zvyj34nccdhvq_4cxhd80000gp/T/e2e-kind2691374665
  INFO: Loading image: "gcr.io/k8s-staging-capi-operator/cluster-api-operator:dev"
  INFO: Image gcr.io/k8s-staging-capi-operator/cluster-api-operator:dev not present in local container image cache, will pull
  INFO: [WARNING] Unable to load image "gcr.io/k8s-staging-capi-operator/cluster-api-operator:dev" into the kind cluster "capi-operator-e2e": error pulling image "gcr.io/k8s-staging-capi-operator/cluster-api-operator:dev": failure pulling container image: Error response from daemon: manifest for gcr.io/k8s-staging-capi-operator/cluster-api-operator:dev not found: manifest unknown: Failed to fetch "dev" from request "/v2/k8s-staging-capi-operator/cluster-api-operator/manifests/dev".

Later on in the tests, operator deployment will not come up properly and fail:
state:
      waiting:
        message: Back-off pulling image "[gcr.io/k8s-staging-capi-operator/cluster-api-operator:dev](http://gcr.io/k8s-staging-capi-operator/cluster-api-operator:dev)"
        reason: ImagePullBackOff

What did you expect to happen:
run make test-e2e and make test-e2e-run successfully
To reproduce:
# in case you have run the `make-docker-build-e2e` before
$docker rmi gcr.io/k8s-staging-capi-operator/cluster-api-operator:dev
$make test-e2e-run

Tests time out waiting for capi-operator-system/capi-operator-controller-manager deployment to be available

Additional information:
I see we have 2 options in this case:

passing make-docker-build-e2e target to make test-e2e-run so that we always build the image first before running e2e tests locally
leave it to the user and document it properly somewhere mentioning that, running make-docker-build-e2e is a prerequisite for successfully running e2e tests locally

Any other suggestions?
Environment:

Cluster-api-operator version:main
Cluster-api version:v1.4.2
Minikube/KIND version:1.27.0
Kubernetes version: (use kubectl version):
OS (e.g. from /etc/os-release):macOS

/kind bug
[One or more /area label. See https://github.com/kubernetes-sigs/cluster-api-operator/labels?q=area for the list of labels]

Cluster API does nothing: https://github.com/kubernetes-sigs/cluster-api/blob/main/Makefile#L836
So, I think we just need to document this behavior and allow users to run "make docker-build-e2e && make test-e2e" if they don't have the image built.

Cluster API does nothing: https://github.com/kubernetes-sigs/cluster-api/blob/main/Makefile#L836
So, I think we just need to document this behavior and allow users to run "make docker-build-e2e && make test-e2e" if they don't have the image built.

yes, was checking it as well. Something like https://github.com/kubernetes-sigs/cluster-api/blob/f3e3bda15c62f6cecb235c943f4ff337ce4ab5d1/docs/book/src/developer/testing.md?plain=1#L178C1-L180 should suffice in that case, but not sure where we need to put them

/triage accepted
/kind documentation
/help
/good-first-issue

/remove kind/bug

/remove-kind-bug

/remove-kind/bug

/remove-kind bug

Hello I would like to take this up. Can you please let me know where should we put this text?
I think here we could add it with # symbol. So that any new user dont get confused again.


Performance improvements: revisit operator-invocation code in Compiler.cs or clean up obsolete comments

Compiler.cs contains many source-code comments such as the following:
https://github.com/PowerShell/PowerShell/blob/81d37fcb84c812e077c79623d8a1a6416207b196/src/System.Management.Automation/engine/parser/Compiler.cs#L5160-L5165
relating to many common operators.
It's worth revisiting the code there to see if across-the-board performance gains are to be had.
Update: @iSazonov comments:

I remember Jason commenting to me that we could remove the TODO comments because perhaps there does not exist direct and simple performance optimizations.

In that event, this issue can serve as a reminder to remove these comments.

The Issue does not have utility if you do not intend to enumerate all options and explore them.

if you do not intend to enumerate all options

Perhaps a common optimization - if any - can be applied to all locations where these source-code comments appear, but I personally have no idea.

and explore them.

I cannot personally explore them, but this issue has utility as a general reminder to someone who can.
And perhaps the only action needed is to simply remove the comments, after all.
/cc @lzybkr

I express no preference here on either the comments or issue.
It could be a good opportunity to explore dynamic sites as they are implemented elsewhere, but improvements might only be meaningful in micro-benchmarks.

@lzybkr Do we have any concrete examples in the code base where we've implemented perf optimizations with call sites and dynamic operands? Very curious about this, and I understand the concept and can do some simple things, but nothing too crazy and it would be nice with some existing references :)


feat(commit): 🎸 made commit the default command for ease

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update ETH/ERC20 handling for providing MCCN

[x] Use upcoming xchain-eth
[x] Update handling for ERC20 assets (currently we have ERC20 assets hardcoded for testnet)

Resolved by #1251


Change class name used for the passage wrapper

When I tried the script, it only show the citation column, without passage. Apparently Bible.com is now using the text-text-light dark:text-text-dark text-17 md:text-19 leading-default md:leading-comfy font-aktiv-grotesk font-medium mbe-2 as class names. The only class name that looks viable to me at the moment is text-17.

They switched it again 🤦♂
Thank you for your contribution; I'll get this merged after tests!


Source not included in maven release for email validation

The entire package, org.hazlewood.connor.bottema.emailaddress.simplejavamail doesn't exist in the latest 5.0RC sources.
If one downloads the sources from https://github.com/bbottema/email-rfc2822-validator, the source for EmailAddressValidator doesn't match the decompiled classes from simple-java-mail.
Of note, the package is also different between the two projects.

Will be in 5.0.0


Sentry: a.getModifierState is not a function

It appears if smth went wrong on the server. We need to catch server errors correctly and don't block forms


Recognize mdx jsx comments

Recognize JSX-style comments in .mdx files. E.g. {/* @BestPractice.insert <block id> */} instead of <!-- @BestPractice.insert <block id> -->;

I tried the local build against our docs and it works


router.js wrong case sensitivity for importing area

https://github.com/pressly/scene-router/blob/master/lib/router.js#L6
I got error because file name is Area.js but router.js using 'area'
import { Area } from './area'

@mrphu3074 thanks, it was fixed! you can use v2.0.6

Thank you!
Please! It requires more documentation. I do not know how to go to the
next scene.
05.02.2017 11:03, Phu Nguyen пишет:

https://github.com/pressly/scene-router/blob/master/lib/router.js#L6
I got error because file name is Area.js but router.js using 'area'
|import { Area } from './area' |
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pressly/scene-router/issues/23, or mute the
thread
https://github.com/notifications/unsubscribe-auth/APnSE9auasJVE7Sk51ioIwZPY82QAjv1ks5rZYI-gaJpZM4L3bVU.

They added a line storeless, you can connect to redux or mobx stores
So you have to use your custom store to change props in the main component.

Thank you!
07.02.2017 11:00, Phu Nguyen пишет:

They added a line |storeless, you can connect to redux or mobx stores|
So you have to use your custom store to change props in the main
component.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pressly/scene-router/issues/23#issuecomment-277927161,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APnSE6xbwqP4TSYE284nX2y5UphsbqXWks5raCSbgaJpZM4L3bVU.

@awkaw I do have an example at the end of the README.md
class App extends Component {
  constructor(props: any, context: any) {
    super(props, context)

    this.state = {
      area: "default",
      action: 'goto',
      config: {
        path: '/scenes/1'
      }
    }
  }

  render() {
    const { area, action, config } = this.state

    return (
      <Router
        area={area}
        action={action}
        config={config} />
    )
  }
}

you have to pass goto as action prop and a config object. the path property inside config object tells Router which scene you want to navigate to.


When drag'n'drop, automatically create root node if you haven't one yet and place there object you currently drag.

Currently, if you haven't anything in scene tree dock, when trying to drag'n'drop a picture (for example, in 2D) to viewport - you will get "No parent to instance a child at". Can be kinda confusing for newbies.
This PR fixes it (as requested in issue #12325 which this PR partially(or completely) fixes, and may be a number of issues listed there as related to #12325).
Now, when you drag'n'drop, it will automatically create root node and place item there.
This is how it looks in action: https://i.imgur.com/R8hZaSe.gifv
P.S. There is still number of places where we can get "No parent to instance a child at", but I don't know how to get there yet via editor :) But this one particular sample case - which you as newbie can get immediatelly after opening Godot & trying drag'n'drop something - is fixed.
If community will like this change, I can dig into other such places where we getting "No parent to..." and "fix" them too.

Also, as an alternative I have solution when no root Node + child is created, instead child created as  root. I suppose this approach experienced users will find more appropriate.
This is how it looks in action: https://i.imgur.com/5ZhCXYB.gifv (there is small position issue, but don't pay attention on it)

Implemented second approach in PR #13166
So now admins can choice which one they like most :)

We discussed it briefly on IRC and we all agreed that instancing a Node as root and a Sprite as children is cumbersome and not the expected result when dragging an image on an empty scene. #13166 is more interesting and still up for debate.


B 18312-multi-move-dashboard(MERGE-AFTER-B18310)(INTEGRATION)

Agility ticket
Summary
This PR introduces the Multi Move dashboard. When the service member logs in they are routed to the multi move dashboard. Had to comment out playwright tests in  playwright/tests/my/mymove
and playwright/tests/my/milmove/ppms because they depend on the Home page.
Verification Steps for Reviewers
These are to be checked by a reviewer.

[ ] Has the branch been pulled in and checked out?
[ ] Have the BL acceptance criteria been met for this change?
[ ] Was the CircleCI build successful?
[ ] Has the code been reviewed from a standards and best practices point of view?

Setup to Run the Code

Instructions for starting storybook
Instructions for starting the MilMove application
Instructions for running tests

How to test

Ensure that the multiMove feature flag is switched on
Log into MilMove as a service member
You should have been routed to the Multi Move Dashboard

Frontend

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, Edge).
[ ] There are no new console errors in the browser devtools.
[ ] There are no new console errors in the test output.
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.
[ ] This change meets the standards for Section 508 compliance.

Screenshots

Warnings

:warning:

Files located in legacy directories (src/shared or src/scenes) have
been edited. Are you sure you don’t want to also relocate them to the new file structure?
View the frontend file org ADR for more information

  Generated by :no_entry_sign: dangerJS against f0080652fb0777a9a84862df348b249bc885aedd

@TevinAdams make sure you're merging into integrationTesting and not main

I'm seeing a lot of files changed that I'm sure are not yours - any idea why your PR is a little muddy with other commits?


Update cheat-sheet.mdx

No need for the context in the change background color example
What is it?

[ ] Feature / enhancement
[ ] Bug
[x] Docs / tests

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Use cases and why

One use case

Another use case

Checklist:

[x] My code follows the developer guidelines of this project
[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[x] Added new tests to cover the fix / functionality

Thanks @gilf !

With pleasure


Fixing the issue that test records left in test database.

Fixing the problem that RSpec leaves record in test database after each test case is completed, which is messing up other tests which use ActiveRecord.
@ucsdlib/developers - please review

@hweng I don't see any test failures. What tests failed do you see?
I think we are using database cleaner to manage the test data as what Hyrax/Sufia do: https://github.com/projecthydra-labs/hyrax/blob/master/spec/spec_helper.rb#L158-L163, which is different from running every example within a transaction by turning config.use_transactional_fixtures = true.

@lsitu To clarify, It is for object created through ActiveRecord.  If you don't turn config.use_transactional_fixtures = true, The test record will be left in the test database and mess up other tests.
You can try it your local by create the object and tests using ActiveRecord, and you will see the problem.

Is it the test cases issue or a database cleaner issue that fails to ensure a clean state for testing,  see https://github.com/DatabaseCleaner/database_cleaner?

@lsitu It took me a while to figure the issue, and I'd be happy to save your time If you haven't tried it on your local yet - you can look into the circleCI test failures which create the test records through ActiveRecord:   https://circleci.com/gh/ucsdlib/horton/121,
you would see that they got failed because the test records didn't get clear up and messed up others.
And after I update config.use_transactional_fixtures = true, all tests have passed on my local.
Another you can try is to update the damspas app to turn the config.use_transactional_fixtures from "true" to "false", and you will see all the tests which create the object through ActiveRecord get failed.
I think it will help you understand the issues if you try it.

Looking at our existing configuration, it seems that while we do a clean when starting the :suite, and we ensure before :each spec we set the appropriate strategy, we do not explicitly clean between individual tests as we do with the ActiveFedora cleaner.
Between that, and the relevant example config on the gem readme, I wonder if that might be related? Specifically, I'm wondering if something like the following would suffice as a separate block would ensure expected behavior:
config.append_after(:each) do
    DatabaseCleaner.clean
end

@hweng I think it's good to try it with the database cleaner configuration above that Matt suggested. And I believe the following code could fix the errors you see as well:
  config.after do
    DatabaseCleaner.clean
  end

If not, it looks like it that the code validation error could be fixed with sequence in FactoryGirl like sequence(:code){|n| "code_#{n}" } as well since the code is expected it to be unique for your test:
 6) PagesController authenticated PUT update with valid params updates the requested page
     Failure/Error: @page = create(:page)

     ActiveRecord::RecordInvalid:
       Validation failed: Code has already been taken

@mcritchlow You are right that our current config has problem which don't clean between individual tests for object created by ActiveRecord.
To fix this issue, it turned out that just make "config.use_transactional_fixtures = true" would work.
We could certainly try the approach you suggested as well.
@lsitu I have to correct you, The source problem exists in the config which cause the test record left in the test database which mess up the other tests, that's why you see the failures that "Code has already been taken" and "count expected: 0 got: 2"  and etc.
The one you suggested "adding code sequence in FactoryGirl" won't fix the problems.
This problem will affect all the test objects created through ActiveRecord if we will add in the future, not just the Pages tests that I'm working on.

@lsitu, @mcritchlow  I agreed to try the other option: adding missing config for database cleaner in my last comment.
What i disagreed with you @lsitu is your suggestion adding in the individual test such as sequence(:code){|n| "code_#{n}" }, which won't fix the problem because the test records would still get accumulated and it would never get the expected results such as expect 0 count after destroy test. I hope you understand it.
I don't have strong opinion to use which way. Either turn "config.use_transactional_fixtures = true" or adding missing config for database cleaner,  Once the problem of "test records left in test database" got resolved, all tests will pass.

Try the option:  turn config.use_transactional_fixtures to be true:
https://github.com/ucsdlib/horton/commit/7a56d50cdf30396a65b65cdaefb3f2801f1b5780
Now all page tests passed:
https://circleci.com/gh/ucsdlib/horton/123
And I will try the other option: adding missing database cleaner config.

@mcritchlow @lsitu , Tested both approach, It turned out that either way would work, see above test results.
At this point I don't have strong opinion to use which, and it's totally fine for me to use the way "Adding more database cleaner configuration".
And I prefer to the following syntax because it follows the conventions of other databaseCleaner config in the same file:
config.after :each do |example|     DatabaseCleaner.clean   end
But again I don't have strong opinion about it, so let me know What you prefer to?

Some people compared the two:
http://stackoverflow.com/questions/13234454/test-speed-activerecord-use-transactional-fixtures-vs-databasecleaner-strategy
We only have page transaction use of ActiveRecord in our codebase so far.

Thanks for running the tests to confirm both strategies work.
That's a really interesting post you reference. It's a little old, but not that old. How about this, I'll create another ticket to look into this more. Doing so would involve work outside the scope of this ticket, which is to get the test suite passing with AR data. In it, we can look into the pros/cons of each system and do some actual benchmarking tests of our own to see if one solution is more performant than the other given our needs. I'm all for making our test suite as fast as possible 👍
For now though, since we already have the gem, I'd propose we keep using it with the supplemented configuration so you can wrap up #53
How does that sound?

@mcritchlow Sounds fine to me. The latest version of database_cleaner: https://rubygems.org/gems/database_cleaner/versions/1.5.3
And In horton it is still 1.3.
For DatabaseCleaner.clean loop, do you like the syntax I posted in the previous comment? Or do you like the other syntax instead?

By syntax are you referring to the use of the |example| block variable? Or putting the :each in parenthesis? Or are you referring to using :each as opposed to passing in no scope variable?
For the block variable, I don't think it's needed because it's not being used within the block. In the cases we're defining it, it's being used in the block.
For the method argument in parens vs not, I don't have much of an opinion. I think it can go either way and sticking with the existing convention seems good.
For :each vs nothing, if :each works (it does since the tests passed for you) then I think we're good to go as you wrote it.

I meant to be consistent with the current syntax,  which is same syntax as https://github.com/ucsdlib/horton/blob/develop/spec/spec_helper.rb#L60,
just replace "before" with "after". Is that fine to you?
Or do you want to replace all of them with other syntax?

Here it is, let me know if it looks fine to you?
https://github.com/ucsdlib/horton/blob/feature/rspec_config_update/spec/spec_helper.rb#L69
And let me know if you want to upgrade the database_cleaner to the latest version? And if to upgrade, do you want it in the same pull request or separate pull request?

Coverage remained the same at 85.55% when pulling be5043e7d83c1cd8a2701bc66d530f8fc17e262e on feature/rspec_config_update into a6db7439d0b01c1f49b34d592016c111b989c97d on develop.

Coverage remained the same at 85.55% when pulling e879e86202468a0bb71160cf8d0ce0fda7b10078 on feature/rspec_config_update into a6db7439d0b01c1f49b34d592016c111b989c97d on develop.

Looks good! If you don't mind updating the gem in this PR that would be great.
I think in general we need to be better about keeping gems up to date, thanks for offering.

I don't mind. I will test the latest version of gem with pages tests first, and then update it in this pull request.

@ucsdlib/developers - please review.

Coverage remained the same at 85.55% when pulling f11f7227cfe362fb5122a5844568791c8acccd8f on feature/rspec_config_update into a6db7439d0b01c1f49b34d592016c111b989c97d on develop.

@lsitu can you take a peek when you have a chance? I think we need an approval from you per your initial review requesting changes.
LGTM 👍

@mcritchlow 👍 Looks good! Thanks @hweng


Fix documentation for setNow/setCreatedAt/setUpdatedAt

Thanks! I'm always surprised at how much slips by edits.


Customised ALZ Modules

Let us know the feedback or general question
Hi Guys,
First off really grateful for the accelerator, absolutely helps us so much, so thank you!
Just wanted to question the Incorporating Modified ALZ Modules part, I've modified the vwanConnectivity.bicep module but it has dependencies on the privateDNS modules. Is it right that I'll need to copy both in the custom-modules location?
Thanks
Version
v0.16.0
Code of Conduct

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

Hey @awood86,
It's really your call. If you don't need to customise the private dns module and just want to consume it as it is. Then you don't need to copy the dependent modules.
Hope that helps.
Thanks
Jack

Would this be the best way to do this for every new build? By defining the upstream-release and version, or is there a better way you can advise on?
module modPrivateDnsZones '../../../upstream-releases/v0.16.0/infra-as-code/bicep/modules/privateDnsZones/privateDnsZones.bicep'

Hi @awood86,
We actually recently published some guidance on this here https://aka.ms/alz/bicep/accelerator
Check it out and let us know
Thanks
Jack

Hi @jtracey93, exactly what I was looking for thanks!


Support QnA-enabled category?

When creating a discussion category, there's an option to make it an "Open ended discussion" vs "Question / Answer". Discussions created in the latter category would have StackOverflow-style "selected answer" and other features enabled.
I don't know if this makes sense if we're embedding the discussion's comments on a webpage, though. I mean, we don't even include the discussion content itself, so...

I don’t think that this would make much sense unless you were trying to clone StackOverflow

@wgyt Yup, I agree. Thanks.
Closing this for now.


fast eli5.sklearn.permutation_importance?

Is there a way to make:
perm = PermutationImportance(estimator, cv='prefit', n_iter=1).fit(X_window_test, Y_test)
fast?
currently I am running an experiment with 3,179 features and the algorithm is too slow (even with cv=prefit) is there a way to make it faster?

@joelrich started an issue (#317) like that but it seemingly received no feedback. I would also vote for a parallel implementation.
How would we implement it to run in parallel? joblib.Parallel?

The new implementation of permutation importance in scikit-learn (not yet
released) offers some parallelism:
https://scikit-learn.org/dev/modules/generated/sklearn.inspection.permutation_importance.html
https://scikit-learn.org/dev/modules/generated/sklearn.inspection.permutation_importance.html#sklearn.inspection.permutation_importance

I think @jnothman reference is the best that we currently have. Does anyone know if this will be ported to Eli? thanks,

It seems even for relatively small training sets, model (e.g. DecisionTreeClassifier, RandomForestClassifier) training is fast, but using permutation_importance on the trained models is incredibly slow. (Currently using model.feature_importances_ as alternative)


Allow custom dll to export its run_target

This pull requests allows the custom DLL to export its own run_target implementation to make future fuzzing modes support more extensible.

Looks good, I just have one question: would using undecorated names also work on 32-bit (I assume so)? So that we can avoid decorated names at all (and associated IFDEFs). Also adding @mxmssh who originally implemented the dll extensions.

It is technically possible to avoid decorated names for x86 binaries.  But are we concerned about the backward compatibility issues here (e.g., legacy custom DLLs that I am not aware of)?

@mxmssh let me know if you have any comment on this PR :-)

Sure.  I will remove the decorated names.

Thanks for the patch!

Thank both of you for your reviewing efforts, @mxmssh @ifratric !

Thank you for the patch :-) Just one more question - why are the def files needed? Is __declspec(dllexport) in the source files not sufficient?

@ifratric For 32-bit x86 programs, __declspec(dllexport) can only export decorated names.  If we want to export non-decorated function names, the only way I know is to use a *.def file.

Ok, merging now. Thanks again!


Option to not remove WebCdn when running in dev mode

It appears that WebCdn is now automatically removed when running in dev mode.  The problem is that when I switch between doing a dev deploy and a regular deploy it takes about 5 minutes to do the teardown or re-creation of the Cdn.  It would be nice if the WebCdn teardown when running local mode could be disabled with config.
|  Created     Web sst:aws:SvelteKit → WebCdnWaiter sst:aws:DistributionDeploymentWaiter (260.0s)

we generally do not support workflows that involving flipping stages back and forth - there's too much that is differentcan you describe your use case a bit more?

the use case is when I'm doing local development against my personal stage in dev mode (which I LOVE btw) but for various reasons I need to do something which doesn't work well in dev mode so I need to switch and do a regular deploy to my personal stage temporarily before switching back to dev mode.  I try to stay in dev mode whenever possible but I will fairly frequently hit something which doesn't work well in dev mode which prompts me to switch to a regular deploy.  here are some of the issues I've encountered with dev mode which prompt me to switch:

I like to run our entire test suite against my personal stage before checking in my feature branch.  When running my project in dev mode, the test run is a lot slower and I frequently run into test errors which I never encounter when running against a regular deploy.  I haven't tracked down the issues yet but our test suite uses a lot of a parallelism so I suspect something related to that.  Running with pnpm workspace-concurrency to 1 seems to work more reliably but takes far too long.
logging to the console in dev mode is frequently out of order and sometimes hard to make sense of.  sometimes I'm trying to debug something which gets too hard to track with the logging all out of order so I'll do a regular deploy to see more properly ordered logs in cloudwatch
sometimes I'll just get my environment into some sort of bad state that I don't understand and restarting dev mode (always my first recourse) doesn't fix it.  this is admittedly vague and I haven't spent enough time tracking all these issues down but I've seen a variety of issues over the past month or so when my environment doesn't start up or a request fails or just some sort of general wierdness that I don't understand and if a dev mode restart doesn't fix it then I'll turn to a regular deploy and everything suddenly gets more stable.

yep, I was talking about terminal output being jumbled.  regarding the other issues, yes definitely once dev mode gets more stable I'll have no reason to switch to regular deploys so frequently.  thanks for the fixes!


Patch for supporting 2+ level components hierarchy and applying className only once

Patch for supporting 2+ level components hierarchy and applying className only once

@dcheng168 @j- 0.1.9 with this fix has been released on npm. And also, please check out the 0.2.0-beta.4 version and give any feedback, bugs, or submissions that you have so we can move that towards a release! It should improve your performance in builds, especially rebuilds, and be more compatible with other addons.

thank you @webark, I'll check it out ;)

I am on version 0.1.9 now and i am still experiencing duplicate class names on my components.
just a simple <fieldset> component with a styles.scss:
& {
  border-top: 1px .... ;
}

.fieldset-legend {
  margin-bottom 4px;
}

the resulting field set gets 4 duplicate classnames?


WIP: prow testing

Contains a drive-by fix for the -help message and fixes shutdown handling.

This is work-in-progress because there is no automated testing for this and, more importantly, it still doesn't quite work for me due to a permission issue:
E0313 15:24:08.005548       1 k8s_register.go:101] Failed to delete CSIDriver object: Unauthorized

That was on a slightly older revision for Kubernetes 1.13 though.

/test pull-sig-storage-csi-driver-host-path-kubernetes-master
/test pull-sig-storage-csi-driver-host-path-kubernetes-1-13

There is an E2E test now and the permission issue has been root-caused (removing RBAC rules before pod has terminated).

/test pull-sig-storage-cluster-driver-registrar-kubernetes-1-13
/test pull-sig-storage-cluster-driver-registrar-kubernetes-master

/test pull-sig-storage-cluster-driver-registrar-kubernetes-1-13
/test pull-sig-storage-cluster-driver-registrar-kubernetes-master

/test pull-sig-storage-cluster-driver-registrar-kubernetes-1-13
/test pull-sig-storage-cluster-driver-registrar-kubernetes-master

/test pull-sig-storage-cluster-driver-registrar-kubernetes-1-13
/test pull-sig-storage-cluster-driver-registrar-kubernetes-master

/test pull-sig-storage-cluster-driver-registrar-kubernetes-1-13
/test pull-sig-storage-cluster-driver-registrar-kubernetes-master

/test pull-sig-storage-cluster-driver-registrar-kubernetes-1-13
/test pull-sig-storage-cluster-driver-registrar-kubernetes-master

/test pull-sig-storage-cluster-driver-registrar-kubernetes-1-13
/test pull-sig-storage-cluster-driver-registrar-kubernetes-master

/test pull-sig-storage-cluster-driver-registrar-kubernetes-1-13
/test pull-sig-storage-cluster-driver-registrar-kubernetes-master

/test pull-sig-storage-cluster-driver-registrar-kubernetes-1-13
/test pull-sig-storage-cluster-driver-registrar-kubernetes-master

/test pull-sig-storage-cluster-driver-registrar-kubernetes-1-13
/test pull-sig-storage-cluster-driver-registrar-kubernetes-master

/test pull-sig-storage-cluster-driver-registrar-kubernetes-1-13
/test pull-sig-storage-cluster-driver-registrar-kubernetes-master

/test pull-sig-storage-cluster-driver-registrar-kubernetes-1-13
/test pull-sig-storage-cluster-driver-registrar-kubernetes-master

/test pull-sig-storage-cluster-driver-registrar-kubernetes-master

/test pull-sig-storage-cluster-driver-registrar-kubernetes-master

/test pull-sig-storage-cluster-driver-registrar-kubernetes-master

/test pull-sig-storage-cluster-driver-registrar-kubernetes-master

cluster-driver-registrar is deprecated, no need for this PR anymore


Admit incomplete theorems

theorem t1 : True := _
theorem t2 : True := t1  -- unknown identifier 't1'

This would simplify incrementally working on multiple theorems in parallel

I have noticed you prefer this style in the exercises for your course, which are full of errors caused by it. Why not just sorry the proofs? When I am writing Lean code I really don't like to have any errors at all, I plug all holes with sorry/admit, because I worry that one typo which causes an error 5 lines up will not be noticed if I allow errors everywhere.

I don't think this is directly related to the course exercises because there we have mostly independent theorems (for now). The thinking there was to say "Your solution is complete if all errors are gone". That could be trivially extended to "...and 'sorry' warnings", of course.

IOW, I meant to use _ above as a placeholder for a more complex incomplete proof, not as an representative example


"PostgreSQL10 workaround" fails with error "ERROR:  role name "pg_user" is reserved"

This workaround does not seem to be working. Running the script on postgres 10.10 yields:
ALTER USER PG_User SET search_path = fnRenames, pg_catalog, "$user", public;
ERROR:  role name "pg_user" is reserved
DETAIL:  Cannot alter reserved roles.

Version: PostgreSQL 10.10 (Debian 10.10-1.pgdg90+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516, 64-bit

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

ID: 69a7b6f6-6b86-78a0-9d6e-8adea232ba08
Version Independent ID: cf2c3de0-97f2-0890-729f-855e08514415
Content: Article about known issues/migration limitations with online migrations from PostgreSQL to Azure Database for PostgreSQL-Single server
Content Source: articles/dms/known-issues-azure-postgresql-online.md
Service: dms
GitHub Login: @HJToland3
Microsoft Alias: jtoland

@kagkarlsson - I'm looking into this issue and will get back to you as soon as possible.

@kagkarlsson - In this case, "PG_user" represents the username being used to connect to the migration source. Please let me know if you have additional questions on this point.

Thank you for the quick feedback! It is much appreciated!
Ok, slightly embarrassing that I did not catch that, to use my own source-user name. However, may I suggest that the query in the docs is updated to make it clearer that you are supposed to change the username?
Trying it out now.

@kagkarlsson - I updated the docs yesterday, adding a note that "PG_User" refers to the username being used to connect to the migration source. Thanks again!

@kagkarlsson We are going ahead and closing this thread.


fixes #105

Describe the bug
Created a new strategy/utils.ts file (with tests) exposing getNew for custom external decorators.
added docs for shortcutting decorators

fixes #100
fixes #105
fixes #99

To Reproduce
deno test --coverage --unstable
Proposed changes in this PR

expose the util function getNew(type)

Things to look at

[x] Test coverage
[x] Code Style
[x] Documentation (README.md, doc/, examples/, etc..)

going to give https://github.com/denoland/deno/issues/9184 a moment to bake, I'll revert the deno upgrade EoD tomorrow if it is not patched

going to give https://github.com/denoland/deno/issues/9184 a moment to bake, I'll revert the deno upgrade EoD tomorrow if it is not patched


Create 0000-01-02-AliFaizaan.md

I have created this new file what do you think ???

yes it looks grat

this looks fine

looks fine


Consolidation move manual show page to design system

What
Migrate the manual 'show' view to the design system layout.
This PR supersedes #2144.
Why
The entire Manuals Publisher app is being moved over to use the more modern design system and associated components. This change should also bring it more in line with Whitehall, reducing the usability friction for people who need to work across both apps.
Visuals
Before

After

Trello
Trello card
⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠
Follow these steps if you are doing a Rails upgrade.

@davidtrussler Thanks for your review, I've addressed your comments if you'd be so kind as to re-review 😄


Publish snapshots for all scala versions

Is there a way to publish snapshots for all Scala versions? Currently, a snapshot is published only for 2.13.8.
https://github.com/typelevel/otel4s/blob/2daac91e6433a2ceada991ed715130d1cdb29488/.github/workflows/ci.yml#L110-L118
I need to use a cross-published snapshot in https://github.com/typelevel/keypool/pull/396.
I assume, sbt-typelevel is capable of doing so. Unfortunately, I cannot spot the required setting.
@armanbilge could you give me a hint, please?

Are you looking for these?
https://s01.oss.sonatype.org/content/repositories/snapshots/org/typelevel/otel4s-core_3/

Hm, I guess I misconfigured the resolver. I was using the legacy sonatype host. Thank you for the clarification.


Completion of duplicated cmdlets

Steps:
I'm trying to complete Get-PSReadlineKeyHandler. I set Set-PSReadlineOption -EditMode Emacs. I have entered get-psread and pressed Tab.
What I got:
PS C:\Users\User> get-psread
Get-PSReadlineKeyHandler  Get-PSReadlineOption      Get-PSReadlineKeyHandler  Get-PSReadlineOption
PS C:\Users\User> get-psread

As you can see all of them start with Get-PSReadline.
Expected:
It should complete my input to Get-PSReadline and then after I enter K and Tab it should complete to Get-PSReadlineKeyHandler.

Sounds like a duplicate of #413.

I don't have TabExpansionPlusPlus.

Yeah, helpful in understanding the scope. Do you have multiple versions of PSReadline installed?

No, I don't think so.
Should I also post OS and PS versions and such?

That shouldn't make a difference.  I've seen it, just need to debug it sometime :)

I think I understand problem now.
There was problems with Install-Module in ps 5 and I have installed PsGet. There is now two Install-Module cmdlets. When I type insta and press Ctrl-Space I see something like this:
PS C:\Users\Brylyakov_EY> PsGet\Install-Module
Install-Dtc              Install-Module           Install-Package          Install-PackageProvider  Install-Script           > Install-Module

I marked selected entry with >.

Closing as dupe of #413.


Refactored ftp module.

Refactored ftp module to improve code readability.

we made other changes boi

we made other changes boi


Webpack module not found

When compiling using webpack a Module not found exception is raised:
Module not found: Error: Can't resolve 'markjs' in 'project\node_modules\datatables.mark.js\dist'
 @ ./node_modules/datatables.mark.js/dist/datatables.mark.js 23:4-25:6

This is due to this line:
https://github.com/julmot/datatables.mark.js/blob/master/dist/datatables.mark.js#L23
Which tries to import a module named markjs while in fact the correct module name is mark.js in NPM:
https://github.com/julmot/mark.js/blob/master/package.json#L2

Just found this was already a known issue:
https://github.com/julmot/datatables.mark.js/issues/7
May I suggest you document this on markjs.io ?
Webpack is one of the most used bundler, having to search in issues (let alone closed one) to make it work is suboptimal.

@nreynis Sure, Webpack should be supported. Can you please provide a minimal .zip example?


Add initial docs for Entity Pathfinders and Mob Goal API

I have not extensively used either of these API's in the past, however these seem to work

this needs notes on how vanilla selects which goals to activate and prolly some more caveats on how pathfinding works from somebody who actually uses the pathfinder, iirc it can ge all kinda wonky to call moveTo every tick.


Responsive only occurs when window changes

So I have the component in a bootstrap
<div className="col-md-6">

But for some reason it's only responsive if I move the window. Not sure what I should do?
Here's a video of what's happening.
https://www.youtube.com/watch?v=fMLYJOAmn7k

I'll look into this and get back to you

Can you share what your jsx looks like. I'm having issues replicating the bug here

@mbalex99 I just cloned this repo https://github.com/mbalex99/react-slides-bug-demo installed all the necessary dependencies and it worked fine on my browser. I use a chrome v70. Something must be wrong somewhere. I'm curious to find out what's happening.

Ah I see this thing is only happening with hot module reloading....
Maximilian Alexander
www.ditto.live ( http://www.ditto.live )
San Francisco, CA
Sent via Superhuman iOS<EMAIL_ADDRESS>)
On Sat, Nov 17 2018 at 9:13 AM, <<EMAIL_ADDRESS>> wrote:

@mbalex99 ( https://github.com/mbalex99 ) I just cloned this repo https://github.com/mbalex99/react-slides-bug-demo
installed all the necessary dependencies and it worked fine on my browser.
I use a chrome v70. Something must be wrong somewhere. I'm curious to find
out what's happening.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (
https://github.com/andela-foladeji/react-slideshow/issues/24#issuecomment-439632244
) , or mute the thread (
https://github.com/notifications/unsubscribe-auth/ACFSMWAK6emJaoEmiWpmg3kIXz-Jfkg2ks5uwEPUgaJpZM4YRirr
).


Android player has overlapping scrub bar

As described by @wski as a comment on a pull request:

Sometimes the scrub bar extends the entire width of the player overlapping the numbers, In addition the three dots menu doesn't work.
However forceUpdating the component seems to fix the scrubbing issue, and full screening then minimizing the player makes the three dots clickable again.

I have this issue too. Unfortunately forceUpdate() doesn't seem to fix things (or I'm calling it wrong somehow). The broken scrub bar is not consistent...sometimes it renders correctly, sometimes it doesn't. I'm not entirely sure what triggers it, or how to fix it.

For example, the scrub bar in this screenshot:


Avoid false negative Spring tests generated with fuzzer

Description
Spring unit tests generated with symbolic engine avoid branches whis thisInstance == null if being null is actually impossible.
For example, because variable with @InjectMocks annotation is never null.
Fuzzer currently does not support this restrictions, so we generate tests like this:
///region FUZZER: ERROR SUITE for method useAbs(int)

@Test
@DisplayName("useAbs: x = -3 (mutated from -1) -> throw NullPointerException")
public void testUseAbsThrowsNPE() {
    /* This test fails because method [org.springframework.samples.math.MathUser.useAbs] produces [java.lang.NullPointerException]
        org.springframework.samples.math.MathUser.useAbs(MathUser.java:10) */
  mathUser.useAbs(-3);
}
///endregion

This test passes and writes that should fail :)

@EgorkaKulikov
Let's consider the following questions:

Is it Ok to remove ALL tests on NPE in Spring Unit tests?
What if Spring configuration is incorrect and this NPE will be thrown?
Terminology. Such cases are considered to be false positive - if I'm not mistaken.
They are false positive to question: "Is there an error?"

depends on #2321


xilem_html: Add more text views (support numbers directly as view)

I wanted to use numbers as view directly. I don't see why we shouldn't support that, this adds support for that in xilem_html.
(And it reduces a little bit of the string view boilerplate)

Yes, that was my thought as well, just a convenience, when the format is correct anyway (e.g. for integers) or it doesn't really matter.
Thanks.


dyld: mach-o, but built for simulator (not macOS)

Hello,
I'm trying to get the examples up and running locally, but I keep running into this error:
   Compiling bitflags v0.5.0
   Compiling libc v0.2.10
   Compiling sdl2-sys v0.8.1
   Compiling lazy_static v0.1.16
   Compiling rustc-serialize v0.3.19
   Compiling num-traits v0.1.32
error: failed to run custom build command for `sdl2-sys v0.8.1`
process didn't exit successfully: `/Users/pete/dev/rust/rs-sdl2-examples/target/debug/build/sdl2-sys-c7eb5dcf49e9793e/build-script-build` (signal: 6, SIGABRT: process abort signal)
--- stderr
dyld: mach-o, but built for simulator (not macOS)

Build failed, waiting for other jobs to finish...
error: build failed

when I run cargo build.
I'm on OSX and have installed SDL2 via homebrew. Am I missing a setup step or something?

I've never used OSX before, I recommend you that you ask on #rust or #rust-gamedev channels on Mozilla's IRC
On Jun 9, 2017, 07:24, at 07:24, Peter Mertz<EMAIL_ADDRESS>wrote:

Hello,
I'm trying to get the examples up and running locally, but I keep
running into this error:
  Compiling bitflags v0.5.0
  Compiling libc v0.2.10
  Compiling sdl2-sys v0.8.1
  Compiling lazy_static v0.1.16
  Compiling rustc-serialize v0.3.19
  Compiling num-traits v0.1.32
error: failed to run custom build command for `sdl2-sys v0.8.1`
process didn't exit successfully:
`/Users/pete/dev/rust/rs-sdl2-examples/target/debug/build/sdl2-sys-c7eb5dcf49e9793e/build-script-build`
(signal: 6, SIGABRT: process abort signal)
--- stderr
dyld: mach-o, but built for simulator (not macOS)

Build failed, waiting for other jobs to finish...
error: build failed

when I run cargo build.
I'm on OSX and have installed SDL2 via homebrew. Am I missing a setup
step or something?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/AngryLawyer/rust-sdl2/issues/671

Success! The issue is solved.
Explanation: Somewhere in my $PATH was an alternate version of sdl2 that was compiled for mobile, specifically iOS. This file preceded my installed version and therefore when rust-sdl2 attempted to compile it failed because of an architecture error.
Solution: I didn't feel like combing through my various paths and have been meaning to do this for a while, so I wiped my computer and tried again and succeeded. I know this isn't a good solution for most, so I'd recommend searching through your computer or $PATH folders trying to find libSDL2.dyld. When you find it, remove it, reinstall via the instructions in this repo's readme, and you'll be ready to roll!


Use const fn

Rust 1.46 significantly extends const fn support, so now it's possible to perform all calculations at compile time (and hence invoke crc in const context). This PR makes all funcs const (with the only exception Digest.update, which mutates state and not yet available in stable).

Thanks for the PR.
I'm a bit rusty and requested @akhilles for a deeper look
any thoughts on release plan?

any thoughts on release plan?

This changes require stable rust, so migration is not that painful.
There is v2 coming up, would it make sense to include these changes in the major release?

Supportive of that.
What do you think about adding/updating some tests to prevent accidental regression?


wiki: apt-get install golang-1.8-go: did not work

What operating system and processor architecture are you using (go env)?
ubuntu 16.x
What did you do?
provision vagrant box to run some go app,
$provision = <<SCRIPT
sudo apt-get -qq update
sudo apt-get install -y libleptonica-dev libtesseract-dev tesseract-ocr imagemagick

sudo add-apt-repository -y ppa:longsleep/golang-backports
sudo apt-get update -y
sudo apt-get install -y golang-1.8-go

go version
go env

go get github.com/otiai10/ocrserver/...
 Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

[mh-cbon@pc4 ocrserver] $ vagrant ssh -c "go env"
bash: go: command not found
Connection to <IP_ADDRESS> closed.

[mh-cbon@pc4 ocrserver] $ vagrant ssh -c "go1.8"
bash: go1.8: command not found
Connection to <IP_ADDRESS> closed.

[mh-cbon@pc4 ocrserver] $ vagrant ssh -c "go18"
bash: go18: command not found
Connection to <IP_ADDRESS> closed.

[mh-cbon@pc4 ocrserver] $ vagrant ssh -c "go"
bash: go: command not found
Connection to <IP_ADDRESS> closed.

[mh-cbon@pc4 ocrserver] $ vagrant ssh -c "sudo apt-get install -y golang-1.8-go"
Reading package lists... Done
Building dependency tree
Reading state information... Done
golang-1.8-go is already the newest version (1.8.3-2ubuntu1~longsleep1-xenial).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Connection to <IP_ADDRESS> closed.

[mh-cbon@pc4 ocrserver] $ vagrant ssh -c "go"
bash: go: command not found
Connection to <IP_ADDRESS> closed.

[mh-cbon@pc4 ocrserver] $ vagrant ssh -c "sudo apt-get install -y golang-go"
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  golang-race-detector-runtime golang-src
The following NEW packages will be installed:
  golang-go golang-race-detector-runtime golang-src
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 30.0 kB of archives.
After this operation, 72.7 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/longsleep/golang-backports/ubuntu xenial/main amd64 golang-src amd64 2:1.8~1ubuntu2~xenial [3,684 B]
Get:2 http://ppa.launchpad.net/longsleep/golang-backports/ubuntu xenial/main amd64 golang-go amd64 2:1.8~1ubuntu2~xenial [22.9 kB]
Get:3 http://ppa.launchpad.net/longsleep/golang-backports/ubuntu xenial/main amd64 golang-race-detector-runtime amd64 2:1.8~1ubuntu2~xenial [3,480 B]
Fetched 30.0 kB in 1s (20.8 kB/s)
Selecting previously unselected package golang-src.
(Reading database ... 68642 files and directories currently installed.)
Preparing to unpack .../golang-src_2%3a1.8~1ubuntu2~xenial_amd64.deb ...
Unpacking golang-src (2:1.8~1ubuntu2~xenial) ...
Selecting previously unselected package golang-go.
Preparing to unpack .../golang-go_2%3a1.8~1ubuntu2~xenial_amd64.deb ...
Unpacking golang-go (2:1.8~1ubuntu2~xenial) ...
Selecting previously unselected package golang-race-detector-runtime.
Preparing to unpack .../golang-race-detector-runtime_2%3a1.8~1ubuntu2~xenial_amd64.deb ...
Unpacking golang-race-detector-runtime (2:1.8~1ubuntu2~xenial) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up golang-src (2:1.8~1ubuntu2~xenial) ...
Setting up golang-go (2:1.8~1ubuntu2~xenial) ...
Setting up golang-race-detector-runtime (2:1.8~1ubuntu2~xenial) ...
Connection to <IP_ADDRESS> closed.

[mh-cbon@pc4 ocrserver] $ vagrant ssh -c "go env"
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/ubuntu/go"
GORACE=""
GOROOT="/usr/lib/go-1.8"
GOTOOLDIR="/usr/lib/go-1.8/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build747827949=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
Connection to <IP_ADDRESS> closed.
[mh-cbon@pc4 ocrserver] $

What did you expect to see?
The commands provided in the wiki page at https://github.com/golang/go/wiki/Ubuntu just works out of the box without confusion.
What did you see instead?
needed to fix tings.

But it's at the bottom of the page:

If you're using Ubuntu 16.04 LTS [..] use
sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt-get update
sudo apt-get install golang-go

In the initial script you did
sudo add-apt-repository -y ppa:longsleep/golang-backports
sudo apt-get update -y
sudo apt-get install -y golang-1.8-go     <------ should be golang-go

and then, when you run the correct command later
$ vagrant ssh -c "sudo apt-get install -y golang-go"

it finally worked. So what's the issue here? It seems to me that the wiki instruction for 16.X at the end of the page are correct.

all good then.


Interactive tutorial is not accessible to blind programmers

Walter Bright (@WalterBright) reported this on 2017-08-30T09:19:25Z
Transferred from https://issues.dlang.org/show_bug.cgi?id=17794
CC List

berni44 (@WalterBright)

Description
jareds was kind enough to do a quick evaluation of dlang.org's accessibility to blind programmers. Here is his report:

"The site appears to generally be accessible with the exception of the interactive tutorial. I'm not a web accessibility expert so don't know the details. There are two major issues. The biggest one is my inability to arrow through the code in an edit field. I can read the text outside of the edit field, but it's difficult since line numbers are interspersed with the text. My assumption is that your using an open source editor which is inaccessible, but I have not had the time to look at the tutorial on Github. The second issue is that there are buttons that my screen reader reads as "button". While run, edit, and format are read properly several other buttons are not."

bugzilla (@WalterBright) commented on 2019-12-18T10:36:19Z
Just go to one of that pages (e.g. https://tour.dlang.org/tour/en/welcome/welcome-to-d) and remove the stylesheet (i.e. choose page style = "no style" or something similar in your browser) to see, what is meant.


Add binary FUSE failure metric

Issue #, if available:
Description of changes:
Testing performed:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

I'm closing this PR for. I think refactoring our metric system is a bigger design issue and I'd rather not conflate it with the binary metric implementation. I'll create a separate issue for refactoring our metric system.


[type: bug] fix Connection has been closed BEFORE response.

// Describe your PR here; eg. Fixes #issueNo

Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

check ci

Codecov Report

Merging #2664 (fd59ff6) into master (a5a3203) will decrease coverage by 0.80%.
The diff coverage is 18.18%.

@@             Coverage Diff              @@
##             master    #2664      +/-   ##
============================================
- Coverage     61.21%   60.40%   -0.81%
+ Complexity     4334     4292      -42
============================================
  Files           660      660
  Lines         18995    19036      +41
  Branches       1684     1695      +11
============================================
- Hits          11627    11499     -128
- Misses         6410     6592     +182
+ Partials        958      945      -13

Impacted Files
Coverage Δ

...plugin/httpclient/config/HttpClientProperties.java
0.00% <0.00%> (ø)

...ugin/httpclient/HttpClientPluginConfiguration.java
23.80% <66.66%> (ø)

...gister/server/consul/ConsulConfigChangedEvent.java
0.00% <0.00%> (-85.72%)
:arrow_down:

.../server/consul/ConsulServerRegisterRepository.java
0.00% <0.00%> (-80.44%)
:arrow_down:

...rg/apache/shenyu/admin/utils/ThreadLocalUtils.java
0.00% <0.00%> (-66.67%)
:arrow_down:

...n/alibaba/dubbo/cache/AlibabaDubboConfigCache.java
43.75% <0.00%> (-31.25%)
:arrow_down:

...gin/apache/dubbo/cache/ApacheDubboConfigCache.java
43.03% <0.00%> (-29.12%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
67.85% <0.00%> (-10.72%)
:arrow_down:

...cloud/init/SpringCloudClientBeanPostProcessor.java
67.44% <0.00%> (-10.11%)
:arrow_down:

...apache/shenyu/admin/utils/ShenyuDictH2Trigger.java
63.63% <0.00%> (-9.10%)
:arrow_down:

... and 31 more

Continue to review full report at Codecov.

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


Show which options are already saved in elmclient quizzes

As a user, when I edit a quiz on which I've already worked, I want the checkboxes and radio boxes to show my saved options.

Here's how I think this should be accomplished. I'm keeping two lists, one of the "saved options" and one of the "checked options". The "saved" label in the interface comes from the first list. It seems to me that I ought to set the "checked options" equal to the "saved options" when I first load the saved options.


Dio Equivalent of httpClient.postAsJsonAsync() method

Request Statement
I want to know if there is dio equivalent of httpClient.postAsJsonAsync() method.
I want to know because i want to be able to send request along with a model encoded as json.
this particular method is from the C# .net core.
its further explanation as provided by microsoft is
public static Task<HttpResponseMessage> PostAsJsonAsync<T>(     this HttpClient client,     string requestUri,     T value )
Parameters
client
Type: System.Net.Http.HttpClient
requestUri
Type: System.String
value
Type: T
for further info please refer to this.
https://learn.microsoft.com/en-us/previous-versions/aspnet/hh944682(v=vs.118)
Solution Brainstorm
No response

Hey, you can take a look at the examples: https://github.com/cfug/dio/tree/main/dio#examples
Especially this one:
response = await dio.post('/test', data: {'id': 12, 'name': 'dio'});

That should get you started.


Error connecting to db:27017 (<IP_ADDRESS>:27017) :: caused by :: Connection refused :

MongoDB shell version v4.2.0
connecting to: mongodb://db:27017/admin?compressors=disabled&gssapiServiceName=mongodb
2019-10-17T03:30:21.633+0000 E  QUERY    [js] Error: couldn't connect to server db:27017, connection attempt failed: SocketException: Error connecting to db:27017 (<IP_ADDRESS>:27017) :: caused by :: Connection refused :
connect@src/mongo/shell/mongo.js:341:17
@(connect):2:6

Can you downgrade to 3.* version of mongo and try again?

downgraded to 3-xenial but still same issue.
Please suggest

Containers are going to exited state:

Error log for :db-setup_1

Error log for:mongo:3.6

Error log for hygieia collector:

Docker.compose.yml:
version: '3'
services:
db:
image: mongo:3.6
ports:

"27017:27017"
volumes:
"db-data:/data/db_1"

db-setup:
build: db
depends_on:

db

api:
image: hygieia-api
depends_on:

db
environment:
AUTH_EXPIRATION_TIME= 36000
AUTH_SECRET= secret

ui:
build: UI
image: hygieia-ui
stdin_open: true
tty: true
depends_on:

api
ports:
"8000:80"

hygieia-build-jenkins-collector:
build: hygieia-build-jenkins-collector
image: hygieia-build-jenkins-collector
depends_on:

db-setup

volumes:
db-data:
certs:
docker-compose.override.yml:
version: '3'
services:
hygieia-build-jenkins-collector:
environment:

JENKINS_CRON= 0 * * * * *
JENKINS_MASTER= http://<IP_ADDRESS>:8080
JENKINS_USERNAME= Dragon
JENKINS_API_KEY= 11df470af887b7e5051d7d22a79943ae59
MONGO_PORT= 27017
MONGO_HOST= 27017

hygieia-build-jenkins-collector:
FROM openjdk:8-jre
VOLUME ["/hygieia/logs"]
RUN mkdir /hygieia/config
EXPOSE 8080
ENV PROP_FILE /hygieia/config/application.properties
RUN chmod -R a+x /hygieia
WORKDIR /hygieia
COPY target/*.jar /hygieia
COPY docker/properties-builder.sh /hygieia/
RUN sed -i -e 's/\r$//' ./properties-builder.sh
CMD ./properties-builder.sh &&
java -Djava.security.egd=file:/dev/./urandom -jar *.jar --spring.config.location=$PROP_FILE
Please help here to resolve this issue

Can someone please help here

This is a duplicate of #3178


WIP: hugolib: Enable nested sections

Fixes #465

This is mostly done now, but a fair amount of TODOs in there that need to be handled.
Performance should be just about the same, looks slightlly faster:
▶ ./benchSite.sh "TOML,num_root_sections=5,num_pages=1000"

github.com/spf13/hugo  master ✔                                                                                19h30m
▶ benchcmp pre.bench post.bench
benchmark                                                           old ns/op     new ns/op     delta
BenchmarkSiteBuilding/TOML,num_root_sections=5,num_pages=1000-4     114543797     111523225     -2.64%

benchmark                                                           old allocs     new allocs     delta
BenchmarkSiteBuilding/TOML,num_root_sections=5,num_pages=1000-4     595315         602237         +1.16%

benchmark                                                           old bytes     new bytes     delta
BenchmarkSiteBuilding/TOML,num_root_sections=5,num_pages=1000-4     68144409      68539393      +0.58%


Different action for onClear

Is it possible to define a different action for when we click on "clear" Icon? Would be very useful for some specific cases.

@julioxavierr I've been working on a rewrite that drops react-virtualized support (see #54) and also looking to support customization of the adornments (like clear, see also #36) probably via React.createContext (similar to this example
No ETA on the new version, but hopefully sooner than later :).  Plan to resolve a large majority of the open issues with it (though simplification) but want to make sure I get it right.

Thanks for the early reply!
My team and I are using mui-downshift for a few months with relay, so this changes would be great.

I use it with OData (via react-odata) and have had good success with it thus far in production.  Dropping react-virtualized should fix some issues and open up more capability.


Update googlefonts.py com_google_fonts_check_062

Shift from FAIL to WARN
Improve 'gasp' table check result strings
Move rationale from result to docstring

Thank you @felipesanches :) Looking forward to seeing that 0.4.0 release cut!

sure! It should have been released on the weekend. But I ended up spending a bit more time on the final touches on the markdown reporter, which now is merged, so I'm moving on to cut a release.
(Note: #1835 is important, but should not block a release, so I'll take care of that one later.)


How to do something after streaming body?

This is a noob question, not really an issue. I'm trying to stream a response and then do stuff after that finishes. Specifically (for now) I'm computing a sha256 of the response body, and need to call finalize(). Here's one attempt to do that: https://github.com/nlevitt/warcprox-rs/blob/master/src/main.rs
You can run this with cargo run and in another terminal execute for example curl -k -gvsS --proxy http://<IP_ADDRESS>:8000 https://example.com/.
The problem is that the None case in poll_next() is never called.
It would be even nicer to be be able to chain some sort of finally to the end of the body stream, but I'm not sure if that's possible. https://github.com/nlevitt/warcprox-rs/blob/stream-combinators/src/main.rs#L63

What I imagine might be happening is that hyper is using the content-length header under the hood to determine when to stop polling the body. If you were to inspect the content-length header yourself and keep track of how many bytes have been streamed you should be able to determine when all the bytes have been sent.

Oh, that's a good idea. I can confirm that the None case is called when the response has no content-length header, tested with
curl -k -gvsS --proxy http://<IP_ADDRESS>:8000 https://httpbin.org/stream-bytes/10

Also figured out how to do a sort of finally combinator based on a suggestion someone made on discord:
        let body = Body::wrap_stream({
            let mut sha256 = Sha256::new();

            BodyStream(body)
                .map_ok(move |buf| {
                    info!("{:?}", buf);
                    sha256.update(&buf);
                    buf
                })
                .chain(once(async {
                    info!("finished the stream");
                    Ok(Bytes::new())
                }))
        });

Unfortunately this suffers from the same problem as poll_next. The chained stream never gets called if there's a content-length on the response.
Basing logic on the content-length seems like something better to avoid, if possible, because to be fully correct it's important to match hyper's logic exactly for corner cases, which is both error-prone and redundant.
So I had another idea that does seem to work in every case, implementing Drop on my stream class. https://github.com/nlevitt/warcprox-rs/blob/a0339eec/src/main.rs#L66

You should also be able to delete the content-length header from the response in your handler, which will cause hyper to stream the body to the client. In this case, hyper should exhaust the stream, and you wouldn't require the custom Drop implementation.

I haven't tested this but I think that deleting the content-length header may cause problems with persistent connections (multiple requests on the same TCP connection). I'm happy with Drop for now. My impression is that using Drop is idiomatic rust.


Basic support for large fonts

This PR replaces https://github.com/Allen-Synthesis/EuroPi/pull/226 which has become too messy to merge.
The files in the experimental/ folder must be copied in the lib/ folder on the EuroPi.
A simple demo/test is provided in contrib/largefont_demo.py.

Hi,
I'm on a business trip. I won't have the time to review your suggestions until next week-end.
I'm sorry.

Hi,
I'm on a business trip. I won't have the time to review your suggestions until next week-end.
I'm sorry.

No worries, we’re all volunteering our time. There’s no expectation that anyone replies with a certain timeframe.

@francoisgeorgy Thank you for all of your hard work on designing this new feature for the EuroPi! And thank you for being open to the extra scrutiny in our reviews that touch the firmware (which affects all scripts).
I've chimed in with a few opinions, but overall I think you & @mjaskula have some great ideas an have this all under control.

@awonak Thanks for your feedback. And no worries for the scrutiny. It's totally normal and doesn't bother me at all. I simply regret I don't have more time available to advance more quickly.

I'm pretty sure we can now all agree that a new CustomFontDisplay is probably the best way to go. I will implement this asap and update the PR.
Thanks for your comments and reviews.

Hi,
I created a new Display class in the experimental/custom_font.py module.
This Display class can be used in place of the europi Display class when one want to use custom fonts.
I wrote a bit of documentation in experimental/custom_font.md
I removed all the changes I previously made in europi.py and hoped the pull-request was not going to include europi.py anymore. But, unfortunately, it's not the case. Anybody has an idea how to fix this simply?
Right now I unfortunately have very little time to code. Barely an hour or two a week. I will try to do my best to update this PR to the stage where it will be ready for a merge, but it may take some time.
If, in the meantime, someone wants to take over, I don't see any problem and this could be beneficial for the project.
Thank you for your understanding.

Hi,
Hey, no need to apologies :-)  I'm not very active either.
I'm sorry for my silence. I am completely overwhelmed by the finalization of a large project at work.
I will find some time over the next few days and respond to your excellent comments.
Thanks for your understanding.

Hi,
Sorry for my silence. Unfortunately, I don't find the time to work on my personal projects at the moment. Work and family occupy me 200%.
I agree with all the excellent comments and suggestions shared so far.
I originally implemented this very simple support for large fonts, because I just needed to be able to read my EuroPi's display from a distance.
I really wish I could come up with a fuller, more elegant implementation, and better quality fonts, but right now I don't even have time to play around with my modular synth.
I hope to have time from June. If, in the meantime, someone wants to take over and continue this integration, I will of course see no inconvenience, quite the contrary.
Thank you for understanding.

I've moved this to a new PR (#293) so that I could make the changes suggested/requested by @awonak and @mjaskula, but please feel free to still contribute if you have ideas or changes @francoisgeorgy. I don't mean to take away from the work you've done at all, I just want to use a large font for playing around with new scripts and realised how close this got to being finished!


when build source code show up  com.navercorp.pinpoint.grpc.trace  non-existent

when i excute command 'mvnw install -pl web -am -Dmaven.test.skip=true'   Execute to  pinpoint-profiler part  can not find
com.navercorp.pinpoint.grpc.trace Is the source code missing？？

pinpoint version 2.3.0

The packaged source code is missing files

how do you resolve?


Excuse me, Where is dapr sidecar source code ?

In what area(s)?

/area runtime

/area operator

/area placement

/area docs

/area test-and-release

Ask your question here
Excuse me, Where is dapr sidecar source code ?

pkg/runtime


[Packaging] Required test file deleted

In 3b1a0dd760c099f78e82e27a9155bca17b27225e tests/unittests/ImageIO/photo7_4layers_683x1024.gif was deleted, which is causing test failues.  Unsure why this did not cause a test failure for the commit.

@aballway commit 78f6f8baf24cf87ca065fbc6f9efa0a712b9edc5 put it back. pull latest and you should be good to go. It snuck in because I didn't run a build for the commit since it was adding an unused (at the time) file.


Itemdumper no longer working with memcached 1.5.1

Is there anyone still maintaining this project? And is there a chance to make it work with memcache 1.5.x+?

Hi @fabriziobonavita , thanks for the report.
Actually it's possible to make it work on memcached after 1.5, and it has to be by having '-o inline_ascii_resp' option while starting the memcached server.
This is because the detection is based on a feature in the way mc storing the data internally.  However, 1.5.x made 'modern' mode as default which enabled 'no_inline_ascii_resp' thus invalidated this detection hack.
Maybe there can be other detection method which needs not this workaround, but I can't promise that.


Run browser functional tests in CI builds

I kinda reworked the test runner code this morning in rage and frustration with issues I was seeing in Travis. As a benefit, it feels cleaner :). I refactored a piece of the code into a separate "package" (though it isn't something we pack and ship) called webdriver-tap-runner, which runs any URL that renders TAP output in a particular way. Our test script now just has to launch the server and then run this tool against that URL.
It turns out, that rage and frustration was misdirected, as I then realized that the reason the builds weren't working properly on the CI but were working locally was because I didn't properly clean my repo locally... turns out the build scripts weren't producing the necessary JavaScript files in the right order (see comments in repo.targets below). Still, it's a lot cleaner and I was doing other work in parallel on Wednesday when peak frustration hit 😝
It paid off in the end though:

Big :up: :date:. Waiting for approval, but otherwise ready to merge.
A few major changes:

npm test in the FunctionalTest folder now does a bunch more building before running (it builds the TS, it builds the FunctionalTest projects). This means the only prereq for npm test in the FunctionalTests folder should be ./build /t:Restore.
Using chromedriver natively rather than via Selenium - This removes our dependency on Java
Added a wrapper script that checks if Chrome is available and skips the tests if it isn't (a future PR will enforce that the tests must run on CI machines, drawing out configuration errors)

CI failures seem to be MyGet feed problems... I'll restart them.

They're going to fail until the new bits are pushed

Ooh! Actually got it to run now (since dev is working again) and got some kind of error. Will take a look tomorrow.

Blocking this on #1564 because there is a test that is failing because of problems with the base64 encoding.

@anurse is this unblocked now?

Looking better :). I'll take a look at what the failed build is.


GenerateMips is causing TDR

When using GenerateMips API, driver is resulting in TDR. Not sure of what is actually causing this problem.
Debug layers were enabled, following is the output which was received:
D3D12 ERROR: ID3D12Device::RemoveDevice: Device removal has been triggered for the following reason (DXGI_ERROR_DEVICE_HUNG: The Device took an unreasonable amount of time to execute its commands, or the hardware crashed/hung. As a result, the TDR (Timeout Detection and Recovery) mechanism has been triggered. The current Device Context was executing commands when the hang occurred. The application may want to respawn and fallback to less aggressive use of the display hardware). [ EXECUTION ERROR #232: DEVICE_REMOVAL_PROCESS_AT_FAULT]
Any idea on how to proceed further?

To provide more details:

Format is DXGI_FORMAT_R8G8B8A8_UNORM
Image size is 640x360
Number of mips to be generated is 4
TypedUAVLoadAdditionalFormats is supported and StandardSwizzle64KBSupported is not supported

Sometime mipmap generation works and sometimes it doesn't

What device are you using?

Intel(R) UHD Graphics

Sorry, the attachment is missing.
It's likely a driver bug, but you could try D3D11_CREATE_DEVICE_DISABLE_GPU_TIMEOUT.

Added D3D12_COMMAND_QUEUE_FLAG_DISABLE_GPU_TIMEOUT, since all processing is happening using D3D12.
With this change, MipMap generation is working, also I had to wait for execution completion after ExecuteCommandLists API is called.
Any concerns with respect to using the timeout flag?

I suggest reporting this as a driver bug to Intel.