Allow for shared implementations

Due to the high similarity of both the solver and generator it seems reasonable to create a shared directory at the generator and solver directory level. Due to the Dockerfile being inside the generator and solver directory, it does not allow for COPYing the shared directory into the newly built container (resulting in a "COPY failed: forbidden path outside the build context: ../shared ()").
I'm currently unsure what might be a good solution.

What you're asking for cannot be done directly. Due to the way that Docker works it requires every file used in the build to be contained in a single top level folder called the build context. When using Docker directly you could set the build context to be the entire project folder containing generator, solver, and shared, but that cannot be done within Algobattle and also cannot implemented due to the way it is implemented. You also cannot use symlinks to get the folder structure you want to work.
However, there is a way to work with your use case, even though it has some downsides. Let's say you start with a folder structure like this:
Pairsum
 ├─ generator/
 │  ├─ unique_data.json
 │  └─ Dockerfile
 ├─ results/
 ├─ solver/
 │  ├─ unique_data.json
 │  └─ Dockerfile
 ├─ shared/
 │  └─ shared_data.json
 ├─ .gitignore
 ├─ algobattle.toml
 ├─ description.md
 └─ problem.py

What we can do is just move everything inside all of generator, solver, and shared into a single folder, giving everything a unique name and possibly moving things that aren't the dockerfiles into subdirectories:
Pairsum
 ├─ everything/
 │  ├─ generator.dockerfile
 │  ├─ generator/
 │  │  └─ unique_data.json
 │  ├─ solver.dockerfile
 │  ├─ solver/
 │  │  └─ unique_data.json
 │  └─ shared_data.json
 ├─ results/
 ├─ .gitignore
 ├─ algobattle.toml
 ├─ description.md
 └─ problem.py

And then edit the algobattle.toml to reflect the new paths of our dockerfiles (in particular, the path to the files itself, not just their parent folder):
# other stuff above this
[teams."Red Pandas"]
generator = "everything/generator.dockerfile"
solver = "everything/solver.dockerfile"

Of course, you will then also want to adapt your dockerfiles to look for everything in the new paths.
There are two important things to note here. The first is that the dockerfiles must be in the folder that contains everything used in the builds and it must have the .dockerfile extension. That is, they cannot be placed in the everything/generator or everything/solver subdirectories. And while they can be named something like my very fancy name.dockerfile, it must always carry that extension or it will not be recognised by Algobattle.
The second is that when you package an Algobattle project and upload it to the server, it will always bundle the entire build context together. It isn't possible to determine that some folders might not be needed for the generator or solver builds, so you would end up duplicating this data. If these are only a couple of light code files that isn't an actual issue, but if you accidentally leave things like build artifacts or precompiled binaries (which is bad practice in the first place) in the folders before packaging, you will create rather large files unnecessarily.

Thank you for the elaborate suggestion for how to make a shared  lib work.
Btw it should be documented that only Dockerfile and some_name.dockerfile syntax is allowed.
The problem is that algobattle package programs then ends up emitting an empty zip file, because the program_root is the unix path of that Dockerfile (TeamInfo: generator=PosixPath('../generator.dockerfile') solver=PosixPath('../solver.dockerfile')).

Technically, the information what files to include lies in the Dockerfile, but I don't know if it's a good idea to parse that.
Before I dove into the source I expected the prog-file to just be a docker image, but that does not seem to be the case.

The problem is that algobattle package programs then ends up emitting an empty zip file, because the program_root is the unix path of that Dockerfile (TeamInfo: generator=PosixPath('../generator.dockerfile') solver=PosixPath('../solver.dockerfile')).

That's a bug we should fix, thanks for the report.

Technically, the information what files to include lies in the Dockerfile, but I don't know if it's a good idea to parse that.
Before I dove into the source I expected the prog-file to just be a docker image, but that does not seem to be the case.

Yeah, it would make most sense if they were docker images, but that comes with some problems. The docker image doesn't just contain the code and any compilation results, but also the whole OS and language compiler/runtime. If you just grab the images as-is then you'll get files that typically are over a gigabyte large, compared to a few kilobytes of just the code. In a perfect world we'd be able to create a .prog file that contains exactly those parts of the docker image that depend on the code and save only those.
That is somewhat doable, but fairly complex to actually implement. There are a couple different options, but all either rely on very intricated manipulation of internal docker structures, or exposing fairly esoteric docker specific concepts to the students in Algobattle courses. The most basic would be to build the docker image locally and then save it to a .tar file. This will contain the individual layers and some metadata needed to piece them together. In particular, the first layer will be the one corresponding to the FROM ... statement. The .tar file should contain enough metadata to find the exact image in the docker hub registry, so we can remove the layer data from the file. If you're clever enough and also parse the dockerfile you can probably also manage to identify a decent chunk of layers that just install something from the web, like RUN apt install -y clang-15 cmake ninja-build, but that is going to be fairly difficult. You'd then probably also need to save some of your own metadata so that Algobattle can then grab the removed layers from the web when building and restore the entire image properly.
While that is theoretically possible, it's not super feasible and frankly does not have a lot of relevant upsides to the current solution of just zipping up the whole folder. The only real advantage would be that you can't have weird issues where your build environment looks different on the server for some reason, but that isn't a big concern anyways. This also wouldn't help with your goal of having stuff outside the build context included in the builds.


[Volunteer] Add WasmPlugin

Volunteer help
Background
Apache ShenYu is a Java native API Gateway for service proxy, protocol conversion and API governance. Currently, ShenYu has good scalability in the Java language. However, ShenYu's support for multiple languages is still relatively weak.
The wasm bytecode is designed to be encoded in a size- and load-time-efficient binary format. WebAssembly aims to execute at native speed by taking advantage of common hardware capabilities available on a wide range of platforms.
The goal of WasmPlugin is to be able to run wasm bytecode(wasmer-java is a good choice, if you find a better choice, please discuss with me), and other languages can write ShenYu plugins based on this language(such as Rust/golang/C++) as long as they can be compiled into wasm bytecode.
More documents on wasm and WASI are as follows:
https://github.com/WebAssembly/design
https://github.com/WebAssembly/WASI
Relevant Skills
Know the use of Apache ShenYu, especially the plugin
Familiar with Java and another language which can be compiled into wasm bytecode
Task List
1.develop shenyu-wasm-plugin.
2.write integrated test for shenyu-wasm-plugin.
3.write wasm plugin documentation in shenyu-website.
Links:
website： https://shenyu.apache.org/
Difficulty: Major
Potential mentors:
ZiCheng Zhang, mail<EMAIL_ADDRESS>Project Devs, mail<EMAIL_ADDRESS>

Hello, I'm very interested in this idea!  and I'm more than happy to contribute to ShenYu! Thank you!


Tie Library

This "issue" is to discuss the support for FCTieMod that is coming in RGP Lua 0.62. I have full support now working for FCTieMod on my development machine. However, I want to alert this community to a big issue around editing ties in Finale. To initialize an FCTieMod so that you can modify a tie's placement, you have to know:

the direction (up or down) of the tie
both the tied-from and tied-to notes
whether it has Outer or Inner placement
whether it starts/ends on note side or stem side
whether it crosses a system break
the specific combination of preferences selected in FCTiePrefs
the specific combination of preferences for ties selected in FCLayerPrefs

Just looking down the list, you begin to realize the number of dependencies to know these (especially the tie direction) is quite high. Furthermore, it depends entirely on reverse-engineering Finale's current behavior, which is sometimes quite idiosyncratic in corner cases such as ties to nothing. Finally, even if you figure all this out, the code is extremely brittle if Finale's behavior changes.
I know of no way to get Finale to tell us this information. There are no "tie metrics" in the PDK, more's the pity.
The good news is that I figured out all this code over twenty years ago for my Tie Mover plugin. And Finale's behavior for ties does not appear meaningfully to have changed since then. The question then comes down to where to put this code. Originally my idea was to lard it into the PDK Framework. This would have the advantage of making it available to any Lua programmer. But it turns out that whether you can find both notes in the tie depends a great deal on how the FCNote instance was created. And if I'm not going to handle that for Lua scripts, the whole plan starts to unravel. You get into issues around how to keep references to variables alive, and it turns into a rabbit hole.
So the solution I elected instead was to force the Lua programmer to do all the work. I provide all the methods on FCTieMod to initialize the Tie Placement endpoints, but the Lua script has to figure out what to pass in. Obviously, this has the drawback that basically no one will likely ever take the trouble.
Enter tie.lua, a tie library that I would like to add to this repo. It basically is a dump of all the work I did in ~2000 to figure out Finale's behavior. Now initializing FCTieMod for editing tie placement is as simple as:
-- This code nudges selected ties up by 12 evpu.
-- It doesn't handle the case where a note has both a tie end and a tie start.
-- That's a refinement for a real implementation.

local tie = require("library.tie")

tie_prefs = finale.FCTiePrefs()
tie_prefs:Load(0)

for entry in eachentrysaved(finenv.Region()) do
    for note in each(entry) do
        local tie_mod
        if note.Tie then
            tie_mod = finale.FCTieMod(finale.TIEMODTYPE_TIESTART)
        elseif note.TieBackwards then
            tie_mod = finale.FCTieMod(finale.TIEMODTYPE_TIEEND)
        end
        if tie_mod then
            local loaded = tie_mod:LoadAt(note)
            tie.activate_endpoints(note, tie_mod, finenv.UI():IsPageView(), tie_prefs) -- activate any endpoint that needs it
            tie_mod.StartVerticalPos = tie_mod.StartVerticalPos + 12
            tie_mod.EndVerticalPos = tie_mod.EndVerticalPos + 12
            tie_mod:SaveAt(note)
         end
      end
   end
end

All the magic happens in tie.activate_endpoints.
The more I think about this approach, the more I think it is the correct one. Now the Lua script owns all the variables. But more importantly, if Finale ever changes its behavior around ties, we don't have to wait for a new version of RGP Lua to incorporate those changes. Same goes if I have introduced bugs in extracting my Tie Mover code or if my original code had errors. They will be easy to fix if the code is in Lua.
I know that @Nick-Mazuk doesn't like incorporating library code that isn't used anywhere. But this seems like a chicken and egg situation. No one is likely to use ties without the library.

Much appreciated Robert! Nick can just deal with it :)
Sent from my iPhone

On May 12, 2022, at 6:51 AM, rpatters1 @.***> wrote:

This "issue" is to discuss the support for FCTieMod that is coming in RGP Lua 0.62. I have full support now working for FCTieMod on my development machine. However, I want to alert this community to a big issue around editing ties in Finale. To initialize an FCTieMod so that you can modify a tie's placement, you have to know:
the direction (up or down) of the tie
both the tied-from and tied-to notes
whether it has Outer or Inner placement
whether it starts/ends on note side or stem side
whether it crosses a system break
the specific combination of preferences selected in FCTiePrefs
the specific combination of preferences for ties selected in FCLayerPrefs
Just looking down the list, you begin to realize the number of dependencies to know these (especially the tie direction) is quite high. Furthermore, it depends entirely on reverse-engineering Finale's current behavior, which is sometimes quite idiosyncratic in corner cases such as ties to nothing. Finally, even if you figure all this out, the code is extremely brittle if Finale's behavior changes.
I know of know way to get Finale to tell us this information. There are no "tie metrics" in the PDK, more's the pity.
The good news is that I figured out all this code over twenty years ago for my Tie Mover plugin. And Finale's behavior for ties does not appear meaningfully to have changed since then. The question then comes down to where to put this code. Originally my idea was to lard it into the PDK Framework. This would have the advantage of making it available to any Lua programmer. But it turns out that whether you can find both notes in the tie depends a great deal on how the FCNote instance was created. And if I'm not going to handle that for Lua scripts, the whole plan starts to unravel. You get into issues around how to keep references to variables alive, and it turns into a rabbit hole.
So the solution I elected instead was to force the Lua programmer to do all the work. I provide all the methods on FCTieMod to initialize the Tie Placement endpoints, but the Lua script has to figure out what to pass in. Obviously, this has the drawback that basically no one will take the trouble.
Enter tie.lua, a tie library that I would like to add to this repo. It basically is a dump of all the work I did in ~2000 to figure out Finale's behavior. Now initializing FCTieMod for editing tie placement is as simple as:
-- This code nudges selected ties up by 12 evpu.
-- It doesn't handle the case where a note has both a tie end and a tie start.
-- That's a refinement for a real implementation.
local tie = require("library.tie")
tie_prefs = finale.FCTiePrefs()
tie_prefs:Load(0)
for entry in eachentrysaved(finenv.Region()) do
for note in each(entry) do
local tie_mod
if note.Tie then
tie_mod = finale.FCTieMod(finale.TIEMODTYPE_TIESTART)
elseif note.TieBackwards then
tie_mod = finale.FCTieMod(finale.TIEMODTYPE_TIEEND)
end
if tie_mod then
local loaded = tie_mod:LoadAt(note)
tie.activate_endpoints(note, tie_mod, finenv.UI():IsPageView(), tie_prefs) -- activate any endpoint that needs it
tie_mod.StartVerticalPos = tie_mod.StartVerticalPos + 12
tie_mod.EndVerticalPos = tie_mod.EndVerticalPos + 12
tie_mod:SaveAt(note)
end
end
end
end
All the magic happens in tie.activate_endpoints.
The more I think about this approach, the more I think it is the correct one. Now the Lua script owns all the variables. But more importantly, if Finale ever changes its behavior around ties, we don't have to wait for a new version of RGP Lua to incorporate those changes.
I know that @Nick-Mazuk doesn't like incorporating library code that isn't used anywhere. But this seems like a chicken and egg situation. No one is likely to use ties without the library.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.

Go ahead and add the library functions.


Add support for specifying any files for easy access in templates.

:warning: Not ready for merge.
Changes in this PR needs the changes from #32. I'll rebase after that is merged

I am working on a version which allows using loaders - I hope this would also solve this PR. If not please feel free to reopen it again.

@SimenB @jantimon looks like the future/loaders branch got merged in! https://github.com/ampedandwired/html-webpack-plugin/commit/9e8259ae269b78b3c5498bb3320f250ca5d9a476


Nuxt server components not working in SWR mode

Environment
------------------------------
- Operating System: Linux
- Node Version:     v18.18.0
- Nuxt Version:     3.8.0
- CLI Version:      3.9.1
- Nitro Version:    2.7.2
- Package Manager<EMAIL_ADDRESS>- Builder:          -
- User Config:      devtools, routeRules, experimental
- Runtime Modules:  -
- Build Modules:    -
------------------------------

Reproduction
https://stackblitz.com/edit/github-99tvkt?file=nuxt.config.ts
Describe the bug
Server components do not render with swr enabled. See the attached reproduction.
Additional context
No response
Logs
No response

I'm having the same problem. Wanted to get rid of a lot the unnecessary hydration (most of my site doesn't need client side JS and just displays static data) and everything was looking good and pronising on devServer and with SSR build.

Something iffy is going on with this reproduction as I the issue doesn't seem to be reproducible on stackblitz? Even when pinning the nuxt version to 3.8.0

okay, pinning nitropack to 2.7.2 breaks it again.. so this seems to have been fixed in nitro at some point (not too far into the past as I had real world problems before launching a new site in late June).
I'll try to pinpoint the nitro version this seems to have been fixed.

Okay, this issue seems to have vaporized itself (at least in the reproduction) with nitro 2.9.0 release. No mentions in any changelog whatsoever though..
Broken (nuxt 3.8.0 & nitro <= 2.8.1):
https://stackblitz.com/edit/github-99tvkt-klrzvv?file=package.json
Working (nuxt 3.8.0 and nitro >= 2.9.0):
https://stackblitz.com/edit/github-99tvkt-s9jhf5?file=package.json
@danielroe I think this issue can be closed. But I also think this should be mentioned somewhere that this has implicitly been fixed with nitro 2.9.0 release as there's a bunch of folks (including me) that steered clear of using server components when using SWR because it was broken until recently and there was no mention anywhere that this has seemingly been fixed.


Prop being mutated and unresolved directive el

I am trying to use the accordion component. It is working for the most part but throwing tons of errors.
It is saying that it is mutating a property isOpen (I don't have any props called isOpen).
And: Failed to resolve directive: el
What do I do from here?

Having same issue!

@yuche any resolution to this. Have the same issue


convert getNewRowId from recursive to iterative

Doing so avoids Maximum call stack size exceeded in tables with many rows
Summary
resolves #192
How did you test this change?
Patched tinybase locally while using it as a dependency in my own project to confirm that converting to a while loop avoids the Maximum call stack size exceeded exception.

Super awesome. Looks good to me!


Compilation errors

[x] I have read the Get Started - Installation section
[x] I have read and done the Get Started - Setup Android section
[x] I have read and done the Get Started - Setup iOS section
[x] I have already searched for the same problem

Environment

Technology
Version

Flutter version
3.0.4

Plugin version
5.4.3+7

Android version
11

iOS version
None

Xcode version
None

Device information: Samsung Galaxy A31 (SM-A315F)
Description
Expected behavior:
Successful build.
Current behavior:
Launching lib\main.dart on SM A315F in debug mode...
Running Gradle task 'assembleDebug'...
C:\flutter.pub-cache\hosted\pub.dartlang.org\flutter_inappwebview-5.4.3+7\android\src\main\java\com\pichillilorenzo\flutter_inappwebview\in_app_webview\InAppWebView.java:280: error: cannot find symbol
settings.setAppCachePath(options.appCachePath);
^
symbol:   method setAppCachePath(String)
location: variable settings of type WebSettings
C:\flutter.pub-cache\hosted\pub.dartlang.org\flutter_inappwebview-5.4.3+7\android\src\main\java\com\pichillilorenzo\flutter_inappwebview\in_app_webview\InAppWebView.java:494: error: cannot find symbol
settings.setAppCacheEnabled(false);
^
symbol:   method setAppCacheEnabled(boolean)
location: variable settings of type WebSettings
C:\flutter.pub-cache\hosted\pub.dartlang.org\flutter_inappwebview-5.4.3+7\android\src\main\java\com\pichillilorenzo\flutter_inappwebview\in_app_webview\InAppWebView.java:504: error: cannot find symbol
settings.setAppCacheEnabled(true);
^
symbol:   method setAppCacheEnabled(boolean)
location: variable settings of type WebSettings
C:\flutter.pub-cache\hosted\pub.dartlang.org\flutter_inappwebview-5.4.3+7\android\src\main\java\com\pichillilorenzo\flutter_inappwebview\in_app_webview\InAppWebView.java:515: error: cannot find symbol
settings.setAppCachePath(ctx.getCacheDir().getAbsolutePath());
^
symbol:   method setAppCachePath(String)
location: variable settings of type WebSettings
C:\flutter.pub-cache\hosted\pub.dartlang.org\flutter_inappwebview-5.4.3+7\android\src\main\java\com\pichillilorenzo\flutter_inappwebview\in_app_webview\InAppWebView.java:517: error: cannot find symbol
settings.setAppCacheEnabled(true);
^
symbol:   method setAppCacheEnabled(boolean)
location: variable settings of type WebSettings
C:\flutter.pub-cache\hosted\pub.dartlang.org\flutter_inappwebview-5.4.3+7\android\src\main\java\com\pichillilorenzo\flutter_inappwebview\in_app_webview\InAppWebView.java:521: error: cannot find symbol
settings.setAppCacheEnabled(false);
^
symbol:   method setAppCacheEnabled(boolean)
location: variable settings of type WebSettings
C:\flutter.pub-cache\hosted\pub.dartlang.org\flutter_inappwebview-5.4.3+7\android\src\main\java\com\pichillilorenzo\flutter_inappwebview\in_app_webview\InAppWebView.java:767: error: cannot find symbol
settings.setAppCachePath(newOptions.appCachePath);
^
symbol:   method setAppCachePath(String)
location: variable settings of type WebSettings
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
7 errors
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':flutter_inappwebview:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 39s
Exception: Gradle task assembleDebug failed with exit code 1
Steps to reproduce

Add plugin to pubspec.yaml
Build app.

Need to downgrade targetSdkVersion and compileSdkVersion to 32
Also some other packages to older version, e.g: permission_handler: ^9.2.0
At least we can run our app until this issue fixed.
Source: https://github.com/pichillilorenzo/flutter_inappwebview/issues/1223#issuecomment-1158721352

upgrade your gradle version

I fixed the issue with :

upgrade my gradle version to 7.1.4
upgrade gradle wrapper to 7.4
upgrade kotlin version to 1.6.10


Usage of null with static typing

Currenlty, the following code will not work:
func _ready():
    foo(null)

func foo(bar: Vector2):
    print(bar)

This will result in a parser error:
Parser rError: At 'foo()' call, argument 1. Assigned type (null) doesn't match the fuction argument'stype (Vector2)
This is not completely bad; I understand having nulls are not so good in the first place. The problem is that GDScript still has null, and when converting duck-typed code to staticly typed code, it's hard to replace parts of the code where there were cases where null existed.
From what I know so far, I would assume there would be 2 (nice) ways to approach this problem.

Add ? at the end of the type for "nullable" values (like C# or Swift).
 func _ready():
     foo(null)

 func foo(bar: Vector2?):
     if bar != null:
         print(bar)

By doing so, you would be able force null checks with values that could be null, resulting in safer code.

Try and ditch null with Option(Val). (like Rust)
 func _ready():
     foo(null)

 func foo(bar: Option<Vector2>):
     match Option:
         Some(val):
             print(val)
         None:
             pass

This will need an additional implementation of enum with values.

There was talk about #26228 having a Variant return type. Maybe at the very least we could have that if no option types?

Yeah, having an "any" equivalent should work as well.
My problem with using Variant would be that it doesn't enforce safety so much... If I'm duck typing, I would want the program "not" crash at all.


Implement Leader Election for HA Mode

Description
Currently, the k8s-cleaner operator is deployed with a single replica by default and does not support high availability (HA). If the number of replicas is increased, multiple pods may attempt to take actions simultaneously, which could lead to conflicts or redundant operations on the cluster.
To address this, I suggest implementing leader election for HA mode. Many open-source projects utilize Kubernetes' Lease mechanism for this purpose, allowing only one pod to act as the leader at any given time. This would prevent multiple instances from interfering with each other when multiple replicas are running.
Here are the relevant Kubernetes docs: Kubernetes Lease Mechanism.
Proposed Solution:
Introduce leader election logic using Kubernetes Leases.
Ensure that only the pod holding the active lease performs actions on the cluster, while other replicas remain in a standby mode.
I am happy to volunteer to implement this feature for the project.
I am looking forward to your thoughts! Thanks!

Thanks @aminmr. I am not sure about this. k8s-cleaner originally had leader election. But I removed it. Reason being, I believe with cleaner we might hit scaling more than availability (and the end it does not have to respond to other services). And when we hit scaling, my plan is to introduce sharding. So different cleaner instances can process in parallel different cleaner instances based on some annotation.
Let's keep this open though. If we don't take that path, we will add leader election back.
Thank you again!

Thanks, @gianlucam76 !
I appreciate your explanation, but I have a couple of questions regarding the future implementation and design decisions for the Cleaner.
qir
What technologies are you planning to use for implementing sharding in the Cleaner?
I'm curious about how you plan to manage sharding to ensure multiple Cleaner instances can process resources in parallel.
Could you clarify why leader election isn't a good solution for this project?
I understand your point about scaling being more of a concern than availability, but I’m still unclear on why leader election is being considered less effective in this case. Is there a specific issue with leader election that conflicts with the overall goals of the project? And do you know any relevant operator with sharding feature?
Thanks again for your time, and I look forward to your thoughts on this!

Hi @aminmr regarding sharing, I am planning on using same approach I used in sveltos here it will require some manual configuration (as I don't have a shard controller like in Sveltos), but the idea is that.
In general leader election is great (tough it has a cost of you having to run 3 pods instead of 1 with 2 pods doing nothing most of the time). But I do see that more valuable for a service that need to respond to other services (where you cannot afford having it down for 30 seconds or so).
Cleaner has a configurable jitter window. So if cleaner gets stuck, it won't miss processing cleaner instances which are due. This makes the leader less needed.


fix(input): make all icons in input containers the correct size

Fixes #2586 and #3229. This is a more general solution to #3342, which also handles the md-hint case. See https://github.com/angular/material2/issues/2586#issuecomment-284899825 for more details.
I haven't noticed any issues doing this at the .mat-input-container level. If there are any I think this solution is still more robust overall and we should handle those specific cases individually.

@mmalerba FYI, I don't think your initial PR actually fixes #2586 (at least for icons). I've just added an icon prefix/suffix example to the demo app to demonstrate this behavior. Let me know if you have thoughts on how to fix it and I'll update my PR accordingly.

All the browsers I've tried compute the mdSuffix width using the ligature text content instead of the glyph width. I can't find a solution to this that doesn't involve flex layouts, but that seems to be a no-no in this case per the coding standards.

Ah, this was my bad. I was using edit_mode instead of mode_edit as the icon text. Apparently edit produces a valid glyph and thus _mode just results in extra whitespace. Apologies for the confusion, this is good to go.


Add more buffer size for single TCP test

For PERF-NETWORK-TCP-THROUGHPUT-MULTICONNECTION-NTTTCP tests, the buffer size is 1M when with one connection. In this single TCP test, we'd better add more buffer size, so that the max buffer size can achieve 1M. Then the two test cases will be more valuable when analyzing performance.


Use the architecture to simulate data

Simulation and analysis goes hand in hand. We could integrate STEM simulation packages to generate data sets with very high throughput on the same cluster and cloud infrastructure that is used for storing and analyzing the acquired data.

I think providing interfaces would be the best. For example @fwin22 has been iteratively calling Dr.Probe from Python. My personal preference would be if LiberTEM will move towards acquisition as it was planned in the beginning...

This is now possible by creating a Dask array from a UDF result and applying the UDF to a parameter map, for example.


Add filepath filter to Source

This allows us to filter metalink files in repositories that have multiple .meta4s in the same directory
Co-authored-by: Joshua Aresty<EMAIL_ADDRESS>

Thanks for making the pull request.
I thought about this a bit more. I'd like to get rid of the wildcards in the repository URIs (because they're incompatible with put operations). Instead, I've changed the core metalink to always recurse the path it's given (negating the need for wildcards) and then a repositorypath filter (essentially the one from this PR) can be applied to limit complex subpaths like stemcells do.
I've tried the changes with the following configuration and I think it would work for you. Additionally, it should be backwards compatible if any of your pipelines are using wildcards in the URI field until you have a chance to convert them.
resources:
- name: test
  type: metalink-repository
  source:
    uri: "git+https://github.com/bosh-io/stemcells-core-index.git//dev/ubuntu-xenial"
    version: 315.x # still works, if you want
    filters:
    - repositorypath: "*/aws-xen-hvm-go_agent.meta4"

Do you think this approach makes sense? And is something that supports your needs?

cc @jaresty


License information

Hi!
Can we use this project for comercial purposes ? Would you  please add license information in file headers (Creative commons , LGPL , GPL ) ... ?
Thanks,
Samuel

Hi, LICENSE just added: https://github.com/ideawu/tftpx/blob/master/LICENSE

Thanks!


Misleading error message when executing script with broken shebang

I have a script. The script filename is script and it only contains a shebang, which is, unfortunately, broken - the referenced interpreter doesn't exist.
#!/bin/does_not_exist

I want to execute the script with childprocess.
require 'childprocess'

process = ChildProcess.build("./script")
process.io.inherit!

process.start
process.wait

But I get this exception
/home/igneus/.rvm/gems/ruby-2.3.1/gems/childprocess-0.5.9/lib/childprocess/unix/fork_exec_process.rb:58:in `launch_process': No such file or directory - ./script (ChildProcess::LaunchError)
        from /home/igneus/.rvm/gems/ruby-2.3.1/gems/childprocess-0.5.9/lib/childprocess/abstract_process.rb:82:in `start'
        from test.rb:9:in `<main>'

The issue I would like to report is the exception's message. It says No such file or directory - ./script, which is wrong. The script perfectly exists and when I change it's shebang to something sane, e.g. #!/bin/bash, it executes without failure. In such cases the error message should report that the file cannot be executed, not that it doesn't exist.
Tested with childprocess 0.5.9, ruby 2.3.1, on Linux.
See also a related aruba issue

Fun fact: I develop primarily on a Windows machine. This means that I get an entirely different error message for a missing file than you do, because that's how the operating system felt like communicating the error. And this is the crux of the issue because, like aruba before it, childprocess is simply handing over the error that it was told happened by whatever dependency it farmed out the functionality to. In this case, that dependency is whatever OS the program is running on.
Attempting to intelligently determine what went wrong based on the OS error message (which could change across OS versions or configurations) or based on what command the user was trying to execute (while having even less context of what was going on than the user), all so that childprocess could then provide an even better error message  would be...'non-trivial', to say the least. I would also say that it is outside the scope of this gem.
On the bright side, however, the fact that the message is the normal message for that OS for whatever problem it encountered means that you are pretty likely to find some kind of information after a quick internet search or, as a regular user of that operating system, be able to have a decent idea of what it meant yourself.

... you are pretty likely to find some kind of information after a quick internet search or, as a regular user of that operating system, be able to have a decent idea of what it meant yourself.

As I encountered this error , I was quite confused (although I consider myself an experienced Linux user) and "quick internet search" wasn't helpful, either.
Now I know that the encountered behaviour is known (section "Possible errors" in this article on shebang). It looks like the error message in question is being emitted by the Linux core itself. When the shebang is handled by bash instead of the system, the message is more helpful:
$ ./script
bash: ./script: /bin/does_not_exist: bad interpreter: No such file or directory

I would also say that it is outside the scope of this gem.

I mostly agree. Hopefully at least this issue will be helpful for those searching the internet after encountering the same mysterious error message in the future.

I guess this issue can be closed now, as everything important has been said.


Walk basis goes back on landing

When I land after a jump, the entity walks back a little bit. This does not seem to be influenced by the input of TnuaBuiltinWalk, just some added Velocity that does not impact the rotation like desired_forward. This feels like a slight knockback.
For a full jump of height 4. when walking along -X, I get Vec3(1.0364642, 0., 0.) velocity upon landing.
It even happens when jumping on a dynamic cube. Sometimes it moves the cube normally on contact, sometimes the cube has no added velocity and the control entity moves back on it like on a static surface.
The aforementioned entities :
(
    RigidBody::Dynamic,
    Collider::capsule(0.5, 2.),
    TnuaController::default(),
    TnuaAvian3dSensorShape(Collider::cylinder(0.49, 0.)),
    LockedAxes::new().lock_rotation_x().lock_rotation_z(),
    Transform::from_xyz(0., 2., 0.),
)
(
    Name::new("ground"),
    RigidBody::Static,
    Collider::half_space(Vec3::Y),
)
(
    Name::new("cube"),
    RigidBody::Dynamic,
    Collider::cuboid(3., 3., 3.),
    Transform::from_xyz(6., 1.5, 0.),
)

Here's how I checked velocities :
fn test(
    control: Query<&TnuaController>,
    cube: Query<(&Name, &LinearVelocity), Changed<LinearVelocity>>,
) {
    if let Some((_, walk)) = control.single().concrete_basis::<TnuaBuiltinWalk>() {
        if walk.running_velocity.x < 0. && walk.running_velocity.x.abs() > 0.1 {
            dbg!(walk.running_velocity.x);
        }
    }
    if let Some(cube) = cube.iter().find(|(n, _)| n.as_str() == "cube") {
        if cube.1.x.abs() > 0.1 {
            dbg!(cube.1.x);
        }
    }
}

Lastly, here's where I feed walk and jump :
fn input(
    kb: Res<ButtonInput<KeyCode>>,
    mut control: Query<&mut TnuaController>,
    mut last_dir: Local<Vec3>,
) {
    if let Ok(mut control) = control.get_single_mut() {
        let a = |pos, neg| {
            0. + if kb.pressed(pos) { 1. } else { 0. } + if kb.pressed(neg) { -1. } else { 0. }
        };
        let dir = Vec3::new(a(KeyD, KeyA), 0., a(KeyS, KeyW));
        if dir != Vec3::ZERO {
            *last_dir = dir;
        }
        control.basis(TnuaBuiltinWalk {
            desired_velocity: dir.normalize_or_zero() * 10.,
            desired_forward: Some(
                Dir3::new(dir).unwrap_or(Dir3::new(*last_dir).unwrap_or(Dir3::Z)),
            ),
            float_height: 1.5,
            coyote_time: 0.05,
            ..default()
        });
        if kb.pressed(Space) {
            control.action(TnuaBuiltinJump {
                height: 4.,
                ..default()
            });
        }
    }
}

While I ended up only debugging the x axis, it works the same on z and any combination of the two, it just walks back.
I at first thought it was the velocity intended to move dynamic bodies on landing, also applied to static bodies, ending up applying the inverse velocity to the control entity, but it sometimes does not move them.

This is a friction issue:

When I change your example to have a higher float_height, the problem disappear. That's because the character does not touch the ground.
When I change your example to have a slightly higher float_height (e.g. - 1.6 instead of 1.5) - the problem still happens - but less often, and with smaller magnitude. That's because the character doesn't always hit the ground when it falls - but sometimes it does.
When I add Friction::ZERO.with_combine_rule(CoefficientCombine::Min) to the character (and keep using your original float_height - the problem disappear.

I'll try to keep looking into why it happens, but for now either use a large enough float_height for the character to actually float (which, BTW, is the intended way to use Tnua) or set a zero friction (which is also useful against other problems, like #75)


Fix cannot range over constant

Hi there, thanks for the the PR! Building Ollama requires Go 1.22.0 or higher, which you can download here: https://go.dev/doc/install


Adding GitHub release and tag automation through versioning YAML file.

Adding GitHub release and tag automation through versioning the YAML file.
Description
[Provide a brief description of the changes you have made and why they are necessary.]
Changes Made
[Added release.yml file for github release and tag automation]
Checklist

[x] I have read and followed the contributing guidelines.
[ ] I have tested my changes thoroughly and they work as expected.
[ ] I have added necessary tests for the changes made.
[ ] I have updated the documentation to reflect the changes made.
[x] My code follows the project's coding style and standards.
[x] I have added appropriate commit messages and comments for my changes.

Related Issues
[If your changes relate to any existing issues, please list them here.]
Additional Notes
[Provide any additional notes or context that may be helpful for the reviewers.]
Feel free to modify and customize this template as needed to fit the specific needs of the GCP Scanner project.

@ZetaTwo @mshudrak  can you please check this solution for enable versioning for gcp_scanner #20

Closing this one since this feature is now implemented.


Update CI workflows

This PR:

Removes Git credentials/SSH keys after checkout as a security precaution by setting persist-credentials to false, they are not used after the initial checkout
Bumps GitHub Actions to their latest major versions, which now use Node 16 internally instead of Node 12 (EOL as of end of April 2022, no longer receives security updates):

Changelog for actions/checkout can be found here
Releases for actions/setup-node can be found here
Changelog for github/codeql-action can be found here

Adds latest LTS (Node 18) to test matrix
Replaces using deprecated/unsupported Node 15 in linting stage with latest LTS

Thanks @Fdawgs :100:


[CT-568] [Feature] model-level tests

Is this your first time opening an issue?

[X] I have read the expectations for open source contributors

Describe the Feature
Allow generic tests to be specified at the model level. Not all tests require a column (it even says so in the generic test documentation), but as far as I can tell, the tests still have to be specified under some column.
When new developers are on-boarded to the project, they are confused about why a generic test that applies to the whole model is specified under a specific column.
It would be nice if I could do this:
version: 2

models:
  - name: users
    tests:
      - whole_model_test
    columns:
      - name: ID
      ...

instead of having to do this:
version: 2

models:
  - name: users
    columns:
      - name: ID
        tests:
        - whole_model_test
        ...

Describe alternatives you've considered
I just put the test under whatever serves as a primary key for the model, but it's a somewhat arbitrary convention, and it also can confuse since the name of the primary key is not the same across all models.
Who will this benefit?
Users who write generic tests that apply to a whole model rather than specific columns.
Are you interested in contributing this feature?
Yes, but I'm not sure I have the necessary skills or time.
Anything else?
No response

A coworker just told me this is possible (I haven't had a chance to try it out yet). If so, maybe this is a request for improved documentation rather than a new feature?

@solomonshorser Yes, this is totally possible!
There are some examples in the docs here: https://docs.getdbt.com/reference/resource-properties/tests
And also more examples in the dbt_utils + dbt_expectations packages:
models:
  - name: my_model
    tests:
    - dbt_utils.equal_rowcount:
          compare_model: ref('other_table_name')
    - dbt_expectations.expect_table_column_count_to_equal:
        value: 7

I think the thrust of your second comment is right on — we should present this capability much more clearly and quickly in the docs. Could I ask you to open an issue in that repo? :)

@jtcohen6 Sure, I've opened a new issue here: https://github.com/dbt-labs/docs.getdbt.com/issues/1381


Make stop-service work with SysV init

Cleanup: quote non-schema string
Use shared lsb-functions for SysV init script
Make stop-service work with SysV init
Version 0.1.29

The support of systemd and sysvinit is still unbalanced in favor of systemd. For instance, why aren't we using ansible.builtin.sysvinit in configure-service-sysvinit.yml?

The reason we do this is because we need daemon_reload: true for the systemd task, but we don't need any special options for the SysV stuff so there is no reason not to use the generic service wrapper. I'm happy to change this if you feel strongly about it, though.

Also, I have no idea why molecule is failing on CI. It works fine for me locally.

Ok, it is (probably) because my computer can shut down the service a lot faster than our CI nodes, so the "Wait for Jenkins service to stop" task didn't trigger molecule's idempotency check. Anyways, fixed in c31d90e.

The support of systemd and sysvinit is still unbalanced in favor of systemd. For instance, why aren't we using ansible.builtin.sysvinit in configure-service-sysvinit.yml?

Even though I argued against this in my above comment, I've now fixed this in the interest of getting this PR merged quickly. See 34c184a.


Typos and wordsmithing

Fixed some typos and reworded some of the content in the '.md' files to make it work better.  Also corrected the Github project URL to the correct one.

Hey Anthony, thanks a ton!


Is the project dead?

1.5 years ago, I had hope. Now, I just want some closure.

Hey @dede5, it is not dead!  Thank you for your heads-up!
Here are some updates:

Firestorm vue client:
https://github.com/dailydrip/firestorm_vue

Firestorm Flutter Client
https://github.com/dailydrip/firestorm_flutter

Firestorm React Native
https://github.com/dailydrip/firestorm_react_native

Another thing, @knewter updated a lot this project, what we need to do is just update this repository with all the other repositories, for instance(firestorm using graphql):
https://github.com/dailydrip/firestorm_elixir

Public forum on linked website is unrechable, project firestormforum have no public members, so there is still question, is it alive?
It would be nice to add some people that can mantain whole project.
Found duplicate that should be closed, cos actual discussion is made here: #130

Sorry, this really looks dead... Sad, it could be a nice OSS software in Elixir that would set an example.  😞

Checking in, in 2022. This looks pretty dead sadly.

✝ RIP

No no, it's not dead, really, it's just having a really really really deep sleep.

kickstarter scam?


Windows Store installed Ubuntu fails to launch - cannot access specified device, path, or file.

Your Windows build number:  10.0.16237.1001

What you're doing and what's happening
I downloaded the Ubuntu dist from the Windows Store.  When I run it I get the error "Windows cannot access the specified device, path, or file.  You may not have the appropriate permissions to access the item.

What's wrong / what should be happening instead:
I expect the Bash shell to start up.

When I try to access the path above, indeed I do not have pemissions to even see the contents of the folder C:\Program Files\WindowsApps.  I also have the original Ubuntu WSL installed on this machine (14.04) and it works just fine.

@bitcrazed @zadjii-msft

@rkeithhill - Thanks for your post. When you say When I run it, can you describe how exactly you are running the app?

I click on the "recently installed" Ubuntu icon in the Start | All Apps menu.

@rkeithhill - I have not seen this previously. Did launching the tile over work or did you hit this the first time ever launching?

It never worked.

@rkeithhill hmm. This is indeed something I've never seen before. It's definitely right that you shouldn't be able to access C:\Program Files\WindowsApps - that's where Windows stores the data for your apps from the Store.
Does calling ubuntu from the commandline work?
Does running the ubuntu.exe in %localappdata%\Microsoft\WindowsApps work?

No, running Ubuntu from PowerShell gives this error:

The error details are:

PSMessageDetails      :
Exception             : System.Management.Automation.ApplicationFailedException: Program 'ubuntu.exe' failed to run:
                        Access is deniedAt line:1 char:1
                        + ubuntu
                        + ~~~~~~. ---> System.ComponentModel.Win32Exception: Access is denied
                           at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
                           at System.Management.Automation.NativeCommandProcessor.Complete()
                           --- End of inner exception stack trace ---
                           at System.Management.Automation.NativeCommandProcessor.Complete()
                           at System.Management.Automation.CommandProcessorBase.DoComplete()
                           at
                        System.Management.Automation.Internal.PipelineProcessor.DoCompleteCore(CommandProcessorBase
                        commandRequestingUpstreamCommandsToStop)
                           at
                        System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object
                        input)
                        --- End of stack trace from previous location where exception was thrown ---
                           at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                           at
                        System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object
                        input)
                           at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean
                        ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts,
                        CommandRedirection[][] commandRedirections, FunctionContext funcContext)
                           at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame
                        frame)
                           at
                        System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame
                        frame)
TargetObject          :
CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
FullyQualifiedErrorId : NativeCommandFailed
ErrorDetails          :
InvocationInfo        : System.Management.Automation.InvocationInfo
ScriptStackTrace      : at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo : {}

MyCommand             :
BoundParameters       : {}
UnboundArguments      : {}
ScriptLineNumber      : 1
OffsetInLine          : 1
HistoryId             : -1
ScriptName            :
Line                  : ubuntu
PositionMessage       : At line:1 char:1
                        + ubuntu
                        + ~~~~~~
PSScriptRoot          :
PSCommandPath         :
InvocationName        :
PipelineLength        : 0
PipelinePosition      : 0
ExpectingInput        : False
CommandOrigin         : Internal
DisplayScriptPosition :

Exception at nesting level 0 ---------------------------------------------------

ErrorRecord                 : Program 'ubuntu.exe' failed to run: Access is deniedAt line:1 char:1
                              + ubuntu
                              + ~~~~~~.
WasThrownFromThrowStatement : False
Message                     : Program 'ubuntu.exe' failed to run: Access is deniedAt line:1 char:1
                              + ubuntu
                              + ~~~~~~.
Data                        : {System.Management.Automation.Interpreter.InterpretedFrameInfo}
InnerException              : System.ComponentModel.Win32Exception (0x80004005): Access is denied
                                 at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
                                 at System.Management.Automation.NativeCommandProcessor.Complete()
TargetSite                  : Void Complete()
StackTrace                  :    at System.Management.Automation.NativeCommandProcessor.Complete()
                                 at System.Management.Automation.CommandProcessorBase.DoComplete()
                                 at System.Management.Automation.Internal.PipelineProcessor.DoCompleteCore(CommandProce
                              ssorBase commandRequestingUpstreamCommandsToStop)
                                 at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate
                              (Object input)
                              --- End of stack trace from previous location where exception was thrown ---
                                 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                                 at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate
                              (Object input)
                                 at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean
                              ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[]
                              pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext)
                                 at
                              System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame
                              frame)
                                 at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(Interp
                              retedFrame frame)
HelpLink                    :
Source                      : System.Management.Automation
HResult                     : -2146233087

Exception at nesting level 1 ---------------------------------------------------

NativeErrorCode : 5
ErrorCode       : -2147467259
Message         : Access is denied
Data            : {}
InnerException  :
TargetSite      : Boolean StartWithShellExecuteEx(System.Diagnostics.ProcessStartInfo)
StackTrace      :    at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
                     at System.Management.Automation.NativeCommandProcessor.Complete()
HelpLink        :
Source          : System
HResult         : -2147467259

I know this sounds ridiculous, but does uninstalling and re-installing change anything?

Not ridiculous at all.  But alas, I've tried that.  No joy.  Fails the same way.

OK, this app isn't the only one misbehaving on my insider's build.

Most store apps seems to be working fine: the built-in apps, Tweetium.  But these two at least are having problems.  So this is likely not a WSL issue but an Appx issue of some sort.  And it's not like we haven't had Appx issues for the past 5 years.  Welcome to the Windows Store.  :-)

Hi. Did you try running this? http://aka.ms/diag_apps10

That worked. Thanks!  It said that the location of my Temporary Files had changed and that that could cause problems with Windows Store apps.  Not sure how that got changed but fixing it, fixes the Ubuntu store app.

I get this exact same error dialog as in the first post here now. And I have tried tons of stuff. It works with other users. But running the troubleshooting app does not seem to do anything.
This is driving me nuts.
I am running Version 1709 (OS Build 16299.15)

I am seeing this too.  The AppsDiagnostic solution did not work for me.  It's the same with both Suse Leap and Ubuntu from the Store.

I have solved the issue for me.  I noticed that unbuntu.exe in the path
C:\Users\<username>\AppData\Local\Microsoft\WindowsApps\ was 0kb and had no icon.
I copied everything from:
C:\Program Files\WindowsApps\CanonicalGroupLimited.UbuntuonWindows_1604.2017.922.0_x64__79rhkp1fndgsc
Into:
C:\Users\<username>\AppData\Local\Microsoft\WindowsApps\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc
Ran unbuntu.exe from inside the Canonical... folder in the user AppData dir, and everything installed perfectly.

I had the same problem on a fresh windows 10 1709 Enterprise install.. I did not setup a microsoft account, maybe that´s the issue? The troubleshooter fixed it b.t.w.!

In a few days, see if the problem comes back.  It does for me just about every day and every day I have to run the troubleshooter to fix it.  Sigh...

Of interest, this only happens for my domain user (member of local Administrator group).  Local accounts do not have this issue.

@rotech My situation is the same - domain account and member of Adminstrators but I normally run as a standard user (UAC is enabled).

This is still a problem.  Should this be reopened, or another issue opened?

Yes because running the troubleshooter provides only a temporary (I mean very temporary) fix.

@rotech - the ubuntu.exe "execution alias" is an NTFS reparse point so has no length and no icon.
Could we ask one/both of you to please speak to your IT Admin team and ask if they move your temp folder, and/or modify the permissions on any of your filesystem folders?
We have a strong suspicion that your AV software may also be involved - please email me the details of which AV products you're running: richturn at you know where dot com.
Thanks.

Thought this issue may have been related to the Webroot AV bug below, however installing the patched version, and also removing it has not resolved the problem.
https://community.webroot.com/t5/Product-Releases/Windows-10-Fall-Creator-Update-Bug-Fix/td-p/305469

I found a workaround, though a relatively unsatisfactory one.

Give your user permission on C:\Program Files\WindowsApps (the Canonical.... folder is the interesting one).
Copy that to one of "your" folders and run ubuntu.exe from there.
Uninstall Ubuntu from the store, it's useless anyways. The root of the new Linux userspace will be under the new location, in "your" folder, instead of AppData\Local\Packages\Canonical....

@foxx1337: A couple of things:

Installing a distro from the Store is FAR from "useless": By installing via the store, your distro install source will be kept up to date, ensuring that when you do install/re-install a distro, that you're installing the latest version.
Installing to an arbitrary location means that you run the risk of being unsupported because Windows can no longer control the security of your distro root via Windows' ACL's and other measures designed to protect you from malicious attack..

ensuring that when you do install/re-install a distro, that you're installing the latest version.

I reluctant to wade in on this, but that logic doesn't really follow. The store doesn't get you the latest version. Pulling the cloud tarball from Canonical gets you the latest version. You keep up to date with apt. I'll leave the usefulness of the store as a distribution mechanism to others, but getting the latest Ubuntu image isn't part of that debate.

Windows can no longer control the security of your distro root via Windows' ACL's

There are no special ACLs on the LocalState folder right now. If the implication is that init will not launch in a directory without special ACLs in the future, that would be, how to put it... most unfortunate.

I should perhaps have said "the latest supported version". A distro vendor may not support every tarball, or every build on WSL. That's up to the vendor and their support policy.
However, note that I said "when you do install/re-install a distro, that you're installing the latest [supported] version."
As we've previously stated many times, we deliberately do not touch your distro once installed, but we do utilize some of the protections afforded Store apps & download mechanism to ensure you're installing the genuine, latest supported version offered by the distro vendor.

When I check the current location of temp inet files when Ubuntu fails to start, I get C:\Users\hillr\AppData\Local\Microsoft\Windows\Temporary Internet Files.  When I fix the issue with the troubleshooter, the value is changed to C:\Users\hillr\AppData\Local\Microsoft\Windows\INetCache.
When I try to open the C:\Users\hillr\AppData\Local\Microsoft\Windows\Temporary Internet Files in Windows Explorer I get an "access denied" error.
BTW that folder appears to be a mount point referring to the INetCache folder e.g.:
3:7ms# Get-ReparsePoint '.\Temporary Internet Files\' | fl *

Target          : C:\Users\hillr\AppData\Local\Microsoft\Windows\INetCache
Path            : C:\Users\hillr\AppData\Local\Microsoft\Windows\Temporary Internet Files\
ReparsePointTag : MountPoint

So in our case, we have a group policy that was no doubt written for Windows 7 that sets the registry entry Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders@Cache to a REG_SZ with the value C:\Users\hillr\AppData\Local\Microsoft\Windows\Temporary Internet Files.  It should be a REG_EXPAND_SZ with the value %USERPROFILE%\AppData\Local\Microsoft\Windows\INetCache.  BTW that change fixes the problem for us.
We're now trying to figure out if we can override this "enforced" GP in our OU (easier than getting IT to change the GP) or if we have to beg IT to change it.

@rkeithhill nice find! Unfortunately this isn't my case, hopefully others could use it though.
@bitcrazed let me recap, as I think there might be a misunderstanding. This is an issue about Ubuntu not working when installed from the Store - in its current state it's just a bunch of restricted junk data taking up space in C:\Program Files\WindowsApps\Canonical.... The workaround I presented comes from #2577 and involves bypassing the convoluted Store apps system (with %USERPROFILEDIR%\AppData\Local\Packages / %USERPROFILEDIR%\AppData\Local\Microsoft\WindowsApps). The Store won't be able to update it, but myself and probably the ones reaching this thread from a search engine probably prefer an hacked, unupdated program that works, compared to a perfectly secure but incomplete and unrunable one.

I'm also having this issue. Windows Store diagnostic and troubleshooter both come out clean, and none of the suggestions in this ticket have worked. Version 1709/16299. Ubuntu and Suse have the same problem, other Store apps that I've tried to install seem to work normally.

Hey @harakka - is yours a corporate machine?
This issue above turned out to be caused by an incorrect Group Policy setting for Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders@Cache.
It's value should have been a REG_EXPAND_SZ %USERPROFILE%\AppData\Local\Microsoft\Windows\INetCache,
… but was incorrectly set to a REG_SZ: 'AppData\Local\Microsoft\Windows\Temporary Internet Files'.
This issue was casued by the cache folder changing location (and the registry value type changing) after Windows 7.

@bitcrazed nope, running Win10 Pro on a personal machine, as a local account. Also I just doublechecked the mentioned registry key and it has the correct type and value.

@harakka - hmmm. Odd!
Could I ask what you see when you execute wslconfig /l from Cmd/PowerShell?
And what do you see when you execute ubuntu.exe from Cmd/PowerShell?

@bitcrazed wslconfig /l output:
Windows Subsystem for Linux Distributions:
Legacy (Default)

ubuntu.exe output:
Program 'ubuntu.exe' failed to run: Access is deniedAt line:1 char:1
+ ubuntu.exe
+ ~~~~~~~~~~.
At line:1 char:1
+ ubuntu.exe
+ ~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
    + FullyQualifiedErrorId : NativeCommandFailed

And for good measure, trying to run from the Ubuntu start menu item results in the exact same error dialog that's in the first post of this issue.

I'll chime back in after a while with the same issue. Ubuntu installed from the store (and uninstalled/reinstalled within the past hour or so).
wslconfig /l in PowerShell (admin or not) tells me there are no installed distributions (the Store disagrees).
ubuntu.exe in PowerShell (admin or not) gives me
Program 'ubuntu.exe' failed to run: Access is deniedAt line:1 char:1
+ ubuntu.exe
+ ~~~~~~~~~~.
At line:1 char:1
+ ubuntu.exe
+ ~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
    + FullyQualifiedErrorId : NativeCommandFailed

I just tried creating a new account on this machine. Installing Ubuntu from Windows Store works on the new account, so I guess something in my current profile is messed up. Whatever it is, neither the built-in Windows Store Apps troubleshooter, nor the tool linked in #issuecomment-315141046 seem to detect it. I don't know whether I have any other options than to move to a new Windows user account, or to keep using a legacy WSL install.

@harakka, just to get the obvious out there, If it's a profile issue, clear your current profile on the DC and workstation (while logged off that account obviously) and log back in. All the directories will regenerate. If necessary, you can always .old your current profile to load a brand new one. Either way, make sure your desktop items are saved elsewhere since you'll lose them.

I believe that I'm seeing a variant of this issue and thought that I'd contribute my findings to see if they can help expedite a resolution.
I'm running windows 10 preview OS build 17074.1002. My application is a .NET 4.7 windows service, which executes  'ubuntu run ' in a diagnostics process and collects results from standard output and standard error.
The application performs exceptionally well for days on end with no Linux errors. However, occasionally the application hits a time window (for example: last night between 1AM and 9AM) where Linux commands fail with the following exception:
System.ComponentModel.Win32Exception (0x80004005): The file cannot be accessed by the system
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
Only new command invocations fail. Linux commands that were running prior to the initial exception at the start of the time window continue to execute without error and I can find their pid's by running ps -x from an ubuntu window. My machine was running windows defender when the exception occurred. After reading the suggestions in this thread, I've turned defender off in hopes that this will prevent the exceptions from occurring in the future.
My hopes are that the WSL community can provide a fix or workaround for this issue.

@mattmon1 Try upgrading to 17093 if you can and see if you can repro your issue. Recommend utilizing wsl.conf to add metadata to mounts and fstab from 17093 before attempting to repro. Also since with 17093 AF_Unix Windows - WSL interop is available, you could try running a socket stream for your app. If it works, it may keep Defender from tripping if Defender is the culprit here (have no way to test this myself as I'm not on Insiders).

@mattmon1 - your issue is somewhat different to the issue described in this thread. Please start a new thread so that we can keep discussions more focused. Thanks.

@DarthSpock not an option, local account on a local machine, no domain involved.

@harakka in that case, use your new account to reset the old one. I would suggest leaving the appdata apps alone so you don't have to reinstall anything including Ubuntu but removing the rest of the profile should be enough. If you still have issues then I'd do the full removal including appdata and reinstalling after backing up all relevant data (put it on an external usb or separate drive).

@bitcrazed Issue moved new thread #2931.

It seems WSL may not be the only store app affected by this issue.  I found this bug report https://trac.kodi.tv/ticket/17430. I tried to install and run Kodi from the Windows Store, and have the exact same problem.

I don't know if this is related to Ubuntu on Windows, but I have the same problem with some UWP apps from Windows Store (technically, every app I download from now on, I even downloaded a random app) and I think I've solved it. I got this problem a long time ago, with my Spotify UWP and Telegram UWP suddenly stopped working and reported this problem, which brought me back to the normal Win32 apps.
Anyway, back to the problem: I went into the apps directory C:\Program Files\WindowsApps\, look for the app's folder (which is 186maxdenis.AccentApplicator_<IP_ADDRESS>_x86__chmn07j67hqvg in my case), right-click it and "Take Ownership" the folder. (I used a registry hack to add it to right-click menu, which you can find anywhere on the Internet). And I opened the folder, looked for the *.exe file and ran it. Worked.
Btw the thing that confuses me that when I click on the shortcut in Start, I still have the same dialogue that says "Windows cannot access the specified...", but when I go into the directory and run the *.exe file, it works like a charm. Any explanation for this?

@batmanlovesuperman (really that name?)
This was a UWP issue the Windows team addressed. Upgrading to the latest Insider will resolve the issue. Otherwise, you'll have to wait for the Spring release.

@DarthSpock Great. Thought I messed it up. I got that issue a long time ago, but glad to hear that they're working on it
And yes, I am a DC fan. I couldn't think of something so I picked this. Got it after watching Batman v. Superman, but @batmanvsuperman on Facebook is already taken. Still a nice username tho, distinguishable and available everywhere.

The DC part isn't the issue, it's the "love" part that gets me. Prefer the original DC comics to the stuff they have out now. Heck even Justice League was superior as it was based on the original animations.

glad to hear they are working on it

Work is already complete. It just depends on what version of Windows you are running if you have the fix or not. Various UWP bugs appear between builds and not all of them are caught in time before stable release.

I am getting " windows cannot access the specified device path or file you may not have appropriate permissions" after changing and accessing the "Windows Apps" folder form C:\Program files\Windows Apps.
I don't remember how permission was set before modify and I can't able to fix the permission. Now Only way to launch those Windows  apps is just opening them manually from the folder. I need to fix permission so windows can access them.
Any body here???

@DarkAH - I've experienced the same error, though in my case the 'cannot access' errors only happen during certain blocks of time e.g. 1-9am. Though the errors only occur intermittently, when they do occur, WSL Ubuntu operations are blocked for the entire period of time. I applied the workaround documented in #2323 to get around the issue. Also, per an earlier request on this thread, I posted my findings on thread #2931. Since applying the workaround, I have not seen this issue occur on my devices. My hopes are to get a timeframe on a fix from the WSL community.

My apologies, one correction to my earlier post. The workaround that I applied is documented in #2577.

I found a solution for my case. My work domain uses folder redirection for roaming profiles, my domain user (which I also use offline with cached credentials) has access to the profile folder, but the WSL setup uses a different system user that doesn't have access to the profile folder.
The answer is to give the domain account for my computer access (COMPNAME$), when you add the user you will have to make sure to select "computers" under object types, or it won't show up.

Identify Access Denied Errors
Use the Process Monitor to identify which access is denied.
Select Filters, add a filter for Result is ACCESS DENIED, click OK, Clear the log, click capture (the magnifire class should not have a red cross), and try to start Ubuntu (or any other distro with that error) again. When you have the error, stop the capture and check the log entries.
You can than check the log for file folders that haven't set the required access rules.
Roaming Profiles
You should check if you have a roaming profile for AppData. In PowerShell you can do this like this:
Get-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders' -Property AppData

short version:
$env:APPDATA

If there is a path like \\{servername}\... instead of C:\Users\{user.name}\... than you have a roaming profile. Since your distribution (Windows Subsystem for Linux, WSL) runs with different Windows credentials, it needs to have access to those folders.
Use the following command to get the computer name:
$env:computername

Now get the Access Control List for the $env:APPDATA\Microsoft folder
get-acl $env:APPDATA\Microsoft | fl

Make sure that there is an entry in Access that reads DOMAIN/COMPUTERNAME$ Allow FullControl.
If that is missing, ask your System administrator to allow full access for the computer to the appropriate roaming profile folder.
Setting Permissions in File Explorer
If you are the administrator, than right-click the folder in file explorer, choose Properties, select the Security tab, Edit..., Add..., enter the computer name, Check Names, Object Types, Select Computers checkmark, OK, OK, OK. Select the computer and check the Full control checkmark, OK. OK.
Setting Permissions in PowerShell
You can use the ACL cmdlets from the Microsoft.PowerShell.Security Module to do set the permissions.
(i won't go into details here, since it's too much work; you will probably find help on StackOverflow for those cmdlets)

For those who are still in trouble with this problem, I followed @Andoryuuta and solved this problem.
Which is: Use Process Monitor and identify ACSESS DENIED errors and remove all the folders of the 'path' field. Besides, if you do not see the folders in Explorer, please delete them via Command Prompt.
In my scenario, I deleted some folders related to IE cache and cookies.
Hope this solution helps.

For me, I upgraded from Windows 7 to 10. Not a fresh install but in place upgrade. I'm also on a domain account. I followed @Andoryuuta's post and found that Ubuntu was trying to access C:\Documents and Settings folder. This folder no longer exists in Windows 10. Instead, anything pointing to this location should be pointed to C:\Users\<your id> or %APPDATA%\....
I checked my env vars and my path was pointing to C:\Documents and Settings\<my id>. I changed it to C:\Users\<my id>. I did the same for TEMP var which should now point to %APPDATA%\Temp.
You may have to do this for other vars depending on your install.
Once you save it, clicking on Ubuntu from recent apps worked like a charm.
Hope this helps.

Thanks for sharing @mrchief. I've seen people post similar issues, esp. on machines that were upgraded from Win7 --> Win10, and/or who're part of a corporate domain which may be specifying the temporary browser cache folder as being under C:\Documents and Settings\<my id>\....

I have the same issue here in a corporate environment. But so far I couldn't fix the problem.
I followed the great instructions from @MovGP0, because I have Roaming profile. The permissions for %APPDATA%\Microsoft are DOMAIN/COMPUTERNAME$ Allow FullControl now, but it still does not work. Now with Process Monitor I figured out that there are in total 5 operations which return a ACCESS DENIED result.  But three of them, CreateFile operations from svchost.exe point to a path, which is not like \\{servername}\{userid}, but rather \\{servername}\home. So it makes totally sense that the access is denied as the operation is done diectly on the - let's say - root directory of the network drive. Shouldn't it be something like \\{servername}\{userid}\home? In that case it should be possible to grant it access.
Or am I misinterpreting the result from the Process Monitor?
Thanks in advance for any help!

+1

Could someone take a look at that problem? Or does someone have an idea how to work around the access to that directory?

This error was (in my case) found to be reladed to a GPO.  This caused the Ubuntu (and perhaps other store apps) app to malfuntion.
Turn off Automatic Download and Install of updates
Description : GPO: Computer Configuration\Administrative Templates\Windows Components\Store
Once disabled, the ubuntu app started functioning as normal again.

I am getting this problem. Is there an official work around or fix?

@Rolandh - could you please share some details - it's difficult to diagnose a problem with no info/data. For example: What Win10 build are you running? What hardware are you on? Are you domain joined? How did you install Ubuntu - from the Store or manually? Etc.
Note that we've not had any reports of this issue since March 2019, and that was a report of the problem being caused by an unruly GPO.

I installed via the store. Windows 10 1903 enterprise. No domain.
Hardware is a 1920x threadripper with 32gb ram.

@rolandh And what do you see when you run the following from Cmd?

wsl-l enter
wsl enter

C:\Users\rolls>wsl-l enter
'wsl-l' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\rolls>wsl
rolls@RollsWork:/mnt/c/Users/rolls$
It appears to actually launch fine if I do that. But if I launch ubuntu via the store app, I get the permissions error.
I have git bash installed already, not sure if the two systems interact at all.

You need a space between wsl and -l since -l is an argument that you can pass to WSL to list the installed distros:
C:\Users\richt>wsl -l
Windows Subsystem for Linux Distributions:
Ubuntu (Default)

If you're running Win10 1903 or later, you can also pass the -v (verbose) argument to get more info:
C:\Users\richt>wsl -l -v
  NAME      STATE           VERSION
* Ubuntu    Stopped         1

Ok great so I can run WSL this way. Should we be investigating why the windows store app won't launch? Or is this a known issue?

 Even though I'm running it from an admin cmd prompt

C:\Windows\system32>ubuntu
Access is denied.

Currently having the same issue but on kali-Linux no Ubuntu.
Windows 10: Nov 2019 1909 build
WSL version 1.
I have tried all the steps above with no luck.
This comes shortly after a fresh install and update.
It was working just fine. I ran some updates (apt-get ones). All was one.
Installed a minimal python environment. All was fine.
Cloned a single hit repo and created a virtual environment inside of it. All was fine.
I restarted wsl after each of these actions and rebooted my machine after the last one. All was fine.
Then I was looking at WSL 2 and checking if it was available for my build. Before I saw that it wasn’t, while checking my current WSL version within Powershell (wsl -l -v etc etc, though -v isn’t recognised) I then ran wsl —upgrade from Powershell but had my WSL terminal open and logged in as root. Powershell was also running with escalated privileges.
After that when I closed wsl everytime I try and reopen it I get the same access error pop up as per the ones people have posted above telling me I cannot access the WindowsApp folder within Program Files.
So far I have taken ownership of that folder.
Reset Kali within the Apps Menu.
Reset Microsoft store in the App Menu.
Uninstalled And reinstalled Kali.
Run the exe located within my user profile instead of the WindowsApp Folder.
All of these result in the exact same pop up error.
I am the only User on my machine. It is a personal machine not on a wider network just straight connection to WiFi and a VPN.
Some Added Info:
I can access Kali from Powershell by entering the wsl command or Cmd. Both when escalated. So I suspect the issue comes in from my running the —upgrade command earlier.
Also, I had not logged into my Microsoft account at any point yet not even during or after the fresh install. Just a plain local account. I logged into my insiders MS account after all this happened as I decided to try and see if installing a preview build may fix my woes after some obviously foolish steps on my part.
Barring that I will opt for a fresh install. Again.  Hoping to not have to go there.
If anyone has any suggestions that would be great.
Otherwise I hope this info and my steps up till now can help to shed some light in any way.

@0m3rta13 does your Windows build have access to wsl --import and wsl --export commands (these were released in Windows builds 18362 or higher)? In the meantime for a work around are you able to export your distro, and import it again inside of a different install location?
Are you on a corporate machine with Group policy? Since other users mentioned they were affected by that as well.

@craigloewen-msft I didn’t have the import Parmams. The build wasn’t an insider build (Nov 2019 release build 1909 iirc). I also wasn’t able to export or move anything within the ..Program Files\WindowsApp\ Folder. Even after taking ownership I couldn’t access everything in there. What was weird was I noticed new “Users” in the security tab that changed everytime I changed the ownsership an permissions to my account. The “usernames” were really long random strings that looked similar to registry entries. No idea what that was about.
The machine is not in any work/corporate network/doamain at all. It was a 2 hour old fresh fresh install simply connected on my regular home WiFi. No special configs or even proxy. Just my VPN which runs through the HMA VPN app (again, as basic a setup as they come)
I wasn’t even logged into a Microsoft account. The lone user was a regular local/admin account.
Once this happened I logged into my MS account and downloaded the insider release which had no effect.
I just finished resetting the my install, opting to keep my files and wipe out windows. Everything was fine thereafter.
Well sort’ve. I’ve hit a new problem with WSL 2 crashing on startup but that’s a known issue seemingly related to winsocks and I’m tracking it on another issue here on Github and will submit log there if needed.
I think I did save my events and some logs from before the reset. Not sure if any of it will be useful. Here. The main standouts therein are the ACCESS DENIED errors for everything from Search to Svchost to random network dll files that all could not access the ..Program Files\WindowsApp folder. (Or rather the Kali folders inside that).
Again the action that seems to have triggered it was me running wsl —upgrade inside and elevated Powershell. WSL was open in its default bash shell and logged into the root User when I did it.
All worked fine and then I ran that command, closed everything, rebooted and that’s when the issue started.
I was only able to access WSL by opening an elevated Powershell and running the WSL command.
Sorry. A lot to read. Trying to be as detailed as possible.

I have found a work around. I hope this helps some of you as It took me over 6 hours trying to find a solution to this. not sure why the error comes up but it came up for me after a windows update.
step 1) navigate to the folder below.
        C:\Program Files\WindowsApps

step 2) Then left click on folder below and click "Take Ownership"
       CanonicalGroupLimited.UbuntuonWindows_1804.2019.521.0_x64__79rhkp1fndgsc

(may be different name depending on the version you have. Canonical should be there though)
step 3) go inside the folder on step 2 and find "ubuntu.exe" left click and click "Create Shortcut" a pop up should appear saying the shortcut will be added to desktop. accept it. If you open the shortcut it should now work.
I renamed the shortcut to "ubuntu". I also dragged it to my Taskbar and deleted the desktop shortcut as I don't like any icons on my desktop.
Keep in mind that you must open it using the shortcut. if you try and open it using the start menu or using terminal it will not open and you will get the same error.  lets hope this issue if fixed with future updates.
if this helped you or you found a better way to get this working comment down below.

@JovannyElias Please DO NOT modify the permissions of files under the C:\Program Files\WindowsApps protected folder. Doing so could completely prevent the launching of WSL distros, and could, in some cases, cause many modern apps to fail to launch at all!

As with our prior and still current guidance not to spelunk though the WSL1 filesystem, There are very good reasons why folders like these are hidden and secured more strongly than older pre-UWP app folders - they're where we store your modern apps, and how we protect your apps and the OS itself from corruption and damage.

 Agree to not touch them!

@JovannyElias Please DO NOT modify the permissions of files under the C:\Program Files\WindowsApps protected folder. Doing so could completely prevent the launching of WSL distros, and could, in some cases, cause many modern apps to fail to launch at all!

As with our prior and still current guidance not to spelunk though the WSL1 filesystem, There are very good reasons why folders like these are hidden and secured more strongly than older pre-UWP app folders - they're where we store your modern apps, and how we protect your apps and the OS itself from corruption and damage.

 Don’t want to f up someone’s system. I tried many other ways on many sites to fix my issue but this was the only work around for me. So far everything is ok with system. Now I know not to do that again.

Great, thanks. Appreciate you reaching out to help another community member, but it's important we all remember that if the OS is making something hard to find, that's usually by design  and it's likely thinking twice before leaping 😜

Would like to just reiterate what was said re modifying WindowsApps folder permissions. I did the same think and while it was no problem initially, it wasn’t long before I started getting the most random, out of place errors (not even related to WSL). I ended up having to do a clean refresh of windows to fix it.
Still keeping an eye on the hopeful progress here. For now though I’ve had to move back to Linux as my primary OS. Holding thumbs this issue can get sorted out.
Thanks to all who are contributing and working towards a solution!

Same issue here.

Installed a fresh 1909 pro (iso from microsoft site)
downloaded the ubuntu and kali appx packages (no direct internet access on this machine)
used the add-appxpackage command to install the package (with the initial admin user, but without elevated rights), no errors
tried to run ubuntu, using the shortcut in the start menu.

Same issue with Kali. Changes to my clean Windows before installing the packages:

add features wsl, openssh server, openssh client
enable remote desktop
configure proxy settings

The server install method mentioned (https://github.com/microsoft/WSL/issues/3612#issuecomment-431056309) does work however.


Improve Concept Exercise: Poetry Club Door Policy (strings)

The goal of this task is to make sure the Concept Exercise "Poetry Club Door Policy" and the Concept strings conform to the latest specification.
The docs can be found here

What are Concept Exercises?
Concept Exercises
Concepts

Additionally you can look at the code of an existing concept exercise like bird-watcher (concept for-loops) for reference.
The improvement should include changing the introduction.md file of the exercise to contain some minimal information so that the student is able to solve the exercise. For now it is ok to use that same content as introduction.md and about.md for the Concept as well.
Also ensure that

there are good blurbs for the concept and exercise
the tests are declarative (see https://github.com/exercism/javascript/issues/1019 for an example)
each test case is "self-contained" so that the student sees meaningful output from the test runner (no forEach, no helper functions defined in other parts of the test file etc.)

I am working on this.

@junedev yay!

This is on hold currently because the Go track situation needed my help more urgently.

From the editor bug reports:

Error: expect(received).toBe(expected) // Object.is equality
Expected: "Horse, please"
Received: "E, please"
at BackDoorGuard.assert (/door-policy.spec.js:90:22)


Tests logging fails with There is no currently active test.

E.g. https://travis-ci.org/aspnet/templating/jobs/376048486
 The active test run was aborted. Reason: Unhandled Exception: System.InvalidOperationException: There is no currently active test.
     at Xunit.Sdk.TestOutputHelper.GuardInitialized() in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\TestOutputHelper.cs:line 51
     at Xunit.Sdk.TestOutputHelper.QueueTestOutput(String output) in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\TestOutputHelper.cs:line 62
     at Templates.Test.Helpers.ProcessEx.OnOutputData(Object sender, DataReceivedEventArgs e) in /_/test/Templates.Test/Helpers/ProcessEx.cs:line 124
     at System.Diagnostics.Process.OutputReadNotifyUser(String data)
     at System.Diagnostics.AsyncStreamReader.FlushMessageQueue(Boolean rethrowInNewThread)
  --- End of stack trace from previous location where exception was thrown ---

@pranavkm, is this a consistent failure or random?

Seems like an ongoing issue. For instance, here's one of the more recent PRs that failed with this - https://travis-ci.org/aspnet/templating/jobs/379549395


fix: venus-wallet: change to  build docker image from local repo

Related Issues

Proposed Changes

change to build docker image from local repo rather than from git chech out
pass env var BUILD_DOCKER_PROXY to docker when make image

Codecov Report

Merging #85 (f977ba9) into master (e804576) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #85   +/-   ##
=======================================
  Coverage   12.73%   12.73%
=======================================
  Files          48       48
  Lines        4121     4121
=======================================
  Hits          525      525
  Misses       3505     3505
  Partials       91       91

Flag
Coverage Δ

unittests
12.73% <ø> (ø)

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


fix(aws-lambda): fix normalizeIncomingHeaders

🔗 Linked issue
resolve #333

❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Hi this PR aims to fix the normalizeIncomingHeaders function from the aws-lambda preset. Some of us might test the build through aws API Gateway service which don't send any headers by default (null). The changes are just making the headers param possibly undefined and send an empty object to Object.entries if headers is null or undefined

📝 Checklist

[x] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Thanks


Update jsoup to 1.14.1

Updates org.jsoup:jsoup from 1.13.1 to 1.14.1.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.jsoup", artifactId = "jsoup" } ]

labels: library-update, semver-minor

Superseded by #2153.


Create a CPE matcher

What would you like to be added:
We want to show, which CVE affect which packages in Debian/Garden Linux. So export this information in form of additional CPE matches. Thereby, the CPE matcher is used in multiple tools. Factor it out into into a re-used class.
Why is this needed:
This is a core functionality of glvd

This has been done in:

#7
#8


@ManyToMany

Like @ElementCollection #44, @ManyToMany is something I don't like much. But we'll have to add it eventually.
Also low priority.

@DavideD You wanna try making a start on this one?

I'm a bit busy working on the website at the moment. If you want to have take it I'm cool with that. Otherwise I will start it after.

I'm a bit busy working on the website at the moment.

Ok, that's great, but can you do me a favor and share your work somewhere so we can work on it together?

If you want to have take it I'm cool with that

No, let's concentrate on getting the website up

Any progress on this?

Any progress on this?

We are working on the collection persisters for @ElementCollection and it affects this issue a bit as well.
We should be able to merge something soon and then we can focus on this issue

We are working on the collection persisters for @ElementCollection and it affects this issue a bit as well.
We should be able to merge something soon and then we can focus on this issue

We are working on the collection persisters for @ElementCollection and it affects this issue a bit as well.
We should be able to merge something soon and then we can focus on this issue

Thank you very much. This is a critical feature for my team in order to full migrate to a reactive environment

We are working on the collection persisters for @ElementCollection and it affects this issue a bit as well.
We should be able to merge something soon and then we can focus on this issue

Thank you very much. This is a critical feature for my team in order to full migrate to a reactive environment

Thank you, this feature would help us too!

Thank you, this feature would help us too!

This is a critical issue as we're not able to migrate into the reactive env.
It would help us, thank you!

This is a critical issue as we're not able to migrate into the reactive env.
It would help us, thank you!

@blafond I've assigned this to me, so you can finish the missing bits around @ElementCollection. I'm waiting until we merged https://github.com/hibernate/hibernate-reactive/pull/531

Folks, this should now be really very straightforward: all the infrastructure is there now, and @ManyToMany is really just a variation of @ElementCollection.

If no-one is actively working on this, I will do it now. @DavideD?

Yeah, sorry. I haven't start yet because some other things came out.
But I'm planning to do it on Monday

If you want to take it, I'm fine with it.

There's no work to do anyway: turns out it already works.


Redisson 3.17.5 issue with Open JDK version “17.0.5” 2022-10-18 LTS

Unable to start application getting issue as NoClassDefFoundError
org.jboss.marshalling.river.ClassDescriptors.
……
org.redisson.codec.MarshallingCodec(MarshallingCodec.java:146
This is with Open JDK 17.
Redis version 3.17.15
Redisson configuration
Config conf= newConfig;
conf.useSingleServer().
.setAdress(redis connection url)
.setPassword(pwd);
Is there any compatibility issue of Redisson with Open JDK 17? The same application runs perfectly fine with Open JDk11. We just upgraded image to JDK 17.

No i did not. What would be the syntax to use Kryo5 or Serialization codec?
Currently i am using default which is Marshalling Codec.
With default codec/ configuration- seeing these two type of errors:

java.lang.NoClassDefFoundError: Could not initialize class org.jboss.marshalling.river.ClassDescriptors
at org.jboss.marshalling.river.RiverUnmarshaller.doReadClassDescriptor( RiverMarshallet.java:1268)
……..

java.lang.ExceptionInInitializerError
org.jboss.marshalling.river.RiverUnmarshaller.doReadClassDescriptor( RiverMarshallet.java:1268)
…….
Caused by: java.lang.reflecf.InaccessibleObjectException:Unable to make protected java.util.AbstractMap() accessible:module java.base does not “opensjava.util” to unnamed module @1c655221
……..

you need to specify Kryo5 codec in settings like:
conf.setCodec(new Kryo5Codec());


getPurchaseHistory - throws PlatformException(getPurchaseHistoryByType, E_NETWORK_ERROR, The service is disconnected (check your internet connection.))

Version of flutter_inapp_purchase
2.0.5 and 2.0.4
Platforms you faced the error (IOS or Android or both?)
Android
Expected behavior
Servise return list of purchases.
It happens only in release. In debug mode we recieve expected list of purchases.
Actual behavior
throws PlatformException(getPurchaseHistoryByType, E_NETWORK_ERROR, The service is disconnected (check your internet connection.))
Tested environment (Emulator? Real Device?)
Real devices
Steps to reproduce the behavior

Hm.. I also don't know what's wrong with production and debug mode in your case. Please feel free to come back if you find additional information.

Approximately  from 2019-11-21 we are on version ^2.0.4.
Exception start occuring from 2019-12-02 .
We call getPurchaseHistory in main.dart after app start.
void main() async{
CatcherOptions debugOptions =
CatcherOptions(  DialogReportMode(),
[RsgHttpExceptionHandler(), ConsoleHandler()]);
CatcherOptions releaseOptions =
CatcherOptions(SilentReportMode(),
[RsgHttpExceptionHandler()
]);
Catcher(MyApp(), debugConfig: debugOptions, releaseConfig: releaseOptions);
try {
await FlutterInappPurchase.instance.initConnection;
List subscriptions = await FlutterInappPurchase.instance.getPurchaseHistory();

here is stackTrace.
#0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:564)
#1      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:316)

#2      FlutterInappPurchase.getPurchaseHistory (package:flutter_inapp_purchase/flutter_inapp_purchase.dart:161)

#3      main (package:restartgym/main.dart:42)

#4      _runMainZoned.. (dart:ui/hooks.dart:216)
#5      _rootRun (dart:async/zone.dart:1124)
#6      _CustomZone.run (dart:async/zone.dart:1021)
#7      _runZoned (dart:async/zone.dart:1516)
#8      runZoned (dart:async/zone.dart:1500)
#9      _runMainZoned. (dart:ui/hooks.dart:208)
#10     _startIsolate. (dart:isolate-patch/isolate_patch.dart:301)
#11     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172)

I am currently having the same error in iOS simulator, although Android emulator works.

As stated in https://medium.com/ios-development-tips-and-tricks/working-with-ios-in-app-purchases-e4b55491479b

"You must test the in-app purchases on a real device. Purchases will always fail on iOS simulator."

Is that still true?

If you are on android, check the settings and make sure that a google account is logged in. This was the issue in my case.


Compass Manager - Cutover plan for STAGE and PROD rollout

Description
To ensure a controlled rollout of the Compass Manager, this cut-over plan is used to define the required steps, their order and owner:

[ ] Adding Metrics support to Compass Manager, Owner: @kyma-project/framefrog
[ ] Dry-Run on STAGE completed and results reviewed, Owner: SRE / @kyma-project/framefrog
[ ] Enabling Compass Manager on STAGE,Owner: SRE
[ ] Review with SRE required steps for PROD rollout,  Owner: SRE / @kyma-project/framefrog

Requires
#87

Before STAGE and PROD rollout we need to migrate old runtimes that are connected to the Compass and don't have the Application Connector module enabled (creation of the Compass Manager Mapping CRs for already registered runtimes)

depends on #87

@koala7659 as we discussed please let me know if the tasks are done before noon of 10th.Jan. thx.

Compass mgr. onto STAGE it’s postponed to 18th.Jan.2024
Compass mgr. onto  PRODUCTION it’s postponed to 25th.Jan.2024

Compass mgr. onto STAGE: it’s postponed to 15th.Mar.2024
Compass mgr. onto PRODUCTION: it’s postponed to 22nd.Mar.2024

Unfortunately we must postpone STAGE delivery again.
After we disabled Compass Registration for Provisioner on KCP DEV we discovered that installation of Kyma Runtimes started to fail. We decided to revert the flags, and we must fix Provisioner now. The fix is not a big but we will need at least two days to deliver.

Fix for Provisioner not creating istio-system namespace when Compass Registration is disabled https://github.com/kyma-project/control-plane/pull/3415

Change request issue for the process https://github.tools.sap/kyma/backlog/issues/5345


CAMEL-7997 Working on camel-scr

Working on camel-scr and camel-archetype-scr.

Thanks we have all the latest code. Please close this PR.
And for any future work, open a new PR

Sorry, forgot to close this one.