error: can't copy 'build/lib.linux-x86_64-3.9/torchrl/_torchrl.so': doesn't exist or not a regular file

When trying to install the package using "pip install -e ." or "python setup.py develop", I encounter this error.
OS: Ubuntu 22.04 LTS (x86_64)
Python version: 3.9.12

May because of missing cuda driver installation.

Did you perhaps install the cuda version of pytorch but don't have cuda device on your machine?
$ conda install pytorch torchvision torchaudio cpuonly -c pytorch

instead of
$ conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch

If uninstalling / reinstalling pytorch doesn't work, could you post the logs following this?
wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
python collect_env.py

Yeah, it works. I installed cudatoolkit even though I don't have Cuda on my machine. Thank you very much. But I think it would be nice to provide a 'cpu only' command for installation in the "stable" installation section of the readme.

Will do! Thanks for the suggestion !

Got the same error and this is the output collect_env.py
`Collecting environment information...
PyTorch version: 1.11.0
Is debug build: False
CUDA used to build PyTorch: 11.3
ROCM used to build PyTorch: N/A
OS: Ubuntu 18.04.5 LTS (x86_64)
GCC version: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Clang version: Could not collect
CMake version: version 3.22.1
Libc version: glibc-2.27
Python version: 3.9.12 (main, Jun  1 2022, 11:38:51)  [GCC 7.5.0] (64-bit runtime)
Python platform: Linux-4.15.0-177-generic-x86_64-with-glibc2.27
Is CUDA available: True
CUDA runtime version: 11.4.48
GPU models and configuration:
GPU 0: NVIDIA A100-PCIE-40GB
GPU 1: NVIDIA A100-PCIE-40GB
GPU 2: NVIDIA A100-PCIE-40GB
GPU 3: NVIDIA A100-PCIE-40GB
GPU 4: NVIDIA A100-PCIE-40GB
GPU 5: NVIDIA A100-PCIE-40GB
GPU 6: NVIDIA A100-PCIE-40GB
GPU 7: NVIDIA A100-PCIE-40GB
Nvidia driver version: 470.82.01
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.8.2.1
/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.2.1
/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.2.1
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.2.1
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.2.1
/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.2.1
/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.2.1
/usr/local/cuda-10.1/targets/x86_64-linux/lib/libcudnn.so.7
/usr/local/cuda-10.2/targets/x86_64-linux/lib/libcudnn.so.8.3.2
/usr/local/cuda-10.2/targets/x86_64-linux/lib/libcudnn_adv_infer.so.8.3.2
/usr/local/cuda-10.2/targets/x86_64-linux/lib/libcudnn_adv_train.so.8.3.2
/usr/local/cuda-10.2/targets/x86_64-linux/lib/libcudnn_cnn_infer.so.8.3.2
/usr/local/cuda-10.2/targets/x86_64-linux/lib/libcudnn_cnn_train.so.8.3.2
/usr/local/cuda-10.2/targets/x86_64-linux/lib/libcudnn_ops_infer.so.8.3.2
/usr/local/cuda-10.2/targets/x86_64-linux/lib/libcudnn_ops_train.so.8.3.2
/usr/local/cuda-11.0/targets/x86_64-linux/lib/libcudnn.so.8.0.5
/usr/local/cuda-11.0/targets/x86_64-linux/lib/libcudnn_adv_infer.so.8.0.5
/usr/local/cuda-11.0/targets/x86_64-linux/lib/libcudnn_adv_train.so.8.0.5
/usr/local/cuda-11.0/targets/x86_64-linux/lib/libcudnn_cnn_infer.so.8.0.5
/usr/local/cuda-11.0/targets/x86_64-linux/lib/libcudnn_cnn_train.so.8.0.5
/usr/local/cuda-11.0/targets/x86_64-linux/lib/libcudnn_ops_infer.so.8.0.5
/usr/local/cuda-11.0/targets/x86_64-linux/lib/libcudnn_ops_train.so.8.0.5
/usr/local/cuda-11.3/targets/x86_64-linux/lib/libcudnn.so.8.2.1
/usr/local/cuda-11.3/targets/x86_64-linux/lib/libcudnn_adv_infer.so.8.2.1
/usr/local/cuda-11.3/targets/x86_64-linux/lib/libcudnn_adv_train.so.8.2.1
/usr/local/cuda-11.3/targets/x86_64-linux/lib/libcudnn_cnn_infer.so.8.2.1
/usr/local/cuda-11.3/targets/x86_64-linux/lib/libcudnn_cnn_train.so.8.2.1
/usr/local/cuda-11.3/targets/x86_64-linux/lib/libcudnn_ops_infer.so.8.2.1
/usr/local/cuda-11.3/targets/x86_64-linux/lib/libcudnn_ops_train.so.8.2.1
/usr/local/cuda-11.4/targets/x86_64-linux/lib/libcudnn.so.8.2.4
/usr/local/cuda-11.4/targets/x86_64-linux/lib/libcudnn_adv_infer.so.8.2.4
/usr/local/cuda-11.4/targets/x86_64-linux/lib/libcudnn_adv_train.so.8.2.4
/usr/local/cuda-11.4/targets/x86_64-linux/lib/libcudnn_cnn_infer.so.8.2.4
/usr/local/cuda-11.4/targets/x86_64-linux/lib/libcudnn_cnn_train.so.8.2.4
/usr/local/cuda-11.4/targets/x86_64-linux/lib/libcudnn_ops_infer.so.8.2.4
/usr/local/cuda-11.4/targets/x86_64-linux/lib/libcudnn_ops_train.so.8.2.4
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
Versions of relevant libraries:
[pip3] functorch==0.1.1
[pip3] numpy==1.22.3
[pip3] torch==1.11.0
[pip3] torchaudio==0.11.0
[pip3] torchvision==0.12.0
[conda] blas                      1.0                         mkl
[conda] cudatoolkit               11.3.1               h2bc3f7f_2
[conda] ffmpeg                    4.3                  hf484d3e_0    pytorch
[conda] functorch                 0.1.1                    pypi_0    pypi
[conda] mkl                       2021.4.0           h06a4308_640
[conda] mkl-service               2.4.0            py39h7f8727e_0
[conda] mkl_fft                   1.3.1            py39hd3c417c_0
[conda] mkl_random                1.2.2            py39h51133e4_0
[conda] numpy                     1.22.3           py39he7a7128_0
[conda] numpy-base                1.22.3           py39hf524024_0
[conda] pytorch                   1.11.0          py3.9_cuda11.3_cudnn8.2.0_0    pytorch
[conda] pytorch-mutex             1.0                        cuda    pytorch
[conda] torchaudio                0.11.0               py39_cu113    pytorch
[conda] torchvision               0.12.0               py39_cu113    pytorch`

@Andrewzh112 if you're on a cluster with cudnn, can you check if you have loaded that module?

@Andrewzh112 if you're on a cluster with cudnn, can you check if you have loaded that module (as well as cuda)? Most of the time you can do that via module avail and module load cuda/xyz && module load cudnn/xyz

What if I don't have access to module or sudo to install module? Are there alternatives to check?

Unfortunately AFAICT no, cudnn needs to be installed with cuda.
Can you post the error message when calling python setup.py develop?

Unfortunately AFAICT no, cudnn needs to be installed with cuda.
Can you post the error message when calling python setup.py develop?

Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
Change Dir: /data/lyh/reward_machines/rl/build/temp.linux-x86_64-3.8/CMakeFiles/CMakeTmp

Run Build Command(s):/data/lyh/anaconda3/envs/rl/bin/ninja cmTC_3ce42 && [1/2] Building C object CMakeFiles/cmTC_3ce42.dir/src.c.o
[2/2] Linking C executable cmTC_3ce42
FAILED: cmTC_3ce42
: && /usr/bin/cc   CMakeFiles/cmTC_3ce42.dir/src.c.o -o cmTC_3ce42   && :
CMakeFiles/cmTC_3ce42.dir/src.c.o: In function `main':
src.c:(.text+0x3e): undefined reference to `pthread_create'
src.c:(.text+0x4a): undefined reference to `pthread_detach'
src.c:(.text+0x56): undefined reference to `pthread_cancel'
src.c:(.text+0x67): undefined reference to `pthread_join'
src.c:(.text+0x7b): undefined reference to `pthread_atfork'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

Source file was:
#include <pthread.h>

static void* test_func(void* data)
{
  return data;
}

int main(void)
{
  pthread_t thread;
  pthread_create(&thread, NULL, test_func, NULL);
  pthread_detach(thread);
  pthread_cancel(thread);
  pthread_join(thread, NULL);
  pthread_atfork(NULL, NULL, NULL);
  pthread_exit(NULL);

  return 0;
}

Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /data/lyh/reward_machines/rl/build/temp.linux-x86_64-3.8/CMakeFiles/CMakeTmp

Run Build Command(s):/data/lyh/anaconda3/envs/rl/bin/ninja cmTC_5ce26 && [1/2] Building C object CMakeFiles/cmTC_5ce26.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_5ce26
FAILED: cmTC_5ce26
: && /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create  CMakeFiles/cmTC_5ce26.dir/CheckFunctionExists.c.o -o cmTC_5ce26  -lpthreads && :
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

here you go

I tried to google that and here's an SO issue related to this
Here are the related conda packages to install
conda install -c statiskit libboost-dev
conda install -c anaconda libboost
conda install -c conda-forge magics

Let me know if that helps!

I tried to google that and here's an SO issue related to this
Here are the related conda packages to install
conda install -c statiskit libboost-dev
conda install -c anaconda libboost
conda install -c conda-forge magics

Let me know if that helps!

unfortunately, still getting the same errors, even tried a new machine, followed the instructions in readme still getting this

We're not using cmake anymore, wanna try installing the lib now?

We're not using cmake anymore, wanna try installing the lib now?

works perfectly now, thanks!


travis yml added

I don't have admin rights to enable repo on travis

I enabled it on Travis. Close the PR (after you address my sqlite comment) and confirm that it runs.


Potential CSS issue with KPI card and AGGrid

Which package?
vizro
Package version
latest
Description

Having a KPI card above the AgGrid seems to be a problem.
How to Reproduce
.
Output
No response
Code of Conduct

[X] I agree to follow the Code of Conduct.

@nadijagraca Could you maybe investigate if you find the time? 🙏

Has this been solved already? @nadijagraca

This doesn't seem to be an issue anymore: https://py.cafe/app/huong-li-nguyen/CSS bug
@maxschulz-COL - do you have the configuration for the above bug? I can double-check with that configuration as well, but  from the pyCafe example it seems fine.


HTML form handling

Perhaps the API should support parsing forms for easy submitting. A lot like how robobrowser handles forms, letting you set form values and then submit the result to get the next page.

That would be a good feature.

out of scope :)

i think mechanical soup is a good option for that though

https://github.com/MechanicalSoup/MechanicalSoup


Add ndeval and related qrels for web track 2013-2014

ndeval is another evaluation metric for web track 13-14 and we should include it.

I don't think we want to check in the binaries? eval/ndeval/ndeval
Can we add to the README the original source of the program - also for trec_eval.


168 assetspage

Dev Summary

Mocks

Test Plan

repro steps:

localhost:3000
click X button
expected:

Resources

stackoverflow is cool

@esteban-gs or @jd2rogers2 please review the package-lock.json I'm not sure how to resolve this safely so I'd rather revert to your guidance on this. This issue should be completed unless I'm missing minor details with regard to translating Figma to code


Docs: Update nav titles, add a Reference node, move reference topics

@Jibz1 Anything else I need to change here before we can merge this?

reviewing

@randall-Mysten the footer menu is still missing


fix use_state setter causing a rerender

Description
Add check if value change in use_state setter
I will probably add tests once i know that #2104 is not going to be closed/denied
Fixes #2104
Checklist

[x] I have run cargo make pr-flow
[x] I have reviewed my own code
[ ] I have added tests

Closing as a clear solution still isint desided in #2104


Calculate number of voters

When a poll-manager starts a poll, the number of vote_count appears, for example 0 / 100
The second nummer (I call it max_vote_count) does not consider not present users.
For example:

Create a new meeting
Create two users in this meeting in the group "delegates"
Make sure only one of the users is present
Create a new motion in the meeting
Create a nominal or non-nomal poll with the group "delegates".
Click on "start voting"

You see the value 0 / 2
I would expect 0 / 1

confirmed with current master


Added package mofuw

Please fix the directory structure and I will merge:

hi, fixed directory structure.
Please confirm

Brilliant, thanks! Hope we can get to the top of techempower :D Nice to see more web frameworks, the more the merrier.


Why include a header file from the src directory in the header file which exposed to the outside in the include directory?

If I compile this repository into a library and provide it for my program to use (not compiling together with the complete source code), will your code be able to pass compilation?
The header file under the exposed Include directory refers to a header file that cannot be found after the compilation into the library.
https://github.com/volcengine/ve-tos-cpp-sdk/blob/12a0a00910fc9599b96a88fd1aa2b3975f1e5c2b/sdk/include/model/acl/DeleteBucketCORSOutput.h#L3

This is a problem caused by an incorrect script, which has been fixed in version 2.5.5


build: fix unpinned images

Description
What this PR does / why we need it:

Added digest for unpinned images.
Added dependabot check for Dockerfile to upgrade images weekly.

I'm not sure if I should ignore golang version as we manually maintain and upgrade it though we can use @dependabot ignore command in the future.
I tested on my forked repo which will resolved related security issues.
And for issues like https://github.com/deislabs/ratify/security/code-scanning/60, since go install command only works with path@version, I feel we can just dismiss the alert.
Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Helm Chart Change (any edit/addition/update that is necessary for changes merged to the main branch)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Checklist:

[ ] Does the affected code have corresponding tests?
[ ] Are the changes documented, not just with inline documentation, but also with conceptual documentation such as an overview of a new feature, or task-based documentation like a tutorial? Consider if this change should be announced on your project blog.
[ ] Does this introduce breaking changes that would require an announcement or bumping the major version?
[ ] Do all new files have appropriate license header?

Post Merge Requirements

[ ] MAINTAINERS: manually trigger the "Publish Package" workflow after merging any PR that indicates Helm Chart Change

Just want to make sure: will dependabot update the hashes automatically moving forward?

Just want to make sure: will dependabot update the hashes automatically moving forward?

I tested in my forked repo, dependabot will create pr for bumping up image versions like: https://github.com/binbin-li/ratify/pull/137
I also ignored golang packages since we manually upgrade it.

Just want to make sure: will dependabot update the hashes automatically moving forward?

I tested in my forked repo, dependabot will create pr for bumping up image versions like: binbin-li#137
I also ignored golang packages since we manually upgrade it.

Added ignored version for golang package so that it can trigger upgrade for patch release.

Just want to make sure: will dependabot update the hashes automatically moving forward?

I tested in my forked repo, dependabot will create pr for bumping up image versions like: binbin-li#137
I also ignored golang packages since we manually upgrade it.

Added ignored version for golang package so that it can trigger upgrade for patch release.

If I'm understanding correctly, we want to ignore > 1.21 because we don't want the version of go used for building to be updated when a new version of go comes out (like 1.22). Instead, we manually upgrade the go version.
Could you clarify "so that it can trigger upgrade for patch release"?

Just want to make sure: will dependabot update the hashes automatically moving forward?

I tested in my forked repo, dependabot will create pr for bumping up image versions like: binbin-li#137
I also ignored golang packages since we manually upgrade it.

Added ignored version for golang package so that it can trigger upgrade for patch release.

@binbin-li If I'm understanding correctly, we want to ignore > 1.21 because we don't want the version of go used for building to be updated when a new version of go comes out (like 1.22). Instead, we manually upgrade the go version.
Could you clarify "so that it can trigger upgrade for patch release"?

You're correct. We wanna ignore minor version upgrade but keep patch one. So if there is 1.21.10 coming out, it will auto update it but ignore 1.22. Once we bump up to 1.22, we'll make it ignore >1.22.


Can we add a boot animation?

So if you use Linux you know that whenever you boot into the OS that you use you may see a bunch of text on the screen that looks like this:

Is it possible to do something like that but every time you go onto the website it does a fake boot/loading screen that looks like that? I will try adding some cookies too so the users won't get it all the time because it gets annoying.
 You don't need animation for this. Unless you want animation of progress bars like with apt install on ubuntu.
This can be coded like this:
const sequence = ['Line One', 'Line Two']; // put all lines here.

var term = $('body').terminal({}, {
    onInit() {
        const term = this;
        if (!localStorage.getItem('visited')) {
            term.pause(true);
            (function loop() {
                term.echo(sequence.shift());
                if (sequence.length) {
                    setTimeout(loop, 500);
                } else {
                    localStorage.setItem('visited', 'true');
                    term.resume();
                }
            })();
        }
    }
});

You only need to provide the strings that will be printed.

oh didn't think of it like that thanks!

Sorry to carry this on but I have a slight issue, I've added that code to mine but it's not running, no errors, just not working. Here are some screenshots:

And the cookie its even set:

Thanks

The reason the cookie is not being set is because @jcubic's code uses localStorage and not cookies.

Ah i see, unfortunately its still not there

Could running this locally cause this, just wanna make sure

Usually, file:/// urls don't get special privileges so that may be your problem.
FYI, the code up on https://s1700.github.io/ is is not the code in your comment. Might want to push those changes so they are live.

alr ill push now gimme a sec

okay, I've pushed and all live. What do you mean by file://

should i just try using cookies?

No, localStorage actually works better because it has a simple API whereas with cookies you have to parse the document.cookie string yourself.
file:// urls are what you get if you right click the .html file and select "open in <your web browser>". They have lowered privileges than even http:// (non-secure) URLS because lots of phishing emails try to trick you into opening a .html file.
Anyway, your changes are live, and they don't work for some reason. All I can think of is you have a greetings and an onInit. @jcubic can you confirm if greetings overrides onInit?

You have an error in your code. This is not what my code looks like you have command onInit, instead of option onInit.

ahhh okay ill try that thanks

Works, thanks so much. I'll also try implementing random delay time to make it feel more real
Thanks

You have setTimeout you can use a random (Math.random return numbers if 0-1) value instead of one second 1000. See: Generate random number between two numbers in JavaScript.


Create Batch-Parameter-versioning.md

This documents elaborates on how the customers could use versioning of parameters to avoid a common pattern of issue "an error occurred while unpacking parameters for batch job XXXXX"

Content already published from private repo.


Fix re name

Type of Change
revise the name and the code structure for NeuralChat plugins

Please fix the format issues. @XuhuiRen


fix and merge windows build branch

https://github.com/shogun-toolbox/shogun/tree/feature/windows
Only few things left to do

done in 8fdf278dca78f98d4e06058a5ce3defd560d697d \o/


[0.26.0 dev Windows 10 exe] font function crashes program when given nil value

Hello! On the standalone Windows version of TIC-80, when you call font() with a value that is nil it crashes the program.
This happens whether it is directly -- font(nil) -- or with a variable that has not been defined such as font(foo) right at the beginning of the script.
The HTML5 version seems to ignore it completely.

fixed here #163


Update adium-beta to <IP_ADDRESS>b1

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Thank you for all the due diligence, @gobinathm.


"Save as Image" not working on Firefox

When the service is showing the result image, its possible in Chrome to right-click and "save as image". On Firefox this is not working - it sees that FF tries to redo the request - but because the service is stateless this fails and the content of the "saved image" is just a text error message.
Solution: The next GUI to the ccstamper service should display the result image as part of a HTML site and offer an explicit "download" option. The HTML page can keep the state (image data) and then request the picture again for download.

With new Version the Files can now be downloaded.


Deploy Checklist: New Expensify 2023-06-26

Release Version: 1.3.33-4
Compare Changes: https://github.com/Expensify/App/compare/production...staging
This release contains changes from the following pull requests:

[x] https://github.com/Expensify/App/pull/20574
[x] https://github.com/Expensify/App/pull/21131
[x] https://github.com/Expensify/App/pull/21227
[x] https://github.com/Expensify/App/pull/21236
[x] https://github.com/Expensify/App/pull/21281
[x] https://github.com/Expensify/App/pull/21289
[x] https://github.com/Expensify/App/pull/21333
[x] https://github.com/Expensify/App/pull/21357
[x] https://github.com/Expensify/App/pull/21367
[x] https://github.com/Expensify/App/pull/21373
[x] https://github.com/Expensify/App/pull/21374
[x] https://github.com/Expensify/App/pull/21395
[x] https://github.com/Expensify/App/pull/21420
[x] https://github.com/Expensify/App/pull/21422
[x] https://github.com/Expensify/App/pull/21436
[x] https://github.com/Expensify/App/pull/21457
[x] https://github.com/Expensify/App/pull/21509
[x] https://github.com/Expensify/App/pull/21590
[x] https://github.com/Expensify/App/pull/21595
[x] https://github.com/Expensify/App/pull/21649

Deployer verifications:

[x] I checked the App Timing Dashboard and verified this release does not cause a noticeable performance regression.
[x] I checked Firebase Crashlytics and verified that this release does not introduce any new crashes. More detailed instructions on this verification can be found here.
[x] I checked GitHub Status and verified there is no reported incident with Actions.

cc @Expensify/applauseleads

:rocket: All staging deploys are complete, @Expensify/applauseleads please begin QA on version https://github.com/Expensify/App/releases/tag/1.3.33-2 :rocket:

Regression is in progress. 30% to go
No blockers so far.
#21131 failing https://github.com/Expensify/App/issues/21692. Issue is closed, so checking off
PRs pending validation on all platforms:
https://github.com/Expensify/App/pull/21333
https://github.com/Expensify/App/pull/21357

@thienlnam
Regression is completed
PR#21333 is failing with KI https://github.com/Expensify/App/issues/20904. repro in prod

:shipit:


Get selenium tests working with Tor Browser

Works if I pre-start Tor Browser to allow the tor-launcher to run. Would be good to automate this part.

I added a "preload" thing to browserprivacy.config that lets you start up the browser beforehand. Slightly awkward but seems OK. ba75a976312f3430de8ab3e64272b70f22554e2f


windows 8.1 rdp error 'Your credentials did not work'

So rdp is listening and everything
tho when I try to connect to pc
it gives me the error 'Your credentials did not work'
Can someone help me with the fix for this
Thanks

Closing as inactive.


Why does training not stop after max_duration steps?

❓ The question
I'm not sure if this is intended behavior or a bug, but currently if max_duration is set to a number of steps that is smaller than the entire dataset, then training will not stop after max_duration steps. Is this the intended behavior?
I see that this can be resolved by also setting stop_at in addition to max_duration, but this seems to be more confusing than necessary.

Hey @davidbrandfonbrener, thanks for bringing that up, it's definitely confusing and I would consider it a bug. At the moment max_duration is only used to set the learning schedule. We'll fix this at some point, or at least clarify in the documentation, but you're right that stop_at is the correct field to use if you want a hard stop in training.

I apologize for our delay in response. In order to help surface current, unresolved issues, we are closing tickets prior to February 29.
Please reopen your ticket if you are continuing to experience this issue.
Please note that there is another recent bug for the wait max_duration and stopping condition works (#554).
Thank you!


Modified Sniffles to create background traffic with the args of optio…

…n B given protocol distribution

Modified the sniffles option B to generate the background traffic with given percentage of application protocol
When generating background traffic, reported application protocol name in result.txt file.
Modifications are minimized and existing functionality is not affected.

ex) sniffles -B "100, 20, 30, 20, 10, 20" -c 100
background traffic : 100% of 100 streams
http : 20% of background traffic
ftp : 30% of background traffic
pop : 20% of background traffic
smtp : 10% of background traffic
imap : 20% of background traffic

I made a mistake. Sorry. I will try again.


ipyvuetify doesn't serve jupyter-vue.js when deployed on Jupyter/voila

I am using Jupyter and voila to serve notebook as dashboard. I am using ipyvuetify as the UI widget framework. ipyvuetify fetches some static files such as jupyter-vue.js from the internet This doesn't work with some of our users who have restricted Internet access. How can I ensure the static files are served from the App Server itself.
Thanks

Running Voila with --enable_nbextensions=True will use the local extension files, see: https://voila.readthedocs.io/en/stable/using.html#using-third-party-widgets-with-voila


Defect: The background graphics/images near footer are missing

Steps:

Navigate to https://main--vg-partsasist--hlxsites.hlx.live/
Validate the spacing among the alternating cards

Expected :

Actual:
The background graphics/images near footer are missing

Validated on Live URL and able to see correct images set however, on partsassist.com unable to see the images.
@andreibalanescu , @synox : Please check it for partsassist.com as unable to see images so, is authoring done / any other issue ?

I flushed the cache and now it looks good. I opened another bug about why the cache is not automatically flushed: https://github.com/hlxsites/vg-partsasist/issues/84

Validated on partsassist.com and now able to see footer graphics so agree to defect closure:


Chart rendering breaks in Firefox

Chart rendering breaks in some cases due to specific firefox bug when title is hidden or non-attached to DOM.
PR for fix here: https://github.com/masayuki0812/c3/pull/1285
@masayuki0812

If #1285 is closed, maybe this issue should be too?


Configuration option to move breadcrumbs to bottom of editor

Add a configuration option to allow the breadcrumbs to be shown at the bottom of the editor, instead of the top, maybe below the horizontal scrollbar.

duplicate of #55892


Problem with m1 Mac

I tried to compile ros2 on apple silicon Mac, and get several errors with mimics.
--- stderr: mimick_vendor
Cloning into 'mimick-ext'...
Note: switching to '99a35f3d2067708931945c64ac9caee80a0ef50e'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 99a35f3 Update cmake minimum version to 2.8.12 (#15)
Undefined symbols for architecture arm64:
"_mmk_trampoline", referenced from:
_create_trampoline in libmimick.a(trampoline.c.o)
"_mmk_trampoline_end", referenced from:
_create_trampoline in libmimick.a(trampoline.c.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[5]: *** [sample/strdup/strdup_test] Error 1
make[4]: *** [sample/strdup/CMakeFiles/strdup_test.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [mimick-ext-prefix/src/mimick-ext-stamp/mimick-ext-build] Error 2
make[1]: *** [CMakeFiles/mimick-ext.dir/all] Error 2
make: *** [all] Error 2
make: INTERNAL: Exiting with 9 jobserver tokens available; should be 8!
Failed   <<< mimick_vendor [6.73s, exited with code 2]
Aborted  <<< console_bridge_vendor [2.48s]
Aborted  <<< qt_gui [1.40s]
Aborted  <<< resource_retriever [2.64s]
Aborted  <<< rosidl_runtime_cpp [5.30s]
Aborted  <<< zstd_vendor [41.8s]
Aborted  <<< foonathan_memory_vendor [48.2s]
Aborted  <<< rviz_ogre_vendor [50.5s]
Summary: 103 packages finished [1min 1s]
1 package failed: mimick_vendor
7 packages aborted: console_bridge_vendor foonathan_memory_vendor qt_gui resource_retriever rosidl_runtime_cpp rviz_ogre_vendor zstd_vendor
15 packages had stderr output: ament_index_cpp fastcdr foonathan_memory_vendor mimick_vendor orocos_kdl resource_retriever rosidl_runtime_cpp rosidl_typesupport_interface rviz_ogre_vendor shared_queues_vendor test_osrf_testing_tools_cpp tlsf uncrustify_vendor yaml_cpp_vendor zstd_vendor
198 packages not processed
I think issue in the mimick_vendor/mimick-ext-prefix/src/mimick-ext/src/asm/trampoline-aarch64.S

Same issue here, in libmimick.a there is a trampoline-aarch64.S.o object, however the code calls
  "_mmk_trampoline", referenced from:       _create_trampoline in libmimick.a(trampoline.c.o)   "_mmk_trampoline_end", referenced from:       _create_trampoline in libmimick.a(trampoline.c.o)
from trampoline.c.o instead of the the correct aarch64 one? Not sure how to fix this though, I don't know enough about assembly, but I'm not sure whether this is an assembly issue or not. To me it looks like a static reference somewhere, most likely due to the new architecture on mac.
Another thing I noticed is that
Undefined symbols for architecture arm64:
Says arm64, while the architecture is usually identified by aarch64. Not sure if this is correct behaviour and just a way for the linker to reference to the architecture internally. It's a linker issue for sure, regardless of the exact cause.

Nevermind, this issue is not related to mimick as downloading the sources directly from github and just compiling mimick (using the supplied cmake configuration) on an m1 mac works just fine. It must be a configuration error within the build process for ros2, or software using mimick as a dependency.

Hey, @YVbakker . Check this commit, please. Hope it helps.

Hey, @YVbakker . Check this commit, please. Hope it helps.

Thanks @homalozoa - which commit?

Sorry for missed copied message… here is the link : https://github.com/ros2/mimick_vendor/commit/8c738197e8d3511dd4344eb871e5c48392b7c673 @YVbakker


Example in Documentation doesn't work as mentioned

The following example code in the https://frontside.com/effection/docs/errors,
import { main, suspend } from 'effection';
import { tickingBomb } from './ticking-bomb';

await main(function*() {
  yield* spawn(tickingBomb);
  try {
    yield* suspend(); // sleep forever
  } catch(err) {
    console.log("it blew up:", err.message);
  }
});

You might be surprised that we do not enter the catch handler here. Instead, our entire main task just fails...

Running the program I saw the output: it blew up: boom

That is the expected behavior. To catch errors in concurrent processes you must establish an error boundary first.


add @assert/validate for standard Data Values files

interesting points of conversation:

Errors can get long and repetitive if the user has an assert.fail
starlark thread for running the starlark functions that are assertions:
should we make a new thread?

if yes, what should the name be, and should there be any imports/packages included?
if no, which thread should be included otherwise?

if an assertion returns a falsy value (0, "", [], None) we should fail?

Linter seems to be failing due to a const variable not being commented... this is not consistent with when I've added new const vars in the past. Not sure what is going on here. Otherwise, this PR is ready for review. @jtigger

Linter seems to be failing due to a const variable not being commented... this is not consistent with when I've added new const vars in the past. Not sure what is going on here. Otherwise, this PR is ready for review. @jtigger

It's my recollection that all exported identifiers (functions, types, variables ... including constants) "ought" to have GoDoc.  In a case like this, this string's role may seem blatantly obvious, but I think that just means such documentation is for the very uninitiated.
🤷🏻


CFGOVPage.url always returns relative URLs

This commit overrides the standard Page.url behavior for the CFGOVPage class so that it always returns a relative URL. This is to enforce use of relative URLs in links when running Wagtail in a multi-Site setup that shares a site root.
See comment in v1.models.base.CFGOVPage.url for more details.
Additions

Method CFGOVPage.url overrides standard Page.url method to enforce relative URLs.

Testing

See new unit tests in v1.tests.models.test_base.TestCFGOVPagesAlwaysUseRelativeUrls.

Notes

This is a replacement for the custom link handler that was removed in #2872. In practice this is required because we'd like all of our pages to be linked internally with relative URLs, but default Wagtail behavior is to always use absolute URLs for setups with multiple Sites (which we still have). See some additional discussion at GHE#832.

Checklist

[X] PR has an informative and human-readable title
[X] Changes are limited to a single goal (no scope creep)
[X] Code can be automatically merged (no conflicts)
[X] Passes all existing automated tests
[X] New functions include new tests
[X] New functions are documented (with a description, list of inputs, and expected output)
[X] Reviewers requested with the Assignee tool :arrow_right:

Looking at this again I realize that this relies on the default PageLinkHandler calling page.specific.url instead of page.url, which it doesn't do until v1.10rc1 (this Wagtail PR).
@willbarton should we be optimistic that we'll upgrade soonish to Wagtail 1.10 and so move to this method of forcing relative URLs? Note that this change is marked as a "Bug fix" in the release notes and so perhaps that's an indication that this is a reasonable way to approach this.
If instead we revert back to something like what was removed in #2872, we'll have to remember to update our custom handler override from page.url to page.specific.url if/when we upgrade to 1.10.

@willbarton should we be optimistic that we'll upgrade soonish to Wagtail 1.10 and so move to this method of forcing relative URLs?

Are there any reasons why we wouldn't? Let's try to do the upgrade.

Do we have a sense of when 1.10 will go GM? We don't want to roll out an RC, do we?

@Scotchester here's the announcement of the RC release (warning: Google Groups link). This was from April 20th and suggested a release "in a week or two's time".

@chosak what is the practical effect as we wait for Wagtail 1.10?

@willbarton the situation in master right now, post merge of #2872, is that all links on the site to internal pages use absolute URLs. This doesn't break anything, but is perhaps suboptimal. Merging this PR in now won't do anything to change/fix that, until the site is also upgraded to 1.10.

@chosak Ok, that sounds alright for now, we just need to make sure our content folks are aware of that.

@Scotchester @willbarton please see #2875 for Wagtail 1.10 upgrade (pending release, as of now it's still RC).

Closing this PR in favor of the approach implemented in #2904. See discussion over there for comparison of the two approaches.


wrong behavior when swipe very fast

when I click the swipe button very fast in the example there is occasionally a card fly over the screen.

Can confirm that on an iPhone 6 with iOS 8.1.3. Although it happened to me very rarely. The swipeable view will spin around and stop near the center instead going off the screen.

+1 here, rapid swiping may do nasty things (random card slowly floating across view after cards are depleted may be among them)

Thanks for feedback! This problem has been solved in the swift version.

And the obj-c version?


Ogs 407 create carrier order fix readiness check

Ogs 407 create carrier order fix readiness check

(Assuming wrong base repo and closing)


Update documentation

Remove (or move) "Running the Tests" section in README to another file.
Move the History section in README to another file, perhaps CHANGELOG.
Add URL namespacing to index.md.

Perhaps rearrange documentation to follow patterns seen in pinax-announcements: https://github.com/pinax/pinax-announcements/tree/master/docs.

addressed in update to Django 2.0


Cmake mod

I just made some minor cleanups as per https://github.com/ocornut/imgui/pull/3027#issuecomment-628964575.

Thanks for doing this. Quick question before I merge (see above).


Make zoom level persistent on Desktop

Change
Zoom on Desktop always starts with 1.0 -- this PR makes the setting persistent, matching the web behavior.
?

Do I need to sync DESKTOP_WINDOW_ZOOM to lbry-redux if this is Desktop-only?

I think that's ok. lbry-redux will most likely be merged into the lbry-desktop repo.

I think that's ok. lbry-redux will most likely be merged into the lbry-desktop repo.


Remove java.version since it's defined in common

@ewencp good point, I'll update common to have that!


修匯入試驗名

Coverage decreased (-21.7%) to 58.203% when pulling e8d3d8a536536a47b4970909ba36aeb741c12784 on 修匯入試驗名 into 8186e523dd58ec9a4b1969f3f1003f81fc5a25fc on master.

Coverage decreased (-21.7%) to 58.203% when pulling e8d3d8a536536a47b4970909ba36aeb741c12784 on 修匯入試驗名 into 8186e523dd58ec9a4b1969f3f1003f81fc5a25fc on master.

Coverage decreased (-21.7%) to 58.203% when pulling e8d3d8a536536a47b4970909ba36aeb741c12784 on 修匯入試驗名 into 8186e523dd58ec9a4b1969f3f1003f81fc5a25fc on master.


Option to use arrays in equations

Hi,
Thanks for sharing all your code! I was interested in using some of your functions, but I found you do not have everything set up do be able to work with arrays. For example, you cannot do:
fluids.friction.Haaland(np.array([1e5, 2e5, 3e5]), 0.0001/0.01)
because Haaland uses log10 from math instead of numpy. Is there a reason you chose to use math instead of numpy?
Miles

Hello Miles,
I chose not to build each function around numpy for performance reasons and to simplify the code. Haaland and many other functions are straightforward, but others use if statements, loops, and all sorts of stuff that would be painful to support the many different broadcasting rule cases. The following snippet shows the difference in speed:
from math import *
def Haaland(Re, eD):
    ff = (-3.6*log10(6.9/Re +(eD/3.7)**1.11))**-2
    return 4*ff

%timeit [Haaland(x, 0.0001/0.01) for x in [1e5, 2e5, 3e5]]

100000 loops, best of 3: 2.39 µs per loop
from numpy import log10
import numpy as np
def Haaland2(Re, eD):
    ff = (-3.6*log10(6.9/Re +(eD/3.7)**1.11))**-2
    return 4*ff

%timeit Haaland2(np.array([1e5, 2e5, 3e5]),0.0001/0.01)

100000 loops, best of 3: 12.8 µs per loop
Furthermore, pure python can be accelerated by pypy and is more often portable to other Python implementations, even if the library as a whole is not.
However, I am a pragmatist and supporting numpy arrays is something I would like fluids to be able to do. I realize few Python users develop applications where performance ends up being concern. I spend quite some time trying to develop an alternative math library I called anymath which could support numpy, sympy, mpmath, pint, and uncertainties. It had a little overhead, but the larger issue was that it made my code really ugly and not all math libraries supported all features; I've abandoned it for now.
I have therefore provided a new module, fluids.vectorized, which exports all of the functions in fluids after wrapping them in np.vectorize. It is available in pypi now. I hope you find it useful and can understand the design decision. The documentation is available here. Please feel free to report further issues.

Hi Caleb,
Thanks for the response. I do care about speed, but I am not sure if the above code is fair when looking at larger arrays. If you look at arrays of length 10+, there seems to be a crossover where numpy becomes faster. Maybe I am missing something? See this code for a length of 20:
%timeit [Haaland(x, 0.0001/0.01) for x in [1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5]]
%timeit Haaland2(np.array([1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5, 1e5]) ,0.0001/0.01)

100000 loops, best of 3: 18.9 µs per loop
100000 loops, best of 3: 12.2 µs per loop
Thanks for pointing me to fluids.vectorized, but I tried using:
import fluids.vectorized # Necessary from fluids.vectorized import * # May be used without first importing fluids
and got the following error:
Traceback (most recent call last):
File "C:\Users\miles\Anaconda2\lib\site-packages\IPython\core\interactiveshell.py", line 2881, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
from fluids.vectorized import *
File "C:\Program Files (x86)\JetBrains\PyCharm Community Edition 2016.3.2\helpers\pydev_pydev_bundle\pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
ImportError: No module named vectorized
Any ideas what the issue might be? Thanks again for the help!
Miles

Hello Miles,
Have you upgrade fluids to 0.1.61? What is the output from the following: "fluids.version"? You may need to close and restart pycharm? If you have upgraded and it still does not work that's definitely a problem. I added unit testing for fluids.vectorized and the tests passed and are run on Windows, Linux, and OSX through Travis CI and Appveyor.
I agree that numpy yields higher performance for large input sizes, even as small as 20. Normally it is nor parallel performance that's critical though - it's performance in series; for example, integrating pressure drop across the length of a pipe. The larger reason is that dealing with the complexity supporting numpy requires would be painful; porting something like this to work with all numpy's broadcasting would be a painful, and I'm not sure it would have any more performance than the naive version I've created in fluids.vectorized.
Sincerely,
Caleb

It looks like I had 0.1.60 from when I installed the ht package. I uninstalled it and re-installed fluids, and it works! Thanks for the help. I did check the Haaland from the vectorized package, and it is about 5X slower than Haaland2 above, but no worries. I can custom make functions when needed. This was a useful discussion.
Have you ever considered using a dynamically defined package? e.g.:
import numpy as np
import math
def Haaland(Re, eD, package=math):
ff = (-3.6package.log10(6.9/Re +(eD/3.7)1.11))-2
return 4ff
I sometimes find that useful. You can also do cool things like package=sympy for documentation (although it can get tricky when functions have different names in different packages, which is actually the case of log10, which is non-existent in sympy).
Miles


Uncaught TypeError: Cannot read property 'id' of undefined

HTML

Javascript config
$(function(){ //shorthand DOM ready
	$('.social-feed-container').socialfeed({
	    facebook:{
	        accounts: ['@MyPageName'],
	        limit:10,
	        access_token: 'MyAPP_ID|MyAPP_SECRET' // APP_ID|APP_SECRET
	    },
	    instagram:{
	        accounts: ['@MyPageName','#MyPageName'],
	        limit:10,
	        client_id: 'MyClient_ID'
	    },
	    length:400,
	    show_media:true,
	    template: '/wp-content/themes/..../js/social-feed-gh-pages/template.html',
	});
});

All the MyVar names above are actual real values, masking them on purpose. The wordpress theme URL to template.html is also masked.

I had the same issue.
That's because your faceook app is running a newer version of the graph API.
If I get it right, we need to specify which fields we want to retrieve since version 2.4.
Simply replace the line 303 in jquery.socialfeed.js with the following:
request_url = Feed.facebook.graph + 'v2.3/' + page + '/feed?fields=id,from,name,message,created_time,story,description,link,picture,object_id&' + limit + query_extention;

Also, replace the line 296 with the following:
request_url = Feed.facebook.graph + 'v2.3/' + userdata.id + '/posts?fields=id,from,name,message,created_time,story,description,link,picture,object_id' + limit + query_extention;

@Webarkitekt should we update the code according to what @etienne-martin suggested?

Meaning doing a rollback on an older graph api version ?

@pavelk2 @etienne-martin At least we could add an option to facebook parameters for the fb graph api version.


rename some more method names for monitor

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.Monitor


Sixel rendering is no longer working in latest version (1.7.3)

Describe the bug
In the latest version sixel (img2sixel) graphics rendering is no longer working. In the previous version, it was working fine.
To Reproduce
Locate a image file, .jpg etc
Use the command to render in terminal img2sixel file.jpg
No graphics is rendered
Expected behavior
To render the .jpg file in terminal
Environment:

OS: Ubuntu 22
Browser: Chrome

https://github.com/jerch/xterm-addon-image/issues/38

Eww, this should be fixed with v0.3.1 already, which ttyd uses. So it does not work?

Ok, I didn't know that -t enableSixel=true is required in this version. Until v1.7.2 this switch was not needed.
Now Sixel rendering works fine using this switch.
Thanks

Thanks, I've added a hint to the release note.


Support for attachments

It does not seem to be possible to send messages with attachments. It would be a nice added feature.

Hi, thanks for the suggestion! I've added attachment support to posting messages. Here is what the example in the slack docs looks like:
client.postChatMessage("#general", "Hello World", attachments = Seq(Attachment(pretext = Some("pre-hello"), text = Some("text-world"))))

It's in master now and it'll be available once I upload the 0.1.1 release.


⚠ Jenkins Plugins Artifactory has degraded performance

In beca0ce, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1269 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 6020d32 after 25 minutes.


Giphy selector in modal

Currently, selector is embedded in a draggable sheet which is fine for mobile.
When used on desktops, the draggable sheet is not the right UI support.
We should be able to decide to use it in a modal

Fixed with 43b77e6038d911b00d15e53ca025bc4b984a1911


png-img version up + travis config updated

fixes #123

Coverage remained the same at 61.71% when pulling c10421b35c7d16370eb7a42cd6d846100de57446 on feature/node0.12 into ce1ed38b5ceeff99959648e204e351a948c7df74 on master.

:ok:

Coverage remained the same at 61.78% when pulling 891d39b0c553afb73af75323c9c8b77122ca70c5 on feature/node0.12 into 502acb90db3ff12d489b130045891a77c08970fd on master.

Coverage remained the same at 61.78% when pulling 891d39b0c553afb73af75323c9c8b77122ca70c5 on feature/node0.12 into 502acb90db3ff12d489b130045891a77c08970fd on master.


skin folder not loading

I´ve downloaded your extension in the hope to see Magento with ngrok, anyway as without the extension the css or js are not being loaded, any clue why? cache has been empied and all classic magento routine done.

Hi to8gal,
Can you post the URL you get for the CSS or a JS file and the URL what you expect to see.
If you are using Apache I sometimes need to change the RewriteBase path in the .htaccess as ngrok resolves to to my Sites directory (e.g. localhost) so if for example if I have a site in a directory called "site1" I need to view I change the RewriteBase to "/site1" from "/".

Hello,
I made a rewrite for shop.site.local where site is the name of my domain, and I get it for css and js, but it should be the ngrok instead, so something like shop.site.local/skin/frontend/... instead of something.eu.ngrok.io/skin/frontend/...

Hi @to8gal,
I fixed it there for myself https://github.com/EObukhovsky/Ngrok/commit/0d07d8e423029a0a2d8ee3b8b921fdc9e246b375
it also fixes issue #2


Support OSX

birkhoff at Birkhoff-MBPR in ~/dev
$ go get -u github.com/dsnet/udptunnel
# github.com/dsnet/udptunnel
go/src/github.com/dsnet/udptunnel/tunnel.go:63: undefined: water.NewTUN

The issue is that I only developed this for Linux to suite my needs. It seems the API for water is slightly different on darwin. This block of code currently makes a lot of assumptions about Linux:
conf := water.Config{DeviceType: water.TUN}
conf.Name = t.tunDev
iface, err := water.New(conf)
if err != nil {
	t.log.Fatalf("error creating tun device: %v", err)
}
defer iface.Close()
if err := exec.Command("/sbin/ip", "link", "set", "dev", t.tunDev, "mtu", "1300").Run(); err != nil {
	t.log.Fatalf("ip link error: %v", err)
}
if err := exec.Command("/sbin/ip", "addr", "add", t.tunAddr+"/24", "dev", t.tunDev).Run(); err != nil {
	t.log.Fatalf("ip addr error: %v", err)
}
if err := exec.Command("/sbin/ip", "link", "set", "dev", t.tunDev, "up").Run(); err != nil {
	t.log.Fatalf("ip link error: %v", err)
}

You're welcome to make a pull request to switch all that over to darwin specific functionality.


Add script to compare web search results and remove tavily and google api keys from arguments

f I run compare_search_results.py I get Invalid value for '--source': <MarketSource.MANIFOLD: 'manifold'> is not one of 'manifold', 'polymarket'. Looks like an issue with typer and enum args. Fixed by changing class MarketSource(Enum): -> class MarketSource(str, Enum):

Sorry, yes, it was fixed in the second PR you saw; I didn't notice it would fail here, too. It will be okay if both are merged.


create an OS X launch agent

Camlistore should come with a "per-user agent".  (a user-specific daemon
managed by launchd)

See:

http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLaunchdJobs.html#//apple_ref/doc/uid/10000172i-SW7-BCIEDDBJ

Notably, we need to put some file in $HOME/Library/LaunchAgents (and creating that
directory if it doesn't exist).

So I can make a trivial launchagent to start camlistore:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>KeepAlive</key>
    <dict>
      <key>SuccessfulExit</key>
      <false/>
    </dict>
    <key>Label</key>
    <string>homebrew.mxcl.redis</string>
    <key>ProgramArguments</key>
    <array>
      <string>/usr/local/bin/camlistore</string>
      <string>-configfile</string>
      <string>/usr/local/etc/camlistore.conf</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    <key>WorkingDirectory</key>
    <string>/usr/local/var</string>
    <key>StandardErrorPath</key>
    <string>/usr/local/var/log/camlistore.log</string>
    <key>StandardOutPath</key>
    <string>/usr/local/var/log/camlistore.log</string>
  </dict>
</plist>

Probably also the same for cammount, is that a thing we want?

@willnorris this mentions just being a bit of readme advice, so maybe doc label?

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
	<dict>
		<key>Label</key>
		<string>perkeep</string>

		<key>ProgramArguments</key>
		<array>
			<string>/Users/username/go/bin/perkeepd</string>
		</array>

		<key>KeepAlive</key>
		<true/>

	</dict>
</plist>

launchctl load ~/Library/LaunchAgents/org.perkeep.plist


Add support for local system TimeZone

Determines the local systems TimeZone via the localzone function. Unfortunately code currently is not well tested due to OS specific code and a number of system calls or reading external files. We should be able to improve coverage when we can utilize some kind of method mocking.

@quinnj do you have an ideas for mocking methods in Julia? The Fixtures.jl package looks like it was attempting to do this but it doesn't work with 0.4 and hasn't been updated in 2 years. I've been playing around with adding this functionality to Julia.

Also, are you comfortable with the current decrease in coverage? I'll try to get the coverage improved in the future.

I have made a branch called "mocking" that uses a currently unpublished package called Mocking.jl which allows me to overwrite methods inside of the localzone function to have more complete test coverage. The coverage on this branch is 90.49% which shows this code works pretty well. I'm going to merge this PR without the additional testing for now as I think it is unwise to force people to use an unpublished package.

Mocking.jl has now been published so I've merged the additional tests in cbe9b7a


resizable and layoutable guis

Before this PR FluidWaveform and FluidPlotter can instantiate Views as "standalone" windows, or by directly placing them in an external window with parent and bounds and in none of these cases plots resize when their parent window is resized. This PR makes the "standalone" mode resizable, and introduces a third mode, which creates a view without parent nor bounds, so that it can be used with SC's Layout Management. This new mode is activated by setting the standalone argument to false.
There shouldn't be any breaking change, but GUIs have now three modes:

parent=nil, standalone=true (default): create a new (resizable) window
parent.notNil, bounds: a Rect: create a view and place it in parent at bounds
parent=nil, standalone = false: create a View without parent or Bounds

Example usage with Layout Management:
var win, fW, fpL, fpR;
win = Window("waveform and two plotters");
fW = FluidWaveform(...);
fpL = FluidPlotter(...);
fpR = FluidPlotter(...);
win.layout = VLayout(fW.parent, HLayout(fpL.win, fpR.win);
win.front;

TODO:
[] add Layout Management example?
Notes:

I've been replacing ^super.new.init(...args) with super.newCopyArgs(...args).init everywhere I could in these two files. It saves a lot of unnecessary code duplication, and some init functions were even removed altogether as they were only there to copy those args.
I tried to simplify some of the nested forking in FluidWaveform. Layers don't return anymore something that needs to by synced, as all asynchronous server operation and GUI drawing are now done in the same forkIfNeeded. If a Function needs to wait for the gui to be ready (such as refresh, which needs to wait for layers to refresh the view), it will run all layer.draw calls as part of its own thread (like processBlocking). Draw is called only internally (and I think it's meant to be private, right?). External functions will need to defer { fluidWaveform.refresh } , but not front, which forks automatically.
I perceive as an inconsistency the fact that FluidWaveform returns its parent with .win, while FluidPlotter does is with .parent. Is there any good reason they shouldn't both do it with the same method name (I prefer parent)?

Hi @elgiano,
Sorry, just seeing this now! (in the future, feel free to request or @ me) Thank you for this! I'm looking forward to checking it all out. The resizing is definitely something that these objects need. I'm heading off tomorrow for another trip of workshops, so it may be a couple weeks, but I assure you I'll get to it.

3. I perceive as an inconsistency the fact that FluidWaveform returns its parent with .win, while FluidPlotter does is with .parent. Is there any good reason they shouldn't both do it with the same method name (I prefer parent)?

There is no good reason, I also prefer parent! (and yet it was I who called it win...)
Cheers. T

Hi @tedmoore, thanks!!!
Glad you like the idea, I'm already using it and I find it kind of fundamental for my flow!
Now main branch was updated, and there are conflicts... you have workshops, I have a piece coming... so let's definitely take it easy, I'll solve the conflicts after the piece, in a couple of weeks, as I don't feel like updating flucoma right now :)
Looking forward for what's coming!

This looks great. I wish we had the composability of views in Max. I think that to complete the PR some additional documentation would be really good @elgiano. Then it would have my approval for sure. I think that we could also aim to merge this for the next major release!

Thanks @jamesb93 I'll do the docs in a couple of weeks!
I updated my local branch, I'll test it these days but it looks fine so far. Just one note for later:
FluidPlotter's mouseMoveAction gets the FluidPlotter as first argument, not the UserView. I totally support it (you can always get plotter.userView), but I haven't noticed it before and since it's written view everywhere, I'm not sure this is intended.

@tedmoore
Hey Ted! I've updated the help files and made some final changes. It's ready for review now, whenever you have the time!

Thanks @elgiano, I'll take a look this week!

Thanks @elgiano! I love this. Thanks for doing the implementing and thanks for your patience while we were busy for a couple weeks there.


Add To Combined Library

There are many libraries that provide functionality similar to this one.
Existing Libraries

firedux - supports v3.0.4
redux-react-firebase - Current defacto solution but owner is busy for a few months
refire - easily configurable firebase bindings
redux-firebase - best namespace
react-firebase - Similar to react-redux, good docs

Though it is nice to have different libraries with different implementations, some of the library authors were thinking of combining the best of all of them into one defacto solution. Would you be interested in joining the group of us creating this firebase-redux integration? Your solution is beautiful, and we would love your input with creating a combined library.
Here are the issues posted for the other libraries:
redux-firebase
redux-react-firebase
Thoughts?

Not sure if you are on the Firebase Slack, but there is a Redux channel there. Might be good to have discussion there so we don't have to leave an issue open on your repo.

@prescottprue Sure, I'd be interested in working together on a de facto solution. Time, not interest, would be the primary constraint in my involvement. Some of the other libraries seem to have some aspects of deeper React & ES6 integration, which I do like.
I'm not on the Firebase Slack, do I need an invite to join?

See https://github.com/colbyr/redux-firebase/issues/2.

See https://github.com/tiberiuc/redux-react-firebase/issues/23.


[BUG] Digital Twins:  Service is returning duplicate results when paging

Library name and version
Azure.DigitalTwins.Core 1.2.2
Describe the bug
When using the pageSizeHint parameter of Pageable<T>.AsPages if a value which is lower than the expected result set is used (essentially forcing a page) then duplicate records are returned. I'm not sure that this is specifically the .NET SDK though as I've tried this against the API directly and the same issue occurs.
Expected behavior
Regardless of the max-items-per-page value, the full set of results should be returned without duplicates
Actual behavior
In an example where 22 results are expected from the supplied query, setting the pageSizeHint or the max-items-per-page header to a value such as 10 or as low as 2 results in only a handful of twins being returned, but repeatedly. The actual number of records returned is still 22, but may consist of only 5 unique records instead of the 22 unique records expected.
Reproduction Steps
The following is a quick .NET 6 console app I wrote to reproduce the issue (settings need changing to actual values obviously).
using System.Text.Json;
using Azure.DigitalTwins.Core;
using Azure.Identity;

namespace DigitalTwinTest;

internal class Program
{
    private static void Main()
    {
        var twinUrl = "https://my-twin-instance.api.reg.digitaltwins.azure.net";
        var clientId = "abc-123";
        var clientSecret = "super-secret-value";
        var tenantId = "abc-123-def-456";

        var credential = new ClientSecretCredential(tenantId, clientId, clientSecret);
        var client = new DigitalTwinsClient(new Uri(twinUrl), credential);

        var query = @"SELECT level FROM digitaltwins company JOIN building RELATED company.owns JOIN level RELATED building.isPartOf WHERE company.$dtId IN ['Comp1', 'Comp2'] AND IS_OF_MODEL(level, 'dtmi:digitaltwins:rec_3_3:core:Level;1')";

        var results = client.Query<BasicDigitalTwin>(query);

        foreach (var page in results.AsPages(pageSizeHint: 5))
        {
            foreach (var twin in page.Values)
            {
                Console.WriteLine(((JsonElement)twin.Contents["level"]).GetProperty("$dtId").GetString());
            }
        }
    }
}

The same is also repeatable using the same steps but through a tool such as postman to play multiple requests using the continuation token.
Environment
DotNet Info
.NET SDK (reflecting any global.json):
Version:   6.0.301
Commit:    43f9b18481
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.22000
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\6.0.301\
Host (useful for support):
Version: 6.0.6
Commit:  7cca709db2
.NET SDKs installed:
3.1.420 [C:\Program Files\dotnet\sdk]
5.0.214 [C:\Program Files\dotnet\sdk]
5.0.400 [C:\Program Files\dotnet\sdk]
5.0.403 [C:\Program Files\dotnet\sdk]
5.0.408 [C:\Program Files\dotnet\sdk]
6.0.100 [C:\Program Files\dotnet\sdk]
6.0.101 [C:\Program Files\dotnet\sdk]
6.0.102 [C:\Program Files\dotnet\sdk]
6.0.106 [C:\Program Files\dotnet\sdk]
6.0.202 [C:\Program Files\dotnet\sdk]
6.0.203 [C:\Program Files\dotnet\sdk]
6.0.301 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 3.1.18 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.21 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.24 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.26 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.16 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.18 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.21 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.23 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.24 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.26 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.16 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.18 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 3.1.21 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 3.1.23 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 3.1.24 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 3.1.26 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.9 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.12 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.13 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.16 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.4 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
IDE Version
Visual Studio Code
Version: 1.68.1 (user setup)
Commit: 30d9c6cd9483b2cc586687151bcbcd635f373630
Date: 2022-06-14T12:48:58.283Z
Electron: 17.4.7
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22000
JetBrains Rider
Version: 2022.1.2
Build #RD-221.5787.36, built on June 1, 2022

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Storage:0.2889473,Extensions:0.07171848,Event Hubs:0.069156475'

I should also add. The reason for setting the max-items-per-page value so low was that I was testing that the continuationToken logic was working in an app I'm building. That's how I spotted the issue.

Can you please provide the data that you used to reproduce this issue?

    var query = @"SELECT level FROM digitaltwins company JOIN building RELATED company.owns JOIN level RELATED building.isPartOf WHERE company.$dtId IN ['Comp1', 'Comp2'] AND IS_OF_MODEL(level, 'dtmi:digitaltwins:rec_3_3:core:Level;1')";

What happens if instead you do SELECT level.$dtId, building.$dtId, company.$dtId FROM digitaltwins company JOIN building RELATED company.owns JOIN level RELATED building.isPartOf WHERE company.$dtId IN ['Comp1', 'Comp2'] AND IS_OF_MODEL(level, 'dtmi:digitaltwins:rec_3_3:core:Level;1')? Do you get a distinct set of tuples from that?

I've modified the query to the following (formatted to make it easier to read here)
SELECT
    company.$dtId AS cid
    , building.$dtId AS bid
    , level.$dtId AS lid
FROM
    digitaltwins company
    JOIN building RELATED company.owns
    JOIN level RELATED building.isPartOf
WHERE
    company.$dtId IN ['Comp1', 'Comp2']
    AND IS_OF_MODEL(level, 'dtmi:digitaltwins:rec_3_3:core:Level;1')

Running with and without paging results in 22 records returned. Running without setting the max-items-per-page value results in the following (company name and building name changed as this is customer data).
Comp1 : Block1 : Level6A
Comp1 : 111111-001 : 111111-001GF
Comp1 : 4-001 : 4-001-1F
Comp1 : 3-002 : 3-002-6F
Comp2 : Build1 : 00GroundFloor
Comp2 : Build1 : 01FirstFloor
Comp2 : Build1 : 01ExistingFirstFloor
Comp2 : Build1 : 02SecondFloor
Comp2 : Build1 : 02ExistingSecondFloor
Comp2 : Build1 : RFRoofLevel
Comp2 : Build1 : ExistingThirdFloorLevel
Comp2 : Build1 : RoofPlantParapetLevel
Comp2 : Build1 : FoundationLevel
Comp2 : Build1 : ExistingEavesLevel
Comp2 : Buyild2 : 01-FirstFloor
Comp2 : Buyild2 : 00-GroundFloor
Comp2 : Build5 : GroundFloorDub07
Comp2 : Build3 : 2-Level-00
Comp2 : Build3 : 2-Level-RF
Comp2 : Build3 : 2-Basement1
Comp2 : Build4 : 5-Level0
Comp2 : Build4 : 5-Level1

Running with a max-items-per-page value of 3 results in the following.
Comp2 : Build1 02ExistingSecondFloor
Comp2 : Build1 RFRoofLevel
Comp2 : Build1 ExistingThirdFloorLevel
Comp2 : Build5 : GroundFloorDub07
Comp2 : Build3 : 2-Level-RF
Comp2 : Build3 : 2-Basement1
Comp2 : Build3 : 2-Level-RF
Comp2 : Build3 : 2-Basement1
Comp2 : Build4 : 5-Level0
Comp2 : Build3 : 2-Basement1
Comp2 : Build4 : 5-Level0
Comp2 : Build4 : 5-Level1
Comp2 : Build3 : 2-Basement1
Comp2 : Build4 : 5-Level0
Comp2 : Build4 : 5-Level1
Comp2 : Build3 : 2-Basement1
Comp2 : Build4 : 5-Level0
Comp2 : Build4 : 5-Level1
Comp2 : Build3 : 2-Basement1
Comp2 : Build4 : 5-Level0
Comp2 : Build4 : 5-Level1
Comp2 : Build4 : 5-Level1

I'll try and come up with a data set that I can share

The updated code is as follows
using System.Text.Json;
using Azure.DigitalTwins.Core;
using Azure.Identity;

namespace DigitalTwinTest;

internal class Program
{
    private static void Main()
    {
        var twinUrl = "https://my-twin-instance.api.reg.digitaltwins.azure.net";
        var clientId = "abc-123";
        var clientSecret = "super-secret-value";
        var tenantId = "abc-123-def-456";

        var credential = new ClientSecretCredential(tenantId, clientId, clientSecret);
        var client = new DigitalTwinsClient(new Uri(twinUrl), credential);

        var query = @"SELECT company.$dtId AS cid, building.$dtId AS bid, level.$dtId AS lid FROM digitaltwins company JOIN building RELATED company.owns JOIN level RELATED building.isPartOf WHERE company.$dtId IN ['Comp1', 'Comp2'] AND IS_OF_MODEL(level, 'dtmi:digitaltwins:rec_3_3:core:Level;1')";

        var results = client.Query<BasicDigitalTwin>(query);

        foreach (var page in results.AsPages(pageSizeHint: 3))
        {
            foreach (var twin in page.Values)
            {
                var comp = twin.Contents["cid"].ToString();
                var build = twin.Contents["bid"].ToString();
                var level = twin.Contents["lid"].ToString();

                Console.WriteLine($"{comp} : {build} : {level}");
            }
        }
    }
}

@dazfuller - are you updating the graph between calls? Also - can you provide your ADT hostname, that may help us to diagnose this on the service side.

@dazfuller I can repro this - we are investigating on the service now. Thanks for reporting this.

Thanks. Let me know if you need anything to help

@dazfuller  - we have identified what we believe to be the root cause, and are working on mitigations at multiple places within our services. In the meantime, we believe this only impacts scenarios where max-page-size < 100.

Sorry for not closing the loop on this sooner. Our service backend has shipped a mitigation which should have addressed this. Can you confirm for your scenario?
Get Outlook for iOShttps://aka.ms/o0ukef

From: Darren Fuller @.>
Sent: Tuesday, September 6, 2022 8:44:27 AM
To: Azure/azure-sdk-for-net @.>
Cc: John Gallardo @.>; Assign @.>
Subject: Re: [Azure/azure-sdk-for-net] [BUG] Digital Twins: Service is returning duplicate results when paging (Issue #29551)
Is there any news on this at all?
—
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-sdk-for-net%2Fissues%2F29551%23issuecomment-1238328968&data=05|01||eb14aaa3fbf04381384b08da901eaea4|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637980758701727941|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=RB0EQSMRpEoJv%2BixSwFDFhtJrjpsIQzeJJ2uOKwTgkA%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAJ7ETXG33U54I5BKGKUOZDV45RFXANCNFSM52GMEY7Q&data=05|01||eb14aaa3fbf04381384b08da901eaea4|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637980758701727941|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=cWQgbyvbL%2Fh7hSWac1Xww50JuTokl5LyL7JJSv0Eo2k%3D&reserved=0.
You are receiving this because you were assigned.Message ID: @.***>

This should be addressed in the service now.

Just checked and that has worked perfectly. Thanks @johngallardo and to everyone else involved in shipping the fix 🥰


Rclone IO error when using teldrive

I built your fork of rclone and used the binary compiled to add the teldrive type, I obtained the "access_token" by getting the cookies from teldrive webui like this:

And copying the full user-session value.
On rclone when creating the remote:
I entered as the api host http://localhost:8000, as any other port gave a connection denied error, so I suppose it goes through the haproxy.
But when I try to mount the remote and use it I get this error on rclone IO error: invalid character '<' looking for beginning of value.
And I get a '.': Input/output error when trying to ls on the directory.
Am I using the correct values? Is your rclone fork currently working?
Thank you for the project

@rolsoft add /api in the end

It's working, thank you so much


New framing section for Chapter 16

This PR adds a new "framing" section for Chapter 16. I also wrote a "go further" based on some comments in our outline that I couldn't fit in anywhere, but it would be nice if there were some useful links we could put in there.

I think I addressed all of the comments, which prompted a big reorganization of the second half of the section. It's probably best to review by rereading it.


🐛 Preview stretched out when rotating to landscape (Android)

What
The preview seems to get stretched out if rotated to landscape and auto-rotate is turned on. The problem does not appear if the device is locked on portrait, however the resulting image will be rotated.
Demo here: https://www.youtube.com/watch?v=0Dqsre4a5T4
Reproducable sample

Git clone && run the example on an Android phone
Make sure that auto-rotate is turned on
Rotate the phone to landscape

Environment

Device: Samsung Galaxy Note 8
Platform(s):

[ ] iOS
[X] Android 9

react-native version: 0.64.2
react-native-vision-camera version: 2.4.1
react-native-reanimated version: N/A

I see, are you using a custom format={...}?

No, I didn't modify anything inside the example app.

Example app uses a custom format={...}. I'll try to find out what's causing this, but I didn't notice it because our app doesn't support rotation.

Oh, you're right, sorry for not noticing. I tested it right now and the behavior is the same even without the format prop.

Any news or progress on the rotation issue?

I didn't continue investigating/debugging this because I was busy with working on Frame Processors for Android. I'll try to get to this soon, but if anyone else wants to contribute feel free to do so 🤗

At the moment we are using the orientation change tied to setState + useEffect combo to conditionally render the camera view (basically quick mount/unmount) to reset the preview. This is definitely not ideal. Since our use case involves recording in landscape the portrait to landscape transition is quite common as people tend to press record in portrait before setting the phone in landscape and into a phone holder for instance. As for personally contributing I have the same issue as this gentleman (not familiar with coroutines): https://github.com/mrousavy/react-native-vision-camera/issues/213#issuecomment-864224835
Also very excited for the frame processors on android as well. Very nice seeing someone pushing the RN community to new heights like this 😄 👍

Maybe check also if #715 changes anything for you guys?


Add additional logging if we pass the tests after passing retry of th…

…e failed tests

Because we did not realize that retry plugin was used and wondered why the test suite passed when there was a failed test in the log

[#184739970]

The additional log message looks good.


Server Sent Events

Are there any plans to support SSE / has there been any discussion around this previously?

This seems to be an interesting feature. Where can I read more on implementing them? Or would you like to make a contribution to it :)

SSE is used in EventSource And is effectively just an HTTP request that is held open with content type of text/event-stream. At that point it's just a uni-directional pipe that allows the server to send JSON events to a client.

Implementation wise, I think this may actually be incredibly technically easy. Just setup an EventSource on the provided URL and then any time an event occurs, map it onto the UI.

Done deal. I'll look forward on implementing this.

@ImVexed hi there. I made a MVP of SSE debug page. But i dont have an endpoint to test it. All server scripts I found online had CORS restrictions which why I couldn't test them in development. Can you suggest one to make sure it works?

@ImVexed hi there! I've made a quick MVP for SSE would you like to have a look at it, perhaps test any of your endpoints on it and let me know. https://deploy-preview-330--postwoman.netlify.com/websocket
#330

Looks like it'd work! But I'm afraid I don't have any CORS compliant + HTTPS SSE servers to test against.
Maybe using https://github.com/kljensen/golang-html5-sse-example with a few extra CORS headers here and a https reverse proxy would be a good test?

Oh! Do you know why there's not even a sample/mock serve sent events endpoints available for testing?

I'm not sure, I tried searching but it's got terrible SEO since "Server Sent Events" and "SSE" aren't very unique. Alongside that most people don't even know about them and just end up using websockets so there isn't as much of a community around it as one would think.
I'm sure there's some finance API that provides data over SSE but I have yet to find one.

Okay. Let me know if find one. I'll also look for it. I can't push to production without running some tests.

#330


Rename global styles file

Closes #109
Happy to make any additional changes if needed 👍

@jmmarco thanks for your investigative work and for getting this started with a PR. 🙏  I am going to close this PR due to conflicts and continue your work in #181.


pull image failed

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior

...
...

No information provided - Closing


Unclear type alias shown for node parameter hint

From https://github.com/microsoft/vscode/issues/76957
TypeScript Version<EMAIL_ADDRESS>
Search Terms:

d.ts
quick info
hover

Code
For the following  javascript, trigger parameter hints on createServer
const http = require('http');
http.createServer(

Expected behavior:
The function signature of first parameter is shown.
Actual behavior:
We show a type alias: http.RequestListener. Node defines this type as:
    type RequestListener = (req: IncomingMessage, res: ServerResponse) => void;

Playground Link:
Related Issues:

This would be solved by the interactive quick info proposals we've discussed

Duplicate #25784 ?

Yes. I can't find the interactive hover issue but that would fix these issues


[DOCS] Addition of a Click to Copy button to the docs links page example code

Description
The example code in the links page (https://linkfree.eddiehub.io/docs/how-to-guides/links) should have a Click to Copy button.
The quickstart page (https://linkfree.eddiehub.io/docs/quickstart) already has that component, can be used it as reference.
Screenshots
No response
Additional information
No response

Hi. I am interested in contributing to this issue.
Could you guide me where i can this issue repository.

Hi @harsitagarwalla187 we have a few people already submitted PRs for this issue, please could you select another issue


Auto-migrate Okta users to new groups on startup + new update/delete-user self-restrictions + remove ability to update user email

Related Issue or Background Info

Fulfills the backfill step of https://app.zenhub.com/workspaces/simplereport-5ff8be8854ae8b000e378210/issues/cdcgov/prime-simplereport/700
Makes it such that a user cannot update their own role/privileges or delete themselves
Please ignore the Sonar failure, this (obviously) can't be tested anywhere but in the LiveOktaRepository

In a fun turn of events, and after merging up the base branch and seeing a suspicious failing updateUser_self_success() test, I have now realized that updating one's own email invalidates how all of their demo and live authentication works, since the IdentitySupplier results get mangled.
and with that, much to the joy of @benwarfield-usds i'm sure, i have removed the capability to update a user's email. there's no FE concerns afaik @nickscialli-usds since the FE hasn't wired in the feature to update a user's name/contact info yet.

Okta gives us an easy way to copy users from one group into another, but does not give us an easy way to create rules that automatically remove users from Okta groups. So the plan is indeed to remove all ENTRY_ONLY users from their corresponding USER groups, following this rollout. I've spoken to Alicia about this already to give her a heads up -- fortunately, this is a very small and manageable number of users to manually delete. After this, we ideally shouldn't have the problem again of needing to manually delete users from groups post-migration.
And to reiterate from a comment above, I also will be manually deleting all newly created group rules post-rollout. This is the only way to remove the rules without undoing the migration those rules performed upon creation.


Sync with latest OpenAPI definition (schemes -> schemas, StSeenAt -> SeenAt)

https://github.com/orgs/fingerprintjs/projects/7/views/5?pane=issue&itemId=18020837
https://github.com/orgs/fingerprintjs/projects/7/views/5?pane=issue&itemId=18020761
It's my first time working with semantic-release so let please let me know if I broke some commit message conventions!

 Also we have problem about develop branch, it should have sync with main branch, I see that it's behind 27 commits. Let's fix develop branch first and after that you should pull it and make your commits according to the doc


Added "Apache TinkerPop" where relevant

@spmallette,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot

@spmallette thanks - the changes look good to me.

#sign-off

@spmallette,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
It will cover your contributions to all Microsoft-managed open source projects.
Thanks,

understood @jomolnar - trying to get employer permission for the CLA

I have created a separate PR with @spmallette 's changes to expedite this. Please close this PR.

https://github.com/Microsoft/azure-docs-pr/pull/13580/

@arramac Thanks for the pull request in the private repository. For future reference, automation will close a pull request in this repository if you add the appropriate comment.


BIA-817 - Change build agent script logic to work for Postgres v11

The previous version of this script relied on the --csv flag to export the results of a query to csv and then parse it. This flag was added in Postgres v12, which we do not currently support and is not installed on all build agents. Now instead this script is simpler and drops the db if it exists, and then re-creates it and runs the sql script to populate it.

To test this, I forced a build to happen on INTEDFIBUILD1, where you can see it did not error on the first step of the build here
Compared to the last build on INTEDFIBUILD1 before that build, where you can see the error here


paper-tab not responsive to label size- extra flex attributes being added in html automatically.

I am using polymer 0.5.5. For paper-tab, the size of the tab is not responsive to the label size. All tabs are a fixed size. This causes labels that are to long to be cut off and the tabs to look off in alignment with labels that are short. This is not  the default  behavior listed in Polymer Elements Layout Attributes
After asking around on slack, I was told to remove the flex attributes to the paper-tab elements. However, I am not placing them in my html, they are being added automatically.
<!doctype html>

  <title>unquote</title>

  <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">

  <link rel="import" href="bower_components/font-roboto/roboto.html">
  <link rel="import" href="bower_components/core-drawer-panel/core-drawer-panel.html">
  <link rel="import" href="bower_components/core-toolbar/core-toolbar.html">
  <link rel="import" href="bower_components/paper-tabs/paper-tabs.html">

  <core-header-panel mode="scroll">
    <core-toolbar>

        Title

        <paper-tabs selected="0">
        <paper-tab>
            ABOUT
          </paper-tab>
          <paper-tab>

              TOUR SCHEDULE

          </paper-tab>
          <paper-tab>

              VIDEOS

          </paper-tab>
          <paper-tab>

              HOST

          </paper-tab>
          <paper-tab>

              DONATIONS

          </paper-tab>
        </paper-tabs>
    </core-toolbar>
  </core-header-panel>

Unfortunately the 0.5 elements are being deprecated and we likely won't be able to cut any more releases on those.


Support multi-line jsdoc annotations

VSCode Version: 1.12.2
OS Version: macOS 10.12.5

Steps to Reproduce:

Open a javascript file with multi-line type annotations. For example:
https://github.com/google/closure-library/blob/master/closure/goog/dom/animationframe/animationframe.js#L61

Expected result:
VSCode highlights the jsdoc.
Actual Result:
VSCode highlights the jsdoc in red like there's an error.

Opened https://github.com/Microsoft/vscode/issues/27777 for the syntax highlighting issue and https://github.com/Microsoft/TypeScript/issues/16179 for actually understanding a multiline jsdoc type

Reopening since it looks like this will not be fixed upstream, see https://github.com/Microsoft/TypeScript-TmLanguage/pull/740

Fixed by 0ae3ecbf15c65d1acb4fbf77e349fb9d7a5864fe

@mjbvz has this fix been released yet to the official release stream? Seems to be still not working in v1.33.1


Task 'Publish Html Report' version 1 (PublishHtmlReport@1) is dependent on a Node version (10) that is end-of-life.

Pipelines using this extension have started showing this warning:
Task 'Publish Html Report' version 1 (PublishHtmlReport@1) is dependent on a Node version (10) that is end-of-life. Contact the extension owner for an updated version of the task. Task maintainers should review Node upgrade guidance: https://aka.ms/node-runner-guidance Downloading task: PublishBuildArtifacts (1.245.1)

Hi, I found this other extension which solves the problem presented, it seems that they will continue to support it.
https://marketplace.visualstudio.com/items?itemName=blakyaks.azure-pipelines-html-reports
I hope it helps. Greetings!


Passing COM object by reference throws conversion error

I might be misunderstanding this, but trying to invoke a generated COM method that includes a COM object passed as a reference seems to be causing a COMException. Examining the source code, it looks like this is because the switch statement for converting parameters in invoke.cpp doesn't have a clause for the ComObject_byRef case, causing it to execute the default statement and throw an error.

Martin Krogmann has added this in his fork over here [https://github.com/martinkrogmann/com4j]


Add global style loader to stop delivering css from CDNs

Basically this adds semantic-ui (specific version so we don’t break the interface looks) to reproduce exactly the same behavior as having the CSS linked from the CDN.
This also embeds the fonts (I changed the font configuration in webpack a little, nothing crazy).
Don’t be too scared by the bundle output changes (I know 375KB is a lot – but most of it is not served, only one version of the icon font will be served at a time) and the CSS is actually lighter when all merged in the same file (and one local request is better than 4 on a CDN).

Codecov Report

Merging #472 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #472   +/-   ##
=======================================
  Coverage   21.38%   21.38%
=======================================
  Files         166      166
  Lines        1230     1230
=======================================
  Hits          263      263
  Misses        967      967

Impacted Files
Coverage Δ

src/components/App.js
0% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Refactor AEAD errors

This is a smaller refactor to make the API more accessible.
Until now, the aead had a single error type that was returned by all the functions. While this make writing the module easy, it means that when calling a function, the caller needs to handle all errors returned by any of the functions in the module. Usually this means that they have to guess which errors are never called.
This PR introduces several error types, such that the caller only needs to handle error variants that actually can occur. It also updates the HPKE code using the aead module to properly handle the errors and adds a bunch of doc-comments.

Thanks for the feedback. I am working on the CI - the tests passed locally, because I hadn't tested with all features, I believe.
Regarding the motivation: when writing the libcrux-based provider for OpenMLS, I ran into many cases I called a function and got an error with way to many error variants to be able to meaningfully handle then (where "handle" can mean "convert to different error and return that").
In addition, many variants just have very unclear semantics. What is EncryptionError when calling encrypt, and what is it when calling decrypt? In the provider, I just didn't know what to do with a lot of these errors, and just doing .map_err(|_| Error::DecryptError) would just silently eat internal errors (cf. the LibraryError discussion).
A while ago I read this blog post, which I think has some really good points of how to design error types in Rust. I suppose the catchphrase of that article is

Error types should be located near to their unit of fallibility

and in this case, the unit of fallibility of "encryption" (as a concept, not the specific function) is different from that of "decryption" or "consider these bytes as a key".

I think I addressed all the feedback now. I decided to add simple third error enum instead of the ErrorKind pattern, because the latter seems mostly helpful if you want to attach more data to the error, which isn't necessary here. Otherwise it just would have been a pointless layer of indirection (struct Error{ kind: ErrorKind } enum ErrorKind { ... }).
There is one more change I made to aesgcm, I hope that is fine. The only error returned by EverCrypt_AEAD_create_in is that the algorithm in not supported on the given hardware, so I change the returned error: https://github.com/cryspen/libcrux/pull/197/files#diff-4de11af9cf9fecfb22c0c3304eb56e7daffdcf2219586f87703d1acb63b7d3e0L105-R105


[UI] Add test suite around API and Axios client

The API module and the Axios client are currently missing a test suite and the functions need to be covered with unit tests
Files

AxiosClient.js
MimockApi.js

Extracted backend api clients to new service layer
Added a test suite around axios client

Jest coverage thresholds have been reverted back to 95% for all levels


Update roles and required RBAC

Fixes #39, #229
Signed-off-by: Shyamsundar Ranganathan<EMAIL_ADDRESS>

Converting to a draft, there seems to be some issues in cluster scoped and namespaced roles mixes in the same, checking these out now.


Cannot send via Nexmo/Vonage

Configuration page worked fine.
Attempt to send and get this in error log: ErrorException: Cannot declare class Nexmo\Client, because the name is already
in use in /home/ardeec92/public_html/extensions/igniterlabs/smsnotify/vendor/vonage/nexmo-bridge/src/Autoloader.php:159
Never received a txt message.
Same error occurs when attempting to send a test message via the Send Test Message button on the SMS Templage update page.

I am unable to reproduce this

I cannot get the latest fixes installed to test so I don't know if you have fixed this one or not.
BTW, what is the exact procedure to get your latest fixes installed on beta.23.2? I tried to upload the developer branch and the cart and reservation extensions to a working 23.2 site and the site got hosed so much that I had to restore to 23.2. Thus I cannot test the fixes you have committed.

Check out the docs https://tastyigniter.com/docs/master/contribution-guide#development-setup

Same error.

Fixed

I've just tried with Nexmo/Vonage, and in the recent failures tab in the automation I am getting the below

DATE
STATUS
ACTION
MESSAGE

43 seconds ago
Failed
--
Cannot declare class Nexmo\Client, because the name is already in use

--
--
--
--

Any ideas? v2.1.3