pipe.start(cfg) with net_device

|---------------------------------|------------------------------------------- |
| Camera Model                       | D435i                                                      |
| Operating System & Version | Win (10)                                                  |
| Platform                                 | PC                                                           |
| SDK Version                           |  2.41.0                                                     |
| Language                               |  C++                                                       |
| Segment		         	|  Robot                                                     |
I am trying to adapt the rs_measure example, so that it connects to a camera, that is connected to a raspberry pi.
I change
rs2::pipeline pipe
to
rs2::net_device dev("<IP_ADDRESS>");
rs2::context ctx; dev.add_to(ctx);
rs2::pipeline pipe(ctx);
cfg.enable_device(dev.get_info(RS2_CAMERA_INFO_SERIAL_NUMBER));
pipe.start(cfg) does not work. It says "No connection to device".
pipe.start() does work
cfg.can_resolve(pipe); says always  false
Is it possible to start a net_device with a configuration?

Hi @controller1304   In your full script, have you placed the line below directly before your first line that uses cfg so that the SDK knows what cfg: refers to?
rs2::config cfg;
For example:
rs2::config cfg;
cfg.enable_device(dev.get_info(RS2_CAMERA_INFO_SERIAL_NUMBER));

Yes that is what I did:
rs2::net_device dev("<IP_ADDRESS>");
rs2::context ctx; dev.add_to(ctx);
rs2::pipeline pipe(ctx);
rs2::config cfg;
cfg.enable_device(dev.get_info(RS2_CAMERA_INFO_SERIAL_NUMBER));
cfg.enable_stream(RS2_STREAM_DEPTH);
cfg.enable_stream(RS2_STREAM_COLOR,640,480, RS2_FORMAT_RGBA8);// Enable default depth
bool ressolve=cfg.can_resolve(pipe);
cout<<ressolve;
cout<<"\n";
pipe.start(cfg);
output:
0
RealSense error calling rs2_pipeline_start_with_config(pipe:0000000005D2A0E0, config:0000000005D2AE00):
No device connected

Is it a multiple camera setup or are you using a single camera, please?

There is one camera D435i connected to a raspberry pi, which sits on a robot.
On the raspberry pi there runs the image that is published here:
https://dev.intelrealsense.com/docs/open-source-ethernet-networking-for-intel-realsense-depth-cameras
On the PC side I want to run the same program that I developed, with the camera directly connected to the PC. It is an adaption of rs-measure example which needs more computing power then the raspi has. I want to detect aruco markers, which are mounted on the robot arm to move the arm to the correct position.

When you test with pipe.start() without cfg in the brackets, it is likely working because the pipeline is not accessing the cfg configuration details in the preceding lines and is using the camera's default configuration instead.  Without cfg in the brackets, the pipeline does not know that the custom configuration exists.  So when cfg is included in the brackets so that the SDK accesses the configuration details, this suggests that there is something in the configuration that the project is failing on.
My feeling is that the cfg lines used here may be more suited to an application that is accessing multiple cameras from the same program (like rs-multicam) and that it could use a simpler design if it only has to access one camera, and not use a serial number (which is helpful for distinguishing between multiple attached cameras).  For example:
rs2::pipeline pipe;
//Create a configuration for configuring the pipeline with a non default profile
rs2::config cfg;
//Add desired streams to configuration
cfg.enable_stream(RS2_STREAM_DEPTH);
cfg.enable_stream(RS2_STREAM_COLOR,640,480, RS2_FORMAT_RGBA8);
//Instruct pipeline to start streaming with the requested configuration
pipe.start(cfg);

The recommended code snippet works only if I connect the camera directly to the PC. But as soon as I connect the camera to the raspberry pi and run the recommended code on the PC :
rs2::net_device dev("<IP_ADDRESS>");
rs2::context ctx; dev.add_to(ctx);
rs2::pipeline pipe;
rs2::config cfg;
cfg.enable_stream(RS2_STREAM_DEPTH);
cfg.enable_stream(RS2_STREAM_COLOR,640,480, RS2_FORMAT_RGBA8);
pipe.start(cfg);
I get the output:
RealSense error calling rs2_pipeline_start_with_config(pipe:0000000006DF1200, config:0000000006DF1250):
No device connected

I located an rs2::net case from May 2020 that had the same error with using the serial number over the network.
https://github.com/IntelRealSense/librealsense/issues/6376
The RealSense user in that case posted a workaround script that had the limitation that it could only access the last camera detected.  As you only have one camera in your project though, this script may provide a solution.

In the solution in #6376 it also ended that
pipe.start(cfg)
was changed to
pipe.start()
what I do not want, because the then the frames arrive in the wrong format, and I have no possibility to reduce the framerate.

I mentioned this case earlier today to the developer who authored rs2-net and they are aware of the case and your issue with cfg.  I do not have a solution to suggest at this time though other to use pipe.start(), even though the default color stream setting has a higher resolution.
It is worth mentioning that the cfg instructions that you are using would not directly define frames per second, as they define resolution but not FPS.  FPS is defined in cfg statements by adding a number at the end of the bracket representing an FPS speed supported by your camera model.  for example, to set 640x480 color at 30 FPS, the cfg definition would be:
cfg.enable_stream(RS2_STREAM_COLOR,640,480, RS2_FORMAT_RGBA8**, 30**);

No, there is no difference.

I have re-examined this case from the beginning and thoroughly checked the code against other references but cannot find anything wrong with it.
Have you tested whether removing the can_resolve check (which checks whether the camera can satisfy the defined configuration) makes a difference?

Hi @controller1304  Do you require further assistance with this case, please?  Thanks!

Yes I need further assistance and would like to know how to solve this issue. No, that makes no difference, if I remove the ressolve command:
rs2::net_device dev("<IP_ADDRESS>");
rs2::context ctx; dev.add_to(ctx);
rs2::pipeline pipe(ctx);
rs2::config cfg;
cfg.enable_stream(RS2_STREAM_DEPTH, 640, 480, RS2_FORMAT_Z16, 30);
cfg.enable_stream(RS2_STREAM_COLOR, 640, 480, RS2_FORMAT_RGBA8, 30);
auto profile = pipe.start(cfg);
cout<<"started";
Output:
RealSense error calling rs2_pipeline_start_with_config(pipe:0000000006D573C0, config:0000000006D576E0):
No device connected

Thanks for yout help, here you see the outcome:
https://www.youtube.com/watch?v=nlNbJYR-Emw

Great video @controller1304 - thanks so much for sharing it   :)


Use a wider div to wrap banner text

Currently, govuk-grid-column-two-thirds knocks the 'II' onto a second line for the Queens death emergency banner. Using three thirds keeps all the text on a single line for larger screens.
Before

After

Even if this widens the space that the grid spans, there will be chances where "II" pushes to next line. What about inserting   between the name and "II" ?

Thanks for the suggestion @myakura, that is very true.   would make sense but can't currently implement that with the way the banner text is populated.


Derive PartialEq Analysis

Fix: #878  r? @fitzgen

:umbrella: The latest upstream changes (presumably #906) made this pull request unmergeable. Please resolve the merge conflicts.

@bors-servo r+
Thanks @photoszzt, looks perfect :)
We should figure out a way to DRY up all of these derive-related analysis, but I need to think about how to change our abstractions to be more precise about this stuff some more.

:pushpin: Commit dc2baed has been approved by fitzgen

:hourglass: Testing commit dc2baed16c14e2ef2febff11e88b1c5110ebc0eb with merge 7e84c437015b5a4d73cb47baae629b8f357c1b2d...

@fitzgen the CanDeriveTrivially{Debug, Copy...} are also very redundant.
I notice that the stable rust is still generating the BindgenUnion with Copy field. Next step would be enable those in stable. I'm not sure which version of Rust has stable union. 19? Or something previous?

:sunny: Test successful - status-travis
Approved by: fitzgen
Pushing 7e84c437015b5a4d73cb47baae629b8f357c1b2d to master...

I notice that the stable rust is still generating the BindgenUnion with Copy field. Next step would be enable those in stable. I'm not sure which version of Rust has stable union. 19? Or something previous?

You can do rustup update stable to get the latest stable rustc toolchain, and then rustc --version.
I thought we should be generating unions after @tmfink's PR that just landed. It looks like it is to me. All the _1_0.rs files targetting older stable rust use BindgenUnion and all the others targeting the latest stable release are using union.


feat: Sending mail with templates

Is your feature request related to a problem? Please describe.
In the future we will have to send mail sent for many different reasons, like resetting password, event information etc.
Describe the solution you'd like to see
The current most prominent solution is to use MJML template.
We previously discussed using MDX, and found a potential article on combining MJML and MDX https://www.joshwcomeau.com/react/wonderful-emails-with-mjml-and-mdx/
Describe alternate solutions
To send the mails we have a few solutions:

AWS
Twilio
MailJet?

Additional information
No response

We already have some proof-of-concept code here, should be very easy re-write that code to use mjml instead of markdown
https://github.com/dotkom/monoweb/pull/93

Suggestion:
Store scheduled mails in Redis and send them with a Cron job.
https://upstash.com/


Call to undefined function PragmaRX\Tracker\ipv4_in_range()

Hi,
I made composer update last night and get error:
Call to undefined function PragmaRX\Tracker\ipv4_in_range()
What I should do for return my Laravel to up and running?

I am using v2.0.10 and I have same error.

Hey guys, I updated my composer.json and changed the tracker version to 3.2 and it worked for me.
"pragmarx/tracker": "3.2",
I also had to also rerun the create tracker tables which should only create one file then run the latest migration.  After doing this everything was working perfectly.  I hope this helps.
php artisan tracker:tables
php artisan migrate

Here is the migration it created for me 2017_06_20_311102_add_agent_name_hash.php

I just brought the helper back.


tests: add tests for tls.cert_chain_len v2

Added README as requested
Updated required version to 7 to resolve CI failures

Ticket
If your pull request is related to a Suricata ticket, please provide
the full URL to the ticket here so this pull request can monitor
changes to the ticket status:
Redmine ticket: https://redmine.openinfosecfoundation.org/issues/6386

Suricata PR merged in https://github.com/OISF/suricata/pull/9597

Merged in #1420, thanks!


v3.2.6 Error when using PodSpecPatch to add resource requests to wait container on resource template type

Summary
What happened/what you expected to happen?
I have some Workflows that have regular container type templates and resource type templates defined in the same file.
I have a PodSpecPatch defined on the Workflow level that adds a resources section to every wait and main container for every workflow Pod:
podSpecPatch: |
  containers:
    - name: wait
      resources:
        requests:
          cpu: "100m"
          memory: "128Mi"
        limits:
          cpu: "100m"
          memory: "128Mi"
    - name: main
      resources:
        requests:
          cpu: "100m"
          memory: "128Mi"
        limits:
          cpu: "100m"
          memory: "128Mi"

This is something that has been working for a long time, using Argo v2.12.5. Now when upgrading to Argo v3.2.6, this has stopped working when using resource: type of templates.
[...]
resource:
  action: create
  manifest: |
    apiVersion: v1
    kind: Service
    metadata:
      name: nginx
[...]

Apparently the root cause is that these Pods created by resource templates don't have a wait container in their manifest, so when you try to patch it, you end up with some random errors coming from the K8s API:
type: 'Warning' reason: 'WorkflowNodeError' Error node sparkly-rhino: Pod \"sparkly-rhino\" is invalid: spec.containers[0].image: Required value"

This is how the Pod looks like: you can see there's only a main container defined, there is no wait:
apiVersion: v1
kind: Pod
metadata:
  name: sparkly-rhino
spec:
  containers:
  - command:
    - argoexec
    - resource
    - create
    [...]
    image: argoproj/argoexec:v3.2.6
    name: main
    resources:
      limits:
        cpu: 100m
        memory: 128Mi
      requests:
        cpu: 100m
        memory: 128Mi
    [...]
  dnsPolicy: ClusterFirst
  [...]

In Argo v2, the resource template Pod had both containers created, therefore the PodSpecPatch never failed:
apiVersion: v1
kind: Pod
metadata:
  name: sparkly-rhino
spec:
  containers:
  - command:
    - argoexec
    - resource
    - create
    [...]
    image: argoproj/argoexec:v2.12.5
    name: wait
    resources:
      limits:
        cpu: 50m
        memory: 32Mi
      requests:
        cpu: 50m
        memory: 32Mi
    [...]
  - command:
    - argoexec
    - resource
    - create
    [...]
    image: argoproj/argoexec:v2.12.5
    name: main
    resources:
      limits:
        cpu: 100m
        memory: 128Mi
      requests:
        cpu: 100m
        memory: 128Mi
    [...]
  dnsPolicy: ClusterFirst
  [...]

What version of Argo Workflows are you running?
v3.2.6
Questions

Is this a bug or it "works as designed"?

If it's expected behaviour, what are the best practices to use PodSpecPatch to add resources to both the main and wait container to every template in the Workflow?

I would prefer not to copy-paste the patch section to every other step that is not a resource template.

Diagnostics
Either a workflow that reproduces the bug, or paste you whole workflow YAML, including status, something like:
metadata:
  name: sparkly-rhino
spec:
  entrypoint: resource-create
  podSpecPatch: |
    containers:
      - name: wait
        resources:
          requests:
            cpu: "50m"
            memory: "32Mi"
          limits:
            cpu: "50m"
            memory: "32Mi"
      - name: main
        resources:
          requests:
            cpu: "100m"
            memory: "128Mi"
          limits:
            cpu: "100m"
            memory: "128Mi"
  templates:
    - name: resource-create
      resource:
        action: create
        manifest: |
          apiVersion: v1
          kind: Service
          metadata:
            name: nginx
            labels:
              app: nginx
          spec:
            ports:
              - port: 80
                name: web
            clusterIP: None
            selector:
              app: nginx

What Kubernetes provider are you using?
Server Version: version.Info{Major:"1", Minor:"19+", GitVersion:"v1.19.15-eks-9c63c4", GitCommit:"9c63c4037a56f9cad887ee76d55142abd4155179", GitTreeState:"clean", BuildDate:"2021-10-20T00:21:03Z", GoVersion:"go1.15.15", Compiler:"gc", Platform:"linux/amd64"}

What executor are you running?
Docker
Logs
time="2022-02-01T19:17:05.489Z" level=info msg="Processing workflow" namespace=redacted workflow=sparkly-rhino
time="2022-02-01T19:17:05.489Z" level=debug msg="Getting the template by name"
time="2022-02-01T19:17:05.489Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=redacted,name=sparkly-rhino)" depth=0 tmpl="*v1alpha1.WorkflowStep (resource-create)"
time="2022-02-01T19:17:05.489Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=redacted,name=sparkly-rhino)" depth=0 tmpl="*v1alpha1.WorkflowStep (resource-create)"
time="2022-02-01T19:17:05.489Z" level=debug msg="Getting the template by name" base="*v1alpha1.Workflow (namespace=redacted,name=sparkly-rhino)" depth=0 tmpl="*v1alpha1.WorkflowStep (resource-create)"
time="2022-02-01T19:17:05.489Z" level=debug msg="Getting the template by name" base="*v1alpha1.Workflow (namespace=redacted,name=sparkly-rhino)" depth=0 tmpl="*v1alpha1.WorkflowStep (resource-create)"
time="2022-02-01T19:17:05.489Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=redacted,name=sparkly-rhino)" depth=0 tmpl="*v1alpha1.WorkflowStep (resource-create)"
time="2022-02-01T19:17:05.489Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=redacted,name=sparkly-rhino)" depth=0 tmpl="*v1alpha1.WorkflowStep (resource-create)"
time="2022-02-01T19:17:05.489Z" level=debug msg="Getting the template by name" base="*v1alpha1.Workflow (namespace=redacted,name=sparkly-rhino)" depth=0 tmpl="*v1alpha1.WorkflowStep (resource-create)"
time="2022-02-01T19:17:05.494Z" level=info msg="Get configmaps 404"
time="2022-02-01T19:17:05.494Z" level=warning msg="Non-transient error: configmaps \"artifact-repositories\" not found"
time="2022-02-01T19:17:05.494Z" level=info msg="resolved artifact repository" artifactRepositoryRef=default-artifact-repository
time="2022-02-01T19:17:05.494Z" level=info msg="Updated phase  -> Running" namespace=redacted workflow=sparkly-rhino
time="2022-02-01T19:17:05.494Z" level=debug msg="Evaluating node sparkly-rhino: template: *v1alpha1.WorkflowStep (resource-create), boundaryID: " namespace=redacted workflow=sparkly-rhino
time="2022-02-01T19:17:05.495Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=redacted,name=sparkly-rhino)" depth=0 tmpl="*v1alpha1.WorkflowStep (resource-create)"
time="2022-02-01T19:17:05.495Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=redacted,name=sparkly-rhino)" depth=0 tmpl="*v1alpha1.WorkflowStep (resource-create)"
time="2022-02-01T19:17:05.495Z" level=debug msg="Getting the template by name" base="*v1alpha1.Workflow (namespace=redacted,name=sparkly-rhino)" depth=0 tmpl="*v1alpha1.WorkflowStep (resource-create)"
time="2022-02-01T19:17:05.495Z" level=debug msg="Initializing node sparkly-rhino: template: *v1alpha1.WorkflowStep (resource-create), boundaryID: " namespace=redacted workflow=sparkly-rhino
time="2022-02-01T19:17:05.495Z" level=info msg="Pod node sparkly-rhino initialized Pending" namespace=redacted workflow=sparkly-rhino
time="2022-02-01T19:17:05.495Z" level=debug namespace=redacted needLocation=true workflow=sparkly-rhino
time="2022-02-01T19:17:05.495Z" level=debug msg="Event(v1.ObjectReference{Kind:\"Workflow\", Namespace:\"redacted\", Name:\"sparkly-rhino\", UID:\"15f9a220-e523-4923-9214-1c5a994f627c\", APIVersion:\"argoproj.io/v1alpha1\", ResourceVersion:\"473589948\", FieldPath:\"\"}): type: 'Normal' reason: 'WorkflowRunning' Workflow Running"
time="2022-02-01T19:17:05.496Z" level=debug msg="Creating Pod: sparkly-rhino (sparkly-rhino)" namespace=redacted workflow=sparkly-rhino
time="2022-02-01T19:17:05.499Z" level=debug msg="received config map kube-system/eks-certificates-controller update"
time="2022-02-01T19:17:05.506Z" level=info msg="Create events 201"
time="2022-02-01T19:17:05.522Z" level=info msg="Create pods 422"
time="2022-02-01T19:17:05.522Z" level=warning msg="Non-transient error: Pod \"sparkly-rhino\" is invalid: spec.containers[0].image: Required value"
time="2022-02-01T19:17:05.522Z" level=info msg="Failed to create pod sparkly-rhino (sparkly-rhino): Pod \"sparkly-rhino\" is invalid: spec.containers[0].image: Required value" namespace=redacted workflow=sparkly-rhino
time="2022-02-01T19:17:05.523Z" level=warning msg="Non-transient error: Pod \"sparkly-rhino\" is invalid: spec.containers[0].image: Required value"
time="2022-02-01T19:17:05.523Z" level=error msg="Mark error node" error="Pod \"sparkly-rhino\" is invalid: spec.containers[0].image: Required value" namespace=redacted nodeName=sparkly-rhino workflow=sparkly-rhino
time="2022-02-01T19:17:05.523Z" level=info msg="node sparkly-rhino phase Pending -> Error" namespace=redacted workflow=sparkly-rhino
time="2022-02-01T19:17:05.523Z" level=info msg="node sparkly-rhino message: Pod \"sparkly-rhino\" is invalid: spec.containers[0].image: Required value" namespace=redacted workflow=sparkly-rhino
time="2022-02-01T19:17:05.523Z" level=info msg="node sparkly-rhino finished: 2022-02-01 19:17:05.523060324 +0000 UTC" namespace=redacted workflow=sparkly-rhino
time="2022-02-01T19:17:05.523Z" level=error msg="error in entry template execution" error="Pod \"sparkly-rhino\" is invalid: spec.containers[0].image: Required value" namespace=redacted workflow=sparkly-rhino
time="2022-02-01T19:17:05.523Z" level=warning msg="Non-transient error: Pod \"sparkly-rhino\" is invalid: spec.containers[0].image: Required value"
time="2022-02-01T19:17:05.523Z" level=info msg="Updated phase Running -> Error" namespace=redacted workflow=sparkly-rhino
time="2022-02-01T19:17:05.523Z" level=info msg="Updated message  -> error in entry template execution: Pod \"sparkly-rhino\" is invalid: spec.containers[0].image: Required value" namespace=redacted workflow=sparkly-rhino
time="2022-02-01T19:17:05.523Z" level=info msg="Marking workflow completed" namespace=redacted workflow=sparkly-rhino
time="2022-02-01T19:17:05.523Z" level=info msg="Checking daemoned children of " namespace=redacted workflow=sparkly-rhino
time="2022-02-01T19:17:05.523Z" level=debug msg="Event(v1.ObjectReference{Kind:\"Workflow\", Namespace:\"redacted\", Name:\"sparkly-rhino\", UID:\"15f9a220-e523-4923-9214-1c5a994f627c\", APIVersion:\"argoproj.io/v1alpha1\", ResourceVersion:\"473589948\", FieldPath:\"\"}): type: 'Warning' reason: 'WorkflowFailed' error in entry template execution: Pod \"sparkly-rhino\" is invalid: spec.containers[0].image: Required value"
time="2022-02-01T19:17:05.524Z" level=debug msg="Log changes patch: {\"metadata\":{\"annotations\":{\"workflows.argoproj.io/pod-name-format\":\"v1\"},\"labels\":{\"workflows.argoproj.io/completed\":\"true\",\"workflows.argoproj.io/phase\":\"Error\"}},\"status\":{\"artifactRepositoryRef\":{\"artifactRepository\":{\"archiveLogs\":true,\"s3\":{\"accessKeySecret\":{\"key\":\"accesskey\",\"name\":\"argo-secrets\"},\"bucket\":\"redacted-my-bucket-name\",\"endpoint\":\"s3.amazonaws.com\",\"insecure\":false,\"keyFormat\":\"artifacts/{{workflow.name}}/{{pod.name}}\",\"region\":\"eu-west-1\",\"secretKeySecret\":{\"key\":\"secretkey\",\"name\":\"argo-secrets\"}}},\"default\":true},\"conditions\":[{\"status\":\"True\",\"type\":\"Completed\"}],\"finishedAt\":\"2022-02-01T19:17:05Z\",\"message\":\"error in entry template execution: Pod \\\"sparkly-rhino\\\" is invalid: spec.containers[0].image: Required value\",\"nodes\":{\"sparkly-rhino\":{\"displayName\":\"sparkly-rhino\",\"finishedAt\":\"2022-02-01T19:17:05Z\",\"id\":\"sparkly-rhino\",\"message\":\"Pod \\\"sparkly-rhino\\\" is invalid: spec.containers[0].image: Required value\",\"name\":\"sparkly-rhino\",\"phase\":\"Error\",\"startedAt\":\"2022-02-01T19:17:05Z\",\"templateName\":\"resource-create\",\"templateScope\":\"local/sparkly-rhino\",\"type\":\"Pod\"}},\"phase\":\"Error\",\"startedAt\":\"2022-02-01T19:17:05Z\"}}"
time="2022-02-01T19:17:05.528Z" level=info msg="Create events 201"
time="2022-02-01T19:17:05.542Z" level=info msg="Update workflows 200"
time="2022-02-01T19:17:05.542Z" level=info msg="Workflow update successful" namespace=redacted phase=Error resourceVersion=473589952 workflow=sparkly-rhino
time="2022-02-01T19:17:05.542Z" level=debug msg="Event(v1.ObjectReference{Kind:\"Workflow\", Namespace:\"redacted\", Name:\"sparkly-rhino\", UID:\"15f9a220-e523-4923-9214-1c5a994f627c\", APIVersion:\"argoproj.io/v1alpha1\", ResourceVersion:\"473589952\", FieldPath:\"\"}): type: 'Normal' reason: 'WorkflowNodeRunning' Running node sparkly-rhino: Pod \"sparkly-rhino\" is invalid: spec.containers[0].image: Required value"
time="2022-02-01T19:17:05.542Z" level=debug msg="Event(v1.ObjectReference{Kind:\"Workflow\", Namespace:\"redacted\", Name:\"sparkly-rhino\", UID:\"15f9a220-e523-4923-9214-1c5a994f627c\", APIVersion:\"argoproj.io/v1alpha1\", ResourceVersion:\"473589952\", FieldPath:\"\"}): type: 'Warning' reason: 'WorkflowNodeError' Error node sparkly-rhino: Pod \"sparkly-rhino\" is invalid: spec.containers[0].image: Required value"
time="2022-02-01T19:17:05.549Z" level=info msg="Create events 201"
time="2022-02-01T19:17:05.554Z" level=info msg="Create events 201"

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

This behaviour seems correct to me. You don't need to use podSpecPatch to patch wait container resources. Instead, you can set this it in configmaps/workflow-controller-configmap.

@dmegyesi This is expected behavior.  I  think rescource  template doesn't have wait container. Can you  remove  wait container resource request from podpatch?

I found fix for this:
executor: |
      resources:
        requests:
          cpu: "100m"
          memory: "128Mi"
        limits:
          cpu: "100m"
          memory: "128Mi"


Remove cmdline tool?

I feel that the mach-nix cmdline tool doesn't add significant value over just copy pasting the nix expression from the readme and continue from there.
The cmdline tool also adds maintenance overhead and complexity to the project because it implements it's own dependency locking mechanism which is totally unnecessary given the upcoming flakes feature.
I feel it is a bit similar to the discussion about if nix-env should better be removed from nix.
Having an imperative wrapper for a purely declarative system seems like the simpler way to start for inexperienced users, but eventually leads them to a dead end where limitations kick in, potentially triggering frustration resulting in rejection of the tool/ecosystem.
The way I see it, all the functionality of the cmdline tool can fully be replaced by flakes + flake template.
It could be argued that flakes isn't stable yet, but still I think it's a much better choice than our custom solution
Any thoughts?
@tomberek @tomprince @InLaw

we've been trying to improve the https://github.com/NixOS/templates and https://github.com/nix-community/templates/ so a mach-nix example in those would be a good start.

"purely declarative system" - well, in general  python is <100% pure in nixos (depending on the packages ..), right? [nevertheless the aim is right]
examples like tex-live or vscode-fhs show that 100% pure is (temporarily) not always a "perfect solution" for the daily business?

(currently I don't use mach-nix extensively (and not jet in flakes context)..  time restrictions .. )
I mainly use the cli for ad-hoc validations - there it is very handy

such a simple way appear to me like a good and very low hurdle to get a first impression of what the tool is doing and to get started for anyone (though I think that the mach-nix is not yet arrived outside the nix environment so that those people get aware of it)


[vue][sims-#1367] UI updates for Institution Account Part 2 of 2 - PR part 2 :)

form definition
formio modal form to vue forms
some style changes and css
code smell due to TODO
screenshots

Nice work @ann-aot . Added some comments.


Link to the right PDFs in the 2019 program page.

Currently,
All papers linked in the 2019 program page (https://music-encoding.org/conference/2019/program/) throw a 404.
For example:

https://music-encoding.org/conference/2019/abstracts_mec2019/VienneseBallet.pdf
https://music-encoding.org/conference/2019/abstracts_mec2019/MEC SIMSSA DB.pdf
https://music-encoding.org/conference/2019/abstracts_mec2019/WEIGL-MEC-TROMPA.pdf

The subfolder _conferences/2019/abstracts_mec2019 is completely ignored in the Jekyll build as a subfolder, but all files included in the subfolder are moved to the root level. As it turns out, this is by purpose due to Jekylls blog-oriented structure, and they are not going to change it: https://github.com/jekyll/jekyll/issues/881
Some possible solutions are mentioned in the issue, and also here: https://stackoverflow.com/questions/10363812/local-post-assets-with-jekyll/35270428#35270428
The proposed solutions would require quite some refactoring of the folder structure.
One quick solution could be to move abstracts to downloads folder and get it from there.
@bwbohl what do you think?

After some investigation, I moved abstracts from build folder _conferences to existing static folder conference (cf. PR).

wouldn't it work with the asset plugin mentioned above?

Maybe, but so it works without plugins ;)


Replace ^ (xor) on bools with != and ==.

Just a tiny refactoring for readability and concision.

I agree, this is better. Thanks!


Docker compose changes needed for Postgres

Updates docker compose and adds a postgres container and the necessary environment settings

@andrewmil change looks good 👍


provisioning package during first-run

could you clarify which configurations are applicable during the first-run setup with the current image version for Surface HUB? can we for example apply Azure AD configuration?
thank you

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

ID: 5bf0f0af-2ca4-8705-fa1a-4fa34fff0d99
Version Independent ID: 75dd473c-f64d-bb3c-67ac-60831e397395
Content: Create provisioning packages (Surface Hub)
Content Source: devices/surface-hub/provisioning-packages-for-surface-hub.md
Product: surface-hub
GitHub Login: @jdeckerMS
Microsoft Alias: jdecker

@sccmfan Good question, the topic isn't very clear on that, is it?
Under "Apply a provisioning package during first run", there's an "important" note that says "Only use provisioning packages to install certificates during first run. Use the Settings app to install apps and apply other settings."
What that means (and I'll be rewriting the note to be clearer), is that a provisioning package that you apply during first-run can only contain client certificates. For any other settings, you need to complete first-run setup first, and then you can apply a provisioning package through the Settings app for other configurations and settings.


The link of "Configuring Elemental Live" on this page is broken

On the page of https://docs.microsoft.com/en-us/azure/media-services/previous/media-services-live-encoders-overview, The link of "Configuring Elemental Live" is broken.

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

ID: b68caefb-7103-60a7-e01c-036300e24933
Version Independent ID: e50db82c-4c0e-a260-66c7-d080493a0f68
Content: Configure on-premises encoders when using Azure Media Services to create multi-bitrate streams
Content Source: articles/media-services/previous/media-services-live-encoders-overview.md
Service: media-services
GitHub Login: @Juliako
Microsoft Alias: juliako

@meishanli Thanks for the feedback! We are currently investigating and will update you shortly.

Hi @meishanli Thank you for reporting this! We have validated & assigned this issue to the author to investigate further and take the right course of action.

I removed the link for now

#please-close

@meishanli We will now close this issue. If there are further questions regarding this matter, please reply to @femsulu and we will gladly continue the discussion.


Timeline trouble: in P12S P2, but alway show P1 timeline

My FFXIV's launcher language is JP
ACT is JP too
Version <IP_ADDRESS> was still working fine. After updating to <IP_ADDRESS> and up to the present, the timeline has consistently been at p1
So currently, P2 is also unable to report the mechanism, but P1 is functioning normally
I don't know why

There are two possible ways for the timeline to sync to P2.
The first is a sync on an AddCombatant line, e.g.:
03|2023-11-02T22:44:55.8160000-04:00|400072A7|Hemitheos|00|5A|0000|00||12383|16182|69200|69200|10000|10000|||99.89|90.48|0.00|0.00|beb4d039d5e29797

See:
https://github.com/quisquous/cactbot/blob/c3214ca7bd959bbd35074c9c6a5a3c88fc05002c/ui/raidboss/data/06-ew/raid/p12s.txt#L14
The second is via the first Ultima cast, e.g.:
20|2023-11-02T22:45:02.2530000-04:00|40006F33|Pallas Athena|8682|Ultima|40006F33|Pallas Athena|4.700|100.00|80.00|0.00|0.00|7b336c9bfa800e35

See:
https://github.com/quisquous/cactbot/blob/c3214ca7bd959bbd35074c9c6a5a3c88fc05002c/ui/raidboss/data/06-ew/raid/p12s.txt#L117
Can you ensure that one or both of those lines are present in your network log file? Pallas Athena should also match an actor name of パラスアテナ, and Hemitheos should also match an actor name of ヘーミテオス.

There are two possible ways for the timeline to sync to P2.
The first is a sync on an AddCombatant line, e.g.:
03|2023-11-02T22:44:55.8160000-04:00|400072A7|Hemitheos|00|5A|0000|00||12383|16182|69200|69200|10000|10000|||99.89|90.48|0.00|0.00|beb4d039d5e29797

See:
https://github.com/quisquous/cactbot/blob/c3214ca7bd959bbd35074c9c6a5a3c88fc05002c/ui/raidboss/data/06-ew/raid/p12s.txt#L14
The second is via the first Ultima cast, e.g.:
20|2023-11-02T22:45:02.2530000-04:00|40006F33|Pallas Athena|8682|Ultima|40006F33|Pallas Athena|4.700|100.00|80.00|0.00|0.00|7b336c9bfa800e35

See:
https://github.com/quisquous/cactbot/blob/c3214ca7bd959bbd35074c9c6a5a3c88fc05002c/ui/raidboss/data/06-ew/raid/p12s.txt#L117
Can you ensure that one or both of those lines are present in your network log file? Pallas Athena should also match an actor name of パラスアテナ, and Hemitheos should also match an actor name of ヘーミテオス.

I apologize for the inconvenience, I have a hard time following the text due to technical difficulties, is there a simple way to resolve this or a guide that I can follow?

Can you upload a Network log of this fight? https://github.com/quisquous/cactbot/blob/main/docs/FAQ-Troubleshooting.md#how-to-find-a-network-log

Can you upload a Network log of this fight? https://github.com/quisquous/cactbot/blob/main/docs/FAQ-Troubleshooting.md#how-to-find-a-network-log

Network_26906_20231110.zip
here ! thanks !

Hmm, the actor name is missing entirely, and there's no 03 add line for the Hemitheos actors at all (Add/Change/Remove events for 261 lines are still present, so FFXIV_ACT_Plugin must be filtering those out for some reason? Hemitheos/ヘーミテオス BNpcNameID = 305F)
261|2023-11-10T02:56:32.0180000+08:00|Add|40012DC9|BNpcID|3F36|BNpcNameID|305F|CastTargetID|E0000000|CurrentMP|10000|CurrentWorldID|65535|Heading|0.0000|Level|90|MaxHP|69200|MaxMP|10000|ModelStatus|18432|NPCTargetID|E0000000|PosX|99.8923|PosY|90.4813|Radius|1.7000|Type|2|WorldID|65535|18f5af070ded9d90
Regex search for `^0[34]\|.*40012DC9` shows no hits

Same thing for actor ID 40012D52, which is the main Pallas Athena/パラスアテナ actor for that pull, e.g. the one all the players are hitting. No 03 or 04 lines for the actor, and the Name field is never set in game memory according to 261 lines, so any 20/21/22 lines involving the actor have a blank name field.
I'm not sure on this one, really looks like a weird interaction in the actual game client or something. Dalamud is present, as indicated by Sonar and Orchestrion plugin chat lines, so maybe it's an issue with a Dalamud/XIVLauncher plugin? I don't see the normal list of XL plugins dumped to echo chat though, so I'm not sure what other plugins may be present.
(I'd also expect a log like this to be rejected from FFLogs due to missing 03/04 lines and missing non-player combatant names, though I'm not 100% sure how sensitive their algorithms are to that)

Yeah, agreed, this seems like either some Dalamud plugin is interfering, an FFXIV Plugin bug, or some weird game interaction.
Does this always happen, or was this a one-time thing? Do you know other people this is happening to? If this is happening every time, it might be worth trying without Dalamud as an experiment to at least rule one possibility out.

(for further context here, the server itself sends JP lang names to all clients regardless of the client's region/language settings as part of the SpawnNPC packet, and that should theoretically get loaded directly into the actor struct in memory before any BNpcNameID language translation override happens, so I'm really not sure how/why this could happen)

well... if the issue is related to Dalamud, it's strange when only P12S is affected. I did install Sonar and Orchestrion, but the timeline was functioning normally before.

I guess the other thing you could do is next time you are there use the (DEBUG) Log all Network Packets option in the ffxiv plugin, and upload another log and we could investigate further.


Context Menu Not working in IE11

When i am selecting the option from context menu like Insert Row, Insert Column or anything, nothing is happening in the grid in IE11, however same code is working in Chrome

a) I have opened: https://bossanova.uk/jexcel/v4/
b) Right click in any cell. It seems to be working fine for me.

Hi Paul,
Context menu opens whenever clicked on any cell perfectly in IE as well, however it does not perform the selected action.

a) I have opened: https://bossanova.uk/jexcel/v4/
b) Right click in any cell. It seems to be working fine for me.

Context menu opens whenever clicked on any cell perfectly in IE as well, however it does not perform the selected action.

I am able to perform the actions. Not sure what happened on your side. Are you trying that on your environment or the website?

Could you please share an working example where on selecting an item from the context menu the desired action is performed like insert row, because on click of the item it is not firing the on click event. So if you could provide an working example where the on click event is triggered in IE 11 would be really helpful.

I have just tried the same URL, sorry but it is not working on IE 11 for me. I have tried on couple of machines. When i have selected the insert new row before option nothing is happening

Yes, just test it again, and seems to be working fine on our side.

Sorry, but without more information, there is not much we can do. I would suggest you update your browser to a more recent one considering Microsoft deprecated IE and the support is no longer provide.

i am using the below version of IE

As you could see in the background i was suing the same URL which you have provided (Import-data one) . It is not even working on that

Hi
I have just copied the code from the above mentioned URL, the code is as follows -

This is not working IE11

Hi Paul,
I need your help mate, we are performing actions on selection of the context menu items.
Context menu is opening in the Internet Explorer, however we are unable to get the action triggered in IE, the same is working in Chrome.
Could you please help us in this.
Regards,
Roman Jain
From: Paul Hodel<EMAIL_ADDRESS>Sent: Tuesday, October 27, 2020 7:47 PM
To: paulhodel/jexcel<EMAIL_ADDRESS>Cc: Jain, Roman<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [paulhodel/jexcel] Context Menu Not working in IE11 (#1205)
I have just tested
https://bossanova.uk/jexcel/v4/examples/import-data
It is including executing all options from the contextMenu. Not sure what happens on your side. Any error in the console?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/paulhodel/jexcel/issues/1205#issuecomment-717274855, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARQ5NHN2YA6NMXTBDGWY3HDSM3I5PANCNFSM4TAN32XA.

This e-mail, including any attachments that accompany it, may contain information that is confidential or privileged. This e-mail is intended solely for the use of the individual(s) to whom it was intended to be addressed. If you have received this e-mail and are not an intended recipient, any disclosure, distribution, copying or other use or retention of this email or information contained within it are prohibited. If you have received this email in error, please immediately reply to the sender via e-mail and also permanently delete all copies of the original message together with any of its attachments from your computer or device.


Upgrade the thrift version to latest open source one

Currently heron uses a thrift 0.5.1 only available in at maven.twttr.com. We should upgrade it to the latest open source one available from Maven Central Repository.
Referenced: #832

Twitter's environment is based on old version of thrift, please make sure the upgrade doesn't break our internal users before merge it.


http://django-userena.org not working

It seems that http://django-userena.org URL is not pointing to a page of django-userena ...

It's a duplicate of #457


Added guru-ce entry

Added guru-ce entry at Latam user groups :-)

@lucazz Thanks for adding the Ceará group. Welcome. Cheers.

:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:


Bump tf to version 1.0

Updates tests to use Terraform 1.0.

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement
Learn more about why HashiCorp requires a CLA and what the CLA includes
Have you signed the CLA already but the status is still pending? Recheck it.

Kicking off build prior to merge

Ah looks like somehow the circleci config got broken along the way 🤦 . Can you update to remove the nightly trigger workflow?

Done. Mind triggering the tests again?

Oh, whoops! Fixed.

Looks like the build is going now!

Thank you! 🙏


RFC: Module to Sign Requests

Is this related to an existing feature request or issue?
https://github.com/aws-powertools/powertools-lambda-python/pull/2435
Which Powertools for AWS Lambda (Python) utility does this relate to?
Other
Summary
A new submodule would be used for signing requests.
Use case
Initially, my use case was for signing requests with SigV4 to talk to an endpoint that is using IAM policies in VPC Lattice.
Proposal
Started to create a new submodule in PowerTools to sign requests to endpoint and services that require SigV4 or IAM auth.  I wanted to try and make the signing process easier since it's not always intuitive or easy.
Out of scope
Not sure at this point.
Potential challenges
The issue was raised that maybe this module might also be used for other things that include requesting JWT tokens and possibly doing other forms of auth in the future.
Dependencies and Integrations
No response
Alternative solutions
No response
Acknowledgment

[X] This feature request meets Powertools for AWS Lambda (Python) Tenets
[X] Should this be considered in other Powertools for AWS Lambda languages? i.e. Java, TypeScript, and .NET

hey @stephenbawks thanks a lot for creating the RFC so we can spend more time in the design -- for reference, this is how we typically triage RFCs along with some good ones.
Firstly, we definitely want to do this. It's a common pain point for everyone.
At face value, the RFC doesn't tell us much. Within a RFC, we need to have a good grasp of trade-offs, the developer experience, and factors we took into consideration to get to this proposal.
For example, this RFC can be improved by answering the following questions:

What are the differences or gaps between SigV4Auth and the well-known aws-requests-auth library?
Does the design take into account future extension to other Auth mechanisms? e.g., JWT, bring your own
How does the experience look like from the customer point of view?

As a customer, I'd like to sign a HTTP request to send to an Amazon API Gateway endpoint (or VPC Lattice, AppSync etc)
As a customer, I'd like to sign a HTTP request using my temporary credentials
As a customer, I don't always remember the correct AWS service endpoint/name to sign my request (hint: Enum)
As a customer, I'd like to only provide the absolutely minimum information necessary to get my request signed
As a customer, I'd like to sign a HTTP request to an endpoint in a separate region

Let us know if you need help and we're happy to co-author.
Thank you!

I will add some additional details and thoughts.

@heitorlessa
Just making sure I am on the same page, as of today the aws-requests-auth library is not in Powertools correct?


Font - Default Font Family

We force the user at the moment to pick a font via fontFamily. If a fontFamily is not specified, you get a crash with this exception:
- Loading font:
Fatal error: exception Fontkit.FontKitLoadFaceException("[ERROR]: Unable to load font at FT_New_Face\n")

This is pretty rough - we should pick out a default font family if none is specified. I think that the Roboto-Regular.ttf that we already bundle, and use in several examples, would be an OK default.
Does anyone have any thoughts / pereferences on this?

My only suggestion would be around payload size in the jsoo builds, in order to try to keep the web bundles small in the future. We could pick a custom font with a small subset of glyphs, or even better, choose a font that is available in browsers by default. In the last case, we could make it so reason-fontkit doesn't even try to load anything because it knows that function is already provided by the browser 🤔

Maybe related: https://parall.ax/blog/view/3072/tutorial-reducing-the-file-size-of-custom-web-fonts

More up to date error when no fontFamily is provided in Text style:
Fatal error: exception (Invalid_argument "\"\": invalid path")
Raised at file "stdlib.ml", line 30, characters 20-45
Called from file "src/Path.re", line 20, characters 14-26
Called from file "src/Core/Environment.re", line 87, characters 6-30
Called from file "src/Font/FontCache.re", line 29, characters 22-56
Called from file "src/Draw/Text.re", line 10, characters 9-37
Called from file "src/Draw/Text.re" (inlined), line 18, characters 16-59
Called from file "src/UI/TextNode.re", line 145, characters 20-66
Called from file "src/lib/LayoutSupport.re", line 1303, characters 10-85
Called from file "src/lib/Layout.re", line 281, characters 6-192
Called from file "src/lib/Layout.re", line 456, characters 8-264
Called from file "src/lib/Layout.re", line 759, characters 17-684
Called from file "src/lib/Layout.re", line 281, characters 6-192
Called from file "src/lib/Layout.re", line 456, characters 8-264
Called from file "src/lib/Layout.re", line 759, characters 17-684
Called from file "src/lib/Layout.re", line 281, characters 6-192
Called from file "src/lib/Layout.re", line 557, characters 6-198
Called from file "src/lib/Layout.re", line 1554, characters 12-205
Called from file "src/lib/Layout.re", line 281, characters 6-192
Called from file "src/lib/Layout.re", line 1613, characters 7-213
Called from file "src/UI/Render.re", line 51, characters 2-45
Called from file "src/Core/Window.re", line 293, characters 2-12
Called from file "list.ml", line 110, characters 12-15
Called from file "src/Core/App.re", line 226, characters 6-123
Called from file "src/sdl2.re", line 587, characters 10-20

Fixed by #879


Use service account token if available

Service account tokens are mounted at a known location (/var/run/secrets/kubernetes.io/servicaccount/token). If no auth method is provided & this file exists then we should use the content of this file as the bearer token.

I have a fix for this in my fork but needs #92 merging first.


Set up GTFS ingestion

GTFS ingestion will kill many birds with one stone as far as open issues go.

It will help us start on this: https://github.com/facklambda/bust/issues/2
GTFS is the standard. https://github.com/facklambda/bust/issues/4
gtfs-structure does handle the fetching of the .zip via url https://github.com/facklambda/bust/issues/5

merged into development with feature/8 branch


Improve issue template

Fix link to bug-reports page. Also, hint at how to get the flutter
version.

@chinmaygarde

lgtm


chore: build fix

PR summary
fix for build failure on samantic release
Fixes: https://github.ibm.com/Notification-Hub/planning/issues/13028
https://github.ibm.com/Notification-Hub/planning/issues/13037
https://github.ibm.com/Notification-Hub/planning/issues/13639
PR Checklist
Please make sure that your PR fulfills the following requirements:

[ ] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[x] Build/CI related changes
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?
semantic release version was updated by mistake hence minimum required node version is 20.
What is the new behavior?
in order to give release on and support node 18 reverted back the changes of semantic release package update
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Feature request: support for PDBQT

Hi @lmiq, thank you for writing this package.
I am wondering whether there will be support for PDBQT files, which are widely used in docking.
See https://autodock.scripps.edu/wp-content/uploads/sites/56/2021/10/AutoDock4.2.6_UserGuide.pdf (Page 28)

PDBTools only read the atom data from the file (not the headers), and in that sense it seems very similar. What exactly do you need to read from those fields?
Do you have an example file to share? Does the current readPDB fails when reading it or it just ignores some fields you would need to read?

It adds two custom fields, which can be easily handled.
It also adds a tree structure description of rotatable bonds, which conflicts with the current design of PDBTools (parse .pdb files as Vector{Atom}.

Custom fields is something that could be a nice addition, I can think about adding something like that.
The connectivity (or rotatable bonds) I would rather read in another structure. A reader of this kind of file could return a different data structure containing all the information. Something like:
struct PDBQTData
     atoms::Vector{PDBTools.Atom}
     rotatable_angles::SomethingAdequate
end

We can keep this open, although sincerely I don't have much time now to implement these features.


Rails 6.1 v2

Summary
This builds upon the work that Luke did in #7 but addresses some under-the-hood changes to ActiveRecord that took place between Rails 6.0 and Rails 6.1. It also moves CI from Travis (not running anymore without a config update) to GHA (which is free for open-source projects like this). 🙂
Closes #7

It doesn't look like I can request a review, but would you mind giving it a look when you get the chance, @boblail? 🙂

Thanks for taking a look, @boblail. I updated the version check to be a little more elegant, per your suggestion.
This would be intended to supersede #7, as it makes a few additional changes to ensure the gem is Rails 6.1+ ready.


Ignore unneccessary files from being downloaded by packagist

I was wondering how to do that the other day. Thank you very much !


ui-router redirection creates additional history

When hitting back on the browser, we backtrace any ui-router redirections, especially annoying for Settings and Search pages

Resolved pre-2.3


Many-to-Many joins no longer work

This test fails now:
https://github.com/v0dro/daru/commit/760fb19d5e65e1e4231777fdb18f8fd4284b6e79#diff-9a856a5cbb8265463fa1bb64f02258e1L33

@zverok

Yeah, I see :( Sorry, guys, I'll fix today or tomorrow.


Nguyen

glhf

This looks great!
Did you run all the tests for the project?
I ran this branch locally and manually tested http and tRPC modules and both are working but didn't test graphQL, WebSocket, or gRPC.
It'd be most user-friendly if the request window resized based on contents so users didn't have to scroll to see the request object. Also, let's remove the console.log for prod.


Fix for tabs breaking when there's no associated content to a tab

Proposed changes

Tabs currently break if there's not a matching content div found by this line because the check here is looking against undefined, whereas an empty jquery-like wrapper is returned when it can't find anything.
I propose changing the check so it no longer fails with a "cannot read property style of undefined" error by properly checking if the selector is empty or now.
This is useful when you want to use the tabs component but aren't relying on the tabs themselves to manage showing/hiding the content- which I'm doing in another app that wraps Materialize in Preact.
Types of changes

[x] Bug fix (non-breaking change which fixes an issue).
[ ] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to change).

Checklist:

[x] I have read the CONTRIBUTING document.
[x] All new and existing tests passed.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.

Fixed in 66869208.
Thanks for catching this! I used .length instead as a personal preference and also added a test for this case.


get_raw_records with polymorphic associations

Currently I have hit a snag with implementing my has_many :through polymorphic models with the datatables.
I have been able to create two separate queries that work with the associations individually.
Subject and Organisation are polymorphic derivatives of each other, and belong to the Entry model.
def get_raw_records

Entry
    .joins( "INNER JOIN `subjects` ON `entries`.`entity_id` = `subjects`.`id`" )
    .where( entries: { entity_type: 'Subject' } )

Entry
    .joins( "INNER JOIN `organisations` ON `entries`.`entity_id` = `organisations`.`id`" )
    .where( entries: { entity_type: 'Organisation' } )

The issue I am having is I need to combine these two rails queries into a single query, and not having extensive experience with directly writing MySQL queries, I have hit a roadblock on this.

I have changed the query to:
Entry.joins("LEFT OUTER JOIN `subjects` ON `entries`.`entity_id` = `subjects`.`id` LEFT OUTER JOIN `organisations` ON `entries`.`entity_id` = `organisations`.`id`")

This enables full sorting/searching on the Subject model, but the Organization model is un-searchable/sortable.

@Exanimous I am not sure what exactly you want.
but I thing you have to use aliasing when joining table. something like this:
Entry.joins("
  LEFT OUTER JOIN `subjects` AS `s` ON `entries`.`entity_id` = `s`.`id`
  LEFT OUTER JOIN `organisations` AS `o`  ON `entries`.`entity_id` = `o`.`id`
").order('o.title DESC').order('s.title DESC')

?

I was able to solve this by the following:
Entry.includes(:subject, :organisation).references(:subject, :organisation).distinct

The trick was to modify my entry model association declaration as follows to ensure my Entry model can directly pick up on the subject/organisation polymorphic associations.
belongs_to :subject, -> { where(entries: {entity_type: 'Subject'}) }, foreign_key: 'entity_id'
belongs_to :organisation, -> { where(entries: {entity_type: 'Organisation'}) }, foreign_key: 'entity_id'

@Exanimous would you like to contribute this to the README?


Fix Countdown Timer Bug and Improve Display

When users reload the page, the countdown timer resets to 14hr 00min 00sec, causing confusion and an unresponsive feel.
Additionally, there is no indication of deal completion when the countdown timer reaches zero, leaving users uncertain about the deal's status.

To address this issue and enhance user engagement, we need to implement solutions that ensure the countdown timer remains consistent upon page reload and display "Deal Expired" appropriately.
Moreover, we aim to introduce an element of randomness in the countdown timer's starting time, providing an exciting and fair experience for our users.
To ensure that the countdown time remains consistent across page refreshes and continues with the old time, we can store the countdown time in local storage.
I would like to work on this issue can you please assign me?

ya sure you can work on it, good luck


Example for using with point clouds

Could you share an example of how to run this against a pair of point clouds?  Like from a ply or obj file or something? The examples just show making a random array and using that as the source.
Thanks!

Hi @esteimle, thanks for your interest. Are you interested in a C++ example or a Python example?

Hi, thanks for writing back.  I'm interested in C++ example if possible.  I have some 3d point clouds I captured with my device from different angles and I want to learn how to combine them into one model.  I read your documentation saying I should first use 3Dsmooth net to get correspondances, so I'm going to try to learn about how to do that today. Then I hope to use teaser to combine the point clouds into one complete model.   I also tried to make my own sample program based off of your tests in c++ but I don't have the linking right yet for the build :)

@esteimle please take a look at PR #20 . New examples are added in the examples/ folder. Let me know if you have any suggestions for improvements!

Great thank you!
On Wed, Apr 1, 2020 at 6:05 PM Jingnan Shi<EMAIL_ADDRESS>wrote:

@esteimle https://github.com/esteimle please take a look at PR #20
https://github.com/MIT-SPARK/TEASER-plusplus/pull/20 . New examples are
added in the examples/ folder. Let me know if you have any suggestions
for improvements!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MIT-SPARK/TEASER-plusplus/issues/15#issuecomment-607513251,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJMFVAV262MIK73U2YVJEFDRKO3EFANCNFSM4LNMMSGA
.

Merged #20 . Closing issue now.


fix: Mobile menu with baseurl set

Fixes #20

@kalehmann Amazing explanation in the issue, thanks so much for the fix!


chromium: 58.0.3029.110 -> 59.0.3071.86

Motivation for this change
https://chromereleases.googleblog.com/2017/06/stable-channel-update-for-desktop.html
Things done

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

[X] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

There are a lot of no space left on device error messages on the build agent, I don't think the errors are very meaningful. In fact I'm typing this in the version of chromium 59 that I built yesterday using nix-env -i chromium -f ~/nixos/nixpkgs.

Thanks! I'm doing a test build now.

Pick to release as well?

Esp CVE-2017-5071: Out of bounds read in V8.
and CVE-2017-5072: Address spoofing in Omnibox. sound kind of scary.

google-chrome crashes whenever I try to save a PDF (e.g. go to http://www.pdf995.com/samples/pdf.pdf and press Ctrl+S). Are you sure that the other changes -- aside from just changing the upstream urls/shas -- are correct? I'll try to bisect when I get a chance.

Correction: anything that would cause a save dialogue to open causes the browser to crash, not just pdfs.

Just tested this on my end: can confirm trying to save any file results in a crash. This is happening with the chromium package, in my case

Yeah, happens across all flavors (dev, stable, unstable) of chrome and chromium.
More info, for better repro:

google-chrome-stable 58.0.3029.110 works just fine (from 46a2da876637f2be)
This commit (74fd4de9567) cherry-picked on top of the latest nixos-unstable (0011f9065a) crashes

Text selection does not work after this update.
Precisely, it kind of works but the background of selected text does not change so the selection is not visible.

chrome prints this on stderr before crashing:
(google-chrome:13350): GLib-GIO-ERROR **: No GSettings schemas are installed on the system

I presume the crash is because of one of these possibilities:

chrome 59 requires a new gtk package
the chrome 59 processes somehow lose important env vars (e.g. GTK_DATA_PREFIX), compared to chrome 58

Here's the relevant bits from strace:
[pid 16960] open("/run/current-system/sw/share/glib-2.0/schemas/gschemas.compiled", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 16960] open("/nix/var/nix/profiles/default/share/glib-2.0/schemas/gschemas.compiled", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 16960] open("/home/cstrahan/.nix-profile/share/glib-2.0/schemas/gschemas.compiled", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 16960] open("/etc/per-user-pkgs/cstrahan/share/glib-2.0/schemas/gschemas.compiled", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 16960] open("/run/opengl-driver-32/share/glib-2.0/schemas/gschemas.compiled", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 16960] open("/run/opengl-driver/share/glib-2.0/schemas/gschemas.compiled", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 16960] futex(0x7f03a6a64e08, FUTEX_WAKE_PRIVATE,<PHONE_NUMBER>) = 0
[pid 16960] getpeername(2, 0x7ffe58beb9e0, [128]) = -1 ENOTSOCK (Socket operation on non-socket)
[pid 16960] futex(0x7f03a6a64e08, FUTEX_WAKE_PRIVATE,<PHONE_NUMBER>) = 0
[pid 16960] ioctl(2, TCGETS, 0x7ffe58beb9d0) = -1 ENOTTY (Inappropriate ioctl for device)
[pid 16960] getpid()                    = 16960
[pid 16960] write(2, "\n(google-chrome:16960): GLib-GIO"..., 92 <unfinished ...>
[pid 16966] <... read resumed> "\n(google-chrome:16960): GLib-GIO"..., 131072) = 92
[pid 16966] write(1, "\n(google-chrome:16960): GLib-GIO"..., 92

I think we might need to do something like what was done to resolve issue https://github.com/NixOS/nixpkgs/issues/16521 in commit https://github.com/NixOS/nixpkgs/commit/5228bc9f2e2a7e85a1ec433e6a0ea4eda40bd5e4.

This fixes google-chrome, but I still need to test chromium:
diff --git a/pkgs/applications/networking/browsers/chromium/default.nix b/pkgs/applications/networking/browsers/chromium/default.nix
index cfc8951eef..30a16d824d 100644
--- a/pkgs/applications/networking/browsers/chromium/default.nix
+++ b/pkgs/applications/networking/browsers/chromium/default.nix
@@ -1,4 +1,5 @@
 { newScope, stdenv, makeWrapper, makeDesktopItem, ed
+, glib, gtk2, gtk3, gnome2, gnome3, gsettings_desktop_schemas

 # package customization
 , channel ? "stable"
@@ -62,10 +63,26 @@ let

   sandboxExecutableName = chromium.browser.passthru.sandboxExecutableName;

+  version = chromium.browser.version;
+
+  inherit (stdenv.lib) versionAtLeast;
+
+  gtk = if (versionAtLeast version "<IP_ADDRESS>") then gtk3 else gtk2;
+  gnome = if (versionAtLeast version "<IP_ADDRESS>") then gnome3 else gnome2;
+
 in stdenv.mkDerivation {
-  name = "chromium${suffix}-${chromium.browser.version}";
+  name = "chromium${suffix}-${version}";
+  inherit version;

-  buildInputs = [ makeWrapper ed ];
+  buildInputs = [
+    makeWrapper ed
+
+    # needed for GSETTINGS_SCHEMAS_PATH
+    gsettings_desktop_schemas glib gtk
+
+    # needed for XDG_ICON_DIRS
+    gnome.defaultIconTheme
+  ];

   outputs = ["out" "sandbox"];

@@ -92,6 +109,8 @@ in stdenv.mkDerivation {
     # libredirect causes chromium to deadlock on startup
     export LD_PRELOAD="\$(echo -n "\$LD_PRELOAD" | tr ':' '\n' | grep -v /lib/libredirect\\\\.so$ | tr '\n' ':')"

+    export XDG_DATA_DIRS=$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH\''${XDG_DATA_DIRS:+:}\$XDG_DATA_DIRS
+
     .
     w
     EOF
@@ -107,7 +126,7 @@ in stdenv.mkDerivation {
     cp -v "${desktopItem}/share/applications/"* "$out/share/applications"
   '';

-  inherit (chromium.browser) meta packageName version;
+  inherit (chromium.browser) meta packageName;

   passthru = {
     inherit (chromium) upstream-info browser;
diff --git a/pkgs/applications/networking/browsers/google-chrome/default.nix b/pkgs/applications/networking/browsers/google-chrome/default.nix
index e7b74562bd..9a4d90701b 100644
--- a/pkgs/applications/networking/browsers/google-chrome/default.nix
+++ b/pkgs/applications/networking/browsers/google-chrome/default.nix
@@ -31,6 +31,9 @@

 # Only needed for getting information about upstream binaries
 , chromium
+
+, gsettings_desktop_schemas
+, gnome2, gnome3
 }:

 with stdenv.lib;
@@ -42,6 +45,9 @@ let
     withCustomModes = true;
   };

+  gtk = if (versionAtLeast version "<IP_ADDRESS>") then gtk3 else gtk2;
+  gnome = if (versionAtLeast version "<IP_ADDRESS>") then gnome3 else gnome2;
+
   deps = [
     glib fontconfig freetype pango cairo libX11 libXi atk gconf nss nspr
     libXcursor libXext libXfixes libXrender libXScrnSaver libXcomposite libxcb
@@ -53,7 +59,7 @@ let
     flac harfbuzz icu libpng opusWithCustomModes snappy speechd
     bzip2 libcap
   ] ++ optional pulseSupport libpulseaudio
-    ++ (if (versionAtLeast version "<IP_ADDRESS>") then [gtk3] else [gtk2]);
+    ++ [ gtk ];

   suffix = if channel != "stable" then "-" + channel else "";

@@ -64,7 +70,15 @@ in stdenv.mkDerivation rec {

   src = binary;

-  buildInputs = [ patchelf ];
+  buildInputs = [
+    patchelf
+
+    # needed for GSETTINGS_SCHEMAS_PATH
+    gsettings_desktop_schemas glib gtk
+
+    # needed for XDG_ICON_DIRS
+    gnome.defaultIconTheme
+  ];

   unpackPhase = ''
     ar x $src
@@ -109,6 +123,7 @@ in stdenv.mkDerivation rec {
     #!${bash}/bin/sh
     export LD_LIBRARY_PATH=$rpath\''${LD_LIBRARY_PATH:+:\$LD_LIBRARY_PATH}
     export PATH=$binpath\''${PATH:+:\$PATH}
+    export XDG_DATA_DIRS=$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH\''${XDG_DATA_DIRS:+:}\$XDG_DATA_DIRS
     $out/share/google/$appname/google-$appname ${commandLineArgs} "\$@"
     EOF
     chmod +x $exe

Pull request opened here: https://github.com/NixOS/nixpkgs/pull/26614


restricting window multipoles crashes

Trying to drop l=2,4 from a window by:
W.select_proj(projsout=[0])
I get a crash here
https://github.com/cosmodesi/pypower/blob/fdf9471637f9b158aaed96a2702e2d3ae4d06ece/pypower/wide_angle.py#L329
because theory and obs k vectors aren't the same length... doesn't look right, but of course I don't really know what I'm doing...
... I think it gets to that point when it shouldn't because old_projs['out'] has wa_order=None while self.projsout has wa_order = 0 ... maybe?
/global/cfs/cdirs/desi/survey/catalogs/Y1/LSS/iron/LSScats/v0.2/blinded/pk/jmena/wmatrix_smooth_LRG_GCcomb_0.4_1.1_default_FKP_lin.npy

Yes, I know, not super convenient. Indeed:
from pypower import BaseMatrix
fn = '/global/cfs/cdirs/desi/survey/catalogs/Y1/LSS/iron/LSScats/v0.2/blinded/pk/jmena/wmatrix_smooth_LRG_GCcomb_0.4_1.1_default_FKP_lin.npy'

m = BaseMatrix.load(fn)
m.select_proj(projsout=[(0, None)])

should work.
or
from pypower import Projection
...
m.select_proj(projsout=[Projection(0, None)])


created draft mode for ticket creation

@garvinkon, in this merge we only introduce the new endpoints for the new draft/editing mode and ensured that the frontend doesn't crash.

@M-HRL @irhox @Gnagniko pls solve the merge conflict, then i can review, thx!

@garvinkon done


Adopter Authentication: Add Oauth with google

We should enable adopters to register and subsequently authenticate with Oauth via Google.

Hi @kasugaijin Can you please assign it to me?

All yours! @sarvaiyanidhi
As part of the setup for this I think we might need set set up google API with a client ID and key. Please let me know what we need and I can set it up and give these to you for testing, and I can also add to the production credentials.
Also, please place the omniauth logic for User in a concern, something like Omniauthable

Thanks @kasugaijin Will share details with you. I will start working on the feature in 1-2 days and get back to you.

Hi @kasugaijin ,
I implemented logic by creating same credentials in my personal account but we need to setup google client_id and client_secret in credentials file to get flow working.
Also, we need to mention Authorized redirect URIs in credentials page.
Right now, I had to add below two redirect URIs to get flow working for both organizations
http://localhost:3000/alta/users/auth/google_oauth2/callback
http://localhost:3000/baja/users/auth/google_oauth2/callback
I need to try and work around to see if it is possible to get working without organization in the URI as not sure if it is feasible to add URI for each new organization
Also, I don't see any development.yml.enc in code base which I had to generate to place development credentials so is it ok to commit this file?
I still need to fix few issue in code like it is not allowing to create same google login for baja if already created for alta .
FYI I have followed this reference https://avohq.io/blog/social-login-rails-google-github
Thanks

@sarvaiyanidhi awesome thanks for the update. So a to do for me is to create a google client id and secret for homeward tails? I will check the resource you followed tomorrow for the details on that.
as for credentials, please don’t upload any dev credentials. I recommend creating rails credentials for development and referring to that. See how we refer to the rails credentials in other places in the app. Rails will point to the correct credentials file (dev or prod) based on the environment. I can handle the prod credentials.
Good point on the redirect url. Can’t we create this url dynamically using the org slug? The paths should be the same, just the slugs will be dynamic I believe?

Thanks @kasugaijin Above mentioned URLs are added in Google credentials form as shown below

Related to credentials, I have created locally file config/credentials/development.yml.enc and added below details in it
google:
  client_id: CLIENTID_VALUE
  client_secret: CLIENTSECRET_VALUE

Won't commit this file in repository for now but if someone is testing locally the flow they need to create and added required details.
Above details are further used in devise.rb file
config.omniauth :google_oauth2,
                  Rails.application.credentials.dig(:google, :client_id),
                  Rails.application.credentials.dig(:google, :client_secret)

Also, I wanted to check on one more point as issue mentioned that we need to add Google login only for adopter but we have same login form for all type of users so it will be difficult to show only link for adopter.

Thanks @kasugaijin Above mentioned URLs are added in Google credentials form as shown below

Ah yes that's right. Ok, then this is something that devs setting up a new organization will need to do - log in and add a new callback URL. Is there a maximum number of callback URLs?
I think we can use OAuth for all users. No need to restrict to just adopters.

I don't see any limit on callback URLs in portal right now.


onLinkPress event is not fired

I just installed the plugin, and it's very useful, thanks !
But I'm trying to open HTML links and nothing happens.
So I read the doc and found the onLinkPress property, but the event is not fired.
export default class Article extends React.Component {
  static propTypes = {
    data: PropTypes.shape({
      title: PropTypes.string.isRequired,
      date: PropTypes.string.isRequired,
      content: PropTypes.string.isRequired,
    })
  };

  onLinkPress = (event) => {
    console.log(event);
  };

  render() {
    const { data: { title, date, content } } = this.props;

    return (
      <View style={{alignSelf: 'stretch', flexDirection: 'column', marginBottom: 20, padding: 20}}>
        <Text style={{fontWeight:'bold',marginBottom:5}}>{title}</Text>
        <Text style={{fontStyle:'italic',marginBottom:10}}>Mis en ligne le {Moment(date).format('DD/MM/YYYY')} à {Moment(date).format('HH:mm')}</Text>
        <HTML html={content} imagesMaxWidth={Dimensions.get('window').width} onLinkPress={this.onLinkPress} />
      </View>
    )
  }
}

Please let me know if I did something wrong, or if it's a bug.
Thanks

Hi @psa-gbellencontre, where you able to get this to work?

@psa-gbellencontre Same problem, how can you fix this?

did anybody find a solution to this issue?

<HTML
          html={content}
          onLinkPress={(event, href) => {
            Linking.openURL(href);
          }}
   />

Don't forget to add: import { Linking } from "expo"; if you are using Expo


Testing reactor based events (broadcasting)?

Maybe I am approaching my testing wrong, but I am wondering how someone would handle this:
Using the canonical "bank account" example, I would like to broadcast (via Pusher) when a transaction has been added. Obviously this calls for a reactor, as we do not want to re-broadcast all these events on replay.  But due to the fact that the projector uses underlying laravel events, I cannot simply call Event::fake() and assert my broadcast-able event was dispatched. For this simple case, you might just say "trust the reactor, it is already under test, and trust the framework to broadcast your event". But what if there was some additional business logic in the reactor? e.g. broadcast a "transaction limit exceeded" event when the user has performed more than 10 transactions in a day. How would you approach testing that reactor logic if you cannot utilize Event::fake() to test your broadcast-able event was dispatched?

This brought me to another question in a similar vein... going back to wanting to broadcast on a TransactionCreated event... if there was no other logic associated, would you duplicate the event specifically for broadcasting, and fire it from the reactor, e.g.:
class TransactionReactor implements EventHandler
{
    use HandlesEvents;

    protected $handlesEvents = [
        TransactionCreated::class => 'onTransactionCreated',
    ];

    public function onTransactionCreated(TransactionCreated $event)
    {
        event(new Events\Transaction\Broadcasting\TransactionCreated($event->transactionAttributes));
    }
}

Above we use a specific namespace for the broadcastable version of the events...
Or alternatively, rely on broadcastWhen to not broadcast during replay, and handle this right in the projected event:
class TransactionCreated implements ShouldBeStored, ShouldBroadcast
{
    use SerializesModels;

    public $transactionAttributes;

    public function __construct(array $transactionAttributes)
    {
        $this->transactionAttributes = $transactionAttributes;
    }

    public function broadcastOn()
    {
        return new PrivateChannel('account.'.$this->transactionAttributes['accountId']);
    }

    public function broadcastWhen()
    {
        return ! Projectionist::isReplaying();
    }
}

I think for broadcasts that map 1:1 to projected events, the second way would be a little more straightforward to reason about and maintain long-term. Duplicating the events seems a little confusing, just to be able to fire them from the reactor... but I want to make sure I am not missing something.

I opted for the second option above. Never found a good solution to my original testing question, but obviously this has not been an issue for anyone else. Closing.


"Installation Aborted - Setup was not completed successfully"

Describe the bug
I am unable to install the manager. I initially tried to install it to "C:\Program Files\SteamGridDB" but it said "installation aborted - Setup was not completed successfully" and my only option was to cancel installation. With that said, I opened up the installer again and it said that the program was installed and it would reinstall/upgrade, but the same result occurred. Also the installer was wrong, I checked Program Files and there was no SteamGridDB folder. I know that the problem isn't because I'm trying to install to Program Files, which you usually need admin privlideges to modify, because I'm running the install program as an administrator (and every other program installation I can think of has worked fine installing to Program Files without running the program as an administrator)
To Reproduce
Steps to reproduce the behavior:

Go to https://www.steamgriddb.com/manager
Click the "Download v0.4.2" button
Open the file "SteamGridDB Manager Setup 0.4.2.exe" as an administrator
Click "install only for this user" and then the next button
Change the destination folder to "C:\Program Files\SteamGridDB"
Click install

Expected behavior
I expected the program to install to "C:\Program Files\SteamGridDB" and then I would be able to use the program
Operating System

Windows 10, 20H2

Installed Launchers
I have Epic Games Launcher and GOG Galaxy installed, but they're not part of the problem
Screenshots

Log
N/A: Program not installed

I attempted to install the program to Program Files, got this bug too and then could not install it even to a different location. I had to clean SteamGridDB occurrence in the registry and then installation to the default Users folder worked.

I attempted to install the program to Program Files, got this bug too and then could not install it even to a different location. I had to clean SteamGridDB occurrence in the registry and then installation to the default Users folder worked.

I don't have the defaults handy, but "anyone" should default to Program Files folder whereas only for me should install to a personal folder, as program files needs admin privileges.

I don't have the defaults handy, but "anyone" should default to Program Files folder whereas only for me should install to a personal folder, as program files needs admin privileges.

I attempted to install the program to Program Files, got this bug too and then could not install it even to a different location. I had to clean SteamGridDB occurrences in the registry and then installation to the default Users folder worked.

Where can I find these registries so I can delete them?

I attempted to install the program to Program Files, got this bug too and then could not install it even to a different location. I had to clean SteamGridDB occurrences in the registry and then installation to the default Users folder worked.

Where can I find these registries so I can delete them?

I attempted to install the program to Program Files, got this bug too and then could not install it even to a different location. I had to clean SteamGridDB occurrences in the registry and then installation to the default Users folder worked.

After deleting all the registry keys related to SteamGridDB in regedit, I reinstalled and now it works. Thanks!

I attempted to install the program to Program Files, got this bug too and then could not install it even to a different location. I had to clean SteamGridDB occurrences in the registry and then installation to the default Users folder worked.

After deleting all the registry keys related to SteamGridDB in regedit, I reinstalled and now it works. Thanks!


Update PY_LOAD_GEOFILES.sql with possibility of geopackage

Thanks @Davidswinkels, it was added, check the code: https://github.com/Snowflake-Labs/sf-samples/blob/main/samples/geospatial/Python UDFs/PY_LOAD_GEOFILES.sql


Network healthchecks

Ideally we dont have applications schedule on nodes that have broken networking.
based upon #31 network-operator could perform basic checks like "are all interfaces that i expect up and running"
"Is FRR running" or "can i reach x" before removing the taint from the node
Failing those checks would ideally emit both events and metrics for why its failing

Are all Interfaces up and running:
We should be able to pass a list of interfaces to check. We are most interested in hardware interfaces
Is FRR running
a check using systemd is fine (systemd is already mounted because it is used for reload anyway)
Can I reach X
An address + port can be passed to the operator to check basic TCP reachability (which should suffice for our case)


[enhancement] Add GitHub Logo to Repository Link

This enhancement adds a GitHub logo next to repository links to improve visual identification and accessibility. The logo will appear alongside the repository URL or name, providing a clear indication that the link leads to the project's GitHub page.

@DhanushNehru can i work on this?


Deep resnet runs out of memory

Hi all,
Currently I want to use Resnet as the base model for training FCN segmentation. But both Resnet-101 and Resnet-152 run out of memory on 12G Titan GPU. I am wondering how do you train this kind of very deep network. I think model parallel on multiple GPU is necessary, but I can't find any resources about this kind of implementation.

You should reduce the batch size in your network.

Yes，I have met the same problem. My machine GPU is 1080 Ti, I use ResNet152, when batch size = 32, OOM. When batch size reduce to 8, is right!


Regarding FormWrapper/ SmartForms

Facebook's suggestion for HOCs is to not put them into render.
https://reactjs.org/docs/higher-order-components.html#dont-use-hocs-inside-the-render-method
I am going to change it as soon as I understand the component concern itself.

Oh that's a great point! I think this is the relevant part:

In those rare cases where you need to apply an HOC dynamically, you can also do it inside a component’s lifecycle methods or its constructor.

Shouldn't be too hard to do.

OK, let's see if this works: https://github.com/VulcanJS/Vulcan/commit/41b585adfa045f3902a41259c13f9a478743bb72

I looked at the file but haven't tested it, yet. I am wondering about the loading order of the components you are composing a wrapper earlier than its wrapped component. I am not sure if this supposed to be happening in Meteor or as a concept for React components.


Unable to open/rewind RowIterator when XLXS is a temp-file

We download file as stream, save that into tmp file
        /** @var resource $file */
        $file = tmpfile();
        fwrite($file, $data);
        $meta = stream_get_meta_data($file);

        $reader = new Reader();
        $reader->open($meta['uri']);

        $sheetIterator = $reader->getSheetIterator();
        $sheetIterator->rewind();

        return $sheetIterator->current();

        $rowIterator = $spreadsheet->getRowIterator();
        $rowIterator->rewind();

fileExistsWithinZip has "wrong" expression

/zip:\/\/([^#]+)#(.*)/ does not match zip://#xl/worksheets/sheet1.xml

After debugging a bit more looks like path is not "concated" in getRealPathURIForFileInZip

it's empty because realpath may return FALSE and when converted to string it's a empty string which means that tmp-file is closed and deleted.

Ok, even more it has nothing todo openspout itself, issue was found in how where tmp-file is created, tmp file is created in a method and as soon as we exit this method, tmp is closed and removed.


Cannot fetch all the comments of the current user from inside a post page

I can't get the list of comments made by the current logged in user when trying to do that from inside a post page, i get only the comments from the user on this post, but i want to return all his comments regardless if he commented on this post or no.
Comments.find({_id: Meteor.userId}).find().fetch();

Any ideas how can i accomplish that ?

You need to publish that data first. Look into Meteor.publish() and Meteor.subscribe(), this is a good place to start: https://www.discovermeteor.com/blog/understanding-meteor-publications-and-subscriptions/


why isn't pico speaker working in different songs

Describe your problem here.
I'm trying to figure out why pico speaker isn't working on other songs and all the crash text say is
TankmenBG.hx (line 27)
PlayState.hx (line 955)
flixel/FlxGame.hx (line 637)
flixel/FlxGame.hx (line 724)
flixel/FlxGame.hx (line 677)
flixel/FlxGame.hx (line 551)
openfl/events/EventDispatcher.hx (line 402)
openfl/display/DisplayObject.hx (line 1399)
Uncaught Error: Null Object Reference
Please report this error to the GitHub page: https://github.com/ShadowMario/FNF-PsychEngine

Crash Handler written by: sqirra-rng

and I'm not even using source code
Are you modding a build from source or with Lua?
Lua
What is your build target?
Mac
Did you edit anything in this build? If so, mention or summarize your changes.
No response

It’s only hard coded into week 7 only

It’s only hard coded into week 7 only

do you think it will work if I make a separate character file

Yeah

Yeah

it worked thanks


mobile aspect ratio scaling incorrectly

I can't seem to figure out why the mobile view of a-frame camera aspect ratio (a-marker-camera) is completely off. it's scaled so everything looks skinny in portrait mode, and wide in landscape. I am also getting this error in console:
dpdb.js:79 Failed to recalculate device parameters.
I've adjusted the css, and set the canvas width/height on a settimeout after it renders. Any way around this issue?
The body gets crazy high dimensions on mobile: width: 3557.33px; height: 2668px; margin-left: -1028.67px; margin-top: 0px;
<!DOCTYPE html>

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">

Yep, I can confirm #242 worked for me. thanks!


docs: run python library solely

Add a README file to illustrate how one can run python library manually without engaging with the control plane.

type
file
changes

added
lib/python/flame/README.md
a tutorial

modified
lib/python/flame/examples/mnist/aggregator/config.json
indent

modified
lib/python/flame/examples/mnist/trainer/config.json
indent

Codecov Report

Merging #187 (ae38992) into main (c4a02eb) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #187   +/-   ##
=======================================
  Coverage   21.21%   21.21%
=======================================
  Files          35       35
  Lines        1560     1560
=======================================
  Hits          331      331
  Misses       1219     1219
  Partials       10       10

Continue to review full report at Codecov.

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


A Bug on fresh installation

I make a fresh installation using the develop branch, with this error:
Debugger entered--Lisp error: (file-missing "Cannot open load file" "No such file or directory" "evil")
  require(evil nil nil)
  eval-buffer(#<buffer  *load*-752201> nil "/home/jazb/.emacs.d/modules/editor/evil/config.el" nil t)  ; Reading at buffer position 7147
  load-with-code-conversion("/home/jazb/.emacs.d/modules/editor/evil/config.el" "/home/jazb/.emacs.d/modules/editor/evil/config.el" t nil)
  load("/home/jazb/.emacs.d/modules/editor/evil/config" t nil)
  (condition-case e (load (expand-file-name "config" (plist-get plist :path)) t nil) ((debug doom-error) (signal (car e) (cdr e))) ((debug error) (let* ((source (file-name-sans-extension (expand-file-name "config" (plist-get plist :path)))) (err (cond ((file-in-directory-p source doom-core-dir) (cons ... doom-core-dir)) ((file-in-directory-p source doom-private-dir) (cons ... doom-private-dir)) ((cons ... doom-emacs-dir))))) (signal (car err) (list (file-relative-name (concat source ".el") (cdr err)) e)))))
  (let ((doom--current-module key) (doom--current-flags (plist-get plist :flags))) (condition-case e (load (expand-file-name "config" (plist-get plist :path)) t nil) ((debug doom-error) (signal (car e) (cdr e))) ((debug error) (let* ((source (file-name-sans-extension (expand-file-name "config" ...))) (err (cond (... ...) (... ...) (...)))) (signal (car err) (list (file-relative-name (concat source ".el") (cdr err)) e))))))
  (closure ((force-p) t) (key plist) (let ((doom--current-module key) (doom--current-flags (plist-get plist :flags))) (condition-case e (load (expand-file-name "config" (plist-get plist :path)) t nil) ((debug doom-error) (signal (car e) (cdr e))) ((debug error) (let* ((source (file-name-sans-extension ...)) (err (cond ... ... ...))) (signal (car err) (list (file-relative-name ... ...) e)))))))((:editor . evil) (:flags (+everywhere) :path "/home/jazb/.emacs.d/modules/editor/evil/"))
  maphash((closure ((force-p) t) (key plist) (let ((doom--current-module key) (doom--current-flags (plist-get plist :flags))) (condition-case e (load (expand-file-name "config" (plist-get plist :path)) t nil) ((debug doom-error) (signal (car e) (cdr e))) ((debug error) (let* ((source ...) (err ...)) (signal (car err) (list ... e))))))) #<hash-table equal 34/46 0x49ef51>)
  (if noninteractive nil (maphash (function (lambda (key plist) (let ((doom--current-module key) (doom--current-flags (plist-get plist :flags))) (condition-case e (load (expand-file-name "config" ...) t nil) ((debug doom-error) (signal ... ...)) ((debug error) (let* ... ...)))))) doom-modules) (run-hook-wrapped (quote doom-init-modules-hook) (function doom-try-run-hook)) (condition-case e (load (expand-file-name "config" doom-private-dir) t nil) ((debug doom-error) (signal (car e) (cdr e))) ((debug error) (let* ((source (file-name-sans-extension (expand-file-name "config" doom-private-dir))) (err (cond (... ...) (... ...) (...)))) (signal (car err) (list (file-relative-name (concat source ".el") (cdr err)) e))))))
  (progn (setq doom-init-modules-p t) (if (hash-table-p doom-modules) nil (setq doom-modules (make-hash-table :test (quote equal)))) (maphash (function (lambda (key plist) (let ((doom--current-module key) (doom--current-flags (plist-get plist :flags))) (condition-case e (load (expand-file-name "init" ...) t nil) ((debug doom-error) (signal ... ...)) ((debug error) (let* ... ...)))))) doom-modules) (run-hook-wrapped (quote doom-before-init-modules-hook) (function doom-try-run-hook)) (if noninteractive nil (maphash (function (lambda (key plist) (let ((doom--current-module key) (doom--current-flags ...)) (condition-case e (load ... t nil) (... ...) (... ...))))) doom-modules) (run-hook-wrapped (quote doom-init-modules-hook) (function doom-try-run-hook)) (condition-case e (load (expand-file-name "config" doom-private-dir) t nil) ((debug doom-error) (signal (car e) (cdr e))) ((debug error) (let* ((source (file-name-sans-extension ...)) (err (cond ... ... ...))) (signal (car err) (list (file-relative-name ... ...) e)))))))
  (if (and (or force-p (not doom-init-modules-p)) (not (setq doom-modules nil)) (condition-case e (load (expand-file-name "init" doom-private-dir) t nil) ((debug doom-error) (signal (car e) (cdr e))) ((debug error) (let* ((source (file-name-sans-extension ...)) (err (cond ... ... ...))) (signal (car err) (list (file-relative-name ... ...) e)))))) (progn (setq doom-init-modules-p t) (if (hash-table-p doom-modules) nil (setq doom-modules (make-hash-table :test (quote equal)))) (maphash (function (lambda (key plist) (let ((doom--current-module key) (doom--current-flags ...)) (condition-case e (load ... t nil) (... ...) (... ...))))) doom-modules) (run-hook-wrapped (quote doom-before-init-modules-hook) (function doom-try-run-hook)) (if noninteractive nil (maphash (function (lambda (key plist) (let (... ...) (condition-case e ... ... ...)))) doom-modules) (run-hook-wrapped (quote doom-init-modules-hook) (function doom-try-run-hook)) (condition-case e (load (expand-file-name "config" doom-private-dir) t nil) ((debug doom-error) (signal (car e) (cdr e))) ((debug error) (let* ((source ...) (err ...)) (signal (car err) (list ... e))))))))
  doom-initialize-modules()
  (if noninteractive nil (doom-initialize-modules))
  eval-buffer(#<buffer  *load*-233632> nil "/home/jazb/.emacs.d/core/core.el" nil t)  ; Reading at buffer position 21039
  load-with-code-conversion("/home/jazb/.emacs.d/core/core.el" "/home/jazb/.emacs.d/core/core.el" nil t)
  require(core "/home/jazb/.emacs.d/core/core")
  eval-buffer(#<buffer  *load*> nil "/home/jazb/.emacs.d/init.el" nil t)  ; Reading at buffer position 4522
  load-with-code-conversion("/home/jazb/.emacs.d/init.el" "/home/jazb/.emacs.d/init.el" t t)
  load("/home/jazb/.emacs.d/init" t t)
  #f(compiled-function () #<bytecode 0x1df989>)()
  command-line()
  normal-top-level()

The output that doom doctor is:
Emacs v26.2
Doom v2.0.9 (nil)
shell: /usr/bin/fish
Compiled with: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS
  GLIB NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
  TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD LCMS2
uname -msrv: Linux 4.19.59-1-MANJARO #1 SMP PREEMPT Mon Jul 15 18:23:58 UTC 2019
  x86_64

Checking Emacs
  Checking your Emacs version is 25.3 or newer...
  Checking if your version of Emacs has changed recently...
  Checking for Emacs config conflicts...
  Checking for private config conflicts...
  Checking for stale elc files...
Checking your system...
  Checking gnutls/openssl...
  Testing your root certificates...
  Checking for GNU/BSD tar...
Checking DOOM Emacs...
Attempt to load DOOM failed (modules/editor/evil/config.el (file-missing
  Cannot open load file No such file or directory evil))

There is 1 warning!

On the install process doing the quickstart process the next packages fail to install
Doom core autoloads is up-to-date
Looking for packages to install...

Done!

This appears to be tied to the same issue that is causing #1566. Long story short: I'm not sure what changed, but Emacs now has a lot of trouble connecting to the GNU ELPA repository. This appears to be tied to a known gnutls bug in Emacs 26.x. There is no certain fix, but there are a couple workarounds:

Use insecure mode: doom --insecure quickstart. This will use the HTTP sources instead.

Switch to the straight branch of Doom Emacs. This was published just yesterday, but is the direction Doom will be heading. It drops its current package manager (powered by package.el and quelpa) and replaces it with straight.el. This will side-step your issue. Unfortunately, this may cause breakages if you're already an established Doom user with a larger config, but if you're feeling adventurous, I talk more about in another thread.

I've heard some people have temporarily gotten around the issue by disabling TLS 1.3 with:

;; add to ~/.doom.d/init.el
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")

Some folks tell me this doesn't work, however, so your mileage may vary. Hope that helps!

Quick fix = edit line 56 core/core-packages.el and switch to unsecured. https => "http://elpa.gnu.org/packages/"

@dvogeldev

Use insecure mode: doom --insecure quickstart. This will use the HTTP sources instead.

@hlissner With option 1 it worked excellent, I am testing the straight branch with an emacs in docker, and I tell you about the feedback but so far that option also served me 100%.

Switch to the straight branch of Doom Emacs.

This did not work for me, --insecure did though.

@oguzserbetci Could you expand on how it didn't work for you?

I got it working with
diff --git a/bin/doom b/bin/doom
index 571a84a3..4ab1941f 100755
--- a/bin/doom
+++ b/bin/doom
@@ -9,7 +9,7 @@
 ":"; [ "$1" = run ] && { cd "$DOOMBASE"; shift; exec $EMACS -q --no-splash -l bin/doom "$@"; exit 0; }
 ":"; exec $EMACS --script "$0" -- "$@"
 ":"; exit 0
-
+(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
 (defun usage ()
   (with-temp-buffer
     (insert (format! "%s %s [COMMAND] [ARGS...]\n"

That will only work for some people. Your mileage will vary. Use --insecure instead.

In https://github.com/hlissner/doom-emacs/issues/1582#issuecomment-513629151 it mentions patching ~/.doom.d/init.el, which did not work for me since ~/.emacs.d/bin/doom does not load it (and this might be the reason that it might work in some people and not in others). Possibly patching both (~/.doom.d/init.el and ~/.emacs.d/bin/doom) could fix the issue for everyone. Using --insecure should not be the preferred workaround since it's insecure.

The bin/doom script does indeed load ~/.doom.d/init.el before any package management occurs.
To clarify what I meant: among the folks who have tried this, some report gnutls err=[-50] errors with the gnutls-algorithm-priority while some people get bad request errors without the fix.
So if the fix doesn't work, --insecure is your only option (besides switching to the straight branch).

The bin/doom script does indeed load ~/.doom.d/init.el before any package management occurs.

My bad. It looks like I was patching ~/.doom.d/config.el (or packages.el) instead of ~/.doom.d/init.el.
Sorry for the confusion and thanks for the clarification.

@oguzserbetci Could you expand on how it didn't work for you?

Sorry for being so succinct. I tried again from clean pull. And using the straight branch worked! Thanks :)

Considering --secure worked for the OP and the straight branch is working for others (and it's due to be merged into develop this Sunday), I'll consider this issue resolved. Let me know if that isn't the case and I'll reopen it. Thanks for your help and comments!

Is straight merged into develop, yet? I just did a fresh install (git clone ... bin/doom quickstart) and got the same error messages again. Switched to branch straight and had no issue. Looks like the branch is not merged, yet?

@hlissner
Does using the ./doom --insecure quickstart mean future packages are downloaded through http?
If so then how can --secure be invoked after install?
:)


autogenerated test failed in case when there are empty and not empty arrays with the same names

If autogenerated test gets an expected body with 2 arrays with the same names, but one of them is an empty, the test will failed.
Seems that the trouble is in jsonassert actually, but I think SCC should avoid that problem.
The screen shows the line where the test fails.

  springBootVersion = '2.1.2.RELEASE'
  springCloudContractVersion = '2.0.1.RELEASE'
  springCloudVersion = 'Greenwich.RELEASE'

Also I made a simple git project which helps to reproduce the issue: https://github.com/dev-priporov/scc-empty-array-issue

Hi, @dev-priporov thanks for reporting it. This is, indeed, a bug. At the same time, this use-case seems to be a rather rare corner-case. So we are going to fix it, but not as a priority. In the meantime, we suggest providing BodyMatchers as a workaround (and in the jsonPath, specifying the array element indexes for each match).

Is this problem still open? I think we've fixed a similar issue in the meantime. @dev-priporov can you check out the latest snapshots please?

@marcingrzejszczak I will check late, sorry now really have no time for that

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

@marcingrzejszczak Hi, sorry for making that so late. I've updated the version and tried check the issue, but seems that now generated contract test is invalid.

to reproduce that you can use https://github.com/dev-priporov/scc-empty-array-issue project

Hi @epm-dev-priporov Thanks; looks like a bug. We will work on a fix.


EXEC AUTOEXEC.TXT Doesn't allow run ./PROGRAM.BAS at startup

My AUTOEXEC.TXT is not working after replacing BBCBASIC.BIN with BBCBASIC24.BIN .
BASIC appears to load correctly and display it's message, but the "run . /AUTOEXEC.BAS' is no longer executed.
Is there a new way to do this in BBCBASIC24 or is this a bug?
Thanks!

This * may * be a bug.

This * may * be a bug.

Yes, if I LOAD "AUTOEXEC.BAS" after loading it loads and runs just fine.

Okay, that's probably a regression. It was working at one point. Should be an easy fix.

Bug was a regression caused by an over-enthusiastic RAM clear after the filename had been copied to the string accumulator.