test: add code coverage

Changes Unknown when pulling 5b5982a6591452f168ffcd8d50ba32d6e9fd4db5 on feature/code-coverage into ** on master**.

Changes Unknown when pulling 0fea908e3928cbad761c97c71cad5433ba6424db on feature/code-coverage into ** on master**.


Install error with MacOS using conda with python 3.10 and 3.8

Hey all, I'm attempting to install nmslib without success. I'm on macOS Sonoma 14.1.1 MacBook intel graphics card. I'm using a conda environment and python 3.10.
I'm getting an error at the building wheels for nmslib step.  It appears that this is what's causing it (I've put the whole error at the bottom):
clang: error: the clang compiler does not support -march=native
error: command '/usr/bin/clang' failed with exit code 1'
I've attempted to run it with python 3.8 and still get the error.
I've also tried  pip install --no-binary :all: nmslib without success.
Here's complete error using --verbose:
Install.Error.txt

Hi @applesandbeer is it Intel or M1 CPU?

Hey searchivarius, it’s intel.


fix: FilePermission type

Types

[x] 🐛 Bug Fixes

Background or solution
Changelog

Codecov Report

Merging #590 (76af163) into main (f249eb5) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #590      +/-   ##
==========================================
- Coverage   59.10%   59.10%   -0.01%
==========================================
  Files        1207     1207
  Lines       74402    74402
  Branches    15436    15436
==========================================
- Hits        43978    43973       -5
- Misses      27736    27741       +5
  Partials     2688     2688

Impacted Files
Coverage Δ

packages/core-node/src/bootstrap/shell-path.ts
82.14% <0.00%> (-3.58%)
:arrow_down:

...ages/file-service/src/node/file-service-watcher.ts
71.18% <0.00%> (-1.70%)
: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 f249eb5...76af163. Read the comment docs.


Set filter and map to use build in funcs

Coverage increased (+0.02%) to 94.879% when pulling 5bf200888809b1bc946e813e29460f204bccd13e on sergiors:master into 70efc624dd03d29803c381760e030bb7a9848e97 on jackfirth:master.

Coverage increased (+0.02%) to 94.879% when pulling 5bf200888809b1bc946e813e29460f204bccd13e on sergiors:master into 70efc624dd03d29803c381760e030bb7a9848e97 on jackfirth:master.

What's the advantage of reusing the built-in ones?

The project do not be responsible for those implementations. I think the better way to code is when you avoid to code.

They're one-liners, and the builtin ones aren't an exact match anyway since they return generators instead of lists. I don't think this is worth the effort.


Upgrading from 0.3.0 to 0.4.0-rc1 creates two sets of pod/svclb-traefik

Version - upgrading 0.3.0 to 0.4.0-rc1
Describe the bug
Another set of pod/svclb-traefik gets created on upgrade
To Reproduce

Install and run k3s version v0.3.0
Stop the k3s service and upgrade to 0.4.0-rc1

Screenshots

Expected behavior


MTL-2209 Change default socket buffer size from 256M to 16M

Summary and Scope
There is a bug in "weave" where it does not drain packets from the UDP sockets that it creates for each peer, thus tying up system memory.  And because this is not a STREAM socket, the actual memory consumed is more than the 256M of user data, it is roughly 1.5 times, or about 384MB per UDP socket.  This is an N^2 issue, so for a 40 node system management cluster there will be over 500GB of memory tied up in these sockets across the system.
The mitigation is to reduce the default socket buffer size from 256MB to 16MB, which is still more than enough.  The maximum socket buffer size is left at 256MB, so individual applications can still use larger sizes if they really need to.
In general, for a TCP connection, to maintain full speed throughput and be able to sustain one packet loss per RTT, you need twice the delaybandwidth for the socket buffer.  To sustain 2 losses/RTT, three times the delaybandwith.
Our systems internally have sub-millisecond RTTs, so even at 10Gbit/sec with 2 packet losses per RTT, you'd still only need less than a 4MB buffer to sustain full throughput.

Fixes: MTL-2209

Issue Type

Bugfix Pull Request

Prerequisites

[x] I have included documentation in my PR (or it is not required) -- (not required)
[ ] I have tested this by building an image using this branch HEAD, or this is does not pertain to the node-images pipeline.
[ ] I tested this on internal system or this pertains to the node-images pipeline (if yes and not build related, please include results or a description of the test)
[ ] I tested this on a vshasta system or this pertains to the node-images pipeline (if yes and not build related, please include results or a description of the test)

Idempotency
The change was manually applied to mug and the weave pods restarted.  Running ss | grep udp shows that the sockets are now maxing out with 16MB of data instead of 256MB of data.
Risks and Mitigations
This should be low risk.  This same change has been running on Mercury systems since last fall.

This is my first PR here, after approval and the checks pass, who normally does the merge?  The PR submitter or one of the reviewers?  I can push the button, but want verification before doing so.


Chemical.Components.Substance.substanceData only shows "incompressible" substances

It looks to me like there is a bug in the contrainedby condition. When one uses Chemical.Components.Substance the drop-down list (in Dymola) of substanceData will only list substances that are of type Chemical.Interfaces.Incompressible.SubstanceData but none of type Chemical.Interfaces.IdealGas.SubstanceData.
The problem is most likely caused by the implementation in:
https://github.com/MarekMatejak/Chemical/blob/dd9375a3a90dec99bbd45217d7323dfb7d4ca68c/Chemical/package.mo#L2502-L2509

It is an error in Dymola GUI, which is not dynamical enough to change this drop-down list with change of replaceable package in the same user dialog, isn't it? Ignoring this drop-down list and writing directly the name of substance in another state of matter should work.

Relying on choicesAllMatchin = true without specifying a restricting base is quite dangerous since Dymola (I think) is using some heuristics here. Of course manual entering the substance class names works but is very cumbersome.
Have you ever thought about implementing the substances as simple records that extend a base record class?  This would in addition give the benefit of substances to be "clickable" which is not possible when defined as constants in a package.

I do not understand why is "choicesAllMatchin = true" cannot be used using record type definition form replaceable package. In my opinion the type of parameter such as  "stateOfMatter.SubstanceData substanceData" should be well defined always if "stateOfMatter" is set to an existing package. E.g. if the replaceable package is set to "stateOfMatter = Chemical.Interfaces.IdealGas" then type "stateOfMatter.SubstanceData" should be "Chemical.Interfaces.IdealGas.SubstanceData", not "Chemical.Interfaces.Incompressible.SubstanceData".
I feel that using base record type for definition of the "substanceData" parameter allows users to set here also substance data, which are not compatible with "stateOfMatter". Specific substance data need to be always compatible with the specific state of matter. This comes from definitions of the substance in physical chemistry, where e.g. water in liquid state is different substance as water in solid state.

So I played a bit around. And you are probably right that is seems to be simply a shortcoming of Dymola's parameter dialogue that does not take into account modifications of the package and hence only displays matching choices for the default record type. Perhaps a future version will do this. I probably would leave this issue open until it is either confirmed to be a sole tool issue or a workaround can be found.

So I played a bit around. And you are probably right that is seems to be simply a shortcoming of Dymola's parameter dialogue that does not take into account modifications of the package and hence only displays matching choices for the default record type. Perhaps a future version will do this. I probably would leave this issue open until it is either confirmed to be a sole tool issue or a workaround can be found.

We will try to correct this.
Note that choicesAllMatching is only standarized for replaceable elements, and this parameter-record case was added later in Dymola.
For replaceable elements this issue does not occur, since the constraining class must be transitively non-replaceable - section 6.2.1 and 7.1.4 in Modelica 3.4 spec.


looping-through-arrays.js solution bug?

I'm pretty sure I've got the looping through arrays code right, but I'm getting this error (there's no way the solution is supposed to be 45 if we're trying to get the array values to be plural, right?)
$ javascripting verify looping-through-arrays.js
-------------------
# O-oh, something isn't working.

# But don't panic!

-------------------
## Check your solution:

Solution
===================

45

Your Attempt
===================

[ 'cats', 'dogs', 'rats' ]

Difference
===================

[ 'cats', 'dogs', 'rats' ]45

My code was:
File: looping-through-arrays.js

var pets = ['cat', 'dog', 'rat'];
for (var i = 0; i < 3; i++) {
  pets[i] = pets[i] + 's';
}
console.log(pets);

Am I crazy? Possibly crazy.

What is your $ javascripting selected result?
I think maybe you are not doing 'ACCESSING ARRAY VALUES'.

I'm going to close this, if you're still having the same issue, reopen :)

Your code worked perfectly. Check that you are on the right lesson. I've done the same thing but on a different lesson >.<


Strange behavior of Collection for during debugging

My environment:

Dart SDK Version:  Dart SDK version: 2.10.4 (stable) (Wed Nov 11 13:35:58 2020 +0100) on "linux_x64"
OS System: Linux Mint 19.3 Tricia
IDE: Android Studio 4.1.1

I can rewrite this code:
    feed.articles = [
      for (var item in articleItems)
        Article(
          item.title,
          item.description,
          item.link,
          item?.enclosure?.url ?? defaultImageUrl,
          item.pubDate,
        )
    ];

to this code:
    int maxIteration = 30;
    feed.articles = [
      for (var i; i < maxIteration; i++)
        Article(
          articleItems[i].title,
          articleItems[i].description,
          articleItems[i].link,
          articleItems[i]?.enclosure?.url ?? defaultImageUrl,
          articleItems[i].pubDate,
        )
    ];

without any compilation or runtime errors/exceptions but VM machine during running for cycle probably think that maxIteration is List with zero size which is strange behavior..
More you can see in the screenshots:

//cc @bkonyi is this an issue with vm service or the debug tool?

//cc @bkonyi is this an issue with vm service or the debug tool?

Looks like an Intellij issue. The code that's highlighted in the second screenshot is actually feed.articles, which is known the be a list, so I'm 99% sure we're displaying that object. If you look in the inspector at the bottom, maxArticlesNum is 30, as expected.

Looks like an Intellij issue. The code that's highlighted in the second screenshot is actually feed.articles, which is known the be a list, so I'm 99% sure we're displaying that object. If you look in the inspector at the bottom, maxArticlesNum is 30, as expected.


Add missing license file

/cc @mrjoro
This prevents GitHub from considering the repository as properly licensed.

/cc @jeffjose and @philkrie as the collaborators on this repo as FYI
/cc @cramforce and @pbakaus for whether the Copyright notice in the license is correct.

LGTM from my side.


Issues with firefox, not loading correctly

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
...

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Software:

Platform (esp8266, esp32)
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

It seams that the issues was a security tool in firefox that blocked the needed scripts for the UI to work. Updated documentation with more information on this topic.


Alerting support

At the moment alerting is not supported on this datasource.
I would be really interesting to have alerting working for this datasource.
I would allow for alerts on timeshifted data. so when some data falls 20% below the amount of last week the alert is triggered.
Thanks,

At the moment alerting is not supported on this datasource.
I would be really interesting to have alerting working for this datasource. I would allow for alerts on timeshifted data. so when some data falls 20% below the amount of last week the alert is triggered.
Thanks,

Yep thanks for your suggestion, I get it. Maybe I need a few days to work on it when free.


Monlog v2 support

Is there any reason why this shouldn't work with monolog v2?
I'd like to use this module with Magento, but they're still locked to v2.7

I chose to support v3 only for maintainability. Also, I use some PHP features that are not supported on some v2 installations (like the use of enum) due to old PHP versions. The biggest change from v2 to v3 is the use of the LogRecord object instead of array, so I will have to maintain both old and new data models, and most likely drop some of the newer PHP features.
I am not saying that it should not support v2. But right now I don't have time to develop and test v2 support. However, feel free to create a PR with this functionality.

That's fine. Don't worry. It has clearly been considered. Hopefully Magento will update to V3 soon. I'll close this. Just raised on the off chance that it was compatible. But just not present in composer json.


Bug on iPads

Bug Information
Version Number of Plugin: 3.0.1
Device Tested On: iPad mini
Version of VS: 2017 (15.3.1)
Version of Xamarin: <IP_ADDRESS>5
Versions of other things you are using: Xamarin.Forms v. <IP_ADDRESS>7
Steps to reproduce the Behavior
Choose a picture on an iPad with popover
Expected Behavior
I expected the app to show up a prompt, where the user can enter a filename for the currently selected file
Actual Behavior
I choose the picture, but nothing else happens
I was looking in the code, and I think it has to do with this line in MediaImplementation.cs in the Media.Plugin.iOS namespace
if (popover != null)

On line 254
As popover is never declared, it will always be false, so it has to be either
if (ndelegate.Popover!= null)
{
   ndelegate.Popover.Dispose();
   ndelegate.Popover= null;
}

On line 254 - 258 or
ndelegate.Popover = popover = new UIPopoverController(picker);

On line 239

This doesn't actually cause any issues at all looking through the original code:
https://github.com/xamarin/Xamarin.Mobile/blob/master/MonoTouch/Xamarin.Mobile/Media/MediaPicker.cs
I don't know what you mean by entering a name at all as your expected behavior.

When the user has choosen a picture, the app asks the user for a filename for the new file (before it is uploaded). The prompt is shown based on Acr.UserDialogs and works fine other places in the app (also on iPad), but not when the user has choosen a file on iPad (it works fine on iPhone)

You need to give me a sample to reproduce.


Flask test_client retaining lock on files, preventing os.remove() on Windows

Expected Behavior
Given the barest possible flask app (See this repo for full example: https://github.com/andymantell/flask-test-client-sendfile-lock)
from flask import Flask

app = Flask(__name__)

if __name__ == "__main__":
    app.run()

And the following test script:
import os
from app import app

test_client = app.test_client()

filename = 'static/test.txt'
with open(filename, 'w+') as file:
    file.write('Hello')

response = test_client.get('/static/test.txt')

response_data = response.data.decode('utf-8')
assert response_data == 'Hello'

os.remove(filename)  # This throws an exception on windows, claiming that the file is busy

I would expect that the file /static/test.txt will be created, requested from the test_client, and then removed again. And indeed this is what happens on Linux.
Actual Behavior
On Windows, the os.remove line throws an exception saying that the file is busy. It appears as if something inside the test client is locking the file.
If I switch to requests.get and fetch /static/test.txt over http instead of through the test client, the error does not occur, the file is not locked, and Windows successfully deletes the file.
(env) C:\projects\flask-test-client-sendfile-lock-master>python test.py
Traceback (most recent call last):
  File "test.py", line 15, in <module>
    os.remove(filename)  # This throws an exception on windows, claiming
 that the file is busy
PermissionError: [WinError 32] The process cannot access the file because it is
being used by another process: 'static/test.txt'

Environment

Windows 7
Python version: 3.4
Flask version: 0.12
Werkzeug version: 0.7

The example you've shown here doesn't pass the file to the test client at any time. It's not demonstrating an issue with Flask.

The example you've shown here doesn't pass the file to the test client at any time. It's not demonstrating an issue with Flask.

@davidism Not sure where this comment went, it arrived in my email but I can't find it here?
At any rate, I think it is flask related? The file gets written to disk and then Flask reads it before sending it. When I hit a "real" flask app via requests.get the behaviour doesn't occur.
I've been thinking about this a bit and wondered - when does Flask actually close the file again? I can see it get opened inside send_file but without knowing more about Flask's internals I'm not sure where it gets closed.
Is there something extra that I need to call, to tear down something more? Perhaps this isn't a bug with Flask, and it's more that I'm using it wrong?

I deleted it because I realized the static route is what's loading it, not your code. You're still hitting the real app with the test client, the difference is the client not the app. Werkzeug closes open files after the request is over. This should be reported against Werkzeug, Flask isn't doing anything different here.

@davidism Ah ok fair enough. I'll have a peep in werkzeug on Monday and see if I can work out what might be going on. Thanks very much


Added "colorpicker-move" event

Add a new event to get color name and value when mouse move.

+1 but I added below line 404
      function mousemove(event) {
        emitEvent('colorpicker-mousemove');
        var
            left = Slider.getLeftPosition(event),
            top = Slider.getTopPosition(event),
            slider = Slider.getSlider();

Closing because I have not worked with Angular anymore for the last 4 years.


[add] Vim v8.2.2000 version in ci

I added v8.2.2000' s vim version in GitHub actions.

@chrisbra
Could I merged this patch?

sure, please go ahead.
On Mo, 12 Jul 2021, IK wrote:

@chrisbra
Could I merged this patch?

Liebe Grüße
Christian
Fanatismus besteht im Verdoppeln der Anstrengung, wenn das Ziel
vergessen ist.
-- George de Santayana

I merged this patch.
Thanks for your reply.


Update OnboardingRequest contract

Rename Country to CountryRegion
Rename State to StateProvince

@krystay,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


proposal: bytes: Introduce a FindFirstMultiByteChar API

A relatively common operation in code that's trying to be high-performance when dealing with utf8 strings is to contain an optimized path for when the input is all single-character runes.
Generally to accomplish that, you end up with an API that looks like FindFirstMultiByteChar([]byte) int, for example: https://github.com/ianlopshire/go-fixedwidth/blob/master/decode.go#L166-L175
Having such an API in the Go standard library would be helpful on the basis of utility alone. However, this function also lends itself to a high performance vectorized implementation -- in local tests simply unsafely casting the input to a []uintptr produces roughly linear speedups (presumably even greater speedups are available to brave souls willing to write AVX2 instructions).
As a result of the relative commonality, and the possibility for the stdlib to offer a more optimized implementation than users are likely to write on their own, I think it'd be beneficial to include this in the standard library. If there's interest, I'm happy to provide a patch.

I could see this being in utf8.LeadingASCIICount or something like that, maybe under a better name, but only if it were commonly needed and straightforward to use correctly. I am not sure whether either of those is true. Do you have data about either of those, or even anecdotes about when it would be used?
In general "we know how to implement this function very quickly" is not enough for inclusion in the standard library.

Based on the discussion above, and in particular the lack of compelling use cases, this seems like a likely decline.
Leaving open for a week for final comments.


only allow requests from specific hosts

When using ollama, is there an option to only allow requests from specific hosts?

Traffic management is typically offloaded to a separate service, either a reverse proxy like nginx or litellm, or firewall rules.


Sphinx Python Documentation

Work in progress.
This PR adds a new build target named MaterialXDocsPython, which generates Python API documentation using Sphinx.
The existing developer guide contents are incorporated into the new HTML documentation, which lives side-by-side to the existing Doxygen-generated C++ API documentation.
Docstrings were added to all modules, functions, classes, methods, and attributes.
All parameters were named. None should appear as arg0, arg1, arg2 etc anymore.
Statistics about the Python API have been added to the Sphinx build process.
The Sphinx build output currently ends with the following messages, providing an overview of the state of the API docs:
The MaterialX Python API consists of:
    * 11 modules
    * 48 functions
    * 139 classes
    * 1180 methods
    * 6 exception types

build succeeded.

Docstring example:
$ python3 -c 'import PyMaterialXFormat; help(PyMaterialXFormat.flattenFilenames)'

Help on built-in function flattenFilenames in module PyMaterialXFormat:

flattenFilenames(...) method of builtins.PyCapsule instance
    flattenFilenames(doc: PyMaterialXCore.Document, searchPath: PyMaterialXFormat.FileSearchPath = mx.FileSearchPath(), customResolver: PyMaterialXCore.StringResolver = None) -> None

    Flatten all filenames in the given document, applying string resolvers at
    the scope of each element and removing all fileprefix attributes.

    :param doc: The document to modify.
    :type doc: Document
    :param searchPath: An optional search path for relative to absolute path
        conversion.
    :type searchPath: FileSearchPath
    :param customResolver: An optional custom resolver to apply.
    :type customResolver: StringResolver

Preview of generated HTML pages:

Development environment:

Apple clang version 15.0.0 (clang-15<IP_ADDRESS>)
Python 3.12.0 (v3.12.0:0fb18b02c8, Oct  2 2023, 09:45:56) [Clang 13.0.0 (clang-13<IP_ADDRESS>)] on darwin
Sphinx 7.2.6
cmake version 3.27.6

Update #342

@StefanHabel We'll be holding ASWF Dev Days 2024 on September 26th and 27th, so let us know if you might be interested in following up on this project then!
https://www.aswf.io/dev-days-2024/

@StefanHabel We'll be holding ASWF Dev Days 2024 on September 26th and 27th, so let us know if you might be interested in following up on this project then!
https://www.aswf.io/dev-days-2024/

Absolutely, count me in!
Apologies for putting this on hold for so long.
Looking forward to it!

Thanks for getting this started, @StefanHabel, and I believe we can close out this earlier PR in favor of your recent work in #2038.


[MINOR] Refactoring - boolean constructors, returns, semicolons

Boolean constructor creates new Boolean instances, so follow best
practice of using Boolean.TRUE, Boolean.FALSE, and Boolean.valueOf()
rather than the Boolean constructor. See Boolean constructor javadocs
for more information.
Remove unnecessary return statements
Remove extraneous semicolons

Refer to this link for build results (access rights to CI server needed):
https://sparktc.ibmcloud.com/jenkins/job/SystemML-PullRequestBuilder/1779/


Add: Servus TV Germany

Channel Name
Servus TV Germany
Alternative Names (optional)
No response
Network (optional)
No response
Owners (optional)
No response
Country
DE
Subdivision (optional)
No response
City (optional)
No response
Broadcast Area
c/DE
Languages
deu
Categories (optional)
No response
NSFW
FALSE
Launched (optional)
No response
Closed (optional)
No response
Replaced By (optional)
No response
Website (optional)
No response
Logo
https://images.ctfassets.net/9wbsp34au6cz/308tScJyD09kbg5sb6uOfz/b36e1e25b04e44d72765369866b817fd/5bc9b3b6ef6a7379b57ae286_ServusTV_v3.png?w=350&q=90&fm=webp
Notes
Separate channel to Servus TV (Austria). Think it used to be in database as ServusTVGermany.at and was in the German EPG but seems to have been removed.

Added in https://github.com/iptv-org/database/commit/f1dcaf30f8f97ee7839d8abc9592caf3de1b5b5b


Initial commit of Deprecation sample.

This should not be merged in until the morning of 12/6 and should be coordinated with the publishing of the migration guide and blog post.

Can you provide detail to why this change is proposed?

@grant: this is a new sample app demonstrating how users can replicate the Drive Android API's functionality using the Drive REST API. The Android API is being deprecated and clients will need to migrate. This sample will be linked to from a migration guide, blog posts, and an MSA to help developers with the transition.


added hindi book "C in Hindi" by Kuldeep Chand

What does this PR do?
Add resource
For resources
https://onlineaavedan.com/study_material/1543909480.pdf
Description
"C in Hindi" by Kuldeep Chand added
Why is this valuable (or not)?
Limited resources in hindi in the repo.
How do we know it's really free?
It is publicly available online on a secure website
For book lists, is it a book? For course lists, is it a course? etc.
Yes, it is a book in pdf format
Checklist:

[ ✅] Read our contributing guidelines.
[ ✅] Search for duplicates.
[ ✅] Include author(s) and platform where appropriate.
[ ✅] Put lists in alphabetical order, correct spacing.
[ ✅] Add needed indications (PDF, access notes, under construction).
[ ✅] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Do let me know what I did wrong if this pull request isn't considered. I am new to this.

how do we know the distribution is authorized by the author?

No idea..how do we even get to know that about any book?

look up the author, the listed publisher, etc.


Documentation updates.

Several  quite large updates to the documentation.
Try to simplify the documentation by removing duplication and mirror as much as possible the structure of the source code:

every application has a description in the application section
every module in the simtools directory or every module group (meaning a subdirectory in the simtools directory) is described in the API section.
try and rely as much as possible on Sphinx and if possible do not add text to the rst files (we probably want to improve the module docstrings a bit in future. e.g. describing at top of general.py what this module does.

Main changes:

improved Getting Started section
added Configuration section (replaces Framework section)
improved Application general description
API replaces Library and has been streamlined and completed with all modules / module directories
Auxiliary Files describes what is located in the data directory
Databases: requires a couple of lines by @orelgueta
Simulation Software describes external simulation software used by gammasim-tools (including all the tools)
improved Developer Guidelines
removed all sphinx syntax errors and warning (the integration of all modules produced a couple of new errors)

Remaining errors, @orelgueta can you have a look:
simtools/db_handler.py:docstring of db_handler.DatabaseHandler.copy_documents:19: ERROR: Unexpected indentation.
simtools/db_handler.py:docstring of db_handler.DatabaseHandler.copy_documents:21: WARNING: Block quote ends without a blank line; unexpected unindent.
simtools/db_handler.py:docstring of db_handler.DatabaseHandler.delete_query:18: ERROR: Unexpected indentation.
simtools/db_handler.py:docstring of db_handler.DatabaseHandler.delete_query:20: WARNING: Block quote ends without a blank line; unexpected unindent.

A recommend to checkout this branch, run make html in the docs directory and look at the pages in your browser for this review.
Closes #335
Closes #172
Closes #372

Codecov Report

Merging #406 (1d3d763) into master (da75c06) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #406   +/-   ##
=======================================
  Coverage   78.76%   78.76%
=======================================
  Files          67       67
  Lines        6721     6721
=======================================
  Hits         5294     5294
  Misses       1427     1427

Impacted Files
Coverage Δ

simtools/configuration/configurator.py
70.73% <ø> (ø)

simtools/data_model/workflow_description.py
69.18% <ø> (ø)

simtools/db_handler.py
74.04% <ø> (ø)

simtools/io_handler.py
93.02% <ø> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Hi @VictorBarbosaMartins ; I've answered to your review comments and pushed some minor changes. Could you have another look and especially see if you can re-produce the bullet points things?

Hi @GernotMaier, thanks for addressing the questions raised. I've answered some of the points and since some points are still being discussed, I will wait for one more round of your inputs so we can later approve the PR

@VictorBarbosaMartins  - hope I've addressed all your comments. Let me know if you are happy with it.

What worries me is that I needed to explain to you the documentation. That means it is not well written!

On 22. Nov 2022, at 13:49, Victor Barbosa Martins @.***> wrote:
@VictorBarbosaMartins commented on this pull request.
In docs/source/mc_model.rst:

An interface with the :ref:Model Parameters DB
is provided so the model parameters can be read and exported as configuration
files.

-For the sake of modularity, lower level modules are defined to describe
-sub-elements of the TelescopeModel. At the moment, these modules are
-:ref:mirrors and :ref:camera.
-Array of telescopes is described by the Array Model module (not implemented yet),
-which contains a collection of TelescopeModel's and the array layout.
+Lower level modules are defined to describe sub-elements of the TelescopeModel.
+These modules are mirrors_ and camera_.
Ok, I am convinced now, this is good. thanks for clarifying it
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

What worries me is that I needed to explain to you the documentation. That means it is not well written!
…
On 22. Nov 2022, at 13:49, Victor Barbosa Martins @.> wrote: @VictorBarbosaMartins commented on this pull request. In docs/source/mc_model.rst: > An interface with the :ref:Model Parameters DB is provided so the model parameters can be read and exported as configuration files. -For the sake of modularity, lower level modules are defined to describe -sub-elements of the TelescopeModel. At the moment, these modules are -:ref:mirrors and :ref:camera. - -Array of telescopes is described by the Array Model module (not implemented yet), -which contains a collection of TelescopeModel's and the array layout. - +Lower level modules are defined to describe sub-elements of the TelescopeModel. +These modules are mirrors_ and camera_. Ok, I am convinced now, this is good. thanks for clarifying it — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.>

Don't worry, I read it as a developer and not as a user. Developers are supposed to be picky.
I am now satisfied with the PR, please go ahead and merge it

I added a couple of sentences about the DB, but I have no idea if this is what you had in mind @GernotMaier (in terms of level of detail). Let me know if you want me to expand or anything else.

The sphinx errors from db_handler are fixed now, so from my point of view, we can merge.


Support arguments when defining keybindings

Allow to pass arguments to commands defined in keybindings.json.
/cc @alexandrudima not sure if you have an existing item for this already?

@alexandrudima currently I am not showing args in IntelliSense so this feature is a bit hard to learn as a new user unless you maybe check the documentation. But I also worry that it is such a corner case that it maybe would be advertised too prominently. Any ideas how to make this discoverable?

@bpasero At one point we will migrate to a single move command. ie. cursorLeft, cursorRight, etc. will all point to one command and pass in different args. It shall then become discoverable :)


Support for /canvas

This PR brings support for the /canvas endpoint.
It also gives code formatting with max length set to 79 (standard)

Changes were tested with the normal client
It also contains docs changes which i forgor to give pr before 💀(tested)

you may wanna squash-merge this pr lel

Thanks a lot


I was able to reproduce this on the following layouts: grid, single with or without iframe.
In the reproduction, clicking the button will add a "focus-ring", which is a box-shadow. As you'll probably be able to see, the focus-ring is partly cut off.
Reproduction
https://stackblitz.com/edit/histoire-vue3-starter-hktpv8?file=src/BaseButton.story.vue
System Info
System:
    OS: macOS 13.0
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
    Memory: 974.03 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.14.2 - ~/Library/Caches/fnm_multishells/16781_1666724779748/bin/node
    Yarn: 1.22.15 - ~/Library/Caches/fnm_multishells/16781_1666724779748/bin/yarn
    npm: 8.5.0 - ~/Library/Caches/fnm_multishells/16781_1666724779748/bin/npm
  Browsers:
    Chrome: 106.0.5249.119
    Firefox: 106.0.1
    Firefox Developer Edition: 103.0
    Safari: 16.1
  npmPackages:
    @histoire/plugin-nuxt: ^0.11.5 => 0.11.5
    @histoire/plugin-vue: ^0.11.5 => 0.11.5
    histoire: ^0.11.5 => 0.11.5
    vite: ^3.1.8 => 3.1.8

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
[X] The provided reproduction is a minimal reproducible example of the bug.

It will be hard to properly handle overflowing content from stories, and a story visual should probably always stay within the preview viewport. I would advise adding a padding so content doesn't overflow.

@nhedger I added this to my custom Histoire css so I could see my focus styles/shadows.
.histoire-generic-render-story {
    padding: .5rem;
}

Thanks, I'll try this.

There is not just about shadows
I have noticed there is not just shadows  being cut off, it's the actual component, I have solved the issue with the solution above, but i think will be nice to investigate why is this happening . Look additional captures to see how it behaves with borders and even simple text content. This is the repo if some one would like to take a look , can check out the MainHeadign story for instance (last capture).
A component with borders (No historie.css hack)

A component with borders (historie.css hack enabled)

A h1 being cutt off


Use proto-specific string types. [phab:D586]

Created by zarko at 2015-10-28 21:58:24:

schroederc accepted this revision at 2015-10-28 22:26:59

zarko closed via commit d08b23be93a455ee76964eb5ca7a27db1a19de4f at 2015-10-28 23:27:19


Searchbox directive [ NOT READY TO MERGE]

@juslee , @championswimmer , Please merge #211 , before it .

@aayusharora any idea why the session are not displaying ?

@aayusharora
I am merging this. Please fix the sessions directive in a separate PR then

@championswimmer , will fix it


RobotModel Error during Check Description

Hello !
After running roslaunch go1_description go1_rviz.launch I ran into this; it seems that the legs are not properly transformed:

Here's the output of terminal:
roslaunch go1_description go1_rviz.launch
WARNING: Package name "aliengoZ1_description" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits, underscores, and dashes.
... logging to /home/qy/.ros/log/94a1d190-0927-11ef-bc4d-59786d2fab6a/roslaunch-qy-OMEN-by-HP-Gaming-Laptop-16-wf0xxx-13497.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

WARNING: Package name "aliengoZ1_description" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits, underscores, and dashes.
xacro: in-order processing became default in ROS Melodic. You can drop the option.
started roslaunch server http://qy-OMEN-by-HP-Gaming-Laptop-16-wf0xxx:38597/

SUMMARY
========

PARAMETERS
 * /joint_state_publisher/use_gui: True
 * /robot_description: <?xml version="1....
 * /robot_state_publisher/publish_frequency: 1000.0
 * /rosdistro: noetic
 * /rosversion: 1.16.0

NODES
  /
    joint_state_publisher (joint_state_publisher/joint_state_publisher)
    robot_state_publisher (robot_state_publisher/robot_state_publisher)
    rviz (rviz/rviz)

auto-starting new master
process[master]: started with pid [13567]
ROS_MASTER_URI=http://localhost:11311/

setting /run_id to 94a1d190-0927-11ef-bc4d-59786d2fab6a
WARNING: Package name "aliengoZ1_description" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits, underscores, and dashes.
process[rosout-1]: started with pid [13607]
started core service [/rosout]
process[joint_state_publisher-2]: started with pid [13610]
process[robot_state_publisher-3]: started with pid [13611]
process[rviz-4]: started with pid [13612]
[ INFO] [1714725108.109512976]: rviz version 1.14.20
[ INFO] [1714725108.109564258]: compiled against Qt version 5.15.3
[ INFO] [1714725108.109568947]: compiled against OGRE version 1.9.0 (Ghadamon)
[ INFO] [1714725108.119526296]: Forcing OpenGl version 0.
[ INFO] [1714725108.224752073]: Stereo is NOT SUPPORTED
[ INFO] [1714725108.224836824]: OpenGL device: Mesa Intel(R) Graphics (RPL-S)
[ INFO] [1714725108.224850808]: OpenGl version: 4.6 (GLSL 4.6) limited to GLSL 1.4 on Mesa system.

I've tried apt-get install unicode and I've installed ros-neotic-joint-state-publisher-gui, but none of them worked. Could you please look into this problem? Thank you!

Same thing is happening to me. Have you managed to find a solution?

Same thing is happening to me. Have you managed to find a solution?

Okay, I somehow made it work. I've tried lots of things so I don't know which ones exactly are needed to make it run without problems. I would recommend installing a lot of dependencies of ROS Noetic, more than the ones listed on the readme, and try again. Also, if you have Anaconda/Miniconda installed, deactivate it and don't use any conda environment at all. Also I think you should make sure that the package is built and being executed using Python3 instead of 2.7.
These steps are basically everything I did, and it worked for me. Also I would delete and recreate the full ROS workspace after every major change, just in case.

Thank you @RetroVortex ! I've finally solved this following your suggestions.
Specifically, I rebuilt Noetic from source. Since my system is Ubuntu22, I downloaded these extra packages with:
rosinstall_generator genmsg effort_controllers diagnostics position_controllers controller_interface gazebo_ros_pkgs joint_state_publisher_gui gazebo_ros_control joint_state_controller effort_controllers joint_trajectory_controller move_base slam_gmapping hector_slam map_server global_planner dwa_local_planner --rosdistro noetic --deps --tar > noetic-packages.rosinstall
vcs import --input noetic-packages.rosinstall ./src

I also replaced the urdf and rosconsole packages to be compatible for Ubuntu22:
cd workspace here

# Download and use fix branch
git clone https://github.com/dreuter/rosconsole.git
cd rosconsole
git checkout noetic-jammy
cd ..
mv rosconsole src

git clone https://github.com/dreuter/urdf.git
cd urdf
git checkout set-cxx-version
cd ..
mv urdf src

Then I made sure I was using system-provided python3 by buiding Neotic with ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python3
After rebuilding Neotic ros_unitree worked fine. I think this problem may be primarily caused by incomplete packages of Neotic on Ubuntu22.
Thanks again!


Add deployment docs for new structure and fixed doc issues

Purpose
Move docs to new structure and fix doc migration issues
Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes
Ran FindSecurityBugs plugin and verified report? yes
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes

 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.dnwick 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.


Delegate :empty? to proxy

Without this fix, it was impossible to do something like: favorites.empty? or favorites.blank?

:+1: thanks a lot.

Pushed to Rubygems as 0.1.7


Add log-based alerts for the snapshot service

Issue summary

Follow-up of https://github.com/ChainSafe/forest-iac/pull/354
I had some issues creating a proper alert based on snapshot logs. While the alert condition is met, it is not triggered for some reason. Moving it into a separate issue to unblock infrastructure changes and possibly parallelize work.
Other information and links

Rules that elevated the frustration levels, but should otherwise work fine:
# This file constains NR event rules used to generate metrics from logs, given that
# the service is not generating metrics by itself.
resource "newrelic_events_to_metrics_rule" "generate_snapshot_attempt_metrics" {
  account_id = var.new_relic_account_id
  for_each   = toset(["mainnet", "calibnet"])

  name        = format("%s %s snapshot generation attempts", var.service_name, each.key)
  description = "Snapshot generation attempts"
  nrql        = "From Log select uniqueCount(message) as '${var.service_name}.${each.key}.snapshot_generation_run' WHERE `hostname` = '${var.service_name}' AND filePath ='/root/logs/${each.key}_log.txt' AND message LIKE '%running snapshot export%'"
}

resource "newrelic_events_to_metrics_rule" "generate_snapshot_success_metrics" {
  account_id = var.new_relic_account_id
  for_each   = toset(["mainnet", "calibnet"])

  name        = format("%s %s snapshot generation success", var.service_name, each.key)
  description = "Success snapshot generations"
  nrql        = "From Log select uniqueCount(message) as '${var.service_name}.${each.key}.snapshot_generation_ok' WHERE `hostname` = '${var.service_name}' AND filePath ='/root/logs/${each.key}_log.txt' AND message LIKE '%Snapshot uploaded for%'"
}

resource "newrelic_events_to_metrics_rule" "generate_snapshot_fail_metrics" {
  account_id = var.new_relic_account_id
  for_each   = toset(["mainnet", "calibnet"])

  name        = format("%s %s snapshot generation failure", var.service_name, each.key)
  description = "Failed snapshot generations"
  nrql        = "From Log select uniqueCount(message) as '${var.service_name}.${each.key}.snapshot_generation_fail' WHERE `hostname` = '${var.service_name}' AND filePath ='/root/logs/${each.key}_log.txt' AND message LIKE '%Snapshot upload failed for%'"
}

Leftovers that didn't work as expected. Something must be missing (null values?)
resource "newrelic_nrql_alert_condition" "snapshot_frequency_condition" {
  for_each    = toset(["mainnet", "calibnet"])
  policy_id   = newrelic_alert_policy.alert.id
  type        = "static"
  name        = format("Low snapshot generation frequency - %s", each.key)
  description = "Alert when snapshots are not generated within required time interval"
  enabled     = true

  # evaluation_delay = 7200
  # aggregation_window = 14400
  aggregation_window = 360

  nrql {
    query = format("FROM Metric SELECT count(`${var.service_name}.${each.key}.snapshot_generation_ok`)")
  }

  warning {
    operator  = "below"
    threshold = 1
    # threshold_duration    = 14400
    threshold_duration    = 360
    threshold_occurrences = "ALL"
  }

  critical {
    operator  = "below"
    threshold = 1
    # threshold_duration    = 28800
    threshold_duration    = 720
    threshold_occurrences = "ALL"
  }
}

Forest snapshot service discontinued in favour of the infra snapshot service.


docz dev --port broken in v1

Bug Report
Describe the bug
Running $ docz dev --help shows that I can pass --port or -p to dictate which port the server starts on. However, whenever I pass it something, it isn't honored.
$ docz dev -p 3001

● Docz █████████████████████████ compiling (0%)

events.js:167
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE <IP_ADDRESS>:3000
    at Server.setupListenHandle [as _listen2] (net.js:1286:14)
    at listenInCluster (net.js:1334:12)
    at doListen (net.js:1460:7)
    at process._tickCallback (internal/process/next_tick.js:63:19)
Emitted 'error' event at:
    at emitErrorNT (net.js:1313:8)
    at process._tickCallback (internal/process/next_tick.js:63:19)

To Reproduce
$ docz dev -p 3001
Expected behavior
Honor port flag
Environment
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.6 LTS                                                                                Release:        16.04
Codename:       xenial

$ docz --version
1.3.2

Hello @adam-hanna,
Thanks for reporting this, it looks like a bug in v1.
Did you try updating to v2 : yarn add docz@next ?

ah, no I haven't. I'll try v2, thanks!

I can confirm that the port flag appears to be working on v2, however, now I am hitting a new problem. Please see below:
$ npx create-docz-app docz-bug
$ cd docz-bug
$ yarn add --dev docz@next
$ docz dev --port 3001                                                                                Building app                                                                                yarn run v1.17.3                                                                                $ gatsby develop --port 3001                                                                                /bin/sh: 1: gatsby: not found                                                                                error Command failed with exit code 127.                                                                                info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Can you try running
yarn docz dev --port 3001

instead of
docz dev --port 3001

Confirming that $ yarn docz dev --port 3001 works, thanks!


Update in viewport to use IntersectionObserver

WIP

noticing that bottom tolerance for IntersectionObserver is not being respected.

I suspect that I bricked this stuff with 8c997038979416234685045ba15f91eb38230012 and felt like d0bcf7f226a21361b368011fb3937bf9afdaf8fc made it less severe.
I also tried this, but with position: absolute in order to not add anything to the layout.
https://github.com/offirgolan/ember-light-table/pull/548/commits/07deac2bdbc0bb890443127eadea8ece4763a56d#diff-696281ec0167c1756fc2a44bfc72aba9R67
While making it better, it was still flaky.

Ideally, I would make occlusion rendering the default behavior and remove the non-occlusion mode. Then we could rely exclusively on the vertical-collection actions.
Obviously this will require a major release.

@buschtoens Thanks for the context!  I see your point about not adding more to the layout. What would it take to have occlusion rending the default?
Also just a little more context on this PR.  First thing I noticed was that the scrolling behavior wasn't working correctly.  Perhaps it is working fine in other contexts.  In the demo, the infinity scrolling is now working in Firefox and Chrome with this PR b/c it is using the IntersectionObserver.
Also the virtualScrollBar was doing something funky (calling didInsertElement) twice, and messing with the in-viewport addon.
Lastly, this PR is not working in Safari (using rAF) b/c the scrollBuffer is 500 (> than the height of the scrolling area).  If the scrollBuffer was like 100, this would work across browsers.

@buschtoens Actually I think the big thing I am noticing is that when using IntersectionObserver, there is some timing related problem when triggering onScrolledToBottom + run.debounce.  Lmk what you think of how it reacts with the most recent commit.

I noticed two problems with the demo page (in Chrome 64 on CentOS):

On my 1920x1080 setup, the table height is taller than what the initially loaded rows would fill. Therefore lt-infinity stays in viewport. Previously this would cause another onScrolledToBottom in order to fetch more rows. This doesn't happen any more. You can force another onScrolledToBottom by changing the window size, so that lt-infinity exits and enters again. Then everything is working as expected...

...except for the fact that continuously scrolling down will prevent onScrolledToBottom (or something other down the pipe) from getting called, until the scrolling is stopped. I can scroll down for 30 seconds and longer and see the loading indicator, but the request to mirage is only performed after I stop scrolling.
And the ancient Firefox 52.6 ESR that ships with CentOS doesn't like this one bit. I can't get it to load anything past the first rows. But that's probably just the old Firefox version. Unfortunately I won't be able to test with a current version until this evening.

I've rebased your PR and so far the test for onScrolledToBottom runs consitently without problems :tada: :heavy_check_mark:
https://travis-ci.org/offirgolan/ember-light-table/jobs/368613187#L695

@buschtoens I brought back the onScrolledToBottom test as well.  I'd be curious to hear what scenarios you can dig up that this upgrade doesn't cover (I know you mentioned perhaps browser compat being an issue from your testing).  I tested on latest versions of Firefox, Safari and Chrome.

With the exception of https://github.com/offirgolan/ember-light-table/pull/548#discussion_r182950407 this now works perfectly in Chrome and even the ancient version of Firefox that ships with CentOS. I'll try to get my hands on a Windows machine with IE11.

This fixes a lot of onScrolledToBottom and rendering issues with the latest version of ELT. Can we somehow get this into the next version?

I'm really sorry, this is taking so long. I have my last day at my old job tomorrow and—how could it be any different—are totally swamped with work. I'm moving to a new city on Sunday and will try to.get this in on the drive down there.
I'll give this a quick review tomorrow and push out a pre-release, so you can easily test drive this.

@buschtoens  don't commit and drive, it can be dangerous

@alexander-alvarez Haha, fortunately for me, my boyfriend's driving. :smile:

I tried this out on Chrome, Firefox, and Safari.  It fixes the scrolling to bottom.  However, there are still some improvements we can make.  Perhaps for a later time though if ppl so desire!
It would be great to hear from a few other ppl that this fixes problems/perf for them as well.


Litespeed problem

The Litespeed server enables this topic, and there has been a critical error on this website
Testing nginx is normal, no problem

This situation has never been reported, so you should check it carefully.


add predict functionality

Description
[Describe what this change achieves]
Issues Resolved
[List any issues this PR will resolve]
Check List

[x] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

DCO is missing. Could you please take a look at this?

@plzdoo , can you take latest changes from main? You can reuse iris_index fixture that was recently added.

@plzdoo linting is failing. Can you check this? Please let me know if you are facing any blocker?

@plzdoo , can you pull latest changes from dev?

@plzdoo , can you pull latest changes from dev?
Done

@plzdoo are you working on this?


Added README instructions for Gnome Shell users.

Added README instructions for Gnome Shell users.

Thank you for the patch. I would like you to make small modifications.
I have already gir1.2-appindicator3-0.1 installed on Linux Mint so its probably missing entry on dependencies list. Instead of making long specific description about AppIndicator namespace error please just add package to lists of dependencies in 'apt-get install' line (the one which is already there).
Information about Gnome Shell is more useful. Please just fix shell name ('GNOME Shell' instead of lower letters). You can also change sentence about tested operating systems.


Added missing release notes from D4AWS 17.03.0 release

Signed-off-by: Ken Cochrane<EMAIL_ADDRESS>Proposed changes
Added missing release notes from Docker for AWS 17.03.0 release

CC @FrenchBen

cc @kencochrane

@FrenchBen is there something I need to change?

@kencochrane it seems the release notes for 1.13.1-beta19 never made it - was there any intention to add those?

@hairyhenderson some of the betas are internal only, the internal ones that don't make it public don't have external release notes. The changes in those are usually reflected in later public betas. I'm not 100% that was the case with beta-19, but I'm pretty sure.
Is there something that you see missing?

@kencochrane - oh, I just noticed that there was an upgrade to beta19 at one point and I never saw release notes for it. It's more historical interest at this point. I didn't think it was an internal-only beta because the CFN template was labeled beta19 at the time.
Anyway, as long as nothing's missing, that's fine! 🙂

@johndmulhausen is there any changes you would like to this PR?


fix(service_integration): improve webhooks checks

Adds ServiceIntegration kind SourceProjectName and DestinationProjectName fields
Adds ServiceIntegration fields MaxLength validation
Adds ServiceIntegration validation: multiple user configs cannot be set
Fixes ServiceIntegration, should not require destinationServiceName or sourceEndpointID field
Fixes ServiceIntegration, add missing external_aws_cloudwatch_metrics type config serialization
Updates ServiceIntegration integration type list
Drops ginkgo
Setups webhooks in tests
Fixed race condition in the test suite on Destroy() call

Resolves #366

tests.


Send from parameter as a string to Apollo Studio API

Apollo changed something and sending from as an integer started to break: https://status.apollographql.com/incidents/c5dvk0tbg5bv

It seems that Apollo has reverted this change to their API so I'm going to close this PR.

This seems to have changed/broken again so I'm reopening this PR.

@TypicalFence I am planning to release this today in the next few hours. I just discovered one more small change I need to make first.

@iansu Great, thank you for the quick release.


[vscode-mdx] Default syntax highlighting

Initial checklist

[X] I read the support docs
[X] I read the contributing guide
[X] I agree to follow the code of conduct
[X] I searched issues and couldn’t find anything (or linked relevant results below)

Problem
Is it possible to set a default syntax highlighting for code blocks?
I have something like this in my Docusaurus config:
    prism: {
      theme: lightCodeTheme,
      darkTheme: darkCodeTheme,
      defaultLanguage: 'cpp',
      additionalLanguages: ['cmake', 'powershell'],
    },

So when I have some code block in my MDX document intended by 4 spaces then I would expect automatic highlighting as the cpp code block.
But these code blocks are not correctly cpp highlighted in the vscode editor. 😞
Currently, if I want to have also syntax highlighting in the vscode editor I have to be explicit and I have to provide the  ```cpp tag.
Solution
Would be really helpful to be able to provide a default syntax highlighting to the vscode-mdx extension.
Alternatives
None

Syntax highlighting is handled by a static configuration. It can’t be customized.
Also MDX analyzer uses MDX 2, which no longer supports indented code blocks. (See https://mdxjs.com/docs/what-is-mdx/#markdown)

I recommend being explicit about your code

I'm also an advocate of being explicit but until it disturbs the clarity. I'm going to leave it 4 spaces indented until it works, if it stops working I can easily refactor it although I don't like it very much.
Currently, the docs are very well readable in the raw form, if I add the  ```cpp tags everywhere the raw docs start looking more messy.


Management View

This issue includes:

[x] Items view
[x] Add items view
[x] Delete items view
[x] Edit items view
[x] Access authorization handling
[x] Add pagination

Secondary:

[ ] Add lock icon for private itineraries (even though admins can access them)

Closed with #153


Implement toJSON for Action and History

This allows serialization of history for developer tools. This lets you do:
JSON.stringify(repo.history)
// { size: 3, root: { id: 0, status: 'resolved', payload: true, children: [...] }

This is for:
https://github.com/vigetlabs/microcosm-devtools

Codecov Report

Merging #333 into master will decrease coverage by 0.24%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #333      +/-   ##
==========================================
- Coverage     100%   99.75%   -0.25%
==========================================
  Files          24       24
  Lines         820      822       +2
==========================================
  Hits          820      820
- Misses          0        2       +2

Impacted Files
Coverage Δ

src/action.js
98.8% <0%> (-1.2%)
:arrow_down:

src/history.js
99% <0%> (-1%)
: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 dfe1d0d...aa94605. Read the comment docs.

@efatsi Made a few updates and added some test coverage. I feel like this is probably going to need to change to fit the needs of the dev tools, but it at least illustrates the technique.


Update dependencies 4.12.0

Related to #2583

This is missing: https://github.com/bpmn-io/bpmn-properties-panel/commit/1d151365a28ea872ac10d3ad48f5f7102826b5d9

The commit was released with bpmn-properties-panel v5.2 and integrated here

I will add the missing commits (related to the engines) on a separate PR


Supporting multiple partitions in S3 SigV4 bucket policy. Closes #533

Overview
Leverages self.partition to provide appropriate partition information to the SigV4 bucket policy.
Previous was hard-coded to arn:aws:<snip>.
Testing/Steps taken to ensure quality

unit tests
realtime tests (launched a test in aws-us-gov)

/do-e2e-tests


explicitly install orjson from conda; move some packages from pip to …

…conda

See, I do it too.


Move base image from  adoptopenjdk to eclipse-temurin

https://hub.docker.com/_/adoptopenjdk DEPRECATED

https://hub.docker.com/_/eclipse-temurin/

https://github.com/Quodatum/basex-docker/commit/a8543466cf73eab586cd7aa3be79e9ac4e26b4d0


Where i can change spectate ratio zoom?

Title ^^

gameserver.ini, freeRoamView something like that.

serverSpectatorScale

serverSpectatorScale


UI watch mode that automatically opens/updates panels from external IDE

As a developer using an external IDE (such as VSCode or IntelliJ) in my workflow, I would like a browser mode that automatically opens/updates/closes panels as code is run in a session. I do not the Console, Command History, Log, etc. as those are all in my IDE already.
Desired workflow:

Set up IntelliJ to use a venv with deephaven and deephaven_server installed
a. Create venv locally - python -m venv .venv
b. Under File -> Project Structure -> Platform Settings -> SDKs, selection Python Home Path to be .venv/bin/python
Open up the Python Console and start a server:

from deephaven_server import Server
s = Server(port=10500, jvm_args=["-DAuthHandlers=io.deephaven.auth.AnonymousAuthenticationHandler"])
s.start()

Open a browser to http://localhost:10500/watch (whatever the URL should be ... /watch? /live?). Should be an app with an empty layout (settings accessible etc).
From a Python file in IntelliJ, enter some basic code, then right click and select "Run File in Python Console", e.g.

from deephaven import empty_table
t = empty_table(100).update("x=i")

The table should open up in the browser
Change the code in your file and re-run:

from deephaven import empty_table
t = empty_table(100).update("x=i*2")
t2 = t.update("y=x*i")

The browser should update with the newly created t2, and t should update to show the new value entered.

You can also use pydeephaven to connect to an existing server rather than creating a new one in the Python console. Run this in the Python console first before running any other code:
import code
from pydeephaven import Session

port = 10000
session = Session(port=port)

class Repl(code.InteractiveConsole):
    def runsource(
        self, source: str, filename: str = "<input>", symbol: str = "single"
    ) -> bool:
        session.run_script(source)
        return True

repl = Repl()
repl.interact(banner=f"Connected to Deephaven on port {port}.", exitmsg="Disconnected from Deephaven.")

It will capture the code executed when running "Execute selection in Python console" and run it on the server it is connected to.

You can also use pydeephaven to connect to an existing server rather than creating a new one in the Python console. Run this in the Python console first before running any other code:

We should try wrapping that up in a deephaven server -i or --interactive call.

Open a browser to http://localhost:10500/watch (whatever the URL should be ... /watch? /live?). Should be an app with an empty layout (settings accessible etc).

Think it should be a special page or just something that a regular console does? Auto open panels executed from anywhere? I thought nate's old console branch did that.

exectuted commands could also write back iframe urls or something each element:
>>> a = empty_table...
>>> b = ....
a  , b

You can also use pydeephaven to connect to an existing server rather than creating a new one in the Python console.
We should try wrapping that up in a deephaven server -i or --interactive call.

deephaven server starts up a new server, whereas this would be using pydeephaven to connect to an existing server... more importantly, we need to run that in the Python console that IntelliJ opens, so we can't wrap it with a CLI call necessarily. But yes, it would be nice if there was something in pydeephaven perhaps that did that, e.g.
from pydeephaven import start_repl
start_repl(port=10000, ...)

For enterprise I wonder if we can support an authenticated version too?

For Enterprise, we'd be looking at using the session manager: https://deephaven.io/enterprise/docs/coreplus/coreplus-python-client/
I didn't bother trying an example for that yet, but you should be able to do the same. Annoying to have to remember which to use/where, and the syntax being different for these ways to connect. Maybe could shorten it to something like:
from deephaven_enterprise.client import start_repl
start_repl(connection_info="https://deephaven-host:8000/iris/connection.json", key="...", options={...})

Depending on how this is implemented, this might also take care of #1924


Newlines in prompts on HuggingFace inference

Hi,
I am using the DIAL-BART0 model on HuggingFace inference API for intent detection.
I have tried the suggested prompt as follows, sent as a json file:
"{"inputs": "Instruction: What is the intent of the response\n\nInput: [CONTEXT] [RESPONSE] please move the car [ENDOFDIALOGUE] [OPTIONS] move car, change speed [QUESTION] The intent of the response is"}"
and the service returns:
"[{"generated_text":"Please move car, change speed"}]"
When changing "\n" to "\r\n", everything is OK and get the expected output. I have tried several test cases and the model consistenly has better performance with "\r\n" instead of "\n". Has the model been trained with Windows style newlines?
It is really strange this bevaiour, took some time to figure it out. The results are the same if I use a Windows or a Linux machine to call the HF endpoint.
Thanks,
Traian

I'm sorry for not getting back to you sooner.
Please note that for classification options, you need to use the |||| token as the separator, you in this example you need to input "...[OPTIONS] move car||||change speed [QUESTION]..." I tried this with both types of line endings and it works for both.
The line endings used after the "Instructions..." are indeed windows style in most tasks. The model is sensitive to formatting (as evident from the separator token issue), and even incorrect spaces can lead to poor results.
In any case, thanks for the interesting observation and for bringing this to my notice!


insert() fixed on Android 10 and new SQLCipher version

This commit fix two issues.
First of all, the insert() method was broken on my Pixel 2 XL with the Android 10 update. The convertMapToContentValues() method always returned null. I fixed it by filling the ContentValues explicitly instead of relying on a Parcel. I think this may be a little slower, but at least it works.
I also changed the SQLCipher version to the 4.2.0 to get rid of an annoying log.

I checked the Parcel source code and I didn't understand why it didn't work anymore. However in the end it does what I am doing, but with more steps, so probably the performance may not be worse in my solution, but even a little better.
By reviewing that code I found a way to improve my solutions, therefore I made a new commit. Instead of cycling on the Map keys and then searching in the map for the corresponding value, I am cycling directly on the entries.


LSTM: Training - Error msg - No block overlapping textline:

Loaded 1059/1059 pages (0-1059) of document /tmp/tmp.HeGbXAKgjI/san/san.Santipur_OT_Medium.exp0.lstmf
Error in pixaGetCount: pixa not defined
Error in pixaGetCount: pixa not defined
Bad box coordinates in boxfile string! दि ['ए\\^', 25 सर्व 341 2126 768 2194 44
Loaded 885/885 pages (0-885) of document /tmp/tmp.HeGbXAKgjI/san/san.Uttara.exp0.lstmf
No block overlapping textline: तत्पश्चात् इहैव समरे सौख्यं
No block overlapping textline: द्वाभ्यां न क्षुत्पिपासे अद्यापि
No block overlapping textline: अङ्के तु तस्मै (चेटीं विद्यन्ते
No block overlapping textline: इंचमितो दिने केन कल्कितम् पूजा
Page 31
Page 34
Error in pixaGetCount: pixa not defined
Error in pixaGetCount: pixa not defined
Error in pixaGetCount: pixa not defined
Error in pixaGetCount: pixa not defined
Loaded 914/914 pages (0-914) of document /tmp/tmp.HeGbXAKgjI/san/san.Uttara.exp0.lstmf
Loaded 1096/1096 pages (0-1096) of document /tmp/tmp.HeGbXAKgjI/san/san.Santipur_OT_Medium.exp0.lstmf
Bad box coordinates in boxfile string! दि ['ए\\^', 25 सर्व 341 2126 768 2194 44
Page 35

https://github.com/tesseract-ocr/tesseract/blob/5deebe6c279f70215935c1f86baa7e7016c7f2a7/ccmain/linerec.cpp#L115

Error in pixaGetCount: pixa not defined

https://github.com/DanBloomberg/leptonica/issues/223

Page 3
Loaded 13/13 pages (1-13) of document /tmp/tmp.jX9oLgyrCZ/ara/ara.Traditional_Arabic.exp0.lstmf
No block overlapping textline: سُانَّلا
No block overlapping textline: لَعَجَ يذِلَّا نَوقُتَّتَ مْكُلَّعَلَ مْكُلِبْقَ نْمِ نَيذِلَّاوَ مْكُقَلَخَ يذِلَّا مُكُبَّرَ اودُبُعْا
No block overlapping textline: ىلَعَ انَلْزَّنَ امِمَّ بٍيْرَ فِي مْتُنْكُ نْإِوَ نَومُلَعْتَ مْتُنْأَوَ ادًادَنْأَ لِلَّهِ اولُعَتَجْ لَافَ مْكُلَ
No block overlapping textline: نَادِبْعَ
No block overlapping textline: ينَقِدِاصَ مْتُنْكُ نْإِ للَّهِا نِودُ نْمِ مْكُءَادَهَشُ اوعُدْاوَ هِلِثْمِ نْمِ ةٍرَوسُبِ اوتُأْفَ
No block overlapping textline: نَيرِفِاكَلْلِ
No block overlapping textline: اهَتِتَحْ نْمِ يرِتَجْ تٍانَّجَ مْلَهُ نَّأَ تِالِحَاصَّلا اولُمِعَوَ اونُمَآ نَيذِلَّا رِشِّبَوَ
No block overlapping textline: امَلَّكُ رُاهَنْلْأَا
No block overlapping textline: مْلَهُوَ
No block overlapping textline: لًاثَمَ بَرِضْيَ نْأَ ييِحْتَسْيَ لَا للَّهَا نَّإِ نَودُلِاخَ اهَيفِ مْهُوَ ةٌرَهَّطَمُ جٌاوَزْأَ اهَيفِ
No block overlapping textline: امَ
No block overlapping textline: امَّأَوَ مْبِّهِرَ نْمِ قُّلْحَا هُنَّأَ نَومُلَعْيَفَ اونُمَآ نَيذِلَّا امَّأَفَ اهَقَوْفَ امَفَ ةًضَوعُبَ
No block overlapping textline: نَيذِلَّا
Page 4

The number of errors reduced to a couple

Page 5
Loaded 75/75 pages (1-75) of document /tmp/tmp.ZhCBJPqjME/ara/ara.Traditional_Arabic.exp0.lstmf
No block overlapping textline: _
No block overlapping textline: :: ."

after adding the following to ara.config
textord_min_linesize 2.5

pixaGetCount errors fixed.
For no block overlapping textline, see new section in training tesseract 4.00.

i got the same message for Japanese which is:
No block overlapping textline: 俄然屁、30観光銚 差 塞翁が馬ランチに的配達硬翌月 -ふ陜西 脛骨 智
yet i was able to create LSTM files for the fonts that i specified, i think the LSTM are OK because i noticed in this issue the user zdenop said

If there is error message I expect something serious is happening. But nothing bad has happened. There is expected output. This will confuse end-users (current version of tesseract hides leptonica warnings, but this error message is there...)
so are the LSTM files are not defected although the error message was shown?
MOTE, im using tesseract 4.00.00alpha with leptonica 1.74.1

As mentioned by Ray in the comment above, please see https://github.com/tesseract-ocr/tesseract/wiki/TrainingTesseract-4.00#error-messages-from-training

No block overlapping textline: occurs when layout analysis fails to correctly segment the image that was given as training data. The textline is dropped. Not much problem if there aren't many, but if there are a lot, there is probably something wrong with the training text or rendering process.


feat(settings): tabs scrolls to top if navigated

solving! Scroll to top when switching settings tabs #681

Thank you very much! The code looks like it will work 💯 -- I just want to test it out before merging 🤝

Okay will check it before can you send me a video or a GIF so that I can figure out what is wrong. Because when I tried it was scrolled at the top.

To replicate:

scroll down to bottom, now click on the 1st tab:

notice the scrollbar is not at the top.
On your branch the scrollbar seems to move up a bit, but not to the top of the tab

Can you please check i actually forgot to commit changes of a file. I guess it should work now.


Pivot table: ability to render structures and open data in new workspace

Pivot table: ability to render structures and open in new workspace:

[ ] add the ability to render structures (r1 - r3 groups, for example)
[ ] add export function(s) - add a button to open in a workspace (right top corner)

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-17267


Verbose events not logged as Debug

Hello all
I'm currently updating a legacy application logging infrastructure in order to use Serilog instead of System.Diagnostics.Trace. I was able to setup Serilog and successfully redirect logs from System.Diagnostics.Trace to Serilog thanks to SerilogTraceListener.
However I'm not able to get the verbose logs as debug, only information to critical ones.
Am I missing something ?
This is how I configured the listener :
  <system.diagnostics>
    <trace autoflush="true">
      <listeners>
        <add name="Serilog"
             type="SerilogTraceListener.SerilogTraceListener, SerilogTraceListener" />
      </listeners>
    </trace>
    <switches>
      <!-- Critical / Error / Warning / Information / Verbose -->
      <add name="sourceSwitch" value="Verbose" />
    </switches>
    <sources>
      <!-- Module 1 -->
      <source name="Application.Module.One" switchName="sourceSwitch" switchType="System.Diagnostics.SourceSwitch">
        <listeners>
          <add name="Serilog" type="SerilogTraceListener.SerilogTraceListener, SerilogTraceListener" />
        </listeners>
      </source>
      <!-- Module 2 -->
      <source name="Application.Module.Two" switchName="sourceSwitch" switchType="System.Diagnostics.SourceSwitch">
        <listeners>
          <add name="Serilog" type="SerilogTraceListener.SerilogTraceListener, SerilogTraceListener" />
        </listeners>
      </source>
    </sources>
  </system.diagnostics>

Hi! Have you set MinimumLevel.Debug() or .Verbose() in your Serilog configuration? HTH!

Hi and thanks for your answer. Indeed the log level was set to Debug and not Verbose :(
I have all my logs now !


Floating window leaves residual artifact after disabling floating mode in dual monitor setup

Already reported ? *

[X] I have searched the existing open and closed issues.

Regression?
No
System Info and Version
 System/Version info
Hyprland 0.46.0 built from branch main at commit 2e2e2e2cad97eb017ab02f8a67b751e0abe3bb72  (monitor: bring back old description behavior).
Date: Tue Dec 24 02:17:38 2024
Tag: v0.46.0-29-g2e2e2e2c, commits: 5584
built against:
 aquamarine 0.5.1
 hyprlang 0.6.0
 hyprutils 0.3.0
 hyprcursor 0.1.11
 hyprgraphics 0.1.1

flags set:
debug

System Information:
System name: Linux
Node name: arch
Release: 6.12.6-zen1-1-zen
Version: #1 ZEN SMP PREEMPT_DYNAMIC Thu, 19 Dec 2024 21:28:56 +0000

GPU information:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104 [GeForce RTX 3060] [10de:2487] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX Open Kernel Module for x86_64  565.77  Release Build  (archlinux-builder@)

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:

======Config-Start======

Config File: /home/kamik/.config/hypr/hyprland.conf: Read Succeeded

# This is an example Hyprland config file.
# Refer to the wiki for more information.
# https://wiki.hyprland.org/Configuring/Configuring-Hyprland/

# Please note not all available settings / options are set here.
# For a full list, see the wiki

# You can split this configuration into multiple files
# Create your files separately and then link them to this file like this:
# source = ~/.config/hypr/myColors.conf

################
### MONITORS ###
################

$monitor1 =DP-1
$monitor2 =HDMI-A-1

# See https://wiki.hyprland.org/Configuring/Monitors/
#monitor=,preferred,auto,auto
monitor=$monitor1,2560x1440@75,auto,auto
monitor=$monitor2,1920x1080@60,auto,auto

###################
### MY PROGRAMS ###
###################

# See https://wiki.hyprland.org/Configuring/Keywords/

# Set programs that you use
$terminal = kitty
$fileManager = thunar
$menu = wofi --show drun --allow-images

#################
### AUTOSTART ###
#################

# Autostart necessary processes (like notifications daemons, status bars, etc.)
# Or execute your favorite apps at launch like this:

exec-once = systemctl --user start hyprpolkitagent
exec-once= [workspace 10 silent] uwsm app -- /home/kamik/Scripts/start_element.sh
exec-once = [workspace 1 silent] uwsm app -- firefox
exec-once = [workspace 2 silent] uwsm app -- firefox
exec-once = [workspace 3 silent] uwsm app -- telegram-desktop
exec-once = [workspace 3] uwsm app -- discord.desktop
# exec-once = nm-applet &
# exec-once = waybar & hyprpaper & firefox

#############################
### ENVIRONMENT VARIABLES ###
#############################

# See https://wiki.hyprland.org/Configuring/Environment-variables/

# NVIDIA

cursor {
    no_hardware_cursors = false
    use_cpu_buffer = true

}

#nvidia-vaapi-driver https://github.com/elFarto/nvidia-vaapi-driver
# media.ffmpeg.vaapi.enabled true
# media.rdd-ffmpeg.enabled true
# gfx.x11-egl.force-enabled true

# PROXY

# Recomended env from https://wiki.hyprland.org/Configuring/Environment-variables/
#Toolkit Backend Variables
#XDG Specifications
#Qt Variables
##

#####################
####### FIXES #######
#####################
windowrulev2=noinitialfocus,class:^jetbrains-(?!toolbox),floating:1

debug{
#disable_logs = false
}
render {
    direct_scanout = true
    explicit_sync = 1
    explicit_sync_kms=1
}

#####################
### LOOK AND FEEL ###
#####################

# Refer to https://wiki.hyprland.org/Configuring/Variables/

# https://wiki.hyprland.org/Configuring/Variables/#general
general {
    gaps_in = 5
    gaps_out = 20

    border_size = 2

    # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
    col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
    col.inactive_border = rgba(595959aa)

    # Set to true enable resizing windows by clicking and dragging on borders and gaps
    resize_on_border = false

    # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
    allow_tearing = false

    layout = dwindle
}

# https://wiki.hyprland.org/Configuring/Variables/#decoration
decoration {
    rounding = 10

    # Change transparency of focused and unfocused windows
    active_opacity = 1.0
    inactive_opacity = 1.0

    shadow {
        enabled = true
        range = 4
        render_power = 3
        color = rgba(1a1a1aee)
    }

    # https://wiki.hyprland.org/Configuring/Variables/#blur
    blur {
        enabled = true
        size = 3
        passes = 1

        vibrancy = 0.1696
    }

}

# https://wiki.hyprland.org/Configuring/Variables/#animations
animations {
    enabled = yes, please :)

    # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more

   #bezier = easeOutQuint,0.23,1,0.32,1
   #bezier = easeInOutCubic,0.65,0.05,0.36,1
   #bezier = linear,0,0,1,1
   #bezier = almostLinear,0.5,0.5,0.75,1.0
   #bezier = quick,0.15,0,0.1,1

   #animation = global, 1, 10, default
   #animation = border, 1, 5.39, easeOutQuint
   #animation = windows, 1, 4.79, easeOutQuint
   #animation = windowsIn, 1, 4.1, easeOutQuint, popin 87%
   #animation = windowsOut, 1, 1.49, linear, popin 87%
   #animation = fadeIn, 1, 1.73, almostLinear
   #animation = fadeOut, 1, 1.46, almostLinear
   #animation = fade, 1, 3.03, quick
   #animation = layers, 1, 3.81, easeOutQuint
   #animation = layersIn, 1, 4, easeOutQuint, fade
   #animation = layersOut, 1, 1.5, linear, fade
   #animation = fadeLayersIn, 1, 1.79, almostLinear
   #animation = fadeLayersOut, 1, 1.39, almostLinear
   #animation = workspaces, 1, 1.94, almostLinear, fade
   #animation = workspacesIn, 1, 1.21, almostLinear, fade
   #animation = workspacesOut, 1, 1.94, almostLinear, fade
}

# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
dwindle {
    pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
    preserve_split = true # You probably want this
}

# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
master {
    new_status = master
}

# https://wiki.hyprland.org/Configuring/Variables/#misc
misc {
    force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
    disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
}

#############
### INPUT ###
#############

# https://wiki.hyprland.org/Configuring/Variables/#input
input {
    kb_layout = us,ru
    kb_variant =
    kb_model =
    kb_options = grp:alt_shift_toggle
    kb_rules =

    follow_mouse = 1
    sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
    numlock_by_default = true
    touchpad {
        natural_scroll = false
    }
}

# https://wiki.hyprland.org/Configuring/Variables/#gestures
gestures {
    workspace_swipe = false
}

# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
device {
    name = epic-mouse-v1
    sensitivity = -0.5
}

####################
### KEYBINDINGSS ###
####################

# See https://wiki.hyprland.org/Configuring/Keywords/
$mainMod = SUPER # Sets "Windows" key as main modifier

# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, uwsm app -- $terminal
bind = $mainMod, C, killactive,
bind = $mainMod, M, exec, uwsm stop,
bind = $mainMod, E, exec, uwsm app -- $fileManager
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, uwsm app -- $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindlet

# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d

# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10

# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10

bind = $mainMod CTRL, 1, movetoworkspacesilent, 1
bind = $mainMod CTRL, 2, movetoworkspacesilent, 2
bind = $mainMod CTRL, 3, movetoworkspacesilent, 3
bind = $mainMod CTRL, 4, movetoworkspacesilent, 4
bind = $mainMod CTRL, 5, movetoworkspacesilent, 5
bind = $mainMod CTRL, 6, movetoworkspacesilent, 6
bind = $mainMod CTRL, 7, movetoworkspacesilent, 7
bind = $mainMod CTRL, 8, movetoworkspacesilent, 8
bind = $mainMod CTRL, 9, movetoworkspacesilent, 9
bind = $mainMod CTRL, 0, movetoworkspacesilent, 10

bind = $mainMod ALT, 1, focusworkspaceoncurrentmonitor, 1
bind = $mainMod ALT, 2, focusworkspaceoncurrentmonitor, 2
bind = $mainMod ALT, 3, focusworkspaceoncurrentmonitor, 3
bind = $mainMod ALT, 4, focusworkspaceoncurrentmonitor, 4
bind = $mainMod ALT, 5, focusworkspaceoncurrentmonitor, 5
bind = $mainMod ALT, 6, focusworkspaceoncurrentmonitor, 6
bind = $mainMod ALT, 7, focusworkspaceoncurrentmonitor, 7
bind = $mainMod ALT, 8, focusworkspaceoncurrentmonitor, 8
bind = $mainMod ALT, 9, focusworkspaceoncurrentmonitor, 9
bind = $mainMod ALT, 0, focusworkspaceoncurrentmonitor, 10

bind = $mainMod, F1, exec, uwsm app --  sleep 1 && hyprctl dispatch dpms toggle $monitor2
bind = $mainMod, F2, exec, uwsm app -- sleep 1 && hyprctl dispatch dpms toggle $monitor1
bind = $mainMod, F3, exec, uwsm app -- sleep 1 && hyprctl dispatch dpms toggle

bind = $mainMod SHIFT, S,exec, uwsm app -- hyprshot -m region --clipboard-only -s
bind = SHIFT, PRINT, exec, uwsm app -- hyprshot -m window --clipboard-only -s
bind = , PRINT, exec, uwsm app -- hyprshot -m output --clipboard-only -s
bind = CTRL+$mainMod SHIFT, S,exec, uwsm app -- hyprshot -m region -s
bind = CTRL+SHIFT, PRINT, exec, uwsm app -- hyprshot -m window -s
bind = CTRL, PRINT, exec, uwsm app -- hyprshot -m output -s

# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

##############################
### WINDOWS AND WORKSPACES ###
##############################

# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules

# Example windowrule v1
# windowrule = float, ^(kitty)$

# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$

# Ignore maximize requests from apps. You'll probably like this.
windowrulev2 = suppressevent maximize, class:.*

# Fix some dragging issues with XWayland
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0

# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/
# "Smart gaps" / "No gaps when only"
# uncomment all if you wish to use that.
workspace = w[tv1], gapsout:0, gapsin:0
workspace = f[1], gapsout:0, gapsin:0
windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1]
windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1]
windowrulev2 = bordersize 0, floating:0, onworkspace:f[1]
windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
======Config-End========

Description
A portion of the window will remain on the other monitor if you turn off floating for a floating window that is on two monitors at the same time.
How to reproduce

Open empty workspaces
Open any app.
Dispatch togglefloating on it.
Move it so it is on 2 monitors at the same time.
Dispatch togglefloating on it.

Crash reports, logs, images, videos
bug.webm

who doesn't love some damage tracking bugs eh


Individual IOUs from bill split are not correctly sent to other devices

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.66-2
Reproducible in staging?: needs reproduction
Reproducible in production?: needs reproduction
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers): @roryabraham @thienlnam
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @thienlnam
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1714154876284589
Action Performed:

Log into New Expensify on two devices, A and B.
Create a group on device A.
Upload a receipt to split a bill in the group.

Expected Result:
On both devices, individual IOUs should be created with each member of the group for their portion.
Actual Result:
Individual IOUs appear on the device where the receipt was uploaded. They do not appear on device B.
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[x] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0128f10261fc2f1ffb
Upwork Job ID:<PHONE_NUMBER>584848896
Last Price Increase: 2024-04-28

This was just triaged. Not overdue

@mananjadhav what do you need from me on this one?

Waiting on proposals. I'll also try to reproduce it at my end

Oh! It looks like this is an Internal issue so it's likely not going to be seen in the usual Help Wanted spaces. How can I help drum up proposals?

Ok, I'm unsure the priority of this issue in the grander scheme (and thus, how aggressive I should be to get a volunteer). Raising the question here

Ok! We chatted about the priority of this issue. Currently, this is a MEDIUM priority. It's important we get someone on this, but it's not the most urgent thing.

Setting this to Weekly in the meantime.

I couldn't action this today. I will pop back in tomorrow

Should we make this monthly @johncschuster ?

@arielgreen, we haven't gotten any traction on this one. Do you feel we need to keep this at Weekly and pump the gas, or do you feel we can safely reduce the priority to Monthly for now?

Reducing to Monthly. Please change the label if you disagree!

Asking for help to get some engineering resources on this one.

Issue not reproducible during KI retests. (First week)

It sounds like this may not be reproducible. Closing!


Support RFC 3986 strict

To be more stringent in adhering to RFC 3986 (which reserves !, ', (, ), and *), even though these characters have no formalized URI delimiting uses, the following can be safely used.

Thanks!


Compose generated string resources does not appear on testflight installed apps

Describe the bug
If you use a string compose resource it does not work in a testflight downloaded version of you app.
Affected platforms

iOS

Versions

Kotlin version*:  1.9.23
Compose Multiplatform version*: 1.6.10-dev1608
OS version(s)* (required for Desktop and iOS issues):  17.4
OS architecture (x86 or arm64): arm64
Device (model or simulator for iOS issues): IPhone 14 Pro, IPhone 13 Pro

To Reproduce
Add a string to en/strings.xml resource folder.
Use this string in in an iOS targeted app.
Upload this app to testflight.
Run it.
Expected behavior
The resource should be found
Additional context
Once downloaded from testflight i cant install the app locally without clearing caches.

i cant install the app locally without clearing caches.

Does it mean that the issue reproduces only when you try to update the application? If so, then from which Compose version upgrade happens? Does it reproduce with clean install?

No, it does not only reproduce on update. It reproduces on clean install.

Deleting the app and installing via xcode is still broken (even if this same build is working on a simluator (or any unafected device).
Removing this string resource -> Upload to testflight -> download it to the same phone -> Works.

We didn't able reproduce the issue - an app installed via TestFlight can access resources successfully.
We would appreciate a sample project with the issue, and the detailed steps how you build and upload the application.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Opacity Control Doesn's Work Properly for Non-Zero-Transparent

Describe the bug
Opacity shows the background image when not at 1 and zero-transparency off.

Data sharing
If needed, I am open to sharing my data files to help reproduce the bug?

[ ] Yes
[ ] No, the data is private or otherwise cannot be shared

Expected behavior
The opacity should be "smooth" and not show the background image.
Screenshots

Configuration
[If applicable, please share the view configuration to help reproduce the bug.](http://vitessce.io/#?dataset=neumann-2020)
Environment:

Release or git hash: v2.02
Browser: FF
Browser version: 108.0.2

Use case

[ ] Relevant to HuBMAP Consortium
[ ] Relevant to Kidney Precision Medicine Project
[ ] Relevant to Human Tumor Atlas Network
[ ] Other

Luckily this is not related to HuBMAP because opacity controls really only matter for the segmentations and those work.


[vgtv] Add support for authentication

I am trying to download a documentary from VGTV+ (Norwegian Newspaper) and I am getting an error message saying it is not available due to georestriction, though I am in Norway and can watch it in my browser just fine... If I try to download files not under VGTV+, they do download however.
C:\Users\Duiz\Downloads\Movies> youtube-dl.exe http://www.vgtv.no/#!/video/138243/tv-junkie -u ***** -p ********
[VGTV] 138243: Downloading media JSON
[VGTV] 138243: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden
[VGTV] 138243: Downloading f4m manifest
WARNING: Unable to download f4m manifest: HTTP Error 403: Forbidden
ERROR: This video is not available from your location due to geo restriction
This video is available in Norway.
You might want to use a VPN or a proxy server (with --proxy) to workaround.

You have to provide account credentials.