Discussion: add title to multiple colorbars?

##
from spatialdata.datasets import blobs
import spatialdata_plot
import matplotlib.pyplot as plt

sdata = blobs()
sdata['blobs_polygons']['column'] = 0

(
    sdata.pl.render_images('blobs_image')
    .pl.render_shapes('blobs_circles', color='radius')
    .pl.render_shapes('blobs_polygons', color='column')
    .pl.show()
)
plt.show()

gives

Which looks great! But it may be confusing to know which colorbar refers to what. I would consider one of the following:

we leave it as it is: the user should use different colorbars (e.g. viridis + gray) when plotting multiple elements at the same time, so the ambiguity doesn't exist
we add a title on top of the colorbar to make clear what the colorbar refers to
we show only one colorbar maximum.

I prefer having multiple colorbar, so I'd choose either 1 or 2. @timtreis @Sonja-Stockhaus wdyt?

Don't like 3) either.
Vaguely related to https://github.com/scverse/spatialdata-plot/pull/349 in which I have to refactor the entire logic anyway. One option would be to add cbar_title to the individual calls


Add OIDC support for UserInfo Endpoint Email Verification

Current OIDC implementation asserts that user email check must come
from JWT token claims. OIDC specification also allows for source
of user email to be fetched from userinfo profile endpoint.
http://openid.net/specs/openid-connect-core-1_0.html#UserInfo

First, attempt to retrieve email from JWT token claims.  Then fall back to
requesting email from userinfo endpoint.

Don't fallback to subject for email

https://github.com/bitly/oauth2_proxy/pull/481

@JoelSpeed re: testing; I did some local manual testing. Also, I built the container and pushed to rtluckie/oauth2_proxy:latest and tested on a couple of k8s clusters.

@rtluckie Any chance you could fix my comments and the conflict and we can get this merged?
Please also add a note to the changelog.

@JoelSpeed I'll make changes ASAP.  Thanks for review.

@JoelSpeed fixed error message and updated Changelog

@JoelSpeed can this be merged?


build.sh fails on macOS

The build script fails on 'dotnetcore restore'. Are there any prerequisites I'm missing?
Downloading NuGet...
Feeds used:
  /Users/ryanjoseph/.nuget/packages/
  https://api.nuget.org/v3/index.json

Restoring NuGet package Cake.0.32.1.
  GET https://api.nuget.org/v3-flatcontainer/cake/0.32.1/cake.0.32.1.nupkg
  OK https://api.nuget.org/v3-flatcontainer/cake/0.32.1/cake.0.32.1.nupkg 39ms
Installing Cake 0.32.1.
Adding package 'Cake.0.32.1' to folder '/Users/ryanjoseph/Downloads/csharp-language-server-protocol-master/tools'
Added package 'Cake.0.32.1' to folder '/Users/ryanjoseph/Downloads/csharp-language-server-protocol-master/tools'
Analyzing build script...
Processing build script...
Installing tools...
Installing addins...
Compiling build script...

========================================
GitVersion
========================================
Skipping task: GitVersion

========================================
Clean
========================================
Executing task: Clean
Creating directory /Users/ryanjoseph/Downloads/csharp-language-server-protocol-master/artifacts
Creating directory /Users/ryanjoseph/Downloads/csharp-language-server-protocol-master/coverage
Finished executing task: Clean

========================================
Submodules
========================================
Executing task: Submodules
fatal: not a git repository (or any of the parent directories): .git
Finished executing task: Submodules

========================================
Embed MediatR
========================================
Executing task: Embed MediatR
Finished executing task: Embed MediatR

========================================
dotnetcore restore
========================================
Executing task: dotnetcore restore
An error occurred when executing task 'dotnetcore restore'.
Error: One or more errors occurred. (GitVersion: Process returned an error (exit code 1).)
	GitVersion: Process returned an error (exit code 1).

Yeah this is a known issue at the moment... I'm honestly not sure why it fails to build, but since I don't have a mac on hand it's really hard to validate.

it fails on ArchLinux too

This is now passing on mac in azure pipelines... but I have no mac to verify against.  Let me know if the latest is working for you all.

If this is still an issue let me know, I might be able to borrow time with a friend to run things on his mac.


SilentCryptoMiner rootkit implementation question

Is the r77 install exe custom compiled or is it just the normal version of r77? wanting to update it for better UD... Thanks!

also is 3.4.1 the latest version of the builder?


feat: CMEK training

REQUIRED: Add a summary of your PR here, typically including why the change is needed and what was changed. Include any design alternatives for discussion purposes.

Migrate to official: AutoML training with CMEK

REQUIRED: Fill out the below checklists or remove if irrelevant

If you are opening a PR for Official Notebooks under the notebooks/official folder, follow this mandatory checklist:

[ ] Use the notebook template as a starting point.
[ ] Follow the style and grammar rules outlined in the above notebook template.
[ ] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
[ ] Passes all the required automated checks. You can locally test for formatting and linting with these instructions.
[ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
[ ] This notebook has been added to the CODEOWNERS file under the Official Notebooks section, pointing to the author or the author's team.
[ ] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.

If you are opening a PR for Community Notebooks under the notebooks/community folder:

[ ] This notebook has been added to the CODEOWNERS file under the Community Notebooks section, pointing to the author or the author's team.
[ ] Passes all the required formatting and linting checks. You can locally test with these instructions.

If you are opening a PR for Community Content under the community-content folder:

[ ] Make sure your main Content Directory Name is descriptive, informative, and includes some of the key products and attributes of your content, so that it is differentiable from other content
[ ] The main content directory has been added to the CODEOWNERS file under the Community Content section, pointing to the author or the author's team.
[ ] Passes all the required formatting and linting checks. You can locally test with these instructions.

Requires the Cloud KMS Admin role to the service account or the principal involved.

deprecate, requires manual step


Reusable web components

Hey Yaroslav, I wanted to ask you if you are ok with me creating reusable web components out of these cool Design into Code video series. Of course, I will leave credit to the designer and yourself, I will just turn them into VanilaJS web components that can be implemented into any framework project.
Regards,
JD

Hello @jdgomezb,
I thought about it and I like this idea :)
Perhaps later I will add your implementation to my repository @web-components.
You can create README.md file for each component with some description and links to devs and designers.
All the best,
Yaroslav


Fix clang 10 build errors

Lossy casts due to inexact float representation of CL_INT_MAX
Fixes #1250
Fixed #855

Thank you for the PR!
Feel free to also mention #855 being fixed by it in the description, so that issue also gets closed when this is merged.

Thank you for the PR! Feel free to also mention #855 being fixed by it in the description, so that issue also gets closed when this is merged.

Done

add_cxx_flag_if_supported(-Wno-error=implicit-const-int-float-conversion) could be removed as a result (in here). I tested locally with clang 13.0.0 that it compiles fine with your changes and without that flag.

Done, tested with clang 10 on linux

Qualcomm tested this patch. No issues were seen.


Symlinks within repository now breaking git-diff

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
I have a repo that contain symlinks to other places within the same repo. eg
repo/
└── docs/
       ├── topics/
       └── InstallGuide/
               └── topics/ -> ../topics/

repo/docs/InstallGuide/topics is a symlink to repo/docs/topics.
If I open a file from within the symlinked directory (repo/docs/InstallGuide/topics), then git-diff line marking in the gutter for that file no longer works.
If I open the file from repo/docs/topics, git-diff line marking in the gutter does work.
I'm not sure when it started breaking, but I think it was after I installed 1.14.0. I don't think this is the same issue as #91, as this directory structure has been working fine with git-diff until this week.
Versions
OS is Fedora 24.
$ atom --version
Atom    : 1.14.1
Electron: 1.3.13
Chrome  : 52.0.2743.82
Node    : 6.5.0
$ apm --version
apm  1.15.3
npm  3.10.5
node 4.4.5 x64
python 2.7.13
git 2.7.4

@dirk-thomas is this potentially caused by the path resolution changes?

Yes, this could be related to atom/atom#13545 which changes the behavior of Project.resolvePath to not resolve symlinks. That method is used in several places. I am not familiar with this package but it should be sufficient to resolve the symlink explicitly if it needs to.

This issue was moved to atom/atom#18001


Bug on link rules documentation

Link redirecting incorrectly on https://yeonjuan.github.io/html-eslint/docs/getting-started/

Bug Input

Bug Output

Correct Output

@alvaroaxsmith Thanks for the reporting issue!. I'll fix it 👍


Better document the SEO and Layout components

It's very easy to miss how to use the SEO and Layout components currently - if you're not familiar with this format
Simply,  handles everything that appears on every page (Header and Footer). It also handles SEO (not a visual component, but it still appears on every page). Layout isn't limited to these 3 components, but this is all that every page uses for now.
Seo, header and footer data can be passed through to the layout component
<Layout seo={seo} header={header} footer={footer}>Page content</Layout>

The SEO component handles all the meta tags - right now it's currently set up to be fairly dynamic but it's not clear what is or isn't required. There's also no default "lang" (a SEO faux pas).
We need documentation for these two components (preferably, jsdoc) that explains how can be used
You can see a breakdown here https://github.com/FrancescoXX/4c-site/issues/27#issuecomment-915507922

Thank you. the SEO component will be discussed again as the SEO component has been removed.


Recommendation working with expanded dataset

This code is the proposal for the new reference implementation of the
recommendation benchmark. It works on the expanded ML-20M dataset
(16x more users, 32x more items) generated with the code
from the data_generation directory.

What is the runtime of this? I was under the impression that the c++ hashmap based approach was on the order of hours per epoch for data generation.

One epoch takes ~2 minutes for negatives generation + ~1 hour for training (batch 64K). We use purely random negatives sampling instead of checking with the test set. We found it does not affect the convergence in any meaningful way.

Given that we have alias tables, I don't see why we need compromise excluding the positives during generation. (@nvpaulius can add you to the thread.)

Resolved the merge conflict by going with the code from this PR.


Icon size not applying

I'm trying to use , but the Material Icons font css takes precendence over the text-xs class, so the icons are stuck at 24px.

This should be fixed now, thank you!

Gosh I hate to bring this back from the dead, but I'm running smelte latest (^1.0.15) and seeing this exact issue.
<Button bind:value={$darkMode} icon="wb_sunny" iconClass="text-xs" small dark ></Button>


docs: mention about optional done argument in test fn

Summary
Updated general API docs. I've missed mention about an optional parameter of the test function.

I've run into an issue that my test hangs because I've defined the parameter for the test callback. Could be handy to mention that.

Codecov Report

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

@@           Coverage Diff           @@
##           master    #4556   +/-   ##
=======================================
  Coverage   56.03%   56.03%
=======================================
  Files         185      185
  Lines        6267     6267
  Branches        3        3
=======================================
  Hits         3512     3512
  Misses       2754     2754
  Partials        1        1

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 ff469e0...7858012. Read the comment docs.

Nice update! This is a good clarification.


Update: cache time

Codecov Report

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

@@          Coverage Diff          @@
##           master   #115   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          51     51
  Lines         574    574
=====================================
  Hits          574    574

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 f528878...b837978. Read the comment docs.


IDVA3-1311 Feature/add tracking to confirm company

created 'backLinkDataEvent' variable for the handler to use
created data event in the default.njk

CI: No security warnings found

CI: Security warnings found!

CI: No security warnings found


[WIP]: fix sql metadata store getBlockList for non-existent blob

currently there is an issue with the sql metadata store and getBlockList. this API behaves differently between loki and sql, and the loki behavior appears to be correct when compared to real azure storage.
a test has been added to illustrate the issue, and a secondary commit will be added to validate the fix.
fixes https://github.com/Azure/Azurite/issues/579

@XiaoningLiu this is separated from the other PR but I can also combine if that's preferable. Currently there is an ordering dependency between changes unless this is taken as a fix to #577.


Possibly incorrect: "Zero arguments is the ideal case"

In the section "Function arguments (2 or fewer ideally)" it says:
"Zero arguments is the ideal case. One or two arguments is ok, and three should be avoided."
However, I think it's typically best to have at least 1 argument, as most functions with zero arguments aren't pure functions and aren't easily testable
Personally I prefer the wording in Clean Code JavaScript:
"One or two arguments is the ideal case, and three should be avoided if possible" (https://github.com/ryanmcdermott/clean-code-javascript#function-arguments-2-or-fewer-ideally)

I recommend you read the original book.
Clean Code - Chapter 3: Functions - Function Arguments

The ideal number of arguments for a function is zero (niladic). Next comes one (monadic), followed closely by two (dyadic). Three arguments (triadic) should be avoided where possible. More than three (polyadic) requires very special justification — and then shouldn’t be used anyway.
Arguments are even harder from a testing point of view. Imagine the difficulty of writing all the test cases to ensure that all the various combinations of arguments work properly. If there are no arguments, this is trivial. If there’s one argument, it’s not too hard. With two arguments the problem gets a bit more challenging. With more than two arguments, testing every combination of appropriate values can be daunting.

About the testing, normally having different cases are to meet a business requirement and so the different cases will have to exist somewhere in the code. So I would think testing would usually be easier with a parameter as you can test if it returns the expected result when you pass a different parameter to it, for example,
function isOver18(age) {
  return age >= 18;
}

It can be tested by calling the function as isOver18(21) and expecting it to be true. Most tests that I've seen personally work this way. Not sure how this would work without any arguments unless you're just testing a currently logged in user?
About the quote from the book, it's surprising to me as in functional programming these would often usually be considered impure functions that should be avoided. But since this is about the original book, feel free to close this issue

It is worth explaining that there are different cases. And i suspect that what interests you in the isOver18() function is not age, but whether the user is adult. If age is one of the user properties, then it’s more correct to encapsulate the user age and check whether he is an adult in the user object as well.
class User {
  // ...

  isAdult() {
    return this.age > 18;
  }
}

If we are talking about checking the input data, then it is more correct to make a validator and check the input data in the function argument.
class AdultValidator extends Validator {
  validate(age) {
    return this.age > 18;
  }
}

Both options are easy to test. Getters and setters are also easy to test.
The author of the book said that increasing the number of arguments complicates reading the code and testing if the logic of the function is tied to the arguments.
For example, in this example, the second argument adds logic branching and you need to write 2 tests in order to check all possible return values. This is the complication Robert Martin was talking about.
<?php

public function getVideoFrame(string $filename, string $filter = ''): string
{
    $path = $this->frame_locator->locate($filename);

    if ($filter) {
        $path = $this->resolver->getBrowserPath($path, $filter);
    }

    return $path;
}

An increase in the number of arguments can increase the branching of logic in a function and increase exponentially the number of tests needed to cover all cases. This is not always the case, but it is better to adhere to the rule - the fewer the arguments, the better.

Thaks for explanation and examples. I see what you mean in this case; the age is essentially a property so assuming someone is following OOP it could be the best option


Initial commit

Description
A Lorum Ipsum generator that includes single, double, and triple paragraphs as well as bullets. The content is saved to the user's clipboard for easy pasting.
Screencast
https://drive.google.com/file/d/1JJQOi2MfqUahCtjxHWYBJl6fo-4buS0h/view?usp=sharing
Checklist

[X] I read the extension guidelines
[X] I read the documentation about publishing
[X] I ran npm run build and tested this distribution build in Raycast
[X] I checked that files in the assets folder are used by the extension itself
[X] I checked that assets used by the README are placed outside of the metadata folder

Hey @aaronrobb 👋
Cool features and additions you've got here, but would it not make sense to add these to the existing Lorem Ipsum extension as new command options rather than having another Lorem Ipsum extension that does similar stuff?
Here's a link to the existing extension:
https://www.raycast.com/AntonNiklasson/lorem-ipsum

@andreaselia thanks for the look! I actually searched for this extension  before stating my own in the store and it didn't show up. Good to know it exists.


More explanations on sampleqc module

Hi @yfukasawa ,
Again, thanks heaps for this wonderful tool.
Could you kindly explain a bit of what happens in/logic behind (or point me to a location where I can find a thorough explanation) the sampleqc step? It seems to be generating multiple fastq files at the moment (I started processing only ~1 hour ago). I executed the following script:
python longQC.py sampleqc -x pb-sequel -p 8 -o ${OUT_DIR}/${subdir} ${BAM}
Cheers,
Shani.

Let me merge this to #8.

Yes, it makes sense! thanks!


Migrate Lib to Maven Central

Rename artifact as the lib does only one thing.

https://repo1.maven.org/maven2/com/byteowls/docker-secret-spring-post-processor/1.3.0/


pilot: validate CRD in pilot

Fix https://github.com/istio/istio/issues/14836
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

That function will not be called as it's used to send a request to create or update CRD. The CRD is not created from the CRD rest client.

@yxue: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-presubmit-tests-master
76ebc0f3e9b4943c1d3544b93f2ed99e68c21c83
link
/test integ-mixer-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yxue: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-presubmit-tests-master
76ebc0f3e9b4943c1d3544b93f2ed99e68c21c83
link
/test integ-mixer-k8s-presubmit-tests-master

istio-unit-tests-master
76ebc0f3e9b4943c1d3544b93f2ed99e68c21c83
link
/test istio-unit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio-unit-tests-master


their is no exclude button in quill ?

  suppose i want to hide or remove video button how can i achieve that ?

Hi!
I had a problem like this, I solved it just hiding it with css, and also for translations


An error occurs when deploying JavaScript V4 Model project to the Premium Linux function app

OS: All
Build Version: 20230808.1
Repro Steps:

Create a Premium Linux function app.
Create a JavaScript project with HttpTrigger function of Node V4 Programming Model.
Deploy the JavaScript project to the Premium Linux function app.
Check whether no error occurs.

Expect:
No error occurs.
Actual:
An error occurs.

More Info:

This issue doesn't reproduce for the Linux function app created with Consumption and App Service Plan hosting plan.
This issue doesn't reproduce for the Windows function app.
This issue doesn't reproduce for the JavaScript project with HttpTrigger function of Node V3 Programming Model.
The JavaScript V4 Model project can deploy to the Premium Linux function app successfully after trying to deploy several times.
There are two unstable error during deploying the other projects to function apps.

I don't think this is an issue with v4. I got the same error with v3.

This is caused by the new status code policy throwing errors that break our retry logic that ignores 404 errors.

This issue also reproduces when deploying the Python and Java Project to the Premium Linux function app, but it is unstable.


Ray not responding after a large dump and refused to clear logs on restart

Before creating a new bug report
Please check if there isn't a similar issue on the issue tracker or in the discussions.
If you are having troubles connecting your project to Ray, please check our docs first, especially the configuration and environment specific configuration sections.
Describe the bug
I am using Ray in a Laravel application in Ubuntu 22.04.
I dumped an array of over 10000 rows
 ray()->clearAll();
 ray($array);

I think the array was sent multiple times on page reload, now Ray has frozen and cannot be scrolled.
I have tried restarting Ray by quitting and reopening Ray, however, the logs are still stuck in there and refuse to clear.
Versions
2.7.5
You can use composer show to get the version numbers of:

spatie/ray package version:
spatie/laravel-ray package version (if applicable):

PHP version: 7.4
Laravel version (if applicable): Laravel 7
To Reproduce
N/A
Expected behavior
Clear all logs and become responsive, and scroolable.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Ubuntu
Version: 22.04

Additional context
Add any other context about the problem here.

@digitlimit When using Ray on Linux, I've thought that I terminated the application but it was still in fact running and did not exit.  Is it possible this is what you're running into?
You can try killing the process manually with pkill ray (assuming the binary is named ray).  Let me know if this helps.


Fix CLIHelper().systemctl_status_all

The output of this command can sometimes contain non-unicode
chars or special encodings e.g. in sosreports so we need to
handle UnicodeDecodeErrors correctly. We now process each line
individually and store an empty line for those that could not
be decoded. We also use subprocess.run as opposed to
subprocess.check_output since some commands like this return
non-zero exit codes by default which does not work with
check_output.
Resolves: #678

To test the bincmd manually you do:
from hotsos.core.host_helpers.cli import CLIHelper
from hotsos.core.config import HotSOSConfig
HotSOSConfig.data_root='/'
HotSOSConfig.global_tmp_dir='/tmp/foo'
HotSOSConfig.plugin_tmp_dir='/tmp/foo'
out=CLIHelper().systemctl_status_all()
open('/tmp/foo/out.txt', 'w').write(''.join(out))


⚠ ClamAV has degraded performance

In 60fba95, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 523 ms

Resolved: ClamAV performance has improved in 9e4aa48.


pkgconfig

Comment:
I would like to put in a request for installed pkgconfig files for the installed mumps. I don't imagine that the source code generates anything, but you could create some simple files for the libraries installed during the conda-forge building steps. As a simple example:
prefix= <-WRITE $PREFIX TO HERE DURING BUILD
exec_prefix=${prefix}
libdir=${prefix}/lib
sharedlibdir=${libdir}
includedir=${prefix}/include

Name: dmumps_seq
Description: The sequential double MUMPS library
Version: <- WRITE THE VERSION STRING TO HERE DURING BUILD
Cflags: -I${includedir}
Libs: -L${libdir} -ldmumps_seq

I also do not know what this would correspond to on windows machines.

:+1: from me. This wouldn't help if the library is provided not via conda-forge, but would greatly simplify conda-forge-based linking. I've given a shot to write a wrapper that uses meson-python for builds , and my solution so far is not pretty.

@akhmerov I added these in #109. Could you check if they would work for you? I did them for the regular mumps libs, but not mumps_common or pord (it's unclear to me if users need to link those libs directly, since they are linked from the public-facing mumps libs).


How to use rest-api to build custom portal?

hi,
There are some requirements of my production environment.
Current web portal is a little bit complex for some guys and it would be great help to build up a custom web portal, which may even only contains an command or some custom user interactions of PAI, making it much more easier to use in some scenarios.
Throughout the usage of PAI, involving rest-server may be good to handle the backend APIs of this custom portal in my opinion.
My questions:

Is there any better way to provide a custom web portal instead of developing another complete fresh web portal? Is it possible that make a secondary development or adding a new page of current web portal?
Any docs for rest-server? e.g. submitting a new job from API instead of web portal.

Thanks for help!
Shawn

Hi @shawntian90 ,
Let's answer your question one by one.

Yes, you can modify the portal, but currently it's not so convenience, we are welcome to any suggestion. If you have any good idea, rise it so we can discuss.
We have some brief doc about rest-server: https://github.com/Microsoft/pai/tree/master/docs/rest-server.

thanks so much!


fix registry creds for jobs

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Thank you for your contribution! We will review the pull request and get back to you soon.

this is fixed in https://github.com/Azure/azure-cli-extensions/pull/6618


Upload file: Measurements (sample layout). Not possible

Dear Ferry,
When I try to import my sample layout, for one of my own studies, I get this error message.
https://dashin.eu/interventionstudies/measurements/Questionnaire/SAMImporter/match
.
Best
Mikkel

Could you please attach the file you are trying to upload and the name of the assay?

The name of the assay is VAS questionnarie (Study, Havtornprojekt M208) in the questionnarie modul
PLATFORM_DETAILS_M208_study.txt

I just realized that the attached file may be useless. Can I email the file in excel format to you?

This might work...
PLATFORM_DETAILS_M208_study.zip

The Excel file in the zip is a feature list.
You should import it via Import -> Features (https://dashin.eu/interventionstudies/SAMImporter/upload?importer=Features&module=Questionnaire).
Some background information:
Sample = subject + sample type (design page)
Assay = group of samples linked to a module
Feature = measured parameter
Platform = group of features
Measurement = sample + feature + value
Also see: www.enpadasi.eu/download/DASHIN_Phenotype_Database_Graphical_Scheme.pptx


Does NeoNova need to be updated to use T5 testnet?

Hey Harry, the network button to the top right should allow to insert custom network magic and COZ https testnet rpc endpoints.
Do you think we need something more?

Didn't realize that was a feature. I do think if T5 is going to be the primary testnet going forward, NeoNova should default to that network (network magic + RPC endpoints)

Yep, i agree with that 👍

Close with #16


os: Symlink returns Cannot create a file when that file already exists

What version of Go are you using (go version)?

$ go version
go version go1.16.10 windows/amd64

Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
set GO111MODULE=on
set GOARCH=amd64
set GOBIN=
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOOS=windows
set GOPROXY=https://proxy.golang.org,direct
set GOSUMDB=sum.golang.google.cn
set GOTMPDIR=
set GOVCS=
set GOVERSION=go1.16.10
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config

What did you do?
I ran this test (go\src\os\os_test.go's TestSymlink):
func TestSymlink(t *testing.T) {
	testenv.MustHaveSymlink(t)

       /-----------------add code begin---------------
        now := time.Now()
	now.Zone()
       /-----------------end----------------------------

	defer chtmpdir(t)()
	from, to := "symlinktestfrom", "symlinktestto"
	file, err := Create(to)
	if err != nil {
		t.Fatalf("Create(%q) failed: %v", to, err)
	}
	if err = file.Close(); err != nil {
		t.Errorf("Close(%q) failed: %v", to, err)
	}
	err = Symlink(to, from)
	if err != nil {
		t.Fatalf("Symlink(%q, %q) failed: %v", to, from, err)
	}
	tostat, err := Lstat(to)
	if err != nil {
		t.Fatalf("Lstat(%q) failed: %v", to, err)
	}
	if tostat.Mode()&ModeSymlink != 0 {
		t.Fatalf("Lstat(%q).Mode()&ModeSymlink = %v, want 0", to, tostat.Mode()&ModeSymlink)
	}
	fromstat, err := Stat(from)
	if err != nil {
		t.Fatalf("Stat(%q) failed: %v", from, err)
	}
	if !SameFile(tostat, fromstat) {
		t.Errorf("Symlink(%q, %q) did not create symlink", to, from)
	}
	fromstat, err = Lstat(from)
	if err != nil {
		t.Fatalf("Lstat(%q) failed: %v", from, err)
	}
	if fromstat.Mode()&ModeSymlink == 0 {
		t.Fatalf("Lstat(%q).Mode()&ModeSymlink = 0, want %v", from, ModeSymlink)
	}
	fromstat, err = Stat(from)
	if err != nil {
		t.Fatalf("Stat(%q) failed: %v", from, err)
	}
	if fromstat.Name() != from {
		t.Errorf("Stat(%q).Name() = %q, want %q", from, fromstat.Name(), from)
	}
	if fromstat.Mode()&ModeSymlink != 0 {
		t.Fatalf("Stat(%q).Mode()&ModeSymlink = %v, want 0", from, fromstat.Mode()&ModeSymlink)
	}
	s, err := Readlink(from)
	if err != nil {
		t.Fatalf("Readlink(%q) failed: %v", from, err)
	}
	if s != to {
		t.Fatalf("Readlink(%q) = %q, want %q", from, s, to)
	}
	file, err = Open(from)
	if err != nil {
		t.Fatalf("Open(%q) failed: %v", from, err)
	}
	file.Close()
}

What did you expect to see?
I expected the test to pass.
What did you see instead?
=== RUN   TestSymlink
    os_test.go:903: Symlink("symlinktestto", "symlinktestfrom") failed: symlink symlinktestto symlinktestfrom: Cannot create a file when that file already exists.
--- FAIL: TestSymlink (0.04s)

If I don't add the relevant code about the time, the test passes, but if I add it, the link can't be created

Per the Go release policy, go1.16.10 is no longer supported. Does this issue still reproduce on a supported release or at HEAD?
For that matter, how are you running an os test with local changes using a released Go version? 🤔
What was the exact command line that you ran to run the test?
Some versions of Windows require that the program be run with Administrator privileges to create symlinks; Windows 10 and after also allows other users to create symlinks if the device is in Developer Mode. If symlinks are not enabled, that should cause testenv.MustHaveSymlink to skip the test. What version of Windows are you running, and do you have Developer Mode enabled?

yes, this issue can reproduce with the latest release go1.18.3。I have run the test with Administrator privileges to create symlinks,and it can create symlinks but it returns errror。I just show the existence of this problem through this test。You can call symlink after calling zone and the problem will arise

Please tell us exactly what you are doing, and exactly what happens.  If you are modifying the code that comes with Go, please show us the complete file that you are running.  Thanks.

Please tell us exactly what you are doing, and exactly what happens. If you are modifying the code that comes with Go, please show us the complete file that you are running. Thanks.

I don't  modify the code that comes with Go.You can run this test:
func TestSymlink(t *testing.T) {
	now := time.Now()
	now.Zone()
	from, to := "symlinktestfrom", "symlinktestto"
	file, err := os.Create(to)
	if err != nil {
		t.Fatalf("Create(%q) failed: %v", to, err)
	}
	if err = file.Close(); err != nil {
		t.Errorf("Close(%q) failed: %v", to, err)
	}
	err = os.Symlink(to, from)
	if err != nil {
		t.Fatalf("Symlink(%q, %q) failed: %v", to, from, err)
	}
}

=== RUN   TestSymlink
    util_test.go:71: Symlink("symlinktestto", "symlinktestfrom") failed: symlink symlinktestto symlinktestfrom: Cannot create a file when that file already exists.
--- FAIL: TestSymlink (0.02s)

FAIL

Hmm, I don't reproduce this.

Could you please test with adding small sleep?
func TestSymlink(t *testing.T) {
        now := time.Now()
        now.Zone()
        from, to := "symlinktestfrom", "symlinktestto"
        file, err := os.Create(to)
        if err != nil {
                t.Fatalf("Create(%q) failed: %v", to, err)
        }
        if err = file.Close(); err != nil {
                t.Errorf("Close(%q) failed: %v", to, err)
        }

        time.Sleep(1 * time.Second)

        err = os.Symlink(to, from)
        if err != nil {
                t.Fatalf("Symlink(%q, %q) failed: %v", to, from, err)
        }
}

Do you always check that symlinktestfrom does not exist before testing?

Do you always check that symlinktestfrom does not exist before testing?

I debug the code. The code src\os\file_windows.go:369 returns ERROR_ACCESS_DENIED (5),  but the symbolic link has been created, then CreateSymbolicLink in src\os\file_windows.go:374 creates it again

I don't understand what happen on this case, but at least os.Symlink for Window should not do second try if err is not ERROR_PRIVILEGE_NOT_HELD, I think.
diff --git a/src/os/file_windows.go b/src/os/file_windows.go
index db5c27dd30..c0cb501450 100644
--- a/src/os/file_windows.go
+++ b/src/os/file_windows.go
@@ -368,6 +368,9 @@ func Symlink(oldname, newname string) error {
 	}
 	err = syscall.CreateSymbolicLink(n, o, flags)
 	if err != nil {
+		if err.(syscall.Errno) != syscall.ERROR_PRIVILEGE_NOT_HELD {
+			return err
+		}
 		// the unprivileged create flag is unsupported
 		// below Windows 10 (1703, v10.0.14972). retry without it.
 		flags &^= windows.SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE

@zdszxp It sounds like you are saying that even though CreateSymbolicLink returns ERROR_ACCESS_DENIED, it creates the symlink anyhow. Why would it do that?

yes

I don't understand what happen on this case, but at least os.Symlink for Window should not do second try if err is not ERROR_PRIVILEGE_NOT_HELD, I think.
diff --git a/src/os/file_windows.go b/src/os/file_windows.go
index db5c27dd30..c0cb501450 100644
--- a/src/os/file_windows.go
+++ b/src/os/file_windows.go
@@ -368,6 +368,9 @@ func Symlink(oldname, newname string) error {
 	}
 	err = syscall.CreateSymbolicLink(n, o, flags)
 	if err != nil {
+		if err.(syscall.Errno) != syscall.ERROR_PRIVILEGE_NOT_HELD {
+			return &LinkError{"symlink", oldname, newname, err}
+		}
 		// the unprivileged create flag is unsupported
 		// below Windows 10 (1703, v10.0.14972). retry without it.
 		flags &^= windows.SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE

ERROR_ACCESS_DENIED

This is a question, but another question is, why it will return ERROR_ACCESS_DENIED) in windows10, when I call now.Zone before calling os.Symlink, but the link is still created successfully, if I remove the code about time, os.Symlink executes correctly

I run this code:

@zdszxp why do you use E: drive to run your code on? What is E: drive mapped to?
I cannot reproduce your issue here.
I run this test https://go.dev/play/p/TMpFxBKkafD as simple user on my local C: drive:
c:\Users\user\dev\src\issues\go\53582>a.exe -test.v
=== RUN   TestSymlink
    a_test.go:22: Symlink("symlinktestto", "symlinktestfrom") failed: symlink symlinktestto symlinktestfrom: A required privilege is not held by the client.
--- FAIL: TestSymlink (0.00s)
FAIL

c:\Users\user\dev\src\issues\go\53582>

As simple user on X: drive that is mapped to remote samba server:
X:\rw>copy /y c:\Users\user\dev\src\issues\go\53582\a.exe . && a.exe -test.v
        1 file(s) copied.
=== RUN   TestSymlink
    a_test.go:22: Symlink("symlinktestto", "symlinktestfrom") failed: symlink symlinktestto symlinktestfrom: A required privilege is not held by the client.
--- FAIL: TestSymlink (0.03s)
FAIL

X:\rw>

And locally as an Administrator:
C:\WINDOWS\system32>cd c:\Users\user\dev\src\issues\go\53582

c:\Users\user\dev\src\issues\go\53582>a.exe -test.v
=== RUN   TestSymlink
--- PASS: TestSymlink (0.00s)
PASS

c:\Users\user\dev\src\issues\go\53582>

Perhaps you can try and put some println in Go library code and figure out what is happening on your PC. Please note that your system environment will affect your result. See https://github.com/golang/go/issues/53582#issuecomment-1168802469 for  example.
I also noticed that CreateSymbolicLink API uses BOOLEAN return type, unlike all other Windows API that use BOOL. You can see it listed in https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createsymboliclinkw . But Go code is using BOOLEAN. And BOOLEAN appears to be correct value according to current Microsoft docs and https://microsoft.public.win32.programmer.kernel.narkive.com/Xd6JhpEr/createsymboliclink-problem-in-windows-7-rtm (I googled for it).
Not sure what to do here.
Alex


IPython module to render Python objects as HTML

Description
Adds a module IPythonDisplay that can be used to render IPython objects as HTML, like what is done in Jupyter notebooks.
Motivation and Context
This is a proof of concept developed from a conversation with @cbkerr. I think there are some next steps needed for this module:

[x] Fall back to plain-text rendering if the HTMLFormatter does not find a method _repr_html_. (This requires some reading of the IPython docs to figure out what to do here.)
[x] Add an example
[ ] Consider adding fancier HTML representations of the Job object in signac.

Types of Changes

[ ] Documentation update
[ ] Bug fix
[x] New feature
[ ] Breaking change1

1The change breaks (or has the potential to break) existing functionality.
Checklist:

[x] I am familiar with the Contributing Guidelines.
[x] I agree with the terms of the Contributor Agreement.
[x] My name is on the list of contributors.
[x] My code follows the code style guideline of this project.
[ ] The changes introduced by this pull request are covered by existing or newly introduced tests.

If necessary:

[x] I have updated the API documentation as part of the package doc-strings.
[ ] I have created a separate pull request to update the framework documentation on signac-docs and linked it here.
[ ] I have updated the changelog.

I just wanted to say that I am excited for this feature. I used the TextDisplay to partially render pandas dataframes. This will work much better.

@b-butler Thanks for the interest! Just to let you know, I am mostly volunteering my time towards signac 2.0 right now. If you or anyone else would like to adopt this PR and see it forward, go for it! I tried to provide an outline in the PR description to help with that.

@bdice I think for the 3rd checkbox, that adding an html display for the job would essentially do what StatepointList and DocumentList do now.

@b-butler I'd propose that a Job's HTML representation includes state point info (truncated to some number of keys, perhaps) but not document info. Documents tend to be much larger than state points, and I can't think of a project I've worked on where the document data would fit on screen.
One challenge is deciding how to represent the state point. One option is a table, like

a
{"b": "c"}

temperature
273.15

Another option is a tree, like:
{
    "a": {
        "b": "c"
    },
    "temperature": 273.15
}

Another option is an expandable node representation like

(generated from https://codebeautify.org/jsonviewer)

@bdice I guess what I am saying I don't understand the need for StatepointList and IPythonDisplay then except the extra dependency. However, we could not import IPython and merely search for _repr_html_ and upon failing to find it attempt to pretty print it which would effectively have the same behavior as what we do now.

@b-butler Yes, a Job HTML representation would be added in the core signac package. We could implement StatepointList using IPythonDisplay if a Job HTML representation was created, but it's not what I would recommend. I'd like to keep IPython as a soft dependency, not a hard dependency.

@bdice So my thoughts are thus, if we add the HTML view (which I have worked on already), we don't need the StatepointList, because I am not sure what use we get using IPython rather than just manually checking for _repr_html_ and defaulting to a pretty print otherwise. This is essentially what HTMLFormatter does.
Also, I am not sure what the problem is but the stylesheet I added for the module does not load. It works when directly attached to the card content. The JS script loads but the inspector complains that it thinks it is an HTML file.

Closing as stale.


Change WPS ConnectionContext.States to a Dict<string, string>

There are a couple of TODOs that would still need to be addressed if we wanted to use this approach.

Closing in favor of https://github.com/Azure/azure-sdk-for-net/pull/25504

Thank you Ted for proposing the fixes. Closing this as fixed with #25504.


[windows, embree] find_package failure with embree

Describe the bug
When I try to find embree by using find_package(embree 3 CONFIG REQUIRED), cmake fails to find it.
Environment

OS: Windows
Compiler: Visual Studio Community 2019 16.9.6
Build system: cmake 3.20.0

To Reproduce
Directory tree
vcpkg/
example/
  CMakeLists.txt
  main.cpp

main.cpp
#include <iostream>

int main()
{
    std::cout << "Hello world!" << std::endl;
    return 0;
}

CMakeLists.txt
cmake_minimum_required(VERSION 3.14)

project(example)

find_package(embree 3 CONFIG REQUIRED)

add_executable(example main.cpp)

cd vcpkg
./bootstrap-vcpkg.sh
./vcpkg.exe install --triplet=x64-windows embree3
cd ../example
cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake
failure happens

Expected behavior
cmake successfully finds embree3 finishes configuration
Failure logs
KazutakaNakashima@taka-skull ~/Documents/git/example
$ cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake
-- Building for: Visual Studio 16 2019
-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19043.
-- The C compiler identification is MSVC 19.28.29915.0
-- The CXX compiler identification is MSVC 19.28.29915.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at C:/Users/KazutakaNakashima/Documents/git/vcpkg/installed/x64-windows/share/embree/embree-config.cmake:72 (INCLUDE):
  INCLUDE could not find requested file:

    C:/Users/KazutakaNakashima/Documents/git/vcpkg/installed/lib/cmake/embree-3.12.2/embree-targets.cmake
Call Stack (most recent call first):
  C:/Users/KazutakaNakashima/Documents/git/vcpkg/scripts/buildsystems/vcpkg.cmake:861 (_find_package)
  CMakeLists.txt:5 (find_package)

-- Configuring incomplete, errors occurred!
See also "C:/Users/KazutakaNakashima/Documents/git/example/build/CMakeFiles/CMakeOutput.log".

Additional context

As error log says, C:/Users/KazutakaNakashima/Documents/git/vcpkg/installed/x64-windows/share/embree/embree-config.cmake:72 (INCLUDE): try to include a file that doesn't exit. I guess paths ...  ${EMBREE_ROOT_DIR}/lib/cmake/embree-3.12.2 ...  in C:/Users/KazutakaNakashima/Documents/git/vcpkg/installed/x64-windows/share/embree/embree-config.cmake are incorrect.
When I try manifests, cmake also fails configuring embree3.

Hi @n-taka
Thanks for posting this issue. I submitted a PR #18146 to fix this issue. Can you please help test if this can work fine for you?

Hi @NancyLi1013
Thank you for quickly fixes the issue. I tested your PR, and it works fine for me.


form validation

From @praven07 on October 28, 2017 19:24
I'm trying to use the ng form validation. I have attached an gif of the app. if you look at it the ng-untouched changes to ng-touched. As soon as I touch it the first time. But in default angular2 the ng-untouched changes to ng-touched when it has been visited. It changes after it has blurred out. You can see the differences in the screenshoots below.
On nativescript.

On Angular2

Copied from original issue: NativeScript/NativeScript#5001

Hi @praven07,
Thank you for reporting this behavior,
We reviewed your case and found that this problem has been already reported here in this thread.
I would suggest keeping track on the other issue.


Duplicate error message on Wit's End

When I'm trying to place a block to the wool placement it shows me two errors messages:
http://uplmg.com/leo
Version: 1.0-git-CardinalPGM-a804596

Could you provide a video of how this is happenin?

I don't think I need to provide a video, you just need to place a random block where the wool need to be placed at and it will shows you both messages.


Linker command failed

How frequently does the bug occur?
All the time
Description
This issue is connected to #7526. Since the issue was closed, I wanted to reopen it because I'm experiencing one more error while building. You can see the log output below.
Anyone experiencing the same error?
Stacktrace & log output
Undefined symbols for architecture x86_64:
  "___llvm_profile_runtime", referenced from:
      ___llvm_profile_runtime_user in RealmCore.o
      ___llvm_profile_runtime_user in Bid.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

### Can you reproduce the bug?

Yes, always

### Reproduction Steps

_No response_

### Version

10.24.0

### What SDK flavour are you using?

Local Database only

### Are you using encryption?

No, not using encryption

### Platform OS and version(s)

iOS 15.3.1

### Build environment

Xcode version: Xcode version: 13.2.1

+1 also seeing this with this latest version. I can build successfully if I remove code coverage generation from all targets, but re-enabling it then re-introduces the linker error. Various invocations of cleaning builds or cleaning derived data doesn't seem to help, alas.

I agree that turning off the code coverage generation works. For temporary solution, we can have it that way. However, this needs to be addressed and fixed, since we want to have code coverage enabled.

You should report this to Apple, as it's an Xcode bug.

@tgoyne It's being reported already: https://bugs.swift.org/browse/SR-14788
Unfortunately, no updates. If we all try to vote for the issue, they might fix it

Closing as this is not related to Realm.


Hard to tell unpublished questions from gameboard

The gameboards on the home page don't give any indication of whether a question is live or not. It's not the end of the world, but it leads to issues like this one:

where the warning messages are indeed correct for the live site - but there's no easy way to verify this on staging because unpublished questions show up exactly the same as published ones. Is it simple to add any way to distinguish on the boards itself? It doesn't really matter how subtle, because most of the time it's not an issue but when it is we can pay close attention.

This is not too hard to do. Let's do it.


Alternative package

Package looks like abandoned.
I create new one, that supports latest redux-saga, vuex-coolstory.

ok!


Render the names of WCAG criteria in sentence case

As a follow up to the comments on #3498 and #3555, we seem to have settled on rendering the names of WCAG criteria in either sentence case—as per the style guide's "Always use sentence case" guideline—or entirely in lowercase—as per the guideline regarding "sections or schedules within specific named acts, regulations or orders".
This PR changes all of the WCAG criteria referenced to set them in sentence case.
I'm curious as to whether we should render these in lowercase, however. We seem to follow that convention for component and pattern names elsewhere in the documentation, such as referring to 'the character count component' (as opposed to Character count or Character Count) in prose.

Thanks for raising this beeps! I'll take a look.
I'd go with sentence case, as it's it's pretty important (albeit difficult) to show that they refer to specific WCAG criteria.
On part of components, I admit that's looking inconsistent – there's an idea there that sometimes we're referring to the generic component, and sometimes to the Design System component specifically.
Also, would you be okay if I added edits to grammatically correct all instances of the "### New WCAG 2.2 criteria affect this component" heading? It's basically the 2nd half of #3555.

Also, would you be okay if I added edits to grammatically correct all instances of the "### New WCAG 2.2 criteria affect this component" heading? It's basically the 2nd half of https://github.com/alphagov/govuk-design-system/pull/3555.

Go for it!


SubMaster refactor

Doesn't save much CPU, so not worth it, otherwise we'll have to maintain a separate SubMaster that only runs in the tests.


IllegalStateException in Connection.closeIfOwnedBy()

Been seeing a few of these, mostly on Lollipop 5.0.x
Offending line is if (isFramed()) throw new IllegalStateException();
at com.squareup.okhttp.Connection.closeIfOwnedBy(Connection.java:137)
at com.squareup.okhttp.OkHttpClient$1.closeIfOwnedBy(OkHttpClient.java:75)
at com.squareup.okhttp.internal.http.HttpEngine.disconnect(HttpEngine.java:577)
at com.squareup.okhttp.Call.cancel(Call.java:122)
at retrofit.OkHttpCall.cancel(OkHttpCall.java:158)
at retrofit.ObservableCallAdapterFactory$CallOnSubscribe$1.call(ObservableCallAdapterFactory.java:92)
at rx.subscriptions.BooleanSubscription.unsubscribe(BooleanSubscription.java:72)
at rx.internal.util.SubscriptionList.unsubscribeFromAll(SubscriptionList.java:124)
at rx.internal.util.SubscriptionList.unsubscribe(SubscriptionList.java:113)
at rx.Subscriber.unsubscribe(Subscriber.java:81)
at rx.internal.operators.OperatorUnsubscribeOn$2$1.call(OperatorUnsubscribeOn.java:66)
at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)

Yikes. Can fix.

Would also love to see a fix for this. Catching IllegalStateException is making me sad.

Also have a lot of these. Can confirm it happens only in Android 5+.

Fixed by https://github.com/square/okhttp/pull/2045

So for some reason, this issue seems to be back for me as of 3.1.2. Any possibility that this regressed? It definitely went a way for a little while.

@leofirespotter able to reproduce?

@swankjesse no I have not been able to reproduce. But here is the crash report on crashlytics. Version 2.3 of my app was released back in early Nov and was using okhttp 2.5. And then the issue went away in version 2.4 of my app using okhttp 2.7. And now its back, version 3.0 is using okhttp 3.1.2

That crash report suggests some part of your app is using OkHttp 2.x. The package name in OkHttp 3.1.2 is okhttp3, not com.squareup.okhttp.

@swankjesse damn good point. Fresco hasn't updated so it was still using the old version. That is probably why it regressed, I went from using 2.7 everywhere, to using 3.1.2 in my app, but Fresco is probably still using 2.5. Thanks for the help.


Cloud code - calling signUp on anonymous user doesn't make user non-anonymous

I'm using this cloud function to upgrade a user from anonymous to real, and then request a password reset, on app https://www.parse.com/apps/invoice-maker-dev
After doing this, I then login with that user on an AndroidDevice, then call ParseAnonymousUtils.isLinked and expected the result to be false (real) but I get true (anonymous).
Looking at the ParseUser in the parse console I see that the user is still anonymous.  If I follow a similar process from Android code, the user doesn't remain anonymous (the desired result).
See user bF2wHKAFDM in the screenshot, it does have the username set from the code below, but still is an anonymous user.
What do I need to do to make this user not anonymous?
Thanks!  Alex
Parse.Cloud.define('requestPasswordResetInBackgroundAnonymous', function(request, response) {
  var googleAccountQuery = new Parse.Query(GoogleAccount);
  var email = request.params.email;

  if (!email || !email.length)
    response.error('Email parameter required');

  Parse.Cloud.useMasterKey();

  googleAccountQuery.equalTo('name', email);
  googleAccountQuery.ascending('updatedAt'); // in case there are multiple
  googleAccountQuery.first({
    success: function(googleAccount) {
      if (googleAccount) {
        var account = googleAccount.get("account");

        var userQuery = new Parse.Query(Parse.User);
        userQuery.equalTo('account', account);
        userQuery.ascending('updatedAt');
        userQuery.first({
          success: function(user) {
            if (user) {
              user.setUsername(email);
              user.setPassword('Eq54mY914Tt4:2U7WIf28K+o4483xi3Y');
              user.signUp(null, {
                success: function() {
                  Parse.User.requestPasswordReset(email, {
                    success: function() {
                      response.success();
                    },
                    error: function(error) {
                      response.error('requestPasswordReset failed: ' + error.code + ', ' + error.message);
                    }
                  });
                },
                error: function(user, error) {
                  response.error('signup failed: ' + error.code + ', ' + error.message);
                }
              });
            } else {
              response.error('No ParseUser found for account: ' + account.id);
            }
          },
          error: function(error) {
            response.error('Error searching for ParseUser by account' + account.id + ': ' + error.code + ', ' + error.message);
          }
        });
      } else {
        response.error('No GoogleAccount found with email: ' + email);
      }
    },
    error: function(error) {
      response.error('Error searching for GoogleAccount with email' + email + ': ' + error.code + ', ' + error.message);
    }
  });
});

Bump :)

Hi Alex, Based on the info you provided, its unclear to me whether the user didn't become non-anonymous because the logic prior to the signUp call failed.  Do you have some logs demonstrating that signUp was actually executed?
Could you try removing all code except for just set username, set password, and signUp to help narrow down the range of possibilities?  If you can repro with this simpler case, please also provide info like SDK version number.  Thanks!

Hi Stanleyw, yes the fact that the function succeeded without errors would be logged in the logs at parse.  It looks like it doesn't let me go back that far though.
Another way I know it succeeds because reset password emails get sent out.

@alexblack What version of JS SDK did you use?

@stanleyw 1.4. I'll retest on Monday with the latest.

I dug into this further, here is what I've found:

Looks like the Parse backend has always left the anonymous authData unchanged when an anonymous user gets upgraded to a normal user via setting username/password.   You can reproduce this by calling the Parse REST API directly to save the user.  We can't really change this backend behavior because we don't know whether anyone relies on this today.

The JS SDK currently does not support anonymous user manipulation (i.e. Parse.AnonymousUtils doesn't exist), so there is no JS unlink method.  However, if you really want to unlink the user from the anonymous authData, you can use the REST API (https://www.parse.com/docs/rest/guide#users-unlinking).  The Cloud Code equivalent is:

	Parse.Cloud.httpRequest({
	  method: 'PUT',
	  url: 'https://api.parse.com/1/users/' + yourUser.id,
	  body: '{ "authData": { "anonymous": null }}',
	  headers: {
	  	'Content-Type': 'application/json',
	  	'X-Parse-Application-Id': Parse.applicationId,
	  	'X-Parse-Master-Key': Parse.masterKey
	  }
	}).then(function(httpResponse) {
	  console.log(httpResponse.text);
	}, function(httpResponse) {
	  console.error('Request failed ' + httpResponse.status + ' ' + httpResponse.text);
	});

Let us know whether this workaround works!

Hi @stanleyw thanks for looking into it. Is it a bug then?
I will try the work around to try to fix up the signUp call.

Currently I have this code in my Android app to work around the bug:
    final ParseUser user = ParseUser.getCurrentUser();
    // hack: if we use the cloud function requestPasswordResetInBackgroundAnonymous to upgrade an anonymous user
    // then Parse still thinks its anonymous, so lets check the username and see if its set to an email address (which we would have done)
    // see: https://github.com/ParsePlatform/Parse-SDK-JS/issues/13
    if (!ParseAnonymousUtils.isLinked(user) || Fmt.isValidEmail(user.getUsername()) ) {

Thanks for the new info, dug into this more and realized that our iOS and Android SDKs strip the authData client-side.  See https://github.com/ParsePlatform/Parse-SDK-Android/blob/master/Parse/src/main/java/com/parse/ParseUser.java#L429
We'll look into doing the same for the JS SDK.

Great.


upload indicator api connection via certificats

Hello, I have read the documentation, but I do not see any mention made to the connection via certificate (to replace the secret). Is this possible?
Thanks
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 22a27692-7760-d91c-1a2e-cb529e2c4cac
Version Independent ID: 7692c9a5-5c8f-baba-9aff-474e8bd8d166
Content: Import threat intelligence with the upload indicators API - Microsoft Sentinel
Content Source: articles/sentinel/upload-indicators-api.md
Service: microsoft-sentinel
GitHub Login: @austinmccollum
Microsoft Alias: austinmc

@ATIOSA
Thanks for your feedback! We will investigate and update as appropriate.

Hi @ATIOSA
it seems that the Upload Indicators API for Microsoft Sentinel only supports authentication using Azure Active Directory (AAD) tokens with client secret or client certificate. There is no mention of using certificate-based authentication to replace the client secret.
Here is a quote from the documentation:
"To authenticate with the API, you need to acquire an Azure Active Directory (AAD) access token. You can use either a client secret or a client certificate to authenticate with AAD. For more information, see Authenticate with Azure Active Directory."
I hope this helps clarify the authentication options available for the Upload Indicators API. Let me know if you have any further questions!

#assign:austinmccollum

@ATIOSA yes, you should be able to use a client certificate.
Here's the correct quote from the article:
"In order to authenticate to Microsoft Sentinel, the request to the upload indicators API requires a valid Microsoft Entra access token."
Check out this article for more information on creating the access token with a certificate:
https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-client-creds-grant-flow#second-case-access-token-request-with-a-certificate
In the registered app, you need to upload the public key of the cert used.
https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#add-a-certificate
Let me know if that helps!

@ATIOSA
if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

@ATIOSA
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation


Migrate to Nuxt 3 or SvelteKit 1

P.S: This plan will be marked as BREAKING CHANGES. See description below for detailed information.
📄 Description
It's been a while since I commited my last commit on December 2022. Now it's already April 2023 and finally I'm coming back to re-maintain this project.
When doing setup on my local machine, I have started development server and what the f**k is going on here, dude. The layout is messed up and broken. I don't know, there may be significant and major changes in some dependencies that causes the layout is messed up. To be honest, the current layout is very bad and it's like a garbage-ish layout.
When this project is created, I used Bootstrap (sveltestrap) as styling for this project. Now I am mainly use TailwindCSS and bit confused with the Bootstrap system. I want to migrate this too, not gonna lie.
So, I have two options here. Migrating to Nuxt 3 or SvelteKit v1. I'm still deciding with these choices. For styling / CSS framework, I will use TailwindCSS.
The final product and solving of this issue is still unpredicted. I'm still searching for a spare time. Just wait for it by watching this repository!

Long time ago, I was saying will try to migrate to SvelteKit when it's stable release on v1 😨,
and now SvelteKit is on stable release.
https://github.com/gifaldyazkaa/aqua-fanpage/issues/112#issuecomment-1055043787


Refine some types related headers

Related Issue: #168
Signed-off-by: Ji Bin<EMAIL_ADDRESS>

/cc @yhmo
/cc @ArkaprabhaChakraborty

/lgtm


Upgrade sic to Rust edition 2021

With a new edition also comes a new MSRV, namely Rust 1.56, the first release which added support for edition 2021.

bors r+

bors r+

bors r+


Alias setNick to setNickname

Please describe the changes this PR makes and why it should be merged:
Alias setNick to setNickname, shortens the method name down by half making it easier to type
Semantic versioning classification:

[x] This PR changes the library's interface (methods or parameters added)

[ ] This PR includes breaking changes (methods removed or renamed, parameters moved or removed)

[ ] This PR only includes non-code changes, like changes to documentation, README, etc.

If you really want it just to do Discord.GuildMember.prototype.setNick = Discord.GuildMember.prototype.setNickname

no


[BUG] Model prefabs instances transformations are modified when saving/loading

Describe the bug
Some instances of some model prefabs, like cube.fbx, get their geoemtrical transformations modified when saving and then loading scene.
To Reproduce
Speak with @JorxSS.

@yalania To add some info on this issue, also if you try to change the name of a prefab instantiated and you save the scene, when you load the scene the name won't change correctly. And if you try to Apply changes the console will throw an error.

if you modify the transform by using gizmos is not applied, because the boolean modified_by_user needs to be set to true for this changes, and I don't know where does it change.

It happens modifying it with gizmos and with the inspector equally :(

steps to reproduce?

For the names we will want this to be able to change the names of prefabs gameobjects? If we want it I will need to add another flag

Mmm I think it can be useful yes! :D

Ok it is done in branch fix/prefabs_fixes


Watchers Count is 0

So... V3 API is somewhat strange.
watchers_count actually just shows how many people star the repo
subscribers_count used to show the watchers, seemingly it's been removed more recently from the organisation view and is being deprecated.
Ideally we could find the detail in the V3 app and fix the JSON capture on this app. Alternatively though we could move to the V4 API, this entails interaction with graphql though so would require reasonable amount of refactoring.

Query wise, I think you are looking for something like this:
query {
    repository(owner:"prometheus", name:"node_exporter") {
    releases {
      totalCount
    }
    forkCount
    stargazers {
      totalCount
    }
    issues(states:OPEN) {
      totalCount
    }
    pullRequests {
      totalCount
    }
    watchers {
      totalCount
    }
    isArchived
    isFork
    isLocked
    isPrivate
    licenseInfo {
      name
    }
    primaryLanguage {
      name
    }
  }
}```

which results in something like:

{
"data": {
"repository": {
"releases": {
"totalCount": 25
},
"forkCount": 646,
"stargazers": {
"totalCount": 2315
},
"issues": {
"totalCount": 53
},
"pullRequests": {
"totalCount": 692
},
"watchers": {
"totalCount": 141
},
"isArchived": false,
"isFork": false,
"isLocked": false,
"isPrivate": false,
"licenseInfo": {
"name": "Apache License 2.0"
},
"primaryLanguage": {
"name": "Go"
}
}
}
}

Updated with a more  complete query and fixed the formatting of the data, and setup the syntax highlighting for graphQL and JSON

Let me know if a PR is still of interest @Rucknar or if forking / a new repo would make more sense to build a V4 / GraphQL-based github exporter off of
👍


ENV keys and values are Vec

Follow up to GH-148.
This will mean decoding from OsStr to Vec<u8> on unix and windows.
On unix this is easy. On windows we'll need to transform between Vec<u16> and Vec<u8>. See this Ruby bug: https://bugs.ruby-lang.org/issues/12650.

This code (MIT License) uses the win32 API to convert back and forth between Vec<u8> and Vec<u16> and should be a good start for how to achieve this on windows.
https://github.com/bozaro/local-encoding-rs/blob/master/src/windows.rs

We should be able to do better than CRuby because we can extract the ENV vars and keys as well-formed UTF-8 Rust Strings via the std API and only fallback to BINARY if we have to dance through wchar_t.

The linked code is a tad old and it seems the way to do this now is only with winapi
https://github.com/retep998/winapi-rs


There is a red wavy line under the strings in text boxes

Storage Explorer Version: 1.18.0
Build Number: 20210306.4
Branch: main
Platform/OS: Windows 10/ Linux ubuntu 16.04/ MacOS Catalina
Architecture: ia32/x64
Regression From: Previous release (1.18.1)
Bug Description
There are a red line under the strings in text boxes.
Steps to Reproduce

Expand one storage account -> Blob Containers.
Create one blob container then right click it -> Select 'Properties...'
Click 'Add Metadata'.
Check there is no red line under the added metadata key.

Expected Experience
There is no red wavy line.
Actual Experience
There is a red wavy line.

Additional Context

This issue also reproduces for the default access policy id on the 'Access Policies' dialog.

This issue also reproduces for one Account key/ Service URI/Connection string/SAS URL to the 'Enter Connection Info' dialog.

This issue also reproduces for the 'Clone' blob dialog.

Fix merged into main


Allow both motion and finger rotation?

Is it possible to have both rotation methods?
Or perhaps, an "auto" mode that changes from finger to motion if certain movement is detected?

@cristianoccazinsp good job
is this pull request included in the library or not yet ?
am waiting for it

I don't think it has been merged yet. In fact, it was closed without merging, so my guess is that the library owner doesn't want the change at all.  We have been thinking about vendoring this library into the parent library (https://github.com/lightbasenl/react-native-panorama-view which also hasn't finished the changes yet), but haven't had time to do that yet.

Hi @cristianoccazinsp, I've used your solution for handling both, gestures and motion and it works quite nice! Thank you for such a contribution. May I ask you, maybe you can help me a lot, did you know how to set startAngle - the offset for panorama even when we talking about spherical one? In your solution, there is no starting angle used when we talking about spherical panorama. It would be very nice if you can share your thoughts! Thanks!

I believe there was a hardcoded initial value somewhere in the code. I haven’t worked on that for a long one so I’m not sure. We’ve also ended up censoring this library into a react native project so it is also a bit outdated.

Hey @cristianoccazinsp, sorry for the extremely late response. I wasn't really be able to spend time on this lib for the last year.
I can see that you still have a PR waiting to be merged: https://github.com/scihant/CTPanoramaView/pull/54
I'll update the project for XCode 13 next week, and also check if that PR works correctly (it doesn't have any conflicts so it should be fine) and then merge it before creating a new release.

Hey @cristianoccazinsp, sorry for the extremely late response. I wasn't really be able to spend time on this lib for the last year.
I can see that you still have a PR waiting to be merged: #54
I'll update the project for XCode 13 next week, and also check if that PR works correctly (it doesn't have any conflicts so it should be fine) and then merge it before creating a new release.

What a great news! Do you plan to add a offset / compass calibration to the new version as well?

@PeHk im not currently working on it, but you may see the related work in this library, perhaps the maintainer is willing to work on it:
https://github.com/lightbasenl/react-native-panorama-view

@PeHk  I had developed this lib because I needed it for one of my projects and there was none available. So I open sourced it so that other people can make use of it too, but I don't really do much about it anymore other than occasionally updating it with each new release of iOS and merging PRs.

Now that the PR is merged, I'm closing this issue.


sched/sched/sched_timerexpiration: idle task no need RR time slice

Round robin timeslice will not run on idle task
Summary
Low Energy device always use SCHED_TICKLESS mode, staying in idle mode as long as possible.
All thread runing on default priority is very popular in real multi thread program. Round robin timeslice is useful in that scenario to make sure all thread have chance to run, especially small RR_INTERVAL.
On the other hand, small RR_INTERVAL will break the idle task frequently. We should not split the idle task timeslice.
Impact
Idle task will run maximum tick if possible, and it just wakeup by task switch operation.
Testing
boards/arm/nrf52/nrf52840-dk/configs/nsh work as expected when SCHED_TICKLESS enable

idle always use TCB_FLAG_SCHED_FIFO policy, so we don't need special handle it.


Allow people to opt out of telemetry.

Closes #766.

I'm okay with this change, though as I said in #766, I do think it's a bit overkill since the data we're gathering isn't personally identifying in any way.
IMO, one thing we should change: if the user opts out of telemetry, we should still send the most basic info: (1) the randomly-generated user id (so we can count total number of users) and (2) the app version (so we can ensure the auto-updater works).
The rest of the info derived from the user's system should be excluded (like screen size, operating system, local time, approx. number of torrents, etc.)
@dcposch - what do you think?

Just make this feature a version 5.0 milestone 😆

@mathiasvr :trollface:

Not sure if this is still necessary: there doesn't seem to be much demand for opting out of telemetry, and also the data collected is not personal information and does not compromise the user. What do you all think?

Agreed. Let's close this for the time being.


Add documentation page

Documentation page for IOTA Identity
Deploys /docs content to http://identity.docs.iota.org on dev branch changes.

Something I have been wondering is why its called libraries and not bindings?

Something I have been wondering is why its called libraries and not bindings?

Good question! My thoughts about this:
A "binding" is used to "bind" a function from one programming languages to another, right?
So "bindings" are a collection of many of these functions. A library is also defined, as a collection of functions - and an often used term.
So the idea here is to tell the readers: "hey developers, here are the libraries for your programming languages". They don't need to know, that we did binded them in the background.
What do you think?

Good question! My thoughts about this:
A "binding" is used to "bind" a function from one programming languages to another, right?
So "bindings" are a collection of many of these functions. A library is also defined, as a collection of functions - and an often used term.
So the idea here is to tell the readers: "hey developers, here are the libraries for your programming languages". They don't need to know, that we did binded them in the background.
What do you think?

Compare this: https://github.com/shadowmint/rust-plibsys-sys with https://github.com/saprykin/plibsys
plibsys-sys
This is a rust binding for the excellent plibsys library:
My point is that there is an original library, that is in this case the Rust Library. It is the canonical source of code truth. Then you have foreign function interfaces or bindings that are technically libraries, but your approach here would put rust and nodejs and java and python all on the same level, which in my opinion is incorrect.

Compare this: https://github.com/shadowmint/rust-plibsys-sys with https://github.com/saprykin/plibsys
plibsys-sys
This is a rust binding for the excellent plibsys library:
My point is that there is an original library, that is in this case the Rust Library. It is the canonical source of code truth. Then you have foreign function interfaces or bindings that are technically libraries, but your approach here would put rust and nodejs and java and python all on the same level, which in my opinion is incorrect.

Further complicating matters, at least in the case of stronghold (sorry for threadjacking @JelleMillenaar ) is that we have a number of libraries within the project. So I as a user would expect to find documentation about the individual libraries. In the case of stronghold, the bindings documentation will be MUCH, MUCH leaner than the libraries documentation, for the simple purpose that we will never expose all the library internals to the bindings (or the top level client for that matter.)

Further complicating matters, at least in the case of stronghold (sorry for threadjacking @JelleMillenaar ) is that we have a number of libraries within the project. So I as a user would expect to find documentation about the individual libraries. In the case of stronghold, the bindings documentation will be MUCH, MUCH leaner than the libraries documentation, for the simple purpose that we will never expose all the library internals to the bindings (or the top level client for that matter.)

but your approach here would put rust and nodejs and java and python all on the same level, which in my opinion is incorrect.
I agree, technically its not correct to bring it on the same level - but for the usage level, there is no difference, right? So developers just need to know, which programming languages we are supporting (not how we do this).
For Example: As an javascript developer, i just install it via "npm install" and want to get started and use the library. I don't want to know, how it's works in the background or even how we build it (and if they really want, it's described in the repository README's).
If i did miss something here, i just will replace "libraries" with "bindings" to prevent further complications :)

but your approach here would put rust and nodejs and java and python all on the same level, which in my opinion is incorrect.
I agree, technically its not correct to bring it on the same level - but for the usage level, there is no difference, right? So developers just need to know, which programming languages we are supporting (not how we do this).
For Example: As an javascript developer, i just install it via "npm install" and want to get started and use the library. I don't want to know, how it's works in the background or even how we build it (and if they really want, it's described in the repository README's).
If i did miss something here, i just will replace "libraries" with "bindings" to prevent further complications :)

I think you need both, and my point stands. Just because something is documented in a library does not mean that a binding is required to have the same interface. That is a design decision and not prescriptive.
Just look here: https://github.com/iotaledger/identity.rs/blob/c1e7b2024ca3f480778cff0dd1551d9a1bdced68/identity-core/Cargo.toml#L2
That is a library. And it should be explicitly documented in /docs/libraries
Currently, and I am assuming its just temporary, you are not, in fact, pulling in the identity-diff crate here: https://github.com/iotaledger/identity.rs/blob/c1e7b2024ca3f480778cff0dd1551d9a1bdced68/bindings/wasm/Cargo.toml#L18-L19
So my argument stands:

one folder for bindings
one folder for libraries

I think you need both, and my point stands. Just because something is documented in a library does not mean that a binding is required to have the same interface. That is a design decision and not prescriptive.
Just look here: https://github.com/iotaledger/identity.rs/blob/c1e7b2024ca3f480778cff0dd1551d9a1bdced68/identity-core/Cargo.toml#L2
That is a library. And it should be explicitly documented in /docs/libraries
Currently, and I am assuming its just temporary, you are not, in fact, pulling in the identity-diff crate here: https://github.com/iotaledger/identity.rs/blob/c1e7b2024ca3f480778cff0dd1551d9a1bdced68/bindings/wasm/Cargo.toml#L18-L19
So my argument stands:

one folder for bindings
one folder for libraries

I just found this: https://github.com/rust-lang/rust-bindgen

bindgen automatically generates Rust FFI bindings to C (and some C++) libraries.

rust-lang also use the wording "libraries" for the result of the Rust FFI bindings.

Okay, having both is nice :)
But not sure yet, what i should add into the bindings folder.
Where comes the docs.rs documentation into the game? Is this maybe the missing part of documentation here?

I just found this: https://github.com/rust-lang/rust-bindgen

bindgen automatically generates Rust FFI bindings to C (and some C++) libraries.

rust-lang also use the wording "libraries" for the result of the Rust FFI bindings.

Okay, having both is nice :)
But not sure yet, what i should add into the bindings folder.
Where comes the docs.rs documentation into the game? Is this maybe the missing part of documentation here?

I think you are misunderstanding a little bit here how they are using the word library. In a C library you would attach to the rust bindings prepared for C.
But I do agree, I think that having the rustdocs in the /libraries section would be an easy win. Not sure how best to wire that up though.

I think you are misunderstanding a little bit here how they are using the word library. In a C library you would attach to the rust bindings prepared for C.
But I do agree, I think that having the rustdocs in the /libraries section would be an easy win. Not sure how best to wire that up though.


Handling User Task, just to save task information not to mark complete, it sets taskState as null

Describe the bug
I am trying to just capture UserTask information. However when handler completes, it marks taskState null, not sure why. Please see the below code snippet.

        private void HandleUserTasks()
        {
            CreateWorker("io.camunda.zeebe:userTask", async (jobClient, job) =>
            {
               //// just saving job info in database
                if (!await userTaskService.IsUserTaskExists(job.Key))
                {
                    await userTaskService.SaveUserTask(job);
                }

            });
        }

        private void CreateWorker(string jobType, JobHandler handleJob)
        {
            zeebeClient.NewWorker()
                    .JobType(jobType)
                    .Handler(handleJob)
                    .MaxJobsActive(5)
                    .Name(jobType)
                    .PollInterval(TimeSpan.FromSeconds(50))
                    .PollingTimeout(TimeSpan.FromSeconds(50))
                    .Timeout(TimeSpan.FromSeconds(10))
                    .Open();
        }

If, I do not use the handler, its working fine. To reproduce this issue, just add a handler on user task, do not do anything. You will see in the Operate UI task is still active, but in TaskList UI it will disappear. Even if you try to complete or assign this task it will through taskState null error. This only happens we we add handler on user Task.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Enviroment (please complete the following information):

OS: Windows
Version 11
Package version- 1.2.1

Additional context
Add any other context about the problem here.

I have the issue, When this happens the task is unable to be completed


Problem running kinect2_viewer

The package worked with kinect2_calibration (I finished with calibration) but, when I try to run kinect2_viewer I get the following error from gdb:
Starting program: /home/klajdo/catkin_ws/devel/lib/kinect2_viewer/kinect2_viewer
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19-gdb.py", line 63, in <module>
    from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named 'libstdcxx'

Program received signal SIGSEGV, Segmentation fault.
0x00007fffe8379dfc in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4

Any idea?
Thanks in advance.

Compile it in debug, run it with gdb and paste a stack trace here.
Are you using the opencv version from the ubuntu repositories or a different one? If you are not using the one from ubuntu, change to that version and try again.

Thank you for the quick reply. The above is in debug mode, and it is the stack trace from gdb.
I have installed opencv 2.4.11 from the official site of opencv and followed the steps from the following site:
https://help.ubuntu.com/community/OpenCV

use the one from the official ubuntu repositories. sudo apt-get install opencv-dev

I am sorry but, do you mean libopencv-dev because I can't find any opencv-dev?

yes

I have already installed it; probably that may be the problem because I have both libraries installed. I will try to uninstall opencv 2.4.11.

Thanks man; it works perfectly. I just run make uninstall in the build folder of opencv-2.4.11 directory

what problems do you have?

Sorry... When I run rosrun kinect2_viewer kinect2_viewer hd cloud I get the following message:
topic color: /kinect2/hd/image_color_rect
topic depth: /kinect2/hd/image_depth_rect
starting receiver...
Segmentation fault (core dumped)

Then when I run gdb I get frames but, with the following message:
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19-gdb.py", line 63, in <module>
    from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named 'libstdcxx'
[New Thread 0x7fffced21700 (LWP 14263)]
topic color: /kinect2/qhd/image_color_rect
topic depth: /kinect2/qhd/image_depth_rect
[New Thread 0x7fffcdac2700 (LWP 14265)]
[New Thread 0x7fffcd2c1700 (LWP 14266)]
[New Thread 0x7fffccac0700 (LWP 14267)]
[New Thread 0x7fffc7fff700 (LWP 14272)]
starting receiver...
[New Thread 0x7fffc71b8700 (LWP 14299)]
[New Thread 0x7fffc69b7700 (LWP 14300)]
[New Thread 0x7fffc61b6700 (LWP 14301)]
[New Thread 0x7fffc59b5700 (LWP 14302)]
[New Thread 0x7fffc51b4700 (LWP 14303)]
[New Thread 0x7fffc49b3700 (LWP 14304)]
[New Thread 0x7fffa7fff700 (LWP 14305)]
[New Thread 0x7fffa77fe700 (LWP 14306)]
[New Thread 0x7fffa5f2a700 (LWP 14308)]
[New Thread 0x7fffa5729700 (LWP 14309)]
[New Thread 0x7fffa4f28700 (LWP 14310)]
[New Thread 0x7fff97fff700 (LWP 14311)]
[New Thread 0x7fff977fe700 (LWP 14312)]
[New Thread 0x7fff96ffd700 (LWP 14313)]
[New Thread 0x7fff967fc700 (LWP 14314)]
[setPointCloudRenderingProperties] Could not find any PointCloud datasets with id <rendered>!

so rosrun kinect2_viewer kinect2_viewer hd image is working fine? If so than the problem is probably related to the pcl visualizer. The cloud with the id rendered should be added first. I don't see why it shouldn't.
Remove the devel and build folder cd <catkin_ws>, rm -rf devel build and then catkin_make -DCMAKE_BUILD_TYPE=Debug. Then start it again with gdb and do a bt after it failed.

Exactly rosrun kinect2_viewer kinect2_viewer hd image works fine.
Now I did catkin_make -DCMAKE_BUILD_TYPE="Debug" in the workspace after deleting devel and build. Then when I run rosrun kinect2_viewer kinect2_viewer hd cloud and I get the following message but, also I get frames:
[setPointCloudRenderingProperties] Could not find any PointCloud datasets with id <rendered>!

both when I run simple rosrun and gdb. By the way bt has no stack.
The message from gdb
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19-gdb.py", line 63, in <module>
    from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named 'libstdcxx'
[New Thread 0x7fffce60f700 (LWP 6549)]
topic color: /kinect2/qhd/image_color_rect
topic depth: /kinect2/qhd/image_depth_rect
[New Thread 0x7fffcd3b0700 (LWP 6551)]
[New Thread 0x7fffccbaf700 (LWP 6552)]
[New Thread 0x7fffc7fff700 (LWP 6553)]
[New Thread 0x7fffc77fe700 (LWP 6558)]
starting receiver...

As I said, there should be a cloud added with that name. Only thing you could check is whether the cloud that is added is valid.

I am sorry for the late response. You are right. Thanks a lot for the help