Make-over mage plugin

Added a "Make-over mage" between the "Shopkeeper" and "Tanner" NPC's.
The "Make-over mage" creates a yes or no dialogue confirming if the user wants to change their appearance:

Yes, opens the design player interface.
No, does nothing.

Issue: #105

Hey @searledan,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: 072970a0-3098-11ea-9be4-cdb0e94bdd56

Hey @searledan,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: b136fcd0-315a-11ea-aacd-b3fcdaf4a164


High-dimension training problem

i have train a 30-dimension surrogate by 1000 pionts,but the different input value have the same value.
if the dismension is 2,SMT does work well .
is that mean SMT don't support high-dimension?

You mean output have the same value? Which surrogate did you choose? Regarding dimension, surrogates have various performance. For high dimension, I would recommend KPLS or KPLSK.

I choose  KRG , but now, KPLSK does work。Thank you!
And another situation is the predicted value will have a negative value when the actual function value approaches zero， but the sample points is Positive value。
Is that beacuse the sample points is too small to train a model (i used 100 points for  30-dimensions Rastrigin function)?


[SETUP-BUG] Installation is finished successfully, but dir ~/.fiftyone is absent.

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): MacOS 12.1
FiftyOne installed from (pip or source): pip
FiftyOne version (run fiftyone --version): N/A
Python version: 3.8.10

Commands to reproduce
pip install fiftyone

Describe the problem

Install 51 with pip install fiftyone
Check if dir ~/.fiftyone is available ls -la ~

Other info / logs
(Project) user@MacBook-Air ~ % pip install fiftyone
Collecting fiftyone
  Using cached fiftyone-<IP_ADDRESS>-py3-none-any.whl (1.3 MB)
Requirement already satisfied: scikit-image in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (0.19.1)
Collecting fiftyone-brain<0.9,>=0.8
  Using cached fiftyone_brain-0.8.1-cp38-cp38-macosx_11_0_arm64.whl (606 kB)
Requirement already satisfied: xmltodict in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (0.12.0)
Requirement already satisfied: opencv-python-headless in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (<IP_ADDRESS>)
Requirement already satisfied: pandas in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (1.4.1)
Requirement already satisfied: tornado<7,>=5.1.1 in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (6.1)
Requirement already satisfied: eventlet in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (0.33.0)
Requirement already satisfied: psutil in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (5.9.0)
Requirement already satisfied: motor<3,>=2.3 in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (2.5.1)
Requirement already satisfied: future in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (0.18.2)
Requirement already satisfied: pprintpp in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (0.4.0)
Requirement already satisfied: voxel51-eta<0.7,>=0.6.3 in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (0.6.5)
Requirement already satisfied: ndjson in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (0.3.1)
Requirement already satisfied: PyYAML in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (6.0)
Requirement already satisfied: argcomplete in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (2.0.0)
Requirement already satisfied: pymongo<4,>=3.11 in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (3.12.3)
Requirement already satisfied: retrying in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (1.3.3)
Requirement already satisfied: scikit-learn in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (0.19.2)
Requirement already satisfied: boto3 in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (1.21.27)
Requirement already satisfied: tabulate in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (0.8.9)
Requirement already satisfied: kaleido in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (0.2.1)
Requirement already satisfied: aiofiles in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (0.8.0)
Collecting fiftyone-db<0.4,>=0.3
  Using cached fiftyone_db-0.3.0-py3-none-macosx_11_0_arm64.whl (6.0 kB)
Requirement already satisfied: Jinja2>=3 in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (3.1.1)
Requirement already satisfied: pytz in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (2022.1)
Requirement already satisfied: plotly<5,>=4.14 in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (4.14.3)
Requirement already satisfied: packaging in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (21.3)
Requirement already satisfied: mongoengine==0.20.0 in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (0.20.0)
Requirement already satisfied: Pillow>=6.2 in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (8.4.0)
Requirement already satisfied: setuptools in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (61.2.0)
Requirement already satisfied: universal-analytics-python3<2,>=1.0.1 in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (1.1.1)
Requirement already satisfied: matplotlib in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (3.5.1)
Requirement already satisfied: Deprecated in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (1.2.13)
Requirement already satisfied: numpy in ./Projects/Project/lib/python3.8/site-packages (from fiftyone) (1.21.5)
Requirement already satisfied: scipy>=1.2.0 in ./Projects/Project/lib/python3.8/site-packages (from fiftyone-brain<0.9,>=0.8->fiftyone) (1.7.3)
Requirement already satisfied: MarkupSafe>=2.0 in ./Projects/Project/lib/python3.8/site-packages (from Jinja2>=3->fiftyone) (2.1.1)
Requirement already satisfied: six in ./Projects/Project/lib/python3.8/site-packages (from plotly<5,>=4.14->fiftyone) (1.16.0)
Requirement already satisfied: httpx>=0.10.0 in ./Projects/Project/lib/python3.8/site-packages (from universal-analytics-python3<2,>=1.0.1->fiftyone) (0.22.0)
Requirement already satisfied: requests in ./Projects/Project/lib/python3.8/site-packages (from voxel51-eta<0.7,>=0.6.3->fiftyone) (2.27.1)
Requirement already satisfied: glob2 in ./Projects/Project/lib/python3.8/site-packages (from voxel51-eta<0.7,>=0.6.3->fiftyone) (0.7)
Requirement already satisfied: python-dateutil in ./Projects/Project/lib/python3.8/site-packages (from voxel51-eta<0.7,>=0.6.3->fiftyone) (2.8.2)
Requirement already satisfied: tzlocal in ./Projects/Project/lib/python3.8/site-packages (from voxel51-eta<0.7,>=0.6.3->fiftyone) (4.1)
Requirement already satisfied: urllib3 in ./Projects/Project/lib/python3.8/site-packages (from voxel51-eta<0.7,>=0.6.3->fiftyone) (1.26.9)
Requirement already satisfied: dill in ./Projects/Project/lib/python3.8/site-packages (from voxel51-eta<0.7,>=0.6.3->fiftyone) (0.3.4)
Requirement already satisfied: patool in ./Projects/Project/lib/python3.8/site-packages (from voxel51-eta<0.7,>=0.6.3->fiftyone) (1.12)
Requirement already satisfied: sortedcontainers in ./Projects/Project/lib/python3.8/site-packages (from voxel51-eta<0.7,>=0.6.3->fiftyone) (2.4.0)
Requirement already satisfied: botocore<1.25.0,>=1.24.27 in ./Projects/Project/lib/python3.8/site-packages (from boto3->fiftyone) (1.24.27)
Requirement already satisfied: jmespath<2.0.0,>=0.7.1 in ./Projects/Project/lib/python3.8/site-packages (from boto3->fiftyone) (1.0.0)
Requirement already satisfied: s3transfer<0.6.0,>=0.5.0 in ./Projects/Project/lib/python3.8/site-packages (from boto3->fiftyone) (0.5.2)
Requirement already satisfied: wrapt<2,>=1.10 in ./Projects/Project/lib/python3.8/site-packages (from Deprecated->fiftyone) (1.14.0)
Requirement already satisfied: dnspython>=1.15.0 in ./Projects/Project/lib/python3.8/site-packages (from eventlet->fiftyone) (2.2.1)
Requirement already satisfied: greenlet>=0.3 in ./Projects/Project/lib/python3.8/site-packages (from eventlet->fiftyone) (1.1.2)
Requirement already satisfied: kiwisolver>=1.0.1 in ./Projects/Project/lib/python3.8/site-packages (from matplotlib->fiftyone) (1.3.2)
Requirement already satisfied: fonttools>=4.22.0 in ./Projects/Project/lib/python3.8/site-packages (from matplotlib->fiftyone) (4.28.5)
Requirement already satisfied: pyparsing>=2.2.1 in ./Projects/Project/lib/python3.8/site-packages (from matplotlib->fiftyone) (3.0.6)
Requirement already satisfied: cycler>=0.10 in ./Projects/Project/lib/python3.8/site-packages (from matplotlib->fiftyone) (0.11.0)
Requirement already satisfied: tifffile>=2019.7.26 in ./Projects/Project/lib/python3.8/site-packages (from scikit-image->fiftyone) (2021.11.2)
Requirement already satisfied: imageio>=2.4.1 in ./Projects/Project/lib/python3.8/site-packages (from scikit-image->fiftyone) (2.14.0)
Requirement already satisfied: networkx>=2.2 in ./Projects/Project/lib/python3.8/site-packages (from scikit-image->fiftyone) (2.6.3)
Requirement already satisfied: PyWavelets>=1.1.1 in ./Projects/Project/lib/python3.8/site-packages (from scikit-image->fiftyone) (1.2.0)
Requirement already satisfied: charset-normalizer in ./Projects/Project/lib/python3.8/site-packages (from httpx>=0.10.0->universal-analytics-python3<2,>=1.0.1->fiftyone) (2.0.12)
Requirement already satisfied: sniffio in ./Projects/Project/lib/python3.8/site-packages (from httpx>=0.10.0->universal-analytics-python3<2,>=1.0.1->fiftyone) (1.2.0)
Requirement already satisfied: rfc3986[idna2008]<2,>=1.3 in ./Projects/Project/lib/python3.8/site-packages (from httpx>=0.10.0->universal-analytics-python3<2,>=1.0.1->fiftyone) (1.5.0)
Requirement already satisfied: certifi in ./Projects/Project/lib/python3.8/site-packages (from httpx>=0.10.0->universal-analytics-python3<2,>=1.0.1->fiftyone) (2021.10.8)
Requirement already satisfied: httpcore<0.15.0,>=0.14.5 in ./Projects/Project/lib/python3.8/site-packages (from httpx>=0.10.0->universal-analytics-python3<2,>=1.0.1->fiftyone) (0.14.7)
Requirement already satisfied: idna<4,>=2.5 in ./Projects/Project/lib/python3.8/site-packages (from requests->voxel51-eta<0.7,>=0.6.3->fiftyone) (3.3)
Requirement already satisfied: backports.zoneinfo in ./Projects/Project/lib/python3.8/site-packages (from tzlocal->voxel51-eta<0.7,>=0.6.3->fiftyone) (0.2.1)
Requirement already satisfied: pytz-deprecation-shim in ./Projects/Project/lib/python3.8/site-packages (from tzlocal->voxel51-eta<0.7,>=0.6.3->fiftyone) (0.1.0.post0)
Requirement already satisfied: anyio==3.* in ./Projects/Project/lib/python3.8/site-packages (from httpcore<0.15.0,>=0.14.5->httpx>=0.10.0->universal-analytics-python3<2,>=1.0.1->fiftyone) (3.5.0)
Requirement already satisfied: h11<0.13,>=0.11 in ./Projects/Project/lib/python3.8/site-packages (from httpcore<0.15.0,>=0.14.5->httpx>=0.10.0->universal-analytics-python3<2,>=1.0.1->fiftyone) (0.12.0)
Requirement already satisfied: tzdata in ./Projects/Project/lib/python3.8/site-packages (from pytz-deprecation-shim->tzlocal->voxel51-eta<0.7,>=0.6.3->fiftyone) (2022.1)
Installing collected packages: fiftyone-db, fiftyone-brain, fiftyone
Successfully installed fiftyone-<IP_ADDRESS> fiftyone-brain-0.8.1 fiftyone-db-0.3.0

(Project) user@MacBook-Air ~ % ls -a
.				.ssh
..				.swiftpm
.CFUserTextEncoding		.tool-versions
.DS_Store			.viminfo
.Trash				.yandex
.anydesk			.zprofile
.asdf				.zsh_history
.asdfrc				.zsh_sessions
.cache				.zshrc
.cocoapods			Desktop
.dbshell			Documents
.docker				Downloads
.gem				Library
.gemrc				Movies
.gitconfig			Music
.idlerc				Pictures
.local				Projects
.matplotlib			Public
.mongodb			Terminal Saved Output
.mongorc.js			Terminal Saved Output.txt
.python_history

Hi @benjaminpkane. What can I do in this situation? Do I need run import fiftyone command in python ?

Yes

Result of import python:
(Project) user@MacBook-Air ~ % python3
Python 3.8.10 (v3.8.10:3d8993a744, May  3 2021, 09:09:08)
[Clang 12.0.5 (clang-1<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import fiftyone
Uncaught exception
Traceback (most recent call last):
  File "/Users/user/Projects/Project/lib/python3.8/site-packages/fiftyone/core/odm/database.py", line 103, in establish_db_conn
    _db_service = fos.DatabaseService()
  File "/Users/user/Projects/Project/lib/python3.8/site-packages/fiftyone/core/service.py", line 80, in __init__
    self.start()
  File "/Users/user/Projects/Project/lib/python3.8/site-packages/fiftyone/core/service.py", line 231, in start
    super().start()
  File "/Users/user/Projects/Project/lib/python3.8/site-packages/fiftyone/core/service.py", line 118, in start
    + self.command,
  File "/Users/user/Projects/Project/lib/python3.8/site-packages/fiftyone/core/service.py", line 260, in command
    DatabaseService.find_mongod(),
  File "/Users/user/Projects/Project/lib/python3.8/site-packages/fiftyone/core/service.py", line 336, in find_mongod
    raise ServiceExecutableNotFound("Could not find `mongod`")
fiftyone.core.service.ServiceExecutableNotFound: Could not find `mongod`

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/user/Projects/Project/lib/python3.8/site-packages/fiftyone/__init__.py", line 25, in <module>
    from fiftyone.__public__ import *
  File "/Users/user/Projects/Project/lib/python3.8/site-packages/fiftyone/__public__.py", line 14, in <module>
    foo.establish_db_conn(config)
  File "/Users/user/Projects/Project/lib/python3.8/site-packages/fiftyone/core/odm/database.py", line 118, in establish_db_conn
    raise FiftyOneConfigError(
fiftyone.core.config.FiftyOneConfigError: MongoDB is not yet supported on Apple Silicon Macs. Please define a `database_uri` in your `fiftyone.core.config.FiftyOneConfig` to define a connection to your own MongoDB instance or cluster

Apple Silicon Mac's are not quite supported yet. You can track the issue here. Apologies
Using docker and our Dockerfile in the meantime is a viable alternative:

https://github.com/voxel51/fiftyone/blob/develop/Dockerfile

Thank you for alternative!

Some Apple silicon users have reported success self-installing MongoDB and configuring FiftyOne to use that. See this docs page for details.

I can't configure FiftyOne because ~/.fiftyone dir is absent

You a free to create the ~/.fiftyone directory manually of course, but that is beyond the point. But again, it will be created if necessary upon import.

@benjaminpkane I will try to config with environment variables. Thank you.


Replace assemble task dependency with runtimeClasspath

This introduces a new lifecycle task called jibDependencies (the name can really be anything, that was just what I came up with) that all the jib tasks depend on and it in turn depends on any requisite tasks / configurations. Being a lifecycle task, it doesn't have any task action itself and essentially exists as a convenient hook for other dependencies. In particular, jibDependencies will depend on the war/bootWar tasks  when applicable, the jar task when applicable, and always depends on the projects runtimeClasspath configuration.
Gradle allows tasks to depend on FileCollections (rather than just tasks). When doing so Gradle expands the task graph expands to include all the necessary tasks to produce the files listed in the FileCollection. Doing so with the runtimeClasspath configuration means Gradle will run all the tasks to get all the artifacts necessary to run this project, making it more efficient than using the assemble task which will often run slow, and unnecessary tasks. In particular, the main source set's runtimeClasspath's property includes the source set output appended to the project's runtimeClasspath configuration so depending on that obviates the need to run even manually run the classes task. (See https://docs.gradle.org/current/userguide/java_plugin.html#sec:source_set_properties)
If we only want to conditionally depend on the runtime classpath I'm happy to make that change though I assume it's never really going to be a bad thing even in the case of the war based projects.
Also, for what it's worth — jib itself uses the runtimeClasspath to get the list of files to add to the container so it makes sense to use that same collection to set up the task dependencies.
https://github.com/GoogleContainerTools/jib/blob/d3615a6df6f0f7e2654466128e685ea7ee73958a/jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/GradleProjectProperties.java#L174
There are a few different potential approaches here so I'm happy to make changes to go with a different approach. For example, we don't have to introduce the jibDependencies task but it made the implementation a little cleaner and also made it so that the changes to tests were minimal (some of them make assumptions about the contents of task.getDependsOn() which are no longer true when tasks depend on configurations for example). It might also be useful in the future if there are new dependencies since they can all hook into jibDependencies.
This should resolve #2184

@loosebazooka refactored to remove the jibDependencies task and instead have each of the jib tasks depend directly on relevant items (war, bootWar, etc. tasks and the runtimeClasspath configuration from the main source set)

Awesome, thanks @seanabraham


Can you give more details about the Table1. in paper?

Thanks for your wonderful work. From Table 1, I think it shows that the CAC or CPS method using the remaining unlabeled frames for training has a significant performance improvement compared to not using them.  From 66.00 to 69.70, from 70.32 to 74.39. However, the paper says "no obvious improvement is gained.". Could you please explain that?

Thanks for your interest in our work. In Table 1, we found that using remaining frames can not bring significant performance gain when comparing to using sampled frames, e.g., 69.70 vs. 69.80. The result shows that existing SSIS methods can not further utilize unlabeled video frames when sampled frames is given. Therefore, in this work, we formulate a SSVS task and propose IFR to tackle this issue.

Thanks for your answer, now I understand.😃

Are the performance the result of testing on test split (1525 images) of  Cityscapes dataset? Or testing on every frame of the video?

We followed a common practice to evaluate models on the val split (500 images) of Cityscapes. During the evaluation, we follow the protocol of Accel, which you can refer to.

Okay, thanks a lot!


Getting started docs

I recently tried to 'Get Started' running some Ansible examples, with no particular idea what I wanted to achieve, but hoping that getting something working would help me understand / learn something!
However, starting at https://github.com/openmicroscopy/infrastructure/blob/master/ansible/README.md I never managed to  get anything working.
Followed instructions at https://github.com/openmicroscopy/infrastructure/blob/master/docs/ansible/installation.md until
Clone the repository containing the inventory, host and group vars files. Ansible will automatically look for host_vars and group_vars directories in the parent directory of the inventory file. This should be located at ../../ansible/inventory such that -i ../../ansible/inventory would be correct.

but didn't know where to look for example repositories. The only "Getting started" example I could see was https://github.com/openmicroscopy/ansible-role-omero-server but this doesn't seem to have the required files mentioned above and there were also no alternative instructions on that page on how to actually get started with the example.
Tried looking at "infrastructure" repo for examples, but don't know what's expected to work. Tried a few things e.g.
$ cd /Users/wmoore/Desktop/INFRASTRUCTURE/infrastructure/ansible
$ ansible-playbook -u wmoore --ask-become-pass -C -v os-devspace.yml
...
 [WARNING]: Host file not found: ../../ansible/inventory/
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "vm_key_name is required"}

In the end I gave up and went to https://github.com/openmicroscopy/devspace which is probably where I should have started.
To summarise, if the "Getting Started" instructions are designed for newbies to get something running then they need the step-by-step instructions to go a bit further.
Maybe some more high-level intro to the various repos (Infrastructure, Management tools & devspace) would also help, since the relationship & differences between these is still kinda confusing so figuring out where to start is hard.

Clone the repository containing the inventory, host and group vars files.

In our case, this is management_tools which is private.

I guess @will-moore that we'd need to choose some task that you want to achieve, since I'm not sure we have much in the way of "just learn ansible".

What about https://github.com/openmicroscopy/ansible-role-omero-server ? Isn't that a kind of ansible "Hello World"?
I think it would be OK to say "those with access to https://github.com/openmicroscopy/management_tools/tree/master/ansible can continue there."
although I don't know if that gives a "Hello World" example either?
I think part of the problem is that even understanding what the task is that I want to achieve and which repo to start at is tricky, since a high-level picture of the relationship between all the repos and what they do is lacking. I'd be happy to try and create a diagram that represented this, since it would certainly help my understanding too.

Isn't that a kind of ansible "Hello World"?

Not exactly. It is the "official" way of installing a server on centos7 so assuming you have a centos box (docker, openstack, virtualbox/vagran, etc.) then you can use it.

"those with access to https://github.com/openmicroscopy/management_tools/tree/master/ansible can continue there."

We try not to mix private repositories into public ones because that will leave the rest of the community wondering: "What's that?" If we need to have a README starting point in management_tools (or ome-internal) for team members, :+1:

I think part of the problem is that even understanding what the task is that I want to achieve and which repo to start at is tricky, since a high-level picture of the relationship between all the repos and what they do is lacking. I'd be happy to try and create a diagram that represented this, since it would certainly help my understanding too.

That's fair, and certainly interested to see your and others' representation of the relationshop, but most of these roles/playbos are atomic. The types of things they try to do are:

"install postgres"
"install OMERO.server"
"install OMERO.web"
"install some app"
"install nginx"
"create an openstack instance"
"setup jenkins"
etc.

If you are looking for something more holistic ("a fully functional OMERO installation") , the best example previously was likely the training playbook. Now, it might be idr/deployment but that is quite a complicated (though certainly complete) example.

@will-moore Is something like https://www.ansible.com/webinars-training/introduction-to-ansible helpful?

And in terms of a target would:

http://github.com/openmicroscopy/ansible-role-figure-web
http://github.com/openmicroscopy/ansible-role-figure-server

be sensible?

@joshmoore Sorry - not sure what you mean by those 'targets'.  'ansible-role-figure-web' sounds like a role for setting up OMERO.web with figure. 'ansible-role-figure-server' is more confusing? Server + web + figure?
I understand we have a lot of "atomic" roles, but when I do
$ ansible-playbook -l devspace-test -u centos devspace.yml

there's a ton of pieces that are run, but what exactly are they and where are they running? E.g. are the https://github.com/ome/omero-install scripts used in this process? What about https://github.com/ome/omego? Does most of the work happen on my laptop, or is it a single command that's issued to an OpenStack machine and everything runs there? etc!

By targets I meant the task you're currently looking into. By "ansible-role-figure-server" I mean the role that installs the dependencies that the decoupled /opt/omero/server needs as opposed to the /opt/omero/web (since they can be on different servers).
If you are looking at devspace.yml, then the task is: "set up a CI system that can be used for independent development", and we can certainly start there, but it's certainly one of the bigger ones:

but what exactly are they

It configures docker and a jenkins running in it which will replicate much of http://ci.openmicroscopy.org

and where are they running?

 All docker playbooks must be targeted at some intended host (even if just localhost).

E.g. are the https://github.com/ome/omero-install scripts used in this process?

Partially, yes, though we will move ever more to ansible roles.

What about https://github.com/ome/omego?

In some ways, certainly.

Does most of the work happen on my laptop

In general, ansible works by running remote commands from wherever you execute. So if you are on your laptop and you run ansible-playbook then it is using your laptop as the command center, but it will make remote commands (almost always via ssh) to whatever host is listed.

or is it a single command that's issued to an OpenStack machine and everything runs there?

No.


Withdraw the candidate application after feedback

Context
We want to make it mandatory to provide feedback when withdrawing an application.
To do this, the application will be withdrawn after the withdrawal feedback has been submitted.
The WithdrawalForm that was previously only saving the feedback will now withdraw the application and submit the feedback.
Changes proposed in this pull request
Renamed WithdrawalFeedbackForm to WithdrawalForm
Withdraw the application in WithdrawalForm
Add presence validation on selected reason for withdrawal
Guidance to review
Go to the review app and withdraw a candidate application.
Link to Trello card
https://trello.com/c/wfjkqik7/832-make-post-withdrawal-reason-non-optional?filter=member:catalinvoineag1
Screenshots
https://github.com/DFE-Digital/apply-for-teacher-training/assets/11318084/5a63e996-b4bf-4db2-b6da-2900fe0d33b9

 Make post-withdrawal reason non-optional


Added information on how to iterate through presets

Added, "1~17~" can be used to iterate through presets 1-17 under PS section.
Thought this could be helpful. This is my first pull request so I hope I did this right. :)

@blazoncek Everything looks good with what I submitted but the format under the API page looks wrong. I checked what I submitted and it looks correct. Not sure what happened but it should look like "1~17~"

~ is a special formatting character in markdown. Here on github it's used for ~strikethrough~, on the docs it seems to appear as some sort of substript. I've added code ticks (`) instead of quotes, that should fix it.


Do we have to write code for preprocessing the dataset?

I cant find any info on the repo about preprocessing the input data before training.
Can you please say which dataset to use and how to train the model with that dataset?

Please check https://github.com/astorfi/lip-reading-deeplearning/blob/master/code/speech-input/input_feature.py and the paper for further details.


Need help in AccountKit.GetCurrentAccount

Hi,
Thank you for your team for the wonderful work. I have successfully tested account kit in xamarin android.
but I want to read Account.PhoneNumber after successful verification
Could you please help me how to use this part in C#
AccountKit.getCurrentAccount(new AccountKitCallback() {
@Override
public void onSuccess(final Account account) {
// Get Account Kit ID
String accountKitId = account.getId();
// Get phone number
PhoneNumber phoneNumber = account.getPhoneNumber();
if (phoneNumber != null) {
  String phoneNumberString = phoneNumber.toString();
}

// Get email
String email = account.getEmail();

}
@Override
public void onError(final AccountKitError error) {
// Handle Error
}
});

Hey, have you read the sample code?
Anyway, the API are similar between C# and Java. You should learn those yourself, don't ask for this simple question.
Cheers.


M3-4906: Reduce vertical spacing between Label & Description fields on StackScript Create/Edit page

Description
Make the vertical spacing between StackScript Label and Description on the StackScript Create/Edit page more consistent with the spacing between the other fields.
Type of Change

Non breaking change ('update', 'change')

@Jskobos I agree, this is unneeded now given the changes in feature/firewall-updates. I'll close this PR.


Add rules for causal relations identification

Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
See #55
What are the significant changes in functionality due to this change request?

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual.
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Regression tests have to complete successfully.
[ ] 5. If significant functionality is added, there must be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test.
[ ] 6. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.

Just merge into branch.


Include information about the dark mode setting of the web interface

What problem does it solve?
Currently safe-apps cannot retrieve the information if the web interface has the dark mode enabled.
Therefore many safe apps only offer a light mode which does not look consistent with the web interface if dark mode is enabled.
How do we solve it?
We should add the information if the dark mode is enabled or not into the data the safe-apps-sdk retrieves from the web-core communicator. We could create a new data structure "settings" which for now only holds the info if the dark mode is enabled.
Then safe apps could react to that setting and change the theme accordingly.

@dasanra @mikhailxyz do you mind if we tackle this? @schmanu is eager.


Add Liceo de Cagayan University

@joseederangojr First stage of verification passed, official domain is liceo.edu.ph as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@joseederangojr Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Fixed infer next_step for nested metric

Subsequent calls of dvclive.log() using a nested metric name (i.e. "train/foo") were not triggering next_step

Codecov Report

Merging #155 (67edf6f) into master (9192b6e) will increase coverage by 0.15%.
The diff coverage is 100.00%.

:exclamation: Current head 67edf6f differs from pull request most recent head d7b853a. Consider uploading reports for the commit d7b853a to get more accurate results

@@            Coverage Diff             @@
##           master     #155      +/-   ##
==========================================
+ Coverage   91.66%   91.82%   +0.15%
==========================================
  Files          15       15
  Lines         360      367       +7
==========================================
+ Hits          330      337       +7
  Misses         30       30

Impacted Files
Coverage Δ

dvclive/metrics.py
97.16% <100.00%> (+0.02%)
:arrow_up:

dvclive/utils.py
100.00% <100.00%> (ø)

dvclive/dvc.py
60.97% <0.00%> (-0.93%)
:arrow_down:

Continue to review full report at Codecov.

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


Add warning to loading OnDemandCluster from sky DB.

This gets into a weird state sometimes, adding a safety warning.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#849
#848  👈
#846
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @rohinb2 and the rest of your teammates on  Graphite

Merge activity

May 30, 2:01 PM EDT: @rohinb2 started a stack merge that includes this pull request via Graphite.


monaco editor auto complete fails to insert code snippet after 2 minutes

The reference model used by the typescript language services goes out of sync after 2 minutes of inactivity and in turn the intellisense is unable to insert the code snippet.
We either need an alternative way to look up the signature help items or we need to find a way to restart the model in time so its ready when the resolveCompletionItem is called

Why is there a timeout?

I asked Johannes (from monaco) this a while back and he said it was for a bunch of reasons, but mostly to avoid leakage.

Is this relevant?

Nope, this is fixed when we move to using Typescript 2 in pxt-monaco-typescript.


Package totally rewritten (v3)

Q
A

Bug fix?
No

New feature?
Yes

Description
Changed

Package was totally rewrote

Added

Events for interaction with worker loop:

BeforeLoopStartedEvent
BeforeLoopIterationEvent
BeforeRequestHandlingEvent
AfterRequestHandlingEvent
AfterLoopIterationEvent
AfterLoopStoppedEvent

Listeners:

BindRequestListener
ClearInstancesListener
CloneConfigListener
FixSymfonyFileValidationListener
ForceHttpsListener
InjectStatsIntoRequestListener
RebindHttpKernelListener
RebindRouterListener
RebindViewListener
ResetDbConnectionsListener
ResetProvidersListener
ResetSessionListener
RunGarbageCollectorListener
SetServerPortListener
UnqueueCookiesListener

Environment variable APP_REFRESH supports
Package configuration file
PHP 7.4 supports

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I wrote unit tests for my code (if tests is required for my changes)
[x] I have made changes in CHANGELOG.md file

Codecov Report

Merging #26 into master will increase coverage by 8.12%.
The diff coverage is 98.06%.

@@             Coverage Diff              @@
##             master      #26      +/-   ##
============================================
+ Coverage     89.95%   98.08%   +8.12%
- Complexity      101      105       +4
============================================
  Files             9       23      +14
  Lines           239      261      +22
============================================
+ Hits            215      256      +41
+ Misses           24        5      -19

Impacted Files
Coverage Δ
Complexity Δ

src/Listeners/BindRequestListener.php
100% <100%> (ø)
3 <3> (?)

src/Listeners/RebindHttpKernelListener.php
100% <100%> (ø)
2 <2> (?)

src/Listeners/SetServerPortListener.php
100% <100%> (ø)
6 <6> (?)

src/Events/AfterLoopIterationEvent.php
100% <100%> (ø)
4 <4> (?)

src/Listeners/ClearInstancesListener.php
100% <100%> (ø)
4 <4> (?)

src/Events/AfterLoopStoppedEvent.php
100% <100%> (ø)
2 <2> (?)

src/Listeners/ForceHttpsListener.php
100% <100%> (ø)
4 <4> (?)

src/Listeners/RebindViewListener.php
100% <100%> (ø)
2 <2> (?)

src/Events/AfterRequestHandlingEvent.php
100% <100%> (ø)
4 <4> (?)

src/Listeners/FixSymfonyFileValidationListener.php
100% <100%> (ø)
2 <2> (?)

... and 35 more

Continue to review full report at Codecov.

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

Also this PR closes PRs #24 and #25

Add closes issue #22

And closes #21


Expose loading state on async options

Is there a way to get the loading state when using async options on current version? Or it could be a new thing in next version
thanks in advance

It's exposed via resolving prop.


'//' removed from the homepage.

#Removal of '//'
Unwanted '//' symbol is removed .
Fixes:  #4329
Description
I have removed a '//' symbol near the 'Load More' button in the home page to vanish the mismatch the symbol cuased to the overall design of the homepage. I have not changed any dependencies.

Type of PR

[x] Bug fix

Screenshots / videos (if applicable)
before:

after:

Checklist:

[x] I have made this change from my own.
[x] I have taken help from some online resources.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

@rasmirajesh I have done this issue!!


Cluster Provisioning v2: GKE - Import

Closing this for now since there's an iFrame that's sufficient. Once the hosted providers are using the CAPI framework, we can look at this then.


Shelter Cabin

For use with the "Cabin" Places preset

Fairly straightforward conversion. Some examples for the three color variants:

black
white
slate


Document sam build steps

Hi,
It would great if there was documentation on the steps taken by sam build. My concrete use case is that I'd like to know how it finds and installs packages for Python Lambda functions so I can figure out the best way to structure my project. More specifically, does it just do a pip install -r and copies the source files or does it build my package with setuptools?
Thanks!
(Edited with more info.)

@abiro The design for python builder lives here: https://github.com/awslabs/aws-lambda-builders/blob/develop/aws_lambda_builders/workflows/python_pip/DESIGN.md
The TLDR is; we check for requirements.txt in your CodeUri directory of the function, then call the language + dependency manager builder (in your case python_pip workflow), then move this artifacts into a known location (.aws-sam in your project directory).

Thanks, I think I have a better understanding of the build process now. Summarizing for posterity:
sam build performs the following steps to build a Python Lambda function:

Find the base directory of the function. By default this is the same directory as the location of the template.yml file, but it is customizable with the sam build --base-dir flag.
Find the requirements file. By default sam looks for a requirements.txt file in the base directory, but this is customizable with the sam build --manifest flag.
Recursively copy all non-hidden directories and files from the base directory to the bundle directory.
Get wheels for all dependencies listed in requirements.txt with pip and unpack them into the bundle directory.

Why is only manylinux1 considered compatible? The version of python in the lambci/lambda:build-python3.7 container reports (via pip debug) compatibility with manylinux2010 and manylinux2014 as well...

Following up on the above: I manually built a python 3.7 lambda zip using manylinux2010 wheels and it executes correctly. This suggests (though does not prove) that incorporating support for newer manylinux specs into SAM would be safe and effective. Not sure the right way to actually do it in the code, as "--platform manylinux1_x86_64" is currently hardcoded into the pip install command (see https://github.com/awslabs/aws-lambda-builders/blob/24f0aca6ed41ec2b08333655adbd1433f14cdc9e/aws_lambda_builders/workflows/python_pip/packager.py line 624-625).
The motivation for doing this would be that currently, if you are building a function and need to incorporate a dependency that's not available or buildable for manylinux1 (e.g. snowflake-connector-python), you then have to abandon sam build entirely, which is not a great user experience.

@slotrans See https://github.com/awslabs/aws-sam-cli/issues/2014#issuecomment-645508588

Closing as support for manylinux2010 wheels will be in the next release as its part of aws lamba builders 1.0.0


Feature/reset upgrades

Adds granular reset and normalization to the util.
ie: assuming that you have 2+ local commits you can reset to the 1st or later commit state via
g3t reset 901d4d5c1121513df8151f734e8fe928 where 901d4d5c1121513df8151f734e8fe928 is the commit id of the first commit.
  Not sure exactly why it fails in pytest. The command works fine in real world testing

@matthewpeterkort We discussed merging this when I got back from vacation.   You indicated it was not appropriate.  Please close the PR

@matthewpeterkort We discussed merging this when I got back from vacation. You indicated it was not appropriate. Please close the PR

There are some parts of this PR like better exception handling, and click.echo consolidation that should get merged. The reset command g3t reset --all should be kept. The granular reset would probably cause more harm then good and should be removed. Will clean up this PR more to reflect that.

util went another direction. Closing


10.0.20348.1311 Not Supported (Windows Server 2022 Datacenter 21H2)

Please, attach your termsrv.dll.

termsrv.dll.zip
I copied from system32 directory is that ok?

Duplicate of #2051

Duplicate of #2051

I ran update.bat file but it didnt fix the issue

I ran update.bat file but it didnt fix the issue

Contact Telegram support group, GitHub is for bug reports. Closed as duplicate.


Change the error value

Codecov Report

Merging #3 (9870633) into master (0d3083a) will increase coverage by 2.55%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##           master       #3      +/-   ##
==========================================
+ Coverage   78.31%   80.86%   +2.55%
==========================================
  Files           1        1
  Lines         166      162       -4
==========================================
+ Hits          130      131       +1
+ Misses         36       31       -5

Flag
Coverage Δ

unittests
80.86% <75.00%> (+2.55%)
:arrow_up:

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

Impacted Files
Coverage Δ

src/opendir.c
80.86% <75.00%> (+2.55%)
:arrow_up:

Continue to review full report at Codecov.

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


Add the verification of cluster-scoped resource deletion

Fixes #152
Proposed Changes

Add the verification of the cluster-scoped resource deletion, if the CR is deleted.

Release Note

@jcrossley3 I pushed another update. What do you think of the new change?

@jcrossley3 I pushed another update. What do you think of the new change?

So you're verifying that every resource in the manifest is gone now? Very nice!

/lgtm


Vertical sliders are broken in polyfill mode in range-capable browsers

Vertical sliders are broken in polyfill mode in browsers that natively support input type=range. You can see this by visiting the demo in Chrome: http://www.frequency-decoder.com/demo/fd-slider/

Hi mourner,
Chrome doesn't follow the spec which is why you are seeing a broken range. Remember, the script has bowed out by this point as ranges are supported natively by the browser.
The spec stipulates that the orientation of the control should be determined from the ratio of the style-sheet-specified height and width properties. Basically, if you style the input height to be larger than the width, the browser should render a vertical range.
Chrome should have created a vertical range as I've styled the input height to be larger than the width but its current implementation is broken (which is a shame).

@freqdec I see, but if it's broken in Chrome, maybe it would be a good idea to detect if the user uses Chrome and switch to non-native vertical slider for such elements?

This is something that, in my humble opinion, should be controlled by the developer. Adding this to the base script sounds like fools gold (someone will immediately ask to add an option to remove the functionality for example).
It would be possible to write a test that can be used within Modernizr.load that would load the files if on webkit and a vertical slider required e.g.
yepnope({
test : Modernizr.inputtypes.range && myBespokeRangeTestForWebkit(),
nope : ['fd-slider.js', 'fd-slider.css']
});
and within the markup...
// If slider script loaded then create range for vertical slider
if("fdSlider" in window && typeof (fdSlider.onDomReady) != "undefined") {
fdSlider.createSlider({the options});
};

Sounds reasonable, OK then. :)


Nca docker image

Added a workflow for building and pushing docker image.
Implemented version handling through manually maintaining source file build_number.txt.

Regarding your thoughts about a version number: I can implement it as you suggested, using workflow input, and it indeed seems simpler. On the other hand, this way we cannot automatically increment patch number and minor version number - we should do it manually, which is also a bit complicated and human error prone. What do you prefer?

Implemented automatic docker build and check inside test-push workflow.
Changed manual docker build and push workflow (now called make-github-and-docker-release.yml) to receive a version number parameter and to build docker release and github release.


replace http by https in api calls Medialaan extractor

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[X] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[X] Searched the bugtracker for similar pull requests
[X] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[X] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[X] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
replace http by https in api calls Medialaan extractor

I'm security professional. HTTPS should be the default :-).

Bother to read my post.


Appstudio update test-component-pac-vdez

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-vdez-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
11 seconds
init

✅ Succeeded
38 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
31 seconds
deprecated-base-image-check

✅ Succeeded
32 seconds
inspect-image

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
40 seconds
sbom-json-check

✅ Succeeded
13 seconds
label-check

✅ Succeeded
6 seconds
show-sbom

✅ Succeeded
7 seconds
show-summary

Pipelines as Code CI/test-component-pac-vdez-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
18 seconds
init

✅ Succeeded
20 seconds
clone-repository

✅ Succeeded
25 seconds
build-container

✅ Succeeded
15 seconds
deprecated-base-image-check

✅ Succeeded
17 seconds
inspect-image

✅ Succeeded
50 seconds
clamav-scan

✅ Succeeded
10 seconds
clair-scan

✅ Succeeded
11 seconds
sbom-json-check

✅ Succeeded
6 seconds
label-check

✅ Succeeded
6 seconds
show-summary

✅ Succeeded
7 seconds
show-sbom


Updates submodule sidestream to @2a537ea.

This PR updates the sidestream submodule. The update pull in numerous things @gfr10598 has been working on, and of more immediate importance pulls in a fix/workaround to an issue where paris_rollins.py was failing to start on machine boot or when an iupui_npad sliver was [re]started using the vserver command.

Because this is mostly a rubber-stamp PR for visibility that I'm 99.9% sure is correct, I'm merging this PR so that I can build the new slice package and get it on a few testing servers for the weekend. A retrospective code review was sent to @gfr10598 for after-the-fact validation.


.find('[type=text]') behaves like .find('[type]')

If I have a component that renders a form that has one input with type=text on it and a few others that have type attributes with other values, .find('[type=text']) will give me all the nodes that have a type attribute. I would normally expect to get just the one that has a type attribute with a value of "text", or see an error. To fix this in my test, I am quoting the value of the attribute: .find('[type="text"]').

This seems like a bug. If you want to compare to the string "text" you absolutely need the quotes - however since text isn't a literal in JS, that should throw an error (where as type=3 would be fine).

Yeah. It should throw an error.


Support some icons

Husky scripts:

Turborepo folder: #120

Contentlayer folder

I'm not familiar with husky but creating these files by themselves in vscode have them set as plain text. I don't think file names should be set to specific file extensions.

I'm not familiar with husky but creating these files by themselves in vscode have them set as plain text. I don't think file names should be set to specific file extensions.

Husky follows a script format like this:

In my opinion, it can have the shell icon or a custom one.


global management of app execution

We should create some scheme for managing the use of global variables in the app. Allowing the Agent to be global works for now -- but it seems likely to cause errors in the future.
Low priority until next week, but  @imnuvi  it would be good if you have thoughts on how we can/should do this

Best way to go about this is to have a factory that generates agents when required and automatically closes them when execution goes out of scope of the function.

Fixed in frontend_rem_globals

That branch looks good! Could you please add some docstrings to explain how to use the AgentFactory class @imnuvi and then perhaps it's ready to merge?


Allow full build of atlas image from source

In https://github.com/odpi/egeria/pull/1152/files the dockerfile was split
The core atlas build was moved into 'Dockerfile.build' .
However no change was made to the pom.xml to allow this build to run
So
mvn clean install -Ddocker -Ddocker.repo=myrepo
will build the 'modification' layer only. Much of the time this is what is wanted, and it makes development much quicker.
However the original intent was to allow any user of the project to build their own images from scratch (some people require this)
Therefore we need to add an additional configuration to the pom.xml for each of the docker images that are split - probably optionally to also run Dockerfile.build -- and also parameterize the use of that base image.
See also https://github.com/odpi/egeria/pull/1178

@planetf1 I have modified pom.xml in apache-atlas for building a base/builder  image
                    <execution>
                        <id>base-image-build</id>
                        <phase>package</phase>
                        <goals>
                            <goal>build</goal>
                        </goals>
                        <configuration>
                            <dockerfile>Docker.build</dockerfile>
                            <tag>build</tag>
                        </configuration>
                    </execution>

mvn clean package -Ddocker.repo=xxxx
this will create the image as
$ docker images
REPOSITORY                                          TAG                   IMAGE ID            CREATED             SIZE
registry-1.docker.io/akhilreddyjirra/apache-atlas   build                 4b98f2df8d56        4 hours ago         10GB

i have two things.

Is this an accepatable  solution ?
If yes ,how can i tell to Dockerfile to take outputs from base/Builder  image

for example in Dockerfile
FROM odpi/apache-atlas:build AS build
FROM openjdk:8-jdk-alpine

to
FROM <users repo>/apache-atlas:build AS build
FROM openjdk:8-jdk-alpine

the following is the pox.xml at open-metadata-resources/open-metadata-deployment/docker/apache-atlas
<?xml version="1.0" encoding="UTF-8"?>
<!-- SPDX-License-Identifier: Apache-2.0 -->
<!-- Copyright Contributors to the ODPi Egeria project. -->

<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

    <parent>
        <artifactId>open-metadata-docker</artifactId>
        <groupId>org.odpi.egeria</groupId>
        <version>1.1-SNAPSHOT</version>
    </parent>

    <modelVersion>4.0.0</modelVersion>

    <name>Docker image - Apache Atlas</name>
    <description>
        Samples, Helm charts to deploy Egeria and associated components such as docker image build scripts
    </description>

    <artifactId>open-metadata-docker-apache-atlas</artifactId>

    <packaging>pom</packaging>
    <build>
        <plugins>
            <!-- Setup the docker build.
                 Note - bound to 'install' phase as deploy causes push of maven artifacts
            -->
            <plugin>
                <groupId>com.spotify</groupId>
                <artifactId>dockerfile-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <id>build-and-tag-latest</id>
                        <phase>install</phase>
                        <goals>
                            <goal>build</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>base-image-build</id>
                        <phase>package</phase>
                        <goals>
                            <goal>build</goal>
                        </goals>
                        <configuration>
                            <dockerfile>Docker.build</dockerfile>
                            <tag>build</tag>
                        </configuration>
                    </execution>
                    <execution>
                        <id>tag-version</id>
                        <phase>install</phase>
                        <goals>
                            <goal>tag</goal>
                        </goals>
                        <configuration>
                            <tag>${project.version}</tag>
                        </configuration>
                    </execution>
                    <execution>
                        <id>push-latest</id>
                        <phase>install</phase>
                        <goals>
                            <goal>push</goal>
                        </goals>
                        <configuration>
                            <tag>latest</tag>
                        </configuration>
                    </execution>
                    <execution>
                        <id>push-version</id>
                        <phase>install</phase>
                        <goals>
                            <goal>push</goal>
                        </goals>
                        <configuration>
                            <tag>${project.version}</tag>
                        </configuration>
                    </execution>
                </executions>
                <configuration>
                    <repository>${docker.registry}/${docker.repo}/apache-atlas</repository>
                    <!-- <dockerfile>Docker.build</dockerfile>
                    <imageTag>base</imageTag> -->
                    <buildArgs>
                    </buildArgs>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>

Hi,
Thanks for looking at this.
If we're going to split the build for atlas, we need to build both versions - is that your plan?
For dockerhub a start might be to add a 'buildarg' in the pom.xml above (near bottom)
<buildArgs>
--build-arg REPO=${docker.registry}/${docker.repo}
</buildArgs>

And then in the dockerfile use
ARG REPO=docker.io/odpi
FROM $REPO/apacheatlas:build AS build

Or similar?
not tried it yet - do you want to give it a go?

Hi,
Thanks for looking at this.
Maybe ... something like
<buildArgs>
--build-arg REPO=${docker.registry}/${docker.repo}
</buildArgs>

And then in the dockerfile use
ARG REPO=docker.io/odpi
FROM $REPO/apacheatlas:build AS build

Or similar?
not tried it yet - do you want to give it a go?

correction
<buildArgs>
   <REPO>${docker.registry}/${docker.repo}</REPO>
</buildArgs>

Hi,
Thanks for looking at this.
Maybe ... something like
<buildArgs>
--build-arg REPO=${docker.registry}/${docker.repo}
</buildArgs>

And then in the dockerfile use
ARG REPO=docker.io/odpi
FROM $REPO/apacheatlas:build AS build

Or similar?
not tried it yet - do you want to give it a go?

@planetf1
my bad i didn't check the mvn install phase earlier, just checked what I notice is both mvn install and package are building the Docker.file only
can you suggest what the issue would be.
mvn clean install -Ddocker -Ddocker.repo=myrepo
mvn clean package -Ddocker -Ddocker.repo=myrepo
[INFO] Building Docker context /home/shris.local/ram/Documents/egeria/open-metadata-resources/open-metadata-deployment/docker/apache-atlas
[INFO] Path(dockerfile): /home/shris.local/ram/Documents/egeria/open-metadata-resources/open-metadata-deployment/docker/apache-atlas/Docker.build
[INFO] Path(contextDirectory): /home/shris.local/ram/Documents/egeria/open-metadata-resources/open-metadata-deployment/docker/apache-atlas
[INFO]
[INFO] Image will be built as registry-1.docker.io/akhilreddyjirra/apache-atlas:build
[INFO]
[INFO] Step 1/15 : FROM maven:3.6.0-jdk-8
let know any suggestion? please

If you've made some changes beyond master it may be worth either I test out what you have/see if it's workiing or try and debug it. Or create a PR that we don't merge (so I can pull)? I can take another look

marking as done for now. will reopen if there are residual issues after latest changes


crash when searching by using scann index

使用最新代码build scann版本的vearch，插入数据ok，执行检索的时候发生crash了，不清楚原因是什么，还请帮忙看下，辛苦
手动打开了scann的限制，添加了VEARCH类型：
retrievalTypeMap := map[string]string{"IVFPQ": "IVFPQ", "IVFFLAT": "IVFFLAT", "BINARYIVF": "BINARYIVF", "FLAT": "FLAT", "HNSW": "HNSW", "GPU": "GPU", "SSG": "SSG", "VEARCH": "VEARCH"}
建表语句如下：
{
"name": "ts_space_1",
"partition_num": 1,
"replica_num": 1,
"engine": {
"name": "gamma",
"index_size": 1,
"id_type": "String",
"retrieval_type": "VEARCH",
"retrieval_param": {
"metric_type": "L2",
"ncentroids": 512,
"nsubvector": 32,
"thread_num": 1
}
},
"properties": {
"feature": {
"dimension": 256,
"type": "vector"
},
"image_url": {
"index": true,
"type": "string"
},
"face": {
"index": true,
"type": "string"
},
"group": {
"type": "string",
"array": true,
"index": true
}
}
}
数据插入没有问题，_cluster/health显示插入了1000条数据，从gamma.log看，index建好了
INFO 2022-08-02 02:13:50,114 table.cc:57 Load doc_num [1000] truncate to [1000]
INFO 2022-08-02 02:13:50,122 table.cc:86 Table load successed! doc num [1000]
INFO 2022-08-02 02:13:50,122 gamma_engine.cc:1258 Begin indexing. indexing_size=1
INFO 2022-08-02 02:13:50,122 gamma_engine.cc:1270 load engine success! max docid=1000, load directory=, clean directorys(not done)=[]
INFO 2022-08-02 02:13:50,128 gamma_index_vearch.cc:268 Create search thread, num:1
INFO 2022-08-02 02:13:50,128 gamma_index_vearch.cc:375 vearch index trained successful ! ! !INFO 2022-08-02 02:13:50,128 gamma_engine.cc:1010 vector manager indexing success!
INFO 2022-08-02 02:13:50,128 gamma_engine.cc:1010 vector manager indexing success!

看着像数据量太少了，触发了core。方便用gdb调试一下吗？或者把coredump文件打开。

index_size

index_size太小了吧，设置成1000试试呢。

@gyd-a 设置成1000可以了。
这里有什么规定么，是index_size需要大于ncentroids还是怎样的

@gyd-a
这边批量插入报错，看起来是资源不够用了
2022-08-04 02:12:33.421051: I scann/base/reordering_helper_factory.cc:143] not build recordering
2022-08-04 02:12:33.421129: I ./scann/base/single_machine_base.h:369] SingleMachineSearcherBase::ClearDataset
terminate called after throwing an instance of 'std::system_error'
what():  Resource temporarily unavailable
runtime/cgo: pthread_create failed: Resource temporarily unavailable

看起来是线程数不够用了，scann起了大量的线程
sh-4.2# ps -hH 1 | wc -l
568
sh-4.2# ps -hH 1 | wc -l
sh: fork: retry: No child processes
怎样能控制下线程数呢，这边环境变量加了
env:
- name: OMP_NUM_THREADS
value: '2'
建表参数是
"retrieval_param":{
"metric_type": "L2",
"ncentroids": 2048,
"nsubvector": 128,
"thread_num": 1
}
thread_num指定为1

@gyd-a 设置成1000可以了。 这里有什么规定么，是index_size需要大于ncentroids还是怎样的

可以参考faiss ivfpq ncentroids的设置范围， "nsubvector": 32, 这个参数太小了，建议为维度或者维度/2，因为scann暂时不支持精排，并且他是4bit量化，faiss ivfpq是8bit。

thread_num指定为1

这个参数控制scann搜索时执行线程的最大数量，scann搜索使用线程池，这个是线程池的最大线程数量。使用线程池相比openmp，在高并发下性能提升了一大截。  之前gamma只有一个问题，随着并发的提高，性能先是逐渐提升，过了一定阈值后，性能剧烈下降。使用线程池以后，随着并发的提高性能提高，达到一定阈值以后继续加大并发他的计算能力不变，计算不过来的超时丢弃。

terminate called after throwing an instance of 'std::system_error'
what(): Resource temporarily unavailable
runtime/cgo: pthread_create failed: Resource temporarily unavailable

这个不应该这样，我们没有到这样的问题，训练时最好不要搜索，可以调节一下系统默认的最大线程数量。

terminate called after throwing an instance of 'std::system_error'
what(): Resource temporarily unavailable
runtime/cgo: pthread_create failed: Resource temporarily unavailable

这个不应该这样，我们没有到这样的问题，训练时最好不要搜索，可以调节一下系统默认的最大线程数量。

可以看一下当时线程数量

terminate called after throwing an instance of 'std::system_error'
what(): Resource temporarily unavailable
runtime/cgo: pthread_create failed: Resource temporarily unavailable

这个不应该这样，我们没有到这样的问题，训练时最好不要搜索，可以调节一下系统默认的最大线程数量。

训练时没有搜索，只是add向量，线程数会涨到几千，训练完成后线程数会回到正常范围（如100+）
我把最大线程数调高后就没问题了


Refactored samplebuilder logic

Many corner cases would cause samplebuilder to fail and return invalid
results. This refactoring is more reliable in all cases.
Updated pion/rtp.

@robin-raymond mind squashing this down into one commit before you merge? Just so we have good history for debugging/learning for others.
thanks!


Please don't obscure the link to the ACTUAL documentation

First, this URL is doesn't go anywhere:
> https://raw.githubusercontent.com/Microsoft/sql-server-samples/master/samples/manage/azure-sql-db-managed-instance/prepare-subnet
This document is being linked to in error messages from a ResourceDeploymentFailure, but the entire document is mostly worthless, because rather than actually documenting the problem, it documents a script that it takes pains to hide from us.
What configuration needs to be done? Apparently nobody knows, because the other documents are apparently wrong too, given that we've ended up here after a failed deployment...
This document doesn't help, because it doesn't actually explain or document anything about what needs to be configured, but instead just instructs us to run an obfuscated script -- the classic malware iex (iwr ...). Please don't do that.
After carefully re-reading the script, I can see that the actual script is at https://raw.githubusercontent.com/Microsoft/sql-server-samples/master/samples/manage/azure-sql-db-managed-instance/prepare-subnet/prepareSubnet.ps1 ... but why are you obscuring the link to a script you're asking me to run on my computer?
At the end of the day, as we've been telling people on forums and Stack Overflow for decades: answer the question, don't just link to the answer.  Hiding the actual answer in a script is bad enough ... but then hiding the link to the script in the documentation? That's awful.

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

ID: 6b036445-58f3-bd8e-103e-17c60041a545
Version Independent ID: fa53a263-a15a-2449-207a-51b59afbec4c
Content: Configure an existing virtual network for managed instance - Azure SQL Database
Content Source: articles/sql-database/sql-database-managed-instance-configure-vnet-subnet.md
Service: sql-database
Sub-service: managed-instance
GitHub Login: @srdan-bozovic-msft
Microsoft Alias: srbozovi

@Jaykul Thank you for the detailed feedback.
This is being assigned to the content author to evaluate and update the documentation as appropriate.

@Jaykul I am so sorry for the poor experience with the script URL as well as the delay in getting back to you on this git issue. We really appreciate your feedback, and the product team (@srdan-bozovic-msft) can definitely take a look at the ResourceDeploymentFailure errors to see where this URL is and fix it to the URL you mentioned. But, of course, a link to a document with more context would be even more helpful. I would suggest also filing this problem as a product bug in our SQL Server Feedback site. Again, sincere apologies for the experience, and I hope we can get this corrected in the future.
At this time, I am going to close the issue, but please add any additional comments or questions to the thread here, and we will see them. Thank you!
#assign:rothja

#please-close


[exclusivity] Split out of Exclusivity.cpp FunctionReplacement and the Global TLSContext.

Some notes:

Even though I refactored out AccessSet/Access from Exclusivity.cpp ->
ExclusivityPrivate.h, I left the actual implementations of insert/remove in
Exclusivity.cpp to allow for the most aggressive optimization for use in
Exclusivity.cpp without exposing a bunch of internal details to other parts of
the runtime. Smaller routines like getHead() and manipulating the linked list
directly I left as methods that can be used by other parts of the runtime. I am
going to use these methods to enable backwards deployment of exclusivity support
for concurrency.

I moved function replacements out of the Exclusivity header/cpp files since
it has nothing to do with Exclusivity beyond taking advantage of the TLS context
that we are already using.

@swift-ci test

Build failed
Swift Test OS X Platform
Git Sha - ab117dad924739b4bf584f92e6c9e2b1deca0aff

@swift-ci test OS X platform

Build failed
Swift Test OS X Platform
Git Sha - ab117dad924739b4bf584f92e6c9e2b1deca0aff

@aschwaighofer just wanted you to be aware of it.

@swift-ci test

Figured out the problem. Needed some more includes for the simulator/etc.


optionally include dotfiles in the manifest

Dir['**/**'] ignores dotfiles by default; I have a project that needs some dotfiles to be a part of the bundled gem, so I've changed echoe to use
`git ls-files -z`.split("\x0").reject do |f|
  f.match(%r{^(test|spec|features)/})
end

which is what Bundler generates when you do bundle gem gem_name.
To be backwards compatible, there's a config option use_git_ls_files that defaults to false in which case Dir['**/.**'] is used; only when true is the new code used.

👋  @evan: Would you please review this change.

Hmm, this project isn't really maintained anymore. @ELLIOTTCABLE are you still doing any reviews or commits?

@evan @elliotcable: What can I do to assist getting this changeset
reviewed, merged and released?

@evan As I was just commenting in another Ruby project I haven't looked at in ages — I'm a bit out-of-touch with the community, but has Ruby adopted Semver to the capacity that the JavaScript/Node/wasm world has?
If so, perhaps just flip this project over to a ‘all pull-requests merged without review’ status with a semver-major bump? That's pretty good practice for ancient projects; leaves the opportunity for anybody with a vested interest to fork and start doing the maintenance effort.

@sgerrand it sounds like neither he nor I have time or wherewithal to thoroughly review this, so the concern is presumably whether this might be breaking behaviour against other dependant parties. The author does appear to have added a config-option, and defaulted it to off … in any of my other, more modern projects, I'd simply demand thorough test-coverage, but Echoe doesn't even have any tests. 😵
If @evan has no further input or opinion, and wants to leave it up to me, then I'll take another gander at this issue sometime in the coming week, try and suggest a route forward.

but has Ruby adopted Semver to the capacity that the JavaScript/Node/wasm world has

Ruby is pretty good about Semver, it's widely-accepted.

but Echoe doesn't even have any tests.

Heh yeah I didn't feel like strapping a test framework to this when I wrote my code. Maybe I should have...

so the concern is presumably whether this might be breaking behaviour against other dependant parties. The author does appear to have added a config-option, and defaulted it to off

This should be fully backwards-compatible. Without tests there's no stronger guarantee, unfortunately.

Seems ok to bump the version and merge with abandon.o

@sgerrand / @MiroslavCsonka I don't have push access to the FundingCircle repo anymore, but I've updated the version here: https://github.com/anujbiyani/echoe/commit/8f4d48b474af1b0c47745d972e79235df181852e
Feel free to bring the commit over or just redo the work, not like the version-bump-commit is worth anything =)

👋  @anujbiyani: Done, I updated this changeset with 8f4d48b.
@ELLIOTTCABLE: Let me know when you have time to review this changeset again. I'm happy to discuss this and find a workable solution. 😸


php_opcache.dll

php.ini is configured. It conteins the full path to the dll: zend_extension=C:\xampp\php\ext\php_opcache.dll
The projects are working in all browsers. But in VSC this error always occurs:
Warning: Failed loading Zend extension 'opcache' (tried: C:\xampp\php\ext\opcache (The specified module could not be found.), C:\xampp\php\ext\php_opcache.dll (The specified module could not be found.)) in Unknown on line 0

This sounds like an issue with a PHP extension or with your app, I don't think vscode is doing this.


Fonts, Typekit

Description
Add fonts from Typekit.

Issue Checklist

[ ] Add Typekit script to link them.

Assignees

[ ] Final assign @yairodriguez

I’m working on my way! 😉

Review was done successfully.

I’m closing this issue, see 0.1.0/FirstVersionOfWebsite Pull Request.


Backport Cloudflare and Gratis plus passwords in base64 DynDNS changes

Note: corresponding change to upgrade_config.inc to come in master to
correctly implement the upgrade_155_to_156 code, that is master only and
will become upgrade_158_to_159

See forum https://forum.pfsense.org/index.php?topic=122216.0

See #3252 for the change to upgrade_config in master that fixes another issue in master, and will also help anyone who gets to 15.8 in 2.3.3-DEVELOPMENT and then later upgrades to 2.4 (master).

I'll have to look at this closer tomorrow but I am not fond of the idea of mixing up the upgrade code in this way.

The upgrade path needs to be "single-threaded", so things in master that do not get back-ported end up having to be always made later upgrade steps than the things that have been back-ported to an older release.
In this case it works out happily, because the glxsb upgrade code needs a fix anyway.

Though the intention was not to duplicate, what fields specifically do you not see that should be active for cloudflare? We can certainly remove the extraneous references but it doesn't look like there would actually be a problem the way it is now.
The domain name field is supposed to be there now. The current code should show the "proxied" block when it wouldn't have otherwise. I don't see any fields that should be there which are hidden. Which fields are not showing that you think should be there?

@jim-p  So I can confirm the "proxied" value is no longer needed with the latest API.  And We could safely remove the code added to handle the previous issues related to the Proxy value.
Previously, if you sent an update call to the cloudflare API with the Proxied field being blank, it would default False on the cloudflare side, and remove the proxied attribute from the dynamic DNS record.  This seems to be fixed to a more sane default of "What ever is already there".
Also, after reviewing the Case Defaults, it looks like we can safely remove the duplicate stanzas I was worried about as the only different was the Proxied value.
I will submit a PR later to remove the unused code.
BTW, is there an effort to remove Trolls from the IRC room?


tests: push back kmeans spmd example

Description
Please include a summary of the change. For large or complex changes please include enough information to introduce your change and explain motivation for it.
Changes proposed in this pull request:

CI with https://github.com/oneapi-src/oneDAL/pull/2622: http://intel-ci.intel.com/eeaa8cf6-8fda-f177-96cf-a4bf010d0e2e

/intelci: run


Potential dependency conflicts between autosubtakeover and idna

Hi, as shown in the following full dependency graph of  autosubtakeover, tldextract requires idna * ， while the installed version of requests(2.22.0) requires idna >=2.5,<2.9.
According to Pip's “first found wins” installation strategy, idna 2.8 is the actually installed version.
Although the first found package version idna 2.8 just satisfies the later dependency constraint （idna >=2.5,<2.9), it will lead to a build failure once developers release a newer version of bleach.
Dependency tree--------

autosubtakeover - 0.1
| +- aiodns(install version:2.0.0 version range:*)
| | +- pycares(install version:3.0.0 version range:>=3.0.0)
| | | +- cffi(install version:1.13.2 version range:>=1.5.0)
| | +- typing(install version:<IP_ADDRESS> version range:*)
| +- asyncio(install version:3.4.3 version range:*)
| +- click(install version:7.0 version range:*)
| +- pycares(install version:3.0.0 version range:*)
| | +- cffi(install version:1.13.2 version range:>=1.5.0)
| +- tldextract(install version:2.2.2 version range:*)
| | +- idna(install version:2.8 version range:*)
| | +- requests(install version:2.22.0 version range:>=2.1.0)
| | | +- certifi(install version:2019.9.11 version range:>=2017.4.17)
| | | +- chardet(install version:3.0.4 version range:<3.1.0,>=3.0.2)
| | | +- idna(install version:2.8 version range:>=2.5,<2.9)
| | | +- urllib3(install version:1.25.7 version range:<1.26,>=1.21.1)
| | +- requests-file(install version:1.4.3 version range:>=1.4)
| | | +- requests(install version:2.22.0 version range:>=1.0.0)
| | | | +- certifi(install version:2019.9.11 version range:>=2017.4.17)
| | | | +- chardet(install version:3.0.4 version range:<3.1.0,>=3.0.2)
| | | | +- idna(install version:2.8 version range:>=2.5,<2.9)
| | | | +- urllib3(install version:1.25.7 version range:<1.26,>=1.21.1)
| | | +- six(install version:1.13.0 version range:*)
| | +- setuptools(install version:42.0.1 version range:*)
| +- tornado(install version:6.0.3 version range:*)

Thanks for your attention.
Best,
Neolith

Suggested Solution

Ask your upstream project tldextract to fix his direct dependencies to be idna <2.9.
Ask your upstream project requests to lose the version range of idna to be >=2.5.

@JordyZomer Which solution do you prefer, 1 or 2?
Please let me know your choice. May I pull a request to solve this issue?


[Question]: redis error,mysql error. Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

Describe your problem
(base) wrl@rgzn:~/code/RAGflow/ragflow/docker$ docker compose -f docker-compose.yml up -d
WARN[0000] The "HF_ENDPOINT" variable is not set. Defaulting to a blank string.
WARN[0000] The "MACOS" variable is not set. Defaulting to a blank string.
[+] Running 17/4
⠧ es01 10 layers [⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀]      0B/0B      Pulling                                                                                63.8s
⠧ ragflow 67 layers [⣿⣿⣤⣿⣿⣿⣿⣿⠀⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀] 619.1MB/7.831GB Pulling                                          63.8s
✘ redis Error                                                                                63.8s
✘ mysql Error                                                                                63.8s
Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

Downloading image error since network is not accessible.
Add the following to /etc/docker/daemon.json
{
"registry-mirrors": [
"https://docker.211678.top",
"https://docker.1panel.live",
"https://hub.rat.dev"",
"https://docker.m.daocloud.io",
"https://do.nark.eu.org",
"https://dockerpull.com",
"https://dockerproxy.cn",
"https://docker.awsl9527.cn/",
]
}


Exception: BitSource::readBits: out of range

To me it looks like this symbol contains invalid data (according to the specification). It has a bytes segment with the context "Example" and then follows a numeric segment with supposedly 24 digits but only 3 bits left in the stream. Now the question is: is this really invalid (which would mean the proper way to deal with this is to return an error) or is my understanding of the spec wrong.
Where did you get this from? Can you show me any online barcode detector that can detect this (I've tried several and all failed)?
This might be the same issue as #392, although there it seems to show up with DataMatrix input?


File "iptv.py", line 53, in

Traceback (most recent call last):
File "iptv.py", line 53, in
url = cr.parsedUrls[i]
IndexError: list index out of range

yes I have the same problem

The same problem here too

WHAT PART OF [DEPRECATED] YOU DON'T UNDERSTAND

Can't run iptv.py says that line 14 is missing, just written print"" in iptv.py


Documentation ?

I have been looking for something that does what your plugin does for a while and it seems as though 'react-spreadsheet-component' might be a winner.
Now, the problem i have is with the lack of documentation.
You have a very brief mention of dispatching the actions and other methods, and then you jump to the demo, which even when downloaded, it comes already bundled, so even then we can't see the source code of how it was built.
I really want to give this plugin a try, i just dont know where to start given the lack of documentation.
Any pointers ?
Thanks a lot in advance.

It's not explained in the README, but the demo bundle is based off the example.js:
https://github.com/felixrieseberg/React-Spreadsheet-Component/blob/master/example.js
The actual bundling step is in gulpfile.js:
gulp.task('example', ['transpile-js'], function () {
    return browserify('./example.js')
        .transform("babelify", {presets: ["es2015", "react"]})
        .bundle()
        .pipe(source('bundle.js'))
        .pipe(gulp.dest('./example'));
});


After Update It Is Unable to Enter Special Zones Config Menu

@gcobb321 After the update I am unable to enter the special zones section within the configuration menu

other problem after update it not is using mobile app tracker details when restarting HA, to make it work I need to use the "restart icloud3"action in the drop down menu of the event log card

I just got home and am looking at the Configure Settings > Special Zones now.
That Error should have no effect since  the Galaxy Watch is not tracked by ic3. I will add a check in the setup to not display the red_x error if the mobile app device is not assigned to an icloud3 device.
Question:

Does the Mobile App zone display on the Event log or does that show NotUsed?
What are the devices/entities you are using for Person?
Are you using the proximity sensor integration?
Can you send me the icloud3-0.log file to<EMAIL_ADDRESS>I want to take a look at some of your tracking results and see how the Zone value changes.

@gcobb321

it shows not used (see screenshot)
I use the icloudv3 tracker and HA mobile app tracker for GPS based trackers and ASUSwrt and Ping tracker for stationary trackers
Yes I use the proximity sensor integration and use icloudv3 tracker and HA mobile app tracker as entities for the proximity sensor
sure i will send now from<EMAIL_ADDRESS>

I fixed the Special Zones error on the Config Settings. Looking at this now. I believe this is why the HA Mobile App is not being used and you are getting the Home-Away-Home person issue

I fixed the Special Zones error on the Config Settings. Looking at this now. I believe this is why the HA Mobile App is not being used and you are getting the Home-Away-Home person issue

OK great to hear you found some fixes!
So if you release the fix for special zones and I do the update that also should fix my other issues if I understand correctly?

I hope so.
In Stage 4 right below Mobile App Devices > 1 of 1 ..., there is a line Checking Mobile App Integration > Loaded, Devices >" iPhone Lory", Samsung Fold Marco, Galaxy Watch Marco
Then in Mobile App Devices > 1 of 1 ..., it shows "iPhone Lory HA New"
The "iPhone Lory" comes from the HA Device Registry (from the HA iosapp devices) and the "iPhone Lory HA New" comes from what HA has loaded as part of the Mobile App Integration devices. iC3 checks to see if the "iPhone Lory", which is in the iC3 config is in the Mobile App devices and it is not, the name is different. That is why it is not monitoring the HA iosapp.
Do you remember if you originally added it and then renamed it at some time.

I hope so. In Stage 4 right below Mobile App Devices > 1 of 1 ..., there is a line Checking Mobile App Integration > Loaded, Devices >" iPhone Lory", Samsung Fold Marco, Galaxy Watch Marco
Then in Mobile App Devices > 1 of 1 ..., it shows "iPhone Lory HA New"
The "iPhone Lory" comes from the HA Device Registry (from the HA iosapp devices) and the "iPhone Lory HA New" comes from what HA has loaded as part of the Mobile App Integration devices. iC3 checks to see if the "iPhone Lory", which is in the iC3 config is in the Mobile App devices and it is not, the name is different. That is why it is not monitoring the HA iosapp.
Do you remember if you originally added it and then renamed it at some time

Yes I did change the entity name to be Iphone Lory HA New instead of Iphone Lory, so the device name in the mobile app integration is still Iphone Lory, but the displayed name for the device tracker entity is renamed (see below screenshot)

Here is rc10.3 1.It fixes the Special zones screen error. 2. It loads both of the names (iPhone Lory & iPhone Lory HA New) into the valid tables.
Unzip it into the icloud3 directory and restart HA.
icloud3_v3-rc10.3.zip

OK I am trying now

@gcobb321 this did solve the special config menu issue but it still show mobile app "not used" in event log after restart of HA, AND same as before after manual using the restart icloud action from the drop down menu makes the mobile app change from not used to the zone i am in
icloud3-event-log_2024.02.08-00.13.10.log

@gcobb321 This is how event log looks like after manual restart of Icloudv3 integration by using the restart icloud action from drop down menu. As you can see after restart of integration it is using the MobileApp

I added some other logging that includes the mobile app data to the  icloud3-0.log file.  Can you attach that file or email it to @.***   That might show why it it’s needs a restart.
Gary Cobb, aka geekstergary

From: sesame_madness @.>
Sent: Wednesday, February 7, 2024 5:25:19 PM
To: gcobb321/icloud3_v3 @.>
Cc: Gary Cobb @.>; Mention @.>
Subject: Re: [gcobb321/icloud3_v3] After Update It Is Unable to Enter Special Zones Config Menu (Issue #267)
@gcobb321https://github.com/gcobb321 This is how event log looks like after manual restart of Icloudv3 integration by using the restart icloud action from drop down menu. As you can see after restart of integration it is using the MobileApp
2024-02-08_00-22-38.png (view on web)https://github.com/gcobb321/icloud3_v3/assets/97987488/c6188a31-bf7d-4887-93dc-4ccd5514b343
2024-02-08_00-21-50.png (view on web)https://github.com/gcobb321/icloud3_v3/assets/97987488/2db7f7e6-5bf5-4eb9-87e6-db238dd78715
—
Reply to this email directly, view it on GitHubhttps://github.com/gcobb321/icloud3_v3/issues/267#issuecomment-1933038111, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIOOVB5CS2HTF4LM3D4ILRTYSP5M7AVCNFSM6AAAAABC6HQPR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZTGAZTQMJRGE.
You are receiving this because you were mentioned.Message ID: @.***>

@gcobb321 did just mail it to your gmail

Sounds good to me! Thanks so far and enjoy your diner!

Hello @gcobb321
Did you add something to your code in the update you made me try that influence the state/location of the HA MobileApp tracker because now my MobileApp tracker when coming home goes to home/away/home within few seconds. Before I did do the update you did share of iCloudv3 I never had this behavior on the MobileApp device tracker

The HA mobile app and the icloud famshr location are both being monitored by iC3 and the latest valid one (based on location time and gps accuracy) is used. What you are probably seeing is the mobapp is updated by the HA iosapp, then ic3 updates it with either the same location or the famshr location, then the mobapp is being used again.
remove the ha mobile app from the person entity since it is being monitored by ic3.
Also, now that the ic3 is using the mobile app, the screenshots of the ic3 event log are going to show what ic3 was doing at the time instead of just the results of a combination of several entities when the person was updated.

The HA mobile app and the icloud famshr location are both being monitored by iC3 and the latest valid one (based on location time and gps accuracy) is used. What you are probably seeing is the mobapp is updated by the HA iosapp, then ic3 updates it with either the same location or the famshr location, then the mobapp is being used again.
remove the ha mobile app from the person entity since it is being monitored by ic3.
Also, now that the ic3 is using the mobile app, the screenshots of the ic3 event log are going to show what ic3 was doing at the time instead of just the results of a combination of several entities when the person was updated.

@gcobb321

I will also try to remove the MobileApp tracker from the person entity.

As stated above I think that the rc.10.3 update did solve the home/away/home and away/home/away issue, to be 100% sure need to test it for some days of course but I believe the update did solve it.

The only issue left now is that the iCloudv3 integration not use the MobileApp after a restart of HA, in the Eventlog it shows "not used" only after i do a manual restart of the integration usting the "icloud restart" from drop down menu at event log card it starts to use the MobileApp and it shows the zone I am in instead of "not used"

You think you can find a solution for point 3 also?

Working on that and several other items. Will send you a new update when ready

Thank You!

I looked at the log file you sent in detail late yesterday and found a "Verify Location (Exit Unknown Zone)" trigger that was causing a lot of updates every 20-secs or so. It was processing an Exit Trigger that had already been processed. I have fixed that and will make sure the change does not cause any issues when I run some errands in a little while. I'll send you and update when it is ready later this afternoon.

I looked at the log file you sent in detail late yesterday and found a "Verify Location (Exit Unknown Zone)" trigger that was causing a lot of updates every 20-secs or so. It was processing an Exit Trigger that had already been processed. I have fixed that and will make sure the change does not cause any issues when I run some errands in a little while. I'll send you and update when it is ready later this afternoon.
It also fixes a few other bugs dealing with the iCloud and Mobile App device verification and setup. I found that if there was a problem verifying the FamShr device but it was also using the Mobile App, it would not be tracked at all when it should still be tracked with the Mobile App. I also changed some messaging for Mobile App devices that had been disabled when they were not being used by iCloud3 to just print a mesage instead of a big red X.

Great! I will await the updated version when you are ready!

Here is a new rc10.3 with the above changes. And a few other things.
Unzip it into the icloud3 directory and restart HA.
icloud3_v3-rc10.3.zip

Here is a new rc10.3 with the above changes. And a few other things.
Unzip it into the icloud3 directory and restart HA. icloud3_v3-rc10.3.zip

@gcobb321 I did install the update and now the integration also use the MobileApp after restart of HA, so that seems solved also. Later when we go out I will check if all tracking functions also still work as expected.
I will keep you posted, Thanks!

FYI - I uploaded rc10.3 several hours ago. You can get it immediately by going to the GitHub releases page and downloading the icloud3.zip file or waiting for HACS to do the update tonight. You may also be able to refresh HACS by going to it, selecting the 3-dots in the upper right corner and refreshing the information.
And thanks for the coffee. I appreciate it.

FYI - I uploaded rc10.3 several hours ago. You can get it immediately by going to the GitHub releases page and downloading the icloud3.zip file or waiting for HACS to do the update tonight. You may also be able to refresh HACS by going to it, selecting the 3-dots in the upper right corner and refreshing the information.
And thanks for the coffee. I appreciate it.

@gcobb321 I just did updated through HACS, is it the same version as you shared with me already 2 days ago or you still made some changes?
And you are welcome for the coffee, am happy you go through the effort to help me solve my issues 😊

It has other changes that I finished this morning that made the log files easier to see what was going on  (exported Event Log and icloud3-0.log).

Closing this issue with the release of v3.0


New folder for spikesorting

As we now have multiple files that have code relevant to spike sorting, I think we should move all of the spikesorting related files to a new folder (outside of common) just as we have for decoding. Any concerns?

@edeno in that case should decoding also go in common/decoding?

It's mostly a grouping issue. I think of everything in common as pre-processing and decoding as more of an analysis, so I would vote to keep it separate.

I think the unit that we deal with should be pipelines. Decoding is one pipeline, spike sorting is another (though spike sorting can be seen as a preprocessing step from decoding's perspective). So I would advocate treating them at the same level as Loren did.


Feat(plugins): initial code for requirement check

Change Summary
This PR intends to implement a plugin to verify that the minimum requirements for AVD are met
Component(s) name
arista.avd.plugins
Proposed changes

Creation of a plugin
Addition of task in roles to verify the environment

How to test

The initial commit for this PR can be checked with any playbook importing the eos_designs role by running with the debug tags.

some tests will need to be written for the python module.

Checklist
User Checklist
[ ] decide when / where to run the task
Repository Checklist

[x] My code has been rebased from devel before I start
[x] I have read the CONTRIBUTING document.
[ ] My change requires a change to the documentation and documentation have been updated accordingly.
[ ] I have updated molecule CI testing accordingly. (check the box if not applicable)

For the failing CI, it looks like we are hitting this: https://github.com/ansible/ansible/issues/71602 - the symptom is the same. The issue is that pylint itself is getting the warnings so I cannot do anything inside our own code. I tested locally with:

Python 3.10.3
virtualenv 20.13.4
setuptools 65.3.0

"""
test.py
"""
try:
    from pip._vendor.packaging.specifiers import SpecifierSet
except ImportError:
    print("blah")

s = SpecifierSet()
print(f"hello world {s}")

blah% python  -m pylint test.py
/Users/guillaumemulocher/.pyenv/versions/ansible-avd/lib/python3.10/site-packages/_distutils_hack/__init__.py:33: UserWarning: Setuptools is replacing distutils.
  warnings.warn("Setuptools is replacing distutils.")

--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)

vs
blah% python -W ignore::UserWarning -m pylint test.py

-------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 8.33/10, +1.67)

Trying to disable the warnings within the code is not working as pylint is not really executing it.
No solution so far except tweaking ansible-test somehow..


Payload Properties Section --> Description Misspelled

In the Description of the Properties for Payload, "represnts" is misspelled.

@prpball Thanks for taking the time to share your feedback.
Do you happen to know the specific page of the error, so I can assign the fix and make sure we get it resolved?


Support naming query from with as

Refs #2389
This PR adds support for using as for naming query source.
Example:
from(p in Post, as: :post)
|> where([post: p], p.title == "hello")

:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:

Now we just need docs and we are done! :D

@josevalim I've just realized that there are cases where from binding expression will be silently ignored. Namely, when the referenced source is not a source and/or schema.
Example:
query = from p in "posts", as: :post
query = from p in query, as: :post2
IO.inspect query.aliases
# %{post: 0}

Shouldn't we be explicit about it and crash when the source is something different than source/schema and as is defined?

@zoldar hrm, this is a very good question. I raising when the source is already an Ecto.Query is a good limitation.


add LoT paper in sec 4.5.2 a.

Add the paper "Enhancing Zero-Shot Chain-of-Thought Reasoning in Large Language Models through Logic" (LoT for short, to appear at COLING 2024) in the zero-shot CoT section in 4.5.2.a.

Thank you very much for your suggestion. We have added the LoT to the zero-shot CoT section in 4.5.2.a. The description is the following: "The Logical Thoughts (LoT) prompting~\citep{zhao2023enhancing} is a self-improvement methodology that employs symbolic logic principles, especially Reductio ad Absurdum, to methodically examine and refine reasoning processes in a step-by-step manner.".
If there is any question or suggestion, please let us know.
Again, thank you very much for your suggestion and attention to this matter, and wish you a good day.


draft: cli based help messages

@universalmind303 are you interested in carrying this forward or is this PR just a prototype?


Feat(eos_designs): Check for invalid characters in VRFs, VLANs, SVIs

Change Summary
Add a list of invalid characters to the UtilsMixin that can be expanded to other modules as necessary. Add logic to check for invalid characters in VRF, VLAN, and SVI modules.
Related Issue(s)
Fixes #2603
Component(s) name
arista.avd.eos_designs
Proposed changes

How to test
Validated against test data set of tenants, modifying the VRF, VLAN and SVI each individually to validate that each error is raised for the appropriate case.
e.g., ansible-playbook lab_fabric_config.yml -i lab_inventory.yml -t build
Additionally, ran the molecule test cases for eos_designs_unit_tests by updating Tenant_A.yml to reflect the invalid values.
Repository Checklist

[ x ] My code has been rebased from devel before I start
[ x ] I have read the CONTRIBUTING document.
[ x ] My change requires a change to the documentation and documentation have been updated accordingly.
[ ] I have updated molecule CI testing accordingly. (check the box if not applicable)

Thank you for the quick response.
Is it safe to say this wouldn’t be considered until the schema is developed to cover this input validation case?
Is there not an intention to support more input validation than exists in current 3.x releases until 4.x?
Get Outlook for iOS<https://urldefense.com/v3/__https://aka.ms/o0ukef__;!!P9cq_d3Gyw!kIQcg-8YG1ODYF4z5X3y1jpEHbx1Ncj9zAQ4OwmvO8Od1M_96ojvHzbKwXOKxMv_dFPfX_kr7Jl3hD9JxmyWnOC2oMc4_bovMbu71DykaDO5V1juFDVE12BAUamPI_ZdGoc$ >

From: Claus Holbech @.>
Sent: Wednesday, March 8, 2023 1:31:09 AM
To: aristanetworks/ansible-avd @.>
Cc: Dietrich, Alex @.>; Assign @.>
Subject: Re: [aristanetworks/ansible-avd] Feat(eos_designs): Check for invalid characters in VRFs, VLANs, SVIs (PR #2604)
EXTERNAL
@ClausHolbechArista commented on this pull request.
Thank you for the initiative.
Input validation like this should be covered by the schema we are working on for AVD v4.0. It will be simple to test with a regex and report on the exact data element that violates the schema.
@carlbuchmannhttps://urldefense.com/v3/__https://github.com/carlbuchmann__;!!P9cq_d3Gyw!iz0pELtHGfgBsT02-VBuxV1aVYdsOnNkhBdqapNLPUsPV__cXe5tOjvBgshFGq9eaVYO0swl232l9KysGB6UketEvQ$ is leading the work on schemas for eos_designs.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/aristanetworks/ansible-avd/pull/2604*pullrequestreview-1330035334__;Iw!!P9cq_d3Gyw!iz0pELtHGfgBsT02-VBuxV1aVYdsOnNkhBdqapNLPUsPV__cXe5tOjvBgshFGq9eaVYO0swl232l9KysGB4OY3JhKw$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AWEE7EJ7O2EF2K2CK3AF3ADW3ARS3ANCNFSM6AAAAAAVTGDDIU__;!!P9cq_d3Gyw!iz0pELtHGfgBsT02-VBuxV1aVYdsOnNkhBdqapNLPUsPV__cXe5tOjvBgshFGq9eaVYO0swl232l9KysGB55nwPN4Q$.
You are receiving this because you were assigned.Message ID: @.***>

We are not planning more feature releases in 3.x train, so all new functionality will go into 4.x. The upgrade to AVD v4.0 will have a few breaking changes, but we will provide a porting guide to help the user adjust the inventory.
@carlbuchmann

@adietrich-ussignal @brugz - I will reach out to discuss this with you.

We will document the new proposal in #2603 .


Add null type for w/h to resize method

User can pass null w/h to resize method. Examples describe in docs - http://image.intervention.io/api/resize

I think it is better to go with 'mixed'
resize(mixed $width, mixed $height, \Closure $callback = null)


rex_text in UITextView is not called for initial value

I know that all this will be changed in nearest future, but in any case rex has following issue.
      self.textView.text = "Hello world"
      self.textView
         .rex_text
         .startWithNext { _ in
            //is not called for "Hello world"
      }

Closing this as a duplicate of #144.