Recommended way to extend xarray Datasets using accessors?

Hi,
I'm now regularly using xarray (& dask) for organising and analysing the output of the simulation code I use (BOUT++) and it's very helpful, thank you!.
However my current approach is quite clunky at dealing the extra information and functionality that's specific to the simulation code I'm using, and I have questions about what the recommended way to extend the xarray Dataset class is. This seems like a general enough problem that I thought I would make an issue for it.
Desired
What I ideally want to do is extend the xarray.Dataset class to accommodate extra attributes and methods, while retaining as much xarray functionality as possible, but avoiding reimplementing any of the API. This might not be possible, but ideally I want to make a BoutDataset class which contains extra attributes to hold information about the run which doesn't naturally fit into the xarray data model, extra methods to perform analysis/plotting which only users of this code would require, but also be able to use xarray-specific methods and top-level functions:
bd = BoutDataset('/path/to/data')

ds = bd.data  # access the wrapped xarray dataset
extra_data = bd.extra_data  # access the BOUT-specific data

bd.isel(time=-1)  # use xarray dataset methods

bd2 = BoutDataset('/path/to/other/data')
concatenated_bd = xr.concat([bd, bd2])  # apply top-level xarray functions to the data

bd.plot_tokamak()  # methods implementing bout-specific functionality

Problems with my current approach
I have read the documentation about extending xarray, and the issue threads about subclassing Datasets (#706) and accessors (#1080), but I wanted to check that what I'm doing is the recommended approach.
Right now I'm trying to do something like
@xr.register_dataset_accessor('bout')
class BoutDataset:
    def __init__(self, path):
        self.data = collect_data(path)  # collect all my numerical data from output files
        self.extra_data = read_extra_data(path)  # collect extra data about the simulation

    def plot_tokamak():
        plot_in_bout_specific_way(self.data, self.extra_data)

which works in the sense that I can do
bd = BoutDataset('/path/to/data')

ds = bd.bout.data  # access the wrapped xarray dataset
extra_data = bd.bout.extra_data  # access the BOUT-specific data
bd.bout.plot_tokamak()  # methods implementing bout-specific functionality

but not so well with
bd.isel(time=-1)  # AttributeError: 'BoutDataset' object has no attribute 'isel'
bd.bout.data.isel(time=-1)  # have to do this instead, but this returns an xr.Dataset not a BoutDataset

concatenated_bd = xr.concat([bd1, bd2])  # TypeError: can only concatenate xarray Dataset and DataArray objects, got <class 'BoutDataset'>
concatenated_ds = xr.concat([bd1.bout.data, bd2.bout.data])  # again have to do this instead, which again returns an xr.Dataset not a BoutDataset

If I have to reimplement the APl for methods like .isel() and top-level functions like concat(), then why should I not just subclass xr.Dataset?
There aren't very many top-level xarray functions so reimplementing them would be okay, but there are loads of Dataset methods. However I think I know how I want my BoutDataset class to behave when an xr.Dataset method is called on it: I want it to implement that method on the underlying dataset and return the full BoutDatset with extra data and attributes still attached.
Is it possible to do something like:
"if calling an xr.Dataset method on an instance of BoutDataset, call the corresponding method on the wrapped dataset and return a BoutDataset that has the extra BOUT-specific data propagated through"?
Thanks in advance, apologies if this is either impossible or relatively trivial, I just thought other xarray users might have the same questions.

Your use of an xarray accessor class looks a little funny to me. Accessors should only accept one argument, which is an xarray.Dataset. If you want to make your own objects, that's fine, but I don't think there's any point in making them an accessor.
What does your extra_data look like? Would it be possible to put it into xarray in the form of coordinates or attributes? If so, that would probably be the preferred path.

Accessors should only accept one argument, which is an xarray.Dataset.

Ah - I misunderstood how they work, if I do this:
@xr.register_dataset_accessor('bout')
class BoutDataset(object):
    def __init__(self, ds_object):
        self.data = ds_object

    def plot_tokamak():
        plot_in_bout_specific_way(self.data, self.extra_data)

then I can successfully use it like this:
ds = collect_data(path)

ds.bout.plot_tokamak()
print(ds.bout.data)

Thanks!

What does your extra_data look like? Would it be possible to put it into xarray in the form of coordinates or attributes?

My extra_data is a nested-dictionary-like object containing everything in the simulation input file. This I can store in the attributes dictionary (that's what I'm doing at the moment), but I'm still interested in the problem of attaching arbitrary objects because because losing the attributes on operations is annoying and I envisage either myself or other users of the code wanting to store more complicated structures in the future. (For example an xgcm grid object)
Also the philosophy of the BOUT framework encourages each group of users to add their own functionality depending on what exactly they are solving. Some kind of base BoutDataset class which could then be further subclassed to add more specific functionality would fit best with this system. Would it be a terrible idea to subclass xr.Dataset into a BoutDataset, then decorate every inherited method by looping over them so that my extra attached objects are dealt with appropriately (maybe like this)? Would that not in theory give me the whole API of xarray while allowing me to attach arbitrary objects and methods to my class, and allowing further subclassing if desired?
(Sorry if this is too far off the topic of xarray, feel free to close it if you think this is not going to be relevant to any of the rest of the community.)

Sorry for the triple comment, but I think I've got what I want now - leaving it here in case it helps anyone else:
If I do this:
@xr.register_dataset_accessor('bout')
class BoutAccessor(object):
    def __init__(self, ds_object):
        self._data = ds_object

    def set_options(self, options):
        self.options = options

@register_dataset_accessor('storm')
class StormAccessor(BoutAccessor):
    def __init__(self, ds_object):
        super().__init__(ds_object)

    def special_storm_plot()
        special_storm_plot(self._data, self.options)

then I can have BOUT-specific attributes and methods stored via the bout accessor, all of which are inherited by the more-specific storm accessor
ds = collect_data(path)
options_obj = get_options(path)

ds.storm.set_options(options_obj)  # access inherited methods from the bout accessor to store arbitrary extra data

ds.storm.special_storm_plot()  # use data from the bout accessor when calling more-specific methods form the storm accessor

I realised I'm massively overcomplicating this, I think all I need is the existing accessors + attrs to always be preserved to get the behaviour I want. Therefore once #2482 is merged then I should be able to close this.

#2482 has now been merged which means that I can get the behaviour I want by using globally-permanent attrs to store arbitrary objects, and using accessors to attach methods to datasets.


Ubuntu: .NET sdk not found

I am getting this error log
Starting OmniSharp server at 2/27/2019, 4:19:43 PM
Target: /data/csharpbascics
OmniSharp server started with Mono 5.16.0.
Path: /home/adeel/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.8/omnisharp/OmniSharp.exe
PID: 10304
    Loaded OmniSharp.Cake, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null

    Loaded OmniSharp.DotNet, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null

    Loaded OmniSharp.DotNetTest, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null

    Loaded OmniSharp.Host, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null

    Loaded OmniSharp.MSBuild, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null

    Loaded OmniSharp.Plugins, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null

    Loaded OmniSharp.Roslyn, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null

    Loaded OmniSharp.Roslyn.CSharp, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null

    Loaded OmniSharp.Script, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null

    Starting OmniSharp on opensuse-tumbleweed 20190224.0 (x64)

    DotNetPath set to dotnet

    Mono MSBuild could not be used because '/usr/lib/mono/msbuild/15.0/bin/Microsoft.Build.dll' does not exist.

    It looks like you have Mono 5.2.0 or greater installed but MSBuild could not be found.

Try installing MSBuild into Mono (e.g. 'sudo apt-get install msbuild') to enable better MSBuild support.
info: OmniSharp.MSBuild.Discovery.MSBuildLocator
Located 1 MSBuild instance(s)
1: StandAlone 15.0 - "/home/adeel/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.8/omnisharp/msbuild/15.0/Bin"
dbug: OmniSharp.MSBuild.Discovery.MSBuildLocator
SUCCESS: Resolved to '/home/adeel/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.8/omnisharp/msbuild/15.0/Bin/Microsoft.Build.Utilities.Core.dll' (name-only).
dbug: OmniSharp.MSBuild.Discovery.MSBuildLocator
SUCCESS: Resolved to '/home/adeel/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.8/omnisharp/msbuild/15.0/Bin/Microsoft.Build.Tasks.Core.dll' (name-only).
dbug: OmniSharp.MSBuild.Discovery.MSBuildLocator
SUCCESS: Resolved to '/home/adeel/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.8/omnisharp/msbuild/15.0/Bin/Microsoft.Build.Framework.dll' (name-only).
dbug: OmniSharp.MSBuild.Discovery.MSBuildLocator
SUCCESS: Resolved to '/home/adeel/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.8/omnisharp/msbuild/15.0/Bin/Microsoft.Build.dll' (name-only).
info: OmniSharp.MSBuild.Discovery.MSBuildLocator
MSBUILD_EXE_PATH environment variable set to '/home/adeel/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.8/omnisharp/msbuild/15.0/Bin/MSBuild.dll'
info: OmniSharp.MSBuild.Discovery.MSBuildLocator
Registered MSBuild instance: StandAlone 15.0 - "/home/adeel/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.8/omnisharp/msbuild/15.0/Bin"
MSBuildExtensionsPath = /usr/lib/mono/xbuild
BypassFrameworkInstallChecks = true
CscToolPath = /home/adeel/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.8/omnisharp/msbuild/15.0/Bin/Roslyn
CscToolExe = csc.exe
MSBuildToolsPath = /home/adeel/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.8/omnisharp/msbuild/15.0/Bin
TargetFrameworkRootPath = /usr/lib/mono/xbuild-frameworks
dbug: OmniSharp.MSBuild.Discovery.MSBuildLocator
Attempting to resolve 'System.Threading.Tasks.Dataflow, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
dbug: OmniSharp.MSBuild.Discovery.MSBuildLocator
FAILURE: Could not locate '/home/adeel/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.8/omnisharp/msbuild/15.0/Bin/System.Threading.Tasks.Dataflow.dll'.
dbug: OmniSharp.MSBuild.Discovery.MSBuildLocator
Attempting to resolve 'System.Threading.Tasks.Dataflow, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
dbug: OmniSharp.MSBuild.Discovery.MSBuildLocator
FAILURE: Could not locate '/home/adeel/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.8/omnisharp/msbuild/15.0/Bin/System.Threading.Tasks.Dataflow.dll'.
System.TypeLoadException: Could not load type of field 'OmniSharp.MSBuild.ProjectManager:_queue' (11) due to: Could not load file or assembly 'System.Threading.Tasks.Dataflow, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
at (wrapper managed-to-native) System.RuntimeTypeHandle.is_subclass_of(intptr,intptr)
at System.RuntimeTypeHandle.IsSubclassOf (System.RuntimeType childType, System.RuntimeType baseType) [0x00016] in :0
at System.RuntimeType.IsSubclassOf (System.Type type) [0x00020] in :0
at System.RuntimeType.IsValueTypeImpl () [0x00026] in :0
at System.Type.get_IsValueType () [0x00000] in :0
at System.Type.get_IsClass () [0x0000b] in :0
at System.Composition.TypedParts.Discovery.TypeInspector.InspectTypeForPart (System.Reflection.TypeInfo type, System.Composition.TypedParts.Discovery.DiscoveredPart& part) [0x0000b] in <9aac21a4a3f24063b2b8b59143acddfc>:0
at System.Composition.TypedParts.TypedPartExportDescriptorProvider..ctor (System.Collections.Generic.IEnumerable1[T] types, System.Composition.Convention.AttributedModelProvider attributeContext) [0x00037] in <9aac21a4a3f24063b2b8b59143acddfc>:0    at System.Composition.Hosting.ContainerConfiguration.CreateContainer () [0x00042] in <9aac21a4a3f24063b2b8b59143acddfc>:0    at OmniSharp.CompositionHostBuilder.Build () [0x001f6] in <ec3b9b744cc24b97b94be13e30b9e41f>:0    at OmniSharp.Stdio.Host..ctor (System.IO.TextReader input, OmniSharp.Stdio.Services.ISharedTextWriter writer, OmniSharp.IOmniSharpEnvironment environment, System.IServiceProvider serviceProvider, OmniSharp.CompositionHostBuilder compositionHostBuilder, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, System.Threading.CancellationTokenSource cancellationTokenSource) [0x00057] in <35cdcec6f502484d8825e1fc7493c665>:0    at OmniSharp.Stdio.Driver.Program+<>c__DisplayClass0_1.<Main>b__1 () [0x00138] in <22c463206460470eafd215b3bb7ab1cd>:0    at OmniSharp.CommandLineApplication+<>c__DisplayClass11_0.<OnExecute>b__0 () [0x0000b] in <ec3b9b744cc24b97b94be13e30b9e41f>:0    at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute (System.String[] args) [0x00039] in <344a1e8cd6594b17b1e01f8df6ae8827>:0    at OmniSharp.CommandLineApplication.Execute (System.Collections.Generic.IEnumerable1[T] args) [0x00042] in :0
at OmniSharp.Stdio.Driver.Program+<>c__DisplayClass0_0.b__0 () [0x00028] in <22c463206460470eafd215b3bb7ab1cd>:0
at OmniSharp.HostHelpers.Start (System.Func`1[TResult] action) [0x0001c] in :0

It looks like you have Mono 5.2.0 or greater installed but MSBuild could not be found.
Try installing MSBuild into Mono (e.g. 'sudo apt-get install msbuild') to enable better MSBuild support.
@Adeelasd Can you try installing msbuild and checking if the error still persists ?

This might be related to https://github.com/OmniSharp/omnisharp-roslyn/issues/1394

I already have msbuild installed.
I had to resolve to disabling global mono to get Omnisharp working.

A lot of improvements to SDK resolution have been made since this issue was opened. If you are still having problems, please open a new issue.


Move SSLContext README section and improve wording

The new SSLContext-based usage is more appropriate to have as first item
in usage than JVM-level approach. Wording and nesting of headers was
improved for readability too.

@vvidovic good catch - I'll fix that once we move the branch into our repo!


Add html anchor element to first-level class on parameters page

For example, we already had anchor elements to the individual parameters, but not for the top-level class like Transport / Cache. It would be convenient if we can have it.

Hello! I would like to contribute to fixing this. Is this already in progress?

Hello! I would like to contribute to fixing this. Is this already in progress?

Nope.  Thanks for taking care of this.

@SayaliNilangekar Hey Sayali. What's the status on this issue? I'm wondering if we can get this out before 7.6

This is partially done (with issues) in the docs repo. Will open separate issue in docs repo for fixing errors


Apprise Form:// Notification not valid

Describe the bug
Can’t validate a form POST notification URL.
Version
0.39.7
To Reproduce
Steps to reproduce the behavior:
Example of apprise url :
form://google.fr
Will issue an error when trying to save and test.
xxxxxx is not a valid AppRise URL.

Related to https://github.com/caronc/apprise/wiki/Notify_Custom_Form

please pull latest container once it's finished building (about an hour) and let me know if it's still an issue


Docker Build failed, /proc file permission denied

Expected Behavior

Upon pulling new change from master, I should be able to run docker-compose -f local.yml build to update the docker image.
Current Behavior

The build process failed:
Step 8/21 : RUN find . -type d -name __pycache__ -exec rm -r {} \+
 ---> Running in 41c5736fc3df
find: './proc/1/map_files': Operation not permitted
find: './proc/7/map_files': Operation not permitted
ERROR: Service 'base' failed to build: The command '/bin/sh -c find . -type d -name __pycache__ -exec rm -r {} \+' returned a non-zero code: 1

Possible Solution

Steps to Reproduce

Pull from master
Run docker-compose -f local.yml build

Context (Environment)

This might be specific to Debian. My operating system is:
Linux lab 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u3 (2017-08-15) x86_64 GNU/Linux

Detailed Description

Possible Implementation

Checklist before submitting

[x] I have confirmed this using the officially supported Docker Compose setup using the local.yml configuration and ensured that I built the containers again and they reflect the most recent version of the project at the HEAD commit on the master branch
[x] I have searched through the other currently open issues and am confident this is not a duplicate of an existing bug
[ ] I provided a minimal code snippet or list of steps that reproduces the bug.
[ ] I provided screenshots where appropriate
[ ] I filled out all the relevant sections of this template

After spending an entire day trying all kind of thing to fix the problem, from reinstalling docker, to remove docker tunnel, to reboot my machine a dozen of time, I decided to just comment out the 8th docker command in the base instruction, and that solved the problem.
This was super frustrating. But I think this line should be investigated and might need improvement:
RUN find . -type d -name __pycache__ -exec rm -r {} \+

Maybe we can use a python package like pyclean or py3clean to clean up the cache instead of searching for it manually?

I can't reproduce this, but it could be related to https://github.com/moby/moby/issues/16506. Perhaps a PR blacklisting the proc dir may help.

Maybe we can use a python package like pyclean or py3clean to clean up the cache instead of searching for it manually?

FYI, these packages do the same thing as the script. Just in python instead of bash.

@louisgv I think it's time to close this and #238 unless you can update us with current status and detailed steps to reproduce. Thoughts?

@isms let's close this for now. By commenting out the 8th line of the docker script this problem is gone for me.


Enable tests in CI

Fix some flakiness, disable failing tests, and hook up test results view in Azure Pipelines
Fix #28

Still failing...


Update & document Quests API

http://web.archive.org/web/20140908183254/http://blackvein.net/api.html

Duplicate of #87

This should not be closed.

Auto-close was a mistake. Re-opening

https://github.com/FlyingPikachu/Quests/wiki/Quests-API


Require code reviews

I submitted https://github.com/bazelbuild/skydoc/commit/1cdb612e31448c2f6eb25b8aa67d406152275482 by accident: I thought I was pushing in my fork. So the code got submitted without any review. Based on the history, it's not the first commit pushed without a PR. Can we prevent that?

Sorry for dropping this on the floor; added @laurentlb  and @c-parsons as admins, and protected master requiring at least one code review from CODEOWNERS including admins.

(admins can tweak the setting further afaiu, please tell me if that is not the case)


New models

We should add the possibility of using other lens models, such as NSIE or NFW at least.
EDIT: Let's try to make a list of the lens models which are needed before we submit the paper.

[X] SIE
[x] NSIE
[x] SIS
[x] NSIS
[ ] Power Law
[ ] NFW
[ ] Pseudo-NFW
[x] Point Mass

And what about sources?

[X] Sersic
[x] De Vacouleurs
[x] Exponential Disk
[x] Gaussian

Closing this, as I think we have a good selection of common objects.


Mock network requests within all TransactionController tests

This issue is part of mocking network requests across all tests.

Interested. Please assign.

Hi @spiritanand. We tend to assign tickets as a part of our development process when we've brought them into our roadmap, but we'd gladly take a PR if this is something you'd like to work on. You can see an example of a previous PR addressing this ticket here: https://github.com/MetaMask/core/pull/916

I will wait for it to be added @mcmire. If there are any issues which you feel I can look at, please let me know.
Thanks


Error Deploying Multiple Extensions at Once

Hello, we have clients who have a number of extensions installed that may depend on the same extensions but not on each other.  Previously, in earlier versions of BC, we could deploy multiple extensions at the same time (perhaps in different browser tabs or in the same tab before prior extensions finished deploying).  However, now I am always receiving an error in the deployment that simply states: "Deployment Failed: Job XXXX-XXXXXX..." where the X's are a single GUID value.

Now it seems to be working only minutes/hours later.  It didn't work all morning - weird


corehub.SubscribeToExchangeDeltas

There was an error invoking Hub method 'corehub.SubscribeToExchangeDeltas'.
Just got this. Is this a general problem, or is it just me?

It was my bad


Link syntax.html properly

I figured even though Felix wants to do something in regards to Go (referenced on #70) that the link should work instead of be broken in production.
Given that #70 is over two years old, he has more than likely moved on.

Yeah, this one totally slipped my mind. Will merge and deploy this tonight.
Thanks!


Fix resetting storage dependency on PCP

Storage cannot be reset until podified openstack control plane CRs
deleted, because of finalizers.
Fix condition to allow resetting storage only when resetting PCP
as well. Remove hacks to erase finalizers (but one for keystoneapis,
which should normally be deleted during oscp CR deletion).
Add removal of osp-secret, and osdpns steps.
Fix the ordering and waiting of events when resetting storage and PCP:

Disable galera operator by scaling-in its operator deployment to 0
(this is the only way as openstack controller webhook prohibits
disabling/scaling-in galera replicas to 0, because this would
break all openstack components under normal circumstances)
Fully scale-in statefull sets for galera instances of all cells
Remove galera databases pvcs, for all Nova cells
Enable galera operator back to start DB instances back with cleaned
up storage PVs.

I keep getting keystone-db-sync errors when respinning the adoption tests (CI does not cover that)
"Access denied for user 'keystone'@'' (using password: YES)")


Patch version to 0.1.2

@JuliaRegistrator register branch=main

Registration pull request created: JuliaRegistries/General/85626
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.2 -m "<description of version>" 9fe486259763f1d083a50b91a540232a3e3a11c1
git push origin v0.1.2


Resize nodes

Hi, we would like to be able to resize nodes by adding resizers to a node (similarly to how ports are added). When a resizer is dragged, the node changes size accordingly. We have created this PR to implement it. Please take a look and let us know if you have any concerns or questions.

I have replied to your PR directly


Error when importing SUMO integration BridgeHelper

I am using CARLA 0.9.10. Not sure if this is fixed in latest release. When I run the SUMO "run_synchronization.py" example from its folder, the script works fine. However, I created another script at an alternate location. When try to import the SUMO integration package (C:/CARLA/Co-Simulation/Sumo/sumo_integration), I get the following error.

File "C:/CARLA/Co-Simulation/Sumo/sumo_integration/bridge_helper.py", line 37, in BridgeHelper
with open('data/vtypes.json') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'data/vtypes.json'

I modified the bridge_helper.py script with following change to make it work in a generic manner.

Add Line 14: import os
modify Line37-38:
vtypes_file = os.path.join(os.path.dirname(os.path.realpath(__file__)),'../data/vtypes.json')
with open(vtypes_file) as f:
_VTYPES = json.load(f)['carla_blueprints']

Is this the best way to modify the bridge helper so that when I pass the script to another user, he can run it without issues?

@Axel1092 Could you follow up on this please?

Hi @svanimisetti! Thanks for reporting that. I've opened a PR to include your changes.

I am using CARLA Nightly Build (Windows). I am following steps in SUMO co-simulation page https://carla.readthedocs.io/en/0.9.11/adv_sumo/
cd ~/carla
./CarlaUE4.sh
cd PythonAPI/util
python3 config.py --map Town04
cd ~/carla/Co-Simulation/Sumo
everything is working fine but when I typed
python3 run_synchronization.py examples/Town04.sumocfg  --sumo-gui
I am getting the following error
File ".\run_synchronization.py", line 49, in
from sumo_integration.bridge_helper import BridgeHelper  # pylint: disable=wrong-import-position
File "C:\Users\Documents\CARLA\WindowsNoEditor\Co-Simulation\Sumo\sumo_integration\bridge_helper.py", line 23, in
from .sumo_simulation import SumoSignalState, SumoVehSignal
File "C:\Users\Documents\CARLA\WindowsNoEditor\Co-Simulation\Sumo\sumo_integration\sumo_simulation.py", line 25, in
import lxml.etree as ET  # pylint: disable=import-error
ModuleNotFoundError: No module named 'lxml'
I checked BridgeHelper file   and here is 23 to 50 lines
from .sumo_simulation import SumoSignalState, SumoVehSignal
=============================================================================
-- Bridge helper (SUMO <=> CARLA) ----------------------------------------------------------------
=============================================================================
class BridgeHelper(object):
"""
BridgeHelper provides methos to ease the co-simulation between sumo and carla.
"""
blueprint_library = []
offset = (0, 0)
_vtypes_path = os.path.join(os.path.dirname(os.path.realpath(file)), "..", "data",
"vtypes.json")
with open(_vtypes_path) as f:
_VTYPES = json.load(f)['carla_blueprints']
@staticmethod
def get_carla_transform(in_sumo_transform, extent):
"""
Returns carla transform based on sumo transform.
"""
offset = BridgeHelper.offset
in_location = in_sumo_transform.location
in_rotation = in_sumo_transform.rotation
Can you please advise how to fix this error?


React - property key. Property not found in props

/* @flow */

import React from 'react';
type Props = {
    key: string;
    foo: number;
}

class Inner extends React.PureComponent {
  props: Props;

  render() {
    return

      {this.props.foo}

  }
}

class Outer extends React.PureComponent {
  render() {
    return

        <Inner
          key={"some string"}
          foo={2}
    	></Inner>

  }
}

The error:
10:   props: Props;
             ^ property `key`. Property not found in
22:         <Inner
             ^ props of React element `Inner`

Reproducible on flow.org/try .
"Fixed" by removing key: string from props (flow.org)

key is a special property in React, it shouldn't be accessed from within the component, you can try with another name.

Where can I find documentation about what it means/does?

https://facebook.github.io/react/docs/lists-and-keys.html

:+1: thanks, closing

Anyway, can I somehow "force" the key property to be used on typecheck? It seems react itself will warn me, but not Flow typechecker.

Anyway, can I somehow "force" the key property to be used on typecheck? It seems react itself will warn me, but not Flow typechecker.

I think this issue should be re-opened for this reason ^
Console warnings are useless--one typically has to turn them off to get any work done. How do you get Flow to tell you when you've forgotten to define a key property? Requiring a new property named _key and setting key within the component would be pretty lame.

I also think the issue should be reopened.
Moving away from componentWillReceiveProps to using the key-prop in order to fully control the component it would make sense to be able to require the key-prop.
See https://reactjs.org/blog/2018/06/07/you-probably-dont-need-derived-state.html#recommendation-fully-uncontrolled-component-with-a-key


conjur api is not authenticating in Python

I am getting results back from the conjur-cli, but getting an authentication error when trying to do the same thing in Python.
[root@lncd906 ~]# conjur-cli list | head  -4  | sed '/REDACTED/s//REDACTED/'
[
"REDACTED:policy:root",
"REDACTED:policy:conjur/cluster/conjur",
"REDACTED:layer:conjur/cluster/conjur",
[root@lncd906 ~]# python3
Python 3.6.8 (default, Jun 11 2019, 15:15:01)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux
Type "help", "copyright", "credits" or "license" for more information.

from conjur import Client
c = Client()
c.list()
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.6/site-packages/conjur/client.py", line 115, in list
return self._api.list_resources()
File "/usr/local/lib/python3.6/site-packages/conjur/api.py", line 147, in list_resources
api_token=self.api_token,
File "/usr/local/lib/python3.6/site-packages/conjur/api.py", line 90, in api_token
self._api_token = self.authenticate()
File "/usr/local/lib/python3.6/site-packages/conjur/api.py", line 133, in authenticate
self.api_key, ssl_verify=self._ssl_verify).text
File "/usr/local/lib/python3.6/site-packages/conjur/http.py", line 62, in invoke_endpoint
response.raise_for_status()
File "/usr/local/lib/python3.6/site-packages/requests/models.py", line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://conjurmaster-qa.REDACTED.com/authn/default/admin/authenticate

Hi @cbarga,
This is for sure an authentication issue - can you give me the list of fields (no need for their values) contained within ~/.netrc and ~/.conjurrc? You can try running the client with `debug flag set to maybe see what's being sent.

-bash-4.2$ cat .netrc .conjurrc
machine https://conjurmaster-qa.REDACTED.com/authn
login host/jenkins/jenkins-host
password
account: REDACTED
plugins: []
appliance_url: https://conjurmaster-qa.REDACTED.com
cert_file: "/var/lib/jenkins/conjur-REDACTED.pem"

@cbarga Hmm all of that seems reasonable - I do wonder if maybe the slashes in the login are not being escaped properly in the python code. Are you able to create a login with no slashes to test that theory out on your env? If not, I can try to set something up locally to see what kind of behavior it's expecting.

I did try and login as my personal account (i.e. no slashes) and getting the same thing.

c = Client(url='https://conjurmaster-qa.REDACTED.com',
...            account='REDACTED',
...            login_id='clb10',
...            password='REDACTED',
...            ca_bundle='/var/lib/jenkins/conjur-REDACTED.pem')
Traceback (most recent call last):
File "", line 5, in
File "/usr/local/lib/python3.6/site-packages/conjur/client.py", line 94, in init
self._api.login(login_id, password)
File "/usr/local/lib/python3.6/site-packages/conjur/api.py", line 110, in login
ssl_verify=self._ssl_verify).text
File "/usr/local/lib/python3.6/site-packages/conjur/http.py", line 62, in invoke_endpoint
response.raise_for_status()
File "/usr/local/lib/python3.6/site-packages/requests/models.py", line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://conjurmaster-qa.REDACTED.com/authn/REDACTED/login

I also used the conjur cli to login as myself (which updated .netrc) and then tried authenticating from python.
-bash-4.2$ cat .netrc
machine https://conjurmaster-qa.REDACTED.com/authn
login clb10
password REDACTED
-bash-4.2$ python3
Python 3.6.8 (default, Jun 11 2019, 15:15:01)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux
Type "help", "copyright", "credits" or "license" for more information.

from conjur import Client
c = Client()
c.list()
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.6/site-packages/conjur/client.py", line 115, in list
return self._api.list_resources()
File "/usr/local/lib/python3.6/site-packages/conjur/api.py", line 147, in list_resources
api_token=self.api_token,
File "/usr/local/lib/python3.6/site-packages/conjur/api.py", line 90, in api_token
self._api_token = self.authenticate()
File "/usr/local/lib/python3.6/site-packages/conjur/api.py", line 133, in authenticate
self.api_key, ssl_verify=self._ssl_verify).text
File "/usr/local/lib/python3.6/site-packages/conjur/http.py", line 62, in invoke_endpoint
response.raise_for_status()
File "/usr/local/lib/python3.6/site-packages/requests/models.py", line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://conjurmaster-qa.REDACTED.com/authn/default/clb10/authenticate

So this might be a long shot, but can you try this (appending api to the url):
Client(url='https://conjurmaster-qa.REDACTED.com/api',
    account='REDACTED',
    login_id='clb10',
    password='REDACTED',
    ca_bundle='/var/lib/jenkins/conjur-REDACTED.pem').list()

If that doesn't work, I might have to see if I can recreate something similar on my end.

In the meantime, what version of Conjur are you using and which version of the Python APIs?

Might be also good to know the charsets of the password since I keep thinking it's something with encoding or escaping.

We are running DAP v10.11 and installed the API today, so the most recent version.  Adding api to the url did the trick.

c = Client(url='https://conjurmaster-qa.REDACTED.com/api',
...   account='REDACTED',
...   login_id='clb10',
...   password='REDACTED',
...   ca_bundle='/var/lib/jenkins/conjur-REDACTED.pem'
... )
c.list()[0]
'REDACTED:policy:conjur/cluster/conjur'

@cbarga yeah that makes sense - newest Conjur (depending on how it is run) may require the /api prefix or require no prefix depending on how it's run. Because of this, when it was written, it was decided that this prefix would be explicitly required for the Python APIs.
Given the notes above, can this issue something that can be closed?

The password for the host identity has no special characters, while my personal password does have an exclamation point.

Out of curiosity, I changed the url in .conjurrc and then re-authenticated from the command-line.  It works with the conjur cli, but still not working in python.
-bash-4.2$ cat .conjurrc
account: REDACTED
plugins: []
appliance_url: 'https://conjurmaster-qa.REDACTED.com/api'
cert_file: "/var/lib/jenkins/conjur-REDACTED.pem"
-bash-4.2$ cat .netrc
machine https://conjurmaster-qa.REDACTED.com/api
login host/jenkins/jenkins-host
password REDACTED
machine https://conjurmaster-qa.REDACTED.com/authn
login host/jenkins/jenkins-host
password REDACTED
machine https://conjurmaster-qa.REDACTED.com/api/authn
login host/jenkins/jenkins-host
password REDACTED

from conjur import Client
c = Client()
c.list()
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.6/site-packages/conjur/client.py", line 115, in list
return self._api.list_resources()
File "/usr/local/lib/python3.6/site-packages/conjur/api.py", line 147, in list_resources
api_token=self.api_token,
File "/usr/local/lib/python3.6/site-packages/conjur/api.py", line 90, in api_token
self._api_token = self.authenticate()
File "/usr/local/lib/python3.6/site-packages/conjur/api.py", line 133, in authenticate
self.api_key, ssl_verify=self._ssl_verify).text
File "/usr/local/lib/python3.6/site-packages/conjur/http.py", line 62, in invoke_endpoint
response.raise_for_status()
File "/usr/local/lib/python3.6/site-packages/requests/models.py", line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://conjurmaster-qa.REDACTED.com/api/authn/default/host%2Fjenkins%2Fjenkins-host/authenticate

Hmm... can you try leaving only this in the netrc and trying python api? This might be a different thing.
machine https://conjurmaster-qa.REDACTED.com/api/authn
login host/jenkins/jenkins-host
password REDACTED

That resulted in the same error but did not break the conjur cli (as I half-expected).

So I think I have enough info to take a deeper look into this today or tomorrow as what you have should in theory work. I don't know why your last changes don't work. Just to be 100% sure I am working with proper assumptions, your username can log in fine w/ conjurrc/netrc but the host can't?

No.  When I first authenticate with the conjur cli, using my personal username, and then use python, I get the same error.
-bash-4.2$ conjur authn login -u clb10
Please enter clb10's password (it will not be echoed):
Logged in
-bash-4.2$ python3
Python 3.6.8 (default, Jun 11 2019, 15:15:01)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux
Type "help", "copyright", "credits" or "license" for more information.

from conjur import Client
c = Client()
c.list()[0]
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.6/site-packages/conjur/client.py", line 115, in list
return self._api.list_resources()
File "/usr/local/lib/python3.6/site-packages/conjur/api.py", line 147, in list_resources
api_token=self.api_token,
File "/usr/local/lib/python3.6/site-packages/conjur/api.py", line 90, in api_token
self._api_token = self.authenticate()
File "/usr/local/lib/python3.6/site-packages/conjur/api.py", line 133, in authenticate
self.api_key, ssl_verify=self._ssl_verify).text
File "/usr/local/lib/python3.6/site-packages/conjur/http.py", line 62, in invoke_endpoint
response.raise_for_status()
File "/usr/local/lib/python3.6/site-packages/requests/models.py", line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://conjurmaster-qa.REDACTED.com/api/authn/default/clb10/authenticate

Out of curiosity, I tried using the conjur-cli tool in python as a subprocess and it works:

secret = 'QA-CyberArkVault/Jenkins/DAP_Automation/dap_automation-arp_api/password'
p = subprocess.Popen(["/usr/local/bin/conjur-cli", "variable", "get", f'{secret}'], stdout=subprocess.PIPE)
p.communicate()[0]
b'45ff0a48-c39f-4559-a63d-87c510a4074e'

@cbarga Ah ok - so specifying config in the Client() worked here but the rest didn't. That should be enough for me to start working on this issue locally.

@cbarga I'm having trouble recreating this error locally. My test setup is below but I want to point out that .netrc password is in actuality an API key and not the login password so I wonder if that's the problem.
DAP:
$ docker run -d --security-opt seccomp:unconfined --name conjur-appliance2 -p 443:443 <REDACTED>/conjur-appliance:10.10
$ docker exec conjur-appliance2 evoke configure master -h localhost -p mypassword default

...
Configuration successful. Conjur master up and running.

Python Client
./.conjurrc
---
account: default
plugins: []
appliance_url: 'https://localhost/api'
cert_file: "<redacted_abs_path>/cert.pem"

./.netrc
machine https://localhost/api/authn
  login admin
  password 3d9c6yv3xgz4ft218dd0z5rknv3fnnxe42fdy91y3pt4cj646ht3g

Running
$ # Get an isolated env
$ python3 -m venv venv
$ source venv/bin/activate

$ # Install Pypi package
$ echo conjur-client > requirements.txt
$ pip3 install -r requirements.txt

$ # Grab SSL cert
$ openssl s_client -showcerts \
  -connect localhost:443 </dev/null 2>/dev/null | sed -n -e '/BEGIN\ CERTIFICATE/,/END\ CERTIFICATE/ p' > cert.pem

$ HOME=$(pwd) python3 -c 'from conjur import Client;Client().list()'

<Nothing printed since I don't have any policies loaded but no auth errors>

$ echo $?

0

conjur-cli Client
$ docker pull cyberark/conjur-cli:5
$ mkdir foo

$
docker run --rm --net=host -it -v $(pwd)/foo:/root cyberark/conjur-cli:5

root@docker-desktop:/# conjur init -u https://localhost/api
SHA1 Fingerprint=C7:54:85:D0:16:2E:37:FA:5B:3B:43:2D:64:56:30:B7:88:54:78:34
Please verify this certificate on the appliance using command:
              openssl x509 -fingerprint -noout -in ~conjur/etc/ssl/conjur.pem
Trust this certificate (yes/no): yes

Enter your organization account name: default

Wrote certificate to /root/conjur-default.pem
Wrote configuration to /root/.conjurrc

root@docker-desktop:/# conjur authn login
Enter your username to log into Conjur: admin
Please enter your password (it will not be echoed):
Logged in

root@docker-desktop:/# cat ~/.conjurrc
---
account: default
plugins: []
appliance_url: https://localhost/api
cert_file: "/root/conjur-default.pem"

root@docker-desktop:/# cat ~/.netrc
machine https://localhost/api/authn
  login admin
  password 3d9c6yv3xgz4ft218dd0z5rknv3fnnxe42fdy91y3pt4cj646ht3g

root@docker-desktop:/# conjur list
[

]

^ you can see that these files are practically identical to ones from my manually entered ones
I then tried to use the conjur-cli generated files as input into python (I had to fix the cert path) and it worked fine too. At this point, I can't quite tell what might be causing the issue since afaict it's all behaving as expected.
@cbarga Any thoughts on maybe how my env might be different from yours?

@cbarga Just following up: Any updates/insights given my testing data above?

Sorry I missed your earlier comment.  I don't have any insights, unfortunately.  I did decide to just use summon, since I just need to look up a couple of variables.  So, maybe we can just mark this down as something odd with our environment.

I think I will spin up a development environment that I can test further, because I would like to play around with your module.

@cbarga No problem and testing would be greatly appreciated! :)
I will close this for now but if you find out that it's not environment-related, please reopen this issue as other users may have it as well.
PS: If you're looking up a few variables, don't forget that this module can pull them in batches too: https://github.com/cyberark/conjur-api-python3#get_manyvariable_idvariable_id

I tested and it looks like your code expects the account name to be 'default'.  When I started and 'evoke configure'd the container with 'default' as the account, it works fine.  When I 'evoke configure' as a different account, it gets the error.  Now that I look back at my very first comment, I see 'default' in the url.
https://conjurmaster-qa.redacted.com/authn/default/admin/authenticate
^^^^^^^

...well, the arrows didn't line up, but it's after 'authn'

@cbarga Hmm.. that could be it (I didn't realize that REDACTED in conjurrc in your second post was not the same as default). Let me retry my experiment with a non-default account and see if I can recreate it.

@cbarga Good news - I identified and fixed the bug!
Release is v0.0.4 and you can get the fix with pip install --upgrade conjur-client. I'll close this issue and let us know if it doesn't work for you.

Sweet!  Thank you!  I have upgraded and confirmed that Client.list() works as expected.
On Thursday, November 21, 2019, 05:42:54 PM EST, Srdjan Grubor<EMAIL_ADDRESS>wrote:
@cbarga Good news - I identified and fixed the bug!
Release is v0.0.4 and you can get the fix with pip install --upgrade conjur-client. I'll close this issue and let us know if it doesn't work for you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


Sites  >  Download Demo Add-on, aem-demomachine-sites empty and sites addon gives error

Hi,
I just got the AEM Demo Machine up and running, created a demo instance and it works on port 4502&4503.
Add-ons > Assets Demo Addon was installed but Sites gives same error .
When I try to download the AEM Sites Demo  Add on under Add-ons >  Sites  >  Download Demo Add-on.
I get this error:
Running ANT target: download_sites
Downloading Latest AEM Sites Demo Add-on in /dist/downloads
Download in progress, please wait until build is successful
Extracting Latest AEM Sites Demo Add-on in /dist/sites
Sorry, this target couldn't be completed properly
The error message is:
Error while expanding C:\Users\farhan.mohammed\aem-demo-machine\dist\downloads\aem-demomachine-sites.zip
java.util.zip.ZipException: archive is not a ZIP archive

can you please try again, making sure you are using the latest version of the Demo Machine? This seems to work on my end.

verified again today, works fine


Feature/edit delete

Put a call to preProcess in handleTranscription, so that when the json is read from the ML model it is processed before it is put into the store. Front end won't know about this.
Changed the sharedType 'Word' to include a 'key' field of type 'string' and a 'deleted' field of type 'boolean'.
Used concrete implementations of Word ('TranscriptWord') and Transcription ('JSONTranscription') shared types process the json data. These class names are pretty bad, forgive us pls.
Updated postProcess to be compatible with our updated types, but it still isn't being used.
We currently don't have access to the duration of the video file (we need this for pre processing), so its hardcoded to '0'.

The raw json is the input to preProcess(), and its contents take the form {"word": string, "start_time": number, "duration": number}. We process these to create Word instances which have the fields "word":string, "startTime": number, "duration": number, "key": string, and "deleted": false. I believe we accounted for "start_time" vs "startTime" naming convention. Could you let me know where this is causing an issue specifically?


bug:  with different slide heights

Bug Report
Ionic version:

[x] 4.x
Current behavior:

A slider with different heights of slides will have its smaller slides filled with blank spaces at the bottom (when using ion-infinite-scroll)
Expected behavior:

Each slide should be at its exact height, not the height of the tallest one.
Steps to reproduce:

Create a slider with some slides of different height.
Related code:

  <ion-segment (ionChange)="segmentChanged($event)" [(ngModel)]="segment"
  color="warning">
  </ion-segment>

 <ion-slides [options]="slidesOpts" #slides (ionSlideDidChange)="slideChanged()">
 ...
 </ion-slides>

  // manage witching between tabs

  async segmentChanged() {
    await this.slider.slideTo(this.segment);
  }

  async slideChanged() {
    this.segment = await this.slider.getActiveIndex();
  }

insert short code snippets here

Other information:

this fix is no longer working because there is no _slides in V4
https://github.com/ionic-team/ionic/issues/10690
Ionic info:

insert the output from ionic info here

I too would like to know if ionic have plans for allowing variable content height in slides. As we can only use a single ion-content you can't replicate the common pattern in Android of tabs that can swipe and scroll at the same time.

@hellokingdom and @AOUNT This can be done by using autoHeight: true, in options.


requirements.txt

mutliple files not available in requirements.txt from nvidia.
"ERROR: Could not find a version that satisfies the requirement nvidia-nccl-cu11==2.14.3 (from versions: 0.0.1.dev5)
ERROR: No matching distribution found for nvidia-nccl-cu11==2.14.3"
"ERROR: Ignored the following yanked versions: <IP_ADDRESS>
ERROR: Could not find a version that satisfies the requirement nvidia-cudnn-cu11==<IP_ADDRESS> (from versions: 0.0.1.dev5, <IP_ADDRESS>, <IP_ADDRESS>)
ERROR: No matching distribution found for nvidia-cudnn-cu11==<IP_ADDRESS>"

Same problem:
ERROR: Could not find a version that satisfies the requirement nvidia-cudnn-cu11==<IP_ADDRESS> (from versions: 0.0.1.dev5, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>)
ERROR: No matching distribution found for nvidia-cudnn-cu11==<IP_ADDRESS>

same error, even when I remove it from requirement.txt it tries to install

ERROR: Could not find a version that satisfies the requirement nvidia-cudnn-cu11==<IP_ADDRESS> (from versions: 0.0.1.dev5, <IP_ADDRESS>, <IP_ADDRESS>)
ERROR: No matching distribution found for nvidia-cudnn-cu11==<IP_ADDRESS>

It works with conda though

i am making an auto installer for Windows Python 3.10
this thing is so hard to make it work haha

yea - even in WSL its not actually installable and runnable as is - errors abound and require debugging. in a week or 3 im sure folks will have it worked out and actually useable.

Hello, thanks for the interest. @przvlprd is correct. beloew is how I create the env using pip:
conda create -n manimate python=3.8 -y
conda activate manimate
pip install -r requirements.txt

I still created environment using conda, will update these instructions soon.

Hello, thanks for the interest. @przvlprd is correct. beloew is how I create the env using pip:
conda create -n manimate python=3.8 -y
conda activate manimate
pip install -r requirements.txt

I still created environment using conda, will update these instructions soon.

ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11
ERROR: Could not find a version that satisfies the requirement nvidia-cudnn-cu11==<IP_ADDRESS> (from versions: 0.0.1.dev5, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>)
ERROR: No matching distribution found for nvidia-cudnn-cu11==<IP_ADDRESS>
Still getting these errors.

Hello, thanks for the interest. @przvlprd is correct. beloew is how I create the env using pip:
conda create -n manimate python=3.8 -y
conda activate manimate
pip install -r requirements.txt

I still created environment using conda, will update these instructions soon.

ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11 ERROR: Could not find a version that satisfies the requirement nvidia-cudnn-cu11==<IP_ADDRESS> (from versions: 0.0.1.dev5, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>) ERROR: No matching distribution found for nvidia-cudnn-cu11==<IP_ADDRESS>
Still getting these errors.

Hi, how about skip these cuda and cudnn related libraries? I think it can still work if you've installed CUDA correctly.

Hello, thanks for the interest. @przvlprd is correct. beloew is how I create the env using pip:
conda create -n manimate python=3.8 -y
conda activate manimate
pip install -r requirements.txt

I still created environment using conda, will update these instructions soon.

ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11 ERROR: Could not find a version that satisfies the requirement nvidia-cudnn-cu11==<IP_ADDRESS> (from versions: 0.0.1.dev5, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>) ERROR: No matching distribution found for nvidia-cudnn-cu11==<IP_ADDRESS>
Still getting these errors.

Hi, how about skip these cuda and cudnn related libraries? I think it can still work if you've installed CUDA correctly.

I found this auto installation version and it seems to solve my problem here. https://github.com/sdbds/magic-animate-for-windows

mutliple files not available in requirements.txt from nvidia. "ERROR: Could not find a version that satisfies the requirement nvidia-nccl-cu11==2.14.3 (from versions: 0.0.1.dev5) ERROR: No matching distribution found for nvidia-nccl-cu11==2.14.3" "ERROR: Ignored the following yanked versions: <IP_ADDRESS> ERROR: Could not find a version that satisfies the requirement nvidia-cudnn-cu11==<IP_ADDRESS> (from versions: 0.0.1.dev5, <IP_ADDRESS>, <IP_ADDRESS>) ERROR: No matching distribution found for nvidia-cudnn-cu11==<IP_ADDRESS>"

nccl can only be installed and run in linux OS,btw in case you run this project successfully in windows,the inference speed will be slower than linux

finally released full scripts including auto DensePose maker : https://github.com/magic-research/magic-animate/issues/44

There is an issue with installing on Windows, you can view this video：
https://www.bilibili.com/video/BV1ig4y1f7BQ/?share_source=copy_web&vd_source=842db193ae3e8fc29019a57821e30000

There is an issue with installing on Windows, you can view this video： https://www.bilibili.com/video/BV1ig4y1f7BQ/?share_source=copy_web&vd_source=842db193ae3e8fc29019a57821e30000

i've installed on linux,windows is not my option,cuz the nvidia-nccl library only support on linux,btw,if you run in windows,it will be slower than linux

windows installation working but making it work is really hard https://github.com/magic-research/magic-animate/issues/44


fix: allow s3 cache access for the "docker" runner executor

Closes #816
Description
This fixes the "docker" runner executor not having access to the S3 bucket by always attaching the bucket policy if it exists.
Migrations required
NO
Verification
Ran changes locally and observed the issue was resolved with this change.

Yes, we shouldn't exclude the docker executor here.


build: tighten up dist directory

We were getting some test gunk in the dist directory.  This should tighten that up to include only the files we really want in dist.

Coverage remained the same at 87.958% when pulling 2d7ef36dcfef0cedc72020ee79567fcb12d2e500 on djoy/better_dist into 179943be80e813b92f43a0065afe64b3642be170 on master.

:tada: This PR is included in version 6.1.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix broken link to the Slim documentation about PSR-7

This PR fixes a broken link found in the documentation about executing queries.

Thanks!


[FEATURE] Add support for additional specs format for POM

Add support for converting other formats of EQ specs.

With the removal of the conversion tools this is no longer planned in this project.


RFC 7807 superseded by RFC 9547

In the swagger API documentation file (OSDM-online-api-v3.0.3.yml) is there a reference to RFC 7807. Should this be replaced with reference to  RFC 9457: Problem Details for HTTP APIs?
Delta is defined here:
https://datatracker.ietf.org/doc/html/rfc9457#name-changes-from-rfc-7807

@schlpbch A pull request will be created when we finish the discussion on error handling and gather all necessary changes to API and documentation.

Josef to review if the new RFC is BC. If so, update the docs.

From #361

RFC 7807 is deprecated in favor of RFC 9457.

https://www.rfc-editor.org/rfc/rfc9457.html

https://blog.frankel.ch/problem-details-http-apis/


Examples in the docs for Buttons and more are not helpful at all.

[x ] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior
Copy and paste components and have them actually work out of the box just like Bootstrap components

Current Behavior

I copy and pasted the entire example in https://material-ui-next.com/demos/buttons/  for a Raised Button and it does not work.  There are extra dependencies i.e. PropTypes required just for the example which makes it hard to "plug and play." The export statement is very confusing with export default withStyles(styles)(RaisedButtons);
Button.js:61 Uncaught TypeError: Cannot read property 'short' of undefined
index.js:2177 The above error occurred in the <WithStyles(Button)> component:
Steps to Reproduce (for bugs)

Copy and paste the code in the source section of Raised Button or any Button and try to render it in a current project. I tried with and with out MuiThemeProvider to no avail.

import Button from 'material-ui/Button';
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
export default class Test extends Component {
  constructor(props) {
    super(props);
}
render() {

    return (

<MuiThemeProvider>
              <Button variant="raised" color="primary">
                   Hello World
              </Button>
</MuiThemeProvider>
    );
  }
}```
OR

```import React from 'react';
import PropTypes from 'prop-types';
import { withStyles } from 'material-ui/styles';
import Button from 'material-ui/Button';

const styles = theme => ({
  button: {
    margin: theme.spacing.unit,
  },
  input: {
    display: 'none',
  },
});

function RaisedButtons(props) {
  const { classes } = props;
  return (
    <div>
      <Button variant="raised" className={classes.button}>
        Default
      </Button>
      <Button variant="raised" color="primary" className={classes.button}>
        Primary
      </Button>
      <Button variant="raised" color="secondary" className={classes.button}>
        Secondary
      </Button>
      <Button variant="raised" color="secondary" disabled className={classes.button}>
        Disabled
      </Button>
      <input
        accept="image/*"
        className={classes.input}
        id="raised-button-file"
        multiple
        type="file"
      />
      <label htmlFor="raised-button-file">
        <Button variant="raised" component="span" className={classes.button}>
          Upload
        </Button>
      </label>
    </div>
  );
}

RaisedButtons.propTypes = {
  classes: PropTypes.object.isRequired,
};

export default withStyles(styles)(RaisedButtons);```
## Context
<!---
    How has this issue affected you? What are you trying to accomplish?
    Providing context helps us come up with a solution that is most useful in the real world.
-->
Honesty I have wasted over 2 hours just trying to get a simple button working and I got an academic scholarship to a great school and been deving over a year now and it should not be this hard at all. Please just copy the style of how Bootstrap does it. Very easy to plug and play.

## Your Environment
<!--- Include as many relevant details about the environment with which you experienced the bug. -->
Chrome Version 62.0.3202.94 (Official Build) (64-bit)
Linux Ubuntu OS 16.04 LTS
"react": "^16.2.0",
"material-ui": "^1.0.0-beta.31",
"material-ui-icons": "^1.0.0-beta.17",

I copy and pasted the entire example in https://material-ui-next.com/demos/buttons/ for a Raised Button and it does not work.

Here is a sandbox: https://codesandbox.io/s/532orrz0pn.

PropTypes required just for the example which makes it hard to "plug and play."

This is done on purpose. We try to save time our users by promoting some best practices.

react-dom vs prop-types: https://npm-stat.com/charts.html?package=react-dom&package=prop-types

I have wasted over 2 hours just trying to get a simple button working

We encourage people to start from of our examples: https://github.com/mui-org/material-ui/tree/v1-beta/examples.

Sorry, but there has to be a mention in the docs and the repo ReadMe that prop-types is required. Even Facebook's create-react-app instructs you to grab the prop-types lib if you want to use PropTypes. The following statement that appears at the start of the ReadMe and docs, without any prior mention of the prop-types lib, is just misleading:

Here is a quick example to get you started, it's all you need

It isn't required: https://codesandbox.io/s/z37zvw4m34

prop-types is already a dependency of Material-UI.

@py4on Nope, that's just an artefact. Check again.

@mbrookes @oliviertassinari my apologies - you're right! Spun up a create-react-app earlier and got the same error @murffious mentions above that led me to this.


feat: start adding grpc in app

Connect App directly to ArmoniK

Use 0.6.1-jggrpcweb.352.f635ba12 to test if https://github.com/aneoconsulting/ArmoniK/issues/366 is resolved

please refer to https://github.com/aneoconsulting/ArmoniK/issues/619


Add metric for partitions' log size

Use case
I don't know of any prometheus exporter which exports Kafka's partition log size. This is a great metric to identify the space usage for each partition.  Additionally the historic graph can show you the impact of compact events in terms of space usage.
The problem
While the Kafka protocol supports a command in their admin client API to describe the log directories (https://kafka.apache.org/21/javadoc/org/apache/kafka/clients/admin/DescribeLogDirsResult.html), this is not yet implemented in Sarama. An issue has been created for this: https://github.com/Shopify/sarama/issues/1313
There's yet to check whether other Kafka Go libraries already support this command.

We get this metric via the jmx exporter on brokers. I.e. add jmx exporter jar from here and use it in brokers as:
KAFKA_OPTS="-javaagent:/opt/kafka/libs/jmx_prometheus_javaagent-0.12.0.jar=9102:/etc/kafka/jmx-exporter-config.yaml"
And in the exporter config (see other example configs):
      - pattern: kafka.log<type=Log, name=(.+), topic=(.+), partition=(.+)><>Value
        name: kafka_log_$1
        labels:
          topic: "$2"
          partition: "$3"


Unable to fetch factory when using a URL pointing to a GraphQL endpoint

Environment
@mizdra/graphql-codegen-typescript-fabbrica version:
typescript version (optional):
@graphql-codegen/cli version (optional):
@graphql-codegen/typescript version (optional):
Summary
codegen.ts looks like this - the typescript plugin works fine and generates types but the fabbrica plugin does not generate the appropriate information.
`import type { CodegenConfig } from '@graphql-codegen/cli';
const config: CodegenConfig = {
schema: 'graphQL-url-endpoint',
debug: true,
silent: false,
verbose: true,
generates: {
'generated/types.ts': {
plugins: ['typescript'],
config: {
enumsAsTypes: true, // required
avoidOptionals: false, // required
},
},
'./generated/fabbrica.ts': {
plugins: ['@mizdra/graphql-codegen-typescript-fabbrica'],
config: {
typesFile: './types', // required
skipIsAbstractType: false,
},
},
},
};
export default config;`
Step to reproduce
<!-- Paste your code here -->

What did you expect to happen?
Expected fabbrica.ts to be generated based on our schema
What actually happened?
Fabbrica file output this:
`import {
type Traits,
type TypeFactoryDefineOptions,
type TypeFactoryInterface,
type FieldsResolver,
defineTypeFactoryInternal,
} from '@mizdra/graphql-codegen-typescript-fabbrica/helper';
import type { Maybe,  } from './types';
export * from '@mizdra/graphql-codegen-typescript-fabbrica/helper';`
Could not find anything in the error logs to indicate any issues with the set-up but any guidance would be appreciated!
Participation

[ ] I am willing to submit a pull request for this issue.

Additional comments
No response

Here is an example from stackBlitz.

Thanks for providing the reproduction code! I will look into the issue.

@ElizabethWoodhouse @moh682 This is fixed by v0.6.1. Thanks for contributing!
https://github.com/mizdra/graphql-codegen-typescript-fabbrica/releases/tag/v0.6.1


Dependencies in documentation need to be updated.

Have you read the FAQ and checked for duplicate open issues?
yes
What version of Shaka Player are you using?
3.0.5
Can you reproduce the issue with our latest release version?
yes
Can you reproduce the issue with the latest code from master?
yes
Are you using the demo app or your own custom app?
building process
If custom app, can you reproduce the issue using our demo app?
What browser and OS are you using?
linux. No browser needed.
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
NA
What are the manifest and license server URIs?
Irrelevant
What did you do?
Dependencies from the docs: https://shaka-player-demo.appspot.com/docs/api/tutorial-welcome.html
You can build Shaka on Linux, Windows, or Mac. To get the sources and compile the library, you will need:

Git v1.9+
Python v2.7 or v3.5+
Java Runtime Environment v8+
NodeJS v8+

My environment:
$python --version
Python 2.7.18
$ java -version
java version "1.8.0_212"
Java(TM) SE Runtime Environment (build 1.8.0_212-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.212-b10, mixed mode)
$ node --version
v8.10.0

Result:
$ python build/all.py
[WARNING] No changes detected, skipping. Use --force to override.
[INFO] Generating Closure dependencies...
[INFO] Linting JavaScript...
[WARNING] No changes detected, skipping. Use --force to override.
[INFO] Linting CSS...
/home/subnetcat/data/MassiveProjects/shaka-player/node_modules/stylelint/node_modules/get-stdin/index.js:13
	for await (const chunk of stdin) {
	    ^^^^^

SyntaxError: Unexpected reserved word
    at NativeCompileCache._moduleCompile (/home/subnetcat/data/MassiveProjects/shaka-player/node_modules/v8-compile-cache/v8-compile-cache.js:242:18)
    at Module._compile (/home/subnetcat/data/MassiveProjects/shaka-player/node_modules/v8-compile-cache/v8-compile-cache.js:186:36)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)
    at Module.require (module.js:597:17)
    at require (/home/subnetcat/data/MassiveProjects/shaka-player/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
    at Object.<anonymous> (/home/subnetcat/data/MassiveProjects/shaka-player/node_modules/stylelint/lib/cli.js:9:18)
    at Module._compile (/home/subnetcat/data/MassiveProjects/shaka-player/node_modules/v8-compile-cache/v8-compile-cache.js:194:30)

What did you expect to happen?
To be able to build the library and the demo
What actually happened?
Wasn't able to build it with the dependency requirements provided by docs. If I set the node version to 10.x.x. I'm able to build the libraries. Please update the documentation

You are correct.  Looks like stylelint requires node 10.  Thanks for pointing this out!


Explain in temp/precip chart footer that the historical box shows the median

Just to make it more clear that it's showing the median, not the mean.

Fixed in #139.


listener: support typed metadata in listener

Commit Message:
listener: support typed metadata in listener
Additional Description:
Currently Envoy filters can access Typed Metadata configured in routes and clusters.
https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/advanced/data_sharing_between_filters#typed-metadata
The listener API already has a field for metadata, but the subfield typed_filter_metadata was never implemented for the resource. This PR adds support for listener typed metadata. This is useful for data that can be shared across the entire proxy (not specific to a single route / cluster).

Adds a new factory type to parse listener typed metadata.
Stores the parsed metadata in the listener resource.
Exposes a C++ API so filters can access the parsed metadata.

Risk Level:
Low. Only adds new C++ API, no changes to existing behavior.
Testing: Integration test
Docs Changes:
None. No changes to xDS API. Only adds new C++ API for filters.
Release Notes: None
Platform Specific Features: None

cc @qiwzhang @TAOXUY @shuoyang2016

Please take a look


Code formatting

Fail CI if code is not correctly formatted
Adjusted rustfmt.toml to bit more liberal setup from its default max_width=100 to max_width=120 - however given use_small_heuristics https://rust-lang.github.io/rustfmt/?version=v1.5.1&search=#use_small_heuristics most of the lines will be well below 120 characters.
Applied reformat

Codecov Report

Merging #703 (02e8bf5) into aries-vcx/simplify-err-handling (70ec685) will increase coverage by 0.91%.
The diff coverage is 65.76%.

:exclamation: Current head 02e8bf5 differs from pull request most recent head 6ac1a69. Consider uploading reports for the commit 6ac1a69 to get more accurate results

@@                         Coverage Diff                         @@
##           aries-vcx/simplify-err-handling     #703      +/-   ##
===================================================================
+ Coverage                            63.43%   64.35%   +0.91%
===================================================================
  Files                                  234      236       +2
  Lines                                22961    22899      -62
  Branches                              5195     5087     -108
===================================================================
+ Hits                                 14566    14737     +171
+ Misses                                4242     4026     -216
+ Partials                              4153     4136      -17

Flag
Coverage Δ

unittests-aries-vcx
64.21% <65.67%> (+0.91%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

agency_client/src/api/agent.rs
34.78% <0.00%> (-2.43%)
:arrow_down:

agency_client/src/api/downloaded_message.rs
40.81% <0.00%> (-2.67%)
:arrow_down:

agency_client/src/api/messaging.rs
49.12% <ø> (ø)

agency_client/src/api/onboarding.rs
67.85% <ø> (ø)

agency_client/src/httpclient.rs
26.31% <0.00%> (ø)

agency_client/src/lib.rs
70.58% <ø> (ø)

agency_client/src/messages/create_key.rs
52.77% <0.00%> (ø)

agency_client/src/messages/forward.rs
46.66% <ø> (ø)

agency_client/src/messages/get_messages.rs
65.95% <ø> (ø)

agency_client/src/messages/message_type.rs
75.00% <ø> (ø)

... and 199 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Variables: Order of precedence

It would make sense to be able to overwrite any 'core' variable with Tower, so as a developer I can set the default vars in core and then let the user the power to overwrite them in tower. Unfortunately this is not the case currently.
It appears that variables set in core take precedence over the same variables set in tower.
Step to reproduce:

roles/moc_vars/tasks/main.yml

name: "creating {{ dir_name }}"
win_file:
path: "c://{{ dir_name }}"
state: directory
when: moc_state == "present"
name: "removing {{ dir_name }}"
win_file:
path: "c://{{ dir_name }}"
state: absent
when: moc_state == "absent"

moc_vars.yml

hosts: test_group
roles:

moc_var

moc_state is defined as a Tower Job var (to show tower vars are considered)

dir_name is defined in the locations above with different names to indicate which level is called.

Still, when defining the following, the directory created in the remote host is in_core_group_var:
In Tower (test_group vars) - dir_name: in_tower_group_var
In Core (test_group.yml) - dir_name: in_core_group_var

The pattern I most often see is to do something like
name: "creating {{ dir_name | default('in_core_group_var') }}"

If you wanted to persist the value, you might do best to just set_fact using that template syntax.


Adds option to automatically announce codex by its public IP

That service use a Rate Limits.
Can we also implement a mechanism to use a call with token when a variable like NAT_PUBLIC_IP_AUTO_TOKEN is defined?

That service use a Rate Limits.
Can we also implement a mechanism to use a call with token when a variable like NAT_PUBLIC_IP_AUTO_TOKEN is defined?

Yes, I don't think we can rely on it. I would just set up our own service for this, it should be reasonable simple with any existing web framework.

For example - AWS CloudFront with Lambda@Edge/Functions in 2 different Regions with a failover for resilience.
Should we use self-made service just for our nodes or it would be a publicly available?

libp2p has a protocol for exactly this use-case called AutoNAT: https://docs-libp2p-io.ipns.dweb.link/concepts/nat/autonat/
I am fine with using this approach for now as a workaround, but later on, we should switch to this protocol as it is not dependant on any third-party (nor our own running service)

We can use a very generic approach like
NAT_PUBLIC_IP_AUTO="https://ipinfo.io/ip"

if [[ -n "${NAT_PUBLIC_IP_AUTO}" ]]; then
  export CODEX_NAT=$(curl -m 5 "${NAT_PUBLIC_IP_AUTO}")
  echo "Public: Set CODEX_NAT: ${CODEX_NAT}"
fi

In that way, we just need to set NAT_PUBLIC_IP_AUTO with the value of the service which will return a Public IP. It can be a self-managed or a different one.
And maybe with some resilience, otherwise node may fail to start - Error while processing the nat= parameter: IP Address string is empty

code
NAT_PUBLIC_IP_AUTO="https://ipinfo.io/ip"

# Get Public IP
if [[ -n "${NAT_PUBLIC_IP_AUTO}" ]]; then
  # Waith 60 seconds
  WAIT=60
  SECONDS=0
  while (( SECONDS < WAIT )); do
    export CODEX_NAT=$(curl -m 5 "${NAT_PUBLIC_IP_AUTO}")
    # Check the exit code is 0 and returned value is not empty
    [[ $? -eq 0 && -n "${CODEX_NAT}" ]] && { echo "Public: Set CODEX_NAT: ${CODEX_NAT}"; break; }
    # Sleep and check again
    sleep 5
  done
fi

Ben, looks like i forgot some important curl switches

-s, --silent

         Silent or quiet mode. Do not show progress meter or error messages. Makes Curl mute. It will still output the data you ask for, potentially even to the terminal/stdout unless you redirect it.

-f, --fail

(HTTP) Fail fast with no output at all on server errors. This is useful to enable scripts and users to better deal with failed attempts. In normal cases when an HTTP server fails to deliver a document, it returns an HTML document stating so (which often also describes why and more). This flag will prevent curl from outputting that and return error 22.

Also, we should use NAT_IP_AUTO only when NAT_PUBLIC_IP_AUTO is not defined. And we stop execution if we can't get Public IP in defined wait time.
Last check looks like that


Missing recipes

Missing recipes for
-Flux-Infused Jetplate
-Fluxed Thruster
in MC 1.10.2
with Forge <IP_ADDRESS>2
CodeChickenCore-1.10.2-<IP_ADDRESS>
CodeChickenLib-1.10.2-<IP_ADDRESS>3
CoFHCore-1.10.2-<IP_ADDRESS>
EnderCore-1.10.2-<IP_ADDRESS>
EnderIO-1.10.2-3.1.193
jei_1.10.2-<IP_ADDRESS>0
SimplyJetpacks2-1.10.2-<IP_ADDRESS>
ThermalDynamics-1.10.2-<IP_ADDRESS>
ThermalExpansion-1.10.2-<IP_ADDRESS>
ThermalFoundation-1.10.2-<IP_ADDRESS>

Tehy are not missing...  they are just WIP, I wrote this in the changelog please read it before posting issues

My bad didnt read the changelogs for the non latest version. sorry


quick-minutes:1.0.0

Description: Quick Minutes is a template for taking quick notes in a meeting and recording times, events, votes etc. with intelligent error detection and name/time recognition
I have read and followed the submission guidelines and, in particular, I

[x] selected a name that isn't the most obvious or canonical name for what the package does

[x] added a typst.toml file with all required keys

[x] added a README.md with documentation for my package

[x] have chosen a license and added a LICENSE file or linked one in my README.md

[x] tested my package locally on my system and it worked

[x] excluded PDFs or README images, if any, but not the LICENSE

[x] ensured that my package is licensed such that users can use and distribute the contents of its template directory without restriction, after modifying them through normal use.

Hello. The file in your template does emits a warning when compiling (layout did not converge within 5 attempts). It would be nice if you could fix it so that people have a fully working project when they start from your template.

I cannot for the life of me figure out what the source for that is... as you can see some of the commits suddenly converged when I didn't even change anything relating to states. If anyone could give me a pointer as to where I should look. But this problem has been there from the beginning :(

I figured it out... I hope I didn't break anything along the way

Thanks! If you realize something is not working anymore, you can always make a patch release later.


Add shared profile for Carthage support

e.g. like in remaerd/zipzap

I like Carthage and it's a lot simpler than CocoaPods, so it's worthwhile doing the integration. Is the essential point the need to create dylibs/frameworks instead of static libraries? I looked at ramaerd/zipzap and the intent for those changes don't look obvious to me.

To test it, install Carthage, then create a test directory, add a Cartfile file with your library defined and call
carthage build --no-skip-current

Hello.
I accidentally find out that you guys leaving message on the Carthage issue page. I don't know how @robertoschwald find out my fork. But I'm really glad to provides help.
It's quite simple actually.

You have to add two targets in your project. An iOS framework and an OS X framework. And make them both 'Shared'.
There's a naming issue when building framework. You can't create frameworks with a name like 'zipzap-ios' or 'zipzap-osx'. Instead, you should rename your iOS and OS X target in 'Build Settings - Product Name' to 'zipzap'.

That's all I have done to my fork. I hope it can be helpful.
Thank you for your framework!


get_ssm_by_region incorrectly subsets on five columns, regardless if basic_column is TRUE

This function needs to be updated so that all MAF columns are retained.
Currently, the function subsets on Chromosome, Start_Position, End_Position, Tumor_Sample_Barcode and Read_Support when reading indexed maf. Thus, using basic_columns = TRUE cannot subset on columns 1-45 throws an error.
This function can possibly be simplified using the Vroom package to read data into R.

I think I've gotten this issue sorted out now (waiting on the PR to get into Master).


Dashboard log reordered activities

Summary
It is convenient to use drag and drop to control the parent child relation in nested modules, but sometime may drag accidentally, it is helpful to have log of dragging activities
Describe the solution you'd like

Log the reorder activities
Additional context
Just log the Initiator instead of all saved node?

As mentioned in the pr. We are not adding this feature at the moment.


Direct messages to bot

For now, you can only configure the bot to join a specific channel but won't respond to direct messages.
This could be an option to enable or disable

note to dev:

update the list of rooms with type=direct and keep a list of creatorId.

e.g. https://webexapis.com/v1/rooms?type=direct

get messages from direct messages and provide personId (provided through creatorId)


[1.7.10] Furnace Recipe Lookup Crash

So, I updated everything I could to latest, I'm trying to develop a modpack but there's one small problem, NEI crashes the client whenever R or U is hit over anything that opens the furnace crafting GUI, furnaces can be used just fine, but for some reason minecraft crashes when NEI tries to get a furnace recipe. Here's a pastebin link to the crash report, hoping this can be fixed without the removal of any mods, also, i'm hoping a mods list isn't required, as this appears to be a problem with the GUI and recipe handler
http://pastebin.com/dxsrQei0

This appears to have fixed itself, furnace recipes are fine as far as I can tell,


Learning RX JavaScript Tutorial

http://reactive-extensions.github.io/learnrx/

Not interested anymore.


Add new API calls

@Nyholm - I need to merge this to continue with the adapter. If you find something, just still comment on this PR or open new issues.


Issue 456

If it is the success, the filename is undefined, when we write a file from original to a destination.
I change code at fs.write.spec.js

I've fixed this up, rebased, and landed in https://github.com/filerjs/filer/commit/4a5d8c1222cb454040b28397896bbf667ba6b2fe with some extra fixes in https://github.com/filerjs/filer/commit/158f6241b6fb437c1cae6522085d0db7c051f49b.


When using ne(), but working eq()

I'm using querydsl-jpa:4.1.3
I made JPAExpressions.

here is used booleanBuilder and ne() to compare the results.

but, the implementation of ne() was the same as eq().

so, predicate was:

I want to know why it works like this.
Is this a bug?

From which class is the code in the screenshot?

Are you say to the implementation class?
implemetation class is FetchableSubQueryBase class.

Look at the bottom method(ne()) in the screenshot.

The code above is indeed faulty and has been resolved in https://github.com/querydsl/querydsl/commit/dde4771aab4c0f392e63f1a83ed4d8e3ac7e4abe#diff-4e255b89fc919d3743d1995fc971ec25 which has landed in release 4.2.1. I'd suggest to upgrade to QueryDSL 4.2.1 minimally if you rely on this methods in FetchableSubQueryBase al lot.

thx!!!


[3.9-HT] Support for HTJ2K Progressive Image Loading: Enable progressive loading and rendering of large image datasets using HTJ2K

What feature or change would you like to see made?

Provide documentation and scripting tools to facilitate the conversion of large image datasets (e.g., dimensions greater than 700 or 1000 pixels) to the HTJ2K format
Implement server-side modifications or configurations to host and serve image data in the HTJ2K format
Leverage the existing HTJ2K rendering support in Cornerstone 3D to enable progressive loading and rendering of these large image datasets
Establish guidelines or criteria for determining when it is beneficial to convert image data to HTJ2K format, considering factors such as dataset size and intended use cases

https://www.cornerstonejs.org/docs/examples#dicom-image-loader
Why should we prioritize this feature?
The HTJ2K standard offers significant performance benefits for progressive loading and rendering of large image datasets. By supporting HTJ2K (which is already implemented in Cornerstone3D), OHIF can provide a smoother and more responsive user experience when working with high-resolution or large-scale imaging data, which is crucial in various medical imaging and research applications.

Server Side

Regular (CT, MR): Any image less than 1k on both sides -> jls
Color: Long term -> jxl, Short term -> jpeg is fine
For images > 1k on any side -> htj2k

Client Side

Stack Viewport: Enable progressive loading for everything
Volume Viewport: Enable interleave loading


Selector suggestion in Style editor tab

Your idea:
Other editors have an automatic suggestion box with the most used selectors, and it would be a great addition to our tool.
I got the idea from the MagicCSS extension:

And asked in their github for how they come up with this list:
https://github.com/webextensions/live-css-editor/discussions/141
This should give us an idea on where to start. We'd need to have the DOM rendered to grab a list of al used classes, then hopefully remove the ones we don't want users to use(.columnWrapper, .blank...) and provide those as suggestions when writing a dot, or any selector.

Does codemirror support suggestions?

Does codemirror support suggestions?

We use suggestions already for emojis.


Update README.md

moved the archeticture stuff away from the main readme, and made this main readme have a big call to action.

last one before i'm onto the website!


chore(package): add license file

Add legally required license. This file also needs to be included in the npm package.
Ref #36, #32

Thanks! Published in 3.4.1.

@CMTegner, thanks a lot!


Flaky unit test: TestReconcileForCluster

Which jobs are flaking:
On some CI runs for PRs, the TestReconcileForCluster spec is failing, but often succeeds on /retest.
Which tests are flaking:
TestReconcileForCluster/do_not_reconcile_for_a_paused_cluster
ok  	sigs.k8s.io/cluster-api-addon-provider-helm/controllers	9.075s
--- FAIL: TestReconcileForCluster (0.00s)
    --- FAIL: TestReconcileForCluster/do_not_reconcile_for_a_paused_cluster (0.00s)
        helmchartproxy_controller_phases_test.go:321:
            Expected
                <bool>: true
            to be false
FAIL
FAIL	sigs.k8s.io/cluster-api-addon-provider-helm/controllers/helmchartproxy	0.114s
ok  	sigs.k8s.io/cluster-api-addon-provider-helm/controllers/helmreleaseproxy	0.055s
FAIL
make: *** [Makefile:395: test] Error 1

Testgrid link:
https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/kubernetes-sigs_cluster-api-addon-provider-helm/203/pull-cluster-api-addon-provider-helm-test-main/1782485852740390912
Reason for failure (if possible):
?
Anything else we need to know:

This test was added in #189 and has been flaky since it merged AFAICT.

/kind flake

Seems to it's not flaky test as it's always reproduces with go test -count=2 ./controllers/helmchartproxy/... and result from previous run influences with the current one.


Remove: Vme Kids

Channel ID
VmeKids.us
Reason
Other
Notes
Defunct.
Read https://en.wikipedia.org/wiki/V-me

I could not find confirmation of the channel closure in any of the articles:
https://en.wikipedia.org/wiki/V-me
https://en.wikipedia.org/wiki/Vme_Kids

Looks like you're right: Wikipedia deceived me ;)


Indexing progress is at the end of process

Recently I noticed that indexing progress is not displayed after every file but only at the end of indexing. It's dangerous because LS is sending several hundreds (or thousands) messages in small time frame.

For me a message is displayed after every parse - are you using latest release or master?

I have this issue with master. Also indexing time and memory consumption increased dramatically:
[Info  - 4:00:20 PM] All 739 PHP files parsed in 147 seconds. 870 MiB allocated.

Previously the same project was done in 5 sec and with 25mb.

Since file retrieval is now an async operation, I do the indexing in parallel with Promise\all():
https://github.com/felixfbecker/php-language-server/pull/136/files?w=1#diff-b7156ac1be31f214d6450d4dbfa3d15fR182
This might have something to do with it. I could very easily switch it back to serial, but in theory it should actually be faster (it can consume much more memory of course if it is done in parallel).

Do I need php extension for parallel execution?

No, this is done through the event loop. If the client does not support textDocument/xcontent request it will not be async really as file_get_contents() is used as a fallback. But the indexing will still be triggered on all files simultaneously. The more I think about it though, it might not be a great idea to trigger parsing on 24k files at once.

Any idea why its slower and consuming more memory?

Higher memory usage is expected
Before:
parse 1
       parse 2
              parse 3

Now:
parse 1
  parse 2
    parse 3

But below a certain threshold it is probably not faster for some reason.

But its much much slower with just 700 files.

Progress works ok now. Thanks!


Proper Usage/Order of produce, pem, cert, and sigh in Fastfile

New Issue Checklist

[X] Updated fastlane to the latest version
[X] I have read the Contribution Guidelines

Issue Description
It's not clear from the docs what the proper order and usage of produce, pem, cert, and sigh are.  Are pem and cert mutually exclusive?  Do they both need to be used?  How do I find out the path to the .p12 file for an existing certificate created with cert?  Is there an issue with always using the force option with pem?  Will that automatically revoke other existing Apple Push certs?
The only thing that is clear is that cert should be run before sigh.
I also use OneSignal, so in what order would I make the call to the OneSignal action?
Complete output when running fastlane, including the stack trace and command used
N/A
Configuration Files
Please copy the complete content of your Fastfile and any other configuration files you use below:
Fastfile:
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "1.99.0"

default_platform :ios

platform :ios do
  before_all do
    # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
  end

  desc "Configures an app in preparation for building.  Use app: to set which app you want to build " +
       "(using app's short_name) and use release:true to build release versions"
  lane :configure do |options|
    # Determine if this is a release build or not
    rel = options[:release].nil? ? false : options[:release]

    # Load the App Config Data
    data = load_app_config(path: [redacted])

    # Pass the app config data through for validation for this app
    validate_app_config(app: options[:app], config_data: data, release: rel)

    # Creates an in-place backup copy of various project files (with .back extension)
    backup_project_files

    # Update app configuration files and copy over splash screens and icons for this app
    configure_app(app: options[:app], config_data: data, release: rel)

    # Return this app's config data
    data[options[:app]]
  end

  desc "Restores app config, screenshots, and icons"
  lane :restore do |options|
    # Restore the in-place backups and remove the .back files
    backup_project_files(restore: true)
  end

  desc "Builds an app based upon the existing configuration"
  lane :build do
    # Fetch the configured bundle ID for this app from the Info PLIST file
    bundle_id = get_info_plist_value(path: [redacted], key: "[redacted]")

    # Fetch the username to use to communicate with Apple from either the Appfile or from .env
    username = CredentialsManager::AppfileConfig.try_fetch_value(:apple_id) || ENV['APPLE_ID']

    # Install App Dependencies
    cocoapods

    # Generate and install certificates
    cert(username: username)
    pem(
      app_identifier: bundle_id,
      username: username,
      generate_p12: true,
      p12_password: ENV['P12_PASSWORD']
    )

    # Handles app provisioning
    sigh(adhoc: false, force: true, app_identifier: bundle_id, username: username)

    # Runs the build (uses xcodebuild CLI)
    gym(
      workspace: "[redacted]",
      scheme: "[redacted]",
      configuration: "Release",
      silent: true,
      clean: true,
      output_directory: ENV['BUILD_PATH'],
      output_name: get_info_plist_value(path: [redacted], key: "[redacted]") || "[redacted]"
    )
  end

#   desc "Runs all the tests"
#   lane :test do
#     scan
#   end
#
#   desc "Submit a new Beta Build to Apple TestFlight"
#   desc "This will also make sure the profile is up to date"
#   lane :beta do
#     # match(type: "appstore") # more information: https://codesigning.guide
#     gym # Build your app - more options available
#     pilot
#
#     # sh "your_script.sh"
#     # You can also use other beta testing services here (run `fastlane actions`)
#   end
#
  desc "Deploy a new Release version to the App Store for a given app.  Use app: to set which app you want to build " +
       "(using app's short_name).  Use release: to flag a Release build.  Use submit_for_review: to indicate if the " +
       "build should be automatically submitted for review (defaults to false).  Use version: to define the version " +
       "of this build (ex. 3.3.5)"
  lane :deploy do |options|
    # Determine if this is a release build or not
    rel = options[:release].nil? ? false : options[:release]

    # Load the App Config Data and Update app configuration files in preparation for a build
    app_config = configure(app: options[:app], release: rel)

    # Fetch the configured bundle ID for this app from the Info PLIST file
    bundle_id = get_info_plist_value(path: [redacted], key: "[redacted]")

    # Fetch the username to use to communicate with Apple from either the Appfile or from .env
    username = CredentialsManager::AppfileConfig.try_fetch_value(:apple_id) || ENV['APPLE_ID']

    # Install App Dependencies
    cocoapods

    # Generate App Screenshots
    snapshot

    # Create an app entry in iTunes Connect
    produce(
      username: username,
      app_identifier: bundle_id,
      app_name: [redacted],
      language: 'English',
      app_version: options[:version]
    )

    # Build the app
    build

    # Update OneSignal
    onesignal(
      auth_token: [redacted],
      app_name: options[:app],
      android_token: [redacted],
      # Need to figure out path to P12 file once generated
      #apns_p12: "[redacted]/",
      #apns_p12_password: [redacted],
      apns_env: "production"
    )

    # Formulate the Keywords array
    keywords = [redacted]

    deliver(
      app_identifier: bundle_id,
      force: true,
      submit_for_review: options[:submit_for_review].nil? ? false : options[:submit_for_review],
      username: username,
      ###
      app_icon: "[redacted]",
      app_rating_config_path: "[redacted]",
      app_review_information: {
        first_name: "[redacted]",
        last_name: "[redacted]",
        phone_number: "[redacted]",
        email_address: "[redacted]"
      },
      copyright: "[redacted]",
      description: {"en-US" => [redacted]},
      keywords: {"en-US" => keywords},
      name: {"en-US" => [redacted]},
      price_tier: 0,
      primary_category: "[redacted]",
      release_notes: {"en-US" => [redacted]},
      screenshots_path: "[redacted]",
      secondary_category: "[redacted]",
      submission_information: {
        export_compliance_uses_encryption: false,
        export_compliance_encryption_updated: false,
        export_compliance_is_exempt: false,
        content_rights_contains_third_party_content: false,
        content_rights_has_rights: true,
        add_id_info_uses_idfa: false,
        add_id_info_serves_ads: false,
        add_id_info_limits_tracking: false,
        add_id_info_tracks_action: false,
        add_id_info_tracks_install: false
      },
      support_url: { "en-US" => [redacted] }
    )
  end

  # You can define as many lanes as you want

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md

# fastlane reports which actions are used
# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer

Environment
fastlane version (run fastlane -v): fastlane 1.100.0
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)? No.
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)? rvm

@fastlane-bot No, this is not an issue with code signing.  This is more of a general question about usage and order of certain actions.

I ended up reordering to this:
produce
cert
pem
sigh
onesignal
cocoapods
gym
snapshot
deliver
And that seems to work.  It would be nice if you updated the documentation somewhere to state this ordering.

Sorry for not replying earlier, definitely something we want to improve in our docs 👍
The order you're using is good, I'd just recommend using match instead of cert and sigh

I'm also not sure how to use match to accomplish the goals I outlined above.   We are also on X-Code 7 not X-Code 8.


load_* functions should all take String and IO arguments

Note: This issue has been migrated to https://relationalai.atlassian.net/browse/RAI-4370.
This link is only accessible to employees of RelationalAI.


⚠ Bofrost.fr has degraded performance

In b002f16, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1150 ms

Resolved: Bofrost.fr performance has improved in c41059e after 6 minutes.


Display.Body_Editor not persisting Model data

I have the following Layout Element in my EditorTemplates View -
@Display.Body_Editor(EditorFlavor: "html", Text: Model.Content, AutoFocus: true)
The Model.Content propery is not persisted on POST update?
The data is saved, if I instead use  @Html.TextAreaFor(m => m.Content)
but I wish to use the Tinymce within my Editor?
Any thoughts would be appreciated.

I don't understand what you are trying to do, maybe it's specific to layouts, @sfmskywalker any idea?

sorry for tardy response...
From this post I solved my problem by using the following code -
@Display.Body_Editor(PropertyName: "Content", Text: Model.Content, EditorFlavor: "html")


In 2.0.1 release if bookmark feature is not working we can hide it

In 2.0.1 release if bookmark feature is not working we can hide it

This feature is working fine for me.

Bookmarks was not working for the imported projects which were exported from the previous versions of AG. Because the skeleton in the backend is been changed.


core: Move contracts submodule back to original path

Change-type: patch
Signed-off-by: Kyle Harding<EMAIL_ADDRESS>See: https://github.com/balena-os/leviathan/pull/810

@balena-ci rebase


Reference miss match

In Readme file,

6 Documentation References

There is no Part E in Volume 4 of BLUETOOTH SPECIFICATION Version 5.0

The specification document has been changed since version 5.0. The latest version is 5.4, which has a Part E.

Now it is in volume 2 HOST CONTROLLER INTERFACE FUNCTIONAL SPECIFICATION,

Part E : HOST CONTROLLER INTERFACE FUNCTIONAL SPECIFICATION

HCI COMMANDS AND EVENTS
7.1 LINK CONTROL COMMANDS
7.2 LINK POLICY COMMANDS
7.3 CONTROLLER & BASEBAND COMMANDS
7.4 INFORMATIONAL PARAMETERS
7.5 STATUS PARAMETERS
7.6 TESTING COMMANDS
7.7 EVENTS
7.8 LE CONTROLLER COMMANDS

It was in volume 2 before it was moved to volume 4, and I had to re-write all the references. This is the latest version:
https://www.bluetooth.com/specifications/specs/core-specification-5-4/