Add example how one can customize button colors in config.toml

feature
I would like to customize the Button color but the documentation only goes as far as saying that it is possible in config.toml but not how.
I would like to have the documentation section under https://about.okkur.org/syna/docs/development/#styles with two three examples. However I would first need to know how that looks like.
My best assumption below did not help
[assets]
    [styles]
        [bootstrap]
            danger = "#ff7149"

Rereading the docs this could definitely be clearer.
Specific buttons can't be changed, but the general color scheme can.
Happy for you to add the docs as you might have a good sense on what would have helped you right away. The docs are with our exampleSite as well: https://github.com/okkur/syna/tree/master/exampleSite/content/docs
Here is an example from our exampleSite config:
https://github.com/okkur/syna/blob/master/exampleSite/config.toml#L59

Ah that was the hint I needed. Turns out it works with single buttons in the palette e.g you can change just danger to be what you want and the others still work.
Let me write something about that once I adjusted all the defaults.
There seem to be a few things in config.toml that are not in the docs. I don't know if that was to prevent double writing, but a link to that file is definitely helpful.

Anything that feels not documented enough might be that way. So happy for contributions. One might feel it is clear due to having worked with the implementation for a few days.
It works for a single color yes, but not for single items. So all items using the color "danger" than switch to your new configured color.
If you want to do something specific you can add your own CSS or overwrite a specific partial within your own website using hugo's layout lookup rules. https://gohugo.io/templates/lookup-order/#hugo-layouts-lookup-rules-with-theme

Anything that feels not documented enough might be that way. So happy for contributions. One might feel it is clear due to having worked with the implementation for a few days.
It works for a single color yes, but not for single items. So all items using the color "danger" than switch to your new configured color.
If you want to do something specific you can add your own CSS or overwrite a specific partial within your own website using hugo's layout lookup rules. https://gohugo.io/templates/lookup-order/#hugo-layouts-lookup-rules-with-theme

what do you recommend css or look up?

Depends on the use case.
CSS is less likely to break as it will only overwrite design choices not html structure or logic.
For more advanced customizations or creating your own fragments the overwrite possibilities through the hugo lookup rules is best.


docs: quorum queues and dlx: fix anchors wrt 'poison message handling' details

See the commit messages for context and details.

@geor-g Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@geor-g Thank you for signing the Contributor License Agreement!

Thank you. I think we should customize the anchor because "for-quorum-queues" at the end sounds overly repetitive to me.
I'll get it now and credit you for the finding.


feat(@angular/cli): add cache build option

This is an experimental option to use a cache between builds.
Fix #7467

Blocked by:

[ ]: https://github.com/mzgoddard/hard-source-webpack-plugin/pull/202

(this list will increase as new problems are found)

Perhaps a fix/improvement for multiple i18n builds? :) https://github.com/angular/angular-cli/issues/6789

Also want to benchmark https://github.com/webpack-contrib/cache-loader gains here.

@filipesilva the linked webpack issue has been merged.
any progress on this one?

I experimented on this a bit more in https://github.com/angular/angular-cli/pull/9295, and we merged that one instead.


US993101: Release preparation

Ticket: https://internal.almoctane.com/ui/entity-navigation?p=131002/6001&entityType=work_item&id=993101

A developer build has not yet been created for this branch. Click here to go ahead and create the build...

CI Build Link:
https://sou-jenkins2.swinfra.net/job/CAFapi/job/CAFapi~oraclelinux-base-images~US993101~CI


ci: enable beta releases for branch 'beta'

Description
This (should) enable beta releases for a branch named 'beta'. This can be useful to create pre-releases that run through the same pipelines as actual releases.

Do you introduce a breaking change?

[ ] Yes
[x] No
[ ] I am unsure (no worries, we'll find out)

:tada: This PR is included in version 14.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 14.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix document selector warning in the extension

🦶  Repro steps
I couldn't repro it when running unit tests like mentioned in #1936, but it seems to appear in the dev tools (can be seen in the dev tools output copied by users in https://github.com/microsoft/vscode-python/issues/8661, https://github.com/microsoft/vscode-python/issues/8636 and https://github.com/microsoft/vscode-python/issues/8567). I couldn't get it to appear in my dev tools output, but we should still fix the document selector schemes.
🔎 Impacted methods

registerCodeLensProvider
registerCompletionItemProvider
registerDefinitionProvider
registerDocumentFormattingEditProvider
registerDocumentRangeFormattingEditProvider
registerDocumentSymbolProvider
registerHoverProvider
registerOnTypeFormattingEditProvider
registerReferenceProvider
registerRenameProvider
registerSignatureHelpProvider

🩹 Prescribed solution
We already have a predefined python document selector: the PYTHON constant from constants.ts, let's use it.
🛠 Todo

jedi.ts: make sure that registerOnTypeFormattingEditProvider uses this.documentSelector too
analysisOptions.ts: replace the const documentSelector assignment with const documentSelector = PYTHON (PYTHON from constants.ts) in getDocumentSelector
intellisenseProvider.ts: replace the basic 'python' filter with PYTHON from constants.ts in  L.58-60
completionProvider.ts: update the activate method in LaunchJsonCompletionProvider (add scheme: 'file' to the first argument of registerCompletionItemProvider)
completionProvider.unit.test.ts: update the deepEqual() calls
datascience.ts: update registerCodeLensProvider
make sure that none of the tests are failing

The warning is no longer visible in the logs, closing as stale.


Power: Increase number of displayed power lines circuits to 4

On the power layer currently a maximum of 3 circuits is rendered on any given line.
Power lines with 4 circuits are quite common e.g. 2 x 380kv + 2 x 110kv on the same line. e.g.:
https://commons.wikimedia.org/wiki/File:20200416_hoogspanningsleiding_door_het_Valtherbos.jpg
Currently this is rendered with 2 x 380kv and and only 1 x 110kv. Also the description ends with voltage 3.
I suggest to increase the number of displayed circuits to 4.
There are also lines with 6 circuits, however these are quite rare.

Not in the US, i'm almost done with all lines in South Carolina, and i've seen more than 3 only for like 100 metres in downtown Charleston. And even three are very rare. But, i can also tell from personal experience: VERY common in Europe, so strong support.
And if we're already increasing limits: The maximum displayed voltages on substations are also capped at max 3 - should be raised, for substations like https://www.openstreetmap.org/way/120874146 (OIM)

+1 In France there are a few miles of 5-circuits power lines and significantly more of 4-circuits.
In Switzerland, Germany, Austria there even more circuits on a single line with 16.7 Hz network for railways.
To me, voltage=* on substation could only contains the highest value.
Voltage isn't a proper property for substation itself, but contained equipments.
Anyway, it's a noticeable effort to populate this key with every voltages found in the facility, well done!

Agreed. I saw many giant towers with 4 circuits in Taiwan. Recently the network company are building more underground tunnels that are able to place 6 circuits in one tunnel.
And if we decide to increase the displayed lines to 4+ I think the gap between lines can be reduced to keep the map looks good.

In densely populated and warm climate areas it is not uncommon to have 4-6 circuits on same tower.
I've seen quite a few stretches in Germany that have at least 4.


Can't configure programatically in MVC or WebApi

All of the configuration sections' properties are read-only.

@ChadBurggraf we did take a shortcut here to get this out, are you able to explain a bit more to me about how you would expect to use/configure the bugsnag client in this scenario? You can post in here or email me<EMAIL_ADDRESS>Thanks!

I would like to set the API key, release stage and app version at runtime. I would also like to dynamically disable/enable reporting at runtime, but I think that's possible through the middleware system.

Would you be entirely configuring the client programmatically or would you also be using the web.config?
You can ignore reports using the middleware system. What would be the conditions that you would be using to disable/enable reporting?

I'm okay with doing either (a combination of programatically and web.config, or just programatically).
Yes, thank you, I did see that I can use the middleware system to disable reporting.

I just tried upgrading our BugSnag libraries to 2.0 and ran smack into this as well.
We need to ability to set global configuration for the MVC/WebAPI clients programatically.

@ChadBurggraf @tynorton thanks for letting us know that you want to use Bugsnag like this, we have added this to our backlog of things that we really want to add. I'll keep you up to date with our progress on it

I've upgraded and hit the same issue too.
We dynamically set the app version at runtime based on the assembly version of our site; and the release stage depending on if the site is running in development, staging, or production.

Hi everyone, unfortunately I don't have any progress to report on this issue at the moment.
The only work around I can suggest right now is to use the core Bugsnag nuget package only and take a look at the code in the other packages as it's quite minimal to see how it hooks into the ASP.NET lifecycle. I'll update this issue when I can jump back onto implementing this

I have been playing with some ways of making this possible, and I hope you don't mind but I've submitted an example PR (#108) with what I've come up with to make this possible.
It may be rubbish. It may be completely unsuitable. But it's what I might for the time being to get around the configuration constraints in one of our web apps.

Any update on this? It's been nearly half a year since this issue was reported.

@martin308 - Any update on whether this item has made it out of your backlog yet?

I really need to be able to set at least the appVersion programmatically as well.


Show total result size instead of 500+ in full text search page

Make a head call to the API to get the total count
render it to the right place

Questions:
The call is a remote procedure call. The RPC should return the total count of rows.

Example request done with Deno:
import { createClient } from "https://esm.sh/<EMAIL_ADDRESS>
const supabase = createClient(
	"<SUPABASE URL>",
	"<ANON TOKEN>",
);

const { data, error, count } = await supabase.rpc(
	"ftc",
	{ search: "mitte" },
	{ count: "exact" },
);

if (error) {
	console.error(error);
	throw error;
}
console.log(count);

We make the request here


ML backend can not process data from s3

If a dataset resides on s3 with custom endpoint - ml backend can not correctly get an image for predict method.
First it requires credentials which is strange cos all that data is setup in ml studio and ml studio can provide presigned url for downloading the data. And if credentials are setup it gets the bucket name but ignores endpoint url.
Detailed trace below:
[2022-12-08 15:59:13,619] [INFO] [werkzeug::_log::225] <IP_ADDRESS> - - [08/Dec/2022 15:59:13] "GET /health HTTP/1.1" 200 -
[2022-12-08 15:59:13,623] [ERROR] [label_studio_ml.model::get_result_from_last_job::131]<PHONE_NUMBER> job returns exception:
Traceback (most recent call last):
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/model.py", line 129, in get_result_from_last_job
    result = self.get_result_from_job_id(job_id)
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/model.py", line 111, in get_result_from_job_id
    assert isinstance(result, dict)
AssertionError
[2022-12-08 15:59:13,623] [ERROR] [label_studio_ml.model::get_result_from_last_job::131]<PHONE_NUMBER> job returns exception:
Traceback (most recent call last):
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/model.py", line 129, in get_result_from_last_job
    result = self.get_result_from_job_id(job_id)
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/model.py", line 111, in get_result_from_job_id
    assert isinstance(result, dict)
AssertionError
Load new model from:  /home/testuser/share/mmdetection/configs/faster_rcnn/faster_rcnn_r50_fpn_1x_coco.py /home/testuser/share/mmdetection/checkpoints/faster_rcnn_r50_fpn_1x_coco_20200130-047c8118.pth
load checkpoint from local path: /home/testuser/share/mmdetection/checkpoints/faster_rcnn_r50_fpn_1x_coco_20200130-047c8118.pth
[2022-12-08 15:59:13,968] [INFO] [werkzeug::_log::225] <IP_ADDRESS> - - [08/Dec/2022 15:59:13] "POST /setup HTTP/1.1" 200 -
[2022-12-08 15:59:14,320] [ERROR] [label_studio_ml.exceptions::exception_f::53] Traceback (most recent call last):
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/exceptions.py", line 39, in exception_f
    return f(*args, **kwargs)
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/api.py", line 51, in _predict
    predictions, model = _manager.predict(tasks, project, label_config, force_reload, try_fetch, **params)
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/model.py", line 617, in predict
    predictions = cls._current_model.model.predict(tasks, **kwargs)
  File "/home/testuser/share/label-studio-ml-backend/coco-detector/mmdetection.py", line 92, in predict
    image_path = self.get_local_path(image_url)
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/model.py", line 323, in get_local_path
    return get_local_path(url, project_dir=project_dir, hostname=self.hostname, access_token=self.access_token)
  File "/home/testuser/.local/lib/python3.8/site-packages/label_studio_tools/core/utils/io.py", line 92, in get_local_path
    r.raise_for_status()
  File "/home/testuser/.local/lib/python3.8/site-packages/requests/models.py", line 943, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
**requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://bucket-name.s3.amazonaws.com/dataset1065/worker10_000003.jpg?AWSAccessKeyId=user&Signature=ttttttmYJ19ABLxEY%3D&Expires=1670518754**

Traceback (most recent call last):
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/exceptions.py", line 39, in exception_f
    return f(*args, **kwargs)
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/api.py", line 51, in _predict
    predictions, model = _manager.predict(tasks, project, label_config, force_reload, try_fetch, **params)
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/model.py", line 617, in predict
    predictions = cls._current_model.model.predict(tasks, **kwargs)
  File "/home/testuser/share/label-studio-ml-backend/coco-detector/mmdetection.py", line 92, in predict
    image_path = self.get_local_path(image_url)
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/model.py", line 323, in get_local_path
    return get_local_path(url, project_dir=project_dir, hostname=self.hostname, access_token=self.access_token)
  File "/home/testuser/.local/lib/python3.8/site-packages/label_studio_tools/core/utils/io.py", line 92, in get_local_path
    r.raise_for_status()
  File "/home/testuser/.local/lib/python3.8/site-packages/requests/models.py", line 943, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
**requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://bucket-name.s3.amazonaws.com/dataset1065/worker10_000003.jpg?AWSAccessKeyId=user&Signature=ttttttmYJ19ABLxEY%3D&Expires=1670518754**

[2022-12-08 15:59:14,322] [INFO] [werkzeug::_log::225] <IP_ADDRESS> - - [08/Dec/2022 15:59:14] "POST /predict HTTP/1.1" 500 -
[2022-12-08 15:59:32,772] [INFO] [werkzeug::_log::225] <IP_ADDRESS> - - [08/Dec/2022 15:59:32] "GET /health HTTP/1.1" 200 -
[2022-12-08 15:59:32,777] [ERROR] [label_studio_ml.model::get_result_from_last_job::131]<PHONE_NUMBER> job returns exception:
Traceback (most recent call last):
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/model.py", line 129, in get_result_from_last_job
    result = self.get_result_from_job_id(job_id)
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/model.py", line 111, in get_result_from_job_id
    assert isinstance(result, dict)
AssertionError
[2022-12-08 15:59:32,777] [ERROR] [label_studio_ml.model::get_result_from_last_job::131]<PHONE_NUMBER> job returns exception:
Traceback (most recent call last):
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/model.py", line 129, in get_result_from_last_job
    result = self.get_result_from_job_id(job_id)
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/model.py", line 111, in get_result_from_job_id
    assert isinstance(result, dict)
AssertionError
Load new model from:  /home/testuser/share/mmdetection/configs/faster_rcnn/faster_rcnn_r50_fpn_1x_coco.py /home/testuser/share/mmdetection/checkpoints/faster_rcnn_r50_fpn_1x_coco_20200130-047c8118.pth
load checkpoint from local path: /home/testuser/share/mmdetection/checkpoints/faster_rcnn_r50_fpn_1x_coco_20200130-047c8118.pth
[2022-12-08 15:59:33,124] [INFO] [werkzeug::_log::225] <IP_ADDRESS> - - [08/Dec/2022 15:59:33] "POST /setup HTTP/1.1" 200 -
[2022-12-08 15:59:33,146] [ERROR] [label_studio_ml.exceptions::exception_f::53] Traceback (most recent call last):
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/exceptions.py", line 39, in exception_f
    return f(*args, **kwargs)
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/api.py", line 51, in _predict
    predictions, model = _manager.predict(tasks, project, label_config, force_reload, try_fetch, **params)
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/model.py", line 617, in predict
    predictions = cls._current_model.model.predict(tasks, **kwargs)
  File "/home/testuser/share/label-studio-ml-backend/coco-detector/mmdetection.py", line 89, in predict
    assert len(tasks) == 1
AssertionError

Traceback (most recent call last):
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/exceptions.py", line 39, in exception_f
    return f(*args, **kwargs)
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/api.py", line 51, in _predict
    predictions, model = _manager.predict(tasks, project, label_config, force_reload, try_fetch, **params)
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/model.py", line 617, in predict
    predictions = cls._current_model.model.predict(tasks, **kwargs)
  File "/home/testuser/share/label-studio-ml-backend/coco-detector/mmdetection.py", line 89, in predict
    assert len(tasks) == 1
AssertionError

[2022-12-08 15:59:33,146] [INFO] [werkzeug::_log::225] <IP_ADDRESS> - - [08/Dec/2022 15:59:33] "POST /predict HTTP/1.1" 500 -
[2022-12-08 15:59:33,207] [INFO] [werkzeug::_log::225] <IP_ADDRESS> - - [08/Dec/2022 15:59:33] "GET /health HTTP/1.1" 200 -
[2022-12-08 15:59:33,209] [ERROR] [label_studio_ml.model::get_result_from_last_job::131]<PHONE_NUMBER> job returns exception:
Traceback (most recent call last):
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/model.py", line 129, in get_result_from_last_job
    result = self.get_result_from_job_id(job_id)
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/model.py", line 111, in get_result_from_job_id
    assert isinstance(result, dict)
AssertionError
[2022-12-08 15:59:33,210] [ERROR] [label_studio_ml.model::get_result_from_last_job::131]<PHONE_NUMBER> job returns exception:
Traceback (most recent call last):
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/model.py", line 129, in get_result_from_last_job
    result = self.get_result_from_job_id(job_id)
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/model.py", line 111, in get_result_from_job_id
    assert isinstance(result, dict)
AssertionError
Load new model from:  /home/testuser/share/mmdetection/configs/faster_rcnn/faster_rcnn_r50_fpn_1x_coco.py /home/testuser/share/mmdetection/checkpoints/faster_rcnn_r50_fpn_1x_coco_20200130-047c8118.pth
load checkpoint from local path: /home/testuser/share/mmdetection/checkpoints/faster_rcnn_r50_fpn_1x_coco_20200130-047c8118.pth
[2022-12-08 15:59:33,529] [INFO] [werkzeug::_log::225] <IP_ADDRESS> - - [08/Dec/2022 15:59:33] "POST /setup HTTP/1.1" 200 -
[2022-12-08 15:59:33,618] [ERROR] [label_studio_ml.exceptions::exception_f::53] Traceback (most recent call last):
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/exceptions.py", line 39, in exception_f
    return f(*args, **kwargs)
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/api.py", line 51, in _predict
    predictions, model = _manager.predict(tasks, project, label_config, force_reload, try_fetch, **params)
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/model.py", line 617, in predict
    predictions = cls._current_model.model.predict(tasks, **kwargs)
  File "/home/testuser/share/label-studio-ml-backend/coco-detector/mmdetection.py", line 89, in predict
    assert len(tasks) == 1
AssertionError

Traceback (most recent call last):
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/exceptions.py", line 39, in exception_f
    return f(*args, **kwargs)
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/api.py", line 51, in _predict
    predictions, model = _manager.predict(tasks, project, label_config, force_reload, try_fetch, **params)
  File "/home/testuser/share/label-studio-ml-backend/label_studio_ml/model.py", line 617, in predict
    predictions = cls._current_model.model.predict(tasks, **kwargs)
  File "/home/testuser/share/label-studio-ml-backend/coco-detector/mmdetection.py", line 89, in predict
    assert len(tasks) == 1
AssertionError

The very line is :
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://bucket-name.s3.amazonaws.com/dataset1065/worker10_000003.jpg?AWSAccessKeyId=user&Signature=ttttttmYJ19ABLxEY%3D&Expires=1670518754

late response but you can check the code here - https://github.com/HumanSignal/label-studio-ml-backend/blob/b73a229b68836abb622188d1eecd307f9fcfc5d6/label_studio_ml/examples/mmdetection/mmdetection.py#L76
to see how to process custom endpoint urls.


CK7 theme conf

I merged because I need these changes in CK6-wip-tooltip. I am still interested in your review @BraidenCutforth.


Searching for AAD service principal to delete

When attempting to delete a service principal, should the query for the 'displayName' be the name of the AKS cluster?  As stated in the doc, that search didn't work for me (eventually errored out). However, when I searched in the Azure Portal, I could find it. The service principal display name was not exactly the same as the name of the AKS cluster. The display name started with the AKS cluster name, but also had "SP" and the create date appended.

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

ID: 25a0d502-ce71-76d4-bf8a-060e63913b52
Version Independent ID: 69d7fa26-1a37-e477-0a2c-db58ce19a84f
Content: Service principals for Azure Kubernetes Services (AKS)
Content Source: articles/aks/kubernetes-service-principal.md
Service: container-service
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

Thanks for the feedback! We are currently investigating and will update you shortly.

@mcollier did you manually create a service principal or allow Azure to do it for you?
If you allow Azure to automatically create one for you such as using the following:
az aks create --name myAKSCluster --resource-group myResourceGroup --generate-ssh-keys
A service principal will be created and the name of the cluster will be used

But if you manually create a SP the name would be different
az ad sp create-for-rbac --skip-assignment
The command to get a list of the service principals seems to be having issues as I ran it by itself and it still stalls. So that might be something unrelated.

@iainfoulds maybe we should mention how the service principal names work if you manually create them?

@mcollier any update on this?

Thanks @mcollier
I will assign to the author to review further
@iainfoulds can you take a look?

Looks like az ad sp delete --id $(az aks show -g myResourceGroup -n myAKSCluster --query servicePrincipalProfile.clientId -o tsv) would be a cleaner way to do this since there are naming differences between manually creating a service principal or letting the Azure CLI or then Azure portal create one. I'll update the doc accordingly.


Smartcard login results in IRP failure

Hey guys,
Been debugging this for a bit now to try and pin this down. During an attempt to log in while running 2.0.0-rc2 (or any other release), I get to the log-in screen on the target, but the smartcard log in option does not appear on the target, despite the reader visibly becoming active on the client machine.
OS is Arch Linux. Here's a uname output in case that helps:
hedge@blade ~/D/r/FreeRDP> uname -a
Linux blade 4.16.13-2-ARCH #1 SMP PREEMPT Fri Jun 1 18:46:11 UTC 2018 x86_64 GNU/Linux

I'm running freerdp with the following:
> ./client/X11/xfreerdp -sec-nla /smartcard:"Yubico Yubikey NEO CCID 00 00" /v:<IP_ADDRESS>

Which produces the following response in stdout:
[19:00:43:136] [18014:18015] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpdr
[19:00:43:136] [18014:18015] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpsnd
[19:00:43:136] [18014:18015] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr
[19:00:43:158] [18014:18015] [ERROR][com.winpr.timezone] - Unable to find a match for unix timezone: US/Eastern
[19:00:43:212] [18014:18015] [INFO][com.freerdp.gdi] - Local framebuffer format  PIXEL_FORMAT_BGRX32
[19:00:43:212] [18014:18015] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_RGB16
[19:00:43:241] [18014:18015] [INFO][com.winpr.clipboard] - initialized POSIX local file subsystem
[19:00:43:242] [18014:18024] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service smartcard [Yubico Yubikey NEO CCID 00 00] (static)
[19:00:43:421] [18014:18024] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: SCARD (type=32 id=1)
[19:00:43:484] [18014:18038] [WARN][com.freerdp.channels.smartcard.client] - IRP failure: SCardStatusW (0x000900CC), status: SCARD_E_INSUFFICIENT_BUFFER (0x80100008)

At this point, I get a session with the login screen on the target, but no option to log in w/ smartcard, and after closing the session I get:
[19:00:47:513] [18014:18015] [INFO][com.freerdp.client.x11] - Closed from X11
[19:00:47:513] [18014:18030] [WARN][com.freerdp.channels.smartcard.client] - IRP failure: SCardGetStatusChangeW (0x000900A4), status: SCARD_E_CANCELLED (0x80100002)
[19:00:47:514] [18014:18027] [ERROR][com.freerdp.channels.rdpdr.client] - pVirtualChannelWriteEx failed with CHANNEL_RC_BAD_CHANNEL_HANDLE [00000007]
[19:00:47:514] [18014:18027] [ERROR][com.freerdp.channels.smartcard.client] - smartcard_complete_irp failed with error 7!

In the interest of completeness, here's lsusb:
hedge@blade ~/D/r/FreeRDP> lsusb
***SNIP***
Bus 001 Device 012: ID 1050:0112 Yubico.com Yubikey NEO(-N) CCID
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

And here's the output from pcsc_scan:
hedge@blade ~/D/r/FreeRDP> pcsc_scan
Using reader plug'n play mechanism
Scanning present readers...
0: Yubico Yubikey NEO CCID 00 00

Sat Jun 16 19:10:21 2018
 Reader 0: Yubico Yubikey NEO CCID 00 00
  Card state: Card inserted,
  ATR: 3B FC 13 00 00 81 31 FE 15 59 75 62 69 6B 65 79 4E 45 4F 72 33 E1

ATR: 3B FC 13 00 00 81 31 FE 15 59 75 62 69 6B 65 79 4E 45 4F 72 33 E1
+ TS = 3B --> Direct Convention
+ T0 = FC, Y(1): 1111, K: 12 (historical bytes)
  TA(1) = 13 --> Fi=372, Di=4, 93 cycles/ETU
    43010 bits/s at 4 MHz, fMax for Fi = 5 MHz => 53763 bits/s
  TB(1) = 00 --> VPP is not electrically connected
  TC(1) = 00 --> Extra guard time: 0
  TD(1) = 81 --> Y(i+1) = 1000, Protocol T = 1
-----
  TD(2) = 31 --> Y(i+1) = 0011, Protocol T = 1
-----
  TA(3) = FE --> IFSC: 254
  TB(3) = 15 --> Block Waiting Integer: 1 - Character Waiting Integer: 5
+ Historical bytes: 59 75 62 69 6B 65 79 4E 45 4F 72 33
  Category indicator byte: 59 (proprietary format)
+ TCK = E1 (correct checksum)

Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
3B FC 13 00 00 81 31 FE 15 59 75 62 69 6B 65 79 4E 45 4F 72 33 E1
	YubiKey NEO (PKI)
	http://www.yubico.com/

Log with /log-level=trace and stdout + stderr redirected to log.txt is here:
log.txt
Let me know what other debugging information I can get and/or where to poke. For what its worth, I'm fully aware Arch makes this kind of thing weird and that the issue is potentially in an outside library, and I'm willing to experiment to fix this. Just want to not need to reboot into windows every time I need to do admin stuff on my NAS.

Should add that smartcard login works perfectly using the Windows RDP client, and I have this card provisioned etc.  Thanks!

@hedgeberg smartcard login with nla is not implemented.

@hedgeberg Currently smartcard is only enabled for redirection (so everything that does not authenticate before you see a screen)
to enable smartcard authentication you need to implement the sections in [MS-CSSP] (<IP_ADDRESS>.2 TSSmartCardCreds and others).
Don't know how hard it is to translate the tokens from pcsc-lite to something ms compatible.

Wouldn't it be possible to authenticate using smart card redirection after establishing securities? I.e. establish the connection without auths, bring up the login screen, then simulate a smart card plug-n-play event? At least as a workaround?
 I'm more of an embedded developer than an app/OS level dev, so I'm sure I'm going to end up asking more than a few dumb questions.
As is, -sec-nla with no /u or /d flags (see example in initial post, but without the /smartcard flag) brings up a login screen from which I can log in using password login without any prior request, but even with /smartcard enabled windows doesn't seem to detect it.
I'll take a look at the MS spec mentioned in the morning, and I'll ping a windows internals guy I know to see if I can get any background on how windows handles PIV tokens etc.

(side note, is there anywhere I can go to ask questions other than GitHub? I spent some time hanging out in #freerdp but it was pretty dead)

Note that I have a patch with smartcard logon via RDP working nicely on this branch: https://github.com/informatimago/FreeRDP/tree/smartcard-logon-test
I'm waiting on #4701 to be merged to make the PR.
Have a look at: https://github.com/informatimago/FreeRDP/wiki/smartcard-logon
I'm currently working on making smartcard logon work with NLA too.

My PR #3946 is still pending. Lot of work have been done since its opening. You can find a more recent branch here (last rebase from FreeRDP master dated to 17 august 2017) : https://github.com/dodo040/FreeRDP-smartcardlogon/commits/master).
But a rebase is needed to be up-to-date since significant changes on smartcard have been done in the master at the end of year 2017. I'll try to allocate time to work on this in the weeks (or months) to come.

@informatimago I'll give it a shot, but in your patch is the certificate transmitted in plaintext? does the connection remain plaintext/no security after initial response? Considering that PIV by nature is hardware-backed, this isn't a huge risk, but it does definitely leave me feeling a little queasy about the idea of remoting in to my home network with this.
@dodo040 got a summary on hand of what the changes in your branch vs. where it was rebased off of are? I can look at rebasing your fork later this week, if you're comfortable with that.

@hedgeberg indeed, currently only smartcard thru RDP is implemented. You may still use it on an encrypted VPN (ssh tunnel, etc).

@akallabeth forgive the nagging, when I run
xfreerdp -sec-nla /v:<IP_ADDRESS>

I get a login window without requiring username, password, or domain, and I can then log on from the Windows login prompt. However, with /smartcard added, I still don't see a smartcard sign-in option appear. My assumption was that smartcard traffic would be forwarded over the tunnel, meaning that, to windows, the smart card should appear as though i was plugged in and signing into the machine locally, no? Is smartcard forwarding completely disabled under /sec-nla? if so, this is extremely confusing, considering that xfreerdp queries a significant amount of information from the smartcard according to my pcscd logs.

@hedgeberg don't exactly know what has to be enabled on the windows server to allow smartcard redirection on the login screen, the tunnel needs a server side component enabled.
nla does authentication before establishing the connection, so you don't get a login screen.

Hi,
I have been following the smartcard login support related developments in FreeRDP for a while and would like to see it implemented in near future. So I set up a $100 bounty on Bountysource to encourage getting smartcard login with NLA support implemented in FreeRDP (and ideally, included in the 2.0.0 release version).
Feel free to join in as backer or as developer resolving the issue: https://www.bountysource.com/issues/59769663-smartcard-login-results-in-irp-failure
Bounty will be paid to developer who creates smartcard login with NLA support PR after it is merged to FreeRDP master branch and verified to be working.
I will use Debian 10 or macOS Mojave as FreeRDP client, Windows Server 2016 as RDP server and Yubikey NEO (PIV+opensc) as smartcard/usb token for verifying the implemented functionality.
If I underestand correctly, most of the work would be related to cleaning up https://github.com/FreeRDP/FreeRDP/pull/5195. Also, there is some related information in https://github.com/FreeRDP/FreeRDP/issues/3239
PS. not sure how/why FreeRDP repo issues are related to Remmina on Bountysource, maybe you can fix it as repo owners
with best regards,
Martin

#7620 implements NLA with smartcard, so closing older issues referring to that.


Update working-with-the-npm-registry.md

It should be lodash rather than @lodash. You can't install @lodash.

Why: Package name fix
Closes: I have not created an issue for it since it's only a one-letter change. If you can't accept this PR because there's no related issue, feel free to close the PR. Just trying to help out.

What's being changed (if available, include any code snippets, screenshots, or gifs):

Changed from @lodash to lodash, since @lodash is not the accurate name of the package.
Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline.

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[x] For content changes, I have completed the self-review checklist.

if then show


CB-5240 Refactor byName and byCrn methods in StackService, StackCommonService, StackOperations

Updated final PR: https://github.com/hortonworks/cloudbreak/pull/7194


chore!: migrate to cometbft fork

This ultimately changes the go.mod to using cometbft instead of tendermint which we will be using for the v0.37 release and is what the sdk depends on in v0.47

Yeah I'm aware of the broken links and am aware that in doing this quickly I have probably created a few broken links. I don't think this is problematic because I don't think there is anyone using our fork as a reference of some information (other than the ADRs).
I can use a link checker and go through and correct the places were I mistakenly changed the url in a different PR


Make the project zio.cli.sbt/sbt-zio-cli publishable by default

closes #203.
The package zio.cli.sbt/sbt-zio-cli is not currently published in maven. Somebody (other than me)  has to publish it.
This patch makes it such that sbt publish would include zio.cli.sbt/sbt-zio-cli by default. Otherwise, it can be published individually with sbt sbtZioCli/publish.
You can test this patch locally with sbt publishLocal, which would publish the artifacts to the folder ~/.ivy2/local/.
Regardless of this PR, someone with publishing credentials should publish this package.
/claim #203

I have pushed a fix for the CI failures. Would you please trigger the CI jobs again.
The issue was that the CI jobs were testing each project against each Scala version from 2.12, 2.13, and 3, but the sbt plugin could only be compiled with Scala version 2.12, which is what sbt version 1.* is itself compiled with.

Locally, linting is failing. I have fixed this in PR #208. After merging it, it should disappear, so maybe we should wait until merging #208.

@pablf that's right, I didn't notice. Unless #208 is merged first, the CI is going to fail again.

@pablf Cab you fix conflicts? 🙏

@jdegoes the conflicts have been resolved.


Translation update for v1.7.0

This is in preparation for the v1.5.0 App Store release

[x] German (Crowdin)
[ ] Danish (Crowdin)
[ ] Dutch (Crowdin)
[ ] French (Crowdin)
[ ] Polish (Crowdin

@PTST, @enbyted, @Christophe85, @JensTec can you help out here again?

I’m on vacation still, just came back to country today. I’ll look into those next week!
// If I forget please ping me on Friday or so.

FYI, I'm trying to translate, though lately I don't have a whole lot of time with 2 jobs and starting a non-profit :D
At any rate, I started the process, will try to complete this week

Translated, I left some questions, but should be fine for the most part

Sorry I don't see that Y had some work to do sine 1 month. I just translate and approuved all the French Translations. Sorry for the delay.

Hi Paul, Dutch is done as well.


Microsoft 365 learning pathways SharePoint WebPart won't load

PROVISIONING NOTE: If you are having issues with the SharePoint look book while trying to provision M365 learning pathways please do not post that issue to this repo as we cannot help you here. Please post all questions and issues for the SharePoint look book to SharePoint/sp-provisioning-service GitHub Issues List.

WEB PART NOT LOADING: If you are getting the error: "Microsoft 365 learning pathways has a configuration issue. Ask your administrator for assistance". Please review the Diagnosing Pre-Check guidance before submitting your bug.

Describe the bug
The page we have the WebPart on is no longer loading (it was performing successfully for many months prior)
The error code generated in console it:
custom-learning-web-part_4fc2df45795b191c799dbe64b0d6be53.js:26
   Message: TypeError: Cannot read properties of undefined (reading 'Telemetry') - CacheController (doInit)

To Reproduce
Simply navigating to the page to attempt to load the web part.
Expected behavior
Expect it to load successfully.
Screenshots

Learning Pathways version number
unknown
Additional context

Hi @PrimeGrp, thank you for reporting this issue. I'll need some more information to be able to assist you.

Is this issue happening for all users?
Is CustomLearningAdmin.aspx page is loading correctly?
Are you using any custom content pack?
Can you share the Learning Pathways version number?

Hello,
•	Is this issue happening for all users? Yes
•	Is CustomLearningAdmin.aspx page is loading correctly? No
•	Are you using any custom content pack? No
•	Can you share the Learning Pathways version number? Where do I locate this.

@PrimeGrp I'm looking into this as well. If the webpart isn't loading then you can get the version number from the app catalog where it was provisioned. I am curious, are there any other errors in the console other than the telemetry error you showed in the screen shot?

Hello,
Can you please advise how to look up the version number and/or can we set up a Teams meeting to help us get this accomplished?
Yes, but now on load it is spitting out different errors:
Failed to load resource: the server responded with a status of 404 ()
media.akamai.odsp.cdn.office.net/eastus1-mediap.svc.ms/transform/thumbnail?provider=url&inputFormat=svg&docid=https%3A%2F%2Fres-1.cdn.office.net%3A443%2Ffiles%2Fsp-client%2Ficn_card_designer_card_afb025ac9293b90e3915192b84c0e56d.svg&w=400:1
   Failed to load resource: the server responded with a status of 405 ()

custom-learning-web-part_4fc2df45795b191c799dbe64b0d6be53.js:26
   Message: TypeError: Cannot read properties of undefined (reading 'Telemetry') - CacheController (doInit)

e.log @ custom-learning-web-part_4fc2df45795b191c799dbe64b0d6be53.js:26

@PrimeGrp you can get the version number two ways.
If you can get the the admin page https://.sharepoint.com/sites/M365LP/SitePages/CustomLearningAdmin.aspx

If you can't get the admin screen you need to go to the app catalog where you installed learning pathways and search in that list for 365. You should see something like this.

Unfortunately, we don't offer one on one support. This is a community project and we don't have the ability to do that so all the support is here through GitHub.

Closed for inactivity. If you are still having issues please open a new issue and reference this one.


React.createClass is not a function. (In 'React.createClass', 'React.createClass' is undefined)

I have some trouble to use this module and I am getting error in react-native-response-image.js
My react native version is 0.49.3.
I think this module is not updated for latest react native version.
Could you kindly update this module?
Regards.

Hi,
I have the same problem. @reactionic127 Did you fixed this issue?

same issue here using  0.49.3

React 16 removed createClass.  This might help you: https://reactjs.org/blog/2017/04/07/react-v15.5.0.html#migrating-from-reactcreateclass

Looks like the issue is with react-native-responsive-image.  master was using an old dep.. just merged an update to master that updates the dep that should fix this.


Fix mouseUp action type after drag

change event from UIA.down to UIA.drop

Thank you @ichabodcole !


Correct encoding of PBSADA

Bit 28 should be set. Fixes https://github.com/riscv/riscv-p-spec/issues/30

Your fix is correct. Thanks.


Obtain latent samples from the initial samples

Hello!
Just trying to implement something similar here:
https://github.com/Kinyugo/consistency_models/blob/57812874a0e450bfba70727dd38864c5d1501644/consistency_models/consistency_models.py#L403
I don't really get how you'll be sure that it won't just be any random latent, cause this process is stochastic:
 # Obtain latent samples from the initial samples
  a = a + sigmas[0] * torch.randn_like(a)
  b = b + sigmas[0] * torch.randn_like(b)

I mean that if you have a batch of clean a, and you add sigmas[0] * torch.randn_like(a), and then denoise again, you won't have a or anything similar. Am I missing something ?

Given the amount of noise that you add you can get a really close sample. As well as obtain good interpolation results.


🚦 Change severity of the error messages

This adds a error_rules to the project configuration, which can be used to disable logging rules in the CLI.

@fwkoch thanks for the pair-programming to go through this. We addressed all the comments in the PR now I think, I have also gone through and updated all failing links.


Plugin produces non critical error

When running the SonarLint plugin the following error is produced.
> Task :...:sonarlintMain
Errors occurred while build effective model from /home/meijer/.gradle/caches/modules-2/files-2.1/org.eclipse.platform/org.eclipse.equinox.preferences/3.10.100/43fe3c49d5a6a30090b7081015e4a57bd0a6cb98/org.eclipse.equinox.preferences-3.10.100.pom:
        'modelVersion' must be one of [4.0.0] but is '4.0'. in org.eclipse.platform:org.eclipse.equinox.preferences:3.10.100
Errors occurred while build effective model from /home/meijer/.gradle/caches/modules-2/files-2.1/org.eclipse.platform/org.eclipse.core.contenttype/3.8.200/e2fdb068262514474d73f236adaa821d9c861786/org.eclipse.core.contenttype-3.8.200.pom:
        'modelVersion' must be one of [4.0.0] but is '4.0'. in org.eclipse.platform:org.eclipse.core.contenttype:3.8.200

When running ./gradlew dependencies  you can see this is a problem in a transitive dependency from SonarLint core. Any ideas about a fix? This probably needs to fixed upstream, but I guess this issue can be used simply for a version bump for SonarLint core.

@Meijuh, a patch version of this plugin is automatically released when SonarLint artifacts get updated. There is some delay for such automatic releases, like 2-3 weeks, though.
To be honest, I don't think it's possible to do anything on this plugin's side. These Eclipse artifacts seem to have incorrect POMs.
Is there anything I can help with?

I could raise an issue upstream. Do you know where I should do that?

We have two options here:

Raise an issue somewhere in Eclipse project, and then, when POMs are fixed, raise another issue in SonarLint
Raise an issue in SonarLint asking to use other versions of Eclipse dependencies

I suppose the second option is easier. Unfortunately, I don't know where bug trackers of these projects are.

@Meijuh by the way, what Gradle and name.remal.sonarlint versions are you using? I'm asking because name.remal.sonarlint validates itself with the latest published version, and I can't see this warning. Maybe, I'm just missing something

I am using Gradle 7.5.1 and name.remal.sonarlint  3.0.3. However, this sonar plugin is not the only plugin I am using. I thought maybe that another plugin could override the eclipse pom version that this plugin requires. But running ./gradlew buildEnvironment does not even list the eclipse jar as a dependency for name.remal.sonarlint. This is a bit strange unless sonarlint is using a shadow jar?

Do you use Spring's dependency management Gradle plugin? If yes, could you please check that it isn't related to issues like https://github.com/gradle/gradle/issues/15339 or https://github.com/spring-gradle-plugins/dependency-management-plugin/issues/186?

This issue was originally reported at https://github.com/eclipse-platform/eclipse.platform/issues/180
I submitted a PR to the sonar project at https://github.com/SonarSource/sonar-java/pull/4421 to update the dependencies to fix this issue, so we need them to merge the PR and make a new release.
This project could override the offending dependency versions as a workaround until that release is made.

@candrews, I could make the project override dependency versions. However, I'm simply afraid that something can get broken.
My suggestions are:

Check if you use the latest version of name.remal.sonarlint plugin. If you don't, please try to update.
If the plugin update doesn't help, please create a minimal reproduction. I'm asking because I use this plugin myself and don't see these warnings. I assume that some other Gradle plugin interferes.
As a last resort, I can override dependencies. To do that, I'll need:

Full list of dependencies to override.
Versions that should be overridden and target versions. Please prefer patch updates.
Changelogs for the dependencies. I'd like to minimize risks as much as possible.

The problem is that Spring's Dependency management plugin sees the invalid pom in the dependency tree and errors out, as you noticed in https://github.com/remal-gradle-plugins/sonarlint/issues/79#issuecomment-1412985499
Here's a minimal reproducer:
repositories {
  gradlePluginPortal()
  mavenCentral()
}

plugins {
  id("io.spring.dependency-management") version "1.1.2"
  id("java")
}

dependencies {
  implementation("org.sonarsource.java:sonar-java-plugin:<IP_ADDRESS>918")
}

To workaround the issue, one can add this:
dependencyManagement {
    // workaround for https://github.com/spring-gradle-plugins/dependency-management-plugin/issues/365
    applyMavenExclusions = false
}

It sure would be nice to not have to use that workaround, but maybe there's nothing that can or should be done in your plugin :shrug:

I tried implementing a workaround but failed. Not sure if it's possible to fix this on my end. Any suggestions are welcome!

Hello @candrews,
I found a potential way to fix this. Is it still reproducible with the latest version of the plugin?
If yes, could you please create a minimal reproduction? What task should be executed? I'm asking because I couldn't reproduce it.

Hello @candrews,
I found a potential way to fix this. Is it still reproducible with the latest version of the plugin?
If yes, could you please create a minimal reproduction? What task should be executed? I'm asking because I couldn't reproduce it.

I can still reproduce it with version 3.3.5 of this project.
You can find a full example project that reproduces the issue at https://github.com/candrews/jumpstart/pull/986 The GitHub Actions CI shows the error output. If you clone that project and grab that commit, ./gradlew build with show the problem. Hopefully that's sufficiently minimal and detailed to provide you with the information you need.
The error is:
> Task :sonarlintMain FAILED
Errors occurred while build effective model from /home/runner/.gradle/caches/modules-2/files-2.1/org.eclipse.platform/org.eclipse.equinox.preferences/3.10.100/43fe3c49d5a6a30090b7081015e4a57bd0a6cb98/org.eclipse.equinox.preferences-3.10.100.pom:
Errors occurred while build effective model from /home/runner/.gradle/caches/modules-2/files-2.1/org.eclipse.platform/org.eclipse.core.contenttype/3.8.200/e2fdb068262514474d73f236adaa821d9c861786/org.eclipse.core.contenttype-3.8.200.pom:

https://github.com/candrews/jumpstart/actions/runs/5802462920/job/15728888552?pr=986#step:10:287

@Meijuh, @candrews, fixed in v3.3.6.

@Meijuh, @candrews, fixed in v3.3.6.

I'm not so sure... It appears a dependency is missing:
> Could not resolve all files for configuration ':sonarlintCoreClasspath'.
   > Did not resolve 'org.ow2.asm:asm:9.0' which is part of the dependency lock state

https://github.com/candrews/jumpstart/actions/runs/5814995983/job/15765736101?pr=986#step:10:293

Sorry, but I couldn't reproduce it locally. Without local reproduction, I can't debug and fit it. Can you create a minimal reproduction?

@remal for me, the fix is working and the error messages are gone.
@candrews could it be you need to update the lock state first? Something like running ./gradlew buildEnvironment --write-locks before running ./gradlew build?

@Meijuh, thanks for the confirmation. Closing the issue.
@candrews, it's hard to say what exactly went wrong in your repo because I couldn't reproduce it locally. Please open another issue with minimal reproduction.


ELT body having issues if column name contains dot (For example: a.a)

Thanks for raising this issue. If you are still struggling please reopen with me details but for now I'm going to close due to its age and lack of information.


Support to download/upload circuits.

Is your feature request related to a problem? Please describe.
Save offline button stores the circuit data on the localStorage of the browser. The user's circuit is lost if the user clears browsing data.
Describe the solution you'd like
A file should be download to the user's local PC, which the user could upload to the simulator again. By this, the user could also share their circuits without making them public by sharing that file.
Are you working on this? (Yes/No)
Yes, waiting for mentors approval @satu0king

This one of the feature we wanted with Desktop app. So the downloaded file need to be compatible with Desktop version as well. Also, when we allow file upload more restrictions like file size need to in place

Desktop App has already integrated this feature. It uses *.json format to store files locally, so I would move forward with .json format for the WebApp to make it compatible both ways. What should be the max file size uploading limit?

You can set limit as 5MB for now

hay @pranay-simejia are you still working on this issue ?
Can i take up this issue .


valine not working

Set up in /root/layouts/partials/valien.html as well as in /root/config/_default/params.toml
All selected "true" or enable. but there is no visitor numbers on any pages.
Any ideas?
Your theme is awesome, BTW

Did you set the params below to yours?
...
[valine]
  enable = false
  appId = '你的appId'
  appKey = '你的appKey'
  notify = false  # mail notifier , https://github.com/xCss/Valine/wiki
  verify = false # Verification code
  avatar = 'mm'
  placeholder = '说点什么吧...'
  visitor = false
...

It’s working on my end. Feel free to reopen this issue If it’s still not working on your end.


strconv.ParseInt: parsing "18446744073709551615": value out of range

After upgrading prometheus/procfs from 0.6.0 to 0.7.0 the process_cpu_seconds_total, process_virtual_memory_bytes and process_resident_memory_bytes metrics from prometheus/client_golang were no longer outputted.
We have a Go service running in a Docker container.
Using the ReportErrors option from ProcessCollectorOpts I was able to display the error.
prometheus.MustRegister(prometheus.NewProcessCollector(prometheus.ProcessCollectorOpts{ReportErrors: true, Namespace: "test_"}))

Scraping the metrics gave:
An error has occurred while serving metrics:

strconv.ParseInt: parsing "18446744073709551615": value out of range

This is the maximum value of a uint64
The /proc/1/stat file contents:
# cat /proc/1/stat
1 (service) S 0 1 1 0 -1<PHONE_NUMBER> 4345 0 1 0 13 17 0 0 20 0 5 0 346180303 732237824 2193<PHONE_NUMBER>3709551615 4194304 9876697<PHONE_NUMBER>07232<PHONE_NUMBER>05984 4665027 0 0 0<PHONE_NUMBER><PHONE_NUMBER>3709551615 0 0 17 4 0 0 1 0 0 14888960 15220704 24559616<PHONE_NUMBER>12712<PHONE_NUMBER>12721<PHONE_NUMBER>12721<PHONE_NUMBER>12879 0

This is parsed in proc_stat.go -> Stat()
The value<PHONE_NUMBER>3709551615 occurs twice. On position 23 and 33.
Position 33 is written into ignored which is defined as an int. A value as large as<PHONE_NUMBER>3709551615 cannot be read into an int datatype and this causes the error: strconv.ParseInt: parsing "18446744073709551615": value out of range
Possible solution: change the datatype of ignored from int to uint64?

Some extra information.
The /proc/<pid>/stat format is defined here: https://man7.org/linux/man-pages/man5/proc.5.html
All fields are listed there with their proper scanf format (https://man7.org/linux/man-pages/man3/scanf.3.html)
The 25th and 35th element are defined as:
              (25) rsslim  %lu
                     Current soft limit in bytes on the rss of the
                     process; see the description of RLIMIT_RSS in
                     getrlimit(2).
---

              (35) wchan  %lu  [PT]
                     This is the "channel" in which the process is
                     waiting.  It is the address of a location in the
                     kernel where the process is sleeping.  The
                     corresponding symbolic name can be found in
                     /proc/[pid]/wchan.

l - Indicates either that the conversion will be one of d, i, o, u, x, X, or n and the next pointer is a pointer to a long or unsigned long (rather than int)
u - Matches an unsigned decimal integer; the next pointer must be a pointer to unsigned int.
So lu would become an unsigned long
This would lead me to assume that the proposed solution would be correct.

Noticed the same issue with parsing /proc/[pid]/stat on some machines:
strconv.ParseInt: parsing \"18446744073709551615\": value out of range

It happened on parsing the following stat file:
29977 (test)  S 15396 29977 15396 34818  29977<PHONE_NUMBER> 4995      0         0    0    77      241    0      0      20 0  24 0<PHONE_NUMBER><PHONE_NUMBER> 2552<PHONE_NUMBER>3709551615 4194304 8586288<PHONE_NUMBER>03184<PHONE_NUMBER>02680 465270 7  0<PHONE_NUMBER> 0<PHONE_NUMBER><PHONE_NUMBER>3709551615 0  0  17 17 0  0  0  0  0  12419072 12726432 42594304<PHONE_NUMBER>07380<PHONE_NUMBER>07391<PHONE_NUMBER>07391<PHONE_NUMBER>09453 0

The code that I used to build that test program is this (the last error check fires):
	pid := os.Getpid()
	proc, err := procfs.NewProc(pid)
	if err != nil {
		logrus.WithField("pid", pid).WithError(err).Error("cannot get proc for the current process")
		return
	}

	stat, err := proc.Stat()
	if err != nil {
		logrus.WithField("pid", pid).WithError(err).Error("cannot get proc stat for the current process")
		return
	}

The test program is run on the following kernel:
# uname -a
Linux example.com 3.10.0-1062.18.1.el7.x86_64 #1 SMP Tue Mar 17 23:49:17 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

On kernels with version 5.10 all works fine (what a relief).

But we cannot just replace the int type for the ignored variable with the uint64 type because this variable is also used for the field 21:
              (21) itrealvalue  %ld

that means signed long. The code should have different ignored variables for different fields, I guess.

I'll prepare PR.

I agree, multiple ignored variables with different datatypes would be appropriate.

@gdejong thank you for the links right here.
Please, review the PR and maybe it will be merged soon. Thanks.


Don't install DCGM if the driver has been blacklisted

If the sysadmin wants to pass the gpu to a virtual instance via pci
passthrough, they will need to make the gpu unavailable to the host
system by blacklisting the kernel driver. On such a system DCGM would
not be able to function and should therefore not be deployed.
This commit makes the NVIDIA gpu verifier more strict by only marking
DCGM as an available tool if both an NVIDIA gpu is detected and the
kernel module is not blacklisted.
Fixes: #362
Testing setup
Given a server with an NVIDIA gpu, drivers installed, and modules blacklisted via modprobe:
$ cat /etc/modprobe.d/blacklist-nvidia.conf
blacklist nvidia
blacklist nvidiafb
blacklist nouveau
blacklist nvidia_drm

Following the dev-environment.md file, set up a local controller deploy the current stable charm (rev 128), setting up resources and disabling redfish as necessary.
This will install DCGM and reproduce the bug:
$ juju status
Model   Controller      Cloud/Region         Version  SLA          Timestamp
hw-obs  lxd-controller  localhost/localhost  3.6.0    unsupported  20:01:44Z

App                Version  Status   Scale  Charm              Channel        Rev  Exposed  Message
grafana-agent               blocked      1  grafana-agent      latest/stable  223  no       Missing ['grafana-cloud-config']|['grafana-dashboards-provider']|['logging-consumer']|['send-remote-write'] for cos-a...
hardware-observer           blocked      1  hardware-observer  latest/stable  128  no       Failed to communicate with NVIDIA driver. See more details in the logs
ubuntu             22.04    active       1  ubuntu             latest/stable   25  no

Unit                    Workload  Agent  Machine  Public address  Ports  Message
ubuntu/0*               active    idle   0        <IP_ADDRESS>
  grafana-agent/0*      blocked   idle            <IP_ADDRESS>           Missing ['grafana-cloud-config']|['grafana-dashboards-provider']|['logging-consumer']|['send-remote-write'] for cos-a...
  hardware-observer/3*  blocked   idle            <IP_ADDRESS>           Failed to communicate with NVIDIA driver. See more details in the logs

Machine  State    Address       Inst id              Base          AZ  Message
0        started  <IP_ADDRESS>  manual:<IP_ADDRESS><EMAIL_ADDRESS>    Manually provisioned machine

Next pack the charm from this commit, scp it to the server, and install it:
$ juju refresh --switch ./hardware-observer_ubuntu-24.04-amd64_ubuntu-22.04-amd64_ubuntu-20.04-amd64.charm  hardware-observer

Expected result:

DCGM is removed
the nvidia driver remains not loaded
charm goes to active idle

not merging yet because manual tests show that updating to this charm version forces the driver to be installed and loaded, despite the blacklisting

one possible hacky way to handle the upgrade issue would be to do something like this in _on_install_or_upgrade:
if HWTool.DCGM in self.stored_tools and not nvidia_gpu_verifier():
    self.stored_tools.remove(HWTool.DCGM)

(basically a gpu-specific hardware redetection round)

one possible hacky way to handle the upgrade issue would be to do something like this in _on_install_or_upgrade

Need to be very careful about this proposal. This somehow means run the detect function every time when hook is triggered.

not merging yet because manual tests show that updating to this charm version forces the driver to be installed and loaded, despite the blacklisting

I believe this issue occurs because the list of HWTool included the GPU prior to the upgrade.
It’s a bit of a chicken-and-egg problem—you’ll need a way to clean the local state to prevent this from happening.
New deployed unit won't encounter this.
I have couple proposals:

Ask people to redeploy the juju unit. Since the origin issue is a edge case and new deployment won't encounter this after merging. It can be a lowest effort option for us.
Provide --clean-resource argument to the re-detect action, which will remove the unused resource on the machine. User encounter this issue can be simple fixed by running the action.
Run re-detect every time on install/upgrade hook, this may be lowest priority option since changing the life-cycle make it become more not stable.

Drive by comment: how expensive is it to detect the tools? Perhaps we can build the tools list on every charm hook, rather than using stored state?

Drive by comment: how expensive is it to detect the tools? Perhaps we can build the tools list on every charm hook, rather than using stored state?

We did this in the past and encounter an issue that some unstable hardware just you different result every time you run re-detect. I will suggestion not dig into the same hole again.

ok, I've tested that at least the upgrade scenario from rev 84 (pre-dcgm) works fine. Further cleanups would require changing how and when we do hw redetection, which is a much bigger endeavor than this change


bug: Double scrollbar in the user manual section.

Bug Definition
The instruction manual part is double scrollbars
discord username: alicangunduz#0001
## Bug environment
https://musahit-harita-frontend.vercel.app/
Describe how you are producing the bug step by step

Go to https://musahit-harita-frontend.vercel.app/
Open the user manual.

Expected Behaviour
Single scrollbar
Screen shots

Since user manual section had updated this bug will not occur now in the stage. Because of that i'm closing the issue.
If the error still persists, we can reopen the issue.


Trouble on Installation

Hi,
im new to Mqtt, sorry for basic question…
I installed mosquitto and your add-on.
In your config, i left The First Field emoty since it is mosquitto, as you mentioned there,
First, I enabled “scan”, in the log tab my AC200M was shown after start. I copied the MAC address from there to config-tap.
But every time I start the add on, I get
21:56:22] INFO: Reading configuration settings... [21:56:24] INFO: Starting bluetti-mqtt... Could not find the given devices to connect to 2023-03-08 21:56:32 ERROR    Crashing with uncaught exception: Traceback (most recent call last):   File "/usr/local/lib/python3.10/site-packages/bluetti_mqtt/server_cli.py", line 87, in start
What did I do wrong?

Meanwhile I realised, that I need to enter mosquitto host and port in the configuration, unless there is said, you don’t need to. After entering both it went further but came to another error. any idea?
WARNING Could not determine BlueZ version, bluetoothctl not available, assuming 5.51+

That's not an error.  Please post the entire log output from start to finish.  What system are you running home assistant on?

Thanks for response. Here is the full log.
Home Assistant is running on a Rasperry Pi, with this version:
Home Assistant 2023.3.4
Supervisor 2023.03.1
Operating System 9.5
Frontend 20230309.0 - latest
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/00-banner.sh
Add-on: Bluetti to MQTT
MQTT bridge between Bluetti and Home Assistant
Add-on version: 1.2.1
You are running the latest version of this add-on.
System: Home Assistant OS 9.5  (aarch64 / raspberrypi4-64)
Home Assistant Core: 2023.3.4
Home Assistant Supervisor: 2023.03.1
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
cont-init: info: /etc/cont-init.d/00-banner.sh exited 0
cont-init: info: running /etc/cont-init.d/01-log-level.sh
cont-init: info: /etc/cont-init.d/01-log-level.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[17:41:40] INFO: Reading configuration settings...
[17:41:42] INFO: Starting bluetti-mqtt...
2023-03-14 17:41:50 INFO     Connecting to MQTT broker...
2023-03-14 17:41:50 INFO     Starting to poll clients...
2023-03-14 17:41:50 INFO     Connecting to clients: ['E4:00:00:48:FC:F4']
2023-03-14 17:41:50 WARNING  Could not determine BlueZ version, bluetoothctl not available, assuming 5.51+
2023-03-14 17:41:51 INFO     Connected to MQTT broker
2023-03-14 17:41:51 INFO     Sent discovery message of AC200M-2243002190757 to Home Assistant
2023-03-14 17:41:51 WARNING  filtered_messages() is deprecated and will be removed in a future version. Use messages() together with Topic.matches() instead.
2023-03-14 17:42:10 ERROR    Error connecting to device E4:00:00:48:FC:F4:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/client.py", line 172, in connect
reply = await self._bus.call(
File "/usr/local/lib/python3.10/site-packages/dbus_fast/aio/message_bus.py", line 371, in call
await future
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/bluetti_mqtt/bluetooth/client.py", line 40, in run
await self.client.connect()
File "/usr/local/lib/python3.10/site-packages/bleak/init.py", line 471, in connect
return await self._backend.connect(**kwargs)
File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/client.py", line 171, in connect
async with async_timeout.timeout(timeout):
File "/usr/local/lib/python3.10/site-packages/async_timeout/init.py", line 129, in aexit
self._do_exit(exc_type)
File "/usr/local/lib/python3.10/site-packages/async_timeout/init.py", line 212, in _do_exit
raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError
2023-03-14 17:42:11 INFO     Retrying connection to E4:00:00:48:FC:F4
2023-03-14 17:42:24 ERROR    Error connecting to device E4:00:00:48:FC:F4:

Please update to version 1.3.0.  I added the bluez package to the image.

So great, thank you! I'ts working now!
Actually, there is still something wrong - here is the log. But after one or another login attempt, it's working!
Here is the latest log:
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/00-banner.sh
Add-on: Bluetti to MQTT
MQTT bridge between Bluetti and Home Assistant
Add-on version: 1.3.0
You are running the latest version of this add-on.
System: Home Assistant OS 9.5  (aarch64 / raspberrypi4-64)
Home Assistant Core: 2023.3.4
Home Assistant Supervisor: 2023.03.1
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
cont-init: info: /etc/cont-init.d/00-banner.sh exited 0
cont-init: info: running /etc/cont-init.d/01-log-level.sh
cont-init: info: /etc/cont-init.d/01-log-level.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[18:19:10] INFO: Reading configuration settings...
[18:19:13] INFO: Starting bluetti-mqtt...
2023-03-15 18:19:21 INFO     Connecting to MQTT broker...
2023-03-15 18:19:21 INFO     Starting to poll clients...
2023-03-15 18:19:21 INFO     Connecting to clients: ['E4:00:00:48:FC:F4']
2023-03-15 18:19:22 INFO     Connected to MQTT broker
2023-03-15 18:19:22 INFO     Sent discovery message of AC200M-2243002190757 to Home Assistant
2023-03-15 18:19:22 WARNING  filtered_messages() is deprecated and will be removed in a future version. Use messages() together with Topic.matches() instead.
2023-03-15 18:19:37 ERROR    Error connecting to device E4:00:00:48:FC:F4:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/client.py", line 172, in connect
reply = await self._bus.call(
File "/usr/local/lib/python3.10/site-packages/dbus_fast/aio/message_bus.py", line 371, in call
await future
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/bluetti_mqtt/bluetooth/client.py", line 40, in run
await self.client.connect()
File "/usr/local/lib/python3.10/site-packages/bleak/init.py", line 471, in connect
return await self._backend.connect(**kwargs)
File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/client.py", line 171, in connect
async with async_timeout.timeout(timeout):
File "/usr/local/lib/python3.10/site-packages/async_timeout/init.py", line 129, in aexit
self._do_exit(exc_type)
File "/usr/local/lib/python3.10/site-packages/async_timeout/init.py", line 212, in _do_exit
raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError
2023-03-15 18:19:38 INFO     Retrying connection to E4:00:00:48:FC:F4
2023-03-15 18:19:50 ERROR    Error connecting to device E4:00:00:48:FC:F4:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/client.py", line 172, in connect
reply = await self._bus.call(
File "/usr/local/lib/python3.10/site-packages/dbus_fast/aio/message_bus.py", line 371, in call
await future
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/bluetti_mqtt/bluetooth/client.py", line 40, in run
await self.client.connect()
File "/usr/local/lib/python3.10/site-packages/bleak/init.py", line 471, in connect
return await self._backend.connect(**kwargs)
File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/client.py", line 171, in connect
async with async_timeout.timeout(timeout):
File "/usr/local/lib/python3.10/site-packages/async_timeout/init.py", line 129, in aexit
self._do_exit(exc_type)
File "/usr/local/lib/python3.10/site-packages/async_timeout/init.py", line 212, in _do_exit
raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError
2023-03-15 18:19:51 INFO     Retrying connection to E4:00:00:48:FC:F4
2023-03-15 18:19:56 INFO     Connected to device: E4:00:00:48:FC:F4

Do you have some way to give a donation for your work?

Actually, there is still something wrong - here is the log. But after one or another login attempt, it's working!

If you enable Debug mode in the configuration tab it will display the RSSI in the log tab.  Device might have poor signal strength.

Do you have some way to give a donation for your work?

Not at this time

I have had issues connecting and found for me,  do not use app on phone prior to trying to connect and unbind bluetti device if logged in via the app on phone, then restart bluetti device that may help with connection issues.


[bars] fix sort numeric bar on x axis

When series name in distribution bar chart happen to be numeric, they sort alphabetically. Note that nvd3 only plays nicely with series name as string, that's the reason why we cast them as strings in the backend.
With this fix, we attempt casting strings to numbers in order to sort them properly if they happen to be numeric.
Bonus: added some unit tests for some other functions in modules/utils

nice! 🚢


WIP: twig node migration

Starting with Twig 3.9.0, Nodes using "echo" or "print" are deprecated and should use "yield":
ref. https://github.com/twigphp/Twig/commit/0990f81500ef578225df6a22879ca25481bd26a4

@jaxwilko can you merge develop into wip-laravel-11 so that this diff is useful?

@LukeTowers i did, don't think github realised tho

@mjauvin what's left to resolve here?

@mjauvin what's left to resolve here?

Our custom nodes still need to be fixed for twig 4.x

Do they work with the latest Twig 3 @mjauvin? If so then we can wait to migrate to Twig 4 for v1.3 of Winter

Do they work with the latest Twig 3 @mjauvin?


Network Does not Connect on Power-on

Hi,
I  have an issue that when when i provision an instance using test-kitchen, the instance gets created but the network is not connection. So if i login ad enable the "connect on Power on" and "Connect" the converge continues and works.
I use vmware vCenter 6 and ESXi 6.
here is my .kitchen.yml:
---
driver_plugin: vsphere
driver_config:
  driver_options:
    host: <%= ENV['VMWARE_HOST'] %>
    user: <%= ENV['VMWARE_USER'] %>
    password: <%= ENV['VMWARE_PASS'] %>
    insecure: true
  machine_options:
    start_timeout: 600
    create_timeout: 600
    ready_timeout: 90
    bootstrap_options:
      use_linked_clone: true
      datacenter: 'MyDATACENTER'
      template_name: 'UBUNTU14'
      template_folder: 'Templates'
      vm_folder: 'TEST'
      num_cpus: 2
      network_name: ["vlan12345"]
      memory_mb: 4096
      resource_pool: 'MyVMCluster'
      ssh:
        user: someuser
        paranoid: false
        password: somepassword
        port: 22
      convergence_options:
      customization_spec:
        domain: somedonain.loc
        ipsettings:
          dnsServerList:
            - <IP_ADDRESS>
            - <IP_ADDRESS>

provisioner:
  name: chef_zero
  cookbooks_path: "test/fixtures/cookbooks"
  environments_path: "test/fixtures/environments"
  client_rb:
      environment: cheftest

platforms:
  - name: ubuntu-14.04

suites:
  - name: default
    run_list:
      - recipe[some_cookbook::recipe]
    attributes:

And here is the kitchen output:
$ kitchen converge -l debug
-----> Starting Kitchen (v1.5.0)
D      Berksfile found at /Users/MYUSER/source/some_cookbook/Berksfile, loading Berkshelf
D      Berkshelf 4.2.1 library loaded
D      Berksfile found at /Users/SOMEUSER/source/some_cookbook/Berksfile, loading Berkshelf
D      Berkshelf 4.2.1 previously loaded
-----> Creating <oracle-8-ubuntu-1404>...
[2016-03-22T17:37:46-07:00] WARN: No cookbooks directory found at or above current directory.  Assuming /Users/SOMEUSER/source/some_cookbook.
creating machine default-ubuntu-1404-55c7f3f3 on vsphere://MYVCENTER/sdk?use_ssl=true&insecure=true
  use_linked_clone: true
  datacenter: "MyDATACENTER"
  template_name: "UBUNTU14"
  template_folder: "Templates"
  vm_folder: "TEST"
  num_cpus: 2
  network_name: ["vlan12345"]
  memory_mb: 4096
  resource_pool: "MyVMCluster"
  ssh: {:user=>"some_user", :paranoid=>false, :password=>"some_password", :port=>22}
  convergence_options: nil
  customization_spec: {:domain=>"somedomain.loc", :ipsettings=>{:dnsServerList=>["<IP_ADDRESS>", "<IP_ADDRESS>"]}}
establishing connection to MYVCENTER
[2016-03-22T17:37:46-07:00] WARN: Using a VM Template, ignoring use_linked_clone.
finding networks...
network: vlan12345 is a Network
changing template nic for vlan12345
customizing default-ubuntu-1404-55c7f3f3 with /
              dynamic IP and DNS: ["<IP_ADDRESS>", "<IP_ADDRESS>"]
 Machine - created - oracle-8-ubuntu-1404-55c7f3f3 (50198e29-e440-caa5-5f64-70ade3a070c6 on vsphere://MYVCENTER/sdk?use_ssl=true&insecure=true)
Power on VM [TEST/default-ubuntu-1404-55c7f3f3]
waiting for default-ubuntu-1404-55c7f3f3 (50198e29-e440-caa5-5f64-70ade3a070c6 on vsphere://MYVCENTER/sdk?use_ssl=true&insecure=true) to be ready ...
.........................................................................................

At this point, it is just waiting for the VM to get networking. When i check VMWare instance i do not see the network is connected :

Any thoughts ?
My goal is to use vsphere for Kitchen to spin up instances and run the test and destroy afterward.

This sounds oddly familiar. Its been a while now since I have used this driver but you might check your VM template. I think you will have this problem if these items are not checked there.

@mwrock  Thank you for quick response.
That was the first thing i thought and checked. It is enabled.
Is there an option in the bootstrap section to override and tell it to enable?

No it should do that on its own. The other thing I'd suggest is try cloning it purely using your vsphere client (without chef provisioning) and see if that sets them.

When i do a full clone in vCenter, the options are enabled. When i do with kitchen using the chef-provisioning-vsphere  it is not there.

@mwrock
I did a bit more digging and found the issue.
The problem was that when i built my VM, i installed Open-VM-Tools on the system, however, when the machine boots up and there is no network it waits for abount 180 seconds to bootup without network. As soon as the instance boots up without the network and open-vm tools daemon starts it gets the system connected and works.
So what i did, i reduced the sleep time in /etc/init/failsafe (i use Ubuntu 14.04 LTS)  and now it just works. Just make sure OpenVM tools installed is from VMWare repo.
Thank you for your help.

Glad to hear you got to the bottom of it!


refactor: [Entrypoint 0.7 SDK] make EP version generic backwards compatible and remove in places

Pull Request Checklist

[ ] Did you add new tests and confirm existing tests pass? (yarn test)
[ ] Did you update relevant docs? (docs are found in the site folder, and guidelines for updating/adding docs can be found in the contribution guide)
[ ] Do your commits follow the Conventional Commits standard?
[ ] Does your PR title also follow the Conventional Commits standard?
[ ] If you have a breaking change, is it correctly reflected in your commit message? (e.g. feat!: breaking change)
[ ] Did you run lint (yarn lint:check) and fix any issues? (yarn lint:write)
[ ] Did you follow the contribution guidelines?

PR-Codex overview
The focus of this PR is to update dependencies, refine type definitions, and streamline client interfaces.
Detailed summary

Added @alchemy/aa-core dependency
Updated type definitions in various files
Refactored client interfaces for consistency

The following files were skipped due to too many changes: packages/core/src/actions/smartAccount/signMessageWith6492.ts, packages/alchemy/src/client/decorators/alchemyEnhancedApis.ts, packages/accounts/plugingen/phases/plugin-actions/management-actions.ts, packages/accounts/src/nani-account/account.ts, packages/accounts/src/msca/plugins/session-key/utils.ts, packages/ethers/src/account-signer.ts, packages/core/src/middleware/types.ts, packages/core/src/actions/smartAccount/signTypedDataWith6492.ts, packages/alchemy/src/client/isAlchemySmartAccountClient.ts, packages/core/src/account/schema.ts, packages/alchemy/src/actions/simulateUserOperationChanges.ts, packages/core/src/actions/smartAccount/checkGasSponsorshipEligibility.ts, packages/core/src/actions/smartAccount/upgradeAccount.ts, packages/core/src/actions/smartAccount/sendTransactions.ts, packages/core/src/actions/smartAccount/signMessage.ts, packages/accounts/plugingen/phases/plugin-actions/read-actions.ts, packages/alchemy/src/client/types.ts, packages/alchemy/src/client/decorators/smartAccount.ts, packages/accounts/src/light-account/decorator.ts, packages/core/src/actions/smartAccount/signTypedData.ts, packages/core/src/actions/smartAccount/dropAndReplaceUserOperation.ts, packages/core/src/account/base.ts, packages/core/src/actions/smartAccount/internal/sendUserOperation.ts, packages/core/src/client/isSmartAccountClient.ts, packages/accounts/src/msca/plugin-manager/decorator.ts, packages/core/src/actions/smartAccount/sendUserOperation.ts, packages/core/src/middleware/actions.ts, packages/core/src/actions/smartAccount/sendTransaction.ts, packages/core/src/actions/smartAccount/signUserOperation.ts, packages/accounts/src/light-account/actions/transferOwnership.ts, packages/core/src/account/types.ts, packages/core/src/actions/smartAccount/buildUserOperationFromTxs.ts, packages/accounts/src/msca/plugin-manager/uninstallPlugin.ts, packages/ethers/src/provider-adapter.ts, packages/alchemy/src/client/lightAccountClient.ts, packages/core/src/actions/smartAccount/buildUserOperation.ts, packages/core/src/actions/smartAccount/internal/runMiddlewareStack.ts, packages/core/src/actions/smartAccount/buildUserOperationFromTx.ts, packages/accounts/src/msca/utils.ts, packages/alchemy/src/client/internal/smartAccountClientFromRpc.ts, packages/accounts/src/msca/plugin-manager/installPlugin.ts, packages/alchemy/src/client/modularAccountClient.ts, packages/alchemy/src/middleware/gasManager.ts, packages/accounts/src/msca/client.ts, packages/core/src/client/bundlerClient.ts, packages/accounts/src/msca/account-loupe/decorator.ts, packages/accounts/src/light-account/client.ts, packages/core/src/client/decorators/bundlerClient.ts, packages/accounts/plugingen/phases/plugin-actions/index.ts, packages/core/src/actions/smartAccount/types.ts, packages/alchemy/src/client/smartAccountClient.ts, packages/accounts/src/msca/plugins/multi-owner/extension.ts, packages/accounts/src/msca/account/multiOwnerAccount.ts, packages/accounts/src/msca/plugins/multi-owner/plugin.ts, packages/accounts/src/msca/plugins/session-key/plugin.ts, packages/accounts/src/msca/plugins/session-key/extension.ts, packages/core/src/client/decorators/smartAccountClient.ts, packages/core/src/client/smartAccountClient.ts, packages/core/src/account/simple.ts, packages/core/src/account/smartContractAccount.ts, packages/accounts/src/light-account/account.ts

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

Have you tested with this branch if functionality works?

Everything is passing and building without issue and in I tested that you can make an account support more than one entrypoint while still preserving strong typing for users in here: https://github.com/alchemyplatform/aa-sdk/pull/544/files

synced offline with @moldy530. Will first merge to the base entrypoint v7 branch and work iteratively on that branch.


Issue with /var/lock folder

The /var/lock seems to be broke and process like apache can not start.
I found an workaround by removing it and create a new one

/var/lock is a symlink to /run/lock. But /run/lock is missing too. 'mkdir /run/lock' will fix this (as a workarround).

confirmed - was like the first thing I fixed on my installation.


Ovelapping Show instances for monadic values

Got another one for you.
 This can be "fixed" by adding a instance {-# INCOHERENT #-} Show (m Int) somewhere because the arcane rules of instance selection pick this one.
I'm not really sure what you can really do about this.

Thanks! I think the Show a instance I added is proving actively harmful - it works well in the same module, but is of no use in a different module, where it must live in the Debug library. Or I could inject a Show, but then you probably get other nasty problems.
Perhaps however _ => is enough to have GHC infer whatever Show instances it needs? Will try that tonight - Show (m Int) would be ideal.

I went with _ => and it's vastly simpler - great news!

I had to comment out the type2 example, so that still needs work.


[MTDSA-10536] Create a Foreign Property Income & Expenditure Period Summary RAML

Converted to draft so it isn't merged in before being content-reviewed


Debug step out continues

VSCode Version: Code - Insiders 1.6.0-insider (c96822698cdbd47b8245fb5f9f45a0168bc9da33, 2016-09-30T17:37:14.267Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions: dbaeumer.vscode-eslint-1.0.7, eg2.tslint-0.5.39, ms-vscode.csharp-1.4.1, msjsdiag.debugger-for-chrome-0.5.2

Steps to Reproduce:

In smoke-test hit breakpoint in index.js:7
Step in to render()
Step out
Observe execution continuous instead of stepping out

I keep running into this during the Smoke-Test. Should we add a note to it?

@chrmarti do you see the same behaviour with "type": "node2"?

Yes, same with node2 using node 7.0.0. Previously with the old protocol and node 6.3.0.

@chrmarti OK, then this looks like a node bug.
/cc @roblourens

Also: It seems to be related to the calling function not having any further lines of actual code after the one I stepped into. We found that stepping over at the end of the stepped into function then correctly stops on the closing } of the calling function.

I'm seeing the same behaviour with node-inspector.
So this is not a VS Code issue but a node bug.


Do not depend on fastutil in :serialization

FastUtil was only used to expose a serializer for a single FastUtil type (IntSet). Since IntSet is not widely used, there is no reason to give it general serialization support, and the serializer can live next to the places where IntSet is used.
Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle test QFL please.

I've triggered the following builds for you. Click here to see all build failures.

QuickFeedbackLinux build


Make delete request snekfetch compatible

Replaced all 'del's with 'delete's in RESTMethods.

Change is needed because snekfetch uses delete instead of del as method.


Outdated PlantUML version or broken C4-PlantUML?

I've noticed that on some C4-Build-based projects, the generated diagrams end up being along the lines of
 (cf. https://ac-architecture.netlify.app/#/) and even trying to change the config to have the generateLocalImages/embedDiagram``and such set differently as well as using https://raw.githubusercontent.com/adrianvlupu/C4-PlantUML/latest/C4_Context.puml` over https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Context.puml lead to failed images (which doesn't happen locally when using the PlantUML VSC extension).

The issue is with a broken url to tupadr3/plantuml-icon-font-sprites.
Replace /dev2 with /devicons


fix: properly validate docker image names

closes #551 (at least on the backend, still needs to be done on the frontend)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

0 of 0   changed or added relevant lines in 0 files are covered.
6 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.04%) to 86.388%

Files with Coverage Reduction
New Missed Lines
%

components/renku_data_services/crc/db.py
1
85.46%

components/renku_data_services/crc/models.py
1
84.71%

components/renku_data_services/crc/blueprints.py
4
92.74%

Totals

Change from base Build<PHONE_NUMBER>7:
-0.04%

Covered Lines:
14616

Relevant Lines:
16919

💛  - Coveralls