Performing an action for all schemes within a lane

New Issue Checklist

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

Issue Description
It would be nice to have the ability to execute an action for all schemes within a lane before proceeding to the next action.  For example to test with scan, then build with gym, then upload with pilot. As far as I can see the only current documented way to achieve this is using a bash wrapper script with --env arguments.
Ideally it would be better for fastlane to handle everything, so I created a Fastfile (see below) that creates caches for the ENV and the Actions.lane_context, swapping them in and out as needed.  Everything seems to work as expected, but was wondering if I could get some feedback regarding the risks of doing this or to see if there is an easier way to implement.
Configuration Files
Fastfile:
fastlane_version "1.98.0"

default_platform :ios

platform :ios do
  before_all do

    schemeListArgIndex = ARGV.index { |arg| arg =~ /^schemes\:/}
    if (schemeListArgIndex)
      schemeList = ARGV[schemeListArgIndex].split(':')[1].split(',')
    else
      schemeList = Dir.glob(".scheme.*")
      schemeList.each { |c| c.gsub!(/\.scheme\./, '') }
    end

    globalENV = ENV.to_hash
    schemeList.each do |schemeName|
      schemeEnvFile = File.join(Fastlane::FastlaneFolder.path || "", ".schemeList.#{schemeName}")
      Dotenv.overload(schemeEnvFile)

      envCache[schemeName] = ENV.to_hash
      laneContextCache[schemeName] = Actions.lane_context.clone

      ENV.clear
      globalENV.each { |k, v| ENV[k] ||= v }
    end
  end

  lane doSomething do |options|
    preAction

    execute_for_all_schemes { scan }
    execute_for_all_schemes { gym }
    execute_for_all_schemes { pilot }

    postAction
  end
end

def execute_for_all_schemes
    envCache.each do |schemeName, schemeENV|

      Actions.lane_context.clear
      laneContextCache[schemeName].each { |k, v| Actions.lane_context[k] = v }

      ENV.clear
      schemeName.each { |k, v| ENV[k] ||= v }

      yield

      envCache[schemeName] = ENV.to_hash #update targets hash with any new variables
      laneContextCache[schemeName] = Actions.lane_context.clone

    end
end

def envCache
    @envCache ||= {}
end

def laneContextCache
    @laneContextCache ||= {}
end

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

Hi @timothy-volvo Thanks for reaching out. This is the right approach using ENV. Let me know if you have any other questions! 👍


Dragonfire command not found

UH, i have installed this, give a message sayin: dragonfire is succesfully installed to your computer, but when i try to use a command, like iduno, DRAGONFIRE, it say: dragonfire command not found

I have the same problem after successfully installation of 'Dragonfire'.

Same, where does it install to? Perhaps manually adding it to the PATH will fix this.

I have the same problem. Got the app installed,  dpkg --list | grep dragonfire yields
rc  dragonfire                                         1.1.1                                       amd64        Virtual assistant for Debian based Linux distributions.
I am attaching a screenshot


CIP chirality not matching all cases from CIPValidation suite

I was looking at the molecules here: https://cipvalidationsuite.github.io/ValidationSuite/
In RDKit, several of these are not generating the correct chirality.    For example, VS298:
from rdkit import Chem
rdmol = Chem.MolFromSmiles("Cl[C@H]1C[C@]2(C1)C[C@H](C2)Cl")
Chem.AssignStereochemistry(rdmol)
for rda in rdmol.GetAtoms():
    if rda.HasProp("_CIPCode"):
        print(rda.GetProp("_CIPCode"))

It is my understanding that this implementation is ported from Centres.  Inputting the same smiles into their tool here: https://www.simolecule.com/cdkdepict/depict.html
Gives the expected result.  So my question is, am I calling this incorrectly or is there a glitch here? Many of the examples in the Validation Suite fail similarly.  Note that my actual implementation is through mol files in C++ but I get the same results as above.  I've tried different sanitation pre-processing (although I wouldn't expect this to be necessary) and also different stereochemistry assignment (eg since I am importing from a 3D file, I use assignStereochemistryFrom3D prior to assignCIPLabels).  What am I doing wrong?
Thanks!

@shubbey AssignStereochemistry() still calls the RDKit's old, and imperfect, CIP labelling code. The new code is the function rdkit.Chem.rdCIPLabeler.AssignCIPLabels(). You also need to disable sanitization when parsing the molecule so that the old code doesn't remove the input stereo:
In [6]: rdmol = Chem.MolFromSmiles("Cl[C@H]1C[C@]2(C1)C[C@H](C2)Cl", sanitize=False)

In [7]: Chem.SanitizeMol(rdmol)
Out[7]: rdkit.Chem.rdmolops.SanitizeFlags.SANITIZE_NONE

In [8]: rdCIPLabeler.AssignCIPLabels(rdmol)

In [9]: for rda in rdmol.GetAtoms():
   ...:     if rda.HasProp("_CIPCode"):
   ...:         print(rda.GetProp("_CIPCode"))
R
S
R

I'm working on making the new stereo code the default for the next release.

Thank you, Greg!
I posted some erroneous code above--  I was calling AssignCIPLabels() in both python and C++ but as you helpfully noted, the sanitation was causing problems.
My actual use case is loading a molecule for which I have a 3D structure.  I looked at the mol loader, MolDataStreamToMol, and cobbled together this minimal code that seems to do the trick:
        // after loading atoms and bonds into rdmol...
	rdmol.updatePropertyCache(false);
	MolOps::assignChiralTypesFrom3D(rdmol);
	CIPLabeler::assignCIPLabels(rdmol);


Performance improvement: Use TypeCache instead of manual type iteration

fix/use-type-cache
Description

The PropertyDrawerType cache generation had a performance bottleneck, which could be resolved by using Unity's TypeCache.
Performance before:

Selecting Item A

Selecting Item B

Performance after:

Selecting Item A

Selecting Item B

Changes made

Converted PropertyDrawerCache type detection to use TypeCache

Function confirmed. Thanks @theo-rapidfire !


Static Content Localization

Will be added along with this

https://github.com/Sundar-Clinic/Main-Website/issues/86

Note: Fork from feat/static-routing branch and open a PR back to the same branch feat/static-routing.


Keep url extension

[x] Check you are using the LATEST release or the development branch.
[x] Make sure you have SEARCHED existing issues first.
[ ] Read the GUIDELINES linked in the yellow notice box above.
[ ] COMPLETE this issue template.

Ability to save extension with short url ive noticed this as on many platforms sendinga short url of say an image then it wont render any thubnail so would be a really good option to add a flag for like "keep extension"

English, please.
If I have understood correctly, you want http://longurl/something.bla to be shortened with http://sho.rt/abc.bla : see wiki page https://github.com/YOURLS/YOURLS/wiki/Possible-With-A-Plugin


Enable to restore from sliding_window()

What does this PR do?

fixing #440;
fixing #439;

Before submitting

[x] This PR is made to fix a typo or improve the docs (you can dismiss the other checks if this is the case).
[x] Was this discussed/approved via a GitHub issue? Please add a link to it if that's the case.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have written necessary tests and already run them locally.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

5 of 25 (20.0%)  changed or added relevant lines in 2 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.3%) to 83.348%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pypots/data/utils.py
3
23
13.04%

Files with Coverage Reduction
New Missed Lines
%

pypots/nn/modules/fedformer/layers.py
2
45.99%

Totals

Change from base Build<PHONE_NUMBER>:
0.3%

Covered Lines:
10096

Relevant Lines:
12113

💛  - Coveralls


[store] Let us update our extension in both Chrome & Edge store!

To update hypercrx to v1.5.0!

Chrome:

Edge：

Successfully published in Chrome store, just go to chrome://extensions/ and hit update button!


[VS Code] [Audio] Electron not found: c:\Users\Microsoft\AppData\Roaming\Code\User\globalStorage\ms-vsliveshare.vsliveshare-audio\electron-4.2.7\dist\electron.exe

Error:
Electron not found: c:\Users\Microsoft\AppData\Roaming\Code\User\globalStorage\ms-vsliveshare.vsliveshare-audio\electron-4.2.7\dist\electron.exe
Steps to Reproduce:
1.
2.

Version Data

extensionName
VSLS-Audio

extensionVersion
0.1.66

applicationName
VSCode

applicationVersion
1.38.1

platformName
Windows

platformVersion
10.0.17134

Thanks for reaching out. Can you give us more details about your scenario? Also, your logs may provide us with helpful information. You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue.

Closing due to inactivity. Please re-open if this you're still encountering the issue and can share more details. Thanks!


warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.22.0

quick-xml v0.22.0
is reuired by xcb
[[package]]
name = "xcb"
version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "771e2b996df720cd1c6dd9ff90f62d91698fd3610cc078388d0564bdd6622a9c"
dependencies = [
 "libc",
 "log",
 "quick-xml 0.22.0",
]

is required by x11-clipboard
[[package]]
name = "x11-clipboard"
version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "473068b7b80ac86a18328824f1054e5e007898c47b5bbc281bd7abe32bc3653c"
dependencies = [
 "xcb",
]

but it is required by
[[package]]
name = "terminal-clipboard"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "58a7bd0c28e9221173c7d32e774bc3c5432fe788f91984dd1b78c501b5e7d1df"
dependencies = [
 "clipboard-win",
 "once_cell",
 "termux-clipboard",
 "x11-clipboard",
]

we have x11-clipboard 0.5.3 but 0.7.1 was released 3 days ago https://crates.io/crates/x11-clipboard
but terminal-clipboard was not updated from one year and there is open issue:
https://github.com/Canop/terminal-clipboard/issues/4

Blocked by https://github.com/Canop/terminal-clipboard/issues/6


Refactor helpers module

Use ruru API instead of unsafe ruby-sys API for type conversions
Remove the explicit ruby-sys dependency from Cargo.toml

Coverage remained the same at 76.415% when pulling 5932919c6ac96d0f8979130f6efff89f57958594 on d-unseductable:refactor/helpers_str_to_any_obj into eb9a7113f15bf0e638787fd4a7c46ea074757b3e on danielpclark:master.

Thanks!


Add hover functionality on Blogs page

Description: The blog page currently lacks interactive hover effects, which can enhance user engagement and provide visual feedback. Implementing hover effects will improve the overall user experience and make the page more visually appealing.
Proposed Changes:
Hover Effects for Blog Post Cards:
Add a subtle shadow or scale effect when hovering over blog post cards.
Change the background color or highlight the title to indicate interactivity.

@vishanurag Please assign this issue to me.

assign this task to me ,i will add hover effect with the box shadow which give it a graphic effect

@vishanurag @somyadipghosh This issue is solved,
with PR #840.
Kindly review it and merge it.

@vishanurag @somyadipghosh This issue is solved,
with PR #840.
Kindly review it and merge it.


[ENG-3649] Fix bugs: project link overflow text

Ticket: https://openscience.atlassian.net/browse/ENG-3649
Feature flag: n/a

Purpose
The purpose of this ticket is to fix the display of project link names which overflow to the next line.
Summary of Changes
The properties for ellipse text-overflow behavior were added to the CSS file. Additional properties that were added include its white-space set to not wrap, making the element display as an inline block, left aligning the text, and setting a width to ensure the ellipse displays regardless to communicate to the user that there is more text present in the project name.
Screenshot(s)

Side Effects
There is a concern that the side divs open oddly on the right when width is added. Please advise.
QA Notes
-Does the project link appear properly?
-Does the text wrap to another line?
-Is the ellipse showing to indicate more text?
-How is the layout for the slide being affected?

Tested this locally. I don't think it works as expected as long filenames shouldn't stretch the page horizontally.


Documentation does not cover installation of Omnia without appliance

docs/INSTALL_OMNIA.md does not have instructions for installation of Omnia without the appliance.

@sujit-jadhav adding you to this as an FYI - let's be sure we don't destroy documentation related to installing Omnia without the appliance, as we will have users who want to use only the Ansible playbooks post OS install.


refactor: stop using deprecated celery task API

SUMMARY
Replace deprecated celery task API (has been removed in Celery 5). see details from Removals for version 5.0 - Celery Deprecation Timeline
This is splitted from #14926
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[x] Has associated issue: #14925
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

Thanks for the contribution, please get the last check pass, happy to get it thru. cc @zhaoyongjie @villebro

We should also loop in @dpgaspar @robdiciuccio and @craig-rueda to see if there are any concerns with migrating to celery 5.


.Net: Example61_MultipleLLMs - Unclear which model is being used

Describe the bug

A clear and concise description of what the bug is.

The name says the first model should be used, but it's unclear which model is actually being used in RunByFirstModelIdAsync.

Also, when running by model Id, say the user has configured gpt-4 with both AOI and OI, which one would be selected?

To Reproduce

Steps to reproduce the behavior:

dotnet user-secrets set "OpenAI:ApiKey" "..."
dotnet user-secrets set "OpenAI:ModelId" "gpt-3.5-turbo"

dotnet user-secrets set "AzureOpenAI:ChatDeploymentName" "..."
dotnet user-secrets set "AzureOpenAI:Endpoint" "https://... .openai.azure.com/"
dotnet user-secrets set "AzureOpenAI:ApiKey" "..."
dotnet user-secrets set "AzureOpenAI:ChatModelId" "gpt-35-turbo"

Run Example61 in KernelSyntaxExamples
Expected behavior

A clear and concise description of what you expected to happen.

Currently, result just prints out the models that were added to execution settings.

Maybe add some lines where we parse the Kernel to see the executing model and write to Console?
Screenshots
If applicable, add screenshots to help explain your problem.
Platform

OS: Windows
IDE: VS Code Terminal
Language: C#
Source: V1 Release Candidate Bug Bash

Additional context
Add any other context about the problem here.
Why are the first two samples using InvokePromptAsync but the last one creates a PromptTemplateConfig and then uses the kernel to invoke the function?

All .Net issues prior to 1-Dec-2023 are being closed. Please re-open, if this issue is still relevant to the .Net Semantic Kernel 1.x release. In the future all issues that are inactive for more than 90 days will be labelled as 'stale' and closed 14 days later.


⚠ LPDM Handbook (hosted on Divio) has degraded performance

In 5b53076, LPDM Handbook (hosted on Divio) (https://repohubdev.tk) experienced degraded performance:

HTTP code: 500
Response time: 5360 ms

Resolved: LPDM Handbook (hosted on Divio) performance has improved in c593ca1.


FeatReq: basic_auth_required accepting callable

Currently basic_auth_required is a bit simplistic and "dangerous" as the credentials are stored in the code. I suggest replacing the args of the wrapper by a single callable function which:

could do the same as currently, that is, comparing user and password values
address other use cases like validating user/password in an external API for instance

The latter is what I am after as "our" quart API acts as a middleman to an external API. We pass (aiohttp.ClientSession) user and password to its login page and if we get a token back (sessionId), it's validated. We then use that cookie in further calls.

The credentials are stored in the app's config, which can be loaded from the environment or files (no need to store credentials in the code).
I'm not sure whether to add this functionality to Quart-Auth directly - it is quite easily to adapt and create your own basic_auth_required decorator based on the existing one e.g. for your use case (with check_auth):
def basic_auth_required(func: Callable) -> Callable:
    @wraps(func)
    async def wrapper(*args: Any, **kwargs: Any) -> Any:
        if has_request_context():
            auth = request.authorization
        elif has_websocket_context():
            auth = websocket.authorization
        else:
            raise RuntimeError("Not used in a valid request/websocket context")

        valid = await check_auth(auth)
        if valid:
            return await current_app.ensure_async(func)(*args, **kwargs)
        else:
            raise UnauthorizedBasicAuth()

    return wrapper

qq: do you monitor more  - and do you prefer keep logs in - gitter, gitlab or github ? There are many channels you mentioned ;-)

I'm currently moving everything to github (watch this space...).

Just discovered a possible bug: when executing the wrapped function (past validation), if the function/view has no argument, you get TypeError: xxxx() takes 0 positional arguments but 2 were given
Workaround - for now - is to add a dummy arg array in the view definition i.e. async def xxx(*dummy_args):

Hmm, I'm not sure why it would error like that - could you share the stack trace?

OMG - embarrassing:
    @wraps(func)
    async def wrapper(*args, **kwargs):
        print_log(f'{session=}, {vars(session)}')
        if auth := request.authorization:
            if 'iw_cookies' not in session:
                if request.method == 'POST':
                    args = (await request.get_json()).get('userDefinedContext')

... I am reassigning args later in the code. Sorry for the oversight.

No worries, thanks for clarifying - a mystery closed :).


Write skeleton of testing SOP

Following a conversation with @mshadbolt @Wkt8 and @clairerye it would be useful to have a general SOP for testing changes to the system.
The general SOP for testing will be general and able to be built on, taking in input from different sources.
Link to the doc: https://docs.google.com/document/d/1JCM73n_hC3jA6I2dfp_xB7QATGHwYs42IQdXdyI76uU/edit?usp=sharing

I have written a framework for this SOP, and @aaclan-ebi has helpfully filled in some of the gaps.

The framework has been written and has generated some required actions so we can test the way we think is right.

We want to get documentation of all ingest features, which will make it easy to assess if something is a bug, intended or not supported yet.
Write an automated test plan / test plan for all features of Ingest (documentation will help)

I think I will split these off into separate tickets.

Had a discussion with @amnonkhen and he will use the information from this document to make our testing process more reliable.


Update CreditCardRules.php

Added Troy credit card.
Corrected the lenght field of the JCB cards to 16, 17, 18 and 19.
Cards array ordered alphabetically.

Please provide documentation links for these changes.

I have relied on https://en.wikipedia.org/wiki/Payment_card_number to make the changes.

Ok, awesome. That's where I took my initial values from, also. Guess they've been updated.
Thanks!


Previews Broken for PRs originating in Forks

This is probably a permissions/security problem related to not previewing content generated outside of the main fork.
https://github.com/cloudnativegeo/cloud-optimized-geospatial-formats-guide/actions/runs/6354887466/job/17262077823?pr=73
TODO: research the github recommended solution for how to deal with this. I know I've seen it written about before.
Acceptance Criteria

[ ] PRs regardless of fork origin can be previewed before accepting a PR.

Research:

https://github.blog/2020-08-03-github-actions-improvements-for-fork-and-pull-request-workflows/
https://github.com/orgs/community/discussions/7730
https://docs.github.com/en/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks

The github action we're using does not support forks yet.

This Action does not currently support deploying previews for PRs from forks, but will do so in https://github.com/rossjrw/pr-preview-action/pull/6.

I propose the following workaround to integrate external forks in the meantime that we decide on another solution:

We create a staging branch
We only run the preview action on PRs to main
We create some branch restrictions to only accept PRs from staging to main


Error: Using Coral USB Accelerator in Docker (ValueError: Failed to load delegate from libedgetpu.so.1)

System information

Ubuntu 16.04
Docker CE 19.03.3 (container using the image tensorflow/tensorflow:nightly-devel-gpu-py3)

In the container:

Python 3.5.2

I am trying to get started with my USB Accelerator using the classify_image.py source code in a Docker container.
My Dockerfile for this project is like this:
FROM tensorflow/tensorflow:nightly-devel-gpu-py3

WORKDIR /home
ENV HOME /home
VOLUME /data
EXPOSE 8888
RUN cd ~
RUN apt-get update
RUN apt-get install -y git nano python-pip python-dev pkg-config wget usbutils

RUN echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" \
		| tee /etc/apt/sources.list.d/coral-edgetpu.list
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
RUN apt-get update
RUN apt-get install -y libedgetpu1-std

RUN wget https://dl.google.com/coral/python/tflite_runtime-1.14.0-cp35-cp35m-linux_x86_64.whl
RUN pip3 install tflite_runtime-1.14.0-cp35-cp35m-linux_x86_64.whl

RUN mkdir coral && cd coral
RUN git clone https://github.com/google-coral/tflite.git

And I made the container with this command:
docker run -it -v /dev/bus/usb:/dev/bus/usb --gpus all coral-usb:0.1 /bin/bash
In the container, I followed the manual in 'Get started with the USB Accelerator'.
python3 classify_image.py \
--model models/mobilenet_v2_1.0_224_inat_bird_quant_edgetpu.tflite \
--labels models/inat_bird_labels.txt \
--input images/parrot.jpg

And after running the code above, I got some errors like this:

Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/tflite_runtime/interpreter.py", line 165, in load_delegate
delegate = Delegate(library, options)
File "/usr/local/lib/python3.5/dist-packages/tflite_runtime/interpreter.py", line 119, in init
raise ValueError(capture.message)
ValueError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "classify_image.py", line 118, in
main()
File "classify_image.py", line 95, in main
interpreter = make_interpreter(args.model)
File "classify_image.py", line 69, in make_interpreter
{'device': device[0]} if device else {})
File "/usr/local/lib/python3.5/dist-packages/tflite_runtime/interpreter.py", line 168, in load_delegate
library, str(e)))
ValueError: Failed to load delegate from libedgetpu.so.1

How could I solve this problem?

@jjimin
A few normal diagnostic for ValueError: Failed to load delegate from libedgetpu.so.1:

Could you check if libedgetpu is properly installed with ll /usr/lib/{GNU-TYPE}/libedge*? for reference:

$ ll /usr/lib/x86_64-linux-gnu/libedgetpu*
lrwxrwxrwx 1 root root   43 Oct 17 15:03 /usr/lib/x86_64-linux-gnu/libedgetpu.so.1 -> /usr/lib/x86_64-linux-gnu/libedgetpu.so.1.0
-rwxr-xr-x 1 root root 930K Oct 17 15:03 /usr/lib/x86_64-linux-gnu/libedgetpu.so.1.0

We normally get this error if the linux user in the system isn't in the plugdev group, which could be an easy with either running in sudo or adding the user into the plugdev group. However since you're in a docker container, you should already running as root, so maybe this case should be eliminated for now.

I know this is silly, but is your accelerator plugged in?

Lastly, have you been able to run this demo on your host machine without using a docker container? I know that we've been seeing some hiccups with Ubuntu 16.04 with the tensorflow api(see here, but this is a different error messages). Can you also try the edgetpu api for doing inferencing?

@jjimin UPDATE:
I ran into your exact issue, and was able to fix with slight modification to the Dockerfile (for dependencies issue). It appears that the docker container just didn't have access to usb device. Here is my System information:

Ubuntu 18.04.3 LTS

Docker CE 19.03.4 with same exact image

Dockerfile:

FROM tensorflow/tensorflow:nightly-devel-gpu-py3

WORKDIR /home
ENV HOME /home
VOLUME /data
EXPOSE 8888
RUN cd ~
RUN add-apt-repository -y ppa:ubuntu-toolchain-r/test
RUN apt-get update
RUN apt-get install -y git nano python-pip python-dev pkg-config wget usbutils gcc-4.9
RUN apt-get upgrade -y libstdc++6

RUN echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" \
    | tee /etc/apt/sources.list.d/coral-edgetpu.list
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
RUN apt-get update
RUN apt-get install -y libedgetpu1-std

RUN wget https://dl.google.com/coral/python/tflite_runtime-1.14.0-cp35-cp35m-linux_x86_64.whl
RUN pip3 install tflite_runtime-1.14.0-cp35-cp35m-linux_x86_64.whl

RUN mkdir coral && cd coral
RUN git clone https://github.com/google-coral/tflite.git

Build:

$ docker build -t "coral-usb:0.1" .

Run image (the --privileged flag was probably what you were missing):

$ docker run -it --privileged -v /dev/bus/usb:/dev/bus/usb coral-usb:0.1 /bin/bash

Example demo run:

root@c495f381807a:~/tflite# cd ~/tflite/python/examples/classification/
root@c495f381807a:~/tflite/python/examples/classification# ls
README.md  classify.py	classify_image.py  install_requirements.sh
root@c495f381807a:~/tflite/python/examples/classification# bash install_requirements.sh
Requirement already satisfied: numpy in /usr/local/lib/python3.5/dist-packages (1.15.4)
Requirement already satisfied: Pillow in /usr/local/lib/python3.5/dist-packages (5.3.0)
You are using pip version 18.1, however version 19.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   189  100   189    0     0    236      0 --:--:-- --:--:-- --:--:--   236
100 3988k  100 3988k    0     0  2085k      0  0:00:01  0:00:01 --:--:-- 4692k
100   181  100   181    0     0    540      0 --:--:-- --:--:-- --:--:--  176k
100 3448k  100 3448k    0     0  3624k      0 --:--:-- --:--:-- --:--:-- 3624k
100   158  100   158    0     0    826      0 --:--:-- --:--:-- --:--:--  154k
100 40895  100 40895    0     0   117k      0 --:--:-- --:--:-- --:--:--  117k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   148  100   148    0     0    201      0 --:--:-- --:--:-- --:--:--   201
100 3068k  100 3068k    0     0  1796k      0  0:00:01  0:00:01 --:--:-- 3368k
root@c495f381807a:~/tflite/python/examples/classification# python3 classify_image.py \
> --model models/mobilenet_v2_1.0_224_inat_bird_quant_edgetpu.tflite \
> --labels models/inat_bird_labels.txt \
> --input images/parrot.jpg
INFO: Initialized TensorFlow Lite runtime.
----INFERENCE TIME----
Note: The first inference on Edge TPU is slow because it includes loading the model into Edge TPU memory.
12.6ms
4.0ms
4.1ms
4.0ms
4.0ms
-------RESULTS--------
Ara macao (Scarlet Macaw): 0.76172

Hope this helps!

@jjrugui hi, make sure you are using an updated version of the tflite_runtime library also, this will mostlikely solve your tflite runtime API issue. The new package should now be this:
https://dl.google.com/coral/python/tflite_runtime-2.1.0-cp35-cp35m-linux_x86_64.whl

I'm way too late to the party, but here is what I have discovered regarding this ValueError issue in a Docker environment (note that I've used Raspberry Pi 4 8GB in my experiments):

You need to add the --privileged flag when running the container.

This is surely not the best practice, as you should prefer a more fine-grained capability control over giving the blanket root privilege to the container, but I haven't tested which capability is necessary to fix the error...

You need to run the inference script as root inside the container.
The first inference attempt after the system boot always fails. Add the --restart always flag to automatically re-run the script (assuming you've set the CMD/ENTRYPOINT directive properly), and all is well.

This issue only affects Docker environments; outside of the container, the same script works fine right after the boot.

Environment:
libedgetpu1-max=16.0
python3-pycoral=2.0.0
python3-tflite-runtime=2.5.0.post1

@hvn2 Thanks for reaching out! Sorry that I forgot to mention --restart always is a Docker CLI flag (doc) (docker run --restart always mycontainer mycmd). Other useful options are also mentioned in the linked page.
If you're using Docker Compose, you can set an equivalent option restart: always (doc) to the service that runs your Python script. For example:
services:
  ai:
    # ...
    # Restart the docker on failure, and after the system boot
    restart: always
    # Mount Coral TPU
    devices:
      - "/dev/bus/usb:/dev/bus/usb"
    # Needs privileged access to the host OS
    privileged: true

then docker compose up should start the service. The first attempt will fail, but Docker would immediately restart the container, and the cont


[thanos] Query functionality ramp up

Context
The first draft of the Thanos plugin should enable a Thanos Query to talk to Thanos Sidecar as a store.
For now it will fetch metrics from Prometheus deployed with kube-monitoring.
Acceptance criteria

[x] Thanos Query deployed and reachable

[x]  https://github.com/cloudoperators/greenhouse/pull/308

[x] kube-monitoring enhanced to spin up thanos-sidecar with objectstore config

[x] #192
[x] #193
[x] #195

[x] sidecar configured as store
[x] compactor hooked up to object store #183
[x] helm-chart #183

Implemented


Diagnostics comment: depth resolved

commit 1: Add comment "(depth resolved)" to appropriate variables in define_diagnostics.
commit 2: Add optional argument for soil (EnergyHydrology) model default diagnostics.
To find the variables with depth I did:
julia> import ClimaAnalysis as cl
julia> dir = cl.SimDir(".")
julia> for short_name in cl.available_vars(dir)
           var = get(dir; short_name);
           depth = cl.has_altitude(var);
           if depth == true
               println(short_name, " = ", depth)
           end
       end
sco2 = true
soc = true
swp = true
scms = true
swc = true
sie = true
scd = true
tsoil = true
stc = true
shc = true
si = true

@kmdeck
sorry I meant to ask you this during our group meeting on Wednesday but I forgot
do you think "depth resolved" is a good choice of words? Would you say something else?

@kmdeck
sorry I meant to ask you this during our group meeting on Wednesday but I forgot do you think "depth resolved" is a good choice of words? Would you say something else?

depth resolved makes sense to me! Thanks


Ordering of images in media library

Hi,
I found that the ordering of the images in the Media Library is somewhat unhandy, the last uploaded image is found at the bottom of the list. Remarkable is that the date mentioned behind the uploaded file is actually a wrong one, probably that causes the faulty ordering (see attached screenshot)? The filedates on the filesystem /storage/app/public/* seems just fine.
Am I missing a php module that takes care of reading the files from the filesystem correctly ? Or is it something else ? Do you guys have the same experience ?
Kind regards,
Mark

@talvbansal Is this something you can update from your end?
@mhuijser Canvas uses Media Manager as a media library plugin for Laravel. We'll see if we can resolve this for you as quick as possible. Thanks for bringing it to our attention!

So the ordering is based on file name, sortable lists is something I plan to look into going forward.
However good spot on the dates, i hadn't updated the filter for vue js v2 properly so it was failing and defaulting back to todays date. I've just pushed a fix up to the master branch, once I've checked a couple of other things I'll release a tag that Canvas can pull in.

Thanks for addressing this so quickly @talvbansal!


Struggling to access K2 data from Campaign 15

Should this be accessible yet? i.e, should this work?
tpf = KeplerTargetPixelFile.from_archive(249914869, campaign=15)

I get
WARNING: NoResultsWarning: Query returned no results. [astroquery.mast.core]
---------------------------------------------------------------------------
ArchiveError                              Traceback (most recent call last)
<ipython-input-2-215e0a00620d> in <module>()
----> 1 tpf = KeplerTargetPixelFile.from_archive(249914869, campaign=15)

~/anaconda3/lib/python3.6/site-packages/lightkurve/targetpixelfile.py in from_archive(target, cadence, quarter, month, campaign, **kwargs)
    196                                "".format(len(products), target))
    197         elif len(products) < 1:
--> 198             raise ArchiveError("No Target Pixel File found for {} at MAST.".format(target))
    199         path = download_products(products)[0]
    200         return KeplerTargetPixelFile(path, **kwargs)

ArchiveError: No Target Pixel File found for 249914869 at MAST.

Hi Stuart, unfortunately this is a problem with the MAST Portal not being up to date quite yet because the data is so new. It was discussed in issue #81 and @scfleming believes that it will likely be resolved within a week. For now you can download the data directly yourself through MAST:
https://archive.stsci.edu/k2/data_search/search.php?target=249914869&action=Search&resolver=SIMBAD&radius=3.0&outputformat=HTML_Table&max_records=5001&ordercolumn1=ang_sep&ordercolumn2=sci_ra

Yep, C15 is added to our Portal test server and passed initial testing, show it should be available as soon as it gets pushed to operations, nominally this week.

Thanks @christinahedges


Update vcap external config parsing

Change vcap service external config parsing to work like new behavior here: https://github.ibm.com/CloudEngineering/openapi-sdkgen/wiki/Design-Of-Service-Config-Changes#external-config-behavior
See https://github.ibm.com/arf/planning-sdk-squad/issues/1100

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Robert-Keezer seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

:tada: This PR is included in version 1.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


is this a false flag?

I'm getting errors due to  <!--more--> in wp posts
[Sun Nov 18 04:30:37.019265 2018] [:error] [pid 14349:tid<PHONE_NUMBER>88736] [client <IP_ADDRESS>:61766] [client <IP_ADDRESS>] ModSecurity: Warning. Matched phrase "<!--" at ARGS:data[wp_autosave][content]. [file "/etc/modsecurity/rules/REQUEST-941-APPLICATION-ATTACK-XSS.conf"] [line "286"] [id "941180"] [rev "2"] [msg "Node-Validator Blacklist Keywords"] [data "Matched Data: <!-- found within ARGS:data[wp_autosave][content]: marketing operates in a world of change and ambiguity. so you have to constantly monitor trends, to spot opportunities, and avoid problems. now spending on your market, this could be one of your biggest challenges. you don't want to be guilty of missing a key trend that puts your company out of business. trends in your business happen in many areas. for example, consumer tastes can change. campbell soup, for example, is looking at ways to c..."] [severity "CRITICAL"] [ver "OWASP_CRS/3.0.0"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-xss"] [tag "OWASP_CRS/WEB_ATTACK/XSS"] [tag "WASCTC/WASC-8"] [tag "WASCTC/WASC-22"] [tag "OWASP_TOP_10/A3"] [tag "OWASP_AppSensor/IE1"] [tag "CAPEC-242" [hostname "mywebsite.com"] [uri "/wp-admin/admin-ajax.php"] [unique_id "W-Dq7UgOvEAAADgNEI4AAAAB"], referer: https://mywebsite.com/wp-admin/post.php?post=276&action=edit

Based on your logs, you might be facing a false positive with the Core Rule Set (CRS) or you are missing proper tuning of the ruleset.
Please see available help resources at https://github.com/SpiderLabs/owasp-modsecurity-crs/blob/v3.2/dev/README.md you can also direct questions and someone from the community should be able to support you.


other repository/plugin for astrochart

Hi, I saw you are using other plugin to draw the graph.
i found that plugin here https://www.npmjs.com/package/astrochart but. not much documentation.
are you using the same plugin or its different?
because, i need to implement that astrology chart ,zodiac  and other things.
i have confusion of that chart draw thing.
please, provide some more details on that chart draw.

hello! The demo I provide in this library uses a different package to display the chart. More information (and examples) can be found in this repo https://github.com/Kibo/AstroChart . The link you provided seems to be a different package (same name, different author) You can also view my implementation in the demo script https://github.com/0xStarcat/CircularNatalHoroscopeJS/blob/master/demo/script.js
hope this helps! let me know if you have any other questions about it


Feature #188 restrict dates in forecast selector

Closes #188
Restrict the dates that can be selected for Cycle Date in the Launch WRF page to no later than today's date and not before Feb. 26, 2021 because the input data is not available in S3 before that date.
NOTE: WebStorm reports an error when the min/max values are added to the HTML. Apparently this is a bug as the syntax works as expected (see this comment).
Expected Differences

[X] Do these changes modify the system output in any way? [No]

Pull Request Testing

[X] Describe testing already performed for these changes:

Started angular locally and confirmed that the date selector is properly restricted.

[X] Recommend testing for the reviewer(s) to perform, including the location of input datasets, and any additional instructions:

Test locally if desired

[X] Do these changes include sufficient documentation updates, ensuring that no errors or warnings exist in the build of the documentation? [Yes]

[X] Do these changes include sufficient testing updates? [Yes]

[X] Will this PR result in changes to the test suite? [No]

[X] Please complete this pull request review by 6/13/2023.

Pull Request Checklist

[X] Review the source issue metadata (labels, project, and milestone).
[X] Complete the PR definition above.
[X] Ensure the PR title matches the feature or bugfix branch name.
[X] Define the PR metadata, as permissions allow.
Select: Reviewer(s)
Select: Project
Select: Milestone as the version that will include these changes
Select: Development to link to the original development issue.
[ ] After the PR is approved, merge your changes. If permissions do not allow this, request that the reviewer do the merge.
[ ] Close the linked issue and delete your feature or bugfix branch from GitHub.

@hahnd, I made the updates you suggested. A good test would be to start angular, open the date selector, and see if the next date becomes select-able at 6pm MST. I tested using time offsets and it appeared to be properly using the UTC time to determine the last date.

@hahnd , also note I had to set this.minDate and this.maxDate in the constructor because it complained that those variables aren't necessarily set in the constructor even though the constructor called the function that sets them.


Add Ubuntu 20.04 support

@VilleS1 could you maybe have a look at this simple patch? There is an Ubuntu 20.04 APT repo now: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/

Merged. I didn't notice this patch before.

Cool, thank you very much. What is the process of getting this into Ansible Galaxy? The version there is still v1.6.7 which is almost one year old.

I don't know.

I suspect that the reason is the missing Travis CI job: https://travis-ci.org/CSCfi/ansible-role-cuda
Anything we can do about that?

Might be. But you have the wrong url, the home of the role has changed:
https://travis-ci.org/github/fgci-org/ansible-role-cuda
There are some errors in the build.

Here a shot at fixing that: https://github.com/fgci-org/ansible-role-cuda/pull/35

I got travis build already working. But since the role is now in different organisation the build status does not update to Galaxy CSCfi. It should update to fgci-org. I am not sure how to do that. Do you know?

I see that your colleagues have struggled with the same in the past: https://github.com/ansible/galaxy/issues/42

Yes, that is what I am trying to do.

ansible-role-cuda is now in galaxy under fgci.

Should it not be fcgi.cuda analogous to cscfi.cuda instead of fgci.ansible_role_cuda ?

Yes, that is now fixed too.

Cool, thank you very much!

Maybe you also want to update the "OS Platforms" tags in Galaxy. E.g. Ubuntu 20.04 is focal.

Never mind, https://github.com/fgci-org/ansible-role-cuda/pull/36.


[Feature Request] An option to turn off the menu bar icon in Mac OS

What the subject line says.
Thanks!
Joey

Agreed.

100%. The value from the menubar icon vs utility really doesn't make sense here

Any updates here?  I never find myself using it and would be great to turn it off.

yes, this is really quite annoying...
please add the option to remove from the menubar

Bump

BUMP

Bump

Bump

Happy New Year! (:ninja-bump:)

Happy New Year! (:ninja-bump:)

Bump

Bump

BUMP

BUMP

bump

bump jesus how hard is this

really bumpy road

I wouldn't mind it if it wasn't white while all the other icons are black

My take is that contractually KB may be in maintenance mode after the acquisition, so we may have more luck posting this as a bug.

Bump

Bump

Bump!!

Can't believe this still isn't a thing! Made worse by these macbooks with notches in the middle


Adding ShadowDOM Support

I have started working on adding ShadowDOM support to this shim (which we are using for our Polymer 2 application).
At first, nothing was working at all. ShadowDOM introduces event retargeting, so events that fire up through Shadow Roots have their target changed to be the parent of the highest shadow root. This introduces a problem for the tryFindDraggableTarget function:
https://github.com/timruffles/ios-html5-drag-drop-shim/blob/0f2c6426d2618fadd1e9dfa4816fa0384b0291a0/src/index.ts#L188-L213
as event.target no longer refers to the actual target of the event. I rewrote this method (in JS) as follows:
    function tryFindDraggableTarget(event) {
        for(var i = 0; i < event.path.length; i++) {
            var el = event.path[i];
            if(el.draggable === false) {
                continue;
            }
            if (el.getAttribute && el.getAttribute("draggable") === "true") {
                return el;
            }
        }
    }

Success! I can now start drag operations successfully. Next up is dropping, which has proved to be more difficult. The code responsible for finding the drop target is here:
https://github.com/timruffles/ios-html5-drag-drop-shim/blob/0f2c6426d2618fadd1e9dfa4816fa0384b0291a0/src/index.ts#L722
document.elementFromPoint suffers a similar problem as before and returns only the highest shadow root rather than the actual element at the location. I found some documentation for DocumentOrShadowRoot.elementFromPoint(), but support for DocumentOrShadowRoot seems limited at best. This is where I got stuck. Does anyone have any ideas on how to move forward from here?

Wow, thanks for this, would be very cool to support ShadowDOM 🤘 Haven't used ShadowDOM yet so unfortunately can only offer moral support.

Thanks for working on ShadowDOM support!
I'm currently rather of no help because of less free time for OSS and no detailed ShadowDOM knowledge either.
What I can offer though is a discussion about an API to make it easy to hook into those parts that need customization.

tryFindDraggableTarget(event:TouchEvent):Element | undefined for custom implementations of selecting an element for the drag operation given a touch event

dragImageSetup(dragElement:Element):Element to aid custom workarounds for fixing #109, #111
https://github.com/timruffles/ios-html5-drag-drop-shim/blob/b485129b36fb875a072743df1a1d641b4183c34d/src/index.ts#L1303-L1306

userSelectionFromViewportCoordinates(x:number, y:number):Element to select the element the user is currently hovering over while dragging.

That API seems like it will cover the bases, so that's definitely a good start.
I've stuck on how to implement userSelectionFromViewportCoordinates(x:number, y:number):Element with ShadowDOM all day. I'm worried we might have to wait for the browsers to catch up for this one.
I investigated trying to fire an event at an x,y coordinate and then use the same event.path method that I used earlier, but for security reasons the browser won't let you do this (otherwise one could write code to click buttons in an iframe for example). I got a hacky solution working in chrome by parsing the DOM down from the top up where the coordinates are, but that won't work in Safari (which is what I really need to support).
I'll keep trying to think of tricks, but it may be better to just wait until ShadowDOM support is more widespread (which hopefully won't be too much longer).

I've shadow dom support workin on my system.
This is my workin Code:

this works for me on my site on safari on ios

@z2oh can you check this out? lets bump this to the top of our (internal) priority list

@jogibear9988 Nice! Looks very elegant.
Please let me know if any utility functions may make sense for the polyfill to export so they can be reused in those custom implementations. tryFindDraggableTarget seems to be reused as is, so that might make sense to export.
I'm trying to wrap my head around why you're transporting the composedPath() from the initial drag start event to use it in your elementFromPoint(). Can you elaborate?

at first I tried to use hand over the lastEvent to the elementFromPoint, but when I call composedPath() there, I get an empty array!
seems I could only call it in the function with was raised from the event.

i've tested yesterday only on a iPad (where it worked). today I tested a galaxy tab and iPhone, both do not work. I will look whats different here

I've to correct myself. iPhone & galaxy tab work. I tested an old version

@jogibear9988 Thanks for the explanation!
The issue with your particular implementation is that elementFromPoint is invoked based on the last touchmove event. Coordinates will almost always be outside the boundaries of the element that started the drag operation, when composedPath is invoked and cached in _path.
If the whole application consists of custom elements it will work because composedPath will contain all the elements that have to be considered in elementFromPoint even when coordinates will be outside of the boundaries the starting element.
But if only a few components are custom elements eventually not sharing a common root element than looping only through the elements that are part of composedPath when the drag operation starts might lead to silent failure.
Would this naive implementation for elementFromPoint work?
let el = document.elementFromPoint(x, y);
if (el) {
    // walk down custom component shadowRoots'
    while (el.shadowRoot) {
        let customEl = el.shadowRoot.elementFromPoint(x, y);
        // I'm a ShadowDom noob, can the element returned ever be the custom element itself?
        if(customEl === null || customEl === el) {
            break;
        }
        el = customEl;
    }
    return el;
}

Custom-element support should be a first class citizen of this polyfill but until browser support is solid and the implementation is battle-tested it makes sense to provide the needed custom implementations in a separate module similar as to how the scroll-behaviour module exports the function that enables automatic scrolling support when hovering at the edge of a scrollable container.
That being said I'm happy to accept PRs adding such a module to maintain and iterate on the implementation for custom-element support. Once browser support/the implementation has matured and is proven solid it can be added to the polyfill's default implementation.

@reppners I can only say, my code works in my application (with uses webcomponents everywhere!)
should I test your code, or what should I do?

If it's no trouble for you to test it - I'd be happy to know if it works this way, too.
Ultimately this repo needs a demo page that makes use of web components but I'm too short in time to work on this atm.

@reppners seems to work...
sorry for the long delay :-(

would you include this?
maybe create a setting to enable use of composedPath for shadowDom?

@reppners any news to this?

@timruffles could you merge this?

I'm facing the same issue when using web components.
Neither this polyfill nor https://github.com/Bernardo-Castilho/dragdroptouch/issues/25 is working when using ShadowDOM.
@timruffles Would love to see this feature merged 😎

I used a little bit updates version of my polyfill in my project:
  // see https://github.com/timruffles/mobile-drag-drop/issues/115
  function tryFindDraggableTarget(event) {
    const cp = event.composedPath();
    for (const o of cp) {
        let el = o;
        do {
            if (el.draggable === false) {
                continue;
            }
            if (el.getAttribute && el.getAttribute('draggable') === 'true') {
                return el;
            }
        } while ((el = el.parentNode) && el !== document.body);
    }
  }

  function elementFromPoint(x, y) {
    let el = document.elementFromPoint(x, y);
    if (el) {
        // walk down custom component shadowRoots'
        while (el.shadowRoot) {
            let customEl = el.shadowRoot.elementFromPoint(x, y);
            // I'm a ShadowDom noob, can the element returned ever be the custom element itself?
            if (customEl === null || customEl === el) {
                break;
            }
            el = customEl;
        }
        return el;
    }
  }

  MobileDragDrop.polyfill({ tryFindDraggableTarget: tryFindDraggableTarget, elementFromPoint: elementFromPoint });

it works here:
https://node-projects.github.io/web-component-designer-demo/index.html
what does not work is drag drop from jquery-fancytree, see issue here:
https://github.com/mar10/fancytree/issues/1088

@timruffles can this fix be merged?

Sorry I haven't been actively doing much frontend these days. I've not worked with the ShadowDOM APIs, for instance.
If someone makes a PR that everyone here is happy with I'd be happy to merge it.

https://github.com/timruffles/mobile-drag-drop/pull/168

@jogibear9988 @danziv @timruffles Took care of merging the PR and cutting a release as v3.0.0-beta.0.

thanks @reppners!
checked the new version out - all working on my end, also in shadowDom.


Fixes an issue where clients were unable to reconnect

When dealing with clients with poor networks (high latency or unstable connectivity) the server would occassionally not drop the connection, leading to clients being unable to reconnect because the server only allows a single connection per Public Key.
This change makes the server send periodic pings to the clients, and will drop the connection if no response is received. This allows the client to re-obtain a connection when the network comes back up for them again.
The ping handler has also been removed in favour of the default implementation which was performing the same function but with a lower ping read timeout.

Can confirm this fixes the issue I was seeing 🙂
With the changes to the ping handler, will the client & server need to be updated at the same time, or are the changes backwards compatible?

Yes it is backwards compatible. Since there is a default ping handler, updating the server with the new ping code, will get a response. However updating the client code will be necessary to detect disconnections faster. I was testing it would take about 2 mins to detect the disconnection, without updating the client code, but it would eventually work.


The file is locked by .NET Host (18192) Error while building application

Describe the bug
Getting this error when building the newly created application a second time.

Error MSB3027: Could not copy "obj\Debug\net6.0\Bootstrap.Avalonia.dll" to "bin\Debug\net6.0\Bootstrap.Avalonia.dll". Exceeded retry count of 10. Failed. The file is locked by: ".NET Host (18192), .NET Host (15608)" (4686, 6)

To Reproduce
Create a new Avalonia project using the latest preview version 11.0.0 prev 5 in VS22 v17.4.4.

Build
Run
Close
Build or run you will get this error.

Expected behavior
After building once, next time it should build correctly and should not show this  The file is locked by: ".NET Host (18192), .NET Host (15608)" (4686, 6) error.
Screenshots

Desktop (please complete the following information):

OS: Windows
Version 11

Additional context
The Host process is running under the Visual Studio process in the taskbar. I've to close this to successfully build the app manually.

This issue is not happening with WPF applications so I believe it's related to Avalonia and not .Net Core.

It also happens sometimes in WPF development. It happens if the debugger was hanging and wasn't able to shutdown the App. Try to reboot or try to clean bin and obj folders


chore: Update README.md for release version 0.3.0

Updating GIFs and Screenshots with latest UI Changes.
https://github.com/dvandra/fabric8-analytics-vscode-extension/tree/update-readme-0.3.0#dependency-analytics

Codecov Report

Merging #475 (b0ce451) into master (a9d4cc3) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #475   +/-   ##
=======================================
  Coverage   60.96%   60.96%
=======================================
  Files          16       16
  Lines         766      766
  Branches      160      160
=======================================
  Hits          467      467
  Misses        299      299

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 a9d4cc3...b0ce451. Read the comment docs.

@dvandra , Please include the changelog & version updates in the same PR.

On it!

@dvandra , Please include the changelog & version updates in the same PR.

On it!


Filter on field type

Hello,
Firstly - thanks for a great project.
We're currently running a single node ES cluster (ELK stack). It's a pretty much default setup with all logs ending up in the same index. Indices are created once per day (i.e. logstash-2016.03.16).
All events are created with a type field, which makes it easy creating and saving searches in the Kibana GUI (which interfaces with ES for querying).
Is it possible with Search Guard to limit what a user can see based on a certain field value (I.e. allow a user to see the record if field type equals a certain value)? Is this what flsfilter is? If possible, what would such an ACL configuration look like?
Thanks!
Robert

Its possible with Search Guard 2, with the upcoming document and field level security (DLS/FLS), see https://github.com/floragunncom/search-guard/wiki
If you need filter for only for _type  you can achieve this also without DLS/FLS


[Question]: Agent Memory file location

How are you running AnythingLLM?
Docker (remote machine)
What happened?
Hello,
I was looking through the admin settings to find a way to delete the agent's memory. This would be a useful feature since I've encountered issues where invalid data has been cached, causing problems with certain responses.
I tried locating the relevant files in the storage folder, but I couldn't find a specific folder for the agent data. Specifically, I was searching for the file "agent-memory.txt" to delete it. I might have missed it. Could you please advise if there's a way to delete this memory? I'm using a Docker installation.
Thank you
Are there known steps to reproduce?
No response

That "file" is really a fake file that is used for retaining memory for that specific workspace. it its essentially a virtual file so it does not "exist" in the sense that normal files do. However, its representation is stored in the documents folder as a JSON file - https://github.com/Mintplex-Labs/anything-llm/blob/5a3d55db671359613a5d68d98eb7166ca6db4188/server/utils/agents/aibitat/plugins/memory.js#L121


Swipe screen to change location

Current behaviour:
- swipe to the right to open menu-bar.
Suggested behaviour:
- Swipe left /right to change displayed location

- Swipe from edge into the screen to open menubar
Motivation: intuitively I tried to "scroll" / swipe through my save / added locations. Unfortunately, while in other apps a common mechanic, this was not possible.
It would allow for quick and intuitive comparison of two or more different locations.

Oh you're right, that would be awesome! I'll have to rethink the forecast fetching logic a bit, but I like the idea.

I know the dangers of "take your time" but please, take your time.
This is merely an EOL improvement and nothing too vital. It's still a very well designed app. ☺

Thank you, that's very kind 🙂

if i could interject:
The swipe from edge feature would interfere with the navigation on some android devices.
Where, to go back, you swipe from the edge.
I do not know how widespread the feature is, but it is seen as the "modern" way of navigating.

The swipe from edge feature would interfere with the navigation on some android devices.

But it's still a good feature. And i hope to see it well implemented at some point.

Yes, you are right. If this were implemented, you would be able to swipe left/right amywhere on the screen to trigger this behavior. Kind of like a pager. This would not interfere with gesture navigation.

The swipe from edge feature would interfere with the navigation on some android devices.

I use swipe navigation. At least on my device (miui12) the "go back" is the bottom half of the screen's edge leaving the top half usable

on my device (miui12) the "go back" is the bottom half of the screen's edge leaving the top half usable

Oh guess it varies from phone to phone. On mine its the whole of the two edges


Support of Bean Validation in Helidon MP #721 for Helidon 2.x

Bean Validation for Helidon 2.x
Resolves #721

@ljamen would you be so kind to review the documentation?

@dalexandrov Should there be some integration test in addition to an example?

Added Tests

@spericas I've added Integration tests for bean validation in commit 2b9745c. Would you please confirm this is the right way.


:sparkles: Add connection status for jira instance

Add jira tracker connection status to table for trackers
Resolves https://github.com/konveyor/tackle2-ui/issues/884

@ibolton336, let's follow #884

Ah there it is :)  Updated it.


Add support for room temp & humidity

In the 8sleep app, there is a part that tracks your room's temperature and humidity around the pod, separate from the temperature of the bed.  You can see it in the top right corner of the app. It would be nice to add that sensor to the home app.

Hey there! Apologies for delayed response. Started a new job and things have been super busy.
I'm aware of this feature and was originally planning to use this as the basis for the plugin, but measurements were wildly inaccurate for me. E.g. The temp is usually 5-6° F higher than the measured ambient room temp on my Nest thermostat. It could be a bad sensor in my hub or based on my hub being in the corner of a room (heat produced from unit is effecting it).
Using the internal device temp was much more appropriate for temp setting/reading purposes anyway, i.e. the number used by the device hub to adjust the bed temp is the one I'm currently using in the plugin. That said, I believe this would be a nice addition as a secondary feature/accessory that would show up in the platform plugin on Home app (especially for people who don't have a smart thermostat at home).
The one hurdle with displaying this info is that it requires a device specific id and token, both need to be pulled from the users mobile device. In order to authenticate to get the information, the user would have to use a proxy (like Proxyman) to observe the HTTP request traffic, then copy the header info from that into the plugin config file on Homebridge. The current config was definitely ideal since in current state, user only needs their username and password, and the rest of auth is handled by the plugin.
I'll look into this when I can but just to set expectations now, it's a low priority feature at this time given that it's a: 1. "nice-to-have" that doesn't effect core functionality, 2. requires users to be tech savvy enough to get that ID & token via proxy, and 3. it's not an accurate measurement of actual ambient temp.


[WIP] Resolve cursor timeouts

Work towards resolving #1002 ...
@ehofesmann I'd consider this more of an experiment than anything at this point.
Background
MongoDB offers a "no timeout" option for typical find() cursors, but we use an "aggregation" cursor for sample iteration (and, in general, to support views) which do not have this option.
Our cursors do offer a batch size option. It may be that to many samples are being sent per batch which causes to long of wait between cursor requests.
The details of it are that the cursor may be sending too many samples at a time per cursor request, which leaves the cursor idle for too long.
TLDR
On this branch, using dataset_or_view.iter_samples(batch_size=N) may alleviate the issue in #1002 . Maybe where N=10 or N=100. It's hard to say, but N=1 might be terribly slow.
Example
import fiftyone.zoo as foz

for sample in dataset.limit(100).iter_samples(batch_size=10):
    continue

Thinking out loud, we could also just track the current index during iteration and create a new one with a skip(idx) stage if the cursor times out...

@benjaminpkane Thanks for taking a stab at some possible fixes for this!
Looks like MongoDB's default batching strategy is to use a batch size of 101 for the first batch, followed by an undetermined batch subsequently, which is probably as big as possible such that batch is <= 16MB.
Given the 16MB point, don't you think its more likely that the issue is the overall time and not the batching, especially since #1002 reports a failure after ~1 hour?
I think the skip() recovery might be a good option here.
If smaller batch sizes were a viable solution, I'd hate to decrease performance in the typical case to avoid problems only in extreme cases (and would rather users not have to manually configure their way out of errors in extreme cases either)


PSE Help or FAQ for Syslog

Hello !  Please explain to me how to read the syslog data from IGate ? I enabled it in the config file, and I tried connecting to IP <IP_ADDRESS>:514 via chrome.   I'm definitely doing something wrong.
Can you give me some instructions? I'm not a programmer, so this is difficult for me.
Muchos Gracias 73!

You do need a syslog server. You can use e.g. a synology nas, a raspberry pi with enabled syslog server or something similar.
The igate connects to the syslog server specified in the config. In a second step you can then access the syslog server and check the content.

I've used this on a raspberry to enable a syslog server to watch all the data, maybe this will help you

How about to write a little walktrough on how to setup Syslog server on RPi and Synology NAS? I'm especially interested in Synology, cause I have one. I would like to gather logs from iGate on a hilltop, and also one far away from me. At least write a sum-up here, please. Thanks!

Hello tekk,
ok, here we go:
Synology:
Follow https://kb.synology.com/en-us/DSM/help/LogCenter/logcenter_server?version=7
with format = bsd, transfer = udp, port = 514, ssl = disabled
You will then find the protocols either in the overview of the log-center or in log-center > protocols > filter to "from other server".
Raspberry:
Install rsyslogd on a raspberry if not already present, and check if it is running with "sudo systemctl status rsyslog"
Check if the following two lines are enabled in /etc/rsyslog.conf
module(load="imudp")
input(type="imudp" port="514")

Create a file "LoraIgateLog.conf" in "/etc/rsyslog.d" with the following content, adopt your logdir and the first three parts of the IP of the iGate
$template LoraIgateLog, "/var/log/LoraIgate.log"
if $fromhost-ip startswith "192.168.1." then -?LoraIgateLog
&amp;stop

Restart rsyslogd

I would like to gather logs from iGate on a hilltop, and also one far away from me.

You need to have the possibility that the iGate can connect to the IP of your Synology or Raspberry (either by VPN, port forwarding, beeing already in the same network, ...). The IP you define in the config of the iGate is the reachable IP from the syslog server.


OPUS-CAT Trados plugin doesnt support inline tags

See the comparison of the Opus CAT plugin vs the DeepL or Google plugin.  Not supporting inline tags is a big drawback for technical documentation (such as DITA based) which is typically full of them.

You're right, it's a drawback, and tag insertion is one of the priorities for future development. There is actually already a feature in the fine-tuning functionality which can be used to automatically insert tags in Studio. The feature is very simplistic, as it assumes that tags are in the same order in the source as they are in the target, but it's still useful with many documents.
When you fine-tune, there are these two checkboxes:

If you check those boxes, the fine-tuning functionality will include tags as text in the fine-tuning bitext, which means that the fine-tuned model will be trained to place tags present in the source segment to the target segment. I just tested that the feature works with TMX fine-tuning, and seems to have an effect even when trained with just 2000 sentence pairs (but more the better):

I actually added this feature a long time ago for a specific translation job where there was a lot of tags (I do freelance translation when I can find the time), and it was very useful for that job. Once I have the time, I'll develop this into a more sophisticated tag insertion method.

You're right, it's a drawback, and tag insertion is one of the priorities for future development. There is actually already a feature in the fine-tuning functionality which can be used to automatically insert tags in Studio. The feature is very simplistic, as it assumes that tags are in the same order in the source as they are in the target, but it's still useful with many documents.
When you fine-tune, there are these two checkboxes:

If you check those boxes, the fine-tuning functionality will include tags as text in the fine-tuning bitext, which means that the fine-tuned model will be trained to place tags present in the source segment to the target segment. I just tested that the feature works with TMX fine-tuning, and seems to have an effect even when trained with just 2000 sentence pairs (but more the better):

I actually added this feature a long time ago for a specific translation job where there was a lot of tags (I do freelance translation when I can find the time), and it was very useful for that job. Once I have the time, I'll develop this into a more sophisticated tag insertion method.

Inline tag restoration has been added to the Trados plugin (long time ago, actually)


Don't Merge! PR real time test for target branch full build

Docs Build status updates of commit feba1a0:
:clock10: Full build: the average full build time is 7 min(s) 45 sec(s), this is based on the last 30 build(s) for this repository.

Docs Build status updates of commit feba1a0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/testing.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Error with BrowserAnimationsModule/NoopAnimationsModule

I get this error in a fresh angular app with ngx-slimscroll 7.1.0
Found the synthetic property @expandCollapse. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.
I've added my BrowserAnimationsModule in my AppModule but still getting this error!
Tried with NoopAnimationsModule too and i get the same error.
There is some talk about the problem here:
https://github.com/angular/angular/issues/18751

it was in my code...
seriously sorry,
i didnt check the copy paste with the pluggin and there was an [@expandCollapse]="" inside it... without me declaring it in the component!

But my problem is not solved and i don't add any other code and i included import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
but the error is not solving


Transition from css to js for tabs/inkbar

Closing until fixes

@hai-cea Fixes should be implemented now. Also implemented:
Changed fixed width to use % width to allow for resizing/changed functions to pass down left prop to inkbar to reflect this change. As fallout to this change, removed post component mounting check to see if tabWidth*length of total tabs was greater than parent container and forcing back into fixed width.

Also, please remove the less files that were replaced with this PR.

@hai-cea I added mergeandprefix to those files that needed prefixing. Concerning replacing less files - those should already have been replaced in this PR (check tabs.less/ink-bar.less in files changed.)


GKE Operator - Autopilot support

Summary
As a User, I want to provision Cluster with GKE Autopilot so that I can use the full google managed offerings for Kubernetes.
Goal
We need to support the autopilot mode for GKE so that customers can use 'autopilot' instead of 'standard'. Find more about the modes.
Background
Currently, we don't support GKE autopilot mode clusters. We have customers with significant usage that are specifically asking us to support autopilot for GKE. If we don't support GKE autopilot we risk to push them towards different solutions for cluster lifecycle management.
See: https://github.com/rancher/gke-operator/issues/135
PR's
https://github.com/rancher/gke-operator/pull/251

This will need to be fixed with the install of the cluster agent as part of this: https://github.com/rancher/rancher/issues/39052

@rancher/ui Please add to Rancher UI for GKE create new option Autopilot. It should be added Cluster Options after enabling it. Adding Node pools should be switched off. Please let me know if you have more question.
Example manifest you can find in examples/cluster-autopilot.yaml

@mjura Thanks for raising this improvement. If the requirement is from a customer please can you open a JIRA for it, otherwise can you create an issue over at rancher/dashboard?

@mjura & @kkaempf as @richard-cox noted, feature requests need to go through Product for prioritization since we have an existing list from them that are already scheduled.

@davidstauffer please create a respective JIRA and ping me again

Bumping comment. At the moment the UI changes are not in scope for 2.9.0

Since multiple tickets around this feature are in place, the latest is:

UI have tried to look at this for 2.9.0 in the end but are blocked.
Highlander also blocked and need Hostbusters help in https://github.com/rancher/rancher/issues/39052


Implement ToA to test validation data

The validation data for landsat uses level-1 images, so if I want to test it, I have to implement ToA to normalize the images.

I found a work around for this: i will download both the reference images and target images from SentinelHub, which allows to download Level-2 data. Thus, normalization is not required.


feat: Config and log management workflows

Proposed changes
Update the log and config operations so those can be used by the workflow system,
enabling the ability to trigger a log or config update as a sub operation.

[x] Make log and config message types similar to those used for the workflows
[x] Dynamically register Restart operation
[x] Dynamically register Software operations
[x] Make the LogManagerActor acting on LogUploadCmd instead of MqttMessage
[x] Make the ConfigManagerActor acting on ConfigSnapshotCmd  & ConfigUpdateCmd instead of MqttMessage
[x] Enable log operation workflows
[x] Enable config operation workflows
[ ] Add system tests checking that LogUpload, ConfigSnapshot and ConfigUpdate can be triggered as sub operations
[ ] Add system tests checking that LogUpload, ConfigSnapshot and ConfigUpdate workflows can be overridden

Types of changes

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
[ ] Documentation Update (if none of the other choices apply)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Paste Link to the issue
https://github.com/thin-edge/thin-edge.io/issues/2836
Checklist

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA (in all commits with git commit -s)
[x] I ran cargo fmt as mentioned in CODING_GUIDELINES
[x] I used cargo clippy as mentioned in CODING_GUIDELINES
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments

I finally understood why all the system tests related to config update are failing.
The ConfigManagerActor is not autonomous: one of the step of a config update command is handled by the FileCacheActor.
The interactions between these two actors are done over MQTT, bypassing the workflow actor that uses in-memory channels.

On reception of a config update command, the ConfigManagerActor move this request to the executing state.
The FileCacheActor reacts to config update commands in the executing state, downloads the remote file and makes it locally available.
When the file is ready for local download, the FileCacheActor re-publishes the config update state message with an extra tedgeUrl field.
The ConfigManagerActor then proceeds using the tedgeUrl field instead of the former remoteUrl.

Three points in the current implementation prevent the workflow system to handle config update operations:

When the FileCacheActor re-publishes the config update state, the status is unchanged leading to two executing messages in a row.

The first executing message is published by ConfigManagerActor
The second is published by the FileCacheActor with an extra tedgeUrl field.
The ConfigManagerActor is aware of that trick
and ignores the first message.
But the actor workflow cannot behave differently on these two messages as the action is solely determined by the command status.
=> One needs to introduce a specific state for a config update command which config file has been locally downloaded.

Currently, the workflow system assumes that a single actor handles all the built-in steps of an operation.

This means that the state changes sent by the built-in actor over an in-memory channel are published over MQTT by the workflow system,
but the state changes notified over MQTT are not pushed to the built-in actor
(that is supposed to be the source and not a consumer of these messages).
This is what breaks all the system tests related to config update:
the messages with the extra tedgeUrl field are never transmitted to the ConfigManagerActor.

Using MQTT for the interactions between the ConfigManagerActor and the FileCacheActor is mandatory.

Indeed, the ConfigManagerActor might be running on a child device, while the FileCacheActor is running on the main device.
=> One can improve the workflow system with an action telling to await for an update over MQTT.
Here:

the ConfigManagerActor moves the command to executing with an action wait-mqtt-update,
the FileCacheActor downloads the file and moves the command to downloaded,
the workflow actor (being in a wait-mqtt-update for that command) processes the FileCacheActors response.
and the action for the downloaded state being configured to built-in,
the workflow actor forward the FileCacheActors response to the ConfigManagerActor.

That said, I wonder to have a FileCacheActor that is too config-update specific. I will take some time to explore alternative solutions.


Multiple files handler for the "reduce-indents"

Hi,
I am using cssnano with webpack and reactJS and I faced to an issue :
I had 2 different stylesheets linked to the top of 2 components. The first one requires the second so webpack merged the CSS.
I have keyframes in both of my stylesheets but when the output is created, cssnano uglifies the keyframe names. So on the first file I get a keyframe a, and on the second file a keyframe a also (which overrides the first one.
Did you have this kind of problem ?
Here is my conf :
import autoprefixer from 'autoprefixer';
import cssnano from 'cssnano';
import vars from 'postcss-simple-vars';
import calc from 'postcss-calc';
import nest from 'postcss-nested';
import ExtractTextPlugin from 'extract-text-webpack-plugin';

import variables from './variables';

const conf = {
    entry: {
        stage: [
            'webpack/hot/only-dev-server',
            'webpack-dev-server/client?http://localhost:8080',
            './js/stage.js'
        ]
    },
    output: {
        publicPath: 'http://localhost:8080/',
        filename: 'public/[name].js'
    },
    module: {
        loaders: [
            {
                test: /\.js$/,
                loaders: ['react-hot', 'jsx', 'babel?stage=0'],
                exclude: /node_modules/
            },
            {
                test: /\.css$/,
                loader: ExtractTextPlugin.extract('style', 'css!postcss')
            },
            { test: /\.png$/, loader: "url-loader?limit=100000" },
            { test: /\.jpg$/, loader: "file-loader" }
        ]
    },
    plugins: [ new ExtractTextPlugin('css/app.css', {
            allChunks: true
    }) ],
    postcss() {
        return [
            vars({ variables : variables }),
            calc,
            nest,
            autoprefixer({ browsers: ['last 2 versions'] }),
            cssnano
        ];
    }
};

export default conf;

I probably should have posted on this plugin actually : https://github.com/ben-eb/postcss-reduce-idents

Duplicate of https://github.com/ben-eb/postcss-reduce-idents/issues/5.


fix: reject pending offers

I was able to reject an old unacceptable sub channel offer with this, however, I was then in a broken state. See here: #1761

@bonomat is there anything left on this PR or can we get it merged?

@bonomat is there anything left on this PR or can we get it merged?

I thought I had pushed the fix for your last comment 🙈

@holzeis : I'm going ahead and merge this with my last fix.


WebdriverIO: moveCursorTo throws error

What are you trying to achieve?
Moving cursor to an element in firefox 58.0.2 using webdriverio helper
What do you get instead?
Test fails due to: An unknown server-side error occurred while processing the command. (UnknownError:undefined)

Provide console output if related. Use --verbose mode for more details.

# paste output here
CodeceptJS v1.1.4
Using test root "/Users/ddemicco/git/box-content-preview"

File Options --
   [1] Starting recording promises
   Emitted | suite.before ([object Object])
   [1] Queued | hook WebDriverIO._beforeSuite()
 test @test
   Emitted | test.before
   [1] Queued | hook WebDriverIO._before()
   Emitted | hook.start ([object Object])
   Emitted | step.before (I am on page "/functional-tests/file-options.html")
   [1] Queued | hook WebDriverIO._beforeStep()
   [1] Queued | amOnPage: "/functional-tests/file-options.html"
   Emitted | step.after (I am on page "/functional-tests/file-options.html")
   [1] Queued | hook WebDriverIO._afterStep()
   [1] Queued | step passed
   [1] Queued | return result
   Emitted | step.before (I wait for element ".bp-loaded")
   [1] Queued | hook WebDriverIO._beforeStep()
   [1] Queued | waitForElement: ".bp-loaded"
   Emitted | step.after (I wait for element ".bp-loaded")
   [1] Queued | hook WebDriverIO._afterStep()
   [1] Queued | step passed
   [1] Queued | return result
   Emitted | step.before (I wait for element ".bp-default-logo")
   [1] Queued | hook WebDriverIO._beforeStep()
   [1] Queued | waitForElement: ".bp-default-logo"
   Emitted | step.after (I wait for element ".bp-default-logo")
   [1] Queued | hook WebDriverIO._afterStep()
   [1] Queued | step passed
   [1] Queued | return result
   [1] Queued | fire hook.passed
   [1] Queued | finish before hook
   Emitted | step.start (I am on page "/functional-tests/file-options.html")
 • I am on page "/functional-tests/file-options.html"
   Emitted | step.passed (I am on page "/functional-tests/file-options.html")
   Step finished in 1.077 sec
   Emitted | step.start (I wait for element ".bp-loaded")
 • I wait for element ".bp-loaded"
   Emitted | step.passed (I wait for element ".bp-loaded")
   Step finished in 1.118 sec
   Emitted | step.start (I wait for element ".bp-default-logo")
 • I wait for element ".bp-default-logo"
   Emitted | step.passed (I wait for element ".bp-default-logo")
   Step finished in 0.02 sec
   Emitted | hook.passed ([object Object])
   Emitted | test.start ([object Object])
   Emitted | step.before (I move cursor to ".bp-default-logo")
   [1] Queued | hook WebDriverIO._beforeStep()
   [1] Queued | moveCursorTo: ".bp-default-logo"
   Emitted | step.after (I move cursor to ".bp-default-logo")
   [1] Queued | hook WebDriverIO._afterStep()
   [1] Queued | step passed
   [1] Queued | return result
   [1] Queued | fire test.passed
   [1] Queued | finish test
   Emitted | step.start (I move cursor to ".bp-default-logo")
 • I move cursor to ".bp-default-logo"
 > [SmartWait (90000ms)] Locating .bp-default-logo in 90000
   [1] Error | Error: An unknown server-side error occurred while processing the command. (UnknownError:undefined)
   Emitted | step.failed (I move cursor to ".bp-default-logo")
   Step finished in 0.075 sec
   [1] Error | Error: An unknown server-side error occurred while processing the command. (UnknownError:undefined)
   [1] Starting <teardown> session
   Emitted | test.failed ([object Object])
   [1] <teardown> Queued | hook WebDriverIO._failed()
   [1] <teardown> Queued | () => done(err)
   [1] <teardown> Stopping recording promises
 > Screenshot has been saved to<EMAIL_ADDRESS> ✖ FAILED in 421ms

   [2] Starting recording promises
   Emitted | test.after
   [2] Queued | hook WebDriverIO._after()
   Emitted | suite.after ([object Object])
   [2] Queued | hook WebDriverIO._afterSuite()

-- FAILURES:

  1) File Options
       test @test:
     An unknown server-side error occurred while processing the command. (UnknownError:undefined)

  Scenario Steps:

  - I.moveCursorTo(".bp-default-logo") at Test.Scenario (functional-tests/fileOptions_test.js:20:7)

  Error: An unknown server-side error occurred while processing the command. (UnknownError:undefined)
      at new RuntimeError (node_modules/webdriverio/build/lib/utils/ErrorHandler.js:144:12)
      at Request._callback (node_modules/webdriverio/build/lib/utils/RequestHandler.js:313:39)
      at Request.self.callback (node_modules/request/request.js:186:22)
      at Request.<anonymous> (node_modules/request/request.js:1163:10)
      at IncomingMessage.<anonymous> (node_modules/request/request.js:1085:12)

  FAIL  | 0 passed, 1 failed   // 5s
   Emitted | global.result ([object Object])
   [2] Queued | hook WebDriverIO._finishTest()

Provide test source code if related

// paste test
Scenario("test @test", (I) => {
    I.moveCursorTo('.bp-default-logo'); // move focus to make nav dissappear
})

Details

CodeceptJS version: v1.1.4
NodeJS Version: v8.9.4
Operating System: osx 10.12.6
Protractor || WebDriverIO || Nightmare version (if related): webdriverIO 4.10.2
Configuration file:

# paste suite config here
{
  "tests": "./functional-tests/*_test.js",
  "timeout": 10000,
  "output": "./output",
  "helpers": {
    "WebDriverIO": {
      "url": "http://localhost:8000",
      "browser": "firefox"
    }
  },
  "include": {},
  "bootstrap": false,
  "mocha": {},
  "name": "box-content-preview"
}

I am guessing this is a selenium error, but hoping for some work arounds

Yeah I have a feeling that it is a gecko issue. Have a look here
The WebDriverIO helper uses moveTo at the moment, and that api is marked as deprecated, though I'm not yet 100% sure what is replacing it. I'll have a dig around.

Thanks for the quick response @reubenmiller! Is there any workarounds you can think of in the meantime to simulate mouse movement?

You can always switch browser. It seems to be fine in chrome. Or you can use the Puppeteer helper (again only chrome).

It looks like webdriverio is migrating some of the api like moveTo, rightClick to something called actions. I haven't tried it out yet but hopefully it works in firefox, chrome and safari...

Hmm, ok well thats unfortunate that its broken, hopefully it gets fixed soon.
I found a workaround for my problem. I just needed to trigger a mousemove event, so I used I.executeScript to trigger one manually

Just looked into it, the implementation of code that moves the cursor around would indeed need to be rewritten to make use of the already mentioned Actions API. As it is part of the standard, I would expect this to work with other browsers as well as long as it's implemented properly there as well.


Button not showing / Muting block breaking sounds

When i equip this mod, sometimes the option to change the sounds doesnt show up whatsoever, and every time i equip it, all of the block breaking sounds are muted regardless of what i break

Throwing my two cents in on this as well. It's shame because it seems like such a handy QoL mod.

I do have the button.
But the sounds from the base game are muted with no way to fix it from what I can tell. I hope this can be fixed because hooowee some of the horror mods I play with are loud as sin.