Error Adding Order

There is an error, when adding an order. It says:
[ 'EGeneral:Invalid arguments:volume' ]
Is this due to a different naming or change in the API?
This is the code I use:
kraken.api('AddOrder', { 'pair': 'XBTCZEUR', 'type': 'buy', 'ordertype': 'limit', 'price': '10000.0', 'volume': '1.0' }, function(error, data) {
      if(error) {
        console.log("ERROR WHILE ORDERING.");
        console.log(error);
      }
      else {
        console.log("ADDED ORDER.");
        console.log(data);
      }
    });

Same occurs with the PHP-API-Client.

Solved, as there was already an issue addressing this. You need a minimum transfer volume.


Pass all possible MRCP headers through Asterisk

…sterisk MRCP

I'd prefer to set this as DTMF-Term-Timeout. Defaulting to the same value as Speech-Complete-Timeout is a job for adhearsion-ivr.

Coverage decreased (-0.0%) to 99.07% when pulling 42879cce24cce03178bebd98bed4513b0f24e6f9 on feature/mrcp_dtt into e0866e5430f3b2c0a62d81626a0eb40acfc4d41d on develop.

Coverage increased (+0.03%) to 99.1% when pulling 89b0c2d72de26eb1ef64f4c696dd90a089c6b8dc on feature/mrcp_dtt into e0866e5430f3b2c0a62d81626a0eb40acfc4d41d on develop.

Coverage increased (+0.03%) to 99.1% when pulling 89b0c2d72de26eb1ef64f4c696dd90a089c6b8dc on feature/mrcp_dtt into e0866e5430f3b2c0a62d81626a0eb40acfc4d41d on develop.

Coverage increased (+0.03%) to 99.1% when pulling 89b0c2d72de26eb1ef64f4c696dd90a089c6b8dc on feature/mrcp_dtt into e0866e5430f3b2c0a62d81626a0eb40acfc4d41d on develop.


Update AUFS to v4.1.13+-20160111

This should fix docker/docker#18180.
http://permalink.gmane.org/gmane.linux.file-systems.aufs.user/5345

Closing and reopening the issue to trigger Travis again: E: Failed to fetch http://httpredir.debian.org/debian/pool/main/libf/libfile-fcntllock-perl/libfile-fcntllock-perl_0.22-1+b1_amd64.deb  Error reading from server. Remote end closed connection [IP: <IP_ADDRESS> 80]

Don't we also need to apply the new patch?

Nevermind, just tested and it does appear that this is sufficient!  Very nice! :metal:

LGTM

Oh, this is so great! Thanks @AkihiroSuda for all the work and research you did on this!

@AkihiroSuda Maybe this seems like a very stupid question, but how can I install this on Ubuntu 14?

@klodoma
It will be officially available for Ubuntu 14.04 soon: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1533043
If you need it  immediately, you can build a custom kernel yourself
https://help.ubuntu.com/community/Kernel/Compile
If you are going to build a custom kernel, this patch should be enough, but I didn't test for Ubuntu 14.04:
https://github.com/sfjro/aufs4-linux/commit/f60d586b7b8cae42bacc603d192810db85278d3c

@klodoma If you meant you just need to use the latest Boot2Docker on VirtualBox/VMWare/QEMU on your Ubuntu 14, just run docker build -t boot2docker . && docker run --rm boot2docker > boot2docker.iso.

@AkihiroSuda thanks a lot! :) some things are confusing. I'll give it a try.

@AkihiroSuda me again. Is there any guide how to run docker under Ubuntu, but not native, but in a VirtualBox? I think this could solve the issue with your ISO file, without the need to upgrade the local host. Right?

$ docker-machine create -d virtualbox dm1
$ docker-machine stop dm1
$ cp -f your-iso-file ~/.docker/machine/machines/dm1/boot2docker.iso

@klodoma @AkihiroSuda you can also use the --virtualbox-boot2docker-url option; https://docs.docker.com/machine/drivers/virtualbox/

Apologies if this is a poor place to ask or if the release policy is explained somewhere I've overlooked, but—given the amount of interest in docker/docker#18180—are ISO releases of boot2docker ever made between Docker releases? If I could advise people that docker-machine upgrade is all that's needed to fix and move on with their day, that'd be swell!
Thanks everyone and especially @AkihiroSuda for your work.

There's a release candidate available at
https://github.com/tianon/boot2docker-legacy/releases/tag/v1.10.0-rc1 which
contains this fix. :+1:


Standardizing URI for an oracle on an http server

This was a debate on the #42 and is closely related to #44
My understanding, correct me if I'm wrong, is how do we "find" information that an oracle server has. Also can their be compatibility across similar events such as a basketball game and a tennis match

Here is information related to our API which is out of date a bit: https://test.suredbits.com/api/#discreet-log-contract-dlc-oracles

Documentation for our API can be found here: https://github.com/p2pderivatives/p2pderivatives-oracle/tree/develop/api
Subject to change though :)

Documentation for our API can be found here: https://github.com/p2pderivatives/p2pderivatives-oracle/tree/develop/api
Subject to change though :)

I thought it was .... wait for it.... on the blockchain though?
Ok i'm done with my bad jokes :-) :-)


Scaling/design of default-http-backend Deployment

What kind of request is this (question/bug/enhancement/feature request): enhancement
Steps to reproduce (least amount of steps as possible): In environments where a high volume of requests to ingress-nginx are performed where there is no matching Ingress rule for the requests, increased load is placed on the default-http-backend Pod to handle these requests. Metric collection could also be influencing resource usage during this load.
Result: The default default-http-backend deployment configuration (1 replica, and CPU/memory resource limits) can introduce a performance and stability issue, with bursty response times and OOM kill of the container.
Maintaining this configuration would benefit from scaling the default-http-backend Deployment by default, with a minimum of 2 replicas and anti-affinity. The default resource limits may need reviewing to apply to a wider use case.
Other details that may be helpful:
As ingress-nginx and the default-http-backend share areas of concern, and mutual dependencies, it may make sense to tightly couple these containers in the ingress-nginx DaemonSet.
edit: The /healthz endpoint traffic measured was from the kubelet readiness/liveness probes - not external healthcheck requests, ingress-nginx handles these locally, previous mention of /healthz and healthchecks can be ignored.
gz#10803
gz#10926
gz#11108

based on https://github.com/kubernetes/ingress-nginx/pull/3196 it looks like you could also rely on the nginx pods themselves

Details on what should be implemented:
Provide a configuration method for RKE provisioned clusters where the default backend service isn't passed.
ingress:
  provider: nginx
     default-backend: false

Should remove the --default-backend-service flag from the nginx ingress controller add on and not deploy the default-http-backend service/pod.
This is a breaking change in behavior and should be an option. When the next version of Kubernetes ships we should make it the default.
This should take the same approach as upstream: kubernetes/ingress-nginx#3196
This is also captured in rancher/rancher#25590

@nickgerace once this is reviewed/merged can you make a docs issue and PR for this.

@cbron not a problem.
Status update: working on debugging new logic from first set of reviews. Will update the PR once ready for re-review.

rancher/rancher:v2.5.4-rc3
rancher/rancher:master-head 46b0df4

Create a cluster

Under advanced options, Nginx Default Backend is disabled
Edit yaml, ensure nginx.ingress.default_backend is false
Create cluster

In the System project's ingress-nginx namespace, default-http-backend is not deployed
Edit the cluster, setting the value to enabled
Cluster should update and the default-http-backend workload should be deployed

Create a cluster

Under advanced options, Nginx Default Backend is disabled
Set to enabled
Edit yaml, ensure nginx.ingress.default_backend is true
Create cluster

In the System project's ingress-nginx namespace, default-http-backend is deployed
Edit the cluster, setting the value to disabled
Cluster should update and the default-http-backend workload should be removed

Install Rancher v2.5.3
Create a cluster
default-http-backend should be deployed
Upgrade to v2.5.4-rc3
Edit cluster

The setting should be set to enabled to reflect the current state
Set to disabled

The cluster should update and the default-http-backend workload should be removed

@NickGerace:
Before closing, we just want to confirm that the UI's default behavior should be to have the default backend disabled, while in RKE the default behavior is to have it enabled.

They should both be disabled by default.

This is a breaking change in behavior and should be an option. When the next version of Kubernetes ships we should make it the default.
https://github.com/rancher/rancher/issues/25590#issuecomment-729248564

We were originally going back and forth with the default behavior, but decided to land on maintaining RKE behavior. There's a ticket to track when Kubernetes 1.20 becomes the default version and we "flip" the behavior in both the UI and API.
Reference: https://github.com/rancher/rancher/issues/30356


add your youtube link- below the links

Youtube link in the link below -follow me on youtube
#first pr

You can do that using

in your data.json file 🍔

ok thankyou! @voidz7

Closing this as resolved then. 🙂


dnsmonster: 0.9.4 -> 0.9.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/mosajjal/dnsmonster/releases.
meta.description for dnsmonster is: "Passive DNS Capture and Monitoring Toolkit"
meta.homepage for dnsmonster is: "https://github.com/mosajjal/dnsmonster"
meta.changelog for dnsmonster is: "https://github.com/mosajjal/dnsmonster/releases/tag/v0.9.5"
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.9.5 with grep in /nix/store/nc4d2r7318s61f9vgh4slpz89mwycssq-dnsmonster-0.9.5
found 0.9.5 in filename of file in /nix/store/nc4d2r7318s61f9vgh4slpz89mwycssq-dnsmonster-0.9.5

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
dnsmonster

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/nc4d2r7318s61f9vgh4slpz89mwycssq-dnsmonster-0.9.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A dnsmonster https://github.com/r-ryantm/nixpkgs/archive/e381ce6fcf97cda135170592c14d4fc48e4c6ef8.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/nc4d2r7318s61f9vgh4slpz89mwycssq-dnsmonster-0.9.5
ls -la /nix/store/nc4d2r7318s61f9vgh4slpz89mwycssq-dnsmonster-0.9.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

dnsmonster

Maintainer pings
cc @fabaff for testing.

Result of nixpkgs-review pr 186772 run on x86_64-darwin 1

1 package marked as broken and skipped:

dnsmonster

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

1 package built:

dnsmonster


550 Access denied - Invalid HELO name

Continuing discussion from https://github.com/scaleway/image-ubuntu/issues/31#issuecomment-140135273 from @GeGeek

Hi,
i was getting this error when i tried to send an email to fully qualifed domain name, and not with free email services like hotmail, gmail etc..
So i fixed that by editing the file main.cf in /etc/postfix/
I changed the value for "myhostname = ", the default value was something like B84665785255..
Could you fix it in the next release please ?
Thanks !

i have installed Gitlab, and no email were sent, so i asked why to support, and they told me that:

I have been looking into your issue, we are going to fix this very soon.
scaleway-community/scaleway-gitlab#6
In the mean time, you should be able to send mail by running:
'dpkg-reconfigure postfix'

I installed postfix and i noticed that no mail log file was installed in my server, so the support told me that:

The default configuration of the postfix server is to put logs in /var/log/syslog.
Unfortunately, the latest build of your image has his syslog broken, you need to run 'chown root:syslog /var/log' to fix it.
https://github.com/scaleway/image-ubuntu/pull/22

After that emails was working, but not correctly, and in log files i was able to see "invalid hello name...
So i found the solution and the support told me to report this issue here !

No luck, you just encountered 2 recent problems :)
For the /var/log, this is fixed in the Ubuntu and Debian images for < 1 hour (https://github.com/scaleway/image-ubuntu/pull/30) :) we now need to rebuild the GitLab image that depends on Ubuntu Trusty to get this working without hotfix
About the mail issue, I think it was fixed with scaleway-community/scaleway-gitlab#6, @edouardb, can you confirm ?
When I have the confirmation the mail issue is fixed, I will rebuild and deploy a new version of the GitLab image with the two fixes
Thanks

Hi is this deployed now ?
Thanks

Hi @GeGeek, nop we were fixing other issues in the Ubuntu image (inherited from GitLab), we will batch release new versions today or tomorrow
For now you should be able to hotfix the image by calling dpkg-reconfigure postfix

Done the image is now released


rpc.md example hangs

I've created 3 files described in rpc.md#example.
I've replaced requiring with these lines:

const { rpc } = require('carlo/rpc');
const { rpc_process } = require('carlo/rpc');

I've fixed this typo in family.js (see https://github.com/GoogleChromeLabs/carlo/pull/62):

-    const ordinal = this.children_.length;
+    const ordinal = this.children.length;

I've run the main.js and after this output the script stuck with no errors or progress:

Adding child #0
Adding child #1

Have I done something wrong?

Hm. This is what I get:
Adding child #0
Adding child #1
I am #0 and I have a sibling #1
I am #1 and I have a sibling #0
I am #1 and my sibling #0 is saying hello
I am #0 and my sibling #1 is saying hello

I've checked on Windows 7 x64 with Node.js 08.12.0, 10.13.0, 11.1.0, 12.0.0 nightly and v8-canary + carlo 0.9.15. All variations hang. Can anybody reproduce?


CLI deployment using the netlify UI doesnt set up the functions server

so this will generate a zip file that is ship to the netlify functions


Not detected moved Chrome datadir

I moved my Chrome's datadir elsewhere but Appcopier wasn't able to catch it.
More importantly, will this be able to backup and restore Chrome extensions + extension settings on a new machine?

thank you for the heads up. I believe I've addressed that in the current build 0.12.82 https://github.com/builtbybel/Appcopier/releases. since the entire profile is in focus, the extensions are also being handled.


I have one more question.

Hi Thank you for reply. I ask the question again because it seems to be different from the intention of my question.
When I train the student model with the teacher model ckpt provided by you, it produces good results.
However, if I train the student model with the reproduced teacher model, trained by using the provided script, I get different results.
To sum up, the results are not reproducible.
Are there any additional code changes or did you train the teacher with more epochs?
If not, are there any specific metrics you look at the comet.ml site?
always thanks

I have trained the teacher model with the script that I have in this repo, thus, all results should be reproducible.
But when you say the results are not reproducible, what are you doing different than my scripts and what are the differences in the final results?

Hello!
When I tried to download the chime-5 dataset from the link you provided on your github (https://github.com/UDASE-CHiME2023/unlabeled_data), I got a "not found 404" link error. So I took a detour and cloned the CHiME-5 folder from https://github.com/UDASE-CHiME2023 link. I don't remember if it was the 5th Chime challenge or the 6th Chime challenge dataset, but I downloaded the dataset from one of the sites. I noticed that the json_files and challenge dataset in the cloned CHiME-5 folder are slightly different in format, and there is no eval folder. There are also no eval-related json_files. Still, I created a processed_CHiME from the code in the clone file and used it to train. I used the libri3mix datastet for everything else.
What Chime challenge dataset did you use, is it different from what the author used here?

I am curious about the optimal epoch subtraction method. When I save the model on the comet site, I get several metrics. I already know that the higher the MOS, the better, and the lower the SISDR, the better the training, but since SISDR is negative, the higher the better. And I wonder if it uses the higher value of the rest of the speech mos as an indicator, or if it uses the epoch where the noise mos is good. Also, it used to display the mean, std, and median together, and I wonder what the purpose of displaying the three indicators together is.

I'm curious how the author checked the metrics to see which of the three metrics is meaningful, and did he consider mos or mean or std or median to choose the best epoch?
Thanks

When I tried to download the chime-5 dataset from the link you provided on your github (https://github.com/UDASE-CHiME2023/unlabeled_data), I got a "not found 404" link error.
This is not my repo and it should be https://github.com/UDASE-CHiME2023/CHiME-5, sorry about that.

I don't remember if it was the 5th Chime challenge or the 6th Chime challenge dataset, but I downloaded the dataset from one of the sites.
Both datasets are the same

I noticed that the json_files and challenge dataset in the cloned CHiME-5 folder are slightly different in format, and there is no eval folder. There are also no eval-related json_files.
The eval folder is not yet available since the challenge is still running. Eval files will become available at the last few weeks before the deadline. The results I provide are also on the validation set.

What Chime challenge dataset did you use, is it different from what the author used here?
Both are the same for our purposes. I do not understand who is the author and where is here.

I am curious about the optimal epoch subtraction method.
You can specify any checkpoint selection you want but this is an unsupervised domain adaptation task, thus, by tryign to make the teacher optimal by any means w.r.t. the validation set is actually loosing the point. Re-iterating what I answered to you in a previous comment, for the teacher I just let it train for 100-120 epochs. And for the student I chose some with the best SI-SDR on libri1to3mix, or the best MOS or the best BAK on the validation set of Chime5. Again, in the names of the student files you can see the epoch and the method I used to pick the student checkpoints https://github.com/etzinis/unsup_speech_enh_adaptation/tree/main/pretrained_checkpoints.

the lower the SISDR, the better the training
That is incorrect. The higher the SI-SDR metric, the better.

SISDR is negative
Again incorrect. SI-SDR is a metric of the signal fidelity that can take any real value. In our implementations we usually use a range between [-35, 35] or [-80, 80] which is usually caused by our numerical stability constant.

Also, it used to display the mean, std, and median together, and I wonder what the purpose of displaying the three indicators together is.
If by "it" you refer to my script, plotting all metrics and not only the mean is very important to understand the behavior of your model and not simply try to beat some numbers.

I'm curious how the author checked the metrics to see which of the three metrics is meaningful, and did he consider mos or mean or std or median to choose the best epoch?
I have already answered to this question in your previous comment and this comment above. However, you correctly identify a problem that speech enhancement has in general, that is there is not a single metric that has to be optimized simply because human hearing in not 100% corresponding to any of the objective signal metrics out there. This is why people report PESQ, SI-SDR, BAK, MOS, etc. all together in order to show improvement in most or all of them.


Adding Stride parameter to addRangeChangeCallback

Hi,
It would be convenient to add a stride parameter to callback functions, especially when we execute lot of code inside them.
Example:
var stride = 50;
horizontalBar.addLowerRangeChangeCallback(function(val) { heavycode(); }, stride);

Can we achieve this kind of behavior without editing the library ?
Thanks.

Hi, thank you for your suggestion. Again, this is a crazily ill-designed libaray. I've taken your advice under consideration, but I'm not sure how much time I could spend on re-write this project (working on it, and of course, the API will change a lot, for the callbacks are very bad practices).
dual-range-bar is designed to work as a scroll bar for a canvas (Demo: GridCanvas). If what you are looking for is a mature implementation for a range slider, here are some of the better choices:

IonDen/ion.rangeSlider
andreruffert/rangeslider.js

Unfortunately, there is no easy way to achieve the behavior you want without modifications to its source code as far as I know (about my crazy spaghetti codes...). Just be bold to fork your version. It's under MIT license.
Feel free to keep this issue either open or close before I am about to draft a release of the refactored code in the future.


add support for meteor

TODO (@nolimits4web ):

create a meteor user account (you can use nolimits4web, if you want to use other name, please change 'name' attribute in package.js)
publish the package https://atmospherejs.com/i/publishing
when you update your package to a new version, please change the version in package.js and republish.

Thank you for your awesome package! It would be awesomer if you can support meteor users!

Great, thanks


Updated Package.Json file to fix compilation issues (Meeting-live-code-interview)

Issue link : Local debug meeting live code interview nodejs version failed
Sample fixed and working screenshots
Nodejs v - 18.17.1

Added (Testing Code) at line No.7 and got notified

@Mohammed-MSFT - Please check and merge this PR as soon as possible.

Executed Build Pipeline : https://github.com/OfficeDev/Microsoft-Teams-Samples/actions/runs/12562354308


CSS doesn't seem to be loaded (or loads really badly)

Hello, I just yarn added ReactQuill, everything went smoothly for the installation, but when I tried to make Quill work, nothing was correct. I did nothing else than copying the code you display here, and imported both ReactQuill and the snow theme.
At first, I thought everything was corrupted by Material UI, that I use for the global layout, but trying Quill from a new file that renders nothing more than it returns exactly the same thing. Here is a screenshot of what I get : [link]
As you can see, on the top left hand corner, you can see some empty buttons, and on the bottom left hand corner, some more empty buttons with a text field.
Is this an obvious mistake from me? Should I upgrade/downgrade something?
React-Quill version

[x] master (well the one you get when you don't specify which version)

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Thank you in advance

The CSS definitely is not loaded in that image.
How you add CSS varies depending on your bundling config. Here are some common options: https://github.com/zenoamaro/react-quill#fetching-styles-from-the-cdn

You were right, everything went "normal" once I correctly added the css file as CDN, thank you for your answer!

I had the exact same problem. I am following Ryan Dhungel's MERN stack SEOBLOG course on Udemy and the cause of my problem was improperly importing the css file. For some reason, he had import '../../node_modules/react-quill/dist/quill.snow.css'; as the import. Changing it to import 'react-quill/dist/quill.snow.css'; solved my problem. Thank you!


Added support for not using ser2net. Closes #4

Some people won't want to use ser2net to connect to their DUT. Instead they'll want to connect via a local serial port. This commit makes that possible by doing two things:

set connection_type in your board configuration to anything other than ser2net. (ser2net is still the default)
in conn_cmd: use the command line you'd normally connect to the serial port of your DUT. For example, I used "screen /dev/ttyUSB0 115200"

To clarify, the relevant parts of my my boardfarm_config_example.json are as follows:
{
    "board01": {
        "board_type": "db120",
        "conn_cmd": "screen /dev/ttyUSB0 115200",
        "lan_device": "rpi3",
        "location": "austin",
        "powerport": "8",
        "wan_device": "rpi2",
        "notes": "Old board",
        "connection_type": "anything"
    }
}

I don't think this is ideal but it should get us past the problem of local serial ports not working.
I don't have the ability to test this yet so I'm not merging until someone else tests this :)

Closing because I have a better solution coming soon

An updated solution to this is at #22


[spi_device] Only mode 0 (CPOL=0, CPHA=0) works

I added a second SPI device. Please find the commit here: https://github.com/wallento/opentitan/commit/75c827987be1d6aed41acecd11872aeff7606080
I am using this new device from my code in OT and it works nearly as expected ;) Unfortunately I cannot get it to work properly and I am running out of ideas. I am interfacing this second device from a Particle Argon and send a sequence "TEST" (0x54 0x45 0x53 0x54) to OT. Here is what I can see on my oscilloscope:

Beautiful! The "SPI!" is sent from the example code which is a redacted version of hello world: https://github.com/wallento/opentitan/commit/75c827987be1d6aed41acecd11872aeff7606080#diff-c4e69f5c1a45c63b4541776f6921a4ce9e64aa1f77cf4e47ce412e1b45a96a56L77
So this direction seems to work well, I also read the sequence 0x53 0x50 0x49 0x21 from the buffer on my device.
But reading the buffer from the software in OT is odd. Here is the simple code I added: https://github.com/wallento/opentitan/commit/75c827987be1d6aed41acecd11872aeff7606080#diff-c4e69f5c1a45c63b4541776f6921a4ce9e64aa1f77cf4e47ce412e1b45a96a56R73
What I am expecting is to read the 0x54 0x45 0x53 0x54. Framing also works properly, but what I actually get is:
[13:43:50:836] I00000 hello_world.c:65] Hello World!␍␊
[13:43:50:836] I00001 hello_world.c:66] Built at: Jun 25 2021, 13:32:18␍␊
[13:43:52:197] I00002 hello_world.c:78] SPI: 1␍␊
[13:43:52:197] I00003 hello_world.c:80] 2a␍␊
[13:43:52:197] I00004 hello_world.c:78] SPI: 3␍␊
[13:43:52:197] I00005 hello_world.c:80] 22␍␊
[13:43:52:197] I00006 hello_world.c:80] a9␍␊
[13:43:52:197] I00007 hello_world.c:80] aa␍␊

At first glance it looks like some leftover uninitalized buffer gibberish, but actually it is the expected data shifted by one bit.
sent:     01010100 01000101 01010011 01010100
sent>>1:  00101010 00100010 10101001 10101010
received: 00101010 00100010 10101001 10101010

Obviously I played around with the SPI modes endlessly already (its mode 1 by the way), but I cannot get it working. What am I missing? SPI clock speed is 1 kHz by the way.

Okay, after some more experiments I think I am sure that only SPI mode 0 works. I can confirm it does work, I assume I messed something up in testing. May I suggest while fixing this to fix the abstraction naming: kDifSpiDeviceEdgePositive and kDifSpiDeviceEdgeNegative is probably not the right naming for polarity and phase shift. The actual edges of data assertion on the out side and data sampling on the in side are a derivative of polarity and phase.

To complete the experiments:

CPOL=0, CPHA=0 works as expected
CPOL=0, CPHA=1 input is shifted by a bit to the lsb, output works as expected
CPOL=1, CPHA=0 input works as expected, output is shifted by a bit to the msb
CPOL=1, CPHA=1 input is shifted by a bit to the lsb and output is shifted by a bit to the msb

@eunchan, @weicaiyang

Note that SPI device IP is not fully verified - it is still in the V1 stage.

@wallento
I dumped a wave for CPOL=0, CPHA=1

here is the gold wave we refer to.
https://en.wikipedia.org/wiki/Serial_Peripheral_Interface#/media/File:SPI_timing_diagram2.svg
I feel the wave I dumped matches to the gold wave. data starts at rising edge and can be sample at falling edge. Please let me know if you find any problem in this wave. Thanks

Yes, as I wrote, the output direction works for mode 1. But the input direction does not read it properly, it seems the serial-2-parallel samples delayed. Did you confirm you read correctly? Can you confirm output is broken for CPOL=1 too?

Software Test Setup
  // Add DATE and TIME because I keep fooling myself with old versions
  LOG_INFO("Hello World!");
  LOG_INFO("Built at: " __DATE__ ", " __TIME__);

  CHECK(dif_spi_device_send(&spi, "SPI!", 4, /*bytes_sent=*/NULL) ==
        kDifSpiDeviceOk);

  while(1) {
      uint8_t data;
      size_t received;
      CHECK(dif_spi_device_recv(&spi, &data, 1, &received) ==
            kDifSpiDeviceOk);
      if (received > 0) {
          LOG_INFO("SPI: %02x", data);
      }
  }

CPOL=0, CPHA=1

Looks great, but what OT reads: :-1:
[16:58:40:226] I00002 hello_world.c:77] SPI: 29␍␊
[16:58:40:248] I00003 hello_world.c:77] SPI: a8␍␊
[16:58:40:248] I00004 hello_world.c:77] SPI: 24␍␊
[16:58:40:248] I00005 hello_world.c:77] SPI: 90␍␊

But it sends right, what I read:  :+1:
53 50 49 21

CPOL=1, CPHA=0

The MSB is missing. :-1:
But at least it reads correct: :+1:
[17:00:39:730] I00002 hello_world.c:77] SPI: 53␍␊
[17:00:39:730] I00003 hello_world.c:77] SPI: 50␍␊
[17:00:39:752] I00004 hello_world.c:77] SPI: 49␍␊
[17:00:39:752] I00005 hello_world.c:77] SPI: 21␍␊

But I read what the scope shows: :-1:
a6 a0 92 42

CPOL=1, CPHA=1

The device should present the MSB with the falling edge, but it seems it skipped the first :-1:
And it also reads incorrectly: :-1:
[17:02:03:273] I00002 hello_world.c:77] SPI: 14␍␊
[17:02:03:295] I00003 hello_world.c:77] SPI: d4␍␊
[17:02:03:295] I00004 hello_world.c:77] SPI: 12␍␊
[17:02:03:295] I00005 hello_world.c:77] SPI: 48␍␊

Because it sends incorrectly, I also read incorrectly: :-1:
a6 a0 92 42

Summary
CPHA=1 is broken on the input path. The sampling seems incorrect, because its the correct data shifted.
CPOL=1 is broken on the output path. Phase is correct, but all bits are one cycle too early.

@wallento thanks for sharing the waveforms. Can you also add the csb input signal to the wave? csb affects the design sample and output. We can focus on the setting CPOL=0, CPHA=1 first.

Ha, that was indeed the issue. I need to properly frame the transfer, the falling edge of CSB was way too early and never re-asserted. Thanks for pointing that out!

Great. Thanks for the update. LMK if you see any other issue on spi_device.


[1.5.n]deploy failure will left DASD undetached sometimes

backport:
deploy failure will left DASD undetached sometimes
Signed-off-by: SharpRazor<EMAIL_ADDRESS>

fast approval due to cherrypick


Create Panel

DELiVERABLES:
1. Area on the Tasks on the Left, with 2 new links "SIFT" and "SELECTION DAYS"

2. A list of the Panels Already Created with a link to the specific Panel
3. A view with the form to create a new Panel

====================
As an admin, I need to create task area called ‘Panels’, where I can create panels and allocate panel members for specific activities at different stages of an exercise, these stages include:
•	eligibility sift
•	paper sift
•	selection days (interviews).
I need this functionality to be integrated with Google Drive so that content and files can be copied over into folders for panels to review.
The number of panels I need to create will vary depending on the exercise and what exercise activity is taking place. It could be one panel or 10+.
I need to name the panels using the following convention, ‘Panel 1’, ‘Panel 2’, ‘Panel 3’ etc, but this may change in the future.
As an exercise moves from one activity to another, I may need to create more than one set of panels, which may consist of different panellists. To avoid confusion, I need a way to clearly connect a panel/set of panels to a specific activity within the ‘Panels’ task area.
Once the Panel/s are created, I need to add panellists to their allocated panel. Panels can consist of a different number of panellists depending on the exercise, so I would need an option to assign the following panellist roles in the event we have four or more panellists:
•	Chair
•	Independent
•	Judicial
•	Other
I will need to assign each panel member to their role and identify them by their full name and  JAC @digital email address.

Hello @lloback, following our discussion on Monday and reviewing the prototypes I wanted to flag whether the below was possible:
Can a delete panel option also be provided?
At the sift stage, the create panel fields will need to display ‘sift panel dates’ and not ‘interview dates’ as shown in the prototype above. Is this easy to make bespoke to each stage or do we need to keep it generic and just use ‘date’? The most likely scenario is that the dates will be a range, however there may be instances where there is only one day of activity.

Hello @lloback, following our discussion on Monday and reviewing the prototypes I wanted to flag whether the below was possible:
Can a delete panel option also be provided?
At the sift stage, the create panel fields will need to display ‘sift panel dates’ and not ‘interview dates’ as shown in the prototype above. Is this easy to make bespoke to each stage or do we need to keep it generic and just use ‘date’? The most likely scenario is that the dates will be a range, however there may be instances where there is only one day of activity.


Compile the CUDA code on Win10/Win7

Has anyone successfully complied the CUDA code on Windows?
I do not know how to compile it on Windows.

I have compiled it as follows:

Compile each cu file :

nvcc -c -o xxxx.cu.o xxxx.cu -D GOOGLE_CUDA=1 -x cu -Xcompiler -MD

modify each xxxx_cuda.c
add:

#include <ATen/ATen.h>
//extern THCState *state;
THCState *state = at::globalContext().thc_state;
extern "C" {
...
}

save it as:
xxxx_cuda.cpp

modify each xxxx.c (e.g. roi_pooling.c)
add:

#include <ATen/ATen.h>
extern "C" {
...
}

save it as:
xxxx.cpp

modify build.py

change xxx.c to xxx.cpp
add libraries=["ATen", '_C', 'cudart'] to the args of create_extension

run python build.py

(my environment: Win10 and cuda V9.0)
see also:
https://pytorch.org/docs/stable/notes/windows.html#cffi-extension

Hello, thank you for your instructions. I've tried on my side but I have a fatal error LNK1181: cannot open input file 'ATen.lib'.
Any idea ?

@hirotomusiker hi, after following your guidance, I got some errors, mainly with status 2:

Traceback (most recent call last):
File "C:\Users\ming-04\Anaconda3\lib\distutils_msvccompiler.py", line 423, in compile
self.spawn(args)
File "C:\Users\ming-04\Anaconda3\lib\distutils_msvccompiler.py", line 542, in spawn
return super().spawn(cmd)
File "C:\Users\ming-04\Anaconda3\lib\distutils\ccompiler.py", line 909, in spawn
spawn(cmd, dry_run=self.dry_run)
File "C:\Users\ming-04\Anaconda3\lib\distutils\spawn.py", line 38, in spawn
_spawn_nt(cmd, search_path, dry_run=dry_run)
File "C:\Users\ming-04\Anaconda3\lib\distutils\spawn.py", line 81, in _spawn_nt
"command %r failed with exit status %d" % (cmd, rc))
distutils.errors.DistutilsExecError: command 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\cl.exe' failed with exit status 2
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\ming-04\Anaconda3\lib\site-packages\cffi\ffiplatform.py", line 51, in _build
dist.run_command('build_ext')
File "C:\Users\ming-04\Anaconda3\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\ming-04\Anaconda3\lib\site-packages\setuptools\command\build_ext.py", line 87, in run
_build_ext.run(self)
File "C:\Users\ming-04\Anaconda3\lib\site-packages\Cython\Distutils\old_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
File "C:\Users\ming-04\Anaconda3\lib\distutils\command\build_ext.py", line 339, in run
self.build_extensions()
File "C:\Users\ming-04\Anaconda3\lib\site-packages\Cython\Distutils\old_build_ext.py", line 194, in build_extensions
self.build_extension(ext)
File "C:\Users\ming-04\Anaconda3\lib\site-packages\setuptools\command\build_ext.py", line 208, in build_extension
build_ext.build_extension(self, ext)
File "C:\Users\ming-04\Anaconda3\lib\distutils\command\build_ext.py", line 533, in build_extension
depends=ext.depends)
File "C:\Users\ming-04\Anaconda3\lib\distutils_msvccompiler.py", line 425, in compile
raise CompileError(msg)
distutils.errors.CompileError: command 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\cl.exe' failed with exit status 2
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "build.py", line 39, in
ffi.build()
File "C:\Users\ming-04\Anaconda3\lib\site-packages\torch\utils\ffi_init.py", line 189, in build
build_extension(ffi, cffi_wrapper_name, target_dir, verbose)
File "C:\Users\ming-04\Anaconda3\lib\site-packages\torch\utils\ffi_init.py", line 111, in _build_extension
outfile = ffi.compile(tmpdir=tmpdir, verbose=verbose, target=libname)
File "C:\Users\ming-04\Anaconda3\lib\site-packages\cffi\api.py", line 697, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "C:\Users\ming-04\Anaconda3\lib\site-packages\cffi\recompiler.py", line 1520, in recompile
compiler_verbose, debug)
File "C:\Users\ming-04\Anaconda3\lib\site-packages\cffi\ffiplatform.py", line 22, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "C:\Users\ming-04\Anaconda3\lib\site-packages\cffi\ffiplatform.py", line 58, in _build
raise VerificationError('%s: %s' % (e.class.name, e))
cffi.error.VerificationError: CompileError: command 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\cl.exe' failed with exit status 2

do you have any advice?


Possible web interface issue: submission of requests times out

Not sure where the source of this issue may lie, perhaps someone here can point at the likely suspect?
When I use the Python "requests"-library to address the HTTP API for SciCat, the messages I send to the server always end in a timeout. The response comes back pretty quick and complete. Is Catamel supposed to close the incoming socket once a complete request message has been received? Is the requests library not doing something it's supposed to do?
Setting the timeout to a small value doesn't seem like the correct solution to this problem..
cc. @ibressler

Issue found, it was trying to connect via ipv6, which apparently isn't supported by something along the network chain...


Don't allow exceptions to be swallowed when parsing optional fields

This PR attempts to fix https://github.com/ahrefs/bs-atdgen-codec-runtime/issues/9

thanks


Passpoint libraries, fixtures and tests

Controller library methods for passpoint profile creation
Added fixtures for passpoint tests to create and push AP profiles per test execution
Bridge and Nat mode tests for passpoint functionality.
Various passpoint configurations required for test case.

In configuration.py file the RADIUS_SERVER_DATA and RADIUS_ACCOUNTING_SERVER_DATA need to be correct as per service provider config.


docs: document LH, LHU, LB, LBU

Hello! I wrote some quick docs for a few instructions I was looking up this morning. I don't know how to write Chinese, so I hope its OK that I left those parts unfinished.

Thank you for helping with this! Since we are planning an update on the project structure, your updates may not be immediately reflected on the website. But we will make sure that your work eventually be publicly available.


Implemented next talk button for Android

referencing issue: https://github.com/Thinkmill/react-conf-app/issues/26


Have Codecov ignore the STL and ASIO headers

We don't care about their coverage and it takes up a lot of time during CI
builds.

STL and asio headers aren't effectively ignored by codecov :(


Fix bad error message

I think it should be specific that this check is for a directory to avoid confusion.

@miq-bot assign @bdunne

@miq-bot add_label enhancement


fix(plugin-vite): add vite as a peer dep

[x] I have read the contribution documentation for this project.
[x] I agree to follow the code of conduct that this project follows, as appropriate.
[x] The changes are appropriately documented (if applicable).
[x] The changes have sufficient test coverage (if applicable).
[x] The testsuite passes successfully on my local machine (if applicable).

Summarize your changes:
Added vite as a peer dependency.

I think we should include Vite as a direct dependency as part of the larger refactor effort in https://github.com/electron/forge/pull/3583.


Standardize and unify symbol library into single repository

Up to this point, we have handled the map symbols we use in Park Tiles and Builder separately. Worse, it can be difficult to track down current versions of symbol artwork, as some only reside, in draft form, on my local drive. This is due in part to the fact that the current NPMaki repo is forked from Maki and designed specifically to produce sprites and pngs that are compatible in Builder. A standardized library will facilitate better use of this resource.

Look forward to working on this!

Done--we now have all symbols used in Park Tiles alongside a separate directory for the tools used to create Builder symbols.

Does this mean we can delete this repository?
https://github.com/nationalparkservice/symbol-library/

Yes, I'll do that now.


Best practices: "Writing Yew component libraries which include assets"

This is about:

[ ] A typo
[ ] Innaccurate/misleading documentation (e.g. technically incorrect advice)
[ ] Undocumented code
[ ] Outdated documentation
[x] Other

Problem
While there are lots of examples, including from the Yew project itself, for writing components in a library crate; there are few, or no, examples which show how to bundle additional assets in with the component library.
I appreciate that Yew is meant to be non-"partisan" when it comes to bundling technologies; but it would seem that trunk has won most of the argument.  However, when looking through trunk's documentation, I could not find anything about assets from dependencies either.
I am looking to wrapper a number of JS libraries as part of my next project, and while I could wrapper them all in my application crate, thereby bypassing the problem because all the JS and CSS will end up referenced in my top level index.html, I would prefer to write some component library crates and have them easily consumed by other application authors as well.
Details about the solution you'd like
It would be great if, alongside the tutorial which currently exists, there were out-links to exemplary crates doing this kind of thing, or even better, a tutorial about doing it at the level of the tutorial which exists already.
Questionaire (Optional)

[ ] I'd like to write this documentation
[x] I'd like to write this documentation but I'm not sure what's needed
[ ] I don't have time to add this right now, but maybe later

trunk has solved the building problem insofar that it offers solid reloading and multiple modules with web workers. It still does not support a bundling mode, e.g. as you'd expect from tools like webpack. The reasons for this are:

bundling á la webpack requires talking with the bundler and then rewriting code
you might think it's possible to do it in a proc macro, but that's too early in the compilation pipeline
There are a ton of variations on the theme of "declare a dependency on another resource" to support. If you use powerful but insane options available in webpack, you end up with a largely stringly typed resource loading mechanism that's help together with bandaids and ad-hoc choices of dozen different plugin developers.

The easiest for now, is to have most your resources in a separately bundled part of the project, if trunk doesn't support the file type and then use pre_build hooks to bundle them before copying them over, Trunk hooks. That should end up in static files that you can refer to from your code.

I guess a build.rs for my library could construct the various assets, and the library could offer a function to acquire and transfer the content to a dist type tree which could be called by the application's build.rs - if that's likely to be the best bet without strongly depending on trunk per-se, then I can do that; but it doesn't feel satisfying for a tutorial.  I know that some of the JS can be included automatically by #[wasm_bindgen(module=...)] but there's no equivalent for CSS etc.
I think I'll give this some more thought once I've tried writing one such library crate so I can give a better rundown of the shape of a tutorial which might have helped.

wasm_bindgen handles including all the assets that it uses. So if you build a library that has JS modules imported via JS Snippets, you don't have to manually import them. Only the assets used in the final binary will be loaded at page load by wasm-bindgen

I've used the trunk hooks for assets, here is an example:
https://github.com/alexkazik/yew-bootstrap/tree/icons/examples/icons1
But if there is a better/easier way, I'd be happy.


Status displays as finished for a newly created project

For a newly created project, the status displays as finished.

observation:
earlier it was not noticeable whether the project was created or not , as after saving no snack bar was displayed (with message like project created successfully) nor the page redirection was happening. now ,verified that as soon as the New Project details are saved the page is redirected to the Project list page where one can see the newly created project. Looks good hence moving this to done.


expose presentViewController in authorizeSuccess instead of initWithConfiguration

Is it possible to expose presentViewController in authorizeSuccess instead of initWithConfiguration?
Setting presentViewController in authorizeSuccess might be more convenient.
Thank you.

that's possible, but there will be lots of restructure work involved, and currently I don't have plans on it.

#30 related.


PGPolicy implementation POC

Hi @olirice, this is a sketch implementation for a PGPolicy. Definitely don't think it is mergeable yet, but I'd be interested to hear your thoughts?
Postgres policies have the following differences to views/mat views/functions, and I've had to construct workarounds accordingly:

There is no "CREATE OR REPLACE" operation, you need to "DROP POLICY ....; CREATE POLICY ...;" instead. To get around this, I've add an is_replaceable class attribute and a switch behaviour in the replace op.

Policies are defined for a unique table, rather than a unique schema. Given the importance of schema for things like the alembic_utils schema, I've left that alone and instead bundled together the tablename and policyname into one as the signature, since this combination is unique per schema. However, this is super hacky - the solution is to do signature = f"{policyname}.{tablename}" and policyname = signature.split()[0], etc, which isn't going to work in general, for example if a table name contains a full stop.

When a policy is created, it needs to have all the tables it references available, including any of the fields referenced in using or with_check. As a workaround for simulation, I do create table alembic_utils.XXX (like schema.XXX including all);, but this would fail in the case where the policy references another table via a join (or I think so, to be fair did not test this).

Interestingly, these three points are true for triggers, which I am planning to implement next.
Look forward to hearing your thoughts!

hey @daviddaskell thanks for the PR & the explanation of why a few things are different
I haven't had the chance to review it in depth yet but it feels like I'd want to break up ReplaceableEntity into a minimal base class to support policies (+ other entities) and have different extension for the ReplaceableEntity specific stuff
I'll get back to you with a proper review at some point next week

Perfect, I think I have an idea how that would look but I'll wait for your review before changing anything.
In the meantime, I'm planning to do a PGTrigger implementation, which should hopefully give us insight into what a good abstraction might look like.
Enjoy your weekend!

closing as this feature was added in https://github.com/olirice/alembic_utils/pull/26

closing as this feature was added in https://github.com/olirice/alembic_utils/pull/26


Make pylibmc an optional dependency, available as an extra.

Fixes #16

This change is

please add docs about extra installation when one needs memcached fixtures, also add changelog entry

Coverage remained the same at 71.097% when pulling 908c2222a63102841ab2cc940d54be29fe38dcf0 on issue-16 into b55325985496b7a0fec13f9bf55e12915c83215e on master.

Coverage remained the same at 71.097% when pulling feb409061365a689456fecd9455c3f7a0c92b2ec on issue-16 into b55325985496b7a0fec13f9bf55e12915c83215e on master.

1.2.0 is out - thanks!

Thanks! Fast work.

I'll likely be pushing a PR for #15 shortly too.


Sources of service failure

I'm looking at some examples to articulate common risk scenarios and uses of OISRU.
One common scenario is around the service unavailability event that can, naturally, have many sources. For example:

Criminal or hacktivist are sensible sources for DDoS-type scenarios
Compromised supplier is suitable for a supplier outage (e.g. ISP failure)

For a 'wear and tear' or 'component failure' type scenario, my thinking is that the source of this is ineffective internal on the basis that proactive maintenance is required for any machinery/hardware/software/service.
It is, perhaps, a little unfair in the event of a manufacturing defect were failure occurs significantly before the Mean Time Between Failures. Though defects could be considered compromised supplier. (And, hopefully, they may not occur anywhere nearly frequently enough to warrant serious inclusion in the identified risk scenarios.)
Do we consider the current source lists sufficient to cover these type of 'wear and tear' scenarios?

I am questioning first whether wear and tear of technology components are technology risks rather than information security risks.
I could see a failure of a technology component, especially one supporting a security control, as an event that leads to & contributes to a security risk but I think that is a technology risk.

I would be pleased to see a technology risk universe (possibly derived from COBIT scenarios) and a privacy risk universe that are compatible with the Information Security risk universe but I think they are separate concerns and I'm not convinced we should extend OISRU. Maybe if we found appropriate privacy and technology experts to contribute we could look at a broader framework.


Change webhook state once connection is created ?

Currently I am using agent together with Webhooks. What I have noticed is that "state" that is part of the JSON that is sent to the Webhook URL is not changed once new connection is created. It is done only after I use that Connection_id to, for example, Issue credential, send Proof Request or something similar. I tried to create connection using lissi, trinsic, esatus wallets but it is always the same.
For example, once  create QR code that contains invitation URL, I get following JSON on my Webhook server:
{ connection_id: 'cdee131d-362a-4431-b186-67b0a4c302e0',
  invitation_mode: 'once',
  their_role: 'invitee',
  rfc23_state: 'invitation-sent',
  routing_state: 'none',
  state: 'invitation',
  created_at: '2021-08-05 06:10:06.398445Z',
  accept: 'auto',
  invitation_key: 'Ehke6YZB4bVuCw3NDteSs7b8yJZrzBUas1tNW71LQTLw',
  updated_at: '2021-08-05 06:10:06.398445Z' }

and state remains 'invitation' until I do something with this Connection_id.
My idea is to use this Webhook posts as a trigger for next POST proof request. That way I can automate the process of establishing connection and sending proof request. Basically what I need is state = active and after that the agent will send Proof Request. Is there a way to do that? Am I missing something?
Thanks!

The issue is you get the state of the webhook at the time the webhook is fired, and so it is active. Unfortunately, the connection protocol (RFC 0160) that is used by AIP 1.0 and the web wallets are talking about, and it does not automatically move the state to active until it is used.  This rectified in the did-exchange protocols (RFC 0023) (which is basically connections V2), but that doesn't help you.
Are you using --auto-accept ?  If so, you might want to not use that, then have the controller send the "response" message (after the request), so you at least know the user has accepted the invitation.  You will then be at "response-sent" state, and you can immediately or after a short delay send the proof request -- based on the assumption that the response will be processed.

Hi @swcurran ,
I am using --auto-accept. I can try without it but I am not sure that I understand your idea completely. Want is meant with "then have the controller send the "response" message (after the request), so you at least know the user has accepted the invitation" because in my case I have Wallet and Agent with a controller? Do you mean that I show QR code with invitation url, scan it with my wallet and by accepting it (from my wallet), the response message is automatically sent? Or I didn't understand it right?
Is there something else that can be used as a trigger for sending Proof request? In my case I have Android App with an UI that shows QR code but I want to avoid establishing background service that will constantly send GET requests just to find out whether my connection is established or not and use that as trigger for sending Proof Request.

The problem you are having is that there is no event/webhook at the inviter side to say "the connection is active".
This is a problem in the protocol defined in RFC 0160 that unfortunately cannot be changed.  So since you are stuck with RFC 0160 (and you are -- it's what the mobile agents are using until AIP 2.0 gets deployed), you get no events on the inviter side after the inviter sends the "response" message.
What I think is happening...  If you have "--auto..." set, then you get NO events to the controller related to the protocol.  The definition of "--auto..." is that you get a response at the end of the protocol, and since the inviter doesn't know if the protocol is done (if the invitee processed the last message), it doesn't send a message.
If you turn off auto, your controller will get an webhook on each event, including when the "request" message from the invitee is received. Your controller will then trigger the sending of the "response" message and know that it has been sent. It can use that to do whatever you want next.
We don't recommend using "--auto..." in production apps (it's a "debugging" option), so we've not had to work around it.
Hope that makes sense.

Hi @swcurran,
Sorry for late response.
I tried to use agent without "--auto...". Here is an example how I usually start my agent:
PORTS="8020 11000" ./scripts/run_docker start --label Alice --inbound-transport http <IP_ADDRESS> 8020 --outbound-transport http --admin <IP_ADDRESS> 11000 --admin-insecure-mode --genesis-url http://dev.greenlight.bcovrin.vonx.io/genesis  --seed Alice000000000000000000000000001 --endpoint http://<IP_ADDRESS>:8020/ --debug-connections --auto-provision --wallet-type indy --wallet-name Alice --wallet-key secret --webhook-url http://9vbn32189da7.ngrok.io
However, I still don't get web hooks on each event. For testing purposes, I built short .js server that listens to the web hooks and prints them out. Url path components that I used can be found here.
Once I send an invitation I get web hook at /topic/connections but after accepting the invitation, there are no new events. At least not at any of the url paths that are listed in the link above. Am I making some other mistake?

I think I know what is going on.  The Alice Faber demo in the Alice Faber API demo cover this.  Specifically, look at this step as part of the Establish connection flow.  When not using "--auto", Alice has to both receive and accept the invitation, and then wait for Faber (the other party) to respond.  The accept should send the RFC 0160 Connections "request" message, which Faber will receive and send back a RFC 0160 Connections "response" message.
Does that make sense?

Hi @srbms23
You can try out the aca-py agent communicating with a mobile agent (we usually test with Trinsic or esatus) using this demo:  https://github.com/hyperledger/aries-cloudagent-python/blob/main/demo/AliceGetsAPhone.md
If you run the faber agent using the --events option then it will display the webhooks received by the faber agent during each protocol.
For the connection protocol, the sequence is:

faber generates the invitation and displays a QR code (at this point the connection is in "invitation" status)
the mobile scans the QR code and sends a connection request (in aca-py this is two separate steps - "receive invitation" and "accept invitation" - the first stores the invitation in the wallet, the second sends a connection request to the inviter)
when faber receives the connection request it will change the connection state to request-received and you should receive this web hook
faber then sends a connection response to the other agent and you should get a response-sent webhook for this as well

At this point the mobile can optionally send an "ack" which will put faber's connection into active state, but as @swcurran  mentions this is not implemented in any of the mobile agents, so at this point faber's connection is stuck in response-sent state.
We get around this by treating response-sent as active - you can use this connection to send credentials, ask for proofs, etc, and any operation will push the connection into active state.
I suggest you try out this flow with the faber demo and either Trinsic or esatus, and if that works then you can try with your app, or compare your code with the faber demo code to see any potential differences.

Hi @ianco,
Thanks for your time and help.
I tried to start the demo and see how it works before digging into the code but with these commands TAILS_NETWORK=docker_tails-server LEDGER_URL=http://test.bcovrin.vonx.io ./run_demo faber --aip 10 --revocation --events I get the following error:
Preparing agent image...
sha256:308c41d3b9cba3d2fc86a3a9cef2b14423ed27643868184e5c0b3ba4f118015d

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
Trying to detect ngrok service endpoint
Detected ngrok agent endpoint [https://64f2-129-187-166-158.ngrok.io]
<IP_ADDRESS>
ngrok tails service name [ngrok-tails-server]
Fetching endpoint from ngrok service
Fetched ngrok tails server endpoint [https://3ad8-129-187-166-158.ngrok.io]
Starting [faber] agent with args [--port 8020 --aip 10 --revocation]
usage: faber.py [-h] [--no-auto] [-p <port>] [--did-exchange] [--revocation]
                [--tails-server-base-url <tails-server-base-url>] [--timing]
                [--multitenant] [--mediation] [--wallet-type <wallet-type>]
                [--arg-file <arg-file>]
**faber.py: error: unrecognized arguments: --aip 10**

I followed each step as in link above. Is there something else I should do/try?

Hi @srbms23 , check the aca-py/demo version you are running, I just tested your command on the latest version of code from main and it runs fine.

Closing.


Reserve name on pypi an go public

To avoid the restrictions on github private repos this repo should be made public.
TODO:

Publish an empty package on test pypi and then pypi itself, reserving the name
Empty out the master branch until the first release candidate

Completed, and renamed to bayesian-models


Use convo API everywhere

Thanks for the heads up @pbui. Looking at this now.

Merged in ae4d440c06b1dc728b1b55d22f313ff476ae88bb


Updating the Bureau Structure

Updating the Bureau Structure to match the new design
Additions

Added Jinja, CSS, and JS to update the Bureau Structure to match the new design.

Removals

Removed some legacy code related to IE8

Testing

Visit http://localhost:8000/the-bureau/bureau-structure/.

Review

@KimberlyMunoz
@anselmbradford
@jimmynotjim

Screenshots

Notes

There is a lot of css which hopefully can be reduced.

Todos

Ask for Gods forgiveness for writing jQuery.

Checklist

[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the front end playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

Q for @schaferjh. A lot of the links point to weird blank pages. What is the status of those pages in v1 and where should the links be pointing to?
Here's an example: http://www.consumerfinance.gov/orgmember/supervision-enforcement-and-fair-lending/

Yes, that's what I was talking about. So those links should be updated with the v1 links, got it.

Office pages links were updated in https://github.com/cfpb/cfgov-refresh/commit/3f65fc6c860c9e8fd00f10a506ea055b52a8b946.

Fixes https://github.com/cfpb/cfgov-refresh/issues/687

:+1:

Minor, many of the style properties aren't following our standard order and many parens are missing inner wrapping spaces.


added filter issue by open or close status

Description

Added a new dropdown submenu in the filter option to filter issues based on their open or close status using a new view filter_by_status. Also fixed alignment of the submenus in the filter dropdown.
Related Issue

Fixes #188
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Motivation and Context

Screenshots (if appropriate):
https://github.com/user-attachments/assets/b6db6581-2d3a-4798-a479-f69900270cb8
Checklist:

[x] I have registered myself at Contrihub website.
[x] My code follows the code style of this project.
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] Any dependent changes have been merged and published in downstream modules
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Test Configuration:

Firmware version:
Hardware:
Toolchain:
SDK:

@hexwhiz automated testing fails...

Didn't ran the flake8 test. I will commit again after the check.

@meisabhishekpatel done making changes. Now the test should pass

closes #189


PWA-427: [ux] entire contents of PDP can be dragged around

add word break prop to description styling

Pull Request Test Coverage Report for Build 721

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 33.633%

Totals

Change from base Build 716:
0.0%

Covered Lines:
1254

Relevant Lines:
3644

💛  - Coveralls


fix miss test classes

hi @artur-shaik when i complete mvn test class ,some error appeared,so i think it is better add the test class outputdirectory into classpath,what do you think?
https://maven.apache.org/guides/introduction/introduction-to-the-pom.html

What kind of error? Can you put logs here?

for example i have i innerclass in src/test/java/com/wsdjeg/mysqlvim/TestMVRequest.java
named TestMVRequestInnerclass
can not be complete

after this PR it works ok

Ok, lets do it.

thank you !

i have read syntastic src,it can detect test or main file,and use different properties,i try to let JC2 also support it, but i find it is not a good ieal.bucause JAVAVI servise has started and there is no need to restart when we change to different file!


Trustwallet receive ..

Is your proposal related to a problem?

(Describe your proposed solution here.)
Describe alternatives you've considered

(Write your answer here.)
Additional context
trustwallet

(Write your jacksonbinh)

Yes


Evaluate Data Transfer Protocol

If I get it correctly, we send the image data itself over RPC as well? That's fine for now, but maybe let's open an issue to evaluate the data transport protocol. Maybe this becomes a bottleneck, I don't know how fast RPC is for transfer of large amounts of data. We might want a separate data channel in the future.
Originally posted by @MaxiBoether in https://github.com/eth-easl/dynamic_datasets_dsl/pull/55#discussion_r1060422811

Descoped from my semester project as #249 has priority.


psrHttpRequestFactoryAuthorization can be null

i.e. for usage with BASIC_AUTH

I tried to use the client with a registry with just BASIC_AUTH.
Would there be a better way to implement that?

I have added 3 types of authorization now.
Token, Basic and Empty.
Verify, if Basic works for you, because I have only tested with Token based auth.
The code is available from 0.8.0 version:
Code that changed:
https://github.com/madkom/docker-registry-client/commit/38472a88253856cad21be88deda68ef5cf1674c8

And the usage.php file is updated. So you can see how it works there.

Nice :)
So, I'll close this then ... and create or reopen, if there are any issues....


[CI] Add unit test run using the verified backend

the formally verified backend was introduced in #739
it requires building under a slightly different set of flags
This uses them to runs tests for the cryptography packages

:hourglass: Testing commit 389fe5f0c5ee648197fce8df70eca8701512a61f with merge 8b8c96b900011e6ba84422ab4bdaa8dd33d50f79...

@bors-libra r-

Sorry, I didn't notice it was still draft. Let me know when this is ready.

:sunny: Test successful - checks-circle_commit_workflow
State: approved= try=False

@bors-libra r=metajack

:pushpin: Commit 389fe5f has been approved by metajack

:hourglass: Testing commit 389fe5f0c5ee648197fce8df70eca8701512a61f with merge 52d04b7d5b7facc7598e978817ac99a24f4acd84...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: metajack
Pushing 52d04b7d5b7facc7598e978817ac99a24f4acd84 to master...


Nextjs + vanilla-extract works inconsistently

Hi team, we've stumbled across a very strange bug: build command won't work in some cases. We've created a minimal reproduction repo, where you can test it. Our most ambiguous finding — if you move styles somehow in a folder structure, it starts working. We don't want to blindly manipulate file structure as we couldn't find the source of the problem. Sometimes paths like ../../../../../../node_modules/virtual-resource-loader/ webpack handles correctly, sometimes — not. Hope you can shed some light on the issue.
Build command fails with the next message:
> Build error occurred
Error: Cannot find module '<EMAIL_ADDRESS>
Link to reproduction
https://github.com/daryawood/vanilla-extract-bug
System Info
Output of npx envinfo --system --npmPackages @vanilla-extract/css,@vanilla-extract/webpack-plugin,@vanilla-extract/esbuild-plugin,@vanilla-extract/vite-plugin,@vanilla-extract/sprinkles,webpack,esbuild,vite --binaries --browsers:
  System:
    OS: macOS 11.5.1
    CPU: (8) x64 Apple M1
    Memory: 34.78 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.17.5 - /usr/local/bin/node
    Yarn: 3.0.2 - ~/Documents/vanilla-extract-bug/node_modules/.bin/yarn
    npm: 6.14.14 - /usr/local/bin/npm
  Browsers:
    Chrome: 94.0.4606.61
    Edge: 93.0.961.47
    Firefox: 92.0
    Safari: 14.1.2

I will also add a bit of my findings.
Sometimes (we didn't understand why) webpack plugin generates path to /virtual-resource-loader with more '../' segments than it should. It goes out from project folder and webpack treat this module as external an instead of inlining resource it just left require("@roadtravel/client-react/styles/vars.css.ts.vanilla.css!=!../../../../../../node_modules/virtual-resource-loader/dist/virtual-resource-loader.cjs.js? which obviously doesn't work.
This happens only for imports in styles. Mean component.tsx > component.css.ts -> vars.css.ts (happens for this import)
I also dug into the source code and tried to debug it, and found that for such files (imports inside css) vanilla-extract-webpack-plugin-loader.cjs.prod.js  calls to loaderUtils.stringifyRequest() with context of current file which is pointing to current procesed file directory instead of import file directory
in repo example:
Given project structure:
node_modules
projects/client-react/components/
projects/client-react/styles/

Where file
projects/client-react/components/layout/cookie-bar/lib/cookie-bar.css.ts
Imports
projects/client-react/styles/vars.css.ts
and virtual-resource-loader resolved relatively to cookie-bar.css.ts instead of vars.css.ts
Which lead to
@roadtravel/client-react/styles/vars.css.ts.vanilla.css!=!../../../../../../node_modules/virtual-resource-loader/dist/virtual-resource-loader.cjs.js?
Instead of
@roadtravel/client-react/styles/vars.css.ts.vanilla.css!=!../../../node_modules/virtual-resource-loader/dist/virtual-resource-loader.cjs.js?
The strange thing is that in some other cases where i debugged the same construction was succefuly parsed by webpack and worked with no issue.
Tip:
You can easily spot an issue by opening projects/client-react/.next/server/pages/_app.js after build (even after failed build) and checking it content. This is an artefact created by webpack where you can check what was actually generated.

Well, we've fixed the issue. The solution is quite simple, just switch to Emotion.


Editing a KFService Object leaves unused resources

/kind bug
What steps did you take and what happened:
Deploying a KFService of the following format
apiVersion: serving.kubeflow.org/v1alpha1
kind: KFService
metadata:
  labels:
    controller-tools.k8s.io: "1.0"
  name: foo
  namespace: foo-ns
  annotations:
	    foo: bar
spec:
  default:
    custom:
      container:
        args:
        - http
        image: mycr.cr.io/fooimg
        name: ""
        resources:
          limits:
            cpu: 400m
            memory: 500Mi
          requests:
            cpu: 400m
            memory: 500Mi
    minReplicas: 2
    maxReplicas: 2
    serviceAccountName: svcacc

I subsequently ran kubectl edit kfservice foo -n foo-ns, edited resources.limits.cpu and resources.requests.cpu and minReplicas to 0.
This resulted in the new AND the previous KNative revisions still being active along with the pods associated with them.
What did you expect to happen:
The previous revisions are deleted
Anything else you would like to add:
This doesn't seem like expected behavior - out-of-date revisions without an associated route are kept alive and taking up system resources.
Environment:

Istio Version: 1.1.3
Knative Version: 0.7.1
KFServing Version: 0.1
Kubernetes version: (use kubectl version): 1.13

This seems to be default behavior for Knative as described in https://github.com/knative/serving/issues/2720 . Is KF-Serving intentionally following the same behavior?

Seems sad to me. Since we don't rollback to old revisions, maybe we can do something about it?
@yuzisun any thoughts?
Also see https://github.com/knative/serving/issues/4183

I believe the primary problem here is that Tensorflow isn't shutting down. The old revisions are supposed to scale down if not under any traffic, but it can take some time. It takes extra long if TF Serving refuses to shut down #82
Knative will garbage collect old revisions over time. We absolutely need multiple revisions for rollouts to work without dropping traffic. I believe knative allows you to specify a number of revisions to keep, but I wasn't able to find it in a quick perusal.

/area project-health

I agree this is sad and I have raised this issue earlier to knative, but the current behavior is that the minscale requirement also applies to old revisions, It eventually gets GCed but it is like 15 hours by default since last time the revision gets pinned for traffic. You can try tune this setting https://github.com/knative/serving/blob/master/config/config-gc.yaml#L45 though.

Its not just TFServing - any pod for which you set minReplicas will stick
around for hours. If you keep iterating, this applies to all older
revisons. This is definitely a blocker for us using it. We'll try tweaking
the parameters to see if it is possible to mitigate.
On Fri, Jul 26, 2019 at 3:46 PM Dan Sun<EMAIL_ADDRESS>wrote:

I agree this is sad and I have raised this issue earlier to knative, but
the current behavior is that the minscale requirement also applies to old
revisions, It eventually gets GCed but it is like 15 hours by default since
last time the revision gets pinned for traffic. You can try tune this
setting
https://github.com/knative/serving/blob/master/config/config-gc.yaml#L45
though.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/kubeflow/kfserving/issues/269?email_source=notifications&email_token=AA2CTBLSQ4MMIGITMYUP4VDQBN5E5A5CNFSM4IG75UEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD254CJQ#issuecomment-515621158,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2CTBNO3ONLFFYX4PN2OJLQBN5E5ANCNFSM4IG75UEA
.

--
Rakesh Kelkar

Possible fix here: https://github.com/knative/serving/pull/4884

this is now fixed with https://github.com/knative/serving/releases/tag/v0.9.0.

/close


Can I use java libraries or something?

I wanted to connect to a redis database. Would I be able to use java libraries or node.js modules?

You should be able to use Java libraries if there are java bindings for redis.

where would I put the .jar file for the redis library?

I figured it out.

a

In java to connect a redis database it would be new Jedis("localhost"); I did /js c=new java.Jedis('localhost') . It complained that jedis is an object.

What java package does the Jedis class live in? The code should be something like:
/js var jedis = new redis.clients.jedis.Jedis('localhost')

If you need to use redis (or any other Java library) , include the jar file in the classpath when starting the server.
java -cp redis.jar:spigotmc.jar -org.bukkit.craftbukkit.Main (or whichever Main class is used by spigotmc or CanaryMod)


Warning Invalid mapping for

I have the following warning from neo-tree every time I open diagnostics:

It doesn't happen when I open other sources, like filesystem.
Minimal config to reproduce:
local config = {
  sources = {
    'filesystem',
    'diagnostics',
  },
  filesystem = {
    commands = {
      copy_file_name = function(state)
        local node = state.tree:get_node()
        vim.fn.setreg('+', node.name, 'c')
      end,
    },
  },
  window = {
    mappings = {
      ['Y'] = 'copy_file_name',
    },
  },
}

require('neo-tree').setup(config)

This happens because the command is only defined for the filesystem source, yet is bound to Y for all sources. If you only want to use it in the filesystem source, simply move the mapping into filesystem, like so:
local config = {
  sources = {
    'filesystem',
    'diagnostics',
  },
  filesystem = {
    commands = {
      copy_file_name = function(state)
        local node = state.tree:get_node()
        vim.fn.setreg('+', node.name, 'c')
      end,
    },
    window = {
      mappings = {
        ['Y'] = 'copy_file_name',
      },
    },
  },
}

require('neo-tree').setup(config)

If you want to use the mapping in the diagnostics source as well, I'd recommend using a closure directly:
local copy_file_name = function(state)
  local node = state.tree:get_node()
  vim.fn.setreg('+', node.name, 'c')
end

local config = {
  sources = {
    'filesystem',
    'diagnostics',
  },
  window = {
    mappings = {
      ['Y'] = copy_file_name,
    },
  },
}

require('neo-tree').setup(config)

Thank you!


Error creating annotation from empty annotator, overlaid on element, and with .groupby

Error when creating a new annotation from an empty annotator overlaid on an element and when .groupby has been set
  Code
# ensure there is no .db in the cwd

from holonote.annotate import Annotator
from holonote.app import PanelWidgets
import panel as pn; pn.extension()
import holoviews as hv; hv.extension('bokeh')
from holonote.annotate.connector import SQLiteDB

annotator = Annotator({"height": float, "width": float}, fields=["type"],
                      connector=SQLiteDB(filename=':memory:'))
annotator.groupby = "type"
annotator_widgets = PanelWidgets(annotator)

pn.Column(annotator_widgets, annotator * hv.Image([], ['width', 'height'])).servable()

Then try to create and commit a new annotation

https://github.com/holoviz/holonote/assets/6613202/125c7210-0c14-405a-955e-df504bb34ab9
  Traceback
WARNING:param.OverlayPlot04752: :NdOverlay   [type] is empty and will be skipped during plotting
Traceback (most recent call last):
File "/Users/droumis/opt/miniconda3/envs/neuro-deep-image-stack/lib/python3.12/site-packages/holoviews/plotting/util.py", line 293, in get_plot_frame
return map_obj[key]
~~~~~~~^^^^^
File "/Users/droumis/opt/miniconda3/envs/neuro-deep-image-stack/lib/python3.12/site-packages/holoviews/core/spaces.py", line 1216, in __getitem__
val = self._execute_callback(*tuple_key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/droumis/opt/miniconda3/envs/neuro-deep-image-stack/lib/python3.12/site-packages/holoviews/core/spaces.py", line 983, in _execute_callback
retval = self.callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/droumis/opt/miniconda3/envs/neuro-deep-image-stack/lib/python3.12/site-packages/holoviews/core/spaces.py", line 552, in __call__
return self.callable()
^^^^^^^^^^^^^^^
File "/Users/droumis/opt/miniconda3/envs/neuro-deep-image-stack/lib/python3.12/site-packages/holoviews/util/__init__.py", line 1038, in dynamic_operation
key, obj = resolve(key, kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/Users/droumis/opt/miniconda3/envs/neuro-deep-image-stack/lib/python3.12/site-packages/holoviews/util/__init__.py", line 1027, in resolve
return key, map_obj[key]
~~~~~~~^^^^^
File "/Users/droumis/opt/miniconda3/envs/neuro-deep-image-stack/lib/python3.12/site-packages/holoviews/core/spaces.py", line 1219, in __getitem__
self._cache(tuple_key, val)
File "/Users/droumis/opt/miniconda3/envs/neuro-deep-image-stack/lib/python3.12/site-packages/holoviews/core/spaces.py", line 1292, in _cache
self[key] = val
~~~~^^^^^
File "/Users/droumis/opt/miniconda3/envs/neuro-deep-image-stack/lib/python3.12/site-packages/holoviews/core/ndmapping.py", line 566, in __setitem__
self._add_item(key, value, update=False)
File "/Users/droumis/opt/miniconda3/envs/neuro-deep-image-stack/lib/python3.12/site-packages/holoviews/core/ndmapping.py", line 165, in _add_item
self._item_check(dim_vals, data)
File "/Users/droumis/opt/miniconda3/envs/neuro-deep-image-stack/lib/python3.12/site-packages/holoviews/core/ndmapping.py", line 984, in _item_check
raise AssertionError(f"{self.__class__.__name__} must only contain one type of object, not both {type(data).__name__} and {self.type.__name__}.")
AssertionError: DynamicMap must only contain one type of object, not both Overlay and NdOverlay.

I'm not sure how to move forward. I can't seem to catch the error condition using either caplog or capsys. Here is the test I was trying. @hoxbro any tips?
def test_groupby_with_overlay_from_empty_annotator(annotator_range2d, caplog, capsys):
    annotator = annotator_range2d
    annotator.groupby = "description"
    bounds = (-1, -1, 1, 1)
    data = np.array([[0, 1], [1, 0]])
    img = hv.Image(data, kdims=["x", "y"], bounds=bounds)

    plot = annotator * img
    hv.render(plot)

    annotator.set_regions(x=(-0.15, 0.15), y=(-0.25, 0.25))

    with caplog.at_level(logging.WARNING):
        try:
            annotator.add_annotation(description="Test")
        except AssertionError as e:
            assert "DynamicMap must only contain one type of object" not in str(e), f"Found unexpected AssertionError: {e}"

    captured = capsys.readouterr()
    print("Captured stdout:", captured.out)
    print("Captured stderr:", captured.err)

    # Log messages check
    log_messages = [record.message for record in caplog.records]
    print("Captured log messages:", log_messages)

    assert not any("DynamicMap must only contain one type of object" in message for message in log_messages), \
        "Found an unexpected AssertionError log message"

And here is the output of pytest.. wich passes despite showing the captured stderr showing the error:
  pytest output
pytest -s holonote/tests/test_annotators_element.py
========================================================= test session starts =========================================================
platform darwin -- Python 3.10.14, pytest-8.1.1, pluggy-1.4.0
rootdir: /Users/droumis/src/holonote
configfile: pyproject.toml
plugins: nbval-0.11.0
collected 16 items

holonote/tests/test_annotators_element.py ..........WARNING:param.OverlayPlot12867: :NdOverlay   [description] is empty and will be skipped during plotting
WARNING:param.OverlayPlot12867: :NdOverlay   [description] is empty and will be skipped during plotting
WARNING:param.OverlayPlot12867: :NdOverlay   [description] is empty and will be skipped during plotting
Captured stdout: Traceback (most recent call last):
  File "/Users/droumis/opt/miniconda3/envs/holonote-dev/lib/python3.10/site-packages/holoviews/plotting/util.py", line 293, in get_plot_frame
    return map_obj[key]
  File "/Users/droumis/opt/miniconda3/envs/holonote-dev/lib/python3.10/site-packages/holoviews/core/spaces.py", line 1217, in __getitem__
    val = self._execute_callback(*tuple_key)
  File "/Users/droumis/opt/miniconda3/envs/holonote-dev/lib/python3.10/site-packages/holoviews/core/spaces.py", line 984, in _execute_callback
    retval = self.callback(*args, **kwargs)
  File "/Users/droumis/opt/miniconda3/envs/holonote-dev/lib/python3.10/site-packages/holoviews/core/spaces.py", line 552, in __call__
    return self.callable()
  File "/Users/droumis/opt/miniconda3/envs/holonote-dev/lib/python3.10/site-packages/holoviews/util/__init__.py", line 1037, in dynamic_operation
    key, obj = resolve(key, kwargs)
  File "/Users/droumis/opt/miniconda3/envs/holonote-dev/lib/python3.10/site-packages/holoviews/util/__init__.py", line 1026, in resolve
    return key, map_obj[key]
  File "/Users/droumis/opt/miniconda3/envs/holonote-dev/lib/python3.10/site-packages/holoviews/core/spaces.py", line 1220, in __getitem__
    self._cache(tuple_key, val)
  File "/Users/droumis/opt/miniconda3/envs/holonote-dev/lib/python3.10/site-packages/holoviews/core/spaces.py", line 1293, in _cache
    self[key] = val
  File "/Users/droumis/opt/miniconda3/envs/holonote-dev/lib/python3.10/site-packages/holoviews/core/ndmapping.py", line 566, in __setitem__
    self._add_item(key, value, update=False)
  File "/Users/droumis/opt/miniconda3/envs/holonote-dev/lib/python3.10/site-packages/holoviews/core/ndmapping.py", line 165, in _add_item
    self._item_check(dim_vals, data)
  File "/Users/droumis/opt/miniconda3/envs/holonote-dev/lib/python3.10/site-packages/holoviews/core/ndmapping.py", line 986, in _item_check
    raise AssertionError(f"{self.__class__.__name__} must only contain one type of object, not both {type(data).__name__} and {self.type.__name__}.")
AssertionError: DynamicMap must only contain one type of object, not both Overlay and NdOverlay.

Captured stderr:
Captured log messages: [':NdOverlay   [description] is empty and will be skipped during plotting', ':NdOverlay   [description] is empty and will be skipped during plotting', ':NdOverlay   [description] is empty and will be skipped during plotting']
......

========================================================= 16 passed in 5.29s ==========================================================

The error message is located in stdout, and is emitted from https://github.com/holoviz/holoviews/blob/febe07506bda2c433ac31938ce4c5aa62335559d/holoviews/plotting/util.py#L299.
def test_groupby_with_overlay_from_empty_annotator(annotator_range2d, capsys):
    # Test for https://github.com/holoviz/holonote/issues/119
    annotator = annotator_range2d
    annotator.groupby = "description"
    bounds = (-1, -1, 1, 1)
    data = np.array([[0, 1], [1, 0]])
    img = hv.Image(data, kdims=["x", "y"], bounds=bounds)

    plot = annotator * img
    hv.render(plot)

    annotator.set_regions(x=(-0.15, 0.15), y=(-0.25, 0.25))
    annotator.add_annotation(description="Test")

    captured = capsys.readouterr()
    bad_output = "AssertionError: DynamicMap must only contain one type of object, not both Overlay and NdOverlay."
    assert bad_output not in captured.out


Allow specifying grpc-gateway options

Allow specifying grpc-gateway options with --with-gateway OPTS. For
example, --with-gateway paths=source_relative.

closing for #248


How to use deleteAll with both hash and rangeKey?

Can you try
table.deleteAll(('id and 'applicationId) -> Set("foo" -> "bar, "baz" -> "qux", ...))

Hi
The following solution was verified with scanamo version "1.1.1"
table.deleteAll(('hashKey', 'rangeKey') =*= Set((hashKey1, rangeKey1), (hashKey2, rangeKey2), (hashKey3, rangeKey3), ...))


New crates.io release

Hi, it would be cool if you could do a new release on crates.io with the new crossbeam version. Thank you! A minor release 0.5.2 would be most prefferable.

Hi @est31
This crate depends on crossbeam-utils of instead of crossbeam (since version 0.5.1) and uses the latest version of that crate as far as I can see.

Oh, I haven't seen 0.5.1. Sorry!


add examples for dynamic LAPACK and SuiteSparse

build LAPACK as dynamic library
use dynamic LAPACK library in SuiteSparse-dynLAPACK

Branches pkg.lapack and pkg.suitesparse updated.


How to show pre entered data in it

I wanna use card scanner in this screen, once scanned all the fields should contain the scanned card values and then if needed user can change it.
is there any way to do it..?

I don't think there is a simple way how you could add scanner to this screen. Having scanner come before the form would be probably easier, you'd just populate the form with data from scanner

how can I populate it from the view controller..?

or is there's any method to reload creditCardForm..?

I am not sure, it has been a while since I worked on it and I can't check it at the moment. I will try to look at it in the future, but I can't promise any date. I think best approach for you is to fork it and do it yourself. PR is always welcome :)


Add Nong Song

Song Name
Bling-Bang-Bang-Born
Artist Name
Creepy Nuts
Source
Youtube
Youtube Link
https://youtu.be/5NzfqW_Yt6Y?si=CqYe2EgdYY3Y2ccd
Direct File Link
No response
Song ID
1311743
Extra
No response

Gg

the artist should be Creepy Nuts not the uploader xD

accept


Configure environment variables

We need to create the two separated files mainnet.js and testnet.js to store the configurations for different environment.

@gaupoit please check #36

Done in #40 Closed


False Positive on netty-tcnative-classes

False positive on library netty-tcnative-classes-2.0.46.Final.jar - reported as  cpe:/:netty:netty:2.0.46
<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty-tcnative</artifactId>
    <version>2.0.46.Final</version>
</dependency>

Duplicate of  #3865


ReceiveBufferSize may need more detail

It seems unclear what WebSocketOptions.ReceiveBufferSize does.
This doc states that it's for performance tuning, but doesn't give any guidance on how to reason about its impact or if it will raise errors if the received message exceeds that size.
Viewing the docs for WebSocketOptions also doesn't give much insight into its use.
I also found a PR that seems to suggest that ReceiveBufferSize has been deprecated behind the scenes and is entirely ignored.
https://github.com/aspnet/WebSockets/pull/232

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

ID: a3b0cac1-adc7-434c-d867-6e28e39bdae7
Version Independent ID: 762efeed-010e-f422-03d0-22d6681b2851
Content: WebSockets support in ASP.NET Core
Content Source: aspnetcore/fundamentals/websockets.md
Product: aspnet-core
Technology: aspnetcore-fundamentals
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Per https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.builder.websocketoptions.receivebuffersize
Gets or sets the size of the protocol buffer used to receive and parse frames. The default is 4kb.
aspnet/WebSockets#232 removes setting it in src/Microsoft.AspNetCore.WebSockets/WebSocketMiddleware.cs and uses the default.


JSONData has no field insertByPath/existsByPath/removeByPath/setByPath

Trying to compile a project with 'lime test windows' gives me following errors:

Did my files go out-of-sync with each other or..?

If I use the code from the github, where it does have those functions, it gives me different errors!


Vullkaninfo broken in Linux- Segmentation fault

vulkaninfo_Segmentation_fault.txt

It would be really helpful to run this under a debugger and post a stack trace at the point of the fault.

@karl-lunarg , i am trying to debug.. but unfortunately the following command is unable to complete without any errors.. cmake -DCMAKE_BUILD_TYPE=Debug ..
Attaching the cMakeOutputlog,
CMakeOutput.log
Note : I did report this issue few weeks back .. unfortunately i was not able to give more information
https://github.com/KhronosGroup/Vulkan-Tools/commit/01402386ecc9080f0f8e0c4e194958a0868d1027

@karl-lunarg .. this is the last commit thats working fine on my linux machine
https://github.com/KhronosGroup/Vulkan-Tools/commit/e1d6a0be32144be2b378532f4183d679821234c8

It isn't necessary to build it debuggable to get a stack trace if the trace is being used just to see where the fault occurred.  See what you did here.
I suspect that this is the same problem being discussed in this commit.   And I agree with the assessment in this comment:

I'm asking because I notice that commit 3a7c6a8 (two commits ago) introduced the call to vkGetPhysicalDeviceSurfaceSupportKHR that seems to appear in the crash backtrace.

It is possible that your Intel Vulkan driver isn't handling the vkGetPhysicalDeviceSurfaceSupportKHR correctly, because that is where the crash is occurring.  You might try seeing if there are any updates available for your driver or contact the driver owners about the problem.
Another thing you can try is to just comment out the call to this function.  At first glance, all it does is set a boolean that is is later printed out.  After commenting it out, see if the rest of the app works.  Of course, the supports_present value displayed won't be right, but at least this experiment helps narrow down the problem.

@karl-lunarg Thanks for the update, As you have mentioned i can confirm that the Code is working fine when i commented out the Call for vkGetPhysicalDeviceSurfaceSupportKHR. I am not sure if this info helps. I am using the latest stable Mesa drivers that are currently available. I was getting the same issue with Unstable drivers too ..

I think I see part of the problem.  @arunsivaramanneo:  Try rebuilding with the CMake variable set to
BUILD_WSI_XLIB_SUPPORT=OFF
or do whatever it takes to NOT set the preprocessor symbol VK_USE_PLATFORM_XLIB_KHR
The idea is to turn off the Xlib support in vulkaninfo.  (Also, make sure that the call to vkGetPhysicalDeviceSurfaceSupportKHR is active again.)
If vulkaninfo works again, then the following probably explains the problem and may help @lunarpapillo and @jeremyk-lunarg.
The problem is that AppDumpSurfaceExtension() is getting called twice, once for Xcb and once for Xlib.  AppDumpSurfaceExtension() creates a surface and stores it in inst->surface.  This causes a leak because the surface isn't cleaned up until later.  But that's not the real issue.
It also means that the surface left in inst->surface is really an Xlib surface after the two calls to AppDumpSurfaceExtension()
Later, AppGpuDump() is called.  The Xcb connection to the server is still active and by the looks of the stack trace inside the Intel Vulkan driver, it is acting like it is expecting an Xcb surface.  But the surface sitting in gpu->inst->surface at this point is an Xlib surface, so the driver probably had a problem with pulling Xcb info out of the surface because it was really an Xlib surface.
The fix is to probably free the surface in AppDumpSurfaceExtension() to fix the leak.  In AppGpuDumpQueueProps, vulkaninfo might want to end up calling vkGetPhysicalDeviceSurfaceSupportKHR twice for Xcb and Xlib surfaces?   Not sure.  But it looks like it needs to be an Xcb surface the way things are set up now, instead of the Xlib surface that got left over from previous work.
I suppose there's also the possibility that the driver needs to be able to distinguish between Xcb and Xlib surfaces in this API and isn't doing so correctly for some reason.
The understanding here is not complete, but hopefully some of this helps.

Some more data points and ideas:

vulkaninfo runs fine on my NVIDIA driver, with the default config of XCB and XLIB support being enabled.  This implies that the NVIDIA driver is handling the call to vkGetPhysicalDeviceSurfaceSupportKHR correctly with the Xlib-based surface.  My machine is configured with only one physical device (no Intel driver).

This makes me feel pretty strongly that this is a driver problem, but still not totally proven.

It might be useful to be able to repro the problem by installing the Intel driver.  Need to verify what the reporter is reporting.
It might be useful to prepare a simple repro app, without needing vulkaninfo.  This app would just create an instance, create whatever is needed to create an Xlib surface, create the Xlib surface, and then loop through the physical devices, calling vkGetPhysicalDeviceSurfaceSupportKHR for each.  Should be about a page of code?

If the crash is still seen with such a simple program, then that points to a driver problem.
This app could be sent to the reporter to confirm that it reproduces the problem.
This app could be part of a bug report on the intel driver, if we think that is where the problem is.

If there is indeed a surface leak, the validation layers should have caught it.  I suggest running vulkaninfo with validation to see if there is a report of a surface not being freed.  If there is no such report, there could be something missing in validation and reported as an issue in that repo.

Should check to see if we test vulkaninfo with validation in CI.

The window\surface is fake, so I would assume that throws off the driver.

My bad. I think I am using a VkSurface of a destroyed window. I extended the lifetime of the surface but forgot the window. Should be straightforward to fix.

PS: Though technically the driver should return VK_ERROR_SURFACE_LOST_KHR, I think.

Can you please verify that #153 fixes this Issue?

After merging PR #153, this issue seems to be fixed internally.
@arunsivaramanneo, if you can confirm this, that would be great.
If there is no further comment by EOB Friday, I will consider this issue resolved.

Closing.  Feel free to reopen if the issue shows up again.

Fixed the bug, thank you ! (ArchLinux last mesa intel driver)
Now waiting for the next release and package update.

BTW I still think there's a faulty driver element to this. Even if we managed the platform window poorly, the driver should have returned VK_ERROR_SURFACE_LOST_KHR instead of crashing...


MINOR: Fix wrong debug log message

When a ProcessorStateManager is constructed a debug message is written to
the application logs that state the following:
"Created state store manager for task {} with the acquired state dir lock"
This is wrong because the the state store manager is created during
rebalancing but the the dir lock is acquired later on during execution
of runOnce().
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

ping @mjsax @bbejeck @vvcephei @ableegoldman @abbccdda @guozhangwang

Looking at this from a higher level, ProcessorStateManager is created at task creation during rebalancing on line StreamThread.java@288. The state dir lock is acquired in runOnce() on line StreamThread.java@863.

waiting for a green build to merge

Retest this, please

Retest this, please

Retest this, please

Java 8 and Java 11/2.12 passed
Java 11/2.13 failed with
kafka.admin.LeaderElectionCommandTest.testTopicPartition
kafka.api.ConsumerBounceTest.testRollingBrokerRestartsWithSmallerMaxGroupSizeConfigDisruptsBigGroup

retest this please

Retest this, please

retest this please

Java 11 / 2.13 passed. Other two runs passed in previous run. Merging.


New term: BCBio

Please could @drmarkreuter provide:

homepage
definition (i.e. purpose)
licence info

Apologies for a lack of official term suggestion guidelines - we're volunteer run, and have to budget our time!
Split from #10.

bcbio
https://github.com/bcbio/bcbio-nextgen
bcbio provides a shared community resource that handles the data processing component of sequencing analysis, providing researchers with more time to focus on the downstream biology.
The code is freely available under the MIT license.

Assigned http://www.ebi.ac.uk/swo/SWO_1100128