Added fixes from VCPKG discussion

added fixes from https://github.com/microsoft/vcpkg/pull/31382#discussion_r1193414743 removed MODULE from find_package args as outlined, then filled in the specified variables here: https://cmake.org/cmake/help/latest/module/FindFreetype.html#result-variables to the best of my abilities.  Currently FREETYPE_LIBRARIES is not exactly the same, in that it contains generator expressions and targets in addition to actual .lib files, don't know if this is an issue.

[x] Changes comply with the maintainer guide
[x] SHA512s are updated for each updated download
[x] The "supports" clause reflects platforms that may be fixed by this new version
[x] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

I'm going to merge this to get CI results in #36303


Apply zero ebpf program automatically

eUPF deployment automatically attaches zero ebpf program to host parts of eUPF interfaces when attachment mode for eUPF is native.
Zero ebpf program: zero_entrypoint_bpf.o (is built inside eupb (go:generate step))
In order to attach ebpf use ip command:
sudo ip link set dev vethc20fbaf xdpdrv obj zero_entrypoint_bpf.o sec xdp/upf_zero_entrypoint

Acceptance criteria:

[x] There is a job in deployment with attaches zero-entrypoint for host part of eupf veth interface
[x] Job works for open5gs
[x] There is an option in deployment for enable/disable this behaviour
[ ] Feature documented
[ ] Feature presented to team

OK fixed k8s job to work properly /
Problem:  link prog/xdp auto detached in a minute at the node level:
Timestamp: Tue Sep  5 11:20:10 2023 807582 usec
1589: vethe8e20347@if9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 xdp/id:33462 qdisc noqueue state UP group default event FEATURE CHANGE
    link/ether ee:ba:88:00:96:86 brd ff:ff:ff:ff:ff:ff link-netns cni-85622858-9a61-1dc9-eac9-f450bca117af
Timestamp: Tue Sep  5 11:20:10 2023 807935 usec
1589: vethe8e20347@if9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether ee:ba:88:00:96:86 brd ff:ff:ff:ff:ff:ff link-netns cni-85622858-9a61-1dc9-eac9-f450bca117af

Possible reason is CoreDNS:

When CoreDNS exits, the program will be detached from the interface.

Further research direction is bpfd.

bpfd is a system daemon aimed at simplifying the deployment and management of eBPF programs.
bpfd includes a Kubernetes operator to bring those same features to Kubernetes, allowing users to safely deploy eBPF via custom resources across nodes in a cluster.


Engine does not support Linux distro "openeuler"

Problem
Prisma doesn't know which engines to download for the Linux distro "openeuler". Falling back to Prisma engines built "debian".
cat /etc/os-release
NAME="openEuler"
VERSION="23.03"
ID="openEuler"
VERSION_ID="23.03"
PRETTY_NAME="openEuler 23.03"
ANSI_COLOR="0;31
This os compatible with CentOS.
website https://www.openeuler.org/en/
Please add support for this os thanks!

I'll close this, as the fallback/default engine should work as expected, so only a report would be needed if there is an issue, let us know if that's the case.
Note that we changed the message, to make it informational only in https://github.com/prisma/prisma/pull/23243
The updated message will be part of the next release 5.11.0, next week.


add metrics

for #297 ,  a copy & paste from here
Also, in this PR datapack mapping was re-written as a dict.

@faneshion I guess the best thing to do is to remove all changes related to datapack?


[9.0.2] The documentation for all the core JS methods is missing

We are in the process of updating all of our blocks and packages to support the new Concrete v9 but we are struggling with the missing documentation of the core JS functions. I tried to read the source files and guess what are the new ways to add a file selector or a page selector with JS alone but I can make sense of how I'm supposed to use the new APIs mostly because the files are minified.
I hoped that the sources would be provided under the build/assets or concrete/js folders but everything there is minified as well. For now, we are stuck with sheer luck and console.log().
The relevant file is this one : concrete/js/cms.js
Could it be possible to release the source for these files?

The source is in the bedrock repository, but there is even less docs on that than on the main concrete5 repository.

I wasn't aware of this, thank you @JohntheFish! I'll change my initial question then: is it possible to have some documentation for these files?

cms.js controls the entirety of the editing experience. I don't think documenting this file as it is makes sense or would be useful at all.
The Vue components found in Bedrock and included there would be useful to document, however if you know where to look you can probably get pretty far by just locating the files and reading them. For example the new JS component for pages selectors and file selectors are all found in assets/cms/components/form/

May I ask why this issue was closed?

This is an issue better left to the Bedrock repository or the forums.


callback part via cURL

Hi,
Is there anyway of handling the callback part via cURL and not with
header('Location: ' . $session->getAuthorizeUrl($scopes));
This would allow the use of the script into mobile and other application that don't handle very well the redirection part...
Or is there a way to make a cURL call on a page.php that use this wrapper ? at the moment the cURL response is 302 as it redirects to the spotify authorize page...
Thanks !

Hmm, the callback part can be handled however you like. The user will, however, always be redirected back to the callback URL. But you can send the user to Spotify's authorization page anyway you like.
Some more info about the whole flow: https://developer.spotify.com/web-api/authorization-guide/#authorization-code-flow

so technically, there is no way to have :
http://mysite.com/index.php : with this wrapper coded, to fetch an artist page link, for example)
then
http://hissite.com/curl.php : calling the above link in curl, to get the artist page link as a response
I guess it is not possible since at some point, there will be a redirection to Spotify auth page.
Unless it is possible to do so via cURL ?

If you don't need any user data, the Client Credentials Flow can be used without any redirects.
If you need user data, I don't think it's possible to do it just via cURL.


Add JSON formatting check to pipeline

The JSON formatting check was removed when we decided to represent interactions using a csv. Since we are now switching back to representing interactions with a JSON so that we can represent a timeline, we will again need the formatting check.
Fixes: #64.

This is currently passing vacuously as there are no json files in the tests/books directory. I noticed thought that is currently no convenient place to put the processed JSON files in the front end to check.

This was fixed when adding prettier to the pipeline.


Flashes when loading Convex example

Which project does this relate to?
Start
Describe the bug
On loading the Convex example I see a flash.
Your Example Website or App
https://stackblitz.com/github/tanstack/router/tree/main/examples/react/start-convex-trellaux?embed=1&theme=light&preset=node&file=src/main.tsx
Steps to Reproduce the Bug or Issue
Visit https://stackblitz.com/github/tanstack/router/tree/main/examples/react/start-convex-trellaux?embed=1&theme=light&preset=node&file=src/main.tsx and click in "first board"
Or clone the repo, pnpm i; pnpm run build; cd /examples/react/start-convex-trellaux; pnpm i; pnpm run dev
Expected behavior
I don't expect this flash
Screenshots or Videos
https://github.com/user-attachments/assets/cd8a8046-5a7d-4cd9-b468-80156d69aa6b
Platform

OS: macOS
Browser: Chrome
Version: 129.0.6668.101 (Official Build) (arm64)

Additional context
I don't know if it's to do with the TanStack Query integration or not doing something else right. I hooked this up and was probably doing something wrong.
I'll poke around.

Removing <TanStackRouterDevtools position="bottom-right" /> fixes this! It repros in start-trelleaux but not in start-basic or start-basic-react-query. I'll rename the issue.


Enhancement: Allow SPDX JSON documents as input

Many analysis and inventory tools already create SPDX documents. Instead of requiring special OpossumUI JSON schema as input, why not allow using an SPDX JSON document as input? This makes sense especially if OpossumUI can already export SPDX JSON/YAML documents. It would also make OpossumUI more interoperable with existing SBOM tooling.

Duplicate of #1592


Broken use cases appliying native & cross filters on common columns

Bug description
As commented on issue https://github.com/apache/superset/pull/30438 by @Mainer-g00t, proposed fix broken our usual use case. We are providing service to customers with setup described below.
To deal with high cardinality tables on our database, is not an option for us showing all dimensions we need, so:

we split data on as many datasets as dimensions we need to show.
we create datasets with a custom jinja snippet, same on all datasets we want to filter.
we configure cross-filters to work on desired charts.

Result: by implementing that, we are able to filter several charts minimizing high dimensionality derived issues, increasing queries speed.
We provide tow gifts showing that configuration working on:

Superset v 4.0.2: works well
Superset v4.0.1rc3: broken our approach

Please, consider our use case.
Screenshots/recordings

Supserset v4.0.2

Supserset v4.1.0rc3

Superset version
master / latest-dev
Python version
3.9
Node version
16
Browser
Not applicable
Additional context
Configuration file: superset/docker/pythonpath_dev/superset_config.py
# CUSTOM FEATURE FLAGS
FEATURE_FLAGS = {"ALERT_REPORTS": True,
"ENABLE_TEMPLATE_PROCESSING": True,
"ENABLE_TEMPLATE_REMOVE_FILTERS": True,
"DASHBOARD_NATIVE_FILTERS": True,
"DASHBOARD_CROSS_FILTERS": True,
"EMBEDDED_SUPERSET": True,
"DASHBOARD_RBAC": True,
"DRILL_TO_DETAIL": True,
"HORIZONTAL_FILTER_BAR": True,
"ALERTS_ATTACH_REPORTS": True,
"VERSIONED_EXPORT": True}

# CUSTOM FEATURES
SESSION_COOKIE_SAMESITE = 'Lax'
SESSION_COOKIE_SECURE = False
SESSION_COOKIE_HTTPONLY = False
GUEST_ROLE_NAME = "Admin"
WTF_CSRF_ENABLED = False
ENABLE_PROXY_FIX = False
TALISMAN_ENABLED = False
GUEST_TOKEN_JWT_EXP_SECONDS = 28880

Sample datasets
sample_sales_a_product_name
--{# Comment it out #}

  {% set from_dttm = '2022-01-01T00:00:00' %}
  {% set to_dttm   = '2022-01-04T04:00:00' %}

{%
  set filters = {
      'product_name'          : filter_values('product_namedistribution_country'),
      'distribution_country'  : filter_values('distribution_country')
    }
%}

SELECT
  product_name,
  SUM(sales_amount) AS sales_amount
FROM
  asd.sample_sales_data
WHERE
  -- from datetime
  {% if from_dttm is not none %}
      sale_date >= '{{ from_dttm }}'::DATE
  {% else %}
      AND sale_date >= (DATE_TRUNC('DAY', CURRENT_DATE ) - INTERVAL '2 DAYS')
  {% endif %}

    -- to datetime
  {% if to_dttm is not none %}
      AND sale_date < '{{ to_dttm }}'::DATE
  {% else %}
      AND sale_date < (DATE_TRUNC('DAY', CURRENT_DATE))
  {% endif %}

  {% for key, values in filters.items() if values %}
   AND {{ key }} IN ('{{ values | join("','") }}')
  {% endfor %}
GROUP BY 1

Sample datasets
sample_sales_d_disitribution_country
--{# Comment it out #}

  {% set from_dttm = '2022-01-01T00:00:00' %}
  {% set to_dttm   = '2022-01-04T04:00:00' %}

{%
  set filters = {
      'product_name'          : filter_values('product_namedistribution_country'),
      'distribution_country'  : filter_values('distribution_country')
    }
%}

SELECT
  distribution_country,
  SUM(sales_amount) AS sales_amount
FROM
  asd.sample_sales_data
WHERE
  -- from datetime
  {% if from_dttm is not none %}
      sale_date >= '{{ from_dttm }}'::DATE
  {% else %}
      AND sale_date >= (DATE_TRUNC('DAY', CURRENT_DATE ) - INTERVAL '2 DAYS')
  {% endif %}

    -- to datetime
  {% if to_dttm is not none %}
      AND sale_date < '{{ to_dttm }}'::DATE
  {% else %}
      AND sale_date < (DATE_TRUNC('DAY', CURRENT_DATE))
  {% endif %}

  {% for key, values in filters.items() if values %}
   AND {{ key }} IN ('{{ values | join("','") }}')
  {% endfor %}
GROUP BY 1

Checklist

[X] I have searched Superset docs and Slack and didn't find a solution to my problem.
[X] I have searched the GitHub issue tracker and didn't find a similar bug report.
[X] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

@fbgeobit from a quick test it appears you could just change the select statement to include the filterable columns? In that way the possible dynamic filters will show up as column names for the dataset, effectively enabling cross-filtering between the two datasets.

Hi:
We see you worked hard relating to this issue.
Do you need we test your changes in our platform?

We tested last changes on our platform and now it's working as expected:

Thanks for you dedication!


[client-v2] Fix Bitmap SerDe

Summary
There is a problem in Bitmap deserialization because of missing check for end of the stream in one of code branches.
Checklist
Delete items not relevant to your PR:

[x] Unit and integration tests covering the common scenarios were added
[ ] A human-readable description of the changes was provided to include in CHANGELOG
[ ] For significant changes, documentation in https://github.com/ClickHouse/clickhouse-docs was updated with further explanations or tutorials

@chernser, can you explain exactly what was fixed? (do we have a issue ti describe?)

@mzitnik I've updated the PR description.


Error following Quick Start

Hi, I'm trying to follow the Quick Start on the website and am encountering an error.
I'm using MacOS 12.5.1 and minikube v1.27.0. I installed terraform-operator by cloning the repo and using kubectl as documented.
The error I get is:
/usr/local/bin/entrypoint: line 24: wget: command not found

I see that the container image doesn't have wget:
$ docker run -it --entrypoint "wget" ghcr.io/galleybytes/terraform-operator-setup:1.0.0
docker: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "wget": executable file not found in $PATH: unknown.
ERRO[0000] error waiting for container: context canceled

It looks like the script seems to require wget under certain circumstances.

@InvisibleFunction I reproduced the missing wget command on the arm64 image, but not the amd64 version. Turns out my base image for the arm architecture did not, in fact, contain wget.
I will rebuild this and hopefully get some better tests before I push out a release. I have to admit, testing arm architecture is a bit of a stretch because all I have is a little raspberry pi.
And thank you for posting the issue!


Replace Pacman sprites with Jcole

Replace pacman sprites with Jcole.
I thought this could be a nice feature for users.

Thoughts, foenem?

Yeah I can make 4 directions. I thought it was likely you would just be annoyed. I also had the idea of converting all of the soundbytes to Jcole ad libs (idk if he does ad libs) or lyrics or something, so I will continue to flush this out.

And possibly attempt to do something actually productive...


update to next development version 2.0.0-SNAPSHOT

@porcelli @ederign please merge this when it is green


Update executequery.md

IDictionary works fine, doesn't need to be a concrete Dictionary. This is good to know from an F# perspective as you can just do e.g.
let data = conn.ExecuteQuery("SELECT * FROM Capacity WHERE Col = @P1", dict [ "P1", box "Value" ])

dict is a built-in function in F# that takes in an IEnumerable of tuples and creates an IDictionary from it.

Make sense. The library is checking up the IDictionary<string, object>, not the actual Dictionary<string, object>.


rviz: 1.14.14-1 in 'noetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository rviz to 1.14.14-1:

upstream repository: https://github.com/ros-visualization/rviz.git
release repository: https://github.com/ros-gbp/rviz-release.git
distro file: noetic/distribution.yaml
bloom version: 0.10.7
previous version for package: 1.14.13-1

rviz
* Fixup #1497 <https://github.com/ros-visualization/rviz/issues/1497>: Initialize ``fixed_frame_id``
* Add service ``load_config_discarding_changes`` (#1710 <https://github.com/ros-visualization/rviz/issues/1710>)
* Fix regression in mesh loader: correctly transform normals (#1703 <https://github.com/ros-visualization/rviz/issues/1703>)
* MovableText: gracefully handle string of whitespaces (#1700 <https://github.com/ros-visualization/rviz/issues/1700>)
* Contributors: Filip Sund, Robert Haschke

@sloretz, please consider this release for the fixup sync as well as it fixes an rviz regression introduced in 1.14.12:
https://github.com/ros-visualization/rviz/issues/1706
Thanks.

This pull request has been mentioned on ROS Discourse. There might be relevant details there:
https://discourse.ros.org/t/preparing-for-noetic-sync-2022-02-14/24313/2


dotnet build pack sometimes uses the wrong runtimeconfig.json

This was reported via this .NET Functions Framework issue.
When a .NET build contains multiple projects, using GOOGLE_BUILDABLE to specify the "main" one, there's the possibility of multiple runtimeconfig.json files being generated, one for each project. (For example, a dependency project which targets netcoreapp3.1 and includes a package dependency of EntityFramework.)
The current code uses the first one found, whereas it should use the one associated with the "main" project.
There's a repro in the linked issue, or I can create a new one if that's useful.

Wonderful - thanks so much for addressing this. Please let me know if I can help in testing etc.

I'm adding more debug info to the buildpack. It turned out that we only look at the specified project. I don't know if there's a sticky behavior somewhere, but my all 4 builds picked the correct project. I passed in --env GOOGLE_BUILDABLE=ServiceSight.FunctionTest all the time.
pack build sample-dotnet --builder gcp/dotnet --path third_party/gcp_buildpacks/builders/testdata/dotnet/generic/cs_nested_with_dep/ --trust-builder --env GOOGLE_BUILDABLE=ServiceSight.FunctionTest -v

...

=== .NET - Runtime<EMAIL_ADDRESS>===
found multiple runtimeconfig.json files
found runtimeconfig.json file: ServiceSight.FunctionTest/bin/Release/netcoreapp3.1/ServiceSight.FunctionTest.runtimeconfig.json

{
  "runtimeOptions": {
    "tfm": "netcoreapp3.1",
    "framework": {
      "name": "Microsoft.AspNetCore.App",
      "version": "3.1.0"
    }
  }
}
found runtimeconfig.json file: bin/ServiceSight.FunctionTest.runtimeconfig.json

{
  "runtimeOptions": {
    "tfm": "netcoreapp3.1",
    "framework": {
      "name": "Microsoft.AspNetCore.App",
      "version": "3.1.0"
    }
  }
}
Using runtimeconfig file "ServiceSight.FunctionTest/bin/Release/netcoreapp3.1/ServiceSight.FunctionTest.runtimeconfig.json"

I read the error again, it's actually complaining a missing key. My assumption (which is used by the current implementation) is that the framework name is always "Microsoft.AspNetCore.App" code. The framework in the error is ""Microsoft.NETCore.App"". This issue is probably caused by a wrong assumption. If anyone knows the correct way to select the framework entry, please let me know. Otherwise, I will look into it tomorrow.

Found some explanation on a blog post [1].
Microsoft.NETCore.App - the .NET Core framework that previously was the only framework installed
Microsoft.AspNetCore.App - all the dlls from packages that make up the "core" of ASP.NET Core, with as many packages that have third-party dependencies removed
Microsoft.AspNetCore.All - all the packages that were previously referenced by the Microsoft.AspNetCore.All metapackage, including all their dependencies.

[1] - https://andrewlock.net/exploring-the-microsoft-aspnetcore-app-shared-framework-in-asp-net-core-2-1-preview-1/

The different SDKs was removed in 3.1.
If it helps this issue was introduced on 2022/06/30 the example project would have built fine before then.

It's not a matter of finding a different key within the same file - it's about using the right file to start with. We need to be looking at runtimeconfig.json for the project we want to run, instead of for the dependency.
(We also need to select the right entry, but I think we're probably doing that at least reasonably correctly at the moment.)

I had a repro now.
found multiple runtimeconfig.json files
found runtimeconfig.json file: ServiceSight.Dependancy/bin/Release/netcoreapp3.1/ServiceSight.Dependancy.runtimeconfig.json

{
  "runtimeOptions": {
    "tfm": "netcoreapp3.1",
    "framework": {
      "name": "Microsoft.NETCore.App",
      "version": "3.1.0"
    }
  }
}
found runtimeconfig.json file: ServiceSight.FunctionTest/bin/Release/netcoreapp3.1/ServiceSight.FunctionTest.runtimeconfig.json

{
  "runtimeOptions": {
    "tfm": "netcoreapp3.1",
    "framework": {
      "name": "Microsoft.AspNetCore.App",
      "version": "3.1.0"
    }
  }
}
found runtimeconfig.json file: bin/ServiceSight.FunctionTest.runtimeconfig.json

{
  "runtimeOptions": {
    "tfm": "netcoreapp3.1",
    "framework": {
      "name": "Microsoft.AspNetCore.App",
      "version": "3.1.0"
    }
  }
}

We are trying to apply the changes required for the workaround, targeting netstandard2.1 but it’s easier said than done, some dependencies are having to be broken apart.
We are trying but the workaround might take us longer to implement than the fix :/

Yeah we are going to have to give up on the workaround, we just keep coming across more and more issues. It's probably a something we need to address in our codebase long term but short term its not going to be an option for us.
Is there some way we can select a buildpack version with a flag or something?

I'm still working on the fix.
Not sure if you tried the other workaround of changing the alphabetical order of ServiceSight.FunctionTest and ServiceSight.Dependancy. We believe ServiceSight.Dependancy's framework version was picked because its alphabetical order is before ServiceSight.FunctionTest.
There might be another workaround by 'prebuilt' the app before calling gcloud. Please let me know if you need more details or have any problems.

The trouble is you have to rename the folder not just the project, this would mean 10 folder renames and updating all the references etc. it’s a bit of a mess.
Would love to deploy prebuilt code: https://github.com/GoogleCloudPlatform/buildpacks/issues/113

Sorry about my previous suggestion about using presbuilt app. It's supported in OSS/Cloud Run use case, but not in GCF.
https://github.com/GoogleCloudPlatform/buildpacks/blob/main/cmd/dotnet/buildpack.toml#L96

Sorry, the fix took longer than I expected. New ETA is July 27th.

@jinglundong Are we still on track for the 27th July?

The worst case is 29th July. We already started the release of the candidate contains the fix. I'm trying to figure out if there's a reliable way to hit the new candidate before it's 100% in prod.
The new image is: gcr.io/gae-runtimes/buildpacks/dotnet/builder@sha256:e7c2b46b438fc9170d718158d96188f58b8336018d905e4bcd78cba5ab06d495. Disclaimer: please don't depend on this image directly or its format for any production usage. I tried to set it via --set-build-env-vars, but I couldn't find any build-env-vars to specify the builder image.

@jinglundong we are still seeing the issue this morning. Is there a timeline for when the new candidate to be 100% available?

My worst case estimate wasn't taking release pipeline block into the consideration. So, sorry about that.
Since 10:00 UTC or 03:00 PDT July 28th, our release pipelines have been blocked by a network issue. Roughly 40% of the regions haven't picked up this fix. We released the fix to europe-west3 fully, and europe-west1 partially before the release pipeline was blocked. Unfortunately, some European regions like europe-west2 are still blocked.

I started an emergency rollout. According to our metrics, > 96% of the dotnet3 deployments are running the new code. I verified it with a deployment gcloud functions deploy test-function --runtime=dotnet3 --trigger-http --allow-unauthenticated --entry-point=TestFunction.Function --verbosity=debug --set-build-env-vars GOOGLE_BUILDABLE=Function. I was able to trigger the function via http.
Please let us know if you are still seeing the problem.

Hello, it seems the changes made here have broken my build. Can you clarify what changes I need to make in my project to fix it? I am using the pack CLI on Windows. Log:
v1: Pulling from buildpacks/builder
Digest: sha256:52bcf24f85753c85b133642f51675078ab5b0402cf0cc4b40ab4f503163075d4
Status: Image is up to date for gcr.io/buildpacks/builder:v1
===> ANALYZING
===> DETECTING
4 of 6 buildpacks participating
google.dotnet.sdk     0.9.1
google.dotnet.publish 0.9.0
google.dotnet.runtime 0.9.1
google.utils.label    0.0.2
===> RESTORING
Restoring metadata for "google.dotnet.publish:packages" from cache
Restoring metadata for "google.dotnet.runtime:runtime" from app image
Restoring metadata for "google.dotnet.runtime:sdk" from cache
Restoring data for "google.dotnet.publish:packages" from cache
Restoring data for "google.dotnet.runtime:runtime" from cache
Restoring data for "google.dotnet.runtime:sdk" from cache
===> BUILDING
=== .NET - SDK<EMAIL_ADDRESS>===
Looking for global.json in /workspace
2022/08/09 20:57:05 [DEBUG] GET https://dotnetcli.blob.core.windows.net/dotnet/Sdk/6.0/latest.version
Installing .NET SDK v6.0.400.
2022/08/09 20:57:05 [DEBUG] GET https://dl.google.com/runtimes/ubuntu1804/dotnetsdk/dotnetsdk-6.0.400.tar.gz
=== .NET - Publish<EMAIL_ADDRESS>===
Installing application dependencies.
--------------------------------------------------------------------------------
Running "dotnet restore --packages /layers/google.dotnet.publish/packages MyAPI/MyAPI.csproj (DOTNET_CLI_TELEMETRY_OPTOUT=true)"

Welcome to .NET 6.0!
---------------------
SDK Version: 6.0.400

----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only).
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
  Determining projects to restore...
  Restored /workspace/MyAPI.ServiceModel/MyAPI.ServiceModel.csproj (in 710 ms).
  Restored /workspace/MyAPI/MyAPI.csproj (in 1.32 sec).
  Restored /workspace/MyAPI.ServiceInterface/MyAPI.ServiceInterface.csproj (in 1.32 sec).
Done "dotnet restore --packages /layers/google.dotnet.publish/pack..." (2.261158141s)
--------------------------------------------------------------------------------
Running "dotnet publish -nologo --verbosity minimal --configuration Release --output bin --no-restore --packages /layers/google.dotnet.publish/packages MyAPI/MyAPI.csproj (DOTNET_CLI_TELEMETRY_OPTOUT=true)"
  MyAPI.ServiceModel -> /workspace/MyAPI.ServiceModel/bin/net6.0/MyAPI.ServiceModel.dll
/workspace/MyAPI.ServiceInterface/Helpers/EasyHttp.cs(132,55): warning CS8509: The switch expression does not handle all possible values of its input type (it is not exhaustive). For example, the pattern '""' is not covered. [/workspace/MyAPI.ServiceInterface/MyAPI.ServiceInterface.csproj]
  MyAPI.ServiceInterface -> /workspace/MyAPI.ServiceInterface/bin/net6.0/MyAPI.ServiceInterface.dll
  MyAPI -> /workspace/MyAPI/bin/net6.0/MyAPI.dll
  MyAPI -> /workspace/bin/
Done "dotnet publish -nologo --verbosity minimal --configuration R..." (2.197984381s)
Determining entrypoint from output directory bin and project file MyAPI/MyAPI.csproj
=== .NET - Runtime<EMAIL_ADDRESS>===
Found runtimeconfig.json file: MyAPI/bin/net6.0/MyAPI.runtimeconfig.json
Found runtimeconfig.json file: MyAPI/bin/net6.0/win-x64/MyAPI.runtimeconfig.json
Failure: (ID: 059beeeb) Failed to run /bin/build: at least one 'runtimeconfig.json' under ${GOOGLE_BUILDABLE}="MyAPI" is expected
--------------------------------------------------------------------------------
Sorry your project couldn't be built.
Our documentation explains ways to configure Buildpacks to better recognise your project:
 -> https://github.com/GoogleCloudPlatform/buildpacks/blob/main/README.md
If you think you've found an issue, please report it:
 -> https://github.com/GoogleCloudPlatform/buildpacks/issues/new
--------------------------------------------------------------------------------
ERROR: failed to build: exit status 1
ERROR: failed to build: executing lifecycle: failed with status code: 51

Hello again, I need to get a new update out for my app, can you clarify what I need to do to fix? @jinglundong

Sorry for the late response. I just came back from a vacation.
Could you share how you call pack?
I think the problem is: the dotnet builder expects a runtimeconfig.json file under MyAPI/bin/Release. However, the generated runtimeconfig.json files are located at MyAPI/bin/net6.0/MyAPI.runtimeconfig.json and MyAPI/bin/net6.0/win-x64/MyAPI.runtimeconfig.json. There might be something wrong with how we publish the app. An other possibility is that I made a wrong assumption about the location.
To unblock your pack build usage, you could checkout a previous commit of this repo. Sorry for the inconvenience.

@jinglundong Here is my pack usage:
pack build --builder "gcr.io/buildpacks/builder:v1" --env GOOGLE_BUILDABLE="MyAPI" --publish "$REGION-docker.pkg.dev/$PROJECT_ID/$SERVICE_NAME/$SERVICE_NAME"

@MontyCarter is working on this area. We will take a close look. Since you are using pack directly, I hope you could check out a previous git commit and unblock temporarily while we investigate this.

@jinglundong How would I modify the command above to use the last version before these changes?

I think what you need is 1) checkout a previous commit of this repo (git checkout), 2) create a builder locally (https://github.com/GoogleCloudPlatform/buildpacks/blob/main/CONTRIBUTING.md#creating-a-builder) 3) specify it via --builder when you call pack build.
If you need more detailed instructions, I could probably provide more details later this week.

I can wait for a fix. Let me know when you commit any updates - thanks!

Hi! Will you have time to check it out soon?

https://github.com/GoogleCloudPlatform/buildpacks/commit/9c7eaf0c0fc16bb867134f2792f007132ea44928 may have your problem fixed. Could you check it and let us know if it works?

@jinglundong Just tried - same error.

From my reading of https://github.com/GoogleCloudPlatform/buildpacks/commit/9c7eaf0c0fc16bb867134f2792f007132ea44928#diff-1bd2f881be70abdc8506709a95c5f6e7c1e1ca5c05bce813fe6276fd38dd9c33R216,
setting the environment var GOOGLE_ASP_NET_CORE_VERSION to a valid dotnet3 version (actually any valid dotnet3 semver) should bypass the runtimeconfig check. Does it work?

@jinglundong It works! Thanks. That will work for now, but I suggest still looking into fixing the runtimeconfig issue. In my project, that file is located here: \MyAPI\MyAPI\bin\net6.0\win-x64\MyAPI.runtimeconfig.json
Why is it not found?

Glad to hear that it worked for you.
It seems like the runtime buildpack was able to identify two runtimesconfig files, but failed the regex/path matching. I will likely need to ask @MontyCarter to take a closer look when he comes back to the office.
=== .NET - Runtime<EMAIL_ADDRESS>===
Found runtimeconfig.json file: MyAPI/bin/net6.0/MyAPI.runtimeconfig.json
Found runtimeconfig.json file: MyAPI/bin/net6.0/win-x64/MyAPI.runtimeconfig.json
Failure: (ID: 059beeeb) Failed to run /bin/build: at least one 'runtimeconfig.json' under ${GOOGLE_BUILDABLE}="MyAPI" is expected

Ok, let me know if you make any changes and I can re-test.🙂

@jinglundong @MontyCarter Had a chance to take a look yet?

Hi @EatonZ , could you re-test? It might be fixed by https://github.com/GoogleCloudPlatform/buildpacks/commit/c55ef274167be9c117a3d0fc2ef1160298071bdc.

@jinglundong Oh, I'll have to check! Unfortunately my power is gone due to hurricane, so it'll be some time before I can confirm.

@jinglundong @MontyCarter It's better - no longer fails, but still not where it should be. It is choosing the year-old base version (6.0.0) instead of the latest version (6.0.10). Relevant logs:
Determined runtime version from /layers/google.dotnet.publish/publish/bin/MyAPI.runtimeconfig.json: 6.0.0
WARNING: Not deleting folder: /workspace/bin
Determining entrypoint from output directory /layers/google.dotnet.publish/publish/bin and project file MyAPI/MyAPI.csproj
=== .NET - Runtime<EMAIL_ADDRESS>===
Determined runtime version from GOOGLE_ASP_NET_CORE_VERSION: 6.0.0
Installing  v6.0.0.
2022/10/24 22:59:50 [DEBUG] GET https://dl.google.com/runtimes/ubuntu1804/aspnetcore/aspnetcore-6.0.0.tar.gz

--env GOOGLE_ASP_NET_CORE_VERSION="6.x.x" is still needed to get it to use 6.0.10.

@jinglundong @MontyCarter Further thoughts on this?

Sorry for the late response @EatonZ. I totally missed your comment on Oct 24th.
I believe the current design is to support latest dotnet version via semver like --env GOOGLE_ASP_NET_CORE_VERSION="6.x.x". We will unlikely to change this behavior in the short term to be honest.


HAWQ-634. Let resource manager cancel waiting and return allocated resource when unregister connection rpc is called

LGTM

LGTM


Some customized learning pathway modules cannot be opened in the admin view anymore.

We have some problems loading certain customized learning pathway modules. The following error message is thrown:

Instead of getting the normal admin learning pathway view, we only receive a blank space for these modules. In the learning viewer, the modules are still visible.
To Reproduce

We copied one of the existing learning path modules and added some assets.
The learning pathway can be openend in the viewer mode and all assets are visible. When opening the assets pane in the admin area, we only see a blank space.

When copying this module, the asset area is still blank, while copying the originial module leads to a correct working module.
We tried to open the affected module in several browser versions and cleared the cache but that didn't help.  This is the case for two learning path modules.
Expected behavior

We want to open the learning pathway module in the admin area and see all associated assets (similar to this screenshot).

Learning Pathways version number
<IP_ADDRESS>

@Annanas-12  Thanks for reaching out. We will need some additional information in order to assist you. Can you please use the issues template and fill in all the parts with steps to reproduce the issue? We are happy to help, this just isn't a lot to go on.

@dcashpeterson I tried to extend the bug report, please tell me if you still miss some information.

@Annanas-12 I am trying to reproduce this issue and am not having any luck reproducing it. This is what I am doing to try and reproduce it. Let me know if this isn't what you are doing.

Navigate to the Admin Center
Click on Microsoft Teams in the left navigation
Click on Manage Meetings
Click Copy Playlist
At this point for you the list of assets is empty???

@Annanas-12 I did some more digging on this and while I still can't reproduce it I think the issue is that there is an asset that has some bad data in. Here is my suggestion.

Make a not of the custom playlist and custom assets that you are using
Delete the Custom Playlist that isn't working
Create a new Copy of the playlist and make sure that works as expected.
One at a time add back in the assets that you have in the playlist that isn't working and test after each asset is added. You will need to find the one asset that isn't working. I assume that this is a custom asset and there is some missing data.
Once you find the asset that isn't working try to edit it to fix any issues with the data or recreate it and ensure it works.

Give these steps a try and let us know how things go.
-Derek

Closed due to inactivity. If this is still an issue please create a new ticket and reference this one.


Add removeAllListeners method to definitions

I suppose this method should be defined whenever Capacitor plugin defines addListener method.
I'm not completely sure how, but it's available in this plugin (tried with console.log(AndroidShortcuts.removeAllListeners))), just it's not visible.
References:

@capacitor/screen-orientation source
capacitor Docs > Designing the Plugin API > Defining the ScreenOrientation API

I dont see a reason why to add it here. In the screen-orientation plugin it has semantic reasons, because the developer i.e. only need the listener inside one component. In this plugins case, the listener should be initialized as long as the lifetime of the app.

When the app is closed and a shortcut is clicked, the app opens and needs to enter the listener to do something
When the app is in background and a shortcut is clicked, the existing listener will be fired again to do something
In my oppinion there is no case where the developer wants to stop listening to it, because it would result in an inconsistent state where the app would not handle the shortcut events.

Can you maybe give me an example so I can understand your idea about this a bit more.

Sorry, didnt realized that this is a built in method and its only added in the definitions.ts file. I added it in the master branch and released a new version. Therefore I will close this one.

Yup, method interface has been added in https://github.com/NePheus/capacitor-android-shortcuts/commit/c6a6bd2f82fe1d513ea8e6e7a06870ce8f904169.
To explain why this method is useful: I'm using capacitor with react and good practise is to add event listeners on component mount and remove them on unmount.


HHVM + mysqli

Hi guys -
Just built my first site with Bedrock - attempting to deploy to a production server running HHVM 3.10.1. I'm getting this error:
Catchable fatal error: Argument 3 to mysqli_real_connect() must be of type ?string, bool given in /app/web/wp/wp-includes/wp-db.php on line 1452

Possibly relating to this HHVM issue: https://github.com/facebook/hhvm/issues/1817
I have another vanilla Wordpress website running on this server with the same setup. It's working fine - any ideas what's going wrong?

That file is a WP core file which Bedrock just loads directly. Not exactly sure the cause of this but I can confidently say it's not Bedrock :)


Helpers are broken with Ember 1.10.0 with HTMLBars

Since https://github.com/emberjs/ember.js/commit/ad62ccfdfd9578884261c96a2af4a6a238bd3ae9, HTMLBars.registerHelper is private. This broke the helpers here: https://github.com/emberjs/list-view/blob/master/packages/list-view/lib/main.js#L14
Could we use the private method, or use the public makeBoud/ViewHelper method ?
Also unless I'm missing something Ember.HTMLBars.helpers does not exists. https://github.com/emberjs/list-view/blob/master/packages/list-view/lib/helper.js#L22

Could we use the private method, or use the public makeBoud/ViewHelper method ?

Yes, the simplest work around for now would be to use Ember.HTMLBars._registerHelper.

Also unless I'm missing something Ember.HTMLBars.helpers does not exists.

You are not mistaken, there is no Ember.HTMLBars.helpers API.  You can use the older Ember.Handlebars.helpers API if you need it..

@sly7-7 I believe this is fixed by the recent merge by @taras.

@tim-evans Thank you for the reminder. I closed my related PR, but I forgot to close this one.

Thanks :heart:


Docs for storage drivers versioned in external repositories

I'm looking to write an experimental storage driver based on IPFS, but I'm not sure how to build/install/deploy an in-process driver without forking docker/distribution and building my driver there.  Alternatively, I could try and get my driver landed in this repository, but I doubt I can commit to the one-year maintenance requirement.  Since the storage-driver API is fairly stable, is there a way for me to easliy maintain my storage driver in an external repository and then build it into the most recent distribution release (ideally building on the registry image) without forcing me to maintain a fork of your registry core or you to maintain a fork of my storage driver?  This seems easier for everyone than building all of the storage drivers (or other pluggable parts) into this repository.
If there is no way to do this cleanly for in-process drivers (and, with Go's avoidance of dynamic linking, that might be the case), then maybe I have to use an out-of-process driver.  In this case, there are a number of details that are unclear from the docs.  What do I call my compiled process?  How to I run a test suite based on RegisterIPCSuite from my external repository?
I imagine someone has thought these issues through and can quickly point me in the right direction.  I'm happy to write up and PR docs for anything folks can sketch out for me.  Otherwise I'll see what I can come up with by poking around in the source ;).

Hmm, and maybe the IPC approach is still a work-in-progress, even for in-repository code.  For example, the IPC tests have been commented out since ab9570f8 (Migrate filesystem driver to new storagedriver calls, 2014-12-03, #1) which cited stability problems.

This calls for a detailed answer (invoking @stevvooe for that)
IPC/out of process drivers, we pulled the plug - reliability issues.
I would love to see a good/better solution to achieve that, though.
For your immediate "desire", I would suggest you start an in-tree driver.
If it's worth merging but you cannot commit to maintenance, an intermediate solution would be to merge it but not build it by default (we should conditional compile all drivers).
Look at Ceph for a great driver (recent) example : #443

@wking To bring in external storage drivers at this time, you'll have to embed the distribution project with a dependency that registers the new storage driver and imports it in the main file. It's pretty straightforward but the structure of the main file makes this a little challenging. Alternatively, you can do this in a fork, then when you believe it is ready for inclusion, it can simply be PR'd back into master. We can have a discussion at that time about on-going maintenance.
IPC is as good as dead, at this point. We had a very bad experience with the RPC implementation and debugging was very problematic. We may want to remove the dead code.
For IPFS, rather implementing a storage driver directly, it might be worthwhile to experiment with implementing the distribution interface direction. IPFS provides content addressing and naming in the same vein as the design there. This would be a larger architectural change but might yield a better result.

On Mon, Jun 01, 2015 at 01:31:19PM -0700, Stephen Day wrote:

… you'll have to embed the distribution project with a dependency…
It's pretty straightforward but the structure of the main file makes
this a little challenging.

If this is a recommended approach it's probably worth documenting at
some point.  But keeping this embedding up to date sounds tricky.
Ideally, I guess I'd like something like:
my-project$ cat main.go
package main
import (
registry "github.com/docker/distribution/cmd/registry"
ipfs "github.com/wking/ipfs-docker-registry-driver"
)
func main() {
server = registry.NewServer()
server.Storage.Register("ipfs", &ipfs.StorageDriverFactory{})
server.serve()
}
so I can just consume everything that's currently in
cmd/registry/main.go without needing to fork everything it contains.

Alternatively, you can do this in a fork…

That sounds like the easiest path forward at the moment, so I'll go
this way for my driver.

For IPFS, rather implementing a storage driver directly, it might be
worthwhile to experiment with implementing the distribution
interface direction. IPFS provides content addressing and naming in
the same vein as the design there. This would be a larger
architectural change but might yield a better result.

So write up something to serve the registry API, instead of something
to serve the storage-driver API?  Or do you mean something else by
“distribution interface”?
Personally, I think it makes more sense with IPFS to just drop the
layer approach entirely, and use IPFS to distribute the image
filesystems directly.  That would make a number of outstanding Docker
issues irrelevant (e.g. docker/docker#3156 and other issues with “how
do I not distribute my build tooling”, #462 and asynchronous garbage
collection).  It also means that there's no need for a Docker-specific
image spec beyond the metadata needed for launching an image from a
container (the stuff currently setup by EXPOSE, CMD, etc.).  But
before this approach is feasible we'll need better metadata tracking
in IPFS (e.g. file modes ipfs/go-ipfs#846) and better layer-vs.-image
decoupling in Docker (I'm currently playing with nsinit from
libcontainer).  But that's a bunch of things that need to happen, so
until we get there I'm looking at an IPFS storage driver ;).

Hi @wking should this be closed?

@wking did you have any success in ipfs as a storage backend?

@wking did you have any success in ipfs as a storage backend?

I'd stubbed it out in dd20e16ee7 and 8d10627a2b.  There are some comments on the commits, but it's been a long time and I don't have time to push it further.  Feel free to use that early work (or not) if you want to tilt at this particular windmill ;).
I still think the best long-term approach would be to use IPFS for direct rootfs distribution without involving the image-spec abstractions, but for many use cases that's still blocked on ipfs/go-ipfs#612.

it sounds like a perfect match to me, when docker has layers with corresponding hashes and ipfs uses hashes to route to that content. Would be pretty awesome to have a distributed registry that caches by itself in each cloud provider cluster


FPORT: Invalidate package objects transitively in name hashing

Forward port of #2432

This PR needs to target only sbt/incrementalcompiler


Missions file keeps generating with createdeco coins, even when currency file is changed

Describe the Bug
Essentially, even when I have modified the currency.json file to use numismatics currency and deleted the old missions.json file, the regenerated file still uses createdeco coins instead. Am I doing something wrong or is it a bug?
Reproduction Steps

Have create:numismatics, create deco and create: missions installed
Modify the currency.json file to use numi's money and delete the old missions.json file to force a regeneration
Observe as the regenerated file, after restarting the game, still uses create deco coins.

Expected Result
I expect the new missions.json file to use the currency in the currency.json file instead of the default.
Screenshots and Videos

Crash Report or Log
No response
Operating System
Windows 11
Mod Version
0.3.2
Create Mod Version
0.5.1f
Minecraft Version
1.20.1
ModLoader and Version
Forge 47.2.20
Other Mods
No response
Additional Context
No response

the missions.json has to be configured manually for each server, the createdeco coins appear as this is a "mockup" config file that uses their coins, you have to change those manually

the missions.json has to be configured manually for each server, the createdeco coins appear as this is a "mockup" config file that uses their coins, you have to change those manually

I see. Apologies, just assumed it would work like that.

no worries, I'm planning to rework how currencies are registered and configure the exchange rate of each, maybe i'll add placeholders like %currency[i]% in the missions.json


Create links on Unix/Linux

Hi!
While your code works brilliantly on Windows, it would be awesome to get this running on Linux. I've seen plenty of checks and input modifications in ShellLink.java, they're all doomed to fail or raise NPEs in a Linux environment.
Any idea on how to achieve this? You'd somehow offer a way to override all checks and just trust the dev that what he/she puts in is really valid.
Cheers
André
PS: Reason behind: I'd like to create 100s of links out of an oracle database.

Hi! I did some research and unfortunately I couldn't find a way to do this on Linux. The point is link files store absolute paths mostly but on Linux it is not possible to get windows absolute path with drive letter.
However, you may notice that if you move lnk file and/or it's target file in windows explorer, it somehow still valid. I have no idea how this magic works, but I can say for sure that setting relative path field is not enough to make it working.
If you want some more technical details there is a core structure LinkTargetIDList which is responsible for getting location of target file, but due to lack of documentation most of the work done by reverse ingeneering. I guess it stores some low-level filesystem marks for each component of the path which helps windows explorer to find correct target even in case of moving.
I will appreciate PR if you willing to dig into that stuff.

Hi! Thanks for your quick response - and sorry for my late one. Apparently lnk files can be created on Linux, see here [1]. In your code, you're doing plenty of checking (which is great when running on Windows), but actually most of that is not required. Given the user, err, developer knows what he/she's doing, you could simply take what's being offered and create the link, regardless of the validity of the parameters. It's up to the dev to make sure that the values are correct.
We've got plenty of windows clients here with very similar setups. For example, in subdirectories of D:\xyz, we have links to all our databases, putty shorts and stuff. The origin of these files is a linux machine which moves files around in a very complicated way (based on the database, which keeps the repository) and publishes them to subversion. The clients then just run svn update. I would like to skip the complicated part and create new links from scratch.
If you're willing to add an option to skip all checks, that would already do the job, I think 😉 Maybe I find the time to work on it one day, I'll create a PR then.
Cheers
André
[1] http://www.mamachine.org/mslink/index.en.html

Well, in your case i recommend you to look at SheILink.setTarget function and set LinkTargetIDList manually

@vatbub , I wouldn't merge in the above code directly. You could create new methods that uses the above though to something like createLinkWhileInLinuxEnvironment(String target, String linkSource). I think you would only have to get rid of the paths.

It's very easy to distinguish between Linux and Windows using Apache's commons-lang library and thus shouldn't be too hard to merge the above code in. I'll have a look at it in the upcoming days

Cool, I look forward to seeing it and learning something new.

Thank you, @ademeglio
I'll take a look at the end of the week

I refuse to use a library that only works on windows

I added ShellLinkHelper in version 1.0.7 with more options to control how a link should be created. In particular, there is an Options parameter in setNetworkTarget and setLocalTarget functions which can force file or directory type on the target in case when it's not possible to check it in runtime.


Connect to remote machine example?

I'm wanting to run DS on one machine on my LAN (<IP_ADDRESS>), and connect to Docker Desktop on another on my LAN (<IP_ADDRESS>), using SSH.
I've tried a few things but no luck. Any chance you could post exact settings to fill in to make this a lot simpler/quicker? :)
Thanks!

Hi @YouveGotMeowxy
Sorry, I been gone so long. Can you make screenshot with connection logs?

I can confirm that SSH based connections are broken in DockerStation (MacOS 10.15), even if docker or python-docker have noproblems using them via DOCKER_HOST=ssh://root@hostname -- I tried with 3 different hosts, failed on all of them.
Sadly the connection log does not allow us to copy/paste from it. Why, why, why....! :(
https://sbarnea.com/ss/Screen-Shot-2019-10-16-08-38-55.20.png

@ssbarnea Read logs
Connection to /var/run/docker.sock on remote server failed.
Check availability or permissions of the Docker socket.

@igor-lemon

Any chance you could post exact settings to fill in to make this a lot simpler/quicker?

This would be the simplest way. A short tutorial video showing exact settings, to make it work.

I thought that it's simple.
For SSH connects, just input host address, user, password or path to the private key.
Docker Plain connection is a bit difficult and required Docker settings changes on a remote machine. Would you like to see SSH or Plain guide or both?

@YouveGotMeowxy I thought that it's simple.
For SSH connects, just input host address, user, password or path to the private key.
Docker Plain connection is a bit difficult and required Docker settings changes on a remote machine. Would you like to see SSH or Plain guide or both?


Add Device cmd_push_constants()

Double check if the casting is how you want it.  Push constants are untyped (*const c_void) so I thought a &T where T is anything made sense.  Since size isn't really the size of T (but just the size of the range in T starting at offset) I don't think we can hide those details.

Thanks for the PR, I'll have a deeper look at it tomorrow but this should probably use a slice instead of a ptr, offset and size.
    unsafe fn cmd_push_constants<T>(&self,
                                    command_buffer: vk::CommandBuffer,
                                    layout: vk::PipelineLayout,
                                    stage_flags: vk::ShaderStageFlags,
                                    slice : &[T]) {
...
}

There are a few considerations for size and offset because they need to be a multiple of 4. https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdPushConstants.html

I don't think we can check for the size yet, that would probably require pi types + const fn. I think we should just insert a debug assert.
debug_assert!(size_of::<T>() % 4 == 0);

I'm closing this pull request because mikedilger/master is not necessarily the branch to pull, it's what I use in my project.  I should have forked a branch just for this PR.


Allow # in path

https://github.com/ionide/ionide-paket/issues/29

it's a bug in mono.
        let doc = new XmlDocument()
        doc.Load fi.FullName

this fails with
Could not find file "/home/travis/build/fsprojects/Paket/integrationtests/scenarios/i001189-allow

when fi.FullName = home/travis/build/fsprojects/Paket/integrationtests/scenarios/i001189-allow-#-in-path/temp/packages/FAKE/FAKE.nuspec
@vilinski @Krzysztof-Cieslak


Add group sort to the "Group By" feature

Is your feature request related to a problem? Please describe.
Yes, see Slack thread https://netlifycms.slack.com/team/U01S6HQM3EK for more.
I have Netlify CMS implemented on a Hugo site with a content type of “Performance” and am using the beta “Group By” feature.  Love it.  But my groups don’t appear to be “sortable”, they appear in somewhat random order, like in the attached example screenshot.

My “Date” groups, year-month, are defined by the config.yml spec you see below.  It looks like dates within each group are sorted by ascending date, but I can’t find a way to control the sort of the groups themselves.
 view_groups:
      - label: 'Date:'
        field: 'date'
        pattern: \d{4}-\d{2}

Ideally, I’d love to see future months at the top of the list, and the oldest year-month groups at the bottom.
I’ve looked at Issue #3614 and related threads too, but found nothing that talks about controlling the order of groups.
Describe the solution you'd like
I'd like to control the order of the groups so that the newest YYYY-MM groups, presumably performances in future months, sort to the top of my display.  Maybe a config.yml syntax like this could be implemented?
 view_groups:
      - label: 'Date:'
        field: 'date:desc'
        pattern: \d{4}-\d{2}

Describe alternatives you've considered
I have forked the code and considered tackling this issue myself, but I'm not a Javascript developer so it looked like a pretty steep learning curve for me.  Sorry.
Additional context
I don't have a mock-up of this, but the attache image shows the "bottom" of my screen when I Group By "Date:".  What I'd like to see is this list flipped upside-down and at the "top" of my screen so that I don't have to scroll to the bottom to see the most relevant content.

I agree, in my case it looks like it is sorting the groups by number of entries which means my group of 2023 items is right at the bottom :')
Any updates on this?

I think a default lexicographical sorting would be better than nothing, no? Whether years or titles, I think that's almost an implicit assumption when working with computer generated lists.


update readme

update readme for --stats

should we mark the --stats feature ask "beta" or "experimental" ?
just in case the numbers are not accurate

Just double checking. Were these updates automatically generated? We have a tool to do this: https://github.com/infostellarinc/stellarcli/blob/master/util/docs/markdown/gen_markdown.go

nay, was manual.
noted


Hang on reboot

@TheUntouchable

GPU: Gigabyte RTX 2070 SUPER GAMING OC 8G
CPU: AMD Ryzen 7 5800X3D
Motherboard: MSI X470 GAMING PRO CARBON
Since I activated the BAR thing I can't reboot anymore. The PC will hang after the operating system is powered off, have to press the power button for some seconds and start the pc again.
Also the new Nvidia App (Beta) is not detecting the BAR even after reinstalling the drive completely.

It is possible the NVIDIA App behaves like the NVIDIA Control Panel, and always shows ReBAR disabled for Turing GPUs. Because ReBAR is officially supported only on Ampere (RTX 3000) and later GPUs.
@xCuri0 do you know why the firmware would hang on reboot ?
Is there a restart notification I can hook, and then de-configure GPU ReBAR at that time ? Is there another script like the S3 Resume one ?

Thanks for the quick answer :)
Yeah I think the same, even the MSI Center is showing that rBAR ist active:

Regarding that reboot thing, @vigilant-hylian had the same:

I am having some issues however - my motherboard BIOS had two identical entries for the PCIE driver to add the .ffs file, and I added it to both. Now my PC will only start from cold, no reboots, no sleep resume, no hibernate resume. It'll not post, and the HDD light will remain on until i power off the PSU and restart. From full power down it works every time.
I have a feeling this might be a potential hurdle for some users as we iron out the kinks of patching compatible BIOSes - I'll do some testing at some point of adding the .ffs to one entry, then the other, and see if ReBAR continues to work and it resolves my issues. For now I can deal with cold boot :P

But in my case I had only one entry in the UEFI file.

@vigilant-hylian Did you try to add the NvStrapsReBar driver only once to the firmware image ?
Can you try the new version v0.3 (which fixes sleep) and say if you still have the resume from sleep issue ?
Do you have anything new about the reboot issue ? Are you stil dealing with it ?

you should use MMTool V5 on recent motherboards like this btw, using MMTOOL V4 might cause issues

I jus flashed the image I had created with the "MMTool Aptio 5.02.0024 Mod" and its exactly the same behaivour. Also rested all settings and tried it without any modification, same. Beforehand I deactivated BAR via "NvStrapsReBar.exe".
Will now try to flash the unmodified uefi, hopefully that will fix it again :D

Update: Even with the unmodified image from MSI directly I have now this behaivour :( Is there something I can reset with the "NvStrapsReBar.exe" in addition to disable BAR?

Update: I just realized that the CPU error LED on my motherboard is lit while my PC is freezing up

Is there something I can reset with the "NvStrapsReBar.exe" in addition to disable BAR?

No, NvStrapsReBar does not modifiy the Setup variable.
Can you flash the original version of UEFI the board had pre-installed ? Or some older version of the firmware ?
Did you use MSI Live Update under Windows,  or M-FLASH from UEFI Setup ? Can you switch from one to the other ?
Can you boot from a Linux installation drive, to see if it does the same on shutdown ?

Okay, I just had a really hard time 😄.
I already tried to downgrade the UEFI as I had the feeling that the flashing with the same version over the modified version was just too fast...
But apparently I got a version which doesn't support my CPU yet and so I couldn't boot at all😄
Luckily I still had my old x2700 somewhere, but I have a fully water cooled cycle, so yeah....
I was able to update the uefi back to the latest version and now it seems I can reboot again with no problems, at least with the old CPU. Will have to replace the cpus again later..

Yes... I don't think it was my day... The PC is now running again, but the reboot problem is still there and the LED controller on my mainboard seems to be broken as well.

So can you still flash an older version (with support for your CPU), then use MSI Live Update (instead of M-FLASH) to flash the latest version again ?

I will try that out later :)

Update: Ok, I installed an earlier version via M-FLASH without any problems. Nevertheless, the LEDs on my graphics card are blinking like crazy, the LEDs on the mobo still don't light up and the PC still freezes after/while a reboot with red CPU Led on.
Unfortunately I can't flash the latest uefi version via Live Update as it has been marked as beta for 7 months :(

At any point did you try to clear CMOS and then manually load default / optimized values ?

My board has a dedicated button for that.. And I can't tell you how often I pressed it the last days :) Also I cleared the settings in the UEFI to default each time a did a flash.


Disable dependabot

There are a lot of PRs open by dependabot:

However I don't think we'll maintain all the presentations in this repo.
How about closing them and disable the dependabot automated PRs.

I disabled the dependabot PRs:

And closed the open PRs.


Spelling Corrections and Typos

There are a number of spelling errors and typos in documentation.
PR #17 should handle these.
Beware merging PR #13 as there are files that do share updates just to different lines.  I tried to include a few in the #17 PR but I am sure I missed a few.  I am not familiar on merging processes may need to be sure to review  what is needed to be done to merge them together first?
I hope this helps, fixed what I could so things were consistent and got familiar with what files had in them during this process.
Cheers!

This issue references a number of typos which I caught throughout docs while reviewing last.
Things have changed since so not sure all of these exist anymore.
If anyone wants to tackle spelling errors by reviewing my pull request  which didn't get merged due to difficulties of file conflicts.  I will also review these as I can while in areas I visit.
This is a great first timer, get my feet wet submitting a pull request to an open source repository on GitHub if anyone wishes to take on this job.
I believe it will be an ongoing effort ensuring all our documentation is quality.  Any and all help is greatly appreciated by our community members!

closing this as most all are fixed currently in #54 and #55


Segmenter engine - Support workflow function categories

Story
As an plugin developer, I want to have a way of representing, displaying and executing classic Segmenter workflow functions so that I can write maintainable and extensible code
A/C
I know this is done when...

Using the object representation of a workflow and its steps, I can identify the processing category of a given workflow function related to the workflow (ie. Preprocessing, Core, Post-processing, etc.)

Details

We need to know if a function is Pre-processing, Core or Post-processing
This should be tagged in the json configuration, and available in the object model

two examples are added:
for sec61b: https://github.com/AllenCell/aics-segmentation/blob/feature/json_workflow/aicssegmentation/structure_wrapper_config/conf_sec61b.json
for laminb1_interphase: https://github.com/AllenCell/aics-segmentation/blob/feature/json_workflow/aicssegmentation/structure_wrapper_config/conf_lmnb1_interphase.json

This is done, no?


Adding reasonable as a poetry dependency results in a runtime error during dependency resolution

I've been trying out some things with brickschema and decided to create a poetry project to manage dependencies. Whenever I try to add brickschema as a dependency using  poetry add brickschema[reasonable] or when trying to add reasonable as a dependency with poetry add reasonable I get the following RuntimeError:
poetry add reasonable
Using version ^0.1.49 for reasonable

Updating dependencies
Resolving dependencies... (0.9s)

  RuntimeError

  The Poetry configuration is invalid:
    - 'name' is a required property
    - 'version' is a required property
    - 'description' is a required property

  at ~/.local/share/pypoetry/venv/lib/python3.10/site-packages/poetry/core/factory.py:43 in create_poetry
       39│             message = ""
       40│             for error in check_result["errors"]:
       41│                 message += "  - {}\n".format(error)
       42│
    →  43│             raise RuntimeError("The Poetry configuration is invalid:\n" + message)
       44│
       45│         # Load package
       46│         name = local_config["name"]

This happens with both v0.1.49 and v0.1.48 but versions bellow v0.1.48 don't seem to be affected. Could it be that this commit introduced the issue? The pyproject.toml file does look a bit odd but I can't really tell if this is an issue with poetry or reasonable.
Distro: Archlinux
Python version: 3.10.1
Poetry version: 1.1.12

Thanks for taking the time to file the issue! I think you are right that the commit introduced the issue (not sure why I made that change...)
I've just released v0.1.51 which contains the updated pyproject.toml file. I was able to successfully add it as a dependency to another project, so hopefully that has addressed the issue for you. Let me know!

Thank you for taking the time to look into it! I can confirm that poetry no longer has issues installing v0.1.51 so this issue is now fixed!  :+1:

I seem to have spoken too early. While the issue with poetry is indeed solved, the package that has been uploaded on pypi is empty. The binary is not getting built nor are there any pre-built wheels available.

Looks to be some misconfiguration of the pyo3/maturin stuff; I'll look into this over next couple days!

reasonable==0.1.52 should work -- I just successfully added and imported the library to a new Poetry-based project. I forgot I had a special way of doing the multiplatform build, which is now documented in the README.

Thank you for taking the time to look into this @gtfierro. I've tested things (properly this time) on my end and I can confirm that things work correctly now.


Fix rate limiting and SSE

Motivation
While using long lasting SSE connections the mutex is not released
until the connection is closed. This caused rate limiter to throttle
any SSE endpoint to 1 service connection.
What does this PR do?
Replacing the defer call that releases the mutex by a direct call
at the appropriate location removes the contention.
More

[ ] Added/updated tests
[ ] Added/updated documentation

Additional Notes

After taking a deeper look I believe that the bucketsMu is unnecessary as ttlmap.TtlMap implements is own locking.

Thanks @juliens!


seq data training never occurs in the code

Hello,
I read the paper and went through the code and realized that the sequential data training never occurs in
main_supcon.py. run_scale.sh sets --training_data_type to class_iid when we set data stream as 'seq'. However, this training_data_type is never used in the code.
As per the paper, 'seq' setting passes the samples in a class incremental when we set seq data stream. However, the dataloader loads data in iid form and does not train the network on a single sequential class number (eg. 0,1,2,...9). Therefore, even the validation function evaluates the model on iid data samples and does not generate any task matrix like reported in many continual/lifelong learning papers GEM.

Thanks for taking a look at our work!
The opt.training_data_type is used in data_utils.py in L312 [here]. The data_utils.py is responsible for configuring the training and validation data. If you specify opt.training_data_type to be seq, it will lead to different configuration for the data loader in this file.
For your question re. the validation function, our validation function evaluates on the iid data samples, and is different from the task-based continual learning papers. The Section 3 "training and evaluation protocol" in the SCALE paper provides a detailed explanation.
I'll leave this issue open for a week. Please let me know if you have any follow-up questions.

I want to obtain a task matrix of evaluation accuracies of SCALE and further check other metrics like Backward Transfer and Learning Accuracy. In order to obtain that, I guess I will have to change the val_loader and knn_train_loader to return task/class wise samples?
If I am not mistaken, the knn_task_eval does perform task wise evaluation but it calculates an average accuracy over samples from all tasks and not give a task-wise accuracy vector?

Yes, your understands are correct.


Support local overlays

Would be great to support local overlays in the repository.
I have to override a package that depends on another package etc.. and doing it with an overlay is very simple.
My workaround at the moment is:
  overlay = final: prev: { f = final.firefox; };
  pkgs1 = pkgs.extend overlay;

and I have to use pkgs1 everywhere.

My other option was doing all the chaining myself
  let sqlite-3411 = pkgs.sqlite.overrideAttrs (oldAttrs: rec {
      version = "3.41.1";
      src = pkgs.fetchurl {
        url = "https://sqlite.org/2023/sqlite-autoconf-3410100.tar.gz";
        sha256 = "sha256-Ta376rn44WxpXU+7xRwWsvd/uX/0wcPROZGd/AOMnjM=";
      };
    });
  pythonPackageOverrides = self: super: {
      apsw = super.apsw.overridePythonAttrs (oldAttrs: rec {
      version = "<IP_ADDRESS>";
      src = pkgs.fetchFromGitHub {
        owner = "rogerbinns";
        repo = "apsw";
        rev = "refs/tags/${version}";
        sha256 = "sha256-U7NhC83wBaUONLsQbL+j9866u4zs58O6AQxwzS3e0qM=";
      };
      buildInputs = [
        sqlite-3411
      ];
    });
  };
in {

in my devenv.nix

I was thinking to add overlays to devenv.yaml to support this one.

This feature is necessary for me to use devenv instead of manual flake.nix :smile:

You can do this using devenv.yaml:
inputs:
  subflake:
    url: path:./subflake
    overlays:
      - default

and in subflake/flake.nix:
{
  outputs = { ... }: {
    overlays.default = self: super: {
      hello2 = self.hello;
    };
  };
}

Then your devenv.nix can be:
{ pkgs, ... }: {
  packages = [ pkgs.hello2 ];
}

To avoid that boilerplate we could support devenv.yaml like:
overlays:
- myoverlay1: |
    self: super: { hello2 = self.hello; }
- ./myoverlay2.nix

Another possibility would be to evaluate pkgs twice, to add extra overlays.
This would provide a better API (allowing us to provide overlays per module) for sacrificing performance (to be measured how much).

Relevant is #792 because we need to import nixpkgs once.


add an API to kick off validation

This API creates a workflow for Firmware Validation. Currently it only replicates firmwareInstall as there is no actual controller for firmware validation yet, but adding such should be straightforward. I also added swagger annotations and regenerated the docs.

Thanks for helping on adding the server provision docs there!


force only our node_modules in webpack

@cjb @keybase/react-hackers
Webpack by default will try and resolve node_modules under ~/node_modules, which is annoying. It actually prefers this over where our modules were stored, but i think due to us exposing it as a fallback. This overwrites the node_modules with just our own

:thumbsup: thanks!


What is a good negative prompt and what is the range for the seed value?

Hi, Great job on this, the model looks amazing.
But how come the results in https://www.genmo.ai/play are vastly different than what we generated using the weights provided in huggingface. We even used the same seed. Are you guys using a better model on the website. Are you guys enhancing the prompt? If so how? and what is your negative prompt look like (if you are using it)?
Thanks so much in advance.

Agree. I think the seed is within 2^32-1. I encountered the same issue, the weights provided seems lack diversity and the result is quite different from the online version. Would like to know the reason.

Online is using an autoprompter. (This model does much better with LLM "upsampling" of short prompts). We don't use a negative prompt on the website, it should be unnecessary, although it seems like it can help in some cases.
Tbh, I don't know what the range is of the seed value. Presumably it's whatever can seed python's random, numpy, and torch at the same time.

Thanks for your response @ved-genmo
But have tried enhancing the prompt with gpt4o but still the video quality is nothing compared to what is produced on the website.
Would it be possible to provide more info about the LLM "upsampling" like what prompt your passing in to the LLM or any other code that is enhancing the original user prompt?

Furthermore there are cases where the model produces some good videos but its not as consistent as the website. Based on some experiments we have done, the website produces good quality videos fairly consistently but when we run the model ourselves the videos have a lot of morphing subjects and inconsistent faces or backgrounds.  Also some of the videos are just not realistic and cartoons even after repeatedly mentioning "realistic", "the video is hyper realistic," "the dragon is realistic."
We would greatly appreciate the code and prompt for the LLM upsampling! Thanks.

may be web version just uses 720p model?

Hi @SamitM1, even if you enhance the prompt with GPT-4o, the prompt won't be the same as the autoprompting result on our website. Prompting is very important as our model is not trained on all types of captions. We will provide some help on prompting later.
For warping and morphing, you can also try increase the cfg_scale parameter. We use cfg_scale=6 on the website higher than the current default of 4.5 in the repo.

@yan-genmo Thanks!
What upscaller do you guys use on the website? Becuase right now it looks like the resolution is 2x the 480p resolution.

@yan-genmo Thanks!
What upscaller do you guys use on the website? Becuase right now it looks like the resolution is 2x the 480p resolution.

very good question!


Add an OEP-2 compliant openedx.yaml file

This adds an openedx.yaml file, as described by OEP-2:
http://open-edx-proposals.readthedocs.io/en/latest/oeps/oep-0002.html
The data in this file was transformed from the contents of
edx/repo-tools-data:repos.yaml

@edx/openedx-tooling: Marking this repo for you.


Unable to import in Next.js

I tried using this plugin with Next.js and the import doesn't work. The error I'm getting is as follows.
Cannot find module '@r4ai/remark-callout' or its corresponding type declarations.   There are types at<EMAIL_ADDRESS>but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'.
This is the only package I've ever faced this issue with which makes be believe it's an issue with the package and not my setup.
I'm using Next 14.1.1.

Hi @arian81! Thank you for your feedback!
I think you can resolve this error by adding "moduleResolution": "bundler" to your tsconfig.json as shown below:
{
  "compilerOptions": {
    "moduleResolution": "bundler"
  }
}

Since @r4ai/remark-callout is a pure ESM package that only supports Node.js >= 16, it won't work properly with "moduleResolution": "Node" or "moduleResolution": "Node10", which aim to replicate the behavior of Node.js 12.
Additionally, I've created a working example that you can refer to:
https://github.com/r4ai/remark-callout/tree/main/examples/nextjs
If you're still encountering errors, please let me know.

Hi @arian81! Thank you for your feedback!
I think you can resolve this error by adding "moduleResolution": "bundler" to your tsconfig.json as shown below:
{
  "compilerOptions": {
    "moduleResolution": "bundler"
  }
}

Since @r4ai/remark-callout is a pure ESM package that only supports Node.js >= 16, it won't work properly with "moduleResolution": "Node" or "moduleResolution": "Node10", which aim to replicate the behavior of Node.js <= 12.
Additionally, I've created a working example that you can refer to:
https://github.com/r4ai/remark-callout/tree/main/examples/nextjs
If you're still encountering errors, please let me know.

Thanks for the reply. I tested changing moduleResolution to bundler and it worked for some other libraries I was having issues with like mathjax rehype. I don't have the import error with your library anymore either but I get a non descriptive type error (TypeError: Cannot read properties of undefined (reading 'type')) from react-markdown failing to compile the page. My project is public I would appreciate it if you could take a look and see why the issue happens. https://github.com/arian81/portfolio
Full error trace log:
TypeError: Cannot read properties of undefined (reading 'type')
at file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/@r4ai+remark-callout@0.3.4/node_modules/@r4ai/remark-callout/dist/plugin.js:47:37
at overload (file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/unist-util-visit@5.0.0/node_modules/unist-util-visit/lib/index.js:311:12)
at node (blockquote) (file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/unist-util-visit-parents@6.0.1/node_modules/unist-util-visit-parents/lib/index.js:346:27)
at node (blockquote) (file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/unist-util-visit-parents@6.0.1/node_modules/unist-util-visit-parents/lib/index.js:363:61)
at node (root) (file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/unist-util-visit-parents@6.0.1/node_modules/unist-util-visit-parents/lib/index.js:363:61)
at visitParents (file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/unist-util-visit-parents@6.0.1/node_modules/unist-util-visit-parents/lib/index.js:304:31)
at visit (file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/unist-util-visit@5.0.0/node_modules/unist-util-visit/lib/index.js:302:3)
at file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/@r4ai+remark-callout@0.3.4/node_modules/@r4ai/remark-callout/dist/plugin.js:42:9
at wrapped (file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/trough@2.2.0/node_modules/trough/lib/index.js:160:27)
at next (file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/trough@2.2.0/node_modules/trough/lib/index.js:86:23)
at Object.run (file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/trough@2.2.0/node_modules/trough/lib/index.js:57:5)
at executor (file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/unified@11.0.4/node_modules/unified/lib/index.js:901:20)
at Function.run (file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/unified@11.0.4/node_modules/unified/lib/index.js:884:19)
at Function.runSync (file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/unified@11.0.4/node_modules/unified/lib/index.js:950:10)
at Markdown (file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/react-markdown@9.0.1_@types+react@18.2.48_react@18.2.0/node_modules/react-markdown/lib/index.js:208:28)
⨯ TypeError: Cannot read properties of undefined (reading 'type')
at file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/@r4ai+remark-callout@0.3.4/node_modules/@r4ai/remark-callout/dist/plugin.js:47:37
at overload (file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/unist-util-visit@5.0.0/node_modules/unist-util-visit/lib/index.js:311:12)
at node (blockquote) (file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/unist-util-visit-parents@6.0.1/node_modules/unist-util-visit-parents/lib/index.js:346:27)
at node (blockquote) (file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/unist-util-visit-parents@6.0.1/node_modules/unist-util-visit-parents/lib/index.js:363:61)
at node (root) (file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/unist-util-visit-parents@6.0.1/node_modules/unist-util-visit-parents/lib/index.js:363:61)
at visitParents (file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/unist-util-visit-parents@6.0.1/node_modules/unist-util-visit-parents/lib/index.js:304:31)
at visit (file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/unist-util-visit@5.0.0/node_modules/unist-util-visit/lib/index.js:302:3)
at file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/@r4ai+remark-callout@0.3.4/node_modules/@r4ai/remark-callout/dist/plugin.js:42:9
at wrapped (file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/trough@2.2.0/node_modules/trough/lib/index.js:160:27)
at next (file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/trough@2.2.0/node_modules/trough/lib/index.js:86:23)
at Object.run (file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/trough@2.2.0/node_modules/trough/lib/index.js:57:5)
at executor (file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/unified@11.0.4/node_modules/unified/lib/index.js:901:20)
at Function.run (file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/unified@11.0.4/node_modules/unified/lib/index.js:884:19)
at Function.runSync (file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/unified@11.0.4/node_modules/unified/lib/index.js:950:10)
at Markdown (file:///Users/arian/Documents/GitHub/portfolio/node_modules/.pnpm/react-markdown@9.0.1_@types+react@18.2.48_react@18.2.0/node_modules/react-markdown/lib/index.js:208:28) {
page: '/blog/sample-rust-obsidian-note'

It seems the error occurs when encountering an empty blockquote.
I've uploaded the fixed version<EMAIL_ADDRESS>to npm, can you try to see if it's fixed?

It seems the error occurs when encountering an empty blockquote.
I've uploaded the fixed version<EMAIL_ADDRESS>to npm, can you try to see if it's fixed?

Everything works well now thanks.


Update designs.md

Notes for Reviewers
This PR fixes #
Signed commits

[x] Yes, I signed my commits.

🚀 Preview for commit 0799ae349c57a174188b9c76c2a3f78c3c15dcb1 at: https://670ab3b4c856cc6b3083ef45--meshery-docs-preview.netlify.app


Test and document how we handle unicode mapping

Let's do this during escrow.

The JSON https://tools.ietf.org/html/rfc7159 specification defines a text mappings.
Section https://tools.ietf.org/html/rfc7159#section-8 describes equivalency classes of characters.
We should she how this applies to our string comparisons such as: audience comparisons when validating tokens.


added "deadLetter" to the list of valid function properties.

This is to fix the following error:
Configuration error at 'functions.<functionName>': unrecognized property 'deadLetter'

I am also getting the configuration warning message:
Serverless: Configuration warning at 'functions.main': unrecognized property 'deadLetter'
Can this pull request be merged?

Hi, why isn't this PR merged?
Thanks

It would be great to merge this change and push a new version in npmjs. That could prevent a new version into npmjs.

@amilliken-bb Maybe you need to add @gmetzker as a reviewer too


Feature/registration button fix

fixed the form reset that was messing with the disabled feature of the submit button

Looks good 👍 go ahead and merge


Update Project file (master)

The lines you are removing are intended to disable plugins that are enabled by default.


Add missing intake dependency and set version upper bounds.

Some dependency updates....

The conda-forge bot noticed that we were using the intake package directly, but had not specified it as a dependency.
The boto3 dependency was pinned to one particular version, which seemed like it could cause problems if someone was attempting to use the catalog in another software environment, which I think we would like to enable.
There was no upper bound on our own (likely to change) intake-sqlite package.

I was thinking that we could make these dependency updates and do a v2022.11.30post1 release, using the postN notation for changes that don't alter the data the catalog points at? What do you think @bendnorman

@zaneselvans should this be merged into dev or directly into main?

Merged main and dev into the PR branch and redirected it at dev


Nice!

Nice one @abo !
It will be shared in our next RedisWeekly!

That's cool! thanks @FGRibreau


Result form: Indicator with results / no targets: Result form tool-tip is out of context and there is no messaging that targets are missing

To reproduce the issue:

Create an indicator and add some targets to it -- doesn't matter what kind.
Add a result to the indicator.
Reopen the indicator setup form, go to the Targets tab, and remove all targets.
Now reopen the result form. Note that the "Measure against target" field is empty with the field label highlighted in red -- as it should be.
Click the tool-tip next to the field label.

Here's what I see -- regardless of the target frequency I originally used.

Acceptance criteria
When an indicator has results but no targets, the following things are true:

[ ] 1. The tool-tip message says: Targets are not set up for this indicator.
[ ] 2. The above tool tip is displayed regardless of the original target frequency -- time-aware, midline/endline, or Event.

Housekeeping (where applicable)

[ ] Unit test/s written
[ ] i18n strings included
[ ] Is accessible to people using screen readers

Isn't this a required field now? You can't save a new indicator w/out a target now correct? Does this only affect older programs (when the field was not required)?

It's still possible.  You can create an indicator with targets, add results, and then delete the targets.


-stub flag

Added a -stub flag that removes the panic behavior if an unset call is made.
With this flag, unset methods return zero values instead.
Updated tests for altered moq.New() function signature.
Changed "destination" var and in usage to "source", to reflect its actual functionality (fixes matryer/moq#85).

Per request, rebased #46 against master.  Also integrated a quick fix for #85.

@breml @t-Singularity Head's up, due to your interest in the prior PR.

Looks like the tests are failing because Go 1.10 and earlier are no longer supported for the version of the packages library being used.

@matryer May I ask you to look at the failures for Go 1.10 and earlier?

@matryer reminding you of this PR.

@kaedys would you be willing to rebase this against the master branch? I can undestand if you do not wish to work on this anymore though.

Ya, I'll see if I can find some time to get that done.

Thanks @kaedys for opening this PR. I pulled in the essential changes from this into #132 and moq now supports the -stub flag :tada: (see https://github.com/matryer/moq/blob/83ab8dd79f4cd81ed605de6b758d595889103053/pkg/moq/testpackages/channels/queuer_moq.golden.go#L57-L74 for an example of the generated mock)


Is the data structure used in this project DAG?

DAG:Directed Acyclic Graph
1.Is the data structure of "circuit" a graph or a tree?
2.Is the data structure of adding "components" to "circuit" a graph or a tree? If it is a graph, is it acyclic or cyclic?
3.Is there any documentation that explains the principles of each component traversal? Is it depth-first or breadth-first?

Graph.
You can loopback if you want. Graphs can be cyclic or acyclic.
Pull-system. Each component pulls from its input components, and so on backward through the graph.

Graph.
You can loopback if you want. Graphs can be cyclic or acyclic.
Pull-system. Each component pulls from its input components, and so on backward through the graph.

oh oh. That is to say, the DSPatch::Circuit in our project supports cyclic.
Thanks


[BEAM-2613] add integration test for comparison operators

Summary:

added integration test for comparison operators.
refactored comparison operator expressions into a separate package: comparison.

R: @XuMingmin @jbonofre  @takidau

Updates:

Added more test cases.
Renamed BeamSqlLargerThanExpression to BeamSqlGreaterThanExpression.

Changes Unknown when pulling 1053e3054e34dced551b05e6124438987098ce04 on xumingming:BEAM-2613-integration-test-for-comparison-operators into ** on apache:DSL_SQL**.

Retest this please

Retest this please

retest this please

Changes Unknown when pulling ccc0b8486f500260c61d6021d1b73a221345029e on xumingming:BEAM-2613-integration-test-for-comparison-operators into ** on apache:DSL_SQL**.

R: @JingsongLi

Changes Unknown when pulling b480b913df9b41f0c4406db046c9e9462be005c8 on xumingming:BEAM-2613-integration-test-for-comparison-operators into ** on apache:DSL_SQL**.

Merged, feel free to close.

Thanks @XuMingmin @JingsongLi


Teradata connection requires Database/Schema override

Is your feature request related to a problem? Please describe.
When creating a connection to a Teradata database the field Database/schema (DATABASE=) is required by DBeaver but not by Teradata as it is only used to override the default database defined for the database user. It causes some confusion for newcomers.

Specifies a default database for use after logon, to override the default database defined for the database user.
https://teradata-docs.s3.amazonaws.com/doc/connectivity/jdbc/reference/current/jdbcug_chapter_2.html#URL_DATABASE

Describe the solution you'd like
The field Database/schema to be optional.
I guess changing it here: https://github.com/dbeaver/dbeaver/blob/28ecc6e2f484ee8c8038c0fd736d2c80d98b92cb/plugins/org.jkiss.dbeaver.ext.generic/plugin.xml#L584
Perhaps using defaultDatabase somehow?
Describe alternatives you've considered
Setting it to the username of the user connecting?
Additional context
Add any other context or screenshots about the feature request here.

Thank you for report

We will use user name as default database name


Profiles status bar item does not change color with settings

Testing #153384
(Windows. 6/30 Insiders.)
I added the following, but the status bar item does not change:
{
    "statusBarItem.settingsProfilesBackground": "#FF0000",
    "statusBarItem.settingsProfilesForeground": "#00FF00"
}

Can you please double check in which settings file have you added these?

Not sure what it was then, but I just created an empty profile and changed the settings JSON ~/Library/Application Support/Code - Insiders/User/profiles/c0daa47/settings.json to the above.
The settings editor shows them as "unknown configuration":

Switcher is unchanged:

(This is on Mac. Original report is for Windows.)

You cannot use them at the top level. They have to go under workbench.colorCustomizations setting. For eg:
"workbench.colorCustomizations": {
		"statusBarItem.settingsProfilesBackground": "#e0dfdb",
		"statusBarItem.settingsProfilesForeground": "#0d0d0d"
}

That is my mistake that I am not clear about this in the TPI.
Let me know if it works

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Tool support for CALM analysis

We don't actually have a programmatic way to check if a program satisfies the CALM analysis (other than "stare at the budplot output looking for ..."). It would be nice to provide some simple analysis tools to do this automatically.

Can you clarify what kind of analysis is missing? What else can one do besides the conservative check on monotonicity conditions that is already performed?

Well, we currently have:

analysis for monotonicity as part of program rewriting
system catalogs that can provide programmatic access to this data
budplot viz of program dataflow / monotonicity

It would be nice to have:

A programmatic check for confluence (see the Dedalus paper); this requires stuff like making sure all channel input is persisted into a table
The confluence analysis needs to be made more robust for real-world programs -- e.g., requiring all messages sent over channels to be stored forever is not realistic. (Perhaps this is a separate issue though.)
More generally, tools that enable developers to use confluence/monotonicity as part of the program design process, without requiring them to rerun budplot and stare at diagrams

The dedalus paper mentions confluence once, and leaves it as further work. It is not clear to me how one can prove a system confluent in this setup, when a notion of randomness or choice is part of the primitves.  Actually, to take a step back,  I need to understand what confluence analysis even means.

It would be nice to have:

A programmatic check for confluence (see the Dedalus paper); this requires stuff like making sure all channel input is persisted into a table

You can't mandate that all channel input is persisted, as in the chat example. One could presumably check if a channel tuple is being read, but even that should not be mandated: "drop all channel inputs until state==READY" is a reasonable requirement.

The confluence analysis needs to be made more robust for real-world programs -- e.g., requiring all messages sent over channels to be stored forever is not realistic. (Perhaps this is a separate issue though.)

yes.

More generally, tools that enable developers to use confluence/monotonicity as part of the program design process, without requiring them to rerun budplot and stare at diagrams

Is it possible to furnish an example of a problem that you have spent considerable time tracking, and would have been nice if it was programmatically analyzed?

Whoops -- the best place to read about confluence is probably the ICDT submission; I'll send it to you offline.
Re: mandating that channel input is persisted, that is the current requirement (... which was posed in the context of a theory paper). Certainly revisiting that for a practical analysis would be a good idea.
As far as a practical example, I don't really have one, but that would certainly be a good thing to start with.


Batch compute environment type check case strictness

CloudFormation Lint Version
1.18.1
What operating system are you using?
Ubuntu
Describe the bug
This introduced a check on the value of batch compute environment that is too strict around case.  We are linting CloudFormation generated by CDK so we don't have control over the case of the type enum.
E3030 'managed' is not one of ['MANAGED', 'UNMANAGED']
Error: cdk.out/assembly-[snip].template.json:4230:5

I don't see that type enum specified in aws-batch-computeenvironment.json in the provider schemas.  I'm not familiar with the cfn-lint code but I think this is an extra check added above and beyond the published schemas?  Looks like either ['managed', 'unmanaged', 'MANAGED', 'UNMANAGED'] needs to be supported or the check needs to be case-insensitive?
Expected behavior
Linting should pass.  This template has not changed, but its linting results changed with the updated version of cfn-lint.
Reproduction template
It's tough to get an anonymized template as synthed by CDK, but this will give you the error in question (in addition to a few others because it's a partial template):
"Resources": {
    "ExportComputeEnvironmentAA": {
        "Type": "AWS::Batch::ComputeEnvironment",
        "Properties": {
            "ComputeResources": {
            "AllocationStrategy": "BEST_FIT_PROGRESSIVE",
            "InstanceRole": {
            "Fn::GetAtt": [
            "ExportComputeEnvironmentInstanceProfileAA",
            "Arn"
            ]
            },
            "InstanceTypes": [
            "optimal"
            ],
            "LaunchTemplate": {
            "LaunchTemplateId": {
            "Ref": "ExportLaunchTemplate2FAB468E"
            }
            },
            "MaxvCpus": 256,
            "MinvCpus": 0,
            "SecurityGroupIds": [
            {
            "Fn::GetAtt": [
                "ExportComputeEnvironmentSecurityGroupAA",
                "GroupId"
            ]
            }
            ],
            "Subnets": [
            "subnet-00",
            "subnet-01",
            "subnet-02"
            ],
            "Tags": {
            },
            "Type": "EC2",
            "UpdateToLatestImageVersion": true
            },
            "ReplaceComputeEnvironment": true,
            "ServiceRole": {
            "Fn::GetAtt": [
            "ExportServiceRoleAA",
            "Arn"
            ]
            },
            "State": "ENABLED",
            "Tags": {
            },
            "Type": "managed",
            "UpdatePolicy": {}
        },
        "Metadata": {
            "aws:cdk:path": "foo/bar/ExportComputeEnvironment/Resource"
        }
  }
}

Looking into this.  Trying to figure out the extent of the issue.  Docs point towards the upper case version but obviously the API is taking it case insensitive.  There are cases where the value is case sensitive so trying to figure out that difference.
https://docs.aws.amazon.com/batch/latest/APIReference/API_CreateComputeEnvironment.html#Batch-CreateComputeEnvironment-request-type
For this particular issue we may have to create a case insensitive enum check for the data we are getting from this source.

This seems to be specific to this resource type.  So going to create a case insensitive json schema keyword to handle these use cases. Fix should be in shortly.


[MEGA WIP] Example refactor

Think of this PR as my clay for forming my ideas and not something that will ever need to be merged

@lresende I’m just using this as a way to get a better feel for the code base, before drafting up a more concrete strategy. I don’t expect this to ever be something that is merged


Where will this end up?

Closing to tidy up project backlog (this was an experimental issue to help us workout how to use zenhub)