Claims vs. Permissions and how to use PolicyServer.Local with Identity?

Hello,
I have been following your talk at NDC London on the topic and I'm currently trying to wrap my head around claims vs. permissions. I'm not sure if I fully understand so maybe you can correct me where I'm wrong.
Straight from the Microsoft documentation about claims it says: "A claim is a name value pair that represents what the subject is, not what the subject can do." So claim != permission by definition. However a lot of examples use claims for permissions which then seems wrong. Also Identity provides a concept of user - claims, user - roles - claims, so if not for permissions I don't see what else that would be used for.
So that's my understanding of where your guys' PolicyServer comes in to have a clear separation of roles/permissions and claims. However you then still provide the option to transform the permissions to claims. Which would then results of claims being misused as permissions, no? If you could elaborate on the clear distinction of the two that would be really helpful.
To get to the point; we are currently using Identity for authentication and I was now looking into using PolicyServer.Local for authorization to have the separation from claims. What I'm currently struggling with is how to map my role/permissions defined in the .json file with my user/roles. The way I approached it is that I'm using the Identity roles but defining the permissions in the separate .json file (where I then assign the permissions to the role).
"Policy": {     "roles": [       {         "name": "administrator"       }     ],     "permissions": [       {         "name": "managestore.write",         "roles": [ "administrator" ]       }     ]   }
So I have my identity role 'administrator' but my permissions are not being mapped.
For the registration I'm using only this:
services.AddPolicyServerClient(Configuration.GetSection("Policy"))                 .AddAuthorizationPermissionPolicies();
And to check for authorization this:
public async Task<IActionResult> Create(             Album album)         {             var result = await _client.EvaluateAsync(User);             var isAdmin = await _client.IsInRoleAsync(User, "administrator");             var authresult = await _authorizationService.AuthorizeAsync(User, "managestore.write");             if (!authresult.Succeeded) return Forbid();         }
IsAdmin returns false. And the permission is also not read. Am I missing something in the setup process? Also another question on the topic. By adding .AddAuthorizationPermissionPolicies() isn't every permission mapped to a policy? Isn't this defeating the purpose of a policy? My understanding of a policy is that I can add multiple claims to it and then use the policy to authorize. So whenever my policy changes I don't have to change my controllers. But by having a policy per permission I would still have to go in an change each controller when a permission changes. What am I missing here?
Thanks,
Serge

I've tracked my issue down for the most part. My role claims loaded through identity are of type http://schemas.microsoft.com/ws/2008/06/identity/claims/role and not just role. So they are never mapped. In addition I had also forgotten to add "identityRoles": [ "administrator" ] to my configuration (but that didn't resolve the issue).
I'm unsure of the status of this project. Should this just be seen as a proof of concept that does need more work or is this something that can be used in a production environment?

See it as a POC/Sample for the pattern of separating authorization and identity.

Have you tried with the following code in Startup Configure method?
JwtSecurityTokenHandler.DefaultInboundClaimTypeMap.Clear();

@leastprivilege I see, thanks. We currently identified 2 roles and 2 permissions for our system. While this would certainly be nice I think it's a bit of an overkill as of now, but something to keep in mind down the road. Especially once we want to use it for other applications as well. If you have time, could you please elaborate quickly on these two questions:
Identity server provides a concept of user - claims and user - roles - claims. If not for authorization/permissions what would this be used for? Can you maybe give an example?
If I understand correctly by adding AddAuthorizationPermissionPolicies() my permissions are mapped to policies. Does this not defeat the purpose of a policy if I have one per permission?
@fileman Thanks for the tip, I will look into it.
Thanks,
Serge

@search8
Think of a permission of literally as the action being done. So if we take a simple CRUD... maybe ContosoUniversity, we might have courses... so we would set up these permissions:
ReadCourses
CreateCourses
EditCourses
DeleteCourses
You would then decorate your controllers with Authorization Atrributes
[Authorize("ReadCourses")]
[Authorize("CreateCourses")]
etc...
Now there are roles... some might be very basic and come from your identity system. Such as Instructor, Student. But others might be app specific, DepartmentChair.
The IdentityRoles (that come from the IdentitySystem -- Instructor, Student) we don't manage (here, anyway.)
But, we do manage the app roles... So we can add DepartmentChair, and then add the users (subject Id's) to it.
Lastly, in PolicyServer, we define what roles are able to do what permissions.
ReadCourses
Student
Instructor
EditCourses
Instructor
DepartmentChair (although in most/all cases, a department chair will alredy be an instructor)
CreateCourses
DepartmentChair
DeleteCourses
DepartmentChair
PolicyServer will now do it's magic and automagically apply these roles to those permissions and create the policies for asp.net to use.
If you need to add a role... say... universityadmin... you don't have to go back to all your controllers to do that. you would just create a new role, then apply it to say the DeleteCourses permission.
I hope that helps in some understanding how to all set it up.

So, I'm now trying to get this to work and am having trouble. This link has helped I think the first hurdle and I think maybe what may have been tripping up @search8.
https://leastprivilege.com/2017/11/15/missing-claims-in-the-asp-net-core-2-openid-connect-handler/


training with more epochs

💡 Your Question
i trained yolo-nas on my custom dataset for 300 epochs but colab some time restarted , how please do for the training process will start from where it left off, so it will not retrain on the initial dataset again.

train_params['resume'] = True
train_params["resume_path"] ='/content/gdrive/MyDrive/Cv/checkpointss92/yolo_nas_faces92/ckpt_latest.pth'
trainer.train(model=model,
training_params=train_params,
train_loader=train_data,
valid_loader=val_data)

Or buy a GPU since Colab is not meant for sustained training sessions.


[Feat][Spark] Support NebulaGraph Integration

Proposed changes
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
close #34 and https://github.com/vesoft-inc/nebula-spark-connector/issues/76
example in gar-test: https://github.com/GraphScope/gar-test/pull/4
Types of changes
What types of changes does your code introduce to GraphAr?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA
[x] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

Dear Great Creators of GraphAr Project!
This is wey from the NebulaGraph community, we are so very excited to have a chance to enable GraphAr - NebulaGraph connection in Hacktoberfest, I wonder if it's possible to request your support on:

Adding hactoberfest-accepted label to this PR?
Help review and hopfully collaborate to merge this change in October?

This will enable the contributor to be part of the Hactoberfest project and it means a lot!
Thanks and appreciate your help!
Best Regards, Wey

Dear Great Creators of GraphAr Project! This is wey from the NebulaGraph community, we are so very excited to have a chance to enable GraphAr - NebulaGraph connection in Hacktoberfest, I wonder if it's possible to request your support on:

Adding hactoberfest-accepted label to this PR?
Help review and hopfully collaborate to merge this change in October?

This will enable the contributor to be part of the Hactoberfest project and it means a lot!
Thanks and appreciate your help!
Best Regards, Wey

Dear Wey,
Thank you for reaching out to us and expressing your excitement about enabling the GraphAr - NebulaGraph connection in Hacktoberfest. We appreciate your interest in our project and we are happy to support you.
We would be delighted to review your PR and collaborate with you to merge the changes in October.
If you have any further questions or need assistance, please feel free to reach out to us.
Best regards,
Xue

The hactoberfest-accepted  label has been added to the PR.
Thanks for the EXCITING work to enabling the feature we expect. As @lixueclaire said, we are delighted to review the PR and collaborate with the Hactoberfest project.

The hactoberfest-accepted  label has been added to the PR.
Thanks for the EXCITING work to enabling the feature we expect. As @lixueclaire said, we are delighted to review the PR and collaborate with the Hactoberfest project.

Thanks for your help, but I confirmed that the label should be hacktoberfest-accepted rather than hactoberfest-accepted. Could you help modify it in your free time?
CC: @wey-gu

Dear Great Creators of GraphAr Project! This is wey from the NebulaGraph community, we are so very excited to have a chance to enable GraphAr - NebulaGraph connection in Hacktoberfest, I wonder if it's possible to request your support on:

Adding hactoberfest-accepted label to this PR?
Help review and hopfully collaborate to merge this change in October?

This will enable the contributor to be part of the Hactoberfest project and it means a lot!
Thanks and appreciate your help!
Best Regards, Wey

Dear Wey,
Thank you for reaching out to us and expressing your excitement about enabling the GraphAr - NebulaGraph connection in Hacktoberfest. We appreciate your interest in our project and we are happy to support you. We would be delighted to review your PR and collaborate with you to merge the changes in October. If you have any further questions or need assistance, please feel free to reach out to us.
Best regards, Xue

Wow, thanks so very much for the prompt help, care and powerful support!

The hactoberfest-accepted  label has been added to the PR.
Thanks for the EXCITING work to enabling the feature we expect. As @lixueclaire said, we are delighted to review the PR and collaborate with the Hactoberfest project.

Dear @acezen
Wow, many thanks for the super-fast and warm support!!!

The hactoberfest-accepted  label has been added to the PR.
Thanks for the EXCITING work to enabling the feature we expect. As @lixueclaire said, we are delighted to review the PR and collaborate with the Hactoberfest project.

Thanks for your help, but I confirmed that the label should be hacktoberfest-accepted rather than hactoberfest-accepted. Could you help modify it in your free time?
CC: @wey-gu

OMG, I'm so very sorry/ashamed to provide a typo on the label... let's wait @acezen for another go 🙇

hi, @liuxiaocs7, I not sure the PR can close the issue vesoft-inc/nebula-spark-connector#76 because it's just an example to exchange a specific data(basketballplayergraph graph) between nebula and GraphAr, the example can't use for other data. Do you think this can implement as a general tool that fits for every graph?
BTW, @wey-gu @lixueclaire, do you have some suggestions for that?

Sure, thank you for your suggestion, I will remove close it and consider how to implement a more general tool in other PRs!

hi, @liuxiaocs7, I not sure the PR can close the issue vesoft-inc/nebula-spark-connector#76 because it's just an example to exchange a specific data(basketballplayergraph graph) between nebula and GraphAr, the example can't use for other data. Do you think this can implement as a general tool that fits for every graph?
BTW, @wey-gu @lixueclaire, do you have some suggestions for that?

Sure, thank you for your suggestion, I will remove close it and consider how to implement a more general tool in other PRs!

Sounds good! Maybe you can refer to #243 for this.

@liuxiaocs7 the example data https://github.com/GraphScope/gar-test/pull/4 has been merge, you can update the testing submodule to  latest commit.

LGTM~ Thanks for your contribution. It would be even better if you could update the documentation or create an issue about it.

Issue created here: https://github.com/alibaba/GraphAr/issues/248, i'll finish ASAP.

@liuxiaocs7 the example data GraphScope/gar-test#4 has been merge, you can update the testing submodule to latest commit.

Hi, @acezen, should i follow this to update gar-test submodule: https://stackoverflow.com/questions/5828324/update-git-submodule-to-latest-commit-on-origin

Amazing OpenSource collaboration! I would like to express my utmost respect, appreciation, and admiration!

@liuxiaocs7 the example data GraphScope/gar-test#4 has been merge, you can update the testing submodule to latest commit.

Hi, @acezen, should i follow this to update gar-test submodule: https://stackoverflow.com/questions/5828324/update-git-submodule-to-latest-commit-on-origin

@liuxiaocs7  think of submodule a way to let the parent module track submoudle as a folder only on its git hash.
With that in mind, when upating a submodle, we could just do the needed pull(to ensure its hash is the one from the remote) and do git add as a commit on the parent module.
What git submodule update was just to pull submodule based on its tracked git hash.


Edit button on profile & opportunities doesn't work

The pencil icon on the profile and opportunities page (top right of each box) doesn't work)

it's working, it's just that the tooltip is getting in the way...I've removed them from program, project, and opportunity cards
https://github.com/BCDevExchange/devex/commit/d0d390d06091c45532bcfb01ed32717bec6364d9


chore: remove deprecated field

[2023-06-16 08:12:16.023][1][warning][misc] [source/common/protobuf/message_validator_impl.cc:21] Deprecated field: type envoy.config.core.v3.ConfigSource Using the default now-deprecated value AUTO for enum 'envoy.config.core.v3.ConfigSource.resource_api_version' from file config_source.proto. This enum value will be removed from Envoy soon so a non-default value must now be explicitly set. Please see https://www.envoyproxy.io/docs/envoy/latest/version_history/version_history for details. If continued use of this field is absolutely necessary, see https://www.envoyproxy.io/docs/envoy/latest/configuration/operations/runtime#using-runtime-overrides-for-deprecated-features for how to apply a temporary and highly discouraged override.

Looks like xds config issue, I will fix it soon.

fixed by https://github.com/envoyproxy/gateway/pull/1539


Update validation refactoring

Closing this since things got turned around.

Closing this since things got turned around.


Need project for practice

Challenge Name

Issue Description

Browser Information

Browser Name, Version:
Operating System:
Mobile, Desktop, or Tablet:

Your Code
// If relevant, paste all of your challenge code in here

Screenshot

@sunnycal, that is not issue. so i have to close this issue.

How can I begin working on projects
On Apr 12, 2016 11:42 PM, "Lance"<EMAIL_ADDRESS>wrote:

@sunnycal https://github.com/sunnycal, that is not issue. so i have to
close this issue.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/8085#issuecomment-209213317

@sunnycal, You could ask anyone on the FCC Room at the gitter. they would answer your question.


Wrong coordinates with multiple knobs

Hi there,
first thx for this package that is pretty well done.
I'm having an issue with Knob components interaction in a list. I mapped a list that render for each list item a basic knob vertically aligned. The first knob works perfectly fine.
However, If i click on  2nd, 3rd .... n knob, the value sets at the bottom of that knob. To reach the top of the knob I have to keep the mouse down and drag the cursor to the top of the first knob on the list. It seems that all click/drag coordinates are based on the first one.
Does anyone know how to fix this ? Thx.

Hi @Couiljer ,
I've tried to reproduce this but without success.
Are you using the latest version 1.1.3?

@pavelkukov yes I use that version. I realized that it works fine on normal list. The issues appears on a react-spring animated list component with their useSpring() hook. There might be some CSS or DOM related issues. I'll investigate. Thx for help !

If you can provide some reproduction code I will try to investigate and make it work with react-spring.

I'm closing this as it is not reproducible.
https://pavelkukov.github.io/react-dial-knob/?path=/story/knob-layout--multiple-knobs-and-positions-demo

Thx for your Time @pavelkukov. I can't reproduce it on sandbox, can't find the difference.. However I see this warning in the console : Warning: Cannot update a component (MyKnobSkin) while rendering a different component (Knob). To locate the bad setState() call inside Knob, follow the stack trace as described in https://fb.me/setstate-in-render.
I used your template for custom knob and it seems that this warn is thrown by  the angle state    const [angle, setAngle] = useState(0)
that's all I know (for now).

I've tried to reproduce the warning here: https://codepen.io/pavelkukov/pen/vYNXqEd?editors=0010
and here with a shared state: https://codepen.io/pavelkukov/pen/gOawNxZ?editors=0010
It worked without issues.
Do you see the warning on the initial render or you see it while interacting?

It is at initial render
I reproduced it. Just took the example I'm based on from react-spring / react-use-gesture and add in the list elements a Basic knob. You should see that the angle vector origin stays at first row.
https://codesandbox.io/s/draggable-list-tekzx?file=/src/index.js

Yep, I see it. Thank you!
I will take a look. Probably is due to translate3d style used to order rows.

Hi @Couiljer ,
I've fixed the issue with translate3d.
A new version (1.1.5) is available on NPM
However, there is an issue related to transform -> scale.
If the parent container is using scale, Knob coordinates are not calculated properly. I'm not planning to fix it as this will add a lot of complexity to the calculation.
Cheers,
Pavel


Work towards working tests

I made this pull request from the work of making the tests pass.
The work in this pull request is outdated after https://github.com/openrsgis/pytdml/pull/15 was merged.
The changes on that pull request are really difficult to grasp, as the code was moved and heavily modified in a single commit.
The present pull request includes items that I think should be included in the mainstream classes.
Pydantic V2 compliance
Pydantic V2 way of configuring the class is using a model_config of type ConfigDict, instead of defining a Config class.
It also changes the way to serialize and de-serialize the models, using model_dump instead of dict, for example, or using min_length instead of min_items
Extended base class functionality
Some io functionality was added to the base class, like reading from a yaml or json file, handling exclude_none and exclude_none on model_dump
Class properties harmonization
Some of the properties were written using camel case and others snake case. The base type allows to define the properties in snake case, as it is customary in python, while at the same time being able to both read and write the io operations correctly according to the standard, that is in camel case.
The proposal is to use snake case in all the properties, allowing the alias_generator = to_camel of the base class to operate.
Default values
Most of the Optional properties did not have a default value, which is the cause of the point 2 in the issue https://github.com/openrsgis/pytdml/issues/11
Other optional values had a default of a list, an empty string or a minimum number of elements, while they should be initialized with None  and later automatically remove the properties with None values when serializing.
Incorrect / incomplete type definition
Some types were updated to comply with the 1.0 encoding, I see some of those updated in the all_types, but I am not sure about all the changes, as the new work is in a new file with a different order.
I am opening this pull request as a Draft, because it is meant to start a conversation and not to be merged right away.

Based on your suggestion, I have summarized the following points that need to be modified:

Pydantic V2 compliance：Pydantic V2 way of configuring the class is using a model_config of type ConfigDict, instead of defining a Config class.
Class properties harmonization: The proposal is to use snake case in all the properties, allowing the alias_generator = to_camel of the base class to operate. I will make modifications based on your suggestions.
Default values: I have set default values for all optional parameters in all_types
Incorrect / incomplete type definition: I will pay attention to checking the definition of the class in the future.
Separate the code and the example files.
Restore to the original basic_types and extended-types modes to prevent damage to backward compatibility.
I will make revisions to each of these issues in the future. Thank you for your valuable suggestions.

Based on your suggestion, I have summarized the following points that need to be modified:

Pydantic V2 compliance：Pydantic V2 way of configuring the class is using a model_config of type ConfigDict, instead of defining a Config class.
Class properties harmonization: The proposal is to use snake case in all the properties, allowing the alias_generator = to_camel of the base class to operate. I will make modifications based on your suggestions.
Default values: I have set default values for all optional parameters in all_types
Incorrect / incomplete type definition: I will pay attention to checking the definition of the class in the future.
Separate the code and the example files.
Restore to the original basic_types and extended-types modes to prevent damage to backward compatibility.
I will make revisions to each of these issues in the future. Thank you for your valuable suggestions.

Hello!
From all the mentioned ones, the 6. is the one it might be best just to continue with the all_types approach and at a later stage make the division in different files. The mention about backwards compatibility was something to take into account in the future, but at the current stage is not that important as the library was in a non installable state in previous versions.
I can happily help with any of the tasks :smile_cat:


ValueError when task name collide with local directory names

Steps to reproduce
$ cd lm-eval-harness
$ pip install -e .[vllm]
$ mkdir hellaswag
$ lm-eval --tasks hellaswag --model vllm --model_args pretrained=deepseek-ai/deepseek-coder-1.3b-instruct,dtype=float16,tensor_parallel_size=1 --limit 5

Observed error:
ubuntu:~/evalharness$ lm-eval --tasks hellaswag --model vllm --model_args pretrained=deepseek-ai/deepseek-coder-1.3b-instruct,dtype=float16,tensor_parallel_size=1 --limit 5
/usr/lib/python3/dist-packages/scipy/__init__.py:146: UserWarning: A NumPy version >=1.17.3 and <1.25.0 is required for this version of SciPy (detected version 1.25.2
  warnings.warn(f"A NumPy version >={np_minversion} and <{np_maxversion}"
2024-07-20 13:09:49.266468: I tensorflow/core/util/port.cc:110] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2024-07-20 13:09:49.309275: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX512F AVX512_VNNI, in other operations, rebuild TensorFlow with the appropriate compiler flags.
Traceback (most recent call last):
  File "/home/ubuntu/.local/bin/lm-eval", line 8, in <module>
    sys.exit(cli_evaluate())
  File "/home/ubuntu/evalharness/lm_eval/__main__.py", line 382, in cli_evaluate
    results = evaluator.simple_evaluate(
  File "/home/ubuntu/evalharness/lm_eval/utils.py", line 397, in _wrapper
    return fn(*args, **kwargs)
  File "/home/ubuntu/evalharness/lm_eval/evaluator.py", line 163, in simple_evaluate
    raise ValueError(
ValueError: No tasks specified, or no tasks found. Please verify the task names.

Why this (maybe) matters
The way I came across this bug was when I tried to run log mmlu samples to a folder called mmlu. This seems like a normal thing to try to do, and the error could be confusing.
Mitigations
I think it would be nice if there was just a clearer error message for when this happens.
Code points

https://github.com/EleutherAI/lm-evaluation-harness/blob/feff1b55c57993c4d42c8f913a22eeec395cd690/lm_eval/__main__.py#L333

Hi! Thanks for opening this, definitely high-priority to fix. Thought I'd handled some other edge cases relating to tasks shadowing other tasks but evidently not this one.--am away at a conference but can try to push a fix ASAP.


feat: Injection trace into req.head

Using TextMapPropagator of grafana-plugin-sdk-go to inject tracking into http headers
see:
grafana/grafana-infinity-datasource#1090
https://opentelemetry.io/docs/specs/otel/context/api-propagators

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hiya.. can you create a GitHub issue first for this explaining what problem it is addressing?
And thanks again for the contribution

Done.


page 401 added

this PR implements a 401 Unauthorized error page for the admin panel using Shadcn UI. When a user attempts to directly access a URL without the necessary permissions, they will be redirected to this page.
Changes Made:
Added a 401 Unauthorized error page template.
Updated routing logic to redirect unauthorized access to the 401 page.

Thanks for your PR.


fix broken links in user-journeys docs

Fix broken links in cluster-operator user journey, due to relative paths was pointing to wrong URL.

This change is

@jhernandezb Please sign the CLA for this to be merged.
/lgtm

I've already signed for some reason wasn't showing the right status.

@jhernandezb thank you for the fixes! Did you have to do anything to get the CLA marker switched, or did it fix itself? It’s accepted as I’m looking at it now... so kind of curious.
/lgtm

@heckj  I signed like 8 hours ago but seems like the bot didn't get the update until @tengqm  marked it as lgtm that triggered the check .


[Research] Change Typechain for AbiType

Context / issue
Typechain is soft deprecated as the developer considers that the ecosystem around AbiType provides a better experience. This means no new versions will be supported by Typechain.
Web3 v4 didn't get support on Typechain and it seems, for this deprecation notice, that it won't get it at any coming time. As typechain is already adding some overhead in our process, needing to create types for each lib, we want to research AbiType and check if we can simplify the smart contract typings.
While we don't sort this out it won't be possible to upgrade to Web3 v4, as we won't be able to run the tests using this adapter.
Proposed solution
Research and PoC AbiType integration in the protocol-kit.
Additional context
Currently typechain not supporting web3 v4 prevents that we can upgrade to web3 v4 while keeping the tests working, so it's something we would like to avoid.

Notion Doc: https://www.notion.so/safe-global/Research-Change-Typechain-for-AbiType-4fb18e26761047c79b2e6dc82c265c09


Linux Mint LMDE (Debian) version Installer Fails

The installer does not support  Linux Mint Debian Edition LMDE 2.
The returned error message is:
Either your platform is not easily detectable, is not supported by this installer script...
# uname -a
.... 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u4 (2015-09-19) x86_64 GNU/Linux

# lsb_release -a
Distributor ID:	LinuxMint
Description:	LMDE 2 Betsy
Release:	2
Codename:	betsy

PR attached

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

uname -a:
.... 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u4 (2015-09-19) x86_64 GNU/Linux

There is an issue with LXC on LMDE2 (LXC breaks the OS).  Probably something related to queasy state systemd.  LXC and docker works under LMDE UP8 just fine.

@ddurdle The only issue I ran into on LMDE2 was it only liked running AUFS, not devicemapper but that might be related to my testing many different storage technologies: ZFS, LVM2 (w/ gratuitous experimentation + primary/mirroring), EXT3 & 4, GlusterFS, NFS, iSCSI - I know, I'm clearly trying to confuse myself.
LXC seems to run quite well.
Is there some specific command I could try to repro your experience?

After installing, when you try to runs a docker, it complains it can't remove some cgroups.  Seems like it is already using cgroups so it is conflicting.  Like I said, LXC used to work but after upgrading to LMDE2, same issue with LXC.  Tried on multiple LMDE2 systems.

I just realized I only tried on fresh LMDE2 installs! Could the difference lie there?
Does cgroups need modern CPU features? Or specific matching kernel version + matched modules?
A while back I had to enable some CPU features via KVM/QEMU cmd line options before my test docker env would stay running, it also had a dead network - though I can't remember if the CPU opts alone fixed all of it.
I'm still working on getting a better understanding of each sub-component used by docker and how they fit into the larger Linux ecosystem.

Fix merged in #16533


Enable the generation of wheels for python 3.11 and upgrade python on CI/CD workflows to 3.8

Context: This PR enables the generation of wheels for python 3.11.
Also, we are updating the python version of CI/CD workflows from 3.7 to 3.8.
Description of the Change:
Benefits:

Provide wheels for python 3.11.
Faster CI/CD workflows with python 3.8.

Possible Drawbacks:
Related GitHub Issues:

[sc-28724]


Add AVG, MAX, and MIN for aggregation in the category widgets

Only when this ticket is closed:
https://github.com/CartoDB/Windshaft-cartodb/issues/513

BUMP!

Yessssssss!!!

@MariaCheca, all yours then ;).

ASAP :D


Add type="module" into script html tag for CustomJavaScriptPath

Adds the possibility to use more advanced additional custom javascript files.

Thx, i hope this is not a breaking change?

Actually, it can give some disadvantages:

A module is a file. To make import/export work, browsers need


BAMF Liver and Tumor segmentation

Pretrained model for 3D semantic image segmentation of the liver and liver lesions from ct scan

This model was trained on the LiTS 2017 dataset. The liver is a common site of primary (i.e. originating in the liver like hepatocellular carcinoma, HCC) or secondary (i.e. spreading to the liver like colorectal cancer) tumor development.
@LennyN95
Could you add common entry for tumor in segdb so that LIVER+TUMOR can be used here? It has both primary and secondary tumor.

@jithenece can you use NEOPLASM_MALIGNANT as the custom roi? the model output isn't specific to colorectal cancer liver lesions.

/review
@LennyN95 could you review this?

/test
sample:
  idc_version: "Data Release 2.0 April 25, 2023"
  data:
  - SeriesInstanceUID: <IP_ADDRESS>.4.1.145<IP_ADDRESS>.9203.8273.254242588659825836950462054011
    aws_url: s3://idc-open-data/a192c6ca-69b0-4195-bfa5-4fe9962b2da6/*
    path: dicom

reference:
  url: https://drive.google.com/file/d/1id1W7sXydHq52NTKa8GJqRycatyhkQaR/view?usp=sharing

Generating segmentation permanent link for testing
output.zip
sample:
idc_version: 15.0
data:

SeriesInstanceUID: <IP_ADDRESS>.4.1.145<IP_ADDRESS>.9203.8273.254242588659825836950462054011
aws_url: s3://idc-open-data/a192c6ca-69b0-4195-bfa5-4fe9962b2da6/*
path: input_data

/test
sample:
  idc_version: 15.0
  data:
  - SeriesInstanceUID: <IP_ADDRESS>.4.1.145<IP_ADDRESS>.9203.8273.254242588659825836950462054011
    aws_url: s3://idc-open-data/a192c6ca-69b0-4195-bfa5-4fe9962b2da6/*
    path: input_data

reference:
  url: https://github.com/user-attachments/files/16762679/output.zip

missing_files:
- case_study1/flair.seg.dcm

Could you provide verbose logs from the docker to check the issue. I could see case_study1/flair.seg.dcm which is related to brain-mr is listed here.

@jithenece maybe some files were included in the reference by mistake? I updated the test pipeline during the past week which now is drastically simplified. It will require some minor updates and I hope simplified procedure makes up for that ;)

Please note, we updated our base image. All mhub dependencies are now installed in a virtual environment under /app/.venv running Python 3.11. Python, virtual environment and dependencies are now managed with uv. If required, you can create custom virtual environments, e.g., uv venv -p 3.8 .venv38 and use uv pip install -p .venv38 packge-name to install dependencies and uv run -p .venv3.8 python script.py to run a python script.
We also simplified our test routine. Sample and reference data now have to be uploaded to Zenodo and provided in a mhub.tom file at the project root. The process how to create and provide these sample data is explained in the updated testing phase article of our documentation. Under doi.org/10.5281/zenodo.13785615 we provide sample data as a reference.

/test

@LennyN95 I have updated the test files in the required format. Could you share the Test results if this fails.


Error: EACCES: permission denied, scandir '/app/data/media'

I can't seem to be able to add a pre-defined folder with images to PiGallery2.
If I tell it that the media storage is found somewhere else than a system generated location, it complains about not being able to read from a location within its container (I believe)

free bump because I am also having this exact issue. Also on TrueNAS 24.10. I think TrueNAS might be a better place to ask for help with this, but their forum sucks to be honest. Haven't ever had very good luck posting there.
I will update this if I can figure it out, although I tried giving "everyone" full read permissions to my dataset and it didn't change anything :(
Did you ever come to a resolution for this? Sorry to get you excited with a post notification only to be asking for more help...

tried changing my storage folders ownership to my user (which runs the pigallery2 docker image) and applied read access to everyone but still not working. just gonna give up for now because i can't find any info about it

@cproo12
I still HAVEN'T got it up and running but I've been given 3 solutions:

install Portainer on TrueNAS and then use that to deploy and manage the PiGallery2 app.

deploy the PiGallery2 container using 'Custom YML' from the TrueNAS Apps page. This way you can easily specify what volumes Bing to what locations. You can also find the Docker Compose file online, for convenience.

....... Ditch PiGallery2 and switch to Immich. I've been told it's much better and you can install it directly from TrueNAS's app Catalog. (I haven't done the required research to back the 'it's better' claim)


Add ValidationCode constants for all other diagnostics

At the moment, only three types of diagnostics have codes, LOWERCASE, EXTRA_ARGUMENT, and INVALID_ESCAPE_DIRECTIVE. We should add codes for the remaining diagnostics.

The refactoring has completed. Also covered by da5062397b4eed0363a05b34b964d95a85c7b7d7 and 13c3cd8e5f0616af5e91a95fff4bdd2648f3261e.


bug: react error when using marks property of SliderUnstyled

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
When using the SliderUnstyled with the marks property set, I get this error:
react-dom.development.js:67 Warning: React does not recognize the `markActive` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `markactive` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
    at span
    at span
    at SliderUnstyled
...

Expected Behavior 🤔
No error in console
Steps to Reproduce 🕹
https://codesandbox.io/s/staging-worker-pufb6?file=/src/App.js
Steps:

Open link
See error in console

Context 🔦
I'm trying to create a styled component that inherits from SliderUnstyled
Your Environment 🌎

`npx @mui/envinfo`
  System:
    OS: Windows 10 10.0.19042
  Binaries:
    Node: 14.17.5 - C:\Program Files\nodejs\node.EXE
    Yarn: Not Found
    npm: 7.22.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: Not Found
    Edge: Spartan (44.19041.1023.0), Chromium (93.0.961.52)
  npmPackages:
    @emotion/react: ^11 => 11.4.1
    @emotion/styled: ^11 => 11.3.0
    @mui/core: ^5.0.0-alpha.47 => 5.0.0-alpha.47
    @mui/private-theming:  5.0.0
    @mui/styled-engine:  5.0.0
    @mui/system: ^5.0.0 => 5.0.0
    @mui/types:  7.0.0
    @mui/utils:  5.0.0
    @types/react:  17.0.1
    react: ^17.0.2 => 17.0.2
    react-dom: ^17.0.2 => 17.0.2
    typescript:  4.4.2

First of all, thanks for trying out the unstyled components :) I believe we need to use the appendOwnerState which is already used across the other components. cc @michaldudak

The problem here isn't directly related to ownerState, but moving markActive to ownerState and using appendOwnerState could indeed help.

Hi! Thanks for acknowledging the bug! I'm wondering, what's the expected fix+release schedule?
I'm launching my project in 18 days (Oct 12th), and I'm trying to figure out if it makes sense to wait for that, or to patch it myself. Thanks again, awesome work :)

@maraoz I guess we can include it in the next release. @hbjORbj it's all yours :)

@maraoz Hey, thanks for creating this issue.
This is not specific to markActive. For example, if ownerState is passed to Mark as a prop, we get the same error for ownerState:

Warning: React does not recognize the ownerState prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase ownerstate instead. If you accidentally passed it from a parent component, remove it from the DOM element.

I think this "unknown prop" error occurs for the following reason:

The unknown-prop warning will fire if you attempt to render a DOM element with a prop that is not recognized by React as a legal DOM attribute/property. You should ensure that your DOM elements do not have spurious props floating around.

More details can be found in React documentation: https://reactjs.org/warnings/unknown-prop.html
@michaldudak What do you think we should do to address this?

@mnajdova hi Marija, thanks for your reply. do you have a release date estimate? I want to see if it makes sense for me to wait for you guys to fix it, or to fork and try to fix it myself. My app ships on Oct 12th. To be clear, the component is working perfectly, I just want to get rid of the console error, so this is not super critical.
@hbjORbj hey Benny. Just in case you didn't notice, I didn't set the markActive prop myself, I only set the marks property for SliderUnstyled (see my codesandbox example). Not sure if this helps, I'm clarifying just in case.

@maraoz Sure, I know! I still wanted to explain to you where the error was coming from. :)


Update release.md

Codecov Report

Merging #129 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #129   +/-   ##
=======================================
  Coverage   94.46%   94.46%
=======================================
  Files           9        9
  Lines         668      668
=======================================
  Hits          631      631
  Misses         37       37

Continue to review full report at Codecov.

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


Frends.SFTP.DownloadFiles: Server fingerprint is causing System.FormatException

When you give a value for Server Fingerprint, Frends will throw this error:

The error is possible to reproduce by giving this value for server fingerprint: yQ3EwlmcHWm1trhaESHH1G9xm41e7jvOrG4

Debugging the test shows that the error is produced here: https://github.com/FrendsPlatform/Frends.SFTP/blob/main/Frends.SFTP.DownloadFiles/Frends.SFTP.DownloadFiles/Definitions/Util.cs#L41
According this conversation: https://stackoverflow.com/questions/17360839/conversion-to-byte-gives-this-error-input-string-was-not-in-a-correct-format it would seem that the method only accepts strings which contains only numbers. Hence, another method for byte array calculation has to be selected.

The problem seems to be that the Sha256 hash that was fed into the task was not in HEX format, but was in base64 format, which the task is not handling properly. I think we can easily add functionality to recognise base64 sha256 hashes and work with them. Until then a workaround would be to use HEX format instead of base64 for sha256 hashes.

Also, we need to return a better error message when hash verification fails, instead of what we return now.

The server fingerprint is handled the same way in every SFTP task. I can try to fix this and implement the changes to all of the tasks when finished.

This has been fixed in #53. This needs to be fixed to other SFTP tasks as well.


How to send Data from ViewModel to Model ( e.g start Animation )

Hello,
I tested this framework this weekend, and it works great  for the following cases:

Data ( like text, image, list content ) get changed in the VM -> View can be binded and udpated
View Provides Input -> VM Function get called

What I miss is the possibility to bind something other than plain data. For example I want to disable a button and play his disable animation. Or I need to change the position of a button because some new options are availabe after some Input.
Is there an option for this kind of bindign already or do I have to create my own bind classes ?
Thanks for your help!
Friedrich

Disabling a button can be done via binding the Enabled value to a bool. But your right, perhaps better integration with animation is something that is needed.
For creating your own you need to inherit from BindingBase. Lets take a look at the ButtonBinder. I have added better comments in the latest push.
Button Binder
So your TLDR is :

Inhert from BinderBase
Add BindingInfo fields
Listen To BindingField.Action for Model --> View
SetVale for View --> Model

From the sounds of your issue you need two binders.
Transform Binder
AnimationBinder
This should point you in the right direction. I will leave this issue open for now.


Graphic format conversion please!

📝 A feature to convert images between different formats. JPG to PNG, WEBP to PNG
An option for bitmap image files to convert from one format to another.
It would be awesome to support vector to bitmap later, but just conversion between different bitmap formats would be great to start!

If you'd like to see this feature implemented, add a 👍 reaction to this post.

tracked in https://github.com/microsoft/PowerToys/issues/2686


[Request] Move Dimension Manager Save XML to ServerStoppedEvent

I believe this may not impact the unmodified version of AR much, but most servers regularly save their worlds.
This means that every time a world save is actioned, the planetDefs.xml file is written.
My server is currently using a 100MB XML file, which means this causes a major TPS spike whenever this occurs.
I've just moved the code to save to the server stopped event to prevent this happening.....  Feel free to pull request and we will for sure look at it. We really appreciate pull requests.
Sent from my iPhone

On Feb 20, 2020, at 7:35 AM, StargateMC<EMAIL_ADDRESS>wrote:

I believe this may not impact the unmodified version of AR much, but most servers regularly save their worlds.
This means that every time a world save is actioned, the planetDefs.xml file is written.
My server is currently using a 100MB XML file, which means this causes a major TPS spike whenever this occurs.
I've just moved the code to save to the server stopped event to prevent this happening.....
Reply to this email directly, view it on GitHub, or unsubscribe.

Honestly I think movin the XML saving from world save to onServerStopped is a bad idea.  If something changes that requires a save while the game is running and the server ends up crashing, or if users decide to close their game with task manager moving the save function would result in data loss or an inconsistent world.
Since the XML tends to change infrequently, I think there's another solution that'd work just as well for your purposes.  What we could do is implement a dirty flag that's true only when something has changed that would change the XML.  If the flag is false when AR goes to save the XML, it just skips saving the file.  That way there'd be very little performance impact and no increased risk of dataloss.

Thanks for the response guys =) We'll tolerate the increased risk for now (no option) but a dirty flag would be great! :)

Definately see what you mean @zmaster587 ... You cant save it during the stopping event for some reason. Our test server rebooted and everyone lost stations and stuff.


[bazel] Add remaining libraries

These were the only ones not already added, in case folks need them

@swift-ci please test


Add project version {major,minor,patch} CLIs

See context at https://github.com/prefix-dev/pixi/issues/581

Could you also add the documentation? I see we missed that also for all you previous work :see_no_evil:

Could you also add the documentation? I see we missed that also for all you previous work 🙈

Good catch. Will do!

@ruben-arts @baszalmstra LGTM if you want to review the doc.


Reclaiming failed request back to the list or queue. Received one or more errors

Which package is this bug report for? If unsure which one to select, leave blank
@crawlee/playwright (PlaywrightCrawler)
Issue description
Error message:
INFO  PlaywrightCrawler: Starting the crawl
crates.io: Rust Package Registry
WARN  PlaywrightCrawler: Reclaiming failed request back to the list or queue. Received one or more errors
 {"id":"S0zjxs8GeCqFpPk","url":"https://crates.io/crates/syn","retryCount":1}
crates.io: Rust Package Registry
WARN  PlaywrightCrawler: Reclaiming failed request back to the list or queue. Received one or more errors
 {"id":"S0zjxs8GeCqFpPk","url":"https://crates.io/crates/syn","retryCount":2}
crates.io: Rust Package Registry
WARN  PlaywrightCrawler: Reclaiming failed request back to the list or queue. Received one or more errors
 {"id":"S0zjxs8GeCqFpPk","url":"https://crates.io/crates/syn","retryCount":3}
crates.io: Rust Package Registry
ERROR PlaywrightCrawler: Request failed and reached maximum retries. Error: Received one or more errors
    at ArrayValidator.handle (C:\Users\essel_r\desktop\dev\backend\node_modules\@sapphire\shapeshift\src\validators\ArrayValidator.ts:102:17)
    at ArrayValidator.parse (C:\Users\essel_r\desktop\dev\backend\node_modules\@sapphire\shapeshift\src\validators\BaseValidator.ts:103:2)
    at RequestQueueClient.batchAddRequests (C:\Users\essel_r\desktop\dev\backend\node_modules\@crawlee\src\resource-clients\request-queue.ts:338:36)
    at RequestQueue.addRequests (C:\Users\essel_r\desktop\dev\backend\node_modules\@crawlee\src\storages\request_queue.ts:375:46)
    at attemptToAddToQueueAndAddAnyUnprocessed (C:\Users\essel_r\desktop\dev\backend\node_modules\@crawlee\src\internals\basic-crawler.ts:767:50)
    at PlaywrightCrawler.addRequests (C:\Users\essel_r\desktop\dev\backend\node_modules\@crawlee\src\internals\basic-crawler.ts:784:37) {"id":"S0zjxs8GeCqFpPk","url":"https://crates.io/crates/syn","method":"GET","uniqueKey":"https://crates.io/crates/syn"}
INFO  PlaywrightCrawler: All requests from the queue have been processed, the crawler will shut down.
INFO  PlaywrightCrawler: Crawl finished. Final request statistics: {"requestsFinished":0,"requestsFailed":1,"retryHistogram":[null,null,null,1],"requestAvgFailedDurationMillis":5422,"requestAvgFinishedDurationMillis":null,"requestsFinishedPerMinute":0,"requestsFailedPerMinute":1,"requestTotalDurationMillis":5422,"requestsTotal":1,"crawlerRuntimeMillis":33637}
INFO  PlaywrightCrawler: Error analysis: {"totalErrors":1,"uniqueErrors":1,"mostCommonErrors":["1x: Received one or more errors
(C:\\Users\\essel_r\\desktop\\dev\\backend\\node_modules\\@sapphire\\shapeshift\\src\\validators\\ArrayValidator.ts:102:17)"]}
POST /v1/api/packages 200 - - 36601.243 ms

I truly don't know what happen, it was working perfectly when I testing, and now when I create a middleware to scrape the data before sending it to response, then I started getting this error. I'm using TypeScript, so I thought maybe it is not typescript(even it is), I did it in JS and got another error about the file extension.
Code sample
export const crates_rpm = async (package_name:string) => {
    const crawler = new PlaywrightCrawler({
      requestHandler: async ({ request, page }) => {
        const title = await page.title();
        console.log(title);
        if (request.label === 'repository') {
          const commitText = await page.getByRole('listitem').filter({ hasText: 'commits' }).textContent();
          const stars = await page.$$eval('main', (github) => github.map((star) => star?.querySelector('div.Layout-sidebar > div.BorderGrid--spacious > div.hide-sm > div.BorderGrid-cell')?.querySelector('div > a > strong')?.textContent));
          const numberStrings = commitText?.match(/\d+/g);
          const commitCount = Number(numberStrings?.join(''));
          console.log(commitCount);
          await Dataset.pushData({
            ...request.userData,
            commitCount,
            stars: stars[0],
          });
        } else {
          await page.waitForFunction(() => document.querySelector('ul._list_181lzn > li'));
          const main_package = await page.$$eval('main', (package_lib) => {
            return package_lib.map((package_el) => {
              const package_name = package_el.querySelector('h1._heading_8qtlic > span')?.textContent;
              const keywords = Array.from(package_el.querySelectorAll('ul._keywords_8qtlic > li')).map((keyList) => keyList?.textContent?.trim());
              const toText = (element:HTMLElement) => element && element.textContent?.trim();
              const toLink = (element:HTMLElement) => element && element.getAttribute('src');
              const time_uploaded = package_el?.querySelector('time._date_rj9k29')?.getAttribute('datetime');
              const license_name = package_el?.querySelector('div._license_rj9k29 > span > a')?.textContent;
              const license_url = package_el?.querySelector('div._license_rj9k29 > span > a')?.getAttribute('href');
              const version = package_el?.querySelector('small')?.innerText;
              const description = package_el?.querySelector('div._description_8qtlic')?.textContent?.trim();
              const total_downloads = package_el.querySelector('span._num__align_87huyj')?.textContent?.trim();
              const license = { type: license_name?.trim(), url: license_url };
              const links = Array.from(package_el.querySelectorAll('div._links_rj9k29 > div')).map((link) => {
                return {
                  name: link.querySelector('div > h2._heading_rj9k29')?.innerHTML,
                  URL: link.querySelector('div._content_t2rnmm > a._link_t2rnmm')?.getAttribute('href'),
                };
              });
              const owners = Array.from(package_el?.querySelectorAll('ul._list_181lzn > li')).map((owners) => {
                const name = owners?.querySelector('a > span')?.textContent?.trim();
                const profile = owners?.querySelector('img')?.getAttribute('src');
                const user_url = owners?.querySelector('a')?.getAttribute('href');
                return { name, profile, user_url };
              });
              const package_obj = { keywords, package_name, time_uploaded, license, version, description, links, total_downloads, owners}
              return package_obj
            });
          });
          const requests = main_package.map(($package) =>
              new Request({
                url:  `'${$package.links?.find((github) => github?.name === "Repository")?.URL}'`,
                label: 'repository',
                userData: $package,
              })
          );
          await crawler.addRequests(requests);
          await Dataset.pushData(main_package[0]);
        }
      },
    });
    await crawler.run([`https://crates.io/crates/${package_name}`]);
    const raw_dataset = await Dataset.getData();
    const dataset = raw_dataset.items.pop();
    return dataset;
};

Package version
<EMAIL_ADDRESS>Node.js version
v18.12.1
Operating system
Windows
Apify platform

[X] Tick me if you encountered this issue on the Apify platform

I have tested this on the next release
No response
Other context
No response

The error comes from a validation of the requests, so it has to be something about what you are passing to the crawler.addRequests. Not sure why are you trying to create the Request objects yourself, try to change that bit to the following code:
const requests = main_package.map(($package) => (
    {
      // and double-check this is actually finding some links, as this can easily end up as `url: 'undefined'` which is not valid and would probably fail some validations too
      url:  `'${$package.links?.find((github) => github?.name === "Repository")?.URL}'`,
      label: 'repository',
      userData: $package,
    })
);
await crawler.addRequests(requests);

In general, I would suspect this part, try to log what is in the $package object and what are you passing down to the crawler.addRequests().
cc @vladfrangu, that validation is obviously something to improve, we need to say what is wrong, not just something is wrong :]

I did it in JS and got another error about the file extension.

Sounds like some ESM-related issues, maybe you just forgot to put the .js extension in your imports, as that is required with ESM.

cc @vladfrangu, that validation is obviously something to improve, we need to say what is wrong, not just something is wrong :]

We do have in-depth messages but they're logged when calling util.inspect on the error for now (I'm trying to get it to be the default message when logging error.message soon).

Also that URL is probably never going to be valid as its wrapped in single quotes. Dropping those should solve it too

Right, good catch, modified my suggested snippet to remove the quotes.

The error comes from a validation of the

Thanks, your right, but I don't understand why that was causing the error, because I was trying to crawl another link with he github hub of the package, so I can get the stars and commits, and other information later on.
But if there is another way to do that please help me.
And thanks again.
requestHandler: async ({ request, page }) => {
 if (request.label === 'repository') {
          const commitText = await page.getByRole('listitem').filter({ hasText: 'commits' }).textContent();
          const stars = await page.$$eval('main', (github) => github.map((star) => star?.querySelector('div.Layout-sidebar > div.BorderGrid--spacious > div.hide-sm > div.BorderGrid-cell')?.querySelector('div > a > strong')?.textContent));
          const numberStrings = commitText?.match(/\d+/g);
          const commitCount = Number(numberStrings?.join(''));
          console.log(commitCount);
          await Dataset.pushData({
            ...request.userData,
            commitCount,
            stars: stars[0],
          });

  }

const requests = main_package.map(($package) =>
              new Request({
                url:  `'${$package.links?.find((github) => github?.name === "Repository")?.URL}'`,
                label: 'repository',
                userData: $package,
              })
          );
          await crawler.addRequests(requests);
}

Remove the single quotes from your url field! That should solve it


Fix bad drawing

See  diagrams/diagrams-rasterific#61

I think now I'm experiencing this issue with stroke instead of filling.

I tried adding sanitizeFilling after strokize in the go function but it didn't seem to work.

Please open a new ticket with a way to reproduce it, thanks


Built-ins can be set in containers

Built-ins such as Number and String can currently be set
to values in the Container.  This is a problem, as the API
never resolves built-ins to container values.
Therefore, we should prevent this by checking if a value
passed to Container.set is a built-in before we add it.

Resolved in https://github.com/freshgum-bubbles/typedi/commit/cc015ebe986c36797a4e25d709473c66f1e58420.


feature: defined edge functionality -> Define program behavior when things are paused / played mid time

I need to make sure what happens when a program is executed is very well defined.
Changes intermittently are definitely not allowed

Honestly, this would not be too hard to implement. There should be an updateOffset(timeMultiple: newTimeMultiple) method on Recordable which set the offset to the lastAppendedBufferTime.

This kind of just works... surprising, but okay..