Error installing shapely via pip on MacOS Big Sur and Python 3.9

Expected behavior and actual behavior.
Would like to see Shapely install on MacOS BigSur and Python 3.9
Steps to reproduce the problem.
pip install shapely
Operating system
MacOS Big Sur
Shapely version and provenance
Shapely 1.7.1
Details
Output from install:
(venv) @Pauls-Mac-mini arcade % pip install shapely
Collecting shapely
  Downloading Shapely-1.7.1.tar.gz (383 kB)
     |████████████████████████████████| 383 kB 4.5 MB/s
    ERROR: Command errored out with exit status 1:
     command: /Users/paulcraven/PycharmProjects/arcade/venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/np/f6_qtx353lnblsj211k_291c0000gn/T/pip-install-k3hv2ed2/shapely/setup.py'"'"'; __file__='"'"'/private/var/folders/np/f6_qtx353lnblsj211k_291c0000gn/T/pip-install-k3hv2ed2/shapely/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/np/f6_qtx353lnblsj211k_291c0000gn/T/pip-pip-egg-info-spht05a3
         cwd: /private/var/folders/np/f6_qtx353lnblsj211k_291c0000gn/T/pip-install-k3hv2ed2/shapely/
    Complete output (12 lines):
    Failed `CDLL(/Library/Frameworks/GEOS.framework/Versions/Current/GEOS)`
    Failed `CDLL(/opt/local/lib/libgeos_c.dylib)`
    Failed `CDLL(/usr/local/lib/libgeos_c.dylib)`
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/np/f6_qtx353lnblsj211k_291c0000gn/T/pip-install-k3hv2ed2/shapely/setup.py", line 85, in <module>
        from shapely._buildcfg import geos_version_string, geos_version, \
      File "/private/var/folders/np/f6_qtx353lnblsj211k_291c0000gn/T/pip-install-k3hv2ed2/shapely/shapely/_buildcfg.py", line 190, in <module>
        lgeos = load_dll('geos_c', fallbacks=alt_paths)
      File "/private/var/folders/np/f6_qtx353lnblsj211k_291c0000gn/T/pip-install-k3hv2ed2/shapely/shapely/_buildcfg.py", line 162, in load_dll
        raise OSError(
    OSError: Could not find library geos_c or load any of its variants ['/Library/Frameworks/GEOS.framework/Versions/Current/GEOS', '/opt/local/lib/libgeos_c.dylib', '/usr/local/lib/libgeos_c.dylib']
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
(venv) paulcraven@Pauls-Mac-mini arcade %

This is a known issue. Dear everyone, please refrain from making "me too" comments. There is no need. Here is the heart of the matter: there is no binary wheel for any version of osx and python 3.9 on PyPI: https://pypi.org/project/Shapely/#files. We don't have a job for this yet in https://github.com/shapely/shapely-wheels/blob/master/.travis.yml#L86, but will overcome that soon.
And there's another issue, Python 3.9 is not ready for macOS 11.0. See https://github.com/pypa/packaging/pull/319#issuecomment-733290582. There's nothing the shapely project can do about that but wait and upgrade its build infrastructure after there are new releases.

@sgillies Is there anything blocking the addition of a Python 3.9 build for Linux?

@AlbertWigmore there were multiple blockers: I was tied up by something big at work and python 3.9 wheels required a new version of auditwheel, which required a shapely hotfix. Good news: Shapely-1.7.1-cp39-cp39-manylinux1_x86_64.whl is at https://pypi.org/project/Shapely/1.7.1/#files now. This also unblocks a release of rasterio 1.2b1 for Python 3.9.
On the macos front: our Travis CI infra can't build wheels for Python 3.9 and those will have to wait until we can switch to GitHub Actions or AppVeyor.

@AlbertWigmore there were multiple blockers: I was tied up by something big at work and python 3.9 wheels required a new version of auditwheel, which required a shapely hotfix. Good news: Shapely-1.7.1-cp39-cp39-manylinux1_x86_64.whl is at https://pypi.org/project/Shapely/1.7.1/#files now. This also unblocks a release of rasterio 1.2b1 for Python 3.9.
On the macos front: our Travis CI infra can't build wheels for Python 3.9 and those will have to wait until we can switch to GitHub Actions or AppVeyor.

@sgillies For me (Ubuntu/PopOS 20.04, Python 3.9) this wheel causes issues. I spend the last hour trying to find out why the Shapely 1.7.1 that I installed to a virtual environment last week was working, but the new virtual environment today with the same version was not working. I found it was because of the new wheel for shapely, which causes an OSError for me.
This seems to be because installing the wheel, causes a 'Shapely.libs' directory with .so files to be created in the 'site-packages' directory. When I delete the 'Shapely.libs' directory manually, it starts working again. Below a replication of the issue, by installing from source first, and then installing from the wheel.
To replicate, I first install it with the --no-binary, which means it builds from source (I have the 'libgeos-dev' ubuntu package installed). When I remove that and install from the wheel, the Shapely.libs directory is created, and an error occurs:
(.env) brouwer@thinkpad-tom:~/$ pip install shapely --no-cache-dir --no-binary :all:
Collecting shapely
  Downloading Shapely-1.7.1.tar.gz (383 kB)
     |████████████████████████████████| 383 kB 7.6 MB/s
Skipping wheel build for shapely, due to binaries being disabled for it.
Installing collected packages: shapely
    Running setup.py install for shapely ... done
Successfully installed shapely-1.7.1
(.env) brouwer@thinkpad-tom:~/$ python
Python 3.9.1 (default, Dec  8 2020, 02:26:20)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from shapely import geometry
>>> exit()

(.env) brouwer@thinkpad-tom:~/$ pip uninstall shapely
Found existing installation: Shapely 1.7.1
Uninstalling Shapely-1.7.1:
  Would remove:
    /home/brouwer/OpenDaL/repositories/ingestion-and-transformation/.env/lib/python3.9/site-packages/Shapely-1.7.1-py3.9.egg-info
    /home/brouwer/OpenDaL/repositories/ingestion-and-transformation/.env/lib/python3.9/site-packages/shapely/*
Proceed (y/n)? y
  Successfully uninstalled Shapely-1.7.1

(.env) brouwer@thinkpad-tom:~/OpenDaL/repositories/ingestion-and-transformation$ pip install shapely --no-cache-dir
Collecting shapely
  Downloading Shapely-1.7.1-cp39-cp39-manylinux1_x86_64.whl (1.0 MB)
     |████████████████████████████████| 1.0 MB 6.4 MB/s
Installing collected packages: shapely
Successfully installed shapely-1.7.1

(.env) brouwer@thinkpad-tom:~/$ python
Python 3.9.1 (default, Dec  8 2020, 02:26:20)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from shapely import geometry
/home/brouwer/OpenDaL/repositories/ingestion-and-transformation/.env/lib/python3.9/site-packages/Shapely.libs/libgeos_c-a68605fd.so.1.13.1
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/brouwer/OpenDaL/repositories/ingestion-and-transformation/.env/lib/python3.9/site-packages/shapely/geometry/__init__.py", line 4, in <module>
    from .base import CAP_STYLE, JOIN_STYLE
  File "/home/brouwer/OpenDaL/repositories/ingestion-and-transformation/.env/lib/python3.9/site-packages/shapely/geometry/base.py", line 19, in <module>
    from shapely.coords import CoordinateSequence
  File "/home/brouwer/OpenDaL/repositories/ingestion-and-transformation/.env/lib/python3.9/site-packages/shapely/coords.py", line 8, in <module>
    from shapely.geos import lgeos
  File "/home/brouwer/OpenDaL/repositories/ingestion-and-transformation/.env/lib/python3.9/site-packages/shapely/geos.py", line 81, in <module>
    CDLL(geos_whl_so[0])
  File "/usr/lib/python3.9/ctypes/__init__.py", line 375, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libgeos--no-undefined-b94097bf.so: cannot open shared object file: No such file or directory
>>>

Can you investigate this?

The Linux issue above is separate from the original issue in this thread. The OSX one appears during install due to no wheel, whilst the Linux one appears during load due to an issue with the Linux wheel. The below is specific to the Linux issue, which I think should be split to a separate issue:
At least for Linux, the error appears somewhat random as it depends on the return order of glob, which has no guarantees of determinism:
    geos_whl_so = glob.glob(
        os.path.abspath(os.path.join(os.path.dirname(__file__), ".libs/libgeos*.so*"))
    ) or glob.glob(
        os.path.abspath(
            os.path.join(
                os.path.dirname(__file__), "..", "Shapely.libs", "libgeos*.so*"
            )
        )
    )

    if len(geos_whl_so) > 0:
        CDLL(geos_whl_so[0])
        _lgeos = CDLL(geos_whl_so[-1])
        LOG.debug("Found GEOS DLL: %r, using it.", _lgeos)

If glob returns the filenames in one order, it will try to load the wrong .so file first and hence fail due to trying to load the second .so file automatically. If glob returns in the opposite order, the .so files will be loaded in the correct way and there will be no error.
I can't determine where the above code (copied from geos.py) has come from, as the tagged 1.7.1 version and master has a different set of code for loading the shared libs.

@aaliddell you're right. See https://github.com/Toblerity/Shapely/pull/1047#issuecomment-745482654 about the fix.

For those who can't wait for an official wheel, you install with pip after installing geos with brew: brew install geos.

For those who can't wait for an official wheel, you install with pip after installing geos with brew: brew install geos.

Hello all. Is there an updated status on this issue?
With my project, I'm in the uncomfortable situation where I can't recommend Python 3.9 because of the installation difficulties (GEOS must be manually installed beforehand on macOS, which is more difficult than it sounds for my user base), while 3.9.1 is the only version that supports Big Sur (and widely advertised as such). I suspect I might not be alone given how popular Shapely is as a dependency.
What is blocking macOS binaries now that Big Sur support is available in 3.9.1? Is there anything I could help with to advance this? FWIW, I have access to both Catalina and Big Sur computers, although not a M1 one.

@abey79 I was stymied by some some MacOS and multibuild issues but just got unblocked today. Can you give the brand new https://pypi.org/project/Shapely/1.7.1/#copy-hash-modal-c3c62d2d-1c75-4c86-96e2-9093f5ba43cf a try?
We don't have a solution for M1 yet, nor a plan other than to follow what Numpy et al are doing.

Awesome news!
It did work as expected on a (relatively clean) mac running Big Sur, and my mac 3.9 pipeline (https://github.com/abey79/vpype/pull/115/checks?check_run_id=1809539708) went through without error either.
Is there somewhere I can read about Numpy's plan for M1? Will a M1 native python (3.9.1) install package with x86 binaries and let rosetta do its magic?

This will be fixed in 1.8.1.


A few feature improvements

Update azure vendor packages
Add SAS option for ABS auth
Able to save more than 500MB blob block, now the limit is 4G.
PrepareSeeds on creation if there is no backup policy specified
I was able to use a SAS generated from az storage container generate-sas, and feed it into abs-secrets, all functions are working well.

Thx @rite2nikhil for reviewing. I won't take your two nits. Because this piece code is copied from coreos/etcd-operator repo without change. (There shouldn't be diff). I am inclined to keep them the same.
For the other comment, what I am doing there is to use ListBlob to perform Exists function. It is weird. But needed. This PR is basically to enable SAS and scope the permissions to container. Somehow containerRef.Exists is not a container scope function, containerRef.ListBlob is.
To make it simple, if we are using container SAS, containerRef.Exists will return 403.
I have to wrote it adapt to ABS SAS design, which is weird already :)

@vdice yeah, I did separate etcd-operator testing in my manually setup. I will do integration test with RP/HCP along with bumping the etcd-operator version


Add filter by Date added

This is a feature request.
Is it possible to have date column or any button to filter the Combos by date added ?
Thanks.
Hiren.

Hi.
Thanks for the suggestion. I want to keep the interface as simple a possible, so this is unlikely to happen in the near future.


Broken stats graph

When amount of pizzas hits zero, the graph gets broken. The data points are no longer sorted chronologically, but they are all around the place.

Thanks for reporting! :pizza:
Although I've encountered this issue occasionally, I haven't been able to reproduce it consistently. So at this time I'm not sure what the problem is.
Please note that, due to the ongoing closed-source development (refer to the updated readme), I might not implement the fix in this repository.

Hey! No worries, glad to be of help.
Yeah, I could not determine myself if it was funky data from API or the funky use of the library, (or something entirely else) that causes the bug. It's rather tricky.
No worries about that either, thanks for updating the readme!


18 approve token command

📝 Issue
Resolves #18
📖 Notes
Run command and please check tests.

Hey @ceres3idoo I also noticed that in the Erc20TokenService approveTrasferAsync the param tokenAddress is not used.


FancyZones: zones are one pixel off on right and bottom borders.

Environment
PowerToys version: 0.16.0
PowerToy module for which you are reporting the bug (if applicable): FancyZones

Steps to reproduce
Choose a full screen template and choose no space around zones.
Use the template and you'll notice that on the bottom and on the right the border if off by one pixel.
It can be also reproduces with a custom zone placed at the bottom or the right border.
Screenshots

Fixed in v.0.17 https://github.com/microsoft/PowerToys/releases


Editing sdk

Edited flow nodes, github actions, quest resources. (Supported skills did not need to be edited). Numbered the Quest Resource pages.

I thought it was a duplicate (sorry)


[WIP] Fix large k bug

As discovered and diagnosed by @ammedmar, _steenrod_barcode_single_dim does not work with k > 1 because it assumes that the birth indices of cohomology representatives are a subset of the simplex indices in one dimension lower than the one in which the reduction is currently happening.

@ammedmar in the notebook, it says "Notice (below) that the steenrod matrix has only one non-zero column."  I'm not sure I understand.  The Steenrod matrix has many non-zero columns in degree 4.

Yes, my bad. There are 6 non-zero columns in the Steenrod matrix. So at most there could be 6 Sq^2-bars in degree 4, but there are many more.

I've pushed a fix.  The problem was that I was forgetting to ensure that all remaining Steenrod columns are reduced at the very last iteration in the outer for loop.  Please check!

Unfortunately, it did not fix all problems. I added more examples to the cp2 notebook. There are still weird infinite Sq^2-bars.

Great!  OK if I remove all the debugging material (notebooks, data) from this PR?

Yes :-)


can't launch hostsman

I have it installed in a virtual environment, but when I try to launch it I get "order not found".

P.S.: colorama and Pygments are also installed.

@daviddoji which operation system are you using?

The reason is that the path where the hostsman installed is not in you $PATH environment variable.
When installing hostsman on linux, use sudo pip install hostsman, because it will need R/W permission for the /etc/hosts file, so  always runsudo hostsman ..., or grant yourself the Write permission for /etc/hosts file.


Adding a script  inside a post

How could I add insert a d3js script inside a post which would show me the charts there .

Please use http://discuss.gohugo.io/ for questions/troubleshooting. Also see  Hugo Documentation.


Release v0.3.3

Full release instructions are at: RELEASE.md
Pre Release

[ ] Check mediatype version of Bundle, updating for major/minor releases
[ ] Check mediatype version of TrustedRoot, updating for major/minor releases
[ ] Update CHANGELOG
[ ] Update pyproject.toml so the version matches the targeted release
[ ] Update package.json so the version matches the targeted release
[ ] Update version.rb so the version matches the targeted release
[ ] Update Cargo.toml so the version matches the targeted release

Tag Release

[ ] v<version>
[ ] release/java/v<version>
[ ] release/python/v<version>
[ ] release/ruby/v<version>
[ ] release/rust/v<version>
[ ] release/typescript/v<version>
[ ] release/jsonschema/v<version>

Publish Release

[ ] Java to Maven Central

Verify Releases Published

[ ] Java
[ ] Python
[ ] Ruby
[ ] Rust
[ ] Typescript

I don't think we should do this before the new year, but wanted to queue this up for next year. There's a few changes we've made since May that haven't been released.

Need to figure out https://github.com/sigstore/protobuf-specs/issues/444 before release


Email for Dayton Ohio

body copied from Columbus email via defund12.org , revised with Dayton specific proposed budget figures
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Subject line: Request by the people of Dayton
Hello, my name is [NAME] and I live in [CITY/NEIGHBORHOOD].
WE ARE JOINING TOGETHER TO DEMAND THAT YOU, OUR LOCAL OFFICIALS, WILL:

Vote no on all increases to police budgets
Vote yes to decrease police spending and budgets
Vote yes to increase spending on Health care, education and community programs that keep us safe.

In Dayton, the current proposed budget for Economic and Community Development is $23,051,900 (a near $500,000 decrease from 2019). Our proposed budget for Justice is $66,557,400. We are asking you to stand in solidarity with your community by decreasing  the budget for Justice in 2021 and redistributing those funds.
Where could that money go? It could go towards building healthy communities, to the health of our elders and children,to neighborhood infrastructure, to education, to childcare, to support a vibrant Black future. The possibilities are endless.
Black communities across the nation are mourning the deaths of George Floyd, tortured to death by Minneapolis police, Ahmaud Arbery, a jogger who was killed while running in a residential neighborhood in Brunswick, Georgia, Breonna Taylor an EMT killed while asleep in her bed in Louisville,KY, Dreasjon Reed in Indianapolis and Tony McDade in Tallahassee. Their names are added to a devastatingly long list of Black people who have been killed at the hands of vigilantes or law enforcement. Not to mention the others whose names we don’t yet know, and may never know since they were killed without a camera recording it.
At the same time, the United States leads the world in COVID-19 cases. So far, more than 100,000 people — enough to fill a football stadium– have perished from the virus,with over one million cases confirmed, and those numbers don’t reflect all the people dying from virus-related illnesses.  It is important to state this within the context of the scourge of anti-Black police terror and the resulting uprisings taking place across the U.S.
The COVID-19 deaths and the deaths caused by police terror are connected and consequential to each other. The United States does not have a national healthcare system. Instead, we have the largest military budget in the world, and some of the most well-funded and militarized police departments in the world, too. Policing and militarization overwhelmingly dominate the bulk of national and local budgets. In fact, police and military funding has increased every single year since 1973, and at the same time, funding for public health decreased every year, crystallized most recently when the Trump administration eliminated the US Pandemic Response Team in 2018, citing “costs”.
Black communities are living in persistent fear of being killed by state authorities like police, immigration agents or even white vigilantes who are emboldened by state actors. According to the Urban Institute, in 1977, state and local governments spent $60 billion on police and corrections . In 2017, they spent $194 billion. A 220 percent increase. Despite continued profiling, harassment, terror and killing of Black communities, local and federal decision-makers continue to invest in the police, which leaves Black people vulnerable and our communities no safer.
We join in solidarity with the freedom fighters in Minneapolis, Louisville, and across the United States. And we call for the end to police terror.
Sincerely, The People of Dayton, OH [NAME] [PHONE_NUMBER] [EMAIL] [ADDRESS]

reviewing now

Some edits here:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Subject line: Request by the people of Dayton
Hello, my name is [NAME] and I live in [CITY/NEIGHBORHOOD].
I join with people in Dayton and around the world to demand that you, our local officials, will:
Vote no on all increases to police budgets.
Vote yes to decrease police spending and budgets.
Vote yes to increase spending on health care, education and community programs that keep us safe.
In Dayton, the current proposed budget for Economic and Community Development is $23,051,900 (a near $500,000 decrease from 2019). Our proposed budget for Justice is $66,557,400. I am asking you to stand in solidarity with your community by decreasing the budget for Justice in 2021 and redistributing those funds.
Where could that money go? It could go towards building healthy communities, to the health of our elders and children,to neighborhood infrastructure, to education, to childcare, to support a vibrant Black future. The possibilities are endless.
Black communities across the nation are mourning the deaths of George Floyd, tortured to death by Minneapolis police; Ahmaud Arbery, a jogger who was killed while running in a residential neighborhood in Brunswick, Georgia; Breonna Taylor, an EMT killed while asleep in her bed in Louisville, KY; Dreasjon Reed in Indianapolis; and Tony McDade in Tallahassee. Their names are added to a devastatingly long list of Black people who have been killed at the hands of vigilantes or law enforcement. Not to mention the others whose names we don’t yet know, and may never know since they were killed without a camera recording it.
At the same time, the United States leads the world in COVID-19 cases. So far, more than 100,000 people — enough to fill a football stadium– have perished from the virus,with over one million cases confirmed, and those numbers don’t reflect all the people dying from virus-related illnesses.  It is important to state this within the context of the scourge of anti-Black police terror and the resulting uprisings taking place across the U.S.
The COVID-19 deaths and the deaths caused by police terror are connected and consequential to each other. The United States does not have a national healthcare system. Instead, we have the largest military budget in the world, and some of the most well-funded and militarized police departments in the world, too. Policing and militarization overwhelmingly dominate the bulk of national and local budgets. In fact, police and military funding has increased every single year since 1973, and at the same time, funding for public health decreased every year, crystallized most recently when the Trump administration eliminated the US Pandemic Response Team in 2018, citing “costs.”
Black communities are living in persistent fear of being killed by state authorities like police, immigration agents or even white vigilantes who are emboldened by state actors. According to the Urban Institute, in 1977, state and local governments spent $60 billion on police and corrections . In 2017, they spent $194 billion. A 220 percent increase. Despite continued profiling, harassment, terror and killing of Black communities, local and federal decision-makers continue to invest in the police, which leaves Black people vulnerable and our communities no safer.
I join in solidarity with the freedom fighters in Minneapolis, Louisville, and across the United States. And I call for the end to police terror.
Sincerely,
[NAME]
[PHONE_NUMBER]
[EMAIL]
[ADDRESS]

on it

THANK YOU!!!
Sent from my iPhone

On Jun 10, 2020, at 11:01 PM, bing bong<EMAIL_ADDRESS>wrote:

Closed #902 via #1257.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Attributes on dynamic endpoints can't be non-volatile

Problem
Attributes on dynamic endpoints have a mask EXTERNAL_STORAGE. They can't be non-volatile because we check whether an attribute is non-volatile by
bool IsNonVolatile() const { return (mask & ATTRIBUTE_MASK_NONVOLATILE) && !IsExternal(); }

Can we have non-volatile attributes on dynamic endpoints? Or can we remove the external-storage check from the non-volatile check?
Proposed Solution
<suggested fix, suggested enhancement>

When configuring attributes in ZAP, there are three mutually exclusive storage modes: RAM, non-volatile, external.  We  use two bits to represent these three mutually exclusive states.  The check represents the use of the bits we have.
The problems with introducing a fourth (external but non-volatile) state, especially for dynamic endpoint are as follows:

The system that handles storing (and reading from storage) non-volatile values cannot handle external attributes that are handled via AttributeAccessInterface.  This might be ameliorated by not marking those as non-volatile....
The storage key for non-volatile attributes contains the endpoint id.  For dynamic endpoints, the endpoint id might not mean the same entity as time passes.

Fundamentally, for an external attribute, storage is up to the implementation of the external attribute...  If that implementation wants to use the same keys as "normal" non-volatile attribute storage, it can.

In particular, IsNonVolatile clearly documents that it's about whether the attribute is automatically stored in non-volatile memory.  But external attributes can be thus stored too, and the cluster impl should only be erroring out if it knows for sure the attributes are not being stored persistently....

https://github.com/project-chip/connectedhomeip/pull/20144 should at least fix the issue @chiragatal describes.  The actual non-volatility is still the responsibility of the implementation of the external attribute.


xADObjectPermissionEntry: Using more generic "AD:" to prevent errors

As described in https://github.com/PowerShell/xActiveDirectory/issues/236
Pull Request (PR) description
Using AD: is more generic than the currently used Microsoft.ActiveDirectory.Management\ActiveDirectory:://RootDSE/$Path which doesn't work on all machines (sometimes a .dll is added). Using AD: instead solves this problem.
This Pull Request (PR) fixes the following issues

Fixes #236

Task list

[ ] Added an entry under the Unreleased section of the change log in the README.md.
Entry should say what was changed, and how that affects users (if applicable).
[ ] Resource documentation added/updated in README.md.
[ ] Resource parameter descriptions added/updated in README.md, schema.mof
and comment-based help.
[ ] Comment-based help added/updated.
[ ] Localization strings added/updated in all localization files as appropriate.
[ ] Examples appropriately added/updated.
[ ] Unit tests added/updated. See DSC Resource Testing Guidelines.
[ ] Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
[ ] New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

This change is

Codecov Report

Merging #243 into dev will not change coverage.
The diff coverage is 100%.

@@         Coverage Diff         @@
##            dev   #243   +/-   ##
===================================
  Coverage    84%    84%
===================================
  Files        16     16
  Lines      1437   1437
  Branches     10     10
===================================
  Hits       1210   1210
  Misses      217    217
  Partials     10     10

@DennisGaida looks good, are you okay to rebase and update?

I updated the PR with the latest changes from the dev branch

I just merged a PR that fixes the problem with the tests failing. Please rebase this PR again.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: DennisGaida sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@DennisGaida Thanks for this!


Web: Unsupported operation: Platform._version

This can cause issues using certain packages, like https://github.com/flutter/flutter_image
Steps to Reproduce
I ran into this trying to use the flutter_imagepackage:
import 'package:flutter/material.dart';
import 'package:flutter_image/network.dart';

void main() {
  runApp(FlutterImageDemo());
}

class FlutterImageDemo extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: Image(
            image: NetworkImageWithRetry('http://placekitten.com/200/300'),
          ),
        ),
      ),
    );
  }
}

Logs
js_primitives.dart:30 ══╡ EXCEPTION CAUGHT BY PACKAGE:FLUTTER_IMAGE ╞═════════════════════════════════════════════════════
js_primitives.dart:30 The following FetchFailure was thrown NetworkImageWithRetry failed to load
js_primitives.dart:30 http://placekitten.com/200/300:
js_primitives.dart:30 FetchFailure(
js_primitives.dart:30   attemptCount: 1
js_primitives.dart:30   httpStatusCode: null
js_primitives.dart:30   totalDuration: 0:00:00.016021
js_primitives.dart:30   originalException: Unsupported operation: Platform._version
js_primitives.dart:30 )
js_primitives.dart:30 ════════════════════════════════════════════════════════════════════════════════════════════════════

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.10.15-pre.26, on Mac OS X 10.14.6 18G84, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.5)
[✓] Android Studio
[✓] IntelliJ IDEA Ultimate Edition (version 2019.2)
[✓] VS Code (version 1.38.1)
[✓] Connected device (2 available)

• No issues found!

Probably related to https://github.com/flutter/flutter/issues/39998

Yes, we've been deduplicating all dart:io issues into https://github.com/flutter/flutter/issues/39998. We'll likely use one solution to fix everything at once.

Hello @yjbanov  Is this issue resolved in flutter web support?

The issue is still in flutter web!

having same issue but in Elastic Client
final transport = ConsoleHttpTransport(u); << on this line it fails and says
Unsupported operation: Platform._version
can anyone help me? i don;t know how to solve it

You can follow https://github.com/flutter/flutter/issues/39998 for updates.


jest / react-testing-library tests failing on @radix-ui/react-dropdown-menu after upgrade

Bug report
Current Behavior
Went from "@radix-ui/react-dropdown-menu": "0.1.4", to  "@radix-ui/react-dropdown-menu": "0.1.6", and the tests were working on 0.1.4.
Actually, any test that involves some sort of pop up box appearing currently fails (so "@radix-ui/react-dropdown-menu": "0.1.6" and "@radix-ui/react-dialog": "0.1.7", for me).
My current test looks like this (there's more of it inside my CodeSandbox example down below)
test('BulkActions dropdown gets clicked and shows content', () => {
  userEvent.click(screen.getByTestId(bulkActionsDropdownName))

  expect(screen.queryByTestId(dropdownContentName)).toBeInTheDocument()
})

Output looks like this
 FAIL  src/components/BulkActions/bulk-actions.test.tsx
  ✓ BulkActions gets rendered (20 ms)
  ✕ BulkActions dropdown gets clicked and shows content (23 ms)

  ● BulkActions dropdown gets clicked and shows content

    expect(received).toBeInTheDocument()

    received value must be an HTMLElement or an SVGElement.
    Received has value: null

      39 |   userEvent.click(screen.getByTestId(bulkActionsDropdownName))
      40 |
    > 41 |   expect(screen.queryByTestId(dropdownContentName)).toBeInTheDocument()
         |                                                     ^
      42 | })
      43 |

This was a passing test using "@radix-ui/react-dropdown-menu": "0.1.4". Seems like the userEvent.click isn't getting triggered
Expected behavior
Having not changed anything within my code except for upgrading the dependency, I expect the test to pass
Reproducible example
CodeSandbox
Suggested solution
No idea, I don't even understand what's happening, really
Additional context
Nothing to add
Your environment

Software
Name(s)
Version

Radix Package(s)
@radix-ui/react-dropdown-menu
0.1.6

React
n/a
17.0.2

Browser
Chrome
Version 98.0.4758.80

Assistive tech
-
-

Node
n/a
v14.19.0

npm/yarn
yarn
1.22.17

Operating System
MacOS
11.2.3

I feel like this https://github.com/radix-ui/primitives/commit/c8745e582710be77178ccf553554d90b2a59c74e is possibly the cause ?!

I can confirm this. Started writing tests for a component that consumes<EMAIL_ADDRESS>and was scratching my head as couldn't figure out what's wrong with my test.
Downgrading to 0.1.4 made my test(s) pass.

Can confirm this. As a workaround I got my tests to work by triggering an arrow down event on the menu trigger  userEvent.type(trigger, '{arrowdown}');

Related: https://github.com/radix-ui/primitives/issues/856
Sorry for the delay responding here. You’re seeing this because the event bindings were adjusted in the recent version and now exclusively bind to PointerEvent, where before they also used onClick.
JSDOM doesn’t currently support PointerEvent, and thus testing-library can't provide the correct properties on the Event.
Providing you’re using user-event, testing lib should be firing PointerEvents, but you’ll need to provide your own implementation to be able to test with the expected properties:

// setupTests.ts

// JSDOM doesn't implement PointerEvent so we need to mock our own implementation
// Default to mouse left click interaction
// https://github.com/radix-ui/primitives/issues/1207
// https://github.com/jsdom/jsdom/pull/2666
class MockPointerEvent extends Event {
  button: number;
  ctrlKey: boolean;
  pointerType: string;

  constructor(type: string, props: PointerEventInit) {
    super(type, props);
    this.button = props.button || 0;
    this.ctrlKey = props.ctrlKey || false;
    this.pointerType = props.pointerType || 'mouse';
  }
}

window.PointerEvent = MockPointerEvent as any;

The above sets some properties to mock a "mouse left click" by default, you can pass your own properties inline too when needed:
userEvent.click(myElem, { pointerType: "touch", ... })

I'll make a note to add something about this in our documentation as it is quite a common issue, hopefully the above helps though. I'm going to close the issue now but feel free to follow up if you have any other questions 🙏


Rename IWindowLocation to IWindowState

Codecov Report

Merging #105 (64278b0) into main (d092d52) will not change coverage.
The diff coverage is 54.54%.

@@           Coverage Diff           @@
##             main     #105   +/-   ##
=======================================
  Coverage   37.64%   37.64%
=======================================
  Files          74       74
  Lines        3690     3690
  Branches      460      460
=======================================
  Hits         1389     1389
  Misses       2232     2232
  Partials       69       69

Impacted Files
Coverage Δ

...c/Whim.CommandPalette/CommandPaletteWindow.xaml.cs
0.00% <0.00%> (ø)

src/Whim/Native/Win32Helper.cs
0.00% <0.00%> (ø)

...m.TreeLayout/TreeLayoutEngineGetWindowLocations.cs
100.00% <100.00%> (ø)

src/Whim/Layout/ColumnLayoutEngine.cs
76.28% <100.00%> (ø)

src/Whim/Window/WindowLocation.cs
73.68% <100.00%> (ø)

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 d092d52...64278b0. Read the comment docs.


The service may not be initializing properly...

I recently decided to make some changes to my Blue Iris setup.
I'm running on the run_as_service branch.
Awhile back I made some file permission changes to my Blue Iris folder on my host machine. This caused problems (as you could probably imagine). I started seeing this error:

After some digging I found a previous conversation where we chmod -R 777 and chown 1000:1000 on /SURVEILLANCE/blue-iris in my case. I ran these commands and everything seemed to be looking good again.
At some point I restarted my container and started getting the same error as above and it seems that no matter what I try I can't get past it.

It seems as though the service is still running the background because ui3 is still letting me see my cameras and recording with node-deepstackai-trigger is still working, I just can't get to the regular BlueIris Windows application to make changes.
@leonowski any ideas what this might be?
Another separate issue, I tried a fresh install and am seeing two issues I also can't get past.

When I try to enter my license key there is a "Program Error" it gives me an option to "Show Details" but nothing every loads.

Here is what I see in the logs when I click "Close"; seems to be a stackoverflow at the end:
Process of pid=00e4 has terminated
No process loaded, cannot execute 'echo Modules:'
Cannot get info on module while no process is loaded
No process loaded, cannot execute 'echo Threads:'
process  tid      prio (all id:s are in hex)
00000038 services.exe
  0000003c    0
  00000040    0
  00000054    0
  00000074    0
  00000094    0
  000000c8    0
  000000d0    0
0234:fixme:variant:get_date_format ignoring flags 402
00000044 winedevice.exe
  00000048    0
  0000005c    0
  00000060    0
0000004c explorer.exe
  00000050    0
  00000070    0
  0000008c    0
00000068 plugplay.exe
  0000006c    0
  00000078    0
  0000007c    0
  00000080    0
  000000a8    0
00000084 winedevice.exe
  00000088    0
  0000009c    0
  000000a0    0
  000000a4    0
  000000b0    0
  000000b4    0
000000b8 BlueIris.exe
  000000bc    0
  000000cc    0
  000000d4    0
  000000d8    0
  000000f4    0
  000000f8    0
  000000fc    0
  00000100    0
  00000104    0
  00000108    0
  0000010c    0
  00000110    0
  00000114    0
  00000118    0
  0000011c    0
  00000120    0
  00000124    0
  00000128    0
  0000012c    0
  00000130    0
  00000134    0
  00000138    0
  0000013c    0
  00000140    0
  00000144    0
  00000148    0
  0000014c    0
  00000150    0
  00000154    0
  00000158    0
  0000015c    0
  00000160    0
  00000164    0
  00000168    0
  0000016c    0
  00000170    0
  00000174    0
  00000178    0
  0000017c    0
  00000180    0
  00000184    0
  00000188    0
  0000018c    0
  00000190    0
  00000194    0
  00000198    0
  0000019c    0
  000001a0    0
  000001a4    0
  000001a8    0
  000001ac    0
  000001b0    0
  000001b4    0
  000001b8    0
  000001bc    0
  000001c0    0
  000001c4    0
  000001c8    0
  000001cc    0
  000001d0    0
  000001d4    0
  000001d8    0
  000001dc    0
  000001e0    0
  000001e4    0
  000001e8    0
  000001ec    0
  000001f0    0
  000001fc    0
  00000200    0
  00000204    0
  00000208    0
  0000020c    0
  00000210   -1
  00000214    0
  00000218    0
  0000021c    0
  0000022c    0
  00000230    0
  00000234    1
  00000238    0
  0000023c    0
  00000240    0
  00000244    0
  00000248    0
  0000024c    0
  00000250    0
0278:err:virtual:virtual_setup_exception stack overflow 2864 bytes in thread 0278 addr 0x7bc5a322 stack 0x1204d0 (0x120000-0x121000-0x220000)

If I enter demo mode and "Check for News and Updates", I don't seem to have an internet connection. I think this is a symptom of a bigger issue.

Here are the steps I'm using, that seem to work for a fresh install:
mkdir /SURVEILLANCE/test
chmod -R 777 /SURVEILLANCE/test
chown 1000:1000 /SURVEILLANCE/test
Use docker-compose like this:
version: '3.8'

services:
  blue-iris:
    image: leonowski/docker-blueiris
    restart: unless-stopped
    privileged: true
    init: true
    environment:
    - RESOLUTION=1270x650x24
    - TZ=America/Chicago
    ports:
    - 8082:8080
    volumes:
    - /SURVEILLANCE/test:/home/wineuser/prefix:rw

Enter license key through the UI.
Switch docker-compose:
version: '3.8'

services:
  blue-iris:
    image: leonowski/docker-blueiris:run_as_service
    restart: unless-stopped
    init: true
    environment:
    - TZ=America/Chicago
    volumes:
    - /SURVEILLANCE/test:/home/wineuser/prefix:rw
    command: -c /etc/supervisor/conf.d/supervisord-service.conf

Then run docker-compose up -d && docker-compose logs -f blue-iris
I typically just comment out the differences between the two docker-compose above, since you'll need to switch back and forth:
https://github.com/TonyBrobston/tbro-server/blob/3172148d0f8b1a2786a3708c7b5e5d3b180823e0/home-automation/docker-compose.yml#L102-L117
I wish the first couple chmod/chown weren't necessary. This seems to be a common docker issue, typically the host puid/guid are passed in as environment variables, which should mostly solve the file permission issues I would think.
I'm also wishing I didn't have to switch between leonowski/docker-blueiris and leonowski/docker-blueiris:run_as_service. But, I suppose all of this is better than having another server running one windows program 🤷♂ .


Eliminate GPU to CPU copy for some GPU arrays in RTE

Eliminate GPU to CPU copying for some arrays in RTE solver.
Merge multiple RTE GPU kernels into a single GPU kernel.

bors r+

bors r+


[site] Seperate chip and block level regressions on the DV Dashboard

N.B hw/top_earlgrey/dv/chip_sim_cfg.hjson changes .name from 'chip' to 'chip_earlgrey'.
Otherwise the dashboard will just show 'chip' which isn't too helpful.

Just run these changes locally and the chip_earlgrey label still reads chip - is this because something has to update on the server providing the results?

Exactly right, I just bodged the HTML in-place for a pretty screenshot ;)

Retrigger CI, as it wasn't re-running on the latest changes for some reason.

I'm going to implement the urls as an object as suggest in https://github.com/lowRISC/opentitan/pull/19152/files#r1261004011. The change of name in the sim_cfg is not as simple as anticipated so I'll update the .js to optionally pass a new name for the row.
Please don't merge this just yet.


[Feature Request] Method of fetching data once and reusing for selection

Feature Request
I would like to incorporate this package into my program, but one of the main functionalities I would like to add is the ability to search through our inventory system. Basically, there is a spreadsheet with 2000 item ids in it. As the user goes through our program, there is an option to interact with those IDs. This is where go-prompt would come in. If I read in the IDs inside the "completer" function, the program lags because it must open the excel file, filter through thousands of cells, and display them for each key press. I would like to have a method that sets up the array first. Maybe I am thinking about the applicability wrong.
Purposed:
prompt.setOptions := []prompt.Suggest{}

Hi @MajesticFalcon. Thank you for your suggestion.
It sounds following code is enough:
package main

import (
	"fmt"

	prompt "github.com/c-bata/go-prompt"
)

type SpreadSheet struct {
	Rows []prompt.Suggest
}

func (sheet *SpreadSheet) completer(in prompt.Document) []prompt.Suggest {
	return prompt.FilterHasPrefix(sheet.Rows, in.GetWordBeforeCursor(), true)
}

func executor(in string) {
	fmt.Println("Your input: " + in)
}

func main() {
	sheet := &SpreadSheet{
		Rows: []prompt.Suggest{
			{Text: "users", Description: "row 1"},
			{Text: "articles", Description: "row 2"},
			{Text: "comments", Description: "row 3"},
			{Text: "groups", Description: "row 4"},
		},
	}
	p := prompt.New(
		executor,
		sheet.completer,
		prompt.OptionPrefix(">>> "),
	)
	p.Run()
}

What do you think?


feat: federated learning use case implementation

This commit introduces the Federated Learning core platform use case.

@arueth Can you please rebase int-federated-learning on top of main? That would be helpful for this branch as well. Thanks!

PS: the only conflict is about a typo I fixed in platforms/gke/base/_shared_config/scripts/set_environment_variables.sh. It's no longer applicable.


Panic on curious [patch] combination

Problem
$ cargo build
thread 'main' panicked at 'not currently active!?', src/tools/cargo/src/cargo/core/resolver/mod.rs:825:36
stack backtrace:
   0: rust_begin_unwind
             at /rustc/fc2daaae610b5515438b551a2f3706196a997f35/library/std/src/panicking.rs:483
   1: core::panicking::panic_fmt
             at /rustc/fc2daaae610b5515438b551a2f3706196a997f35/library/core/src/panicking.rs:85
   2: core::option::expect_failed
             at /rustc/fc2daaae610b5515438b551a2f3706196a997f35/library/core/src/option.rs:1226
   3: cargo::core::resolver::activate_deps_loop
   4: cargo::core::resolver::resolve
   5: cargo::ops::resolve::resolve_with_previous
   6: cargo::ops::resolve::resolve_with_registry
   7: cargo::ops::resolve::resolve_ws_with_opts
   8: cargo::ops::cargo_compile::create_bcx
   9: cargo::ops::cargo_compile::compile_ws
  10: cargo::ops::cargo_compile::compile
  11: cargo::commands::build::exec
  12: cargo::cli::main
  13: cargo::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Steps
Try to build the following crate structure using Cargo.toml where ../wasmtime is a checkout of https://github.com/bytecodealliance/wasmtime.
# Cargo.toml
[package]
name = "headcrab"
version = "0.2.0"

[target.'cfg(target_os = "linux")'.dev-dependencies]
headcrab_inject = { path = "./headcrab_inject" }

[dev-dependencies]
rustc_codegen_cranelift = { path = "./cg_clif" }

[workspace]
exclude = ["./cg_clif"]

[patch.crates-io]
"cranelift-codegen" = { git = 'https://github.com/bytecodealliance/wasmtime/', branch = "main" }

[patch."https://github.com/bytecodealliance/wasmtime/"]
cranelift-codegen = { path = "../wasmtime/cranelift/codegen" }

# headcrab_inject/Cargo.toml
[package]
name = "headcrab_inject"
version = "0.2.0"

[dependencies]
headcrab = { version = "0.2.0", path = "../" }
cranelift-codegen = "0.67.0"

# cg_clif/Cargo.toml
[package]
name = "rustc_codegen_cranelift"
version = "0.1.0"

[dependencies]
# These have to be in sync with each other
cranelift-codegen = { git = "https://github.com/bytecodealliance/wasmtime/", branch = "main", features = ["unwind"] }

Notes
Output of cargo version: cargo 1.48.0-nightly (05c611ae3 2020-09-23)

Same odd problem as #7463. As I recall this is do to to [patch] being implemented as "just lie to the resolver". In this case the resolver notices that thinks don't make sense and panics. The relevant optimization could just get skipped, but it involves threading the error path through several closures.

Found the cause.
I depended on swc_common = 0.10.7 by mistake where other crates depends on swc_common = "0.10.6" and it is patched to point https://github.com/kdy1/swc/tree/tsc of which version is 0.10.6


Roll engine f6af1f20ba92..2de87a80f550 (12 commits)

https://github.com/flutter/engine/compare/f6af1f20ba92...2de87a80f550
git log f6af1f20ba92..2de87a80f550 --no-merges --oneline
2de87a80f Roll src/third_party/skia 6719fcc43b1e..deb512045e6a (7 commits) (flutter/engine#6411)
68a42e3f4 Add nullability annotations to MethodChannel/MethodCall. (flutter/engine#6393)
71ba20a64 Dart SDK roll for 2018-10-02 to d2c5a24fd9ead97a7f18d02786e679293cc3709e (flutter/engine#6410)
9ccc96625 Share engine layers with the framework (flutter/engine#6406)
fa719e3e7 Roll src/third_party/skia cc4dbfcfbd8a..6719fcc43b1e (17 commits) (flutter/engine#6409)
dc2634dcf Force lf-line endings for so that source offsets match across platforms. (flutter/engine#6408)
44a514943 Roll src/third_party/skia 7dae882574d2..cc4dbfcfbd8a (15 commits) (flutter/engine#6405)
de32c659b Roll src/third_party/skia 3b8b11e1f912..7dae882574d2 (15 commits) (flutter/engine#6403)
3a9c22afd Allow GetRectsForRange to provide more detailed/nuanced metrics through RectStyle enum. (flutter/engine#6335)
b59c86493 Rename the Android fragment support library JAR (flutter/engine#6400)
4213ac19c Add an Android fragment support library to third_party (flutter/engine#6384)
a785b25f4 do not count Hidden nodes at the beginning of the scrollable (flutter/engine#6381)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.

@rmistry @liyuqian : New roll has been created by https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Trybots failed. These were the failed builds: https://flutter-dashboard.appspot.com/build.html

Commit queue failed; closing this roll.


Remove underscores from attribute setters in builder classes.

HQDM was originally written in the EXPRESS data modelling language, which uses 'snake case' for defining entity/relationship names. This was retained during the conversion from EXPRESS to the Java object models in order to preserve the distinction between relationship type where underscores denote the type of relationship being invoked (e.g. member_of, member_of_ & member__of), but also incorporated Java's camel case naming convention for method names resulting in a combination of snake and camel case method names for attribute setters in the builder objects which does not fit any convention.
Given Java's polymorphism, It would be possible to remove the underscores from method names entirely, as the parameter type would be enough to determine the association type and method being invoked. This would resolve to use Java's camel case method names convention and should not break consistency with the EXPRESS notation, as the relationship type and entity class names are still defined appropriately for Linked Data by iri/HQDM.java.
Due to HQDM's inheritance model, care must be taken to insure that Java's polymorphism does not break in cases where relationship sub-types apply equally to entities with a supertype
(e.g. Activity has the part__of relationship to a SpatioTemporalExtent and a part_of relationship to an Activity, which is itself ultimately a sub-type of SpatioTemporalExtent. Therefore it may be possible to inadvertently apply the wrong relationship type to a property, or prevent certain relationships to entities being applied (e.g. a part__of relationship to another Activity because it would instead invoke the part_of relationship).
To resolve this, sub-type relationships could be given more fitting names that describe the nature of the relationship they represent (e.g. instead of part_of_ could be changed to partOfAgreementExecution). This would make the distinction between relationships more explicit, as the possibility of invoking the wrong attribute setter through inheritance is no longer a concern. As this would only appear in the object Builder method names, it would not have any bearing on the resulting Java or Linked Data objects, so consistency with the original HQDM would be maintained.
Mandatory Properties
There is also the matter of _M which appears as a suffix to some entity relationships when the relationship is mandatory and is not the inverse of another relationship. This is a historical artifact of the text processing used to convert the EXPRESS to Java, but is more-or-less redundant, so could be removed in conjunction with this change. A note could be added to the method Javadoc to indicate the property is mandatory.

It could be that the _M prefix is there to help code-completion tools make it easier to see which properties a developer must set, rather than guessing or having to check the Builder.build() method, javadoc, or getting a runtime error. Its not ideal but it does seem to help productivity a little.

Builder classes have been removed as part of issue #17 so this is no longer a problem. Name variations involving variable combinations of underscores will be avoided in future in favour of more descriptive method names in cases where there would otherwise be a name clash.


Combofield fixes, Fixes #353, Fixes #354

Only attempt to commit onBlur and onKeyPress if !requireSelection. Allows us to remove label matching logic. Fixes #353.
Debounce commits. Display internalValue during wait to mask for user. Fixes #354.

Thanks - added some comments and merging now.
As per my expanded comment on the blur handling, I see better now some of the issues @febbraiod was raising around not committing on blur and how a user might well expect that blur to auto-select a value from the suggestion list. Let's loop back with @haynesjm42 and take a look at some UI ideas he has around making it more clear when a user wishes to create a new custom value for a !requireSelection field.


bucklespring: init at 2021-01-21

Motivation for this change
clickety clack keyboard's cool
Things done
packaged a tool to produce buckling spring keyboard sounds on keyboard events
added as 2 attributes as it can be built for X11 or to use libinput, with the default being X11 as that's more common
with libinput it works on wayland and even bare terminals, but requires the user running it to be in the input group (this is noted in the longDescription)
this should maybe be set up via programs.bucklespring.enable but i got stuck on getting that to work a few too many times for something this silly
used the latest master commit because the latest release is 4 years old and several features have been added since

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)

185854608 for bucklespring-x11
187148680 for bucklespring-libinput

[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

added a meta.platforms entry, set to unix as the commit i'm using supposedly adds macos support (though that's just a build change that shouldn't affect us, it should mean it works)

Mind fixing up the commit message and PR title to match? Then I think this is good to go.

Mind fixing up the commit message and PR title to match? Then I think this is good to go.

right, done


[benchmark] Initial commit for Google Benchmark library

Looks great, thanks!

Actually wait, I just realized this adds a benchmark:: cmake export.
The full explanation is inside #616, (specifically https://github.com/Microsoft/vcpkg/issues/616#issuecomment-276853511) but basically we can't add cmake exports that could conflict with future choices by the upstream library owner. Exports like this are essentially adding a new "feature/api" (it just happens to be at the buildsystem level instead of the source code level), which we strongly want to avoid because of potential future breakages.
As part of the #616 discussion, we should consider automatically creating CMake config files which will

Work uniformly and correctly across all Vcpkg packages. We can do this because we have strict layout requirements.
Be cheap to maintain and not require patching every library
Have no chance of conflicting with any export choices that upstream libraries decide to make -- if Google Benchmark decides to start exporting the Benchmark::libbenchmark target tomorrow, we will be able to simply add upstream's support and not worry about conflicting with our automatically generated files.

As a strawman example, we might add find_package(vcpkg-X) for all ports X. However, this should be further discussed in the other thread.
tldr; we can't add the export. I will remove it during the merge when I get time.

Actually wait, I just realized this adds a benchmark:: cmake export.

They already add this name in master https://github.com/google/benchmark/blob/master/src/CMakeLists.txt#L45

awesome!
Thanks for the clarification!

The google-benchmark master did add the target export benchmarkTargets as well as the accompanying benchmarkConfig and benchmarkVersion. However, this PR seems only to add benchmarkTargets.
Wouldn't it make sense to include the other two files, too? In addition, this enables importing the library via find_package.


iOS, Android SDKs

Do you think something like this would be against the rules of an iOS or Android SDK? I was looking at the requirements and it seems like it would be..

I can’t give legal advice. I encourage you to read the terms of use before building it.


single quotes sometimes converted to double quotes?

From @worc on December 8, 2018 0:1
i don't even know on this one. i have an attribute selector with characters that break the underlying query (spaces and slashes in this case), so i wrapped the selector in double quotes and the full query in single quotes:
browser.click('input[name="enable_Selector With Spaces"][value=yes]')
and periodically the test would error out with this message:
An element could not be located on the page using the given search parameters.
Error: An element could not be located on the page using the given search parameters.
at click("input[name="enable_Selector With Spaces"][value=yes]") - at element("input[name="enable_Selector With Spaces"][value=yes]") - click.js:12:17

which at first glance seems like the single quotes around the full query are being converted to double quotes? i wasn't sure how to verify that, so i did the next best thing and changed the single quotes to backticks:
browser.click(`input[name="enable_Selector With Spaces"][value=yes]`)

at that point the error cleared up. but just to verify the issue, i switched the backticks back to single quotes, but the error no longer occurs. i'm thinking i probably just missed something juggling all those quotes and brackets, but figured i'd at least write down the weird thing i saw in case someone else encounters it.
"webdriverio": "^4.14.0",
"wdio-cucumber-framework": "^2.2.7",
"wdio-chromedriver-service": "^0.1.3",

Copied from original issue: webdriverio/webdriverio#3109

Can you provide some logs please?

From @worc on December 13, 2018 19:45
i ran into the issue again today, and it's a red herring more than anything else. in the source code for the step definitions i have a selector that uses either single quotes or backticks:
browser.click(`input[name="enable_Selector With Spaces"][value=yes]`)

but if that element can't be clicked then the error printed to the command line makes it look like the quotes were converted incorrectly. so i'm looking at this error message thinking yeah, if you don't have your quotes setup correctly you're not going to find an element with those parameters:
An element could not be located on the page using the given search parameters
browser.click("input[name="enable_Selector With Spaces"][value=yes]")

but in actuality, i was missing a waitForVisible, the element hadn't loaded yet. which of course has the maddening side effect where if you put a debug point before the problematic selector, the element will load in time and the error seems to go away.
i'm not sure if the double quotes are really what the driver is using or if it's a bad conversion when the error message is prepped for the logs. some clarity around that would be nice.

From @abjerstedt on December 13, 2018 21:3
@worc as a side note, i highly recommend you make a custom command that wrappers click and makes sure that you wait for the element to be at a minimum visible, and probably also enabled before any click.
On this topic, since you determined that the issue has nothing to do with escaping, are we good to close this?

From @abjerstedt on February 25, 2019 22:3
@christian-bromann Is this worth keeping open? It seems a little like overkill to have to run a regex on all dumps of the selector property.

From @worc on December 13, 2018 23:50
@abjerstedt that sounds like an anti-pattern and trying to hammer everything into a nail. not every part of a step definition is going to require a waitForVisible.
and i think there's still an issue standing here with the logging providing misleading values back to a dev.


Upgrade Nuxt dependency to latest 2.x version

We're on 2.14.6 - latest is currently 2.15.8.
There are some issues updating due to the use of a newer ufo package - @nwmac knows more.

We might want to consider performing #4820 along with this one

Done as part of plugin work. Nothing for QA to test here but we're on the latest. Eventually, we will remove Nuxt completely.


Using base and hashRouter produces weird URLs

Bug Report
When you set a different base and use the hashRouter you get weird duplication of URLs.
For example you set base to /foo and then go to your deployed doc site and click around
you'll end up with something like /foo/#/foo/<sub>/<sub>/
Expected behavior
The base isn't appended on every URL on top of itself

As the documentation suggest, you should always start and end your base with a slash.
But I wonder if this would be a nice feature for docz. What do you think @pedronauck?
I could work on either ensuring that base always have the slashes by either warning or inserting them when due.

@Yurickh the problem with that is that base is used by react-router which in its documentation says to not have an ending slash, however I saw the same problem one way or the other.
https://reacttraining.com/react-router/web/api/BrowserRouter/basename-string

A properly formatted basename should have a leading slash, but no trailing slash.

Problem is that base is used for
https://github.com/pedronauck/docz/blob/dee78a71fa6c9fc0da893be413034798f10f756c/packages/docz-core/src/bundlers/webpack/config.ts#L49
https://github.com/pedronauck/docz/blob/dee78a71fa6c9fc0da893be413034798f10f756c/packages/docz-core/src/bundlers/webpack/config.ts#L87
https://github.com/pedronauck/docz/blob/dee78a71fa6c9fc0da893be413034798f10f756c/packages/docz-core/src/bundlers/webpack/config.ts#L238
and
https://github.com/pedronauck/docz/blob/7a84638aa140888b0102885372bcacb9c797c395/packages/docz/src/theme.tsx#L50

And this should be a 2 different options (like base and routerBase).
Demo: http://johngrish.in/components/#/components/box

@exah thanks for digging in, looks like it's what I was expecting! For me I would want to leave this routerBase as is / and the base for webpack I'd want to change for something like github/gitlab pages.

For sure, thanks guy! The basename on router, in this case, is used to bind Link component, but I think that isn't necessary since webpack public path is setted, I'll remove basename from router and release in the next release 🙏


[WIP] Tab Bar Reordering Behavior and Bug Fixes

Description
This PR is still a WIP.

[x] Add basic drag-and-drop reordering behavior (with full animation) to tab bar.
[x] Fix tab bar item holding state (when pressing/dragging on the tab bar item, it should hide its dividers).
[x] Add some documentations to clarify the properties of tab bar.
[x] Add some documentations to clarify the properties of tab bar item.
[x] Optimize the reordering algorithm to deliver a better UX.
[x] Support basic onDrag and onDrop as well (once the vertical displacement is exceeding the threshold).
[ ] Issue: Support onDrag dropping outside the tab bar.

Related Issues

#256
#572

Checklist

[x] I read and understood the contributing guide as well as the code of conduct
[x] My changes generate no new warnings
[x] My code builds and runs on my machine
[x] I documented my code
[ ] Review requested

Screenshots
Current Stage of Tab Bar Reordering Behavior
https://user-images.githubusercontent.com/36816148/167232463-a416a0c5-fe6f-41c9-b96d-da0b3fb4902e.mp4
https://user-images.githubusercontent.com/36816148/167232409-1e1f0348-2081-4afd-9c86-035a38ecf11b.mp4

Current stage of tab bar reordering behavior:
(It will be the same under all color schemes and all styles)
https://user-images.githubusercontent.com/36816148/168942464-6406b410-8697-4310-b09b-571d8538e002.mp4
There are some additional issues like dropping the tab bar item outside of tab bar. I will merge this PR only when these issues are all resolved.

Very nice @lilingxi01! What will happen when the tab is dropped outside the tab bar? When we work on split layouts, I'd imagine that would be useful.

thanks for the update. That sounds pretty tricky. I suppose if a tab is dropped anywhere else aside from another layout pane or tab group, it can open a new single-file window (as if you opened the file by itself and not the project).

Any updates on this?

@lilingxi01 can you get this PR is a mergable state so someone else can resume this effort?

@austincondiff I will finish it by the end of August.

Any updates on this? @lilingxi01

Known backlogs:

No dragging-out behavior (as we cannot fully handling all events for now).
No side-dragging constrain (on Xcode, tab cannot be horizontally dragged over the tab bar area, but on CodeEdit, it is allowed for now).

Thank you @lilingxi01!


Convert data inputs into variable inputs for modules in Terraform

PR for issue
In several modules in Terraform, data inputs are used unnecessarily. Data inputs are intended for resources defined outside of Terraform, but in this case resources are defined within the same Terraform environment. This is also causing issues when Terraform thinks a resource has been updated when in reality it hasn't.
How is this addressed

Remove firewall/data.tf, gitea/terraform/data.tf, sonatype-nexus/terraform/data.tf

NOTE: This is in draft for now because I'm resolving merge conflicts.

We will be moving Gitea, Nexus and Firewall out as shared services to enable them to be managed as part of #23 . To be deployed separately after the core infrastructure. Fine to do this, but when we do that the data pieces will need to go back in.
Maybe I should create an issue and split them out into porter bundles to be installed via Make now to avoid you having to do this.

Maybe I should create an issue and split them out into porter bundles to be installed via Make now to avoid you having to do this.

Sounds like a good idea to me


[zh-cn] sync volume-pvc-datasource volume-snapshot-classes topology-spread-constraints security-checklist

/lgtm


fix: disable subdataset creation button when required

PR destination branch is currently THU/dynamic_enum_values_PROD-13275 to benefit from a refactoring, but the source branch will be rebased on main as soon as possible.

Manually merged into main branch (commit 2debd23a)


internal static Exception NotImplementedInReferenceAssembly() { return new NotImplementedException("This functionality is not implemented in the portable version of this assembly. You should reference the NuGet package from your main application project in order to reference the platform-specific implementation."); }

To help us fix your issue, please provide the information in the below template. If something causes a crash, provide as much information as you can gather.
Just imagine: we do not know what you are doing!

Note: There is often little we can do without a minimal reproducible sample of the issue, so please provide that in a standalone git repository and link it here.

Steps to reproduce

Expected behavior
Tell us what should happen
Actual behavior
Tell us what happens instead
Crashlog
If something causes an exception paste full stack trace + Exception here
Configuration
Version of the Plugin: e.g. 1.0.0 / 1.0.1-alpha3
Platform: e.g. iOS 10.1 / Android 4.4 / ... (including version!!! e.g. Android 5.1 / i0S 10)
Device: e.g. HTC Sensation /i Phone 7 ...

Hi @TimoKinnunen,
I'm the friendly issue checker.
Thanks for using the issue template :star2:
I appreciate it very much. I'm sure, the maintainers of this repository will answer, soon.

What to do to get Plugin.BLE to work on Windows?
I have a working .Net MAUI sample on Android but Windows is difficult?
https://github.com/TimoKinnunen/MauiXAMLBluetoothLE

I am also interested in this topic.
I think that is something that @janusw is looking at with jamesmontemagno... I see that there is a specific pull request ( LINK)

Janus Weil and James Montemagno are guys with dynamite in their fingertips.

What to do to get Plugin.BLE to work on Windows?

Version 2.2.0-pre5 has some beta support for Xamarin.UWP, but 2.1.3 has not. It is not fully finished, but most basic things should work. If you find something that does not work, please open an issue and give us the details.

I have a working .Net MAUI sample on Android but Windows is difficult? https://github.com/TimoKinnunen/MauiXAMLBluetoothLE

MAUI does not work yet, but should hopefully soon, see #614.

This problem should be fixed with #638.
@TimoKinnunen, can you confirm that your problem is gone on current master? (using the nupkg from here: https://github.com/dotnet-bluetooth-le/dotnet-bluetooth-le/actions/runs/3470893880#artifacts)


can you give some advice about CAttention when it apply to UNet?

Thank you very much

You may try to put it after the layer merge.

You may try to put it after the layer merge.

thanks for your answer

Dear author, why do you suggest putting it after layer merge？


WIP new optional parameter for pytest --mss_settings / improving config_loader

by this parameter pytest can use a mss_settings.json
saved in the test tmp directory
example:
pytest -k test_existing_empty_config_file --mss_settings '{ }'
pytest -k test_existing_config_file_different_parameters --mss_settings '{"num_interpolation_points": 201 }'
After we agreed to this kind of configuration we can pick tests which can be verified by an individual "mss_settings.json" for tests. I guess we will do this by another test action.

This is not the solution for the issue https://github.com/Open-MSS/MSS/issues/660 but the first step to reproduce it by a test

[ ] move config_loader test files inside the tests
[ ] refactor config_loader

I'm still not sure if I have catched all cases how we use this function.
If I could assume that we only can use names which are defined in dict(MissionSupportSystemDefaultConfig.dict) and that the values there are always the defaults we get a lower complexity.


Proxying requests leaks connections when client timeouts when using the default node v0.10 Agent

Using the default Agent for proxying requests by piping leaks connections when the clients timeout. Combined with the default outgoing connection pool size of 5 this causes pool exhaustion quickly.
Reproduce with https://github.com/hvrauhal/requestjs-proxy-leaks-agents.

It looks like from node >= 0.11.0  this is no longer a problem (i.e. the test case no longer reproduces). I think we can close this issue?

@jmandel, yes, I hope time and node releases have taken care of this issue.


Zookeeper master detector for v1

the zookeeper integration only seems to be for v0. What is the recommended way for detecting the mesos master with v1?

A while back there was discussion of refactoring the ZK-based leadership detector to expose a simpler interface, and that as part of the refactoring effort the newer code would land in a separate repo, independent of the mesos-go project. That never happened and so people still rely on the variant in the v0/ lib.
I still like the idea of separating the leader detector from v1 implementation. The proposal outlined in #339 is nice that sense - the exposed interface is pretty simple and allows for arbitrarily complex (possibly 3rd party) implementations under the hood.


[FLINK-19232][python] Support MapState and MapView in PyFlink.

What is the purpose of the change
This pull request supports MapState and MapView in PyFlink (The support of iterating a MapState/MapView will be contained in next PR).
Brief change log

Support MapState in PyFlink.
Support MapView in PyFlink.

Verifying this change
This change is already covered by existing tests.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (yes)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? (docs)

@dianfu Thanks for your comments! I have updated this PR.


Merge pull request #22729 from jsoref/issue-22492

Add pull requests from

Why:
Closes ISSUE

What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

[ ] I have reviewed my changes in staging (look for the "Automatically generated comment" and click the links in the "Preview" column to view your latest changes).
[ ] For content changes, I have completed the self-review checklist.

None yet


Auto refresh every 10 seconds

Not sure if this is good enough. I didn't implement any means to inform the user that the page would automatically refresh every 10 seconds...
Let me know if that's necessary.

awesome @wackyMole  thank you! such a simple solution! I did not even know about this tag!!


chore: remove hot document

Summary

Checklist

[ ] Tests updated (or not required).
[ ] Documentation updated (or not required).

!test-ng


Remove hairpin

remove hairpin logic from ztunnel
remove hairpin test

hold added since this will cause istio/istio integ tests to fail


Own solutions not shown in "All solutions" but shown in "My solutions"

Related: #1114.
Sometimes I found that my solution is not shown in "All solutions" tab, but is shown on "My solutions" tab. Voting on my disappeared solution will make it appear on the "All solution" tab again.

Voting on my disappeared solution will make it appear on the "All solution" tab again.

Sounds like a caching issue. I'll look into it.


fix labelled_isequal namespace

I realized there was a conflict with labelled_isequal, which was not defined as a LabelledNumbers inside GradedAxes. We could also use a different function name for this method in GradedAxes.

This looks fine for now. I think we'll have to reassess the situation with the various types of graded unit range equality anyway at some point once the dust settles on some of these PRs.


Could you provide a Docker image of the engineering environment?

Could you provide a Docker image of the engineering environment? We have read HULC2's paper and are very interested in your proposed methods and ideas. However, some problems were encountered during the reproduction process. Therefore, may I ask if it is possible to provide a Docker code environment? Thank you very much!

Could you provide a Docker image of the engineering environment? We have read RLAfford's paper and are very interested in your proposed methods and ideas. However, some problems were encountered during the reproduction process. Therefore, may I ask if it is possible to provide a Docker code environment? Thank you very much!


Add a list of supported VM SKUs

The docs state that the minimum local SSD size is 14 GB. I've tried to use a cluster with Standard_B2ms (Local SSD: 16 GB) VMs, but after 4 days the storage was filled up with the replicator log (see https://github.com/Azure/service-fabric-issues/issues/138 and https://stackoverflow.com/questions/39862762 ).
It seems there is no possibility to decrease the log size, so I've to use a larger SKU.
It would be nice to mention it somewhere that the logs are taking up most of the local storage, because this affects the VM SKU selection.
So please post a full list of supported SKUs and state the correct minimum size of the local SSD.

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

ID: 658de695-0927-175f-0419-dcf7b6bece9d
Version Independent ID: 8166322c-774b-9434-3df5-5501b7dd9cf1
Content: Planning the Service Fabric cluster capacity
Content Source: articles/service-fabric/service-fabric-cluster-capacity.md
Service: service-fabric
GitHub Login: @ChackDan
Microsoft Alias: chackdan

@Robar666 Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.


Using Dry Run throws a key error

The problem
A description of what the bug is, including a complete traceback (if applicable)
Expected behavior
Setting 'dry_run' to true results in a  key error. However it would run correctly without it.
Steps to reproduce the behavior

 enable_logging()

    create_observation(
        taxon_id=40268,
        observed_on_string=time,
        time_zone="Bangkok",
        latitude="10.6122382",
        longitude="104.1774368",
        description=" some description",
        access_token=token,
        dry_run=True
        )

[01-09 15:48:17] INFO     Request: (DRY RUN)                                                         [session.py](file:///usr/local/lib/python3.10/dist-packages/pyinaturalist/session.py):[297](file:///usr/local/lib/python3.10/dist-packages/pyinaturalist/session.py#297)
                          POST https://api.inaturalist.org/v1/observations?ignore_photos=1
                          User-Agent: python-requests/2.31.0 pyinaturalist/0.19.0
                          Accept-Encoding: gzip, deflate, br
                          Accept: application/json
                          Connection: keep-alive
                          Authorization: [REDACTED]
                          Content-Length: 201
                          Content-Type: application/json
                          {'observation': {'taxon_id': 40268, 'observed_on_string':
                          '2023-12-17T18:27:29+07:00', 'time_zone': 'Bangkok', 'description': ' some
                          description', 'latitude': '10.6122382', 'longitude': '104.1774368'}}

---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
Cell In[17], line 17
     14 print(time)
     15 enable_logging()
---> 17 create_observation(
     18     taxon_id=40268,
     19     observed_on_string=time,
     20     time_zone="Bangkok",
     21     latitude="10.6122382",
     22     longitude="104.1774368",
     23     description=" some description",
     24     access_token=token,
     25     dry_run=True
     26     )

File /usr/local/lib/python3.10/dist-packages/forge/_revision.py:328, in Revision.__call__.<locals>.inner(*args, **kwargs)
    324 @functools.wraps(callable)  # type: ignore
    325 def inner(*args, **kwargs):
    326     # pylint: disable=E1102, not-callable
    327     mapped = inner.__mapper__(*args, **kwargs)
--> 328     return callable(*mapped.args, **mapped.kwargs)

File /usr/local/lib/python3.10/dist-packages/pyinaturalist/v1/observations.py:418, in create_observation(**params)
    416 response = post(f'{API_V1}/observations', json={'observation': params}, **kwargs)
    417 response_json = response.json()
--> 418 observation_id = response_json['id']
    420 upload(observation_id, photos=photos, sounds=sounds, photo_ids=photo_ids, **kwargs)
    421 return response_json

KeyError: 'id'

Workarounds
Is there an existing workaround for this issue?
Environment

OS & version: Ubuntu LTS
Python version: 10.2.1
Pyinaturalist version or branch: 0.19

Thanks for the bug report. This has been fixed in main.

Thank you @JWCook Much appreciated.


Infra->Pods does not show which pod from which zone is, admin needs to name them with the zone name to have this info

ISSUE TYPE

Improvement Request
Enhancement Request
Feature Idea

COMPONENT NAME

UI

CLOUDSTACK VERSION

Reported in 4.11, but also seen in previous

CONFIGURATION

Have more than one zone with multiple pods
OS / ENVIRONMENT

NA
SUMMARY

When opening the Pods in the UI, Cloudstack admin is not able to see which zone a pod is part of, if it's using same naming it could be confusing. It'll be good if we have a fields here to display the zone.
STEPS TO REPRODUCE

Just open Infra->Pods

EXPECTED RESULTS

Pods to have zone displayed

ACTUAL RESULTS

They dont

Not a problem with 4.11.1, see:


There should be a CMake generated install target

The CMake build files should include install directives.  Install directives will allow easier integration with package managers like vcpkg.  Without install directives, a configuration file for vcpkg would have to account for the potential differences in output locations for build artifacts produced by different build systems.  For instance, Ninja will place output in the build directory in src/loader/openxr_loader-0_90.lib  while MSVC may place it in src/loader/Release/openxr_loader-0_90.lib.  Packaging tools like vcpkg then have to account for all possible locations or artificially constrain the allowed tools for building.

fixed by #16


NAME THE RELEASES AFTER HOT SAUCES THANK YOU 🔌🚀🎈

Any suggested names?

Fabric 3.0: WackyTabascy

Here's a list of 130 hot peppers, with no trademark concerns. :smile:

Well, that limits you to only 130 releases.  What do you do for 131?  ;-)

Go backwards up that list, so we tell everyone how our fabric releases just keep getting hotter.

piri piri :fire:

We're going to go ahead and use the names of spicy peppers, working our way from most spicy to least spicy. The idea is that Fabric should get more tolerable over time. 😉
Fabric 3.0 is codenamed "Ghost".


Environment issue

Problem description
I want to simulate. However, I can't successfully run : roslaunch panda_autograsp panda_autograsp.py after running the following install commands:
catkin build -j4 -DCMAKE_BUILD_TYPE=Release -DFranka_DIR:PATH=/libfranka/build -Dfreenect2_DIR=/opt/freenect2/lib/cmake/freenect2"
cd ~/panda_autograsp_ws/src
pip install .

Problem 2
Don't know what happened.
[ INFO] [1584971719.892685049]: compiled against OGRE version 1.9.0 (Ghadamon)
Traceback (most recent call last):
File "/home/johnson/panda_autograsp_ws/src/panda_autograsp/nodes/tf2_broadcaster.py", line 21, in
from panda_autograsp import Tf2Broadcaster
File "/home/johnson/panda_autograsp_ws/devel/lib/python2.7/dist-packages/panda_autograsp/init.py", line 35, in
exec(__fh.read())
File "", line 2, in
File "/home/johnson/panda_autograsp_ws/src/panda_autograsp/src/panda_autograsp/loggers.py", line 22, in
import colorlog
ImportError: No module named colorlog
Traceback (most recent call last):
File "/home/johnson/panda_autograsp_ws/src/panda_autograsp/nodes/moveit_planner_server.py", line 44, in
from panda_autograsp import MoveitPlannerServer
File "/home/johnson/panda_autograsp_ws/devel/lib/python2.7/dist-packages/panda_autograsp/init.py", line 35, in
exec(__fh.read())
File "", line 2, in
File "/home/johnson/panda_autograsp_ws/src/panda_autograsp/src/panda_autograsp/loggers.py", line 22, in
import colorlog
ImportError: No module named colorlog
Traceback (most recent call last):
File "/home/johnson/panda_autograsp_ws/src/panda_autograsp/nodes/panda_autograsp_server.py", line 32, in
from panda_autograsp import PandaAutograspServer
File "/home/johnson/panda_autograsp_ws/devel/lib/python2.7/dist-packages/panda_autograsp/init.py", line 35, in
exec(__fh.read())
File "", line 2, in
File "/home/johnson/panda_autograsp_ws/src/panda_autograsp/src/panda_autograsp/loggers.py", line 22, in
import colorlog
ImportError: No module named colorlog
================================================================================REQUIRED process [tf2_broadcaster-16] has died!
process has died [pid 39153, exit code 1, cmd /home/johnson/panda_autograsp_ws/src/panda_autograsp/nodes/tf2_broadcaster.py panda_link0 calib_frame __name:=tf2_broadcaster __log:=/home/johnson/.ros/log/e054c018-6d02-11ea-9c9f-00505621cb8c/tf2_broadcaster-16.log].
log file: /home/johnson/.ros/log/e054c018-6d02-11ea-9c9f-00505621cb8c/tf2_broadcaster-16*.log
Initiating shutdown!
[moveit_planner_server-19] killing on exit
[grasp_planner_server-18] killing on exit
Traceback (most recent call last):
File "/home/johnson/panda_autograsp_ws/src/panda_autograsp/nodes/grasp_planner_server.py", line 31, in
from gqcnn.utils import GripperMode
File "/home/johnson/panda_autograsp_ws/devel/lib/python2.7/dist-packages/gqcnn/init.py", line 35, in
exec(__fh.read())
File "", line 29, in
File "/home/johnson/panda_autograsp_ws/src/gqcnn/gqcnn/model/init.py", line 32, in
[panda_autograsp_server-17] killing on exit
from .tf import GQCNNTF, FCGQCNNTF
File "/home/johnson/panda_autograsp_ws/src/gqcnn/gqcnn/model/tf/init.py", line 29, in
[dyn_reconf_gui-15] killing on exit
from .network_tf import GQCNNTF
File "/home/johnson/panda_autograsp_ws/src/gqcnn/gqcnn/model/tf/network_tf.py", line 44, in
import tensorflow as tf
File "/home/johnson/envs/ros-grasp2/lib/python2.7/site-packages/tensorflow/init.py", line 24, in
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "/home/johnson/envs/ros-grasp2/lib/python2.7/site-packages/tensorflow/python/init.py", line 52, in
from tensorflow.core.framework.graph_pb2 import *
File "/home/johnson/envs/ros-grasp2/lib/python2.7/site-packages/tensorflow/core/framework/graph_pb2.py", line 6, in
from google.protobuf import descriptor as _descriptor
File "/home/johnson/envs/ros-grasp2/lib/python2.7/site-packages/google/protobuf/init.py", line 37, in
[kinect2_depth_image_proc_sd-14] killing on exit
Traceback (most recent call last):
import('pkg_resources').declare_namespace(name)
File "/home/johnson/envs/ros-grasp2/lib/python2.7/site-packages/pkg_resources/init.py", line 3251, in
File "/home/johnson/envs/ros-grasp2/lib/python2.7/site-packages/shiboken2/files.dir/shibokensupport/signature/loader.py", line 108, in finish_import
def finish_import(module):
KeyboardInterrupt
@_call_aside
File "/home/johnson/envs/ros-grasp2/lib/python2.7/site-packages/pkg_resources/init.py", line 3235, in _call_aside
f(*args, **kwargs)
File "/home/johnson/envs/ros-grasp2/lib/python2.7/site-packages/pkg_resources/init.py", line 3287, in _initialize_master_working_set
list(map(working_set.add_entry, sys.path))
File "/home/johnson/envs/ros-grasp2/lib/python2.7/site-packages/pkg_resources/init.py", line 623, in add_entry
[tf2_broadcaster-16] killing on exit
[kinect2_depth_image_proc_qhd-13] killing on exit
for dist in find_distributions(entry, True):
File "/home/johnson/envs/ros-grasp2/lib/python2.7/site-packages/pkg_resources/init.py", line 2065, in find_on_path
[kinect2_depth_image_proc_hd-12] killing on exit
for dist in factory(fullpath):
File "/home/johnson/envs/ros-grasp2/lib/python2.7/site-packages/pkg_resources/init.py", line 2135, in distributions_from_metadata
[rviz_johnson_VM_UBUNTU16_38979_7231073059793820187-5] killing on exit
root, entry, metadata, precedence=DEVELOP_DIST,
File "/home/johnson/envs/ros-grasp2/lib/python2.7/site-packages/pkg_resources/init.py", line 2592, in from_location
[robot_state_publisher-6] killing on exit
[kinect2_points_xyzrgb_qhd-10] killing on exit
py_version=py_version, platform=platform, **kw
File "/home/johnson/envs/ros-grasp2/lib/python2.7/site-packages/pkg_resources/init.py", line 2994, in _reload_version
[move_group-4] killing on exit
md_version = self._get_version()
File "/home/johnson/envs/ros-grasp2/lib/python2.7/site-packages/pkg_resources/init.py", line 2772, in _get_version
version = _version_from_file(lines)
File "/home/johnson/envs/ros-grasp2/lib/python2.7/site-packages/pkg_resources/init.py", line 2556, in _version_from_file
line = next(iter(version_lines), '')
File "/home/johnson/envs/ros-grasp2/lib/python2.7/site-packages/pkg_resources/init.py", line 2766, in _get_metadata
if self.has_metadata(name):
File "/home/johnson/envs/ros-grasp2/lib/python2.7/site-packages/pkg_resources/init.py", line 1891, in has_metadata
[joint_state_desired_publisher-3] killing on exit
return name == 'PKG-INFO' and os.path.isfile(self.path)
File "/usr/lib/python2.7/genericpath.py", line 37, in isfile
[kinect2_points_xyzrgb_hd-11] killing on exit
[kinect2_points_xyzrgb_sd-9] killing on exit
[virtual_joint_broadcaster_1-1] killing on exit
[kinect2_bridge-8] killing on exit
[kinect2-7] killing on exit
[joint_state_publisher-2] killing on exit
st = os.stat(path)
PluginManager._discover() force discovery of plugins
RospkgPluginProvider._find_plugins() crawling for plugins of type 'qt_gui'
[rviz_johnson_VM_UBUNTU16_38979_7231073059793820187-5] escalating to SIGTERM
shutting down processing monitor...
... shutting down processing monitor complete
done

Could you please tell me what I should do next?
Looking forward to your reply

@JohnsonQi Thanks a lot for your interest in the package and sorry for the problems you're having. I will try to help you to get the package up and running on your system. Although I quickly test the panda_autograsp package with ROS kinetic on ubuntu 16.04, most of the development was done using ROS melodic on ubuntu 18.04. If possible I, therefore, advise you to test out the package on ubuntu 18.04 using ROS melodic. I will create a singularity container later today so we can investigate the problems on your setup. The recipe for this container and the ROS melodic container can be found in the ./containers/singularity folder. In the meantime, however, let see if we can solve the issues together.
First issue
For the first issue your having I think your right about it being caused by the fact that you don't have a real Kinect camera. As you mentioned in your email the following is stated in the documentation:

What I mean with this statement is that the package is not yet fully working with the simulated Kinect2 camera. This is caused by the fact that the simulated camera from the common-sensors  package is publishing camera messages using the topic convention of the https://wiki.ros.org/openni_launch package. As I experienced some problems when using the https://wiki.ros.org/openni_launch package with ROS melodic, I during development switched to the iai_kinect2 package. As a result, the panda_autograsp package expects the camera topics to be published as follows:
/kinect2/hd/camera_info
/kinect2/hd/image_color
/kinect2/hd/image_color/compressed
/kinect2/hd/image_color_rect
/kinect2/hd/image_color_rect/compressed
/kinect2/hd/image_depth_rect
/kinect2/hd/image_depth_rect/compressed
/kinect2/hd/image_mono
/kinect2/hd/image_mono/compressed
/kinect2/hd/image_mono_rect
/kinect2/hd/image_mono_rect/compressed
/kinect2/hd/points
/kinect2/qhd/camera_info
/kinect2/qhd/image_color
/kinect2/qhd/image_color/compressed
/kinect2/qhd/image_color_rect
/kinect2/qhd/image_color_rect/compressed
/kinect2/qhd/image_depth_rect
/kinect2/qhd/image_depth_rect/compressed
/kinect2/qhd/image_mono
/kinect2/qhd/image_mono/compressed
/kinect2/qhd/image_mono_rect
/kinect2/qhd/image_mono_rect/compressed
/kinect2/qhd/points
/kinect2/sd/camera_info
/kinect2/sd/image_color_rect
/kinect2/sd/image_color_rect/compressed
/kinect2/sd/image_depth
/kinect2/sd/image_depth/compressed
/kinect2/sd/image_depth_rect
/kinect2/sd/image_depth_rect/compressed
/kinect2/sd/image_ir
/kinect2/sd/image_ir/compressed
/kinect2/sd/image_ir_rect
/kinect2/sd/image_ir_rect/compressed
/kinect2/sd/points

As this is a little different from how the https://wiki.ros.org/openni_launch package publishes the camera topics the panda_autograsp package is currently not working with the simulated camera. Getting the package to work with the simulated camera is not too hard, but I, unfortunately, did not yet have the time to look into this. There are multiple ways to solve this. The easiest way to get this to work is to remap the topics published from the simulated camera onto the topics the panda_autograsp package expects. A package which can be used to do this is the topics_tools/relay package. Alternatively, we can also write a simple ROS plugin for the  common-sensors  package which publishes the camera images the way the panda_autograsp expects them.
Second issue
Lets now look at the second issue you are experiencing:
ImportError: No module named colorlog

This is caused by the fact that the python colorlog package is not installed. This package should be installed when running the pip install command inside your catkin workspace. However, I just noticed that this is not the cause for some python versions. I will look into this later this month. In the meantime an easy fix would be to install the package manually using the following command:
pip install colorlog

command. However, as the main setup.py is not working on your system, I suspect you then will be greeted by other dependency errors. The best thing to do in your case is to go into the following submodules/subfolders and also run the pip install . command from there:

autolab_core
gqcnn
panda_autograsp
perception


If html5 data- attributes set (data-filter etc) on td's, yadcf returns 'undefined'

If I set data-filter or data-sort attributes in order to control sorting per this article, YADCF stops working and returns 'undefined' when using 'select' dropdowns: http://www.datatables.net/examples/advanced_init/html5-data-attributes.html
I'm trying to sort a firstname-lastname column by last name, by inserting data-filter in the 's. I tried all four (data-filter, data-search, data-order, data-sort) and they all give the same result.
Any way yacdf could support these? Thanks so much!

Not sure it's related yet but I currently get a "It seems you have forgot to define html5_data attribute" error message when any field/row in my serverside setup and ajax/JSON contains "null" as value.


mail archive - catch comment errors

Email comments on specific commits (not 0 in series) fail if the first line is not part of the change.  This is part of a couple of patches to get past this problem.     First step to make sure comments are not missed.
Future patches will

track the initial changed line in a patch in the metadata
check if the commit is no longer part of the patch

Noting this is not tested by the CI at this point.  This patch is to ensure emails are added as comments.

Not sure how the package updates got in this patch.  @dscho  Let me know if you want them removed.

Not sure how the package updates got in this patch. @dscho Let me know if you want them removed.

No worries!

No worries!

fyi, hours of research later, I think I accidentally did a commit amend in the vscode source control commit menu.  I've slept since then.  Hours of research had me learning about the .git/logs dir and finally learning all I really needed was the reflog command and a couple of minutes. 😳


Reverting/fixing conflicts

Trying to solve problem with PR #99, restoring #101

restoring PR #99 from Svein