Global Sections management

[ ] When clicking on the Add new Sections button we need to have an additional tab for Global sections so we will have 2 tabs one for the Sections available to the project and one for the global sections

[ ] When clicking on the global sections tab,
It will list all the global sections available ( Get listing of global sections)
There will be an option to add a new global section
For each global section there should be an option to delete a global section
[ ] Clicking on the option to add a new global section will open a form
To fill in the Name that is an existing section type in the project,  and the content of the global section ( I think here you can when selecting as section type for the name, to then display under it the fields of the section type selected  same fields as if I am opening it from the tab to add a section type to the page
A button to save the global section ( using the create global section api), this will close the form with a success message and add the new global section to the listing
A button to cancel the creation if needed, this will close the creation form and show you the listing
[ ] Editing a global section will be done from a page it was added to, it will open the form same as the add one but in edit mode with the data prepopulated
The edit button must be different than the edit of the section we have for now, let say have it in red (Edit global section endpoint, get global section by ID)
When clicking on the edit button , we must see information that this section is referenced on pages by giving the listing of the pages and that editing it will modify it in all the pages it is references to.
There is as well button to save  that will close the form and do the edition on all the pages the section is referenced to
There is cancel button, here it will just close the form without modifying anything
[ ] When clicking on the delete option of a global section there will be a confirm popup, ( Delete global section endpoint)
if it is referenced on pages and you confirm the  deletion , it will return an error
If it is not referenced on pages and you confirm the  deletion, it will be deleted successfully
If you cancel the deletion, nothing happen and the popup is closed
[ ] We need in plus of the Save button ( to save the page ) a button to save the layout, when clicking on it if the page has global sections it will save the region and weight of the global section on this layout by saving the layout name, the region and weight in this layout for this section, in the data of the global section ( So here you will use edit global section endpoint), like this if I select back this layout for a page, automatically the  global sections will be added on the correct positions
[ ] For the sections we have already, when editing one , we need a new option to promote it to global section
When clicking on this option it will use the create global section endpoint to create a new global section using the content available on this one already and for the name or we have the possibility to enter it or ,it will be named automatically using the section name plus a global added to the name. The section we are promoting will automatically linked to the global section created .
[ ] A field auto_insertion is added for the global section, it is a boolean to let the front knows that this global section should be automatically added to any new page created in the project. The addition will be done on the frontend so the user only saves the page after he sees the actual display.

Acceptance testing

[ ] When clicking on the Add new Sections button we need to have an additional tab for Global sections so we will have 2 tabs one for the Sections available to the project and one for the global sections
[ ] When clicking on the global sections tab,
It will list all the global sections available ( Get listing of global sections)
There will be an option to add a new global section
For each global section there should be an option to delete a global section
[ ] Clicking on the option to add a new global section will open a form
To fill in the Name and the content of the global section
A button to save the global section ( using the create global section api), this will close the form with a success message and add the new global section to the listing
A button to cancel the creation if needed, this will close the creation form and show you the listing
[ ] Editing a global section will be done from a page it was added to, it will open the form same as the add one but in edit mode with the data prepopulated
The edit button must be different than the edit of the section we have for now, let say have it in red (Edit global section endpoint, get global section by ID)
When clicking on the edit button , we must see information that this section is referenced on pages by giving the listing of the pages and that editing it will modify it in all the pages it is references to.
There is as well button to save  that will close the form and do the edition on all the pages the section is referenced to
There is cancel button, here it will just close the form without modifying anything
[ ] When clicking on the delete option of a global section there will be a confirm popup, ( Delete global section endpoint)
if it is referenced on pages and you confirm the  deletion , it will return an error
If it is not referenced on pages and you confirm the  deletion, it will be deleted successfully
If you cancel the deletion, nothing happen and the popup is closed
[ ] We need in plus of the Save button ( to save the page ) a button to save the layout, when clicking on it if the page has global sections it will save the region and weight of the global section on this layout by saving the layout name, the region and weight in this layout for this section, in the data of the global section ( So here you will use edit global section endpoint), like this if I select back this layout for a page, automatically the  global sections will be added on the correct positions
[ ] For the sections we have already, when editing one , we need a new option to promote it to global section
When clicking on this option it will use the create global section endpoint to create a new global section using the content available on this one already and for the name or we have the possibility to enter it or ,it will be named automatically using the section name plus a global added to the name. The section we are promoting will automatically linked to the global section created .
[ ] A field auto_insertion is added for the global section, it is a boolean to let the front knows that this global section should be automatically added to any new page created in the project. The addition will be done on the frontend so the user only saves the page after he sees the actual display.

Create global section (Create a global_instance section)
POST /api/v1/project/64d10222ab2be30008ce9342/global-instances/global_section_section_steps2 HTTP/1.1
Host: sections.k8s-dev.geeks.solutions
token: SFMyNTY.g2gDdAAAAARtAAAADGxvZ2luX2ZpZWxkc3QAAAABbQAAAAVlbWFpbG0AAAAlYS5zYXJraXMrc2VjdGlvbnN3ZWJzaXRlZGV2QGV3ZWV2LmNvbW0AAAARcHJvamVjdF9sb2dnZWRfaW5tAAAAGDY0ODg3NDM4NTgyMTAwMDAwNzA0ZWM1MW0AAAAKdG9rZW5fdHlwZW0AAAAGbm9ybWFsbQAAAAd1c2VyX2lkbQAAABg2NGQxMDIyMzEzNTMxNjAwMDc4ZDM1NWJuBgAAx2m8kQFiAAFRgA.dy0thLmeVS6z7h-4ssExJ2HAs7bonEWx3kUhn4E9PoM
origin: https://sections.k8s-dev.geeks.solutions
Content-Type: application/json
Content-Length: 851

{
    "section": {
        "name": "SectionSteps",
        "options": {
            "en": {
                "title": "
this is a test updated
",
                "text": "
this is a text updated
",
                "quote":"test"
            },
            "media": {
                "filename": "sections/sections_sections_Group+2016c81ef3bc1694b46835077012c27aa0ff12a519d2f9047e685ed1277848f50a3076f4b66cc2047289db2d736a392777b.png",
                "media_id": "64d1e83fa28f73000694320b",
                "headers": {},
                "url": "https://s3.amazonaws.com/eweevtestbucketprivate/sections%2Fsections_sections_Group%2B2016c81ef3bc1694b46835077012c27aa0ff12a519d2f9047e685ed1277848f50a3076f4b66cc2047289db2d736a392777b.png"
            }
        }
    },
    "regions": {
        "standard": 2
    },
    "auto_insertion": false
}

Edit Global section (Edit a global_instance section
PUT /api/v1/project/64d10222ab2be30008ce9342/global-instances/global_section_title_text_media HTTP/1.1
Host: sections.k8s-dev.geeks.solutions
pkey: $2b$12$tzhLTbuOYaCpX4mTaeHKqe1z68pwBAsY9DaIblA/QopLrdkB0Htyi
Content-Type: application/json
Content-Length: 924

{
    "section": {
        "name": "SectionSteps",
        "options": [
            {
                "en": {
                    "title": "
this is a test updated
",
                    "text": "
this is a text updated
",
                    "quote": "test"
                },
                "media": {
                    "filename": "sections/sections_sections_Group+2016c81ef3bc1694b46835077012c27aa0ff12a519d2f9047e685ed1277848f50a3076f4b66cc2047289db2d736a392777b.png",
                    "media_id": "64d1e83fa28f73000694320b",
                    "headers": {},
                    "url": "https://s3.amazonaws.com/eweevtestbucketprivate/sections%2Fsections_sections_Group%2B2016c81ef3bc1694b46835077012c27aa0ff12a519d2f9047e685ed1277848f50a3076f4b66cc2047289db2d736a392777b.png"
                }
            }
        ]
    },
    "regions": {
        "standard": 2
    },
    "auto_insertion": false
}

Delete Global section 9 Delete a global_instance section
DELETE /api/v1/project/64d10222ab2be30008ce9342/global-instances/global_section_wyzywig3 HTTP/1.1
Host: sections.k8s-dev.geeks.solutions
token: SFMyNTY.g2gDdAAAAARtAAAADGxvZ2luX2ZpZWxkc3QAAAABbQAAAAVlbWFpbG0AAAAlYS5zYXJraXMrc2VjdGlvbnN3ZWJzaXRlZGV2QGV3ZWV2LmNvbW0AAAARcHJvamVjdF9sb2dnZWRfaW5tAAAAGDY0ODg3NDM4NTgyMTAwMDAwNzA0ZWM1MW0AAAAKdG9rZW5fdHlwZW0AAAAGbm9ybWFsbQAAAAd1c2VyX2lkbQAAABg2NGQxMDIyMzEzNTMxNjAwMDc4ZDM1NWJuBgAAx2m8kQFiAAFRgA.dy0thLmeVS6z7h-4ssExJ2HAs7bonEWx3kUhn4E9PoM
origin: https://sections.k8s-dev.geeks.solutions

Get global instances ( List global instances in project
GET /api/v1/project/64d10222ab2be30008ce9342/global-instances HTTP/1.1
Host: sections.k8s-dev.geeks.solutions
token: SFMyNTY.g2gDdAAAAARtAAAADGxvZ2luX2ZpZWxkc3QAAAABbQAAAAVlbWFpbG0AAAAlYS5zYXJraXMrc2VjdGlvbnN3ZWJzaXRlZGV2QGV3ZWV2LmNvbW0AAAARcHJvamVjdF9sb2dnZWRfaW5tAAAAGDY0ODg3NDM4NTgyMTAwMDAwNzA0ZWM1MW0AAAAKdG9rZW5fdHlwZW0AAAAGbm9ybWFsbQAAAAd1c2VyX2lkbQAAABg2NGQxMDIyMzEzNTMxNjAwMDc4ZDM1NWJuBgAAx2m8kQFiAAFRgA.dy0thLmeVS6z7h-4ssExJ2HAs7bonEWx3kUhn4E9PoM
origin: https://sections.k8s-dev.geeks.solutions

**Get a global instance (Get global instance by name)
GET /api/v1/project/64d10222ab2be30008ce9342/global-instances/global_section_wyzywig3 HTTP/1.1
Host: sections.k8s-dev.geeks.solutions
token: SFMyNTY.g2gDdAAAAARtAAAADGxvZ2luX2ZpZWxkc3QAAAABbQAAAAVlbWFpbG0AAAAlYS5zYXJraXMrc2VjdGlvbnN3ZWJzaXRlZGV2QGV3ZWV2LmNvbW0AAAARcHJvamVjdF9sb2dnZWRfaW5tAAAAGDY0ODg3NDM4NTgyMTAwMDAwNzA0ZWM1MW0AAAAKdG9rZW5fdHlwZW0AAAAGbm9ybWFsbQAAAAd1c2VyX2lkbQAAABg2NGQxMDIyMzEzNTMxNjAwMDc4ZDM1NWJuBgAAx2m8kQFiAAFRgA.dy0thLmeVS6z7h-4ssExJ2HAs7bonEWx3kUhn4E9PoM
origin: https://sections.k8s-dev.geeks.solutions

Here how to add a global section to a page
PUT /api/v1/project/65684fd5919fff00073c18eb/page/pageglobalsection HTTP/1.1
Host: api.sections.geeks.solutions
origin: https://sections.geeks.solutions
token: SFMyNTY.g2gDdAAAAARtAAAADGxvZ2luX2ZpZWxkc3QAAAABbQAAAAVlbWFpbG0AAAAjYS5zYXJraXMrbWFpb3Jpd2Vic2l0ZWRldkBld2Vldi5jb21tAAAAEXByb2plY3RfbG9nZ2VkX2lubQAAABg1ZmE5MzNkMGU4ZGIxOTAwMDE3MWY2NzZtAAAACnRva2VuX3R5cGVtAAAABm5vcm1hbG0AAAAHdXNlcl9pZG0AAAAYNjU2ODRmZDYxMzUzMTYwMDA3YjE5OGNhbgYA-9gI15EBYgABUYA.CRKN-adnC8CYwZfJu9gbjq73m8cPykDOYTvxM79GwbU
Content-Type: application/json
Content-Length: 359

{
    "variations": [],
    "sections": [
        {
            "weight": 3,
            "linked_to": "global_section_wyzywig1"
        }
    ],
    "path": "pageglobalsection",
    "page": "pageglobalsection",
    "metadata": {
        "title": "test edition seo title",
        "description": "test edition SEO description"
    },
    "layout": "standard"
}

all good now , closing


feat(web/dashboard/mycases): Add dynamic total pages calculation

In this commit, I've added the logic to calculate the total number of pages dynamically for the "My Cases" section on the dashboard. The total number of cases is now divided by the cases per page to determine the correct number of pages to display.
Fixes #1285

PR-Codex overview
Detailed summary

Added totalPages variable to calculate the total number of pages for pagination based on the number of cases per page.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@jaybuidl

@jaybuidl can you check the PR

Seems the dashboard page crashes: https://deploy-preview-1292--kleros-v2.netlify.app/#/dashboard/1/desc/all

solved by #1332


Render condition on status column

This PR adds ability to restrict rendering of status column (eg. on rows without proper permission).
Renders only text, without interactive button, if condition is not met.

I like it, thanks. :)


Dropdown lot re-render when props not change in selection mode

Bug Report
When i use the Dropdown in selection mode, the component re-render the options list every time, but their props are not changed
Steps
Create a new sample app react
Create a static options list with 200 item
Make a form with multiple rows
At the first line add one controlled input
For the next generate 6 rows with one controlled input and 5 controlled dropdown with the static options in options prop
When you try to input the first field at the first row you have lot of re-render and get a perf issue
Expected Result
No re-render the component if the props don't change
Actual Result
The component re-render when the props don't change
Version
1.2.1

+1
we are facing the same issue here

+1
we are facing the same issue here

@namezero Is it a regression in 1.2.1?

No re-render the component if the props don't change

To be honest it's the biggest misconception about React, it will re-render components even without props updates if they are part of sub-tree that will be rendered 🤔
https://github.com/Semantic-Org/Semantic-UI-React/blob/40903c29a0592a6cb7060e68a107eeb1446ae84b/src/modules/Dropdown/Dropdown.js#L117-L119
However, in Dropdown we are using shouldComponentUpdate() to bail out some updates. I tried to repro your scenario in CodeSandbox (https://codesandbox.io/s/recursing-carson-es1im?file=/example.js) and it's not a case. Can you please update it to share a repro?

It can be a case if you have unstable options i.e. they are defined inside render():
function App() {
  const options = []

  return <Dropdown options={options} />
}

In this case Dropdown will re-render for sure as it receive always new array of options.

@layershifter i have update your code sandbox for reproduce the bug
Thank's for your times
https://codesandbox.io/s/recursing-carson-es1im?file=/example.js

@bguillou it seems that it's still the same CodeSandbox. Have you saved your changes? :)

@layershifter Sorry for that, i have re-update CodeSanbox

@bguillou thanks for sharing.

So I verified and on your CodeSandbox Dropdown components are not re-rendered:

I deployed your CodeSandbox (i.e. production mode) to Vercel (https://csb-uixp4-quvq8y0fz.vercel.app/) and it works enough good, I can't noticeable lags there 🤔
I've checked data from Chrome profiler and it seems that we are spending cycles in propTypes in development mode 😨

@bguillou can you please confirm that it affects only development experience?

@layershifter i have the lag in production mode in the real project but i think is linked with my webpack config, because i have create a new CRA and in dev mode it's not working but in production mode it's working fine

@bguillou I suggest to check Webpack's config to ensure that your app is optimized for production: https://webpack.js.org/guides/production/
I will look into propTypes validators to check how we can improve their perf to improve development DX.


Java version planning

Previously, pretixdesk was built for Java 9. Now, pretixdesk fails to build since there is no way to download Oracle JDK 9 right now since JDK 10 has been released. Additionally, using Java 9 has been a pain, since we needed to bundle it even for linux.
It's not completely clear if we are in fact allowed to bundle Oracle JDK, therefore, we'd like to bundle OpenJDK. However, it's hard to get binary builds of OpenJDK that are compatible to JDK 9 or 10. Especially, with Java's 6-month-release schedule it's getting cumbersome for our small application to solve this problem anew every 6 months.
There are OpenJFX 8 builds here. There are early-access builds for OpenJFX 10 here which are supposed to work with JDK 10 as well, but they're not supposed to be used in production.
Therefore, in #36, we're porting this back to Java 8 and use OpenJDK/OpenJFX. Java 8 will go out of service in late 2018 with the release of Java 11. The plan forward is, that as soon as Java 11 is released, we go straight from 8 to 11 and hope that we'll find a OpenJFX build for it, or use the EA ones.

I was unable to install OpenJFX on Travis for now, so we're still testing against Oracle JDK there.

Hi,
I try to buil *.jar on linux with oracle jdk 10.0.2, but build failed. Here you can find output:
https://paste.lugons.org/?011bdb011353e06a#Qb0OjDP2zgG7VC2WtuslLinl7qnXKwB4GVQIZawsa2Q=
Thanks

Somehow your missing JavaFX. However, have you read the above? We support JDK 8 only atm.

Ok, i will try to install V8, and see how things will go. Thanks

I got jdk 8, and I don't have same error now, but, I get this:
https://paste.lugons.org/?8c295619fe6c1659#OKm/wsLGzW2iCEMJSPZpE0Vht7/Vo/fiAIWrP9dtJII=

It seems that the submodule with libpretixsync is missing. Have you used
git submodule update --init
as described at https://github.com/pretix/pretixdesk#building-and-running?

I pulled repo again this morning when i installed JDK 10, didn't run submodule command. Thanks @johan12345

Please create a new issue if you have further problems instead of making this unrelated one hard to read ;)

Looks like we're not yet there, since tornadofx is not yet ported :( https://github.com/edvin/tornadofx/issues/817

Here's a really useful guide on packaging: https://medium.com/@adam_carroll/java-packager-with-jdk11-31b3d620f4a8


IndexError: list index out of range

🐛 Bug Report
🔎 Describe the Bug
I can't initiate a session working fine on Python AgentOps 0.2.6 but not on 0.3.X (at the moment on 0.3.2).
🔄 Reproduction Steps
Calling agentops.init() with a properly setup AGENTOPS_API_KEY.
The terminal then display the following error:
🖇 AgentOps: Error: No session exists

2024-07-21 11:39:16,858 -<PHONE_NUMBER> - meta_client.py-meta_client:55 - WARNING: Error: No session exists
🖇 AgentOps: Error: list index out of range
2024-07-21 11:39:16,858 -<PHONE_NUMBER> - meta_client.py-meta_client:55 - WARNING: Error: list index out of range

2024-07-21 11:39:16,858 -<PHONE_NUMBER> - app.py-app:838 - ERROR: Exception on /__/functions.yaml [GET]
Traceback (most recent call last):
  File "/Users/.../functions-py/venv/lib/python3.12/site-packages/agentops/meta_client.py", line 53, in wrapper
    return method(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/.../functions-py/venv/lib/python3.12/site-packages/agentops/client.py", line 566, in _safe_get_session
    raise NoSessionException("No session exists")
agentops.exceptions.NoSessionException: No session exists

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/.../functions-py/venv/lib/python3.12/site-packages/agentops/meta_client.py", line 53, in wrapper
    return method(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/.../functions-py/venv/lib/python3.12/site-packages/agentops/client.py", line 455, in create_agent
    session = self._safe_get_session()
              ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/.../functions-py/venv/lib/python3.12/site-packages/agentops/meta_client.py", line 61, in wrapper
    self._sessions[0],  # TODO: find which session caused exception
    ~~~~~~~~~~~~~~^^^
IndexError: list index out of range

🙁 Expected Behavior
Session should start.
🔍 Additional Context
Same code is working fine when downgrading to AgentOps 0.2.6.
Here is my main.py file initiating AgentOps:
"""
Main module for Firebase function with logging, environment validation,
and agent operations initialization.
""
import logging
import os
from firebase_functions import (
  https_fn,
  options,
  storage_fn,
)
from firebase_admin import (
  initialize_app,
  firestore,
)
from ai.crew import crew
import agentops

initialize_app()

# Configure logging
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)

# Validate required environment variables
REQUIRED_ENV_VARS = [
  'OPENAI_API_KEY',
  'SERPER_API_KEY',
  'AGENTOPS_API_KEY',
  'OPENAI_MODEL_NAME',
]

for var in REQUIRED_ENV_VARS:
  if not os.getenv(var):
    logger.error('Error: %s environment variable is not set.', var)
    raise EnvironmentError(f"{var} environment variable is not set.")

agent_ops_api_key = os.getenv('AGENTOPS_API_KEY')

agentops.init(
  api_key=agent_ops_api_key,
  auto_start_session=False,
)
logger.info('Agentops initialized successfully.')

@storage_fn.on_object_finalized(
  timeout_sec=600,
  memory=options.MemoryOption.GB_1,
  region="europe-west1"
)
def onGuideUpload(event: storage_fn.CloudEvent[storage_fn.StorageObjectData]):
  """When a guide is uploaded in the Storage bucket, inject a new AI generated guide in the database."""

  logger.info('Function triggered.')

  # Exit if this is triggered on a file that is not a guide.
  guide_id = event.data.name
  if not guide_id or not guide_id.startswith("guide/"):
    print(f"This is not a guide: {guide_id}")
    return

  guide_id = guide_id.replace("guide/", "")

  try:
    guide_url = 'https://someURL.pdf'
    logger.info('Guide ID: %s', guide_id)
    logger.info('Guide URL: %s', guide_url)

    agentops.start_session()

    result = crew.kickoff(
      inputs={
        "guide_id": guide_id,
        "guide_url": guide_url,
        # "guide_document": document
      }
    )
    logger.info('Crew kickoff completed.')
    logger.info('Result: %s', result)

  except Exception as e:
    agentops.end_session('Fail')
    logger.error('Error during crew.kickoff: %s', e)

    generation_failed(guide_id=guide_id)

    return https_fn.Response("Server Error: Failed during crew kickoff", status=500)

  agentops.end_session('Success')
  logger.info('Agentops session ended successfully.')

  return https_fn.Response(result, status=200)

def generation_failed(guide_id: str):
  """Update a guide from Firestore with the given informations and return its reference ID."""
  db = firestore.client()

  guide_data = {
    'isGenerated': True,
    'hasFailed': True,
  }

  doc_ref = db.collection('guides').document(guide_id)
  doc_ref.set(
    document_data=guide_data,
    merge=True,
  )

  return doc_ref.id

Here is the code at the /Users/.../functions-py/ai/agents.py:32:
reader = Agent(
  role='Guide Content Strategist',
  goal='Parse the guide into a JSON format',
  backstory="""
  Speaks JSON language fluently.
  Very used to read documents related to a house guide: explaining how a house is working, should be used, and what are the places to visit around it.
  These guides can be received into all kind of format, including pictures, PDFs, DOCXs, text files, etc.
  Strictly respect the given JSON format to fill.
  Always making sure no information is lost during the parsing process.
  Can use delegation to the Google Map Finder and the Instagram Finder to fill the missing informations.
  """,
  verbose=True,
  allow_delegation=True,
  # max_iter=10,
  tools=[scrape_tool, directory_tool, file_tool, pdf_tool, docx_tool],
)

Thank you for your great work!

Hey @Tulleb --
Can you upgrade to the latest release of AgentOps and try again?

Looks fixed in 0.3.4, thank you guys!


selectionChanged loop in 2.2.2

Version of x-select: 2.2.2
Ember Version / Ember CLI Version:
Ember Version: 2.6
Ember CLI Version: 2.6
Expected Behavior
Initializing an x-select should not immediately trigger the changed action
Actual Behavior
Initializing an x-select immediately triggers the changed action
Info
We initialize an x-select component with the value set to a models attribute, foo.bar. Our action bubbles up and eventually triggers a save on the model, which worked absolutely fine until version 2.2.2 of this addon.
In 2.2.2 the change event is immediately triggered, which causes an infinite loop where the event causes a save, which then causes the property to change and the change event to fire again for some reason. We hide the select box while the model is saving (I think this is a fairly common pattern), which destroys the component. When the model finishes saving the component is re-created, which then again triggers the save event.
It is caused by this commit: ea9522537cd4a4eb0b6c46f283bb13f0f1989860

Hi @orf! I think the first step would be to stop using action and use onblur instead. This way the action will only fire when the select loses focus.
I think #149 helps tremendously in this aspect too, but that's probably only going to make it into 3.0.

This usually happens because a change is, in fact, occuring.
Remember that the value of a select must always be one of its options, so if the value you pass in is null and you don't provide a null option, then it will select the first option provided resulting in a change and a resulting action fire.
You can always have a null option. If this does not work, then it is definitely a bug. I.e. a value of null and  first option of null, should not result in an action being fired.

Thanks for your replies!
@cowboyd: In this case a change isn't occurring, and there is a null option in the first position ({{#x-option value=null}}----{{/x-option}}). I added a {{log}} helper to the template and it fires exactly once, the first initial time.
@Robdel12: using onblur stops this from happening, thanks for that, but in our specific case the action is a much better UI choice. It's very plausible that someone would change the value of the select box and close the window or walk away without the event triggering.
It seems to happen like this:
Each option calls registerOption, which then calls _setDefaultValues once per option. This then repeatedly triggers the action. So if you have 4 options then action will be triggered 4 times with the result of _getValue().
I really really really don't have time to investigate further (we are shipping on Monday!) but I think it's a bug caused by ea95225. I can maybe create a fiddle next week if it's not too crazy, but until then I'm just going to pin @ 2.2.1.

Null firing on null? That's definitely a bug!

On Sep 15, 2016, at 03:44, orf<EMAIL_ADDRESS>wrote:
Thanks for your replies!
@cowboyd: In this case a change isn't occurring, and there is a null option in the first position ({{#x-option value=null}}----{{/x-option}}). I added a {{log}} helper to the template and it fires exactly once, the first initial time.
@Robdel12: using onblur stops this from happening, thanks for that, but in our specific case the action is a much better UI choice. It's very plausible that someone would change the value of the select box and close the window or walk away without the event triggering.
It seems to happen like this:
Each option calls registerOption, which then calls _setDefaultValues once per option. This then repeatedly triggers the action. So if you have 4 options then action will be triggered 4 times with the result of _getValue().
I really really really don't have time to investigate further (we are shipping on Monday!) but I think it's a bug caused by ea95225. I can maybe create a fiddle next week if it's not too crazy, but until then I'm just going to pin @ 2.2.1.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

seeing this behavior from<EMAIL_ADDRESS>in my project's integration tests

A year later, but ran into this issue when attempting to upgrade from 2.0.2 to 2.2.3+.  Currently, forced to fork and wrap an else around the sendAction call from the commit specified by @Robdel12
Hopefully once we are able to fully migrate and test our components with pure one-way, we can revert back to the main branch.


Unification error - Assertion failed

kore-exec dump:
kore-exec.tar.gz
To reproduce using the k sources:
Use this branch: https://github.com/virgil-serbanuta/verified-smart-contracts/tree/multisig.bug5/multisig/protocol-correctness/proof
Command line:
cd multisig/protocol-correctness/proof
make execution.timestamp && kprove proof-perform-remove-user-1.k

The error looks like this:
kore-exec: [51947972] Error (ErrorException):
    while normalizing substitution
        normalized:
            variable:
                RuleVarV:SortKItem{}
            term:
                /* Fl Fn D Sfc */
                /* Inj: */ inj{SortExpressionList{}, SortKItem{}}(
                    /* Fl Fn D Sfa */ RuleVarV:SortExpressionList{}
                )
        denormalized:

    while wrapping substitution
        assigned variable: RuleVarV:SortKItem{}
        assigned term:
            /* Fl Fn D Sfc */
            /* Inj: */ inj{SortExpressionList{}, SortKItem{}}(
                /* Fl Fn D Sfa */ RuleVarV:SortExpressionList{}
            )
    Assertion failed
    CallStack (from HasCallStack):
      assert, called at src/Kore/Internal/Substitution.hs:429:11 in kore-<IP_ADDRESS>-DshaysOjWTvItB8JRMIn4C:Kore.Internal.Substitution
      unsafeWrap, called at src/Kore/Internal/Substitution.hs:450:5 in kore-<IP_ADDRESS>-DshaysOjWTvItB8JRMIn4C:Kore.Internal.Substitution
      unsafeWrapFromAssignments, called at src/Kore/Internal/Condition.hs:183:11 in kore-<IP_ADDRESS>-DshaysOjWTvItB8JRMIn4C:Kore.Internal.Condition
      fromNormalizationSimplified, called at src/Kore/Step/Simplification/SubstitutionSimplifier.hs:137:29 in kore-<IP_ADDRESS>-DshaysOjWTvItB8JRMIn4C:Kore.Step.Simplification.SubstitutionSimplifier

We should never see RuleVarV:SortKItem{} and RuleVarV:SortExpressionList{}, so I'm extremely suspicious of what the frontend is passing us. But, I'm not able to find anything wrong with the Kore definition.


First time leave event was not triggered on flex items

Hello,
I have this script to monitor when a element will enter or leave the viewpoint.
$(function() {
    var os = new OnScreen();
    var header = $('.top-bar');

    os.on('enter', '#header', function() {
        console.log('enter');
    });

    os.on('leave', '#header', function() {
        console.log('leave');
    });
});

The markup is this:

                ...

                ...

Case 1 (issued)
.sub-column {
    display: flex;
    align-items: center;
}

On page loading enter event was triggered. I scroll the page and the leave event do not triggers. I return to top of the page and enter triggers, so I scoll down for the second time and only not the leave event triggers. After this point all entering and leaving triggers.
I register the same behavior when I try to use a table-like layout:
.sub-column {
    display: table-cell;
}

Case 2
.sub-column {
    display: block;
}

On page loading enter event was triggered. I scroll the page and the leave event was triggered. The behaviour repeats as expected, so it's working fine.

PS: I noticed that scrolling the page slowly grabbing down the browser scroll bar get onScreen to work also with the flex layout. Instead, scrolling the page faster (using mouse-wheel) cause the issue.

Nothing can help here^

Hi @fede91it … sorry for the delay. I was unable to reproduce this behavior. Does your mouse wheel scroll entire lines (jumps a few pixels) or does it scroll smoothly pixel by pixel?
I'm not sure if this is related to flex elements because you can also trigger this behavior with block and table elements.

Same issue with smooth or not scrolling. Anyway, with block elements the issue doesn't occur.
It seems the issue there is with flex-like layouts.

Nothing new here?


docs: update sass files to document variables

This is a duplicate of https://github.com/driftyco/ionic-site/issues/613 but I want to have it in this repo to remember it needs to be added.
The following components have Sass files with variables:

[x] Action Sheet
[x] Alert
[x] Badge
[x] Button
[x] Card
[x] Checkbox
[x] Chip
[x] Content
[ ] Datetime
[x] FAB
[ ] Input
[ ] Item
[ ] Label
[ ] List
[ ] Loading
[ ] Menu
[ ] Modal
[ ] Picker
[ ] Popover
[ ] Radio
[ ] Range
[ ] Searchbar
[ ] Segment
[ ] Select
[ ] Spinner (depends on https://github.com/driftyco/ionic/issues/8683)
[x] Tabs
[ ] Toast
[ ] Toggle
[ ] Toolbar

Try to keep the descriptions for the variables similar to the ones that have been added already (for example: https://github.com/driftyco/ionic/blob/master/src/components/tabs/tabs.ios.scss#L9)
This is related to issue https://github.com/driftyco/ionic/issues/5651. Help wanted! If anyone would like to contribute it is greatly appreciated. :)
These will show up in the Sass Variables section of each API doc: http://ionicframework.com/docs/v2/api/components/tabs/Tabs/#sass-variables

Sure, I'll help out. Taking care of action sheet, alert, card, checkbox and content for now.

Thanks @Thomaspunt! Please ping me when you submit the PR so I can get it merged. :smile:

@brandyscarney I've opened the PR #8929 😄

I have opened #8949 for the DateTime sass docs. Will be adding more soon.

Also opened #8950 for the Input docs.

@brandyscarney I've opened a PR for the label component #8952

I opened other PR (#8953) for the list component

Opened #8954 for the Item docs.

Opened  #8955 for the Modal docs.

@tkrupers @John-Luke @bul-ikana You're all awesome! Thanks for the PRs! :smile: :tada:


WIP: more changes needed to get lbryum to work on regtest

@kaykurokawa
I tried running lbryum on regtest yesterday and ran into issues.  I had an incredibly difficult time understanding the lbryum code and how it mapped to the lbrycrd code so I re-worked a lot of the get_target calculation to follow the lbrycrd code much more carefully.
I need to clean up the commits, but would appreciate it you could look this over and give some initial feedback before I put more work into it.
Thanks.

Didn't test anything but I think in concept these are all good changes.

Closing as replaced by https://github.com/lbryio/lbryum/pull/63 and https://github.com/lbryio/lbryum/pull/62


⚠ SceneTime has degraded performance

In 9ab14ab, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 2711 ms

Resolved: SceneTime performance has improved in 219409d after 12 minutes.


new(tests): add tests for event result

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area tests

Does this PR require a change in the driver versions?
No

What this PR does / why we need it:
While writing other tests I noticed how evt.res and related fields work, so I added coverage for those as well.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [LucaGuerra]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: incertum, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [LucaGuerra,incertum]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/milestone 0.18.0

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, incertum, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,LucaGuerra,incertum]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

New changes are detected. LGTM label has been removed.

LGTM label has been added.  Git tree hash: 242d0226e991773fc298d0ea5f10195ba064c247

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, incertum, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,LucaGuerra,incertum]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, FedeDP, incertum, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,FedeDP,LucaGuerra,incertum]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

New changes are detected. LGTM label has been removed.

LGTM label has been added.  Git tree hash: ba1241d3fc37e9424585672f896245d7d00d2de6

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, FedeDP, incertum, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,FedeDP,LucaGuerra,incertum]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, FedeDP, incertum, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,FedeDP,LucaGuerra,incertum]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


bug: account menu doesn't appear on header

cc @hackmod
I assume your code is wrong here

  Accounts

ng-show="settings.showRichList" should be removed
ps) please add "useRichList":  true, on config.example.json so explorer can sync richlist by default

@hackmod I see, but settings.showRichList didn't worked this time.
I didn't tested NORICHLIST=1 tools/sync.js but not using the option useRichList worked for me


Option for ignoring "unobserved" holidays

It might be nice to allow for not adding holidays that are not going to be observed on their normal date. I'm guessing that this only happens when the actual holiday falls on a weekend so maybe it doesn't matter.

To get a list like this you could just check if there's an "(Observed)" version of that holiday name and if there is not include it. Example:
import holidays

us_holidays = holidays.US(years=2016)

# Print all holidays
for date, name in sorted(us_holidays.items()):
    print date, name

# Print only observed holidays
# skip holidays that fall on weekends that have an "(Observed)" version
for date, name in sorted(us_holidays.items()):
    if name + " (Observed)" not in us_holidays.values():
        print date, name


df-chat-enhance: archive created in 3.0.0 not visible in 3.0.1

Module
df-chat-enhance 3.0.1
Describe the issue
Had issues with chat archives unable to open in 3.0.0, bug was found by hmqgg and hotfixed. Archive created in that version is not seen in chat archive manager in 3.0.1. JSON is present in foundry filesystem
To Reproduce
Steps to reproduce the behavior:
Unsure how to reproduce

Created archive in 3.0.0
Title was blank and archive could not be opened by module
update module to 3.0.1
chat archive now empty
verify presence of archive json in worlddata/chat-archive

Expected behavior
Archive from previous version should be present and browse-able by current version
Screenshots (Optional)

Screenshot shows archive with error as displayed in 3.0.0

screenshot shows only archive created in 3.0.1, and not the archive created in 3.0.0

screenshot showing presence of 3 archives in filesystem

Is this still an issue? I'm not currently able to reproduce it.

yes, issue remains after updating to 3.0.2, i see the json file from the missing archive(s) and but it does not appear in the chat archive.  i have attached an example of a missing JSON (renamed as .txt) in case it helps.
is there a way to manually load a chat archive json into the chat manager?
2_Test.txt


add pc monitor config for h32

rebase of #457
needs to be tested with @ipa-nhg's latest head-pc setup

The head-pc setup is still not working right:

[ ] accounts need to be generated for all users that have an account on the base-pc
[ ] perform ssh-copy-id and make sure there is a valid .bashrc (cob_default.bashrc is fine) that is sourced

Also, we have an issue with the cob_bringup/env.sh does have an overlay of cob_robots on the base-pc but not on the head-pc because the machine tag passes as env-loader the overlay path - which does not exist on the blank head-workspace....

Discussion on  the env-loader script is moved to a new issue #461 and a proposed WIP-solution can be found in #462

for this PR: CR: OK
we should merge this and continue discussion in #461


Always pass JAVA_HOME to daemon process

if it hasn't been modified.
Backport of #25038

@bot-gradle test and merge

I've triggered a build for you. Click here to see all failures if there's any.


Can't get it working

Hi there! We've been trying to apply this plugin in the project FastHub, but it still throws CreateProcess error=206.
We have also tried to manipulate with apply location without any success.
Here are commits and build results:

Commit
AppVeyor CI Build

https://github.com/k0shk0sh/FastHub/pull/798/commits/5e84f79b8d6e2aff41095d359f03c2cfcc0cd12d
https://ci.appveyor.com/project/k0shk0sh/fasthub/build/342

https://github.com/k0shk0sh/FastHub/pull/798/commits/c1bc5b141695fae5c8da9a860f0bab09e630521b
https://ci.appveyor.com/project/k0shk0sh/fasthub/build/345

https://github.com/k0shk0sh/FastHub/pull/798/commits/bc787c26c0932889f363348c891cb2910c19d9f3
https://ci.appveyor.com/project/k0shk0sh/fasthub/build/347

Can you help us, please?

ManifestClasspath is for handling long classpath (> 32 KB length) passed to JavaExec gradle task. Is your issue related to long classpath? Could you share output of gradle with --info flag?

To our surprise, we can reproduce the problem no more. I will reopen the issue if it will occur again.
Sorry for inconvenience.

@viswaramamoorthy it hapened again
https://ci.appveyor.com/project/yakov116/fasthub-afi9h/build/1.0.8

Log file that you shared does show any indication of Manifest plugin being
invoked. It makes me think that the
:app:transformClassesWithDesugarForDebug task is not of type JavaExec.
Assuming that you profile file picks up Manifest plugin, I do not have any
idea about :app:transformClassesWithDesugarForDebug, I could not comment
further or identify a solution. I did some searching and I could not find
more information about :app:transformClassesWithDesugarForDebug task or its
source code. Do you know if :app:transformClassesWithDesugarForDebug task
is part of open source? If so, send me location of source for
:app:transformClassesWithDesugarForDebug. I could check some more and get
back to you
Basically I am looking for task type for
:app:transformClassesWithDesugarForDebug. With that Manifest plugin can be
expanded to apply the fix for that task type as well.
On Tue, Aug 29, 2017 at 2:57 PM, yakov116<EMAIL_ADDRESS>wrote:

@viswaramamoorthy https://github.com/viswaramamoorthy it hapened again
https://ci.appveyor.com/project/yakov116/fasthub-afi9h/build/1.0.8
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/viswaramamoorthy/gradle-util-plugins/issues/1#issuecomment-325761414,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXpP1apc4ovl6Wv9VYf3BcsFrK_m1vh3ks5sdF8FgaJpZM4Oz_85
.

@viswaramamoorthy thNks for replying
The issue happened when we forked firebase. I will link you to the files later when I am at a computer.
Sent from my Nexus 9 using FastHub


Updated contributing.md file by adding git commands

Resolves #140
Description
Added the necessary git commands
Type of PR

[ ] Bug fix
[ ] Feature enhancement
[x ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
Checklist:

[x ] I have performed a self-review of my code
[x ] I have read and followed the Contribution Guidelines.
[x ] I have tested the changes thoroughly before submitting this pull request.
[x ] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x ] I have commented my code, particularly in hard-to-understand areas.

Additional context:
[Include any additional information or context that might be helpful for reviewers.]

@Amruta7203 add up yourself in the Contributor.ts

@Amruta7203 Why u closed this ??... i was about to merge it

@Amruta7203 is there any problem ?

@subhadeeproy3902 Maybe that happened because I synced the fork. I did not do that intentionally.

Request you to add the gssoc labels to this.

@Amruta7203 where is your contribution ?? ...
I said u changed the Contributing.md file giving thegit commands... along with it write ur details in Contributors.ts file. Please check previous convo

Yes, I know .. its okay ... in that PR i asked only to add ur details as contributor nothing else. But now check it ->

@Amruta7203 u have only added your details. You didnt solve the issue

@subhadeeproy3902 Maybe that happened because I synced the fork. I did not do that intentionally.


fix: UnicodeDecodeError when pip install on windows

fix by adding encoding field to two open functions
When I pip install blip-ci on Windows, get UnicodeDecodeError: 'gbk'codec can't decode byte 0xa4 in position 1326: illegal multibyte sequence

After changing the encoding:

Thanks!!


LastFM permission errors in log

Please check the FAQ before submitting a bug report.
Describe the bug
Hi,
I'm getting frequent permission errors (see below). Operation continues and recovers, but it would be nice to to get the error in the first place?
2023-12-10T23:09:20+01:00 info    : [Scrobblers] [Listenbrainz - brainz] Scrobbled (Backlog) => (Lastfm) Trevor Horn - Swimming Pools (Drank) @ 2023-12-10T23:05:16+01:00
2023-12-10T23:09:15+01:00 info    : [Sources] [Lastfm - myLastFm] Discovered => Trevor Horn - Swimming Pools (Drank) @ 2023-12-10T23:05:16+01:00
2023-12-10T14:47:11+01:00 warn    : [API - Lastfm - myLastFm] API call was not good but recoverable (operation failed), retrying in 1.5 seconds...
2023-12-10T07:44:11+01:00 info    : [Sources] [Lastfm - myLastFm] Polling started
2023-12-10T07:43:56+01:00 info    : [Sources] [Lastfm - myLastFm] Poll retries (2) less than max poll retries (5), restarting polling after 15 second delay...
2023-12-10T07:43:56+01:00 error   : [Sources] [Lastfm - myLastFm] Authentication Failed - You do not have permissions to access the service
To Reproduce
Normal runtime behaviour
Expected behavior
A clear and concise description of what you expected to happen.
Logs
If possible reproduce the issue with debug logging ON
2023-12-10T07:43:56+01:00 error   : [Sources] [Lastfm - myLastFm] Authentication Failed - You do not have permissions to access the service
Error:
    at CWD/node_modules/lastfm-node-client/lib/ApiRequest.js:136:11
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async u.callApi (CWD/build/server.js:1:16787)
    at async l.getRecentlyPlayed (CWD/build/server.js:12:5058)
    at async l.doPolling (CWD/build/server.js:9:14672)
    at async l.startPolling (CWD/build/server.js:9:12562)
    at async l.poll (CWD/build/server.js:9:12202)
2023-12-10T07:43:56+01:00 error   : [Sources] [Lastfm - myLastFm] Error occurred while polling
2023-12-10T07:43:47+01:00 error   : [Sources] [Lastfm - myLastFm] Authentication Failed - You do not have permissions to access the service
Error:
    at CWD/node_modules/lastfm-node-client/lib/ApiRequest.js:136:11
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async u.callApi (CWD/build/server.js:1:16787)
    at async l.getRecentlyPlayed (CWD/build/server.js:12:5058)
    at async l.doPolling (CWD/build/server.js:9:14672)
    at async l.startPolling (CWD/build/server.js:9:12562)
    at async l.poll (CWD/build/server.js:9:12202)
2023-12-10T07:43:47+01:00 error   : [Sources] [Lastfm - myLastFm] Error occurred while polling```

**Versions (please complete the following information):**
Provide version information for any related sources/clients.

- multi-scrobbler: [e.g. 0.6.2 on docker]

Is this still occurring? The error message you are seeing

Authentication Failed - You do not have permissions to access the service

Is directly from last.fm but is also probably the default message when they return a 403/401 status which could happen if they are having API issues upstream. They do tend to have API reliability issues more often than you'd expect. If MS recovers after some time then it's likely just that, a temporary upstream issue, rather than an actual issue with MS.

Yes, it's still occuring, and I also understand it's not a problem.
I'm just suggesting the error message should be caught, and ignored if a retry is successful.
Makes the log prettier ;)

I'm not going to suppress 401/403 responses because it's important those fail fast for actual authentication issues. It's Last.fm's responsibility to return the correct HTTP response if they are having general availability issues from their side (and its not 401/403, its 5xx). In fact their rest spec specifies a list of known errors that multi-scrobbler already uses for retry logic, they just need to actually send them!
I've added additional checks to retry (and suppress errors) if the api call results in a general network issue (unreachable, dns, timeout, etc...). This won't stop logging 401/403 errors but it should cover all other cases.


Include recommendations framework and tradeoffs

Here's a proposed outline for the set of recommendations we want to provide by the end of September:

If you're going to use a tile server...

if you can't change your data, here's what you can do to visualize it and what the experience will be
if you can change your data, here's what you should do and how much it will cost

If you're going to use the dynamic client...

if you can't change your data, here's what you can do to visualize it and what the experience will be
if you can change your data, here's what you should do and how much it will cost

We will also include a set of tradeoffs.

If you're going to use the dynamic client...

if you can't change your data, here's what you can do to visualize it and what the experience will be

For the dynamic client, I think a section documenting the necessary development steps that would unblock visualizing data that can't be changed is more applicable. This could include an outline of how the approach could be extended to render data that doesn't include pyramids as well as a roadmap for integrating pyramids into "analysis ready" Zarr stores (i.e., multiscales ZEP) (cc @katamartin for any additional thoughts).

we added tradeoffs in https://nasa-impact.github.io/zarr-visualization-report/approaches/tradeoffs.html
@maxrjones should we add a new ticket to document the necessary development steps to unblock visualizing data or are you happy with the content as-is?


Add Cryptomator app

All sources except the Google Play Store were verified. I filed a feature request to Cryptomator to post the SHA-256 hash for the signing certificate or at least verify that the Google Play Store one has the same hash.
https://github.com/cryptomator/android/issues/515

Also, Cryptomator with the lite package name is needed. It is the same hash just with a different package name. I'll add that entry myself.


Admin should be able to logout

No API call needed. Just delete the auth-token from local storage. @agneym

Ref https://github.com/coronasafe/journal/pull/61


Added mybinder to documentation (Fixes #4)

Added link to README.rst
Added link to each notebook

Thanks!


can provide the "dota_ckpt6.pth"of runing the demo.py?

Dear friend, I want to run this demo for my own dataset, but i lock of the "pth" file， Can provide the "dota_ckpt6.pth"of runing the demo.py?
Thank you!

Have you been got the "dota_ckpt6.pyh"?


Incorrect Scaling for OPD Files

The OPD files from the Bruker profilometer give a height scale that is different from what is made from the contact engineering website.

Hi @megannescio - can you share that topography with me? I'll check what's going on.

This is a duplicate of #675, which is fixed. The fix will be available when the next release 0.13.0 is online. Closing.


[Storage] Boundary for service version.

Create annotation for declaring service version boundary.

/azp run java - storage - tests-weekly

/azp run java - storage - tests

/azp run java - storage - tests-weekly

/azp run java - storage - tests-weekly

/azp run java - storage - tests-weekly

/azp run java - storage - tests-weekly

/azp run java - storage - tests-weekly

/azp run java - storage - tests-weekly

/azp run java - storage - tests-weekly

/azp run java - storage - tests-weekly

/azp run java - storage - tests-weekly


KubeSecondaryDNS: Nominate Or Shoval for approver

What this PR does / why we need it:
Alona is not as active on the project anymore.
Following [1], suggesting myself as an approver, since we worked together on this project.
[1] https://github.com/kubevirt/project-infra/pull/3795
Special notes for your reviewer:

cc @phoracek @AlonaKaplan if you can review please
thanks

/approve


Backport config changes from 4-0-maintenance

Backports the change the expectation for predicate methods so the build passes.

Merged because build failure is pre existing, do you want to work on that @pirj? I can't get it to run locally due to weird rvm issues.

I'll fix it.


doubles are converted wrongly when using varint/varuint data types

varint/varuint data types are implemented with bitwise operators, which in JS work only on integers smaller than MAX_INT (2^32).
So there is currently no support for double integers (large numbers).

not an issue - for doubles use "float64" data type


Integration test alt_home fails: net-ssh requires Ruby version >= 2.0

This occurs on Windows during integration testing with test-kitchen.
Full stack trace:
-----> Setting up Busser
       Creating BUSSER_ROOT in C:\Users\vagrant\AppData\Local\Temp\verifier
       Creating busser binstub
       Installing Busser plugins: busser-serverspec
       Plugin serverspec installed (version 0.5.7)
-----> Running postinstall for serverspec plugin
       Suite path directory C:/Users/vagrant/AppData/Local/Temp/verifier/suites does not exist, skipping.
       Transferring files to <alt-home-windows-2012r2>
-----> Running serverspec test suite
-----> Installing Serverspec..
$$$$$$ C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:533:in `ensure_required_ruby_version_met': net-ssh requires Ruby version >= 2.0. (Gem::InstallError)
$$$$$$ 	from C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:747:in `pre_install_checks'
$$$$$$ 	from C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:208:in `install'
$$$$$$ 	from C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/request_set.rb:97:in `block in install'
$$$$$$ 	from C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/request_set.rb:84:in `each'
$$$$$$ 	from C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/request_set.rb:84:in `install'
$$$$$$ 	from C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/dependency_installer.rb:371:in `install'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/busser-0.7.1/lib/busser/rubygems.rb:44:in `install_gem'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/busser-0.7.1/lib/busser/helpers.rb:57:in `install_gem'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/busser-serverspec-0.5.7/lib/busser/runner_plugin/serverspec.rb:60:in `install_serverspec'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/busser-serverspec-0.5.7/lib/busser/runner_plugin/serverspec.rb:33:in `test'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/thor-0.19.0/lib/thor/command.rb:27:in `run'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/thor-0.19.0/lib/thor/invocation.rb:126:in `invoke_command'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/thor-0.19.0/lib/thor/invocation.rb:133:in `block in invoke_all'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/thor-0.19.0/lib/thor/invocation.rb:133:in `each'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/thor-0.19.0/lib/thor/invocation.rb:133:in `map'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/thor-0.19.0/lib/thor/invocation.rb:133:in `invoke_all'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/thor-0.19.0/lib/thor/group.rb:232:in `dispatch'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/thor-0.19.0/lib/thor/invocation.rb:115:in `invoke'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/busser-0.7.1/lib/busser/command/test.rb:43:in `block in perform'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/busser-0.7.1/lib/busser/command/test.rb:35:in `each'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/busser-0.7.1/lib/busser/command/test.rb:35:in `perform'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/thor-0.19.0/lib/thor/command.rb:27:in `run'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/thor-0.19.0/lib/thor/invocation.rb:126:in `invoke_command'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/thor-0.19.0/lib/thor/invocation.rb:133:in `block in invoke_all'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/thor-0.19.0/lib/thor/invocation.rb:133:in `each'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/thor-0.19.0/lib/thor/invocation.rb:133:in `map'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/thor-0.19.0/lib/thor/invocation.rb:133:in `invoke_all'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/thor-0.19.0/lib/thor/group.rb:232:in `dispatch'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/thor-0.19.0/lib/thor/invocation.rb:115:in `invoke'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/thor-0.19.0/lib/thor.rb:40:in `block in register'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/thor-0.19.0/lib/thor/command.rb:27:in `run'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/thor-0.19.0/lib/thor/invocation.rb:126:in `invoke_command'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/thor-0.19.0/lib/thor.rb:359:in `dispatch'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/thor-0.19.0/lib/thor/base.rb:440:in `start'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/gems/busser-0.7.1/bin/busser:8:in `<top (required)>'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/bin/busser:23:in `load'
$$$$$$ 	from C:/Users/vagrant/AppData/Local/Temp/verifier/gems/bin/busser:23:in `<main>'
>>>>>> Verify failed on instance <alt-home-windows-2012r2>.

Add Gemfile with net-ssh pessimistically locked to 2.x.


Move testng listeners to presto-spi test jar

Move testng listeners to presto-spi test jar
This module is more frequently used and so it will allow us to diagnose
tests deadlocks in other modules as well.
Notice that presto-spi test-jar is used in tests of presto-main so there
is no regression, but it is also in places where where presto-main test-jar
is not used.

Actually neither place (presto-main's test-jar and presto-spi's test-jar) is ideal.
We have presto-testing's jar, and it's also not ideal.

Maybe we should some dedicated wrapper for testng?

Anyway, it does not work...


cloudflare issue

when i run my app on replit the app turns off beacause of error: zenora.exceptions.CloudflareException: Cloudflare blocking API request to Discord

Well, this is not something I can fix to be honest. A lot of times Cloudflare intercepts requests from apps and stuff. A lot of times it happens because of spamming the API with requests.

ok


Share Your Paper.org

Embed Share Your Paper.org UI into our upload process for integration into ScholarSphere.
https://openaccessbutton.org/embedoa#
https://openaccessbutton.org/api

This may be able to replace our current "upload to Scholarsphere" workflow for potential open access publications. The idea is that we would allow faculty to upload publications directly from their metadata profile management interface to shareyourpaper.org instead of directing them to the Scholarsphere site to upload their materials. shareyourpaper.org does a good job of verifying that uploaded content is actually permitted to be open access and that it's not in violation of any licensing agreements. Once verified, the publication gets deposited in a temporary, public repository (Zenodo). Scholarsphere may then be able to integrate with Zenodo in such a way that it can retrieve the publication and metadata.
We'll still need to keep track of which publications in the metadata database have been uploaded to shareyourpaper.org successfully.
Some questions that come to mind:

What happens when a user uploads a publication to shareyourpaper.org through the metadata database, but shareyourpaper.org later determines that the uploaded copy cannot be open access (and thus it's not deposited in Zenodo)? What does that workflow look like once it leaves our hands, and is there any way that we can be notified when things happen or change later?

Spoke with SYP and they mentioned: We'll be able to provide one for 'testing' that uploads to Zenodo's sandbox this month. That's ideal for making sure you're happy that it does what it says it does without risking archiving a bunch of publisher PDFs. We're still planning a version of SYP 'for production' without the Zenodo deposit.
I think the testing upload is a good first step for us.

Perfect! I was wondering how we would try this out. I'm glad they're making a sandbox available.

Ended up integrating the RMD UI with our own work.


[WIP] Add completer to python file editor

Fixes #586
This is a work in progress.
Without the completer setup, the behavior of the python editor was to add a tab whenever tab key was pressed, while the expected was to trigger code auto-complete.
While these changes bind the tab key with the completer feature (no longer adds a tab), the box with code hints is not yet being displayed, even after a kernel start up.
Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

After doing some investigation, I found that our python editor never sets its own session, which represents a live connection to a session kernel, basically a manager that owns the kernel.
In our current implementation, we create a python kernel and manually runs/stops it, only reading the input once at runtime, and exposing the output when it's done, there is never a live session running (removing the shutdown command after a run is not enough) - hence the option to create a python editor console is disabled from our extension.
Code completer needs to talk to the kernel through its session, so we need to set it up and expose it from the python runner.

Applying "Jupyterlab 1.x" as this needs backport to 1.x branch. I have started the backport but needs a little more work as TOC stopped working (we might need a smaller cleanup on 1.x than in 2.x).


parseOptions should throw an error if the option string doesn't start with '-'

parseOptions should throw an error it's asked to parse a string that doesn't start with -. Currently, it returns the default options, but I don't really see any good reason why.
We don't appear to be relying on this behavior, since I just replaced that return with a throw new Error and all the tests still passed.
This could be helpful for #590, but doesn't necessarily block it. After this is fixed, we should also refactor the change in #590 to take advantage of it though.

Fixed in #615


Use the new marathon packaging (testing with a snapshot build)

High Level Description
Adapt to the new Marathon bundle which has a better way to launch and supports snapshot builds.
Don't actually merge this right now, we need an actual snapshot first.
Related Issues

DCOS_OSS-950 Update DCOS packaging for marathon to use new format

Checklist for all PR's

[N/A] Included a test which will fail if code is reverted but test is not. If there is no test please explain here: If this doesn't work, DCOS won't either.
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Change log from the last version integrated (this should be a link to commits for easy verification and review): Do not merge me. This is for when we actually have a new package ready.
[x] Test Results: https://jenkins.mesosphere.com/service/jenkins/view/Marathon/job/phabricator-package-test-d696/56/
[x] Code Coverage (if available): N/A.

@mesosphere-mergebot bump-ee

@mesosphere-mergebot bump-ee

@timcharper  - the bot will only obey the pr-creator (or an owner, who have very wide privileges).

Please close in favor of https://github.com/dcos/dcos/pull/1505


Implicit declaration of function.

Sorry if this is an error on my side, I don't think it is but I'm probably not the right person to be messing with this stuff.

double min(double a, double b) {
return a<b ? a : b;
}

There is no need to define a function with variable casting etc...
The "standard" way of doing this is just add this line under #include lines:
#define min(a, b) (((a) < (b)) ? (a) : (b))


chore: track package-lock.json

Which problem is this PR solving?
Check-in package-lock.json to avoid breakage on regular CI runs. Dependencies should be updated regularly with renovate.
Fixes https://github.com/open-telemetry/opentelemetry-js/issues/785
Type of change

[x] Internal

Checklist:

[x] Followed the style guidelines of this project

I think I know what is failing the node 14 tests. If it's ok with you I'll just update your branch rather than creating a new PR since this is high priority and blocking all PRs

Looks like the test is going to time out. It must be stuck somehow. running locally with the same changes results in a failure of the tree shaking test on my machine. I would appreciate if someone else could try to verify the behavior is the same on a windows or linux machine.

tried on windows using the steps as in CI but it fails early during npm ci --ignore-scripts with
npm ERR! cipm can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.

Not sure but maybe the previous npm install --save-dev nx@^15 lerna@^6  causes some issues with the lock files.
I think we should aim to get the build setup back into a state where a simple npm install should install what is needed. If we need old version we should use it for all node versions. if we need special learn hoist configs we should use it local and in ci.
The current state to start a local build with reverse engineering github actions files is a bit cumbersome.

Not sure but maybe the previous npm install --save-dev nx@^15 lerna@^6 causes some issues with the lock files.

This should update the lockfiles so it shouldn't have that problem. I don't get that when I run it on mine and it doesn't happen on the CI either.

I think we should aim to get the build setup back into a state where a simple npm install should install what is needed. If we need old version we should use it for all node versions. if we need special learn hoist configs we should use it local and in ci.
The current state to start a local build with reverse engineering github actions files is a bit cumbersome.

We only need to do the special steps for node 14. We were currently talking in the maintainer channel about the idea to simply stop testing 14 because of this problem. In the past when we've deprecated a node runtime without a major version we've gotten strong pushback, so we're trying to figure out other options first.
So far we have:

bend the CI around to make 14 work
stop testing 14. possibly issue some deprecation "we aren't testing this" warning as an npm postinstall script on node 14
revert testing dependencies far enough back that they work on node 14. this likely involves switching from lerna to nx in order to have stricter control over which version of nx we use (lerna just uses nx under the hood) or going to a very old lerna version (<=6).

retried with a really clean setup now.
Locally node 14 unittests are green for me now on windows.

maybe worth to mention that I used the npm version coming with node. In my case it's npm 6.14.18 and node 14.21.3

maybe worth to mention that I used the npm version coming with node. In my case it's npm 6.14.18 and node 14.21.3

I'm using the same and getting failures on a complete fresh build in macos following the exact steps in the workflow
         1114 passing (3s)
         1 failing

         1) tree-shaking
              verify MetricsAPI:
            Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/daniel.dyla/otel/opentelemetry-js/api/test/tree-shaking/tree-shaking.test.ts)

The test failing is one that deals with mocking filesystems so it's entirely possible this is an OS level issue for me. The CI logs don't make it easy to see which test is causing the problem but it seems like it hangs forever. There are no tests that time out though so it appears to be hanging between tests or something? Maybe all tests are completed and the runtime just never finishes.

I'm trying to remove the cache. Because we're using lockfiles, the node_modules is removed when bootstrap is run anyway and it is one variable we can remove for now.

After significant trial and error I've been able to narrow down the CI hang to the OTLP exporter tests. Currently I'm testing all packages except the grpc exporters and I'm out of time for today. Anyone is welcome to pick this back up if they have time before i get back to it tomorrow.

I'm switching to npm workspaces to bootstrap monorepo dependencies and downgrading lerna to v6 for all Node.js versions as @Flarna suggested to keep consistency.
Problems encountered so far:

The compatibility test using @opentelemetry/resource v1.9.0 (requires a peer @api < 1.5.0) in sdk-trace-base is no longer working because npm workspaces use a different peer dependency installation strategy and the @opentelemetry/api used across the monorepo is not identical, leading to more problems.

OK sounds good. What's the advantage of npm workspaces? Is it more performant or does it fix issues? Or is it just to stay current with modern tooling?

I pushed a change to break the cache to see if i'm just doing something wrong locally

My cache break didn't break the build so I must be doing something locally causing the problem.

I installed deps with npm i (note, without any flags, like --ignore-scripts) and it works well. However, if flags like --ignore-scripts are set, it doesn't work like you mentioned because now dependencies of all sub-packages are installed together with the --ignore-scripts flag and it would break a lot.
Would you mind verifying the install command you use?

I installed deps with npm i (note, without any flags, like --ignore-scripts) and it works well. However, if flags like --ignore-scripts are set, it doesn't work like you mentioned because now dependencies of all sub-packages are installed together with the --ignore-scripts flag and it would break a lot.
Would you mind verifying the install command you use?

Going through a clean install following the exact steps I was able to build and test fine. There is a test failure but I believe it is macos specific (it is the tree shaking test) so I would prefer to unblock the CI and resolve it in a separate PR.
Here are my exact commands I used for reference which worked:
# make sure directory is completely clean
rm -rf node_modules packages/*/node_modules experimental/packages/*/node_modules && git clean -ffdx

# install npm 10
npm install -g<EMAIL_ADDRESS>
# install dependencies
npm ci

# compile packages
npm run compile

# test
npm run test

Successful in 3m

Seems fast enough anyway without caches

OK to merge this whenever you're comfortable IMO. It's blocking other things so its high priority.

Aside: Is there a separate issue for the test hang with<EMAIL_ADDRESS>

This also closes https://github.com/open-telemetry/opentelemetry-js/issues/3927 right?


Update Razor version to 5.0.0-preview.7.20312.9.

This has a fix for the Razor rename issue .

It's our Azure blob feed which we use for fallback cases. Given the npm package is only used at restore time having a CDN isn't 100% necessary


🐉 .spec.dex is deprecated 🐉

What is this PR About?
.spec.dex is deprecated, and support will be removed in Argo CD Operator v0.6.0/OpenShift GitOps v1.9.0. Dex configuration can be managed through .spec.sso.dex so values updated to accommodate this change.
How do we test this?
Provide commands/steps to test this PR.
helm install .
cc: @redhat-cop/day-in-the-life

thanks OPL bot 😉  - it also LGTM

@springdo @ckavili - this actually breaks in  - Red Hat OpenShift GitOps 1.6.1 which is the latest stable version we deploy in TL500 ?
gitops-operator-controller-manager-77b78b8b5d-j2l4b manager 1.6632113851401024e+09	ERROR	controller_argocd	Cannot specify SSO provider spec without specifying SSO provider type for Argo CD argocd in namespace tteam-ci-cd.	{"error": "illegal SSO configuration: Cannot specify SSO provider spec without specifying SSO provider type"}

not sure what channel OpenShift GitOps v1.9.0 is in ?

i this this needs reverting ...

I could install Argo CD v2.3.5 / operator v1.6.1 with this config on OpenShift 4.11 (in the same way we do in tech-exercises) but I need to check how the tests run there..if I can't figure it out, I will revert this 🫣🫣🫣

ah yeah good catch Mike, my local helm repo cache was too old pff 🤦
status:
  ssoConfig: Failed


Highlighting desn't work after 0.2.6 update

!!!Attention!!!
This release changes names of some syntax terms.
I apologize to all users, who has already tuned colors, for this inconvenience.
Please rename {Syntax Highlighter} colors in settings.json the following way:

"syntax.namespace" -> "syntax.scope"
"syntax.keyword_constant" -> "syntax.constant"
"syntax.keyword_directive" -> "syntax.directive"
"syntax.keyword_control" -> "syntax.control"
"syntax.keyword_operator" -> "syntax.operator"
"syntax.storage_modifier" -> "syntax.modifier"

Basically, this is not an issue. I've posted it myself to warn about these changes.
I will close it in several days when most users update their settings.

As a week has passed, I'll close this issue.


Editable primary color with Hex code

Hello
I was interested to see that there is a field for Hex color code when we choose a color from color picker but we cannot directly add one color by Hex code manually, I'm not sure if it's a bug or an incompatibility with my browser but was wondering if you can fix/add this.
Best Regards

If you copy a valid hex value and paste it directly into the input field, it should allow you to change the value to whatever you want. Reactive editing on the input field itself is removed because it causes some issues with MUI at the moment which would need to be fixed upstream.


Add the wildcard pattern **/

Summary of the new feature / enhancement
I'm annoyed writing:
Some command ./*.txt
Some command ./*/*.txt
Some Command ./*/*/*.txt
Some Command ./*/*/*/*.txt
...

Proposed technical implementation details (optional)
**/ is zero or more iterations of */ and should match any of them in an infinite directory hierarchy.

This can already be done with something like
Write-Output ( Get-ChildItem . -Filter "*.txt" -Recurse )

Or in UNIX shell
echo $(find . -name "*.txt")

Now  you need to be clear about what happens with symbolic links to directories with in tree, you will indeed get an infinite directory hierarchy if you follow them all

The reason I recommend pipelines over increasing the number of arguments on the command line ( which is what **/*.txt would do ) is that operating systems have finite limits on the number of command line arguments. You want a solution that works with infinite directories, this won't do that.
PowerShell is really designed to solve problems by breaking them up with pipelines, using Get-ChildItem and ForEach-Object will do exactly this, and will for example allow you to elegantly split the handling of items into thread jobs or similar if you choose.


MAPSJS-2983: Missing texture refs with Harp

Change-Id: I6f343979e9e8fbf0d66de7f0e8e1ca0266d9c35c
Signed-off-by: Daniele Bacarella<EMAIL_ADDRESS>Thank you for contributing to harp.gl!
Before requesting a pull request, please remember to check the following documents:

contribution guidelines
coding style

If you are adding new functionality we would highly appreciate if you can describe what is the capability you are adding and even better if you can add some examples. Please also remember to add tests for it.
CI Check
Our bots will check whether your PR can be directly integrated into the mainline. We have some internal integration tests running on the background, our bots will inform you of the next steps and someone from our team will take a look and help if needed!
And please do not forget to sign-off your commit! You can read more about DCO here. But, in short, you just need to use git commit -s or append --signoff when you are committing to the repo.
Happy contributing!

I looked at this a bit and thanks @dbacarel for the draft PR.
I think another approach could be instead to isolate the issue to the PoiRenderer, to avoid having to make big changes elsewhere. Because it should be possible for the code to still work even if the POI still doesn't have an image.
My suggestion would be to make the MapViewImageCache trigger an event when the cache is updated and the PoiRenderer can listen for this event.
The findImageItem can return a promise which is then resolved when the cache finally contains the image that is requested, and then it can be rendered.

@dbacarel , I look into this further and with help from @atomicsulfate , we agreed to have a simple approach, i.e. we remove the line to invalidate the PoiInfo and just try again, until we reach some limit and then print an error / give up.
I found some other ways to tackle the issue, but this seems the simplest.
Thanks anyway for starting to look into this, it was a very tricky problem and I needed a long time to fully understand what was going on.


gnucash: Update to 3.8b (fix checkver.regex)

Is it working fine? 3.8 did not ship needed dlls for Windows.

Is it working fine? 3.8 did not ship needed dlls for Windows.

I installed, but didn’t actually run it. Will test it soon...

Maybe they added some special dependency?

The 3.8b binary is missing lots of .dlls.

If you install the setup file from github, Gnucash will works without any problem or missing dll.
libunistring.dll.a is into the lib subfolder.

Then the solution is to install it via the installer., hopefully using the /S /D=$dir switches.

# Installed via scoop:

$ file libstdc++-6,*.dll libunistring-2*.dll
libstdc++-6,1.dll:    PE32 executable (DLL) (console) Intel 80386 (stripped to external PDB), for MS Windows
libstdc++-6,2.dll:    PE32 executable (DLL) (console) Intel 80386 (stripped to external PDB), for MS Windows
libunistring-2,1.dll: PE32 executable (DLL) (console) Intel 80386, for MS Windows
libunistring-2,2.dll: PE32 executable (DLL) (console) Intel 80386 (stripped to external PDB), for MS Windows

$ ls -l libstdc++-6,*.dll libunistring-2*.dll
-rwxr-xr-x 1 ross<PHONE_NUMBER>627 Aug 29 06:35 libstdc++-6,1.dll
-rwxr-xr-x 1 ross<PHONE_NUMBER>627 Aug 29 06:35 libstdc++-6,2.dll
-rwxr-xr-x 1 ross<PHONE_NUMBER>069 Mar 11  2018 libunistring-2,1.dll
-rwxr-xr-x 1 ross<PHONE_NUMBER>667 Jun  4  2018 libunistring-2,2.dll

# Installed via .exe:

$ file libstdc++-6*.dll libunistring-2*.dll
libstdc++-6.dll:    PE32 executable (DLL) (console) Intel 80386 (stripped to external PDB), for MS Windows
libunistring-2.dll: PE32 executable (DLL) (console) Intel 80386 (stripped to external PDB), for MS Windows

$ ls -l libstdc++-6*.dll libunistring-2*.dll
-rwxr-xr-x 1 ross<PHONE_NUMBER>627 Aug 29 06:35 libstdc++-6.dll
-rwxr-xr-x 1 ross<PHONE_NUMBER>667 Jun  4  2018 libunistring-2.dll

-rwxr-xr-x 1 ross<PHONE_NUMBER>627 Aug 29 06:35 libstdc++-6,1.dll
-rwxr-xr-x 1 ross<PHONE_NUMBER>627 Aug 29 06:35 libstdc++-6,2.dll
-rwxr-xr-x 1 ross<PHONE_NUMBER>069 Mar 11  2018 libunistring-2,1.dll
-rwxr-xr-x 1 ross<PHONE_NUMBER>667 Jun  4  2018 libunistring-2,2.dll

I don't think that the comma is allowed in windows filenames. I think that there are two versions of those two libraries and the scoop installer is unable to handle them. Maybe the normal installer just overwrites those libraries files in the destination folder, but I don't know how verify this theory.

They are platform specific then. I will see inno installer file later.

I don't think that the comma is allowed in windows filenames.

They are. The listing was run on Windows, via ls.


Add workaround for SwiftUI bug in VMRemovableDrivesView

Reproducing the bug

Select a VM with a removable drive
Tap the browse button to open the Files app modal
Tap outside the modal to dismiss it
Tap the browse button again
Expected:
The modal re-appears
Actual:
Due to a SwiftUI bug the modal doesn't reappear.
The technical reason for the bug is that the Files importer doesn't get canceled properly when the user taps outside the modal. Instead, the presented ViewController is dismissed and the necessary isPresented = false callback inside SwiftUI doesn't happen.

Workaround
We can catch this erroneous behavior by, at step 4, checking if the modal is already supposedly presented (diskImageFileImportPresented). This is normally impossible because the modal blocks interaction with the view below it (and thus the Browse button). That is how we know that the bug has happened earlier. Now we need to reset the diskImageFileImportPresented to false and, after the view updates, set it to true again to show the modal. This is achieved with an additional @State Bool just for the workaround.
Why is this needed
This bug affects us in multiple places, including the Drives configuration and the Import UTM Virtual Machine menu. However, the bug is less annoying in those places, as those only require a single click on a button (which can easily be retried). Therefore, in those places, the current .toggle() behavior suffices: the isPresented is set to true on the next click. However with the removable drives view, I believe that the fact that the Browse button is tucked away in a menu means this bug is extra annoying.

That's a great idea and makes more sense when you read the code. I've changed the workaround to be a .onChange on the Button where the bug is triggered.


添加自定义catalog， 添加新组件，不能自动刷新

添加自定义catalog， 添加新组件，不能自动刷新~
需要注销一次才会成功

@OliverVin This is not a bug, the catalog is refreshed every 5 minutes.  There is also a refresh button on the upper right that will pull any updates.

thank you, i found it


Add Nix support

Allows nix users to install this to their environment, with a nice shell wrapper to boot.

Nice. Thanks for the PR, @srid!


Added some options to enhance functionality

I added three options:
-s,--sign               Sign this apk.
-i,--install            Install this apk.
-r,--reinstall          Reinstall this apk.

Function is the APK signature, installation, re install,It is not necessary, but it is very common for me,Very much hope to merge into the master repository.
Automatic signature using method:
In the same directory as the apktool and create a sign.conf configuration file, and then write the signature command, use %s instead of APK path, and the keystore file is also added to the directory.
jarsigner -keystore test.keystore -storepass 123456 -keypass -signedjar %s %s test1

Then you can use the automatic signature option.
apktool b app-debug -s

Dist directory will generate the signature file app-name-sign.apk.
You can also use the -i and -r options to automatically install the APK.
Thanks very much for creating such a powerful feature @iBotPeaches.

Thanks for a first time contribution! I'm a little weary of this for a few reasons.
One of the initial problems of Apktool was the dependency on the aapt binary. Bug reports and support requests everywhere were people struggling to add the platform specific binary into their $PATH, so apktool could execute. Arguably those messing with a reverse engineering tool should know how to manage their path, but not everyone using apktool is a professional.
Then the mess of the aapt binary version came into play. AOSP version after version, including some patch versions, updated that binary. Some users had new, other users had old, because why would a user go through the trouble of updating a system binary when they already had one? This led to an insane amount of bug reports for out of date aapt versions, wrong platform aapt versions and more.
Thus, we brought the aapt binary into the application itself. This bloated the final jar size, but solved 10x problems.
Now lets take a look at your idea. You have done two things in this PR that we haven't done in Apktool in 3+ years.

You have a dependency on adb. You require the user to have it installed on their system and require a version compatible with install/reinstall functionality. You'd be surprised how difficult it is in production to confirm that is the case. This is about the same problem we faced with aapt, you've just replaced aapt  with adb which I'm real nervous about re-adding.

You added a configuration file needed, for the signing procedure. This is the first time apktool would ever require a configuration file passed at runtime. I don't think I want to introduce that as nothing else in apktool follows that pattern.

Finally, -s is already used as a parameter.
Thanks a ton for contributing and getting started working on apktool, but I think this functionality is best left as shell scripts per environment.

Thank you very much for your review,I added a few options to confirm that too much reliance on a bit contrary to the original intention of the apktool, but I was thinking of the most is an additional feature, so I created the PR.


get_info(), which gets string information from a connection

This exposes a simple function that takes an info_type returns the information as a string, which allows users to query all available info types (https://msdn.microsoft.com/en-us/library/ms711681(v=vs.85).aspx#Anchor_6) not just those exposed by nanodbc methods.

A test for the new function is missing. The aim is to accept new features, even if trivial, only if covered with at least basic test.

I renamed the function to get_info() and made it templated so it now supports all documented return types from SqlGetInfo
Also added some simple tests as requested.

@jimhester Thanks for your efforts. The update solution looks good to me. Let's see what @lexicalunit says :)


Uncaught Snapshot missing on Livewire component - nested component items

Hi,
Doesn't seem to work when the group items are a nested component, getting this error in the console
"Uncaught Snapshot missing on Livewire component with id: KLeG0kT7hyyZB9XYWnMp"
Heres a sample layout:

    @foreach ($groups as $group)

id }}" wire:key="group-{{ $group->id }}">

{{ $group->label }}

            <button wire:sortable.handle>drag group</button>

id }}" wire:sortable-group.options="{ animation: 100 }">
                @foreach ($group->tasks()->orderBy('order')->get() as $task)

                      <livewire:nested-items wire:key="task-{{ $task->id }}" />

                @endforeach

    @endforeach

Sample nested component blade

id }}" >
                        {{ $task->title }}
    <button wire:sortable-group.handle>drag item</button>

Works fine when items not a nested component, any help or guidance would be much appreciated
Using Livewire 3 and latest release of this package.
thanks

I'm running into this issue as well. Curious to know if there's a fix for it!

I am unable to reproduce this issue. Could you provide the (minimal) code to reproduce this? (maybe just with array data instead of database records, to keep it simple)

This issue is still happening, sort breaks when using nested livewire components.

Hey @gdebrauwer , nice to meet you!
Just got to know about this repo, much needed!
I went the same rabbit hole of having nested LW components inside a parent LW, using SortableJS on the client.
Check https://github.com/ijpatricio/playground-wire-sortable and https://youtu.be/P5pfcn67wI4?t=928 (video at relevant timestamp)
I ended up reaching a naive but working solution!
Not using @foreach, because Livewire will hook into that and add markers for its morphDom. If we properly use the wire:key, those won't be needed at all.
Hope this helps.


Hang while switching servers

I got a report from one user that first entered chat.zulip.org and then tried to switch to another server that the app hung until he restarted it.

Got a second report of this, so definitely worth fixing :)

Not sure if related but I found a thing we are not handling.
In eventActions.js we have this:
while (true) {
It needs to break if we switch accounts.

I'm not sure that's related either but will open an issue for that

@neerajwahi will your PR address this issue or should I be working on it?

It fixes the event queue not breaking when switching accounts, but not sure if that's the root cause of this issue

I haven't encountered the main issue apart from that, so I suggest we treat it as fixed.
If reported again after the release, we can open a new issue.

I think this is a pretty reproducible flow -- starting with no special state, try logging into one server (but fail) and then switch to another and try to login.  So we should just try that recipe; if it works now, close; otherwise, fix :)

Hmmm, that is a very different scenario from what I envisioned. I'll try to reproduce.


[Feat] Pop-Out Chat Message Support

Being able to pop out chat cards would let my players (and myself as a GM) have a visual reminder or quick access to on-going activities like spells, effects, or stances.

From nchezrony [discord]

This is a core foundry feature that can be supported by adding a flag to chatCards
message.setFlag('core', 'canPopout', true);
One issue I see with this is that our chat cards are svelte components so we might need to have to warp renderChatPopout to handle svelte which might be a bit of a pain.

Did some further testing and our stuff still works when popped out. The only issue is that the background style for the card is lost.


i couldn't give any imput in cmd prompt after this session

i  hosting: Serving hosting files from: app

hosting: Local server: http://localhost:5000

<IP_ADDRESS> - - [18/Aug/2017:04:18:39 +0000] "GET / HTTP/1.1" 404 139 "-" "Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36"
<IP_ADDRESS> - - [18/Aug/2017:04:18:59 +0000] "GET /favicon.ico HTTP/1.1" - - "http://localhost:5000/" "Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36"
<IP_ADDRESS> - - [18/Aug/2017:04:19:07 +0000] "GET / HTTP/1.1" 404 139 "-" "Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36"
<IP_ADDRESS> - - [18/Aug/2017:04:19:07 +0000] "GET /favicon.ico HTTP/1.1" 404 150 "http://localhost:5000/" "Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36"
<IP_ADDRESS> - - [18/Aug/2017:04:40:10 +0000] "GET / HTTP/1.1" 404 139 "-" "Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36"

Please re-open an issue with more details about your exact issu, a step by step way to replicate the issue, expected result and experienced result.
In general please follow the issue template :)


building a Chatbot

I would like to add a project for building a chatbot using nlp techniques and gemini api
this would help to learn chatbot fundamentals and how to build a chatbot for a beginner with llm and RAG
@Niketkumardheeryan  Im a GSSoC 24 contributor, please assign me this issue

Assign me this issue, I have experience in building chatbot with Gemini API, use can view my project here, https://github.com/DebasisX/DebX. Thank you.


Switch from tslint to eslint

tslint is being deprecated. We should switch to eslint.
References:
https://github.com/typescript-eslint/tslint-to-eslint-config
https://github.com/typescript-eslint/typescript-eslint

Another reference, ipywidgets recently moved to ESLint: https://github.com/jupyter-widgets/ipywidgets/pull/2657

Thanks @jtpio
I play a bit on this one today. I'll submit a PR later this week.

Thanks @fcollonval, that would be great!
It seemed like TypeScript 3.8 made the lint check fail (see  https://github.com/jtpio/jupyterlab-extension-examples/pull/70#issuecomment-592138423 and https://github.com/jtpio/jupyterlab-extension-examples/runs/473121876).
So switching to ESLint will hopefully make it easier to migrate to TypeScript 3.8 after.


v0.12.2-alpha endgame

DRIs

DRI

Endgame
@sgrebnov

QA
@Jeadie

Docs
@digadeesh

Comms
@karifabri

Milestone Release Timeline

Date
Description

Planning
Mon, May 13

Release
Mon, May 13

Announcement
Mon, May 13

Planning Checklist

[ ] Review the specific GitHub Milestone

Release Checklist

[ ] All outstanding spiceai feature PRs are merged @sgrebnov
[ ] Full test pass and update if necessary over README.md @digadeesh
[ ] Full test pass and update if necessary over Docs (please get screenshots!) @sgrebnov
[ ] ~Full test pass and update if necessary over existing and new Samples (please get screenshots/videos!)~
[ ] Full test pass and update if necessary over existing and new Quickstarts (please get screenshots/videos!) @Jeadie
[x] Merge Docs PRs @sgrebnov
[x] Merge Registry PRs @sgrebnov
[x] Merge Samples PRs @sgrebnov
[x] Merge Quickstarts PRs @sgrebnov
[ ] Update release notes @sgrebnov + @lukekim
[ ] Update acknowledgements by triggering Generate Acknowledgements workflow @sgrebnov
[ ] Verify version.txt and version in Cargo.toml are correct using docs/RELEASE.md
[ ] Ensure E2E Test CI is green on trunk branch @Jeadie
[ ] QA DRI sign-off @Jeadie
[ ] Docs DRI sign-off @digadeesh
[ ] Create a new branch release-v[semver] and merge all relevant changes into it. E.g. release-v0.9.1-alpha @sgrebnov
[ ] Release the new version by creating a pre-release GitHub Release with the tag from the release branch. E.g. v0.9.1-alpha @sgrebnov
[ ] Release any docs updates by creating a v[semver] tag. @sgrebnov
[ ] Trigger algolia search crawler [workflow] (https://github.com/spiceai/docs/actions/workflows/trigger_search_reindex.yml), to reindex updated docs. @sgrebnov
[ ] Update the Helm chart version (image.tag version & chart version). Ensure docker build for the tag from the release branch completed (~2 hours) and trigger the Release Chart workflow. @sgrebnov
[ ] Final test pass on released binaries @sgrebnov
[ ] Run E2E Test Release Installation @sgrebnov
[ ] Update version.txt and version in Cargo.toml to the next release version. @sgrebnov
[ ] Update versions in brew taps @sgrebnov
[ ] Remove the released version from the ROADMAP @sgrebnov

Announcement Checklist

[ ] X: @spice_ai @karifabri
[ ] Reddit: reddit.com/r/spiceai @karifabri
[ ] Discord: #announcements @karifabri
[ ] Telegram: spiceai @karifabri
[ ] Blog: blog.spiceai.org @karifabri

PR reference

PR 1.
PR 2.
etc.

Quickstarts to test

[ ] https://github.com/spiceai/quickstarts/tree/trunk/postgres
[ ] https://github.com/spiceai/quickstarts/tree/trunk/snowflake
[ ] https://github.com/spiceai/quickstarts/tree/trunk/refresh-data-window

Release is fully completed.