Permission denied is reported when pod is created

Issue
Permission denied is reported when pod is created. This error is the same as we have for odo - see : https://github.com/redhat-developer/odo/issues/1262

I don't know know if this is related but here is the scc recommended by the tool
oc adm policy reconcile-sccs
apiVersion: v1
items:
- allowHostDirVolumePlugin: true
  allowHostIPC: true
  allowHostNetwork: true
  allowHostPID: true
  allowHostPorts: true
  allowPrivilegeEscalation: true
  allowPrivilegedContainer: true
  allowedCapabilities:
  - '*'
  allowedUnsafeSysctls:
  - '*'
  apiVersion: security.openshift.io/v1
  defaultAddCapabilities: null
  fsGroup:
    type: RunAsAny
  groups:
  - system:cluster-admins
  - system:masters
  - system:nodes
  kind: SecurityContextConstraints
  metadata:
    annotations:
      kubernetes.io/description: 'privileged allows access to all privileged and host
        features and the ability to run as any user, any group, any fsGroup, and with
        any SELinux context.  WARNING: this is the most relaxed SCC and should be
        used only for cluster administration. Grant with caution.'
    creationTimestamp: 2018-11-26T05:44:02Z
    name: privileged
    resourceVersion: "11267658"
    selfLink: /apis/security.openshift.io/v1/securitycontextconstraints/privileged
    uid: 473da8d3-f13e-11e8-9ad2-107b44b03540
  priority: null
  readOnlyRootFilesystem: false
  requiredDropCapabilities: null
  runAsUser:
    type: RunAsAny
  seLinuxContext:
    type: RunAsAny
  seccompProfiles:
  - '*'
  supplementalGroups:
    type: RunAsAny
  users:
  - system:admin
  - system:serviceaccount:gandrian:default
  - system:serviceaccount:gandrian:sa-greeting
  - system:serviceaccount:istio-system:istio-pilot-service-account
  - system:serviceaccount:istio-system:jaeger
  - system:serviceaccount:management-infra:inspector-admin
  - system:serviceaccount:management-infra:management-admin
  - system:serviceaccount:openshift-infra:build-controller
  - system:serviceaccount:openshift-logging:aggregated-logging-fluentd
  - system:serviceaccount:openshift-node:sync
  - system:serviceaccount:openshift-sdn:sdn
  volumes:
  - '*'
kind: List
metadata: {}

Here is the info reported by origin service on hetzner when the pod is created
Feb 05 10:35:31 CentOS-74-64-minimal origin-node[4311]: I0205 10:35:31.869753    4311 kubelet.go:1865] SyncLoop (PLEG): "postgresql-a2a25043-2923-11e9-9548-0a580a800035-7-zgbfk_cmoullia(541b4273-2929-11e9-b20d-107b44b03540)", event: &pleg.PodLifecycleEvent{ID:"541b4273-2929-11e9-b20d-107b44b03540", Type:"ContainerDied", Data:"9fef4805a5b1d16a3e3ddab44edc97648615f5e04945e416767efd4fcfc39155"}
Feb 05 10:35:32 CentOS-74-64-minimal origin-node[4311]: I0205 10:35:32.172025    4311 kuberuntime_manager.go:513] Container {Name:postgresql Image:docker.io/centos/postgresql-10-centos7 Command:[] Args:[] WorkingDir:/ Ports:[{Name: HostPort:0 ContainerPort:5432 Protocol:TCP HostIP:}] EnvFrom:[] Env:[{Name:POSTGRESQL_PASSWORD Value:admin ValueFrom:nil} {Name:POSTGRESQL_USER Value:admin ValueFrom:nil} {Name:POSTGRESQL_DATABASE Value:admin ValueFrom:nil}] Resources:{Limits:map[] Requests:map[]} VolumeMounts:[{Name:postgresql ReadOnly:false MountPath:/var/lib/pgsql/data SubPath: MountPropagation:<nil>} {Name:default-token-j7fmw ReadOnly:true MountPath:/var/run/secrets/kubernetes.io/serviceaccount SubPath: MountPropagation:<nil>}] VolumeDevices:[] LivenessProbe:nil ReadinessProbe:nil Lifecycle:nil TerminationMessagePath:/dev/termination-log TerminationMessagePolicy:File ImagePullPolicy:Always SecurityContext:&SecurityContext{Capabilities:&Capabilities{Add:[],Drop:[MKNOD],},Privileged:nil,SELinuxOptions:nil,RunAsUser:*1000160000,RunAsNonRoot:nil,ReadOnlyRootFilesystem:nil,AllowPrivilegeEscalation:nil,RunAsGroup:nil,} Stdin:false StdinOnce:false TTY:false} is dead, but RestartPolicy says that we should restart it.
Feb 05 10:35:32 CentOS-74-64-minimal origin-node[4311]: I0205 10:35:32.172133    4311 kuberuntime_manager.go:757] checking backoff for container "postgresql" in pod "postgresql-a2a25043-2923-11e9-9548-0a580a800035-7-zgbfk_cmoullia(541b4273-2929-11e9-b20d-107b44b03540)"
Feb 05 10:35:32 CentOS-74-64-minimal origin-node[4311]: I0205 10:35:32.172205    4311 kuberuntime_manager.go:767] Back-off 20s restarting failed container=postgresql pod=postgresql-a2a25043-2923-11e9-9548-0a580a800035-7-zgbfk_cmoullia(541b4273-2929-11e9-b20d-107b44b03540)
Feb 05 10:35:32 CentOS-74-64-minimal origin-node[4311]: E0205 10:35:32.172226    4311 pod_workers.go:186] Error syncing pod 541b4273-2929-11e9-b20d-107b44b03540 ("postgresql-a2a25043-2923-11e9-9548-0a580a800035-7-zgbfk_cmoullia(541b4273-2929-11e9-b20d-107b44b03540)"), skipping: failed to "StartContainer" for "postgresql" with CrashLoopBackOff: "Back-off 20s restarting failed container=postgresql pod=postgresql-a2a25043-2923-11e9-9548-0a580a800035-7-zgbfk_cmoullia(541b4273-2929-11e9-b20d-107b44b03540)"
Feb 05 10:35:33 CentOS-74-64-minimal origin-node[4311]: E0205 10:35:33.182005    4311 kubelet_volumes.go:140] Orphaned pod "027f1df7-23d4-11e9-b20d-107b44b03540" found, but volume paths are still present on disk : There were a total of 1 errors similar to this. Turn up verbosity to see them.
Feb 05 10:35:35 CentOS-74-64-minimal origin-node[4311]: E0205 10:35:35.163746    4311 kubelet_volumes.go:140] Orphaned pod "027f1df7-23d4-11e9-b20d-107b44b03540" found, but volume paths are still present on disk : There were a total of 1 errors similar to this. Turn up verbosity to see them.

This line found, but volume paths are still present on disk : There were a total of 1 errors similar to this. Turn up verbosity to see them. is very weird....

A temporary workaround is to change the folder permissions and use `777. Nervetheless, we should understand why the UID spcified does not belong to the range defined by the SCC
[root@CentOS-74-64-minimal ~]# chmod -R 777 /tmp/pv002
[root@CentOS-74-64-minimal ~]# ls -la /tmp/pv002
total 16
drwxrwxrwx.  2 root root  4096 Feb  5 13:05 .
drwxrwxrwt. 14 root root 12288 Feb  5 13:23 ..
[root@CentOS-74-64-minimal ~]# ls -la /tmp/pv002
total 20
drwxrwxrwx.  3 root root  4096 Feb  5 14:05 .
drwxrwxrwt. 14 root root 12288 Feb  5 13:23 ..
drwx------. 20   26   26  4096 Feb  5 14:05 userdata
[root@CentOS-74-64-minimal ~]# ls -la /tmp/pv002/userdata/
total 136
drwx------. 20   26   26  4096 Feb  5 14:05 .
drwxrwxrwx.  3 root root  4096 Feb  5 14:05 ..
-rw-------.  1   26   26     3 Feb  5 14:05 PG_VERSION
drwx------.  6   26   26  4096 Feb  5 14:05 base

I have been able to resolve the problem about setting as pod's scc restricted and not anyuid after removing from the scc anyuid the following group system:authenticated
So now, the pod is created using as scc -> restricted
oc get pod postgresql-422cb5c9-292d-11e9-922a-0242ac11000e-1-chb7g -o yaml
apiVersion: v1
kind: Pod
metadata:
  annotations:
    openshift.io/deployment-config.latest-version: "1"
    openshift.io/deployment-config.name: postgresql-422cb5c9-292d-11e9-922a-0242ac11000e
    openshift.io/deployment.name: postgresql-422cb5c9-292d-11e9-922a-0242ac11000e-1
    openshift.io/scc: restricted
  creationTimestamp: 2019-02-05T10:03:26Z
  generateName: postgresql-422cb5c9-292d-11e9-922a-0242ac11000e-1-
  labels:
    app: postgresql-422cb5c9-292d-11e9-922a-0242ac11000e
    deployment: postgresql-422cb5c9-292d-11e9-922a-0242ac11000e-1
    deploymentconfig: postgresql-422cb5c9-292d-11e9-922a-0242ac11000e
    service: postgresql-422cb5c9-292d-11e9-922a-0242ac11000e
  name: postgresql-422cb5c9-292d-11e9-922a-0242ac11000e-1-chb7g
  namespace: demo
  ownerReferences:
  - apiVersion: v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicationController
    name: postgresql-422cb5c9-292d-11e9-922a-0242ac11000e-1
    uid: 46a8dd95-292d-11e9-86f0-080027379cbc
  resourceVersion: "161237"
  selfLink: /api/v1/namespaces/demo/pods/postgresql-422cb5c9-292d-11e9-922a-0242ac11000e-1-chb7g
  uid: 4778d2ca-292d-11e9-86f0-080027379cbc
spec:
  containers:
  - env:
    - name: POSTGRESQL_PASSWORD
      value: admin
    - name: POSTGRESQL_USER
      value: admin
    - name: POSTGRESQL_DATABASE
      value: admin
    image: docker.io/centos/postgresql-10-centos7
    imagePullPolicy: Always
    name: postgresql
    ports:
    - containerPort: 5432
      protocol: TCP
    resources: {}
    securityContext:
      capabilities:
        drop:
        - KILL
        - MKNOD
        - SETGID
        - SETUID
      runAsUser:<PHONE_NUMBER>

Unfortunately, I'm still getting a permission denied for the PVC folder used
oc get pvc
NAME                                              STATUS    VOLUME    CAPACITY   ACCESS MODES   STORAGECLASS   AGE
postgresql-c65d62db-2954-11e9-b627-0a580a800160   Bound     pv009     1Gi        RWO                           8m
[root@CentOS-74-64-minimal ~]# ls -la /tmp/pv009
total 16
drwxr-xr-x.  2 root root  4096 Feb  5 09:54 .
drwxrwxrwt. 14 root root 12288 Feb  5 15:53 ..

I changed the permissions to 777 for the PV folders and the issue is then resolved
chmod -R 777 /tmp/pv002....pv009


The gatsby-source-strapi plugin has generated no Gatsby nodes. Do you need it?

I have this issue where Gatsby doesn't want to connect to my content-types, before it worked just fine...
Cannot query field "allStrapiNegosite" on type "Query".

If you don't expect "allStrapiNegosite" to exist on the type "Query" it is most likely a typo.
However, if you expect "allStrapiNegosite" to exist there are a couple of solutions to common problems:

{
      resolve: `gatsby-source-strapi`,
      options: {
        apiURL: process.env.DEPLOY_URL
          ? "https://negoscan-database.herokuapp.com"
          : "http://localhost:1337",
        contentTypes: [`negosite`, `user`],
        markdownImages: {
          typesToParse: {
            negosite: ["biografie"],
          },
        },
        queryLimit: 1000,
        loginData: {
          identifier: "",
          password: "",
        },
      },
    },

someone please tell me whats the problem?

just happened to me.  postman no problem to  see the json through api endpoint.

It was network's issue. Fixed .

Hi guys, i had the same problem yesterday when using a singleType and it was solved when click "publish", it was because was not published.  that solved the problem

I'm closing this as it doesn't appear to be an issue with the source plugin. This warning usually pops up if:

you have no data in your Strapi app
your Strapi app is offline
you haven't linked your Strapi app correctly in the gatsby-config.js file (check your env variables)
you haven't configured your content types correctly in the gatsby-config.js file

Make sure you read the readme documentation (for v1+ versions), and please open a new ticket if you find an actual bug


Replace tags with team identifiers as preferred way to group targets

This PR uses the new "target_teams" table to link targets to a Vulcan team in order to allow retrieving data for a particular Vulcan team. The reason for this change is that Vulcan will now allow different teams to have the same tag, which would result in the Vulnerability DB returning the same findings when queried by tag. However, the team identifier is unique for every Vulcan team. Authorization will now use the team identifier instead of the tag. This change still supports retrieving findings by tag so that multiple Vulcan teams can be aggregated by using tags. Team filters are incompatible with tag filters in the same request.

At this point, after significant discussion, we have decided to completely remove the target_tags table and all associated tag-related endpoints from the Vulnerability DB. We believe they do not provide any value in the scope of the data held by the component after the inclusion of the new target_teams table. The Vulcan API can use its own relationship between tags and teams to maintain the same external contracts and behavior, and request data from the Vulnerability DB by using the team or list of teams.
This formalizes the already existing coupling between the Vulnerability DB and the Vulcan API. If we want to open the Vulnerability DB to services other than Vulcan in the future, new changes will have to be implemented. We believe the target_tags table was insufficient to adequately support external integrations and that keeping it in the Vulnerability DB with that idea would add unnecessary complexity for its present use.


Turn DisableComments field to enum and make it editable

Description
This PR turn the posts DisableComments field from a bool to an enum type to better handle it and also open the possibility to edit it without any problem.
Closes #445.
Closes #446.
Checklist

[x] Targeted PR against correct branch.
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[x] Wrote unit tests.
[x] Wrote integration tests (simulation & CLI).
[ ] Updated the documentation.
[ ] Added an entry to the CHANGELOG.md file.
[ ] Re-reviewed Files changed in the Github PR explorer.

@RiccardoM  please let me know what's lowering the coverage because I can't see anything due to an error 400

@bragaz No idea how, but it's actually decreasing the coverage of 9.62%

@RiccardoM The coverage errors was caused by uncovered CLI tests due to the staging phase of x/posts.
I've commented them with //DONOTCOVER and I think we can open an issue to remember removing it when we bring them out of staging


operator hive-operator (1.2.4024-afbe42a)

Update Hive community operator channel(s) [['alpha']] to 1.2.4024-afbe42a

/test 4.8-deploy-operator-on-openshift
and also
/approve

/hold

/unhold

/merge possible

/merge possible

/merge possible


11k+ links updated

I don't want us to have to do this again. Can you just make them all /donate/?


Release 0.5.6

<!-- Make sure you have read http://napalm.readthedocs.io/en/latest/contributing/index.html --!>

Coverage increased (+0.2%) to 80.097% when pulling debbc00ef1fc4f31e169cadf50730f689e724bee on develop into e03dc5cdbce36f92321fa88bdb65f81c124a9c14 on master.

Coverage increased (+0.6%) to 80.414% when pulling dd1228cdd600fe7f8263b74fa10dfce3aba5bd45 on develop into e03dc5cdbce36f92321fa88bdb65f81c124a9c14 on master.

Coverage increased (+0.6%) to 80.414% when pulling 42a24fefc3078c76a706c099a6df88559040ec3b on develop into e03dc5cdbce36f92321fa88bdb65f81c124a9c14 on master.

Coverage increased (+0.5%) to 80.366% when pulling e4f33db8ef48b13fa3b8c108fcbdd6b442c7002d on develop into e03dc5cdbce36f92321fa88bdb65f81c124a9c14 on master.

Coverage increased (+0.5%) to 80.366% when pulling e4f33db8ef48b13fa3b8c108fcbdd6b442c7002d on develop into e03dc5cdbce36f92321fa88bdb65f81c124a9c14 on master.


[Question] expectOutput() ?

Hi there!
Is there a way to use expectOutput() with Regex instead of String?
tks

Maybe, just replacing shouldBe by shouldContain or shouldMatch do the trick.

Without changes to the library, you can check outputs with a regex by using the expectOutput() function without parameters and running assertions on its return value:
class TestCommand : CliktCommand() {
    override fun run() {
        echo("Hello World!")
    }
}

TestCommand().test {
    expectOutput() shouldMatch Regex("Hello [wW]orld!")
}

Cool. Thanks!


fix: Most lint issues across the codebase

Our lint was not catching some important issues, improved a little bit the .eslintrc to give us a bit more. Furthermore, added tsc --noEmit because typescript-eslint at the moment does not report compiler errors
Apologies about the number of files changed 🙇

We have some conflicts now that another PR was merged, so lets try to send this one next since it touches a lot of files.

We have some conflicts now that another PR was merged, so lets try to send this one next since it touches a lot of files.

@xgambitox fixed the merge conflicts with https://github.com/yearn/yearn-sdk/pull/251/commits/33cb5d41d5681fdfd2e0c6b757a46f4cd497826c
Had to change a little bit the logic, a couple of tests were returning falsy values. Lint does not really like the bang operator, and for good reason, it can be really dangerous. So I've addressed that by just throwing an error instead.


How can i implement?

how can i implement in WP post which are fetching out from API.

Hi there, if the API provides a time stamp value, simply call TimeAgo.getTimeAgo(timeStamp);
if not and you want to convert a Date provided by the API to timestamp, then timestamp to time ago, call DateTime(ApiDateTime)..millisecondsSinceEpoch to get the time stamp, then recall TimeAgo.getTimeAgo(timeStamp).
if none of these solutions work for you, please provide more informations about your intents in using the package.
Thanks


Tracker.Init (Tracking.Tracker) crashes with TrackerTypes.KCF

KCF tracker alwas crashes when trying to init. with tracker.Init(Mat, Rect2d). Using the same code with MIL tracker, it works.
I'm using ver. <IP_ADDRESS>70913 from 13. september. Afaik in OpenCV 3.3 instead 3.2 they only changed the way of creating those trackers.
Using
var tracker = Tracker.Create(OpenCvSharp.Tracking.TrackerTypes.KCF);
var bbox= new Rect2d(10, 10, 100, 100);
var frame = ... // Init valid mat here
bool initSuccess = tracker.Init(frame, bbox); // ## ALWAYS CRASHES HERE

Can you test the <IP_ADDRESS>71117 version?  There have been several fixes related to garbage collection and Tracker disposing that may resolve this issue for you.

I did, compiled and tested the current master (which is newer, hope that was ok). Same problem still exists.
var tracker = TrackerKCF.Create();
var bbox= new Rect2d(10, 10, 100, 100);
var frame = ... // Init valid mat here
bool initSuccess = tracker.Init(frame, bbox); // ## ALWAYS CRASHES HERE

KCF crashes, MIL works.

hmm, I just ran this code with latest and it didn't crash. Even put it in a loop and ran it many times.  I wonder if it could be image or host environment specific. Can you provide sample image used and project settings, etc. (32/64 bit, windows/linux, ...)?

Sure.
OS: Windows 7, x64 with VS 2015 Update 3
Project is x86 Debug and Release, NET 4.6.2
Compiled binaries are x86 Release (with VS 2017, same OS)
Tested input mats are either BGR or Grayscale, Size is 463*753 but may differ
Rect2d is {(x:64,6813250828544 y:41,6813250828544 width:32,6373498342912 height:32,6373498342912)} where X and Y coordinates may differ from test to test.
Sadly I cannot provide a sample image but you can share one that I can test as first frame.

yep, as soon as I change to non-integer bounding box, I get it to crash as well. Without digging further, it appears to be a problem with the underlying opencv TrackerKCF and not an opencvSharp issue.

I found the next problem related to KCF tracker and I don't know if it is related to the C# wrapper or the underlying opencv c++ code.
If your Mat is grayscale it will init but crash on Tracker.Update

Just stepped through the code and both are definitely issues with opencv, not opencvsharp.

I wrote a reported and they adressed this issue.
https://github.com/opencv/opencv_contrib/issues/1472
Then this issue can be closed. Thanks


python3Packages.torch{audio, vision}-bin: update

Description of changes
Update the following packages to their latest version:

python3Packages.torch-bin
python3Packages.torchaudio-bin
python3Packages.torchvision-bin

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

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

16 packages built:

python310Packages.torch-bin
python310Packages.torch-bin.dist
python310Packages.torchaudio-bin
python310Packages.torchaudio-bin.dist
python310Packages.torchvision-bin
python310Packages.torchvision-bin.dist
python310Packages.trainer
python310Packages.trainer.dist
python311Packages.torch-bin
python311Packages.torch-bin.dist
python311Packages.torchaudio-bin
python311Packages.torchaudio-bin.dist
python311Packages.torchvision-bin
python311Packages.torchvision-bin.dist
tts
tts.dist


Fixed Arbitrary Code execution

📊 Metadata *
Fixed Arbitrary Code execution
Bounty URL:https://www.huntr.dev/bounties/1-other-baselines
⚙ Description *
OpenAI Baselines: high-quality implementations of reinforcement learning algorithms
💻 Technical Description *
Vulnerability description untrusted loading of data by the pickle.load function leading to Arbitrary code execution.
🐛 Proof of Concept (PoC) *

🔥 Proof of Fix (PoF) *

👍 User Acceptance Testing (UAT)
Forbidden is displayed when a code execution payload is passed

👋 Hello, @pzhokhov - @B3EF has opened a PR to us with a fix for a potential vulnerability in your repository. To view the vulnerability, please refer to the bounty URL in the first comment, above.
Ultimately, you get to decide if the fix is 👍 or 👎. If you are happy with the fix, please write a new comment (@huntr-helper - LGTM) and we will open a PR to your repository with the fix. All remaining PRs for this vulnerability will be automatically closed.
If you have any questions or need support, come and join us on our community Discord!
@pzhokhov & @B3EF - thank you for your efforts in securing the world’s open source code! 🎉

👋 Hello, @pzhokhov - @B3EF has opened a PR to us with a fix for a potential vulnerability in your repository. To view the vulnerability, please refer to the bounty URL in the first comment, above.
Ultimately, you get to decide if the fix is 👍 or 👎. If you are happy with the fix, please write a new comment (@huntr-helper - LGTM) and we will open a PR to your repository with the fix. All remaining PRs for this vulnerability will be automatically closed.
If you have any questions or need support, come and join us on our community Discord!
@pzhokhov & @B3EF - thank you for your efforts in securing the world’s open source code! 🎉


Add deprecated notice

This module is out of date, and as far as I can tell, not likely to be updated soon. Should we add a deprecated notice?

@whyrusleeping we should move all the IPLD stuff out of go-ipfs and into here.


Improve chunk and chunkDesc loading.

@juliusv
Default disclaimer: Please look at commit descriptions.

I think I should move the sync.Pool into the persistence struct. No reason to have it in global scope.

:+1: Nice!


fix: preserving v1alpha1 enable node ports false value avoiding CRD d…

Closes #342.

@MaxFedotov I'd like to get a review from you too.
Although the conversion webhook test was ok it seems OAPIv3 is doing some trickery stuff, so I had to use a pointer for the enableNodePorts value. It seems doing the trick.
$: kubectl create -f - << EOF
apiVersion: capsule.clastix.io/v1alpha1
kind: Tenant
metadata:
  name: oil
  annotations:
    capsule.clastix.io/enable-node-ports: "false"
spec:
  owner:
    name: alice
    kind: User
EOF

$: kubectl get tenants.v1beta1.capsule.clastix.io oil -o yaml
apiVersion: capsule.clastix.io/v1beta1
kind: Tenant
metadata:
  creationTimestamp: "2021-07-17T10:24:52Z"
  generation: 1
  name: oil
  resourceVersion: "5310"
  uid: ba1f3b2d-a204-4dfc-9188-915bca77a0f4
spec:
  enableNodePorts: false
  owners:
  - kind: User
    name: alice
status:
  size: 0
  state: active

tl;dr; the unbearable fallacies of unit testing 🤓


Add support to use CASBannerView as Widget

Hello, we are planning to add it in the next updates

I'm waiting for this feature too.

+1 for this feature.

+1

Yeah we need this

+1

Added in the new version of the framework (0.3.0)


Dynamic naming of directories and files

Dakotathon presently does not support the dynamic naming of many directories and files. These include:

run directory
work directory
configuration file name
parameter file name
-output file name

Associated with this issue is hard coded placement of the configuration file, input file, and output file into the current directory (rather than a dynamically specified run directory which could default to the current directory).
This functionality would greatly improve dakotathon in two ways. By permitting a dynamic run_directory, a dakota object could be created and run by a looping script. By permitting a dynamic work_directory, the output can be placed in a different file structure (e.g. in a scratch directory).

Fixed with #57.


chore: bumb Bazel to version with apple silicon support

resolves DSP-1596

@benjamingeer can you please review. just a one-liner.


Spelling Error in Overview Figure

Hi, thanks for sharing this cool work!
While reading the paper I noticed a minor spelling mistake in one of the Figures, that is also used on the project page and github:
It says "denoisng" instead of "denoising"

Hi, thanks for pointing out that. The figure is updated on the project page and github, and will be revised in the paper later.

Closed.


Updated CVE-2023-28229 and CVE-2024-1086 to Exploitation:Active

CVE-2023-28229 and CVE-2024-1086 is on CISA KEV and should be marked as "Exploitation": "active"

@patrickmgarrity We found the issue and the scores have updated appropriately. They will show in the repo within an hour. Thank you!


ENH: Reuse config

Restart of #2107. Last comments were about restyling with black, so I restyled, and rebased all of #2107 on top of this, restyling in the process.
I'm going to go through and comment, because I'm a bit unclear on things...

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

In the file fmriprep/config.py:

Line 569:87: E231 missing whitespace after ','

Rebased into a small set of commits. This is ready for review.


io.netty.handler.codec.DecoderException: Error decoding packet unknown with contents (...)

Players are sometimes getting disconnected, and the following error pops-up in console https://hastebin.com/ocucahaduz.bash

Your server has sent an empty packet to the proxy


ENT-10944: cfbs build/download: Added validation and error messages

Added many helpful error messages to tell the user what
is wrong with their cfbs.json (why they cannot run cfbs
build or cfbs download).
The config must have a build field, with a list of modules,
each module must have a name, a non-empty list of steps,
each step must be a non-empty string, etc.
Ticket: ENT-10944

@larsewi not in the current state. This validation is for the things needed for cfbs build to work. I guess we want cfbs validate to work for all cfbs.json files, so we'd have to make it less strict / more smart.


Question about what goes in the dependency injector and what doesn't.

If the page controller needs the custom InvalidPageException to give the right kind of error message, isn't that a dependency? So should't it be added to the dependency injector settings and the constructor of the page controller instead of using new?

Also

Add this at the top of your file:
use Example\Page\InvalidPageException;
It is important that you don't forget this step, otherwise it will try to catch the wrong exception (it's looking in the wrong namespace) and thus will never catch it.

If you hadn't told us about this error, is there any way we could have eventually found it on our own? How?

Not everything is a dependency. You should use new for things like value objects (think DateTime) or Exceptions in this case.
See this for reference.


fix(TextBoundsParams): add RichText field

I've done this on the web, so let me know if there are any issues.
I saw in the release notes and thought I should PR this in!

LGTM!


Update legacy places from nnvm to relay.

Related to https://github.com/apache/incubator-tvm/issues/4496
NOTE: I wasn't able to test rust code mainly due to historical problem of rust build not being stablized. I did manage to update the model creation script though.
Would be great to get some further help to get rust back to the CI. cc @nhynes @jroesch

Would be great to get some further help to get rust back to the CI

Sure. Any chance #2885 will be merged in my lifetime? That one contains some fixes to the Rust runtime that I've been batching up.

@nhynes of course, sorry that I lost track, please directly ping again next time if the issue requires action :)

Should we also remove the test_python_legacy from CI?

@icemelon9 i plan to do that in followup PR. we also need to remove the reference to nnvm in the autotvm python package before removing the nnvm source. let me know if you are interested in help on some of the steps


Remove unnecessary form-group class from move template

There were one too many divs with govuk-form-group as a class in the
move template

i think this "simple" PR has moved way out of my wheel house so i am going to close this and run away 🙈


Instance Metrics

We need some usage metrics for each instance
Acceptance criteria

[ ] Filter per start and end date
[ ] Request count
[ ] Action minute count

I close this issue, because at the moment this is a topic we look at in the dwh


Firefox doesn't respect drop method returning false

Here's my drag setup:
return (

		{
			connectDragSource (
				{name}
			)
		}

);

And my drop setup:
const itemDropTarget = {
	drop(props, monitor, component) {
		props.doSomething(monitor.getItem());
	}
};

Inside doSomething, I return false; if I want to stop the item from being dropped. This works fine in Chrome. However, inside the dropTarget, I have a
 which is contentEditable. In Firefox, when I return false from my doSomething method, it drops the dragged text into the DIV as plain text. Not ideal.

Am I approaching this correctly to stop an item being dropped?
Is there anything to be done about Firefox?

I tried adding this to the child element inside the dropTarget but, as you can imagine, it prevents anything from being dropped. Again, not ideal.
cancelDrag(event) {
    event.preventDefault();
    return false;
},

render(){
    return

}

Any advice would be appreciated, and I feel really bad for putting this as an issue as it's such a solid library! Thanks :+1:

I have come across this problem before and have reported it. see #120
The problem is that firefox does not support drag'n'drop on  and <button>.

@vkbansal Hey, yeah I spotted your issue and did try and emulate the fix in my code above...is that not what I need to be doing?

I think you need to move your logic to canDrop instead of drop.
try this
const itemDropTarget = {
    canDrop(props, monitor, component) {
        return props.doSomething(monitor.getItem());
    }
};

There is no support for return false or similar in the library. You need to implement canDrop.


[!] fix custom textStyle was overwritten by TEXT_FONTSIZE_STYLE_MAP

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.oker 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.


ComWrappers tutorial: DemoNativeDynamicWrapper class is not implemented.

Because the DemoNativeDynamicWrapper class is not implemented, the next code example does not make any sense. That code shows an interface's default implementation casting the this reference to the DemoNativeDynamicWrapper class and accessing a property member on that class instance.
The sample would be clearer (and correct) if the DemoNativeDynamicWrapper class implementation would show these details.
https://docs.microsoft.com/en-us/dotnet/standard/native-interop/tutorial-comwrappers#dynamic-native-object-wrapper

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

ID: c1316676-9418-3418-d9fb-4114ff178700
Version Independent ID: 50d9ac5f-ea31-0663-2ab4-993cd0d39ec0
Content: Using the ComWrappers API
Content Source: docs/standard/native-interop/tutorial-comwrappers.md
Product: dotnet-fundamentals
GitHub Login: @AaronRobinsonMSFT
Microsoft Alias: jekoritz

All source code used in this tutorial is available in the dotnet/samples repository.

This is implemented in the complete sample mentioned at the top of the tutorial.
See https://github.com/dotnet/samples/blob/bd069b00398865f1f639007932ea1ddaa1cd461c/core/interop/comwrappers/Tutorial/Program.cs#L386.


URL Issue

https://github.com/AbuTalha3/Portfolio-Setup/blob/4198114af732fe9b82b5e73eaf51bf100065c514/index.html#L196
Remove the spaces between the name of the image

done thanks


Removal of C# MaterialOverride Functions

Godot version
4.1.1 Stable
System information
Tuxedo OS 2 (Ubuntu 22.04),  Vulkan Forward+ Renderer
Issue description
I'm trying to make a character expression atlas and test to see if it can scroll through them. Apparently when I go to try and access the Albedo and UV coordinates of the Material it seems like those functions are not in the library. Were they removed or they were placed in another Node Class?
Steps to reproduce
Just type in _Mesh.GetOverrideMaterial(). and all specific functions that only tied to Materials isn't available

,
Minimal reproduction project
DebugTest.zip

The type of GeometryInstance3D.MaterialOverride is Material, which does not have AlbedoTexture property. You need to cast it to BaseMaterial3D, StandardMaterial3D or similar to access them (assuming you have set the correct material type in that field in the first place).

This is never explained in the manual. How do you get access to all the individual properties of that material?

How do you get access to all the individual properties of that material?
Cause even if you do cast a variable as a Material, you will still not get access to those elements.

You need to cast to BaseMaterial3D, as Material doesn't have a concept of an albedo texture in the first place.

See https://docs.godotengine.org/en/stable/classes/class_geometryinstance3d.html#class-geometryinstance3d-property-material-override and then https://docs.godotengine.org/en/stable/classes/class_material.html#class-material and Inherited By section.
Looks like you stored a StandardMaterial3D into the override slot in the editor inspector UI, so you need to cast the material into StandardMaterial3D type first if you want to access it's values in code. There are many types of materials, so you need to know which you are using. It's no different than setting and accessing any other type.
Probably something like this in C# (not tested or even compiled):
StandardMaterial3D material = (StandardMaterial3D)_mesh.MaterialOverride;
material .AlbedoTexture = VALUE;

Okay, I'm getting the function now. Even so, I wouldn't have figured out recasting my Material variable again since the documentation for Materials doesn't mention any functions allowing to access individual parameters.


feat: integrate sglang in camel

Description
Describe your changes in detail.
Motivation and Context
close #923

[ ] I have raised an issue to propose this change (required for new features and bug fixes)

Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds core functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation (update in the documentation)
[ ] Example (update in the folder of example)

Implemented Tasks

[ ] Subtask 1
[ ] Subtask 2
[ ] Subtask 3

Checklist
Go over all the following points, and put an x in all the boxes that apply.
If you are unsure about any of these, don't hesitate to ask. We are here to help!

[ ] I have read the CONTRIBUTION guide. (required)
[ ] My change requires a change to the documentation.
[ ] I have updated the tests accordingly. (required for a bug fix or a new feature)
[ ] I have updated the documentation accordingly.

Also, we have some additional comments:

Could you try to submit an issue to SGLang regarding the desired input and output of func calling in SGLang? Func calling is highly specific to each model, we may want to see the expected behavior of Llama/Qwen.

Could you please try to benchmark the speed and accuracy of SGLang compared with vllm? SGLang should be as good as vllm but steadily faster. If you find this is not as expected, please do let me know.

@NeilJohnson0930 @Wendong-Fan @lightaime

@NeilJohnson0930 Hello. Could also provide these contents?

Could you please try to benchmark the speed and accuracy of SGLang compared with vllm? SGLang should be as good as vllm but steadily faster. If you find this is not as expected, please do let me know.

Also, we have some additional comments:

Could you try to submit an issue to SGLang regarding the desired input and output of func calling in SGLang? Func calling is highly specific to each model, we may want to see the expected behavior of Llama/Qwen.
Could you please try to benchmark the speed and accuracy of SGLang compared with vllm? SGLang should be as good as vllm but steadily faster. If you find this is not as expected, please do let me know.

@NeilJohnson0930 @Wendong-Fan @lightaime

Thanks @zhaochenyang20!
The open-source model tool-calling feature is supported in this implementation. Essentially, we use a prompt-based approach to enable tool-calling across all models. This functionality is managed on the CAMEL side, so there are no additional requirements for SGLang at this time.
Regarding the comparison of model speed and accuracy, could @NeilJohnson0930 assist with conducting a simple test using different frameworks for the same open-source model?

Also, we have some additional comments:

Could you try to submit an issue to SGLang regarding the desired input and output of func calling in SGLang? Func calling is highly specific to each model, we may want to see the expected behavior of Llama/Qwen.
Could you please try to benchmark the speed and accuracy of SGLang compared with vllm? SGLang should be as good as vllm but steadily faster. If you find this is not as expected, please do let me know.

@NeilJohnson0930 @Wendong-Fan @lightaime

Thanks @zhaochenyang20! The open-source model tool-calling feature is supported in this implementation. Essentially, we use a prompt-based approach to enable tool-calling across all models. This functionality is managed on the CAMEL side, so there are no additional requirements for SGLang at this time.
Regarding the comparison of model speed and accuracy, could @NeilJohnson0930 assist with conducting a simple test using different frameworks for the same open-source model?

Thanks! Love to see your resuts.

Hi @zhaochenyang20, You can see the speed of SGLang compared with Vllm in the url link below:
https://github.com/camel-ai/camel/pull/1317/files

I think the token per second is not correct for some reason though

I think the token per second is not correct for some reason though

@NeilJohnson0930  will redo the experiment

@NeilJohnson0930 @Wendong-Fan I feel it too strange for vllm. What's the serving parameters you used? Also, how about the accuracy results? Thanks!!!

@Wendong-Fan  @lightaime @zhaochenyang20 New  token per second result has been updated, feel free to review


Test core languages in isolation

Fix #2613
Fix #2616

Nice addition, the test structure is good. In terms of coverage, there is a single point I'm not sure about. The tokenize-language page references an xml option which is false by default. Is it still in use ? Is it worth testing that ? I would be thinking about XML dependencies that might be needed for instance.

he tokenize-language page references an xml option which is false by default. Is it still in use ? Is it worth testing that ?

I have added a test for tokenizeXML() which seems to be setting that xml attribute to true.

Added a couple of fixes for #2616


[BUG] Bloxshade not working / installing with new Bloxstrap update

bloxshade_no

any answear still?

same here it just says fail to open file even tho i'm running as admin

bloxstrap updated how it handles its file path in version 2.8.0 and i have not had time to update bloxshade yet

im busy with mid term test and school atm

oh type shit i'm doing one rn, if you dont mind sending a message here once you update it i'd appreciate that

ok i think i found a workaround you guys need roblox for this to get shortcuts,so you need to install shortcuts or eurotrucks2.exe to be in folder of roblox then you put eurotrucks2.exe in folder of bloxstrap then you gotta launch roblox useing eurotrucks2 NOT thoruth bloxstrap or website.

You don't need to follow @abeba-boop bad instructions anymore.
A staff member of Bloxshade published a fix here: https://github.com/person12306464/Bloxshade/releases/tag/v2.9.0-bloxstrap-fix

actual goats

thats literally a trojan

nice he deleted his  comment right after i said it

nice he deleted his comment right after i said it

I deleted it because I got worried it was indeed a Trojan as you said, although this was shared by a high staff member from the discord server of Bloxshade and I wasn't able to find anything malicious, but just some false positives from Microsoft Edge webview installer. If you would like, may you please share some details how is it a Trojan @andrew2341842 ?

Instead are better instructions how to install Bloxshade with Bloxstrap if anyone wants to use it.
This is the current reason why Bloxshade doesn't work, according to the creator of Bloxshade:

bloxstrap updated how it handles its file path in version 2.8.0 and i have not had time to update bloxshade yet

This means you can't install Bloxshade with Bloxstrap, but you can install it with the original Roblox.
Bloxshade uses an executable called eurotrucks2.exe to enable shaders, you can take a copy of it and place it inside a Bloxstrap executable folder to fix it.
Here's a step by step guide:

Uninstall Bloxstrap.
Download Roblox.
Install Bloxshade.
Navigate to Roblox's path folder, find and copy eurotrucks2.exe to someplace you want to keep it
(this is a backup in case Roblox updates and removes it somehow).
Install Bloxstrap.
COPY the COPIED eurotrucks2.exe to the Bloxstrap Roblox folder.
Create a shortcut of eurotrucks2.exe and place it on your desktop.

That's it, now in order to use Bloxshade with Bloxstrap you must run the eurotrucks2.exe shortcut.
If you're willing to risk it and use a fix version currently released by one of the high staff of Bloxshade, you can get it by joining the discord server and looking for it here: https://discord.com/invite/QvCrwVf6Mb

oh shit mb bro then i think it was just my microsoft thingy too cuz it said it was a trojan

It's alright don't worry about it.

hey for the roblox folder do i click it once and put next to player or do i click on player too

its been fixed https://github.com/Extravi/Bloxshade/releases/tag/v2.8.16


Feature: add another external config

I'd like to have a config like .ktlintrc.yml. I dislike abusing .editorconfig for "proprietary" (meaning properties not owned by editorconfig that couldn't be generic to everything/language/incubating). I'd be ok with a format like ini, properties, or toml too (I loathe json for human edited configs, but json5 is fine). Honestly, I wish we could all get on board with a convention for repo root configurations like <REPO>/.config/app/<config> (same structure as xdg but relative to repo). For now I've used the spotless gradle plugin just to encode my overrides in my buildSrc plugin.

Tnx for your suggestion. I am rejecting it for reasons below.
Having a separate configuration file would complicate Ktlint while it gives little benefits. It would still need to read .editorconfig for generic properties like indent_size, indent_style and max_line_length.  User would need to maintain two different configuration files regarding ktlint.
The .editorconfig provides the posibility to define settings via 'globs'. To maintain that level of functionality the entire ec4j library which processes the .editorconfig would need to be copied in, adapted and maintained in the Ktlint project.
Lastly, this change will likely break the API for all Ktlint integrators. With introduction of Ktlint 1.x, it is promised that no breaking changes will be introduced during its 1.x lifetime. There are no plans to release a new major version.


Exception in thread "sbt-socket-server" java.lang.UnsatisfiedLinkError on arm64 platform

I'm trying a minimalistic example for Scala.js for getting started on my M1 Mac, which runs an ARM64 Chip.
Hardware: MacBook Pro M1 Max (2021)
Operating System: macOS Monterey 12.1
JDK: Bellsofts Liberica JDK 11.0.13 (LTS)
sbt version: 1.3.7 (project) and 1.5.5 (sbt script)
Scala version: 2.13.1
scala-js sbt plugin version: 1.8.0
I was following the basic tutorial of the Homepage. However the first sbt call fails like that:
 ~/workspace/scala/scalajs-test ❯ sbt -v
[sbt_options] declare -a sbt_options='()'
[process_args] java_version = '11'
[copyRt] java9_rt = '/Users/edean/.sbt/1.0/java9-rt-ext-bellsoft_11_0_13/rt.jar'
# Executing command line:
java
-Dfile.encoding=UTF-8
-Xms1024m
-Xmx1024m
-Xss4M
-XX:ReservedCodeCacheSize=128m
-Dscala.ext.dirs=/Users/edean/.sbt/1.0/java9-rt-ext-bellsoft_11_0_13
-jar
/Users/edean/.sdkman/candidates/sbt/1.5.5/bin/sbt-launch.jar

[info] Loading settings for project global-plugins from credentials.sbt ...
[info] Loading global plugins from /Users/edean/.sbt/1.0/plugins
[info] Loading settings for project scalajs-test-build from plugins.sbt ...
[info] Loading project definition from /Users/edean/workspace/scala/scalajs-test/project
[info] Loading settings for project scalajs-test from build.sbt ...
[info] Set current project to Scala.js Tutorial (in build file:/Users/edean/workspace/scala/scalajs-test/)
Exception in thread "sbt-socket-server" java.lang.UnsatisfiedLinkError: /private/var/folders/r9/hwm307t10rq9n_fkmnrpwbth0000gn/T/jna-96354899/jna4459817499867818637.tmp: dlopen(/private/var/folders/r9/hwm307t10rq9n_fkmnrpwbth0000gn/T/jna-96354899/jna4459817499867818637.tmp, 0x0001): tried: '/private/var/folders/r9/hwm307t10rq9n_fkmnrpwbth0000gn/T/jna-96354899/jna4459817499867818637.tmp' (fat file, but missing compatible architecture (have 'i386,x86_64', need 'arm64e')), '/usr/lib/jna4459817499867818637.tmp' (no such file)
	at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
	at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2442)
	at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2498)
	at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2694)
	at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2627)
	at java.base/java.lang.Runtime.load0(Runtime.java:768)
	at java.base/java.lang.System.load(System.java:1837)
	at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:947)
	at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:922)
	at com.sun.jna.Native.<clinit>(Native.java:190)
	at com.sun.jna.Pointer.<clinit>(Pointer.java:54)
	at com.sun.jna.Structure.<clinit>(Structure.java:2130)
	at sbt.internal.server.Server$$anon$1$$anon$2.$anonfun$run$1(Server.scala:65)
	at scala.util.Try$.apply(Try.scala:213)
	at sbt.internal.server.Server$$anon$1$$anon$2.run(Server.scala:60)

My Directory looks like that:
.
├── build.sbt
├── project
│   ├── build.properties
│   └── plugins.sbt
└── src
    └── main
        └── scala
            └── tutorial
                └── webapp
                    └── TutorialApp.scala

My Files look like that:
build.sbt
enablePlugins(ScalaJSPlugin)

name := "Scala.js Tutorial"
scalaVersion := "2.13.1" // or any other Scala version >= 2.11.12

// This is an application with a main method
scalaJSUseMainModuleInitializer := true

project/build.properties
sbt.version=1.3.7

project/plugins.sbt
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.8.0")

src/main/scala/tutorial/webapp/TutorialApp.scala
package tutorial.webapp

object TutorialApp {
  def main(args: Array[String]): Unit = {
    println("Hello world!")
  }
}

Obviously it fails due to a missing arm64 version for a native binary. However, I did not manage to figure out, which is failing at this point, due to missing experience with the toolchain. Nevertheless, I'm looking forward to provide additional information and try, whatever comes to mind.
Thanks for all your efforts, you rock!

For what it's worth, on an M1 with same versions (admitedly old-ish Scala and old-ish SBT) I also get that exception only with a -v flag to SBT.
And 10s after that exception it outputs [warn] sbt server could not start in 10s and does drop into an SBT shell.
Running sbt run works.
Updating SBT version to 1.6.1 in build.properties makes the exception disappear when running sbt -v

❯ find . | ack '\.(sbt|scala|properties)$' | xargs -n1 -I{} sh -c 'echo "\n\n# {}" && cat {}'

# ./project/build.properties
sbt.version=1.6.1

# ./project/plugins.sbt
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.8.0")

# ./build.sbt
enablePlugins(ScalaJSPlugin)

name := "Scala.js Tutorial"
scalaVersion := "2.13.1" // or any other Scala version >= 2.11.12

// This is an application with a main method
scalaJSUseMainModuleInitializer := true

# ./src/main/scala/TutorialApp.scala
package tutorial.webapp

object TutorialApp {
  def main(args: Array[String]): Unit = {
    println("Hello world!")
  }
}

❯ java -version
openjdk version "17" 2021-09-14
OpenJDK Runtime Environment Temurin-17+35 (build 17+35)
OpenJDK 64-Bit Server VM Temurin-17+35 (build 17+35, mixed mode)

❯ sbt -v run
[sbt_options] declare -a sbt_options='()'
[process_args] java_version = '17'
[copyRt] java9_rt = '/Users/velvetbaldmime/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17/rt.jar'
# Executing command line:
java
-Dfile.encoding=UTF-8
-Xms1024m
-Xmx1024m
-Xss4M
-XX:ReservedCodeCacheSize=128m
-Dsbt.script=/Users/velvetbaldmime/.tools/sbt
-Dscala.ext.dirs=/Users/velvetbaldmime/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17
-jar
/Users/velvetbaldmime/.cache/sbt/boot/sbt-launch/1.6.0-RC2/sbt-launch-1.6.0-RC2.jar
run

[info] welcome to sbt 1.6.1 (Eclipse Adoptium Java 17)
[info] loading settings for project tmp-maazk16e-build from plugins.sbt ...
[info] loading project definition from /private/var/folders/my/drt5584s2w59ncgxgxpq7v040000gn/T/tmp.Maazk16e/project
[info] loading settings for project tmp-maazk16e from build.sbt ...
[info] set current project to Scala.js Tutorial (in build file:/private/var/folders/my/drt5584s2w59ncgxgxpq7v040000gn/T/tmp.Maazk16e/)
[info] compiling 1 Scala source to /private/var/folders/my/drt5584s2w59ncgxgxpq7v040000gn/T/tmp.Maazk16e/target/scala-2.13/classes ...
[info] Non-compiled module 'compiler-bridge_2.13' for Scala 2.13.1. Compiling...
7 warnings found
[info]   Compilation completed in 3.133s.
[info] Fast optimizing /private/var/folders/my/drt5584s2w59ncgxgxpq7v040000gn/T/tmp.Maazk16e/target/scala-2.13/scala-js-tutorial-fastopt
[info] Running tutorial.webapp.TutorialApp.
Hello world!
[success] Total time: 5 s, completed 12 Jan 2022, 22:35:02

I did not expect to have an answer this fast! Glad, there's at least one expert running arm silicon, too.
I can verify, that it does indeed work with project sbt version 1.6.1, and sbt run indeed worked just fine in the first place! Sorry, for not testing that initially. Rookie move, I guess.
Also I just observed, running under Rosetta2 works out just fine, too (with 1.3.7 project sbt version, even running sbt alone).
**So best solution seems to be project sbt version 1.6.1 to me. **
I'll better get on my first steps again, then.
Thanks so much!


:var can't destructure bindings

=+  [p q]=[1 2]  p will give you 1, but you can't do =/  {p/@ q/@}  [1 2]  p no matter how hard you try. You have to do =/  r/{p/@ q/@}  [1 2]  p.r, which is messy.  With the reasoning behind :var being to be purely a better :pin that lets you provide types in the binding instead of casting the product, this should probably be possible.
Oddly, the :pin destructuring actually only works with the irregular form of ^=, which make it also a pain to use. =+  ^=  [p q]  [1 2]  p is a syntax error, forcing you to do =+  ^-  {p/@ q/@}  [1 2]  p which isn't intuitive why it works.

Yeah, this is kind of hosed.
But it doesn't involve jets, so anyone who wants some fun can probably fix it themselves!
Sent from my iPhone

On Apr 11, 2017, at 12:43 AM, chc4<EMAIL_ADDRESS>wrote:
=+ [p q]=[1 2] p will give you 1, but you can't do =/ {p/@ q/@} [1 2] p no matter how hard you try. You have to do =/ r/{p/@ q/@} [1 2] p.r, which is messy. With the reasoning behind :var being to be purely a better :pin that lets you provide types in the binding instead of casting the product, this should probably be possible.
Oddly, the :pin destructuring actually only works with the irregular form of ^=, which make it also a pain to use. =+ ^= [p q] [1 2] p is a syntax error, forcing you to do =+ ^- {p/@ q/@} [1 2] p which isn't intuitive why it works.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

The fun corner case here, especially with the coming syntax reunification,
is whether  =/  [cord cord]  foo  does the right thing, or  =/  [a b]  foo
does the right thing. I'm guessing the latter, since casting things
faceless is occasionally useful but shouldn't be the short-encoding
default, and anyway =/  cord  foo already works the second way.
On Tue, Apr 11, 2017 at 11:11 AM, cgyarvin<EMAIL_ADDRESS>wrote:

Yeah, this is kind of hosed.
But it doesn't involve jets, so anyone who wants some fun can probably fix
it themselves!
Sent from my iPhone

On Apr 11, 2017, at 12:43 AM, chc4<EMAIL_ADDRESS>wrote:
=+ [p q]=[1 2] p will give you 1, but you can't do =/ {p/@ q/@} [1 2] p
no matter how hard you try. You have to do =/ r/{p/@ q/@} [1 2] p.r, which
is messy. With the reasoning behind :var being to be purely a better :pin
that lets you provide types in the binding instead of casting the product,
this should probably be possible.
Oddly, the :pin destructuring actually only works with the irregular
form of ^=, which make it also a pain to use. =+ ^= [p q] [1 2] p is a
syntax error, forcing you to do =+ ^- {p/@ q/@} [1 2] p which isn't
intuitive why it works.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/urbit/arvo/issues/386#issuecomment-293351414, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABxXho2xw55TU2ViLYAPz4kUtB6c-F9Tks5ru8JXgaJpZM4M5u1G
.

The syntax reunification is by no means decided on...
Sent from my iPhone

On Apr 11, 2017, at 11:17 AM, Anton Dyudin<EMAIL_ADDRESS>wrote:
The fun corner case here, especially with the coming syntax reunification,
is whether =/ [cord cord] foo does the right thing, or =/ [a b] foo
does the right thing. I'm guessing the latter, since casting things
faceless is occasionally useful but shouldn't be the short-encoding
default, and anyway =/ cord foo already works the second way.
On Tue, Apr 11, 2017 at 11:11 AM, cgyarvin<EMAIL_ADDRESS>wrote:

Yeah, this is kind of hosed.
But it doesn't involve jets, so anyone who wants some fun can probably fix
it themselves!
Sent from my iPhone

On Apr 11, 2017, at 12:43 AM, chc4<EMAIL_ADDRESS>wrote:
=+ [p q]=[1 2] p will give you 1, but you can't do =/ {p/@ q/@} [1 2] p
no matter how hard you try. You have to do =/ r/{p/@ q/@} [1 2] p.r, which
is messy. With the reasoning behind :var being to be purely a better :pin
that lets you provide types in the binding instead of casting the product,
this should probably be possible.
Oddly, the :pin destructuring actually only works with the irregular
form of ^=, which make it also a pain to use. =+ ^= [p q] [1 2] p is a
syntax error, forcing you to do =+ ^- {p/@ q/@} [1 2] p which isn't
intuitive why it works.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/urbit/arvo/issues/386#issuecomment-293351414, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABxXho2xw55TU2ViLYAPz4kUtB6c-F9Tks5ru8JXgaJpZM4M5u1G
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Spoilsport
Well, in =/ {a b} foo the issue is totally still present, compounded but it
being a different syntax from togas.
On Tuesday, 11 April 2017, cgyarvin<EMAIL_ADDRESS>wrote:

The syntax reunification is by no means decided on...
Sent from my iPhone

On Apr 11, 2017, at 11:17 AM, Anton Dyudin<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:
The fun corner case here, especially with the coming syntax
reunification,
is whether =/ [cord cord] foo does the right thing, or =/ [a b] foo
does the right thing. I'm guessing the latter, since casting things
faceless is occasionally useful but shouldn't be the short-encoding
default, and anyway =/ cord foo already works the second way.
On Tue, Apr 11, 2017 at 11:11 AM, cgyarvin<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:

Yeah, this is kind of hosed.
But it doesn't involve jets, so anyone who wants some fun can probably
fix
it themselves!
Sent from my iPhone

On Apr 11, 2017, at 12:43 AM, chc4<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:
=+ [p q]=[1 2] p will give you 1, but you can't do =/ {p/@ q/@} [1
2] p
no matter how hard you try. You have to do =/ r/{p/@ q/@} [1 2] p.r,
which
is messy. With the reasoning behind :var being to be purely a better
:pin
that lets you provide types in the binding instead of casting the
product,
this should probably be possible.
Oddly, the :pin destructuring actually only works with the irregular
form of ^=, which make it also a pain to use. =+ ^= [p q] [1 2] p is a
syntax error, forcing you to do =+ ^- {p/@ q/@} [1 2] p which isn't
intuitive why it works.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/urbit/arvo/issues/386#issuecomment-293351414, or
mute
the thread
<https://github.com/notifications/unsubscribe-auth/
ABxXho2xw55TU2ViLYAPz4kUtB6c-F9Tks5ru8JXgaJpZM4M5u1G>
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/urbit/arvo/issues/386#issuecomment-293355648, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABxXhteSbH79bkWFoxhBfkPlrQTphm0_ks5ru8UCgaJpZM4M5u1G
.

I tried implementing this, but it crashes with a nest-fail in %clay, %eyre, and %gall...which makes this difficult to test, since then it breaks :dojo when the reset finishes and I have to completely remake the fakezod for the next cycle :/ It also doesn't provide a stack trace for the nest-fail, so I'm not sure what the actual problem is.
My change works in a small generator I made from extracted compiler pieces to test the new parser and expansion, and all the vanes where it crashes don't use any type hints for =/ in them anyways, so I'm not sure what the issue is. Thoughts?
https://github.com/chc4/arvo/commit/22c80a744d618a8505297732625b5e31f6575762
(I'd also like to know a better way to test compiler changes. It takes a long time, and somehow it forces my fakezod to recompile the entire kernel when it first boots, and then requires me to |commit a changed compiler which compiles again to actually try the change...)

In theory it should be possible to |reset with a change in ++span.  In
practice I wouldn't try it right now.
dojo> .urbit/pill +metal ~zod
is your friend in this situation.  But yes, the development cycle is long.

On Wed, Apr 12, 2017 at 10:31 PM, chc4<EMAIL_ADDRESS>wrote:

I tried implementing this, but it crashes with a nest-fail in %clay,
%eyre, and %gall...which makes this difficult to test, since then it breaks
:dojo when the reset finishes and I have to completely remake the fakezod
for the next cycle :/ It also doesn't provide a stack trace for the
nest-fail, so I'm not sure what the actual problem is.
My change works in a small generator I made from extracted compiler pieces
to test the new parser and expansion, and all the vanes where it crashes
don't use any type hints for =/ in them anyways, so I'm not sure what the
issue is. Thoughts?
chc4@22c80a7
https://github.com/chc4/arvo/commit/22c80a744d618a8505297732625b5e31f6575762
(I'd also like to know a better way to test compiler changes. It takes a
long time, and somehow it forces my fakezod to recompile the entire kernel
when it first boots, and then requires me to |commit a changed compiler
which compiles again to actually try the change...)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/urbit/arvo/issues/386#issuecomment-293785900, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AALyASqJcU64iyF-sGfLgRTH_a3X-qPJks5rvbMXgaJpZM4M5u1G
.


Non admin users cannot see command box

Non admin users cannot see command box of their own server: http://i.imgur.com/3CFkQYh.png

Appears fixed in 0.4.0


Builder::append_dir_all not found on Stable-MSVC

The docs say there is an append_dir_all for tar::Builder<W>. But I've attempted to build this with stable-msvc (1.15.1, 64bit) and I get the error no method append_dir_all for tar::Builder<std::fs::File>
That is on v0.4 and v0.4.10
To re-create
extern crate tar
use tar:: Builder;
use std::path::Path;
use std::io::{self,Write};
pub fn append_dir<A,B,W>(b: &mut Builder<W>, a: A, b: B) -> io::Result<()>
where
    A: AsRef<Path>,
    B: AsRef<Path>,
    C: Write
{
    b.append_dir_all(a,b)
}

Doc Ref
Source Ref
I'm really confused

There hasn't been a release since that PR got merged, but @alexcrichton pushes the docs daily, so you're seeing what's on the top of master.
See https://docs.rs/tar/0.4.10/tar/struct.Builder.html for the docs for 0.4.10.

Ah okay thanks for clearing that up.
I cloned locally and tested it out. It doesn't appear to exit.
This never exits on stable-msvc
builder.append(path, ".")?;

Ah yeah I just haven't published a version yet, this'll get picked up in the next vesion though!


Question: entities relationships between 2 assemblies (libraries)

Hi,
I have 2 libraries. Each library has own Entities, Migrations and Db Context. Both of them working with one DB. For example:
Assembly 1
    [Table["Foos"]]
    public class Foo
    {
            public int Id { get; set; }

            //columns
    }

Assembly 2
    [Table["Bars"]]
    public class Bar
    {
            //columns
    }

Each assmbly has migration creating tables included into db contexts (personal for each assembly).
I want to add navigation property ICollection<Bar> Bars to Foo for Assembly 2. For that I referenced Assembly 1 in Assembly 2, created inherited class BFoo with mentioned navigation property. Also I created foreign key int FooId on Bar:
Assembly 2
    public class BFoo: Foo
    {
            [ForeignKey("FooId")]
            public ICollection<Bar> Bars { get; set; }
    }

    [Table["Bars"]]
    public class Bar
    {
            public int FooId { get; set; }
            //columns
    }

Next, I included DbSet<BFoo> into BarDbContext and marked that set as Ignored to skip Foos table creation in migration of Assembly 2, becuase it will be created by migration from Assembly 1. When I create new migration on Assembly 2 I do not get relationship between Foos and Bars created. Methods Up() and Down() are empty. Also I tryed other way with modelBuilder. I created navigation property public Foo Foo { get; set; } on Bar, removed ForeignKey attribute on BFoo.
    protected override void OnModelCreating(ModelBuilder modelBuilder)
    {
        base.OnModelCreating(modelBuilder);

        modelBuilder.Ignore<BFoo>();

        modelBuilder.Entity<BFoo>().HasMany<Bar>(i => i.Bars)
            .WithOne(i => i.Foo);
    }

It helps, but Foos table created anyway (should not, becuase it is ignored)
Could someone help to reach my goal? Extending Assembly1 entites with navigations properties in Assembly2.
PS: I use Asp Net Boileplate framework. I created 2 modules with own domain layers and db contexts.

Duplicate of #2725
Current model building and migration are always in sync. So if you mark EntityType as ignored then it won't be in the model and migrations both. If you don't mark it as ignored (to get FK constraint) then it will be in migration as table too. #2725 will allow you to include entity in the model to create the constraints but exclude creating table from migration.


Trezor and Keepkey: Fix empty passphrase behavior

Fix empty passphrase behavior for Trezor and Keepkey. Currently, it is not possible to get the details of a passphrase-enabled Trezor One or KeepKey with enumerate for an empty passphrase, while other commands use an empty passphrase by default. This PR differentiates between an empty passphrase (i.e. an empty string), and no passphrase (None).
This, on the one hand, will allow using an empty passphrase with all commands, while by default, if no passphrase was passed at all, the device will not be usable (if passphrase is enabled), as compared to the present state where it is usable for all commands except enumerate.
As for the default passphrase option, I decided to set it to None as, while it could be just an empty passphrase, I think it is better to enforce user input for passphrase if is enabled. But if you think an empty passphrase as default is better I could change that, but choosing either of these options is better than the current state for consistency and usability.

This is breaking the tests.
This seems to be a breaking change since now a passphrase needs to always be provided.

@achow101 I'm unable to fix the tests now for some reason. Seems like there it behaves differently than how my physical devices I tried it with behave...
I'm unable to setup the emulators properly on my own machine (macOS) so it's somewhat hard for me to debug what's the issue with the tests currently. I'll close this for now then and try to fix the tests, and open again once I can get the tests to pass.


Add sample scatter gather flow control

Purpose
Add sample "scatter-gather flow control"

Please add descriptions to mediator elements.

In data-mapper, i do not see any mapping done.
Could you please check.

@dulanjalidilmi Please raise an issue to track AI data mapping issue.


Build scripts update

CodeQL Analysis is failing due to issues with lack of disk space, but otherwise seems to run the same compared to before the script changes. Based on this and leveraging the results from the other pipelines, I'll merge this change.


Add Scrolling Direction for Mouse

Description of the new feature / enhancement
There is not an option to change the scrolling direction for the mouse on Windows 11,  it just includes settings to reverse the scrolling direction of a precision touchpad.
Scenario when this would be used?
This would be used to avoid confusion when you change from using the trackpad and then the mouse
Supporting information
https://www.windowscentral.com/how-enable-reverse-mouse-and-touchpad-scrolling-windows-11

/dup #6434


Add link from python docs page to gcloud-java

The python docs page needs to link back to gcloud-java docs.  There's a wrinkle though; gcloud-java uses javadoc, which is a completely different template compared to other languages' docs pages (see http://googlecloudplatform.github.io/gcloud-java/site/0.0.7/apidocs/index.html).  The javadocs page also doesn't have a link back to other languages' docs, and there isn't a stable link to redirect to the latest version's javadocs page (though could be added if needed).
This PR proposes linking back to the gcloud-java landing page instead of the javadoc.  Thoughts? cc/ @jgeewax

LGTM

@ajkannan Does https://github.com/GoogleCloudPlatform/gcloud-python/pull/1095#issuecomment-135181691 change the link? If so, please submit a new PR.

It doesn't change the link (I went with the landing page link in this PR).

Great!


Update awcrt version to 0.21.2

Update AWSCRT to the latest released version 0.21.2.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.15%. Comparing base (c68aa1a) to head (3c0e656).
Report is 57 commits behind head on develop.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3231      +/-   ##
===========================================
+ Coverage    93.12%   93.15%   +0.02%
===========================================
  Files           66       66
  Lines        14252    14253       +1
===========================================
+ Hits         13272    13277       +5
+ Misses         980      976       -4

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


Requesting write access to mailer plugin

Description
I'd like to have write access on the mailer-plugin repository to help with its maintenance.
cc @oleg-nenashev
Submitter checklist for changing permissions
Always

[x] Add link to plugin/component Git repository in description above

When adding new uploaders (this includes newly created permissions files)

[x] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[x] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[x] All newly added users have logged in to Artifactory at least once

I will give all permissions tomorrow


Change event

Fix #23

This change is

Review status: 0 of 3 files reviewed at latest revision, all discussions resolved.

src/vaadin-time-picker.html, line 212 at r1 (raw file):

        __valueChanged(value, oldValue) {
          const parsedObj = this.__parseISO(value) || '';

parseObj is a js object or null,  it's very confusing to set it to an empty value.

src/vaadin-time-picker.html, line 215 at r1 (raw file):

          const valueFromCurrent = this.__formatISO(parsedObj) || '';
          const valueFromOld = this.__formatISO(this.__parseISO(oldValue)) || '';

makes not sense to format the oldValue, it should be an already valid formatted string

src/vaadin-time-picker.html, line 227 at r1 (raw file):

        __onInputChange(e) {
          const parsedObj = this.i18n.parseTime(this.__dropdownElement.value) || '';

same comments than above

Comments from Reviewable

Review status: 0 of 3 files reviewed at latest revision, 3 unresolved discussions.

src/vaadin-time-picker.html, line 212 at r1 (raw file):
Previously, manolo (Manuel Carrasco Moñino) wrote…
parseObj is a js object or null,  it's very confusing to set it to an empty value.

Updated.

src/vaadin-time-picker.html, line 215 at r1 (raw file):
Previously, manolo (Manuel Carrasco Moñino) wrote…
makes not sense to format the oldValue, it should be an already valid formatted string

Updated.

src/vaadin-time-picker.html, line 227 at r1 (raw file):
Previously, manolo (Manuel Carrasco Moñino) wrote…
same comments than above

Updated.

Comments from Reviewable

test/custom-functions.html, line 35 at r2 (raw file):

      it('should use custom formatter if that exists', function() {
        timePicker.set('i18n.formatTime', sinon.stub().withArgs({hours: 12, minutes: 0}).returns('12:00 AM'));

Why is this test invalidated?

Comments from Reviewable

Review status: 0 of 3 files reviewed at latest revision, 4 unresolved discussions.

test/custom-functions.html, line 35 at r2 (raw file):
Previously, tomivirkki (Tomi Virkki) wrote…
Why is this test invalidated?

Restored.

Comments from Reviewable

Review status: 0 of 3 files reviewed at latest revision, 4 unresolved discussions.

src/vaadin-time-picker.html, line 212 at r1 (raw file):
Previously, YuriyVaadin (Yuriy Yevstihnyeyev) wrote…
Updated.

It is redundant to set it to || null  method returns  undefined which is ok for the object.
Below you just check for the object existence,  no need for && parsedObject === null  just  && parsedObject

Comments from Reviewable

Review status: 0 of 3 files reviewed at latest revision, 2 unresolved discussions.

src/vaadin-time-picker.html, line 212 at r1 (raw file):
Previously, manolo (Manuel Carrasco Moñino) wrote…
It is redundant to set it to || null  method returns  undefined which is ok for the object.
Below you just check for the object existence,  no need for && parsedObject === null  just  && parsedObject

Updated.

Comments from Reviewable

Reviewed 1 of 3 files at r1, 1 of 1 files at r3, 1 of 1 files at r4.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

Comments from Reviewable

Reviewed 1 of 3 files at r1, 1 of 1 files at r3, 1 of 1 files at r4.
Review status: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from Reviewable


RPM installation

Have you planned to provide a way to create an RPM for this plugin to be easily installed in a previous keystone installation?

Yes, we are looking at different options to package the extension and install it automatically on top of an existing keystone

Did you do any progress on that? Thanks

Finally there is no packaging going to be done.
The enhancement could be implementing the installation steps in a simpler script.

Closing this because of inactivity. Thank you both.


assertion failed on EGL applications

wldbg failed to start when launching with an EGL Wayland application "weston-simple-egl",
but it works fine for shm ones.

$ wldbg example -- weston-simple-egl
...
...
weston-simple-egl: /project/build/bazoka/tmp/work/corei7-64-poky-linux/weston/1.8.0-r0/weston-1.8.0/clients/simple-egl.c:399: create_surface: Assertion `0' failed.
-- Destroying example pass

Thanks for the report,
this is a bug in weston-simple-egl, see https://patchwork.freedesktop.org/patch/76825/


Add missing style prop

Yesterday I abandoned my old forked copy of this repo and updated my entire app to use the latest version. Really appreciate all the work you've put into this. I'll be using/contributing to this repo going forward—starting with this tiny PR. While doing updates, I noticed that the valueContainerStyle prop was never set on the DatePickerComponent.

Thank you for your PR, I have been very busy lately.
I'm actively working on the component and the new release will be ready to go soon.


signed commit

This should be the "zh-CN" sublocale/folder. We are using the capitalized two letter country codes, per LOCALIZATION.md.

"Signed commit" is not a helpful PR title.


Add RS256 support to OpenIDConnect

Previously the implementation of OpenIDConnect depended on statically provided keys. This worked when it could only do HMAC signature verification ("HS256"), but was not feasible for RSA based verification ("RS256"), since the keys should be fetched from the provider.
I added automatic configuration for OpenIDConnect to simplify creation of backends, and resolving of the keys. I had to switch to pyjwkest for signature verification, since pyjwt makes it really hard to do pass the keys.
PyJWT seems to be only used in Azure AD (which actually seems to be OpenIDConnect, so it might be simplified by just deriving from it and configuring the OIDC_ENDPOINT, I don't have an Azure account to test with though) and in ExactTarget. Maybe we can at some point remove the dependency in favor of PyJWKEST?
Together with https://github.com/omab/python-social-auth/pull/687 this PR fixes the issues with GoogleOpenIdConnectAuth, as described in https://github.com/omab/python-social-auth/issues/477 and https://github.com/omab/python-social-auth/issues/644.

Hi @omab,
What do you think of these PR's? Is this something you could accept? Please let me know if you have additional requirements or questions so I can address them!
Thanks!

I overhauled the caching of OIDC configuration and keys, so now it is more robust.

@mvschaik Since you have #747 can you close this? I didn't notice it. Will move my commit comments over there

Closed in favor of #747


changes need to make the gem compatible with ruby 2.4

Since it's not actually using many new features it seems reasonable to have further coverage of older versions (for now!)

I'd rather avoid adding support for such an old version (released 8 years ago) only to most likely remove it in the near future.
As we already support the 2.x branch with 2.7, which should not be too hard to migrate to from 2.4, I feel like it's good enough.

OK I'm convinced, closing as it is not the path forward.
Sorry @sensadrome, I hope it will give you a new reason to upgrade.

no problem @Intrepidd - and I actually think you are right by the way! I just had an old project running on 2.4 that needed to talk to hubspot. When I looked at the gem here it appeared that yield_self was the only impediment to making it work!
As it happens I started a new gem to use v3 of the api, inspired by this one!
https://github.com/sensadrome/ruby_hubspot_api

As it happens I started a new gem to use v3 of the api, inspired by this one!

Oh cool, good to know! Thanks for the link.


fix: patch vuex deprecation warning

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR type

[x] Bugfix
[ ] Feature
[ ] Refactoring

What's new?

[x] PR closes #2243
[x] already fixed in vuex at 3.x branch, but newer version was never released https://github.com/vuejs/vuex/blob/3.x/package.json#L12
[x] related issue: https://github.com/vuejs/vuex/pull/2048

Before submitting Pull Request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[ ] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </rmrk/collection/26902bc2f7c20c546a-1FVG7>
[ ] I've tested PR on mobile and everything seems works
[ ] I found edge cases
[ ] I've written some unit tests 🧪

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot

[ ] My fix has changed something on UI; a screenshot is best to understand changes for others.

Clean builds 🤩
pay 50

😍 Perfect, I’ve sent the payout
💵 $50 @ 45.26 USD/KSM ~ 1.105 $KSM
🧗 DY4SQF2iD456tH89aQtz5wv1EV3BbSW8wKKuMcwbmXaj1pM
🔗 0xfcc0d6d72bc271b0f789a6070e99b8b2159a099097f334b755d9dc3cae61635b
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Update ESLint to version 8.57.0

This PR updates ESLint 8.57.0.
All plugins are also updated and some which were referenced inside package.json but are now included as dependencies of other packages were removed to keep direct dependencies list as clean as possible.
This PR is also the opportunity to write some comments about ESLint future updates so everyone is aware of it :

Since V8.53, ESLint team decided to deprecate all formatting rules. More info can be found on this official announcement.
To keep it simple, those rules will stay at least in version 9 of ESLint but will not receive any updates anymore. Those rules should be abandoned in favor of a code formatter OR replaced by the rules defined in [@stylistic/eslint-plugin-js](https://eslint.style/packages/js). This package contains all the deprecated rules and will be maintained. However, as our main dependencies (eslint-plugin-vue and eslint-config-standard) don't make use of those rules yet, it is better to wait before making the transition on our side...

A new format for ESLint configuration files is supported since 2022 and will be the default one in version 9. Transitioning to this new configuration file format should be done but once again when our main dependencies will export those kind of files. This is already the case for eslint-plugin-vue but not for eslint-config-standard (well it is already if you checkout the master branch on GitHub but not if you install the official NPM package).
Making the transition will force us to get rid of @vue/eslint-config-standard which is used automatically by vue-cli and first versions of create-vue. What it basically does is configure ESLint to use vue rules and standardJS ones.
Newer versions of create-vue don't use it anymore but don't include standardJS anymore neither so I think we could easily depart from @vue/eslint-config-standard but what about standardJS?  Should we keep it? I personally think we should as I like this style guide but please give me your opinion on this one!

Last point, it is still unsure whether ESLint V9 is compatible with Vue-CLI so perhaps all those thoughts will only be of interest when Wegue will be upgraded to Vue3...

Thanks for this update @sronveaux and the detailed explanations. I like using up-to-date dependencies and the fact that you reduce explicit sub-dependencies.
I created separate issues for your points 1. #380  and 2. #379. The decisions can or have to be easily postponed and the corresponding discussions can be done in the respective issue. So this PR is not blocked from merging and things keep a bit more cleaner.
So I am +1 to merge this.

Thanks @chrismayer,
I agree 100% with you on this one. We have time to do those changes as ESLint has announced that those deprecations will not be removed for a long time...
I'll keep an eye on the "blocking" dependencies and are open to all what will be proposed in the two issues you opened!


[docs] dynamic docs generation and deployment

Solves #245 , edited docs.yml to run the generation of docs before deployment. Tested on a test repository and it seems to work, but it takes a bit to build node.

we could always revert if needed, so I’ll just merge


Feature blob

Add a blob api to get terraforn module stored in the bucket using api gateway.
The api gateway is used as a proxy to aws s3 bucket, and use JWT token as authentication method.
Using aws api gateay as a s3 proxy:

simplify sharing in a multi account context : we just manage JWT token
permit us to use this registry from other platform with no direct credentials with aws

Actually: testing terraform usage with this blob api.

By the way, gitlab api terraform registry, use "file" suffix to get module source.

Use presigned s3 URL

add a lambda integration in order to presign URL
add usage of "X-Terraform-Get" for download API

Terraform or terragunt client see just a public HTTPS URL.


Improving pointclouds quality with additionnal hardware

Required Info

Camera Model
D400

Firmware Version
Latest

Operating System & Version
Win (10) / Linux

Kernel Version (Linux Only)

Platform
PC

SDK Version
Latest

Language

Segment

Looking for suggestions about equipment to improve quality of capture
I can't give too much info about my setup but I want to improve the quality of the .ply out of the D415. I'm working at really close range (~300 mm), and yes I've tuned the parameters of the cameras.
So far, I've read this doc (which is really good btw) and some solution stood out :

Adding an additional projector to increase the pattern density/dot number
Adding an IR filter (bandpass/longpass) on the stereo sensors

As I currently have 2 D415, I tried the 1st solution simply by enabling both IR emitter in the field of 1 camera. The quality improvement was not significant, so I wonder if this solution is only useful to increase range (see chapter 4) ?
I would also like to know if anyone tried to add an IR filter to the camera, in order to get rid of some annoying ambient lighting (basic office lights for example) ? What should I pick then, a bandpass or a longpass filter ? I'm worried about either filtering too much or not enough wavelength, and thus ruining the data.
[EDIT] I've just seen #3768 and chapter 13 of this, and I'm a bit concerned about the 0,55 mm thickness of the recommended cover...
Suggestions are welcomed !

Any update on this ?

Hi AntoineWefit,
what is the key depth quality you are going to improved, ex :depth accuracy  or fill rate...
(1) use the IR emitter can help to increase the features on object especially for plain surface (such as flat white wall has no any texture) by projecting those invisible dots onto those object's surface
-so you can see significant difference  (especially for the fill rate) when the surface of object you are going to measure having  more features (dots)  by adding those IR dots
(2) the IR emitter (projector) has nominal wavelength at 850nm
if you want to have IR cut filter for it, you can use 830-880nm bandpass IR filter
(3) the thinner the lens cover, the small change on the optical characteristic.
if thicker lens is required and has significant change on optical characteristic..
re-calibration may required..
(4) Librealsense has some SW filter (post processing) that can help improve the depth quality as well

Thank you for your suggestions !
I'm basically trying to get the maximum overall quality of acquisition (so both depth accuracy and fill rate are important, as well as sharp and clean object borders).
(1) OK I got it !
(2) That's what I thought. What I want to know is if some tests have been made with such a setup, and if it is indeed worth the try ?
(3) Thanks for the clarification.
(4) Yes, I'm already using those. From a software side, I believe that I'm pretty much out of possibilities to improve mesh quality ; hence looking for hardware-related improvements :)

Hi AntoineWefit,
for (2),  you can test the depth in a complete dark room and turn project on/adjust its power
to see if it can help in your case.
best

Will try, thank you for the suggestion !
I'm going to let this issue opened a few days in case someone else has other advice.

I've just tested your latest suggestion @RealSenseCustomerSupport (isolating the system from ambient lighting to "simulate" a IR/pass filter) and their definitely was a slight improvement of the overall quality of the mesh. As it's possible to find relatively cheap filters, it might worth the try and buy a couple...
Talking about filters, even if I doubt it, I was wondering if their was a way to implement such a filter from a software side ? My guess is that I would have to apply some kind of wizardry (will do more investigation on that later) right before post-processing & saving the frames in my code. But I have no idea :

If it is indeed possible with the current version of the SDK ?
If I need to use/call an external software/code to process the frames within the main control code which is (obviously) based on librealsense, or can I do everything "internally" ?
Last but not least, how to do it ?

Hi AntoineWefit,
(1) D415 has a VPU, The primary function of Vision Procesor unit D4 is to perform depth stereo vision
processing. The D4 on D4 Card communicates to
the host processor (ex. PC)  through USB3.0 and receives camera sensor raw data from the stereo
depth module (camera head)
that means, the filter you plan to implement will need to be perform by this VPU before it calculate /output the depth to host (PC), i.e, this will require firmware change. the existing SDK should not able to implement it.

Thank you for the explanation !
I'll close this issue in a few days in case someone has an other advice.


GliNER for Text Classification

Hi all,
I have been working on a few separate packages attached to GliNER. I have one that may be ready to share. It builds on GliNER spaCy and I could use advice on if you think this would be worth building into GliNER spaCy or packaging it as a separate component. This is a new spaCy component that needs to be added after a GliNER pipe. I am testing this on Holocaust related material.
It works like this. A user defines a set of categories as keys with list values that are GliNER labels. The user data would look like this.
{
    "family": ["child", "spouse", "marital"],
    "personal": ["person"],
    "locational": ["address", "office"],
    "health": ["mental health", "medical"],
    "labor": ["work", "job", "office"],
    "emotion": ["fear", "happy"],
    "education": ["school", "student"],
    "movement": ["travel", "from location", "to location", "leaving", "arriving"],
    "violence": ["violence"]
}

The goal here is to set GliNER to a rather low threshold and use nested spans to capture greater nuance. The new gliner_cat pipe adds up the values from the entities found for each sentence and assigns values to the categories based on this output. One can then process an entire document and identify where salient themes appear by chunking the document into a collection of sentences of n-length.
The component will generate the data and visualization for this.

This works rather like zero-shot text classification with a slight difference. It lets a user define a controlled NER vocabulary that aligns to a topic. This means that when a user wants to understand why certain categories appeared in the text, not only do they know which sentences have those topics, they can point to the specific entities in the sentence that generated that output.
@urchade  and @tomaarsen if you like this, would you like to see it as part of GliNER spaCy or as a separate installable spaCy component? It does not have any other requirements except for seaborn for the viz.

Hi @wjbmattingly, It looks very interesting. Do you have a demo so that I can try it ?

@urchade you got it! https://github.com/theirstory/gliner-spacy/blob/main/examples/example_tokenization_pipeline.ipynb I just pushed it to GitHub. You need to clone the repo and then run
python -m pip install .

Thanks, I will try it.
I was also think about training a gliner for zero-shot classification, by framing the task as span extraction

I tried that, but had a hard time consistently working in long spans. Maybe you will have better luck

With some fine-tuning it should work
btw, Ihor (@Ingvarstep) have made a multi-task version of GLiNER: https://huggingface.co/knowledgator/gliner-multitask-large-v0.5

@Ingvarstep have also created gliclass: https://github.com/Knowledgator/GLiClass/tree/main/gliclass


Update delayed-best-practices.rst

[ ] Closes #xxxx
[ ] Tests added / passed
[ ] Passes black dask / flake8 dask / isort dask

Can one of the admins verify this patch?


Installation Error -  Implementation restriction: ContentDocumentLink

Hi,
I'm getting the following error when trying to install to a partial sandbox using the SandBox link for latest version.
Is there a work around for this?
Thanks!
Anne-Marie
Error Number: 90945798-26744 (-1917862329)
Problem:

Implementation restriction: ContentDocumentLink requires a filter by a single Id on ContentDocumentId or LinkedEntityId using the equals operator or multiple Id's using the IN operator.
ConvertAttachmentsToFilesServiceTest: Implementation restriction: ContentDocumentLink requires a filter by a single Id on ContentDocumentId or LinkedEntityId using the equals operator or multiple Id's using the IN operator.

Implementation restriction: ContentDocumentLink requires a filter by a single Id on ContentDocumentId or LinkedEntityId using the equals operator or multiple Id's using the IN operator.
ConvertAttachmentsToFilesServiceTest: Implementation restriction: ContentDocumentLink requires a filter by a single Id on ContentDocumentId or LinkedEntityId using the equals operator or multiple Id's using the IN operator.

Invalid type: ConvertAttachmentsToFilesOptions
ConvertAttachmentsToFilesTrigger: Invalid type: ConvertAttachmentsToFilesOptions

Apex class 'dca_cnvrt_file.ConvertAttachmentsRunOnceController' does not exist
ConvertAttachmentsFAQPage: Apex class 'dca_cnvrt_file.ConvertAttachmentsRunOnceController' does not exist

Apex class 'dca_cnvrt_file.ConvertAttachmentsRunOnceController' does not exist
ConvertAttachmentsRunOncePage: Apex class 'dca_cnvrt_file.ConvertAttachmentsRunOnceController' does not exist

Apex class 'dca_cnvrt_file.ConvertAttachmentsScheduleController' does not exist
ConvertAttachmentsSchedulePage: Apex class 'dca_cnvrt_file.ConvertAttachmentsScheduleController' does not exist

Apex class 'dca_cnvrt_file.ConvertAttachmentsSettingsController' does not exist
ConvertAttachmentsSettingsPage: Apex class 'dca_cnvrt_file.ConvertAttachmentsSettingsController' does not exist

(Convert_Attachments_to_Files) In field: apexClass - no ApexClass named ConvertAttachmentsToFilesServiceTest found
Convert_Attachments_to_Files: In field: apexClass - no ApexClass named ConvertAttachmentsToFilesServiceTest found

Implementation restriction: ContentDocumentLink requires a filter by a single Id on ContentDocumentId or LinkedEntityId using the equals operator or multiple Id's using the IN operator.
ConvertAttachmentsToFilesServiceTest: Implementation restriction: ContentDocumentLink requires a filter by a single Id on ContentDocumentId or LinkedEntityId using the equals operator or multiple Id's using the IN operator.

Invalid type: ConvertAttachmentsToFilesOptions
ConvertAttachmentsToFilesTrigger: Invalid type: ConvertAttachmentsToFilesOptions

Hi Anne-Marie,
Sorry you're having installation issue. Did your errors ever give you a line number by chance where it failed in ConvertAttachmentsToFilesServiceTest?
What edition is your org? Enterprise?
I know you said you tried the sandbox installation link, but for my own benefit so I make sure to test with same link you used could you paste it here as comment please? I've only tested installing into dev orgs, don't readily have sandboxes to test with but I'd hope no difference.
Thanks,
Doug

Hi Doug,
No line number was given.
We are using Unlimited Edition and I'm installing into a Partial Sandbox.
Using the following link
https://test.salesforce.com/packaging/installPackage.apexp?p0=04t46000001VnYW
I found a few links when I googled the implementation error.
I was able to install it in another Dev sandbox without problems, so I'm not sure what might be causing the problem.
Thanks for your help!
-Anne-Marie

Hi Doug,
I went ahead and installed in our Full sandbox, and it went in without a problem.
So it might have just been something strange with that particular sandbox.
I do have another question - to convert batches of existing attachments, am I just adding them to the test conversion tool?  Or am I missing something?
Is there a limit to the number of records we can add to the test conversion id field?  We do want to potentially prioritize and limit what we are converting over.
Thanks!
Anne-Marie

So strange, but glad you got it working in another sandbox.
Yes, use the "Test Conversion", or I may have recently relabeled it to "Convert Attachments", menu to initiate your conversion of existing Attachments to Files. You can limit to specific parent records by specifying one or more comma-delimited record ids in the text area box on that page. If you leave it blank then all Attachments will be attempted to be converted. The max number of IDs you can specify is... I'm not sure... I've never tried to max it out honestly.
It's on my todo list to provide "by object" conversions too, but no ETA on that.

I think this happens when you query for exiting files and the : set is empty:
// before creating the content document links
// some files may already be linked to some records
// so we need to look for any existing shares so
// we don't try to insert duplicate shares and get error
I wrapped the query in an if statement to ensure that there is at least one value in the set


Add shift-click menu swapping to spellbook

IE click = tele to GE, shift-click = varrock center

https://github.com/runelite/runelite/wiki/Rejected-or-Rolled-Back-Features

Is this really the same as below? (I assume this is why you closed this request)
Spellbook Re-ordering: Other 3rd party clients do not have this feature and it failed a Jagex poll (see #1038)
As far as I know this is regarding the menu options such as:

Instead of having to configure which one is left click (i.e. Varrock or Grand Exchange) you would simply be able to have left click Varrock and shift+left click Grand Exchange.

Added in #10039


Using Space On Template

Hi, Templates working great but can't we use space or tab together. Using space bar would be awesome. And using special chars like s* would be great.
Thanks

Thanks for the feature request.
I'm closing it as a duplicate of #11553


laminar: use "pname" instead of "name" in mkDerivation

Motivation for this change
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

Result of nixpkgs-review pr 118735 at 19b0f562 run on x86_64-linux 1

1 package built successfully:

laminar

2 suggestions:

warning: unclear-gpl
gpl3 is a deprecated license, please check if project uses gpl3Plus or gpl3Only and change meta.license accordingly.
Near pkgs/development/tools/continuous-integration/laminar/default.nix:61:5:
   |
61 |     license = licenses.gpl3;
   |     ^

warning: missing-patch-comment
Please add a comment on the line above, explaining the purpose of this patch.
Near pkgs/development/tools/continuous-integration/laminar/default.nix:37:15:
   |
37 |   patches = [ ./patches/no-network.patch ];
   |               ^