Layout Codelab, Step 5, link to Scaffold

https://developer.android.com/codelabs/jetpack-compose-layouts?return=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fcompose%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fjetpack-compose-layouts#4
Step 5
"Compose comes with built-in Material Component composables that you can use to create your app. The most high-level composable is Scaffold."
Scaffold is a link that takes you here https://cs.android.com/androidx/platform/frameworks/support/+/androidx-master-dev:ui/ui-material/src/main/java/androidx/ui/material/Scaffold.kt
When you go there it says

The file does not exist at this commit
The file you have selected did not exist at this point in history. It was deleted in commit fdf0807.

Thanks for reporting! Already fixed this and should be available soon


no events described in CertificateRequest, no order created, no apparent error messages printed

Describe the bug:
I recently upgraded cert-manager from v0.15.2 to v1.0.1, and it stopped working altogether. while I'm not yet able to decide the cause of it, I wasn't able to debug further due to lack of error logs. there are:

no events listed in kubectl describe CertificateRequest
no relevant events from kubectl get events -n kube-system
orders are created but there's no events indicating the current state
no apparent error logs in k -n kube-system logs -f -l app.kubernetes.io/instance=cert-manager

Expected behaviour:
I can at least know what's going wrong from the all the events and logs generated by cert-manager.
Steps to reproduce the bug:

created a certificate request following the official guide.
I use kubectl get CertificateRequest --all-namespaces and get the following logs:

I0915 14:37:15.979437       1 conditions.go:233] Setting lastTransitionTime for CertificateRequest "test-ein-plus-vgp62" condition "Ready" to 2020-09-15 14:37:15.979430195 +0000 UTC m=+78.364577695
I0915 14:37:16.379503       1 conditions.go:233] Setting lastTransitionTime for CertificateRequest "cert-manager-ci-test-bf6c5" condition "Ready" to 2020-09-15 14:37:16.379496167 +0000 UTC m=+78.764643687
I0915 14:37:16.439049       1 setup.go:270] cert-manager/controller/clusterissuers "msg"="verified existing registration with ACME server" "related_resource_kind"="Secret" "related_resource_name"="cert-manager-webhook-dnspod-letsencrypt" "related_resource_namespace"="kube-system" "resource_kind"="ClusterIssuer" "resource_name"="cert-manager-webhook-dnspod-cluster-issuer" "resource_namespace"="" "resource_version"="v1"
I0915 14:37:16.439072       1 conditions.go:92] Setting lastTransitionTime for Issuer "cert-manager-webhook-dnspod-cluster-issuer" condition "Ready" to 2020-09-15 14:37:16.439068096 +0000 UTC m=+78.824215656
I0915 14:37:17.396622       1 setup.go:170] cert-manager/controller/clusterissuers "msg"="skipping re-verifying ACME account as cached registration details look sufficient" "related_resource_kind"="Secret" "related_resource_name"="cert-manager-webhook-dnspod-letsencrypt" "related_resource_namespace"="kube-system" "resource_kind"="ClusterIssuer" "resource_name"="cert-manager-webhook-dnspod-cluster-issuer" "resource_namespace"="" "resource_version"="v1"
I0915 14:37:18.019414       1 setup.go:170] cert-manager/controller/clusterissuers "msg"="skipping re-verifying ACME account as cached registration details look sufficient" "related_resource_kind"="Secret" "related_resource_name"="cert-manager-webhook-dnspod-letsencrypt" "related_resource_namespace"="kube-system" "resource_kind"="ClusterIssuer" "resource_name"="cert-manager-webhook-dnspod-cluster-issuer" "resource_namespace"="" "resource_version"="v1"
E0915 14:37:18.777335       1 controller.go:158] cert-manager/controller/certificaterequests-issuer-acme "msg"="re-queuing item  due to error processing" "error"="Operation cannot be fulfilled on certificaterequests.cert-manager.io \"cert-manager-ci-test-bf6c5\": the object has been modified; please apply your changes to the latest version and try again" "key"="kube-system/cert-manager-ci-test-bf6c5"
E0915 14:37:18.978611       1 controller.go:158] cert-manager/controller/certificaterequests-issuer-acme "msg"="re-queuing item  due to error processing" "error"="Operation cannot be fulfilled on certificaterequests.cert-manager.io \"test-ein-plus-vgp62\": the object has been modified; please apply your changes to the latest version and try again" "key"="lain-app/test-ein-plus-vgp62"
I0915 16:17:13.549615       1 sync.go:178] cert-manager/controller/ingress-shim "msg"="certificate resource is not owned by this ingress. refusing to update non-owned certificate resource for ingress" "related_resource_kind"="Certificate" "related_resource_name"="test-ein-plus" "related_resource_namespace"="lain-app" "related_resource_version"="v1" "resource_kind"="Ingress" "resource_name"="jakub-test-ein-plus-jakub-web" "resource_namespace"="lain-app" "resource_version"="v1beta1"
E0915 16:17:14.550180       1 controller.go:156] ingress 'lain-app/jakub-test-ein-plus-jakub-web' in work queue no longer exists
I0915 14:36:36.092801       1 controller.go:172] cert-manager/inject-controller "msg"="updated object" "resource_kind"="APIService" "resource_name"="v1alpha1.acme.einplus" "resource_namespace"="" "resource_version"="v1beta1"
I0915 14:36:36.092856       1 controller.go:261] cert-manager/controller "msg"="Successfully Reconciled" "controller"="apiservice" "name"="v1alpha1.acme.einplus" "namespace"="" "reconcilerGroup"="apiregistration.k8s.io" "reconcilerKind"="APIService"
I0915 14:36:36.093149       1 controller.go:261] cert-manager/controller "msg"="Successfully Reconciled" "controller"="apiservice" "name"="v1alpha1.acme.einplus" "namespace"="" "reconcilerGroup"="apiregistration.k8s.io" "reconcilerKind"="APIService"
I0915 14:36:36.099739       1 controller.go:172] cert-manager/inject-controller "msg"="updated object" "resource_kind"="APIService" "resource_name"="v1alpha1.acme.einplus" "resource_namespace"="" "resource_version"="v1beta1"
I0915 14:36:36.099777       1 controller.go:261] cert-manager/controller "msg"="Successfully Reconciled" "controller"="apiservice" "name"="v1alpha1.acme.einplus" "namespace"="" "reconcilerGroup"="apiregistration.k8s.io" "reconcilerKind"="APIService"
I0915 14:36:44.720931       1 controller.go:261] cert-manager/controller "msg"="Successfully Reconciled" "controller"="apiservice" "name"="v1alpha1.acme.einplus" "namespace"="" "reconcilerGroup"="apiregistration.k8s.io" "reconcilerKind"="APIService"
I0915 14:36:44.728338       1 controller.go:172] cert-manager/inject-controller "msg"="updated object" "resource_kind"="APIService" "resource_name"="v1alpha1.acme.einplus" "resource_namespace"="" "resource_version"="v1beta1"
I0915 14:36:44.728371       1 controller.go:261] cert-manager/controller "msg"="Successfully Reconciled" "controller"="apiservice" "name"="v1alpha1.acme.einplus" "namespace"="" "reconcilerGroup"="apiregistration.k8s.io" "reconcilerKind"="APIService"
I0915 14:37:13.086187       1 controller.go:172] cert-manager/inject-controller "msg"="updated object" "resource_kind"="APIService" "resource_name"="v1alpha1.acme.einplus" "resource_namespace"="" "resource_version"="v1beta1"
I0915 14:37:13.086221       1 controller.go:261] cert-manager/controller "msg"="Successfully Reconciled" "controller"="apiservice" "name"="v1alpha1.acme.einplus" "namespace"="" "reconcilerGroup"="apiregistration.k8s.io" "reconcilerKind"="APIService"
W0915 14:35:57.672026       1 client_config.go:608] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
I0915 14:35:57.672505       1 webhook.go:57] cert-manager/webhook "msg"="using dynamic certificate generating using CA stored in Secret resource"  "secret_name"="cert-manager-webhook-ca" "secret_namespace"="kube-system"
I0915 14:35:57.672795       1 server.go:146] cert-manager/webhook "msg"="listening for insecure healthz connections"  "address"=":6080"
I0915 14:35:57.672845       1 server.go:159] cert-manager/webhook "msg"="listening for secure connections"  "address"=":10250"
I0915 14:35:57.672863       1 server.go:185] cert-manager/webhook "msg"="registered pprof handlers"
I0915 14:35:57.674441       1 reflector.go:207] Starting reflector *v1.Secret (1m0s) from external/io_k8s_client_go/tools/cache/reflector.go:156
I0915 14:35:58.708891       1 dynamic_source.go:199] cert-manager/webhook "msg"="Updated serving TLS certificate"

the CertificateRequest object detail:

apiVersion: cert-manager.io/v1
kind: CertificateRequest
metadata:
  annotations:
    cert-manager.io/certificate-name: test-ein-plus
    cert-manager.io/certificate-revision: "1"
    cert-manager.io/private-key-secret-name: test-ein-plus-tlc9f
  creationTimestamp: "2020-09-15T14:37:15Z"
  generateName: test-ein-plus-
  generation: 1
  labels:
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: economist
    helm.sh/chart: economist
  name: test-ein-plus-vgp62
  namespace: lain-app
  ownerReferences:
  - apiVersion: cert-manager.io/v1
    blockOwnerDeletion: true
    controller: true
    kind: Certificate
    name: test-ein-plus
    uid: a5958421-2e83-42c5-a738-dc57b70c4234
  resourceVersion: "20423132231"
  selfLink: /apis/cert-manager.io/v1/namespaces/lain-app/certificaterequests/test-ein-plus-vgp62
  uid: 36b5d186-46e6-424e-892d-b8ee53d19daa
spec:
  issuerRef:
    group: cert-manager.io
    kind: ClusterIssuer
    name: cert-manager-webhook-dnspod-cluster-issuer
  request: xxx
status:
  conditions:
  - lastTransitionTime: "2020-09-15T14:37:15Z"
    message: 'Waiting on certificate issuance from order lain-app/test-ein-plus-vgp62-2441501713:
      ""'
    reason: Pending
    status: "False"
    type: Ready

the order resource detail:

apiVersion: acme.cert-manager.io/v1
kind: Order
metadata:
  annotations:
    cert-manager.io/certificate-name: cert-manager-ci-test
    cert-manager.io/certificate-revision: "1"
    cert-manager.io/private-key-secret-name: cert-manager-ci-test-pmntj
  creationTimestamp: "2020-09-15T14:37:17Z"
  generation: 1
  name: cert-manager-ci-test-bf6c5-2441501713
  namespace: kube-system
  ownerReferences:
  - apiVersion: cert-manager.io/v1
    blockOwnerDeletion: true
    controller: true
    kind: CertificateRequest
    name: cert-manager-ci-test-bf6c5
    uid: 266ce1e9-bad2-44a7-9a87-8671492184f1
  resourceVersion: "20423131676"
  selfLink: /apis/acme.cert-manager.io/v1/namespaces/kube-system/orders/cert-manager-ci-test-bf6c5-2441501713
  uid: da2f01d8-6a8e-4a15-8cb7-365d65482bb3
spec:
  dnsNames:
  - '*.test.ein.plus'
  - test.ein.plus
  issuerRef:
    group: cert-manager.io
    kind: ClusterIssuer
    name: cert-manager-webhook-dnspod-cluster-issuer
  request: xxx==

Anything else we need to know?:
Environment details::

Kubernetes version (e.g. v1.10.2): v1.18.0
cert-manager version (e.g. v0.4.0): v1.0.1
Install method (e.g. helm or static manifests): helm

/kind bug

Would you share the output of kubectl get certificaterequest -o yaml for one of the failing requests please?

I've added those detail to my issue description, see "the CertificateRequest object detail" @james-w

spec:
  issuerRef:
    group: acme.einplus

Why did you choose this? Do you have an external issuer?

spec.issuerRef.group: acme.einplus was mistakenly added to values.yaml, in ignorance of its actual meaning.
I've removed this line, do a through cleanup, then collect the output of kubectl get certificaterequest -o yaml once again, the event list is still empty,  however the status field is populated.
cert-manager components logs, along with the yaml content of certificaterequest, and order, are updated in the issue description. @james-w

Hi, the logs are missing any output from the order controller, is this just a subset of the logs? Could you try increasing the verbosity of the logs and then capturing the logs while creating the CertificateRequest?

Hi, the logs are missing any output from the order controller, is this just a subset of the logs

this is the complete output of k -n kube-system logs -f -l app.kubernetes.io/instance=cert-manager.

Could you try increasing the verbosity of the logs and then capturing the logs while creating the CertificateRequest?

I've increased logLevel to 6, but the log output is a little too much, so I greped the related parts.
@james-w

I0916 06:06:47.405650       1 logs.go:179] cert-manager/controller/build-context "msg"="Event(v1.ObjectReference{Kind:\"CertificateRequest\", Namespace:\"kube-system\", Name:\"cert-manager-ci-test-kvlxp\", UID:\"dfab1f9b-8089-4f03-a022-c25526e0889c\", APIVersion:\"cert-manager.io/v1\", ResourceVersion:\"20437981061\", FieldPath:\"\"}): type: 'Normal' reason: 'OrderCreated' Created Order resource kube-system/cert-manager-ci-test-kvlxp-2441501713"
I0916 06:06:47.405735       1 sync.go:189] cert-manager/controller/orders "msg"="order URL not set, submitting Order to ACME server" "resource_kind"="Order" "resource_name"="cert-manager-ci-test-kvlxp-2441501713" "resource_namespace"="kube-system" "resource_version"="v1"
I0916 06:06:47.405755       1 sync.go:195] cert-manager/controller/orders "msg"="build set of domains for Order" "resource_kind"="Order" "resource_name"="cert-manager-ci-test-kvlxp-2441501713" "resource_namespace"="kube-system" "resource_version"="v1" "domains"=["*.test.ein.plus","test.ein.plus"]```

and then nothing after that. I suspect that you have been rate limited by your ACME server like in 3267

Can you try using https://letsdebug.net/ to see what is going on with the order on the ACME side?

I'm quite familiar with rate limit errors, I've seen those back when I setup v0.15.2, they appear directly in cert-manager logs.
but my god, I am indeed being rate limited right now, thank you tremendously for helping me out.


Fixed typos and edited for clarity

[x ] I have read freeCodeCamp's contribution guidelines.
[ x] My pull request has a descriptive title (not a vague title like Update index.md)
[ x] My pull request targets the master branch of freeCodeCamp.
[ x] None of my changes are plagiarized from another source without proper attribution.
[ x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

@zevski Thank you for  creating this PR.  However, since it was created, the underlying document has changed.  Can you please review and resolve the current merge conflicts?  It could be the changes to the underlying document are so significant that your changes are no longer relevant.  If the latter is the case, it might be easier to just close this PR and create a new PR with any changes you still feel are important to make.
If you need any assistance or have questions about resolving the merge conflicts, please reply back or contact someone in the Contributors Room on Gitter.
Thank you.

@RandellDawson, thanks for reaching out. I'm not sure I understand what the conflict is, nor how to resolve it. Is the underlying document you are referring to the English version?

@zevski The underlying document refers to the same document you originally changed.  If you click on the button above "Resolve conflicts", you will see something which looks like the following:
<<<<<<< patch-5
=======

Finalmente, cabe destacar que GNU / Linux es compatible con una gran cantidad de shells o terminales como pueden ser `bash` (suele ser la utiliza por defecto), `sh`, `ksh`, `csh`, `zsh`, etc. Cada una de ellas ofrece una serie de características propias que facilitan la introducción de comandos.
Para saber que shell estamos utilizando podemos teclear el siguiente comando:

`user_name@machine_name:~$ echo $0`
>>>>>>> master

There is a conflict because the current version of the document has the part between the  ====== and the >>>>>>> master and your version did not have this.  It is just wanting you to validate if it should be empty (like yours) or if the new part is ok to leave in.  I assume we can use the part of the current master and if so, let me know and I will resolve it for you.

Congrats @zevski on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


Bug report: Commit messages includes the prompt response

Aider version: 0.60.0
Python version: 3.12.7
Platform: macOS-15.1-arm64-arm-64bit
Python implementation: CPython
Virtual environment: Yes
OS: Darwin 24.1.0 (64bit)
Git version: git version 2.39.5 (Apple Git-154)
Aider v0.60.0
Main model: anthropic/claude-3-5-sonnet-20241022 with diff edit format, infinite output
Weak model: claude-3-haiku-20240307
Git repo: .git with 84 files
Repo-map: using 1024 tokens, auto refresh
The auto commit is adding partial prompt response in to the commit.
It is an intermittent problem, so very hard to understand why.

I've seen entire conversations that went on for more than a screen, back and forth between the user and agent, in my commits yesterday.  There was even this loop of have a nice day, good bye, see you soon, we'll be talking kind of thing.

Yes exactly that , Opps I just realised I have added this twice.

https://github.com/Aider-AI/aider/issues/2154  << Is a more detailed version.

A proposed fix (by aider itself)
aider/repo.py
<<<<<<< SEARCH
commit_message = commit_message.strip()
if commit_message and commit_message[0] == '"' and commit_message[-1] == '"':
commit_message = commit_message[1:-1].strip()
     return commit_message

=======
# Clean up the commit message - take only the first line that looks like a commit message
lines = commit_message.strip().splitlines()
for line in lines:
line = line.strip()
# Skip empty lines
if not line:
continue
# Skip markdown code blocks
if line.startswith("```") or line.startswith("~~~"):
continue
# Skip lines that are clearly part of explanations
if line.startswith(("Here", "I ", "The ", "This ", "Now", "Let's", "We ")):
continue
# If we find a line that looks like a commit message (has a type prefix)
if any(line.startswith(f"{t}:") or line.startswith(f"{t}(") for t in [
"fix", "feat", "build", "chore", "ci", "docs", "style", "refactor", "perf", "test"
]):
# Remove quotes if present
if line[0] == '"' and line[-1] == '"':
line = line[1:-1].strip()
return line
     # If we didn't find a properly formatted message, take the first non-empty line
     for line in lines:
         line = line.strip()
         if line and not line.startswith(("```", "~~~")):
             if line[0] == '"' and line[-1] == '"':
                 line = line[1:-1].strip()
             return line

     return commit_message

REPLACE

aider/repo.py
 <<<<<<< SEARCH
         commit_message = commit_message.strip()
         if commit_message and commit_message[0] == '"' and commit_message[-1] == '"':
             commit_message = commit_message[1:-1].strip()

         return commit_message
 =======
         # Clean up the commit message - take only the first line that looks like a commit message
         lines = commit_message.strip().splitlines()
         for line in lines:
             line = line.strip()
             # Skip empty lines
             if not line:
                 continue
             # Skip markdown code blocks
             if line.startswith("```") or line.startswith("~~~"):
                 continue
             # Skip lines that are clearly part of explanations
             if line.startswith(("Here", "I ", "The ", "This ", "Now", "Let's", "We ")):
                 continue
             # If we find a line that looks like a commit message (has a type prefix)
             if any(line.startswith(f"{t}:") or line.startswith(f"{t}(") for t in [
                 "fix", "feat", "build", "chore", "ci", "docs", "style", "refactor", "perf", "test"
             ]):
                 # Remove quotes if present
                 if line[0] == '"' and line[-1] == '"':
                     line = line[1:-1].strip()
                 return line

         # If we didn't find a properly formatted message, take the first non-empty line
         for line in lines:
             line = line.strip()
             if line and not line.startswith(("```", "~~~")):
                 if line[0] == '"' and line[-1] == '"':
                     line = line[1:-1].strip()
                 return line

         return commit_message
 >>>>>>> REPLACE

@999AICoder  does this solve the problem? if so THANK YOU!

@dekubu that change has not been verified yet. will test next week to and propose a PR if appropriate. there is probably an upstream bug so this most likely does not address the root cause

Way Cool. I appreciate the efforts, thanks

Thanks for trying aider and filing this issue.
You can use a more capable model for the weak model, which will make it less likely to generate weird commit messages.

This looks like a duplicate of #2154. Please see the comments there for more information, and feel free to continue the discussion within that issue.
I'm going to close this issue for now. But please let me know if you think this is actually a distinct issue and I will reopen this issue.


Allowing a tree grouping along columns

It would be nice to have the ability to create tree-groupings along both the columns and rows.

For example: https://gyazo.com/19de006cdd95cb2d92b884a4a33d72af.

@xianzhi3  can you close this issue now?


Add support for managed service liveness probe

Currently, it's common to add an explicit initial wait duration before beginning tests in order to allow a managed service to start up. It would be an improvement if a liveness probe could be defined to allow Instaunit to poll the service until it becomes available and then begin testing.
This is essentially what we do for mock services, just applied to the managed service.

Added in v1.10.0 (#40).


Error in Yaw estimation on 180 deg turns.

Hi All
I am using Cartographer for 2D slam on a robot with a 10m range, 270 deg FOV, 15 Hz planar laser scanner and wheel encoders. It seems like ceres scan matcher is incorrectly estimating the yaw after a 180-deg turn which, when multiplied by the arm-length as the robot travels ahead, leads to a large error in the position of the robot. This error gets corrected by the pose graph matcher eventually causing big jumps in the pose of the robot. The final maps I get out of the system look pretty good but I also care about the real-time accuracy of the localization.
As you can see in the images, the scans are in a very close proximity to the walls(even closer if you extrapolate backwards from figure 1 to the point right after the 180 deg turn) and It seems like ceres scan matcher should be able to correct the error without the backend having to kick-in. I tried tuning most of the configuration values that seem relevant to real-time operation of cartographer(ceres scan matcher, voxler and motion filter) but I couldn't get any better results than what I have in the attached images. I m overlooking something here. Has anyone of you dealt with this problem before and know what could cause this? Thanks in advance.

Figure 1: Snapshot of the map as estimated by SPA. The robot was travelling as depicted by the yellow arrows at about 1 m/s. The green dots show the laser returns.

Figure 2: Snapshot of the map as estimated by SPA a few seconds later. The robot was travelling as depicted by the yellow arrows a about 1 m/s. The green dots show the laser returns.
PS: I am using cartographer with our in-house framework and I have a wrapper around the MapBuilder that conceptually replicates the ROS package. I will be attaching the Lua configuration table that I am using shortly.
-- Anurag

Below is the Lua configuration I am using.
CartographerConfigurationTable.lua

Below is the Lua configuration I am using.
CartographerConfigurationTable.txt

I am using Cartographer for 2D slam on a robot with a 10m range, 270 deg FOV, 15 Hz planar laser > scanner and wheel encoders. It seems like ceres scan matcher is incorrectly estimating the yaw after a 180-deg turn which, when multiplied by the arm-length as the robot travels ahead, leads to a large error in the position of the robot. This error gets corrected by the pose graph matcher eventually causing big jumps in the pose of the robot. The final maps I get out of the system look pretty good but I also care about the real-time accuracy of the localization.

What you are describing is the local error accumulated by local slam which is then fixed by loop closure. Depending on our sensors, there is probably not much you can do about these (but a few suggestions below). If you are concerned about the jumping in the pose, you should probably use the odom transform that Cartographer also publishes which is always smooth.

As you can see in the images, the scans are in a very close proximity to the walls(even closer if you extrapolate backwards from figure 1 to the point right after the 180 deg turn) and It seems like ceres scan matcher should be able to correct the error without the backend having to kick-in.

Your IMU readings (which probably will not integrate to 180 degrees perfectly) are fighting the scan matcher. You also try to SLAM at 4cm, which your laser will probably have a higher noise than that already - which makes it harder to scan match perfectly. And this allows for some wiggle room in matching walls which can easily end up being slight errors in the angle.

I tried tuning most of the configuration values that seem relevant to real-time operation of cartographer(ceres scan matcher, voxler and motion filter) but I couldn't get any better results than what I have in the attached images. I m overlooking something here. Has anyone of you dealt with this problem before and know what could cause this? Thanks in advance.

It seems to me that you are quite confident in your laser (given that you SLAM at 4cm). Have you tried disabling the IMU and only relying on the laser to not have to deal with this compromise? See https://github.com/googlecartographer/cartographer_ros/issues/249 where I suggested something similar for another user including the changes that I did to make this work. I would also try to crank up the max laser range to more than 10 m - it cold help to see farther away walls after the turn since they provide more information for fixing angles.
Your visualization looks gorgeous, btw. :)

I highly appreciate your quick and detailed response. Thank you. I am documenting my thoughts and effort below.

Your IMU readings (which probably will not integrate to 180 degrees perfectly) are fighting the scan matcher. You also try to SLAM at 4cm, which your laser will probably have a higher noise than that already - which makes it harder to scan match perfectly. And this allows for some wiggle room in matching walls which can easily end up being slight errors in the angle.

I am not using an IMU in my system but I am assuming that you meant Wheel Encoders instead of IMU. From my understanding of cartographer, correct me if I am wrong, the Wheel Encoder/IMU data are used to generate a seed position for the front-end ceres scan matcher which optimizes the scan matches to minimize  a combined score of scan match + delta shift from the seeded position + delta shift from the seeded orientation which are weighted based on the following three parameters from the lua configuration.

TRAJECTORY_BUILDER_2D.ceres_scan_matcher.occupied_space_weight
TRAJECTORY_BUILDER_2D.ceres_scan_matcher.translation_weight
TRAJECTORY_BUILDER_2D.ceres_scan_matcher.rotation_weight

I did set the translation_weight and rotation_weight to something very very small in one my runs, which should, in effect, suppress any say of the odometry in the final optimal answer. However, I didn't see any improvement in the performance. I ll post some snapshots eventually.

It seems to me that you are quite confident in your laser (given that you SLAM at 4cm). Have you tried disabling the IMU and only relying on the laser to not have to deal with this compromise? See googlecartographer/cartographer_ros#249 where I suggested something similar for another user including the changes that I did to make this work. I would also try to crank up the max laser range to more than 10 m - it cold help to see farther away walls after the turn since they provide more information for fixing angles.

The scanner I am using has standard deviation of about a centimeter. I did try running with just laser scans as the input, but the speed of the robot was way too much for the scan matcher to handle. That being said, I did not have the chance to tweak the motion filter to see if I can get a better solution. Will post an update if I do. The laser scanner maxes-out at 10 m range and doesn't give me any returns from beyond that range.

Your visualization looks gorgeous, btw. :)

Thank you! Your compliments have been conveyed.

The scanner I am using has standard deviation of about a centimeter. I did try running with just laser scans as the input, but the speed of the robot was way too much for the scan matcher to handle.

Did you try use_online_correlative_scan_matching = true? Often times without IMU and odometry the Ceres scan matcher cannot find the correct rotation since it is too far from its initial estimate, and using the real_time_correlative_scan_matcher even with linear_search_window = 0 works. A linear search window is really only needed if the constant velocity model is also not good enough as a starting point for the Ceres scan matcher.

Yes, I did try using correlative scan matcher but I ran into a different set of problems. I don't have enough computation power on the system to be able to run it a full scan rate.
I started investigating into the ceres scan matcher in a standalone application using synthetic data. It's a bit early to make any claims, but from what I have observed, it seems like ceres scan matcher has a capture window of only 2.5~3.0 grid cells, i.e, for a 0.04 m grid cell size, I can get the scan matcher to converge to the right answer only if the seed is within 0.1 m range of the actual optimal position. This is under perfect conditions, where the synthetic scan I produce has zero noise and the probability grid has probability of 1.0 for the walls of a virtual room and 0.0 for the free space. Even with the clean data, the optimization is a hit or a miss. The scan matcher, sometimes, declares convergence too soon(with the criteria "Function tolerance reached") and produces a bad estimate(sometimes a diverged result as well) which I think is causing problems downstream. Also, this phenomenon is very sensitive to the occupied_space_weight parameter which makes me nervous.
As I mentioned earlier, It's a bit early to make claims and I will soon post more information/evidence/code as I get further along my investigation.

And I apologize for my tardiness.
-- Anurag

It's a bit early to make any claims, but from what I have observed, it seems like ceres scan matcher has a capture window of only 2.5~3.0 grid cells, i.e, for a 0.04 m grid cell size, I can get the scan matcher to converge to the right answer only if the seed is within 0.1 m range of the actual optimal position.

Your observation is correct and that is the intended behavior. The Ceres scan matcher uses local optimization over interpolated grid values, and is intended to fix small errors of up to one grid cell. If you have larger errors to correct, you have two options right now: use the correlative scan matcher, which is intended for correcting larger errors, or increase the size of the grid cells, which allows you to use the Ceres scan matcher for larger errors in meters.
Both options of course come with their set of advantages and disadvantages in memory consumption, processing speed, and precision.


XLM from spacedrop

I did not receive my stellar this month. How should I claim it?


(doc): Add Contributing.md

Closes #344

@kaizensoze Fixed above comments. I wrote the contributing doc for the meanjs repo so I used that as a template and missed a few lines. Should be good to go now.


Add Al Azhar

@ahmedsaoud31 Please provide us with:

the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

@ahmedsaoud31 You might miss my previous comment. Please react.

@ahmedsaoud31 Thank you for the clarification. Given that you cannot provide us with the required proof, I have to close this request without merging.
Please apply for free educational license with an official document which proves that you are a student. You can do it using "OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students.
Thank you for your understanding!


Use well-known symbols

#4 talks about introducing key-value logging. One way to delimit start/end pairs is by using an enum in the right places to accurately match on. We should probably have a separate crate for this.

Created https://github.com/yoshuawuyts/log-types


support for ipv6

Seems like it might be really simple to add it here. I'll play around a bit, but I'm pretty new to Rust (at least since 1.0).

Nice!


Update dependencies, and support for Dependabot

Adds support for dependabot via Github Actions.
Updates several go dependencies:

go.rice from 1.0.0 to 1.0.2
go-redis from 7.20 to 7.4.1
go-nanoid from 1.3.0 to 1.5.0
mimetype from 1.1.0 to 1.4.0

Thanks a lot @gaby


aws-sdk-cpp

Discussed in https://github.com/microsoft/vcpkg/discussions/36299

Originally posted by abhishekkarki January 22, 2024
I have installed aws-sdk-cpp using the vcpkg and I am trying to run an example project with it, but I am getting an error with the CMakeLists.txt that it cannot find the library aws-sdk-cpp-core but when I checked in the vcpkg manually it is present. I have also set the path correctly and the toolchain. I am running it in the Visual Studio 22.

Please provide the cmakelists.txt file you called.
I use the following calling method to compile the result on VS2022 and the result is normal.
add_executable (testvcpkg "testvcpkg.cpp" "testvcpkg.h")
find_package(aws-cpp-sdk-core REQUIRED)
target_include_directories(testvcpkg PRIVATE aws-cpp-sdk-core)
target_link_libraries(testvcpkg PRIVATE aws-cpp-sdk-core)

yes, I have added these line but I am having problem with this line in the CMakeLists.txt file   AWSSDK_CPY_DYN_LIBS(SERVICE_LIST "" ${CMAKE_CURRENT_BINARY_DIR})  #Choose this line for Visual Studio and possibly other IDEs.
Where can I see the variable CMAKE_CURRENT_BINARY_DIR in VS2022?

CMAKE_CURRENT_BINARY_DIR is a cmake variable that represents the path of the binary directory currently being processed. You can use the message function in cmakelists.txt to output this macro, and then view the output results.

Thanks for posting this issue. Please reopen this issue if this is still a problem for you.


Simple LineString works incorrectly with predicates.

Expected behavior and actual behavior.
When checking the spatial relation between a LineString and a Point, the behavior may be unexpected for several APIs. For example, the result for shapely.intersects(LineString([(0,0), (-2,-3)]), Point(-0.2, -0.3)) is False.
Steps to reproduce the problem.
>>> import shapely
>>> from shapely.geometry import Point, LineString

# intersects
>>>shapely.intersects(LineString([(0,0), (-1,-2)]), Point(-0.1, -0.2))
True
>>>shapely.intersects(LineString([(0,0), (-2,-3)]), Point(-0.2, -0.3))
False      # unexpected

# contains
>>> shapely.contains(LineString([(0,0), (-2, -3)]), Point(-0.1, -0.15))
False      # unexpected
>>> shapely.contains(LineString([(0,0), (-2, -3)]), Point(-2,-3))
False      # unexpected
>>> shapely.contains(LineString([(0,0), (2, 3)]), Point(-2,-3))
False
>>> shapely.contains(LineString([(0,0), (2, 3)]), Point(2,3))
False      # unexpected
>>> shapely.contains(LineString([(0,0), (-2, -3)]), Point(-.1,-.15))
False      # unexpected

# within
>>> Point(-2.0,-3.0).within(LineString([(0,0), (-2.0,-3.0)]))
False      # unexpected
>>> Point(-1.0,-1.5).within(LineString([(0,0), (-2.0,-3.0)]))
True
>>> Point(-1.0,-1.5).distance(LineString([(0,0), (-2.0,-3.0)]))
0.0
>>> Point(-2.0,-3.0).distance(LineString([(0,0), (-2.0,-3.0)]))
0.0      # unexpected

## Operating system

Ubuntu 20.04.6

## Shapely version and provenance

shapely 2.0.1 using pip

These are all expected, although some of these can be surprising.
Generally intersection operators with diagonal lines and a point may have small floating point precision errors. For instance:
from shapely.geometry import Point, LineString
line1 = LineString([(0, 0), (-2, -3)])
point1 = Point(-0.2, -0.3)
print(line1.distance(point1))  # 3.079204648066709e-17
print(line1.intersects(point1))  # False

A more robust "intersects" is to test the distance is within an epsilon distance:
eps = 1e-16  # small number
print(line1.distance(point1) < eps)  # True


chore(main): release 0.0.16

:robot: I have created a release beep boop
0.0.16 (2024-08-27)
Features

Add support for closing/aborting transports (61a4874)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.0.16
:sunflower:


Use full memory of only 1 GPU inspite of having 3 GPUS.

Hello,
I am trying to run the seq2seq model available in the example section. Model can detect all the gpus (3) as shown here:
2019-11-28 15:26:55.790478: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1763] Adding visible gpu devices: 0, 1, 2
2019-11-28 15:26:55.790786: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1181] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-11-28 15:26:55.790800: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1187]      0 1 2
2019-11-28 15:26:55.790808: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1200] 0:   N Y Y
2019-11-28 15:26:55.790813: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1200] 1:   Y N Y
2019-11-28 15:26:55.790819: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1200] 2:   Y Y N
In spite of that model consumes only memory of 1 gpu as shown here:
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0    357088      C   python3                                    23427MiB |
|    1    357088      C   python3                                      163MiB |
|    2    357088      C   python3                                      163MiB |
+-----------------------------------------------------------------------------+
Please let me know, where should I do changes, to use full GPU memory usage.
Thanks in advance

For nlp task, only one gpu is used now.
To support multi-gpus, you should change the solver to keras or Estimator Solver, but we does not test on these solvers.
Writing your keras solver is recommended.


Tags on file is show as Textarea

When i edit properties from a image, the editing popup for tags is a TextArea, not the interface for a select attribute type.
In database all settings for this attribute is ok.

Yeah, these are just free text tags, these pre-date the tags attribute. You can just a custom attribute with the select attribute type to get the effect you're looking for.

I've a package that add a attribute with handle 'tags' and it seems to work.. with two attribute with the same handle..


Updated SimpleCurl with more HTTP methods and more

Updated class Database with more method useful
Updated send mail with config class
New class Collection
Updated data class with serialize contents
Updated SimpleCurl with more HTTP methods

Man that is crazy how are you wanting to change the database class no offense to you but you don't want to select star from the database sometimes you just want to select certain fiields. Dave please please don't update this.

Again no offense but that code scares the living CRA blank blank out of me. Let's leave the database class alone and if you want a custom class for your own self then by all means use your class but dude please leave the database class alone its working geez.

Any updates to any of the classes or any helpers should not break current code for someone who has production sites and place.

Sorry I cannot accept these changes, the classes need to be generic enough to be useful but not break existing code.
All classes should adhere to PRS 1 & 2 standards, these do not.
Some of the new methods could be useful but need to use the PSR standards also the changes you propose to the database class force certain columns to exists in all tables.
Mail config options should be within the helper itself instead of in the core config class.
Comments should be in english

No offense, but I find it ironic that this guy copied Dave's framework and gave the credit to himself or deleted the author tag at all (most of these files).
So, what do ya think? :smile:

it's not the first time someone has extracted huge parts of the framework and removed all credit as if they have written it all, I find that sad. It would be better to honour the original authors of the components. SMVC has some brilliant user written helpers/controllers.
I mean you look at the commits, they start from the 24th of June yet classes contain dates that predate this such as 27 June, 2014.
I don't understand why the authors have been removed, it's a sign of respect to keep them. Like the ones I've seen before this I doubt anything will come of this.

daveismyname, I am sorry for what happened. I will have more care when making any new commit, I dexei me take the excitement and did silly. Regarding credits, did a project that uses much of the SMVC among others, removed the credit code by political issues of the organization but will immediately including the original authors. Finally, I ask my sincere apologies, I will do the correction and I regard myself the next time.

Thanks I appreciate that, regarding the commits trying to maintain a standard makes it a lot easier for everyone to share and use the code.
I've using the PRS standards check out their website if your not familiar with them. http://www.php-fig.org/psr/

daveismyname, updated the project with appropriate references to the authors. I know the PSR's, will keep the organization and follow the pattern in the next commit. Thank you, sorry for the hassle.

many thanks.

Dave and fabioassuncao, Please if a major component is updated in a pull request, let it be a graceful change that doesn't break current production code.  Likewise if something is real major, add detailed comments and examples as to how to quickly make the changes so the production sites aren't down a long time.  I've used SMVC since it was brand new.
Take the changes from version 2.1 to version 2.2, that is a major step, but announcements were made and folks had time to re-write code as necessary.  If a pull request will "break" the current way everything works, then don't do it, rather make it a whole new version.  But please please comment major changes well with code examples as to what and how to implement the changes.
I imagine the version that will support php 7.. back to php 5.5.* will be major code changes.  But I am sure it will be well commented and a video to help us.  Dave so far you have done a great job with the updates, making them a smooth transition.  That's all I ask of any update or pull request.  Thanks.

A further note, take the CSRF helper I did, and later OmarElGabry improved it.  Look at the code, he made sure detailed instructions were given.  Yes his change would "break" current code, but since he included very detailed instructions as to how to make the changes it turned out to be a smooth and easy change over.  This is how any pull request should be, have detailed instructions if it is a "code breaker".
Now there has been updates to the router without detailed instructions, but that was different, as you could replace the router without any other code being broke. And Dave, thanks again for monitoring changes the way you have.


Fixes #119 remove am pm after 24hr time on maintenance page

Removes am/pm from maintenance page reported in #119
Time of maintenance window is always converted to 24hr format so am/pm appears to just be legacy?

I've merged this - sorry for the delay!


Enable updating collector endpoint while Emitter is running

Describe the bug
Updating the tracker endpoint doesn't work.
To Reproduce
I tried 2 things:
1- Having an instance of the TrackerController, which is initialized at startup:
trackerController.network?.endpoint = NEW_ENDPOINT

2- Using the default tracker controller:
Snowplow.getDefaultTracker()?.network?.endpoint = NEW_ENDPOINT

In both cases I still see requests being made to the same old endpoint.
I'm using Snowplow version 3.0.3.
Expected behavior
The endpoint is updated and events are sent to NEW_ENDPOINT.

This issue was solved in version 3.1.1 of the Android tracker. Just to give some more details on the investigation and solution, I am reposting the information from the PR:
I found that there are two possible reasons for this issue:

the Emitter is currently running, or
it uses a custom network connection.

I don't think that anything should happen in the second case. It sounds reasonable that custom network connections are not updated by setting the endpoint in tracker controller (let me know if you think otherwise).
But the first case is less intuitive and can be a problem for several reasons:

the Tracker calls flush() on Emitter right after initialisation which means that the Emitter starts running and it is not possible to update the endpoint right after the tracker is initialised, and
Emitters can be running for quite a long time. Even when all events are sent, attemptEmit() function goes to sleep a number of times checking for new events.

So I think it's reasonable to enable updating the network configuration while the Emitter is running. This PR enables that and removes the check from setters for network configuration in Emitter. I didn't want to have the network connection change during emitting and so I made the attemptEmit function accept a NetworkConnection to be used while it is running. The network connection is only refreshed in the attemptEmit after the sleep while waiting for new events.


fix URL in doc deploy function

Force merge, because the CI says it is correct: https://github.com/QEDjl-project/IntegrationTests.jl/actions/runs/6888557763/job/18737785504?pr=5#step:5:21


hover breaks other tools

Hi, I noticed that after hv and bokeh to the newest available versions the hover tool makes other tools jammed when using chrome so that selecting them from the toolbar works only every now and then. The problem did not exist with the older version I used to have (bokeh '0.12.13', hv from half a year ago). The problem can even be verified in hv's examples at the project's websites, see eg. http://holoviews.org/user_guide/Network_Graphs.html and try clicking on the zoom tools. The same problem did not exist on firefox.

Can't seem to reproduce this in Chrome at least but we should probably raise this upstream with bokeh if this continues to be an issue.

Just to say I played around with the tools on the page you linked to and I am also unable to reproduce this issue using Chrome.
From your description, it sounds like a bokeh issue to me so if you have a reproducible example (e.g maybe it is a problem with a specific bokeh/chrome version or OS?), then that might be the best place to report this problem.
One other thought - you might want to consider posting a GIF here to demonstrate the bad behavior you are experiencing...

I can't reproduce using Mac OS X Chrome Version 67.0.3396.99 (Official Build) (64-bit).  I think it must be a chrome- or OS-version-specific problem.

Yeah, sure: I'm running on Win 7, SP1, 64-bit and Chrome Version 67.0.3396.99 (Official Build) (64-bit). Same problem existed also on the newer Chrome Version 68.0.3440.84 (Official Build) (64-bit). The problem might be related to the hardware, since the computers at work, though having plenty of processing power, only have mobo integrated graphics cards.

I just tested on a Windows 10 machine using Chrome 67.0.3396.99, and I wasn't able to reproduce any problem.  This machine was a not very powerful laptop from a few years ago, probably also with an integrated graphics card, so apart from the Windows version it would seem comparable.  I guess I'll close this as not reproducible, but it would be great to have a screencast showing precisely what the problem is in case someone else experiences it.

Hi! Sorry to have caused the trouble by reporting a bug that no one else seems to be suffering from - luckily. I attached a short video showing the laggish behavior of the toolbar I am experiencing when hover is enabled, ie I need to click a tool multiple times to make it active. With previous chrome version it was even worse: sometimes the buttons were completely unresponsive. When hover is disabled, the tools work as they should.

Thanks for the screencast!  Now I finally see the problem!  I was able to reproduce it on Chrome Version 68.0.3440.84 (Official Build) (64-bit) for the plot http://holoviews.org/user_guide/Network_Graphs.html#Supplying-explicit-paths . Specifically, some tools could be selected first try, but I had to click on others three or four times before they would activate.  I didn't notice any that would never activate, but some definitely took several clicks.


Permission granting for role based access control

@fspinnenhirn what is the java code that would produce this data?
https://github.com/acciente/oacc-example-securetodo/blob/6be7137f73ab648f3ab9c0430ccb662c01184ed2/src/main/resources/migrations_oaccdb-3-appDomain.xml#L24-L34
Trying to develop something following assignUserRole but the execution depends on the data in this initialization file.
Would you be kind to supply the Java code that would make this entire file not needed?

@SemanticBeeng if you are asking about how to setup the database tables that OACC uses in general, it is done via SQL scripts for each of the databases we support -- creation of the database tables is not done using Java. You can find the DDL scripts for the supported databases in this GitHub repo: https://github.com/acciente/oacc-db
After you create the tables you do need to set their initial table data using a Java OACC initializer. You can find detailed instructions on how to create the tables and initialize them in the sections "2. Database Setup" and "3. OACC Initialization" of this tutorial: http://oaccframework.org/getting-started-tutorial.html
Please let me know if this answers your question.

Thanks Adinath.
Looking for the " Java code that would make this entire file not needed" - please see above for the file in question.

The specific issue is due to this failure trying from my attempt to mimic assignUserRoles
Resource {resourceId: 2, externalId: "(role) [(class) signing_key]-owner-helper"} is not authorized to grant the following permission(s): [*INHERIT]

I must be doing something wrong related to table OAC_GRANT_RESCRPERM_POSTCR.
In my app am using Java apis to populate because manual setup as in the example above is not desired.
Does this give any ideas, please @adinath-raveendraraj ?

@SemanticBeeng sorry for the delayed response -- the error message cited in your last question makes the issue very clear.
Say the currently authenticated user (resource-A) is trying to grant *INHERIT to another user (resource-B) on a role (resource-C) -- for this to be allowed resource-A must have the *INHERIT / G (with grant) permission on resource-C, otherwise the error you cited will be thrown. When you attempt grant *INHERIT on a resource the post-create permissions do not play a role, what is checked are "resource permissions". In our example, resource-A can have needed permissions on resource-C in any one of the following ways:

resource-A has the (direct) resource permission *INHERIT /G on resource-C
-- resource A would have received this at some point via a call to setResourcePermissions(...)
resource-A has the global resource permission *INHERIT /G on the domain containing resource-C
-- resource A would have received this at some point via a call to setGlobalResourcePermissions(...)
resource-A has the *SUPER-USER permission to the on the domain containing resource-C
-- resource A would have received this at some point via a call to setDomainPermissions(...)

Does this make sense? Let me know if you have further questions.
P.S. Also setting up the initial permissions using the APIs (usually logged in as the initial root user) is the correct way to do it -- you should not be directly inserting rows into the OACC tables.

This helps, thanks - trying to work with that.

"When you attempt grant *INHERIT on a resource the post-create permissions do not play a role,"

But then why the rows in OAC_GRANT_RESCRPERM_POSTCR ?
Would you be kind to change this example to achieve same effect by using APIs to replace this table (appDomain.xml) ? It would be most effecting to understand and would benefit this example app anyway - this initialization is not explained in the documentation and it kind of "hits" you when running into the need for it.
Many thanks for support @adinath-raveendraraj !

@SemanticBeeng the example app was written by @fspinnenhirn and I am not super-familiar with it -- I will need to check out the example and take a look when I get a chance (which may not be for a while) to answer any specific questions about that example. One reason it has those database DML scripts is because @fspinnenhirn was trying to make it easy to just download and run the example -- and DropWizard was used to help with that. What I see is that the example is granting post-create permissions using roles, which is just something specific to the example. There is a nice document explaining the security model used in that app here:
https://github.com/acciente/oacc-example-securetodo/blob/master/walkthrough/secure-todo-example.md
I do not plan to change this example, if time permits in the future, I may create a simple new example that only uses API calls -- it is not difficult to setup permissions using the API.
I am using OACC in a large projects currently and I have RBAC style roles using OACC and no post-create permissions are used. Post-create permissions are the permissions that you would grant a user (resource) on a particular resource type when you want that user to have a certain permission when that user creates a new resource of that type. For example you could grant READ, WRITE, DELETE post-create permissions on the type DOCUMENT so that the user automatically gets READ, WRITE, DELETE on any document they create.


🛠FIX :Name validation added on contact us section

Pull Request Format
PR Title
Issue #726 : Name validation missing on contact us section solved
Type of PR

[X] Bug fix

Description
Name validation is added to contact us section. Name Input only accepts alphabets, the field does not allow users to input symbols and special characters, which may lead to invalid or spam submissions.
Screenshots / Videos (if applicable)
Before:

After:

Checklist

Add X in the box to specify.
[X] I have performed a self-review of my code.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.

Thank you for reviewing my pull request!

Please merge this PR

@swaraj-das added the validation in the script.js file, now please merge it and add gssoc , level 1 label .

@swaraj-das please merge it .

Are you there ? @swaraj-das

@swaraj-das merge it !!!!!!


SyntaxError: Unexpected Token

When deploying commands for discord.js an error occurs with the rest module.
*PATH*\DiscordMusicBotJS\node_modules\@discordjs\rest\dist\lib\RequestManager.js:66         const hash = this.hashes.get(${request.method}:${routeID.bucketRoute}) ?? Global(${request.method}:${routeID.bucketRoute});
I am getting a syntax error with the question mark as seen here:
SyntaxError: Unexpected token '?'
I have tried removing the second question mark but I am still getting an error.

did it worked?


Error: Plugin Unavailable while doing save and test when creating a data source

Grafana used : grafana-enterprise-9.0.0-1.x86_64.rpm
Downloaded and extracted plugin: grafana-bigquery-datasource-1.1.1.linux_amd64.tar.gz inside /var/lib/grafana/plugins folder
Gave permission grafana:grafana to /var/lib/grafana/plugins folder.
Restarted grafana using systemctl stop, start
Opened UI - inside server admin - plugins - Google Big Query plugin can be seen as signed and installed
Grafana Labs
Website
1.1.1
Signed
Level:  Grafana Labs
Signed by: Grafana Labs
Added new datasource,
clicked on Save and Test, shows Datasource Updated, but Error Plugin available.
Logs from /var/log/grafana/grafana.log
logger=context traceID=00000000000000000000000000000000 userId=0 orgId=0 uname= t=2022-06-17T10:12:25.444477016Z level=info msg="Request Completed" method=GET path=/api/live/ws status=401 remote_addr=<IP_ADDRESS> time_ms=0 duration=776.226µs size=27 referer= traceID=00000000000000000000000000000000
logger=context traceID=00000000000000000000000000000000 userId=1 orgId=1 uname=admin t=2022-06-17T10:12:28.956928811Z level=error msg="Plugin unavailable" error="plugin unavailable" remote_addr=<IP_ADDRESS> traceID=00000000000000000000000000000000
logger=context traceID=00000000000000000000000000000000 userId=1 orgId=1 uname=admin t=2022-06-17T10:12:28.957039627Z level=error msg="Request Completed" method=GET path=/api/datasources/6/health status=503 remote_addr=<IP_ADDRESS> time_ms=2 duration=2.197526ms size=77 referer=http://<IP_ADDRESS>:3000/datasources/edit/iPZ0duCnk traceID=00000000000000000000000000000000
logger=context traceID=00000000000000000000000000000000 userId=1 orgId=1 uname=admin t=2022-06-17T10:12:29.720980499Z level=error msg="Plugin unavailable" error="plugin unavailable" traceID=00000000000000000000000000000000
logger=context traceID=00000000000000000000000000000000 userId=1 orgId=1 uname=admin t=2022-06-17T10:12:29.721093604Z level=error msg="Request Completed" method=POST path=/api/datasources/6/resources/defaultProjects status=503 remote_addr=<IP_ADDRESS> time_ms=6 duration=6.394733ms size=78 referer=http://<IP_ADDRESS>:3000/datasources/edit/iPZ0duCnk traceID=00000000000000000000000000000000
logger=context traceID=00000000000000000000000000000000 userId=0 orgId=0 uname= t=2022-06-17T10:12:43.449811751Z level=info msg="Request Completed" method=GET path=/api/live/ws status=401 remote_addr=<IP_ADDRESS> time_ms=0 duration=760.307µs size=27 referer= traceID=00000000000000000000000000000000
logger=context traceID=00000000000000000000000000000000 userId=0 orgId=0 uname= t=2022-06-17T10:12:47.042616643Z level=info msg="Request Completed" method=GET path=/api/ruler/grafana/api/v1/rules status=401 remote_addr=<IP_ADDRESS> time_ms=1 duration=1.057913ms size=27 referer=http://<IP_ADDRESS>:3000/alerting/list traceID=00000000000000000000000000000000
logger=context traceID=00000000000000000000000000000000 userId=0 orgId=0 uname= t=2022-06-17T10:12:47.042907561Z level=info msg="Request Completed" method=GET path=/api/prometheus/grafana/api/v1/rules status=401 remote_addr=<IP_ADDRESS> time_ms=1 duration=1.358999ms size=27 referer=http://<IP_ADDRESS>:3000/alerting/list traceID=00000000000000000000000000000000
logger=context traceID=00000000000000000000000000000000 userId=0 orgId=0 uname= t=2022-06-17T10:12:58.448535253Z level=info msg="Request Completed" method=GET path=/api/live/ws status=401 remote_addr=<IP_ADDRESS> time_ms=0 duration=756.009µs size=27 referer= traceID=00000000000000000000000000000000

I tried recreate this and it is not working in mac as well.
However I can see an error in grafana log as well ERROR[06-17|15:08:18] Could not start plugin                   logger=plugin.manager pluginId=grafana-bigquery-datasource err="Unrecognized remote plugin message: \n\nThis usually means that the plugin is either invalid or simply\nneeds to be recompiled to support the latest protocol."
Can you try to install the plugin with grafana-cli or from the plugin catalog?

Hello @zoltanbedi
The compute instance on which i am trying this, does not have internet connectivity, so i need to download the big query plugin first on this instance and then extract it.
I checked grafana-cli  documentation https://grafana.com/docs/grafana/next/cli/ but could not find any option to install a plugin using a downloaded plugin zip file.

@yash-nigam-db it's described in Grafana dockumentation: https://grafana.com/docs/grafana/latest/administration/plugin-management/#install-a-plugin:~:text=Install a packaged plugin

Ah sorry for prematurely closing this issue!

hi, as we got no response to our last message for a long time, i assume this is not actual anymore, and close the issue. if this is not solved yet, just reply please, and we can reopen the issue.thanks!


use relative links

This used to be relative links and I think should be fine to stay relative links.
Thanks a lot for this great theme,
Florian La Roche

Thanks for your pull request!


What the hecc how do expression seeison work

im on my 5th wuterbottle and im still getting mad at this a now it works the the actually marcooinionapoptatostickwrapedinasheel

yeah I still don't understand how it works. cheese louis

also connecting the front end and backend somehow was werid, and now only postman works to send requests. at this point me and this project running on hopes, prayers, ductape and electircal tape


Organize documentation according to user stories

This is partially based on the suggestion by @naumenko-sa. The main idea is to organize documentation around goals and workflows for particular use cases of different types of users.
Types of users:

Researcher (private bcbio installation on a local machine or HPC environment with a few reference data)
System administrator (shared bcbio installation in an HPC environment with most or all reference data)
Developer (minimal installation in a virtual machine running on a personal machine with no reference data by default)

User stories:

installation: quick start (VM and local machine) and production (HPC and cloud)
updating and maintenance: code and data
example analysis and project structure: small test run for bcbio RNA-seq(?)
small variants germline
SV/CNV for WGS
somatic variant calling
methylation
smallRNA
bulk RNA-seq
scRNAseq
chip-seq/ataq seq
teaching(?)

Also, some reference materials:

general troubleshooting
performance tuning
bcbio configuration parameters, inputs, internals, and outputs
application architecture, testing, development environment config, style guide for code and docs
CWL(?)

Thanks @hackdna for starting this discussion!
Here is a single cell RNA-seq user story, bringing all parts of it together from different documentation chapters:  https://bcbio-nextgen.readthedocs.io/en/latest/contents/single_cell.html
In general, I'd propose to treat everything is a user story, i.e. switching from the structural  description to the user experience. Issues would reference user stories, feed them and improve them. Another general point is to keep docs as succinct as possible. A user story could contain: workflow/parameters/output/validation/steps/references, but it might be flexible, as even analysis stories are very different.
In particular:

3 types of users.
Bcbio is of no use without many packages (conda) and data, at least for one reference genome. I hope nobody is running bcbio analyses on a laptop (poor laptop). Any real NGS dataset requires at least a server. There is not much difference between one user of bcbio on a server and a shared installation on a cluster. Widely used references are just 3 - hg38, grch37, mm10. So the difference between 'Researcher' and 'System administrator' users is really blurred. Users who run bcbio in production at 100 samples a week have their own wrappers and infrastructure, integrated with LIMS and other databases - it is all out of bcbio's scope. Our typical user is Researcher/Sysadmin, a researcher-bioinformatician who is able to install and run bcbio on a Linux server. I'd propose focus on this imaginary user and avoid splitting our resources to maintain 2 user types. We can reflect this distinction in the Installation user story - Quick installation on top, and more details below, for 'Admin' user.

Developer user type: number wise the current ratio of Researcher/sysadmins : dev is 100:1. That makes us to push all dev staff in the 'Development' user story, as not relevant to 99% of ppl who readthedocs.
99% of our users should easily see what they need - how to run their analyses and access it in 1 click, being able to run the analysis themselves and not raising an issue.
It might be not super convenient for a few developers. We can have any type of structure under 'Development' user story. Once there are 50:50 users:developers, we could lift it up.

User stories:

2.1 Quick start  - quick installation + example analysis = WES NA12878 validation, just to give user a sense of what bcbio is
2.2 Installation (what is already there + experience accumulated in O2 installation, installation of code, of data, of conda packages, troubleshooting conda packages , updating and maintenance: code and data)
2.3 scRNAseq
2.4 Bulk RNA-seq (quick start, parameters, outputs, references)
2.5. small germline variant  (quick start with trio, parameters, outputs, validations, references)
2.6. Structural variants (quick start, parameters, outputs, validations, references)
2.7  somatic variant calling
2.7.1 tumor only
2.7.2 tumor normal
2.7.3. UMIs
2.8 methylation
2.9. smallRNA
2.10. chip-seq/ataq seq
2.11 Development (installation on VM and local machine)

teaching(?) - I think we need to push teaching to respective user stories.

general troubleshooting - not sure, what it is?

bcbio configuration parameters, inputs, internals, and outputs -
configuration, inputs, outputs should be in the respective user stories, they are different per user story.

application architecture, testing, development environment config, style guide for code and docs - to development user story

CWL(?) - a separate user story that we really need to push fast

Presentations - we could keep them and add new ones there.

2.1, 2.3 are already in place.
I can quickly help to rearrange 2.2, 2.4, 2.5, 2.6, 2.7 - they are in my head, at least as a first approximation. Then we can get more input from many people on how to improve.
2.8 - @hackdna ? @jnhutchinson ?
2.10 - @sjhosui @yoonsquared ?
2.11 - @hackdna
2.9  -?
our biggest gap currently is 7 - CWL. maybe someone could pick it up and push? @hackdna  @matthdsm?
Everybody is welcome to chime in now,
as this reorganization of the docs will be in place soon.
Sergey

Hi Sergey,
What exactly would you need for CWL? The current docs are still quite up to date, barring some deprecated features.
I think @chapmanb could provide more insight in the current status of CWL, since he did most of the work. I've only tested the CWL approach for short variants in exomes (with limited success I might add), so I'm not really up to speed with where we are there.
Happy to help where I can, but I'm going to need some direction
Cheers
M

Thanks for the comment @naumenko-sa. Looks like we are mostly on the same page. As you've mentioned, the main audience is the researchers who are mostly interested in running analyses. However, the user types or personas are not based just on job titles but on the goals that folks are trying to accomplish. There are some researchers who have to install bcbio on a cluster for their groups ("sys admins") while others submit PRs with bug fixes and new features ("devs").
Also, being able to run bcbio in Vagrant VM on a laptop with small input files is not only possible but essential to development because it allows to iterate quickly on the code using tools that are much more powerful and easy to use than CLI can provide.
Bcbio is a complex application with numerous moving parts and a steep learning curve. The main goal of the docs is to make getting started and learning bcbio as easy as possible. Even seasoned sys admins need help with deployment of bcbio which will drive adoption while being able to quickly understand bcbio software architecture and to have a nice development environment will encourage code contributions.
With these points in mind we can start with the template you've proposed and adapt by incorporating user feedback as needed.


Specify zone for firewalld rules

We have servers which use different zones for different networks. The current setup of 'Configure firewalld' task adds to the default zone, which may not be desired. In my case for a number of servers it is not.
It would be nice if an optional var could be added, maybe zabbix_agent_firewalld_zone, which could then be passed into the task. Maybe something like the following?
- name: "Configure firewalld (zabbix_agent_listenport)"
  firewalld:
    rich_rule: 'rule family="ipv4" source address="{{ zabbix_agent_firewalld_source }}" port protocol="tcp" port="{{ zabbix_agent_listenport }}" accept'
    permanent: true
    state: enabled
    zone: "{{ zabbix_agent_firewalld_zone }}"
  become: yes
  when: zabbix_agent_firewalld_enable | bool
  notify:
    - firewalld-reload
  tags: zabbix_agent_firewalld_enable

I am not sure what the logic would look like to allow for the variable to be provided verses not.

PR is merged, so I'll close this one. Thanks again! 👍


8 mavenize and refactoring

@karma0 @AlchemyAPI
Howdy guys! We just signed on to use you guy's API through an IBM partnership. I noticed the Java SDK hadn't been touched in a while so I made some updates. If you guys are ok with the direction I'm taking the SDK I will/can continually make updates based off of our use-cases.
They will include:

Updated ReadMe (after approval of this PR)
Continued maintenance
Dedicated response object (instead of just raw responses)
Extended Json support
Improved error handling
Multiple Java versions support
Release of new versions to Maven Central
Adding asserts into the STests (there were none in the original tests)
Further modularization of AlchemyApi class instead of one giant class.

The current branch that I would like to merge does the following:

Mavenize the project
Use a view 3rd party libraries to aide in common tasks/response consumption
Rewrote all the tests as STests as they are not actual unit tests
Refactored tests into logical methods
Refactored all method/variable/class names per Java standards
Removed the many unnecessary checked exceptions that stemmed from response parsing in favor of unchecked, implementation agnostic exceptions.
Implemented logger over System.out.println
Created a standard SDK Configuration object instead of various static sdk constructors.
Upgraded to Java 7

Let me know what you think!

ping

@kennycason Is this project active? Are you using your branch?

@mike-houghton I don't know. I'm assuming that since Alchemy team hasn't responded that they are likely not improving the product. As such we switched services.

I like their API endpoints which all seem to work fine. If you want to use the java sdk feel free to use my fork (https://github.com/kennycason/alchemyapi_java) I can quickly accept PRs and make improvements as well. I can also work to get it in maven central.

You may want to reach out to Alchemy's sales or marketing teams, they should be able to get the right people on the job.  There's been a lot of changes over there since they were acquired by the IBM Watson team, so it's possible that the repos may have fallen off their radars.

Already did that. :)

Hi Kenny, I'm also interested in improving this API, mavenizing, etc.  Any word?  I'll pull down your fork and begin working with it.

@cbmcvey No response on my end. Feel free to just work off mine. If alchemy won't maintain it, I don't mind doing so.

@Freheims I also merged all to master on my fork. Feel free to just create PRs on my  repo (or your downstream fork) and i'll merge them in. I have a feeling that Alchemy is going to force us to maintain the SDK ourselves externally :)

To anyone else, project is here: https://github.com/kennycason/alchemyapi_java


feat(callout): Move Callout component to nextra/components

To enable usage of the Callout component in docs, blog and custom themes, we extract it to the nextra package components folder and export it from there.
In this PR

[x] Moved Callout component from nextra-theme-docs to nextra/components.
[x] Updated the blog and docs examples.
[ ] Updated the Nextra documentation.
[ ] Decide on clsx package usage in nextra components.

@B2o5T I can move the Callout docs to the general Nextra pages, what do you think would be a good path / navigation flow? I can do /docs/guide/built-ins/callout for example. Not sure if people start looking there when they need specific built in components if there is just one for the time being. Also unaware of any decisions that were already made on this.

I can move the Callout docs to the general Nextra pages, what do you think would be a good path / navigation flow?

I think is reasonable to move these docs to Nextra pages since nextra-theme-docs now just reexport them

Should we add a redirect from docs/docs-theme/built-ins/callout to docs/guide/built-ins/callout to the next config? And if I add a changeset, should it be a minor version or a patch?

Should we add a redirect from docs/docs-theme/built-ins/callout to docs/guide/built-ins/callout to the next config? And if I add a changeset, should it be a minor version or a patch?

about redirect - nice catch, you can add it
and about changeset - minor since it's a new feature and not a fix of a bug 🙂

@tristandubbeld Sorry I was OOO last week, I'll release it today


Make a abstract base iterator class that each linked list type can inherit.

Iterator functionality is basically the same across containers, we can pull the nested iterator class out of the linked list, and simply inherit and override specific methods within the linked list class

Implemented in PR #33


Use pytest-httpbin

This would help builds run faster and probably pass more consistently.  It's also one of my main motivations for writing it.  I just need to get the motivation to actually use it :-P
pytest-httpbin

Yeah, I had noticed that you hade made that library and was curious as to why vcrpy's tests don't use it. At least we have an issue for this now.

Working on this a bit in a branch: https://github.com/kevin1024/vcrpy/tree/pytest-httpbin

Just wanted to drop the note that we would appreciate it much for the Debian package [1] if the tests could run offline. Pytest-httpbin packaging is in progress.
[1] https://packages.qa.debian.org/v/vcr.py.html

Cool!  Yeah, I've been super busy lately but if I ever get a free weekend I definitely want to finish this up.

Welcome pytest-httpbin to Debian: https://tracker.debian.org/pkg/pytest-httpbin

or may be meanwhile there is a way to skip tests which require network connection @kevin1024 ?  thanks in advance for the clarification

Any progress on this? Please combine your products :-)

Would love to but been super busy lately!

Now using it.  Not sure that the test suite is 100% offline yet but good progress!


Use kotlinx.datetime

Use the official kotlinx.datetime instead of homebrew solution.

Blocked by https://github.com/Kotlin/kotlinx-datetime/issues/165

kotlinx.datetime enabled linuxArm64, hoorray. Let's wait for it to be released.


Add CSS Styling for Projects Section in Portfolio Website

The Projects section of the portfolio website needs enhanced CSS styling to improve the layout and visual presentation. This issue focuses on the following tasks:
Project Cards Layout:
Create a clean, responsive layout for project cards
Hover Effects:
Implement hover effects for project cards, such as slight zoom, shadow effects, or color changes, to make the section interactive.

I came across the issue regarding the CSS styling for the Projects section in your portfolio website and would love to contribute to it as part of Hacktoberfest 2024.
Could you please assign the issue to me and add the hacktoberfest label? I'll ensure the project receives the necessary styling updates and meets all the requirements.

Hii Prajakta,
I have assigned the issue to you under hacktoberfest label.

hey @PrajaktaPatil05 can you please assigned this issue i am very interested to solve this issue so please assign this task to me.


Archive FERC EQR

There's high demand for FERC EQR data. Even if we haven't integrated it yet, we can still archive it.
FERC EQR data.
This is a duplicate issue of PUDL issue 1414, but I'm putting it in the archiver repo.

I can take a stab at this.

The EQR may be a bit weird because it's big and also comes in multiple formats. GitHub runners only have 14GB of disk but I think the whole EQR dataset is significantly larger than that (though each individual file won't be).
They don't make the download pages easy to find. The new format (2013-present) uses a kind of annoying javascripty interface but seems to have direct links embedded in it that are formulaic. The older data (pre-2013) splits out transaction tables into a bunch of partitions, and then has the non-trasaction tables for all years in its own separate file.
Right now it looks like each quarterly zipped CSV is around 3GB. So even 1 year might exceed the a GitHub runner's disk space.  I wonder how hard / worthwhile it would be to make it possible to serialize the download / upload process from FERC to the runner and then up to Zenodo so the whole dataset isn't ever on disk at the same time.
At least they've finally shut down the janky FTP site and now these can all be downloaded over HTTPS!

Thanks for the heads up, Zane. Just talked to Zach & Katie about how to structure this. Github runner questions outstanding, I'll start on the archiver part of this, following the FERC2 archiver for some inspiration on how to handle year-to-year file structure changes.

IIRC Zenodo also has a 50GB per deposition limit, but like AWS Open Data it's possible to request a higher quota.

As a shorter workaround than #44, it should be pretty quick to add a command line flag to restrict EQR to certain partitions - and then we could just split the EQR archival process across like 4 different runners.

Where can I find the archive on Zenodo?


Generate faces_gallery.json file in multi-lines format

Signed-off-by: Chia-Chen Wong<EMAIL_ADDRESS>

Please retarget the PR to the develop branch. Otherwise, LGTM.

Actually, come to think of it, I can probably do this myself. Let me try...


Livestream category improvements

Status
Sept 22:  Pending discussion with Julian on how we want to handle showing livestreams in Wild West
Code review

I think it would be easiest to go through the commits one-by-one, as the deltas will be more readable, and I've added notes for each of them.
If approved, assigned back to me, and I'll clean up the commits before merging.

Test
https://kp.odysee.com
Objectives

Closes part of #6015

The eye count blocked by a backend bug.

Closes #7123
Reduce excessive rendering on ClaimTileDiscover

Overview of changes

Reverted the way I added livestreams to the list.
Fetch livestream claims separately via redux, and pass to the list components using the existing prefixUris prop.  No more double claim_search calls.

Small differences

Previously, the total number of tiles will not be greater than requested, as the livestream tiles replaces some of the normal tiles.  Now, it just appends at the top, so we could see more than requested.  Can change back if this is not desired, but I opted for lesser code this round to keep the Claim**Discover components from getting out of hand.

"Previously, the total number of tiles will not be greater than requested," - the old method worked this way too - the only concern I have for this is how it makes the tiles uneven and this breaks infinite scroll in some cases. Doesn't need to be addressed here, I believe there's a separate issue or we can file one.
Will give this a test soon.

This is looking great so far! we'll need to see how to handle the wild west page with the larger number of streams now showing up there since this way is more correct.
I am seeing new live + claim search for live streams when hitting each category - did we want to avoid that? Maybe only call if we haven't refreshed streams in last X minutes? Each time they'll return the same thing in a short period of time.

Is this only for claim_tiles_discover?

It's for both ClaimTilesDiscover and ClaimListDiscover

I am seeing new live + claim search for live streams when hitting each category - did we want to avoid that? Maybe only call if we haven't refreshed streams in last X minutes? Each time they'll return the same thing in a short period of time.

Ah, right. Currently I fetch Livestreams "on mount" for any pages that need it. Will think of a way to check for "last fetched".

ee41dcf to 4cb83fc

Added a default minimum of 5 minutes between fetches. Clients can bypass this through forceFetch if needed.
Rebased.

@infinite-persistence I spoke to Julian about the wild west section + lives - we decided it would be good to show a toggle on top to show/hide live streams. Default would be hide, and would be persisted. If show is clicked, then it pops them all on top, followed by non lives.

Jeremy actually didn't like the idea of a toggle at the top, defaulted to off.
Maybe instead we'd show a single top line, ordered by trending, and then have a view all livestreams button below it?
Any other ideas on how to show some at first, and then view all?

That single-line reduces in tile count when window width is reduced (always just 1 line)? Or ok to stick with 8 tiles and reflow when necessary?

Jeremy actually didn't like the idea of a toggle at the top, defaulted to off.
Maybe instead we'd show a single top line, ordered by trending, and then have a view all livestreams button below it?
Any other ideas on how to show some at first, and then view all?

4cb83fc to 796d435

WildWest: limit to 8 livestreams initially, and user-expandable to show the rest.  Applied to both Tile and List layout.
Rebased to latest master.

I like this - but can it respect the screen sizes we have? This looks strange on larger monitors:

but can it respect the screen sizes we have? This looks strange on larger monitors:

e7f840a to 1a8f82b

Handle tile-count on large screens the same way the homepage does it.
Rebased.

Thank you, looking great!


[Event Request] Table 5740 "Transfer Header" - OnBeforeCreateDimFromDefaultDim

Request a new event in function CreateDimFromDefaultDim in table 5740 "Transfer Header":
procedure CreateDimFromDefaultDim(FieldNo: Integer)
var
    DefaultDimSource: List of [Dictionary of [Integer, Code[20]]];
    IsHandled: Boolean      //NEW
begin
    //NEW - start
    IsHandled := false;
    OnBeforeCreateDimFromDefaultDim(Rec, FieldNo, IsHandled);
    if IsHandled then
        exit;
    //NEW - end

    InitDefaultDimensionSources(DefaultDimSource, FieldNo);
    CreateDim(DefaultDimSource);
end;

//NEW
[IntegrationEvent(false, false)]
local procedure OnBeforeCreateDimFromDefaultDim(var TransferHeader: Record "Transfer Header"; FieldNo: Integer; var IsHandled: Boolean)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 10806.

Availability update: We will publish a fix for this issue in the next update for release 22.
Build ID to track: 56637.


Create 0000-01-02-12alexander21.md

created a branch, created a file and made a commit, and opened a pull request


add option window-title to set the title

#120

Thank you :+1:
Merged as 8e65c10720b5713d642241508c38d831012d9f06 on dev branch (I just edited the commit message and minor code styles).


Prototype: Classes page

Reminiscent of CourseAvail with class search and active calendar view
Some way to compare other sections of a class inline
Integration with suggested schedules?

Resolved by #13


WIP: Work-in-silliness - http error library

I know there have to be libs out there that do stuff like this, but I wanted to play with writing one. Is this kind of what you were thinking of @tkellen?
Still some cleanup to do if we want to go this route.

Totally! The only thing I'd change is not actually throwing in Kapow, you'd do throw Kapow(..).
I think this should be a top level module in the modules folder, to eventually be pulled out into its own thing!

Not sure if it was obvious, but I wrote in a distinction so that this throws: Kapow(400, 'That was a bad request'); and this just returns the error: var err = Kapow[400]('That was a bad request');
If you still don't ever want to throw in the lib, then I'll probably remove the second form and make Kapow a real constructor.

The stack trace will be a lot more useful if you're required to throw the error that kapow gives you.
// error.js
module.exports = function () {
  throw new Error('crap');
};

// thrower.js
var error = require('./error');

function go () {
  error();
};

go();

Produces (note the origin of the error appears to be in the error file (i.e. kapow):
/Users/tkellen/code/thrower/error.js:2
  throw new Error('crap');
        ^
Error: crap
    at module.exports (/Users/tkellen/code/thrower/error.js:2:9)
    at go (/Users/tkellen/code/thrower/thrower.js:4:3)
    at Object.<anonymous> (/Users/tkellen/code/thrower/thrower.js:7:1)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:929:3

Switching it to this:
// error.js
module.exports = function () {
  return new Error('crap');
};

// test.js
var error = require('./error');

function go () {
  throw error();
};

go();

Produces (note the origin of the error appears to be in the thrower file where it belongs):
/Users/tkellen/code/thrower/thrower.js:4
  throw error();
        ^
Error: crap
    at module.exports (/Users/tkellen/code/thrower/error.js:2:10)
    at go (/Users/tkellen/code/thrower/thrower.js:4:9)
    at Object.<anonymous> (/Users/tkellen/code/thrower/thrower.js:7:1)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:929:3

Also, side effects!

lol, good points. fair enough.

:dancers:


[bump_v.17.06] Logging for allocation workflows

Cherry pick https://github.com/docker/swarmkit/pull/2614
git cherry-pick -s -x bef2bd052936d3aefe36cc7e8f6fefeb593e2531

Cherry pick was not clean. Needs quick review.
cc @anshulpundir @chungers @rchourasia

I'm confident CI failure is due to a flaky test. It was fixed in https://github.com/docker/swarmkit/pull/2575, but hasn't been cherry-picked into this branch yet.

What's with the stuff added to vendor/?

@dperny CI fails because of the same vendoring issues, so I updated vndr version and reran it.

Alright, LGTM.

It's really hard to get the test to pass, so somewhat incorrect to call it flaky I guess, but we're confident that @cyli's fix works. I didn't add it here yet because it doesn't pick cleanly.


replyTo does not seem to support different address formats

First of all, thank you for this great library :)!
Information:
Nodemailer version: 1.11.0
Node version: 6.0.0
Operating system: ArchLinux, 4.5.2-1-ck
Problem:
When I try to set both name and address to replyTo by using an object, like this:
replyTo: {
          name: 'Test Mail',
          address<EMAIL_ADDRESS>        }

I get an error:
node_modules/nodemailer-sendgrid-transport/src/sendgrid-transport.js:28
    if (a.indexOf('<') >= 0 && a.indexOf('>') > 0) {
          ^

TypeError: a.indexOf is not a function
    at trimReplyTo (.../node_modules/nodemailer-sendgrid-transport/src/sendgrid-transport.js:28:11)
    at SendGridTransport.send (.../node_modules/nodemailer-sendgrid-transport/src/sendgrid-transport.js:39:21)
    at Nodemailer.<anonymous> (.../node_modules/nodemailer/src/nodemailer.js:148:30)
    at Nodemailer._processPlugins (.../node_modules/nodemailer/src/nodemailer.js:295:16)
    at Nodemailer.<anonymous> (.../node_modules/nodemailer/src/nodemailer.js:144:14)
    at Nodemailer.<anonymous> (.../node_modules/nodemailer/src/nodemailer.js:302:20)
    at .../node_modules/nodemailer/src/nodemailer.js:309:13
    at HTMLToText.<anonymous> (.../node_modules/nodemailer-html-to-text/src/nodemailer-html-to-text.js:38:9)
    at tryOnImmediate (timers.js:543:15)
    at processImmediate [as _immediateCallback] (timers.js:523:5)

Note: This same object works for from field, so I am pretty sure nothing is wrong with it.
Next, I tried providing string of following format: '"Test Mail"<EMAIL_ADDRESS>and then there was no error, however when email is sent only address is included in replyTo field (I check original of message in gmail, and replyTo header has only address, no name).
Thank you for any help!

Hello @Martinsos,
The only SendGrid supported Node.js library is here: https://github.com/sendgrid/sendgrid-nodejs
Is there a particular reason you woulld like to use this version instead?

@thinkingserious thank you for your question! I wanted to use this version because it is an adapter/plugin for nodemailer, and I am using nodemailer as an abstraction level, so that my code is not tihghtly bound with a certain email provider. This way I can easily switch between Amazon SES and Sendgrid - this was useful for me when I was testing which one works better for me (sticking with Sendgrid for now). Also, this way I can easily replace SendGrid with something else if need arises, be it temporarily or permanently.

I see now that you stopped supporting it a month ago :( - I did not know that! I guess my only option now is to use sendgrid-nodejs?

@Martinsos,
That is correct, unless you prefer to fork this repo and make the desired changes yourself.


fix: update examples owned by CLI to v3

2 examples from CLI are owned by CLI, not fetched from spec repo - so updating them manually
the tutorial one is specifically important as used in https://v3.asyncapi.com/docs/tutorials/create-asyncapi-document

@Souvikns marked it as fix to trigger release to get examples included in the package


Add additional info to selected courses table

The selected courses table can have a column for course category (UC/PC/UE/PE/whatever)

Added in e80bf2629ef75dcd4d63ddb764970dd0a4c97882


🐞  fatal: not a git repository … tree-sitter/tree-sitter-cpp.git

Description
I'm trying to build the project in Xcode, but it throws this error at me, even before I hit the build button:
Showing Recent Messages
fatal: not a git repository (or any of the parent directories): .git in https://github.com/tree-sitter/tree-sitter-cpp.git

To Reproduce

Check out latest main branch (8b7a4705eaea85f3237cb4efedb490b5f70080ed)
git clean -dfx, clear build directory, etc, as suggested in troubleshooting. I even rebooted (oof)
Open CodeEdit Workspace
Wait a little bit while it automatically fetches packages
Notice the error

Expected behavior
No error
Version information
CodeEdit: [e.g. 1.0]
Hash: [e.g. 87a5b3f4c18238c0d06cbfce595e1ca9b11cfd8e]
MacOS: [e.g. 12.3.0]
Xcode: [e.g. 13.3]
Additional context
macOS 12.4 on Intel iMac, Xcode 13.4.1
It's not obvious to me what's going on (but then: I'm ~8 years behind on my iOs / macOS dev skills). The repository exists, doesn't seem to be private and the commit exists too. Looking at the TreeSitterCPP entry in Package.resolved it doesn't look different from the rest either.

That worked! It builds now.
 Closing this issue. In the future, feel free to use the help channel in our Discord server.

A workaround is not a fix though.


Pick up fix for hyperledger/firefly-transaction-manager#37

In draft until we have tested and have an FFTM release

Codecov Report

Merging #33 (9cea2bf) into main (3c7d551) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #33   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           22        22
  Lines         1293      1293
=========================================
  Hits          1293      1293

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


KOGITO-672 - [Job Service] increase test coverage

Adding more unit tests on Jobs Service.
@mswiderski
@cristianonicolai

Great point @mswiderski, to be honest, I used the names created by the IDE, but I prefer the convention with testXXXX

@mswiderski I updated the test methods names.


Implement Core Application Models Form

Description
This issue builds upon the previously discussed "Create Core Application Models" (#1) and outlines the development of a form using forms.py. This form will allow super admins to create and manage the core application models.
Models
Main Model of the core app main.
The form should enable the super admin to enter data for each of the listed models.
Consider incorporating appropriate validation mechanisms to ensure data integrity (e.g., checking for valid image formats for logo and favicon uploads).
Implementation
ConsiderationsUtilize Django Forms to streamline form creation and validation.
Determine the most appropriate approach for handling image uploads (django.core.files.storage.FileSystemStorage will be used for this project).
Testing
Verify that the form successfully captures super admin input for all required fields.
Ensure proper validation functionality prevents the submission of invalid data. Test image upload functionality (if applicable) to confirm successful uploads and storage.
Additional Information
If there are any specific design preferences or layout requirements for the form, please mention them here. Outline any error-handling logic or user feedback mechanisms planned for the form.

Description
Forms.py was created for form development.
This form in the admin panel allows super admins to handle the models that were created in models.py.
Steps

First, forms was imported from the django class, and also from models.py , the Main class.

The form class named MainForm was defined by inheriting from forms.ModelForm.

By defining the Meta class and its attributes, model and fields, it was declared that the form should use what model and what fields.

Note
Fields are defined as --all-- to declare which fields of models are to be managed in the form.


Cannot pull file from read only filesystem

Required information

Distribution: Ubuntu
Distribution version: xenial
The output of "lxc info" or if that fails:

Kernel version: 4.13.0-39-generic
LXC version: 2.21
LXD version: 2.21
Storage backend in use: dir

Issue description
Trying to pull a file from a readonly file system results in an error. Example: pull any file from the RO mounted / from an ubuntu-core/16 image.
Steps to reproduce
$ lxc launch images:ubuntu-core/16 core-test
$ lxc file pull core-test/usr/lib/os-release
error: open: Read-only file system

Information to attach

[ ] Any relevant kernel output (dmesg)
[ ] Container log (lxc info NAME --show-log)
[ ] Container configuration (lxc config show NAME --expanded)
[ ] Main daemon log (at /var/log/lxd/lxd.log or /var/snap/lxd/common/lxd/logs/lxd.log)
[ ] Output of the client with --debug
[ ] Output of the daemon with --debug (alternatively output of lxc monitor while reproducing the issue)

@brauner if you have a few minutes, should be a pretty easy fix (I expect it's just wrong open flags), otherwise I'll pick this up when I start.