win2022 - Method invocation failed because [System.__ComObject] does not contain a method named 'Run'.

Description
I create VM images from this repository on a regular basis, however, today I am facing an issue when building win22.
I am using the follow file https://github.com/actions/runner-images/blob/main/images/windows/templates/windows-2022.pkr.hcl to create the image, I am not changing anything in the file.
I simply use the below command to execute the build
packer build `
-var "build_resource_group_name=images-rg" `
-var "managed_image_resource_group_name=images-rg" `
-var "client_id=$Env:servicePrincipalId" `
-var "client_secret=$Env:servicePrincipalKey" `
-var "subscription_id=$Env:subscriptionId" `
-var "managed_image_name=win22-20240421.1" `
-force ".\windows-2022.pkr.hcl"

I am facing the below error:

I am not doing anything different than usual, any idea what is going on?
Platforms affected

[ ] Azure DevOps
[X] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[ ] macOS 13
[ ] macOS 13 Arm64
[ ] macOS 14
[ ] macOS 14 Arm64
[X] Windows Server 2019
[X] Windows Server 2022

Image version and build link
win22 / 20240421.1
Is it regression?
No
Expected behavior
Image should build without errors.
Actual behavior
Method invocation failed because [System.__ComObject] does not contain a method named 'Run'.
Repro steps

Clone repo
Run packer build without changing file https://github.com/actions/runner-images/blob/main/images/windows/templates/windows-2022.pkr.hcl.
Packer build with parameters.

Hello @v1ferrarij, it looks like the error is an internal packer exception.
Could you please try execute the packer build command with plain password or re-defined environment variable?
And make sure that your $Env:servicePrincipalKey variable is not empty.
Your issue looks like this one - https://github.com/hashicorp/packer/issues/8619#issuecomment-580449258
Like this:
$servicePrincipalSecret = $Env:servicePrincipalKey

packer build `
-var "build_resource_group_name=images-rg" `
-var "managed_image_resource_group_name=images-rg" `
-var "client_id=$Env:servicePrincipalId" `
-var "client_secret=$servicePrincipalSecret" `
-var "subscription_id=$Env:subscriptionId" `
-var "managed_image_name=win22-20240421.1" `
-force ".\windows-2022.pkr.hcl"

Hello @v1ferrarij, it looks like the error is an internal packer exception. Could you please try execute the packer build command with plain password or re-defined environment variable? And make sure that your $Env:servicePrincipalKey variable is not empty.
Your issue looks like this one - hashicorp/packer#8619 (comment)
Like this:
$servicePrincipalSecret = $Env:servicePrincipalKey

packer build `
-var "build_resource_group_name=images-rg" `
-var "managed_image_resource_group_name=images-rg" `
-var "client_id=$Env:servicePrincipalId" `
-var "client_secret=$servicePrincipalSecret" `
-var "subscription_id=$Env:subscriptionId" `
-var "managed_image_name=win22-20240421.1" `
-force ".\windows-2022.pkr.hcl"

Hi @Alexey-Ayupov
I have tried your suggestion and I get the same result.
I have also tried authentication with the azure cli by logging in via azure cli and adding  use_azure_cli_auth = true to the template file.
I have tried both methods on two different Azure Tenants just to make sure there is nothing like policies affecting anything, same result on both.
Really not sure what is going on, I built an image a couple of weeks ago with no issues using the same methods.
The Ubuntu builds still work fine as expected.

Hello @v1ferrarij. I have managed to reproduce your issue on my machine. Apparently your packer invoke for windows images lack the password for virtual machine in Azure. I have added -var "install password=$Install Password" and my build executes successfully.
This snippet was used.
As you can see, I only used one variable for testing purposes to minimize possible errors.
$secret = "somereallylongsecret00000300000"
$InstallPassword = "AzureStrongPaSS01"

packer build `
-var "build_resource_group_name=some-rg" `
-var "managed_image_resource_group_name=some-rg" `
-var "client_id=aaaaaaaa-1111-bbbb-cccc-xxxxxxxxxxxx" `
-var "client_secret=$secret" `
-var "subscription_id=vvvvvvvv-2222-ffff-gggg-yyyyyyyyyyyy" `
-var "managed_image_name=win22-test" `
-var "install_password=$InstallPassword" `
-force ".\windows-2022.pkr.hcl"

Please try the packer build command with the install_password variable.

Hi @Alexey-Ayupov
That seems to have done the job! Thanks.
Is this a new thing? I didn't have to do this before...

Hello @v1ferrarij. We use this options all the time, so I am not aware of the cases where we do not need to use a password for a packaged VM.


Add support for RFC 4010

Add module and test for RFC 4010

Codecov Report

Merging #121 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #121      +/-   ##
==========================================
+ Coverage   99.41%   99.42%   +<.01%
==========================================
  Files         110      111       +1
  Lines        6542     6558      +16
==========================================
+ Hits         6504     6520      +16
  Misses         38       38

Impacted Files
Coverage Δ

pyasn1_modules/rfc4010.py
100% <100%> (ø)

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 50842fe...3afdfa9. Read the comment docs.


⚠ Text Filter API Endpoint has degraded performance

In c40d39a, Text Filter API Endpoint (http://textfilter.roblox.com/) experienced degraded performance:

HTTP code: 200
Response time: 1914 ms

Resolved: Text Filter API Endpoint performance has improved in 4f84dcc.


mtkennerly.ludusavi version 0.24.3

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Microsoft Reviewers: Open in CodeFlow

This package installs and launches normally on a Windows 10 VM.


Renaming --development option

I think about if the option --development (of openslides start --development) has the right wording... It's not really a development feature to keep all settings/database etc. in the same directory and not in .config and .local.
So my suggestion: rename this option (and the directory!) and improve the help text (command for development purpose) which is not really helpful to understand what this option make.
(split out this issue from #1998)

The directory only appears for developers. What should be the name of it? The --development option is for plugin developers. They can install openslides via pip and still use openslides with settings and user file in a local directory. So what should be the name of this option?

The directory only appears for developers.

Why? I think this option is not useable for developers only! As I wrote there are also use cases that I want to install several 2.0 installations in parallel directories - each with it's own database in the developement directory.
You are agreed, that this option is also a serious option for production use?
If you we should think about a better name for this option. E.g. --local, ...(I have no better idea)?

as discussed: suggestion --local-installation


Caps Lock Remap Doesn't Work as Barrier Client

ℹ Computer information

PowerToys version: v0.20.1
PowerToy Utility: Keyboard Manager
Running PowerToys as Admin: No
Windows build number: [run "winver"] 19041.450

📝 Provide detailed reproduction steps (if any)

Remap Caps Lock using PowerToys Keyboard Manager
Control that PC as a Barrier client (https://github.com/debauchee/barrier)
Press Caps Lock

✔ Expected result
The remapped key's effect happens
❌ Actual result
Caps lock toggles
"Normal" alphanumeric key remaps do work as expected. This could just be an issue with barrier's implementation, but thought I'd also file it here in case there's a better code/set of codes to catch or some other collaboration that might be possible.
See also debauchee/barrier/issues/850

Barrier sounds like Mouse without borders / KVM.  Just verifying so i'm mentally in correct spot for debugging.

what did you remap caps to?
What computer has PT installed on it (client or main)
What computer was intented to get remapped action (client or main)

Yep, Barrier and Mouse Without Borders are very similar!

Caps is remapped to Esc
Client (although I also tried it with the remap on the main and this also did not work)
Client

To just be 100% correct, you have Barrier running as a client, PT is on that client computer,  remapping the caplock does not work.
Correct?
Does other keys remap?

Correct! Other keys do remap correctly. Letters/numbers, media keys, F keys remap as expected. Caps lock, Num lock, Scroll lock do not.

After some more research it looks like this is a Barrier issue
https://github.com/debauchee/barrier/issues/366

Thanks for the follow up


Problem importing celery to enable tasks

Issue #493

@marksweb just checking if any tweaks I need to make to this PR? Thanks!

@lawson89 I've just got finished with pre-commit hooks.
Now this does bring some conflicts with your work here - sorry about that - but I wanted to get these hooks in before any more changes come in. Could you take a look at updating your branch and resolving please?

@lawson89 There's just some linting issues to resolve. You could get isort to fix the imports itself with isort explorer then there's just 1 flake8 issue with some indentation I think.

Yep - will take care of those in just a bit

@marksweb - this one should be ready. Once it's merged then I can make the S3 integration more generic per issue #503


Add missing icon aliases

[ ] Changes have been thoroughly tested to not break existing functionality.
[ ] New functionality has been documented or existing documentation has been updated to reflect changes.
[ ] Visual changes are explained in the PR description using a screenshot/recording of before and after.

Todo

[ ] CanRequireConfirmation modalIcon
[ ] FileUpload image editor action icons
[ ] Notification.js icons
[ ] Notification.php danger, info, success and warning icons
[ ] Repeater actions
[ ] KeyValue actions

@danharrin, could you review and merge this PR?
Then I'll use the feedback to finish the final aliases listed in the PR description (and probably more).


lots missing from GFT source data exports

problem
For many datasets we:

get points (raw)
replace with a lot polygons if one intersects (intermediate)
buffer the lots and remaining points (buffered)

For these datasets we export the raw, intermediate, and buffered geometries (e.g. CATs permits) so they can been seen in the GFT app.
GIS noticed that, although the buffers are correct, some source_xxx_lots tables are missing lots.

I suspect this is due to our use of WHERE ST_GEOMETRYTYPE(raw_geom) = 'ST_MultiPolygon' is tables like sources__nyc_historic_buildings_lots
When inspecting with GIS, the lots that did make it through appeared to all be MultiPolygon.
Since the geometry type of all records in an FGDB layer must all be the same, we should either

cast all polygons to MultiPolygon before selecting by geometry type
or add columns at to represent these "staged" of geometries so we can select points and lots using column names rather than by geometry types


[Q] - dragging all geometries

Thanks for maintaining this plugin. It's very helpful.
If you drag a geometry, is there a way to drag/move all geometries together?

There is no built in function for this, but you can try to use this sub-library: https://github.com/Falke-Design/PMDrag
All layers in the same layergroup can dragged together.

There is no built in function for this, but you can try to use this sub-library: https://github.com/Falke-Design/PMDrag
All layers in the same layergroup can dragged together.

@Falke-Design thank you. I will try it out and let you know.

@Falke-Design thank you. I will try it out and let you know.

I don't think that I will do this.
You can copy the script into your src folder and add with import './yourSrcPath/pmDrag'

I don't think that I will do this.
You can copy the script into your src folder and add with import './yourSrcPath/pmDrag'

@Falke-Design I am trying to enable dragging and editing mode at the same time, but I guess this is not possible with Geoman, right?

@Falke-Design I am trying to enable dragging and editing mode at the same time, but I guess this is not possible with Geoman, right?

Add this to your code:
    map.on('pm:drag',(e)=> {
      var layer = e.layer || e.target;
      if(layer.pm) {
        if(layer.pm._initMarkers) {
          layer.pm._initMarkers();
        }
        if(layer.pm.applyOptions){
          layer.pm.applyOptions();
        }
      }
    });

    var editDragEnabled = false;
    var actions = ['finishMode'];
    var afterClick = ()=>{
      if(!editDragEnabled) {
        var layers = L.PM.Utils.findLayers(map);
        layers.forEach((layer) => {
          layer.pm.enableLayerDrag();
          layer.pm.enable();
        })
        editDragEnabled = true;
      }else{
        // enable another mode to disable it then
        map.pm.enableGlobalDragMode();
        map.pm.disableGlobalDragMode();
        editDragEnabled = false;
      }
    }
    map.pm.Toolbar.createCustomControl({ name: "DragEdit", block: "custom", title: "Edit and Drag Layers", afterClick, actions: actions, toggle: true });

Add this to your code:
    map.on('pm:drag',(e)=> {
      var layer = e.layer || e.target;
      if(layer.pm) {
        if(layer.pm._initMarkers) {
          layer.pm._initMarkers();
        }
        if(layer.pm.applyOptions){
          layer.pm.applyOptions();
        }
      }
    });

    var editDragEnabled = false;
    var actions = ['finishMode'];
    var afterClick = ()=>{
      if(!editDragEnabled) {
        var layers = L.PM.Utils.findLayers(map);
        layers.forEach((layer) => {
          layer.pm.enableLayerDrag();
          layer.pm.enable();
        })
        editDragEnabled = true;
      }else{
        // enable another mode to disable it then
        map.pm.enableGlobalDragMode();
        map.pm.disableGlobalDragMode();
        editDragEnabled = false;
      }
    }
    map.pm.Toolbar.createCustomControl({ name: "DragEdit", block: "custom", title: "Edit and Drag Layers", afterClick, actions: actions, toggle: true });

@Falke-Design awesome, thank you :)

@Falke-Design awesome, thank you :)

will be implemented with #835


New theme: Simple Hugo Theme

Theme submission
Before submitting a theme please make sure you've read the README.md. It describes in detail what information are needed and which requirements have to be fulfilled for the submission. The check list below can help you.
Link to my theme repository: https://github.com/Xzya/simple-hugo-theme
I made sure that...

[x] the repository contains a good README.md describing my theme
[x] an open source license has been added to LICENSE.md
[x] all metadata have been added to theme.toml
[x] screenshots have been added in the images/ folder with the required dimensions
[x] in case I'm using a customized demo via the exampleSite folder that

[x] https://example.com is set as base url in exampleSite/config.{toml, yaml, json} to avoid the abuse of unused domains
[x] the site's content is as neutral as possible (contains no ads etc.) and reflects the features of my theme

[x] I tested my theme against the gohugoio/HugoBasicExample

[x] I've checked the developer tools' console in my browser for error messages

[x] in case my theme is using Hugo Pipes features like toCSS and PostCSS that I have committed the /resources directory with all generated assets, for my theme to work in the basic version of Hugo

Feel free to ask questions. We're glad to help.

Hello @Xzya
Thank you for the theme submission, however you need to look into the following:

Please remove lines 14-17 from your theme.toml since these empty parameters are not needed.

Please provide a brief list with the theme's features in line 7 of theme.toml look here for an example by another theme.

Once you fix the above let me know. Also Happy New Year!

Hello @onedrawingperday,
I've made the changes you requested.
Happy New Year!

@Xzya Thanks! 👍
@digitalcraftsman This theme can be added to the Hugo Themes website. Also Happy New Year to you too!

Hello @Xzya,
thanks for your submission. Your theme should appear soon on Hugo's theme site. Next, I'll promote your theme on Hugo's official Twitter account.


[multicluster] istio pod can't start intil remote apiserver endpoint becomes ready

(NOTE: This is used to report product bugs:
To report a security vulnerability, please visit https://istio.io/about/security-vulnerabilities
To ask questions about how to use Istio, please visit https://discuss.istio.io)
Bug description
If there is a remote cluster configured (via secret with label istio/multiCluster: true) and its apiserver endpoint is unreachable, the istiod pod doesn't become Ready.
On the other hand, if I add an unhealthy remote configuration at the moment when the pod is Ready, it continues to work and serve the local cluster.
Affected product area (please put an X in all that apply)
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[X] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
Affected features (please put an X in all that apply)
[X] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane
Expected behavior
Istiod's pod should become ready if the remote cluster is unhealthy.
Steps to reproduce the bug

Add unhealthy kubeconfig to istio by creating a special secret.
Restart istiod pod.

Version (include the output of istioctl version --remote and kubectl version --short and helm version --short if you used Helm)
1.9.1

https://github.com/istio/istio/issues/30838 tracks the fix for this issue.


[REQUEST] Add pager option for GraphQL endpoints which return a list

Is your feature request related to a problem? Please describe.
Currently the API endpoints which return lists return a list with all the items, which isn't ideal.
Describe the solution you would like
We need to build a pager feature which will allows us to get x amount of items by default. Or if the the request provides the amount of items it wants, then return that number of items.

Mongoose provides a .limit() method on queries, so this should be easy to implement.
Do you have a suggestion for the default number of items?
Or should the number of items be always specified in every non-mutating query?

Mongoose provides a .limit() method on queries, so this should be easy to implement.
Do you have a suggestion for the default number of items?
Or should the number of items be always specified in every non-mutating query?

There'll be an environment variable for the default number of items. Any query can have an itemLimit property to override that default number of item.

Ok so what should be the name of this environment variable? DEFAULT_ITEM_LIMIT ?

Ok so what should be the name of this environment variable? DEFAULT_ITEM_LIMIT ?

That's completely upto you. Name it something you think best describes it.

Well I think it should be consistent with the name used in queries


Better API documentation

Make a better API documentation. I think there are to much endpoints to do that in a (sinlge) Markdown-File anymore.
Either split it up into multipe files (and use the github wiki functionality) or use another tool for api documentation.

@eikendev could You also please add initialization docs. I'm fighting to resolve endless issues. Need to read Your code do use it.
In example I want to try Your solution.

add docker-compose
add to reverse-proxy
run - first failure, missing db -should by created by myself right?  Then, created.
errors with config, ok, config updated
error with adding application - missing table users. Do I need to create that table, what columns, what types, how many other tables also, I can see that table applications is also needed?
server crashing due to trying to write into read-only db etc. etc.

If some action are required on initialization please write about it.

Hi @kamilr, thanks for your message. I agree that this is an important issue, but I did not get to properly set this up. While adding detailed docs is great for the users, it induces quite a bit of overhead for developers: each change might require us to update the docs, too. So I won't promise to fix this in the near future, but will keep in as one of the next major steps of this project. Also, more ideas are truly welcome.
However, I would like to help you sort out your specific problems. Can you tell me a bit more about your setup? What database backend did you use?  Are you using Podman or Docker?
When using sqlite, the database file should be created automatically with the correct permissions and all required columns.

Thank You @eikendev for fast response. I understand. Work in progress. Thought that just client is in beta state. Nevertheless, maybe I can help You with this?
I'm very thankful for helping hand, maybe we can discuss about it via @stonson:matrix.org ? (Using sqlite, was not created automatically)

I implemented a swagger documentation solution in my own repo a few days ago. We really could go with swag and redoc hosted with github pages.
Maybe with a new repo for the html and yaml file so this one is not polluted to much. Implementation in pipelines is also straight forward.

I created a new repository for this: pushbits/website. Happy to start with your proposed solution. Do you want to create a pull request? Later, we might want to wrap docsy or something similar around it.

For pushing the documentation to the website repo we will need an api token for that repository set here as a secret. We can use the push-a-file-to-another-repository, push-directory-to-another-repository actions or do it ourself (git clone => git commit => git push) to get the documentation there. Any preferences?

Let's move the discussion to #37.

We got a new little page running at pushbits.io. @CubicrootXYZ worked out a way to neatly document the API, available here.


[ValSet-Pref] Use MsgRedelegateValSet to update weights instead of MsgSetValSetPreference for delegated tokens

Background
Currently we allow user to create valset-pref through MsgSetValSetPreference. A user can update the weights as well using this message only if they haven't delegated any tokens. Once they delegate tokens they must not be able to change the weights unless they run MsgRedelegateValSet.
Suggested Design
Check if the user has delegated to the existing val-set pref or not and if they have then restrict calling MsgSetValSetPreference. Only allow user to change weights through MsgSetValSetPreference if they haven't delegated their tokens to the valset list.
Acceptance Criteria

all the other test must work
create test that checks this functionality

This has been addressed https://github.com/osmosis-labs/osmosis/pull/3857


Unable to update StaticColliderComponent transform

Release Type: Official Release (Beta)
Version: Stride <IP_ADDRESS>-beta04-1207
Platform(s): Windows
Describe the bug
According to:
https://doc.stride3d.net/latest/en/manual/physics/static-colliders.html
I should be able to move a static collider around using:
PhysicsComponent.Entity.Transform.Position += PhysicsComponent.Entity.Transform.Position + Vector3.UnitX;
PhysicsComponent.Entity.Transform.UpdateWorldMatrix();
PhysicsComponent.UpdatePhysicsTransformation();
This does not appear to work. After execution of the above code the static collider remains in the same position while the parent entity is showing a new position. Could this be an issue updating Bullet?
To Reproduce
Steps to reproduce the behavior:

Create a game.
Add a static collider to an entity via script. (I will try prefab later)
Attempt to move the entity and update the static collider as per above docs.

Expected behavior
I expect the collider to move. Even though it's static, this could be necessary in various game design with Navigation. Navigation does not use rigidbodies and updating navigation mesh for level design or objective completion is vital.

Error was mine, collider is moving. Navigation was throwing me off as it was not rebuilding.


should we change the compares from == to Double.compare?

No we shouldn't.
0.0 seems to be == -0.0 in this repo.


Update strings.xml

Edit words to improve UI.

I checked out my translation in-app and I noticed a small UI error due to the length of a word (screenshot of UI error: https://gyazo.com/b9ac0619242460aef6f65c2275b7eee5). This pull request changes 2 words to fix the error.

Closing this one, found another typo. Fixed in https://github.com/ACINQ/phoenix/pull/75


Update UG

Should we also mention that the name provided for adding consultations is independent of the student list so that testers will not be expecting the details in consultations to change with edits to the student list :")


Allow static PUGL_API use

Opening issue for comments.
I would like to have PUGL_API be empty, so pugl symbols are visible.
Right now pugl has the following code:
#if defined(_WIN32) && !defined(PUGL_STATIC) && defined(PUGL_INTERNAL)
#  define PUGL_API __declspec(dllexport)
#elif defined(_WIN32) && !defined(PUGL_STATIC)
#  define PUGL_API __declspec(dllimport)
#elif defined(__GNUC__)
#  define PUGL_API __attribute__((visibility("default")))
#else
#  define PUGL_API
#endif

When using gcc with -fvisibility=hidden, this macro will override this and set pugl symbols as default/visible.
Is there a good reason for this? Can't we simply have a #ifndef PUGL_API that allows developers to customize this behaviour ("use at your own risk" kinda deal).
Thanks

PUGL_STATIC in the GCC case would also probably be fine, but allowing it to be whatever doesn't hurt anything.  Fixed in 84596ee.


no "end" event is emitted

I observe the same behavior. #68 seems to fix the issue, at least when the remote side disconnects cleanly.


Can triton perform exclusive cumsum?

There's no built in function, but you can just do tl.cumsum(x, 1) - x to get the exclusive sum.


Preferred citation for neotoma2

Hello neotoma2 developers 👋
I'd like to reference neotoma2 in an academic paper.
What's the preferred citation in this case?
I've used the default citation("neotoma2") citation generated by R:
@Manual{,
    title = {neotoma2: Working with the Neotoma Paleoecology Database},
    author = {Simon Goring},
    year = {2021},
    note = {R package version <IP_ADDRESS>00},
  }

Is this ok?
You could override this behavior by having an explicit CITATION file in the inst/ folder.
Many thanks!

I have updated the citation for the package, and we hope to have a more extensive citation following publication of the package.


Type offlineAttributes definition references itself

Hi
I think there is a problem in the offlineAttributes definition (line 51551)
here is the definition
    "offlineAttributes": {
      "$ref": "#/definitions/offlineAttributes",
      "description": "Reserved for DocuSign."
    },

it references it self..
Thx

Hi @Bouhmarc , by design we don't publish that object. Do you have a tool that is complaining about the Swagger file or you're pointing out that the object definition is missing?
Thanks,
Larry

Hi
We developped a tool to import the swagger file, and this object is referenced in the witness object, which is itselft referenced in the recipients object.
Since it's a tool that import the swagger file, it complains about this object..
It's not really a pb, but i just wanted to be sure it's not a unwanted mistake !
Regards

Thank you for the info. Can you say more about what your tool does / what your use case is?
Yeah, leaving out the definition is by design. A prior version of the Swagger file simply omitted the definition. At least this way attribute has a "definition" (itself).

Hi
Our tool is a code generator for our customers.
It's a generic tool that analyze the swagger file and generates the codes that lets our customers call any REST api.
So the tool analyzes the file, and declares the objects, and the methods..
That's why..
Could you just tell me if it's a "normal" way to declare objects that are not meant to be used ?
I'm not very used to swagger file, i'm just one of the maintainer of this tool...
Regards

Hi @Bouhmarc ,
Thank you for the information. I would like to talk with you or your manager more about your application. Please connect with me via LinkedIn -- https://www.linkedin.com/in/larrykluger/   Thank you.
Re:

Could you just tell me if it's a "normal" way to declare objects that are not meant to be used ?

I don't know. It is the best idea we could come up with. We had more complaints from developers when we just left out the definition. If you hear of a better way to omit an object, please let me know.


CI for Node

Game › Game › Initializes with two players

Initializes with two players

game

Initializes with two players
Starts the game with a random player
Sets the current player to be whoever it is not

Initializes with two players
Starts the game with a random player
Sets the current player to be whoever it is not


build not working on windows

npm start gets this error
><EMAIL_ADDRESS>bundle-templates C:\Users\J83528\Desktop\tmp\bosket-master
> scripts/bundle-hbs.js

'scripts' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>bundle-templates: `scripts/bundle-hbs.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>bundle-templates script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\J83528\AppData\Roaming\npm-cache\_logs\2018-07-09T20_18_58_048Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>bundle: `webpack --progress --colors --config config/webpack.config.js -p && npm run bundle-templates`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>bundle script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\J83528\AppData\Roaming\npm-cache\_logs\2018-07-09T20_18_58_099Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>build: `npm run build-js && npm run build-ts && npm run bundle`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\J83528\AppData\Roaming\npm-cache\_logs\2018-07-09T20_18_58_147Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: `npm run build && npm run build-docs`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\J83528\AppData\Roaming\npm-cache\_logs\2018-07-09T20_18_58_193Z-debug.log

I just prepended the scripts/bundle-hbs.js with node in the package.json file.
node scripts/bundle-hbs.js


[Machine Learning] Building a Deep learning model with Keras and ResNet-50

Proposal Submission
Proposed title of the article
[Machine Learning] Building a Deep learning model with Keras and ResNet-50
Proposed article introduction
Deep learning has gained massive popularity in scientific computing, and its algorithms are widely used by industries that solve complex problems. All deep learning algorithms use different types of neural networks to perform specific tasks.
Deep learning uses artificial neural networks to perform sophisticated computations on large amounts of data. It is a type of machine learning] that works based on the structure and function of the human brain.  Deep learning algorithms train machines by learning from examples. Industries such as health care, eCommerce, entertainment, and advertising commonly use deep learning. During the training process, algorithms use unknown elements in the input distribution to extract features, group objects and discover useful data patterns.
Deep-learning architectures such as deep neural networks, deep belief networks, deep reinforcement learning, recurrent neural networks, and convolutional neural networks are applied to fields including computer vision, speech recognition, natural language processing, and machine translation. In this tutorial, we will implement the deep learning model with Keras and ResNet-50.
ResNet-50 is a pre-trained convolutional neural network that is 50 layers deep. You can load a pre-trained version of the network trained on more than a million images from the ImageNet database. The pretrained network can classify images into 1000 object categories, such as keyboard, mouse, pencil, and many animals. We will use Keras to fine-tune the deep neural network and add other additional layers.
Key takeaways

Types of  models used in Deep Learning
What Is ResNet-50?
The Importance Of ResNet-50 in Computer Vision
How Residual Networks work – ResNet-50 Architecture
ResNet50 With Keras
Import pre-trained ResNet50 Model
Fine-tuning the pre-trained model with Keras.
Model evaluation and making predictions.

Article quality
In this article, we will explain the concepts of deep learning in detail. We will discuss all the types of models used in Deep Learning before focusing on Keras and ResNet-50. We will explain the how ResNet-50 model works and its architecture. We will explore all the layers of the ResNet-50 so that the reader can know how all the layers are assembled to form the final model. We will then import the ResNet-50 model and fine-tune it using Keras to perform image classification. We will use Keras to add the layers the model requires and the tutorial will be easy to follow.
References
Please list links to any published content/research that you intend to use to support/guide this article.
Conclusion
Finally, remove the Pre-Submission advice section and all our blockquote notes as you fill in the form before you submit.
We look forward to reviewing your topic suggestion.
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

@lalith1403
Might need your 👀  On this one

Good afternoon and thank you for submitting your topic to the EngEd program.
After some careful consideration, it struck us that this topic may be a bit over-saturated throughout other blog sites and official documentations.
We typically refrain from publishing content that is covered widely on the net or other blogs. We're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts.
But in order to approve the topic, it has to serve value to the larger developer community at large.
An option and a great way to write this as an in-depth article and make it more add value to the greater developer community at large would be to walk the reader through the USE of methods and functions by building a unique, different, useful project.

We would love to learn your thought process behind the solution you arrived at using these concepts and topics.

That way a developer could see them in action.
As mentioned above - we believe this topic is widely covered on other blog sites.
The best way for students to build a great portfolio is by building what does not exist and what can provide the most value.


Ubuntu20.04 Release File Missing

Just recently, the Ubuntu 20.04 repository for libnvidia-container stable release has disappeared.
The output of my apt errors is below. All of my other apt repositories are non-problematic, including the other Nvidia repositories for cuda, nvidia-docker, and nvidia-container.
Err:20 https://nvidia.github.io/libnvidia-container/stable/ubuntu20.04/amd64  Release
  404  Not Found [IP: <IP_ADDRESS> 80]
...
Reading package lists... Done
E: The repository 'https://nvidia.github.io/libnvidia-container/stable/ubuntu20.04/amd64  Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Trying to further troubleshoot the issue, If I use wget to download the Ubuntu 18.04 InRelease file, wget successfully executes. If I try to do the same for ubuntu 20.04, the link does not exist.
Downloadable for Ubuntu 18.04:
https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/amd64/InRelease
Broken link (does not exist) for Ubuntu 20.04:
https://nvidia.github.io/libnvidia-container/stable/ubuntu20.04/amd64/InRelease
I can't see for myself since the repo is blocked besides from apt, but it seems that the ubuntu 20 repo link is missing entirely.

This is also impacting the 22.04 repo:
E: The repository 'https://nvidia.github.io/libnvidia-container/stable/ubuntu22.04/amd64  Release' does not have a Release file.

Please see https://github.com/NVIDIA/nvidia-container-toolkit/issues/89

Please see NVIDIA/nvidia-container-toolkit#89

Thanks! That issue resolved it for me!


Remote disk loses power, then recovers. Spyder not satisfied.

Description
What steps will reproduce the problem?

I lost power to the remote machine hosting the drive with most of the *.py loaded in the Spyder editor, causing that machine to reboot.
After that machine came back online, I tried to save my recent changes in Spyder's editor.
This error message appeared in response to that failed attempt.

What is the expected output? What do you see instead?
Please provide any additional information below
File "/home/ionoadmin/anaconda2/lib/python2.7/site-packages/spyder/plugins/ipythonconsole.py", line 912, in set_working_directory
refresh_console=False)
File "/home/ionoadmin/anaconda2/lib/python2.7/site-packages/spyder/plugins/workingdirectory.py", line 286, in chdir
os.chdir(directory)
OSError: [Errno 13] Permission denied: '/mnt/puff/MASE/HiCIRF-lite-AFCAP/Python/Lib/afcap/tests'
Version and main components

Spyder Version: 3.2.3
Python Version: 2.7.13
Qt Versions: 5.6.2, PyQt5 5.6 on Linux

Dependencies
pyflakes >=0.5.0  :  1.6.0 (OK)
pycodestyle >=2.3 :  2.3.1 (OK)
pygments >=2.0    :  2.2.0 (OK)
pandas >=0.13.1   :  0.20.3 (OK)
numpy >=1.7       :  1.13.1 (OK)
sphinx >=0.6.6    :  1.6.3 (OK)
rope >=0.9.4      :  0.9.4 (OK)
jedi >=0.9.0      :  0.9.0 (OK)
psutil >=0.3      :  5.2.0 (OK)
nbconvert >=4.0   :  5.1.1 (OK)
sympy >=0.7.3     :  1.1.1 (OK)
cython >=0.21     :  0.26 (OK)
qtconsole >=4.2.0 :  4.2.1 (OK)
IPython >=4.0;<6.0:  5.3.0 (OK)
pylint >=0.25     :  1.7.2 (OK)

Did you mount the disk after rebooting?

Yes.  Eventually.  After quite some hours sorting through some oddities, we managed to unmount then remount the disk.  After that, the same Spyder session resumed good behavior.

Ok, I see. What we could do is to check if the working directory can be changed to the directory of the last session, and if that's not possible use $HOME instead.
@sound-fx, does this sound like a good solution to you?

I should clarify that the error message from Spyder appeared a minute or two before I even noticed that the remote machine had lost power and was rebooting, and it would be hours later that we would finally succeed in un/re- mounting that disk.
I really don't know what more Spyder could have done, but I reported it because the message box offered that option.  I don't know whether the change that you propose could have made any difference for my rare case, but it sounds like it could help in other cases or at least not do any harm.


python311Packages.posix-ipc: rename from posix_ipc

Description of changes
part of #245383
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 279338 run on x86_64-linux 1

4 packages built:

python310Packages.posix-ipc
python310Packages.posix-ipc.dist
python311Packages.posix-ipc
python311Packages.posix-ipc.dist


Are there any way to check the dynamic feature download?

Hi,
When I tried Android dynamic feature in this moment there had any way for testing the dynamic feature download (without Google Play). Right now, Are there any way to check this? or the situation is the same...
Thanks a lot

Hi and thanks for the question.
At this moment it's only possible to test dynamic features through Google Play. The best option is to use an Internal Test Track that, after the initial creation of the track, allows to test your application as soon as you upload it to the Play Console.
We know that this is a highly requested feature and we're looking into possibilities to simplify this process. We're going to make available more information as soon as they're available.


for large texts, scrolling can be slow and may seg fault

I'm running MacOS 10.15.7 on a MacBook Pro (16-inch, 2019), and compiling with Rust 1.52.0.
I first observed that in my iced application, in a scrollable, where the scrollable content has ~1000 lines, that scrolling continuously caused progressive degradation in responsiveness, and after about 100 seconds, the app seg faulted, with 30 threads running.
How to reproduce this: shown at the bottom.
What is easier to show is that scrolling through a large text degrades as a function of the total text size.  This suggests that the complexity of the scrolling algorithm is supoptimal.
This may or may not be the same problem that caused my crash.
Example of slowness.  I cloned iced at e292821c3780fc5a57c835815efc7a232ce4dc32, which is dated Tue May 25 16:34:17 2021 +0700.  Then I modified iced/examples/scrollable/src/main.rs:
-                            "Some content that should wrap within the \
-                            scrollable. Let's output a lot of short words, so \
-                            that we'll make sure to see how wrapping works \
-                            with these scrollbars.",
+                            vec![include_str!("../../../src/application.rs"); 10].join("")

This change makes the text ~3000 lines long.
With this change, when the scrollable example is run, the response time to an individual scroll operation is several seconds.

How to reproduce the crash
1. git clone https://github.com/10XGenomics/enclone
2. cd enclone
3. git checkout 93969c02871caa6351c870851d6cb049bcdc5a3c
4. cargo b
5. target/debug/scroll_crash
6. push Submit
7. scroll up and down in the scrollable at the bottom, scrolling every second or so for
roughly 100 seconds; it crashes for me

The crash code lives in a crate scroll_crash in the enclone repo.  I tried excluding it from the workspace, and compiling it alone.  This resulted in much slower scrolling, but no crash.  I can't explain this.

This is probably caused by #41.

#783 is also related

I confirm the issue of performance degradation on Win 10 with only 30 lines of (colored) text in scrollable. I haven't experienced segfault, even though I tested scrollable on 25k lines of text -- application was practically unusable in that case.

anyone have good answers to this issue?


What if I don't know the project? Why is it required?

Why is the project required - it appears to me that the workitem id values are unique for a collection.  Is there a way to create a link for VSTS that uses the workitem id but does not require the project?  We may have a hundred projects and all I have is the workitem id and not the project name. Thank you.

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

ID: a2a2fa2c-bdbd-3357-1f4f-ff6504367404
Version Independent ID: aba4b3e9-7572-e1f1-e618-291fbd5b704f
Content: Define the hyperlink for a work item - VSTS & TFS
Content Source: docs/work/work-items/work-item-url-hyperlink.md
Service: devops
GitHub Login: @erickson-doug
Microsoft Alias: kaelli

The projectId is an optional parameter to provide to the REST api. So, yes if you can provide the link even without providing the projectId , that will work too.

@FredConklin - Thank you for your inquiry. You can use the Get Work Items REST API to get a work item solely by account name and ID.
 We will introduce a system (what Amit calls hidden, basically user will not be able to see this permission) permission on PROJECT namespace : 52d39943-cb85-4d7f-8fa8-c6baac873819. We can call it "Move WorkItems On Board" or something like that. b. All project valid users will have this permission granted to them by default. c. Stakeholder users will have this permission granted to him ONLY on public project. On private project, they will not have this permission granted on them. We can achieve this with code similar to below. (below work item move permission has been used as an example, to be replaced with the new permission <!-- Grant stakeholders WORK_ITEM_MOVE = 16384 permission only on public projects to stakeholders -->           <SecurityTemplateEntryStepData id="AF5CB753-9343-45AF-ABEA-F6611813909D" hostType="4" namespaceId="52d39943-cb85-4d7f-8fa8-c6baac873819" allow="16384">             <TokenTemplate>{ "type": "perteamprojectliteral", "value": { token: "$PROJECT:vstfs:///Classification/TeamProject/{0}:", "visibilityFilter": "Public" } }</TokenTemplate>             <SubjectTemplate>{"type":"License","value":"stakeholder"}</SubjectTemplate>           </SecurityTemplateEntryStepData>d. In UI, wherever we are doing license check to disallow drag drop for stake holder license holders, we will do this permission check instead. Look for AdvancedBacklogManagement on UI, below is an example of the check we are doing on UI. Also need to ask Smitha's team if there is anything else they are checking on.https://mseng.visualstudio.com/VSOnline/VSOnline%20Team/_search?text=AdvancedBacklogManagement&type=code&lp=code-Team&filters=ProjectFilters%7BVSOnline%7DRepositoryFilters%7BVSO%7D&result=DefaultCollection%2FVSOnline%2FVSO%2FGBmaster%2F%2FTfs%2FService%2FWebAccess%2FAgile%2FScripts%2FIterationBacklog%2FIterationBacklog.ts&_a=contents"
},
•	_links:
{
o	self:
{
	href: "https://mseng.visualstudio.com/_apis/wit/workItems/1263163"
},
o	workItemUpdates:
{
	href: "https://mseng.visualstudio.com/_apis/wit/workItems/1263163/updates"
},
o	workItemRevisions:
{
	href: "https://mseng.visualstudio.com/_apis/wit/workItems/1263163/revisions"
},
o	workItemHistory:
{
	href: "https://mseng.visualstudio.com/_apis/wit/workItems/1263163/history"
},
o	html:
{
	href: "https://mseng.visualstudio.com/web/wi.aspx?pcguid=0efb4611-d565-4cd1-9a64-7d6cb6d7d5f0&id=1263163"
},
o	workItemType:
{
	href: "https://mseng.visualstudio.com/b924d696-3eae-4116-8443-9a18392d8544/_apis/wit/workItemTypes/User Story"
},
o	fields:
{
	href: "https://mseng.visualstudio.com/_apis/wit/fields"
}
},
•	url: "https://mseng.visualstudio.com/_apis/wit/workItems/1263163"
}

Apologies - I should have been more explicit.  I am looking for a way to have an "edit" hyperlink on an internal webpage that will open the workitem in the VSTS editor.  The workitem could be in one of several different projects and the only information I have available to me is the workitem Id.  I have tried the hyperlink mentioned in the Document Details page at https://docs.microsoft.com/en-us/vsts/work/work-items/work-item-url-hyperlink?view=vsts)  I have tried the hyperlink mentioned on that page but it appears to work only if the project is specified.  https://AccountName.visualstudio.com/ProjectName/_workitems?id=WorkItemNumber&_a=edit
When I don't specify the project, I get ERR_TOO_MANY_REDIRECTS.

After digging around some more, I was able to get this to work, and so I'll just add this comment in case others have the same issue.
This hyperlink worked for me:   https://AccountName.visualstudio.com/_workitems/edit/{id}  where {id} is the workitem id.
e.g. https://acme.visualstudio.com/_workitems/edit/7


Page 86: .bash_login instead of .bash_profile

On the second line of page 86, alternatives to .bash_profile are listed: ".bashrc, .profile and .bash_profile". The last one ".bash_profile" should probably be replaced by ".bash_login", as ".bash_profile" is obviously not an alternative, but ".bash_login" is.

@jdavid5815 - haha, you're quite right. I've updated that listing, and will add you to the credits in the errata/changelog. Thanks!


RDF Star Support

Is RDF/SPARQL Star support? I tried with GraphDB with a query like
select * where {
<< <somesubject> <someprop> "somevalue" >> ?p ?v
}

The query succeeds and the variables ?p and ?v are instantiated correctly, but instead of the triple I get back some GraphDB internal generated identifier.
SPARQL HTTP Protocol is probably behind on RDF Star....any thoughts?
Apologies if this is not the right forum to ask a question like this - I see the same people in various RDF JavaScript effort, perhaps there is some discussion forum that I should be using.

Are you sure that GraphDB sends a correct response? If you get something strange from the endpoint itself
I doubt this library could be at fault much itself. After all, it's just a fairly simple wrapper which performs the correct request and handles parsing of the response (be it SELECT bindings, triples from CONSTRUCT/DESCRIBE, etc)
That said, a parser used by sparql-http-client could have issues with RDF-Star but does not sound like that's the case

@bolerio The result parser doesn't support RDF-star at the moment. I plan to add this feature in the next major version. A catalog of features is in progress, and I will create issues and a milestone this week. The coding part is planned to be done in January.

@bergos Thanks for the info. Can't promise anything, but I'll monitor and if I find time I could try to contribute with the effort.

@tpluscode I am not sure that GraphDB sends the correct response, no. Also, I don't know what "correct" is here because I've never seen a spec for "SPARQL Star HTTP Protocol". But that's a good point, there could be a bug there...


quick.db install error. Node V15.14.0

Hi, I'm having a problem on the installation of quick.db
I have followed the issues page and seen many Issues, but no one helped me.
Here's the complete log of the error.
2021-04-17T03_58_30_901Z-debug.log
Please and thank you.

It seems that... I have the same problem with you. @JoshuaWise
Here is some of my log file:
1750 verbose stack Error<EMAIL_ADDRESS>install: `prebuild-install || npm run build-release`
1750 verbose stack spawn ENOENT
1750 verbose stack     at ChildProcess.<anonymous> (/root/.nvm/versions/node/v14.15.1/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18)
1750 verbose stack     at ChildProcess.emit (events.js:315:20)
1750 verbose stack     at maybeClose (internal/child_process.js:1048:16)
1750 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
1751 verbose pkgid<EMAIL_ADDRESS>1752 verbose cwd /root/RevincxAPI
1753 verbose Linux 3.10.0-862.11.6.el7.x86_64
1754 verbose argv "/root/.nvm/versions/node/v14.15.1/bin/node" "/root/.nvm/versions/node/v14.15.1/bin/npm" "install"
1755 verbose node v14.15.1
1756 verbose npm  v6.14.8
1757 error code ELIFECYCLE
1758 error syscall spawn
1759 error file sh
1760 error errno ENOENT
1761 error<EMAIL_ADDRESS>install: `prebuild-install || npm run build-release`
1761 error spawn ENOENT
1762 error Failed at the<EMAIL_ADDRESS>install script.
1762 error This is probably not a problem with npm. There is likely additional logging output above.
1763 verbose exit [ 1, true ]

Any updates on this issue?


Want a string comparing validator which ignores cases

Package version eg. v8, v9:
v9
Issue, Question or Enhancement:
Can you add a baked-in validator to ignore cases when comparing string value?
Code sample, to showcase or reproduce:
type Test struct {
    // May be MP4, mp4, FLV or flv, etc.
    FileType string `validator:"oneof= MP4 mp4 FLV flv" `
}
There are too many values to iterate. This's not convenient to use.

Is it possible to add a parameter to make oneof validator to ignore cases? Or a new validator has the same functionality as oneof but ignoring cases?

@toyota790 @willkk currently there is not an ignore case version. This seems data sanitization related.
If it were me I'd sanitize the data to lowercase first before validating and then would also have the benefit of having the data sanitized. See mold for another similar library that can do this for you.
leat me know if this works for you.

There is always the option to create a custom validation also that ignores case.


⚠ BCR Bot has degraded performance

In 91dad7e, BCR Bot (https://bcr.alternativasinteligentes.com/BCRApi/web/chatbot) experienced degraded performance:

HTTP code: 200
Response time: 1617 ms

Resolved: BCR Bot performance has improved in b645e97.


 Watch out for all the dangers lurking in space!

How do you play your game?
Press WASD - to move, I - to collect crystals (used to open gates blocking the planets - win goal), K - to use crystals - opening gates, J - to reset levels if you're stuck. Try to avoid dying by stepping on black holes, holes in space and fake planets. Go from the starting point all the way to the planet/finish and don't die. Upon dying the current level restarts

Code
Check off the items that are true.

[x] The game was made using the Sprig editor.
[x] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[x] The game runs without errors.
[x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x] The game name is not the same as the others from gallery

Image (If an image is used)

[x] The image is in the /games/img directory.
[x] The name of the image matches the name of your file.

Thanks for your PR!

I like the art for this game, but it's too similar to the Sokoban example to qualify for the Sprig gallery. You could differentiate it by adding another game mechanic or two.

Hey, added some things, to make the game more unique. Hope it's enough ;) Have a great day

Nice job with this! The extra content you added made this unique and genuinely fun to play. I also love the art with this game. I'm approving this, and you'll see it in the gallery soon!
If you're a teenager, you can request a free Sprig console at this link and join our online Slack community to chat with other people making Sprig games.


Display parent folder name in terminal tab

It would be useful to be able to display the parent directory name of the  CWD  in the terminal tab, to be able to differentiate between folders with the same name
Exemple:
Tabs opened in folders such as :

.../Composables/Common
.../Components/Common
.../Directives/Common

all display : "bash Common"
We could change this by using "terminal.integrated.tabs.description" and a new ${cwdParentFolder} variable and use it like so :
"${cwdParentFolder}/${cwdFolder}"
to display : "bash Components/Common"
${cwd} overflows most of the time and is not really usable in that case
Thank you for your help

I think this is actually a bug and we should be showing more of the path if the full paths differ, but the abbreviated one doesn't.

I haven't seen more users requesting this, thus closing.


Enable Node v10 and 12 on E2E pipeline

This PR uncomments MSAL Node E2E tests for versions 10 and 12 of Node.js

It is failing tests?

@sameerag yeah this is not going to work as long as we use lerna


cannot set player args with mpv

trying to set :
--player-args screen=2 geometry=+50+50
and get:
error: Failed to start player: /Applications/mpv.app/Contents/MacOS/mpv (Process exited prematurely)
mpv works fine with no arguments, but if i put --player-args with no arguments it tells me it is expecting an argument

You must include {filename} somewhere in the --player-args or mpv will not know what to play.
It’s usually enough to just use --player instead though, unless you need to add arguments after the filename.
For example,  --player 'mpv --screen=2 --geometry=+50+50'.

Thank you!


[MRG] Generate coverage while running tests

I found this inconsistency between how we run our tests while investigating why codecov doesn't show me which lines have coverage and which don't.
I was expecting https://codecov.io/gh/jupyterhub/binderhub/src/master/binderhub/build.py to show me which lines are covered. We seem to be computing some kind of coverage number because for the whole file it knows, but for some reason it doesn't show which lines are missing. If you look at code from (say) repo2docker https://codecov.io/gh/jupyter/repo2docker/src/master/repo2docker/app.py you see the green blobs in front of lines that are covered as well as background shading.

At least inn the codecov pages linked from this PR it seems like we get the big green dots in front of each line back.


Background proper display

Hi!
The background was being displayed oddly since HexFlow:

Bad aspect ratio and zoomed in(due to planebg.obj being the wrong proportions),
and moving to the left on view 3 (due to the camera being moved).

I tried using drawImage instead, but I didn't manage to make it draw "behind" the rest of the graphics.
So I fixed the planebg.obj values to have the good aspect ratio, and found the Z value by guesswork (…)
I couldn't find an exact Z value for pixel-perfect display, so I removed linear filtering because it would slightly alter the image, and now it's pixel-perfect!

Great stuff, thanks for sharing.
I'll update the obj and remove the data folder


Add PointsMaterialProps to iCSMAllProps type

Adapting your example here:
https://blog.farazshaikh.com/stories/rendering-1-m-particles/
But using TS + React Three Fiber and can't pass a size prop to CustomShaderMaterial without TS getting upset. 😞

Hey! CSM’s API has been updated since that post. Can you share some code? Does your code work with ts-ignore?

Closed via v3.2.10


[$500] Task – Able to edit task as room's member but not a member of Workspace

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: v1.4.15-4
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal team
Slack conversation:
Action Performed:

Go to https://staging.new.expensify.com/
Log in
Navigate to a Room Chat that has 2 or more participants
Click on the + in the compose box and select "Assign task"
Enter a Title only
Create the task
Log in as another participant of the #Room
Navigate to the #Room conversation where the task was created
Verify that user B can't edit task
Log in as another participant of the #Room who is not a member of Workspace
Navigate to the #Room conversation where the task was created
Click on Assignee

Expected Result:
Able to edit task as room's member but not a member of Workspace
Actual Result:
Room's member but not a member of Workspace can't edit task
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/93399543/7b3f8806-ce73-4856-bf42-51f33f87e324
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0118689f6671de101d
Upwork Job ID:<PHONE_NUMBER>620363264
Last Price Increase: 2023-12-21

Proposal
Please re-state the problem that we are trying to solve in this issue.
Users in the same room can not modify the task
What is the root cause of that problem?
we only allow user as a admin can modify task here
https://github.com/Expensify/App/blob/8970aa3cd4ffc73cc59b9de3a50fd3d4da361f15/src/libs/actions/Task.js#L882-L884
What changes do you think we should make in order to solve the problem?
we should remove the condition check admin role
What alternative solutions did you explore? (Optional)
N/A

Proposal
from: @unicorndev-727
Please re-state the problem that we are trying to solve in this issue.
Users in the same room can not modify the task
What is the root cause of that problem?
The root cause is that all users in the room is allowed to post and it will be room memeber to be able to change task state regardless not admin or not assignee.
// Default to allowing all users to post
const capability = report?.writeCapability ?? CONST.REPORT.WRITE_CAPABILITIES.ALL;

What changes do you think we should make in order to solve the problem?
We need to delete CONST.REPORT.WRITE_CAPABILITIES.ALL here.
const capability = report?.writeCapability

What alternative solutions did you explore? (Optional)
N/A

Proposal
Please re-state the problem that we are trying to solve in this issue.
Able to edit task as room's member but not a member of Workspace
What is the root cause of that problem?
Now in canModifyTask we are not denying modifying a task if a user is only a memeber of the room but not member of the workspace.
What changes do you think we should make in order to solve the problem?

We should disallow the user to modify if the user is not a member of the workspace in Task.canModifyTask
under here
https://github.com/Expensify/App/blob/2f7c2b2caa32002455165965d140230a38e3f18c/src/libs/actions/Task.js#L882-L884
if (ReportUtils.isPolicyExpenseChat(parentReport) && !policyRole) {
        return false;
    }

What alternative solutions did you explore? (Optional)

Coming from this discussion, the behavior we want is that any room member should be able to edit tasks created in the room.

updated proposal

@puneetlath
I added the result video.

@aimane-chnaif thoughts on the proposals?

@puneetlath  Currently, If I create a new room in workspace A and create a new task in that room:

If we invite a new user (B) to that room, User B can edit this task
If we invite a new user (C) to the workspace A, User C can't edit this task

Please help to confirm the expected. Note that in the previous issue we only allow creator, admin and assignee edit task
cc @aldo-expensify ping you here because we did a related task https://github.com/Expensify/App/issues/31863 before

The expectation is that any room member can edit the task.

@puneetlath
Here my solution checks if the user is room member and allows him to edit the task.
if (ReportUtils.isChatRoom(parentReport) && parentReport.participantAccountIDs.includes(sessionAccountID)) {
        return true;
    }

Issue not reproducible during KI retests. (First week)

@mvtglobally  This issue still reproduces on the last main.
https://github.com/Expensify/App/assets/39086067/417dd0aa-790b-4b3b-b82c-daba5b210094

Proposal
Please re-state the problem that we are trying to solve in this issue.
Room's member but not a member of Workspace can't edit task
What is the root cause of that problem?
In this PR, we decided that only the assignee, creator, and admin should be able to edit the task in all rooms
It is reason why we have this logic to check policyRole that caused this bug
https://github.com/Expensify/App/blob/2fe11741539c96dadd2ce109b8538b01d02a60cb/src/libs/actions/Task.js#L883-L885
What changes do you think we should make in order to solve the problem?
Note that, when creating a new workspace the App will create 3 rooms: admin room, announce room and policy expense room. Besides, user also create a room manually
First, we need to confirm the scope of the expectation here

The expectation is that any room member can edit the task. Specifically when the task is in a room

We will apply this expectation for all rooms or only apply for rooms created manually by user ???

Apply this expectation for all rooms

we should revert code change in this PR, because we change the expectation
One more thing, after reverting that PR, I suggest
https://github.com/Expensify/App/blob/2fe11741539c96dadd2ce109b8538b01d02a60cb/src/libs/actions/Task.js#L890
In here, we should use
    const rootParentReport = ReportUtils.getRootParentReport(taskReport);

instead of parentReport because we should apply this expectation to all child/grandChild task report. Note that user can create task A in room, and then in task A report user also can create another task

Only apply for rooms created manually by user

https://github.com/Expensify/App/blob/2fe11741539c96dadd2ce109b8538b01d02a60cb/src/libs/actions/Task.js#L883
In here we should update to use ReportUtils.isDefaultRoom(parentReport) instead of ReportUtils.isChatRoom(parentReport)
I also suggest using rootParentReport instead of parentReportas mentioned above
What alternative solutions did you explore? (Optional)
NA

https://github.com/Expensify/App/blob/2fe11741539c96dadd2ce109b8538b01d02a60cb/src/libs/actions/Task.js#L883-L885
Above code is related to both chat room and workspace chat so we need to exclude only chatRoom part. The workspace part is worth yet, I think.
if (policyRole && ReportUtils.isPolicyExpenseChat(parentReport && policyRole !== CONST.POLICY.ROLE.ADMIN) {
 return false
}

// If you don't have access to the task report (maybe haven't opened it yet), check if you can access the parent report
// - If the parent report is an #admins only room
// - If you are a policy admin
return ReportUtils.isAllowedToComment(parentReport);

And if we add this code before it, we can allow room member to edit task.
And it is more correct to use rootParentReport instead of getParentReport, I think.
const parentReport = ReportUtils.rootParentReport(taskReport);
if (ReportUtils.isChatRoom(parentReport) && parentReport.participantAccountIDs.includes(sessionAccountID)) {
        return true;
    }

@aimane-chnaif thoughts on the proposals?

@aimane-chnaif bump on reviewing the proposals.

@aimane-chnaif bump on review.

I think any room member. But getting clarification here: https://expensify.slack.com/archives/C066HJM2CAZ/p1705093799083929

Confirmed, any room member. Whether or not they are a workspace member.

Yes, that's correct.

Adding a note here for when the issue is complete cc @puneetlath  - could we make sure the [TR](#Room - Non creator/assignee employee cannot edit task in Room) is updated here? I've seen this issue a couple times and it seems we keep creating new issues to disable the ability for everyone to edit, and then new issues to enable the ability for everyone to edit

@aimane-chnaif

@DylanDylann can you share example test cases for your 2 additional changes?

Create a task (called A) in the workspace room, in the task A report we create another task (called B). In the task B Report
https://github.com/Expensify/App/blob/2fe11741539c96dadd2ce109b8538b01d02a60cb/src/libs/actions/Task.js#L881
https://github.com/Expensify/App/blob/2fe11741539c96dadd2ce109b8538b01d02a60cb/src/libs/actions/Task.js#L890
we should use workspace room report (root report) as param of ReportUtils.isAllowedToComment function

I just tried to revert previous PR to test but It seems we need revert it manually 😄

@aimane-chnaif

In here we should update to use ReportUtils.isDefaultRoom(parentReport) instead of ReportUtils.isChatRoom(parentReport)

We only do that in case the rule any room member can edit the task. is only applied to rooms created manually by the user
As mentioned in my proposal

Note that, when creating a new workspace the App will create 3 rooms: admin room, announce room and policy expense room. Besides, user also create a room manually

So I want to confirm which room we apply the rule any room member can edit the task.

@aimane-chnaif If we decided to apply the rule any room member can edit the task to every room, [updated proposal](any room member can edit the task.) to remove option 2

@aimane-chnaif
Reproduce Step:

In user A, Create a room (private and only allow admin comment)
In this room, invite user B
Create a task in this room (called task M)
Go to task report and create another task (called task N)
Login to user B
Go to Task M report and see that we can't edit task
Go to Task N report and see that we can edit task

Uploading b.mp4…
Expected: we can't edit the task in task N report

I think the current behavior is correct because now after the room is only allowed to be written by the admin, we still have the right to reply in the thread.

yes currently will not allow editing in task detail, but what he means is when we create a task within another task

We can comment, but because we are not allowed to edit tasks within another task.
What do you think about that @thienlnam

A good way to think about whether you can modify a task or not is that it should be tied to whether you can comment or not. Let's try to keep those action permissions as similar as possible

@thienlnam Could you help to check this bug and confirm the final expectation?

@thienlnam @aimane-chnaif

Invitees can comment on both task (created in private room) and subtask even though they cannot comment in private room.
So to be consistent, they should be able to edit both task and subtask.

If do that, in here
https://github.com/Expensify/App/blob/4da7fdab30857d0934d8a8035f9e1c773385d950/src/libs/actions/Task.js#L920
we need to use taskReport instead of parentReport
I want to confirm again with @thienlnam because this line is commited by him before
https://github.com/Expensify/App/blob/4da7fdab30857d0934d8a8035f9e1c773385d950/src/libs/actions/Task.js#L920

@thienlnam Could you help to check https://github.com/Expensify/App/issues/33420#issuecomment-1898201657 and confirm the final expectation?

In that video, the expectation would be that second user would be able to edit both Task A and Task B since they can comment in those reports as well.

I want to confirm again with @thienlnam because this line is commited by him before

Yeah definitely thanks for checking - now that these things are more fleshed out, I think we should definitely align with comment permissions

@aimane-chnaif Updated proposal

@thienlnam Như vậy trong trường hợp 1 task được tạo từ room và sau đó room only write bởi admin thì chúng ta có 2 trường hợp:

@thienlnam So in case a task is created from the room and then the room is only written by admin, currently members can not modify the task on task preview and task view. Is this in line with expectations?

@namhihi237 In your case, the member still can modify task. If we want prevent user from editing task we also need to prevent user from commenting in the task report. But it seem we confirmed the final expectation here

@DylanDylann I dont quite learly so i want to confỉm that, So if a room to allow only the admin can post but members can modify the task in this room? @thienlnam

@aimane-chnaif Yes, I concern this case. Because members can not comment in the room but can modify task preview.

Yeah that should be fine - so if I'm understanding correctly, this is a scenario where a room is created where only admins can comment.  If a task is created in that room, the regular member CAN modify the task which will also update the task preview.
Side note: We made a change recently so that you can only modify a task preview after you have opened the task report. This prevents some issues in the BE where you are trying to action on a task without having permissions on it yet. We should ensure that the changes made here do not remove that

@aimane-chnaif The PR is ready for review https://github.com/Expensify/App/pull/35219

@aimane-chnaif friendly reminder about the checklist so that we can pay in a couple of days.

Issue for regression test: https://github.com/Expensify/Expensify/issues/369720

All paid. Thanks y'all!


Randomly reboots and rootfs not working

Describe the bug
I recently accidentally got a outdated/buggy tweak on cydia, however after removing it my phone randomly started rebooting (not respringing) after about 2-3 mins of being jailbroken and i dont know what to do about it
also, when i try to use a rootfs restore it takes a while and then gives me the message "unable to sync/" and the app freezes
Device (please complete the following information):

iOS Version: 11.2.6
iOS Device: Iphone 5s
unc0ver Version: 3.4.2

Place an "x" between the brackets if true:

[ ] this is a bug others will be able to reproduce
[x] this issue is present with all tweaks uninstalled(except for default packages) or disabled
[ ] this issue is present after a rootfs restore
[x] this issue is present on the latest version of unc0ver

update: i rejailbroke on latest version and it works now


TypeError: Class constructor CommonStringsService cannot be invoked without 'new'

Describe the bug
After updating to version 3.0.0-next.4 just running ng serve will result in no compile errors. But you get a runtime error with CommonStringsService.
Error: Uncaught (in promise): TypeError: Class constructor CommonStringsService cannot be invoked without 'new'
TypeError: Class constructor CommonStringsService cannot be invoked without 'new'
    at new ClrCommonStringsService (clr-angular.js:707)
    at ClrCommonStringsService_Factory (clr-angular.js:709)
    at _callFactory (core.js:20068)
    at _createProviderInstance (core.js:20026)
    at resolveNgModuleDep (core.js:20001)
    at<EMAIL_ADDRESS>(core.js:20677)
    at resolveNgModuleDep (core.js:20006)
    at<EMAIL_ADDRESS>(core.js:20677)
    at resolveDep (core.js:21048)
    at createClass (core.js:20922)
    at resolvePromise (zone.js:852)
    at resolvePromise (zone.js:809)
    at zone.js:913
    at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:423)
    at Object.onInvokeTask (core.js:25977)
    at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:422)
    at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:195)
    at drainMicroTaskQueue (zone.js:601)

Is clarity 3.x intended to work with angular versions pre 9.x, e.g. 8.2.0?
How to reproduce
Run ng serve and and open browser console.
Expected behavior
It should just work?
Versions
App

Angular: 8.2.0
Node: 13.3.0
Clarity: 3.0.0-next.4

The current Clarity 3.0.0-next.4 will work with Angular 8.x until we finish upgrading to Angular 9. This should be working currently and looks like a bug. What version of the Angular CLI is your project running?

I will come back to you on Monday.

Hi. I have the same issue. My package.json
{
  "name": "web",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "build:ssr": "ng run web:server:dev",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
 "dependencies": {
    "@angular-devkit/architect": "^0.803.20",
    "@angular-devkit/core": "^8.3.20",
    "@angular-devkit/schematics": "^8.3.20",
    "@angular/animations": "8.2.12",
    "@angular/common": "8.2.12",
    "@angular/compiler": "8.2.12",
    "@angular/core": "8.2.12",
    "@angular/forms": "8.2.12",
    "@angular/platform-browser": "8.2.12",
    "@angular/platform-browser-dynamic": "8.2.12",
    "@angular/platform-server": "8.2.12",
    "@angular/router": "8.2.12",
    "@clr/icons": "next",
    "@clr/ui": "next",
    "@clr/angular": "next",
    "@clr/core": "next",
    "@nguniversal/module-map-ngfactory-loader": "8.1.1",
    "@webcomponents/custom-elements": "^1.0.0",
    "aspnet-prerendering": "^3.0.1",
    "core-js": "^3.3.3",
    "oidc-client": "^1.9.1",
    "popper.js": "^1.16.0",
    "rxjs": "^6.5.3",
    "zone.js": "0.9.1"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "^0.803.20",
    "@angular/cli": "8.3.20",
    "@angular/compiler-cli": "8.2.12",
    "@angular/language-service": "8.2.12",
    "@types/jasmine": "~3.4.4",
    "@types/jasminewd2": "~2.0.8",
    "@types/node": "~12.11.6",
    "codelyzer": "^5.2.0",
    "jasmine-core": "~3.5.0",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "^4.4.1",
    "karma-chrome-launcher": "~3.1.0",
    "karma-coverage-istanbul-reporter": "~2.1.0",
    "karma-jasmine": "~2.0.1",
    "karma-jasmine-html-reporter": "^1.4.2",
    "typescript": "3.5.3"
  },
  "optionalDependencies": {
    "node-sass": "^4.12.0",
    "protractor": "~5.4.2",
    "ts-node": "~8.4.1",
    "tslint": "~5.20.0"
  }
}

Angular CLI: 8.3.20
Node: 12.13.0
OS: linux x64
Angular: 8.2.0
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.802.0
@angular-devkit/build-angular     0.802.0
@angular-devkit/build-optimizer   0.802.0
@angular-devkit/build-webpack     0.802.0
@angular-devkit/core              8.3.20
@angular-devkit/schematics        8.3.20
@angular/cdk                      8.2.3
@angular/cli                      8.3.20
@angular/material                 8.2.3
@ngtools/webpack                  8.2.0
@schematics/angular               8.3.20
@schematics/update                0.803.20
rxjs                              6.5.2
typescript                        3.5.3
webpack                           4.38.0

Thanks for the details, I am looking into this and will try to get a fix in for our next 3.x-next release.

Just a note, we haven't confirmed that Clarity v3 can work with Angular v8, we are still working through issues with v9 update.

I have a similar issue with Clarity V3-next.5 in Angular 9.0.0-rc.7.

After investigation the latest CLI/Angular works with the latest 3.x Clarity but the error can occur in scenarios for misconfigured older projects. Make sure in the tsconfig.json the target is set to "target":"es2015", if set to es5 you will get the error above. In Angular 8 and CLI version 8 this was changed and the CLI automatically creates two builds one for IE11 with ES5 JavaScript and another with ES2015 for modern browsers.
https://blog.angular.io/version-8-of-angular-smaller-bundles-cli-apis-and-alignment-with-the-ecosystem-af0261112a27

@coryrylan  Your absolutely right. I changed the target from es5 to es2015 and it worked. Thanks!

I would say misconfigured is the wrong word here. It is a totally valid configuration, as sown here. It is the easiest configuration option to opt out of differential loading.

Thanks for the link, agree that it is a valid configuration. It looks like when using ng serve the CLI is not compiling ES2015 library dependencies when targeting ES5 but works fine when using differential loading.
It also looks like even after using the default differential loading ie11 support is broken in the latest v9 due to a polyfill see here https://github.com/angular/angular/issues/31678
Going to mark as has workaround when using differential loading and when https://github.com/angular/angular/issues/31678 is unblocked.
I'll keep this issue open to keep and eye on https://github.com/angular/angular/issues/31678 and to see if we can get ES5 target working with ng serve.

Same issue running Angular 9 with ivy and Clarity 3.0.0-next8. But I use target="es5".
    "@angular/common": "~9.0.0",
    "@angular/compiler": "~9.0.0",
    "@angular/core": "~9.0.0",
    "@angular/forms": "~9.0.0",
    "@angular/platform-browser": "~9.0.0",
    "@angular/platform-browser-dynamic": "~9.0.0",
    "@angular/router": "~9.0.0",
    "@clr/angular": "^3.0.0-next.8",
    "@clr/core": "^3.0.0-next.8",
    "@clr/ui": "^3.0.0-next.8",```

This is really blocking me, any know workaround for this? The zone.js trick did not work

import 'zone.js/dist/zone.js'; // Included with Angular CLI.
(window as any).__Zone_disable_toString = true;
and I don't want differential loading to be enabled. Really struggeling here.

![image](https://user-images.githubusercontent.com/16270237/74260270-80d17600-4cf9-11ea-8c95-119f5d3b7f21.png)

ERROR TypeError: Class constructor CommonStringsServiceInternal cannot be invoked without 'new'
at new ClrCommonStringsService (clr-angular.js:3008)
at Object.ClrCommonStringsService_Factory [as factory] (clr-angular.js:3010)
at<EMAIL_ADDRESS>(core.js:11347)
at<EMAIL_ADDRESS>(core.js:11170)
at<EMAIL_ADDRESS>(core.js:24104)
at<EMAIL_ADDRESS>(core.js:11181)
at<EMAIL_ADDRESS>(core.js:24104)
at Object.get (core.js:22457)
at getOrCreateInjectable (core.js:3561)
at Object.ɵɵdirectiveInject (core.js:14048)

@alexej-strelzow to better understand the use cases could you describe why you would not want to have differential loading for your project?

@coryrylan thank's for getting back to me so quickly. A couple of month ago I investigated the differential loading behavior on the major 4 browsers + IE 11 (I know...) and I saw that some browsers load both bundles, but in the end execute only 1 (of course). That's the main reason - seems like only Chrome fully benefits from it.
Also, yesterday I tried target="es2015", but was not successful. I believe that it has sth to do with the Tab-Component I am using. I will try to provide you a repro scenario tmw.
Thank you (and all the contributors) for putting your time and passion into this project, really appreciate it! :)

A repro would be excellent! I'd be happy to take a look. I do remember, at one point, when differential loading first came out, I had a similar issue where all the bundles would get loaded. I believe this has been fixed now in the latest Angular CLI but I will double-check to be sure that is the case with the latest Clarity release.
We want to be able to help teams be able to take advantage of differential loading as well as many of the under the hood perf improvements coming soon in Clarity. I also don't want to block people on upgrading because of this issue either so I am watching this closely and still investigating.

Unfortunately it works in stackblitz, but I have narrowed it down to the clr-tabs element. When I remove this code:
                    <clr-tabs>
                        <clr-tab>
                            <button (click)="tabClick('all')" clrTabLink>Alle</button>
                        </clr-tab>
                        <clr-tab>
                            <button (click)="tabClick('incoming')" clrTabLink>Eingänge</button>
                        </clr-tab>
                        <clr-tab>
                            <button (click)="tabClick('outgoing')" clrTabLink>Ausgänge</button>
                        </clr-tab>
                    </clr-tabs>

then this error:

does not occur anymore. And sometimes I get this error, after I played around with it for a long time:

Idk if this hint is enough for you. For now a workaround for me would be to write an own tabs-component I guess. I saw that there is now an own TabsModule - "ClrTabsModule", using this in addition to "ClarityModule" does not help.
The module where the tx-list is declared looks like this:
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ClarityModule, ClrTabsModule } from '@clr/angular';
import { ReactiveFormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
import { TransactionListComponent } from<EMAIL_ADDRESS>
@NgModule({
  declarations: [TransactionListComponent],
  imports: [CommonModule, RouterModule, ClarityModule, ClrTabsModule, ReactiveFormsModule],
  exports: [TransactionListComponent]
})
export class TransactionListModule {}

@alexej-strelzow fantastic! I'll be leaving this open and continue to closely monitor for similar issues.

Hi,
i had a same problem "core.js:6014 ERROR TypeError: Class constructor DataWindowControlComponent cannot be invoked without 'new'
at new DbaBspAdmsFreeForm (eval at  (eval at  (home.component.ts:209)), :958:32)" error is in the constructor " var _this = _super.call(this) || this;" but "_super" is a type not instance of class.
DbaBspAdmsFreeForm inherits from DataWindowControlComponent
//Transpiled code of "class DbaBspAdmsFreeForm  extends  DataWindowControlComponent {... }"
var DbaBspAdmsFreeForm = /** @class */ (function (_super) {
__extends(DbaBspAdmsFreeForm, _super);
function DbaBspAdmsFreeForm(_builder, dbaBspAdmsService, host) {
//Transpiled code of  'class DataWindowControlComponent extends DataStoreControlComponent  { .. } '
class DataWindowControlComponent extends DataStoreControlComponent {
constructor() {
super();
}
}

@coryrylan this issue comes from upgrading from 8 to 9, it doesn't update the "target" property in the tsconfig.json. Maybe it would be helpful to add a note on the 3.0 upgrade page to verify this setting.

@coryrylan I'm stuck at the same problem.
After upgrading Angular & Clarity in Nx workspace the Jest tests were failing according to #4196.
The workaround provided by @alexej-strelzow worked, but then the error message of this issue came up:
 TypeError: Class constructor CommonStringsServiceInternal cannot be invoked without 'new'

      at new apply (../../node_modules/@clr/angular/bundles/clr-angular.umd.js:1425:46)
      ...

All my targets are already configured for es2015, can you provide another hint for a solution?

Have you checked to see if the angular bundle is included in your transformIgnorePatterns?

I ignored clarity completely:
module.exports = {
    testMatch: ['**/+(*.)+(spec).+(ts|js)?(x)'],
    transform: {
        '^.+\\.(ts|html)$': 'ts-jest',
        '^.+\\.js$': 'babel-jest',
    },
    transformIgnorePatterns: ['node_modules/?!(@clr)'],
    moduleNameMapper: {
        'base.element.css'<EMAIL_ADDRESS>    },
    resolver: '@nrwl/jest/plugins/resolver',
    moduleFileExtensions: ['ts', 'js', 'html'],
    collectCoverage: true,
    coverageReporters: ['json', 'lcov'],
    watchPlugins: ['jest-watch-typeahead/filename', 'jest-watch-typeahead/testname'],
};

As already described in #4196 the error can be repoduced here by running the tests the library (npm run test lib)

Getting the same error when trying to add datepicket to my angular+electron app
Using
"@clr/angular": "^3.0.1",
"@clr/core": "^3.0.1",
"@clr/icons": "^3.0.1",
"@clr/ui": "^3.0.1",
"@angular/core": "^9.0.7"
target is configured to es2015
Any workaround?

Getting the same error when trying to add datepicket to my angular+electron app
Using
"@clr/angular": "^3.0.1",
"@clr/core": "^3.0.1",
"@clr/icons": "^3.0.1",
"@clr/ui": "^3.0.1",
"@angular/core": "^9.0.7"
target is configured to es2015

Any workaround?

I was with the same problem when trying to use the datepicker.
I have changed the target of my tsconfig.json from es5 to es2015 and now its working.

Getting this same error.
    "@angular/core": "^9.0.6",
    "@clr/angular": "^3.0.1",
    "@clr/core": "^3.0.0",
    "@clr/icons": "^3.0.1",
    "@clr/ui": "^3.0.1",

tsConfig.json's target is set to es6.
we have temporarily switched off ivy compiler (enableIvy: false in tsConfig). is the reason why we get this error?
Can anyone please help?

@aravindh-nagarajan
Depending on the other settings you have active in your tsconfig there are a couple more compiler options you may need for typescript. Can you share your tsconfig settings?
I may be able to point you in the right direction if I have a better understanding of what shape you're in.

@mathisscott Thank you, Here it is.
{
    "compilerOptions": {
        "allowJs": true,
        "declaration": false,
        "emitDecoratorMetadata": true,
        "esModuleInterop": true,
        "experimentalDecorators": true,
        "importHelpers": true,
        "lib": [
            "es2018",
            "dom"
        ],
        "module": "esnext",
        "moduleResolution": "node",
        "noImplicitAny": true,
        "sourceMap": true,
        "suppressImplicitAnyIndexErrors": true,
        "target": "es6",
        "baseUrl": ".",
        "paths": {
        }
    },
    "angularCompilerOptions": {
        "enableIvy": false,
        "fullTemplateTypeCheck": true,
    }
}

@aravindh-nagarajan
I have a project I've been testing with that compiles. I replaced its tsconfig with yours and it still compiles and runs just fine – no error. Do you have any configuration in your app that might be overriding what you are showing here?

hey, i have the same issue here.
i tried to add material MatSliderModule and then this happend:
Uncaught TypeError: Class constructor MatCommonModule cannot be invoked without 'new'
at<EMAIL_ADDRESS>(core.js:183)
at webpack_require (bootstrap:79)
at<EMAIL_ADDRESS>(slider.js:1)
at webpack_require (bootstrap:79)
at Module../src/app/app.component.ts (app.component.ts:1)
at webpack_require (bootstrap:79)
at Module../src/app/app.module.ts (app.module.ts:1)
at webpack_require (bootstrap:79)
at Module../src/main.ts (main.ts:1)
at webpack_require (bootstrap:79)
of course i tried all the above solutions and nothing worked for me.
this is my tsconfig.json:
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"module": "esnext",
"moduleResolution": "node",
"importHelpers": true,
"target": "es2015",
"lib": [
"es2018",
"dom"
]
},
"angularCompilerOptions": {
"fullTemplateTypeCheck": true,
"strictInjectionParameters": true
}
}
my app.module.ts:

and my dependencies:
"dependencies": {
"@angular/animations": "^9.1.11",
"@angular/cdk": "^9.2.4",
"@angular/common": "~9.1.11",
"@angular/compiler": "~9.1.11",
"@angular/core": "~9.1.11",
"@angular/forms": "~9.1.11",
"@angular/material": "^9.2.4",
"@angular/platform-browser": "~9.1.11",
"@angular/platform-browser-dynamic": "~9.1.11",
"@angular/router": "~9.1.11",
"jQuery": "^1.7.4",
"jquery": "^3.5.1",
"rxjs": "~6.5.4",
"tslib": "^1.10.0",
"zone.js": "~0.10.2"
}

since my error started when i first install Material, i have relized that the fix should be somewhere around material.
so i managed to fix this issue by doing the following steps:

ng add @angular/material (again).
delete node_modules folder.
npm install.

after compilation the issue got fixed!


[$250] Fab – Hmm... it's not here page when open Pay someone via Fab

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.81-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4613714&group_by=cases:section_id&group_order=asc&group_id=309127
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause - Internal Team
Action Performed:

Click on FAB
Click on pay someone
Pay an individual with paid elsewhere
Click on FAB> Click QAB> Pay

Expected Result:
The BNP should open and "Pay elsewhere" or "Pay with Expensify" is displayed in the confirm button
Actual Result:
Hmm... it's not here page when try to Pay someone via QAB
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/b479cf61-6315-4701-865e-9bbce4744ed4
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01f68c40ae41d4c5d8
Upwork Job ID:<PHONE_NUMBER>161242823
Last Price Increase: 2024-07-18

Issue OwnerCurrent Issue Owner: @c3024

@sonialiap  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

There are some similar issues floating around but I think this isn't covered by any of the existing ones...maybe 🤔 Moving to external

Proposal
Please re-state the problem that we are trying to solve in this issue:
The user encounters a "Hmm... it's not here" page when trying to pay someone via the Quick Action Button (QAB) in the FAB menu.
What is the root cause of that problem?
The root cause of this issue is likely due to incorrect or missing navigation routes when the "Pay someone" option is selected via the QAB. The navigation system may not be properly handling the route or parameters required to display the "Pay elsewhere" or "Pay with Expensify" options.
What changes do you think we should make in order to solve the problem?
To solve this problem, we need to ensure that the correct navigation routes and parameters are used when the "Pay someone" option is selected via the QAB. This can be achieved by:

Verify and Correct Navigation Routes:

Ensure the navigation route used for "Pay someone" is correctly defined and accessible.

Pass Required Parameters:

Ensure all necessary parameters are passed when navigating to the "Pay someone" screen to display the appropriate options.

Example of changes:

Correct Navigation Routes:

Ensure the route for "Pay someone" is correctly configured in the navigation stack.

// Navigation configuration
const AppNavigator = createStackNavigator({
    Home: HomeScreen,
    PaySomeone: PaySomeoneScreen,
    // Other screens
});

Pass Required Parameters:

Ensure parameters like paymentMethod are passed when navigating to the "Pay someone" screen.

// Function to navigate to PaySomeone screen
const navigateToPaySomeone = (navigation, paymentMethod) => {
    navigation.navigate('PaySomeone', { method: paymentMethod });
};

// Example usage in the FAB menu
<FAB
    onPress={() => navigateToPaySomeone(navigation, 'Pay with Expensify')}
>
    Pay Someone
</FAB>

Any alternative solutions explored? (Optional)

Refactor FAB Menu Logic:

We could consider refactoring the FAB menu logic to ensure that all navigation routes are correctly defined and accessible.

Use Conditional Rendering:

We could also implement conditional rendering based on the route parameters to ensure the correct options are displayed.

Error Handling:

Using error handling to provide a fallback mechanism in case of navigation failures, guiding the user to the correct screen.

Please note that the above explanation outlines only the technical approach I plan to take. I'll submit the finalized solution after getting accepted, as mentioned.
Thanks!

I don't see the bug being reproducible on main
https://github.com/Expensify/App/assets/102477862/ad355099-da0d-40b1-b4a4-9ad7f804618e

@sonialiap this is not reproducible and I think can be closed.

Issue is still reproducible on the latest build 9.0.6-0
https://github.com/Expensify/App/assets/78819774/84a8e46f-782b-4333-bd0d-f03c4e76983d

@lanitochka17 Is this repro on any account?

This happens on Android and Web - Gmail account

Issue not reproducible during KI retests. (First week)

Issue not reproducible during KI retests. (First week)

@lanitochka17 Can you please close this if it is not reproducible anymore?
I am seeing a flash of not found page for all flows including Pay someone flow. But that appears to be a different bug and there must likely be an issue for that.
https://github.com/user-attachments/assets/e736a5af-c6ec-468a-9733-92414498f935
Thanks!


Profile css

Align all items at a single column in profile page.
Added separate link to display user posted recipes.
Modified CSS for My saved Recipes.
Modified CSS for logout button" is blocking the "save" recipe toogle issue

Looks Good