Improved fetch license for nuget

Added support for .NET Library License for Nuget projects
Fallback to resolve license via repository if license is undefined or still a url
Fixed some JSDoc comments

Example for .NET Library License:
{
  "author": "Microsoft",
  "group": "",
  "name": "Microsoft.NETCore.Targets",
  "version": "1.1.0",
  "description": "Provides supporting infrastructure for portable projects: support identifiers that define framework and runtime for support targets and packages that reference the minimum supported package versions when targeting these. \nWhen using NuGet 3.x this package requires at least version 3.4.",
  "hashes": [
    {
      "alg": "SHA-512",
      "content": "68e640dc159fcfd4578e9cedd2c44924c8c0b1c0149b71e86b851601f71e57d513631830675959b799ceda6c857fefe37ad610a38b933fbcd2f2c258ebb041c6"
    }
  ],
  "licenses": [
    {
      "license": {
        "name": ".NET Library License",
        "url": "https://go.microsoft.com/fwlink/?LinkId=329770"
      }
    }
  ],
  "purl"<EMAIL_ADDRESS>  "externalReferences": [
    {
      "type": "website",
      "url": "https://www.nuget.org/packages/Microsoft.NETCore.Targets/1.1.0/"
    },
    {
      "type": "vcs",
      "url": "https://dot.net/"
    }
  ],
  "type": "framework",
  "bom-ref"<EMAIL_ADDRESS>},

Before the change:
"license": {
  "name": "CUSTOM",
  "url": "http://go.microsoft.com/fwlink/?LinkId=329770"
}

Example resolved via repository:
{
  "author": "Google LLC",
  "group": "",
  "name": "Google.Apis",
  "version": "1.55.0",
  "description": "The Google APIs Client Library is a runtime client for working with Google services.\nThe library supports service requests, media upload and download, etc.\n    \nSupported Platforms:\n- .NET Framework 4.5+\n- NetStandard1.3, providing .NET Core support",
  "hashes": [
    {
      "alg": "SHA-512",
      "content": "b22c3733a54e15b92b4e5393a3b17cf41add0c5430fd7564b3caa8e310cc5f01a9c0aa42b7429610d62cecdd91585ce7260865ae63ee67a4b1d77bef62aaf29c"
    }
  ],
  "licenses": [
    {
      "license": {
        "url": "https://github.com/googleapis/google-api-dotnet-client/blob/main/LICENSE",
        "id": "Apache-2.0"
      }
    }
  ],
  "purl"<EMAIL_ADDRESS>  "externalReferences": [
    {
      "type": "website",
      "url": "https://www.nuget.org/packages/Google.Apis/1.55.0/"
    },
    {
      "type": "vcs",
      "url": "https://github.com/googleapis/google-api-dotnet-client"
    }
  ],
  "type": "framework",
  "bom-ref"<EMAIL_ADDRESS>}

Before the change:
"license": {
  "name": "CUSTOM",
  "url": "https://www.nuget.org/packages/Google.Apis/1.55.0/license"
}

New logic reduced "CUSTOM" licenses for https://github.com/fsprojects/FAKE from 188 to 23

With support for mono and apache.org only 7 "CUSTOM" licenses remaining. Remaining licenses will need manual validation as no further implementation makes sense

@Nikemare, I think it was an old version of Terraform or something similar. Best to test with a few go projects.

@prabhu I updated the pull request while https://www.githubstatus.com/incidents/66vhjmd266r9 was active. For some reasons I only see that 3 checks have been started. Can you trigger the other checks manually?

@Nikemare it says all checks were successful. Do you want to make a temp update to a readme file to rerun all checks if needed?


[Bug] Cannot load images in TMTV or Segmentation mode with local datasource

Describe the Bug
Loading TMTV mode with local folder as datasource is not working in demo sites.
The same happens for segmentation mode with SEG files. Data opens in segmentation mode without any SEG file, but breaks as soon as we add a new segmentation.
An exception is thrown from extensions/default/src/getPTImageIdInstanceMetadata.ts as it cannot provide metadata for local datasource image ID.
  if (!dicomMetaData) {
    throw new Error('dicom metadata are required');
  }

This seems to be broken from 3.9.1 tag and also exists in the nightly build demo viewer.
Steps to Reproduce
Go to https://viewer.ohif.org/local and load a folder with PET and CT images
Open the study in TMTV mode from the study list page.
The current behavior
TMTV mode shows the below error and all vewports are blank.

The expected behavior
TMTV mode should open the study and display images
OS
Ubuntu 24.04
Node version
18.19.0
Browser
Chrome 131.0.6778.108

Does the same data work in regular mode?

@sedghi The same happens for segmentation mode with image series and its SEG files loading via local datasource.
DICOM image series opens in segmentation mode without any SEG file, but it breaks as soon as we add a new segmentation.

@sedghi This issue seems to be due to the change in the case of SOPInstanceUID in normal metadata and local data source metadata. Here  is the area from which the code is breaking due to the mentioned issue.

ok we will look


Move ping time to separate line

Hello
Could you move the ping time to separate line?
Now speedtest-cli prints:
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from XXXX (xxx.xxx.xxx.xxx)...
Hosted by Brandl Services GmbH (Pavelsbach) [1940.63 km]: 57.347 ms
Testing download speed........................................
Download: 10.31 Mbit/s
Testing upload speed..................................................
Upload: 10.60 Mbit/s
I would like to speedtest-cli to print like this:
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from XXXX (xxx.xxx.xxx.xxx)...
Hosted by Brandl Services GmbH (Pavelsbach) [1940.63 km]
Ping: 57.347 ms
Testing download speed........................................
Download: 10.31 Mbit/s
Testing upload speed..................................................
Upload: 10.60 Mbit/s
Now ping, download and upload syntax would match --simple option:
Ping: 57.347 ms
Download: 10.31 Mbit/s
Upload: 10.60 Mbit/s

I cannot as this changes what people have come to expect.


Bool instance

There is cool package Boolean which provides generic Booleans useful for EDSLs.
I thought maybe it can be useful for Plutarch.

I don't think this needs to be in the main Plutarch repo though. Perhaps it makes more sense to have it be a separate repository that people can add as a dependency if they need to.

@TotallyNotChase  With those instances we get some nice functions that emulate guards and case-expressions. I think it can also be useful for plutarch.

Ah, guardB and caseB look pretty cool. But I think those should just be regular, monomorphized Plutarch term utilities. Won't need the boolean dep or instances then.

guardB looks nice, but I don't think it's good to depend on an unmaintained dependency. Last update is almost 5 years ago.

That's ok. I just saw that you use Num instances  and thought that you might be interested to rely on classes for booleans too.
Just to say couple of words in defense of that package. If something does not change every half a year does not mean that it's not useful. Num has not changed for about a 30 years. How often would you like the meaning of boolean operators or comparison operators to be changed?

https://xkcd.com/2347/

I completely agree with that sentiment, however, GHC and base often have breaking changes.

If we are to have this in Plutarch we want to do this without adding the unnecessary dependency.


Add IP blacklisting and watch

This is a rough proof of concept, but I'm hoping it can be accepted as a baseline for future work in this direction.
There is some fugly code duplication between the IP and ASN lookups in particular; the code should arguably be refactored and modularized to have a single "loop over URL hosts" function with different options and parameters depending on what you are looking up.
I have blacklisted two IP addresses and added a bunch of IP addresses to watch based on completely ad-hoc exploration of recent Halflife reports.  Briefly speaking, search for an AS and take note of recurring IP addresses then maybe search for each of those in turn. I focused on big providers which we cannot just plonk in the ASN watch list, though this could obviously be repeated for many other scenarios.
As a brief test, I have scanned some 600 posts during the last hour or two (one hit on a spam which was reported for other reasons too; watched IP match on goldencondor.org; no false positives).

Having the lists statically in the code is obviously a wart. Maybe with the SQLite (or some variation of that initiative) we could make these easy to manage from chat, and perhaps via some sort of API.  I'm thinking SmokeDetector (or perhaps Halflife) could do the bulk of the routine work which we currently perform manually.

What sort of hit rate is this getting?

The hit rate so far is low, and I don't expect it ever to be very high; but the watchlist and the blacklist added in this PR are still very small, and should certainly be expanded if we get this into production.
This is mainly a fallback for when you can't watch an entire AS but still have something reasonably specific within that AS that you would like to get at.
I'm thinking down the line the watch functionality could be automated (add sites at a certain TP/FP threshold) sort of how the "blacklisted user" works now to help us find new incidents involving the same resource.

Rebased to change some commit messages (misleadingly said "Blacklisted" when the IPs were actually "Watched")

Erm, uh, looks like I botched the rebase :-/

Synced with {{master}} and force pushed with the history fixed up properly.

There's a lot of stuff to merge. I'll probably try to rebase this to branch off the current {{master}}. Please ping me if you don't see signs of life here.


[FIX_CI] - Investigate and fix test coverage on CI

What is this task and why do we need to work on it?
Investigate the test_coverage_intersperse_many_rounds failure in a previous run.
What are the acceptance criteria to close this issue?
Either confirm it failed due to the CI hitting the timeout limit or fix the real issue behind it.

All test_coverage tests pass locally, and the linked CI is the only time recently one of them failed due to timeout, so this doesn't look like a real issue, but just a CI timeout.

All test_coverage tests pass locally, and the linked CI is the only time recently one of them failed due to timeout, so this doesn't look like a real issue, but just a CI timeout.

Closing the issue because of this.


Turn 'ConcurrentSyncs' into a fillable parameter

In different usage scenarios or different machine configurations,
the number of codons varies. We then can do the configure.
For example, in some situations, we could change it to 64 in
the machine with '64 cores'.

/ok-to-test

/ok-to-test

@carolynvs Thanks, I have rechecked it.

@carolynvs I have updated it.

/lgtm

/assign @MHBauer

weird that this was never hooked up to a cli flag.
/approve


Set store and replica-label flag on API Gateway to empty

As this Querier is just for the UI assets we don't need these store and replica-labels setup.
/cc @kakkoyun @squat @rollandf

Closes #200

Resolved the conflicts and tests are green.


Add Abide Extension

Should be adding Abide Regex Pattern and a quick way to validate forms in Extension package

Added in v3.1
You can use DataAnnotation via OpenCodeDev.Blazor.Foundation.Extensions.ValidatorAttributes

[AbideAlpha]
[AbideAlphaNumeric]
[AbideColor]
[AbideDomain]
[AbideGuid]
[AbideHttpUrl]
[AbideInteger]
[AbideNumber]
[AbideUrl]

Regular Expression:

Abide.ALPHA
Abide.ALPHA_NUMERIC
Abide.INTERGER
Abide.NUMBER
Abide.CARD
Abide.CARD_CVV
Abide.URL
Abide.URL_HTTP_ONLY
Abide.DOMAIN
Abide.COLOR


Next button of Keyboard not working

Each cell of tableview has a textfield. On click of next button of keyboard it is not moving to next textfield.

The same error.


Arrow key support when interacting with search results

When I type in the search result window -- I expect to be able to hit the 'down' arrow key to select search results.
Unsure what to do after that, though. The item gets selected... but then what? Does enter key automatically add it to the stream? Or what? Should left/right arrow keys be able to toggle over to the other window?

@MiracleBlue So this never happened... :p :-1:


Minor changes in each query and renamed the workbook

This PR has following main changes:

Renamed the workbook
Replaced summarize in the queries with make-series operator to account for the missing intervals
Added a warning incase no telemetry data is received

I am seeing no query results under the disk tab , first section. Any idea why that is?

I am able to see the data now, not sure. Did you try refreshing ?

I just checked again. The current deployed os linux workbook works fine. But when I enter the changes you made, I see the same error

Its expected because we are filtering for only xfs and nfs4 type filesystems in the query and the vm on which the agent is running doesnt have any such fileysystems


Create edu.txt

Hi, my name is Nikita Zhukov. I am a student of the 11th grade of the Lyceum 1502

@IvanBrekman Regrettably, this email domain does not belong to a particular school, it is for all schools in the city.
If you do not have an email which your school provided you with, please apply for free educational license with an official document which proves that you are a student. You can do it using "OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students.
Thank you for your understanding!


Cannot start a new revision on default configuration, set to Degraded

Please provide us with the following information:

This issue is a: (mark with an x)

[x] bug report -> please search issues before submitting
[ ] documentation issue or request
[x] regression (a behavior that used to work and stopped in a new release)

Issue description
Apologies for the awful title!
Starting today, deployment and startup of a new Revision seems to fail and puts the whole revision in a Degraded state.
The Container Apps we use are configured with either default scaling rules (ie. the one you get without making a new scale rule) or no Ingress at all.
We have a separate environment where the same image was able to be deployed without issues on Friday, but today we are experiencing these logs:

{"TimeStamp":"2024-11-18T11:34:43Z","Type":"Normal","ContainerAppName":null,"RevisionName":null,"ReplicaName":null,"Msg":"Connecting to the events collector...","Reason":"StartingGettingEvents","EventSource":"ContainerAppController","Count":1}
{"TimeStamp":"2024-11-18T11:34:44Z","Type":"Normal","ContainerAppName":null,"RevisionName":null,"ReplicaName":null,"Msg":"Successfully connected to events server","Reason":"ConnectedToEventsServer","EventSource":"ContainerAppController","Count":1}
{"TimeStamp":"2024-11-18 11:34:22 \u002B0000 UTC","Type":"Warning","ContainerAppName":"","RevisionName":"","ReplicaName":"","Msg":"ScaledObject doesn\u0027t have correct triggers specification","Reason":"ScaledObjectCheckFailed","EventSource":"KEDA","Count":9}
{"TimeStamp":"2024-11-18 11:34:24 \u002B0000 UTC","Type":"Warning","ContainerAppName":"","RevisionName":"","ReplicaName":"","Msg":"ScaledObject doesn\u0027t have correct triggers specification","Reason":"ScaledObjectCheckFailed","EventSource":"KEDA","Count":10}
{"TimeStamp":"2024-11-18 11:34:29 \u002B0000 UTC","Type":"Warning","ContainerAppName":"","RevisionName":"","ReplicaName":"","Msg":"ScaledObject doesn\u0027t have correct triggers specification","Reason":"ScaledObjectCheckFailed","EventSource":"KEDA","Count":11}
{"TimeStamp":"2024-11-18 11:34:37 \u002B0000 UTC","Type":"Normal","ContainerAppName":"","RevisionName":"","ReplicaName":"-744d76667b-79pdh","Msg":"Pulling image \u0027\u0027","Reason":"PullingImage","EventSource":"ContainerAppController","Count":1}
{"TimeStamp":"2024-11-18 11:34:40 \u002B0000 UTC","Type":"Warning","ContainerAppName":"","RevisionName":"","ReplicaName":"","Msg":"ScaledObject doesn\u0027t have correct triggers specification","Reason":"ScaledObjectCheckFailed","EventSource":"KEDA","Count":12}
{"TimeStamp":"2024-11-18 11:34:49 \u002B0000 UTC","Type":"Warning","ContainerAppName":"","RevisionName":"","ReplicaName":"","Msg":"ScaledObject was removed from KEDA watch and would not be auto-scaled. Please check https://learn.microsoft.com/en-us/azure/container-apps/dapr-overview","Reason":"ScaledObjectDeleted","EventSource":"KEDA","Count":1}
{"TimeStamp":"2024-11-18 11:35:00 \u002B0000 UTC","Type":"Warning","ContainerAppName":"","RevisionName":"","ReplicaName":"","Msg":"ScaledObject doesn\u0027t have correct triggers specification","Reason":"ScaledObjectCheckFailed","EventSource":"KEDA","Count":13}
{"TimeStamp":"2024-11-18 11:35:41 \u002B0000 UTC","Type":"Warning","ContainerAppName":"","RevisionName":"","ReplicaName":"","Msg":"ScaledObject doesn\u0027t have correct triggers specification","Reason":"ScaledObjectCheckFailed","EventSource":"KEDA","Count":14}
{"TimeStamp":"2024-11-18T11:36:42Z","Type":"Normal","ContainerAppName":null,"RevisionName":null,"ReplicaName":null,"Msg":"No events since last 60 seconds","Reason":"NoNewEvents","EventSource":"ContainerAppController","Count":1}
{"TimeStamp":"2024-11-18 11:37:03 \u002B0000 UTC","Type":"Warning","ContainerAppName":"","RevisionName":"","ReplicaName":"","Msg":"ScaledObject doesn\u0027t have correct triggers specification","Reason":"ScaledObjectCheckFailed","EventSource":"KEDA","Count":15}
{"TimeStamp":"2024-11-18T11:38:04Z","Type":"Normal","ContainerAppName":null,"RevisionName":null,"ReplicaName":null,"Msg":"No events since last 60 seconds","Reason":"NoNewEvents","EventSource":"ContainerAppController","Count":1}
{"TimeStamp":"2024-11-18T11:39:04Z","Type":"Normal","ContainerAppName":null,"RevisionName":null,"ReplicaName":null,"Msg":"No events since last 60 seconds","Reason":"NoNewEvents","EventSource":"ContainerAppController","Count":1}
{"TimeStamp":"2024-11-18 11:39:47 \u002B0000 UTC","Type":"Warning","ContainerAppName":"","RevisionName":"","ReplicaName":"","Msg":"ScaledObject doesn\u0027t have correct triggers specification","Reason":"ScaledObjectCheckFailed","EventSource":"KEDA","Count":16}
{"TimeStamp":"2024-11-18T11:40:48Z","Type":"Normal","ContainerAppName":null,"RevisionName":null,"ReplicaName":null,"Msg":"No events since last 60 seconds","Reason":"NoNewEvents","EventSource":"ContainerAppController","Count":1}
{"TimeStamp":"2024-11-18T11:41:48Z","Type":"Normal","ContainerAppName":null,"RevisionName":null,"ReplicaName":null,"Msg":"No events since last 60 seconds","Reason":"NoNewEvents","EventSource":"ContainerAppController","Count":1}

Any information about this is very much appreciated, will be still checking out possible issues with our image in the meantime.
Steps to reproduce
Deploy a new Revision with default configuration on scaling.
Expected behavior [What you expected to happen.]
Revision repiclas should initialize without issue.
Actual behavior [What actually happened.]
Replicas seem to start and give logs as usual, but Revision is never promoted to Successful.
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Ex. Did this issue occur in the CLI or the Portal?
We deploy to ACR, then use the Azure CLI to deploy a new Revision in order to control the pacing of deployment.
CLI completes successfully, then on the Portal we can see the Degraded state.
Thank you for your time!
Kind regards.

Somehow, after the reporting the issue to Microsoft Support, this has "fixed itself" and now it works again.
Closing down the ticket.


Rasa X - Interactive learning - Select correct action & Intent not working

Rasa version: RASA 1.10.8
Rasa SDK version: 1.10.1
Rasa X version: 0.31.3
Operating system: ubuntu 18.04
deployment Method: Manual Docker Compose
Screenshot:

Issue:
In RASA X interactive learning mode, I'm not able to select the correct action or intent. the arrow button not working.
Content of docker-compose.yml:
version: "3.4"
x-database-credentials: &database-credentials
  DB_HOST: "db"
  DB_PORT: "5432"
  DB_USER: "${DB_USER:-admin}"
  DB_PASSWORD: "${DB_PASSWORD}"
  DB_LOGIN_DB: "${DB_LOGIN_DB:-rasa}"

x-rabbitmq-credentials: &rabbitmq-credentials
  RABBITMQ_HOST: "rabbit"
  RABBITMQ_USERNAME: "user"
  RABBITMQ_PASSWORD: ${RABBITMQ_PASSWORD}

x-redis-credentials: &redis-credentials
  REDIS_HOST: "redis"
  REDIS_PORT: "6379"
  REDIS_PASSWORD: ${REDIS_PASSWORD}
  REDIS_DB: "1"

x-duckling-credentials: &duckling-credentials
  RASA_DUCKLING_HTTP_URL: "http://duckling:8000"

x-rasax-credentials: &rasax-credentials
  RASA_X_HOST: "http://rasa-x:5002"
  RASA_X_USERNAME: ${RASA_X_USERNAME:-admin}
  RASA_X_PASSWORD: ${RASA_X_PASSWORD:-}
  RASA_X_TOKEN: ${RASA_X_TOKEN}
  JWT_SECRET: ${JWT_SECRET}
  RASA_USER_APP: "http://app:5055"
  RASA_PRODUCTION_HOST: "http://rasa-production:5005"
  RASA_WORKER_HOST: "http://rasa-worker:5005"
  RASA_TOKEN: ${RASA_TOKEN}

x-rasa-credentials: &rasa-credentials
  <<: *rabbitmq-credentials
  <<: *rasax-credentials
  <<: *database-credentials
  <<: *redis-credentials
  <<: *duckling-credentials
  RASA_TOKEN: ${RASA_TOKEN}
  RASA_MODEL_PULL_INTERVAL: 10
  RABBITMQ_QUEUE: "rasa_production_events"

x-rasa-services: &default-rasa-service
  restart: always
  image: "rasa/rasa:${RASA_VERSION}-full"
  expose:
    - "5005"
  volumes:
    - ./channel:/app/channel
  command: >
    x
    --no-prompt
    --production
    --config-endpoint http://rasa-x:5002/api/config?token=${RASA_X_TOKEN}
    --port 5005
    --jwt-method HS256
    --jwt-secret ${JWT_SECRET}
    --auth-token '${RASA_TOKEN}'
    --cors "*"
  depends_on:
    - rasa-x
    - rabbit
    - redis

services:
  rasa-x:
    restart: always
    image: "rasa/rasa-x:${RASA_X_VERSION}"
    expose:
      - "5002"
    volumes:
      - ./models:/app/models
      - ./environments.yml:/app/environments.yml
      - ./credentials.yml:/app/credentials.yml
      - ./endpoints.yml:/app/endpoints.yml
      - ./logs:/logs
      - ./auth:/app/auth
    environment:
      <<: *database-credentials
      <<: *rasa-credentials
      SELF_PORT: "5002"
      DB_DATABASE: "${DB_DATABASE:-rasa}"
      RASA_MODEL_DIR: "/app/models"
      PASSWORD_SALT: ${PASSWORD_SALT}
      RABBITMQ_QUEUE: "rasa_production_events"
      RASA_X_USER_ANALYTICS: "0"
      SANIC_RESPONSE_TIMEOUT: "3600"
    depends_on:
      - db

  rasa-production:
    <<: *default-rasa-service
    environment:
      <<: *rasa-credentials
      RASA_ENVIRONMENT: "production"
      DB_DATABASE: "tracker"
      RASA_MODEL_SERVER: "http://rasa-x:5002/api/projects/default/models/tags/production"

  rasa-worker:
    <<: *default-rasa-service
    environment:
      <<: *rasa-credentials
      RASA_ENVIRONMENT: "worker"
      DB_DATABASE: "worker_tracker"
      RASA_MODEL_SERVER: "http://rasa-x:5002/api/projects/default/models/tags/production"

  app:
    restart: always
    build: actions/.
    volumes:
      - ./actions:/app/actions
    expose:
      - "5055"
    environment:
      SERVICE_BASE_URL: "${SERVICE_BASE_URL}"
    depends_on:
      - rasa-production

  scheduler:
    restart: always
    build: scheduler/.
    environment:
      SERVICE_BASE_URL: "${SERVICE_BASE_URL}"

  db:
    restart: always
    image: "bitnami/postgresql:11.7.0"
    expose:
      - "5432"
    environment:
      POSTGRESQL_USERNAME: "${DB_USER:-admin}"
      POSTGRESQL_PASSWORD: "${DB_PASSWORD}"
      POSTGRESQL_DATABASE: "${DB_DATABASE:-rasa}"
    volumes:
      - ./db:/bitnami/postgresql

  rabbit:
    restart: always
    image: "bitnami/rabbitmq:3.8.3"
    environment:
      RABBITMQ_HOST: "rabbit"
      RABBITMQ_USERNAME: "user"
      RABBITMQ_PASSWORD: ${RABBITMQ_PASSWORD}
      RABBITMQ_DISK_FREE_LIMIT: "{mem_relative, 0.1}"
    expose:
      - "5672"

  duckling:
    restart: always
    image: "rasa/duckling:<IP_ADDRESS>"
    expose:
      - "8000"
    command: ["duckling-example-exe", "--no-access-log", "--no-error-log"]

  nginx:
    restart: always
    image: "rasa/nginx:${RASA_X_VERSION}"
    ports:
      - "80:8080"
      - "443:8443"
    volumes:
      - ./certs:/opt/bitnami/certs
      - ./terms:/opt/bitnami/nginx/conf/bitnami/terms
    depends_on:
      - rasa-x
      - rasa-production
      - app

  redis:
    restart: always
    image: "bitnami/redis:5.0.8"
    environment:
      REDIS_PASSWORD: ${REDIS_PASSWORD}
    expose:
      - "6379"

  mongo:
    image: mongo:4.2.0
    ports:
      - 27017:27017

Command that led to error:
docker-compose up --build

Content of configuration file (config.yml) :
language: en
pipeline:
- name: WhitespaceTokenizer
- name: CRFEntityExtractor
- name: EntitySynonymMapper
- name: CountVectorsFeaturizer
- name: DIETClassifier
policies:
- name: TEDPolicy
- name: MemoizationPolicy
- name: FallbackPolicy
- name: FormPolicy
- name: MappingPolicy

Thanks @mohocp. if you click the dropdown, have your cursor over it, and scroll, are you able to see the list? Obviously that is broken UX, but it should allow you to achieve the task. We're aware of this issue and it should be fixed in the next minor release of rasa x 🤞

Thanks @mohocp. if you click the dropdown, have your cursor over it, and scroll, are you able to see the list? Obviously that is a bug in the UI, but it should allow you to achieve the task. We're aware of this issue and it should be fixed in the next minor release of rasa x 🤞
No Cursor Over it and no list appeared

Thanks @mohocp. if you click the dropdown, have your cursor over it, and scroll, are you able to see the list? Obviously that is a bug in the UI, but it should allow you to achieve the task. We're aware of this issue and it should be fixed in the next minor release of rasa x 🤞

No cursor over it and no list appears.

I've just checked on 0.31.3. Here is whaat it looks like for me:

Note that you do have to click the dropdown to open it before scrolling will work.

@erohmensing You are right, but I think it's so confusing, I will close the bug

Agreed, as i mentioned, it definitely needs to be fixed! And will in the future 🙂


paths: isEqual and isEqualOrParent trim trailing slash from path

fixes #36946
@bpasero can you please code review and if we merge I will lit the candles so we please the gods and the whole world does not break 🕯
After the change I opened the workbench and nothings seems to be breaking.
Unit tests also pass
I will add unit tests covering this case if we decide to merge this in.

@isidorn is this specific to comparing resources (URIs) with each other, and if so can we maybe move it out of the critical part (this method is being used a lot so I worry about performance).
Also, seems weird to trim the sep but not nativeSep which I would probably rather expect in that file.

@bpasero it surfaced for resources, so I could also fix it in resources.ts. Let me create a new PR for that and we can close this one.


YGMeasureFunc - returned width & height values are swapped

Been playing around with the Yoga binding and I've encountered a bug with YGMeasureFunc.
I have this node hierarchy:
override fun content() = FlexBox().apply {
    layoutHeight = FILL_PARENT
    layoutWidth = FILL_PARENT
    background.setBackgroundColors(BackgroundFill(Color(1.0f, 0.8f, 0.6f, 1.0f), Insets(), CornerRadii()))

    addChild(FlexBox().apply {
        background.setBackgroundColors(BackgroundFill(Color(1.0f, 0.0f, 0.0f, 1.0f), Insets(), CornerRadii(5)))

        addChild(FlexBox().apply {
            layoutHeight = 100
            layoutWidth = 200
            background.setBackgroundColors(BackgroundFill(Color(1.0f, 1.0f, 0.0f, 1.0f), Insets(), CornerRadii(5)))
        })
    })
}

The YGMeasureFunc is only applied on a leaf node, this is how I implemented it.
    private fun measureFunc(ygNode: Long, width: Float, widthMode: Int, height: Float, heightMode: Int): Long {
        val node = if (ygNode == ygRootNode) {
            this
        } else {
            requireNotNull(ygToNodeMap[ygNode])
        }

        val ygSize = YGSize.malloc()

        try {
            node.measure(width.toInt(), fromYGMeasureMode(widthMode), height.toInt(), fromYGMeasureMode(heightMode))
            ygSize.set(
                node.getMeasuredWidth().toFloat(),
                node.getMeasuredHeight().toFloat()
            )
            return YGMeasureFunc.toLong(ygSize)
        } finally {
            ygSize.free()
        }
    }

node.measure(...) will consider the layoutWidth and layoutHeight values so in the example above, node.getMeasuredWidth() and node.getMeasuredHeight() will return 200 and 100, respectively.
With the code above I get this:

YGMeasureFunc.toLong(ygSize) since the actual c code the return value is a YGSize.
public static long toLong(YGSize size) {
    return ((long)floatToRawIntBits(size.width()) << 32) | floatToRawIntBits(size.height());
}

I guess this gets mapped directly to the "memory layout" of the YGSize struct? Anyway swapping width and height
fun toLong(size: YGSize): Long {
    return floatToRawIntBits(size.height()).toLong() shl 32 or floatToRawIntBits(size.width()).toLong()
}

gives the correct result.

Thank you! All YGMeasureFunc tests used the same value for width/height, so this bug was missed.


Switch to Systemd and udev

Information
Buildroot defaults to a small init system delivered by Busybox. However this system is very minimal and does not allow for on-demand loading of services and other complex situations. Systemd is what is been used by most linux distributions now a days and includes udev.
With this we have better control on starting services and udev allows for loading of services when users plugin hardware.
Example of this: ReSpeaker uses udev rules to load the right configuration files into pulseaudio, such that pulseaudio it's default sink and source are properly configured based on the hardware found.

Done, needs testing.

Fixed by; 3bbdddfa01773152c4d8ca3c43249259d3b17ee6
Closing now, however the PulseAudio-ReSpeaker is still to be done, but has it's own Issue tracker #16  .


use gas radius/h_smooth values from SPH calculation

In the current test (with extinction via FiMap enabled), all gas particles have the same radius/h_smooth. This looks quite strange. It would be better to use the density/distance to neighbours as calculated by an SPH code (e.g. Fi).

This is already the current behaviour - except in the test.


Update list-recommendation-software.md

Updated application permission

@JohanFreelancer9 Please copy review

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/6056

@DulceMontemayor Please merge this PR. Thanks

@DulceMontemayor Gentle reminder.


toDictionaryWithKeys hard codes importing to YES, seems like it should be NO

From my reading of the code if using a keymapper it would make sense to me that importing:YES would be written as importing:NO on this line:
    NSString* keyPath = (self.__keyMapper||globalKeyMapper) ? [self __mapString:p.name withKeyMapper:self.__keyMapper importing:YES] : p.name;

The property is named importingToModel but at this stage we are exporting from the model. This is resulting in model properties like x_millis to be ouput as x_millis instead of xMIllis

#430 ;)

Discussed in detail in #491


vite/rollup tree shakes lib/common.js

Describe the issue/behavior that seems buggy
I investigated a few issues (e.g. https://github.com/highlightjs/vue-plugin/issues/44) reported in the vue-plugin repo where production builds are stripping out import 'highlight.js/lib/common'; side effect imports
Turns out vite (which uses rollup internally) tree shakes side effect imports if the files themselves are not marked as side effect in package.json
Sample Code or Instructions to Reproduce
npm create vite@latest
npm install highlight.js

Then inside src/main.ts, add:
import 'highlight.js/lib/common'
import hljs from 'highlight.js/lib/core'
console.log(hljs.listLanguages())

In debug builds npm run dev, it should list all languages registered inside highlight.js/lib/common
However in production builds npm run build && npm run preview, it will print an empty array.
Expected behavior
Should print all languages in both debug/production builds
Additional context
This package.json should be updated to:
  "sideEffects": [
    "./es/common.js",
    "./lib/common.js",
    "*.css",
    "*.scss"
  ],

What if you instead do:
import hljs from 'highlight.js/lib/common'

Does that work?

That works as well
However, it'll only work as long as the hljs variable is used/referenced the current file. I still think it's a good idea to mark that file as side effect to prevent production builds from "randomly" breaking if that variable ever stops being referenced.


Add ViewPersonCommand

Add the command to view the contact at the specified index of the last listed persons contact list as well as the corresponding parser.
The ViewCommand will be extended to implement the ViewCompanyCommand once the Company class has been created.

Two of the tests are failing:

ViewPersonCommand: execute_viewPersonAtIndex1_success()

This is due to a mismatch in the models. I'm not really sure why the first testcase is failing because the code comes from FindCommandTest which passes the testcases

ViewCommandParser: parse_validArgs_returnsViewCommand()

This is due to an error in the parsing of the string, the parameter p is being read in as the index. Will fix soon.

The bug was a mistake on my end, I forgot to update the expectedModel when testing. Here's the fixed code snippet:
    @Test
    public void execute_viewPersonAtIndex1_success() {
        List<Person> listToCheck = expectedModel.getFilteredPersonList(); // added this
        Person personToView = listToCheck.get(0);
        expectedModel.updateFilteredPersonList(new ContactIsEqualsPredicate(personToView)); // to this
        assertCommandSuccess(new ViewPersonCommand(Index.fromOneBased(1)), model,
                String.format(ViewPersonCommand.MESSAGE_VIEW_PERSON_SUCCESS, 1), expectedModel);
    }


[DOC] Backtick doc fix #401 WIP

PR Description
Please describe the changes proposed in the pull request:

Deletes bold font in pyjanitor_intro.ipynb so that back-ticks for code syntax displays correctly
Also, includes an edit from @kulini that explains the dirty dataset better within pyjanitor_intro.ipynb

This PR resolves #401.

PR Checklist

Please ensure that you have done the following:

[X] PR in from a fork off your branch. Do not PR from <your_username>:master, but rather from <your_username>:<branch_name>.

[X] If you're not on the contributors list, add yourself to AUTHORS.rst.

Quick Check
To do a very quick check that everything is correct, follow these steps below:

[X] Run the command make check from pyjanitor's top-level directory. This will automatically run:

black formatting
pycodestyle checking
running the test suite
docs build

Once done, please check off the check-box above.
If make check does not work for you, you can execute the commands listed in the Makefile individually.
Code Changes

If you are adding code changes, please ensure the following:

[X] Ensure that you have added tests.
[X] Run all tests ($ pytest .) locally on your machine.

[X] Check to ensure that test coverage covers the lines of code that you have added.
[X] Ensure that all tests pass.

Documentation Changes

If you are adding documentation changes, please ensure the following:

[X] Build the docs locally.
[X] View the docs to check that it renders correctly.

Relevant Reviewers

Please tag maintainers to review.

@ericmjl

@ericmjl AUTHORS.rst should now be updated with this PR :)


Factor check client into separate features

The SNMALLOC_CHECK_CLIENT flag includes all the mitigation features in one go.  This PR separates them into a collection of features that can be enabled independently.  This is aimed to allow benchmarking of individual features performance impact.

This still needs a lot of documenting, and some cmake magic to build the many different versions.  I have posted a draft PR for CI feedback, and early comments on the shape.

Here is a run of cfrac from mimalloc-bench with the various mitigations turned on in sequence:

sn-m0 is no mitigations
sn-m1 is metadata_protection
sn-m2 is sn-m1 + pal_enforce_access
sn-m3 is sn-m2 + random_pagemap
sn-m4 is sn-m3 + sanity_checks
sn-m5 is sn-m4 + freelist_forward_edge
sn-m6 is sn-m5 + freelist_backward_edge
sn-m7 is sn-m6 + freelist_teardown_validate
sn-m8 is sn-m7 + reuse_LIFO
sn-m9 is sn-m8 + random_larger_thresholds
sn-m10 is sn-m9 + random_initial
sn-m11 is sn-m10 + random_preserve
sn-m12 is sn-m11 + random_extra_slab
sn-chk is sn-m12 + Guarded Memcpy
mi is mimalloc 1.7.7 (given for a point of comparison)

WARNING: Truncated axes.

(Graph based on @jvoisin's script in mimalloc-bench)