Llama2 quantized q5_1

I am getting this error:
llama.cpp: loading model from /Documents/Proj/delta/llama-2-7b-chat/ggml-model-q5_1.bin
error loading model: unrecognized tensor type 14

llama_init_from_file: failed to load model
node:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[Error: Failed to initialize LLama context from file: /Documents/Proj/delta/llama-2-7b-chat/ggml-model-q5_1.bin] {
  code: 'GenericFailure'
}

My index.js:
import { LLM } from "llama-node";
import { LLamaCpp } from "llama-node/dist/llm/llama-cpp.js";
import path from "path";

const model = path.resolve(process.cwd(), "./llama-2-7b-chat/ggml-model-q5_1.bin");
const llama = new LLM(LLamaCpp);
const config = {
    modelPath: model,
    enableLogging: false,
    nCtx: 1024,
    seed: 0,
    f16Kv: false,
    logitsAll: false,
    vocabOnly: false,
    useMlock: false,
    embedding: false,
    useMmap: true,
    nGpuLayers: 0
};

const run = async () => {
    await llama.load(config);

    await llama.createCompletion({
        prompt: "My favorite movie is",
        nThreads: 4,
        nTokPredict: 1024,
        topK: 40,
        topP: 0.1,
        temp: 0.3,
        repeatPenalty: 1,
      }, (response) => {
        process.stdout.write(response.token)
      })
  }

  run();

It worked before I quantized, but I am hoping quantization makes it faster because it is so slow right now (I'm assuming this would have fixed the speed).

Got it running by using the .bin file from here: https://huggingface.co/TheBloke/Llama-2-7B-Chat-GGML/tree/main
Had no luck generating the q5_1 from here: https://github.com/ggerganov/llama.cpp#prepare-data--run
If this is a common problem maybe you can point people in the direction of just doing a direct download from TheBloke.


TypeError: Cannot read properties of undefined

Usage of google/closure-library?
When i try to run this code from README.md
require("google-closure-library");

goog.require("goog.crypt.Sha1");

var sha1 = new goog.crypt.Sha1();
sha1.update("foobar");
var hash = sha1.digest();

i can get this error:
var sha1 = new goog.crypt.Sha1();
                          ^

TypeError: Cannot read properties of undefined (reading 'Sha1')
    at Object.<anonymous> (/home/hey-everyone/Documents/VSC/JS/arras-server/server.js:5:27)
    at Module._compile (node:internal/modules/cjs/loader:1218:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1272:10)
    at Module.load (node:internal/modules/cjs/loader:1081:32)
    at Module._load (node:internal/modules/cjs/loader:922:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47

i can get this issue with every block that looks like this:
require("google-closure-library")
goog.require("goog.{...}");

Node.js v18.13.0
<EMAIL_ADDRESS>I am using this package.json file:
{
  "name": "arras-server",
  "version": "1.0.0",
  "description": "",
  "main": "server.js",
  "scripts": {
    "test": "node server.js",
    "start": "node server.js"
  },
  "author": "",
  "license": "ISC",
  "dependencies": {
    "google-closure-library": "^20230502.0.0"
  }
}

It worked! Thank you.
I run this code:
global.CLOSURE_UNCOMPILED_DEFINES = global.CLOSURE_UNCOMPILED_DEFINES || {};
global.CLOSURE_UNCOMPILED_DEFINES['goog.ENABLE_DEBUG_LOADER'] = true;
require("google-closure-library")

goog.require("goog.crypt.Sha1");

var sha1 = new goog.crypt.Sha1();
sha1.update("foobar");
var hash = sha1.digest();

I will close the issue. Thanks for help!


fs: shell: Remove unneeded flags from fs_open calls

The cmd_write and cmd_ctunc have been opening/creating file for
read/write operation.
The commit changes cmd_write to open/create file for write only,
and cmd_trunc to only open file for write.
Signed-off-by: Dominik Ermel<EMAIL_ADDRESS>

@nvlsianpu pls, take a look


Not working on Apple M1

Hello, the tool do not work on my Apple M1.
maui-check
[1]    9470 killed     maui-check --dev

dotnet --list-sdks
6.0.100-preview.5.21302.13 [/usr/local/share/dotnet/sdk]

See #15


Tenant guard object

Tenant guard and active guard objects to enable RAII-like control over when tenants are dropped.

Should we prevent anything to launch in with_upgrade on the tenant that is in the Stopping state?


Remove bitcore

This PR removes the deprecated Bitcore API as a possible endpoint.
It also now allows the library user to specify their own BitcoinDotCom based API endpoints via environmental variables.
A library user may set a single endpoint by using:
BITCOINCOM_API_MAINNET=https://rest.yourwebsitehere.com/v2/
Or they may choose to set up multiple endpoints by using:
BITCOINCOM_API_MAINNET_1=https://rest.firstwebsite.com/v2/
BITCOINCOM_API_MAINNET_2=https://rest.bch.anotherone.org/v2/
BITCOINCOM_API_MAINNET_3=https://rest.manychoices.cash/v2/

This change will keep looking for additional APIs in the environmental variables until it cannot find the next number (.._MAINNET_4 in the above example, as it was not set).
Please note it is not currently possible to set both the 'single' API endpoint and 'multiple' API endpoints (using the _1, _2, etc numbers) at the same time.
You can also replace 'MAINNET' with any supported network, and the same effect will be had on both the single and multiple endpoint options.
Lastly, this PR puts in place a basic framework for extending Bitcash to use alternative REST APIs in the future. Once additional APIs are added, the environment variable checker will use the new APIs name to instantiate endpoints for that API. Using Insomnia as an example, the following would be a valid environmental variable:
INSOMNIA_API_TESTNET=https://trest.apihosting.com/v2/
More information about adding additional endpoints can be included in a future PR, but is out of the scope for this current PR.

I see that tests were passing and now they're not. Why is that?

I see that tests were passing and now they're not. Why is that?

CodeFactor was complaining about some "TODO"s in comments, but @merc1er set it to ignore them for now. For whatever reason it seems to still show the red checkmark on here though, but if you click through to CodeFactor's actual site, it doesn't show them anymore. Not sure if there's a way to get it to manually re-run and show a green mark. Maybe @merc1er knows

I see that tests were passing and now they're not. Why is that?

CodeFactor was complaining about some "TODO"s in comments, but @merc1er set it to ignore them for now. For whatever reason it seems to still show the red checkmark on here though, but if you click through to CodeFactor's actual site, it doesn't show them anymore. Not sure if there's a way to get it to manually re-run and show a green mark. Maybe @merc1er knows

That makes sense. Thank you! Would be nice if we had CI running our own tests here.

Would be nice if we had CI running our own tests here.

I am working on a PR replacing Travis with GitHub actions.

Not sure if there's a way to get it to manually re-run and show a green mark. Maybe @merc1er knows

It usually switches to green checkmark automatically, but it is buggy sometimes and still shows the red cross.


Implement additional relevance feedback models

For example, from - York University at TREC 2009: Relevance Feedback Track
https://trec.nist.gov/pubs/trec18/papers/yorku.RF.pdf
Which is one of the comparison conditions in:
https://www.aclweb.org/anthology/papers/D/D18/D18-1478/

@lintool I was about to open an issue for adding standard relevance feedback models. I actually have implemented Rocchio, RM 3, Distill model and Logistic Log feedback models on top my refactored code.

I believe we're still missing results on https://github.com/castorini/anserini/pull/626
... where you were planning on reporting?
Can we get that merged in ASAP?
We're planning on some major upgrades, to Lucene 8 soon, per #586 ...

Given the lack of follow up, closing.


Integer indexed exotic object behavior

Implement integer indexed exotic object behaviors (9.4.5) in typed arrays:

Replace HasProperty(), GetProperty(), HasItem(), GetPropertyReference(), GetItem(), GetItemReference() with -Query version with tri-state return value
TRUE  => Property_Found (1)
FALSE => Property_NotFound (0)
=> Property_NotFound_NoProto (2) Property not found but stop going up prototype chain

Add new DescriptorFlags (None_NoProto) to stop going up prototype chain for
GetSetter(), GetItemSetter()

Fixes #374

Addresses https://github.com/Microsoft/ChakraCore/issues/374

@dilijev @akroshg @curtisman @Microsoft/chakra-es
Could you review please?

        if (object->GetItem(instance, index, value, requestContext))

We need to change GetItem as well?

Refers to: lib/Runtime/Language/JavascriptOperators.cpp:3085 in 72817dd. [](commit_id = 72817dd5f462eaf0c32756c891baf06ecfafb470, deletion_comment = False)

        if (object->GetItemReference(instance, index, value, requestContext))

GetItemReference too?

Refers to: lib/Runtime/Language/JavascriptOperators.cpp:3104 in 72817dd. [](commit_id = 72817dd5f462eaf0c32756c891baf06ecfafb470, deletion_comment = False)

            if (object->GetPropertyReference(instance, propertyId, value, info, requestContext))

How about GetPropertyReference?  Do we need to change this one?

Refers to: lib/Runtime/Language/JavascriptOperators.cpp:1992 in 72817dd. [](commit_id = 72817dd5f462eaf0c32756c891baf06ecfafb470, deletion_comment = False)

        if (object->SkipsPrototype())

I wonder if SkipsPrototype  can be used instead?  Are there cases that is not enough?

Refers to: lib/Runtime/Language/JavascriptOperators.cpp:1685 in 72817dd. [](commit_id = 72817dd5f462eaf0c32756c891baf06ecfafb470, deletion_comment = False)

        if (object->SkipsPrototype())

SkipsPrototype doesn't have knowledge of propertyNameString. Only when propertyNameString is CanonicalNumericIndexString (7.1.16) would it skip prototype.

In reply to: 285445383 [](ancestors = 285445383)

Refers to: lib/Runtime/Language/JavascriptOperators.cpp:1685 in 72817dd. [](commit_id = 72817dd5f462eaf0c32756c891baf06ecfafb470, deletion_comment = False)

        if (object->GetItem(instance, index, value, requestContext))

No, because TypedArrayBase::GetItem() always returns true.

In reply to: 285441440 [](ancestors = 285441440)

Refers to: lib/Runtime/Language/JavascriptOperators.cpp:3085 in 72817dd. [](commit_id = 72817dd5f462eaf0c32756c891baf06ecfafb470, deletion_comment = False)

        if (object->GetItemReference(instance, index, value, requestContext))

There is no need for a tri-state flavor of GetItemReference, but I update TypedArrayBase::GetItemReference to catch a corner case. Also add the case to core tests.

In reply to: 285441519 [](ancestors = 285441519)

Refers to: lib/Runtime/Language/JavascriptOperators.cpp:3104 in 72817dd. [](commit_id = 72817dd5f462eaf0c32756c891baf06ecfafb470, deletion_comment = False)

            if (object->GetPropertyReference(instance, propertyId, value, info, requestContext))

There is no need for a tri-state flavor of GetPropertyReference, but I update TypedArrayBase::GetItemReference to catch a corner case. Also add the case to core tests.

In reply to: 285441691 [](ancestors = 285441691)

Refers to: lib/Runtime/Language/JavascriptOperators.cpp:1992 in 72817dd. [](commit_id = 72817dd5f462eaf0c32756c891baf06ecfafb470, deletion_comment = False)

        if (object->GetItemReference(instance, index, value, requestContext))

No, because TypedArrayBase::GetItemReference() always returns true.

In reply to: 285441519 [](ancestors = 285441519)

Refers to: lib/Runtime/Language/JavascriptOperators.cpp:3104 in 72817dd. [](commit_id = 72817dd5f462eaf0c32756c891baf06ecfafb470, deletion_comment = False)

        if (object->GetItem(instance, index, value, requestContext))

Changed for consistency among GetItem, HasItem, GetProperty, HasProperty, GetItemReference, GetPropertyReference

In reply to: 285521273 [](ancestors = 285521273,285441440)

Refers to: lib/Runtime/Language/JavascriptOperators.cpp:3085 in 831dd64. [](commit_id = 831dd6419f22850bc1fc0508ae7dd7f2d58c140b, deletion_comment = False)

        if (object->GetItemReference(instance, index, value, requestContext))

Changed for consistency among GetItem, HasItem, GetProperty, HasProperty, GetItemReference, GetPropertyReference

In reply to: 285521882 [](ancestors = 285521882,285441519)

Refers to: lib/Runtime/Language/JavascriptOperators.cpp:3104 in 831dd64. [](commit_id = 831dd6419f22850bc1fc0508ae7dd7f2d58c140b, deletion_comment = False)

        if (object->SkipsPrototype())

Changed for consistency among GetItem, HasItem, GetProperty, HasProperty, GetItemReference, GetPropertyReference

In reply to: 285521027 [](ancestors = 285521027,285445383)

Refers to: lib/Runtime/Language/JavascriptOperators.cpp:1685 in 831dd64. [](commit_id = 831dd6419f22850bc1fc0508ae7dd7f2d58c140b, deletion_comment = False)

            if (object->GetPropertyReference(instance, propertyId, value, info, requestContext))

Changed for consistency among GetItem, HasItem, GetProperty, HasProperty, GetItemReference, GetPropertyReference

In reply to: 285521805 [](ancestors = 285521805,285441691)

Refers to: lib/Runtime/Language/JavascriptOperators.cpp:1992 in 831dd64. [](commit_id = 831dd6419f22850bc1fc0508ae7dd7f2d58c140b, deletion_comment = False)

If there's no more comments I plan to merge this change by the end of tomorrow.

:shipit:

//7.1.16 CanonicalNumericIndexString(argument)

@bterlson recommends updating explicit section references to include a link to the anchor in the spec in case section numbers change in the future. In this case: https://tc39.github.io/ecma262/#sec-canonicalnumericindexstring

Refers to: lib/Runtime/Language/JavascriptConversion.cpp:446 in 831dd64. [](commit_id = 831dd6419f22850bc1fc0508ae7dd7f2d58c140b, deletion_comment = False)

//7.1.16 CanonicalNumericIndexString(argument)

Will change.

In reply to: 286886221 [](ancestors = 286886221)

Refers to: lib/Runtime/Language/JavascriptConversion.cpp:446 in 831dd64. [](commit_id = 831dd6419f22850bc1fc0508ae7dd7f2d58c140b, deletion_comment = False)

:shipit:

Thanks, Suwei. LGTM

Thank you all for reviewing this changeset.


Cedomir Ljubic's name

This time i pulled the main from upstream properly.

Great ! Try to have regular PR names, there a way to communicate with your collaborators

Great ! Try to have regular PR names, there a way to communicate with your collaborators

Ok will do!


Do not add labels into plan if plan doesn't have the key

Fix https://github.com/rancher/rancher/issues/25144#issuecomment-595386365

Tests are failing because of hash function.


How to return error form graphql_object field resolver?

E.g.
// `num` must be returned on request
field num() -> f64 {
  // but in DB it is nullable col
  self.num.unwrap()
}

It seems I can only panic in this case? (or return Option and then handle it in all other places)

See the examples from the Error Handling page in the guide book.

Duh, RTFM :) Thanks!


Add :cn (:customsmallmessage)

This existed (or something similar thats NOT :message) earlier before. Not sure why it was removed

This seems quite a nieche command so I'm really not sure if it needs to be in the mainmodule.§


Inverse of an array Added #847

#847 Done
@rudrakshi99 @OjusWiZard @nakul-19
Please Review it

@yasharth291 Please Review my Code

@yasharth291 Please review it because Daily I get Conflicts in Readme File, I have to Resolve them Daily, Am I making any Mistake in Readme ?, can you please tell me why I am Getting Conflicts in Readme always, coz I am new to GIT and GITHUB

@rish-singhal Please Review it and please tell me if any changes

@Rohan27s @tarun26091999  Please Review it and Let me Know if any changes


wlr/taskbar hide specific icons based on app_id [feature request]

I wish we can hide specific icons based on app_id on the module wlr/taskbar.
You can see in my bar that I have a lot of terminals and other icons I don't want to see.
Example
"Hide": "thunar","tilix", "org.gnome.Nautilus", "virt-manager", "conky"

Is any updates here?
I think I can implenent this if no one has't started yet.

I don't think it's been implemented yet.

Fixed by #1074 thx @Anakael!


dummyimage.com 404

dummyimage.com 404

This was solved within 10-12 hours after it went down. Can be closed.


Error in Inference demo

This seems to be an error caused by a network problem, but my internet link is OK for sure, do you have any insight? Here is the error message.
`10/30 15:00:07 - mmengine - INFO - model_name: scaledepth_clip_NYU_KITTI_352x512
model_name: scaledepth_clip_NYU_KITTI_352x512
model_name: s
model_name: c
model_name: a
model_name: l
model_name: e
model_name: d
model_name: e
model_name: p
model_name: t
model_name: h
Loads checkpoint by local backend from path: work_dirs/scaledepth_clip_NYU_KITTI_352x512/iter_40000.pth
Traceback (most recent call last):
File "D:\anaconda3\envs\mmdepth\lib\site-packages\urllib3\connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "D:\anaconda3\envs\mmdepth\lib\site-packages\urllib3\util\connection.py", line 95, in create_connection
raise err
File "D:\anaconda3\envs\mmdepth\lib\site-packages\urllib3\util\connection.py", line 85, in create_connection
sock.connect(sa)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\anaconda3\envs\mmdepth\lib\site-packages\urllib3\connectionpool.py", line 716, in urlopen
httplib_response = self._make_request(
File "D:\anaconda3\envs\mmdepth\lib\site-packages\urllib3\connectionpool.py", line 404, in _make_request
self._validate_conn(conn)
File "D:\anaconda3\envs\mmdepth\lib\site-packages\urllib3\connectionpool.py", line 1061, in _validate_conn
conn.connect()
File "D:\anaconda3\envs\mmdepth\lib\site-packages\urllib3\connection.py", line 363, in connect
self.sock = conn = self._new_conn()
File "D:\anaconda3\envs\mmdepth\lib\site-packages\urllib3\connection.py", line 179, in _new_conn
raise ConnectTimeoutError(
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x0000026D38A4FAC0>, 'Connection to huggingface.co timed out. (connect timeout=10)')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\anaconda3\envs\mmdepth\lib\site-packages\requests\adapters.py", line 489, in send
resp = conn.urlopen(
File "D:\anaconda3\envs\mmdepth\lib\site-packages\urllib3\connectionpool.py", line 802, in urlopen
retries = retries.increment(
File "D:\anaconda3\envs\mmdepth\lib\site-packages\urllib3\util\retry.py", line 594, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /laion/CLIP-convnext_large_d_320.laion2B-s29B-b131K-ft-soup/resolve/main/open_clip_pytorch_model.bin (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000026D38A4FAC0>, 'Connection to huggingface.co timed out. (connect timeout=10)'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\anaconda3\envs\mmdepth\lib\site-packages\huggingface_hub\file_download.py", line 1376, in _get_metadata_or_catch_error
metadata = get_hf_file_metadata(
File "D:\anaconda3\envs\mmdepth\lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "D:\anaconda3\envs\mmdepth\lib\site-packages\huggingface_hub\file_download.py", line 1296, in get_hf_file_metadata
r = _request_wrapper(
File "D:\anaconda3\envs\mmdepth\lib\site-packages\huggingface_hub\file_download.py", line 277, in _request_wrapper
response = _request_wrapper(
File "D:\anaconda3\envs\mmdepth\lib\site-packages\huggingface_hub\file_download.py", line 300, in _request_wrapper
response = get_session().request(method=method, url=url, **params)
File "D:\anaconda3\envs\mmdepth\lib\site-packages\requests\sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "D:\anaconda3\envs\mmdepth\lib\site-packages\requests\sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "D:\anaconda3\envs\mmdepth\lib\site-packages\huggingface_hub\utils_http.py", line 93, in send
return super().send(request, *args, **kwargs)
File "D:\anaconda3\envs\mmdepth\lib\site-packages\requests\adapters.py", line 553, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /laion/CLIP-convnext_large_d_320.laion2B-s29B-b131K-ft-soup/resolve/main/open_clip_pytorch_model.bin (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000026D38A4FAC0>, 'Connection to huggingface.co timed out. (connect timeout=10)'))"), '(Request ID: c10ef4a7-d886-4979-b3bc-d9d6f6dc4ed8)')
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\anaconda3\envs\mmdepth\lib\site-packages\open_clip\pretrained.py", line 747, in download_pretrained_from_hf
cached_file = hf_hub_download(
File "D:\anaconda3\envs\mmdepth\lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "D:\anaconda3\envs\mmdepth\lib\site-packages\huggingface_hub\file_download.py", line 862, in hf_hub_download
return _hf_hub_download_to_cache_dir(
File "D:\anaconda3\envs\mmdepth\lib\site-packages\huggingface_hub\file_download.py", line 969, in _hf_hub_download_to_cache_dir
_raise_on_head_call_error(head_call_error, force_download, local_files_only)
File "D:\anaconda3\envs\mmdepth\lib\site-packages\huggingface_hub\file_download.py", line 1487, in _raise_on_head_call_error
raise LocalEntryNotFoundError(
huggingface_hub.errors.LocalEntryNotFoundError: An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\plant_predict\mmdepth-main\tools\inference.py", line 5, in
inferencer = MMSegInferencer(model='scaledepth_clip_NYU_KITTI_352x512')
File "D:\plant_predict\mmdepth-main\mmdepth\apis\mmseg_inferencer.py", line 81, in init
super().init(
File "D:\anaconda3\envs\mmdepth\lib\site-packages\mmengine\infer\infer.py", line 180, in init
self.model = self._init_model(cfg, weights, device)  # type: ignore
File "D:\anaconda3\envs\mmdepth\lib\site-packages\mmengine\infer\infer.py", line 483, in _init_model
model = MODELS.build(cfg.model)
File "D:\anaconda3\envs\mmdepth\lib\site-packages\mmengine\registry\registry.py", line 570, in build
return self.build_func(cfg, *args, **kwargs, registry=self)
File "D:\anaconda3\envs\mmdepth\lib\site-packages\mmengine\registry\build_functions.py", line 232, in build_model_from_cfg
return build_from_cfg(cfg, registry, default_args)
File "D:\anaconda3\envs\mmdepth\lib\site-packages\mmengine\registry\build_functions.py", line 121, in build_from_cfg
obj = obj_cls(**args)  # type: ignore
File "D:\plant_predict\mmdepth-main\mmdepth\models\segmentors\depth_estimator.py", line 87, in init
super().init(
File "D:\plant_predict\mmdepth-main\mmdepth\models\segmentors\encoder_decoder.py", line 89, in init
self.backbone = MODELS.build(backbone)
File "D:\anaconda3\envs\mmdepth\lib\site-packages\mmengine\registry\registry.py", line 570, in build
return self.build_func(cfg, *args, **kwargs, registry=self)
File "D:\anaconda3\envs\mmdepth\lib\site-packages\mmengine\registry\build_functions.py", line 232, in build_model_from_cfg
return build_from_cfg(cfg, registry, default_args)
File "D:\anaconda3\envs\mmdepth\lib\site-packages\mmengine\registry\build_functions.py", line 121, in build_from_cfg
obj = obj_cls(**args)  # type: ignore
File "D:\plant_predict\mmdepth-main\projects\ScaleDepth\backbone\clip.py", line 47, in init
self.clip_model, _, clip_preprocess = open_clip.create_model_and_transforms(clip_model_name, pretrained=clip_model_pretrain)
File "D:\anaconda3\envs\mmdepth\lib\site-packages\open_clip\factory.py", line 484, in create_model_and_transforms
model = create_model(
File "D:\anaconda3\envs\mmdepth\lib\site-packages\open_clip\factory.py", line 367, in create_model
checkpoint_path = download_pretrained(pretrained_cfg, cache_dir=cache_dir)
File "D:\anaconda3\envs\mmdepth\lib\site-packages\open_clip\pretrained.py", line 785, in download_pretrained
target = download_pretrained_from_hf(model_id, cache_dir=cache_dir)
File "D:\anaconda3\envs\mmdepth\lib\site-packages\open_clip\pretrained.py", line 755, in download_pretrained_from_hf
raise FileNotFoundError(f"Failed to download file ({filename}) for {model_id}. Last error: {e}")
FileNotFoundError: Failed to download file (open_clip_pytorch_model.bin) for laion/CLIP-convnext_large_d_320.laion2B-s29B-b131K-ft-soup. Last error: An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on.
`
Maybe the hugging face link is not working? If so, is there any other way to get the demo running?

I seem to have encountered a similar problem before. It seems to be caused by an unstable proxy connection. It is recommended to try downloading it locally and then importing it directly.

Thank you for your prompt reply. I followed your advice and downloaded the model file (https://huggingface.co/laion/CLIP-convnext_large_d_320.laion2B-s29B-b131K-ft-soup) to import directly locally. However, the following issues occurred:
Traceback (most recent call last):   File "tools/test.py", line 123, in <module>     main()   File "tools/test.py", line 116, in main     runner = Runner.from_cfg(cfg)   File "D:\anaconda3\envs\mmdepth\lib\site-packages\mmengine\runner\runner.py", line 462, in from_cfg     runner = cls(   File "D:\anaconda3\envs\mmdepth\lib\site-packages\mmengine\runner\runner.py", line 429, in __init__     self.model = self.build_model(model)   File "D:\anaconda3\envs\mmdepth\lib\site-packages\mmengine\runner\runner.py", line 836, in build_model     model = MODELS.build(model)   File "D:\anaconda3\envs\mmdepth\lib\site-packages\mmengine\registry\registry.py", line 570, in build     return self.build_func(cfg, *args, **kwargs, registry=self)   File "D:\anaconda3\envs\mmdepth\lib\site-packages\mmengine\registry\build_functions.py", line 232, in build_model_from_cfg     return build_from_cfg(cfg, registry, default_args)   File "D:\anaconda3\envs\mmdepth\lib\site-packages\mmengine\registry\build_functions.py", line 121, in build_from_cfg     obj = obj_cls(**args)  # type: ignore   File "D:\plant_predict\mmdepth-main\mmdepth\models\segmentors\depth_estimator.py", line 87, in __init__     super().__init__(   File "D:\plant_predict\mmdepth-main\mmdepth\models\segmentors\encoder_decoder.py", line 92, in __init__     self._init_decode_head(decode_head)   File "D:\plant_predict\mmdepth-main\mmdepth\models\segmentors\encoder_decoder.py", line 102, in _init_decode_head     self.decode_head = MODELS.build(decode_head)   File "D:\anaconda3\envs\mmdepth\lib\site-packages\mmengine\registry\registry.py", line 570, in build     return self.build_func(cfg, *args, **kwargs, registry=self)   File "D:\anaconda3\envs\mmdepth\lib\site-packages\mmengine\registry\build_functions.py", line 232, in build_model_from_cfg     return build_from_cfg(cfg, registry, default_args)   File "D:\anaconda3\envs\mmdepth\lib\site-packages\mmengine\registry\build_functions.py", line 121, in build_from_cfg     obj = obj_cls(**args)  # type: ignore   File "D:\plant_predict\mmdepth-main\projects\ScaleDepth\decode_head\scaledepth_head.py", line 73, in __init__     super().__init__(num_queries=num_queries + num_cls_query, **kwargs)   File "D:\anaconda3\envs\mmdepth\lib\site-packages\mmdet\models\dense_heads\mask2former_head.py", line 153, in __init__     self.class_weight = loss_cls.class_weight AttributeError: 'dict' object has no attribute 'class_weight'
Do you have any good solutions?

See https://github.com/RuijieZhu94/mmdepth/issues/3#issuecomment-2275987068

Thank you for your guidance. My issue has been resolved and I will close it.


Typo in performance-tips-java.md

Remove duplicated 'the'.

@agriffard : Thanks for your contribution to the Azure documentation! The author, @mimig1, has been notified to review your proposed change.

#sign-off Thank you @agriffard for the fix!


[Feature]: Improvement in About Page of Counter App

🚀 Feature Request : Improvements in About Page
📝 Feature Description
Here , this page can be improved by following updates :

Hover effect on 4 box cards on the right side in Initial part of about page.
Customizing and redesigning app info in 'About Counter Clock' section.
Beautification of 'Our Features' section.
User should get a notification once they have subscribed the newsletter in 'Get in Touch' section.
Adding 'Testimonials' section in About page where experience and review of users will appear in slidable cards format.

🔧 How Will This Enhance the App?
These updates will enhance user engagement and interactivity, making the website more visually appealing and user-friendly. Improved sections and review mechanisms will increase user satisfaction and provide a more polished experience.
🎯 Use Cases

Increased User Engagement
Improved User Experience

📦 Suggested Implementation
These are the areas I want to work upon :

🚀 Feature Request : Improvements in About Page
📝 Feature Description
Here , this page can be improved by following updates :

Hover effect on 4 box cards on the right side in Initial part of about page.
Customizing and redesigning app info in 'About Counter Clock' section.
Beautification of 'Our Features' section.
User should get a notification once they have subscribed the newsletter in 'Get in Touch' section.
Adding 'Testimonials' section in About page where experience and review of users will appear in slidable cards format.

🔧 How Will This Enhance the App?
These updates will enhance user engagement and interactivity, making the website more visually appealing and user-friendly. Improved sections and review mechanisms will increase user satisfaction and provide a more polished experience.
🎯 Use Cases

Increased User Engagement
Improved User Experience

📦 Suggested Implementation
These are the areas I want to work upon :

Sure.

please assign this issue me

@param-code , Can I get level 2 label for all of these tasks , please ?

@param-code , there is error in latest project , kindly rectify.
When I done 'synk fork' and run the project it showed me the error.


Report generation for microgateway request summary

Generate report to collect the microgateway request summary

https://github.com/wso2/carbon-apimgt/pull/5577


threadpool_wait() function?

Hi,
I've just tried this thread pool and it seems to work pretty well. However, I was wondering if there is a way to wait for all threads to finish without actually freeing the memory (so that the pool is still usable).
I'm implementing a method that performs several sequential analyses (where each depends on the result of the previous) and, since it is a bit slow, I'd like to thread each analysis. So, ideally, I'd create the thread pool in the beginning, launch all tasks for the first analysis and wait for all tasks to finish. Then, I'd process the results and launch the jobs of the next analysis (and so on). Is it possible?

Hi xnox,
thanks for your reply but from what I understand from the code, using the threadpool_graceful flag will just wait for all tasks to finish before destroying the queue (as opposed to destroying it and killing all running tasks). But in my case, I want to re-use the queue for more analyzes....
In the end I created a function to just wait for all jobs to finish:
int threadpool_wait(threadpool_t *pool, unsigned int wait_time)
{
  bool wait = true;

  while(wait) {
    // Sleep for wait_time miliseconds
    struct timespec wait_time_t = {0};
    wait_time_t.tv_sec = 0;
    wait_time_t.tv_nsec = wait_time * 1000000L;
    nanosleep(&wait_time_t, (struct timespec *)NULL);

    if(pthread_mutex_lock(&(pool->lock)) != 0)
      return threadpool_lock_failure;

    if(pool->count == 0 &&
       pool->run_thread_count == 0)
      wait = false;

    if(pthread_mutex_unlock(&(pool->lock)) != 0)
      return threadpool_lock_failure;
  }

  return 0;
}

Comments are welcome! :)
FGV

这是来自QQ邮箱的自动回复邮件。您好，您的邮件我已收到


not en lang

What steps will reproduce the problem?
https://www.yiiframework.com/doc/guide/2.0/en/tutorial-i18n#plural

This is expected - it says there "in the following Russian example".


[2.9.0] Error: The given view was not found in view manager🐛

What were you trying to do?
Build and run example App at https://github.com/mrousavy/react-native-vision-camera/commit/bd46da614ee2f43b23eb90a71ab4c59be54fd01f on Android device.
Maybe related to #457
Build Environment:
Windows 10 x64
Openjdk 11.0.10 2021-01-19
Python 2.7.18
Reproduceable Code
git clone https://github.com/mrousavy/react-native-vision-camera.git
cd react-native-vision-camera
git checkout bd46da614ee2f43b23eb90a71ab4c59be54fd01f
npx yarn
cd example
npx yarn
npx yarn android

What happened instead?
After app launches and user grants permission to Camera and Mic, red error box appears with Stack Trace:

Relevant log output
LOG  Running "VisionCameraExample" with {"rootTag":1}
 LOG  Re-rendering Navigator. Camera: undefined | Microphone: undefined
 LOG  Re-rendering Navigator. Camera: denied | Microphone: undefined
 LOG  Re-rendering Navigator. Camera: denied | Microphone: denied
 LOG  Requesting camera permission...
 LOG  Camera permission status: authorized
 LOG  Requesting microphone permission...
 LOG  Microphone permission status: authorized
 LOG  re-rendering camera page without active camera
 LOG  re-rendering camera page without active camera
 LOG  Re-rendering camera page with active camera. Device: "back (0)" (4000x2000 @ 60fps)
 ERROR  Error: Exception in HostFunction: com.mrousavy.camera.ViewNotFoundError: [system/view-not-found] The given view (ID 95) was not found in the view manager., js engine: hermes

Device
Pixel 3, Android 11
VisionCamera Version
2.9.0
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

It seems like this is an Expo project, and you're trying to run it as a CLI project.
If that's the problem here, there are 3 ways to proceed.
1 - Use Expo (fast solution)
2 - Expo Eject
3 - Create a new CLI project and manually include the Expo Code there

You're right! I was mistaken.. =/

That's such an annoying bug. Can't seem to find a fix for that :(

maybe #511 fixes this issue... it's giving me headaches.

A little late, but happy to report #511 fixed the issue, thanks!

I'm using 2.9.3 and still see this error
Update: I am only got this error when using <Camera /> inside <Modal />

Confirm this issue, if use react-native-modal or import from react-native
Only on Android.
iOS is working perfect.

I ended up having to use similar workarounds as described above.
You need to deactivate or unmount the <camera /> component before a screen transition. The logic is more or less:

Intercept a screen transition (via navigation, back button press or hardware back button event)
Cancel the transition
Re-render the current screen with  <camera active={false} ...otherProps /> or unmount it completely.
Trigger the previously cancelled transition

The ViewID bug seems to only crop up when using RNVC in conjunction with screen management libraries (react-native-navigation, react-navigation, react-native-modal).

I ended up having to use similar workarounds as described above.
The workaround involves deactivating or unmounting the <camera /> component before a screen transition. The logic is more or less:

Intercept a screen transition (via navigation, back button press or hardware back button event)
Cancel the transition
Re-render the current screen with  <camera active={false} ...otherProps /> or unmount it completely.
Trigger the previously cancelled transition

The ViewID bug seems to only crop up when using RNVC in conjunction with screen management libraries (react-native-navigation, react-navigation, react-native-modal).

Thank you for your quick reply. So, your issue during Unmount of the camera, right?
But you could mount the camera in modal?

Is it correct?
Because my issue, I couldn't mount the Camera in Modal.

So, you move Camera to react-navigation as Modal screen, right?

It's been awhile. I think I only hit assertFrameProcessors error when the screen with the active camera was being transitioned away from.
Edit - Just checked my code I'm only setting active={true} and frameProcessor={processFrame} after the screen transition has completed and screen containing the camera component is in focus.

It's been awhile. I think I only hit assertFrameProcessors error when the screen with the active camera was being transitioned away from.

I can confirm this issue only happens when frameProcessor is set.
@rusakovic

Because my issue, I couldn't mount the Camera in Modal.

Sorry for confusing, I had problem when unmounting screen but similar error so I thought it can be helpful.
It looks this happens when setting frameProcessor during animation so try to avoid it. It will be ugly but maybe setTimeout can be helped.
I'm not sure this issue should be re-opened or separated, please help us @mrousavy

Agree.
Maybe @mrousavy could give some advices or usecases for Modal. Or how to wrap Camera correctly.
For react-native-modal I tried to use

onModalShow
func
() => null
Called when the modal is completely visible

to activate the Camera, but it didn't help.

FWIW, here is a mimimal App demonstrating the crash with react-native-modal
https://github.com/ldstein/MeshCameraTest/tree/modal-test

@ldstein thank you! This is helpful. I currently don't have the time to investigate this, but if I do, I'll get back to this.

I'm also seeing this issue. The Camera shows fine in the React Native Modal, but when I call takePhoto I am receiving the view-not-found error.

@ldstein thank you! This is helpful. I currently don't have the time to investigate this, but if I do, I'll get back to this.

will be very helpful, if you could help with this issue.

Perhaps we need to open a new issue as this one has been closed.

Same issue, Follow the workaround of @iAmGhost.


Explicitly set case_insensitive_enum_parsing = true when parsing JSON

We plan to change the default value of case_insensitive_enum_parsing to false in the future to be consistent with other languages. This change is to prevent that future change from breaking gRPC. This is a noop change.

Thank you for your pull request. Before we can look at your contribution, we need to ensure all contributors are covered by a Contributor License Agreement.
After the following items are addressed, please respond with a new comment here, and the automated system will re-verify.

User @haon4 isn't covered by a CLA. They will need to complete the form at https://identity.linuxfoundation.org/projects/cncf

Regards,
CLA GitHub bot

I signed it


WIP: Refresh template based on root doc

This PR attempts to address the edits accidentally made to the generated README and not the template as identified here.

Nice! Thanks!

I found two more. Pushed as 13b5d58.

Actually, that's still not right.


gui-apps/wcm download URL is wrong

https://github.com/epsilon-0/wayfire-desktop/blob/cfde83d9ec8a56d51b64d326c76598acda4842b3/gui-apps/wcm/wcm-0.3.ebuild#L17
It seems that the correct URL has v in the filename.
https://github.com/WayfireWM/${PN}/archive/v${PV}.tar.gz should be correct one.

Thanks a lot for the info!
Fixed it in the latest commit.


Add support for more iterable types as allowable method arguments or property setters

A lot of our code checks to see if a setter value is a list, and iterates over that list when adding/setting property values.
Example stix_header.py:
@package_intents.setter
    def package_intents(self, value):
        self._package_intents = []
        if not value:
            return
        elif isinstance(value, list):
            for v in value:
                self.add_package_intent(v)
        else:
            self.add_package_intent(value)

We may want to consider allowing other types as arguments (e.g., sets, tuples, generator objects). We would potentially use something like:
if hasattr(item, '__iter__'):
    do_something()

When checking if an item is iterable. This prevents strings from being passed in, but allows other iterable types. It does, however, allow items like dictionaries to be passed in, which may cause problems.

Added an utils.is_sequence() method in 70b27a823d6bc89f69b75ada00fac4d1296ee9b6 and 560bfb0d6df021e62ed08225e566318faba5dd76  which has replaced most/all of the isinstance(value, list) checks.


disconnect command shouldn't be FCVAR_SERVER_CAN_EXECUTE

We already have a function for disconnecting people properly, so we should use that in script instead.
This allows people to disconnect others via kill replays and such
offending line:
https://github.com/R2Northstar/NorthstarLauncher/blob/main/NorthstarDLL/shared/misccommands.cpp#L189C44-L189C44

On another note disconnect can just be ignored by the client so CClient::Disconnect ( or script equivalent NSDisconnectPlayer ) should always be used to make sure the client is actually disconnected

This allows people to disconnect others via kill replays and such

wrong


Update description on other slot

Currently, the description says it is pipe-separated, but to be quickly loaded into JSON, this slot should be a JSON-looking string, for example {"key": "value"}.

It has been discussed to change this slot to be modelled as a dict, but also, there's a possibility to leave it as it's because it's already been used in other ways.


Fixed potentially incorrect combining

Right container wasn't checked properly.

You're welcome. Elasticsearch.Net & NEST are important for me.


Add ACL support

@dpino are you willing to assign this to yourself?

PR #96 implements this feature partially. It enables to add ingress/egress filters for IPv4 and IPv6 packets in lwaftr.conf file. With regard to egress packets, the filter applies to ICMP packets too, which I'm not sure about it. The PR is pending to be review.
To implement ACL support, I'm going to create a new PR on top of PR #96.

Extended #96 to handle ACL compilation too.

I think we should agree on a design before proceeding with further implementation.  To me the first step is to add ingress/egress filter support to the lwaftr program, via adding PcapFilter apps to the graph.  See https://github.com/Igalia/snabbswitch/blob/lwaftr_rambutan/src/program/snabb_lwaftr/setup.lua for where to add this support.  Then we implement a snabb-lwaftr compile-acl foo.csv command that spits out a pcap-filter string as text.  WDYT?

OK, so if I understand correctly, the idea is that instead of applying pcap filters in the lwaftr.lua code itself, implement filtering logic as independent apps that pipe with the reassemblers and lwaftr app to filter incoming and outgoing packets. I like this approach more.
The independent command to compile a ACL file to pcap-filter string sounds good to me. What's not clear is how to connect the pieces together. From my point of view, the lwaftr conf file contains a reference to an ACL file (if any it's going to be used). The parser either leaves this value as it is and later the PcapFilter compiles it (via the compile-acl command) to a pcap-filter string that it's later compiled to a Lua function with pflua. Or should the user compile the ACL file manually and paste the pcap-filter string into the lwaftr conf file?

I was thinking the latter: that the use should compile the ACL file manually and paste the pcap-filter string into the lwaftr conf file.  Dunno.  It's terrible but the more I thought about it, it seemed like an ACL might be a misguided feature, and that really the network operator should be working directly with pcap-filter strings.  Having a tool just spit out a filter that you have to paste is a poor implementation of the requirement, though, I definitely agree :/
How about this.  We start with the external command and the cut-and-paste.  Then if we feel like it we add ingress_acl_file=file to the config, and make it populate the ingress_pcap_filter config option if ingress_pcap_filter isn't given a value.  WDYT?

OK, totally agree. Although less automatic, I think it's easier to think in terms of pcap-filter expressions to filter out packets than in terms of ACL files, easier to test plus it's an useful feature itself. And if finally implement the ingress_pcap_filter feature will be a small step after this.

Packet filtering support implemented in #207

ACL support is still pending but this issue has turned to be into adding packet-filtering support which was implemented in #207.


uriencoding fix

Tested and ran this locally, fixes the missing uriencoding from from server.xml.erb

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@TheFynx

Please sign the CLA here.

Hi. Your friendly Curry bot here. Just letting you know that all commit authors have become authorized to contribute. I have added the "Signed CLA" label to this issue so it can easily be found in the future.

Adds fix for https://github.com/chef-cookbooks/tomcat/issues/193

Looks like a pretty straightforward fix :+1:

Can you document this in the readme.

Added info to attribute section.


Make the XMLFileUpdateTask work for non windows

017-02-10T16:41:49.6749230Z ##[section]Starting: XmlFileUpdateTask
2017-02-10T16:41:49.7291650Z ==============================================================================
2017-02-10T16:41:49.7304650Z Task         : Update XML file attribute
2017-02-10T16:41:49.7315550Z Description  : Update an attribute in an Xml file based on XPath filter
2017-02-10T16:41:49.7325610Z Version      : 2.2.2
2017-02-10T16:41:49.7335610Z Author       : Black Marble
2017-02-10T16:41:49.7345950Z Help         : Version: 2.2.2. More Information
2017-02-10T16:41:49.7356910Z ==============================================================================
2017-02-10T16:41:49.7972110Z ##[error]Supported task execution handler not found. Supported handlers: Node
2017-02-10T16:41:49.8084890Z ##[section]Finishing: XmlFileUpdateTask

A nice enhancement, but I have no immediate plans to do it, cross platform task like this are becoming a more common ask in this time of Xamarin development

@rfennell  Maybe should look at https://github.com/PowerShell/PowerShell capabillity?

This is currently being worked on to add Node support for assemby versioning

I have shipped a cross platform version that works for .NET Core Projects, hope this meets your needs
It is in release 1.5.22

Sorry closed this in error - the xplat items are only for versioning at present.
I will get onto this soon

I have an xPlat version running a a private release, but building it has exposed issue with my build process, so I am using this issue to improve (simplify) my VSTS build process when TypeScript is involved. I am trying to remove my dependency on glup, moving to just using NPM

It has taken a while, but the XMLUpdate tasks is now cross platform, release in version 3.0.26


[70][WIP] Upgrade to Spark 2.1 and TensorFlow 1.0

This upgrades TensorFrames to TensorFlow 1.0.
It is still a work in progress, as the current distribution of javacpp-tensorflow seems to depend on CUDA.

This is currently blocked by https://github.com/bytedeco/javacpp-presets/issues/396


Use mock JWT and JWKS from codebase for end-user auth tutorial

This simplify setup for end-user authentication demo.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: diemtvu
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: sdake
If they are not already assigned, you can assign the PR to them by writing /assign @sdake in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS

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

/assign @geeknoid

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: diemtvu
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: geeknoid
If they are not already assigned, you can assign the PR to them by writing /assign @geeknoid in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS

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

Please replace all occurrences of https://raw.githubusercontent.com with {{< github_file >}} as described here: https://preliminary.istio.io/about/contribute/writing-a-new-topic/#github

This looks good. But we'll need to wait until the corresponding PR is in istio/istio before pushing this change in.

Line length guideline for Istio is 160.


Query by JSON

Add support to query by json type

Hello @Ma3yTa ,
Could you be a little bit more explicit in your request? Please, try to provide an example if you can.
Thank you,
Best Regards,
Jonathan

Hello @JonathanMagnan ,
Currently Postgres, MSSQL support JSON as column type and allow to query by this columns but there isn't support from ORM.
Maybe those links helps to understand:
https://blogs.msdn.microsoft.com/jocapc/2015/05/16/json-support-in-sql-server-2016/
https://www.postgresql.org/docs/9.3/static/functions-json.html
https://github.com/aspnet/EntityFramework/issues/4021
Thanks

Thank you for the additional information.
To be honest, I don't think this request will be done soon. We have a lot of issues to fix first soon.
But we will let this request open for the future.
Best Regards,
Jonathan

Hello @JonathanMagnan ,
This kind of support would be very nice. Is there any improvement for this issue?
Thanks

Hello @yildizseli ,
Unfortunately, that's not in our short them plan: http://www.zzzprojects.com/roadmap
We are currently working on .NET FIddle to allows to run Entity Framework example on the web.
As said, I don't think this request will be done soon.
Best Regards,
Jonathan


RFC30: serde support for error metadata

Motivation and Context
This PR implements serde support for ErrorMetaData.
Description
Serde is implemented behind a feature gate.
This PR do not introduce breaking changes.
Prerequisite PRs
You can reduce the diff if you merge them first.

https://github.com/awslabs/smithy-rs/pull/2614

Parent PR
This PR is listed as one of prerequisite PRs on this PR.

https://github.com/awslabs/smithy-rs/pull/2615

Testing

It checks whether serialized/de-Serialized results are the same.
Checks whether it can de-serialization of JSON file produces an expected result.

Checklist

[x] I have updated CHANGELOG.next.toml if I made changes to the smithy-rs codegen or runtime crates
[x] I have updated CHANGELOG.next.toml if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Can you update the PR description to say why ErrorMetadata needs ser/de support?

Can you update the PR description to say why ErrorMetadata needs ser/de support?

Sorry, I realized that there was a mistake in my implementation.
So, I added serde to ErrorMetadata because it the compiler was complaining to me.
I assumed that some input/output type was using ErrorMetaData, but I realized that it was because I was mistakenly adding serde traits to ErrorType.
I'm closing this PR.


Decide which sorting icon behavior in the Table is more suitable

We have a request on icon sorting behavior in the Table. Need to discuss this with designers and then decide which option we should to stick to.

Was closed in the https://github.com/semrush/intergalactic/pull/905


4K (4096x2160) mp4 video freezes

When playing 4K (4096x2160) mp4 videos on Quest3,  （ Pack apk to Android ）
there are often freezes and choppy playback. How can I solve this problem?

Are you using the vulkan renderer?
We aren't doing hardware accelerated decoding, so it may be a bit slow.

Request support for hardware decoding to improve performance, thank you very much~ ：）

The problem is for hardware decoding to be efficient we need native vk handles, which might be hard to obtain in godot currently. We can have hardware decoding with a GPU->CPU->GPU copy but not sure if that would be fast enough


Some HoverInfo details show markup literals

@allisonchou I think you had a similar issue to this in the past didn't you?

We'll close this as duplicate of: https://github.com/dotnet/razor-tooling/issues/4286

Additional report: https://developercommunity.visualstudio.com/t/Tag-helper-tooltip-doesnt-support-code-/10167092


The SDK 'Microsoft.NET.Sdk' specified could not be found. on Solus, dotnet installed with snaps.

Issue Description
Microsoft.NET.Sdk not found Omnisharp
Steps to Reproduce

Install dotnet using snaps on Solus
Install VSCode
Install C# Extension
dotnet new console

Expected Behavior
Omnisharp works as intended.
Actual Behavior
I get the errors shown in the log.
I have tried EVERY solution presented that I could find on Google.
I have set my MSBuildSDKsPath in my ~/.bashrc and it DOES show up as a variable.
I have tried using the LegacySDKResolver in OmniSharp.
I have symlinked my dotnet to /usr/local/bin/dotnet
Logs
OmniSharp log
Starting OmniSharp server at 2/28/2021, 12:39:00 PM
    Target: /home/mason/pentios/pentpkg
OmniSharp server started.
Path: /home/mason/.vscode/extensions/ms-dotnettools.csharp-1.23.9/.omnisharp/1.37.6/run
PID: 14232
    Starting OmniSharp on solus 4.2 (x64)

    DotNetPath set to dotnet

    Located 1 MSBuild instance(s)
        1: StandAlone 16.8.0 - "/home/mason/.vscode/extensions/ms-dotnettools.csharp-1.23.9/.omnisharp/1.37.6/omnisharp/.msbuild/Current/Bin"

    MSBUILD_EXE_PATH environment variable set to '/home/mason/.vscode/extensions/ms-dotnettools.csharp-1.23.9/.omnisharp/1.37.6/omnisharp/.msbuild/Current/Bin/MSBuild.exe'

    Registered MSBuild instance: StandAlone 16.8.0 - "/home/mason/.vscode/extensions/ms-dotnettools.csharp-1.23.9/.omnisharp/1.37.6/omnisharp/.msbuild/Current/Bin"
        CscToolExe = csc.exe
        MSBuildToolsPath = /home/mason/.vscode/extensions/ms-dotnettools.csharp-1.23.9/.omnisharp/1.37.6/omnisharp/.msbuild/Current/Bin
        CscToolPath = /home/mason/.vscode/extensions/ms-dotnettools.csharp-1.23.9/.omnisharp/1.37.6/omnisharp/.msbuild/Current/Bin/Roslyn
        BypassFrameworkInstallChecks = true
        MSBuildExtensionsPath = /home/mason/.vscode/extensions/ms-dotnettools.csharp-1.23.9/.omnisharp/1.37.6/omnisharp/.msbuild

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.Completion.CompletionOptionsProvider, Order: 0

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.BlockStructureWorkspaceOptionsProvider, Order: 140

    Detecting Cake files in '/home/mason/pentios/pentpkg'.

    Could not find any Cake files

    No solution files found in '/home/mason/pentios/pentpkg'

    Queue project update for '/home/mason/pentios/pentpkg/pentpkg.csproj'

    Detecting CSX files in '/home/mason/pentios/pentpkg'.

    Could not find any CSX files

    Configuration finished.

    Omnisharp server running using Stdio at location '/home/mason/pentios/pentpkg' on host 13195.

    Loading project: /home/mason/pentios/pentpkg/pentpkg.csproj

It was not possible to find any installed .NET SDKs.
Install a .NET SDK from:
https://aka.ms/dotnet-download
It was not possible to find any installed .NET SDKs.
Install a .NET SDK from:
https://aka.ms/dotnet-download
It was not possible to find any installed .NET SDKs.
Install a .NET SDK from:
https://aka.ms/dotnet-download
[warn]: OmniSharp.MSBuild.ProjectManager
Failed to load project file '/home/mason/pentios/pentpkg/pentpkg.csproj'.
/home/mason/pentios/pentpkg/pentpkg.csproj(0,0)
Microsoft.Build.Exceptions.InvalidProjectFileException: The SDK 'Microsoft.NET.Sdk' specified could not be found.  /home/mason/pentios/pentpkg/pentpkg.csproj
at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject (System.String errorSubCategoryResourceName, Microsoft.Build.Shared.IElementLocation elementLocation, System.String resourceName, System.Object[] args) [0x00040] in :0
at Microsoft.Build.Shared.ProjectErrorUtilities.VerifyThrowInvalidProject[T1] (System.Boolean condition, System.String errorSubCategoryResourceName, Microsoft.Build.Shared.IElementLocation elementLocation, System.String resourceName, T1 arg0) [0x00003] in :0
at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject[T1] (Microsoft.Build.Shared.IElementLocation elementLocation, System.String resourceName, T1 arg0) [0x00000] in :0
at Microsoft.Build.Evaluation.Evaluator4[P,I,M,D].ExpandAndLoadImportsFromUnescapedImportExpressionConditioned (System.String directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement, System.Collections.Generic.List1[Microsoft.Build.Construction.ProjectRootElement]& projects, Microsoft.Build.BackEnd.SdkResolution.SdkResult& sdkResult, System.Boolean throwOnFileNotExistsError) [0x00309] in :0
at Microsoft.Build.Evaluation.Evaluator4[P,I,M,D].ExpandAndLoadImports (System.String directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement, Microsoft.Build.BackEnd.SdkResolution.SdkResult& sdkResult) [0x00027] in <f7274894ce154696afba1f0ffcd06434>:0    at Microsoft.Build.Evaluation.Evaluator4[P,I,M,D].EvaluateImportElement (System.String directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement) [0x0000d] in :0
at Microsoft.Build.Evaluation.Evaluator4[P,I,M,D].PerformDepthFirstPass (Microsoft.Build.Construction.ProjectRootElement currentProjectOrImport) [0x000e6] in <f7274894ce154696afba1f0ffcd06434>:0    at Microsoft.Build.Evaluation.Evaluator4[P,I,M,D].Evaluate () [0x00139] in :0
at Microsoft.Build.Evaluation.Evaluator4[P,I,M,D].Evaluate (Microsoft.Build.Evaluation.IEvaluatorData4[P,I,M,D] data, Microsoft.Build.Construction.ProjectRootElement root, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings, System.Int32 maxNodeCount, Microsoft.Build.Collections.PropertyDictionary1[T] environmentProperties, Microsoft.Build.BackEnd.Logging.ILoggingService loggingService, Microsoft.Build.Evaluation.IItemFactory2[S,T] itemFactory, Microsoft.Build.Evaluation.IToolsetProvider toolsetProvider, Microsoft.Build.Evaluation.ProjectRootElementCacheBase projectRootElementCache, Microsoft.Build.Framework.BuildEventContext buildEventContext, Microsoft.Build.BackEnd.SdkResolution.ISdkResolverService sdkResolverService, System.Int32 submissionId, Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext, System.Boolean interactive) [0x00047] in :0
at Microsoft.Build.Evaluation.Project+ProjectImpl.Reevaluate (Microsoft.Build.BackEnd.Logging.ILoggingService loggingServiceForEvaluation, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings, Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext) [0x00063] in :0
at Microsoft.Build.Evaluation.Project+ProjectImpl.GetEvaluatedItemElements (Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext) [0x0002d] in :0
at Microsoft.Build.Evaluation.Project+ProjectImpl.GetAllGlobs (Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext) [0x00000] in :0
at Microsoft.Build.Evaluation.Project.GetAllGlobs (Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext) [0x00000] in :0
at Microsoft.Build.Evaluation.Project.GetAllGlobs () [0x00000] in :0
at OmniSharp.MSBuild.ProjectFile.ProjectFileInfo+ProjectData.Create (System.String projectFilePath, Microsoft.Build.Execution.ProjectInstance projectInstance, Microsoft.Build.Evaluation.Project project) [0x0035c] in :0
at OmniSharp.MSBuild.ProjectFile.ProjectFileInfo.Load (System.String filePath, OmniSharp.MSBuild.ProjectIdInfo projectIdInfo, OmniSharp.MSBuild.ProjectLoader loader, System.Guid sessionId, OmniSharp.Services.DotNetInfo dotNetInfo) [0x00048] in :0
at OmniSharp.MSBuild.ProjectManager+<>c__DisplayClass31_0.b__0 () [0x00000] in :0
at (wrapper delegate-invoke) System.Func1[System.ValueTuple3[OmniSharp.MSBuild.ProjectFile.ProjectFileInfo,System.Collections.Immutable.ImmutableArray1[OmniSharp.MSBuild.Logging.MSBuildDiagnostic],OmniSharp.MSBuild.Notification.ProjectLoadedEventArgs]].invoke_TResult()   at OmniSharp.MSBuild.ProjectManager.LoadOrReloadProject (System.String projectFilePath, System.Func1[TResult] loader) [0x0001b] in :0
    Attempted to update project that is not loaded: /home/mason/pentios/pentpkg/pentpkg.csproj</details>

C# log
Empty
Environment information
VSCode version: 1.53.2
C# Extension: 1.23.9
Mono Information
        OmniSharp using built-in mono
Dotnet Information
.NET SDK (reflecting any global.json):
 Version:   5.0.103
 Commit:    72dec52dbd
Runtime Environment:
OS Name:     solus
OS Version:  4.2
OS Platform: Linux
RID:         linux-x64
Base Path:   /snap/dotnet-sdk/112/sdk/5.0.103/
Host (useful for support):
Version: 5.0.3
Commit:  c636bbdc8a
.NET SDKs installed:
5.0.103 [/snap/dotnet-sdk/112/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 5.0.3 [/snap/dotnet-sdk/112/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 5.0.3 [/snap/dotnet-sdk/112/shared/Microsoft.NETCore.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions

Extension
Author
Version

cpptools
ms-vscode
1.2.2

csharp
ms-dotnettools
1.23.9

horizon-theme-vscode
jolaleye
2.0.2

A lot has changed with O# sdk resolution since this issue was opened. If you are still having problems, please open a new issue at https://github.com/omnisharp/omnisharp-roslyn/issues


[baremetal] Inline PK functions

Description
This PR aims at decreasing the cost of the PK layer when only one key type is enabled, by making the generic function inline, so that client code can directly call the relevant underlying function. For example, instead of "client -> pk_sign() -> uecc_sign_wrap()" we want the more direct "client -> uecc_sign_wrap() in the generated code, with the client's source code remaining unchanged.
Note to gatekeeper: This is based on https://github.com/ARMmbed/mbedtls/pull/2835
Note: this is similar to the second part of ARMmbed/mbedtls-restricted#654 which changed the MD layer. Specifically, the same general design is followed, on purpose. (The first part was #2835.)

GCC
ARMC5
ARMC6

libmbedcrypto.a before
20915
21379
24531

libmbedcrypto.a after

gain in bytes Crypt

libmbedx509.a before
5341
5522
6344

libmbedx509.a after

gain in bytes X.509

libmbedtls.a before
15177
16515
18973

libmbedtls.a after

gain in bytes TLS

total before
41433
43416
49848

total after

gain in total

Migrations
No API change, but the ABI is changed when MBEDTLS_PK_SINGLE_TYPE is enabled, as functions that are currently part of the ABI are made static inline (hence not visible by the linker).

This won't be needed after all.


refactor: use useSignal() on the starter counter.tsx

Having useSignal in the initial example could help adoption of it as the store for islands

There is currently a bug in @preact/signals + preact-render-to-string that is resulting in a minor memory leak. I want to make sure this is fixed before we recommend that folks use signals.

I think that was before the 1.1 of Preact signals, I have the latest versions working with no issues and made a small PR to bump the dependencies of the starter project fresh#762

I'll close this PR as it's being superseded by #1234. I'm sorry we didn't get to this earlier, @flemmingmiguel. Either way, thank you very much.

Hey amazing to see the repo moving , was away for the past weeks due to some health issues, happy with the news that the framework is about to speed up


Build with -fno-exceptions .

Hello.
Whether it is possible to make that the library build with gcc flag: -fno-exceptions ?
Thank you.

Yes, this no problem, but in my project the "compile error" only at these "throw" if I use "-fno-exceptions".
if you do not want to change anything, then let it remain so.

Oh effectively. As I never really used -fno-exceptions, I naively thought it replaced throw statements with abort automatically.
I'm currently not at home (and will not be for the next weeks), but I will see what I can do when I come back.

Thank you very much in advance! )

Hi,
Yes, under Linux everything works.
Thank you. )

I merged the changes to the master branch.


6814 - new calls for atomic barrier and flushing posted writes

Fix for issue #6814 and misc. fixes/cleanup for NOC API:

add posted flag to write calls
add inline 32b write to dataflow_api
fix typos in atomic increment
move write bursts to separate cmd buf from small (register/semaphore) write

I updated the branch to rebase to the latest main and address @pgkeller 's comments from pull request #6885.
The same changes have already been submitted to fd-2/main.

I discussed this with @pgkeller, and we decided not to pursue a direct integration of the fix into main. It will be integrated as part of the upcoming fd-2/main integration.


v2 is available at packagist

Hi, I have installed 1 day ago from composer and it installed v2. Here I saw it is a pre-release but packagist understood as a standard one.

Bedankt voor de melding. Ik zal proberen de pre-release versie te verwijderen

I am not sure about this but you can remove the tag v2.0.0 and add another one similar to v2.0.0-dev so it stays available to contributors who wants to download specific
https://getcomposer.org/doc/04-schema.md#version

Perhaps it is better that way. I will adjust it. Thanks for the information

By the way, when you expect to release v2?

I released v2 just an hour ago 😃


feat(keychain-google-sm): bootstrap README.md

Description
As a developer, I want to update the README.md describing the plugin and examples for its usage.
Acceptance Criteria

README.md present at packages/cactus-plugin-keychain-google-sm/README.md should be updated with the plugin description and example usage.

hey I would like to contribute to the bootstrap project but I dont really know where to start...

@bonny-rogny Cool, welcome to Hyperledger! You could join one of the daily pair programming sessions that goes on Mondays, Wednesdays and Fridays at 7:45 AM Pacific Time. Or we could just chat here. The first thing you want to make sure is that you have some knowledge about the secret manager service of Google Cloud Platform so that you have a general knowledge of that which will serve as the foundation for writing the readme here. If you need more detailed help just let me know and I can provide more information.


adding event generation workflow

This will probably need a lot of updates, but here is a first shot, gotta open it sometime!

@Chilipp I don't see the GitHub workflow running, is there any way I can PR against a branch in the repo here? Might that be the issue?

hmm, no idea. I just made you a collaborator of this repo so you can make a branch if you think that works

I could imagine that workflows are not enabled for forks

from https://docs.github.com/en/actions/getting-started-with-github-actions/about-github-actions

Workflows in forked repositories don't run by default.

But I can't find, how to change this. So maybe it's the easiest to move this fork into a branch of SORSE/sorse.github.io

@Chilipp can you push your master to a differently named branch in sorse, tell me the branch name, and I'll open a PR against it? The branch I'm doing the PR from is already at the upstream repo.

alright, it's in the add/events branch


Replace KendrickUI

At the moment, we offer to the user  a custom UI called KendrickUI to browse the library of Kendrick models. See current interface:

We want to move to a more elaborate tool that will allow to browse all the available models in an image, the user will be allowed to do some simulation and visualisation, search the models. One idea is to use GToolkit that will also to build an interactive notebook for epidemiological models.

I think we can already think about this. What do you think @SergeStinckwich


any plan to integrate pouchdb-find plugin

pouchdb-find is super nice to have

Please elaborate.
If I recall it correctly, pouchdb-find works on the top of pouchdb, there is no need to integrate it.

You can easily just create your own bundle, more infos under
https://pouchdb.com/2016/06/06/introducing-pouchdb-custom-builds.html
in general I'd like to keep the Default pouchdb-react-native bundle as small as Possible.
Sample Bundle could look like... make it Public if you want.
'use strict'

import PouchDB from 'pouchdb-core'
import AsyncStoragePouch from 'pouchdb-adapter-asyncstorage'
import HttpPouch from 'pouchdb-adapter-http'
import mapreduce from 'pouchdb-mapreduce'
import find from 'pouchdb-find'
import replication from 'pouchdb-replication'

PouchDB
  .plugin(AsyncStoragePouch)
  .plugin(HttpPouch)
  .plugin(mapreduce)
  .plugin(find)
  .plugin(replication)

export default PouchDB

Christoph

@stockulus Actually, the order doesn't matter and plugins could be applied at any time, so it could be simply:
'use strict'

import PouchDB from 'pouchdb-react-native'
import find from 'pouchdb-find'

PouchDB
  .plugin(find)

export default PouchDB

Following the advice I find this error in the log
Can't find variable: self
similar to this image


Add survey settings unit tests

Description of changes:

Add survey settings unit tests
Add edit survey settings to action drop down in survey listing

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the met-public license (Apache 2.0).

Codecov Report

Merging #1827 (8028622) into main (978208c) will increase coverage by 0.23%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##             main    #1827      +/-   ##
==========================================
+ Coverage   71.27%   71.51%   +0.23%
==========================================
  Files         389      396       +7
  Lines       11848    12021     +173
  Branches      893      910      +17
==========================================
+ Hits         8445     8597     +152
- Misses       3257     3277      +20
- Partials      146      147       +1

Flag
Coverage Δ

metweb
64.67% <33.33%> (+0.59%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

.../src/components/survey/listing/ActionsDropDown.tsx
68.51% <0.00%> (-2.64%)
:arrow_down:

met-web/src/components/survey/report/SearchBar.tsx
100.00% <ø> (ø)

...web/src/components/survey/report/SettingsTable.tsx
100.00% <ø> (ø)

...-web/src/components/survey/report/SettingsForm.tsx
88.00% <100.00%> (ø)

... and 8 files with indirect coverage changes


Feature/app title style

Blog Title Style update as to mock-up

code is not finished. issues are needed to be created


fix: typings

The types provided by the index.d.ts aren't correct with what the code does, also they could be more specific for the visibility state.

Thanks.


Support the 'release' issue

Build bot should recognize the issue with a special 'release' title and create a comment in the issue with list of issues closed after the last release and the guide 'what you should do before release'

Some updates:

the issue will have the release label;
bot should create a comment with the checklist 'what should you do before release';
bot should create a comment with list of issues closed after the last release;
bot should create a link to regenerate the list of the issues

Bot should suggest version number based on list (reading package json and analyzing API MODIFICATION LEVEL labels)
Issues list should contain information about API modification level
Bot should create warning comment if commit in PR doesn't have closes/fixes/fix directives
Bot should create comment which warns about missing API MODIFICATION LEVEL label once the issue gets closed. It should re-issue the warning comment two times a day until the label will not be set.

when an issue with the documentation required label is closed Bot should open a new issue ('Create documentation for ...') and assign it to the chief technical writer ( @VasilyStrelyaev for now)
when the release issue is opened Bot should create a checklist with opened documentation issues

@AlexanderMoskovkin We need also task which will ping developer if label is not set (like for the API modification level labels)

We need also task which will ping developer if label is not set (like for the API modification level labels)

updated the previous comment

when the release issue is opened Bot turns on the code freeze mode. It add warnings to all new pull requests. (Optional) We should merge only pull requests with a pre-release label during the release issue is opened
when the release issue is closed Bot send a comment to all pull requests about that
Bot adds the release version to closed issues when the release issue is closed

Planned in build bot.


Precision/Scale handling yeilding an inappropriate conversion to Float.

Having some production issues when we updated to the latest version of go-oci8.
Traced it down to different handling of statements where the precision and scale are being used to determine the go type.
In reading the documentation, the existing if/else block did not seem to match what oracle was saying.  Modified it to be a case statement.   This has all existing number cases pass.
Added new cases which DID NOT pass using old code.  Now pass with new code. #391

Can you give some real number / SQL examples of problems you were having?

I will revise the issue and re-post with more examples.
The most pressing of which are identity columns.


aop-prometheus is an invalid endpoint id

2020-08-21 16:11:25.000  WARN 1 --- [           main] o.s.boot.actuate.endpoint.EndpointId     : Endpoint ID 'aop-prometheus' contains invalid characters, please migrate to a valid format.
Should change the endpoint-id at some future release...

I am still see this as well in clouddriver logs.

I am still see this as well in clouddriver logs.

Yeah :) it's not a huge priority as it's a warning s. an error.  I figured sometime when I'd hit a 2.x release I'd look at changing the endpoint, as that'd be a breaking change.

Yeah :) it's not a huge priority as it's a warning s. an error.  I figured sometime when I'd hit a 2.x release I'd look at changing the endpoint, as that'd be a breaking change.


Tidy up the OCI DevOps deployment with GitHub Actions examples

Description
Tidy up the OCI DevOps deployment using GitHub Actions example. Includes simplifying the yaml, improving the formatting and removing a setting that is not recommended for production use.
Type of change
Please delete options that are not relevant.

[X] Improvement of existing example
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?

[X] Always Free
[X] Paid

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[ ] Updated/Sorted AIO.md file
[X] My changes generate no new warnings.
[X] All the sensitive informations are masked or removed.
[ ] All the links mentioned are valid and tested.
[ ] Image names are seperated only with '-'.
[ ] Added instruction to clone only this sample and links to other common sample pages.

I'm going to ignore all of the failing checks because none of them apply to me.


Whatsapp Send Message Error: 422: Unprocessible Entity

I want to send whatsapp text message using following code:
https://github.com/Vonage/vonage-node-code-snippets/blob/v3-messages/messages/whatsapp/send-text.js
But I met 422-Unprocessible Entity.
This is Error Message
VetchError: Request failed with status code 422
    at Messages.parseResponse (/home/ginger/Projects/codenameChatLogics/server/node_modules/@vonage/server-client/dist/client.js:303:19)
    at Messages.sendRequest (/home/ginger/Projects/codenameChatLogics/server/node_modules/@vonage/server-client/dist/client.js:222:31)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Messages.sendRequestWithData (/home/ginger/Projects/codenameChatLogics/server/node_modules/@vonage/server-client/dist/client.js:197:16)
    at async Messages.send (/home/ginger/Projects/codenameChatLogics/server/node_modules/@vonage/messages/dist/messages.js:73:22)
    at async Service.outbound (file:///home/ginger/Projects/codenameChatLogics/server/src/services/whatsapp.service.js:20:18)
    at async file:///home/ginger/Projects/codenameChatLogics/server/src/routes/agent/vonage/whatsapp.js:13:16 {
  config: {
    url: 'https://api.nexmo.com/v1/messages',
    method: 'POST',
    type: 'application/json',
    data: {
      to: '1508***9382',
      from: '1201***3027',
      text: 'Hello, I sent this message via Vonage API',
      message_type: 'text',
      channel: 'whatsapp'
    },
    headers: {
      'user-agent'<EMAIL_ADDRESS>node/20.12.2,',
      'content-type': 'application/json',
      Authorization: 'Bearer eyJh*****LQxA'
    }
  },
  response: Response {
    size: 0,
    timeout: 0,
    [Symbol(Body internals)]: { body: [PassThrough], disturbed: false, error: null },
    [Symbol(Response internals)]: {
      url: 'https://api.nexmo.com/v1/messages',
      status: 422,
      statusText: 'Unprocessable Entity',
      headers: [Headers],
      counter: 0
    }
  }
}

Please Help Me !!!

Same issue here

@syvme and @AI-General, Sorry for the late response to this.


tolower attribute names so they can be used as var names

a hack for https://github.com/ambiata/icicle/issues/263

hungarian notation is an option, is it better? 😅

Need to modify the Source parser too, so it can parse "feature ALL_CAPS": at the moment this is tokenised to [KeywordFeature, Constructor "ALL_CAPS"]. best to just modify feature parser to accept variables or constructors

right - I guess it isn't necessary, but I think it'd be ideal

uh, is that a lexer change?

no, I think it's best to just change the parser for "feature".
I'd rather not modify the lexer, because I like to keep the "Constructor" and "variable" distinction in case statements, so it's a little more obvious what is a catch-all variable, and what is a misspelt constructor
case foo
  | Nonez  -> 0
  | Some x -> x + 1

if variable & constructors were lumped together, this would be fine, although maybe the overlap check would notice that one..


Smaller/simpler log reading script

There's no particular need to merge this, I just threw it up in case anyone was interested and so I don't forget where I put it.
It's a simpler log script for an Up2 board that match my personal workflow better.

Close this, I pushed the current version elsewhere


Can you play with Non-Premium account?

Is it possible to play with non-premium account in Boardwalk???
P. S It's not illegal btw

yes, just play demo button

use a website called cyberhub. they can give you 2 premium accounts per day

@Carbonixx that is illegal. The accounts there are probably stolen.

@szarik001 oh apologies. I have my own premium account anyways. Didn't know it was illegal.

CyberHub doesnt work on boardwalk. I tried it before and it didnt work


Update storsimple-update1-release-notes.md

The StorSimple Virtual Appliance image was refreshed on 10th July. This documentation change reflects the changes that came in with this update.

Hi @vidarmsft, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@vidarmsft Thanks for the contribution! I've sent the change to the author for approval.

Reviewed - OK to merge.

Hi, why am I not able to see the update to the page yet?


Make Groovy Parser correctly handle nested parenthesis

What's changed?
Nested parentheses around method invocations are supported as well for the groovy parser.
What's your motivation?

https://github.com/openrewrite/rewrite/issues/4703
https://github.com/openrewrite/rewrite/issues/4615

Checklist

[x] I've added unit tests to cover both positive and negative cases
[x] I've read and applied the recipe conventions and best practices
[x] I've used the IntelliJ IDEA auto-formatter on affected files

This is just my 2c, but the several regexes makes me feel like the solution here isn't quite right. For trivial source files found in the test cases, it works. But I fear that for actual source files that this would bring G-based parsing to a crawl.

Fixed in https://github.com/openrewrite/rewrite/pull/4801


riscv64 install refers to outdated release image pointer

Description
The experimental riscv64 installation added in #827 fails because it can't find this Ubuntu cloud image:
"https://cloud-images.ubuntu.com/releases/22.04/release-20220420/ubuntu-22.04-server-cloudimg-riscv64.img"
I was able to get it to work by replacing the YAML line referencing that image with the jammy release image
"https://cloud-images.ubuntu.com/releases/jammy/release/ubuntu-22.04-server-cloudimg-riscv64.img"
I did not attempt to also update the kernel. With this change, the system boots, and by all appearances comes up just fine. The only test of any note that I have been able to do so far is to get "tailscale ssh" running, which installs according to package directions.
limactl version 0.11.1
macOS Monterey 12.4
MacBook Air (M1)

Thanks for reporting.
Ubuntu seems to have wiped out https://cloud-images.ubuntu.com/releases/22.04/release-20220420/ but why?
They didn't wipe the April image for 20.04 though http://cloud-images-archive.ubuntu.com/releases/focal/release-20200423/

Maybe Debian is better ?
https://wiki.debian.org/RISC-V

Seems like the Ubuntu supported hardware (HiFive Unmatched) has been cancelled (ran out of stock) ?
https://forums.sifive.com/t/sifive-update-on-hifive-unmatched-boards-in-2022/5569
Guess it is qemu, until next generation (or model)

Fixed in #963 (Lima v0.11.2)


protocol/packp: capabilities new Capability entity and List struct, test improvements

Capabilities struct moved to a package inside packp, and renamed to List
New type Capability and all the consts with the valid capabilities
Validation of unknown capabilities, capabilities with invalid values and other cases
Removed duplicate Decode function at packp

Current coverage is 75.56% (diff: 90.66%)

Merging #144 into master will increase coverage by 0.18%

@@             master       #144   diff @@
==========================================
  Files            78         78
  Lines          5091       5088     -3
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           3838       3845     +7
+ Misses          804        794    -10
  Partials        449        449

Powered by Codecov. Last update 7cee84e...af95613


Access to widget inspector (widget tree) during patrol develop (at the end of the test)

Done #1829


My device, which should be in the wallet, appears under another ID. The address my device should have is (HsMDB2ZcR44BpFrbWmupDhZgoy7Vi12fr8EVcgwoYfoz), but it is at the address (Htyv3uxqXcBLKujcku4jdK37JHPUzJmyMebtdbgForf8), which is not mine. This change was not made by me. How do I get my device back to my address?

https://explorer.solana.com/tx/2URF6qPPSEzyxHJfiswUwV3Nc8HuWtJPXX2c5RmW2dAUA85oWMy3i5CTkgsVXKfAKjShoSbNcyxqkBkbHhecht6n
This hotspot was transferred by HsMDB2ZcR44BpFrbWmupDhZgoy7Vi12fr8EVcgwoYfoz (who signed) to Htyv3uxqXcBLKujcku4jdK37JHPUzJmyMebtdbgForf8. There is no way for us to get it back. When you transfer an NFT, only the wallet you transferred it to can sign to transfer it back.


Install error

Hi Honza,
I am running into this issue. I think you ran into it as well on another thread. I am not sure if you were able to resolve it or not.
I am running this on lucid 64.
I cloned your repo and did a vagrant up.
Any help would be much appreciated.
Thanks
David
[default] Importing base box 'base'...
[default] The guest additions on this VM do not match the install version of
VirtualBox! This may cause things such as forwarded ports, shared
folders, and more to not work properly. If any of those things fail on
this machine, please update the guest additions and repackage the
box.
Guest Additions Version: 4.1.0
VirtualBox Version: 4.1.2
[default] Matching MAC address for NAT networking...
[default] Clearing any previously set forwarded ports...
[default] Forwarding ports...
[default] -- ssh: 22 => 2222 (adapter 1)
[default] -- http: 80 => 8080 (adapter 1)
[default] -- web: 9999 => 9999 (adapter 1)
[default] Creating shared folders metadata...
[default] Running any VM customizations...
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
[default] VM booted and ready for use!
[default] Mounting shared folders...
[default] -- v-root: /vagrant
[default] -- v-csc-1: /tmp/vagrant-chef-1/chef-solo-1
[default] Running provisioner: Vagrant::Provisioners::ChefSolo...
[default] Generating chef JSON and uploading...
[default] Running chef-solo...
[default] stdin: is not a tty
: stderr
[default] [Sun, 20 Nov 2011 04:47:00 -0800] INFO: *** Chef 0.10.2 ***
: stdout
[default] [Sun, 20 Nov 2011 04:47:01 -0800] INFO: Setting the run_list to ["recipe[djangoapp::default]"] from JSON
: stdout
[default] [Sun, 20 Nov 2011 04:47:01 -0800] INFO: Run List is [recipe[djangoapp::default]]
: stdout
[default] [Sun, 20 Nov 2011 04:47:01 -0800] INFO: Run List expands to [djangoapp::default]
[Sun, 20 Nov 2011 04:47:01 -0800] INFO: Starting Chef Run for lucid64
: stdout
[default] [Sun, 20 Nov 2011 04:47:02 -0800] ERROR: Running exception handlers
: stdout
[default] [Sun, 20 Nov 2011 04:47:02 -0800] ERROR: Exception handlers complete
: stdout
[default] [Sun, 20 Nov 2011 04:47:02 -0800] FATAL: Stacktrace dumped to /tmp/vagrant-chef-1/chef-stacktrace.out
: stdout
[default] [Sun, 20 Nov 2011 04:47:02 -0800] FATAL: NoMethodError: undefined method `apt_repository' for #Chef::Recipe:0x7f84d1871e20
: stdout
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
chef-solo -c /tmp/vagrant-chef-1/solo.rb -j /tmp/vagrant-chef-1/dna.json
The output of the command prior to failing is outputted below:
[no output]

I will try to reproduce. Give me a few hours, hopefully I can manage to get that done.

that would be great. :-)
On Sun, Nov 20, 2011 at 1:56 PM, Honza Pokorny <
<EMAIL_ADDRESS>
wrote:

I will try to reproduce. Give me a few hours, hopefully I can manage to
get that done.

Reply to this email directly or view it on GitHub:
https://github.com/honza/django-chef/issues/1#issuecomment-2808810

It looks like RabbitMQ was broken, so I removed it. Commit d78433dd3c8a66953f5cb268c99d36b72a478dea fixes it. At work, we've been using Redis as the celery backend --- I might add that in the future. Let me know if you get it to work. Thanks


upgraded provider version can not detect remote resource cloudflare_load_balancer_monitor and cloudflare_load_balancer_pool

Confirmation

[X] My issue isn't already found on the issue tracker.
[X] I have replicated my issue using the latest version of the provider and it is still present.

Terraform and Cloudflare provider version
Terraform v1.3.8
on darwin_arm64

provider registry.terraform.io/cloudflare/cloudflare v3.16.0 (initial setup and then upgrading to v3.34.0)

Affected resource(s)

cloudflare_load_balancer_monitor
cloudflare_load_balancer_pool

Terraform configuration files
terraform {
  backend "local" {
    path = "terraform.tfstate"
  }
  required_providers {
    cloudflare = {
      source  = "cloudflare/cloudflare"
      version = "3.16.0"
    }
  }
}

variable "cloudflare_api_token" {
  type = string
}

provider "cloudflare" {
  api_token = var.cloudflare_api_token
}

resource "cloudflare_load_balancer_monitor" "http_monitor" {
  type           = "http"
  expected_body  = "alive"
  expected_codes = "2xx"
  method         = "GET"
  timeout        = 7
  path           = "/"
  interval       = 60
  retries        = 5
  description    = "example http load balancer"
  header {
    header = "Host"
    values = ["example.com"]
  }
  allow_insecure   = false
  follow_redirects = true
}

resource "cloudflare_load_balancer_pool" "foo" {
  name = "example-pool"
  origins {
    name    = "example-1"
    address = "<IP_ADDRESS>"
    enabled = false
    header {
      header = "Host"
      values = ["example-1"]
    }
  }
  description     = "example load balancer pool"
  enabled         = false
  minimum_origins = 1
  origin_steering {
    policy = "random"
  }
}

Link to debug output
https://gist.github.com/lovegehlin/63f0cc8c8c35e332b2c85724140f2c6a
Panic output
No response
Expected output
Since the two resources already exist in the state (and remote), it should not create new resources
Actual output
It could not detect remote resources and because of this want to create new resources.
Steps to reproduce

Use above terraform config
Run terraform apply -var="cloudflare_api_token=xxx"
Upgrade cloudflare provider version in terraform config to 3.34.0
Run terraform init -upgrade
Run terraform plan

Additional factoids
No response
References
No response

for these resources you need to provide an account_id attribute at the resource level.
you'll notice it is missing from this URL.
2023-02-15T12:59:38.114+0100 [DEBUG] provider.terraform-provider-cloudflare_v3.34.0: GET /client/v4/accounts//load_balancers/pools/116fb9422c194c9afbd76720b83aea32 HTTP/1.1

prior to 4.x, it required an account ID at the provider level or resource level. after 4.x it will be a required field for these resources.

I've tried adding account_id at the resource level but the issue still exists. Here's the log output using account_id

it looks like the bad state has already been persisted with it missing so you'll either need to import the resources or manually add the account ID to the resources with the state itself.

Manually updating the state worked. 🚀 Many thanks @jacobbednarz.

Found the same issue, just saving here another solution to not manually update the state.
Tested with v3.34.0.
Add account_id argument into definition of resource cloud_load_balancer_monitor (tested with cloudflare_load_balancer_pool too) whitout removing account_id argument from provider cloudflare defintion.
Plan and apply. It will do an update in-place adding the account_id to the resources.
Now you can remove safely account_id argument from provider cloudflare defintion.


Updated readme

Merged components and config into main readme and fixed some typos.

Current coverage is 42.71% (diff: 100%)

Merging #749 into development will not change coverage

@@           development       #749   diff @@
=============================================
  Files                6          6
  Lines              700        700
  Methods             72         72
  Messages             0          0
  Branches           113        113
=============================================
  Hits               299        299
  Misses             401        401
  Partials             0          0

Powered by Codecov. Last update 2ba7a5f...9096bc1