issue loading translations of other Nova modules

There's an issue loading translations for other Nova modules. This might be related to the nova-translations-loader plugin I've used for translating the Vue buttons of this package. I've posted an issue there: https://github.com/optimistdigital/nova-translations-loader/issues/6

PR created for fix in optimistdigital/nova-translations-loader library at https://github.com/optimistdigital/nova-translations-loader/pull/7

Lets wait for that PR to be accepted.

The PR has been accepted & merged. So the fix will likely be available in a new release.

Issue fixed in v3.1.2 of optimistdigital/nova-translations-loader, closing issue here.

No need for a new PR then?

Issue fixed in v3.1.2 of optimistdigital/nova-translations-loader, closing issue here.

No need for a new PR then?

I updated the minimum version in composer.json just in case. But it worked in my project without that too. PR #4

I have merged and released v2.1.1. thanks for the pr


Tooltip render layer issue

Describe the Bug
I am using fabric 1.20.1, mod version is newest release.
In the mission Screen, when the mouse hovers over the missions on the left, the tooltip will be incorrectly rendered below the missions on the right.

i found if i change language to en_us, the issue does not produce.
i am using Chinese(Simplified), my translation comes from a resource pack loaded with openloader(another mod) ,  i dont know if this helps
Reproduction Steps
1.use Chinese translation resourcepack loaded with openloader
2.open mission screen
3.hovers over the missions on the left
Resource pack:
RESOURCEPACK.zip
Expected Result
No response
Additional Context, Mod version and loader
No response

i cannot reproduce the issue, or am i in the wrong language?

i cannot reproduce this so i am closing the issue, if you have a way of reproducing reopen


Oscillation in movement

Hi,
I am trying this local planner in auto-parking with a electric car. Now, I can successfully complete the auto-parking scenario in the simulation.  But the problem is that  the "/cmd_vel/angular/z" is frequently changed within a short time when the car is moving. This effect can be ignored in the simulation but when testing in the car,the controller steer can't adjust the route with a high frequently changeable direction. Especially, when the car is moving near some obstacles, the angular/z is more unstable.
So,is there any parameters can be tuned to make the angular/z change more stably? Or other ideas can solve this problem?
Thanks

Hi,
for velocity smoothing I use the yocs_velocity_smoother as found in [1]. You should make sure that at least the speed limits are the same like setup in the teb_local_planner. The acceleration limits should not differ too much from those setup in the teb_local_planner.
1: https://github.com/yujinrobot/yujin_ocs

Thank you for your comment:)

Is this problem solved? (Do you use /cmd_vel/angular/z as angular velocity or is the steering-angle mode enabled, i.e., that /cmd_vel/angular/z defines the angle of the steering wheel?)
If the problem is not solved yet, please try the most recent version of the planner and reopen the issue.


Page is loading at the top of the window. Hash URLs rendered useless when going to links. Help!

If I'm on the root page "/" and click an anchor such as "/#link", the skrollr takes me there just fine. However, when I go to the actual /#link URL, it jumps back to the top of the page right after loading. Something in my skrollr.menu.init function seems to be doing the problem:
My project:
http://prbbi.com/services/pr/test/
So for example, if you go to this link, it jumps back to the top of the page after loading:
http://prbbi.com/services/pr/test/#reports

Has anyone found a solution yet?

 But it works at least. The following code checks the url for a hash tag. If there is one it grabs it and sets the url after loading the page and a delay of 400ms (unload without settimeout doesn't work).
document.addEventListener("DOMContentLoaded", function () { 	setTimeout( function() { 			if (location.href.search("#") > 0) { 			    var hashPosition = location.href.search("#"); 			    var pageJumpUrl = location.href.slice(hashPosition); 			    location.href = pageJumpUrl; 			} 	},400);    },false);


ERROR after importing @angular/material and MatInputModule in my Angular project

I nearly read every related article followed many solutions but I am having problem to solve the issue in my case.
I add import {MatInputModule} from '@angular/material/input'; and add MatInputModule within the @NgModule imports.
When I run ng add @angular/material I get the following:
Skipping installation: Package already installed
An unhandled exception occurred: Cannot find module '@angular-devkit/schematics/tasks'

After this I am getting the following error:
ERROR in ../../../../../../../node_modules/@angular/material/core/common-behaviors/constructor.d.ts:14:64 - error TS1005: ';' expected.

14 export declare type AbstractConstructor<T = object> = abstract new (...args: any[]) => T;
                                                                  ~~~
../../../../../../../node_modules/@angular/material/core/common-behaviors/constructor.d.ts:14:69 - error TS1109: Expression expected.

14 export declare type AbstractConstructor<T = object> = abstract new (...args: any[]) => T;
                                                                       ~~~
../../../../../../../node_modules/@angular/material/core/common-behaviors/constructor.d.ts:14:82 - error TS1011: An element access expression should take an argument.

14 export declare type AbstractConstructor<T = object> = abstract new (...args: any[]) => T;

../../../../../../../node_modules/@angular/material/core/common-behaviors/constructor.d.ts:14:83 - error TS1005: ';' expected.

14 export declare type AbstractConstructor<T = object> = abstract new (...args: any[]) => T;
                                                                                ~
../../../../../../../node_modules/@angular/material/core/common-behaviors/constructor.d.ts:14:85 - error TS1128: Declaration or statement expected.

14 export declare type AbstractConstructor<T = object> = abstract new (...args: any[]) => T;

What I did so far: uninstalled entire node and installed again, run brew upgrade and installed @angular/material locally, used node lts version (14x).
current config:
macOS 11
angular version 8.2.8
node 16.4.2
npm 7.18.1
Every help would be greatly appreciated.

Please update to a more recent version of Angular.
Angular 8 is no longer under support, see: https://angular.io/guide/releases#lts-fixes


Put benchmark boilerplate into subpackage

Create a subpackage in libs/SparseConnectivityTracerBenchmarks to put:

the Brusselator code
the NLPModels code
possibly the optimal power flow code in the future

This code is used by tests and benchmarks, putting it in a package dispenses us from using include every time. In addition, it makes it possible to import the same code in a comparison notebook like the one in https://github.com/gdalle/SparsityDetectionComparison, instead of rewriting it every time

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.45%. Comparing base (34e6bec) to head (4ca1b20).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #136      +/-   ##
==========================================
- Coverage   87.23%   83.45%   -3.78%
==========================================
  Files          31       32       +1
  Lines        1363     1318      -45
==========================================
- Hits         1189     1100      -89
- Misses        174      218      +44

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Isn't that what the benchmark folder is for? Why don't we move everything in there and add a Project.toml?

No, the benchmark folder is for benchmarking only, and has deps like BenchmarkTools. This code is used in tests, benchmarks and other places too. And it needs to be in a package to be importable in e.g. a Pluto notebook (to which I can give the exact GitHub URL of libs/SparseConnectivityTracerBenchmarks)

The name may be ill-chosen, perhaps SparseConnectivityTracerProblems would be better?

No, the benchmark folder is for benchmarking only

Not trying to be snarky here, but isn't libs/SparseConnectivityTracerBenchmarks also about benchmarking?

and has deps like BenchmarkTools

Is that a big issue? I think removing some complexity at the cost of one dependency is acceptable.

to which I can give the exact GitHub URL of libs/SparseConnectivityTracerBenchmarks)

Wouldn't benchmark be a URL that's just as viable?

At the very least, we could move this into benchmarks/libs/SparseConnectivityTracerBenchmarks if this somehow is necessary for Pluto.

Not trying to be snarky here, but isn't libs/SparseConnectivityTracerBenchmarks also about benchmarking?

See my latest comment, here I meant "benchmarks" in the sense of "benchmark instance definitions", not "full specification of a benchmark suite with sizes and evals and so on". Hence the possibility of an alternative name like SparseConnectivityTracerProblems or SparseConnectivityTracerInstances.

Is that a big issue? I think removing some complexity at the cost of one dependency is acceptable.

This is pretty much a constant-complexity PR. It's just replacing the include with a using

Wouldn't benchmark be a URL that's just as viable?

It's not just about giving a URL, it's about giving the URL of a package (as opposed to including a file)

@adrhill the benchmarks work on this PR branch and fail on main but that's expected, this is good to merge


chore: initialize the environment

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Improvement (refactoring and improving code)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update

Description

Additional context

goot


WIP: Add the Geodesics Module, and other API changes

Fixes #191 #240 #210 #239
Wait for it

Hello @shreyasbapat! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file src/einsteinpy/geodesic.py:

Line 3:1: E302 expected 2 blank lines, found 1
Line 7:81: E501 line too long (96 > 80 characters)
Line 15:81: E501 line too long (159 > 80 characters)
Line 22:32: W292 no newline at end of file

cc @Varunvaruns9

Not gonna wait for Travis to pass!
Wohoo!


[Flaky Test] tests/python/unittest/test_arith_solve_linear_inequality.py::test_solution_consistency

These tests were found to be flaky (intermittently failing on main or failed in a PR with unrelated changes). See the docs for details.
Tests(s)

tests/python/unittest/test_arith_solve_linear_inequality.py::test_solution_consistency

Jenkins Links

https://ci.tlcpack.ai/job/tvm/job/main/3376/display/redirect

maybe we should just use a fixed seed here? @yzhliu  https://github.com/apache/tvm/blob/92cc5b075949c5aae30294585594dcdd487cd272/tests/python/unittest/test_arith_solve_linear_inequality.py#L25-L30

also see #10627, the fix there didn't totally fix this


Add addtional react production artifact sourcemaps

I'm guessing react-dom was the MVP option for testing this out? It would be great to setup sourcemaps for

react.production.min.js
react-jsx-runtime.production.min.js

in addition to react-dom

Yeah, easy to throw those in too, and I tried to set up the logic and assets folder to support that :)  but react-dom was the critical part, since it has all the reconciler logic.

@markerikson would be nice if we could generate sourcemaps for react-dom/profiling as well. I would be happy to test that out.

Added react and react-dom.profiling for 17.0.2, 18.1, and 18.2!
https://github.com/markerikson/react-prod-sourcemaps/releases/tag/v0.2.0

A few weeks ago I did try to build React 16.14.0 as well, but my first attempt generated JS build artifacts that were significantly different.
Looks like this thread explains why:

https://github.com/facebook/react/issues/27515

16.14.0 is really 16.13.1 , with the JSX runtime artifacts from 17 copied over.


WSL2 IPv6 services not exposed on IPv4

I could not find this issue open anywhere else. There are a lot of localhost services that beat around this issue, but I didn't find one that deals with it directly. I suspect a few of the other tickets would be resolved if this underlying issue were resolved.
Environment
Windows Microsoft Windows [Version 10.0.19041.685]
Ubuntu 20.04 under WSL2
$ cat /proc/version
Linux version 4.19.128-microsoft-standard (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Tue Jun 23 12:58:10 UTC 2020```

Steps to reproduce
Apache and other services that listen on :: for IPv4 and IPv6 support are not reflected in windows localhost under both IPv6 and IPv4.
Apache normal config of
Listen 80
results in netstat output of:
tcp6       0      0 :::80                   :::*                    LISTEN      -
NOTICE THAT THERE IS NO IPv4 LISTEN entry.
Then curl.exe under windows:
$ curl.exe -svI -m 2 http://<IP_ADDRESS>/
*   Trying <IP_ADDRESS>:80...
* TCP_NODELAY set
* Connection timed out after 2008 milliseconds
* Closing connection 0

However this works:
$ curl.exe -svI -m 2 http://[::1]:80/
*   Trying ::1:80...
* TCP_NODELAY set
* Connected to ::1 (::1) port 80 (#0)
> HEAD / HTTP/1.1
> Host: [::1]
> User-Agent: curl/7.65.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< Date: Wed, 30 Dec 2020 22:37:10 GMT
Date: Wed, 30 Dec 2020 22:37:10 GMT
< Server: Apache/2.4.41 (Ubuntu)
Server: Apache/2.4.41 (Ubuntu)
...

Changing the Apache config to include:
Listen <IP_ADDRESS>:80
Listen [::1]:80

Means that apache unnecessarily listens on both IPv4 and IPv6 localhost and both ports get forwarded to windows correctly.
I have NOT been able to find an Apache syntax that forces Apache to listen on both IPv4 ANY (<IP_ADDRESS>) and IPv6 ANY (::) at the same time.
curl inside the windows instance is able to connect on IPv4 and IPv6 using the default "Listen 80" configuration.
Note: Only port 80 is shown here, but this same issue affects port 443 listeners.
WSL2 should connect IPv4 AND IPv6 forwarding for any WSL2 IPv6 listeners.

/dupe #4851 #4518

Both of the listed "duplicates" are referencing outbound IPv6 requests. This ticket is dealing with listening services inside the WSL2 instance.
These are not duplicates of this issue. Please reopen this ticket.

Both of the listed "duplicates" are referencing outbound IPv6 requests. This ticket is dealing with listening services inside the WSL2 instance.
These are not duplicates of this issue. Please reopen this ticket.

#4851 (nc :: 8080 -l inside WSL) is inbound. Will edit out the other.

#4851 (nc :: 8080 -l inside WSL) is inbound. Will edit out the other.

Yes, this does appear to be a dupe of #4851. Thank you for the pointer.

Yes, this does appear to be a dupe of #4851. Thank you for the pointer.


Crash when operator container starts

I'm new to kubernetes and wanting to use haproxy and thought I would try out the voyager product. It looks really good. I am currently manually configuring haproxy on our old servers and wanting to move to a nice new kubernetes / container world. I had it up and running all OK, with SSL certificate working through the ingres.
I was attempting to expose the node stats when the operator container started crashing.
The partial configuration I added was adding the annotations from the docs/example
apiVersion: voyager.appscode.com/v1beta1
kind: Ingress
metadata:
  name: cluster-ingress
  namespace: default
  annotations:
    ingress.appscode.com/type: 'NodePort'
    ingress.appscode.com/stats: 'true'

I am using Azure and this is the stack trace, if that helps. I'm unsure where to go next. It was working well until I got to this point.
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x4eaab2]
 goroutine 336 [running]:
github.com/appscode/voyager/vendor/k8s.io/apimachinery/pkg/util/runtime.HandleCrash(0x0, 0x0, 0x0)
	/go/src/github.com/appscode/voyager/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:58 +0x111
panic(0x211e200, 0x41443a0)
	/usr/local/go/src/runtime/panic.go:491 +0x283
io/ioutil.readAll.func1(0xc420b2ab78)
	/usr/local/go/src/io/ioutil/ioutil.go:30 +0x111
panic(0x211e200, 0x41443a0)
	/usr/local/go/src/runtime/panic.go:491 +0x283
bytes.(*Buffer).ReadFrom(0xc420b2aad0, 0x0, 0x0, 0xc420b5b800, 0x0, 0x200)
	/usr/local/go/src/bytes/buffer.go:209 +0x142
io/ioutil.readAll(0x0, 0x0, 0x200, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/local/go/src/io/ioutil/ioutil.go:33 +0x12c
io/ioutil.ReadAll(0x0, 0x0, 0x0, 0xc420b2ad18, 0xaf42cf, 0xc42004cd80, 0x3f96860)
	/usr/local/go/src/io/ioutil/ioutil.go:42 +0x3e
github.com/appscode/voyager/third_party/forked/cloudprovider/providers/azure.NewCloud(0x0, 0x0, 0x7ffe747ee4be, 0x5, 0xc42023dd00, 0xc400000001)
	/go/src/github.com/appscode/voyager/third_party/forked/cloudprovider/providers/azure/azure.go:71 +0x6d
github.com/appscode/voyager/third_party/forked/cloudprovider.GetCloudProvider(0x7ffe747ee4be, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/go/src/github.com/appscode/voyager/third_party/forked/cloudprovider/plugins.go:85 +0xda
github.com/appscode/voyager/third_party/forked/cloudprovider.InitCloudProvider(0x7ffe747ee4be, 0x5, 0x7ffe747ee4c6, 0x0, 0x0, 0x0, 0x0, 0x0)
	/go/src/github.com/appscode/voyager/third_party/forked/cloudprovider/plugins.go:111 +0x4b3
github.com/appscode/voyager/pkg/ingress.NewNodePortController(0x3fb1d20, 0xc420f86f60, 0x3fc4320, 0xc4206ba1e0, 0x3f87da0, 0xc42081aee0, 0x3f988a0, 0xc420705550, 0x3f9fda0, 0xc420705400, ...)
	/go/src/github.com/appscode/voyager/pkg/ingress/nodeport.go:73 +0x3ea
github.com/appscode/voyager/pkg/ingress.NewController(0x3fb1d20, 0xc420f86f60, 0x3fc4320, 0xc4206ba1e0, 0x3f87da0, 0xc42081aee0, 0x3f988a0, 0xc420705550, 0x3f9fda0, 0xc420705400, ...)
	/go/src/github.com/appscode/voyager/pkg/ingress/controller.go:75 +0x5ff
github.com/appscode/voyager/pkg/operator.(*Operator).reconcileEngress(0xc4205ce380, 0xc4208d13c0, 0x17, 0xc420f8fda0, 0x72dc00)
	/go/src/github.com/appscode/voyager/pkg/operator/ingress_crds.go:83 +0x396
github.com/appscode/voyager/pkg/operator.(*Operator).(github.com/appscode/voyager/pkg/operator.reconcileEngress)-fm(0xc4208d13c0, 0x17, 0xc420836300, 0x1fbda00)
	/go/src/github.com/appscode/voyager/pkg/operator/ingress_crds.go:23 +0x3e
github.com/appscode/voyager/vendor/github.com/appscode/kutil/tools/queue.(*Worker).processNextEntry(0xc42080a840, 0x85cd00)
	/go/src/github.com/appscode/voyager/vendor/github.com/appscode/kutil/tools/queue/worker.go:68 +0xeb
github.com/appscode/voyager/vendor/github.com/appscode/kutil/tools/queue.(*Worker).processQueue(0xc42080a840)
	/go/src/github.com/appscode/voyager/vendor/github.com/appscode/kutil/tools/queue/worker.go:51 +0x2b
github.com/appscode/voyager/vendor/github.com/appscode/kutil/tools/queue.(*Worker).(github.com/appscode/voyager/vendor/github.com/appscode/kutil/tools/queue.processQueue)-fm()
	/go/src/github.com/appscode/voyager/vendor/github.com/appscode/kutil/tools/queue/worker.go:37 +0x2a
github.com/appscode/voyager/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1(0xc4206411c0)
	/go/src/github.com/appscode/voyager/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133 +0x5e
github.com/appscode/voyager/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil(0xc4206411c0, 0x3b9aca00, 0x0, 0x1, 0xc42005a660)
	/go/src/github.com/appscode/voyager/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134 +0xbd
github.com/appscode/voyager/vendor/k8s.io/apimachinery/pkg/util/wait.Until(0xc4206411c0, 0x3b9aca00, 0xc42005a660)
	/go/src/github.com/appscode/voyager/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88 +0x4d
created by github.com/appscode/voyager/vendor/github.com/appscode/kutil/tools/queue.(*Worker).Run
	/go/src/github.com/appscode/voyager/vendor/github.com/appscode/kutil/tools/queue/worker.go:37 +0x90

I tried removing the annotations but it looks dead.
{"metadata":{"annotations":{"ingress.appscode.com/stats":null,"ingress.appscode.com/type":null,"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"voyager.appscode.com/v1beta1\",\"kind\":\"Ingress\",\"metadata\":{\"annotations\":{},\"name\":\"cluster-ingress\",\"namespace\":\"default\"},\"spec\":{\"nodeSelector\":{\"beta.kubernetes.io/os\":\"linux\"},\"rules\":[{\"host\":\"alpqldtest2.ml.net.au\",\"http\":{\"paths\":[{\"backend\":{\"serviceName\":\"alpqld\",\"servicePort\":\"443\"}}]}},{\"host\":\"alpqldtest.ml.net.au\",\"http\":{\"paths\":[{\"backend\":{\"serviceName\":\"alpqld\",\"servicePort\":\"443\"}}]}}],\"tls\":[{\"hosts\":[\"alpqldtest.ml.net.au\"],\"ref\":{\"kind\":\"Certificate\",\"name\":\"alpqldtest\"}}]}}\n"}},"spec":{}}to:&{0xc04208d740 0xc04236e8c0 default cluster-ingress .\cluster-ingres.yml 0xc042094958 40497 false}for: ".\\cluster-ingres.yml": Internal error occurred: failed calling admission webhook "admission.voyager.appscode.com": the server is currently unable to handle the request

Are you using AKS? What is your kubectl version ?

I setup a new cluster and went direct to those attributes. I believe the annotation ingress.appscode.com/type: 'NodePort'
Is actually completely separate to the stats, right? I added a new ingress directly and it worked fine, but didn't create a load balancer. I removed the above annotation and then it changed to a LoadBalancer
I think this is partly my stupidity, and I think the bug might present if you add the NodePort as a type, where a pre-existing LoadBalancer has been assigned.

You can't change the ingress.appscode.com/type annotation on an Ingress. If you want to change it, then you have to delete the ingress and recreate with the correct ingress.appscode.com/type annotation .

@ocdi , does https://github.com/appscode/voyager/pull/1166 fixes this issue?

@tamalsaha Ah, no, it was a related issue I faced when getting it setup but not the cause of the crash.
I thought I had actually commented yesterday on this. Given the annotation isn't supposed to be changed, ultimately it was my mistake. How you recover from that? When I tried to kubectl apply my ingres definition, I had the webhook failed because operator wasn't running.
 :-)
I am happy for you to close this as user error, but I think it would be worth being more graceful.

We will check. Just to be clear, was the operator already broken because it was lacking that node-selector annotation ?

The full timeline was:

Attempt to install voyager
The install script timed out
Manually edit the YAML definition of the voyager-operator to add the node selector
Things working well... able to define an Ingres and SSL certs and all was looking good

Later I was playing, and thought I would try adding the stats annotation
I modified the ingres definition by adding the two NodePort and Stats annotations (the sample I found must have had them together). I thought NodePort was related to how the Stats were exposed, without realising I was attempting to modify the Load Balancer definition itself.
As soon as I applied that the voyager-operator pod started crashing with the earlier stack trace.

Ok. We should make the change of ingress type a validation error.

@ocdi , one thing I would like to clarify is that acs-engine does not support NodePort and HostPort mode.

To be honest I have no idea, is that the cause of the crash because it isn't actually possible to be done? I am very new to kubernetes sorry I'm not sure.

Fixed in https://github.com/appscode/voyager/releases/tag/7.3.0


connecting to facebook page

Hello,
i'm just got in touch with this api :) and i don't understand why is not connecting to a facebook page
for simple echo message
const login = require("facebook-chat-api");
var credentials = {email: "my email", password: "my password"};
// Create simple echo bot
login(credentials,{pageID: "my page id"}, (err, api) => {
if(err) return console.error(err);
api.listen((err, message) => {
    api.sendMessage(message.body, message.threadID);
});

});
i also saw that
function login(loginData, options, callback) {
if(utils.getType(options) === 'Function' || utils.getType(options) === 'AsyncFunction') {
callback = options;
options = {};
}
option should be id of the page
I'm missing someting can someone give me a hint ?
Thx

Hi @CRGavrila,
Unfortunately afaik most of our users don't use this api for pages (as there are already official apis for sending messages from non-user accounts).
The code snippet you quoted from the api is where we handle some "overloading" of the login function. You can see this if statement checks if options is a function -- this happens when the user only passes in two arguments: loginData and callback, and doesn't provide an options variable.


eks upgrade failures

saw this error when debugging
ConnectionError [SequelizeConnectionError]: connect ETIMEDOUT <IP_ADDRESS>:5432
    at Client._connectionCallback (/usr/src/app/node_modules/sequelize/lib/dialects/postgres/connection-manager.js:143:24)
    at Client._handleErrorWhileConnecting (/usr/src/app/node_modules/pg/lib/client.js:316:19)
    at Client._handleErrorEvent (/usr/src/app/node_modules/pg/lib/client.js:326:19)
    at Connection.emit (node:events:512:28)
    at Socket.reportStreamError (/usr/src/app/node_modules/pg/lib/connection.js:57:12)
    at Socket.emit (node:events:512:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  parent: Error: connect ETIMEDOUT <IP_ADDRESS>:5432
      at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16)
      at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
    errno: -110,
    code: 'ETIMEDOUT',
    syscall: 'connect',
    address: '<IP_ADDRESS>',
    port: 5432
  },
  original: Error: connect ETIMEDOUT <IP_ADDRESS>:5432
      at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16)
      at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
    errno: -110,
    code: 'ETIMEDOUT',
    syscall: 'connect',
    address: '<IP_ADDRESS>',
    port: 5432
  }
}

 -   ├─ aws:ec2:SecurityGroupRule                                                     farg-prox-private-ingress                                                                         deleted (0.75s)
 -   ├─ aws:ec2:SecurityGroupRule                                                     farg-prox-public-ingress                                                                          deleted (0.59s)
 - ```

amihan also pointed out that these rules were getting removed for some reason. When you run pulumi refresh you see them deleted and then recreated when you run up again. Not sure why

when you re run pulumi up those are recreated and then tests pass


Override neutron.conf to add endpoint type

In issue #897 we pulled in an upstream fix which adds the ability
to specify the type of nova endpoint to use. The endpoint specified
should be one of public, internal or admin and will be looked up
in the keystone catalog.  OSA did not add the key in neutron.conf
to specify the endpoint type as the default public works for most
deployments.  RPC-O deployments on the other hand typically have
the public endpoints inaccessible from the control plane thus
requiring us to override that value.
Partially-fixes: #897
This was cherry picked from the liberty-12.0 branch because the fix was
mistakenly not first committed to master.
(cherry picked from commit aadb2d42a0c07603f95f995dd840919371333080)

recheck_ceph
recheck_swift
recheck_upgrade

:+1:


Refactor policy verify code

Migrated from gitlab -- original author @mikhailswift
May be a good companion to #7
The policy verification code is currently responsible for too much.  DSSE and intoto have bled into the policy package which is not ideal.  The policy package should be solely focused on verifying the attestations came from trusted functionaries and match the policy.

Yes


Update theme

Add neutral spectrum and tinted spectrum. Define hover states for everything. Rename our current classes to match.  Use tailwind's dark:prefix to switch theme.

@dtonon any chance you could come up with the full palette for me?

@staab I'm working on this

This is the new proposed palette:

For the neutral palette, I picked up the standard Tailwind's Neutral one, so we have a more standard background. This palette is usually used for neutral/secondary elements, e.g. the window background or the text in a colored button.
For the tinted (warm) palette, the Coracle's characteristic one, I preferred a subset of only 6 colors; otherwise with too many shades there is the risk to apply them in a haphazard manner.
The accent color is unique (see below the "Variants" section).
The attention color is for warning/danger message/actions; yellow is commonly associated with warning signs and caution internationally, so it is a good pick instead of red that is too similar to the accent color, and also exclude any problem on the accessibility side for color-blind people.
The important color, picked from the inverted spectrum of the accent, is aimed to focus important messages that need to pop up in a UI that also has accent elements.
Variants
Often, a slight lighter or darker shade is needed, e.g. the hover or some borders. To keep the basic palette simple, I would dynamically create a -l (light) and -d (dark) version with +/-15% brightness (something like this approach) for the tinted gradient and the accent/attention/important colors. These variations should be used only for small details.
The colors

Name
Hex value
Note

accent
#FC560E

tinted-100
#F1EAE7

tinted-200
#DED3CF

tinted-400
#B9A69E
Current warm-d

tinted-500
#756A65
Current cocoa-l

tinted-600
#5A524F

tinted-700
#3E3A38
Current cocoa

attention
#FCAB0E

important
#12D2B0


PrintMembers formatting in derived records – senseless note

Note
In C# 10 and later, the compiler will synthesize PrintMembers when a base record has sealed the ToString method. You can also create your own implementation of PrintMembers.

Before C# 10 it is not possible to seal ToString. PrintMembers is created all the time. It is once told just fine some line above.

In C# 10 and later, your implementation of ToString may include the sealed modifier, which prevents the compiler from synthesizing a ToString implementation for any derived records. Effectively, that means the ToString output won't include the runtime type information.

Maybe author was about to note this new ToString sealing feature. This note is just intermix of some information.

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

ID: 20818c64-4ad8-fb15-5d79-e7f98614e9c4
Version Independent ID: de1f383b-ef20-4776-57a8-04edae892166
Content: Records - C# reference
Content Source: docs/csharp/language-reference/builtin-types/record.md
Product: dotnet-csharp
Technology: csharp-language-reference
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

This can be addressed in the next edit pass.


RYA-355 Refactored the periodic notification service structure.

Description
New artifactIds align better with code packaging, semantics.
Light pom cleaning.
Eliminates redundant text in file paths.
Makes adding the twill app for RYA-356 a little cleaner.
Tests
N/A
Links
Jira RYA-355
Checklist

[ ] Code Review
[X] Squash Commits

People To Reivew
@meiercaleb
@isper3at
@amihalik

asfbot build

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/471/


Auto-generate saves table, move solution-finder out of LSZO, change fumen rendering format

changed the <fumen> and <figfumen> tags to get the fumen from the src attribute instead of InnerHTML
automatically generate the saves table instead of using hardcoded values
insert {{< saves-table savesSource="<filename in content\attachments_saves without file extension>" >}} in a content file to generate the saves table
reformatted sfinder documentation files

parameters that are shared across commands are now share the same documentation file
slightly modified <details> to make the documentation for each parameter hidable

re-format solution-finder
now solution finder can be accessed by including two shortcodes, {{< solution-finder >}} and {{< solution-finder-script >}}

mirroring is broken from this push


Replace JCenter with Maven Central

Coverage remained the same at 93.912% when pulling 5bdb75afe77d0f25eee66f7027266eed47c86748 on rpalcolea:replace-jcenter into 03391cd3d950f463236095f45e9e0cc029745bf0 on Netflix:master.


Automate app creation

[ x] bug report -> please search issues before submitting
[ x] feature request
[ x] documentation issue or request
[ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Call Applications POST method
Try  to run PS snippet

Any log messages given by the failure

Expected/desired behavior
New application created by calling POST method
OS and Version?
Windows 2016
Versions
Latest
Mention any other details that might be useful
Trying to automate creation of the application
1.Application, my understanding  consists of two files sol and json
Postman has only one parameter appFile. Please suggest
2.Looking into a swagger page, I think headers in the postman either not complete or wrong. I have added  Content-Type":"multipart/form-data" and  "Accept":"text/html. Status – still doesn’t work

I have created following powershell block which does not work. Please suggest. Also, what would be a proper way to make file path relative to the ps script location
Write-Output '################### CALL AN APP ###################################'
#Making bc call
$prefix='bchal-wly2wp'
$bcUri = 'https://' + $prefix +'-api.azurewebsites.net/api/v1/applications'
$bcUri

$bchdrs = @{}
$bchdrs.Add("Authorization",$bearer_token)
$bchdrs.Add("Content-Type","multipart/form-data")
$bchdrs.Add("Accept","text/html")
$bchdrs.Add("control","no-cache")
$bchdrs
$bresponse= Invoke-RestMethod -Uri $bcUri  -Method Post -Headers $bchdrs  -Infile "C:\projects\ps\az\BasicProvenance.json"
$bresponse

Also, what would be Azure DevOps snippet for the invocation?
I came up with following, but it doesn’t work and I’m not sure how to provide parameters to a script including file used to in the post

task: PowerShell@2
displayName: 'Create ABW application PowerShell Script'
inputs:
targetType: 'filePath'
filePath: '$(Build.SourcesDirectory)\abw\CreateABWApplication.ps1'
arguments: -BumpBuild -BuildNumber:$(Build.BuildId)
parameters : ? and reference to json and sol files in the build directories

Hello @ygizhitsa,
I believe I have provided a solution to this question in my reply to issue 210 (https://github.com/Azure-Samples/blockchain/issues/210).  As this issue is tracked there, I am closing this issue.  Please feel free to re-open this if needed.
Thanks,
Ramya


Can not create new topic

When i want to create a new topic (e.g. http://localhost:3000/forem/forums/1/topics/new ), with user logged in, it redirects to the home page. The console displays this message:
  Started GET "/forem/forums/1/topics/new" for <IP_ADDRESS> at 2011-09-11 17:34:00 +0800
  Creating scope :page. Overwriting existing method Forem::Topic.page.
  Processing by Forem::TopicsController#new as HTML
  Parameters: {"forum_id"=>"1"}
  Refinery::Page Load (0.3ms)  SELECT .......

I googled and found it is caused by kaminari, see this issue: https://github.com/amatsuda/kaminari/issues/57 While i use the kaminari's master branch in my rails project, the error still exists. I wonder if this belongs to kaminari's bug.
My gem file is the same as this one: https://github.com/radar/forem/issues/38#issuecomment-2025575
Thanks.

@frankel still happening?

@parndt Haven't tested yet, but i found a solution to fix the conflict between Kaminari and will_paginate, https://github.com/sferik/rails_admin/issues/816
if defined?(WillPaginate)
module WillPaginate
module ActiveRecord
module RelationMethods
alias_method :per, :per_page
alias_method :num_pages, :total_pages
alias_method :total_count, :count
end
end
end
end


Upgrade create-react-app to Workbox template

https://github.com/facebook/create-react-app/blob/master/docusaurus/docs/making-a-progressive-web-app.md

Done by https://github.com/Hongbo-Miao/hongbomiao.com/pull/827


windows11 anti virus cant let the ddl injector

i tried doing some exeption for the injector so it doesnt delete it but it still detectes some files inside the app and delete and i tried even disabling anti virus but the windows11 antivirus version always turns on again with restart

Idk for Windows 11, but for Windows 10, there is a allow file/folder section, which it ignores if you add it

That is a false positive. The skin changer as well as the injector uses some Win32 API's that aren't commonly used in normal programs. The project is open-source, so you are welcome to compile the skin changer on your own, otherwise disable your antivirus and add the folder with the binaries to the exclusion list.
I'm tired of closing issues like this one is like a 10 issue relating to this issue this week. Please check closed issues before posting an another one.


Remove unnecessary peer dependencies

All storybook packages, which are mentioned in https://github.com/storybookjs/storybook/blob/next/code/ui/manager/src/globals/runtime.ts don't have to be defined as peer dependencies, since they are made available when the Storybook Manager gets bundled. The @storybook/preview-api was not used at all.

Interesting. Does this apply to any addon? We have a few more (e.g. pseudo-states, visual-tests) that are specifying peerDeps on SB packages. Maybe they needn't do that?

These were added in #133 in order not to trigger errors on strict package managers (e.g. pnpm, Yarn PnP). I'm not sure it's still a problem in the current SB architecture though.

@ghengeveld The manager-side of addons will get their storybook dependencies replaced by esbuild with globals.
The preview-side will get @storybook/preview-api externalized by both the webpack and vite builders.
But the preview side is more fragile, because users can change it's builder-config.
So if you have @storybook/* dependencies (or to be more precise, these)
https://github.com/storybookjs/storybook/blob/c7028c7b9fdaa77b224c081a8f187906042098d3/code/ui/manager/src/globals/runtime.ts#L17-L33
...then you can don't need to supply those packages at runtime.
You do (and this is very important) need to ensure those dependencies aren't bundled in!

@ndelangen @valentinpalkovic what are the next steps here?

@JReinhold This is a good contender to try our react-peerdependencies removal work on.

Is this still going anywhere?

@JReinhold reminder to recheck this ☝


SIM113: Use enumerate

Explanation
Use 'enumerate' to get a running number over an iterable.
Example
# Bad
idx = 0
for el in iterable:
    ...
    idx += 1

# Good
for idx, el in enumerate(iterable):
    ...

This is a false-positive:
for x in xs:
    cm[x] += 1

This is another false possitive
results = []
next_ = 0
for i in range(10):
        if i % 2 == 0:
            continue

        results[next_] = i
        next_ += 1

@pablojadz Could you please run pip install flake8-simplify --upgrade and test again? You should have flake8-simplify==0.14.1 and this issue should not exist anymore.

I believe I have another false-positive:
pos = len(output) - token[1]
for __ in range(token[0]):
    output += output[pos]
    pos += 1

This code appends token[0] characters from position pos to the end of the string output. (This is a common pattern in LZ-style decompressors.)

Another possible issues
for idx, el in enumerate([]): pass
print(idx) --> NameError

I would propose to silence the error, when the loop variable is used after the loop

same if->continue false positive as https://github.com/MartinThoma/flake8-simplify/issues/18#issuecomment-840681827 in this test code: https://github.com/PyCQA/flake8/issues/1955


Almighty Walking Skeleton

Work in progress.
Note : The goal is to go broad and shallow, not deep with the descriptions or details beyond the flow of the user scenario here. This is a sketch of what will be the Walking Skeleton and represented by a story map. Release milestone (used with Sprint Planning as well) will have a "Story" or Scenario that the user can achieve (a goal) - end-2-end . Initially, it is the simplest versions of the stories needed to complete the steps to meet that goal - creating the skeleton . Bare bones, nothing more…. then it becomes easier to add muscle, flesh etc... across the skeleton...
https://marcabraham.files.wordpress.com/2012/07/userstorymap.png
This Sketch needs to remain simple and readable by the team. Also need to establish a user scenario/goal and the cut lines for each high-level goal the user will traverse through to meet the goal.
See Slides 46 & 47: https://docs.google.com/a/redhat.com/presentation/d/1rqHw4AORDL0Duzel9b7b94mQMlFkhLTiiVnweExgSwg/edit?usp=sharing
= Planner

[ ] Planning:
1608V132 - Plan and Prioritize What Needs to be Done - MVP https://docs.google.com/document/d/1bMq-C_Xb1DZ0LIpUmCPiN1O9MuDvnUex9D8YFAG8wOg/edit#heading=h.txslokhzwosn[1608]V135 (filtering)

[ ] Categorize Backlog Items to Find Related Items
[ ]  Enter Stories
1608E136 - quickly types in a list of work items
1608V137 - Quickly create a “draft” backlog
[x]  Title & Description
[x]  Initial state of stories (i.e. new)
[ ]  Categorize stories

[ ]  Component/Areas

[ ] 1608E139 - Categorize Backlog Items by Areas

[ ]  Tag/Labels

[ ] 1608E140 - Categorize Backlog Items by Tags

[ ]  Search

[ ] 1608E141 - Filter Backlog View by criteria

[ ]  Order Stories

[ ]  Move into position for execution
1608V134 (filtering) - Limit View of Backlog to Relevant and Timely Items

[ ]  Prioritize stories

[ ]  Indicate position for business/architectural reasons

[ ] 1608V133 - Disambiguate, Refine and Reprioritize What Needs to be Done - MVP
+

[ ]  Hierarchy of Stories (Business Context and simple associations)

[x]  link/associate stories
[ ]  Place story in context

[ ] 1608E102 - Scenario -> Value Prop -> Experience -> Feature -> Task model
[ ] 1608E063 - Context - visually, how the requirement relates back to the broad business problem being solved

[ ]  Create Iteration (Managing iterations below)
[ ]  Place into iterations

[ ]  Iteration plan, the collection of stories are viewable in order as a plan

[ ]  Estimate stories

[ ]  Set/Update estimate value on stories
+
1608E067

[ ]  Team members can accept (assignee) stories
+
1608E068
[ ]  Team member can easily be identified as the shepherd of the story
[ ]  Iteration Started

[ ]  Set/modify iteration start/end date
[ ]  Initial Iteration statistics are captured

[ ]  Link/Include remote work items

[ ]  1608S036

[ ]  View backlog

[ ]  1608V064
+
1608E065

[ ]  Attach files

[ ]   1608E062

e-

[ ] Execution:

[ ]  Progress of story - (i.e. in-progress, done)

[ ]  1608E105
[ ]  1608E106 (alerting)
[ ]  1608E107
[ ]  1608E138

[ ]  Stories - Comments for collaboration

[ ]  Comment on state change 1608E066

[ ] Managing iterations

[ ]  Creating Sprint/Iteration

[ ]  Iteration plan can be easily identified

[ ]  Closing a Sprint/Iteration

[ ]  Open stories, remain open and move to top of backlog
[ ]  Iteration is closed, removed from view
[ ]  Iteration statistics are captured

[ ] Reporting

[ ]  Simple burndown
[ ]  Team Velocity
[ ]  Historical query/changes

[ ]  1608E108

[ ] Configuring and customization of Team Planner

[ ]  Workflow

[ ]  160E123 (workitems used for quickstart/journey/trainings)
1608V103
+
1603E130

[ ]  Customize fields…
[ ]  …

[ ] Misc

[ ]  Contextual Help

[ ]  [1608F074](https://docs.google.com/document/d/1bMq-C_Xb1DZ0LIpUmCPiN1O9MuDvnUex9D8YFAG8wOg/edit#heading=h.vww1imnd77nf[1608F037], https://docs.google.com/document/d/1bMq-C_Xb1DZ0LIpUmCPiN1O9MuDvnUex9D8YFAG8wOg/edit#heading=h.5p4744px0i5i[1608E038], https://docs.google.com/document/d/1bMq-C_Xb1DZ0LIpUmCPiN1O9MuDvnUex9D8YFAG8wOg/edit#heading=h.kcsxu1byeiq)

[ ]  Single signon

[ ]  1608E054

[ ]  Stable URL’s

[ ]  1608F058

Pipeline  - Tomaz/Rupali
Webide   -  Gorkem/Mario
KPI - Continuous Feedback
[104](https://docs.google.com/document/d/1bMq-C_Xb1DZ0LIpUmCPiN1O9MuDvnUex9D8YFAG8wOg/edit#heading=h.2yffu7r5j3l6[1608Vhtt]ps://docs.google.com/document/d/1bMq-C_Xb1DZ0LIpUmCPiN1O9MuDvnUex9D8YFAG8wOg/edit#heading=h.2yffu7r5j3l6)

Project Management
+
Create project
Define roles

Create teams/groups

Add/remove users

Request access/Grant access to project

[109](https://docs.google.com/document/d/1bMq-C_Xb1DZ0LIpUmCPiN1O9MuDvnUex9D8YFAG8wOg/edit#heading=h.7obzbnvpt1js[1608Ehtt]ps://docs.google.com/document/d/1bMq-C_Xb1DZ0LIpUmCPiN1O9MuDvnUex9D8YFAG8wOg/edit#heading=h.7obzbnvpt1js)

[1608E110](https://docs.google.com/document/d/1bMq-C_Xb1DZ0LIpUmCPiN1O9MuDvnUex9D8YFAG8wOg/edit#heading=h.75p3t7sdz90x)

Max - can you add links to the ALMight Core issue into the text for the walking skeleton? Thx!

Do you have a timeline by which all/parts of the skeleton should be completed?

Will we support sprints in the users' workflow? Or, will they create sprints as a type of iteration?

@ldimaggi timeline is part of filling out the skeleton.
sprints are a iteration.

This can be closed now?

We aren't using this anymore to track anything. I'm closing it and @maxandersen can reopen it if he wants.


Should installCRD default to TRUE for helm chart?

Yesterday I did my first deployment of this to a cluster, and I can't understand why you've got installCRD set to false by default.
The CRD must be installed, or the Helm chart will fail.  Why would I want to manually install the CRD before the Helm chart? Is this a hang-over from Helm 2?

If you enable installCRD the CRD is managed by helm, which has the implication that as soon as you uninstall with helm, DynaKube objects will be deleted too. - Per default, it is not our intention to delete configuration, which your DynaKubes are. Therefore you have to install the CRD before the actual helm chart.
Nevertheless you have the possibility to change this by using installCRD=true.
For reference see cert-manager, that took the same approach.


Global Calendar config

Is there a way to update a global calendar config like in the MomentJS example here?
I saw the global config option in the read me but didn't see anything about the calendar.

You should be able to use globalMoment which is the moment instance used internally by the library. Something like this in your index.js before using <Moment /> anywhere:
import Moment from 'react-moment';

Moment.globalMoment.updateLocale('en', {
    calendar : Object
});

So wierd, I thought it was working but now I get some random error:
Cannot read property 'updateLocale' of null
TypeError: Cannot read property 'updateLocale' of null

Okay, I see what I did wrong. Give this a try.
import moment from 'moment';
import Moment from 'react-moment';

moment.updateLocale('en', {
    calendar : Object
});
Moment.globalMoment = moment;

Looks like that did the trick (for now haha). Thank you!

@oxyii this is for the calendar <Moment calendar={true} />

Thanks for your reply. I changed config from calendar to fromNow. Still not working. In pure moment also not working. I think fromNow don't use lastDay key. My question is not for you. I will deal with pure moment.js )))) Thanks


docker build fails

I'm pretty new to this so I may just be doing it wrong.  However...I get an error when trying to build.

Step 1 : COPY . /go/src/app
Step 1 : RUN go-wrapper download
 ---> Running in 144cf0340215
+ exec go get -v -d
github.com/prometheus/client_golang (download)
github.com/beorn7/perks (download)
github.com/golang/protobuf (download)
github.com/prometheus/client_model (download)
github.com/prometheus/common (download)
github.com/matttproud/golang_protobuf_extensions (download)
github.com/prometheus/procfs (download)
github.com/prometheus/log (download)
github.com/Sirupsen/logrus (download)
github.com/serenize/snaker (download)
github.com/vmware/govmomi (download)
package context: unrecognized import path "context" (import path does not begin with hostname)
Fetching https://golang.org/x/net/context?go-get=1
Parsing meta tags from https://golang.org/x/net/context?go-get=1 (status code 200)
get "golang.org/x/net/context": found meta tag main.metaImport{Prefix:"golang.org/x/net", VCS:"git", RepoRoot:"https://go.googlesource.com/net"} at https://golang.org/x/net/context?go-get=1
get "golang.org/x/net/context": verifying non-authoritative meta tag
Fetching https://golang.org/x/net?go-get=1
Parsing meta tags from https://golang.org/x/net?go-get=1 (status code 200)
golang.org/x/net (download)
Fetching https://gopkg.in/yaml.v2?go-get=1
Parsing meta tags from https://gopkg.in/yaml.v2?go-get=1 (status code 200)
get "gopkg.in/yaml.v2": found meta tag main.metaImport{Prefix:"gopkg.in/yaml.v2", VCS:"git", RepoRoot:"https://gopkg.in/yaml.v2"} at https://gopkg.in/yaml.v2?go-get=1
gopkg.in/yaml.v2 (download)
The command '/bin/sh -c go-wrapper download' returned a non-zero code: 1

It looks like govmomi has started using the new context package introduced into Go 1.7. Bumping the Go 1.8 version fixes the Docker build, let me know how it works for you!


README: Tweak the example

Current coverage is 100% (diff: 100%)

Merging #1538 into master will not change coverage

@@           master   #1538   diff @@
=====================================
  Files           1       1
  Lines        3741    3741
  Methods         0       0
  Messages        0       0
  Branches      629     629
=====================================
  Hits         3741    3741
  Misses          0       0
  Partials        0       0

Powered by Codecov. Last update dea024f...d55040f

:+1:


Internal Website Error on Rust security policy page

The "Rust security policy" link on the "Rust Documentation" page leads to a page that says there's an Internal Website Error.
Timestamp: <!-- Page last generated 2016-07-11 22:50:41 +0000 -->

Thanks for the report!


Outdated structures cause DFU to process every time they are loaded

2.0.9 - 1.20.1
You have outdated structure files in your mod. This causes minecraft to try to update them every time they are loaded, leading to extra memory and cpu usage during worldgen. Please update your structures to match the mc version you are releasing for.
This should be as easy as loading them into game and re-saving them or using a mod to load them into a StructureTemplate and writing them back out to nbt.

I dont know how to do that so im probably not gonna

This should be as easy as loading them into game and re-saving them or using a mod to load them into a StructureTemplate and writing them back out to nbt.

I dont know how to do that so im probably not gonna


Issiu with in app icon

Windows Terminal version
1.21.3231.0
Windows build number
10.0.19045.5198
Other Software
No response
Steps to reproduce
Change default PNG resource with any std Windows ICO resource and you get one behavior. Add ",0" at the end for another behavior. Both together would be correct as a whole. Individually, both are wrong.
Screenshots
Expected Behavior
Correct usage of the icon resource for the given place it's supposed to be displayed.
Actual Behavior
Wrong or no icon displayed in taskbar jump list or in app.

Screenshots from the link


some array access refactoring

extract common code in SequencePointable and ArrayPointable to
AbstractSequencePointable
add code to extract sequences from arrays to ArrayPointable and use it
in JnMembersScalarEvaluator and KeysOrMembersScalarEvaluator
reduce complexity of KeysOrMembersScalarEvaluator.evaluate by introducing
a switch and pulling exception wrapping further out

@ecarm002: addressed your comments

Thanks, looks good.


BUG: Mvc6 + AutoFac

IMO dependency injection via ctor is fine (better), but I did also some experiments with property setting.
Got 2 FV related issues:

the OnActivating event was raised always after the resolved object was used within IValidator
when I was trying SingleInstance, only the 1st call triggered validation

No1. The issue is FV and architecture related. If I do add a constructor to the validator and reference there a differrent validator, then that 2nd validator gets resolved, and the OnActivating event on that second validator get's called... so this is fine:
public EmployeeDetailsDtoValidator(IValidator<EmployeeAddressDto> employeeAddressDtoValidator, IValidatorFactory f)
But the behavior, when the main IValidator<> is resolved via attribute (FVs MVC infrastructure) is differrent.
No2. I can understand that validators for some reasons must exist per UC.  If so, I do really miss this kinda of information from the documentation.
Some samples:
Classic registration:
services.AddMvc().AddFluentValidation(fv => { fv.ValidatorFactoryType = typeof(AttributedValidatorFactory); });

Then separate (manual) registration with property setter, so if IValidator has an IHasFactoryProperty interface, then Factory property will be set, thus allowing to access other objects...
builder
	.RegisterAssemblyTypes(validationAssemblies)
	.Where(t => t.IsClosedTypeOf(typeof(IValidator<>)))
	.AsImplementedInterfaces()
	.OnActivating(e =>
		{
			if (e.Instance is IHasFactoryProperty)
				(e.Instance as IHasFactoryProperty).Factory = e.Context.Resolve<IValidatorFactory>();
		})
	.InstancePerLifetimeScope();

the OnActivating event was raised always after the resolved object was used within IValidator

I really don't see how this is a bug....Autofac simply behaves differently.

But the behavior, when the main IValidator<> is resolved via attribute (FVs MVC infrastructure) is differrent.

If you're using MVC6 (aspnetcore) then I do not recommend using the attributes as AspNetCore ships with its own container. The attribute-based approach is for use with the older web stack which did not have its own container (mvc5/webapi2). Using attributes completely bypasses the whatever container you're using

No2. I can understand that validators for some reasons must exist per UC. If so, I do really miss this kinda of information from the documentation.

I don't understand what you're asking here. Could you re-phrase the question?

Hi @JeremySkinner. Appreciate fast feedback.
On 1. actually having Rules set up in the ctor has 2 major drawbacks: the order they run see #168 and the limitation that can't use properties there I wanna do property injection.
Having an interface...should solve both (allowing to define rules on 2 places maybe would not hurt):
void CreatingRules()
void Validate()

Although MVC does create child validators first, it will execute first the parent FV validation and only then the child validations. [So I really don't get it what you meant by in #168 "So essentially there are 2 distinct processes running, and the child validator is run twice."]

Question: you've always oped for "static" rules, no changes in them. Do you plan some kind of rule-caching to minimize expression tree compilation? Could it be done even with the CreatingRules() interface?

Btw: with classic .NET validation the ModelBinder did execute the validation right when child properties were set, so this was the reason there for child objects to be validated first (quiet odd approach and with all the limitations of those data annotations).

Having an interface...should solve both (allowing to define rules on 2 places maybe would not hurt):
void CreatingRules()
void Validate()

I'll have a think about this, but I am really not keen on introducing major breaking changes unless there's a very good reason to do so.

So I really don't get it what you meant by in #168 "So essentially there are 2 distinct processes running, and the child validator is run twice."

In MVC5 and older, the modelbinder will loop over each property and ask the validator provider to get a validator for each property.  Once by FV itself (SetValidator) and once via the automatic integration that MVC does. So the child validators are run twice.

Question: you've always oped for "static" rules, no changes in them. Do you plan some kind of rule-caching to minimize expression tree compilation? Could it be done even with the CreatingRules() interface?

There is already caching in place - when you call RuleFor it will cache the expression if it can. Simple expressions that just access properties are cached, but more complex expressions (which may call methods etc) will not be cached. This is why it's OK for validators to be registered as transient as the expression tree compilation overhead is drastically reduced.

Q1: what get's executed 2 times? construction of rules setting the validator) or the validation itself (or I assume: both)? [I'd need to compare more the MVC6 binding and validation vs. MVC5 :D]
Thanx.

Validation is executed twice. Construction will only be executed twice if using per-request or transient lifecycles. (This is for MVC5/WebApi2, I can't remember about AspNetCore off the top of my head)

Have tested in Mvc6, with breakpoint both in constructor and in validator
method, even with validatorattribute. Execution count: 1 :)
On Tue, Jul 18, 2017, 12:48 Jeremy Skinner<EMAIL_ADDRESS>wrote:

Validation is executed twice. Construction will only be executed twice if
using per-request or transient lifecycles. (This is for MVC5/WebApi2, I
can't remember about AspNetCore off the top of my head)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/JeremySkinner/FluentValidation/issues/516#issuecomment-316027389,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGCat52NELJ5AFFTQbYFSDYP3tYtZKiiks5sPI1mgaJpZM4OaiJV
.

--
balázs HIDEGHÉTY

Thanks for checking. So although this isn't consistent with the mvc5 integration I think I prefer it this way....I've never really liked the automatic validation of child properties and prefer it to be explicitly specified through SetValidator. What do you think? Would you find it helpful if this behaviour was enabled for AspNetCore too?
I was also thinking again about the CreateRules method that you suggested earlier and I'm warming to the idea. I think it would have to be optional though for backwards compatibility, so it'd need to be implemented as a virtual method that you can override. I need to spend some more time thinking about how this would work and doing some prototyping so it might be a while before I can get to it, but it's on my radar.

To the new interface:
If the validation would be also a single interface method implementation, then that would allow us to do a pre- and post-validation and/or execute base.Validation() to process rule based validations. this of course would make sense if there would be [maybe already is] a simple way to add validation errors manually (which might be related to 0 or even multiple - not just 1 - property - see IValidatableObject, ValidationError class...
Doing it via interfaces (and or decoupling rules from infrastructure - so IRuleValidator:IValidator) would allow other developers to use basic infrastructure and or easily add new kind of extensions, so even the basic framework could be then managed by more people...
About auto validation
Auto validation is cool, even for child properties. But I do like if it's overridable. I assumed there is only 1 validator auto-wired for each object and complex childs - so this was the idea behind RemoveDefaultValidator().Also the SetValidator() extension where the validator would be auto-fetched would be nice, but as far I'm quiet happy with the ctor injection.
Currently there's a minor "glitch" in how the MVC validation works (but it's just my POV and it does not affects the coolness and usefulness of this library)...and this is: while the MVC (core) infrastructure does automatically pick a validator (or validators) for the main object [I'm not aware of the possibility to easily change/manually override this behaviour for a given model/dto] for the child object this does not happens, I have to call SetValidator(IValidator) [* actually I think I'd need to check it out, but i'm sure I got this behavior and this was the reason for the ctor injection of childrens IValidator into a parent IValidator].
I would need to sit down and think a while on it, how this behaviour could be changed. Last time I've faced similar situation: so had a lit of objects in the DI context implementing a given interface - I did had an "order" property and a CanExecute method which then decided if the given object Execute() method had to be run - also there was not necessary, but i could have added a HasHandled dlag (return value) to continue processing or just quit...
Mvc5/Mvc6
...the differ a lot, despite that change in model binding, if I was trying IValidatableObject, they still sticked to the old behaviour - child object created = child object validated - always executed before main object is created/validated.

@JeremySkinner We've just upgraded to ASP.NET Core (.NET Framework). And it also stopped working in our project (https://github.com/nopSolutions/nopCommerce - "develop" branch)

@AndreiMaz You'll need to use SetValidator if you want to validate child properties with aspnetcore. I'll look the implications for re-adding the implicit validation at some point in the future, although I don't particularly like it.

@JeremySkinner thanks a lot for the quick reply. Do you mean something like the following test commit? https://github.com/nopSolutions/nopCommerce/commit/a66e27ad25b8d17995563f56316c815e3c108d54

You shouldn't be using the ValidatorAttribute to wire up validators if you're using aspnetcore. Use the container instead.

Also I wouldn't call into the "EngineContext" to retrieve the AddressValidator like that. You could end up with lifecycle/scoping issues and also hinders the validator's reusability. Instead inject all dependencies that the AddressValidator needs into the CustomerAddressValidator's constructor, then pass them into the AddressValidator's constructor manually.

@JeremySkinner we already use ValidatorFactory - https://github.com/nopSolutions/nopCommerce/blob/develop/src/Presentation/Nop.Web.Framework/FluentValidation/NopValidatorFactory.cs

@JeremySkinner but it still doesn't work

Sorry I don't understand. Why are you using a custom validator factory? Just use the aspnetcore container instead.

Actually with MVC6 (.NET Core but with full .NET framework) it works. No need for attributes. But for a Dto of type T always a IValidator (first resolved or multiple ones - would need to check) will be executed. Already mentioned that any way to override this behaviour (for some special cases) would be handy...
			// Add framework services.
			services
				.AddMvc(opts =>
				{
					// registering global filters
					// ...
				})
				.AddJsonOptions(opts => opts.SerializerSettings.ContractResolver = new DefaultContractResolver())
				.AddFluentValidation() // NOTE: will bypass validation via IValidatableObject, will do validation based IValidator<T>
				;

I've just pushed 7.3-beta1 to nuget. This includes implicit/automatic validation of child properties. You can opt into this behaviour as part of the aspnetcore configuration:
 services.AddMvc().AddFluentValidation(fv => {
  fv.ImplicitlyValidateChildProperties = true;
});

@JeremySkinner Thanks a lot! Will wait for the RTM version and then use it in nopCommerce (https://github.com/nopSolutions/nopCommerce/issues/2722)

If you're able to test the pre-release version beforehand, it'd be greatly appreciated. I don't have any real .net core applications using FV, so I rely entirely on the community to provide feedback on features like this as to whether it works well or if you need any other changes.

7.3 is out with this fix.

@JeremySkinner Thanks a lot, Jeremy! We'll use in out next version of nopCommerce

@JeremySkinner Just integrated it in the upcoming version of nopCommerce (https://github.com/nopSolutions/nopCommerce/commit/1f3b2f0935a76cd0c8ce81585430e7b1b527d241). Everything works fine. Thanks again!


154: VConnection, reconnect, connection init

Description
To implement the session API, we needed to keep track of connection state, which, in turn, meant rewriting connection handling into a more abstract, generalized solution (VConnection).
Creating this VConnection allowed me to do all sorts of other cool stuff (pre-initialization of a connection and reconnects) which now segued into this PR.
As for use cases:
Use case: Reconnect
Bob has the website of service x open on his laptop while sitting in a train from location a to location b when suddenly the train goes into a tunnel. Bob loses his internet connection. When the train leaves the tunnel, Bobs laptop regains internet connection. Lucky for Bob, service x uses RIG and thus Bob is able to pick up his session where he left off.
Use case: Pre-initialization of VConnection
This is more of a technical use case that allows for some nice frontend code when dealing with reconnections.
Something like:
const baseUrl = "http://localhost:4000/_rig/v1"
let response = await fetch(`${baseUrl}/connection/init`, {
  method: "GET",
  mode: "cors"
})
const token = await response.text()

const connection_token = response.status == 200 ? `?connection_token=${token}` : ""
const eventUrl = `${baseUrl}/connection/sse${connection_token}`

source = new EventSource(eventUrl)
...

Metadata
Please take a look at #262
What to look out for
Dear reviewer, I want you to

check that the code works on your machine.
suggest implementation-code design/structure/readability improvements.
suggest test-code design/structure/readability improvements.
suggest documentation improvements.
suggest language/writing improvements.
help to find bugs

Please run mix format, lot of code is not formatted according to built-in Elixir standards/rules.


Support workspace, project and datastore

Get workspace, project and datastore by name or displayId.
const workspace = await client.workspace('WORKSPACE_NAME');
const project  = await workspace.project('PROJECT_NAME');
const datastore = await project.datastore('DATASTORE_NAME');

@kondokentaro ummm. want to merge..  should we need some other checks?


make sure that props are passed on to the root component

Released in https://github.com/CanopyTax/single-spa-preact/releases/tag/v1.0.2


Doesn't seem to be working with sketch 3.4 update

Doesn't seem to be working with sketch 3.4 update

Confirming the same issue.

Yup. Not working here either.

@zacdicko @shiienurm @marcusandrew It does work for me. Can you please share version of your Sketch app Sketch\About Sketch
Also, do you have a release from the Appstore or downloaded from the website?

I have Version 3.4 (15588)  and is not working, I just updated from the app update notification.

I just reinstalled the plugin and now is working :+1:

Can you please send a log from the console app. Simply type sketch in the console.app, then run the plugin

Also experiencing issues.

Same here :(
Reinstalled and still not working. Killing my workflow
Best

Please submit log details, otherwise I don't know what is going wrong

How can I do this? It doesn´t return any error message, just don´t work
Best & Thanks! :D
El jue., 29 oct. 2015 a las 14:33, Timur Carpeev<EMAIL_ADDRESS>escribió:

Please submit log details, otherwise I don't know what is going wrong
—
Reply to this email directly or view it on GitHub
https://github.com/timuric/Content-generator-sketch-plugin/issues/76#issuecomment-152179955
.

@HectorCalleja You can do it by following these steps:

Open Console app Applications/Utilities/Console
Type Sketch In filter box
Run plugin
Copy the contents in the Console app

Thank you so much!
This is what happens when I execute the plugin on a circle to add a photo
29/10/15 15:56:27,863 Sketch[176]: Deprecation Warning in :
/Users/Hec/Library/Containers/com.bohemiancoding.sketch3/Data/Library/Application
Support/com.bohemiancoding.sketch3/Plugins/Content-generator-sketch-plugin-master/Photos/Music
artist.sketchplugin, line 0 «Plugin Developer»
29/10/15 15:56:27,863 Sketch[176]: Warning: #import syntax for CocoaScript
is deprecated. Please update your script to use @import instead. «Plugin
Developer»
29/10/15 15:56:27,865 Sketch[176]: Deprecation Warning in :
/Users/Hec/Library/Containers/com.bohemiancoding.sketch3/Data/Library/Application
Support/com.bohemiancoding.sketch3/Plugins/Content-generator-sketch-plugin-master/Photos/Music
artist.sketchplugin, line 1 «Plugin Developer»
29/10/15 15:56:27,865 Sketch[176]: Warning: #import syntax for CocoaScript
is deprecated. Please update your script to use @import instead. «Plugin
Developer»
Best!
El jue., 29 oct. 2015 a las 15:06, Timur Carpeev<EMAIL_ADDRESS>escribió:

@HectorCalleja https://github.com/HectorCalleja You can do it by
following these steps:

Open Console app Applications/Utilities/Console
Type Sketch In filter box
Run plugin
Copy the contents in the Console app

—
Reply to this email directly or view it on GitHub
https://github.com/timuric/Content-generator-sketch-plugin/issues/76#issuecomment-152191433
.

@HectorCalleja I think it is fixed now, please get a new version. Let me know if it works for you

It worked!!!
Thank you so mucho brother
Shot outs from Madrid :D
El jue., 29 oct. 2015 a las 16:05, Timur Carpeev<EMAIL_ADDRESS>escribió:

@HectorCalleja https://github.com/HectorCalleja I think it is fixed
now, please get a new version. Let me know if it works for you
—
Reply to this email directly or view it on GitHub
https://github.com/timuric/Content-generator-sketch-plugin/issues/76#issuecomment-152207848
.

@HectorCalleja Thanks for feedback!
@hassaan22 @Elyager @marcusandrew @zacdicko Please update

Nice work Timuric. You've been awesome.
Sketch is not complete without your plugin :)

@marcusandrew haha, thanks!

Co-sign
:)
El jue., 29 oct. 2015 a las 19:53, Timur Carpeev<EMAIL_ADDRESS>escribió:

@marcusandrew https://github.com/marcusandrew haha, thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/timuric/Content-generator-sketch-plugin/issues/76#issuecomment-152285731
.

All Good man, nice work!


Grid select, edit edit inline

Please add the feature of editing data on the grid similar to https://tabblazor.com/docs/tables.

@thuyenvinh Until we ship this feature, you can try the below custom approach, where we created a sample GitHub repo.
Grid - Edit / Delete / Single Selection / Multi Selection

Grid in-line editing is covered part of Edit mode in grid component (in line editing ) #123.

Sample screenshot:


"Do not enable Privacy Levels"?

This article reads: "Do not enable Privacy Levels unless you are confident that the data source does not contain sensitive or confidential data."
Should it instead be "Do not IGNORE Privacy Levels unless you are confident that the data source does not contain sensitive or confidential data."?  Thanks

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

ID: eb7743c4-abb7-9c9d-6089-eca63ba9ac94
Version Independent ID: c5bfefde-15ff-683c-5a79-e7210b8bf984
Content: Understand Power BI Desktop privacy levels - Power BI
Content Source: powerbi-docs/desktop-privacy-levels.md
Service: powerbi
Sub-service: powerbi-desktop
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Thanks for your comment, @chrisweis. I've assigned this issue to the doc author for review.

Thanks for your comment - that passage was not clear. I've adjusted the wording to make it clear. Thanks for posting, the change will show up online within 24 hours.


level=fatal msg="starting tls server: Get https://localhost:6444/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions: x509: certificate has expired or is not yet valid

I called back the system time and Rancher can be used normally. After checking the ssl certificate, I found that the time is 1 year, there should be no certificate expiration problem.
The log is as follows:
In normal system time, delete the certificate under /var/lib/rancher/k3s/tls and restart docker, rancher can run normally. But I cannot connect to the corresponding cluster. How should I solve this problem?
E1028 05:44:27.660001      32 reflector.go:126] k8s.io/client-go/informers/factory.go:130: Failed to list *v1.ReplicaSet: Get https://localhost:6444/apis/apps/v1/replicasets?limit=500&resourceVersion=0: x509: certificate has expired or is not yet valid
E1028 05:44:27.660335      32 reflector.go:126] k8s.io/client-go/informers/factory.go:130: Failed to list *v1.Service: Get https://localhost:6444/api/v1/services?limit=500&resourceVersion=0: x509: certificate has expired or is not yet valid
E1028 05:44:27.660574      32 reflector.go:126] k8s.io/client-go/informers/factory.go:130: Failed to list *v1.PersistentVolumeClaim: Get https://localhost:6444/api/v1/persistentvolumeclaims?limit=500&resourceVersion=0: x509: certificate has expired or is not yet valid
E1028 05:44:27.661437      32 reflector.go:126] k8s.io/client-go/informers/factory.go:130: Failed to list *v1.StorageClass: Get https://localhost:6444/apis/storage.k8s.io/v1/storageclasses?limit=500&resourceVersion=0: x509: certificate has expired or is not yet valid
2020/10/28 05:44:27 http: TLS handshake error from <IP_ADDRESS>:48208: remote error: tls: bad certificate
2020/10/28 05:44:27 http: TLS handshake error from <IP_ADDRESS>:48210: remote error: tls: bad certificate
E1028 05:44:27.665173      32 reflector.go:126] k8s.io/kubernetes/cmd/kube-scheduler/app/server.go:223: Failed to list *v1.Pod: Get https://localhost:6444/api/v1/pods?fieldSelector=status.phase!%3DFailed%2Cstatus.phase!%3DSucceeded&limit=500&resourceVersion=0: x509: certificate has expired or is not yet valid
E1028 05:44:27.665434      32 leaderelection.go:306] error retrieving resource lock kube-system/kube-controller-manager: Get https://localhost:6444/api/v1/namespaces/kube-system/endpoints/kube-controller-manager?timeout=10s: x509: certificate has expired or is not yet valid
2020/10/28 05:44:27 http: TLS handshake error from <IP_ADDRESS>:48212: remote error: tls: bad certificate
2020/10/28 05:44:27 http: TLS handshake error from <IP_ADDRESS>:48204: remote error: tls: bad certificate
2020/10/28 05:44:27 http: TLS handshake error from <IP_ADDRESS>:48214: remote error: tls: bad certificate
E1028 05:44:27.666943      32 reflector.go:126] k8s.io/client-go/informers/factory.go:130: Failed to list *v1.PersistentVolume: Get https://localhost:6444/api/v1/persistentvolumes?limit=500&resourceVersion=0: x509: certificate has expired or is not yet valid
2020/10/28 05:44:27 http: TLS handshake error from <IP_ADDRESS>:48216: remote error: tls: bad certificate
2020/10/28 05:44:27 http: TLS handshake error from <IP_ADDRESS>:48196: remote error: tls: bad certificate
2020/10/28 05:44:27 http: TLS handshake error from <IP_ADDRESS>:48198: remote error: tls: bad certificate
E1028 05:44:27.669024      32 reflector.go:126] k8s.io/client-go/informers/factory.go:130: Failed to list *v1.ReplicationController: Get https://localhost:6444/api/v1/replicationcontrollers?limit=500&resourceVersion=0: x509: certificate has expired or is not yet valid
E1028 05:44:27.674854      32 reflector.go:126] k8s.io/client-go/informers/factory.go:130: Failed to list *v1.StatefulSet: Get https://localhost:6444/apis/apps/v1/statefulsets?limit=500&resourceVersion=0: x509: certificate has expired or is not yet valid
2020/10/28 05:44:27 http: TLS handshake error from <IP_ADDRESS>:48206: remote error: tls: bad certificate
2020/10/28 05:44:27 http: TLS handshake error from <IP_ADDRESS>:48200: remote error: tls: bad certificate
time="2020-10-28T05:44:27.701227872Z" level=fatal msg="starting tls server: Get https://localhost:6444/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions: x509: certificate has expired or is not yet valid"

Look like a certificate problem:
E1028 06:08:20.290973      32 prometheus.go:162] failed to register latency metric admission_quota_controller: duplicate metrics collector registration attempted
E1028 06:08:20.291013      32 prometheus.go:174] failed to register work_duration metric admission_quota_controller: duplicate metrics collector registration attempted
E1028 06:08:20.291035      32 prometheus.go:189] failed to register unfinished_work_seconds metric admission_quota_controller: duplicate metrics collector registration attempted
E1028 06:08:20.291063      32 prometheus.go:202] failed to register longest_running_processor_microseconds metric admission_quota_controller: duplicate metrics collector registration attempted
W1028 06:08:20.459379      32 genericapiserver.go:315] Skipping API batch/v2alpha1 because it has no resources.
W1028 06:08:20.466915      32 genericapiserver.go:315] Skipping API node.k8s.io/v1alpha1 because it has no resources.
E1028 06:08:20.484918      32 prometheus.go:138] failed to register depth metric admission_quota_controller: duplicate metrics collector registration attempted
E1028 06:08:20.484970      32 prometheus.go:150] failed to register adds metric admission_quota_controller: duplicate metrics collector registration attempted
E1028 06:08:20.485005      32 prometheus.go:162] failed to register latency metric admission_quota_controller: duplicate metrics collector registration attempted
E1028 06:08:20.485037      32 prometheus.go:174] failed to register work_duration metric admission_quota_controller: duplicate metrics collector registration attempted
E1028 06:08:20.485067      32 prometheus.go:189] failed to register unfinished_work_seconds metric admission_quota_controller: duplicate metrics collector registration attempted
E1028 06:08:20.485092      32 prometheus.go:202] failed to register longest_running_processor_microseconds metric admission_quota_controller: duplicate metrics collector registration attempted
time="2020-10-28T06:08:20.504672605Z" level=info msg="Running kube-scheduler --bind-address=<IP_ADDRESS> --kubeconfig=/var/lib/rancher/k3s/server/cred/scheduler.kubeconfig --port=10251 --secure-port=0"
time="2020-10-28T06:08:20.517054866Z" level=info msg="Running kube-controller-manager --allocate-node-cidrs=true --bind-address=<IP_ADDRESS> --cluster-cidr=<IP_ADDRESS>/16 --cluster-signing-cert-file=/var/lib/rancher/k3s/server/tls/server-ca.crt --cluster-signing-key-file=/var/lib/rancher/k3s/server/tls/server-ca.key --kubeconfig=/var/lib/rancher/k3s/server/cred/controller.kubeconfig --port=10252 --root-ca-file=/var/lib/rancher/k3s/server/tls/server-ca.crt --secure-port=0 --service-account-private-key-file=/var/lib/rancher/k3s/server/tls/service.key --use-service-account-credentials=true"
time="2020-10-28T06:08:20.533877650Z" level=fatal msg="starting tls server: Get https://localhost:6444/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions: x509: certificate has expired or is not yet valid"
2020/10/28 06:08:20 [FATAL] k3s exited with: exit status 1

Maybe duplicate of #26984?

the same here.
regarding #26984 I can not find the mentioned certificates (token-node.crt, localhost.crt). In fact I do not have the path (/var/lib/rancher/management-state/tls/) neither. The only path I can find containing certificates on rancher server is: /var/lib/rancher/k3s/server/tls
What can we do to renew those certs? Cause rotating from Rancher UI (after changing the time a few days back) doesn't help.

https://github.com/rancher/rancher/issues/26984#issuecomment-712233261
this helped


🌟 Feature: Add a Scroll "Progress Indicator Bar"

Describe the feature
Hey @Suchitra-Sahoo ,
I want to add a "Scroll Down Progress Bar"
This feature adds a scroll down progress bar to the website, which visually indicates the user's progress as they scroll down the page.
The progress bar enhances user experience by providing a clear visual cue of their location on the page and how much content remains to be viewed.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Hey @Suchitra-Sahoo , pls assign this issue to me, I'll surely do the desired task :)


Getting an error straight from the beginning

How to reproduce
Import library and dictionary as in example code from README.md
Experienced Issue
../../../go/pkg/mod/github.com/aaaton/golem@v0.0.0-20191129093449-a9f1a1b6b185/dicts/en/data.go:1:1: expected 'package', found version

Expected Behaviour
Perhaps I'm doing something wrong, but that what happens when I just try to work with the lib as it done in example code. 🤷♂

Thanks for the report. This is a duplicate of #13 and should be related to git lfs.

@aaaton, sorry for duplicating that, yesterday GitHub experienced some issues I can swear I haven't seen that issue in the list. Thank you.

No worries. It wasn't there. I reopened it when you had the same problem


升级agora_rtc_engine: ^4.0.7 安卓编译报错

The build failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetifier to solve the incompatibility.
Building plugin agora_rtc_engine...
Running Gradle task 'assembleAarRelease'...
Running Gradle task 'assembleAarRelease'... Done 2,843ms
FAILURE: Build failed with an exception.
Where:
Build file '/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/agora_rtc_engine-4.0.7/android/build.gradle' line: 29
Agora-Flutter-SDK kotlin 1.3.72
项目 ext.kotlin_version = '1.5.0'
项目 gradle:3.5.4
我看 Agora-Flutter-SDK kotlin=1.3.72 但我的工程不能使用1.3.72 因为有其他SDK需要更高版本

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:processDebugResources'.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Android resource linking failed
/Users/love/.gradle/caches/transforms-2/files-2.1/564d237739bcec4032e506e160761eed/core-1.7.0-beta01/res/values/values.xml:105:5-114:25: AAPT: error: resource android:attr/lStar not found.

加了这段代码就好了
configurations.all {
resolutionStrategy {
force 'androidx.core:core-ktx:1.6.0'
}
}

debug 模式下可以正常编译，release模式报错
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done                     495.4s
The build failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetifier to solve the incompatibility.
Building plugin agora_rtc_engine...
Running Gradle task 'assembleAarRelease'...
Running Gradle task 'assembleAarRelease'... Done                 2,377ms
FAILURE: Build failed with an exception.

Where:
Build file '/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/agora_rtc_engine-4.0.7/android/build.gradle' line: 29

What went wrong:
A problem occurred evaluating root project 'agora_rtc_engine'.

Plugin with id 'com.android.library' not found.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 2s
The plugin agora_rtc_engine could not be built due to the issue above.

kotlin 1.5 需要 gradle 6.1之后的版本

同时，注意gradle和gradle插件的版本关系
https://developer.android.google.cn/studio/releases/gradle-plugin

是混淆的原因，flutter命令模式自动开了混淆，导致编译失败，加上 --no-shrink命令就可以关闭混淆
flutter build apk --split-per-abi --no-shrink --target-platform android-arm64,android-arm --release
另外 也可以在gradle文件加上禁止混淆的配置
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so flutter run --release works.
signingConfig signingConfigs.release
minifyEnabled false
shrinkResources false
useProguard false
}


Introduce .editorconfig to provide code standards guidance

As suggested by @lenardg during work on PR #159.

@SeanFeldman I might have mixed things up a little: .editorconfig only affects tabs/spaces and newline settings, and cannot directly affect how braces are formatted for C#. Sorry about that!
That said, I still think it would be good to have an .editorconfig, because I usually code with tabs but your project uses spaces. An .editorconfig means VS2017 and other .editorconfig based editors will not try to tabify the project when someone with different settings edits the files.

Hi @lenardg could you please clarify your suggestion? Thanks!
P.S Service Bus Explorer is my project :) Sean is a super valuable collaborator :)

Sure!
.editorconfig is a file that instructs the editor (in this case Visual Studio) to use certain settings relating to indentation settings in C# and .config files. Your project uses 4 spaces to indent C# source code and 2 spaces to indent .config files. This .editorconfig is set up to instruct VS2017 to use that.
So even if my Visual Studio is set up to use tabs for indentation and that indents are 8 characters deep, when I open a project with this .editorconfig, VS will still use 4 spaces.
I actually use tabs for indentation (it is what we use in our company), so I had to take special care when contributing to ServiceBusExplorer to not commit anything with tabs in it, but use spaces like your project does. When the .editorconfig is added, VS takes care of this, and will still use spaces, regardless of the user settings.
Read more about it here: http://editorconfig.org/
(VS2017 has built in support, previous VS versions require a plugin to be installed in order for this to work).
Hope this clarifies what this is! :)

@paolosalvatori here's VS specific doco.

More inclusive (and official) documentation on VS2017 options that can be used: https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference


CircleCI: Create a lint code job

As discussed at https://github.com/googleapis/api-linter/issues/115#issuecomment-513881106

Your RP has been integrated into PR #116. Thank you very much!!!


xyxy must be 2d np.ndarray with (n, 4) shape (BUG)

roboflow==1.1.4

even xml is proper

@xmsi this is an supervision we fixed a week ago (hopefully) and pushed a code for that in here https://github.com/roboflow/supervision/issues/347 could you try git version  If you problem solved that is awesome if not let's open a issue in https://github.com/roboflow/supervision and possibly with colab/code with dataset you used (if public and okey to share)  so we can investigate better as well :)

I am going to close this Issue since it is unrelated to roboflow-python. Please continue discussion in the supervision repository as noted by @onuralpszr above.


Add topic tags

I suggest adding topics such as finance, financial-data, stock-market, sp500 in the About section, as explained at https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/classifying-your-repository-with-topics

Done.  Good idea, thanks!!


itermocil opening layout in a new tab

I don't know if the expected behaviour but i think this is really "annoying"
I'm using this layout:
windows:
  - name: sample-3-columns
    root: ~/Projects/Website
    layout: 3_columns
    panes:
      - echo "bla"
      - echo "bla"
      - echo "bla"
      - echo "bla"

Is it because a iTerm option or something like this?

@lucasfeliciano
I think you may be referring to how if you currently have iTerm open, and run itermocil  that it's opening the layout in a new iTerm tab?
If that is the case, please see the readme for itermocil options, particularly --here
It tells itermocil to apply the layout in the current window/tab. Cheers

Nice, it works!
Sorry for my sloppy search in the readme :)


Warn/Error during install of leveldown dependency

I'm not able to Dockerize a pouchdb server because of a warning when attempting to install leveldown. I am currently using Node verion 8.12. I see lots of related problems to this but seemingly no solutions after quite some searching. Can anyone help figure out what's going on?
> prebuild-install || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=8.12.0 runtime=node arch=x64 platform=linux)
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack     at PythonFinder.failNoPython (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:484:19)
gyp ERR! stack     at PythonFinder.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:406:16)
gyp ERR! stack     at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:68:16)
gyp ERR! stack     at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:80:29)
gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/which/which.js:89:16
gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/isexe/index.js:42:5
gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:152:21)
gyp ERR! System Linux 4.9.93-linuxkit-aufs
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/src/client/node_modules/leveldown
gyp ERR! node -v v8.12.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2018-10-23T17_30_04_311Z-debug.log```

For me, python2.7 needs to be installed
If python3 is the default, for me npm needs the argument
--python=`which python2.7\`

AFAICT, all of this stems from gyp as a dependency


filterText requires trimmed prefixes

In gopls, we originally did not set filterText for completions, but we encountered an issue that required us to return prefix-trimmed filter text. I wonder if we could do the prefix-matching client-side, since none of the other editors seem to require prefix-trimmed filter text.
Repro case:
I have 2 variables in scope item and insertText. Without filter text, I type i and get suggestions for both variables. Then, I add the t and only see suggestion for insertText because of the filtering on the label. However, when I set filterText with trimmed prefixes (tem and nsertText), the behavior is as I would expect, i.e., both variables are matched.
Relevant issues: https://github.com/golang/go/issues/31552, https://github.com/Microsoft/language-server-protocol/issues/729, https://github.com/tigersoldier/company-lsp/issues/103.

@stamblerre here is what I see with a simple example without any need of a filter text.

Could you provide me with a test case that demos what you are seeing so I can investigate whether this is a problem in the LSP or the VS Code API.
The code I use looks as follows:
			completionProvider: {
				triggerCharacters: ['.'],
				resolveProvider: true
			}

connection.onCompletion(
	(_textDocumentPosition: TextDocumentPositionParams): CompletionItem[] => {
		// The pass parameter contains the position of the text document in
		// which code complete got requested. For the example we ignore this
		// info and always provide the same completion items.
		return [
			{
				label: 'item',
				kind: CompletionItemKind.Text,
				data: 1
			},
			{
				label: 'insertText',
				kind: CompletionItemKind.Text,
				data: 2
			}
		];
	}
);

Here's my repro case:

There is only ever one completion request - the second keystroke does not cause a second request to happen, I think it just filters the results of the first one. The completion items for insertText and item are:
{"label":"insertText","kind":6,"detail":"string","preselect":true,
"sortText":"00000","insertTextFormat":2,
"textEdit":{"range":{"start":{"line":8,"character":2},
"end":{"line":8,"character":2}},
"newText":"nsertText"}}

and
{"label":"item","kind":6,"detail":"protocol.CompletionItem",
"sortText":"00001","insertTextFormat":2,
"textEdit":{"range":{"start":{"line":8,"character":2},
"end":{"line":8,"character":2}},
"newText":"tem"}},

If you want to have completion requests for every key stroke mark the completion result as incomplete (see https://github.com/Microsoft/vscode-languageserver-node/blob/master/types/src/main.ts#L1542)
Would you be able to provide code that can be executed that demos this (best a GitHub repository I can clone). You could even try to create a test case using native VS Code API. I am pretty sure it demos there as well since the LSP client does mostly only type conversion.

The code for this in gopls, which can be cloned by running: go get -u golang.org/x/tools/cmd/gopls. The code for building a completion item is specifically in this file, in the toProtocolCompletionItems function. It's reproducible if you comment out line 75.
I had assumed that isIncomplete was for a scenario when you had too many possibilities to send a full list, and so you only sent some portion of the results, but perhaps I misunderstood?

The problem seems to be related to triggering the completion with the start of an identifier rather than triggering with a ".". Triggering completion with "." works as expected.
In @stamblerre's example, if you accept the "insertText" item, it ends up inserting the entire label, leaving "iinsertText" (even though the completion item from gopls has "nsertText"). VSCode seems to not be using the gopls completions at all in this case (?).
As another data point, setting isIncomplete=true makes to work as expected, but it is not clear to me why the client side filtering with isIncomplete=false doesn't work.

Regarding isComplete: if true (the default) then the client can assume that the list is complete at the current cursor position and typing another character doesn't change the list. So the filtering can happen on the client side (which is a lot faster). If set to false typing a character can change the list and the client will contact the server again and the server could add additional items.
@stamblerre would you be able to make this reproduce in the following reppository: https://github.com/dbaeumer/vscode-lsp-488. It is a miniaml test case for your problem using a server written in TS. It offers code complete for text files.

I tried filling in the completion items with the other fields, and I set the trigger character to 'i', but I wasn't able to reproduce the issue with the text files.
		return [
			{
				label: 'item',
				kind: CompletionItemKind.Text,
				detail: 'string',
				sortText: '00000',
				insertTextFormat: InsertTextFormat.Snippet,
				textEdit: {
					newText: "tem",
					range: {
						start: {
							line: 1,
							character: 2,
						},
						end: {
							line: 1,
							character: 2,
						},
					},
				},
			},
			{
				label: 'insertText',
				kind: CompletionItemKind.Text,
				detail: 'string',
				sortText: '00001',
				insertTextFormat: InsertTextFormat.Snippet,
				textEdit: {
					newText: "nsertText",
					range: {
						start: {
							line: 1,
							character: 2,
						},
						end: {
							line: 1,
							character: 2,
						},
					},
				},
			}

However, I also noticed that it wasn't obeying the sortText property - insertText was always ranked above item.
Is it possible that there is some configuration in VSCode or the VSCode Go extension that would cause the filtering to change?

The only once I am aware of are:

but they should not filter out items.
@jrieken do you have an idea why items wouldn't show up / get filtered?

This is related to the range returned, e.g the prefix i isn't selected to be overwritten with item or insertText but the i is kept a concatenated with tem or nsertText. The consequence is that the i isn't used for scoring/highlighting.
You seems to be trying many things like incomplete result sets, trigger characters, sort/filter text etc etc. That makes it hard to understand this issue... Can you create a simple dummy extension and steps how to use it so that I can repro this?

the prefix i isn't selected to be overwritten

Yes, that seems to be related. I patched gopls to overwrite the "i" instead of appending to it and the completion works as expected.
I reproduced the behavior in @dbaeumer's test project with the below stub completions. In particular, typing "it" only gives a completion for "insertText" instead of "item" and "insertText".
return [
	{
		label: 'item',
		kind: CompletionItemKind.Text,
		textEdit: {
			newText: "tem",
			range: {
				start: {
					line: 0,
					character: 1,
				},
				end: {
					line: 0,
					character: 1,
				},
			},
		},
	},
	{
		label: 'insertText',
		kind: CompletionItemKind.Text,
		textEdit: {
			newText: "nsertText",
			range: {
				start: {
					line: 0,
					character: 1,
				},
				end: {
					line: 0,
					character: 1,
				},
			},
		},
	}
];

n particular, typing "it" only gives a completion for "insertText" instead of "item" and "insertText".

That's expected when appending only tem and nsertText. The reason being is that the t (the i isn't considered) as the first prefix character must match "strong", e.g an upper case or post-separator character.

Yes, that seems to be related. I patched gopls to overwrite the "i" instead of appending to it and the completion works as expected.

I would then strongly advise to use this approach - mentally user think of the word(-part) they have typed and that want that to be matched/highlight. E.g the i should be highlighted when showing item and insertText

Joining this conversation a little late. The question I have is how the editor (Vim in my case) is supposed to know where the completion starts. Because now the FilterText and TextEdit both contain the untrimmed content, is the editor expected to calculate where this completion starts?

Apologies, I totally missed that this information is of course in the Range of the TextEdit. Apologies for the noise.


Validate State's 'schema' is misdocumented.

The documentation & structs suggest that you can define a global schema and reference it, but no logic appears to implement it this way. We should fix either the implementation or the documentation.

Do we want to cut this out or implement it? As far as I can tell there's only two ways to implement this:

Schemas validate workflow input when executed. But you can already do this by setting your first state as a validate state.
Schemas are used only by the validate state by referencing the id. This would save on some yaml duplication if a workflow is gonna validate the same schema multiple times.

If we go with No. 2 we do something like this
- id: validate-input
  type: validate
  ref: schema-age

Cut it IMO.