feat: standard non-evm inbound memo

Description

[x] Created struct type InboundMemo as the standard memo.
[x] Implemented two APIs EncodeToBytes and DecodeFromBytes according to rfc PR
[x] Support for two encoding formats: ABI encoding, compact encoding

Hot to pack your own inbound memo?
Step-1: prepare a memo header
func MakeHead() []byte {
	header := make([]byte, 4)
	header[0] = 'Z'
	header[1] = 0<<4 | 0b0010 // version + encoding format (e.g. compact long)
	header[2] = 0b0001 << 4   // operation code (e.g. DepositAndCall)
	header[3] = 0b00000011    // 'payload' and 'revertAddress' are set
	return header
}

Step-2: pack the memo fields with encoding format (ABI or compact) that suites your use case
The follow example code packs the fields using ABI format
func ABIPack(receiver common.Address, payload []byte, revertAddress string) ([]byte, error) {
	// define the ABI for encoding the types: address, bytes, string
	abiString := `[{"type":"function","name":"encode","inputs":[
		{"type":"address"},
		{"type":"bytes"},
		{"type":"string"}],
		"outputs":[]}]`

	// parse the ABI
	parsedABI, err := abi.JSON(strings.NewReader(abiString))
	if err != nil {
		return nil, err
	}

	// pack the values using the ABI
	data, err := parsedABI.Pack("encode", receiver, payload, revertAddress)
	if err != nil {
		return nil, err
	}

	// remove the 4-byte selector
	return data[4:], nil
}

For use cases that are sensitive to transaction size, the follow example packs the fields using compact format
func CompactPack(receiver common.Address, payload []byte, revertAddress string) []byte {
	data := make([]byte, 0)

	// pack receiver (fixed 20	bytes)
	data = append(data, receiver.Bytes()...)

	// pack payload (dynamic)
	// encode length with 1 byte if 'compact short' is your choice
	lenthPayload := make([]byte, 2)
	binary.LittleEndian.PutUint16(lenthPayload, uint16(len(payload)))

	data = append(data, lenthPayload...) // write length
	data = append(data, payload...)      // write payload

	// pack revert address (dynamic).
	// encode length with 1 byte if 'compact short' is your choice
	lengthRevertAddr := make([]byte, 2)
	binary.LittleEndian.PutUint16(lengthRevertAddr, uint16(len([]byte(revertAddress))))

	data = append(data, lengthRevertAddr...)      // write length
	data = append(data, []byte(revertAddress)...) // write revert address

	return data
}

How Has This Been Tested?

[ ] Tested CCTX in localnet
[ ] Tested in development environment
[x] Go unit tests
[ ] Go integration tests
[ ] Tested via GitHub Actions

Summary by CodeRabbit

New Features

Introduced support for stateful precompiled contracts and a staking precompiled contract.
Added Bitcoin TSS address derivation by chain ID and static info for various Bitcoin testnets.
Implemented a non-EVM standard inbound memo package.
Established a structured approach for codec arguments and memo handling for non-EVM chains.

Bug Fixes

Resolved issues with operators voting on discarded keygen ballots.
Improved error handling and informative messages during node startup.

Tests

Added comprehensive unit tests for new functionalities, including codec operations and memo handling.

Refactor

Enhanced code quality by fixing lint errors and refactoring functions for improved parameter handling.

Looks great, good that we have everything isolated in a package.
I'm wondering if we could consider having in this package the legacy parsing, getting the address and calldata from a memo using the old way with Bitcoin?

Yes, if you meat moving func ParseAddressAndData(message string) (ethcommon.Address, []byte, error) to the memo package.


Fixed Github actions linters

Signed-off-by: Alejandro Hernández<EMAIL_ADDRESS>@kurshakuz

Looks good with green checks.

Am I right to say that currently there are red checks because of the previous PR https://github.com/ros/geometry_tutorials/pull/45? Shouldn't that one itself resolve that checks problem?

we need to add a CONTRIBUTING.md file https://github.com/ros/geometry_tutorials/pull/46/checks?check_run_id=3224231571
@kurshakuz do you mind to open a PR in top of this adding this file ?


Unable to use GPU / CUDA for prediction

I have the following error while attempting to run the command p2t predict -l en -d cuda --resized-shape 1550 -i input-photos -o output-md-gang --save-debug-res output-debug-gang
error: ValueError: Asked to use CUDAExecutionProvider as an ONNX Runtime execution provider, but the available execution providers are ['AzureExecutionProvider', 'CPUExecutionProvider'].

uninstall onnxruntime, install onnxruntime-gpu

uninstall onnxruntime, install onnxruntime-gpu
latex_ocr.py still requires optimum.onnxruntime so uninstalling results in an error aswell.


Missing part in Tutorial

The code from the notebook to create the model is missing on the website.
Tutorial: https://learn.microsoft.com/en-us/azure/machine-learning/tutorial-pipeline-python-sdk
Link to notebook: https://github.com/Azure/azureml-examples/blob/main/tutorials/e2e-ds-experience/e2e-ml-workflow.ipynb
%%writefile {train_src_dir}/train.py
import argparse
from sklearn.ensemble import GradientBoostingClassifier
from sklearn.metrics import classification_report
import os
import pandas as pd
import mlflow

def select_first_file(path):
    """Selects first file in folder, use under assumption there is only one file in folder
    Args:
        path (str): path to directory or file to choose
    Returns:
        str: full path of selected file
    """
    files = os.listdir(path)
    return os.path.join(path, files[0])

# Start Logging
mlflow.start_run()

# enable autologging
mlflow.sklearn.autolog()

os.makedirs("./outputs", exist_ok=True)

def main():
    """Main function of the script."""

    # input and output arguments
    parser = argparse.ArgumentParser()
    parser.add_argument("--train_data", type=str, help="path to train data")
    parser.add_argument("--test_data", type=str, help="path to test data")
    parser.add_argument("--n_estimators", required=False, default=100, type=int)
    parser.add_argument("--learning_rate", required=False, default=0.1, type=float)
    parser.add_argument("--registered_model_name", type=str, help="model name")
    parser.add_argument("--model", type=str, help="path to model file")
    args = parser.parse_args()

    # paths are mounted as folder, therefore, we are selecting the file from folder
    train_df = pd.read_csv(select_first_file(args.train_data))

    # Extracting the label column
    y_train = train_df.pop("default payment next month")

    # convert the dataframe values to array
    X_train = train_df.values

    # paths are mounted as folder, therefore, we are selecting the file from folder
    test_df = pd.read_csv(select_first_file(args.test_data))

    # Extracting the label column
    y_test = test_df.pop("default payment next month")

    # convert the dataframe values to array
    X_test = test_df.values

    print(f"Training with data of shape {X_train.shape}")

    clf = GradientBoostingClassifier(
        n_estimators=args.n_estimators, learning_rate=args.learning_rate
    )
    clf.fit(X_train, y_train)

    y_pred = clf.predict(X_test)

    print(classification_report(y_test, y_pred))

    # Registering the model to the workspace
    print("Registering the model via MLFlow")
    mlflow.sklearn.log_model(
        sk_model=clf,
        registered_model_name=args.registered_model_name,
        artifact_path=args.registered_model_name,
    )

    # Saving the model to a file
    mlflow.sklearn.save_model(
        sk_model=clf,
        path=os.path.join(args.model, "trained_model"),
    )

    # Stop Logging
    mlflow.end_run()

if __name__ == "__main__":
    main()

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 789ff09b-04b0-6262-420b-90770d0f8a1f
Version Independent ID: cbdf5d7d-0c4b-65fc-256b-f13816d6ab4c
Content: Tutorial: ML pipelines with Python SDK v2 (preview) - Azure Machine Learning
Content Source: articles/machine-learning/tutorial-pipeline-python-sdk.md
Service: machine-learning
Sub-service: core
GitHub Login: @msdpalam
Microsoft Alias: meeral

@bjornarmr
Thanks for your feedback! We will investigate and update as appropriate.

@bjornarmr
Thanks for your feedback! We have assigned the issue to author and will provide further updates.


Missing or wrong Figure 12: Layer 2 feature configuration

In Figure 12: Layer 2 feature configuration, same images as the Figure 11: Sample topology for configuration.
Good book and thank you!

Please reopen if the issue still persists.


Makefile: fix directory not found error

Signed-off-by: hectorj2f<EMAIL_ADDRESS>
Summary

make policy-webhook was compiling a wrong directory. I also added the compilation of the policy-webhook binary to the cosigned target.
CGO_ENABLED=0 go build -trimpath -ldflags "-buildid= -X sigs.k8s.io/release-utils/version.gitVersion=v1.7.1-4-g9008111-dirty -X sigs.k8s.io/release-utils/version.gitCommit=9008111af46dda51d5336b1570d8bf5fe896a524 -X sigs.k8s.io/release-utils/version.gitTreeState="dirty" -X sigs.k8s.io/release-utils/version.buildDate=2022-04-05T18:38:00Z" -o policy-webhook ./cmd/cosign/policy-webhook
stat /Users/hectorj2f/sigstore/cosign/cmd/cosign/policy-webhook: directory not found

Ticket Link

Fixes
Release Note

Codecov Report

Merging #1718 (f4ed820) into main (9008111) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head f4ed820 differs from pull request most recent head b4ec8e1. Consider uploading reports for the commit b4ec8e1 to get more accurate results

@@           Coverage Diff           @@
##             main    #1718   +/-   ##
=======================================
  Coverage   29.26%   29.26%
=======================================
  Files         141      141
  Lines        8503     8503
=======================================
  Hits         2488     2488
  Misses       5742     5742
  Partials      273      273

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9008111...b4ec8e1. Read the comment docs.


feature(wasm) Add some foreign type hooks for WASM

Signed-off-by: Jerome Simeon<EMAIL_ADDRESS>Changes

Add foreign WASM type (WSON)
Add hook to compiler for compiling EJson foreign data to WSON foreign data

This is work in progress, for review. Still need to add foreign operator mapping.

Cool. I try to recap our last discussion on slack. We have to deal with two different foreign concepts: foreign data and foreign operators. At compile time, we want to translate foreign data to a binary representation (OCaml string). Also foreign operators have to be represented as string. The compiler (('a, 'b) imp_ejson -> wasm_ast) will get two new arguments of type 'a -> string and 'b -> string.
This PR adds the 'a -> string argument.

I'm wondering whether it makes sense to take a slightly different route. The current signature of the backend is
val imp_ejson_to_wasm_ast : brand_hierarchy -> ('fdata, 'fop) imp_ejson -> Wasm.Ast.module_
val eval : Wasm.Ast.module_ -> char list
  -> (char list * 'fdata ejson) list -> ('fdata ejson) option

I think I could proceed with
val imp_ejson_to_wasm_ast : ('fop -> string) -> brand_hierarchy -> (string, 'fop) imp_ejson -> Wasm.Ast.module_
val eval : Wasm.Ast.module_ -> char list
  -> (string -> 'fop option) -> ('fop -> string ejson list ->  string ejson option)
  -> (char list * string ejson) list -> (string ejson) option

I'm wondering whether it makes sense to take a slightly different route. The current signature of the backend is
val imp_ejson_to_wasm_ast : brand_hierarchy -> ('fdata, 'fop) imp_ejson -> Wasm.Ast.module_
val eval : Wasm.Ast.module_ -> char list
  -> (char list * 'fdata ejson) list -> ('fdata ejson) option

You propose in this PR
val imp_ejson_to_wasm_ast : brand_hierarchy -> ('fdata -> string) -> ('fdata, 'fop) imp_ejson -> Wasm.Ast.module_
val eval : Wasm.Ast.module_ -> char list
  -> (char list * 'fdata ejson) list -> ('fdata ejson) option

I think I could proceed with
val imp_ejson_to_wasm_ast : ('fop -> string) -> brand_hierarchy -> (string, 'fop) imp_ejson -> Wasm.Ast.module_
val eval : Wasm.Ast.module_ -> char list
  -> (string -> 'fop option) -> ('fop -> string ejson list ->  string ejson option)
  -> (char list * string ejson) list -> (string ejson) option

@pkel I think I've got the first of those two right now. I still have to do eval ...

hi @pkel, in the eval signature below:

I think I could proceed with
val imp_ejson_to_wasm_ast : ('fop -> string) -> brand_hierarchy -> (string, 'fop) imp_ejson -> Wasm.Ast.module_
val eval : Wasm.Ast.module_ -> char list
  -> (string -> 'fop option) -> ('fop -> string ejson list ->  string ejson option)
  -> (char list * string ejson) list -> (string ejson) option

the ('fop -> string ejson list ->  string ejson option) doesn't make sense to me. How can WASM operators work on ejson ? Shouldn't they just work on string (i.e., foreign types in WASM ?)

Consider a foreign library Date with the following interface.
type t
val parse: string -> t option
val create: float -> t option
val add_seconds: t -> int -> t
val get_month: t -> int
(* ... *)

I think values of type t should be encoded as ejforeign. From the wasm side, an ejforeign will look similar to a JS ArrayBuffer.
Arguments and return values of types string, float, int, and option should become ejstring, ejfloat, ejbigint, and ejobject. If my interpretation is correct, the generic type for foreign operator evaluation is ejson list -> ejson option.

Consider a foreign library Date with the following interface.
type t
val parse: string -> t option
val create: float -> t option
val add_seconds: t -> int -> t
val get_month: t -> int
(* ... *)

I think values of type t should be encoded as ejforeign. From the wasm side, an ejforeign will look similar to a JS ArrayBuffer.
Arguments and return values of types string, float, int, and option should become ejstring, ejfloat, ejbigint, and ejobject. If my interpretation is correct, the generic type for foreign operator evaluation is ejson list -> ejson option.

But I thought we had a mapping from ejforeign to string already. Why wouldn't eval work on the right-hand side of that?


bamboo-sendgrid in bamboo core

Hi @mtwilliams,
We just started a project where we need to use Sengrid and we need to do a number of tweaks and add some features to the Sengrid adapter, and we need to do it pretty quickly. We'd also like to add the adapter to core Bamboo. Since you did a lot of work on this original sengrid adapter, I plan to add a thank you and link to this original adapter since you did a lot of work on this. Does this plan sound ok to you?

Appreciate you reaching out first, @paulcsmith.
I don't mind per se. However, having two disparate implementations makes little sense, so I would rather merge this into core and then delete this repository.
I can go ahead and submit a pull request that merges my work into core.
I'll also caveat that the code has not been tested in production workloads yet, i.e. there may be subtle bugs when dealing with SendGrid's real servers.

Alternatively, I could just give you admin access to this repo.

Yes you're right, having two implementations doesn't sound ideal. Can you submit a PR with the module doc set to false on the Sendgrid adapter until we've tested it all out in production? I think that would work well, and then we could add docs once it's tested and ready to go! :D

I realized we can just do this ourselves since the code is open source (duh!), so no need to take time out of your day to open up a PR. I'll make sure to credit you as writing the initial implementation!

Ah, a rewrite.

Yeah it looks like there were some issues when we tried it out in production and we couldn't quite track down what was wrong so I think my coworker decided to try a different approach. I personally use Mandrill though so I'm not entirely sure what the problem was.
Thanks for making this though. I think it provided some good guidance when he created the Sengrid adapter in Bamboo core.


Modernise the govukInput component

The team are considering approaches to modernising this gem. This PR takes the Input component and tries out one such approach.

Introduces the convention of a Rails helper to match the govuk-frontend project macro style (e.g. govukInput)
1:1 parameter naming parity with the Nunjucks code
RSpec tests which are directly copied from the Design System examples
Fuzzy RSpec matcher to assist with HTML comparisons
Transition from Slim to ERB templates (with a view to eventually removing the slim-rails dependency)
Template rewritten to use Rails tag builders, and follow the same flow as the Nunjucks template

This work uses a feature branch, erb-rspec-modernisation.

@stdstaff looks great, just what is needed. I like the testing approach in particular. While we want to stick as close as 1:1 parity as possible, there are certain minor things we might want to change in a Ruby port, for example we might consider using snake_case (e.g. govuk_input) for the macro names. What do you think?

@slorek for now this follows the precedent of the naming for the existing helpers as well as the upstream ones, I can see a case for making the naming more Ruby-ish, note the parameters are also camelCase at the moment, so whichever is chosen they should be updated to match.
The one utility of matching the Nunjucks style is component examples really are a direct copy and paste from the Design System, which is nice if you're used to the design system, although I agree is a little jarring if you're approaching it as a Rails developer. 🤔


Whole RuneLite client crashing and black screening pc especially with gpu plugin

Runelite will completely crash and lag out my pc to a full black screen and will obviously itself close runelite. I did a full reinstall of the game and deleted all plugins and i've learned that even going anywhere remotely close to the sidebar begins to lag my pc, and turning on the GPU plugin had immediately crashed and lagged out my pc. I tried reinstalling java and everything else too and nothing works.

The issue tracker is not a support forum. Please join the Discord for questions of support.


Redirecting URL from previous names to caravel

@williaster

Coverage increased (+0.04%) to 71.177% when pulling 2b71b7206523273442705229e65fd0d812f4e958 on redirects into bd9051a16818d77dfe896884b6b337d981774731 on master.

Coverage increased (+0.04%) to 71.177% when pulling 2b71b7206523273442705229e65fd0d812f4e958 on redirects into bd9051a16818d77dfe896884b6b337d981774731 on master.

Coverage increased (+0.04%) to 71.177% when pulling 2b71b7206523273442705229e65fd0d812f4e958 on redirects into bd9051a16818d77dfe896884b6b337d981774731 on master.

Coverage increased (+0.04%) to 71.177% when pulling eeba80c487c1c97246247ea6089fc25a8e560d3f on redirects into a3f92f687d0ab94eec052306591245112ca8be6a on master.

@mistercrunch would this have fiedx urls that are saved as default endpoints? this link from @michellethomas doesn't work.


⚠ Bofrost.de has degraded performance

In 30cbfb1, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1110 ms

Resolved: Bofrost.de performance has improved in c69ae85 after 8 minutes.


Just ran fetch-api

It seems there are no API changes to docker, only implementation.
It's still at 1.42.
There are however some API changes to podman.

Interesting, I tried running it once locally with no changes. Will take a deeper look later what changed. What are your JDK, clojure and OS versions? Will try to reproduce. The steps you took would be heplful too.

java -version
openjdk version "20" 2023-03-21
OpenJDK Runtime Environment Temurin-20+36 (build 20+36)
OpenJDK 64-Bit Server VM Temurin-20+36 (build 20+36, mixed mode, sharing)

clj --version
Clojure CLI version <IP_ADDRESS>5

podman --version
podman version 4.3.1

cat /etc/debian_version
12.0

Debian 12 bookworm (frozen for release).
Packages up to date.


bump Go to 1.20.5

Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)

Relates to https://github.com/kedacore/keda/issues/4517

/run-e2e internal


Add Proc.FileDescriptorTargets() function

For a project we are creating we needed something that could scan /proc/ID/fd and tell us what target files are used for each process.
Before trying to code everything else I found this project which already did almost everything I wanted, so I added the missing function.
We are going to use it even if this would not get merged, but I think it is nice to at least propose a merge for something like this :). I'm of course willing to change the implementation if something should be done differently.

:+1: Otherwise, provided you're ok with the API-breakage warning in the README.md.

OK I changed the code for both your comments and pushed again.
Furthermore we are probably going to create a fork that we will update when we have time to fix API-breakage stuff :)

Thanks!


Switch Finish Date and Time To Start Date

Motivation
When creating / updating a workorder, the start date and time of the workorder should be assigned.
Currently, it is assigning the finish date and time to the workorder.
Changes

Switched finishDate and finishTime to startDate and startTime
Added new display fields finishTimestamp.

Reviewed. I tried to experiment with timeformat but I think that proposed one seems to be clear enough to undestand it. It looks like npm has some issues and I cannot publish this version to cluster.

There was problem with formatting for time in edition. I also added missing fields. It should be ok now.


Add benchmarks for deserialization speed

RuntimeSchema and generated schema (for performance comparison)

Benchmark
Mode
Cnt
Score
Error
Units

.baseline
avgt
10
0.933
0.082
ns/op

.generated_deserialize_10_int_field
avgt
10
84.951
5.680
ns/op

.generated_deserialize_1_int_field
avgt
10
20.012
0.839
ns/op

.generated_serialize_10_int_field
avgt
10
54.227
9.258
ns/op

.generated_serialize_1_int_field
avgt
10
12.895
0.084
ns/op

.runtime_deserialize_10_int_field
avgt
10
109.114
1.635
ns/op

.runtime_deserialize_1_int_field
avgt
10
22.567
0.124
ns/op

.runtime_serialize_10_int_fields
avgt
10
108.232
0.919
ns/op

.runtime_serialize_1_int_field
avgt
10
16.039
0.097
ns/op

These numbers are needed before we start working on https://github.com/protostuff/protostuff/issues/98 - when we improve performance for some specific cases, we want to know about general performance degradation.

Nice.  Perf regressions should be easier to notice.


GetResolver fails to generate properly with Kotlin nullable -> java boxed types

Hi everyone! This is my data class for a StorIO table with 5 columns using Kotlin
@StorIOSQLiteType(table = AttachmentTable.TABLE)
data class Attachment @StorIOSQLiteCreator constructor(
        @get:StorIOSQLiteColumn(name = AttachmentTable.COLUMN_MESSAGE_ID) val messageId: String,
        @get:StorIOSQLiteColumn(name = AttachmentTable.COLUMN_URL) val url: String,
        @get:StorIOSQLiteColumn(name = AttachmentTable.COLUMN_THUMBNAIL_URL) val thumbnailUrl: String,
        @get:StorIOSQLiteColumn(name = AttachmentTable.COLUMN_ID, key = true) var id: Long? = null,
        @get:StorIOSQLiteColumn(name = AttachmentTable.COLUMN_BYTES) var bytes: Long? = null)

And this is the generated AttachmentStorIOSQLiteGetResolver
    @Override
    @NonNull
    public Attachment mapFromCursor(@NonNull Cursor cursor) {

        String messageId = cursor.getString(cursor.getColumnIndex("messageId"));
        String url = cursor.getString(cursor.getColumnIndex("url"));
        String thumbnailUrl = cursor.getString(cursor.getColumnIndex("thumbnailUrl"));
        Longid= null;
        if(!cursor.isNull(cursor.getColumnIndex("_id"))) {
            id = cursor.getLong(cursor.getColumnIndex("_id"));
        }
        Longbytes= null;
        if(!cursor.isNull(cursor.getColumnIndex("bytes"))) {
            bytes = cursor.getLong(cursor.getColumnIndex("bytes"));
        }

        Attachment object = new Attachment(messageId, url, thumbnailUrl, id, bytes);

        return object;
    }

As you can see, everything appears correct except there is a space missing between the type (Long) and the variable name (id, bytes) causing a compilation error. Should be an easy fix?
More examples of types (Kotlin -> Java Generated)

Okay
** Long -> long
** String -> String

Broken
** Long? -> Long
** Int? -> Integer

Thanks for reporting the issue! I'll look into it soon.

Seems possible to handle via Kotlin reflection library (or something
similar), they write most of meta info as protobuffed base64 strings into
annotations (if I remember correctly).
On Fri, Jan 6, 2017, 17:06 Ilya Zorin<EMAIL_ADDRESS>wrote:

Thanks for reporting the issue! I'll look into it soon.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pushtorefresh/storio/issues/749#issuecomment-270909390,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA7B3CloFJvkUfSBrmlZKsFPtHxwqy-6ks5rPkp7gaJpZM4LcDbv
.

The problem was just in missing space for boxed types in Kotlin/AutoValue case. Now it's fixed and fix will be available in the next version.

@geralt-encore thanks!!

I'm running into this issue too but not using Kotlin for my project.

@michaelcarrano are you using AutoValue by any chance for you model?

@geralt-encore I am, and having issue with the Long type. The generated code is Longid like this issue.

Then it's is the same problem and it has already been fixed in master branch.

@geralt-encore it took me a while debugging my app yesterday to figure out this was the issue I was running into. This ticket mentions Kotlin so wanted to make sure the issue would also be resolved for Java.
My app uses StorIO, Autovalue, Dagger, ButterKnife which all use processors. So kept getting led down the wrong path of where my actual issue was. I didn't know it was the StorIO Class getting generated incorrectly since Dagger kept complaining to me. So thought I had an issue with my Dagger implementation.
Thanks for fixing the issue, looking forward to a new release with the fix.

@geralt-encore if you want a new release, just discuss it with @nikitin-da, open (you or @nikitin-da) a PR with changelog and I'll publish it to Maven Central with no problems!

Moreover, I'm ok with small frequent releases, say once a week or so!

@michaelcarrano glad that we resolved the issue and sorry for inconvenience since it has been introduced because of my mistake.
@artem-zinnatullin great! I've already created a PR for release https://github.com/pushtorefresh/storio/pull/756

@bluebery @michaelcarrano please, verify that the issue was solved when 1.12.2 version will be available.

v1.12.2 should be available already!

@geralt-encore just had a chance to try out 1.12.2 and my issue is resolved. Thanks!

Great! Closing then.

Hey thanks for fixing this @geralt-encore I'll give it a go as soon as I can!!


[Bug] FE stat table does not exist, db_name: __internal_schema, table_name: column_statistics

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
3.0.2
What's Wrong?

What You Expected?
Why doesn't the FE I just created have a built-in table
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

相同的问题

did you upgrade your Doris to version 3.0.2?

did you upgrade your Doris to version 3.0.2?

no,I directly built version 3.0.2

This problem will only occur in the decoupled  cluster, and the coupled  cluster will not have this error.

The same issue in 3.0.3 version.
Use this apache-doris-3.0.3-bin-arm64.tar.gz package.


fix: i18next peerDependencies and sourcemaps

Based on this message:
https://tolgeecommunity.slack.com/archives/C03A0RQR62H/p1677098476649829


Check links on PR; fix links

Signed-off-by: chipzoller<EMAIL_ADDRESS>Related issue

Proposed Changes

Implements the link checker on PR with failing behavior and fixes found links.
Checklist

[x] I have read the contributing guidelines.
[x] I have inspected the website preview for accuracy.
[x] I have signed off my issue.

I'm not sure if there's a way to configure the --base parameter correctly based on all the link styles we have.

In this latest failure, the links will work once the production branch gets switched over.
We seem to face a problem here when it comes to reliably testing for broken links of intra-site links. We specify relative links in these Markdown files in a couple of ways:

relative HTML path (based on the base URL), ex. /docs/writing-policies/exceptions. This is only relative when rendered. The file system path is /docs/Writing Policies/exceptions.md
images with an implicit search beginning at /static
"wrong"(?) relative path from now-automated CLI reference docs, ex., ../kyverno where the file is not one level up but on the same. Somehow this gets rendered properly.

For now, the link checker is rendering the site using Hugo and then checking the rendered files and not the raw source files. This seems to be the most reliable out of all tested configurations, but the problem it causes any new intra-site links that are not also present on the "live" version of https://kyverno.io it will say fail since the changes in the PR obviously do not exist on the prod site yet. Really not sure how to handle this as of yet. I think we can at least get this PR in but leave this link checker in a "soft" state (not required to merge a PR) until we find a better solution. I'm just hoping the solution doesn't involve walking across the site and changing ALL links to a supported format along with changing the directory structure.

The tip was the kicker!
We still have a challenge in that we can't catch links with anchors which have changed where the parent page still exists.


Is ubuntu 18.04 not supported?

CFLAGS=-std=c++2a in the library's makefile.

Photino.NET: "Photino.Blazor App".SendWebMessage(__bwv:["BeginInvokeJS",2,"Blazor._internal.attachWebRendererInterop","[0,{\u0022__dotNetObject\u0022:1},{},{}]",3,0])
/home/auser/RiderProjects/MyApp/MyApp/bin/Debug/net6.0/MyApp: symbol lookup error: /home/auser/RiderProjects/MyApp/MyApp/bin/Debug/net6.0/runtimes/linux-x64/native/Photino.Native.so: undefined symbol: _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev

The error disappeared when I changed CFLAGS=-std=c++2a to CFLAGS=-std=c++17

It appears Ubuntu 18.04 requires the older C++ compiler? Good to know for those running 18.04. Thank you.


Add response methods that support for responseToError functions

Summary
This PR adds response methods to RestKit that accept a responseToError function parameter, in place of the dataToError function parameter.  The existing methods with the dataToError function parameter have been retained for compatibility but reimplemented using the new (more general) methods.
The purpose for this change is to allow SDKs to use information from both the response and data objects to identify and describe errors reported by the service. For example, the ErrorResponse (data) for the Conversation service does not contain the HTTP status code, so the Conversation service can now use the responseToError function to extract the HTTP status code from the response for the Error object.
Other Information

Hi Mike! Sorry it's taken a few days to get to this!
I was taking a look at your PR, and just had a question before we merged it :)
Are you envisioning that, with your changes, we would update the dataToError() function that we currently use within each of the services? I'm trying to understand what we could potentially update in our services, if your fix were added.
Are you thinking that instead of the current dataToError() functions, like this:
private func dataToError(data: Data) -> NSError? {
        do {
            let json = try JSON(data: data)
            let error = try json.getString(at: "error")
            let code = (try? json.getInt(at: "code")) ?? 400
            let userInfo = [NSLocalizedFailureReasonErrorKey: error]
            return NSError(domain: domain, code: code, userInfo: userInfo)
        } catch {
            return nil
        }
    }

we could instead do something like this?
private func dataToError(response: HTTPURLResponse?, data: Data?) -> Error? {
    // grab the error code from the HTTPURLResponse object
    let code = response?.statusCode
    // use that code to build the error object
    ...
}

The idea is to make this completely backward compatible.  So all the current services that use a dataToError function will continue to function properly.  The services that want / need the more full-featured responseToError can just switch to doing that.
I've hand-coded the change to conversation to use the new responseToError functionality.  You can see the changes in this commit.

Ahh okay! I think your code looks great, I just wanted to make sure I understood it properly before merging it in. :) I'll go ahead and merge it in now!!!


[2] Circular

@gf712  I was pondering on why do we allow the users to specify the Distance Class? The formula is very clear with the distance metric to use. Besides, the distance metric being shift invariant is the very foundation on which I'm moving these classes inside SIV. I've taken the liberty to initialize the appropriate distance class by default inside the ctor. If you have differing opinion, lemme know :) #5151

@gf712 I was pondering on why do we allow the users to specify the Distance Class? The formula is very clear with the distance metric to use. Besides, the distance metric being shift invariant is the very foundation on which I'm moving these classes inside SIV. I've taken the liberty to initialize the appropriate distance class by default inside the ctor. If you have differing opinion, lemme know :) #5151

Oh I guess this is why you changed it in the other PR? I think @karlnapf might be better suited to answer this question?

@gf712 I was pondering on why do we allow the users to specify the Distance Class? The formula is very clear with the distance metric to use. Besides, the distance metric being shift invariant is the very foundation on which I'm moving these classes inside SIV. I've taken the liberty to initialize the appropriate distance class by default inside the ctor. If you have differing opinion, lemme know :) #5151

Oh I guess this is why you changed it in the other PR? I think @karlnapf might be better suited to answer this question?

Re-open when the devs are back.


Improve Zip hashing

handle all well-known zip extensions like .zip, .jar, .war, .ear
handles nested zips instead of treating them as blobs
uses the faster ZipFile API when possible

I've added some randomly generated resources to our performance test projects. These should show the improvement in zip entry filtering that using ZipFile over ZipInputStream provides. I'll run the performance tests to validate.

Unfortunately, the smallish resources I added are not enough to show the difference. The customer build that we noticed this in had several hundred megabytes of resource files. It might be too costly on our performance tests to reproduce this.

I've made the SortedSet adjustment, so we don't create unnecessary unsorted lists along the way. I also simplified the RelativePathFactory a little. Overall this made the code simpler, so it doesn't even matter much if it really improves performance.

As discussed with @paplorinc I am actually against using TreeSet in most cases, as it uses a linked structure, and results in lots of tiny allocations. We don't need the "always sorted" property that TreeSet provides in return, so I think sorting in the end is the best we can do.

Fair enough.

FTR, the changes here take us a big step closer to https://github.com/gradle/gradle/issues/9128. \o/

@oehme do you know when you'll have time to take a look at the empty zip case?

I'm gonna finish this PR today

@lptr Tests added and CI is green, please have another look

Some potential ZIP file formats we could support:
Java
I think we should also support .rar
Android

.apk and .aar

OpenDocument Format

.odt and .fodt for word processing (text) documents
.ods and .fods for spreadsheets
.odp and .fodp for presentations
.odg and .fodg for graphics
.odf for formulae, mathematical equations

Microsoft's Office Open XML file formats
See https://en.wikipedia.org/wiki/Office_Open_XML_file_formats
An alternative to all of this would be to try to process any file beginning with PK as a ZIP. This approach could easily be extended to support other archive formats.

I've left out the document formats as I don't expect them to commonly show up on java classpaths.
I also tried doing #9474, but that only works for top-level files. You can't "read ahead" inside a zip file to see if an entry is another zip file, because the returned input stream does not support mark/reset.

Are we acknowledging the risks here? We don't know for certain that a JAR inside a JAR should be fingerprinted in the same manner as the enclosing JAR. It's probably going to be right most of the time, but we are assuming here.

I see a very small, theoretical risk. I haven't seen a practical example yet. For compile classpath snapshotting we could go even further and completely ignore nested jars, since the compiler will never use them. For runtime classpath snapshotting all this does is ignoring the zip metadata and files filtered using the normalization DSL. While you could certainly construct a program whose output depends on the metadata of a nested zip on the classpath, I find that unlikely. After all, we ignore the metadata of top level jars as well.

For compile classpath snapshotting we could go even further and completely ignore nested jars, since the compiler will never use them.

That's an orthogonal issue.

we ignore the metadata of top level jars as well

Which is safer because we have stronger signal from the user on what those files will be used for. We have no such signal from users on embedded jars, we are just assuming.
I'm not against the change, I just wanted to ensure we are accepting the risk and not ignoring it.


deConz GET /config command returns error

I have setup a new clean Homebridge installation with a Raspberry Pi and the Homebridge Raspberry Image.
I also switched from the Homebridge/Hue to Hombridge/Deconz plugin, wich all works fine.
Only thing is, that deConz sends all couple of minutes a GET /config command, which fails.
[21/09/2023, 16:13:14] [deCONZ] JoesConbee2: request 342: GET /config
[21/09/2023, 16:13:14] [deCONZ] JoesConbee2: warning: request 342: connect ENETUNREACH <IP_ADDRESS>:4530 - Local (<IP_ADDRESS>:0)
I reinstalled the Homebridge/Deconz plugin, to ensure it gets the correct API key from deConz, but this didn't solve the problem.
Can anybody help? Thx

Looks like Homebridge deCONZ found another deCONZ instance and is trying to connect to that.
What's you config.json?  Did you specify hosts or are you discovering deCONZ gateways automatically?  In the latter case: what's the output of deconz discover?
What's the output of ui get /gateways?

I don't know, if I have two instances running.
I have specified the URL in the Hombridge Deconz Menu and it also shows in my config:
{
"name": "deCONZ",
"hosts": [
"<IP_ADDRESS>:4530"
],
"platform": "deCONZ",
"_bridge": {
"username": "0E:D4:B0:ED:DC:E5",
"port": 32955
}
URL and port are correct, since I get to the Phoscon app, if I access it via browser. There I can connect to my Conbee II stick and everything works. Only funny thing is, that I cannot access Phoscon App via the browser from my phone (which previously worked, when I had everything setup via Synology NAS and Docker).
Both of the mentioned commands result in an error in terminal:
JoeAdmin@JoesPi:~ $ deconz discover
-bash: deconz: command not found
JoeAdmin@JoesPi:~ $ ui get/gateways
-bash: ui: command not found
Do I need to install something to be able to use them?
Thx
Do I need to install s

So Homebridge deCONZ cannot reach the deCONZ gateway, and apparently, neither can your phone.  This is an issue with you network setup.  I don't know how it's possible that "all works fine" in this case; changes in HomeKit would not be forwarded to deCONZ, and changes from Phoscon would not be reflected in HomeKit.
The commands are included with Homebridge deCONZ.  During a regular install, rpm should create links to the bin directory associated with the install.  For global installs, that's /usr/local/bin or /usr/bin (depending on how NodeJS was installed); for local installs, it's the .bin directory in the install directory.  They should work from the Homebridge UI terminal, otherwise you might need to adjust $PATH.  And when Homebridge is installed in a container, obviously, the commands wouldn't be available to the host system.

Thank you for your advice.
Sorry, I now tried the commands from the Homebridge UI Terminal and get a result for discover, but still not for ui.
JoeAdmin@JoesPi:/var/lib/homebridge $ deconz discover
{
"<IP_ADDRESS>:4530": {
"apiversion": "1.16.0",
"bridgeid": "00212EFFFF05B3A3",
"datastoreversion": "93",
"devicename": "ConBee II",
"factorynew": false,
"mac": "d8:3a:dd:2a:e4:63",
"modelid": "deCONZ",
"name": "JoesConbee2",
"replacesbridgeid": null,
"starterkitid": "",
"swversion": "2.23.1"
}
}
JoeAdmin@JoesPi:/var/lib/homebridge $ ui get/gateways
ui: error: get/gateways: unknown command
I have tested my setup in detail and the situation looks as follows:
Phoscon:

Works via laptop: I can connect to the gatway, switch on and off lights and use dimmer
Does not work via phone: I see the phoscon logo, but the gateway does not show up, so I cannot connect

Homebridge via UI:

Works via laptop & phone: I can connect, switch on and off lights and use dimmer

Homekit App:

Very laggy and unreliable via laptop & phone: Shows "updating" for a 10-15 seconds, but eventually shows correct status of my accessories. Once connected, I can switch on and off lights and scenes work. Dimmer does work very laggy and drops accessories only to reconnect after a while.

Here is how I setup my system:

I have installed the homebridge raspberry image on my raspberry Pi 4
Then I installed Deconz & homebridge & VNC via the raspberry Homebridge menu
Then I restored the accessoires connections the Phoscon App from my backup
Then I installed Homebridge Deconz in Homebridge
I also installed your Homebridge Hue Plugin but de-installed it again to avoid conflicts
In Homebridge Settings i set Network interfaces to the Phoscon URL and selected Avahi as mDNS advertiser
I also updated Node and the Conbee II stick (Node v18.18.0, Conbee II v 2.23.01 with firmware 26780700)
My wifi spreads across three floors with one AP per floor using all the same SSIDs.

Do you have any idea, what I did wrong? Thank you!

JoeAdmin@JoesPi:/var/lib/homebridge $ ui get/gateways
ui: error: get/gateways: unknown command

There should be a space in between get and /gateways.

Does not work via phone: I see the phoscon logo, but the gateway does not show up, so I cannot connect

This has nothing to do with Homebridge deCONZ, but suggests an issue with your network.  I suspect the multicast used by UPnP doesn't reach the phone.

Works via laptop & phone: I can connect, switch on and off lights and use dimmer

So Homebridge deCONZ is working.

Very laggy and unreliable via laptop & phone: Shows "updating" for a 10-15 seconds, but eventually shows correct status of my accessories.

I've had that on my large production home; the upgrade to iOS 17 and familiy seems to have improved that a lot.
Could also be multicast used by mDNS for HomeKit to discover accessories (and the Home hub) not reaching the phone.
Closing this issue, as it's not a Homebridge deCONZ issue.
Some pointers:

Are you sure your Phone is on the same subnet as the Pi and laptop?
Try disabling / re-enabling Wifi on your phone;
If you have multiple access points, make sure to disable IGMP snooping on your routers, access points, and switches.

Sorry for interrupting but there is a bug in deCONZ/Phoscon. It does not work on the iPhone at the moment, see https://forum.phoscon.de/t/phoscon-de-pwa-login-html-does-not-work-anymore/3967/14 - so I guess there is no problem with your phone at this point.

Thank you for your help ebaauw and thx to jan666 for the hint with the deConz/Phoscon bug.


Ignore MODIFIED events for directories on Windows

If a file or directory is created in a directory, then on Windows the file watcher will report a CREATED event for the new file/directory and a MODIFIED event for the existing directory.
That causes too many things to be invalidated on Windows, since creating or removing a new directory in the build dir will cause all the outputs to be removed from the VFS. The best thing would probably be to ignore MODIFIED events for directories, either on the native-platform side or the Gradle side. I wonder if we could somehow obtain the information that the changed location is a directory when we receive the change event.

cc: @gradle/build-cache

I tried out if I still get MODIFIED events for directories. I pulled latest master on windows35, installed the test-app and then ran
\build\install\native-platform-test\bin\native-platform-test.bat --watch watched

Then I opened a different ssh connection to windows35, started bash, and then started to create files in the watched/hello directory:
echo some > test5.txt
When doing so, I see this log from the test app:
Change detected: CREATED / 'C:\Users\vmadmin\wolf\native-platform\test-app\watched\hello\test5.txt'
Change detected: MODIFIED / 'C:\Users\vmadmin\wolf\native-platform\test-app\watched\hello\test5.txt'
Change detected: MODIFIED / 'C:\Users\vmadmin\wolf\native-platform\test-app\watched\hello'

It seems like the MODIFIED events for the directory arrive

some times when using cmd,
always when using cywgin bash,
and never when using powershell

We should ignore MODIFIED events for directories on the Gradle side, since this is where we know whether something is a directory or not. For the Windows file watching, the events don't tell us about the file type.
Moreover, we should try to reproduce the MODIFIED events for directories in a native platform test. It seems like the events come in when we create a subdirectory of the project directory when running a Gradle build.

Actually, when using cmd I could reproduce the event when exiting cmd itself. The same could be true for PowerShell.

There's a new Windows API: ReadDirectoryChangesExW. This gives more details about each event, including the attributes of the entry in question:
typedef struct _FILE_NOTIFY_EXTENDED_INFORMATION {
  DWORD         NextEntryOffset;
  DWORD         Action;
  LARGE_INTEGER CreationTime;
  LARGE_INTEGER LastModificationTime;
  LARGE_INTEGER LastChangeTime;
  LARGE_INTEGER LastAccessTime;
  LARGE_INTEGER AllocatedLength;
  LARGE_INTEGER FileSize;
  DWORD         FileAttributes;
  DWORD         ReparsePointTag;
  LARGE_INTEGER FileId;
  LARGE_INTEGER ParentFileId;
  DWORD         FileNameLength;
  WCHAR         FileName[1];
} FILE_NOTIFY_EXTENDED_INFORMATION, *PFILE_NOTIFY_EXTENDED_INFORMATION;

https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-readdirectorychangesexw
The FileAttributes filed can be checked against FILE_ATTRIBUTE_DIRECTORY to tell if this thing in question is a directory.
The API is supported since Windows 10, version 1709 (September 26, 2017), so it's likely to be available to most of our Windows users.
I guess if we switched to this API, older Windows version would simply refuse to load our DLL because of the missing symbol, and thus file system watching would be disabled.
If we wanted to keep the current implementation using the universally available ReadDirectoryChangesW API, then we'd have to have two variants of the DLL probably. Not sure how we'd be loading that.
Using the new API it might not even be necessary to filter MODIFIED events, assuming the underlying issue has been addressed.

According to Wikipedia there are only two LTSC versions of Windows 10 still supported out there by Microsoft that don't include this API, while the most recent LTSC version does include it:

I think it sounds reasonable to drop FSW support for the previous LTSC versions.


Unexpected bokeh interactive legend behavior with Geodataframe.hvplot.polygons()

Is your feature request related to a problem? Please describe.
the legend=True keyword for hvplot.polygons() creates an interactive bokeh legend only when coupled with geoviews tiles. I expect this legend to be interactive without composing with a geoviews object.
Describe the solution you'd like
It would be excellent if hvplot.polygons() also worked with a row of polygons such that each column gets a selectable legend entry.
Describe alternatives you've considered
I've noted a workaround in the gist linked below, but it's a bit ugly (creating a list of separate geodataframes with a single geometry each and using hv.NdOverlay). The relevant cell being:
# Workaround for now - see "interactive legends" http://holoviews.org/user_guide/Plotting_with_Bokeh.html
gdfs = continents.apply(lambda x: gpd.GeoDataFrame(x).T, axis=1)
overlays = hv.NdOverlay({gdfs[i].index[0]: gdfs[i].hvplot(geo=True) for i in range(len(gdfs))})

Additional context
The following notebook illustrates the current legend behavior and workaround:
https://nbviewer.jupyter.org/gist/scottyhq/4ca5f96592fcde4eafa7451cd37cb305

I can reproduce.

It seems like what you want is to use by:
continents.hvplot(geo=True, by="continent")

This is failing on main, but works on my branch for #1055


Update 01-postgresql.mdx

I mostly copied the style from the getting started section, use npx prisma init.

Pardon the delay and thank you so much for cleaning up this page! 💚


Using str_plural() instead of appending s

This should solve issues with resources such as "category" (which is currently expanded to "categorys") in CRUD Controller's setUp() method built from stub.

Definitely! Thank you, merged.


Merge aarch64-darwin into nixpkgs channels

Looking at https://hydra.nixos.org/jobset/nixpkgs/nixpkgs-unstable-aarch64-darwin, it seems to have similar ratio of failure compared to https://hydra.nixos.org/jobset/nixpkgs/nixpkgs-21.11-darwin
I'd suggest we merge it into https://hydra.nixos.org/jobset/nixpkgs/nixpkgs-22.XX-darwin and https://hydra.nixos.org/jobset/nixpkgs/trunk
I'm not sure what's the criteria and we can make a transition period to see if the resources on hydra is sufficient to preform the evaluation.
The benefit is that the users have to worry only about 2 instead of 4 channels to track successfully built binaries.

I don't see a specific aarch64-darwin jobset in https://hydra.nixos.org/project/nixpkgs, so this must have been done at some point. Right?


event_patternfit plugin compatiblilty for XENON1T

For consistency and validation, it would be nice if the event_patternfit would also work in the 1T context. Since we don't have the maps, or the maps are incompatible with the plugin, we are currently not using the work there.

closing due to inactivity


Tables not found in selected database while running npm run entity

$ npm run entity                                                                  15:08:59

><EMAIL_ADDRESS>entity ~/node-nestjs-structure
> node bin/entity

✔ Please enter a database name. … dbname1
✔ Choose whether to proceed with the build. … yes
<EMAIL_ADDRESS>[3:09:58 PM] Starting creation of model classes.
Tables not found in selected database. Skipping creation of typeorm model.
Error occurred in typeorm-model-generator.
<EMAIL_ADDRESS><EMAIL_ADDRESS>If you think this is a bug please open an issue including this log on https://github.com/Kononnable/typeorm-model-generator/issues
[3:09:58 PM] Typeorm model classes created.

This source does not automatically create databases and tables.
The entity folder is a sample file.
Enter the name of the database that created the table yourself.
You can also use TypeORM's synchronize option in development.ts
https://typeorm.io/#/connection-options

synchronize - Indicates if database schema should be auto created on every application launch. Be careful with this option and don't use this in production - otherwise you can lose production data. This option is useful during debug and development. As an alternative to it, you can use CLI and run schema:sync command. Note that for MongoDB database it does not create schema, because MongoDB is schemaless. Instead, it syncs just by creating indices.

Thanks for the reply.
And any clue about this?
$ npm run start:dev

><EMAIL_ADDRESS>start:dev ~/node-nestjs-structure
> nest start --watch
[5:24:08 PM] Starting compilation in watch mode...

src/sample/controllers/sample.controller.ts:7:28 - error TS6305: Output file '~/node-nestjs-structure/dist/entity/dbname1/index.d.ts' has not been built from source file '~/node-nestjs-structure/src/entity/dbname1/index.ts'.

7 import { Tablename1 } from '../../entity/dbname1';
                             ~~~~~~~~~~~~~~~~~~~~~~
...

First you need to build the entity.
npm ci
npm run build:entity
npm run start:dev

https://github.com/CatsMiaow/node-nestjs-structure/commit/fa155587cedbce921297617a06619d77c27c4216 Fixed README. Thank you.


[Issue]: get_grouper raise KeyError(gpr) KeyError: 'name'

Do you need to file an issue?

[x] I have searched the existing issues and this bug is not already filed.
[ ] My model is hosted on OpenAI or Azure. If not, please look at the "model providers" issue and don't file a new one here.
[ ] I believe this is a legitimate bug, not just a question. If this is a question, please use the Discussions area.

Describe the issue
I use LLM Studio as local LLM server on Macbook Air with M2 chip. I ran graphrag index --root ./ragtest many times.
Steps to reproduce

set up LM Studio
run graphrag index --root ./ragtest

GraphRAG Config Used
### This config file contains required core defaults that must be set, along with a handful of common optional settings.
### For a full list of available settings, see https://microsoft.github.io/graphrag/config/yaml/

### LLM settings ###
## There are a number of settings to tune the threading and token limits for LLM calls - check the docs.

encoding_model: cl100k_base # this needs to be matched to your model!

llm:
  api_key: ${GRAPHRAG_API_KEY} # set this in the generated .env file
  type: openai_chat # or azure_openai_chat
  model: meta-llama-3.1-8b-instruct
  model_supports_json: true # recommended if this is available for your model.
  # audience: "https://cognitiveservices.azure.com/.default"
  api_base: http://localhost:1234/v1
  # api_version: 2024-02-15-preview
  # organization: <organization_id>
  # deployment_name: <azure_model_deployment_name>

parallelization:
  stagger: 0.3
  # num_threads: 50

async_mode: threaded # or asyncio

embeddings:
  async_mode: threaded # or asyncio
  vector_store:
    type: lancedb
    db_uri: 'output/lancedb'
    container_name: default
    overwrite: true
  llm:
    api_key: ${GRAPHRAG_API_KEY}
    type: openai_embedding # or azure_openai_embedding
    model: text-embedding-bge-base-en-v1.5
    api_base: http://localhost:1234/v1
    # api_version: 2024-02-15-preview
    # audience: "https://cognitiveservices.azure.com/.default"
    # organization: <organization_id>
    # deployment_name: <azure_model_deployment_name>

### Input settings ###

input:
  type: file # or blob
  file_type: text # or csv
  base_dir: "input"
  file_encoding: utf-8
  file_pattern: ".*\\.txt$"

chunks:
  size: 300
  overlap: 100
  group_by_columns: [id]

### Storage settings ###
## If blob storage is specified in the following four sections,
## connection_string and container_name must be provided

cache:
  type: file # or blob
  base_dir: "cache"

reporting:
  type: file # or console, blob
  base_dir: "logs"

storage:
  type: file # or blob
  base_dir: "output"

## only turn this on if running `graphrag index` with custom settings
## we normally use `graphrag update` with the defaults
update_index_storage:
  # type: file # or blob
  # base_dir: "update_output"

### Workflow settings ###

skip_workflows: []

entity_extraction:
  prompt: "prompts/entity_extraction.txt"
  entity_types: [organization,person,geo,event]
  max_gleanings: 1

summarize_descriptions:
  prompt: "prompts/summarize_descriptions.txt"
  max_length: 500

claim_extraction:
  enabled: false
  prompt: "prompts/claim_extraction.txt"
  description: "Any claims or facts that could be relevant to information discovery."
  max_gleanings: 1

community_reports:
  prompt: "prompts/community_report.txt"
  max_length: 2000
  max_input_length: 8000

cluster_graph:
  max_cluster_size: 10

embed_graph:
  enabled: false # if true, will generate node2vec embeddings for nodes

umap:
  enabled: false # if true, will generate UMAP embeddings for nodes

snapshots:
  graphml: false
  embeddings: false
  transient: false

### Query settings ###
## The prompt locations are required here, but each search method has a number of optional knobs that can be tuned.
## See the config docs: https://microsoft.github.io/graphrag/config/yaml/#query

local_search:
  prompt: "prompts/local_search_system_prompt.txt"

global_search:
  map_prompt: "prompts/global_search_map_system_prompt.txt"
  reduce_prompt: "prompts/global_search_reduce_system_prompt.txt"
  knowledge_prompt: "prompts/global_search_knowledge_system_prompt.txt"

drift_search:
  prompt: "prompts/drift_search_system_prompt.txt"

Logs and screenshots
19:49:38,353 graphrag.callbacks.file_workflow_callbacks INFO Error executing verb "extract_graph" in extract_graph: 'name' details=None 19:49:38,353 graphrag.index.run.run ERROR error running workflow extract_graph Traceback (most recent call last):   File "/opt/anaconda3/envs/graphrag/lib/python3.11/site-packages/graphrag/index/run/run.py", line 262, in run_pipeline     result = await _process_workflow(              ^^^^^^^^^^^^^^^^^^^^^^^^   File "/opt/anaconda3/envs/graphrag/lib/python3.11/site-packages/graphrag/index/run/workflow.py", line 103, in _process_workflow     result = await workflow.run(context, callbacks)              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/opt/anaconda3/envs/graphrag/lib/python3.11/site-packages/datashaper/workflow/workflow.py", line 369, in run     timing = await self._execute_verb(node, context, callbacks)              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/opt/anaconda3/envs/graphrag/lib/python3.11/site-packages/datashaper/workflow/workflow.py", line 415, in _execute_verb     result = await result              ^^^^^^^^^^^^   File "/opt/anaconda3/envs/graphrag/lib/python3.11/site-packages/graphrag/index/workflows/v1/extract_graph.py", line 89, in workflow     base_entity_nodes, base_relationship_edges = await extract_graph(                                                  ^^^^^^^^^^^^^^^^^^^^   File "/opt/anaconda3/envs/graphrag/lib/python3.11/site-packages/graphrag/index/flows/extract_graph.py", line 55, in extract_graph     merged_entities = _merge_entities(entity_dfs)                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/opt/anaconda3/envs/graphrag/lib/python3.11/site-packages/graphrag/index/flows/extract_graph.py", line 101, in _merge_entities     all_entities.groupby(["name", "type"], sort=False)   File "/opt/anaconda3/envs/graphrag/lib/python3.11/site-packages/pandas/core/frame.py", line 9183, in groupby     return DataFrameGroupBy(            ^^^^^^^^^^^^^^^^^   File "/opt/anaconda3/envs/graphrag/lib/python3.11/site-packages/pandas/core/groupby/groupby.py", line 1329, in __init__     grouper, exclusions, obj = get_grouper(                                ^^^^^^^^^^^^   File "/opt/anaconda3/envs/graphrag/lib/python3.11/site-packages/pandas/core/groupby/grouper.py", line 1043, in get_grouper     raise KeyError(gpr) KeyError: 'name'
Additional Information

GraphRAG Version: 1.0.0
Operating System: MacOS
Python Version: 3.11
Related Issues:

how to solve KeyError: 'name' @goodpeter-sun

how to solve KeyError: 'name' @goodpeter-sun

The whole story is I am using local LLM server on my M2 Macbook, so the response time from LLM is too slow which caused the entity extraction produced empty dataframes. So, I increased the timeout threshold, hence this problem is gone. However, I am running into a new problem about create_final_community_reports. I am guessing it might be caused by something similar, but still investigating. Let me know if you are running into the same thing.


correct data format for icons

Expected result:
When years and months are chosen, the values for icons 'UAH already spent on diapers' and 'UAH yet to be spent on diapers' are rounded (one digit after comma).
Actual result:
Values for icons 'UAH already spent on diapers' and 'UAH yet to be spent on diapers' are not rounded (see screenshot).

already rounded and deployed


Qt: Improve minting tab refresh process.

Currently, GUI is returning slow responce if wallet have many UTXOs.
This PR will implove this problem by split refreshing.

Make shorter refresh interval.
Limit the number of UTXOs to process in one cycle.

This change sacrifices somewhat the responsiveness in case of a change in the situation of UTXO. However, even if it takes the longest time, updating will be completed in about 4 seconds.
For many users, it will be better than an uncontrollable time.

I found a bottleneck besides the place I thought. I will change the directionality.


Use pre-commit

Use pre-commit
We agreed to use Black with line width 120. From now on, typos, format, and potential issues are checked by pre-commit hooks:

typos: https://github.com/crate-ci/typos
ruff/ruff-format: https://github.com/astral-sh/ruff-pre-commit
Codecov: overkill

PS: I found Ruff (compatible with Black) to be faster both as a linter and as a formatter.

The Ruff linter is compatible with Black out-of-the-box, as long as the line-length setting is consistent between the two.

pre-commit.ci shall be installed after merging this PR.

This PR includes substantial changes and improvements. Given the current unavailability of the other maintainers, I will proceed with merging it and start the next PR.

PS: Using co-author on the great reformatting commit caused GitHub to triple the addition/deletion count in stats.


[Proposal] cleanKeys option

In addition to cleanValues values option, can be useful to have a cleanKeys option that removes all specified keys.

Love it. Clean and simple. Thank you for the contribution.


chore(master): release 1.9.0

:robot: I have created a release beep boop
1.9.0 (2024-07-23)
Features

role decorator for specifying command access levels (ac17653)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/BingusBoingus-Developer-Team/BingusBoingus/releases/tag/v1.9.0 :sunflower:


Removed redundant 'use strict' since it comes standard with es6

Removed useless "use strict" from tasks and tests, es6 has strict mode enabled by default.
I tested it by declaring a variable globally with no prefix and it behaves as it would in strict mode.

Looks good, thanks!


Spacing between unary prefix operator and operand

Could ktlint be made to favor one of these two conventions for spacing between a unary prefix operator and its operand?
val negation = !predicate
val negation = ! predicate

I've never seen the second styling before... Does anyone actually do that? It seems like that would be mostly correcting typos.

@shashachu Yes. Our team recently a disagreement about which way we should go, but one point of agreement was that if ktlint enforced one or the other, we'd go with that!

Official kotlin style guide says that you shouldn't put spaces around unary operator.
https://kotlinlang.org/docs/reference/coding-conventions.html#horizontal-whitespace

Yes, a new rule that is consistent with the official Kotlin style guide seems reasonable to me...

Agreed. Feel free to open a PR or we'll take a look when we can.

Fixed in PR https://github.com/pinterest/ktlint/pull/428


Attaching to app take long time before working

Recently, I can't use the debugger anymore for Cordova projects. It takes forever to attach to the app. When I write .scripts in the command windows, I saw scripts loading once at each 15-20 sec. or so. The breakpoints are greyed out and after 2 minutes 15 sec. they turn red.
With fresh dummy project (HelloWorld), it takes 8 sec. to load. If I add 16 dummy .js file, it takes 1 min. to load.
Exemple of dummy js file
var _app = (function () {
    var private = "";
    var public1 = function () {
        return '';
    };
    var public2 = function () {
        return '';
    };
    function private() {

    }
    return {
        public1: public1,
        public2: public2
    }
})();

launch.json
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Run android on device",
            "type": "cordova",
            "request": "launch",
            "platform": "android",
            "target": "device",
            "sourceMaps": true,
            "cwd": "${workspaceFolder}"
        }
    ]
}

I don't know if it is a circumstance, but before the last update of VS Code it was working. The last time I've played with this project was in the last month.
I've updated nodejs to last version. I've also tried VS Code 1.44.2 with no success.
Thanks for your help.

VSCode Version:1.45.1 (user)
OS Version: Windows 10

Steps to Reproduce:

Install VS Code
Install Cordova Tools 1.9.4
Create dummy application
Start debuger with breakpoint in index.js

Does this issue occur when all extensions are disabled?: Not supported

Please open this issue on vscode-cordova
/causedByExtension


[Efficient_Metadata_Operations] [DEPENDS_ON PR#2555] Handle purged blobs in store operations.

This PR handles purged blobs for store operations other than purge().

Codecov Report
Patch coverage: 20.45% and project coverage change: -18.69% :warning:

Comparison is base (6622e11) 72.51% compared to head (094da9b) 53.83%.

Additional details and impacted files
@@              Coverage Diff              @@
##             master    #2578       +/-   ##
=============================================
- Coverage     72.51%   53.83%   -18.69%
+ Complexity    11375     7790     -3585
=============================================
  Files           803      803
  Lines         64660    64744       +84
  Branches       7897     7909       +12
=============================================
- Hits          46890    34855    -12035
- Misses        15203    26875    +11672
- Partials       2567     3014      +447

Files Changed
Coverage Δ

.../github/ambry/notification/NotificationSystem.java
0.00% <ø> (ø)

...ain/java/com/github/ambry/protocol/RequestAPI.java
0.00% <ø> (ø)

...ava/com/github/ambry/cloud/AmbryCloudRequests.java
0.00% <0.00%> (ø)

.../main/java/com/github/ambry/cloud/VcrRequests.java
38.46% <0.00%> (-53.21%)
:arrow_down:

...ithub/ambry/commons/LoggingNotificationSystem.java
30.55% <0.00%> (-19.45%)
:arrow_down:

...n/java/com/github/ambry/protocol/PurgeRequest.java
0.00% <0.00%> (ø)

...in/java/com/github/ambry/server/AmbryRequests.java
64.43% <0.00%> (-10.84%)
:arrow_down:

...rc/main/java/com/github/ambry/store/BlobStore.java
82.72% <0.00%> (-2.15%)
:arrow_down:

...n/java/com/github/ambry/store/PersistentIndex.java
90.28% <33.33%> (-0.21%)
:arrow_down:

...n/java/com/github/ambry/store/StoreErrorCodes.java
100.00% <100.00%> (ø)

... and 3 more

... and 422 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


correct Cheatsheet de

https://github.com/kubernetes/website/issues/23445

Thanks for fixing !
/lgtm
/approve


Support Python 3.11 final

While Python 3.11 now ships with tomllib, make sure existing code based on tomli will work for at least a couple upcoming Python releases.

Thanks, merged! :smile_cat:


Eliminate possible broadcaster concurrent map read/write

Description
This changeset waits to start the broadcaster go routines until after the map they read from has been initialized.
It also eliminates a constant map lookup inside a for loop which is unneeded.
Motivation and Context
Under some scenarios, this could cause a concurrent map read/write resulting in a panic and crash.
Fixes #1978
This is the companion PR for #1979.
How Has This Been Tested?
This is a race condition which can be audited by a reviewer.  Adding a test case is not valuable here.
Checklist:

[X] I have added a Signed-off-by.
[X] I have either added documentation to cover my changes or this change requires no new documentation.
[X] I have either added unit tests to cover my changes or this change requires no new tests.
[X] I have run golint and have fixed valid warnings in code I have added or modified. This tool generates false positives so you may choose to ignore some warnings. The goal is clean, consistent, and readable code.

The continuous integration build process will run make checks to confirm that tests pass and that code quality meets minimum standards. You may optionally run this locally as PRs will not be accepted until they pass.
Signed-off-by: Jason Yellick<EMAIL_ADDRESS>

+1 for adding this to the 0.5 branch as it results in a crash when encountered

LGTM


Dunno what I'm doing but this looks right

🤷♂

First off, thanks for the PR!
I added the Vercel deployment above as an additional command endpoint (in a separately configured app instance)

but it still resulted in

I found https://stackoverflow.com/questions/51956124/can-a-slack-bot-get-the-thread-id-that-a-slash-command-was-sent-from previously, and looked through some of the related links but am not sure there's been an update (i.e. whether it should work at all, separately from whether it's configured correctly)
If you can getting a working configuration in another Slack app, I'd be happy to apply the changes required, but otherwise I think that's the missing piece - feel free to use the hosted copy above for testing though 😐

Closing this out given https://api.slack.com/interactivity/slash-commands 😞

Limitations on use
Slash Commands cannot be used in message threads. Consider using app shortcuts for this purpose instead.


focusedView == 'workbench.panel.chat.view.copilot' is true even when panel chat is not visible (fix #198293)

Better fix coming.


Will vvenc support Cutree like x265?

Eventually, yes.
There is also the block importance mapping alg. from VTM, which reuses the results of temporal filtering, so its less heavy. Otherwise it tries to get gain based on the same principles.
We will eventually look into those, but would also appreciate help on this very much.

Cutree is just temporal RDO, and last I checked, VVenC already has support for that.


investigate moving away from model Patch property

the Model acts like a proxy for the underlying Resource.  Each setter calls into the session, which in tern updates the source Model's Patch with depending on what changed.
this falls down when dealing with [Property]s that are ICollection.  When collections are mutated by adding/removing items, the session is not informed because this was not done through a Model setter, thus the Patch is not correct.
an ideal approach would be to get the current state of the object by converting it to a Resource JObject, and then doing a diff against the Resource since the last request to the server.

Argo only tracks the 1st level of properties.  The code/test below would fail because Argo does not track anything in the Address property.  On order to update the properties in Address, a new instance of the Address class would need to be created and set on the Address property so the setter picks up the change.  It's a slightly different issue than the Collections, but would be also fixed with the JObject diff approach.
[Model] public class Person  {     [Id]     public Guid Id { get;set; }     [Property]     public Address Address { get;set; } } public class Address  {     public string Street { get;set; }     public string City { get;set; } }
Guid crossSessionId; using (var session = SessionFactory.CreateSession()) {     var person = new Person     {         Address = new Address          {             Street = "Old Street"         }     };     person = await session.Create(person);     crossSessionId = person.Id; } // update! using (var session = SessionFactory.CreateSession()) {     var person = await session.Get<Person>(crossSessionId);     person.Address.Street = "New Street";     await session.Update(person); } // later that day... using (var session = SessionFactory.CreateSession()) {     var person = await session.Get<Person>(crossSessionId);     // FAILS!!!     Assert.Equal("New Street", person.Address.Street); }


Netty 5

-Work In Progress-

It's not ready yet because I'm not able to understand the new IoHandler and how addresses will be retrieved. Need help.
@franz1981 @normanmaurer

VM crashed while running the Example class.
hs_err_pid14.log

@hyperxpro given that we are now aiming to JDK 11, we can make use of VarHandler to perform actions vs the off-heap data; this should help preventing bad things to happen, like these
On monday I can take a look and send PR to your branch if you wish

@hyperxpro @franz1981 Should we revive this work? I'm also interested in having io_uring for Netty5 and I can try to help. :)

@chrisvest and myself will pick this up...

I plan to start working on this next week 🤞

@hyperxpro I plan to do this in multiple smaller steps, so I'll close this and make new PRs that are a mix of new stuff, and changes pulled from this one.


Lots of Workers but 10% miners

So I have like 100 workers registered over the days but only 10 are mining of them for example.
Did I do something wrong? Are they not Starting up after pc restart?

The computers could be turned off, how long have they been offline for? Since the majority of people turn off (or put into power saving mode or hibernation) when not using their computer.

The computers could be turned off, how long have they been offline for? Since the majority of people turn off (or put into power saving mode or hibernation) when not using their computer.

Im not sure since im not using a web panel but on my pool 6 to 24 hours but the inactive miners dont disappear from my pool

On some pools you can click each worker to see when they have been mining, so you can check like that. But if the workers aren't disappearing then that's usually good since it means they have mined within the worker removal interval for that pool.

On some pools you can click each worker to see when they have been mining, so you can check like that. But if the workers aren't disappearing then that's usually good since it means they have mined within the worker removal interval for that pool.

This is how my Pool shows it do you think anything is wrong? Do you have miners yourself with similar last seen / mined.

Those offline times don't tell very much yet, it's usually after about 2 days of being offline when one can consider a miner to likely be gone. It mostly depends on what kind of users you have, some people use their computers quite a lot while some only occasionally.

Those offline times don't tell very much yet, it's usually after about 2 days of being offline when one can consider a miner to likely be gone. It mostly depends on what kind of users you have, some people use their computers quite a lot while some only occasionally.

Afk and Gaming type users
I also dont see any miner that has gone over the 23 hour inactive in my pool maybe raptoreum pool does not show more than a day?

It's possible, not sure since I haven't used any Raptoreum pool before. And you had "Startup" enabled when building the miner?

It's possible, not sure since I haven't used any Raptoreum pool before. And you had "Startup" enabled when building the miner?

Yeah I enabled Startup and the Watchdog, Windows Updates disabled, Run as Administrator enabled, Add to Windows Defender exclusion enabled.

Alright then that's good.

Alright then that's good.

Alright thanks alot and good luck to you with your projects


S3+Git CC Fraud test suite

Signed-off-by: Luca Giorgi<EMAIL_ADDRESS>

:+1:

https://opendatascience-jenkins-csb-rhods.apps.ocp4.prod.psi.redhat.com/job/rhods-ci-pr-test/60

https://opendatascience-jenkins-csb-rhods.apps.ocp4.prod.psi.redhat.com/job/rhods-ci-pr-test/65/console
ran on modh-qe-4 as modh-qe-1 is having issues with spawning servers right now. I can see only expected failures and S3 worked fine.
See https://opendatascience-jenkins-csb-rhods.apps.ocp4.prod.psi.redhat.com/job/rhods-ci-pr-test/65/artifact/ods-ci/test-output/ods-ci-2021-06-30-13-23-VS3ugKVt0Q/selenium-screenshot-126.png for the zip being downloaded from the bucket
@vasukulkarni @LaVLaS


Weird output of ImageTransformationCalculator for certain output_width and output_height

Graph for resizing image to 540x540

input_stream: "input_video"
output_stream: "output_video"
node {
  calculator: "FlowLimiterCalculator"
  input_stream: "input_video"
  input_stream: "FINISHED:output_video"
  input_stream_info: {
    tag_index: "FINISHED"
    back_edge: true
  }
  output_stream: "throttled_input_video"
}
node: {
  calculator: "GpuBufferToImageFrameCalculator"
  input_stream: "throttled_input_video"
  output_stream: "input_video_cpu"
}
node: {
  calculator: "ImageTransformationCalculator"
  input_stream: "IMAGE:input_video_cpu"
  output_stream: "IMAGE:transformed_input_video_cpu"
  output_stream: "LETTERBOX_PADDING:letterbox_padding"
  node_options: {
    [type.googleapis.com/mediapipe.ImageTransformationCalculatorOptions] {
      output_width: 540
      output_height: 540
      scale_mode: STRETCH
    }
  }
}
node: {
  calculator: "ImageFrameToGpuBufferCalculator"
  input_stream: "transformed_input_video_cpu"
  output_stream: "output_video"
}

Output

Graph for resizing image to 541x541

input_stream: "input_video"
output_stream: "output_video"
node {
  calculator: "FlowLimiterCalculator"
  input_stream: "input_video"
  input_stream: "FINISHED:output_video"
  input_stream_info: {
    tag_index: "FINISHED"
    back_edge: true
  }
  output_stream: "throttled_input_video"
}
node: {
  calculator: "GpuBufferToImageFrameCalculator"
  input_stream: "throttled_input_video"
  output_stream: "input_video_cpu"
}
node: {
  calculator: "ImageTransformationCalculator"
  input_stream: "IMAGE:input_video_cpu"
  output_stream: "IMAGE:transformed_input_video_cpu"
  output_stream: "LETTERBOX_PADDING:letterbox_padding"
  node_options: {
    [type.googleapis.com/mediapipe.ImageTransformationCalculatorOptions] {
      output_width: 541
      output_height: 541
      scale_mode: STRETCH
    }
  }
}
node: {
  calculator: "ImageFrameToGpuBufferCalculator"
  input_stream: "transformed_input_video_cpu"
  output_stream: "output_video"
}

Output

I do not change anything from MediaPipe. The code is freshly pulled from Github. I printed out the input size and it is 1080x1080 (should different for different phone). When resizing to 540x540, the output looks normal. But when resizing to 541x541, the output is ridiculous!

I have done more experiments and this phenomenon only occurs when resizing is done on CPU. It is fine when resizing is done on GPU.

Hi, I've encountered similar issue on device with Android 9.0. I've spent quite a lot of time debugging, because my graph worked fine on Android 8, but broke after update.
The issue is also with ImageTransformationCalculator, I'm using the same settings as you, but run it on GPU. Haven't found out yet which input sizes trigger the problem, will update later.
Just wanted to let maintainters know that the issue exists.

I think this is an image padding (/alignment) issue, causing a stride problem in the data.  For now, I would assume sizes where the width is a multiple of 4 should be fine (and occasionally, in rare circumstances, the width being a multiple of 16 may be helpful).

Same problem in my iphone while android is fine.In my case,the output_width/output_height aspect ratio must be 1:1, or broke.I have used the GPU

Assuming the above issue resolved using this comment. We are closing this issue now.


Add ppc64le support

Where can I check what cause the check fail?

Where can I check what cause the check fail?

@cs-zhang the code looks good to me.. I don't know why the commit shows this " yussufsh authored and cs-zhang committed 4 days ago"
May be something wrong when you rebased with the latest changes ?
@yussufsh any ideas ?

@cs-zhang the code looks good to me.. I don't know why the commit shows this " yussufsh authored and cs-zhang committed 4 days ago"
May be something wrong when you rebased with the latest changes ?
@yussufsh any ideas ?

I should not squash all commits to one, that caused the version problem.

The problem was that did not have the latest code at the time of commit. Anyways the code now look good and will on Power platform.
Thanks for your contribution.

I should not squash all commits to one, that caused the version problem.

The problem was that did not have the latest code at the time of commit. Anyways the code now look good and will on Power platform.
Thanks for your contribution.


Can member type/file associations be configured?

Hi,
Is it possible to configure the source member type/file associations?
We use a number of non-standard member types (e.g. SQLRPM = SQLRPGLE compiling to a module) so being able to configure which member types/file extensions are parsed by which configuration would be useful.
Thank you

If you click the file type at the bottom right, then "Configure File Association for '.sqlrpm'...", you can configure what syntax highlighter VS Code will use.

Thank you - that works well for me as a single user. Is there a way I can preconfigure that for all users on a machine? (We deliver VS Code via Citrix)

If you press CTRL+SHIFT+P and type "Preferences: Open User Settings (JSON)" you can find the user-level configuration.
This can also be found at C:\Users\$YOUR_USER\AppData\Roaming\Code\User\settings.json.
This JSON has the key fileAssociations for the syntax highlighting mappings.
Otherwise, you can configure it on a workspace-level by adding fileAssociations manually to a workspace
in .vscode/settings.json. This file may not exist and might have to be manually created.
But, it sounds like if you're trying to automate for multiple users, the first option sounds more appealing.
It would be worth checking out https://code.visualstudio.com/docs/getstarted/settings as well for additional info.

Thank you - it looks like we'll be able to use an extension like Fetch User Environment to set these values for all users.. Thank you again for your help.


feat!: Matches required query parameters

Code now Parses and MatchAndExpandPlaceholders for query parameters as well as paths. I ended up implementing #20 without waiting for a discussion on the issue, for which I apologise! I'll be happy to rewrite without a review if there are concerns with the proposal.
Placeholders are shared between the two.
/things type=photos /photos.html 200
/things type=       /invalid-thing-type.html 400
/things type=:thing /thing-:thing.html 200
/things             /things.html 200

This is a breaking change for the package's API (though not for the _redirects file format), as the query params need to be passed into MatchAndExpandPlaceholders. I'll be un-drafting ipfs/boxo#406 (which adapts syntax to include this work), once (if!) this PR is merged, so go.mod/go.sum can be corrected.
This commit also codifies in tests some of the previously implicit edge cases, particularly around duplicate placeholders.
Closes #20

If you build a copy of ipfs with this in (via ipfs/boxo#406) then you can visit this CID locally and see this in action.

(turning to a draft until we have an IPIP mentioned in https://github.com/ipfs/go-ipfs-redirects-file/issues/20)


NameError: name 'Datastore' is not defined

Currently trying the code provided in this docs step by step, and I noticed whenever I would executed the method 'Datastore.get', I'm getting an issue that 'Datastore' is not defined.
I fixed this by importing Datastore within azureml.core with this:
import azureml.core from azureml.core import Workspace, Datastore

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: cd91721f-4a86-30cb-5e37-147c7319f0e6
Version Independent ID: 98499c4f-ad83-81a4-e5db-af6415f79a98
Content: Access data in datastores for training - Azure Machine Learning service
Content Source: articles/machine-learning/service/how-to-access-data.md
Service: machine-learning
GitHub Login: @mx-iao
Microsoft Alias: minxia

@YutongTie-MSFT - #please-assign to @nibaccam

@prtdomingo
@YutongTie-MSFT
The PR referenced above fixes this issue. The doc update will go live in a few hours. If satisfied, #please-close.


TaskService is null

I need to search task on Camunda via Rest API but TaskService instance is not automatically injected in my Spring Context. It is always null.
How can I retrieve an istance of TaskService in ordeer to search tasks on camunda?
private RuntimeService runtimeService; //is ok
private TaskService taskService; //is null

public CamundaClient(@Qualifier("remote") RuntimeService runtimeService, @Qualifier("remote") TaskService taskService) {
	this.runtimeService = runtimeService;
	this.taskService = taskService;
}

`
Could you please help me to understand?
Thanks

Hi Luca,
You are doing it correctly, but for now the task service is not yet implemented. So you hit a missing Feature... If you are interesting in it, please provide the following information:

what is your primary usage for this?
what methods do you want to use from TaskService?

Cheers,
Simon

Thanks @zambrovski  for your reply.
I need to search tasks, claim and complete a task from my springboot microservice. I'd like to cooperate with this project but I don't know kotlin language.
if this feature is not yet implemented, the only solution for me is toimplement a simple rest client to communicate with camunda via REST API.
unfortunately I didn't read that not all features had been implemented.
are new developments expected?
Thanks very much for your reply
Luca