Fix update state calculation and status resource for long running deploys

Towards https://github.com/giantswarm/giantswarm/issues/9900
This is a follow up to https://github.com/giantswarm/chart-operator/pull/362 to fix problems with long running helm deployments.

We now always set the chart-operator.giantswarm.io/values-md5-checksum annotation. This is so the update state calculation is accurate in later loops.
Fixes for the reason field being wrong in the chart CR status.
Adds the revision of the helm release to the chart CR status for trouble shooting.

Tested on giraffe.

Did another test on ghost. It was fine going with this.


ban appeal

can i get unbanned im very sorry for everything i did and this is the best pixelmon server nobody can be better than this one

Hey! You cannot appeal here! Please appeal with this link https://forms.gle/DEztQ4nqAYJcYK6X8 please do not try to open a ticket for this again.


Fix comoarasion logic in NSCalendarUnitCompareSignificance function

Sorry, it's duplicate. Please, refer to #153 for more details.


Fix Sort, Edit and Showlist issue Bug

Codecov Report

Merging #174 (b92e7d9) into master (ccdce78) will decrease coverage by 0.12%.
The diff coverage is 55.10%.

@@             Coverage Diff              @@
##             master     #174      +/-   ##
============================================
- Coverage     51.20%   51.07%   -0.13%
- Complexity      341      345       +4
============================================
  Files            83       84       +1
  Lines          1490     1529      +39
  Branches        157      168      +11
============================================
+ Hits            763      781      +18
- Misses          669      681      +12
- Partials         58       67       +9

Impacted Files
Coverage Δ

src/main/java/seedu/trackermon/MainApp.java
0.00% <0.00%> (ø)

...n/java/seedu/trackermon/commons/util/FileUtil.java
72.72% <ø> (ø)

...a/seedu/trackermon/logic/commands/EditCommand.java
95.00% <ø> (-0.09%)
:arrow_down:

.../trackermon/logic/parser/CommentCommandParser.java
0.00% <ø> (ø)

src/main/java/seedu/trackermon/model/Model.java
100.00% <ø> (ø)

.../main/java/seedu/trackermon/ui/CommandBuilder.java
0.00% <ø> (ø)

src/main/java/seedu/trackermon/ui/MainWindow.java
0.00% <0.00%> (ø)

...n/java/seedu/trackermon/commons/core/JarTools.java
40.00% <40.00%> (ø)

...ain/java/seedu/trackermon/commons/core/Config.java
69.56% <66.66%> (+1.38%)
:arrow_up:

...java/seedu/trackermon/commons/core/LogsCenter.java
78.94% <100.00%> (+0.56%)
:arrow_up:

... and 4 more

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 0d63232...b92e7d9. Read the comment docs.


Unable to setup stack behind proxy

Problem description

I'm trying to setup this stack behind a proxy. However, it fails due to timeout.
I have my docker daemon already configured to use the proxy and I use if for my other projects. However, it appears this is not considered when the stack gets built. Upon a cursory search it appears that additonal commands are required when a container is "built" like these are. I've tried various methods provided by the Docker docs , but I don't have a working solution.
Are there additional proxy commands  or config changes that must be used to make this stack work behind a proxy?
If so, can you share them and possibly make a guide and an optional variable in the .env so if a person populates  for instance HTTP_PROXY=my.proxy.com:3128 it will utilize that in the build process? I can't be the first person that has tried to put this up behind a proxy.
Extra information
Stack configuration

Docker setup

$ docker version

[Version:           24.0.2

API version:       1.43

Go version:        go1.20.4

Git commit:        cb74dfc

Built:             Thu May 25 21:51:00 2023

OS/Arch:           linux/amd64

Context:           default

Server: Docker Engine - Community

Engine:

  Version:          24.0.2

  API version:      1.43 (minimum version 1.12)

  Go version:       go1.20.4

  Git commit:       659604f

  Built:            Thu May 25 21:51:00 2023

  OS/Arch:          linux/amd64

  Experimental:     false

containerd:

  Version:          1.6.21

  GitCommit:        3dce8eb055cbb6872793272b4f20ed16117344f8

runc:

  Version:          1.1.7

  GitCommit:        v1.1.7-0-g860f061

docker-init:

  Version:          0.19.0

  GitCommit:        de40ad0

]

$ docker-compose version

[This is now built-in to newer versions of Docker and no longer applicable.]

Container logs

$ docker-compose logs

[[+] Building 30.3s (3/3) FINISHED

=> [tls internal] load build definition from Dockerfile                                                           0.0s

=> => transferring dockerfile: 193B                                                                               0.0s

=> [tls internal] load .dockerignore                                                                              0.0s

=> => transferring context: 129B                                                                                0.0s

=> ERROR [tls internal] load metadata for [docker.elastic.co/elasticsearch/elasticsearch:8.7.1](http://docker.elastic.co/elasticsearch/elasticsearch:8.7.1)                    30.3s

------

> [tls internal] load metadata for [docker.elastic.co/elasticsearch/elasticsearch:8.7.1](http://docker.elastic.co/elasticsearch/elasticsearch:8.7.1):

------

failed to solve: DeadlineExceeded: DeadlineExceeded: DeadlineExceeded: [docker.elastic.co/elasticsearch/elasticsearch:8.7.1](http://docker.elastic.co/elasticsearch/elasticsearch:8.7.1): failed to authorize: DeadlineExceeded: failed to fetch anonymous token: Get https://docker-auth.elastic.co/auth?scope=repository%3Aelasticsearch%2Felasticsearch%3Apull&service=token-service: dial tcp [<IP_ADDRESS>:443](http://<IP_ADDRESS>:443/): i/o timeout]

Nowadays Docker image builds are performed by docker buildx under the hood.
According to https://github.com/docker/buildx/pull/170#issuecomment-1255633552, these options need to be passed as build args. Compose does this automatically since v2.16.0 (https://github.com/docker/compose/pull/10159) by reading your ~/.docker/config.json file.

I have configured and tried the client config as well and I still get the error.

If I were you I would check what version of Compose ships with your Docker distribution.
You mentioned that Compose was now part of Docker, and that its version is irrelevant. Both are wrong: Compose ships with Docker Desktop, and the version is very relevant because, as you can see, support for proxy settings was added very recently.
docker compose version will return the version.

Understood, I guess I have never not have it update since its been included. I understand though that some may not be able to update their software. According to Docker Compose release notes I have the lastest version.
Compose version:

Docker Compose version v2.18.1

So far I have the docker client config and docker daemon configured to use the proxy.

Definitely a Compose bug then.

You should be able to work around the issue by passing your proxy variables as build args manually, like this:
https://github.com/deviantony/docker-elk/blob/c6978b0e996adccb40ab74c26e04218279b895fd/docker-compose.yml#L24-L25

@grizzlycode I did my little investigation in #868. It turns out that the proxy settings work as expected, so there is no bug in Compose. I configured a dummy proxy URL, and you can see HTTP requests failing inside containers at https://github.com/deviantony/docker-elk/actions/runs/5104016989/jobs/9174648224
You issue is different and not directly related to Compose.
The message failed to solve: DeadlineExceeded: DeadlineExceeded: DeadlineExceeded: docker.elastic.co/elasticsearch/elasticsearch:8.7.1: failed to authorize: DeadlineExceeded: failed to fetch anonymous token: Get https://docker-auth.elastic.co/auth?scope=repository%3Aelasticsearch%2Felasticsearch%3Apull&service=token-service: dial tcp <IP_ADDRESS>:443: i/o timeout indicates that requests to docker-auth.elastic.co — issued by the Docker Daemon — are being dropped.
Could you please share the output of docker image pull docker.elastic.co/elasticsearch/elasticsearch:8.7.1?

Per your request here is the ouput of docker pull.
 However, when I tried docker compose up setup it failed.
error:
:' Connection to Elasticsearch failed. Exit code: 60

Probably because the traffic that is supposed to stay internal to the elk local network is actually going over the proxy.
See my example at https://github.com/deviantony/docker-elk/issues/865#issuecomment-1565047902 to exclude Docker's networks with the noProxy option (<IP_ADDRESS>/12 should work).

It's noProxy not no_proxy, and only the client configuration is relevant for the issue you're facing.
Anyway, without the complete picture I doubt I can help any further. The question is about the usage of Docker and of some corporate proxy which I have no knowledge of. In both cases, docker-elk is out of the picture.

@grizzlycode
Can you share your configuration? I'm in the same situation and I can't find a solution for using my proxy.
Thanks

@Bloopps
I don't have access to that specific config currently. However, there are some components that need to be aware of a proxy if one is used in your environemnt. Such as:

Docker
Kibana (Fleet integrations)
Elastic Agents

This can be difficult to troubleshoot without local IT support assisting as each network is different. Beware some networks have two proxies one for either http/https or perhaps just uses one for both.
Start with creating the proxy variables in Docker config and try to reach out to the internet. This can be done with any container that can reach out to the internet for testing purposes. If your other containers can reach the internet then your docker instance should be configured correctly. By setting at the Docker level that should allow any container to reach the  internet now.
However, I have had issues specfiically with Fleet where I still had to set the proxy in Kibana.yml for it to work. So always check documentation and look to the individual config files to ensure the proxy is defined there as well if applicable.


Include plugin description in local help line

The recommended format for vim's internal help files is "<tag> <for vim version> <last change>", (see :help help-writing but this format is not parsed the same way for plugins. For plugins the recommended format includes a description of the plugin such as "<tag> <description>". See :help write-local-help for the different template.

Cheers! :beers:


SignalR demo: updated script references to the latest versions

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

@miparnisari  Thanks!


refactor(build-cli): Loosen coupling between command context and git repo

In build-cli, there is a Context object that all commands have access to. The context exposed a Git client, which assumed that every command was running in a Git repository. This change refactors the Context to no longer assume that it is being used in a Git repository. Instead, the context now has an async function, getGitRepository(), which can be called to get a Git client to use. This looser coupling enables commands that do not rely on Git functionality, such as type test generation, to work outside a Git repository.
Git-related functions that were formerly on the Context object, such as getAllVersions have been moved to the (Git)Repository object instead.

Note: this is particularly relevant for the server build which happens in a Docker container, and (I believe) with no actual git repo inside it, just some copied folders.


LocateCommand: Wrong invalid command message

When using the locate command:

ResultDisplay does not update with the correct message when an invalid command is given.
Styles don't change either.

Resolved in PR #159. Issue closed.


FPGA Device OPAE v1.2.1 not working with operator.

I cant seem to get the operator working with arria10 FPGA, opae 1.2.1 running interfaceId: 38d782e3b6125343b9342433e348ac4c.
The fgps's are running on ubuntu 18.04 kernel 5.4 with the dfl drivers.
I created a new FPGARegion

---
# DCP 1.2.1
apiVersion: fpga.intel.com/v2
kind: FpgaRegion
metadata:
  name: arria10.dcp1.2.1
  namespace: inteldeviceplugins-system
spec:
  interfaceId: 38d782e3b6125343b9342433e348ac4c

However the fpga-device-plugin fails to start
I0624 14:03:07.305399 1 fpga_plugin.go:360] FPGA device plugin (DFL) started in region mode
I0624 14:03:07.311300 1 manager.go:113] Received dev updates:{map[region-:map[dfl-fme.0:{Healthy [{/dev/dfl-port.0 /dev/dfl-port.0 rw {} 0}] [] map[] 0xc0003f9480}]] map[] map[]}
I0624 14:03:08.312724 1 server.go:248] Start server for region- at: /var/lib/kubelet/device-plugins/fpga.intel.com-region-.sock
E0624 14:03:08.316328 1 manager.go:140] Failed to serve fpga.intel.com/region-: rpc error: code = Unknown desc = the ResourceName "fpga.intel.com/region-" is invalid
Cannot register to kubelet service
github.com/intel/intel-device-plugins-for-kubernetes/pkg/deviceplugin.(*server).registerWithKubelet
/go/src/github.com/intel/intel-device-plugins-for-kubernetes/pkg/deviceplugin/server.go:327
github.com/intel/intel-device-plugins-for-kubernetes/pkg/deviceplugin.(*server).setupAndServe
/go/src/github.com/intel/intel-device-plugins-for-kubernetes/pkg/deviceplugin/server.go:260
github.com/intel/intel-device-plugins-for-kubernetes/pkg/deviceplugin.(*server).Serve
/go/src/github.com/intel/intel-device-plugins-for-kubernetes/pkg/deviceplugin/server.go:191
github.com/intel/intel-device-plugins-for-kubernetes/pkg/deviceplugin.(*Manager).handleUpdate.func1
/go/src/github.com/intel/intel-device-plugins-for-kubernetes/pkg/deviceplugin/manager.go:138
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1371

Is this not supported yet? Do I need to downgrade to 1.2 (which I don't think is possible)?

@stefanstoeckigt thank you for reporting this issue.
It doesn't look like OPAE-related to me so far. Can you try to deploy FPGA plugin as a daemonset as its described here?

@bart0sh I am getting the exact some issue when I deploy the FPGA plugin manually.
So when I was running kernel 4.18, I was required to install the FPGA driver manually and I could get the operator working.
However I needed to update the kernel to 5.4 which comes with repackaged driver, the operator stop working with the above error in the plugin device pod.
Does the operator work with the dfl drivers?

When i look at the /var/lib/kubelet/device-plugins/ the following socket is created fpga.intel.com-region-.sock. this seems to be incorrect. How does the plugin pod get the region id, to use in the socket creation?

@seanporterwork sorry for the delay, I was on vacation. The plugin seems to use dfl driver on your system:
fpga_plugin.go:360] FPGA device plugin (DFL) started in region mode

I'd suggest to disable dfl kernel modules and use OPAE modules if you want to use OPAE in user space.

@bart0sh I'm guessing you meant to take @stefanstoeckigt :)

@seanporterwork I'm sorry. thank you for pointing out!

The issue with the OPAE driver is that it isn't compatible with kernel 5.4. So it seems that I am stuck with the dfl driver which I can't seem to get working with the kubernetes operator.

Ah, I thought you're going to use OPAE driver.
Good news that the plugin works just fine on my Ubuntu 20.04 box with this kernel: 5.4.0-77-generic #86-Ubuntu SMP Thu Jun 17 02:35:03 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Let's try to spot the difference in my and your configurations.
Can you show me the output of these commands:
lsmod  |grep dfl
ls -lR /sys/devices/*/*/*/fpga_region/
ls -la /dev/dfl*

@bart0sh, many thanks for the help.
Please see below:
lsmod  |grep dfl
dfl_afu                32768  0
dfl_fme                24576  0
dfl_pci                16384  0
dfl                    28672  3 dfl_pci,dfl_fme,dfl_afu
fpga_region            20480  2 dfl_fme,dfl
fpga_bridge            20480  2 fpga_region,dfl_fme
fpga_mgr               16384  2 fpga_region,dfl_fme

ls -lR /sys/devices/*/*/*/fpga_region/
'/sys/devices/pci0000:ae/0000:ae:00.0/0000:af:00.0/fpga_region/':
total 0
drwxr-xr-x 5 root root 0 Jul 22 16:10 region0

'/sys/devices/pci0000:ae/0000:ae:00.0/0000:af:00.0/fpga_region/region0':
total 0
-r--r--r-- 1 root root 4096 Jul 22 16:10 compat_id
lrwxrwxrwx 1 root root    0 Jul 22 16:10 device -> ../../../0000:af:00.0
drwxr-xr-x 4 root root    0 Jul 22 16:10 dfl-fme.0
drwxr-xr-x 4 root root    0 Jul 22 16:10 dfl-port.0
drwxr-xr-x 2 root root    0 Jul 22 16:10 power
lrwxrwxrwx 1 root root    0 Jul 22 16:10 subsystem -> ../../../../../../class/fpga_region
-rw-r--r-- 1 root root 4096 Jul 22 16:10 uevent

'/sys/devices/pci0000:ae/0000:ae:00.0/0000:af:00.0/fpga_region/region0/dfl-fme.0':
total 0
-r--r--r-- 1 root root 4096 Jul 22 16:10 bitstream_id
-r--r--r-- 1 root root 4096 Jul 22 16:10 bitstream_metadata
-r--r--r-- 1 root root 4096 Jul 22 16:10 cache_size
-r--r--r-- 1 root root 4096 Jul 22 16:10 dev
lrwxrwxrwx 1 root root    0 Jul 22 16:10 driver -> ../../../../../../../bus/platform/drivers/dfl-fme
-rw-r--r-- 1 root root 4096 Jul 22 16:10 driver_override
drwxr-xr-x 2 root root    0 Jul 22 16:10 errors
-r--r--r-- 1 root root 4096 Jul 22 16:10 fabric_version
-r--r--r-- 1 root root 4096 Jul 22 16:10 modalias
-r--r--r-- 1 root root 4096 Jul 22 16:10 ports_num
drwxr-xr-x 2 root root    0 Jul 22 16:10 power
-r--r--r-- 1 root root 4096 Jul 22 16:10 socket_id
lrwxrwxrwx 1 root root    0 Jul 22 16:10 subsystem -> ../../../../../../../bus/platform
-rw-r--r-- 1 root root 4096 Jul 22 16:10 uevent

'/sys/devices/pci0000:ae/0000:ae:00.0/0000:af:00.0/fpga_region/region0/dfl-fme.0/errors':
total 0
-r--r--r-- 1 root root 4096 Jul 22 16:10 catfatal_errors
-r--r--r-- 1 root root 4096 Jul 22 16:10 first_error
-rw-r--r-- 1 root root 4096 Jul 22 16:10 fme_errors
-rw-r--r-- 1 root root 4096 Jul 22 16:10 inject_errors
-r--r--r-- 1 root root 4096 Jul 22 16:10 next_error
-r--r--r-- 1 root root 4096 Jul 22 16:10 nonfatal_errors
-rw-r--r-- 1 root root 4096 Jul 22 16:10 pcie0_errors
-rw-r--r-- 1 root root 4096 Jul 22 16:10 pcie1_errors

'/sys/devices/pci0000:ae/0000:ae:00.0/0000:af:00.0/fpga_region/region0/dfl-fme.0/power':
total 0
-rw-r--r-- 1 root root 4096 Jul 22 16:10 async
-rw-r--r-- 1 root root 4096 Jul 22 16:10 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 Jul 22 16:10 control
-r--r--r-- 1 root root 4096 Jul 22 16:10 runtime_active_kids
-r--r--r-- 1 root root 4096 Jul 22 16:10 runtime_active_time
-r--r--r-- 1 root root 4096 Jul 22 16:10 runtime_enabled
-r--r--r-- 1 root root 4096 Jul 22 16:10 runtime_status
-r--r--r-- 1 root root 4096 Jul 22 16:10 runtime_suspended_time
-r--r--r-- 1 root root 4096 Jul 22 16:10 runtime_usage

'/sys/devices/pci0000:ae/0000:ae:00.0/0000:af:00.0/fpga_region/region0/dfl-port.0':
total 0
-r--r--r-- 1 root root 4096 Jul 22 16:10 afu_id
-rw-r--r-- 1 root root 4096 Jul 22 16:10 ap1_event
-rw-r--r-- 1 root root 4096 Jul 22 16:10 ap2_event
-r--r--r-- 1 root root 4096 Jul 22 16:10 dev
lrwxrwxrwx 1 root root    0 Jul 22 16:10 driver -> ../../../../../../../bus/platform/drivers/dfl-port
-rw-r--r-- 1 root root 4096 Jul 22 16:10 driver_override
drwxr-xr-x 2 root root    0 Jul 22 16:10 errors
-r--r--r-- 1 root root 4096 Jul 22 16:10 id
-rw-r--r-- 1 root root 4096 Jul 22 16:10 ltr
-r--r--r-- 1 root root 4096 Jul 22 16:10 modalias
drwxr-xr-x 2 root root    0 Jul 22 16:10 power
-r--r--r-- 1 root root 4096 Jul 22 16:10 power_state
lrwxrwxrwx 1 root root    0 Jul 22 16:10 subsystem -> ../../../../../../../bus/platform
-rw-r--r-- 1 root root 4096 Jul 22 16:10 uevent
--w------- 1 root root 4096 Jul 22 16:10 userclk_freqcmd
--w------- 1 root root 4096 Jul 22 16:10 userclk_freqcntrcmd
-r--r--r-- 1 root root 4096 Jul 22 16:10 userclk_freqcntrsts
-r--r--r-- 1 root root 4096 Jul 22 16:10 userclk_freqsts

'/sys/devices/pci0000:ae/0000:ae:00.0/0000:af:00.0/fpga_region/region0/dfl-port.0/errors':
total 0
-rw-r--r-- 1 root root 4096 Jul 22 16:10 errors
-r--r--r-- 1 root root 4096 Jul 22 16:10 first_error
-r--r--r-- 1 root root 4096 Jul 22 16:10 first_malformed_req

'/sys/devices/pci0000:ae/0000:ae:00.0/0000:af:00.0/fpga_region/region0/dfl-port.0/power':
total 0
-rw-r--r-- 1 root root 4096 Jul 22 16:10 async
-rw-r--r-- 1 root root 4096 Jul 22 16:10 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 Jul 22 16:10 control
-r--r--r-- 1 root root 4096 Jul 22 16:10 runtime_active_kids
-r--r--r-- 1 root root 4096 Jul 22 16:10 runtime_active_time
-r--r--r-- 1 root root 4096 Jul 22 16:10 runtime_enabled
-r--r--r-- 1 root root 4096 Jul 22 16:10 runtime_status
-r--r--r-- 1 root root 4096 Jul 22 16:10 runtime_suspended_time
-r--r--r-- 1 root root 4096 Jul 22 16:10 runtime_usage

'/sys/devices/pci0000:ae/0000:ae:00.0/0000:af:00.0/fpga_region/region0/power':
total 0
-rw-r--r-- 1 root root 4096 Jul 22 16:10 async
-rw-r--r-- 1 root root 4096 Jul 22 16:10 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 Jul 22 16:10 control
-r--r--r-- 1 root root 4096 Jul 22 16:10 runtime_active_kids
-r--r--r-- 1 root root 4096 Jul 22 16:10 runtime_active_time
-r--r--r-- 1 root root 4096 Jul 22 16:10 runtime_enabled
-r--r--r-- 1 root root 4096 Jul 22 16:10 runtime_status
-r--r--r-- 1 root root 4096 Jul 22 16:10 runtime_suspended_time
-r--r--r-- 1 root root 4096 Jul 22 16:10 runtime_usage

ls -la /dev/dfl*
crw------- 1 root root 236, 0 Jul 22 06:03 /dev/dfl-fme.0
crw------- 1 root root 235, 0 Jul 22 06:03 /dev/dfl-port.0

@stefanstoeckigt I don't see dfl_fme_mgr and dfl_fme_br modules loaded in your. Here is my output:
# lsmod |grep dfl
dfl_fme_br             16384  0
dfl_fme_mgr            20480  1
dfl_fme_region         20480  0
dfl_afu                32768  0
dfl_fme                24576  0
dfl_pci                16384  0
dfl                    28672  4 dfl_pci,dfl_fme,dfl_fme_br,dfl_afu
fpga_region            20480  3 dfl_fme_region,dfl_fme,dfl
fpga_bridge            20480  4 dfl_fme_region,fpga_region,dfl_fme,dfl_fme_br
fpga_mgr               16384  4 dfl_fme_region,fpga_region,dfl_fme_mgr,dfl_fme

Can you also  /opt/intel/fpga-sw/fpga_tool -d /dev/dfl-port.0 fpgainfo this command and show its output here.
Here is what it outputs on my system:
# /opt/intel/fpga-sw/fpga_tool -d /dev/dfl-port.0 fpgainfo
//****** PORT ******//
Name                             : dfl-port.0
Device Node                      : /dev/dfl-port.0
SysFS Path                       : /sys/devices/pci0000:80/0000:80:01.0/0000:81:00.0/fpga_region/region0/dfl-port.0
PCIe s:b:d:f                     : 0000:81:00.0
Device Id                        : 0x8086:0x09c4
Device Class                     : 0x120000
Local CPUs                       : 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55
NUMA                             : 1
SR-IOV Virtual Functions         : 0
SR-IOV maximum Virtual Functions : 1
FME Name                         : dfl-fme.0
Port Id                          : 0
Interface UUID                   : 9926ab6d6c925a68aabca7d84c545738
Accelerator UUID                 : f7df405cbd7acf7222f144b0b93acd18
Kernet API Version               : 0
Port Regions                     : 2
Port Region (Index/Size/Offset)  : 0 / 262144 / 0
Port Region (Index/Size/Offset)  : 1 / 4096 / 262144

@bart0sh please see below.
/opt/intel/fpga-sw/fpga_tool -d /dev/dfl-port.0 fpgainfo
//****** PORT ******//
Name                             : dfl-port.0
Device Node                      : /dev/dfl-port.0
SysFS Path                       : /sys/devices/pci0000:ae/0000:ae:00.0/0000:af:00.0/fpga_region/region0/dfl-port.0
PCIe s:b:d:f                     : 0000:af:00.0
Device Id                        : 0x8086:0x09c4
Device Class                     : 0x120000
Local CPUs                       : 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39
NUMA                             : 1
SR-IOV Virtual Functions         : 0
SR-IOV maximum Virtual Functions : 1
FME Name                         : dfl-fme.0
Port Id                          : 0
Interface UUID                   :
Accelerator UUID                 : 66dae6f14f724fbaaeaa1b6facdfc39b
Kernet API Version               : 0
Port Regions                     : 2
Port Region (Index/Size/Offset)  : 0 / 262144 / 0
Port Region (Index/Size/Offset)  : 1 / 4096 / 262144

@stefanstoeckigt Interface UUID is empty for some reason. That explains why plugin was not able to get it and failed with this error: E0624 14:03:08.316328 1 manager.go:140] Failed to serve fpga.intel.com/region-: rpc error: code = Unknown desc = the ResourceName "fpga.intel.com/region-" is invalid
SR-IOV seems to be turned off, so theoretically you should have sysfs entries similar to what I have, i.e. 2 region dir  entries and compat_id file entry with non-zero interface id in it:
# ls -la /sys/class/fpga_region/
total 0
drwxr-xr-x  2 root root 0 Jun 23 19:45 .
drwxr-xr-x 70 root root 0 Jun 23 19:45 ..
lrwxrwxrwx  1 root root 0 Jun 23 19:47 region0 -> ../../devices/pci0000:80/0000:80:01.0/0000:81:00.0/fpga_region/region0
lrwxrwxrwx  1 root root 0 Jun 23 19:47 region1 -> ../../devices/pci0000:80/0000:80:01.0/0000:81:00.0/fpga_region/region0/dfl-fme.0/dfl-fme-region.2/fpga_region/region1

# cat /sys/class/fpga_region/region1/compat_id
9926ab6d6c925a68aabca7d84c545738

First of all try to make sure all dfl modules are loaded. Second - I'd suggest to re-flash FPGA firmware on your device and cold reboot your machine.

I cant seem to get the operator working with arria10 FPGA, opae 1.2.1 running interfaceId: 38d782e3b6125343b9342433e348ac4c.

Can you explain how did you obtain this interface id?

ok, closing the issue. Hopefully we've found the reason.


[CSRNG] First Section of CSRNG Documentation (Overview Material)

This initial section is one of many PR's for the CSRNG documentation.
This first PR only covers the background material and overview section.
Signed-off-by: Martin Lueker-Boden<EMAIL_ADDRESS>

Good day everyone,
@mwbranstad and I are in the progress of starting the CSRNG pull to master.   This PR is the first of at last two for the Markdown documentation.   @mwbranstad and I are dividing up responsibility for the document. I'm adding the background material here, and @mwbranstad will follow up with the hardware technical specifications.
If there is any advice on how to better break a document up in to separate PR's let us know.  For instance we considered spreading the file across multiple .md files and linked with includes, but just doing a serial edit seems cleaner in the long run.

yes that's right, i think it will likely be one with frequent reseeds and
one without.
I can't remember which policy required it now, but Martin mentioned there
is at least one case that requires a reseed after every generate.  So
effectively it's just a whitener for rng.
On Mon, Jun 15, 2020 at 12:36 PM zi-v<EMAIL_ADDRESS>wrote:

@zi-v commented on this pull request.
In hw/ip/csrng/doc/_index.md
https://github.com/lowRISC/opentitan/pull/2463#discussion_r440401765:

In this mode, an instance also meets the requirements laid out for a PTG.3 class RNG, the strongest class laid out in AIS31.

Implementation follows the NRBG “Oversampling Construction” approved by SP 800-90C, to meet both CC and FIPS TRNG constructions.

200 kbps entropy can support reseed every few ms. Isn't that frequent
enough for most use cases. The only scenario that I see which will require
more frequent reseed is DRG.4 support which I am not sure we need and even
if so, we can settle for two instances, one with DRG.4 and one without.
Note that per NIST.SP.800-90a, the maximum number of requests between
reseeds (reseed_interval) is 2^48
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/pull/2463#discussion_r440401765,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSVWVPIMH56WB6NK5BLRWZZ3RANCNFSM4N25LJ5A
.

Hi Tim, thats right, there is the NRBG use case.   Which I think @zi-v has pointed out is a very expensive option.

Hi @zi-v and @tjaychen.   Thank you so much for your reviews.  I've resolved your comments above.  Do you think it is ready now?   Please let me know if there are any additional changes.
I'd like to issue a friendly reminder to everyone that there are more changes coming from @mwbranstad on the actual interface details, but they are waiting for this PR.

Thank @imphil for the review! You can see my changes in https://github.com/lowRISC/opentitan/pull/2463/commits/5543b4ef61568ed6a65c2c92ed525cea705d666d

Thanks for the review @cdgori!  Your comments are been reflected in https://github.com/lowRISC/opentitan/pull/2463/commits/45b91febb70ccef40b65d95f7f7d8cf4a8f1f9da.
@imphil, there are some new paragraphs here, clarifying language.  Please let me know if your eagle-eyes spot any proofreading errors.
Thanks again everyone.

Thanks for the review @cdgori! Your comments are been reflected in 45b91fe.
@imphil, there are some new paragraphs here, clarifying language. Please let me know if your eagle-eyes spot any proofreading errors.
Thanks again everyone.

Looking good!  Thanks @martin-lueker

Thanks for your review @moidx!  I've fixed the one typo you noticed, (and another that just leapt out at me,) in https://github.com/lowRISC/opentitan/pull/2463/commits/9f313e90890054ef7e822c9f7b78180e1afea717
As for the feature queries, I'm going to say that those are not supported as of today, but they might be easy to add.  I've taken the liberty of adding a new issue for them: #2652, so that we do not forget. However I think we need to take a further look before announcing support for them.   In your view, is that acceptable for approval of the current PR?  Please note that there is another PR coming right behind this one where these technical issues can be tackled more completely.

Hi @martin-lueker, can you squash the commits so that we can submit the PR? Thanks!

Thank you everyone.   The commits have been rebased and squashed.

Thanks @martin-lueker! This documentation is now available at https://docs.opentitan.org/hw/ip/csrng/doc/. For follow-ups, please file individual issues and new PRs, comments in a closed PR are easily lost.


Row option: edit permission

Allow users to set edit permission for specific users, groups, and collections

Implemented as #28


Global colors

The user wants an option on the toolbar which selects a color, via a Popup-Menu containing a variety of different colors. All newly created elements from that point forward should appear in the selected color.

Zeitaufwand: 1 Stunde
Punkte: 2


fix: patch on usb package

📝 Description
Attempt of a patch to usb package
Waiting on https://github.com/LedgerHQ/ledger-live/pull/4103 - then merge on develop to keep main and develop sync
❓ Context

Impacted projects: hw-transport-node-hid-singleton & hw-transport-node-hid
Linked resource(s):  LIVE-8628

✅ Checklist

[x] Test coverage QA tested
[x] Atomic delivery
[ ] No breaking changes

📸 Demo

🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

Fix merged on develop with https://github.com/LedgerHQ/ledger-live/pull/4107


[feature request] File Upload: add custom form data

This repository's issues are reserved for feature requests and bug reports.
Do you want to request a feature or report a bug?
feature
Feature Request
What is the expected behavior?
A key value pair or FormData parameter should be added to IUploadOptions where we can pass custom form data e.g. file type, comment, etc.
What is the motivation / use case for changing the behavior?
I now we can headers but I think these kind of data doesn't belong to the header
Other information
If you are interested I can do it and create a pull request.

Sure, really interested in a PR with that 😄

Today I made the necessary changes  (this is my work account) but when I run ng serve --aot I get a JavaScript heap out of memory. (Everything else is working including ng build --aot.) There is an open issue about it at the cli repo.
Should I create a PR with the my new feature branch anyway?

Sure, PR away and we can start discussing this kinds of things in the PR. 😄


Document non-atom Multi name example

The current example usages of Ecto.Multi do not make it obvious that the name you use in each operation can actually be anything. The purpose of this pull request is to add an example which illustrates how you might reduce over a collection, using a non-atom as the name of each operation.

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


Don't acquire lock on worker when reading the matrel's index expression

Looks good!

 You can probably merge this in.

What about this?
https://circleci.com/gh/pipelinedb/pipelinedb/3827
I'm going to dig into this today after fixing a few other issues.

Yea, this is the only legit error that we say. I think we're wrongly skipping execution of a CQ somewhere in the worker.

I just ran that test locally repeatedly for an hour after merging master with no failures, I'm going to merge this.


fixing null exception error

Description
Fixing null exception error.
Motivation and Context
When adding this extension 	services.AddAWSService<IAmazonDynamoDB>(); in a Console App I got a null exception error.
The reason is that ConsoleApp does not register IConfiguration, therefore the var options is not setted here https://github.com/aws/aws-sdk-net/blob/master/extensions/src/AWSSDK.Extensions.NETCore.Setup/ClientFactory.cs#L67, upfront it gets a null exception here https://github.com/aws/aws-sdk-net/blob/master/extensions/src/AWSSDK.Extensions.NETCore.Setup/ClientFactory.cs#L177.
Testing
Tested locally in my app, it solved the exception.
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] My code follows the code style of this project
[ ] My change requires a change to the documentation
[ ] I have updated the documentation accordingly
[x] I have read the README document
[ ] I have added tests to cover my changes
[x] All new and existing tests passed

License

[x] I confirm that this pull request can be released under the Apache 2 license

@normj can we get someone to review this? Not something big neither complex.

@normj can we get someone to review this? Not something big neither complex.


AddDivs() breaks color transfer?

So my efforts in #6 are producing multiple issues now, @ericmandel:
First, I have this code. Just loading JS9 and making a display:
%%html
  <link type="image/x-icon" rel="shortcut icon" href="/static/js9-www/./favicon.ico">
  <link type="text/css" rel="stylesheet" href="/static/js9-www/js9support.css">
  <link type="text/css" rel="stylesheet" href="/static/js9-www/js9.css">
  <link rel="apple-touch-icon" href="/static/js9-www/images/js9-apple-touch-icon.png">

The display comes up and appears functional, but the image is completely grey:

Here's what's funny. If I remove the JS9.AddDivs("foo_JS9") statement, everything works fine.

The foo_JS9 div is part of the web page from the start (i.e. not added programmatically), so the (equivalent of) JS9.AddDivs() has already been called on it. I'm not sure what happens if you call it again explicitly, but I can imagine that something bad happens.

Ah ok, got it.

Sorry, I didn't quite mean from the start, I mean at the time that JS9.init() is called.  When its loaded and ready, the js9.js script calls JS9.init() which essentially calls JS9.AddDivs() on the existing divs, which includes the divs within foo". Once this is done, if you add more divs, you have to call JS9.AddDivs() manually.

OK that makes sense then.


Added findDivisors

Added findDivisors to find all the divisors of a natural number.
Implemented three versions.

findDivisorsGeneric
findDivisorsByPairingUnsorted
findDivisorsByPairingSorted

Signed-off-by: Venkata krishna<EMAIL_ADDRESS>

Coverage increased (+0.05%) to 97.105% when pulling 3f4e7e0365a57d20b768a1f41983db3b65592c0a on argonlaser:master into dec8937fa3695c5b40e37616dcf6ecad19e645af on felipernb:master.


issue with internet explorer export

i have the datatables setup and working on all of the browsers the only issue i have is that the export button for csv and excel tajes you to a page not found on IE  it works okay on chrome and firefox. tried from 5 different machines and they are all failing. this page cannot be displayed error.
i am using the service provider implementation.

Operating System
PHP Version 5.6
Laravel Version 5.1
Laravel-Datatables Version 6.4.1

Oh the friendly IE. I am using mac and may not be able to try and replicate this atm. Can you double check or paste the url generated when doing an export? My guess is the js builds wrong export url when using IE.

Yu gotta Love IE, im on a mac too but some of the users are forced to use IE, so heres the url that it tries to access :
websiteurl/dataview?draw=1&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=part.id&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=true  and it repeats that for the rest of the columns
Thank you in advance

It's been a while but this should be fixed now using this work around:
https://github.com/yajra/laravel-datatables-buttons/pull/24
https://github.com/yajra/laravel-datatables-html/pull/13
Thanks!


Localization to Russian

Hello!
First of all let me thank you for such an amazing piece of work.
And I'm sorry for opening a new issue due to my only personal small need.
So would you mind helping me with localization to Russian language?
What exactly I need to be localized is TaskEditDialog and all information related to trigger descriptions.
BUT! There is one more problem. I am not able to build this project on my own because of lower VS version than required.
Is there any chance of you providing me with rebuilt dll after I prepare aforementioned translations?

Attached to this message is an Excel spreadsheet TaskSched.2018_03_03.xlsx with all the resource strings translated into the different languages. For the Russian translation in column ".ru", please add or correct each entry giving special attention to those strings in English that have format specifiers (e.g. {0}, {1} etc.) or that have an embedded '&' character to specify the keyboard shortcut or that use special characters ( or x->). The automated Azure translator usually messes those up and it appears to have added an '!' in many places. I would recommend using the Windows Task Scheduler tool as your guide for wording. The other localizations have copied it where possible for consistency. Microsoft has a search engine for localized phrases in Windows. If the cell is red, ignore it.  Once done, post it here with your reply. I will then rebuild the project and release a new version with the new localization.

Well I guess I've done everything I could.
TaskSched.2018_03_03.xlsx

I have code for you to test included in these 2 zip files. Replace the files in your build directory with these and relaunch your application. They include the Russian resource assemblies.

TaskScheduler.zip
TaskSchedulerEditor.zip

Let me know if there are any changes that need to be made. Once complete, I'll release this new version.

Thanks for the dlls. Almost everything seems fine, I've just added some small corrections. Here's the updated version:
TaskSched.2018_03_03.xlsx
A little upset though that not all the tabs of TaskOptionsEditor are localized. Really like the design of it. Gotta switch back to the standard look of TaskEdit. Anyway it's just a minor inconvenience so thanks again for your help.

I found the problem with TaskOptionsEditor. If possible, would you fill in the items in this spreadsheet that are yellow?
TaskSched2018_03_06.xlsx

Thank you. Your changes will be available in the next few days in the next release.


Enable distributed FSDP Tests

We needed to update our dev requirements with an older version of pytest. See https://github.com/pytorch/ao/pull/190 for more context
This is the upstream issue with pytest https://github.com/pytest-dev/pytest/issues/12273 thanks @clee2000

argh I opened a pr against my own branch lemme make an new pr

argh I opened a pr against my own branch lemme make an new pr

i am pretending not seeing this msg


Add redirects_importer module

Hi there! I was asked by Tom Dyson and the core team to submit a PR where wagtail-redirect-importer is included by default in Wagtail, so here we go :)
First, to answer the contribution questions:

[x] Do the tests still pass? (https://docs.wagtail.io/en/latest/contributing/developing.html#testing)
[x] Does the code comply with the style guide? (Run make lint from the Wagtail root)
[x] For Python changes: Have you added tests to cover the new/fixed behaviour?
[x] For front-end changes: Did you test on all of Wagtail’s supported browsers?

Firefox 75.0b6 (Mac)
Chrome 80.0.3987.163 (Mac)
Chrome 80.0.3987.162 (Chrome OS)
Chrome 80.0.3987.149 (Android 8.1)
IE 11 (Windows 8.1)
Edge 80 (Windows 8.1)
Safari 13.1 (136<IP_ADDRESS>.8) (Mac)
Safari 13 (iOS 13.3)

[ ] For new features: Has the documentation been updated accordingly? Here I need input, see my comments below

Before submitting this PR I’ve done some preparation work that are described here: https://github.com/Frojd/wagtail-redirect-importer/issues/6 (TLDR; Improved tests coverage, offset/limit feature, bug squashing)
How this PR differs from the original wagtail-redirect-importer:

I’ve renamed the app to redirects_importer (this also applies to templates and static)
Changed path to wagtail.contrib.redirects_importer
Changed url namespace to wagtailredirectsimporter
Fixed a bug where the error section was always visible even if there were no errors
Fixed a bug on the summary page (that requires POST data), if reloaded it now redirects the user back to import redirect start

A couple of things to note:

I’ve kept wagtail_redirect_importer as a separate app
This PR introduces a new dependency (tablib with xls and xlsx support)

Things I need help with / broader questions:

Improving docs. This is a new feature, but are currently unsure what kind of info we need to add. Any pointer in the right direction is appreciated. Will probably need to point out how to activate the app.
(Core team advice) Today redirect importer has its own menu item, but interface wise it might be better to see a “Import redirects” besides “Add redirect” but there are some limitations in the templating system that only allows one action button. Any thoughts on this? This can of course be done is a separate PR.
(Core team advice) Keeping it a separate app / merging into redirects? Its separate right now because it's easier for me to maintain, but architecture wise it might be good to have one app that handles all redirect related matters. Could also be done in a different PR.
The app has its own demoapp as a test harness, any pointers how the wagtail project looks at constructing test environments for apps or is it an ok practice within the project?

Anyhow, let's start here and feedback is much appreciated!

Thanks for making this PR - it'll be great to get this functionality in Wagtail!
I would lean towards bringing it in with redirects as much as possible, both app and menu item/buttons - for modeladmin xlsx/csv downloads in 2.9, we're adding a download button next to the add button, so I think adding an import button for redirects would probably be a good call.

Agreed - I can't see a situation where someone would have redirects enabled in their project and not welcome this option being available, so from an end-user perspective it would make sense for this to be part of the standard redirects module rather than an add-on. (It'll also make it less fiddly to get the UI more tightly integrated - no need to come up with a way to 'hook in' extra action buttons from outside the app.)

Thanks for the feedback @gasman and @jacobtoppm! My next step is to rebase this PR to include Wagtail 2.9 and find a good merge of redirects and redirects-importer. Will ping you once I have a review ready.

Hello! Just pushed out a new update, I’ve taken the feedback provided into account and unified the importer with the redirects app.
Design decisions I’ve made:

Moved the import view functions into wagtail.contrib.wagtailredirects.views.py
Moved and renamed wagtail.contrib.wagtailredirects.tests into wagtail.contrib.wagtailredirects.views.test_redirects.py. I also added the remaining tests from redirect_importer into this dir.
Moved import view functions into wagtail.contrib.wagtailredirects.views
Changed the url schema so the importer lives at /redirects/import/*
Added a button titled “Import redirects” in redirects index header
Inlined header code from header partial into redirects index to make it possible to add the additional “Import redirects” button (I saw the same pattern in modeladmin)
Changed “i’m done” and cancel buttons to link to wagtailredirects:index
Renamed templates and views to clarify they manage import (choose_file.html -> choose_import_file and start -> start_import)

Small fixes:

Fixed a couple of missing translations
Error summary was always showing (even if there were no errors)
Lots of renaming to better fit the redirects app conventions

Advice needed

I’ve added the button “Import redirects” in the header, but design wise it does not look that great (no margin/padding - see my embedded screenshot). I tried @jacobtoppm example for the download button, but it generated the same layout. My question is, should the buttons be stacked horizontally or vertically and any advice on design and/or helper css classes I could look at?

Looking forward to getting additional feedback!

FYI @marteinn there is now a docs page for the contrib.redirects module in master.
https://github.com/wagtail/wagtail/blob/master/docs/reference/contrib/redirects.rst

Thanks @marteinn! I agree that the vertical stacking without margin doesn't look right. Paging @benenright for his opinion on a better approach.

Hiya
I'd go for something like this.

Ben

Thanks @lb-! I went through the docs and added documentation for the import_redirects management command. I also started writing a guide for how to import redirects from the interface, but realized its better suited in the editors guide, but in the end decided not to for now, (I think its better to do it when this PR is merged and interface is finalized so I can add proper screenshots).

Thanks @benenright and @tomdyson for the input! I have updated the button placement and added a css fix for this particular module, it can be found here: https://github.com/wagtail/wagtail/blob/7e1a9a02623dcb50406d253eeffaed6977b39d51/wagtail/contrib/redirects/static/wagtailredirects/css/index.css#L7-L17
I have tested it on a couple of different browsers and seems to be working fine:

Firefox 77.0b1 (64-bit) (MacOS)
Version 81.0.4044.138 (Official Build) (64-bit) (MacOS)
Safari Version 13.1 (MacOS)
IE 11 (Windows 10)

I’m not 100% happy with this solution though, I would rather find a solution that resides in _header.scss and can be applied to all headers that contain multiple action buttons. But I think that is a separate issue. (Perhaps already is?)

I’ve continued to work on this PR and I think it's ready for review, some docs are missing but I’m planning on doing those once the code has been reviewed.
In my latest set of updates I have done the following:

Solved issue https://github.com/Frojd/wagtail-redirect-importer/issues/5 reported by @zerolab where the admin import did not work on horizontally scaled apps. I solved it by introducing the storage method “cache”, which utilizes the django cache to keep the state between servers.
Added the setting WAGTAIL_REDIRECTS_FILE_STORAGE so horizontally scaled apps can change storage method, the default method is still using a temporary file.
Fixed so only the file formats csv, tsv, xls and xlsx are allowed, mainly to make it easier for us when dealing with support issues and debugging.

I’m marking this as needs review. Cheers!

Thank you so much for the feedback @lb, much appreciated! Starting to address your comments now.

Again, thank you so much @lb- for the feedback, super valuable and I think it really improved the user experience.
I just made a commit that should address all the issues you raised, (I went through them one by one and resolved).
Any additional feedback is of course much appreciated!

Awesome! I'll try do do another full review over the weekend

Fantastic @lb-, much appreciated!

@marteinn  - awesome stuff!
I did another round of validation and this feels much better, the error, info & success messages make it really clear what is happening.
I made a few small tweaks locally, fixed one typo and have merged in.
via 301d1bc7f52fffc18b8cb34fbde01633bc1599ee

@gasman  - I have not added this to the 'What's new' section of the 2.10 release notes in this commit but figured we would probably want to add this as a higher profile feature but was not sure what to write.

Fantastic @lb-! Many thanks for the review and merging.


Support composite requests

Set to pending because:

For most (if not all) requests, we should reduce the need for composite request because it will take more resources (CPU/memory/network) to encode/decode/transfer requests because there are multiple proto messages and we need to merge them in our service layers for the further process.
The requests of the same request type (create/delete/update/query) don't must to follow to handle only one resource or multiple resources because if we follow to handle only one resource, it will be troublesome and needs composite request for some requests (e.g. blocked multiple users in a group in multiple requests), while if we follow to handle multiple resources, it's meaningless for some requests (e.g. update typing status in multiple conversations in a request because it's hard to figure out in which scenarios a real user need to update typing status in multiple conversations), and it also makes code complex to implement efficiently.


Change lets-encrypt client

Change lets encrypt client to
https://godoc.org/golang.org/x/crypto/acme

It allow revoke pending authorization.
It native work with context
Simple interface

Fixed in https://github.com/rekby/lets-proxy2


Center Booking Page Content

🖥 Frontend Issue
Description
The content on the booking page is currently aligned to the top, making it appear unbalanced. Centering the content would improve the overall layout and user experience.
Steps to Reproduce

Navigate to the booking page.
Observe the placement of the content.
Note that the content is sticking to the top of the page.

Expected behavior
The content on the booking page should be centered vertically, providing a more visually appealing layout.
Actual behavior
The booking page content is aligned at the top, which makes the page look unbalanced and less user-friendly.
Screenshots or Video

Are you participating in GSSoC?
Yes

Na previous one UI is best if you can change something more in that only then tell


Two simultaneous LE workflows from the same org will result in a deadlock

Describe the bug
If an organization has two LARs simultaneously creating two competing LEI vLEI issuance workflows, a deadlock will occur where neither workflow can be completed.
To Reproduce
Steps to reproduce the behavior:

Create two LAR accounts.
Each LAR account starts a separate LE vLEI issuance workflow
One of the LAR accounts adds him/herself and the other as LARs of their organizations.
This will result in a deadlock where neither workflow can proceed.

Expected behavior
There are two options here:

The two competing workflows should be independent of each other to prevent the deadlock
Origin should prevent two workflows from being created.

Screenshots

[from twin in jira]
The issue is assigned in jira to User 8c9f9.

[from twin in jira]
The issue is assigned in jira to Cal Warshaw.


Enable Xamarin nuget compatibility

Hi,
i am working on a Desktop and Xamarin Mobile App which uses this library. Sadly i was unable to include the lib via nuget in the Xamarin project due to it being incompatibil (see error below).
To fix this i mirrored the lib on our internal nuget server and changed the lib/path in the package from:
portable-net45+win+win8+wp8+wpa81
to:
portable-net45+wp8+wpa81+netcore45+monoandroid1+xamarin.ios10
which works so far. Maybe consider changing the path in the official package or please tell me if this is a bad idea for some reason (i'm new in the whole c#/nuget world :)).
regards Thomas
Xamarin - Nuget compatibility error:
Could not install package 'Simple.OData.V3.Client 4.8.1'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v5.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

Thank you for the observation, this is very valuable. I will investigate if your fix will work in other scenarios and release a new version.

Hi again,
Actually I don't really understand why this error occurs because the changes you did should not have affected anything. I asked a question on StackOverflow, you can check the discussion:
http://stackoverflow.com/questions/32483438/why-does-a-pcl-nuget-package-fail-to-target-xamarin-platform
So as was suggested on SO, I need more information about what kind of development environment you are using. It can even be a NuGet 3 bug. Can you provide me with more details?

Thanks for getting back to me so quickly.
We are indeed using Visual Studio 2015 with the latest available nuget version (should be 3.x but i am not at work right now so can't check for an exact number sorry).
Isn't the monoandroid/xamarin.ios in lib/path required to download the packages in a Xamarin project?
I just checked a few Xamarin nuget packages and serilog which i tried out today and all of them had monoandroid1+xamarin.ios10 in the lib/path. The Xamarin docu seems to suggest the same https://developer.xamarin.com/guides/cross-platform/advanced/nuget/.

I can't say for VS2015 (didn't try it with Xamarin apps yet), but both VS2013 and Xamarin Studio work fine with NuGet packages that omit references to Xamarin platforms. Platform reference in NuGet is just an instruction of what lib (from potentially a number of libraries) to pick and link to a mobile app. Xamarin tools are smart enough to manage it without explicit platform reference. But perhaps all this changed with Visual Studio 2015 and an explicit reference is required. I will investigate this more, and if you have access to Visual Studio 2013 perhaps you can also check if you are able to install NuGet package there. Just to understand better what's going on.

Another request. You probably have Xamarin Studio on your machine. Can you try to build your app in Xamarin Studio using my original package?

Thank you for the explanation regarding the platform references.
I tried adding the nuget package in Xamarin Studio and it worked fine. I don't have access to VS2013 right now.
Since it works fine in XS (using nuget v2.8.5) but not in VS2015 i thought that your idea that it might be a bug in nuget v3 is right and started to investigate. I found the following issue in the nuget project https://github.com/NuGet/Home/issues/1172 and removed a "win" entry in the path for testing purposes and it worked in VS2015. So that seems to be the correct issue/bug.
While it would help to add the platform references to make it work now in the end it is a nuget bug.
Thank your very much for your help and sorry for bothering you with an issue that is not really in your project.

This looks like a possible bug in NuGet v3. I get the same error trying to install the NuGet package with Visual Studio 2015 and NuGet 3.1.1 installed.
It looks to me as though NuGet 3 does not like the extra win in the portable profile for Simple.OData.V3Client 4.8.1. If I remove that from the extracted package in the local machine's cache then Visual Studio 2015 will install it into an Android project. So the profile folder is now:
portable-net45+win8+wp8+wpa81

It would probably be worth reporting this as a bug with the NuGet team to see if it is a bug or a change that has occured in NuGet 3 which makes it not backward compatble with NuGet 2.
A monoandroid/xamarin.ios in the lib directory is not required in the NuGet package in order for it to be used in a Xamarin project. If the NuGet package contains a compatible portable class library (PCL) then that can be used. You only need lib/monoandroid or lib/xamarin.ios if you have a library which uses part of monoandroid or xamarin.ios (i.e. is platform specific).
Also the monoandroid and xamarin.ios is not required in the portable class library profile in the NuGet package. These are treated as optional by NuGet. Json.NET for example does not any reference to monoandroid or xamarin.iOS in its NuGet package and that can be used by Xamarin projects.

@mrward thanks for the additional explanation and help. Your observation was right. I sent my previous comment just shortly before yours explaning that it is indeed a nuget issue and that it is fixed in the next version.

I will change the platform targets and release an update (version 4.11) in a few days. Thanks for a great input.


vue-quill-editor with nuxt 3

I can't get it to work in any way vue-quill-editor with nuxt 3.
Maybe there is some solution?
Code:

plugin quill.client.js
import { defineNuxtPlugin } from '#app'
import VueQuillEditor from 'vue-quill-editor'

export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.vueApp.use(VueQuillEditor)
})

in page:

I have same issue.

help please

help please

I solved it.
In nuxt.config.ts
ssr: false // Disable Server Side rendering

You can use options api rather than composition.
Here my code and this work either use ssr or csr.
<script>
import { QuillEditor } from '@vueup/vue-quill';
import<EMAIL_ADDRESS>
export default {
    components: {
        QuillEditor
    },
}
</script>

Don't forget to register your component if you'are using options api, and wrap the component with <ClientOnly> or naming the component like this NameComponent.client.vue


Can I have an async call to another server to fetch some data inside sendRequestXML method?

WHat I want to do is as soon as the sendRequestMethod is triggered by the QWC, is there a way to make an async call to get the actual request data from some other server and then prepare the QBXML and return that?

If you have a module flag that indicates the request data is still being waited on (let's call it dataReady and set it to false by default), then you could have sendRequestXML() continually return 'NoOp' until that flag is true.

If you want the Web Connector to pause for an interval of time (currently 5 seconds) return the string “NoOp”, which will cause the Web Connector to call your getLastError callback: a “NoOp” returned from GetLastError will cause the QBWC to pause updates for 5 seconds before attempting to call sendRequestXML() again.

Currently, buildRequest() just sends some hard-coded requests for testing until I develop a better system for that. But instead, you could have it asynchronously retrieve your data and set dataReady to true upon success.

Thanks for responding @johnballantyne .. So if I create such a flag and return 'NoOp' continuously until the flag is true, do I need to do something in the getLastError method also? I mean do I need to explicitly return 'NoOp' from there also?

@johnballantyne  Thanks for the idea..Works like a charm!! :)

As I presume you found out, yes you'd need to return 'NoOp' from getLastError() as well. I'm glad you got it working @ashwaniare!

Yes, you're right.. I missed that part in the QB developer guide.. Thanks!


Support grafanadashboards in a configmap without having to define a grafanadashboard CR

This is the same as the closed issue #249. I could not re-open it and could not get a response from @pb82 about why the issue was closed.
Is your feature request related to a problem? Please describe.
Dashboards created by helm charts tend to have a grafana_dashboard flag set on them and are usually imported using kiwigrid/k8s-sidecar. These are not automatically imported by grafana-operator
(If applicable)If your feature request solves a bug please provide a link to the community issue
Describe the solution you'd like
For the config maps to be read and imported.
Describe alternatives you've considered
Using cronjobs to convert them in the background. It's hacky.
Additional context
N/A
Existing solutions
github.com/kiwigrid/k8s-sidecar

@SerialVelocity we do not support any helm chart for the grafana-operator, bitnami have published a helm chart https://github.com/bitnami/charts/pull/3287 and if you want any changes to happen to it you will need to create a issue/PR with them.
Or are we misunderstanding you? If so please can you elaborate more on what you think is missing?

Hey @NissesSenap, this is not about grafana-operator being a Helm chart. This is to do with many helm charts creating their dashboards by having a grafana_dashboard label associated with their dashboard config map. This also sometimes applies to non-helm dashboards too.
Sorry, the original issue had a comment with a link to some dashboards but it failed to show an example of what the config maps actually look like.
Here's an example I found using search:
https://github.com/datastax/pulsar-helm-chart/blob/299864641317f295efbf0d8037204e13f438e268/helm-chart-sources/pulsar/templates/monitoring/grafana-dashboards.yaml#L33

If i understand you correctly you want to be able to import a grafan dashboard that is in a configmap, is this correct?
That is already supported: https://github.com/grafana-operator/grafana-operator/blob/master/deploy/examples/dashboards/DashboardFromConfigMap.yaml
All you need to do is to create a grafana dashboard and point on the cm. You just have to make sure that the grafana dashboard got the correct labels so the operator can find it.
I might misunderstand you again, if that is the case please share some pure yaml and i guess try to explain it in another way.

You are right, I want to be able to import them, but I want to import them without having to create grafana dashboard CRD for each.
So, when I go to upgrade a helm chart that I have, if they add new grafana dashboards, they appear automatically in Grafana.

Okay, since this actually have nothing to do with helm I changed the name since this applies to all yaml, it dosen't have anything to do with a template engine.
We could tell the operator to monitor configmaps with a specific label just like we do with the grafanadashboards.
Since we already support CM usage together with the grafanadashboard CR my guess is that feature won't be anything super prioritized from the maintainers point of view.
Would you be willing to add this feature your self @SerialVelocity?

We could tell the operator to monitor configmaps with a specific label just like we do with the grafanadashboards.
Since we already support CM usage together with the grafanadashboard CR my guess is that feature won't be anything super prioritized from the maintainers point of view.

Yes, either directly, or via the grafanadashboard CR extension which allows you to specify a label instead of namespace/name

Would you be willing to add this feature your self @SerialVelocity?

I'm not able to currently and not sure when I'll be able to. If I find some free time, I'll have a go at it.
(also cc @tlipatov-asappa since you mentioned you work around this issue too)

(typed your name wrong: @tlipatov-asapp)

@NissesSenap @pb82 @weisdd Should we consider this for v5?
Imho, with the more opinionated approach from v5+ we should stay away from non-CR installation methods, however I think a workaround might exist by being able to mount a configmap to the same directory as our defaults in ConfigMapsMountDir or GrafanaProvisionDashboardVolumeName (however, we don't use i in code right now, which won't solve this feature request)
It would also mean we can avoid dealing with configmaps and label selectors etc. and just let a user define a configmap and we automatically attach it to an instance if the configmap exists when specified in the grafana CR

I agree with you @HubertStefanski i don't think we should support this.
But if users want to mount a cm that contain dashboards and make grafana read that dashboard using built in features of grafana i see a problem with that.
But isn't this supported already?
My understanding from reading the documentation you can just add some cm as volumes and your grafana instance should detect them. And this all be possible to do in v5 today,
https://grafana.com/docs/grafana/latest/administration/provisioning/#dashboards
https://grafana.com/docs/grafana/latest/administration/provisioning/#provision-folders-structure-from-filesystem-to-grafana
I'm unsure if i think we should document this since i feel this is an anti pattern. We could write a small blog about it though. Not that it makes it less official.

I guess my ask here was for the operator to support generic config maps just by them having a label on them. I don't particularly want to go through each helm chart/yaml file, check whether they have added new dashboards, add it to grafana to mount it, etc. I would prefer for the operator to automatically pick up the existing ones based on labels that are in use today.
As in, I would prefer for this operator to be generic, rather than having to either write a webhook to auto-create your special CRDS, or manually creating your CRDs and checking each release manually.
It seems like a needed feature to have greater support for what is out there. Going through all charts and then mounting anything they create as volumes is not really feasible (and then, what's the point in having this operator if they have to be mounted directly into grafana?).
Hope that makes sense :)

We have decided that we won't support this in v5. We have created a crd for a reason.
Implementing this feature would generate lots of code and would also make rbac managment harder.
We would be willing to implement the same support that exist in v4 to v5 where it's possible to call on a configmap located in a crd. This have been done in https://github.com/grafana-operator/grafana-operator/pull/999, we won't merge this pr due to its size. But i have spoken to him and it's okay for anyone to pick things from the PR as you want and break out to a new pr.
Sorry for the bad news @SerialVelocity .

In my opinion, we should have a CRD that enables us to use the config map to import this to grafana because, in my case, I just enabled metamonitoring in Mimir chart to figure out these dashboards cant be imported to grafana operated out of the box
https://github.com/grafana/mimir/blob/main/operations/helm/charts/mimir-distributed/templates/metamonitoring/grafana-dashboards.yaml

same here .. the kyverno chart just creates a dashboard configmap: https://github.com/kyverno/kyverno/blob/main/charts/kyverno/templates/grafana/dashboard.yaml
but with the grafana-operator it is not possible to import this configmap out-of-the-box .. sad :/


Add Poison dependency to README

I realized that Poison is being used in the default JSON Serializer but not being listed in the dependencies. I guess most of the use cases for this library already include Poison indirectly from other libraries (e.g. Phoenix), so this wasn't documented.

Good catch, thanks!


Remove crosschain transfer from storage if it's canceled

The Problem

The Solution

Also, changelog

Also, changelog


Remove android.permission.VIBRATE from Library

In my opinion this library should not have the VIBRATE permission since vibration is optional and can be turned off. Correct me if I'm wrong in that please.
If one app includes the library and does not want the permission it'll get added to the app and hence the user has to manually update the app since it requires a new permission.

If you really don't want the vibrate permission you can the following to the manifest of your application
<uses-permission android:name="android.permission.VIBRATE"
  tools:node="remove" />

It's all about setting good defaults: if I don't add the permission to this library I will be closing two tickets a day on why the vibrate function doesn't work.

Okay understandable. I did not know that you can remove permissions. Thanks for that!

You live and you learn right ;-)


[WIP] [DONT MERGE] Experiment Hybrid Deployment with Cloudflare Pages

Description
As mentioned in https://github.com/near/near-wallet/issues/1101#issuecomment-878351601, this is a temporary  fix of replacing local static assets with remote assets from Cloudflare Pages such as wallet3.near.systems.

A quick and temporary solution is to replace the link to local JS / CSS assets with resources from another host, by making  src/index.html hardcoded with js/css links from one Cloudflare Pages deployment such as https://wallet3.near.systems/ , e.g.  <script src="https://wallet3.near.systems/src.4965f7fa.js"></script> , but this will definitely break our current CI process, and is only a temporary solution. (also we need to resolve the CORS issue of loading woff2, and update how images are imported).

Status
This is even not an complete temporary fix because woff2 and images won't be loaded successfully due to CORS or image importing problem in JS.

This can be closed since we already fixed in #1906


Support block banded cholesky

@TSGut @MikaelSlevinsky This might be useful especially for 2D stuff. Should be fairly straightforward to get it working adaptively as well.
FYI for 2D finite-difference matrix it roughly matches the speed of UMFPack which I think is a "success":
julia> @time cholesky(Symmetric(Δ));
  0.360270 seconds (359.21 k allocations: 204.490 MiB)

julia> @time cholesky(sparse(Δ));
  0.379772 seconds (5.49 k allocations: 88.902 MiB)

Actually... this has a different complexity than UMF pack so when n becomes large UMFPack is still much faster...

Should I retract my rocket?

Probably... at least until we add multithreading. (Actually that might be a bigger part of why UMFPack seems to have better complexity.)


problem on startup sunshine docker

Hi all,
I was trying to configure game on wolf on my server that have a J5005 CPU with his integrated GPU (an Intel UHD Graphics 605)
All seems configured correctly but when I try to launch an application the sunshine docker returned me this error:
gow-sunshine-1  | [2023:10:22:12:08:14]: Error: Couldn't load cuda: -1
gow-sunshine-1  | [2023:10:22:12:08:14]: Error: Environment variable WAYLAND_DISPLAY has not been defined
gow-sunshine-1  | [2023:10:22:12:08:14]: Info: Detecting connected monitors
I also try to force the intel driver by using the -g intel option but the problem remain.
Someone can help me?

I'm sorry for missing this issue, a long while has passed since you've posted this and Wolf is getting more and more capable; would you like to try it out?


Accept version unclear - add example call

I tried to follow the docs for retrieving a specific API version. Both with GET and POST (the latter failed). I don't understand how it should be done and assume others might be as well. Do I have to call the POST differently or am doing something basically wrong?
Method: GET
URL: https://crest-tq.eveonline.com/
Header:
   Accept: application/vnd.ccp.eve.Api-v2+json

Status: 200 OK
Result Header: "Content-Type", "application/vnd.ccp.eve.Api-v5+json; charset=utf-8"

Method: POST
URL: https://crest-tq.eveonline.com/
Header:
   Accept: application/vnd.ccp.eve.Api-v2+json

Status: 400 Bad Request
Body:
{
  "message": "Did not find handle function to match POST None application/vnd.ccp.eve.Api-v2+json for class Api",
  "key": "noHandlerMatch",
  "exceptionType": "BadRequestError"
}

Tried other endpoints as well.
Can you point me in the right direction? Let's also add that info for others.

Shouldn't the header be Accept: application/vnd.ccp.eve.Api-v2+json? Remove the quotes and the comma.

Yes, I just used another notation. Sorry for the confusion.

Currently trying to reproduce that with curl (use Postman before).

It would seem that application/vnd.ccp.eve.Api-v5+json is the only supported MIME type for the root, which is why it's not accepting your header.

How do you find out about the supported MIME types? Did not find any through OPTIONS.
Confirmed with curl:
$ curl -i -H "Accept: application/vnd.ccp.eve.Api-v1+json" https://crest-tq.eveonline.com/
HTTP/1.1 200 OK
Server: nginx/1.8.1
Date: Mon, 04 Jul 2016 17:26:40 GMT
Content-Type: application/vnd.ccp.eve.Api-v5+json; charset=utf-8
Content-Length: 2393
Connection: keep-alive
Vary: Accept-Encoding
Access-Control-Allow-Headers: AUTHORIZATION, X-REQUESTED-WITH, CONTENT-TYPE, ACCEPT
Access-Control-Max-Age: 1728000
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, PUT, POST, DELETE, HEAD, OPTIONS
Access-Control: allow <*>
Access-Control-Expose-Header: CONTENT-TYPE
Cache-Control: max-age=20
X-Cache-Status: EXPIRED

Look at the body from the OPTIONS call. It lists the accessible endpoints along with their MIME types.

Got it, the current body shows only one accepted version Api-v5+json. But that also means there is no way to test it yet?

I've added some info on that to my fork, will make a PR to the end of the week.

You can try out the alliance list endpoint, which currently has v1 and v2 if I recall correctly.

Correct, thanks for the info. You can close this issue. The information gained here will be put into the next PR.


IC4 can not find usable device in virtual desktop

Recently i try to connect camera to the virtual desktop, the related drivers have been installed, such as ImagingControl4 SDK, usd driver and camera driver, and IC Capture can be used normally, after connect the camera, i can find it in device manager in computer, but when  i use python script by imagingcontrol4 library, it cannot find the device, and i can find it by python in local computer. please help me how to solve this problem.

What is the virtual desktop?
Which camera do you use?
When using ic4, you need to install one of the items from the GenTL Producers / IC4 Drivers section from our Downloads page.
Btw when you use python, you do not even need to install the ic4 SDK (unless you want the offline documentation); all software is downloaded via pypi.

The camera i used is DFM 37UX178-ML, the virtual desktop  is similar to a server, local computer can access it,I in the the GenTL Producers / IC4 Drivers, i only installed usb drivers and not installed other drivers, and python library imagingcontrol4 i have installed.

Please run these lines in a Python script to debug device enumeration:
import imagingcontrol4 as ic4
ic4.Library.init(internal_log_level=ic4.LogLevel.DEBUG, log_target=ic4.LogTarget.STDOUT)
print(ic4.Library.get_version_info())
print(ic4.DeviceEnum.devices())

What is the output?

The output is:
Traceback (most recent call last):
File "D:\python\grab_image1.py", line 2, in
ic4.Library.init(internal_log_level=ic4.LogLevel.DEBUG, log_target=ic4.LogTarget.STDOUT)
TypeError: init() got an unexpected keyword argument 'log_target'
the imagingcontrol4 version is <IP_ADDRESS>33

Sorry, my bad. It should have been log_targets with an s:
import imagingcontrol4 as ic4
ic4.Library.init(internal_log_level=ic4.LogLevel.DEBUG, log_targets=ic4.LogTarget.STDOUT)
print(ic4.Library.get_version_info())
print(ic4.DeviceEnum.devices())

Here is the output:
[ic4  internal][  debug][            PluginLoader.cpp:17  ] Looking for plugins in D:\Anaconda\lib\site-packages\imagingcontrol4
[ic4 gentl_cons][  debug][              gentl_enum.cpp:186 ] Searching directory C:\Program Files\The Imaging Source Europe GmbH\IC4 GenTL Driver for USB3Vision Devices\bin
[ic4 gentl_cons][  debug][              gentl_enum.cpp:192 ] Found GenTL producer file C:\Program Files\The Imaging Source Europe GmbH\IC4 GenTL Driver for USB3Vision Devices\bin\ic4-gentl-u3v.cti
[ic4  internal][   info][  VideoCaptureDeviceEnum.cpp:642 ] Opening transport layer C:/Program Files/The Imaging Source Europe GmbH/IC4 GenTL Driver for USB3Vision Devices/bin/ic4-gentl-u3v.cti
[ic4 gentl_cons][  debug][              gentl_enum.cpp:186 ] Searching directory C:\Program Files\The Imaging Source Europe GmbH\IC4 GenTL Driver for USB3Vision Devices\bin
[ic4 gentl_cons][  debug][              gentl_enum.cpp:192 ] Found GenTL producer file C:\Program Files\The Imaging Source Europe GmbH\IC4 GenTL Driver for USB3Vision Devices\bin\ic4-gentl-u3v.cti
[ic4 gentl_cons][  debug][              gentl_enum.cpp:186 ] Searching directory C:\Program Files\The Imaging Source Europe GmbH\IC4 GenTL Driver for USB3Vision Devices\bin
[ic4 gentl_cons][  debug][              gentl_enum.cpp:192 ] Found GenTL producer file C:\Program Files\The Imaging Source Europe GmbH\IC4 GenTL Driver for USB3Vision Devices\bin\ic4-gentl-u3v.cti
[ic4  internal][   info][  VideoCaptureDeviceEnum.cpp:642 ] Opening transport layer C:/Program Files/The Imaging Source Europe GmbH/IC4 GenTL Driver for USB3Vision Devices/bin/ic4-gentl-u3v.cti
[ic4 gentl_cons][  debug][              gentl_enum.cpp:186 ] Searching directory C:\Program Files\The Imaging Source Europe GmbH\IC4 GenTL Driver for USB3Vision Devices\bin
[ic4 gentl_cons][  debug][              gentl_enum.cpp:192 ] Found GenTL producer file C:\Program Files\The Imaging Source Europe GmbH\IC4 GenTL Driver for USB3Vision Devices\bin\ic4-gentl-u3v.cti
IC4:
Core Library: <IP_ADDRESS>33
Plugins:
Generic OpenGL Renderer:      <IP_ADDRESS>33
Win32 OpenGL Renderer:        <IP_ADDRESS>33
Win32 H264 Video Writer:      <IP_ADDRESS>33
Win32 H265/HEVC Video Writer: <IP_ADDRESS>33
Drivers:
IC4 GenTL Driver for USB3Vision Devices: <IP_ADDRESS>3
[ic4 gentl_cons][  debug][              gentl_enum.cpp:186 ] Searching directory C:\Program Files\The Imaging Source Europe GmbH\IC4 GenTL Driver for USB3Vision Devices\bin
[ic4 gentl_cons][  debug][              gentl_enum.cpp:192 ] Found GenTL producer file C:\Program Files\The Imaging Source Europe GmbH\IC4 GenTL Driver for USB3Vision Devices\bin\ic4-gentl-u3v.cti
[ic4  internal][   info][  VideoCaptureDeviceEnum.cpp:642 ] Opening transport layer C:/Program Files/The Imaging Source Europe GmbH/IC4 GenTL Driver for USB3Vision Devices/bin/ic4-gentl-u3v.cti
[ic4 gentl_cons][  debug][              gentl_enum.cpp:186 ] Searching directory C:\Program Files\The Imaging Source Europe GmbH\IC4 GenTL Driver for USB3Vision Devices\bin
[ic4 gentl_cons][  debug][              gentl_enum.cpp:192 ] Found GenTL producer file C:\Program Files\The Imaging Source Europe GmbH\IC4 GenTL Driver for USB3Vision Devices\bin\ic4-gentl-u3v.cti
[]

OK, so ic4 communicates with the U3V GenTL Producer (which is the correct driver for your camera), but it doesn't see devices.
Can you check that the kernel driver for the U3V interface of the device is installed correctly?
There should be an entry The Imaging Source Europe GmbH GenTL-U3V Camera in the Imaging Devices section of the Windows Device Manager.

I just tried this; even if the wrong driver is installed, the camera should still be listed, it would just fail to open afterwards.
Can you please stop and restart the ic4-gentl-u3v-service service from the Services tab of Windows Task Manager?

Yes, i can find it in Imaging Devices, the device are Imaging Source Europe GmbH DFM 37UX178-ML and Imaging Source Europe GmbH GenTL-U3V Camera, but i cannot find it by python

Did you also try the service restart (or just reboot the system)?

I still don't quite understand what this "virtual desktop" technology is you are talking about.
Is this some kind of virtual machine? Is the camera visible in Windows Device Manager inside that virtual machine?

Yes, i can find the Imaging Source Europe GmbH DFM 37UX178-ML and Imaging Source Europe GmbH GenTL-U3V Camera in Windows Device Manager inside virtual machine

This might be obvious to you, but for me it is not. What exactly is this "Virtual Desktop" you are talking about?
Additionally: I totally missed that you are still on the old U3V GenTL Producer. Please install the updated version 1.2 from here.
Does that change anything?

I installed version 1.2 but doesn't work, and the output is here:
[ic4  internal][  debug][            PluginLoader.cpp:17  ] Looking for plugins in D:\Anaconda\lib\site-packages\imagingcontrol4
[ic4 gentl_cons][  debug][              gentl_enum.cpp:186 ] Searching directory C:\Program Files\The Imaging Source Europe GmbH\IC4 GenTL Driver for USB3Vision Devices\bin
[ic4 gentl_cons][  debug][              gentl_enum.cpp:192 ] Found GenTL producer file C:\Program Files\The Imaging Source Europe GmbH\IC4 GenTL Driver for USB3Vision Devices\bin\ic4-gentl-u3v.cti
[ic4  internal][   info][  VideoCaptureDeviceEnum.cpp:642 ] Opening transport layer C:/Program Files/The Imaging Source Europe GmbH/IC4 GenTL Driver for USB3Vision Devices/bin/ic4-gentl-u3v.cti
[ic4 gentl_cons][  debug][              gentl_enum.cpp:186 ] Searching directory C:\Program Files\The Imaging Source Europe GmbH\IC4 GenTL Driver for USB3Vision Devices\bin
[ic4 gentl_cons][  debug][              gentl_enum.cpp:192 ] Found GenTL producer file C:\Program Files\The Imaging Source Europe GmbH\IC4 GenTL Driver for USB3Vision Devices\bin\ic4-gentl-u3v.cti
[ic4 gentl_cons][  debug][              gentl_enum.cpp:186 ] Searching directory C:\Program Files\The Imaging Source Europe GmbH\IC4 GenTL Driver for USB3Vision Devices\bin
[ic4 gentl_cons][  debug][              gentl_enum.cpp:192 ] Found GenTL producer file C:\Program Files\The Imaging Source Europe GmbH\IC4 GenTL Driver for USB3Vision Devices\bin\ic4-gentl-u3v.cti
[ic4  internal][   info][  VideoCaptureDeviceEnum.cpp:642 ] Opening transport layer C:/Program Files/The Imaging Source Europe GmbH/IC4 GenTL Driver for USB3Vision Devices/bin/ic4-gentl-u3v.cti
[ic4 gentl_cons][  debug][              gentl_enum.cpp:186 ] Searching directory C:\Program Files\The Imaging Source Europe GmbH\IC4 GenTL Driver for USB3Vision Devices\bin
[ic4 gentl_cons][  debug][              gentl_enum.cpp:192 ] Found GenTL producer file C:\Program Files\The Imaging Source Europe GmbH\IC4 GenTL Driver for USB3Vision Devices\bin\ic4-gentl-u3v.cti
IC4:
Core Library: <IP_ADDRESS>33
Plugins:
Generic OpenGL Renderer:      <IP_ADDRESS>33
Win32 OpenGL Renderer:        <IP_ADDRESS>33
Win32 H264 Video Writer:      <IP_ADDRESS>33
Win32 H265/HEVC Video Writer: <IP_ADDRESS>33
Drivers:
IC4 GenTL Driver for USB3Vision Devices: <IP_ADDRESS>4
[ic4 gentl_cons][  debug][              gentl_enum.cpp:186 ] Searching directory C:\Program Files\The Imaging Source Europe GmbH\IC4 GenTL Driver for USB3Vision Devices\bin
[ic4 gentl_cons][  debug][              gentl_enum.cpp:192 ] Found GenTL producer file C:\Program Files\The Imaging Source Europe GmbH\IC4 GenTL Driver for USB3Vision Devices\bin\ic4-gentl-u3v.cti
[ic4  internal][   info][  VideoCaptureDeviceEnum.cpp:642 ] Opening transport layer C:/Program Files/The Imaging Source Europe GmbH/IC4 GenTL Driver for USB3Vision Devices/bin/ic4-gentl-u3v.cti
[ic4 gentl_cons][  debug][              gentl_enum.cpp:186 ] Searching directory C:\Program Files\The Imaging Source Europe GmbH\IC4 GenTL Driver for USB3Vision Devices\bin
[ic4 gentl_cons][  debug][              gentl_enum.cpp:192 ] Found GenTL producer file C:\Program Files\The Imaging Source Europe GmbH\IC4 GenTL Driver for USB3Vision Devices\bin\ic4-gentl-u3v.cti
[]

Can you please answer my other question:

This might be obvious to you, but for me it is not. What exactly is this "Virtual Desktop" you are talking about?

When i used IC capture, it loaded very slowly and have a high delay, so i think maybe it has not completed the initialization, so it cannot find the device. The vitual desktop is similar to a large server, everyone has their own account to login in, and inside is just windows system, we can upload or download the file we need, it also can access the internet and visit website.

Can you provide a link to a website describing that technology? Who created it?

here is the azure virtual desktop, which is similar to we used, you can see its introduction.

So the camera is connected to your local computer, but the software is running on a server?
Even if forwarding access to the USB device would work... you do realize that the camera will send uncompressed data, requiring a lot of bandwidth?


problems compiling on mac os x 10.7.1

i'm trying to get osrm working on mac os x 10.7.1, by using a homebrew formula i created:
https://github.com/emiltin/homebrew-alt/blob/master/duplicates/gcc.rb
osrm must be compiled with gcc newer than the 4.2 that's cames with os x 10.7.1, so the brew fomula first builds gcc 4.6, when uses that for building osrm. but the resulting osrm extractor crashes when parsing a protobuf file:
~/osm$ osrm-extract cph.osm.pbf
[extractor] extracting data from input file /Users/emil/osm/cph.osm.pbf
[error] Failed to open file extractor.ini for reading.
[STXXL-MSG] STXXL v1.3.1 (release)
[STXXL-ERRMSG] Warning: no config file found.
[STXXL-ERRMSG] Using default disk configuration.
[STXXL-MSG] 1 disks are allocated, total space: 1000 MiB
osrm-extract(59807) malloc: *** error for object 0x101a4f8a0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
this type of error seems to be a known compilation issue on newer mac systems:
http://newartisans.com/2009/10/a-c-gotcha-on-snow-leopard/
https://trac.macports.org/ticket/22234
so it might be related to the way gcc 4.6 is being build.
tonight i had a chat on IRC with the creator of the gcc 4.6 brew fomula, csharpsteen:
[18:55] MistyM: csharpsteen: emiltin was wondering about the GCC formula you wrote at homebrew-alt
[18:55] emiltin: hi
[18:56] csharpsteen: What was the question?
[18:56] emiltin: i'm trying to create a formula for open source routing machine, osrm: https://gist.github.com/1257319
[18:56] emiltin: it requires a newer version of gcc, so i'm using your formula to build gcc 4.6
[18:57] emiltin: but the resulting osrm binaries suffers from bugs related to malloc
[18:57] csharpsteen: Hmm. Never tried building it with clang.
[18:57] emiltin: http://newartisans.com/2009/10/a-c-gotcha-on-snow-leopard/
[18:58] emiltin: https://trac.macports.org/ticket/22234
[18:58] csharpsteen: When I developed the formula, I built it using gcc 4.2.1 from XCode 3.2.6. The GCC test suite seemed to pass alright---as I recall the only unexpected failures were in the link-time optimization tests.
[18:58] emiltin: it seems --enable-fully-dynamic-string is required, perhaps also when building the standard libs?
[18:59] emiltin: i could get the fomula to build without using clang
[18:59] emiltin: *could not
[18:59] wolfman2000 left the chat room. (Remote host closed the connection)
[19:00] csharpsteen: Which version of XCode do you have?
[19:01] abyxcos: Which formula? I built gc-4.6.0 with clang (failed with llvm-gcc)
[19:01] emiltin: i'm on 10.7.1 with xcode 4.1, gcc version 4.2.1
[19:01] abyxcos: Don't know if I pulled in -cxx though.
[19:01] emiltin: abyxcos: yes the gcc 4.6 formula, i could also only get it to work using clang
[19:02] emiltin: i included the cxx option
[19:03] emiltin: here's the build g++ version: https://gist.github.com/1259929
[19:03] csharpsteen: Mmmm... was not aware of the "fully-dynamic-string" issue---looks like it should be used if MACOS_VERSION >= 10.6
[19:03] abyxcos: Mhh, I have no g++-4.6. Want me to rebuild it?
[19:03] emiltin: and this is the bug i'm encountering in the binaries that gcc 4.6 builds: osrm-extract(76625) malloc: *** error for object 0x1084d78a0: pointer being freed was not allocated
[19:04] abyxcos: On the off chance, have you tried building OSRM with llvm-gcc or clang?
[19:05] abyxcos: I'm actually fighting with qemu-gcc right now
[19:05] emiltin: abyxcos: well i'm trying to build a formula for building osrm
[19:05] abyxcos: It won't build with the 10.7 clang snapshot (something about pointers to registers), and llvm-gcc causes it to segfault.
[19:05] csharpsteen: Also, on XCode 4.1, you should be able to force a vanilla GCC using brew install --use-gcc. Thant might work if there are problems with using Clang to bootstrap GCC.
[19:05] emiltin: but it uses openmp, which clang doesn't support
[19:06] abyxcos: csharpsteen: Well, unless you don't have a gcc to begin with
[19:06] emiltin: csharpsteen: problem is it requires a gcc never than the system one
[19:06] AdamBucketz joined the chat room.
[19:06] emiltin: that's why i'm using your 4.6 formula
[19:06] abyxcos: emiltin: What about recompiling gcc with a clang-built gcc?
[19:07] csharpsteen: I'm still talking about building GCC 4.6.x, not OSRM.
[19:07] emiltin: oh ok
[19:07] emiltin: how is --use-gcc different than no option when building gcc 4.6
[19:07] emiltin: ?
[19:08] csharpsteen: It sets CC, etc to gcc-4.2 instead of gcc which points to LLVM-GCC on XCode 4.x
[19:08] csharpsteen: So, --use-gcc forces a build to use vanilla GCC instead of LLVM-GCC
[19:09] csharpsteen: Unless you're running the XCode 4.2 beta, which doesn't have a vanilla GCC
[19:09] onewheelskyward: I found that out the hard way.
[19:09] emiltin: ok. it's worth a try i guess. but my suspicion is that your formula somehow requires --enable-fully-dynamic-string
[19:10] emiltin: i did a quick attempt at https://github.com/emiltin/homebrew-alt/blob/master/duplicates/gcc.rb
[19:10] abyxcos: Isn't gcc-4.2 also llvm-gcc?
[19:10] emiltin: but the build failed
[19:10] csharpsteen: abyxcos: No.
[19:11] csharpsteen: emiltin: I agree---I will add the --enable-fully-dynamic-string flag to the GCC duplicates on Homebrew-alt
[19:11] emiltin: but test it, because when i tried it the 'ld' tool bugged out
[19:12] emiltin: your suggestion was to try to build gcc 4.6 with something like: brew install --use-gcc --use-clang --enable-cxx https://github.com/adamv/homebrew-alt/raw/master/duplicates/gcc.rb
[19:12] emiltin: ?
[19:12] emiltin: which would use a vanilla gcc, not llvm-gcc?
[19:13] emiltin: ups. i mean: brew install --use-gcc --enable-cxx https://github.com/adamv/homebrew-alt/raw/master/duplicates/gcc.rb
[19:14] csharpsteen: emiltin: I'm suggesting that if you still get weird behavior from GCC 4.6, an option to explore would be re-building it with vanilla GCC instead of Clang
[19:14] emiltin: right. i'm trying that right now
[19:14] csharpsteen: But the dynamic string business seems to match the malloc errors you are getting, so I think that is the most likely culprit at the moment
[19:15] emiltin: i might try with my modified version of your formula at https://github.com/emiltin/homebrew-alt/blob/master/duplicates/gcc.rb which adds the dynamic option
[19:15] emiltin: unfortunately it didn't solve it for me to just to add it to your fomula
[19:15] abyxcos: So, it helps to pick the right host architecture when using qemu...
[19:16] emiltin: will everything not be build for the native architecture if no options are passed?
[19:18] emiltin: csharpsteen: any plans to update the formula to gcc 4.6.1? not that i need it...
[19:19] csharpsteen: emiltin: Yeah, I'll do that as well since it sounds like the testsuite needs to be run
[19:19] emiltin: cool
[19:20] onewheelskyward: So, I've created a brew for http://csl.sublevel3.org/jp2a/ , but I'm wondering if it falls into the category of less maintained than the organizers prefer.  It hasn't been updated since 2009, but it's a jpeg-to-ascii generator which isn't going to shift a whole lot.  Should I audit the brew and submit it, or just keep it in my fork?
[19:23] emiltin: csharpsteen: here's my fomula for OSRM, that's using your fomula. https://github.com/emiltin/homebrew/blob/master/Library/Formula/osrm.rb
[19:23] emiltin: (work in progress i might add...)
[19:23] csharpsteen: onewheelskyward: Is that the one submitted here: https://github.com/mxcl/homebrew/pull/7956 ?
[19:23] emiltin: everything builds, but running the osrm-extract binary with a protobuf file as input causes there malloc bugs
[19:24] onewheelskyward: csharpsteen: Indeed.    Nevermind, then!
[19:25] csharpsteen: onewheelskyward: I don't have a problem with formulae from inactive projects---unless they start growing a list of patches. Then I'm tempted to axe them.
[19:25] onewheelskyward: Roger that.
[19:25] onewheelskyward: I thought this one was a good candidate because of its low dependency count.
[19:26] csharpsteen: Yeah, looks simple to me.
[19:26] onewheelskyward: And oh-so-handy for putting pictures of coworkers in the MOTD on the dev server.
[19:26] MistyM: lol
[19:27] locojay joined the chat room.
[19:28] mavin is now known as mavin|gone.
[19:29] csharpsteen: emiltin: Note that a formula that drags something in from Homebrew-alt is unlikely to be accepted into mxcl/master
[19:30] emiltin: csharpsteen: hmm yes. it unfortunate that osrm doesn't compile with gcc 4.2
[19:30] csharpsteen: It would probably be accepted in Homebrew-alt
[19:31] emiltin: so you need to use the url when installing, right?
[19:31] csharpsteen: Yeah. For now.
[19:31] emiltin: i just succeeded in building gcc 4.6 with plain vanilla gcc 4.2, using brew install --use-gcc --enable-cxx https://github.com/adamv/homebrew-alt/raw/master/duplicates/gcc.rb
[19:32] csharpsteen: I'm working on a couple of things that should make it easier to use formulae from repositories other than mxcl master
[19:32] mdwright left the chat room.
[19:32] csharpsteen: See: https://github.com/mxcl/homebrew/pull/6086 and keep an eye on https://github.com/mxcl/homebrew/pull/7643
[19:33] wilmoore_ joined the chat room.
[19:33] wilmoore left the chat room. (Read error: Connection reset by peer)
[19:35] emiltin: looks cool!
[19:36] emiltin: i rebuild osrm with the gcc4.6 build with vanilla gcc4.2 but sadly, the errors persist: osrm-extract(42260) malloc: *** error for object 0x10097c8a0: pointer being freed was not allocated
[19:40] csharpsteen: Did that rebuild include the dynamic-string fixes?
[19:41] emiltin: no
[19:41] emiltin: i will try if i can build gcc4.6 with that option when i'm using plain gcc4.2 to build
[19:42] emiltin: does this way of adding the option look reasonable to you? https://github.com/emiltin/homebrew-alt/blob/master/duplicates/gcc.rb
[19:44] csharpsteen: I added it on line 115 as args << '--enable-fully-dynamic-string' if MACOS_VERSION >= 10.6
[19:45] emiltin: alright, basically the same thing. let me try to run it
[19:46] killtheliterate left the chat room.
[19:48] Swimming_Bird left the chat room. (Quit: Computer has gone to sleep.)
[19:50] darkwhite left the chat room. (Read error: Connection reset by peer)
[19:50] darkwhite joined the chat room.
[19:50] darkwhite left the chat room. (Changing host)
[19:50] darkwhite joined the chat room.
[19:51] wilmoore_ left the chat room. (Ping timeout: 252 seconds)
[20:03] mavin|gone is now known as mavin.
[20:03] emiltin: csharpsteen: your formula bombs out when using the dynamic option: https://gist.github.com/1260079
[20:04] AdamBucketz left the chat room.
[20:05] csharpsteen: emiltin: Hmm, it just made it to make check on my machine---most of the way through the test suite with no unexpected failures so far.
[20:06] emiltin: interesting. you're on xcode 4.1?
[20:07] csharpsteen: I'm still on Snow Leopard using XCode 3.2.6
[20:08] emiltin: ok. maybe there's some change that affect this issue
[20:09] emiltin: interestingly, the build process fails the same same errors:
[20:09] emiltin: collect2: ld terminated with signal 6 [Abort trap: 6]
[20:09] emiltin: ld(98192) malloc: *** error for object 0x10a108be0: pointer being freed was not allocated
[20:13] Swimming_Bird joined the chat room.
[20:13] jimubao joined the chat room.
[20:14] emiltin: csharpsteen: i'm guess i'm out of ideas right now. maybe if you update gcc to 4.6.1 things will be different

So, I was able to build on MacOS X without OpenMP support using the Apple supplied GCC 4.2 manually. As soon as the Homebrew Project accepts pending formula additions of the necessary libraries, I will submit a formula to build OSRM either using the Apple supplied compiler or by perhaps using a manually installed one.

great news! certainly easier to build with the default gcc 4.2 - of course it will not be as optimized, but that matters less when you just want to experiment. what homebrew formula did you update? do you have a link to the pull request? thanks!

The library that's still missing is STXXL. The pull request can be found here:
https://github.com/mxcl/homebrew/pull/8356
The other necessary tools and libraries are already in homebrew.
Am 03.11.2011 um 11:28 schrieb Emil Tin:

great news! certainly easier to build with the default gcc 4.2 - of course it will not be as optimized, but that matters less when you just want to experiment. what homebrew formula did you update? do you have a link to the pull request? thanks!

Reply to this email directly or view it on GitHub:
https://github.com/DennisOSRM/Project-OSRM/issues/13#issuecomment-2619351

cool. yes the osrm formula used the existing formula for stxxl, but i guess you needed a never version looking forward to trying to compile osrm on my machine.
https://github.com/emiltin/homebrew/blob/a752b03d5912cb8af9d68d85e5fe52fcef7a471d/Library/Formula/osrm.rb

i also did a brew for stxxl back when i looked at compiling:
https://github.com/emiltin/homebrew/blob/a752b03d5912cb8af9d68d85e5fe52fcef7a471d/Library/Formula/stxxl.rb
you might want to add the keg_only option since it's a library without any binaries. see https://github.com/mxcl/homebrew/wiki/Formula-Cookbook

Thanks for the keg_only hint. Will keep that in mind in the future.

i also did a brew for stxxl back when i looked at compiling:
https://github.com/emiltin/homebrew/blob/a752b03d5912cb8af9d68d85e5fe52fcef7a471d/Library/Formula/stxxl.rb
you might want to add the keg_only option since it's a library without any binaries. see https://github.com/mxcl/homebrew/wiki/Formula-Cookbook

Reply to this email directly or view it on GitHub:
https://github.com/DennisOSRM/Project-OSRM/issues/13#issuecomment-2621649

what's the status on compiling osrm on os x?

Still waiting for homebrew to accept the libstxxl formula.

On OS X, with mostly Homebrew-installed dependencies ... would one simply need to edit the SConstruct file to point at libxml2 library/header locations, as installed via Homebrew? Also, glad to see libstxxl is headed to Homebrew!

@jlar you can install osrm on mac using my formula from github:
brew install https://raw.github.com/emiltin/homebrew/master/Library/Formula/osrm.rb --emil
it's work in progress.. but it works for me. it pulls osrm from my fork, which was updated yesterday. i think i'll look into creating a makefile.

maybe the best way forward would be to get building via scons working on mac, to be consistent across platforms. otherwise rake would be an altenative to makefiles.

thanks a lot @emiltin - I went ahead and was attempting your formula yesterday, before your reply. I thought I was unable to install because of a bad setup, on my part, of libxml2 but it turns out that all I was missing was the --emil flag ... it has now installed :)

Implemented with 25d15fe2af