SQL queries matcher support

Rails 7 added support for a few query assertions:
assert_queries_count(1) { Post.first }
assert_queries_count { Post.first }
assert_queries_count(1, include_schema: true) { Post.columns }

assert_no_queries { post.comments }
assert_no_queries(include_schema: true) { Post.columns }

assert_queries_match(/LIMIT \?/, count: 1) { Post.first }
assert_queries_match(/LIMIT \?/) { Post.first }
assert_queries_match(/FROM pg_attribute/i, include_schema: true) { Post.columns }

assert_no_queries_match(/SELECT/i) { post.comments }
assert_no_queries_match(/FROM pg_attribute/i, include_schema: true) { Post.columns }

Does an equivalent matcher belong in rspec-rails?
I've found these rails assertions useful to ensure performance issues (like N+1 queries) don't appear and to make regression tests for when they do.
In projects that use rspec-rails, a matcher that allows to test for the number of queries executed would be helpful.
I have implemented a custom matcher that supports a subset of these:
expect { Post.first }.to execute_queries(1)
expect { Post.first }.to execute_no_queries

These could be expanded to support matching, no count, and include_schema:
expect { Post.first }.to execute_queries
expect { Post.first }.to execute_queries(1).matching(/LIMIT \?/)
expect { Post.first }.to execute_no_queries.including_schema

I'm working on making a PR to rspec-rails to support these, opening an issue now to iterate on the syntax and to check if it belongs here.

PR opened at #2818

Thanks I've seen, will try to review tonight


ase: changes in support of OpenCL mmd

Updates the filtering (properties) logic to accept a vector of filters and to match on each of the filtering criteria.
Adds a 3rd token, for the ASE VF.  Changes the interface types of token[0] and token[1] to FPGA_IFC_SIM_DFL.  The interface of the new 3rd token is FPGA_IFC_SIM_VFIO.
Assign each token a unique 64-bit objectid.
Return all 3 tokens to fpgaEnumerate().

Requires https://github.com/OPAE/opae-sdk/pull/2751


There is no DocumentIdBuilder

The class ExtendedElasticSearchIndexRequestBuilderFactory is using the class org.apache.flume.sink.elasticsearch.DocumentIdBuilder. But this DocumentIdBuilder seems to be part of flume 1.3.1 but not 1.5.2

Sorry, I still need to update the documentation here.
This project is based on our own fork of Flume 1.5.2 -
https://github.com/gigya/flume/tree/flume-1.5-es-sink-change
The Elasticsearch sink in Flume was changed and DocumentIdBuilder was added to be able to set the document ID when using the HTTP mode in the sink. It was not possible to do without changing the sink.

Now. It make sense :)
Thanks !


Connect() when system time is not (yet) set, corrupts IoTHubDeviceClient? V2.0.0

Steps to reproduce:

set system time to 31/03/1987
try to connect to IoTHub --> (Results in a "await connect()" that keeps retrying and never returns or never raises an exception.)
set system time correct --> ("CredentialError" gets raised on the next retry. Here I expected that the "await connect()" would succeed?)
call connect again on the same IoTHubClientDevice object --> (fails again with a "CredentialError" exception. IoTHubClientDevice object corrupted? Here I also expected that the "await connect()" would succeed?)
restart application --> connection succeeds

connect_when_system_time_is_wrong.txt

Connection generally succeeds in the retry loop when the disconnection has taken place due internet being off and would succeed if internet comes on.
However in this specific scenario, since the times mismatch the original authentication token is not valid. Hence the connection does not succeed even if the time becomes correct as the authentication is always refused.
In the current implementation since we are not generating the sas token on every connection attempt, for the time being you can build something to help solve the problem.
But eventually we are thinking to include the functionality to regenerate new tokens under certain circumstances. I am not sure exactly when this will be released.

There is a new release which should fail the connect in case of the above error.

@robbinvandamme, thank you for your contribution to our open-sourced project! Please help us improve by filling out this 2-minute customer satisfaction survey


Tradfri motion sensor. Problem with history of data

homebridge.log.gz
homebridge-hue.json.gz
Hello @ebaauw! Eve stopped showing historical data on the Tradfri motion sensor (the new model), it works but shows no history.
I deleted the Eve application and reinstalled it did not help.
I deleted a sensor from the deCONZ and added it again without result.
Аll other sensors show history?
What could be the problem?

Does the history show on another iDevice, or is it missing from all devices?  Deleting an re-installing Eve should cleanup everything Eve has stored locally, but I don't know how this works in relation to recent iCloud sync introduced in Eve.
If multiple devices don't show history, it's probably a corrupted history file.  Could you check if the file history_680AE2FFFE3E048D.json in your accessories folder contains valid JSON?  Could you also check the date on the file, to see if it has been updated recently (compare with the other history files).
Not sure what to recommend here.  It's probably easiest to stop Homebridge, delete the file, and rebuild the history from now on.

Yes this file was old, and it was empty.  I don't know what caused the deletion of its contents, but I deleted it and now everything works.  I am very grateful to you for the quick response!


npm install is failing to install angular2-google-chart

I am trying to install angular2-google-chart using npm for my angular2 with Angular-Cli. Below is the error I get while doing npm install. Please let me know if there are any dependency on node js version? Thanks.
D:\gitmyworkspace\mywork\pcfdeploy>	npm install angular2-google-chart
><EMAIL_ADDRESS>postinstall D:\gitmyworkspace\mywork\pcfdeploy\node_modules\angular2-google-chart
> typings install
'typings' is not recognized as an internal or external command,operable program or batch file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN enoent ENOENT: no such file or directory, open 'D:\gitmyworkspace\mywork\pcfdeploy\node_modules\es6-promise\package.json'
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "D:\\nodeJS\\node.exe" "D:\\nodeJS\\node_modules\\	npm\\bin\\	npm-cli.js" "install" "angular2-google-chart"
npm ERR! node v6.9.5
npm ERR! 	npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>postinstall: `typings install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script 'typings install'.
npm ERR! Make sure you have the latest version of node.js and 	npm installed.
npm ERR! If you do, this is most likely a problem with the angular2-google-chart package,
npm ERR! not with 	npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     typings install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     	npm bugs angular2-google-chart
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     	npm owner ls angular2-google-chart
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     D:\gitmyworkspace\mywork\pcfdeploy\	npm-debug.log

Hi
Please check whethere you have installed typings globally or not. If not please do
npm install typings -g
To check verion
typings -v

Is it possible to install this package without installing typings? This is the first package I'm using that needs this (I'm in the final phase of migrating from angularjs (1.6.x) to angular 4). I rather not install it if it's not necessary (this will complicate the setup instructions of my project... :-/).

I get this error even though I have installed typings globally...

I have this same problem ;/

Hi,
I hope I fixed that that issue.. The reason is that am doing "typings install" script in the postinstall step. I published the new version. Please take a latest version of this module 2.2.3 and then check the flow.
Please let me know the result here.


Publishing to Github packages

Hi. I am trying to publish a fork of your library to Gihub packages. Publishing seems to work fine, but I am struggling with collecting all the proper artefacts (for example I can't manage to publish oidc-appsupport.jar and depenedency libraries)
Can you give a hint of what I should do to achieve that?

Hi,
I'm sorry, i don't have experience with publishing to github packages, as i only publish to maven central.
That said - using the same maven publish configuration as in my repository, all required artifacts should be published.
Kind Regards,
Julian


(BOLT-915) Update facts and puppet_agent modules

The puppet_agent::install_shell task has been updated to use the bash.sh implementation for the facts task. This commit updates the references to the updated modules.

Passes acceptance tests locally.
GIT_FORK=donoghuc/bolt.git GIT_BRANCH=BOLT-915 bundle exec rake test:git

      - Host Configuration Summary -

              - Test Case Summary for suite 'tests' -
       Total Suite Time: 193.51 seconds
      Average Test Time: 13.82 seconds
              Attempted: 14
                 Passed: 14
                 Failed: 0
                Errored: 0
                Skipped: 0
                Pending: 0
                  Total: 14

      - Specific Test Case Status -


chore(cache): fix base_branch input schema

This  PR fixes typo about base_brunch.
https://github.com/nrwl/nx/pull/27230
https://github.com/nrwl/nx/pull/27179

Closing PR in favor of #63


Add collapsed customization in BondTable

This PR adds a way to specify whether the BondTable shall be collapsed by default when shown.
This will also maintain persistent collapsed status between reactive runs of cell showing the BondTable
Closes #36

awesome, thanks!


The Authors retain all copyright to their respective work here submitted.

LOL. This is hilarious. Just stop coding right now, as one pissed off committer will tear your project apart, whether you want it or not.
MIT or BSD, or just don't even bother.
(GPL is useless as well)

coders

hue

getting mad over licensing for a dead game

lel
Op 22-jul.-2015 22:01 schreef "Markus Lachinger"<EMAIL_ADDRESS>
LOL. This is hilarious. Just stop coding right now, as one pissed off
committer will tear your project apart, whether you want it or not.
MIT or BSD, or just don't even bother.
(GPL is useless as well)
—
Reply to this email directly or view it on GitHub
https://github.com/space-wizards/space-station-14/issues/24.

Who's getting mad? :)


feat(types): migrate common-types

added unit tests where beneficial
added documentation and examples

https://github.com/kz-io/core/blob/ea211f035080b492b6a79e97ac2861f86b3259e7/types/interfaces.ts#L93-L98
Notice that the signature is no longer a property, but now is a method. This is due to the change in use of computed properties versus methods.
That design change requires that computed properties MUST only be used if the intended value is based on the initial state of the object, otherwise a get* method MUST be used.

https://github.com/kz-io/core/blob/ea211f035080b492b6a79e97ac2861f86b3259e7/types/interfaces.ts#L194
We added the Symbol.toPrimitive method for the IPrimitiveConvertible to be as forward as we can with type casting. We do still require the valueOf and toString methods as fallback.

The Constructor type alias was removed in preference to using TypeScript's InstanceType.
The KeyPrimitive type was added to provide a quick constraint for keyed objects.


Avoid manual array copy to increase the performance

I am using this class for some heavy operation tasks and manual array copy is not helping us. I have tested this change and seems to bring in a minor improvement. And it does not break any existing code as well.

Coverage decreased (-0.004%) to 90.153% when pulling adc9ecdbb5d16d7856b88c321f7f1479e629c575 on abhijithtn:master into 19e0e29908fef67a0890f6a8513494e9963b2ae0 on apache:master.

I think the coverage decreased because of the extra condition in the if statement. An extra unit test would cover that, but not sure if there is any risk of cache being null (did not check the whole code).

I have tested this change and seems to bring in a minor improvement.

Could you share your tests? Perhaps code (using JMH would be even better), data used, and also environment?


nodes should have parent link

nodes should have parent link.  would make certain transformations much easier (or rather: possible. the easiest way to achieve them is precisely to add the parents, or to create an associative map of nodes to parents).

I think this should be done in torch/graph. I tried to keep the initial structure to a minimum as much as possible to avoid future problems and minimize bookkeeping. Not having a parent object was one of these decisions, I did not need them for the algorithms implemented. If there is a need, it can be added.

I think this should be done in torch/graph.

Ok

I might just put this in a separate graph-like structure, and have a way of converting between nngraph <-> other-graphlike-structure.
=> closed


Add Testimonials

All authors have approved their text.

As discussed offline, let's hold off on pushing this for now.


make -C server/envs/dev fails: cannot find package "dmitryfrank.com/geekmarks/server/cmd/geekmarks-server"

$ git clone git@github.com:dimonomid/geekmarks.git
$ cd geekmarks
$ make -C server/envs/dev
make: Entering directory '/tmp/geekmarks/server/envs/dev'
make -C ../..
make[1]: Entering directory '/tmp/geekmarks/server'
go generate dmitryfrank.com/geekmarks/...
warning: "dmitryfrank.com/geekmarks/..." matched no packages
go build --race -i dmitryfrank.com/geekmarks/server/cmd/geekmarks-server
can't load package: package dmitryfrank.com/geekmarks/server/cmd/geekmarks-server: cannot find package "dmitryfrank.com/geekmarks/server/cmd/geekmarks-server" in any of:
	/usr/lib/go-1.6/src/dmitryfrank.com/geekmarks/server/cmd/geekmarks-server (from $GOROOT)
	($GOPATH not set)
Makefile:9: recipe for target 'docker-build' failed
make[1]: *** [docker-build] Error 1
make[1]: Leaving directory '/tmp/geekmarks/server'
Makefile:9: recipe for target 'up' failed
make: *** [up] Error 2
make: Leaving directory '/tmp/geekmarks/server/envs/dev'

($GOPATH not set)

I see you don't have $GOPATH set.
Although I noticed a few issues in geekmarks as well. The readme is currently misleading: it says to clone the repository to $GOPATH, although the full path to the repo should be $GOPATH/src/dmitryfrank.com/geekmarks. Also, a few vendored packages were missing, so I just added them.
Thanks for reporting, I'll update the readme later.
So, now try the following:
$ export GOPATH=/tmp/go
$ mkdir -p $GOPATH/src/dmitryfrank.com
$ cd $GOPATH/src/dmitryfrank.com
$ git clone git@github.com:dimonomid/geekmarks.git
Cloning into 'geekmarks'...
remote: Counting objects: 2816, done.
remote: Compressing objects: 100% (1247/1247), done.
remote: Total 2816 (delta 1467), reused 2813 (delta 1464), pack-reused 0
Receiving objects: 100% (2816/2816), 2.57 MiB | 1.46 MiB/s, done.
Resolving deltas: 100% (1467/1467), done.
Checking connectivity... done.

$ cd geekmarks
$ make -C server/envs/dev
make: Entering directory `/tmp/go/src/dmitryfrank.com/geekmarks/server/envs/dev'
make -C ../..
make[1]: Entering directory `/tmp/go/src/dmitryfrank.com/geekmarks/server'
go generate dmitryfrank.com/geekmarks/...
go build --race -i dmitryfrank.com/geekmarks/server/cmd/geekmarks-server
docker build -t docker.io/dimonomid/geekmarks-server .
Sending build context to Docker daemon 14.87 MB
Step 1 : FROM golang:1.7
 ---> 47734a1408b7
Step 2 : ADD geekmarks-server /
 ---> Using cache
 ---> 221576d3de5d
Step 3 : ENTRYPOINT /geekmarks-server
 ---> Using cache
 ---> 65dd5a812285
Successfully built 65dd5a812285
rm geekmarks-server
make[1]: Leaving directory `/tmp/go/src/dmitryfrank.com/geekmarks/server'
docker-compose  build && docker-compose  up
postgres uses an image, skipping
geekmarks uses an image, skipping
Starting geekmarks-dev-postgres
Starting geekmarks-dev-main
Attaching to geekmarks-dev-postgres, geekmarks-dev-main
geekmarks-dev-postgres | LOG:  database system was shut down at 2017-02-17 14:58:55 UTC
geekmarks-dev-postgres | LOG:  MultiXact member wraparound protections are now enabled
geekmarks-dev-postgres | LOG:  database system is ready to accept connections
geekmarks-dev-postgres | LOG:  autovacuum launcher started
geekmarks-dev-main | I0217 14:59:47.185482       1 main.go:51] Listening at the port 4000 ...

Updated readme, closing this.

It worked. Thanks :)


E2E: generateSuggestedDomains is not working

We have an infinite loading on the suggested domains section, I checked and it's because we used domain_to_expiry.
I propose you search on the code like this all the queries that you changed like so:

Just to make sure we won't forget some in the future.
A problem that we wouldn't have if we do https://github.com/starknet-id/app.starknet.id/issues/603

domain_to_expiry was added back


[zh] sync ttlafterfinished.md

Sync with en #37595. See preview.
content/zh-cn/docs/concepts/workloads/controllers/ttlafterfinished.md

/approve


Batarang with angularjs 1.5

After upgrading angular from 1.4.9 to 1.5.0 batarang start throw many errors in console. Nothing broke in app but it add mass unnecessary information. Please fix it or help me hide it errors.
20

TypeError: Cannot read property '$id' of undefined
at arguments.(anonymous function) (chrome-extension://ighdmehidhipcmcojjgiloacoafjmpfk/dist/hint.js:2001:19)
at Scope.$digest (http://crm.dev/vendors/assets/angular/angular.js:16664:23)
at Scope.scopePrototype.$digest (chrome-extension://ighdmehidhipcmcojjgiloacoafjmpfk/dist/hint.js:2016:23)
at Scope.$apply (http://crm.dev/vendors/assets/angular/angular.js:16928:24)
at Scope.scopePrototype.$apply (chrome-extension://ighdmehidhipcmcojjgiloacoafjmpfk/dist/hint.js:2079:22)
at bootstrapApply (http://crm.dev/vendors/assets/angular/angular.js:1694:15)
at Object.invoke (http://crm.dev/vendors/assets/angular/angular.js:4604:19)
at doBootstrap (http://crm.dev/vendors/assets/angular/angular.js:1692:14)
at Object.angular.resumeBootstrap (http://crm.dev/vendors/assets/angular/angular.js:1720:12)
at maybeBootstrap (chrome-extension://ighdmehidhipcmcojjgiloacoafjmpfk/dist/hint.js:569:11)

1359

angular.js:13236 TypeError: Cannot read property '$id' of undefined
at arguments.(anonymous function) (chrome-extension://ighdmehidhipcmcojjgiloacoafjmpfk/dist/hint.js:2001:19)
at Scope.$digest (http://crm.dev/vendors/assets/angular/angular.js:16664:23)
at Scope.scopePrototype.$digest (chrome-extension://ighdmehidhipcmcojjgiloacoafjmpfk/dist/hint.js:2016:23)
at Scope.$apply (http://crm.dev/vendors/assets/angular/angular.js:16928:24)
at Scope.scopePrototype.$apply (chrome-extension://ighdmehidhipcmcojjgiloacoafjmpfk/dist/hint.js:2079:22)
at done (http://crm.dev/vendors/assets/angular/angular.js:11266:47)
at completeRequest (http://crm.dev/vendors/assets/angular/angular.js:11464:7)
at XMLHttpRequest.requestLoaded (http://crm.dev/vendors/assets/angular/angular.js:11405:9)

This is a duplicate of #285. It has been fixed in https://github.com/angular/angular-hint/pull/117, but apparently there's been no batarang release since.

Thank you.

@btford @erwinmombay can we cut a new release?

+1

+1

Yes, please, can we get a new release?

+1


Sharepoint integration

This work adds basic Sharepoint integration to browse_everything. It uses the "access on behalf of a user" authorization flow to allow a user to authenticate to the Microsoft Graph API and upload files from their personal and joined Team drives.

Looks good!


Deploy not use the volumes

I have create this storage class:
kubectl describe storageclass longhorn
Name:                  longhorn
IsDefaultClass:        No
Annotations:           <none>
Provisioner:           rancher.io/longhorn
Parameters:            fromBackup=,numberOfReplicas=3,staleReplicaTimeout=30
AllowVolumeExpansion:  <unset>
MountOptions:          <none>
ReclaimPolicy:         Delete
VolumeBindingMode:     Immediate
Events:                <none>

this pvc:
kubectl describe persistentvolumeclaim longhorn-volv-pvc
Name:          longhorn-volv-pvc
Namespace:     default
StorageClass:  longhorn
Status:        Bound
Volume:        pvc-120b8156-6345-11e8-8a4d-080027ed4615
Labels:        <none>
Annotations:   control-plane.alpha.kubernetes.io/leader={"holderIdentity":"c8a222fe-6342-11e8-bd58-5a7b9f6a035e","leaseDurationSeconds":15,"acquireTime":"2018-05-29T13:34:54Z","renewTime":"2018-05-29T13:34:56Z","lea...
              pv.kubernetes.io/bind-completed=yes
              pv.kubernetes.io/bound-by-controller=yes
              volume.beta.kubernetes.io/storage-provisioner=rancher.io/longhorn
Finalizers:    [kubernetes.io/pvc-protection]
Capacity:      97660Ki
Access Modes:  RWO
Events:        <none>

and i have this deployment, with that i want to use the storage class to have a dinamic provisioning:
apiVersion: apps/v1
kind: Deployment
metadata:
 name: dbloginnfs
 labels:
   db: dbnfs
spec:
 replicas: 1
 selector:
   matchLabels:
     db: dbnfs
 template:
   metadata:
     labels:
       db: dbnfs
   spec:
     containers:
     - name: mysql
       image: mysql:5.7
       ports:
       - containerPort: 3306
       env:
       - name: MYSQL_ROOT_PASSWORD
         value: "root"
       - name: MYSQL_DATABASE
         value: "dbutenti"
       volumeMounts:
       - mountPath: "var/lib/mysql"
         name: longhorn
     volumes:
     - name: longhorn
       persistentVolumeClaim:
         claimName: longhorn-volv-pvc

but the deployment not work because it return this:
kubectl describe pod dbloginnfs-764d6864d9-rc8x9
Name:           dbloginnfs-764d6864d9-rc8x9
Namespace:      default
Node:           vmhost2-virtualbox/<IP_ADDRESS>
Start Time:     Tue, 29 May 2018 16:03:41 +0200
Labels:         db=dbnfs
               pod-template-hash=3208242085
Annotations:    <none>
Status:         Pending
IP:
Controlled By:  ReplicaSet/dbloginnfs-764d6864d9
Containers:
 mysql:
   Container ID:
   Image:          mysql:5.7
   Image ID:
   Port:           3306/TCP
   Host Port:      0/TCP
   State:          Waiting
     Reason:       ContainerCreating
   Ready:          False
   Restart Count:  0
   Environment:
     MYSQL_ROOT_PASSWORD:  root
     MYSQL_DATABASE:       dbutenti
   Mounts:
     /var/run/secrets/kubernetes.io/serviceaccount from default-token-zwqh5 (ro)
     var/lib/mysql from longhorn (rw)
Conditions:
 Type           Status
 Initialized    True
 Ready          False
 PodScheduled   True
Volumes:
 longhorn:
   Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
   ClaimName:  longhorn-volv-pvc
   ReadOnly:   false
 default-token-zwqh5:
   Type:        Secret (a volume populated by a Secret)
   SecretName:  default-token-zwqh5
   Optional:    false
QoS Class:       BestEffort
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                node.kubernetes.io/unreachable:NoExecute for 300s
Events:
 Type     Reason                 Age               From                         Message
 ----     ------                 ----              ----                         -------
 Normal   Scheduled              4m                default-scheduler            Successfully assigned dbloginnfs-764d6864d9-rc8x9 to vmhost2-virtualbox
 Normal   SuccessfulMountVolume  4m                kubelet, vmhost2-virtualbox  MountVolume.SetUp succeeded for volume "default-token-zwqh5"
 Warning  FailedMount            18s (x2 over 2m)  kubelet, vmhost2-virtualbox  Unable to mount volumes for pod "dbloginnfs-764d6864d9-rc8x9_default(17e44dcb-6349-11e8-8a4d-080027ed4615)": timeout expired waiting for volumes to attach or mount for pod "default"/"dbloginnfs-764d6864d9-rc8x9". list of unmounted volumes=[longhorn]. list of unattached volumes=[longhorn default-token-zwqh5]

how can i solve it?
@yasker

@CrisMon-01 You can use ``` to quote the cmd output to make it easier to read.
Can you check https://github.com/rancher/longhorn#volume-can-be-attacheddetached-from-ui-but-kubernetes-podstatefulset-etc-cannot-use-it ? It sounds like you have the flexvolume plugin directory set wrong.
For RKE, it should be /var/lib/kubelet/volumeplugins/

thanks i have made it without rancher and it work, so it's a rancher product you could made it more nice for it


Automatically determine utility at utillity specific URLs

Overview
Going straight to a utility specific URL (e.g. /submissions/4 or /draw/4) still shows the utility selector. This can be annoying and potentially confusing. If a user selects a utility not related to that of the URL's item, then the user will still see the URL item, but will have a different utility selected.
Describe the solution you'd like
Automatically set the utility when the user visits one of these URLs
We should wrap all of the utility specific routes in a component which defers rendering of its children until the utility is set. This would probably be easier to do if we moved the draw page "into" submissions: /submissions/4/draw.

This would pair well with #172

which cannot be done with Hooks

It should be possible with RTK query: https://redux-toolkit.js.org/rtk-query/usage/conditional-fetching.

Shares points with #216


WebRTC Statistics API

Is there a way to access the WebRTC statistics API using the MixedReality.WebRTC.Native ? Are there any plants to expose this API to the C# Wrapper?

Are you looking for PeerConnection.GetSimpleStatsAync()?

Sorry, I was looking only at the API available in v1.0.3. I believe GetSimpleStatesAsync has the information I was looking for. Thank you very much!

Yes this was added on master only, will be available in the upcoming v2.0.

Is there a branch where I can pull from and only get the statistics API ? Our development is stable using v1.0.3 and it is been really hard to get it to work using the master branch. We really need access to the statistics API tough.


OutOfMemory exception using context-propagation

Hi,
I have been testing Spring WebFlux and context-propagation library.
Spring Boot 3.0.7
Reactor 3.5.3
context-propagation 1.0.4
I have used the contextWrite operation in WebFilter to populate MDC context and SecurityContext. I also have used the Hooks.enableAutomaticContextPropagation with implementation of ThreadLocalAccessors.
I can see that this object below
io.micrometer.observation.SimpleObservation$SimpleScope	24,739,328 B (11.5%)	773,104 (18.8%)
consumes a lot of memory and many instances are created, we receive OutOfMemory exception after some time of processing (50 threads sending requests from JMeter), and we think this libarary causes the problems on context snapshot.
public class SecurityContextThreadLocalAccessor implements ThreadLocalAccessor<SecurityContext> {

    public static final String KEY = "securityContext";

    @Override
    public Object key() {
        return KEY;
    }

    @Override
    public SecurityContext getValue() {
        return SecurityContextHolder.get();
    }

    @Override
    public void setValue( SecurityContext value ) {
        SecurityContextHolder.set( value );
    }

    @Override
    public void setValue() {
        SecurityContextHolder.clear();
    }

    @Override
    public void reset() {
        SecurityContextHolder.clear();
    }
}

and MDC:
public class MdcThreadLocalAccessor implements ThreadLocalAccessor<Map<String, String>> {

    public static final String KEY = "mdc";

    @Override
    public Object key() {
        return KEY;
    }

    @Override
    public Map<String, String> getValue() {
        return MDC.getCopyOfContextMap();
    }

    @Override
    public void setValue( Map<String, String> value ) {
        MDC.setContextMap( value );
    }

    @Override
    public void setValue() {
        MDC.clear();
    }

    @Override
    public void reset() {
        setValue();
    }
}

Do you guys have any idea of what could be the problem?

Can you actually confirm that this is not a problem with Spring Security? If you move Spring Security out of the equation can you confirm that the memory usage is big? I'm asking this cause AFAIK there are some issues with Spring Security and Context Propagation.

The SecurityContextHolder is my own implementation that is populated in WebFilter:
    private final ThreadLocal<SecurityContext> securityContexts = new ThreadLocal<>();

    @Override
    public SecurityContext get() {
        return securityContexts.get();
    }

    @Override
    public void set( SecurityContext securityContext ) {
        securityContexts.set( securityContext );
    }

    @Override
    public void clear() {
        securityContexts.remove();
    }

We don't use Spring Security (only spring-security-crypto or rsa in our spring cloud dependencies)

@chemicL maybe this is related to what I've shown you recently which is the number of scopes created for a single request?
@imosapatryk what are your JVM settings that you run out of memory? Also you're running 50 threads at the same time so no wonder you have bigger memory usage.
With Hooks.enableAutomaticContextPropagation it will create A LOT of scopes and that's normal. If you don't want that to happen just don't enable automatic context propagation or increase the JVM memory settings :shrug:

I use the same memory size as for the servlet application. I exepected with WebFlux to use a bit less resources comparing to classic application due to less threads and context switching.
I was also wondering if is not better if application would slow down a bit instead of exploading the whole application?

Can you please start with updating the dependencies to the latest versions?
Spring Boot 3.0.7 -> either 3.0.11 or 3.1.4
Reactor 3.5.3 -> 3.5.10
context-propagation 1.0.4 -> 1.0.5

Then, rerun and see if the problem persists.
Then, remove the security context accessor and see if the problem still occurs.
If it does, please provide a reproducer and we can analyse.
If the problem is with the security context accessor, then it's something to dig deeper into on your end.

Let us know.

With that I think it's best to know the versions of micrometer and micrometer-tracing that you are using. Perhaps they're also outdated? If, using the latest versions you still observe the issue, please open a ticket in micrometer or micrometer-tracing repository.

You are right, I checked the dependency tree & effective pom. Some of my assets were overriding the micrometer version, so the observation scopes were not closed. I can confirm it started working using micrometer 1.11.4. Thank you guys for your support.


feat: UI support for invokedByDefault transformers

Signed-off-by: Mehant Kammakomati<EMAIL_ADDRESS>

@HarikrishnanBalagopal Made the changes, please review!

fixes https://github.com/konveyor/move2kube-ui/issues/129


k8s: update k8s libraries to 1.17.13

Also update k8s test versions to 1.17.13

test-backport-1.7

test-missed-k8s


I don't understand how to use spec.js

@chrismjx commented on Tue Feb 05 2019
I just downloaded leap.spec.js for the javasript track, and my question is a very newbie "How do I use this?"
The first line appears to be importing a file from somewhere. The describe block seems to be describing the gist of the test? The rest of the stuff starting with "xtest" is what I'm really confused by. What is all of this? Is it just showing what the test scenarios should be?

@NobbZ commented on Wed Feb 06 2019
Hello @chrismjx, your issue is not related to the exercism-CLI, therefore I'll move it to the appropriate place.

@NobbZ thank you for moving!
@chrismjx I understand your question.
Both on the track and hello-world you can find the instructions and link to installation followed by running the tests.

Understanding Skip Tests
The skip method instructs the test suite to not run a test, this function could be used also under the aliases: it.skip(name, fn) or xit(name, fn) or xtest(name, fn)
Why they are skipped ? So as to enable users to concentrate on one test at a time and enable one by one as they evolve the solution.
How to enable them ? Change xtest to test.

Please take the time to follow the instructions.


Consider using ClassVar and Final typing pattern

i thought a bit about this. according to https://stackoverflow.com/questions/66285078/how-to-define-final-classvar-variable-in-python, Final is sufficient alone on class variables. so, the proposed change here would be to wrap every class variable in our environment files into a Final[...] tag.
i feel like this is going to hurt more than help readability. it's already pretty obvious that the class variables we have are constants, and i think spamming the "Final" tag in every line will make it harder to find the constants you're looking for when scanning through the code. happy to hear other thoughts @tomsilver but my feeling is let's not make any changes here

Thanks for looking into it. That sounds reasonable to me. @williamshen-nz are there any nonobvious benefits to using them?

I usually just annotate with ClassVar as it's clearer. The benefit according to the python docs (https://docs.python.org/3/library/typing.html#typing.ClassVar) is that type checkers can use it to pick it up. In our case, mypy supposedly will do additional checks on ClassVar to check instances are not setting it: https://mypy.readthedocs.io/en/stable/class_basics.html
Also when you use ClassVar with dataclass then it's essentially ignored as a field which you may/may not want (docs: https://docs.python.org/3/library/dataclasses.html). So if you called dataclasses.asdict, __str__, etc. then class variables wouldn't be included in the default dataclass implementations.
I'm not familiar enough with the codebase to know how frequently class variables are being used, but if it is a lot it might cause more pain, be harder to read and require more fixing than it's worth. I'm fine either going either way

nvm i tried it and it looks alright, #639


feat(items-list): add new card view

closes #478

the grid positioning is done but the problem is the static size of images

attention needed


Error during WebSocket handshake

გამარჯობა, გენაცვალე!
thank you for the awesome project!
everything just works, despite the annoying message in console:

how to get rid of that?
https://sad-payne-123151.netlify.app/

Hi @letoribo, thanks. You need to debug Sockets connection and communication with each other, and find out what's causing it. I'm not able to help you without knowing what's the source of problem.

i don't know why the application yet worked,
but after i set REACT_APP_WEBSOCKET_API_URL to wss://cresone.herokuapp.com/graphql
the message has gone.
maybe it would be worth adding this point to frontend-deployment-to-netlify section


feature: Node 14 LTS

The type of this PR is: Feature
Upgrades Node from v10 to v14 LTS.
PR Checklist (tick all before merging)

[x] If I've added a new file to the tree I've exported it from the common index.ts
[x] I've added comments with examples for any new interfaces or helpers and ensured that they're in the docs
[x] No platform-specific terminology has been used outside of click and tap (platform is inferred by the DB storing events)

:rocket: PR was released in v3.0.0 :rocket:


create Account Screen on Mobile Application

Feature Request
Create the Account screen for mobile application
Acceptance Criteria

[ ] Show basic user data part
[ ] Create two separate section with data shown on UI
[ ] Navigate through bottom navigation to this page

UI screenshot

duplicate ticket #245
need to close this


Fix typo in project details docs

This fixes just a tiny typo in the project details documentation.

Thanks @verbosemode good catch! I bet there are lots more where that came from 😅 ! Just changed your pr to point to develop (I think I probably need to update the default branch to be develop so its more clear), LGTM!


Multiple Charge Controllers

Sorry for raising an issue for this, but I have multiple Charge controllers.  You can assign them numbers.  I don't see anywhere in the code where it's referencing the unit number (It's 1 by default)
Is it possible to specify that in the protocol?

Not a problem!
The charge controller is referenced in the hex code string sent over UART by the ESP32. Look for this code block in your YAML file:
  time:     - platform: homeassistant       id: esptime       on_time:         - seconds: 0,30           then:             - uart.write:                 id: uart_bus                 data: [ 0x01, 0xB3, 0x01, 0x00, 0x00, 0x00, 0x00, 0xB5 ] # Reads only real-time data
I think the controller address is the first hex block so you would need to change that and recalculate the checksum. That part is pretty easy. The bigger part of the work is that you would need to duplicate the ampinvt.h file to create separate sensors for each charge controller. If you don't need or want all the sensors then you could cut a lot of it out and just keep the sensors you did want but essentially, you have two parts to this; 1) sending the command to each controller (easy and quick) and 2) processing the response from each controller (harder and more time).

Thanks, I'll go ahead an give it a shot.  I currently have 6 of these, and was hoping to not have to purchase 6 ESP32's.   Lot's of cabling and mess.
Two questions

I'm a Network Engineer who only dabbles in Computer Science.  How would I calculate the checksum?
If I were to duplicate only specific sensors, how would I differentiate between which charge controller it was coming from?  I do not see a reference to the controller address in the ampinvt.h file.

Thanks,
PS. I'm ok with being told it's too far over my head, in that case I'll just purchase more  ESP32's and do it that way.  ESP32 I have setup connect to one of my charge controllers has been rock solid this entire time during testing.

One ESP32 will do the job and even 1 ampinvt.h file but what you will need is to setup the ampinvt.h to read 6 x sensor sets and replicate all those custom sensors in your YAML file.
If you go the 6 x ESP32 setup, you will still need to recode the sensors because they all come together in HA and HA will not know how to process 6 instances of the same sensors. When you figure out the renaming for those, just work backwards to the ampinvt sensor naming.


Run 'make' using cpu parallelism

Right now the actual make step that compiles the code is really being triggered by the %{make_install} macro in the %install section. This sort of works, but it has the unintended side-effect that make doesn't use any CPU parallelism. By using %make_build in the %build section, RPM packaging will automatically use the same number of parallel make jobs as the host has CPU parallelism.

good catch!


Postgres migration

Coverage decreased (-0.03%) to 55.429% when pulling e534a78c0cf6cc889740ba7d2e25a4a069786398 on postgres_migration into 5b462a4b00f0aa94432400097a8ae04a70b3539c on master.


Add Thai translation for chapter 6.3b to 6.10

add Thai translation of chapter 6.3b to 6.10
fix typos in some previous chapters
add translation of the table of content
finish chapter 6

@lewtun

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Cannot access admin features on 2.3.4

In order to test with different levels of PHP I have had create a subdomain. I installed OsCommerce via the subdomain and it all appears to work however when I try to access the administration section the load fails and amin/login does not open. My browser says that there is an eternal redirect loop which has been stopped. Can anyone help me please.

Please search or post about this in the forum as it is a configuration issue. Thanks.


Display live histogram for tap latency

Adds a histogram which updates while the test is running, displaying physical-to-kernel latency for down and up events. This histogram is tappable during the test.
We may want to make the histogram full-screen once the test is done.

Looks good, merging.


[Search Zotero] Chinese word segmentation problem

Extension
https://www.raycast.com/reckoning-dev/zotero
Description
Chinese word segmentation seems to have some problems, some words can not be matched with the proper result, such as a search for "鲁迅" (Lu Xun) yielded no results - even if there is an entry in database titled "鲁迅的青年时代" (Lu Xun's youth) - only by changing the search term to "鲁迅的" (Lu Xun's) will get the correct results.
Steps To Reproduce

open raycast & "search Zotero" command
type a single Chinese word like "鲁迅"
search

Current Behaviour
No response
Expected Behaviour
No response

Sorry, I have no way to test other languages issues. Any contributions would be welcome!


Performance

Question
Compiling theme for sales channel for :<PHONE_NUMBER>c34ae3b69d813bb292f823
! [NOTE] Took 402.018354 seconds
This used to take like 100 seconds - when having a deployment with 4-5 plugin updates (that all have css/js) this takes now forever. Is there any way to speed up the process? Currently we are at the point were we probably wont consider it for bigger shops due to the long deployment pipeline.

Due to the number of files which got (useless) transferred by shopware, this is normal :-(
Assets (hundreds of svg) f.e. are transferred into several folders.
Check also the help-text within the config:

Yes, I am aware of that. But before a few versions this took 100s (instead of 4s with defaut), but now quadrupled. Thats why I am asking.

Can you reproduce it with "before a few versions"?
While this plugin shouldn't affect the time, this could be a part of bunny.net.
But I didn't recognize any relevant increase of api-responses of bunny.

Ok, thx. I guess bunny has to support a better filehandling, otherwise we will have to find a better solution and write our own adapter


Give the cluster badge more space

Fixes #5293
This PR allows the Cluster Badge to have more width.
The issue is that we set a 32 character max width and a 200 pixel max width - so there was a mismatch as you couldn't fix 32 chars of text in the 200 pixels without it overflowing and showing the text ellipsis.
Note that you can still overflow - it very much depends on the text you enter as to what the pixel width of that will be when it renders.

@richard-cox Updated - I moved the preview to the top so you always see it and this gives us more horizontal space


The nacos execution./shutdown.sh script causes all registered services to shutdown

Which Component
Nacos Discovery
Describe what problem you have encountered
Use sh startup.sh -m standalone start stand-alone nacos, when performing. / shutdown.sh when they stop nacos will perform all registration service client to AbstractApplicationContext shutdownHook, lead to all the service is offline. How do I ensure that when nacos fails or manually shuts down, it will not affect all registered services? It was downgraded to that you could not connect to nacos and could not get the latest registration service from nacos.

Duplicate in https://github.com/alibaba/nacos/issues/874.

This is a issue of Nacos


Address settings: Do not require state/province/region field, and add additional lines for street

In the current client, I can not properly add my address.
First, in order to save the address, I am required to fill out all fields. However, where I live, it is not necessary to specify a "state/province/region". Leaving this blank gives me the error "Data could not be saved. Some fields are missing or incorrect."
Second, with my address, it is necessary to have an additional line that specifies things like the apartment number, and for deliveries, the code for entering the building. In its present form, this can only be specified by commas within the street field.

Issues with the flexibility of addresses are being tracked under #1263

We will be revising the address system in the near future, and will include the kind of flexibility you mentioned.


Is there any way to support i18n with api comment?

Now I add api documentation to schema json through function comment (///), I hope to provide developers with multiple language documentation of the same api, currently utoipa has any related support?

Hi, unfortunately there is no support for i18n with api doc comments. This is kind of a grey area as well since there is no real specification or standard of how such feature should be implemented and provided via utoipa. I understand the need and usefulness of it but utoipa is and aims to be framework agnostic and should stay that way.
Typically i18n features are provided by the underlying web frameworks but not necessarily. Or users could plug-in other crate which would provide this feature as they seem fit. Now in utoipa to have this implemented we do not want users to get locked to certain paradigm nor library. And we do not want users utlimately have multiple "translations" paradigms side by side in their application which only gives developers mental overhead.
I am not against having this functionality in the library, it certainly would be cool. :gem:  Still to have it righ so that it would not lock users to a specific paradigm would need some serious design and engineering effort.
Even better of courses if there already is a crate that is able to the translate doc comments (///) from a key in yaml or properties file or from somehwere else. Though I am afraid that taking in account the nature of the utoipa there is no such library that would do  it in compile time though.
The open issues I can think of are at least:

There should be a way for users to define whether they want to use yaml, json,  or properties file type of translations. Or should they?, Should there be a support for some other type i18n?
Would it be possible for users to leverage a custom crate specifically for translations?
How would the i18n key map to the translation within the doc comment (///)? Just a an empty doc comment with key simlar to get.users.message is not helpful for developers when editing code in editor. Should the key be last / first element in the doc comment?
Is there a way to define custom attributes for doc comments?
In place translations would not be possible but translating by some key the description / title field in the generated OpenAPI spec should be doable?
What kind of translation support is feasible? Should there be a support for parametrisizing and plurarisizing and over all variable support?

To have the right answer there is a need for some research to see what is out there and pondering through possible solutions. However currently this is an area not given much consideration in utoipa before.

I thought utoipa might be able to provide an interface that would allow editing of the description in the apidoc at compile time or runtime?
E.g:
let openapi_en = ApiDoc::openapi();
let openapi_cn = openapi.map(|item: ApiSchema| {
   // we can do some translate actions here to modify origin data
   // then return new data
});
router
    .route("/en.json", get(move || async { Json(openapi) }))
    .route("/cn.json", get(move || async { Json(openapi) }))

Agree, utoipa could provide framework agnostic API for translations in which it would loop through each element needing translation and then user can freely implement the logic for translating the text. I'll add this to the todo list so this get's done at somepoint. Also PR:s are welcome :slightly_smiling_face:


[async] Add goose_task! / extend task! macro to reduce boilerplate

This was fixed in this commit:
https://github.com/tag1consulting/goose/commit/69417b753e735a3aef23f7bb45364626082ee848


visualization timeout error

server start with  gunicorn -w 5 -k gevent --timeout 3600
and config.py  SUPERSET_WEBSERVER_TIMEOUT = 600
but When the query time exceeds 3 minutes visualization error

Which view is this @qinzl1 ?

Also, is there any load balancer timeout? That will need to be longer than 3600  😅

@MarcusSorealheis superset version 0.28.1

Hi @quinzl1 - it looks like you're hitting a global query timeout. My recommendation would be to look at the underlying query and optimize your datastore as a concrete next step. We've discussed adding a different mechanism for populating graphs (see SIP-39) but for now this is the best recommendation I can give.


[Question] Will it be able to use models from hugging face?

Browsing the internet, I found some tutorial chaining LangChain, OpenAI...etc. But all working under python environment.
Would DotnetPrompt be able to do similar tasks by itself? Thanks.

Hey @cigoic
Currently, Hugging Face is not supported. However, it is possible to implement it easily as the models in DotnetPrompt function as REST clients. I have yet to explore Hugging Face's capabilities.


Cannot select multiselect options

Got in the way of finishing #581.
The main issue is that we only recognize checkboxes as the only input that can have multiple selections. However, Docassemble now has multiselect, including object multiselect, that lets users select more than one item in a <select> tag. We need to refactor our code in several places to be able to select multiple things in selects.
For checkboxes, we allow multiple selections because each checkbox is a separate field input. In the Story Tables, users add something like:
  | my_checkboxes["bob"] | True | |
  | my_checkboxes["jill"] | True | |

Then, on the question screen itself, each check box for bob and jill are separate fields; ALKiln treats this like the user is just filling different text boxes, and marks each of the check boxes as true.
This doesn't work for multiselects, as it's a single <select multiple> tag, so it's only recognized as one field. We'll have to change our assumptions to truly allow for multiple selections on a single field.

Blocked until we start working with groupings of elements for random input tests


Unexpected server response (206) while retrieving PDF...

As issue 7754 closed but NOT solved, I can NOT reopen it, so I recreated.
https://github.com/mozilla/pdf.js/issues/7754

No details provided. Closing


Feature/cplp 1109 retrieve all applications with status

retrieve all applications with status and user details

@Phil91  can you please take over. Target of the API: take all applications which are in the db.
Ticket: https://jira.catena-x.net/browse/CPLP-1109
Inside the Ticket there is also an example how this is supposed to show up in future in the web-application

@Akshay-Chaudhari-BMW can you please solve the conflict and merge the pr after that. Thanks!


Update dependencies

Current coverage is 1.89% (diff: 100%)

Merging #224 into master will not change coverage

@@            master      #224   diff @@
========================================
  Files           30        30
  Lines          422       422
  Methods        381       381
  Messages         0         0
  Branches        20        20
========================================
  Hits             8         8
  Misses         414       414
  Partials         0         0

Powered by Codecov. Last update 6d60711...d74afe4

Looks good.  Merging...


upgrade Crash to 0.22.1

revert multiline table header support in Crash

will wait for green tests 👍


Would you mind briefly introducingthis repo, instead of Detectron2?

Oh I find that:
https://github.com/shenyunhang/DRN-WSOD-pytorch
On this site, the README is about detectron2
https://github.com/shenyunhang/DRN-WSOD-pytorch/tree/DRN-WSOD/projects/WSL
On this site, the README is about this paper

Hi, this repo is the pytorch version of our codes (original Caffe2 code is here).
And our code is integrated as a project based on Detectron2.
By this way, we may be able to take advantage of some techniques from fully supervised tasks in the future.


[Webpack 5] Does not work with Webpack 5 publicPath

Workaround: Set output.publicPath to /

Webpack 5 native worker support does not work.
Workaround: Add this line before new Worker(new URL(..., import.meta.url))
__webpack_public_path__ = browser.runtime.getURL('/')

got some runtime chunk loading error. I'll fix this later but I still got no idea about how webpack 5 handle public path

got some runtime chunk loading error. I'll fix this later but I still got no idea about how webpack 5 handle public path


Add deprecation notice to point to the YPlan fork

Our fork is compatible with Python 3 and the latest versions of Django, and available on PyPI as django-modeldict-yplan.

@kalail bump as well :)

Can't merge with a build failure. Maybe I'll update the README directly

You can turn that off in the settings for the repo, or locally do:
git remote add yplan git@github.com:YPlan/django-modeldict.git
git fetch yplan
git checkout master
git merge --ff-only yplan/yplan_notice
git push


Implement multi-tenant Ruler: multitsdb and multiagent

Is your proposal related to a problem?
Currently, the Thanos Ruler has no built-in support for multi-tenancy like Receive. This creates issues when running it in a setup where we want to isolate tenants and store their rule-evaluated metrics in a different tsdb instance each. The only possible way might be using a Ruler for each tenant which is simpler but wasteful of resources.
Also, in the case of using Stateless Rulers, it's harder to achieve multi-tenancy, as different tenants might need different configurations while remote writing (write to separate locations with separate HTTP headers like THANOS-TENANT).
For example, consider a Receive with multiple tenants, to which a single Ruler might need to remote-write multi-tenant rule-based metrics and store it in the tenant's Receive tsdb. But in this case, the Ruler cannot add HTTP headers for each tenant, so it is treated as a completely new default tenant by Receive and new tsdb gets created.

(Note: This is a separate problem from ensuring that Ruler only selects data from one tenant while evaluating rules.)
Describe the solution you'd like
A potential solution would be using the Receive multitsdb in Ruler and having the same flags for tenancy as Receive (--receive.default-tenant_id, --receive.tenant-label-name). So the Ruler would be tenant-aware and store evaluated metrics in a different tsdb instance for each tenant using the tenant_id label to identify what rule-based series belongs to which tenant (assuming that the rule file configuration will specify the tenant label for each rule).
This can be extended to Stateless Ruler and allow separate remote write configs for each tenant. This would start an agent, i.e, a WAL-only storage for each tenant which remote-writes to only locations that were configured for that tenant. In essence, a multiagent package, would be needed to be able to handle this.
The addition of multitsdb to Ruler can also be skipped as the Scalable Rule proposal does mention the removal of embedded tsdb to be in the work plan! :)

Describe alternatives you've considered
Running a Ruler for each tenant.
Open to feedback and suggestions! If there are existing solutions/configuration options for achieving the same result which will be easier to implement than the above idea, that would be great too! 🙂

We discussed this briefly with @saswatamcode with one more suggested alternative from me, which would be to have a separate remote write config for each tenant, set the tenant header and use relabeling to only forward metrics which are applicable to that tenant. However, this is not really a systematic solution and require to always manually set up the remote write config for each tenant. The proposal solution seems reasonable to me :+1:.

Hey, just trying to understand the main problem we are discussing here.

The only possible way might be using a Ruler for each tenant which is simpler but wasteful of resources.

Do we have any data on this? Because for stateless rulers there is not much baseline overhead for this situation. I would even say, the more problematic thing is the extreme situation where one tenant has too many rules and alerts for one ruler.

A potential solution would be using the Receive multitsdb in Ruler and having the same flags for tenancy as Receive

Do you mean sending things to Receive that uses multitsdb or literally using multitsdb code?

This would start an agent, i.e, a WAL-only storage for each tenant which remote-writes to only locations that were configured for that tenant. In essence, a multiagent package, would be needed to be able to handle this.

I would really avoid doing that - multi-tsdb is already a tough idea - every new TSDB has a lot of costs to be started and reloaded. Not sure if we want to replicate this idea for agent code.

Also, in the case of using Stateless Rulers, it's harder to achieve multi-tenancy, as different tenants might need different configurations while remote writing (write to separate locations with separate HTTP headers like THANOS-TENANT).

Right. We need essentially something like this:

I feel we should have multi-tenant rulers that can do any number of tenants rules (tenant agnostic) and we build tenancy with label aware sharding on receiver. Receive router already checks EACH series in write request and distribute with hashring - so why not checking tenant label there?

Would love to see this moving forward.
A general sharder is really something we need in Thanos. Cortex has something similar like this using the Ring. In Thanos, we have the hashring only on the receiver side. However, if we want to distribute works like rules, compaction jobs, etc. We don't have a good way now.

Yup! I'm writing a proposal + poc for this currently. Will land soon! 🙂

Yup! I'm writing a proposal + poc for this currently. Will land soon! 🙂
Looking forward to this feature!

How is ruler sharing going? :-) As a cortex user, this feature was useful.

I feel we should have multi-tenant rulers that can do any number of tenants rules (tenant agnostic) and we build tenancy with label aware sharding on receiver. Receive router already checks EACH series in write request and distribute with hashring - so why not checking tenant label there?

Does https://github.com/thanos-io/thanos/pull/7256 already implement this feature? @bwplotka @GiedriusS


Fix PieBar proportions on Firefox

Looks fine on Brave, but on Firefox it's off. Should span the entire width

Can't reproduce this.

I'll work on this one

Fixed in PR https://github.com/airswap/airswap-voter-rewards/pull/126


minor adjustments and 'get' stuff

preview at https://frosty-kalam-e10a5f.netlify.com/

Is there a possibility to change the dots to something nicer, like a smaller dot or a dash?

updated

Actually, I can see some flaws!

It's scrollable horizontally
You've changed {{ site.title }} to iSH
There's an underline on the down arrow

I'm going to fix the entire section so that it looks better either way, but thanks for the PR!


Don't send notification on pending reviews

Fixes #8942
However, this does not fix the main issue, which is that review notifications need a valid *Comment.

Codecov Report

Merging #8943 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #8943      +/-   ##
==========================================
- Coverage   41.22%   41.21%   -0.02%
==========================================
  Files         547      547
  Lines       70764    70765       +1
==========================================
- Hits        29173    29165       -8
- Misses      37870    37880      +10
+ Partials     3721     3720       -1

Impacted Files
Coverage Δ

services/pull/review.go
0% <0%> (ø)
:arrow_up:

models/unit.go
62.16% <0%> (-5.41%)
:arrow_down:

modules/log/event.go
64.61% <0%> (-1.03%)
:arrow_down:

routers/repo/view.go
38.59% <0%> (-0.88%)
:arrow_down:

Continue to review full report at Codecov.

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


Is it possible to pass parameters to other pipeline instead of variables ?

For which extension would you like to add a feature request? : https://marketplace.visualstudio.com/items?itemName=maikvandergaag.maikvandergaag-trigger-pipeline&ssr=false#qna
Question : Is it possible to pass parameters to other pipeline instead of variables ?
Hi Team,
I'm trying to trigger few pipelines from a master pipeline. As of now, I'm able to pass variable inputs. can you suggest if we can pass runtime parameters instead of queue time variable inputs.
Please Suggest.

can we pass template parameters to trigger other pipeline ? instead of variables ?

Not yet will mark it as feature request


Automated Execution (Scheduled Task)

Is it possible to execute this script as a scheduled task or is that not recommended? I noticed when running for the first time I am prompted for input so perhaps a scheduled task is not possible. If that is the case, does anyone have any suggestions for automating the execution via an alternate method?
Thanks

We are currently looking into this request.

We are currently looking into this request.

At the moment, this script isn't really meant for being executed as a scheduled task as it has inputs and currently prompts for credentials.


PR: Implement register dietary requirements

Resolve: #10
Short Description:
We have the Dietary Requirements for the previous version. But we would like to be more specific. Therefore we are creating a new page for the user that they will have more options for the dietary requirement.
Implementation:

Create a new table in the database called diet_requirement
Create the data storage type for the python file
Create the data type of DietaryRestriction and DietaryRequirements for the frontend to transmit the data
Using Controller and repository to store the data in the database

Testing cases:
Return True and the data is updated

[x] An input including user_id, restrictions, and custom_restrictions
[x] An input including user_id, and restrictions
[x] An input including user_id, and custom_restrictions

Return False and the data is not updated

[x] The input is empty
[x] An input including restrictions, and custom_restrictions

Feedback
I have removed some unnecessary documents. And rewrite some comments to be concise and easy to read.
According to the suggestion about the testing, I have created two test cases and recognised that my code is incomplete.
To solve the problem with "if there is already a restriction in the database for the user, and that restriction is not included in the new restrictions, does that restriction get changed in the database", I submitted one solution that was able to deal with the problem. But there are many duplicate code accrues and reduce the readability. Then I discussed with Rachel and produce a new solution of deleting the dietary requirement and creating a new dietary requirement for the user who would like to make changes on the dietary requirements.


multiple worker processes on single node

The worker ID assignment seems to be independent of the projectID.
What happens if you are getting input from 2 projects in a single process?  Do things get confused?  This doesn't happen often but it is possible when running simulation to need to run a project for overlay events as well as reading in the geant4 inputs.

No DD will not get confused. Same worker ID can be used with multiple projects at the same time.


"window.onresize = resizeCanvas" in signature_pad/example/js/app.js

I reported in #155 that was having an issue with the signature spontaneously disappearing on a mobile device. I tracked the issue down the "window.onresize = resizeCanvas" statement in the project's code. I found that our developer had copied and pasted the code from signature_pad/example/js/app.js into our code.
Apparently this event gets triggered frequently on mobile devices. I observed it changing orientation, hitting the bottom of the page and other cases. I was able to reproduce it on the desktop by resizing the window.
Is there a reason that this statement is in your example? I'm removing it from our production code because this is a major issue. But I want to make sure that I am not introducing another bug in the process.

It's an example that shouldn't be copied 1 to 1 to production code 😉 In general it's used to show one of ways of handling canvas when screen size changes and canvas size changes as well.
If you only use it on mobile devices you can listen for orientation change instead that will allow you to handle both horizontal and vertical orientations (in this case it's best to allow only one orientation, e.g. horizontal, save image locally when the orientation changes and restore it when orientation changes back).
If you also have a desktop version and need to use window.resize, you could throttle resize handler, so that it's not called so often.
There are plenty of ways to handle it and the one is example is just one of them.

I'm closing it. If you have any more questions, feel free to reopen it.


AttributeError: module 'pinocchio' has no attribute 'Quaternion'

Thanks for your great work, can you help me to solve the below problem?
cosypose/cosypose/lib3d/transform.py
need pinocchio  2.3.1
so I download it here https://anaconda.org/conda-forge/pinocchio/files?version=2.3.1
But when I ran transform.py
I got :
AttributeError: module 'pinocchio' has no attribute 'Quaternion'
in pinocchio'document from github https://github.com/stack-of-tasks/pinocchio
I can't find Quaternion too. What's wrong?

Hello, do you solve this problem?

Just take the latest version of pinocchio=2.6.1, it should work.

thanks


Some issues to fix for slot number selector

point between "S" ("5") and slot number doesn't render in Firefox
we can activate the blinking cursor on mobile but nothing happens. probably the best solution is to cancel the event if it's touch (prevent default on touchstart?).
that said we should maybe implement mouse/touch + drag up/down to increment/decrement the slot number.

Only issue remaining is the missing point in Firefox


Revert "[FLOC-2371] Blkid uuid"

Reverts ClusterHQ/flocker#1668

Accepted by @exarkun (see https://clusterhq.atlassian.net/browse/FLOC-2371)
So we'll merge this.


fix: not working on Windows 10

Change the command for running eslint from node.js to npx for compatibility with Windows.
Closes #20

The test results are as follows.
I could not determine if this result passed the test.
PS C:\path\to\eslint-cjs-to-esm> node eslint-cjs-to-esm.js "./test-fixtures/*"

C:\path\to\eslint-cjs-to-esm\test-fixtures\import-index.ts
  1:26  error  require file extension '/index.js'  file-extension-in-import-ts/file-extension-in-import-ts
C:\path\to\eslint-cjs-to-esm\test-fixtures\import-no-js-suffix.ts
  1:8  error  require file extension '.js'  file-extension-in-import-ts/file-extension-in-import-ts
  1:8  error  require file extension '.ts'  node/file-extension-in-import

C:\path\to\eslint-cjs-to-esm\test-fixtures\no-node-protocol.ts
  1:18  error  Prefer `node:path` over `path`  unicorn/prefer-node-protocol

C:\path\to\eslint-cjs-to-esm\test-fixtures\require.ts
  1:1  error  Expected "import" instead of "require()"  import/no-commonjs
  1:1  error  Do not use "require"                      unicorn/prefer-module

✖ 6 problems (6 errors, 0 warnings)
  4 errors and 0 warnings potentially fixable with the `--fix` option.

PS C:\path\to\eslint-cjs-to-esm> node eslint-cjs-to-esm.js "./test-fixtures/*" --fix

C:\path\to\eslint-cjs-to-esm\test-fixtures\require.ts
  1:1  error  Expected "import" instead of "require()"  import/no-commonjs
  1:1  error  Do not use "require"                      unicorn/prefer-module

✖ 2 problems (2 errors, 0 warnings)

https://github.com/azu/eslint-cjs-to-esm/blob/main/package.json#L40
This test confirms that the exit status is 1

Another approach:
Simply, if process are Windows, just add .cmd like this.
https://github.com/saltyshiomix/resolve-as-bin/blob/23908b1c46827f6fd41cdcc401d3d2f5af76eade/index.ts#L13

Great. I will try this approach.
Thank you.

Another option:
if process are Windows, just add .cmd like this. https://github.com/saltyshiomix/resolve-as-bin/blob/23908b1c46827f6fd41cdcc401d3d2f5af76eade/index.ts#L13

This error also happened on my local PC.
I am not sure what caused the error, but I will try to check.
https://github.com/azu/eslint-cjs-to-esm/actions/runs/7765836291/job/21181030640?pr=21

https://github.com/azu/eslint-cjs-to-esm/actions/runs/7765836291/job/21181030640?pr=21
Ah, This may be expected-exit-status's issue.

''node' is not recognized as an internal or external command,

Probably, need to use node.exe or node.cmd in Windows?

In cmd, single quote ' was just a character.
It was changed to double quote ".
https://stackoverflow.com/questions/51080215/differences-between-single-and-double-quotes-in-cmd

work on macOS/linux by following change:
``diff

./test-fixtures/*

./test-fixtures/*.ts

Thank you for your kind assistance.

Thanks for work!
Release it
https://github.com/azu/eslint-cjs-to-esm/releases/tag/v3.0.1 🎉


Issue methylartist locus

Hi all,
I have the following error do you have an idea of what is wrong with my data ?

Thanks in advance for your awnser

This looks like a malformed gtf/gff line, the attribute field should be "A semicolon-separated list of tag-value pairs, providing additional information about each feature." per the gtf/gff spec (https://asia.ensembl.org/info/website/upload/gff.html).

Yes thank you I instead used a .bed file like you mentionned.


Enforce LOG_LEVEL on debugging info from k8s-read-config

Relates to https://github.com/reactiveops/rok8s-scripts/issues/260

Thank you guys!  We (http://github.com/stockx) have been enjoying using the tools as we get a lot more of our pipelines in production!


Add NodeJS Support

One other thing. I think there are 3 functions that look like they can function from only the vars passed into them. I think it might be better to take them out of sign. Then sign would be pretty short and very straight forward.


Crash after SWAPDB command

Describe the bug
KeyDB immediately stops after SWAPDB command
Log Files
redis-issue λ docker run -v $PWD:/data --name keydb -d eqalpha/keydb:alpine_x86_64_v6.0.16
60ea166f5a30963be8353d77e6d54582b8614d5735c1a1d9e6130248075e424a
redis-issue λ docker exec -ti keydb ash
/data # keydb-cli
Message of the day:
  Join the KeyDB community! https://community.keydb.dev/

<IP_ADDRESS>:6379> INFO keyspace
# Keyspace
<IP_ADDRESS>:6379> SET test 1
OK
<IP_ADDRESS>:6379> SET test2 2
OK
<IP_ADDRESS>:6379> SET test3 3
OK
<IP_ADDRESS>:6379> INFO keyspace
# Keyspace
db0:keys=3,expires=0,avg_ttl=0
<IP_ADDRESS>:6379> SWAPDB 0 8
OK
<IP_ADDRESS>:6379> INFO keyspace
# Keyspace
db8:keys=3,expires=0,avg_ttl=0
<IP_ADDRESS>:6379> SWAPDB 8 0
redis-issue λ

Hey @everythings-gonna-be-alright this is timely, I ran into this during the most recent Redis merge.  Will be a fix incoming shortly.

Hey @everythings-gonna-be-alright this is timely, I ran into this during the most recent Redis merge.  Will be a fix incoming shortly.

Thanks @daidaotong for the fix!

Thanks @daidaotong for the fix!


Bug with Canvas.drawVertices + OffsetLayer.toImage in CanvasKit

Render a textured mesh with Canvas.drawVertices
Capture it to an image using RenderRepaintBoundaryh.toImage()
Draw the resulting image with Canvas.drawImage, image looks wrong

Root cause is likely a Skia software rendering issue with texture matrices, which I believe was fixed earlier today. I think Flutter Web/CanvasKit must be using a software skia renderer to implement toImage.
Works fine in MacOS:
https://user-images.githubusercontent.com/454182/157778569-82e90cbc-4583-4b31-8c86-1c7a15365894.mov
Bug in Flutter Web (notice second image doesn't look like the first):
https://user-images.githubusercontent.com/454182/157778714-4b81f476-e8c8-428c-ba67-794691db52c6.mov
Code for the example here:
https://github.com/luigi-rosso/canvas_draw_vertices_bug
[✓] Flutter (Channel unknown, 2.10.1, on macOS 12.1 21C52 darwin-arm, locale en-US)

Likely root cause: https://bugs.chromium.org/p/skia/issues/detail?id=13047#c3

Thanks for the report and repo. Using it I see below behavior using canvaskit:

While the same runs / renders the image properly on macOS:

Also note that, on latest master and running on chrome with canvaskit, tapping on FAB doesn't perform any action:
https://user-images.githubusercontent.com/67046386/157824341-aa570a39-a03b-4a9e-959c-edbe43d27eeb.mov

 stable, master flutter doctor -v

[✓] Flutter (Channel stable, 2.10.3, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 2.10.3 at /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7e9793dee1 (11 hours ago), 2022-03-02 11:23:12 -0600
    • Engine revision bd539267b4
    • Dart version 2.16.1
    • DevTools version 2.9.2

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.11.0-0.0.pre.831, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 2.11.0-0.0.pre.831 at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 3172065fba (3 hours ago), 2022-03-08 19:35:20 -0600
    • Engine revision 5c760759fe
    • Dart version 2.17.0 (build 2.17.0-182.0.dev)
    • DevTools version 2.11.1

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

/cc @yjbanov

Confirmed fixed in current build of Flutter.


Feature/enable fc tag

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 9 committers have signed the CLA.:white_check_mark: boonbaluri:x: eshaani-bhandary:x: aniruddha-k:x: VardhanDeva:x: ajayKrishnankm:x: SHPEEKA:x: shalini-peeka:x: 6-Sushma:x: aravindh45SHPEEKA seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Update gces.txt

Official Website URL: https://gces.edu.np/
URL of a page on the official website where a long-term (>1 year) IT related course is offered
https://gces.edu.np/course/bachelor-in-software-engineering/
URL of a official Facebook page (screenshot) showing that the college recognizes the domain as an official email domain for the enrolled students.
https://www.facebook.com/gces.pokhara/about
https://pu.edu.np/academics/schools-colleges/affiliated-colleges/

@sparshrestha First stage of verification passed, official domain is gces.edu.np as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@sparshrestha Pull request merged. Thank you.


Introduce API allowing traits to customize test execution

This includes an API proposal and code changes to introduce new API for custom traits to customize test execution.
View the API proposal for more details.
Motivation:
One of the primary motivations for the trait system in Swift Testing, as described in the vision document, is to provide a way to customize the behavior of tests which have things in common. If all the tests in a given suite type need the same custom behavior, init and/or deinit (if applicable) can be used today. But if only some of the tests in a suite need custom behavior, or tests across different levels of the suite hierarchy need it, traits would be a good place to encapsulate common logic since they can be applied granularly per-test or per-suite. This aspect of the vision for traits hasn't been realized yet, though: the Trait protocol does not offer a way for a trait to customize the execution of the tests or suites it's applied to.
Customizing a test's behavior typically means running code either before or after it runs, or both. Consolidating common set-up and tear-down logic allows each test function to be more succinct with less repetitive boilerplate so it can focus on what makes it unique.
Checklist:

[x] Code and documentation should follow the style of the Style Guide.
[x] If public symbols are renamed or modified, DocC references should be updated.

@swift-ci please test

@swift-ci please test

@swift-ci please test Windows

@swift-ci please test

@swift-ci please test

@swift-ci please test Windows

@stmontgomery Per our conversation offline you mentioned that order of execution of custom execution traits is well-defined to be outer-to-inner, left-to-right -- it would be great if we could explicitly add a note about that in the documentation so that folks are aware of the expected behavior!

@stmontgomery Per our conversation offline you mentioned that order of execution of custom execution traits is well-defined to be outer-to-inner, left-to-right -- it would be great if we could explicitly add a note about that in the documentation so that folks are aware of the expected behavior!

I've added language specifying this ordering to the updated proposal and PR

@swift-ci please test


build: changelog output needs to be catted to file

update-changelog.sh just echoes its output, so it needs to be captured in a file redirect.

[x] Well-formatted commit messages
[x] Rebased/mergeable
[ ] Tests pass

Converting to draft pending some updates to testability in our CI


Tables conventions

Is your feature request related to a problem? Please describe.
When I was developing some seeders for the database I noticed that it seems there is not a real convention in table columns names: Some name in English, some in French, some uppercase, some snake_case.
I think this standardization in future can improve the maintainability of the code.
Additional for example, for a not french person it is really difficult to deal with French names.
Describe the solution you'd like
Laravel for its tables (like users) use the snake_case in English, maybe it may be used for all tables.
This is only a proposal

Hi @RobertoBochet ,
you are right, this is explained by the fact that the first version was French and that I used utilities to convert the existing database into a migration file.
But I knew I was gonna have to do this job
Example :
Shouldn't code be external id?
shouldn't label be description?
Order/order shouldn't be sort number?
In priority, what are the words in French that you do not understand?
Then I'll put it all in uppercase

changing fields to lowercase affects 155 files
After change, i have an error :
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'statu_customer' in 'where clause' (SQL: select count(*) as aggregate from companies where statu_customer = 2)
it's because the docker base is not updated with the artisan migrate refresh command I guess
Hox make migration update on instance of mariadb ?

improvement proposal for the company table mainly
Schema::create('companies', function (Blueprint $table) {
            $table->id();
			$table->string('CODE');
			$table->string('LABEL');
			$table->string('website')->nullable();
			$table->string('fbsite')->nullable();
			$table->string('twittersite')->nullable();
			$table->string('lkdsite')->nullable();
			$table->string('SIREN')->nullable();
			$table->string('naf_code')->nullable();
			$table->string('intra_community_vat')->nullable();
			$table->string('picture')->nullable();
			$table->integer('statu_customer')->default(0);
			$table->integer('discount')->nullable()->default(0);
			$table->integer('user_id')->nullable()->default(0);
			$table->integer('account_general_customer')->nullable()->default(0);
			$table->integer('account_auxiliary_customer')->nullable()->default(0);
			$table->integer('statu_supplier')->default(0);
			$table->integer('account_general_supplier')->nullable()->default(0);
			$table->integer('account_auxiliary_supplier')->nullable()->default(0);
			$table->integer('recept_controle')->default(0);
			$table->text('comment', 65535)->nullable();
			$table->string('sector_id')->nullable();
            $table->timestamps();

        });

@RobertoBochet  I put all table columns in lower case and replace French terms.
I close the issue, if necessary do not hesitate to bring other changes

@RobertoBochet  I also launched some seeder via factories, don't hesitate to pull, I'll try to merge the work
I commented DatabaseSeeder.php, depending on the relationships, the seeders must respect an order.


Extend dns to allow wildcards

This extends PR https://github.com/slackhq/nebula/pull/617 (which allows for multiple hostnames for a single nebula node) by allowing wildcards in the hostname.

Thanks for the PR! Closing as out of scope.


Dartpad for creating complete Flutter web applications

Dartpad can be used to play with flutter but we can't develop a complete flutter web application with multiple folders/flies.
Flutter cli run command is painfully slow with so many dependencies and complete toolchain is required. It almost impossible to develop flutter web applications on old machines on in a cloud IDE. Flutter runs much faster in Dartpad without a need to install anything on developer's machine.
I would request you to add support for developing a complete flutter web application with multiple folders/flies in Dartpad .

DartPad uses GitHub gists why not use a Github repo for project files/folders. We should be able to open a github repo and run the Flutter for web app in Dartpad. We should also be able to push our changes back to the Github repo. This will make Flutter developer's life so much easy.

Gists are repositories. They are just displayed differently on the web

Yeah, that's exactly what we need. Please do it now. Please, please, please...

This is something we've talked about for a while, and we're all in agreement that an online IDE for Flutter would be a great thing. That said, it's not something we plan to turn DartPad into.
This question has come up a few times (and will likely come up more), so I want to be completely clear about the reasons behind the decision:

First, building a real IDE is an enormous task. We'd have to figure out how to do a lot of things:

Debugging
Testing
Storage/display of multiple files
Proper asset handling
(the list goes on)

DartPad is primarily maintained by the Flutter and Dart DevRel team's engineers (there are four of us right now).

Even if we dropped our other responsibilities and worked solely on DartPad, it would be a while before we had anything worth using.

DartPad is intended primarily as a playground for learning and quick experimentation, so turning it into an IDE would pull it away from its most important purpose.
Other teams and companies will probably release online Dart IDEs to fill this need.

The last item is probably the most important. I would wager that even if we did try to turn DartPad into a real IDE, by the time we got done with the first version, someone would already have beaten us to the punch. Gitpod, for instance, already offers some support for Dart and Flutter:
https://github.com/gitpod-io/gitpod/issues/114
I imagine there are at least a few similar products in development from other companies, too.
This is a long way of saying that while I really appreciate that you're eager to use DartPad to help with your Flutter project, a full IDE experience just isn't something we're likely to get onto our roadmap.
Thanks for the feature suggestion, though. Feel free to file additional issues for anything else you'd like to see!


Removing filter

Is there an easier way to prevent the filter from being injected without modifying stash_page_injector.js?

Sorry for the late reply. I will add a new version to add this functionality to the option dialog soon.

you can now enable/disable features in extensions option panel with version 2.2.0 (bitbucket server version)


The type or namespace name 'GeograhicPosition' count not be found

I tried your code but I got an error in Meta.cs.
Severity	Code	Description	Project	File	Line	Suppression State Error	CS0246	The type or namespace name 'GeographicPosition' could not be found (are you missing a using directive or an assembly reference?)	GISAPP	C:\Workspace\_SVN\WebGIS\GISAPP\Turf\Meta.cs	65	Active

Hiya @RanelCator,  just to close the loop on this - I worked out this should be Position instead 👍


Error on running prepare_flexreceptor.py for flexible docking

Hi,
I tried to prepare *_rigid.pdbqt and *_flex.pdbqt files for flexible docking with vina, and then noticed that errors occur when some input PDBQT files are used with the command below.

subprocess.run([
    'pythonsh',
    'AutoDock-Vina/example/autodock_scripts/prepare_flexreceptor.py',
    '-r',
    receptor_pdbqt,
    '-s',
    '_'.join(flex_residues),
    '-v'
])

'Traceback (most recent call last):\n  File "/home/uenom/data_ueno/dockings/vina/AutoDock-Vina/example/autodock_scripts/prepare_flexreceptor.py", line 220, in <module>\n    non_rotatable_bonds=all_bnds, mode = mode)\n  File "/misc/home/uenom/ADFRsuite-1.1dev/ADFRsuite_x86_64Linux_1.1dev/ADFRsuite-1.1dev/CCSBpckgs/AutoDockTools/MoleculePreparation.py", line 2683, in __init__\n    self.write_flex(flex_residues, flexres_filename)\n  File "/misc/home/uenom/ADFRsuite-1.1dev/ADFRsuite_x86_64Linux_1.1dev/ADFRsuite-1.1dev/CCSBpckgs/AutoDockTools/MoleculePreparation.py", line 2767, in write_flex\n    self.writeResidue(item, outfileptr)\n  File "/misc/home/uenom/ADFRsuite-1.1dev/ADFRsuite_x86_64Linux_1.1dev/ADFRsuite-1.1dev/CCSBpckgs/AutoDockTools/MoleculePreparation.py", line 2850, in writeResidue\n    self.process(at, at2, outfileptr)\n  File "/misc/home/uenom/ADFRsuite-1.1dev/ADFRsuite_x86_64Linux_1.1dev/ADFRsuite-1.1dev/CCSBpckgs/AutoDockTools/MoleculePreparation.py", line 2865, in process\n    self.process(fromAtom, nextAtom, outfileptr)\n  File "/misc/home/uenom/ADFRsuite-1.1dev/ADFRsuite_x86_64Linux_1.1dev/ADFRsuite-1.1dev/CCSBpckgs/AutoDockTools/MoleculePreparation.py", line 2860, in process\n    queue = self.writeBreadthFirst(outfileptr, fromAtom, nextAtom)\n  File "/misc/home/uenom/ADFRsuite-1.1dev/ADFRsuite_x86_64Linux_1.1dev/ADFRsuite-1.1dev/CCSBpckgs/AutoDockTools/MoleculePreparation.py", line 2970, in writeBreadthFirst\n    newQ = self.writeLevel(at2, outfptr)\n  File "/misc/home/uenom/ADFRsuite-1.1dev/ADFRsuite_x86_64Linux_1.1dev/ADFRsuite-1.1dev/CCSBpckgs/AutoDockTools/MoleculePreparation.py", line 2916, in writeLevel\n    nq = self.writeLevel(a2, outfptr)\n  File "/misc/home/uenom/ADFRsuite-1.1dev/ADFRsuite_x86_64Linux_1.1dev/ADFRsuite-1.1dev/CCSBpckgs/AutoDockTools/MoleculePreparation.py", line 2916, in writeLevel\n    nq = self.writeLevel(a2, outfptr)\n  File "/misc/home/uenom/ADFRsuite-1.1dev/ADFRsuite_x86_64Linux_1.1dev/ADFRsuite-1.1dev/CCSBpckgs/AutoDockTools/MoleculePreparation.py", line 2916, in writeLevel\n    nq = self.writeLevel(a2, outfptr)\n  File "/misc/home/uenom/ADFRsuite-1.1dev/ADFRsuite_x86_64Linux_1.1dev/ADFRsuite-1.1dev/CCSBpckgs/AutoDockTools/MoleculePreparation.py", line 2892, in writeLevel\n    if b.activeTors: \nAttributeError: Bond instance has no attribute \'activeTors\'\n'

Assuming that most input PDBQT files don't have errors, but some do, are there flaws in PDBQT files giving this error?

Hi @eunos-1128
Do you think that might have something to do with selection of flexible residues (some residues can't be made flexible under AutoDock's flexibility model)? Can you share an example of the input files? We can look at the input files and will let you know if we're able to reproduce this

@rwxayheee
Thanks a lot.
The attached PDBQT files are receptors' ones the script produce no rigid/flex PDBQT file due to the error.
PDBQT.txt

@rwxayheee
and some other files produce flex PDBQT files but not rigid PDBQT ones due to the same error.
Do you have any ideas about that?

AutoDock's flexibility model
@rwxayheee

I want to know about flexibility model used in AutoDock Vina. Could you tell me the paper describing that mechanism?(I didn't find out that myself)

Hi @eunos-1128 Do you think that might have something to do with selection of flexible residues (some residues can't be made flexible under AutoDock's flexibility model)? Can you share an example of the input files? We can look at the input files and will let you know if we're able to reproduce this

Hi @eunos-1128 !
I looked at the PDBQT.txt you shared. Quick question: Based on the sequence, is it human dopamine D3 receptor (but unfolded)? How does it compare to a conventional, folded structure, PDB 3PBL, for example? I visualized it and found a gap (long bond) in the backbone between ASP246 and PRO247. It might be helpful to double check the integrity of your starting structure, unless you were trying to perform docking on the unfolded structure
and some other files produce flex PDBQT files but not rigid PDBQT ones due to the same error.
Could you share your command so we can reproduce it?
I want to know about flexibility model used in AutoDock Vina.
In AutoDock Vina, as you might have already noticed, the flexibility model of flex residues is the same as applied to ligands. The sidechain atoms (CB and further from the backbone) are the only mobile portion of the residues. Some residues, however, cannot be made flexible. If I remember correctly these include Pro, Gly and Ala. Alanine's sidechain is like a methyl group (-CH3) in any other ligands which under AutoDock's atom typing will be merged into an aliphatic C, and it doesn't have a torsional degree of freedom.

@rwxayheee

I looked at the PDBQT.txt you shared. Quick question: Based on the sequence, is it human dopamine D3 receptor (but unfolded)? How does it compare to a conventional, folded structure, PDB 3PBL, for example? I visualized it and found a gap (long bond) in the backbone between ASP246 and PRO247. It might be helpful to double check the integrity of your starting structure, unless you were trying to perform docking on the unfolded structure

Thanks. As you notice they are the dopamine D3 receptor predicted by alphafold2 with custom settings.
I didn't check the structure using graphical tool. As you say I found it unfolded and so it might not needed for my study.

Could you share your command so we can reproduce it?
Commands are totally same to the initial one.

Below are those files.
no-rigid_pdbqt1.txt
no-rigid_pdbqt2.txt
The files are generated by alphafold2 and as one I uploaded before, they are also partially unfolded, which could lead to the error. I'm not sure why rigid files couldn't be generated while flex ones could,though.

In AutoDock Vina, as you might have already noticed, the flexibility model of flex residues is the same as applied to ligands. The sidechain atoms (CB and further from the backbone) are the only mobile portion of the residues. Some residues, however, cannot be made flexible. If I remember correctly these include Pro, Gly and Ala. Alanine's sidechain is like a methyl group (-CH3) in any other ligands which under AutoDock's atom typing will be merged into an aliphatic C, and it doesn't have a torsional degree of freedom.
Thank you. I understand.

I'm not sure why rigid files couldn't be generated while flex ones could,though.
I'm not sure, either :< But please let us know if you are still experiencing the same problem with a visually-ok structure of the protein!

I'm not sure why rigid files couldn't be generated while flex ones could,though.
I'm not sure, either :< But please let us know if you are still experiencing the same problem with a visually-ok structure of the protein!

OK, Thanks a lot!


CameraPreview does not have web implementation.

Hi, Tried to run the plugin, but got this errors on console:

ERROR Error: Uncaught (in promise): CameraPreview does not have web implementation.
at resolvePromise (zone-evergreen.js:797)
at Function.reject (zone-evergreen.js:889)
at<EMAIL_ADDRESS>(web-runtime.js:33)
at HomePage.ngOnInit (home.page.ts:16)
at checkAndUpdateDirectiveInline (core.js:27788)
at checkAndUpdateNodeInline (core.js:38472)
at checkAndUpdateNode (core.js:38411)
at debugCheckAndUpdateNode (core.js:39433)
at debugCheckDirectivesFn (core.js:39376)
at Object.eval [as updateDirectives] (HomePage_Host.ngfactory.js? [sm]:1)

Created a blank app:
ionic start cameraPreview blank --capacitor
instaled the plugin:
npm i capacitor-camera-preview
instaled pwa-elements:
npm i @ionic/pwa-elements
put the start camera preview instance on home.ts:
import { Component, OnInit } from '@angular/core';
import { Plugins } from '@capacitor/core';
const { CameraPreview } = Plugins;
@Component({
selector: 'app-home',
templateUrl: 'home.page.html',
styleUrls: ['home.page.scss'],
})
export class HomePage implements OnInit{
constructor() { }
ngOnInit() {
CameraPreview.start();
}
}
than:
ionic serve

ionic Info
Ionic:
Ionic CLI                     : 5.2.5 (/home/user/.npm-global/lib/node_modules/ionic)
Ionic Framework               : @ionic/angular 4.7.4
@angular-devkit/build-angular : 0.801.3
@angular-devkit/schematics    : 8.1.3
@angular/cli                  : 8.1.3
@ionic/angular-toolkit        : 2.0.0
Capacitor:
Capacitor CLI   : 1.1.1
@capacitor/core : 1.1.1
Utility:
cordova-res : not installed
native-run  : not installed
System:
NodeJS : v12.8.1 (/usr/bin/node)
npm    : 6.10.3
OS     : Linux 5.0

Am I missing something?

Hi, try importing plugin's module on app.module.ts
import 'capacitor-camera-preview'

Adding  import 'capacitor-camera-preview',
in html add

and
ngOnInit() {
const { CameraPreview } = Plugins;
CameraPreview.start({ parent: "cameraPreview"});
}
it will work

Maybe I have to improve documentation

Also yo can pass {.. className: 'yourClassName'} to customize camera layout

Hi there,
It worked as you described!
My bad ... I misunderstood the setup, I ended up associating with the capacitor camera plugin setup.
I really appreciate your time, help and quick response, thank you very much.

Thanks to you, I will improve documentation to avoid setup problems.

Also you can pass {..., className: 'yourClassName'} to customize camera layout

@arielhernandezmusa
Is is possible to place camera preview inside a container div in web (svelte / react)
CameraPreview.start({ parent: "cameraPreview"}); this not working with my tailwindcss container


Latest kubedash.yaml file contains typos

Specifically, the image location and memory limit fields contain invalid values.

Fixed by #42. In the future, if you say "fixes #42" or "closes #42" in your commit message, Github will close the issue for you :)


Wordlist Contents?

First of all I wanted to say thank you for the great tool! I was looking into using a wordlist with your shortutil tool, but I'm unsure of what the wordlist should contain. Would it be possible to include a few samples?
I'm unsure if it can contain directories like /iishelp/iis/misc/default.asp
Or the end directory like /misc/
Of if the word list can contain actual pages like admin.aspx

I'm glad you're finding shortscan useful!
With regards to wordlists, shortutil will normalise any input (
terminating directory slashes will be removed, and only the last

I'm glad you're finding shortscan useful! With regards to wordlists, shortutil expects a list of files or directories with no path elements, however it will normalise any input so that only the last path element will be used, and terminating directory slashes will be removed so you can throw most things at it and it'll generate somewhat sensible output. Hope that helps!

Would be cool to have a wordlist added here too to serve as an example? like top1000 dirs and files or something like that