Cherry-pick for v2.12.0

[ ] Alex Collins: refactor(controller): Enhanced pod clean-up scalability (#4728) (69ce2acfb)
[ ] Alex Collins: test: Improved e2e test robustness (#4758) (549585f16)
[ ] Simon Behar: feat: Add a minimal prometheus server manifest (#4687) (9c4d735a9)
[ ] Alex Collins: fix(ui): Remove unused Heebo files. Fixes #4730 (#4739) (625e3ce26)
[x] Alex Collins: fix(controller): Fixes resource version misuse. Fixes #4714 (#4741) (2e278b011)
[x] Alex Collins: fix(controller): Requeue when the pod was deleted. Fixes #4719 (#4742) (300db5e62)
[X] Yuan Tang: fix(executor): Copy main/executor container resources from controller by value instead of reference (#4737) (122c5fd2e)
[X] Yuan Tang: fix(controller): Fix incorrect main container customization precedence and isResourcesSpecified check (#4681) (55019c6ea)
[X] Yuan Tang: feat(controller): Allow to configure main container resources (#4656) (b1e2c20)

fix(controller): Requeue when the pod was deleted. Fixes #4719 (#4742) (300db5e) only need to be cherry-picked if the original was already cherry-picked. You'll know if that's the case because the cherry-pick will conflict.

Done.

Released


code highlight broken for Default Light/Dark+ theme

https://github.com/mattbierner/vscode-docs-view/blob/dc69f7e66cec6da420f6ed37955394e7f53138dc/src/codeHighlighter.ts#L109-L111
theme will not be load for Default Light+ or Default Dark+, because loadTheme need a path arg, not just a name.
 src/codeHighlighter.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/codeHighlighter.ts b/src/codeHighlighter.ts
index 002d214..d941241 100644
--- a/src/codeHighlighter.ts
+++ b/src/codeHighlighter.ts
@@ -107,7 +107,7 @@ export class CodeHighlighter {
 		}

 		if (typeof theme === 'string') {
-			theme = await shiki.loadTheme(theme as any);
+			theme = await shiki.loadTheme(`themes/${theme as any}.json`);
 		}

 		if (theme) {

I have the same issue, and it's frustrating. Can this somehow be upstreamed? I saw that your for @Krysl contains some fixes, but I am not sure how much time @mattbierner has to look through them, as the issue tracker appears to be rather unmaintained.

@georglauterbach
Sorry, I'm a bit busy right now and don't have time to check carefully, but I found the expansion pack I packed a few months ago.
docs-view-0.2.0.vsix.zip

Thanks for the swift response! I'll try it :)

I just noticed that my error is different, sadly. I am using automatic Dark/Light themes (based on the system), and the docsView extension does not pick up the change.


Correct the example URL

Why:

I'll make an issue if I really must, but it's adding four characters!
Without the .git it's not actually a git repository.

What's being changed:

See the diff, it's adding four characters! Diff slightly modified as it seems you can't show code markdown within code markdown.
diff --git a/content/github/using-git/adding-a-remote.md b/content/github/using-git/adding-a-remote.md
index ce69b353b00..65d792400a5 100644
--- a/content/github/using-git/adding-a-remote.md
+++ b/content/github/using-git/adding-a-remote.md
@@ -37,7 +37,7 @@ You may encounter these errors when trying to add a remote.
 This error means you've tried to add a remote with a name that already exists in your local repository:

  ``shell
-$ git remote add origin https://{% data variables.command_line.codeblock %}/octocat/Spoon-Knife
+$ git remote add origin https://{% data variables.command_line.codeblock %}/octocat/Spoon-Knife.git
 > fatal: remote origin already exists.
 ``

Without the .git it's not actually a git repository.
Check off the following:

[x] I have reviewed my changes in staging. (look for the deploy-to-heroku link in your pull request, then click View deployment)
[ ] For content changes, I have reviewed the localization checklist
[ ] For content changes, I have reviewed the Content style guide for GitHub Docs.

@peternewman Thanks for opening a PR 👍 Please fill out the pull request template in the top comment in this pull request to answer Why and What's being changed, then we'll get this up for review!

@peternewman Thanks for opening a PR 👍 Please fill out the pull request template in the top comment in this pull request to answer Why and What's being changed, then we'll get this up for review!

@peternewman Thanks for opening a PR +1 Please fill out the pull request template in the top comment in this pull request to answer Why and What's being changed, then we'll get this up for review!

I've added more why and what's changed detail if someone can re-review please.
Do you actually require me to create a related issue for something so trivial?

@peternewman Thanks for opening a PR +1 Please fill out the pull request template in the top comment in this pull request to answer Why and What's being changed, then we'll get this up for review!

I've added more why and what's changed detail if someone can re-review please.
Do you actually require me to create a related issue for something so trivial?

Thanks so much for the additional context @peternewman! I agree that an issue isn't necessary for this particular fix. I'll get this triaged for review ⚡

Thanks so much for the additional context @peternewman! I agree that an issue isn't necessary for this particular fix. I'll get this triaged for review ⚡

Thanks @shati-patel , I assumed you meant a week of delay or something not just a day or two!

Thanks @shati-patel , I assumed you meant a week of delay or something not just a day or two!


DevToys <IP_ADDRESS> won't open on macOS ARM64

Current behavior
macOS states the application is damaged and won't open.  Tried installing from Homebrew, and download directly from GitHub.
How to reproduce it (as minimally and precisely as possible)
Try to run the application on macOS.  Unsure if Intel chips are affected, but unable to run on ARM64 arch. Edit: the Intel version can be opened on Apple Silicon without issue.
Expected behavior
App opens and functions normally.
Screenshots

Workaround
No response
Affected platforms
macOS
Affected DevToys kind
DevToys (app with GUI)
DevToys Version
<IP_ADDRESS> ARM64
Relevant Assets/Logs
No response

For anyone else coming across this -
xattr -r -d com.apple.quarantine /Applications/DevToys.app will fix the issue.

Hi @veler - are you planning to validly sign the macOS application?  This behavior may cause issues to be opened at Homebrew side.

Hi @krehel,
Thanks for reaching out. I did reproduce this issue this morning too. Interestingly I didn't reproduce it when testing it before.
Is signing the app the only way to go from here? 🤔

I have just installed it from Homebrew, and it is working flawlessly (Apple M2).
Output from brew install:
$ brew install --cask devtoys
==> Downloading https://github.com/DevToys-app/DevToys/releases/download/v<IP_ADDRESS>/devtoys_osx_arm64.zip
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/411493648/0dd4fbb6-96a7-48f1-963b-7ec36a39edc9?X-Amz-Algorithm=AWS4-HMAC-SHA256&
########################################################################################################################################################################### 100.0%
==> Installing Cask devtoys
==> Moving App 'DevToys.app' to '/Applications/DevToys.app'
Password:
🍺  devtoys was successfully installed!

Got the same error after upgrading to the v<IP_ADDRESS> version. (Apple M1)

Hi @veler - yeah ultimately you should sign and notarize the application to keep Apple happy.  You might not have seen it if you're testing locally with your own ad-hoc signing.

I have just installed it from Homebrew, and it is working flawlessly (Apple M2).
Output from brew install:
$ brew install --cask devtoys
==> Downloading https://github.com/DevToys-app/DevToys/releases/download/v<IP_ADDRESS>/devtoys_osx_arm64.zip
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/411493648/0dd4fbb6-96a7-48f1-963b-7ec36a39edc9?X-Amz-Algorithm=AWS4-HMAC-SHA256&
########################################################################################################################################################################### 100.0%
==> Installing Cask devtoys
==> Moving App 'DevToys.app' to '/Applications/DevToys.app'
Password:
🍺  devtoys was successfully installed!

Hi @dineiar ,
Thanks for sharing. Have you not get the same error message than other folks here? Do you have the quarantine disabled or something? 🤔

Hi @veler - yeah ultimately you should sign and notarize the application to keep Apple happy. You might not have seen it if you're testing locally with your own ad-hoc signing.

That may be it! Well, yikes. I'm brand new on Mac development and I'm learning the hard way I guess 😅
As a temporary workaround until I get it sorted, the only thing I see is to recommend to get the app out of quarantine for now using xattr -r -d com.apple.quarantine /Applications/DevToys.app. But definitely not a good long term solution.

Hi @dineiar , Thanks for sharing. Have you not get the same error message than other folks here? Do you have the quarantine disabled or something? 🤔

I am not getting any error message. I did not remember disabling it, but yes, it seems I have quarantine disabled:
$ xattr -p com.apple.quarantine /Applications/DevToys.app
xattr: /Applications/DevToys.app: No such xattr: com.apple.quarantine

Sorry for the confusion.

According to Apple the message means that:

If macOS detects that software has been modified or damaged, your Mac notifies you that the app can't be opened. The app might be broken or corrupted, or it might have been tampered with.

I don't see how this has anything to do with signing? That should show another kind of alert.
https://support.apple.com/en-us/102445

Fair point.  I took some time to dig into this a bit.  I am not an expert at all, just standing on the shoulders of giants and interpreting their writing.  Someone who is an expert can come along and tell me how wrong I am. 😄
tl;dr the arm64 is signed ad-hoc by the linker, but the x64 has no signature at all.  This appears to result in the arm64 version having a broken signature.
Can see this on the command line -
> codesign -v -vvvv --strict DevToys\ ARM64.app
DevToys ARM64.app: code has no resources but signature indicates they must be present

> codesign -v -vvvv --strict DevToys\ X64.app
DevToys X64.app: code object is not signed at all
In architecture: x86_64

My comment is that signing and notarizing the application (correctly), making Gatekeeper happy, Apple happy, etc. would prevent this issue, but it's still possible to damage the app.  Or don't sign it at all, but that just makes no one happy. 😄

Extra information below provided using Apparency.  It is a fantastic tool. Screenshots below from the tool evaluating the 2.0.1 version of DevToys ⬇

ARM64

X64

All things are the same, minus the "Signed By" (which we covered at the top showing that the ARM64 version has attempted to be signed, and the X64 version isn't sign at all).  No notarization, no gatekeeper, etc.
Definition taken from Mothers Ruin who made Apparency.
Signed By - The component was automatically signed by the macOS linker. This behavior was introduced in macOS 11 (Big Sur), to fulfill the Apple Silicon requirement that all executables have some sort of code signature — and thus have a code signing digest (or cdhash). This linker signature is a form of ad-hoc signature (and so doesn't tell you anything about the developer's identity); it is usually applied only to the Apple Silicon architecture (with the Intel architecture being left unsigned). This automatic signing is useful only for standalone Mach-O executables, since it doesn't seal any of the bundle resources that would be covered by a codesign(1)-generated signature (even an ad-hoc one).
So, good for standalone binaries, not so much for app bundles.
Which as I would interpret this, the signature failure joined with the quarantine flag is what makes it broken.  Because when quarantine is stripped, the application works fine.
Broken signature + quarantine: App is damaged, don't use it
No signature + quarantine: be careful at your own risk
Broken or no signature + quarantine removed: be careful at your own risk

Hi @dineiar , Thanks for sharing. Have you not get the same error message than other folks here? Do you have the quarantine disabled or something? 🤔

I am not getting any error message. I did not remember disabling it, but yes, it seems I have quarantine disabled:
$ xattr -p com.apple.quarantine /Applications/DevToys.app
xattr: /Applications/DevToys.app: No such xattr: com.apple.quarantine

Sorry for the confusion.

I also tried the homebrew way to install devtoys but I got quarantine error. (M3 Pro, Sonoma 14.5) I also tried to install manually but It also got the same error.

Same here, MacOS 14.5, M2 Pro

Hi, chiming in as I wanted to try it out but couldn't due to apparent reasons. Making Apple happy is fortunately comparatively easy BUT comes at a cost. You'll first need a 99$/year Apple Developer subscription, which will give you a code signing certificate. That you need to do first using codesign. Second, you then also need to send the codesigned binary to Apple's notarization server. Once that thing is back, you can distribute that app bundle.
It's a bit convoluted and ill-documented, but Apple indeed makes it easier than Microsoft in complying with the platform requirements.
Incidentally, googling a bit for "Electron notarizing" gives quite good results, but I don't know how it works with a non-Electron app (but I guess the tooling can be adapted)

Hi there,
I just wanted to give a quick update: I bought the Apple Developer subscription yesterday. I'm waiting for the payment to go through. After that I will try to sign the code as soon as possible. This issue is currently my top 1 priority.
Please be patient and sorry for the inconvenience :)

No worries @veler - thank you!  Let me know if there's anything else I can do to help you out.

@veler - do you have a 'Ko-fi' or something similar so that those of us who appreciate it can give you some token amount to offset the cost of your Apple Developer subscription?

Hi there, I just wanted to give a quick update: I bought the Apple Developer subscription yesterday. I'm waiting for the payment to go through. After that I will try to sign the code as soon as possible. This issue is currently my top 1 priority. Please be patient and sorry for the inconvenience :)

No worries, thank you for making it cross-platform 🙏

More than 48h later, Apple Developer account activation is still "pending". Dang it !

More than 48h later, Apple Developer account activation is still "pending". Dang it !

Don't fret, once it's through you're gonna have the cert for ever without issues (in my experience at least)!
Ah, and one additional tip that is less obvious: from time to time, Apple will update its TOS and won't send you an email about that. The point at which you realize this is when notarization will fail randomly, and the error reads something along the lines of"you didn't agree to XYZ", that'll be a bit annoying but other than that it should be smooth once set up properly.

More than 48h later, Apple Developer account activation is still "pending". Dang it !

Don't fret, once it's through you're gonna have the cert for ever without issues (in my experience at least)!
Ah, and one additional tip that is less obvious: from time to time, Apple will update its TOS and won't send you an email about that. The point at which you realize this is when notarization will fail randomly, and the error reads something along the lines of"you didn't agree to XYZ"*, that'll be a bit annoying but other than that it should be smooth once set up properly.

That is when you'll have to actually log in and click accept on their TOS, which can be annoying

Thanks for the tip! 😁

Update: I just called Apple support and apparently the account is still "pending" because they do a manual review when you subscribe, and they are a little bit behind because they got many more people with WWDC24. Just need to be extra patient :-)

Alright, my Apple Developer account got activated earlier today. I followed some tutorial for .NET. Looks like the code is being signed correctly, unless contradicted by Notarization, which is running for about an hour now. We're getting there :D

Alright. Notarization gone for about 16h and finished on an error.  Is the issue with one of the files in Resources folder?
Files in DevToys.app/Contents/Resources/Plugins/DevToys.Tools/ folder are not signed. They are added post-build to the .app. Am I right to assume it's the root cause of the problem?

Looks like my assumption was correct. I succeeded to notarize the app! I'm gonna push an update tonight or tomorrow. Thanks for your patience!

Update is available here: https://github.com/DevToys-app/DevToys/releases/tag/v<IP_ADDRESS>
And soon on Homebrew.
Thanks everyone! Please let me know if the issue keeps reproducing for you.

It works perfect now, thanks a lot !

Works perfetly... thank you for taking the time and fixing the issue.

v<IP_ADDRESS> made it to homebrew and works perfectly now, thanks!


Fix docker setup and NPE when building RemoteCacheContainer on non-Linux OSes.

Sigh, this got fixed and merged overnight - https://github.com/wildfly-clustering/wildfly-clustering/pull/22 - nevermind.


allow creating references for empty archival datasets

Uninitialized variables don't have chunks, but can have a fill value set:
import h5netcdf

with h5netcdf.File("test.nc", mode="w") as f:
    f.dimensions = {"x": 100, "y": 200}
    f.create_variable("var", dimensions=("x", "y"), dtype="int64", fillvalue=100, chunks=(50, 100))

xarray opens this file just fine, but kerchunk won't return chunks for it. virtualizarr uses the fill value to construct the variable instead, which doesn't work because the variable is not actually 0D. This usually indicates an issue with the files, so I chose to raise an error (it doesn't have to, though, so I'm not sure this is the best way forward).

[x] Tests added
[x] Tests passing
[ ] Full type hint coverage
[ ] Changes are documented in docs/releases.rst

another example fwiw is this seaice product, it started in 1978 and initially only had data every 2 days, but became daily later ... the old binary files just skipped a day but the recent-ish netcdf rewrite filled the blanks with these empty files, they only have the dims, attributes, and the dummy crs variable (which now I think about it will probably be fine for virtual-ref).
https://n5eil01u.ecs.nsidc.org/PM/NSIDC-0051.002/1978.10.27/NSIDC0051_SEAICE_PS_S25km_19781027_v2.0.nc

that needs earthdata creds, so zipped and attached:
NSIDC0051_SEAICE_PS_S25km_19781027_v2.0.nc.zip
But, I wanted to put it out there because these empty files do occur for various reasons.

I wanted to put it out there because these empty files do occur for various reasons.

thanks for confirming that these are not just broken files.
In that case I wonder how to best support these: in theory, writing .zarray / .zattrs should be enough, since zarr will also use the fill_value to fill missing chunks. In other words, how do we generate a ManifestArray that does not contain chunks (i.e., a size-0 ManifestArray, but with the shape / chunksizes from zarray)?

Size-0 ManifestArray

ManifesArrays are just 3 numpy arrays in a trenchcoat, and you can have length-0 numpy arrays right? So this should be possible, but might need some special casing.

also fwiw as a todo for me, the GDAL autotest suite has some metadata-only examples, and I wanted to explore how xarray treats related, as opposed to zarr python itself, in case there was some misalignment in how GDAL should behave too:
https://github.com/OSGeo/gdal/tree/master/autotest/gdrivers/data/zarr/array_attrs.zarr
(xarray is fine with the empty netcdf, but not with the empty GDAL zarr)

https://github.com/OSGeo/gdal/tree/master/autotest/gdrivers/data/zarr/array_attrs.zarr

There's multiple issues with that (I think): .zarray is not valid json (it uses single quotes instead of double quotes for the dtype), and !b1 is unknown to numpy.dtype (remove the exclamation point, maybe?).
Once those are fixed, xarray uses zarr.open_group to open files, which complains about the directory being an array, not a group. To fix that, you'd have to move .zarray and .zattrs into a subdirectory (var) and create a .zgroup file one level up. And finally, xarray needs the _ARRAY_DIMENSIONS attribute to be set and contain dimension names.

I've repurposed this PR to instead allow reading and writing variables without chunks (detected by no chunks and ndim > 0).
This appears to work properly, but I need help with the typing of ChunkManifest.empty: why does mypy think np.array((), dtype=np.dtypes.StringDType) is of type ndarray[Any, dtype[Any]]? Do I need to use cast for that?

I think you might need to cast. I don't think numpy's handling of generics like this fully works yet. See also the PR I recently merged that fixed some similar typing errors.

If so have you tried concatenating them or doing any other operations to make sure that ManifestArray doesn't break?

Good catch, I forgot to check that. It breaks, obviously, numpy.concatenate doesn't know how to concatenate 0d arrays. Which means I'll have to figure out how to work around that.
However, I fear this will touch almost all of the __array_function__ functions of ManifestArray, so it will take me quite a while to figure out.

after some more investigation, I believe we won't be able to use entries={} (nor size-0 arrays): we need to somehow pass the chunk grid (which exists, there's just no data we can refer to). One option would be to follow this comment: https://github.com/zarr-developers/VirtualiZarr/blob/e6407e01e4dc2536a64c3a418a59ead30bb353bc/virtualizarr/manifests/manifest.py#L112-L114 and explicitly pass the chunk grid shape. This would allow us to translate entries={} to the suggestion below.
Another option would be to construct paths / offsets / lengths with the actual shape, but the values for paths is the missing value marker (the na_object parameter to np.dtypes.StringDType) – then the concatenation would immediately work, but manifest.dict() would have to skip over any entry where the path is missing.

I've done both (looks like path == "" already meant missing chunk), tell me what you think

So basically the concatenation works okay because under the hood the manifest still contains numpy arrays of the correct shape, they just have path='' for all elements?

yes, that's it

Great. That's presumably less efficient that not storing them explicitly, but it should be robust.

probably faster, too, because we don't need to special-case empty chunk manifests.

I guess maybe a note in the docs/releases.rst changelog.

Thanks @keewis!


Dev

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: 劲松:x: caogaoshuai劲松 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


HSEARCH-3975 Expose scrolling operations through JPA/ORM queries

https://hibernate.atlassian.net/browse/HSEARCH-3975

Thanks; I added a few tests. Will merge as soon as CI passes.


Timeout while pulling a docker image

Hi,
I'm currently give a try to Singularity to replace my current setup based on marathon/chronos.
However I have an issue with the docker executor. My containers are few hundred MB and fetched through a very slow proxy, so sometimes it takes more than 10 minutes to pull a container.
My issue is I notice mesos/singularity abort my tasks after 5 minutes with the following message:
 Abnormal executor termination: unknown container

The pull is not yet finished. With marathon, I can adjust this timeout with task_launch_timeout but I was not able to find the equivalent in Singularity configuration.
Any help will be appreciated!
Thanks

Ok my bad
It's on mesos slave /etc/mesos-slave/executor_registration_timeout


Update parameters for EC2 module

Looks like this one reference was missed in the original migration to the new/updated amazon.aws.ec2_instance module. Closing #109

LGTM


Implement rapid fire logs grouping

configuration flag to enable that
configuration field for grouping time range
grouping in Store within T milliseconds

Done in 1.0.10


Fix/checkbox checked prop & onChange now working correctly for Input, Select, Checkbox and Radio

checkbox and radio now have working 'checked' props
fixes #37

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Initial code from PQCrystals/Kyber @ 10b478fc3cc4ff6215eb0b6a11bd758bf0929cbd

Initial code based on copy of /ref in standard branch of pqcrystals/kyber
Replaces nistkat code with latest version from nist
Adds basic CI to confirm code builds (refactor later). This is x86_64 ubuntu only (to be expanded in #21 )

As per #111 this work will not now continue. Closing.


how to use plugins in vanilla javascript

Description
I'm just coding in  vanilla javascript.
as for plugins, I've followed link below:
https://naver.github.io/egjs-view3d/docs/options/miscellaneous/plugins
it says using import but not available in  vanilla javascript.
at present I am using
   <script src="js/view3d.pkgd.min.js"></script>     <link rel="stylesheet" href="css/view3d-bundle.min.css">     <script src="js/jquery-3.5.1.min.js"></script>
is it impossible in  vanilla javascript or am I lost ?
or using mixing  jQuery and egjs-view3d  can cause problem?
in short,  how to use plugins in vanilla javascript ?
thanks in advance for good solution..
Steps to check or reproduce

Hello @ctxwing!
If you're importing View3D with a script tag, every component in View3D is exported like this:
View3D.XXX

So, try using it like this:
const viewer = new View3D("#el", {
  plugins: [new View3D.LoadingBar()]
})

Or...
const viewer = new View3D("#el");

viewer.addPlugins(new View3D.LoadingBar());

@WoodNeck
Thanks for quick response.. it works !
as for me, 'viewer.loadPlugins(new View3D.LoadingBar());' works fine.
(instead of  'viewer.addPlugins(new View3D.LoadingBar());' does not work)
would you please update this in  docs for it? if it is possible. thanks again.

@ctxwing That's my mistake, loadPlugins is right!

https://naver.github.io/egjs-view3d/docs/plugins
https://naver.github.io/egjs-view3d/docs/api/View3D#loadPlugins


Revise the proposed Observation result profiles

I propose following changes  to the Laboratory observation profile:

specify observation.code binding to LOINC and NPU based value sets
set element issued MS flag
remove cardinality on performer element (leave MS flag but allow results without performer information - for discussion)

I propose following changes to the Laboratory observation profile:

specify observation.code binding to LOINC and NPU based value sets

created https://github.com/hl7-eu/laboratory/issues/27

set element issued MS flag

We should in general revise the MS in these profiles, we agreed not to use MS (waiting for obligation).

remove cardinality on performer element (leave MS flag but allow results without performer information - for discussion)

ok for me let's discuss next time

added https://github.com/hl7-eu/laboratory/issues/28

added https://github.com/hl7-eu/laboratory/issues/30

2023-06-23: change the performer to 0..*

@gcangioli Should observation components have the same value[x] constrains as observation itself?

@kruzikh I don't see why they should not :-)

@gcangioli Then we should implement it in the IG !

This is an after-the-fact response, but I agree with having the same constraints for both.  And looking at the CI build following Hynek's commit, they appear to be consistent.


Make hostNetwork configurable on node daemonset

Is this a bug fix or adding new feature?
Feature
What is this PR about? / Why do we need it?
This is required to support custom CNIs (such as Cilium) where the IPs are not allocated from the VPC CIDR block.
What testing is done?
Successfully mounting fsx volumes while using Cilium CNI and hostNetwork=true
Supersedes https://github.com/kubernetes-sigs/aws-fsx-openzfs-csi-driver/pull/62

/ok-to-test

/lgtm
thank you for your contribution!

Hi @hughdanliu, any update on creating a new release? Would be highly appreciated! :slightly_smiling_face:


suiteql returns no data when adding order by

Hi,
I'm using REST API suiteql verb to retrieve data through SuiteQL queries. All is working fine except when I add an ORDER BY clause.
For example SELECT id, name FROM subsidiary returns the list of all subsidiaries as expected. But SELECT id, name FROM subsidiary **ORDER BY id** returns an empty list of items.
This behavior occurs with version 0.8.0.
Thanks in advance for looking into this issue
Philippe

Can you post the raw debugging logs?


Warning: Not saved by seed

Preflight Checklist

[x] I have searched DeFiChain’s Github Issue Page and none matches my issue
[x] I have read through How To Submit Issues for DeFi App

Issue Details

**Current DeFi App Version:    2.1.15
**Previous DeFi App Version:   n/a
**Operating System (OS):        macOS 10.15.7

Screenshot(s) / screen recording(s) of issue
Warning__Not_saved_by_seed-phrase
Actual Behavior

Open the app
Go to wallet page
Click on DFI
Click on RECEIVE
--> WARNING: Not saved by seed phrase
is showing under existing address.

Expected Behavior
No Warning message and existing address to be saved by seed phrase.
App log / binary log / app config
app logs_2021-02-04.zip

Sorry - just found that there is an open topic already.
I will add my issue there and close this one.
Thanks


Make logical_meter module private

This is based on #83, adding an extra commit to move .timeseries.Sample to .core.Sample.
This is mainly to break a dependency cycle between actors and timeseries utilities. Any actor that work on timeseries needs to import Sample, which lived in .timeseries, but .timeseries also import all utilities working on timeseries (like _resampler and _logical_meter) that in turn use some actors.
Moving Sample to a (really) leaf module solves the issue.
That said, I consider this a temporary patch and not a long term solution, to find a long term solution we have this issue:

#84

We are dropping this in favor of a more long term solution as discussed in #84.


fix path for mlp in train.py

Since the path of cnn/data/mlp.py is changed to mlp/module.py, I have adjusted the path for importing mlp in train.py

tested
(singa) dcsysh@panda7:~/singa/examples/cnn$ python3 train.py mlp mnist
Starting Epoch 0:
Training loss = 485.473358, training accuracy = 0.851771
Evaluation accuracy = 0.911358, Elapsed Time = 0.657228s
Starting Epoch 1:
Training loss = 267.414551, training accuracy = 0.918657
Evaluation accuracy = 0.928986, Elapsed Time = 0.549762s
Starting Epoch 2:
Training loss = 219.956863, training accuracy = 0.932998
Evaluation accuracy = 0.937400, Elapsed Time = 0.522403s
Starting Epoch 3:
Training loss = 188.373474, training accuracy = 0.942519
Evaluation accuracy = 0.946715, Elapsed Time = 0.526736s
Starting Epoch 4:
Training loss = 164.958145, training accuracy = 0.949223
Evaluation accuracy = 0.951723, Elapsed Time = 0.518828s
Starting Epoch 5:
Training loss = 146.759750, training accuracy = 0.954442
Evaluation accuracy = 0.956330, Elapsed Time = 0.519034s
Starting Epoch 6:
Training loss = 132.402222, training accuracy = 0.959178
Evaluation accuracy = 0.958534, Elapsed Time = 0.518872s
Starting Epoch 7:
Training loss = 120.471268, training accuracy = 0.963114
Evaluation accuracy = 0.961639, Elapsed Time = 0.517931s
Starting Epoch 8:
Training loss = 110.338516, training accuracy = 0.966832
Evaluation accuracy = 0.963642, Elapsed Time = 0.517797s
Starting Epoch 9:
Training loss = 101.753929, training accuracy = 0.968450
Evaluation accuracy = 0.966947, Elapsed Time = 0.525986s

created the main function for module.py
The following compare the two mlp python files (native and module)
(singa) dcsysh@panda7:~/singa/examples/mlp$ python3 module.py
training loss =  0.6983457
training loss =  0.5789051
training loss =  0.5416279
training loss =  0.5215638
training loss =  0.48960403
training loss =  0.41315585
training loss =  0.29514945
training loss =  0.22526246
training loss =  0.17949672
training loss =  0.1460414
training loss =  0.1275652
(singa) dcsysh@panda7:~/singa/examples/mlp$ python3 native.py
train_data_shape: (400, 2)
train_label_shape: (400, 2)
training loss =  0.69022506
training loss =  0.5337086
training loss =  0.50861275
training loss =  0.45854628
training loss =  0.36616224
training loss =  0.2868635
training loss =  0.23228025
training loss =  0.19422081
training loss =  0.16704172
training loss =  0.14696379
training loss =  0.13173983


Docker machine-id fails

Hi, I am running machineid in a code sandbox that uses a docker container. The package fails with error:
Traceback (most recent call last):
  File "/workspace/run.py", line 8, in <module>
  File "/usr/local/lib/python3.10/site-packages/machineid/__init__.py", line 103, in hashed_id
    return hmac.new(bytes(app_id.encode()), id().encode(), hashlib.sha256).hexdigest()
  File "/usr/local/lib/python3.10/site-packages/machineid/__init__.py", line 94, in id
    raise Exception('failed to obtain id on platform {}'.format(platform))
Exception: failed to obtain id on platform linux

Checking the package, I have the following id() method:
def id() -> str:
  """
  id returns the platform specific device GUID of the current host OS.
  """
  if platform == 'darwin':
    id = __exec__("ioreg -d2 -c IOPlatformExpertDevice | awk -F\\\" '/IOPlatformUUID/{print $(NF-1)}'")

  if platform == 'win32' or platform == 'cygwin' or platform == 'msys':
    id = __reg__('HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography', 'MachineGuid')
    if not id:
      id = __exec__('wmic csproduct get uuid').split('\n')[2] \
                                              .strip()

  if platform.startswith('linux'):
    id = __read__('/var/lib/dbus/machine-id')
    if not id:
      id = __read__('/etc/machine-id')
    if not id:
      cgroup = __read__('/proc/self/cgroup')
      if cgroup:
        if 'docker' in cgroup:
          id = __exec__('head -1 /proc/self/cgroup | cut -d/ -f3')
    if not id:
      mountinfo = __read__('/proc/self/mountinfo')
      if mountinfo:
        if 'docker' in mountinfo:
          id = __exec__("grep 'systemd' /proc/self/mountinfo | cut -d/ -f3")

  if platform.startswith('openbsd') or platform.startswith('freebsd'):
    id = __read__('/etc/hostid')
    if not id:      id = __exec__('kenv -q smbios.system.uuid')

  if not id:
    raise Exception('failed to obtain id on platform {}'.format(platform))

  return id

In particular, I am running docker in linux, so I'm interested in the commands. As expected by the error, none of the linux specific paths has a valid machine id associated with it. We're wondering if this should be trying to read /etc/hostname if the other two checks fail?

I'm also running into this, it seems machineid doesn't work during docker builds.


mail/postfix: Add smtp_bind_address

https://forum.opnsense.org/index.php?topic=8649.0

The problem with postfix is there are two ways ... receiving mails (also bound IP like in sockstat) and sending mails, tcp connection always opens on demand.
Receiving mails would be handled via listen address field.
We can do it like in this PR, or add another 2 fields for binding to the receiving daemon, which would be more confusing IMO.

Oh .. binding to sender can only be one .. so select field is not a good option if you meant this

I’m that case it’s ok as is (minus multi-select) but hidden under advanced toggle... this is prone to breakage.

Like this?

Merged, thanks!


Port the class field pointer hell to self-hosted

Pointers in classes are always i8* in LLVM IR, so that a class can contain a pointer to itself. This way you can implement a linked list, for example. Previously this wasn't done in self-hosted compiler.
Extracted from #454.

Something weird happens with booleans on Windows if optimizations are enabled when compiling the self-hosted compiler. It ends up getting a boolean foo that behaves so that foo as int evaluates to 255, not 0 or 1 as expected. Also, if ... or foo does not run when this happens.
This will take a while to minimize into something small, so I can make a bug report / question to LLVM. It is difficult, because the self-hosted compiler is creating bool 255, and it is a lot of code.


Create introduction-to-GitHub-packages.md

Create introduction-to-GitHub-packages.md

Why:
opens [All]

What's being changed:

Check off the following:

[x] I have reviewed my changes in staging (look for the deploy-to-heroku link in your pull request, then click View deployment).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[x] This pull request impacts the contribution experience

[x] I have added the 'writer impact' label
[x] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

[x] @2085
[x] #7417

[x] #7319 @chrisd8088


Error when requesting an url with double slashes, right after hostname

Do you want to request a feature or report a bug? Report a bug

Bug

What did you do?
This appears to be a repeat of #1323 (https://github.com/containous/traefik/issues/1323) (which was fixed) but it appears to have come back in 2.2.
I am using traefik as an ingress controller for Kubernetes.  I created an Ingress route:
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: test-ingress
  namespace: test
spec:
  entryPoints:
    - websecure
  routes:
  - match: Host(`testname`) && PathPrefix(`/api`)
    kind: Rule
    services:
    - name: test-svc
      scheme: https
      port: 8443
  tls:
   store:
     name: default

When i try to access the backend it works fine if there is no double slash after the hostname but if there is a double slash I get a 404 error.  I tried to add a middleware to route //api to /api but it wasn't working for me.
https://tesname/api/version (works fine)
https://testname//api/version (404)
https://testname/api//version (works fine)

What did you expect to see?
I expect the URLs to act the same but I get a 404 on the one with a double slash after hostname:
https://testname/api/version (Works fine)
https://testname//api/version (404)
https://testname/api//version (works fine>
What did you see instead?
I got a 404 error on https://localhost//api/version
Output of traefik version: (What version of Traefik are you using?)
2.2

It is being run via the traefil kuberentes yaml file.

If applicable, please paste the log output in DEBUG level (--log.level=DEBUG switch)
<IP_ADDRESS> - - [12/Jul/2020:14:16:29 +0000] "GET //api/version HTTP/2.0" 404 19 "-" "-" 2 "-" "-" 0ms

This is a working log entry:
time="2020-07-12T14:16:36Z" level=debug msg="vulcand/oxy/roundrobin/rr: begin ServeHttp on request" Request="{\"Method\":\"GET\",\"URL\":{\"Scheme\":\"\",\"Opaque\":\"\",\"User\":null,\"Host\":\"\",\"Path\":\"/api//version\",\"RawPath\":\"\",\"ForceQuery\":false,\"RawQuery\":\"\",\"Fragment\":\"\"},\"Proto\":\"HTTP/2.0\",\"ProtoMajor\":2,\"ProtoMinor\":0,\"Header\":{\"Accept\":[\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9\"],\"Accept-Encoding\":[\"gzip, deflate, br\"],\"Accept-Language\":[\"en-US,en;q=0.9\"],\"Authorization\":[\"Basic dGFjdGljYWw6dGFjdGljYWw=\"],\"Sec-Fetch-Dest\":[\"document\"],\"Sec-Fetch-Mode\":[\"navigate\"],\"Sec-Fetch-Site\":[\"none\"],\"Sec-Fetch-User\":[\"?1\"],\"Upgrade-Insecure-Requests\":[\"1\"],\"User-Agent\":[\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36\"],\"X-Forwarded-Host\":[\"testhost\"],\"X-Forwarded-Port\":[\"443\"],\"X-Forwarded-Proto\":[\"https\"],\"X-Forwarded-Server\":[\"traefik-5fbf4899b6-zmspw\"],\"X-Real-Ip\":[\"<IP_ADDRESS>\"]},\"ContentLength\":0,\"TransferEncoding\":null,\"Host\":\"testhost\",\"Form\":null,\"PostForm\":null,\"MultipartForm\":null,\"Trailer\":null,\"RemoteAddr\":\"<IP_ADDRESS>:20396\",\"RequestURI\":\"/api//version\",\"TLS\":null}"

In my opinion //api indicates a different path than /api, I'm using "path" in the context of RFC 3968. And as such 404 is a reasonable response, because there is not resource at //api. I may be missing something (like defacto use cases that gets broken) but to me it does not look like a bug - even though it was reported and fixed before.

Any updates?

Hello @bhughes4128,
Thanks for your interest in Traefik!
The RFC2396 defines a path with this grammar:

path_segments = segment *( "/" segment )
segment       = *pchar *( ";" param )
param         = *pchar

As a segment can be empty, there is a logical difference between /api and //api.
To handle these paths, you can create a rule with this format: Host(`testname`) && (PathPrefix(`/api`) || PathPrefix(`//api`))
According to this, we will close this issue.


🗑 Deprecation of experimental floating-point numbers with error level

[!IMPORTANT]
This is a source incompatible change. See our versioning strategy for more details on when we could publish it.

📝 Description
For focusing first on a good representation of integers and fractions before decimals, we want to deprecate the StrictlyPositiveDouble and the StrictlyNegativeDouble types with an error level from the experimental API.
The deprecation notice should indicate that these types will be removed in v4.7 but we will provide another representation of those types in the future.
✅ Checklist

When deprecating a declaration, don't forget to replace its Since annotation with the DeprecatedSince one.

[ ] 🗑 Deprecate the StrictlyPositiveDouble type and remove its tests.
[ ] 🗑 Deprecate the StrictlyNegativeDouble type and remove its tests.
[ ] 📝 For maintainers: Add an entry for this issue in the unreleased changelog.

We will deprecate these types when a new implementation will be available in the org.kotools.types package.


Plugin does not appear in the new node

Plugin does not appear in the new node, and the following message appears when loading: IMPORT FAILED.

Hello. How did you install my node?  Through ComfyUI Manager, what is this 0.0 import failed?  I just updated comfyui via git pull.  My nodes are working.  What kind of system is Windows, Linux?

I used github to install it manually, and at the same time I also tried manager installation, it didn't work, and I used the linux system, yes I don't understand what went wrong about the 0.0 import failure

I used github to install it manually, and at the same time I also tried manager installation, it didn't work, and I used the linux system, yes I don't understand what went wrong about the 0.0 import failure

https://github.com/AlekPet/ComfyUI_Custom_Nodes_AlekPet/issues/30#issuecomment-1902173733

Hello! I can't use it on my Mac. I put the folder in the custom nodes. When I open the comfyui I can't install the painter node. I have a message that say "Import Failed". It's compatible with Mac? I don't whats the problem. I did something wrong? Thank u

https://github.com/AlekPet/ComfyUI_Custom_Nodes_AlekPet/issues/47
Duplicate issue...


Playsound can't play several mp3

I can't play next mp3 file after another:
from playsound import playsound
playsound("first.mp3")
playsound("second.mp3")

With playsound 1.3.0 I'm also having trouble. The following example works fine with playsound 1.2.2.
Example:
from playsound import playsound playsound(r'F:\OneDrive\Python\sounds\Ring02.wav')
This will play the sound, and then give:
  Error 305 for command:
    close "F:\OneDrive\Python\sounds\Ring02.wav"
  Cannot specify extra characters after a string enclosed in quotation marks.
Failed to close the file: "F:\OneDrive\Python\sounds\Ring02.wav"
When I try to play it again, using:
playsound(r'F:\OneDrive\Python\sounds\Ring02.wav')
it doesn't play, but gives this error:
 _Error 305 for command:
    open "F:\OneDrive\Python\sounds\Ring02.wav"
  Cannot specify extra characters after a string enclosed in quotation marks.
  Error 305 for command:
    close "F:\OneDrive\Python\sounds\Ring02.wav"
  Cannot specify extra characters after a string enclosed in quotation marks.
Failed to close the file: "F:\OneDrive\Python\sounds\Ring02.wav"
Traceback (most recent call last):
 File "C:\Program Files\JetBrains\PyCharm Community Edition 2023.3.2\plugins\python-ce\helpers\pydev\pydevconsole.py", line 364, in runcode
  coro = func()
      ^^^^^^
 File "", line 1, in
 File "C:\Users\michi\PycharmProjects\SmartBetaTest\venv\Lib\site-packages\playsound.py", line 72, in playsoundWin
  winCommand(u'open {}'.format(sound))
 File "C:\Users\michi\PycharmProjects\SmartBetaTest\venv\Lib\site-packages\playsound.py", line 64, in winCommand
  raise PlaysoundException(exceptionMessage)
playsound.PlaysoundException:
  Error 305 for command:
    open "F:\OneDrive\Python\sounds\Ring02.wav"
  Cannot specify extra characters after a string enclosed in quotation marks.

I believe this issue was fixed three years ago, but was never released to pip.
The issue is/was caused by the buffer passed to the dll not being null terminated so if a shorter command was passed after a longer command then there would be unintentional data in the buffer that would be read by the dll. This was fixed by switching to   automatically converted arguments.

IIRC, there’s never been a test case (or suite) that showed a reliable improvement. Bugs like this occurred both with and without any “fixes”.Any PRs to “fix” stuff should include tests that fail without the fix and pass with it. Ideally the test should work on Windows Server, but regrettably Windows Server lacks the media components which makes running the test on Travis…TaylorSent from my iPhoneOn Mar 30, 2024, at 07:00, Gweneph @.***> wrote:
I believe this issue was fixed three years ago, but was never released to pip.
The issue is/was caused by the buffer passed to the dll not being null terminated so if a shorter command was passed after a longer command then there would be unintentional data in the buffer that would be read by the dll. This was fixed by switching to   automatically converted arguments.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

@PeterBan11 @spatbord I had similar problems with Failed to close the file.
You might want to see my fork that fixes them for me: https://github.com/sjmikler/playsound3. It is available on pip as playsound3.


Implement login, register, get user, delete + tests

Implement login, register, get user, delete + tests.
TODO: exceptions and test exceptions

@jrebecchi waiting for review ;)


Headless CMS

https://hashnode.com/enterprise#headless-cms
https://www.storyblok.com/pricing
https://payloadcms.com/use-cases/headless-ecommerce

https://prismic.io/pricing

Finalized And Implemented in article-blog Branch
@tithiradesilva


Merge develop.jpeg2000 with the latest develop

This gets all the changes merged in, but have pushed jpeg2k validation changes out of tiledb.cc and into codec.[h|cc] for now. Once, we have a codec registering scheme in place all these changes can migrate with codec_jpeg.[h|cc] where the codec is implemented.
@kgururaj, do you mind if the blosc support is pulled out? Also, maybe it will be a good time to move array_schema to a json format when we implement a plugin sort of a mechanism for codecs.

Codecov Report

Merging #89 (0fe0c26) into develop.jpeg2000 (5d69a47) will increase coverage by 0.01%.
The diff coverage is 78.64%.

@@                 Coverage Diff                  @@
##           develop.jpeg2000      #89      +/-   ##
====================================================
+ Coverage             61.67%   61.69%   +0.01%
====================================================
  Files                    44       56      +12
  Lines                 16205    17390    +1185
====================================================
+ Hits                   9994    10728     +734
- Misses                 6211     6662     +451

Impacted Files
Coverage Δ

core/include/codec/codec_blosc.h
77.27% <ø> (ø)

core/include/codec/codec_gzip.h
100.00% <ø> (ø)

core/include/codec/codec_rle.h
0.00% <ø> (ø)

core/include/misc/utils.h
100.00% <ø> (ø)

core/include/storage_manager/storage_manager.h
100.00% <ø> (ø)

core/src/codec/codec_rle.cc
1.29% <0.00%> (ø)

core/src/misc/hilbert_curve.cc
1.35% <0.00%> (-0.02%)
:arrow_down:

core/src/storage_manager/storage_gcs.cc
1.61% <0.00%> (-0.03%)
:arrow_down:

core/src/array/array.cc
54.75% <40.00%> (-0.85%)
:arrow_down:

core/src/storage_manager/storage_manager_config.cc
63.01% <47.82%> (-9.87%)
:arrow_down:

... and 70 more

Continue to review full report at Codecov.

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


Changes to the filter pattern triggered a false positive finding

Hi all
It seems that the recent change to the the pattern for the "UnauthorizedAPICalls" alert is triggering a false finding in Security Hub
https://github.com/nozaq/terraform-aws-secure-baseline/commit/3d5332a9dbb23dad19502de8e0a7feafc1eb947e
I guess the reason is that the "official" pattern tested for is:
{($.errorCode="*UnauthorizedOperation") || ($.errorCode="AccessDenied*")}

The new pattern is:
{(($.errorCode = "*UnauthorizedOperation") || ($.errorCode = "AccessDenied*")) && (($.sourceIPAddress!="delivery.logs.amazonaws.com") && ($.eventName!="HeadBucket"))}

Is my assumption correct?
Should you revert the change or should we suppress the finding?
Thanks,
Luigi

I'm seeing the same issue. When I manually changed the pattern to the old version (without the log delivery or bucket additions), then SecurityHub marked the control as passing.

This is an expected behavior.
The latest version of CIS Amazon Web Services Foundations Benchmark is v1.4.0 while SecurityHub only supports the standard for v1.2.0.
UnauthorizedAPICalls alert was defined as {($.errorCode="*UnauthorizedOperation") || ($.errorCode="AccessDenied*")} in v1.2.0, but it's updated to {(($.errorCode = "*UnauthorizedOperation") || ($.errorCode = "AccessDenied*")) && (($.sourceIPAddress!="delivery.logs.amazonaws.com") && ($.eventName!="HeadBucket"))} in v1.3.0.
So our implementation uses the latest pattern, which I believe preferable, but the current CIS standard implementation in SecurityHub is still looking for the old pattern.
With that said, I would recommend suppressing the finding at this moment. I hope AWS will release the SecurityHub standard for the latest CIS benchmark in near future.

Thanks a lot nozaq!
Best,
Luigi

@LuigiClemente-Awin You're welcome!


feat: copy into nixpkgs

Related: NixOS/nixpkgs#162456

todo:

[ ] #71
[ ] change nixpkgs version suffix seperator from - to _
[ ] manually merge into nixpkgs
[ ] write bot to open a PR to copy changes from here


Discussion: Split up role per service?

Since the Hub is ever growing with new services like customization or the portal, would it make sense to extract these extra services into dedicated roles?
Pros:

easier to combine the different services (deploy only Hub or Hub + Portal or Hub + Customization or all three) by simply adding the different roles to a playbook
clean separation of independent modules

Cons:

some configuration parameters might be duplicated between the roles (wouldn't matter in one playbook, though)

I am not sure if combination is such a pro because it also means introducing the option of not doing everything without knowing it.
Currently I am not even sure if a role is needed at all or if it couldnt just be solved within the configuration repository (similar to the annexation of the terraform stuff)


[RFE] Backups are not consistent among GUI, RKE and scheduled.

What kind of request is this (question/bug/enhancement/feature request): Feature Request
Steps to reproduce (least amount of steps as possible):
In an HA Rancher environment, run the various backup options (scheduled, RKE, GUI) to see the different number of files created for each option.
Result:
The number of files is not created for the backup is not consistent.
Other details that may be helpful:
When backing up the Rancher environment, the behavior is different among the backup options.
When using the scheduled option on an HA Rancher cluster with 3 etcd nodes, 3 files are created.  If done via RKE on the same cluster, one backup file is created.  If done via Rancher interface one file is created.
The scheduled option will use up 3x as much space and it is confusing when these differences are seen.  It appears something has gone wrong or not completed successfully.
It would be best to have them consistent and to have one file created during the backup process.
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):
Installation option (single install/HA): HA

gz#6865

What kind of request is this (question/bug/enhancement/feature request): Feature Request
Steps to reproduce (least amount of steps as possible):
In an HA Rancher environment, run the various backup options (scheduled, RKE, GUI) to see the different number of files created for each option.
Result:
The number of files created for the backup is not consistent, nor is it configurable.  Some users wish to record each nodes snapshot individually while others wish to save space by having just the one.
Other details that may be helpful:
When backing up the Rancher environment, the behavior is different among the backup options.
These are the results from tests run on an HA Rancher cluster with 3 etcd nodes:

Snapshotting method
Target cluster
# of snapshots in S3
Filenames vs timestamps in bucket

RKE one-time snapshot
management (local) cluster
1

Scheduled backup via cluster YAML and RKE
management (local) cluster
3

One time snapshot via Rancher UI
downstream cluster
1

Scheduled backup via Rancher UI
downstream cluster
1

It would be best to have them consistent and to have one file created during the backup process or offer the option in the cluster YAML to choose whether to store 1 snapshot from each node or just 1 from a healthy node.
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):
Installation option (single install/HA): HA

gz#6865

Above is a revision to the issue in light of newer information and requests made by other customers while working on other snapshot issues over the last few months.


Do not hard code shoppingCartId in the middle layer

Fixes #470

@sarahelsaig Please check and merge this PR,  1--It did not change the logic, just moved shoppingcartid to front end, 2--I think in future,  #475 will use this kind of service,  3-- my code is waiting for it. thanks


[Flutter Web] shows blank page, no errors in chrome console and flutter console

I am new to flutter web. I am using the default counter program. But, I get blank page in chrome and there are no errors in chrome console and flutter console.
Logs
flutter run -d chrome:
Launching lib\main.dart on Chrome in debug mode...
Syncing files to device Chrome...
16,903ms (!)

### flutter run -d chrome -v
[ +219 ms] executing: [E:\Softwares\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +147 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] ce55e42f2b6d1f174a4e6326bb19d4af971301be
[   +1 ms] executing: [E:\Softwares\flutter/] git tag --contains HEAD
[ +312 ms] Exit code 0 from: git tag --contains HEAD
[   +3 ms] executing: [E:\Softwares\flutter/] git describe --match *.*.*-*.*.pre --first-parent --long --tags
[  +98 ms] Exit code 0 from: git describe --match *.*.*-*.*.pre --first-parent --long --tags
[   +1 ms] 1.20.0-7.0.pre-80-gce55e42f2
[  +13 ms] executing: [E:\Softwares\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +115 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] origin/master
[   +1 ms] executing: [E:\Softwares\flutter/] git ls-remote --get-url origin
[  +81 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] https://github.com/flutter/flutter.git
[ +490 ms] executing: [E:\Softwares\flutter/] git rev-parse --abbrev-ref HEAD
[  +84 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] master
[ +118 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +7 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[  +27 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[  +31 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +48 ms] executing: E:\Softwares\sdk\platform-tools\adb.exe devices -l
[ +149 ms] List of devices attached
[  +11 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +9 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[  +22 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[+2018 ms] Generating E:\Personal_Project\attempt\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +208 ms] Launching lib\main.dart on Chrome in debug mode...
[ +222 ms] Updating assets
[+4835 ms] Syncing files to device Chrome...
[ +152 ms] Generating E:\Personal_Project\attempt\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +99 ms] <- reset
[  +12 ms] E:\Softwares\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
E:\Softwares\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root E:\Softwares\flutter\bin\cache\flutter_web_sdk/
--incremental --target=dartdevc --debugger-module-names --experimental-emit-debug-metadata -Ddart.developer.causal_async_stacks=true --output-dill
C:\Users\Arjun\AppData\Local\Temp\flutter_tools.291f60d8\flutter_tool.8885aaa0\app.dill --libraries-spec
file:///E:/Softwares/flutter/bin/cache/flutter_web_sdk/libraries.json --packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions
--enable-asserts --track-widget-creation --filesystem-root C:\Users\Arjun\AppData\Local\Temp\flutter_tools.291f60d8\flutter_tools.945f70a3
--filesystem-scheme org-dartlang-app --initialize-from-dill build\cache.dill.track.dill --platform
file:///E:/Softwares/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill
[  +58 ms] <- compile org-dartlang-app:/web_entrypoint.dart
[+31558 ms] Syncing files to device Chrome... (completed in 31,867ms, longer than expected)
[   +1 ms] Synced 23.7MB.
[   +1 ms] <- accept
[   +1 ms] Caching compiled dill
[+4734 ms] [CHROME]:
[   +2 ms] [CHROME]:DevTools listening on ws://<IP_ADDRESS>:57598/devtools/browser/5f326541-6e8b-445d-91e2-31c872b346f2

flutter doctor -v
[√] Flutter (Channel master, 1.20.0-8.0.pre.80, on Microsoft Windows [Version 10.0.18362.900], locale en-IN)
    • Flutter version 1.20.0-8.0.pre.80 at E:\Softwares\flutter
    • Framework revision ce55e42f2b (5 hours ago), 2020-07-14 07:40:29 -0400
    • Engine revision 1e23309a38
    • Dart version 2.9.0 (build 2.9.0-21.0.dev f997d62a6d)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at E:\Softwares\sdk
    • Platform android-30, build-tools 30.0.1
    • ANDROID_HOME = E:\Softwares\sdk
    • Java binary at: E:\Softwares\Android\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.0)
    • Android Studio at E:\Softwares\Android
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] Connected device (3 available)
    • Web Server (web)  • web-server • web-javascript • Flutter Tools
    • Chrome (web)      • chrome     • web-javascript • Google Chrome 83.0.4103.116
    • Edge (web)        • edge       • web-javascript • Microsoft Edge 83.0.478.61

Please see the issue and reply ASAP.....

Hi @Arjun3010
Can you execute flutter run -d Chome  and then blank window launches, go to top menu -> more tools -> Developer Tools or Control +  Shift + I  and take screenshot of console tab. It might have some error
Thank you

Check it out

Used the master branch and also tried in other branches...

I'm unable to reproduce this on https://github.com/flutter/flutter/commit/5e1635b186fad4df125b272ecca3bff7e59b3018. I created a brand new app using flutter create and ran it using flutter run -d chrome -v.
Is there anything else you can tell us about your local setup?

I'm using Windows 10 and I've got this.
Trying to switch to channel beta and dev but no luck.
With the MacOS, everything is just fine.

In my local setup, android sdk and flutter is in E: drive.

I am facing same issue, initially was working on beta channel had this issue, tried almost everything nothing worked finally had to reinstall everything .Then started with master channel, it was working fine till now but now facing same issue here as well.
Please help me out.

Sounds like a Windows-specific issue. We'll investigate.

In the meantime, can you please try the following workarounds:

Use profile or release mode: flutter run --profile ... or flutter run --release ....
Add the --dart-define=FLUTTER_WEB_USE_SKIA=true option.

Works in profile mode, but why ?

This command '--dart-define=FLUTTER_WEB_USE_SKIA=true' didn't change anything??

Tried on lastest master with and without latest engine on Windows 18362.900, both examples and flutter gallery worked fine.
@Arjun3010 , if you run using flutter run -d chrome --profile , then open developer tools do you see any warning/error other than maybe favicon load ?

I have no problems in profile mode. But, I want to work in debug mode.

@Arjun3010 , ok so it looks like it is DDC/debug specific. What do you see on your network tab in debug?
/cc @grouma : any recent dwds or related changes that may have affected windows ?

No recent changes. We've had similar reports in the past that were caused by anti-virus software: https://github.com/dart-lang/sse/issues/16#issuecomment-616599511

Thanks @grouma for link to see issue. Is there any way we can provide any diagnostics, warning message etc for users so they have a way to solve this? At least detecting the failure and pointing them to a doc would be very useful.

Not that I'm aware of. I don't have an environment to play around in either unfortunately.

Networks tab @ferhatb

In debug mode

Yes this looks very familiar to other reports. The $dwdsSseHandler request is silently stalled out. In the past this was due to antivirus software. Do you have Kaspersky installed?

Yes, but disabled it while running

Ten, what to do???

What to do ?

See if this helps: https://github.com/flutter/flutter/issues/53338#issuecomment-621348161

Didn't work

I am master channel.

It only worked for me by disabling Kaspersky

I can confirm that Kaspersky causes this issue for me on Windows 10.

It only worked after I added the URL localhost in Configuration -> Protection -> Web -> Advanced -> Trusted URLs

Dropped priority. But keeping it open, some diagnosis with tool to pointing user in right direction would be best, other option is to document this in FAQ or tool docs.

It seems to be Antivirus issue. In my computer I have F-secure and last option ("Advanced network") must be turned off to work
In My Windows 10 with flutter channel beta I'm not able to run

flutter run -d edge -v
flutter run -d chrome -v
but if I run
flutter run web -v  and I use url provided with chrome and edge , its working

Application is just basic counter app.  I tried to turn off f-secure and windows firewall
When I turned of Advanced network protection )
Sorry finnish page, but maybe someone using F-secure finds it helpful.

I had the same problem with my virus scanner (thanks @eino-makitalo) and the hello world app is working properly. But after fixing this issue I can see this in the verbose log:
[   +3 ms] MetadataProvider: Failed to read metadata: AbsoluteImportUriError:
'file:///C:/Users/bdeva/AndroidStudioProjects/gui/lib/screen/cadbasedproduction/CadBasedProduction.dart'
ERROR - 2020-11-15 21:56:05.140857
GET /main_module.bootstrap.js
Error thrown by handler.
AbsoluteImportUriError: 'file:///C:/Users/bdeva/AndroidStudioProjects/gui/lib/screen/cadbasedproduction/CadBasedProduction.dart'
I'm on the dev channel.
The web page is still blank.

I had the same issue with Kaspersky and I solved it by adding localhost as attendible address in Kaspersky settings.

[ +3 ms] MetadataProvider: Failed to read metadata: AbsoluteImportUriError:
'file:///C:/Users/bdeva/AndroidStudioProjects/gui/lib/screen/cadbasedproduction/CadBasedProduction.dart'
ERROR - 2020-11-15 21:56:05.140857
GET /main_module.bootstrap.js
Error thrown by handler.
AbsoluteImportUriError: 'file:///C:/Users/bdeva/AndroidStudioProjects/gui/lib/screen/cadbasedproduction/CadBasedProduction.dart'

You can't have absolute file imports. Change it to be relative and things should work.

You can't have absolute file imports. Change it to be relative and things should work.

It should have been obvious from the log message, sorry. Thanks.

i also have same issue. it is working on debug mode but it is empty in release mode.

I don't have Kaspersky, but Windows Defender. So, I fixed it by allowing all port through the Windows Defender Firewall

Go to search> type "windows firewall" > Select "Windows Defender Firewall with Advanced Security"
on the top left select "Outbound rules"
on the top right select New Rule
on the pop up window select port>  click next
select all remote ports>  click next
select "Allow the connection"> Click next twice
provide a rule name (i. e: port rule)
Hit finish
Try running this time and wait for a while

I don't have Kaspersky, but Windows Defender. So, I fixed it by allowing all port through the Windows Defender Firewall

Go to search> type "windows firewall" > Select "Windows Defender Firewall with Advanced Security"
on the top left select "Outbound rules"
on the top right select New Rule
on the pop up window select port>  click next
select all remote ports>  click next
select "Allow the connection"> Click next twice
provide a rule name (i. e: port rule)
Hit finish
Try running this time and wait for a while

In my case, I removed <base href="/">  and it works.

In my case, I removed <base href="/">  and it works.

Are folks still seeing this issue with Kaspersky? I have an environment with Kaspersky enabled and I'm having difficulty reproducing the issue. For anybody that can reproduce the issue, can you share your Kaspersky settings?

Are folks still seeing this issue with Kaspersky? I have an environment with Kaspersky enabled and I'm having difficulty reproducing the issue. For anybody that can reproduce the issue, can you share your Kaspersky settings?

I had the same issue on MacBook.
After adding localhost to the permitted list of my antivirus this problem gone. I've also allowed just one specific port required by Flutter's debug mode for web.
May be this extra step should be included in docs?

I had the same issue on MacBook.
After adding localhost to the permitted list of my antivirus this problem gone. I've also allowed just one specific port required by Flutter's debug mode for web.
May be this extra step should be included in docs?

@lumenier1 what antivirus software are you using?

@lumenier1 what antivirus software are you using?

@grouma Eset Nod 32.
I've also noticed that debugger takes random port every time. What is the need for this? Can I specify just one port for web debugging manually?

@grouma Eset Nod 32.
I've also noticed that debugger takes random port every time. What is the need for this? Can I specify just one port for web debugging manually?

Has the problem been solved? I also encountered the same problem. After trying to re-download the SDK and IDE, the problem still exists.
I used "flutter run -d chrome --web-renderer html" and it worked perfectly.
but, "--web-renderer canvaskit" is a blank screen.
The default value is canvaskit? Guess it may be a bug in canvas.
More information "https://flutter.dev/docs/development/tools/web-renderers"

/cc @yjbanov

blank screen when using default canvaskit mode on Deepin linux 20.1,
it's ok with html mode

I've also noticed that debugger takes random port every time. What is the need for this?

We simply bind to an open port, that's why it's random.

Can I manually specify just one port for web debugging?

Flutter Tools currently does not have an option for this. I suggest opening a different tracking issue for this request.

This problem also occurs in the Manjaro system.
 flutter run -d chrome --web-renderer html is invalid,
flutter run -d chrome --profile works.

In my case, I removed <base href="/"> and it works.

This resolve the issue for me, i'm deploying flutter website in ipfs.

Went opposite for me its working in debug mode !! but as I build the flutter web with "flutter build web".
On opening the index.html file its almost blank.
Looking forward for solving this issue asap.
Need to live a webpage. 💯

Went opposite for me its working in debug mode !! but as I build the flutter web with "flutter build web".
On opening the index.html file its almost blank.
Looking forward for solving this issue asap.
Need to live a webpage. 💯

Same is happening with me

In my case, I removed <base href="/"> and it works.

From which file do you remove this?

From which file do you remove this?

Your index.html.

Went opposite for me its working in debug mode !! but as I build the flutter web with "flutter build web".
On opening the index.html file its almost blank.
Looking forward for solving this issue asap.
Need to live a webpage. 💯

Same issue. Anyone found a solution?
flutter run works fine but deploying on firebase hosting is just a blank screen

I have tried to delete  from index.html which I have served on node js server. when I run the server and try to open the URL for getting flutter web app on chrome, it still shows blank screen.
Flutter debug run doesn't show blank screen and runs perfectly

Same problem here after saved my project on Kali Linux it shows the processing when Chrome opens but the output is a blank page. Main channel. Flutter 2.11

Same problem here after saved my project on Kali Linux it shows the processing when Chrome opens but the output is a blank page. Main channel. Flutter 2.11

This is how I fixed
flutter clean
flutter pub get

I tried removing <base href="/">, but it didn't work. I noticed that I was opening the <project>/web directory. When I instead switched to <project>/build/web and removed <base href="/"> in that index.html, it showed the app.

still blank, big why ? any solution ?

I had the same issue when running in debug mode. when I run the web app using flutter run -d chrome --profile it worked.

I was having this issue but solved it but deleting the .dart-tool folder. It seems there was some cached code using a absolute uri.

Removing only the following sub-folder works for me:
.dart_tool/chrome-device/Default/Code Cache
This lets you keep any cached browser data like cookies and localstorage.
This issue only started happening to me today. The only thing that I can think of that's changed is I've updated my Chrome to Version 94.0.4606.61 (Official Build) (64-bit). I'm on Flutter 2.2.1.

Nothing of the above solution resolves the issue for me.
Same as @elasticsearcher, the issue started to appear after auto-updating to this specific chrome version. Manually downgrading the chrome version resolved it for me, but only until I re-open chrome, as it auto-updates to the most recent version -.-

Ok, I just set "Disable cache" in chrome dev tools network tab to enabled and it started working again

I get the exact same blank page running on a mobile devices (it works in release, profile and debug on my Macbook though). This only happens when using canvasKit as the renderer. Switching to html works...
This is what I run the app with :
flutter run -d web-server --web-port 8080 --web-hostname <IP_ADDRESS> --web-renderer canvaskit --release
Then on mobile I navigate to :
http://:8080
Tried on an iPhone X, iPad Air 4 and a low-end Android phone. Same problem for all of them even with just a simple Scaffold(body: Text("Hello World"));

@Teio07
How do you disable WebGL 2.0 ?
thanks

Has the problem been solved? I also encountered the same problem. After trying to re-download the SDK and IDE, the problem still exists. I used "flutter run -d chrome --web-renderer html" and it worked perfectly. but, "--web-renderer canvaskit" is a blank screen. The default value is canvaskit? Guess it may be a bug in canvas.
More information "https://flutter.dev/docs/development/tools/web-renderers"

FOUND AN  OPTION THAT WORKED FOR ME
I ran everything under Windows 10 with Kaspersky
Flutter SDK, updated on Jan 7, 2022, with STABLE version.
For brevity, let:
K = kaspersky running;   KD = Kaspersky disabled
opt0 = -d chrome
opt1 =  --dart-define=FLUTTER_WEB_USE_SKIA=true
opt2 = --web-renderer html
opt3 = --web-renderer canvaskit
W = web app runs correctly;
F = web app fails, blank chrome window
COMMANDS:                                           CONDITIONS               RESULTS
flutter run  opt0                                       K                                   F
flutter run  opt0                                       KD                                 F
flutter run  opt0   opt1                             KD                                F
flutter run  opt0   opt3                             KD                                F
flutter run  opt0   opt1  opt3                    K                                  F
flutter run  opt0   opt2                             KD                                W     <== WORKS
flutter run  opt0   opt1 opt2                    KD                                W     <== WORKS
flutter run  opt0   opt2                             K                                  W     <== WORKS
flutter run  opt0   opt1 opt2                     K                                  W     <== WORKS
Tentative conclusion:
On my system,  with Kaspersky running or disabled, the only option that was both necessary & sufficient by itself
to run the web app correctly was opt2  (--web-renderer html)

I got white (empty/blank) screen on my M1-Air, when I move the browser window to the secondary (external) monitor. As I move it back, I can see the content. I am not sure this behavior is related to chrome, or flutter rendering engine.

I got white (empty/blank) screen on my M1-Air, when I move the browser window to the secondary (external) monitor. As I move it back, I can see the content. I am not sure this behavior is related to chrome, or flutter rendering engine.

Yep, same issue on an M1 MBP using chrome.

I have the same with Linux Pop OS 20.04
flutter doctor -v
[✓] Flutter (Channel stable, 2.10.5, on Pop!_OS 20.04 LTS 5.16.19-76051619-generic, locale en_US.UTF-8)
• Flutter version 2.10.5 at /home/mmaia/snap/flutter/common/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 5464c5bac7 (13 days ago), 2022-04-18 09:55:37 -0700
• Engine revision 57d3bac3dd
• Dart version 2.16.2
• DevTools version 2.9.2
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /home/mmaia/Android/Sdk
• Platform android-31, build-tools 31.0.0
• Java binary at: /usr/lib/jvm/zulu11/bin/java
• Java version OpenJDK Runtime Environment Zulu11.56+19-CA (build 11.0.15+10-LTS)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at google-chrome
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
[✓] IntelliJ IDEA Ultimate Edition (version 2022.1)
• IntelliJ at /home/mmaia/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/221.5080.210
• Flutter plugin version 66.0.4
• Dart plugin version 221.5588
[✓] VS Code (version 1.66.2)
• VS Code at /usr/share/code
• Flutter extension version 3.38.1
[✓] Connected device (1 available)
• Chrome (web) • chrome • web-javascript • Google Chrome 101.0.4951.41
[✓] HTTP Host Availability
• All required HTTP hosts are available
! Doctor found issues in 1 category.

Has the problem been solved? I also encountered the same problem. After trying to re-download the SDK and IDE, the problem still exists. I used "flutter run -d chrome --web-renderer html" and it worked perfectly. but, "--web-renderer canvaskit" is a blank screen. The default value is canvaskit? Guess it may be a bug in canvas.
More information "https://flutter.dev/docs/development/tools/web-renderers"

this worked for me

For me I have to turn off ADGUARD (a chrome extension) to solve it.

I also experience the problem when hosting on firebase using Github Actions.
Running locally works and deploying to firebase from local laptop works but when deploying from Github Actions. It shows the blank page. This is weird as I confirm that the command to flutter build are exactly the same.
I tried different options and also all suggestions here but it still doesn't work.

I figured out. For my case, I need to stop using stable channel and use beta version to make this work.

Had the same issue on ubuntu 20.10 running flutter 3.3.5  issue solved by connecting my pc to the internet. I was previously running with airplane mode on.

NOTHING WORKSSSSSS for me :')

Experiencing the same issue on my windows 10 machine. Tried to change the web-renderer to html and and removing the .dart_tool dir. Blank page in all cases.

I tried the other approaches as well. In the end the solution was to reload the page after the event app.started was logged in the debug console. Since the issue only occurs in the debug mode it is ok for now. However the problem was present in all branches and should be patched out.

Having this issue on Mac as well. Flutter doc says:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.5, on macOS 13.3 22E252 darwin-x64, locale de-DE)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.3)
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!

Hey, I had this problem for the longest time. When you start a Flutter web app you're connected to the internet on your PC.
Hope it helps, helped me ;)

I have the same problem.

For those of you experiencing this issue please share your firebase.json. Mine looks like this:
{
  "hosting": {
    "public": "web",
    "ignore": [
      "firebase.json",
      "**/.*",
      "**/node_modules/**"
    ],
    "rewrites": [
      {
        "source": "**",
        "destination": "/index.html"
      }
    ]
  }
}

I noticed that this happens if you answer 'y' to this question asked during 'firebase init hosting', which removes the "rewrites" field:
> Configure as a single-page app (rewrite all urls to /index.html)?

Finally, I figured out I needed to point out the hostname and port to make the flutter web run locally.
flutter run -d chrome --web-port=8080 --web-hostname=<IP_ADDRESS>


Create milestone 4 release and submit to Canvas

You must include the URL of your public project's repository in your milestone 4 submission on Canvas, so we know where to find it.
Just before you submit the milestone 4, create a release on your project repository on GitHub and name it 0.3.0. Include the URL to this release in your milestone 4 submission on Canvas, so we can easily jump to the state of your repository at the time of submission for grading purposes, while you continue to work on your project for the next milestone.

Done

Done


How to integrate apollo configuration

I am using ctrip apollo in my project, Is there any API can be use to integate apollo configuration?

duplicate with #2530


[Feature] Table column type

A table column type would DEFINITELY not be useful in the list view. But it would be very useful for Preview. Here's the one I use:

	@if ($entry->{$column['name']} && count($column['columns']))

				@foreach($column['columns'] as $tableColumnKey => $tableColumnLabel)
				{{ $tableColumnLabel }}
				@endforeach

			@foreach ($entry->{$column['name']} as $tableRow)

				@foreach($column['columns'] as $tableColumnKey => $tableColumnLabel)

						{{ $tableRow->{$tableColumnKey} }}

				@endforeach

			@endforeach

	@endif

This assumes:

your attribute is cast as object

Column definition is very similar to the table field type:
$this->crud->addColumn([
            'name' => 'fields',
            'label' => 'Terenuri',
            'type' => 'table',
            'columns' => [
                'suprafata' => 'Suprafata',
                'tarla' => 'Tarla',
                'parcela' => 'Parcela',
                'bloc_fizic' => 'Bloc fizic'
            ]
        ]);

@tabacitu what do you mean by "preview"?
could you please add a quick screenshot what this is looking like?

Well there's a hidden preview operation in Backpack. It works, but it's hidden because not all columns are supported yet, and it uses setFromDb(), which we said we'd deprecate. So the current implementation will probably change. Hence - hidden.
You can enable the preview operation with $this->crud->allowAccess('show');. A preview button will then show up in your CRUD table, on each line.
Sure, here's how the column would look like - a table inside a table (see "Terenuri"). Not super-pretty. But best we can do, I think:

Ah ok, sorry. Yes I know about 'show'. I was a bit confused about 'preview'. Thank you for the screenshot!


Question: Dimensions of input data

I am a bit confused by the first layer of the CNN. As far as I unterstand, the first layer (SpatialConvolution) takes in 4 planes of 2D image data (RDI), runs a 2D convolution on all the 4 layers and outputs something with 32 planes.
Two questions one this:
Why is the output so deep? (I know this question is really general and probably basic)
Why are the input images only 2D? After all, they themselves are RGB, right? So they should be 3D too. Or is everything converted to B/W during the generation of the meanfile?
Thanks in advance!

I just noticed that in the paper, the resolution of the RDIs is said to be 224x224 pixels. However, in the code provided here it is 32x32. Is there any specific reason for this difference?

Why is the output so deep?
This helps to extract different features of the original input.

Why are the input images only 2D?
The Range-Doppler Images are 2D only. It's not taken from RGB camera.

224 * 224 or 32 * 32
The resolution of RDIs is 32 * 32. The 224 * 224 interpolated input is used for performance comparison with VGG nets.

Thank you for your answers!


add doc for TraceCrossThread

New feature or improvement

add doc for TraceCrossThread

Coverage remained the same at 19.763% when pulling de447be7885119df148e0c8abb187fb0d5e4d5d8 on carlvine500:jdk-cross-thread-plugin-doc into 564239f1a2372c49306743524acbc41cf0271dbf on apache:master.


Failed to load Form Builder

Dear gurus,
I am following doc below
https://github.com/formio/angular/wiki/Form-Builder
And here is my project https://stackblitz.com/edit/angular-formio-jmwhcc?file=src/app/app.component.ts
It's able to render forms, but not the builder
here the error
Error: Template parse errors:
Can't bind to 'form' since it isn't a known property of 'form-builder'.
1. If 'form-builder' is an Angular component and it has 'form' input, then verify that it is part of this module.
2. If 'form-builder' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message.
3. To allow any property add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component. ("

<form-builder [ERROR ->][form]="form" (change)="onChange($event)"></form-builder>

<pre id"): ng:///AppModule/FormioBuilderComponent.html@5:16
'form-builder' is not a known element:
1. If 'form-builder' is an Angular component, then verify that it is part of this module.
2. If 'form-builder' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message. ("

[ERROR ->]<form-builder [form]="form" (change)="onChange($event)"></form-builder>
<div class="well jsonviewer"): ng:///AppModule/FormioBuilderComponent.html@5:2

What fixed it for me was importing both angular modules.
import { MatFormioModule } from '@formio/angular-material';
import { FormioModule } from '@formio/angular';

@NgModule({
  imports: [
    FormioModule,
    MatFormioModule,
    ...

Then the form-builder was recognised.

Closing this thread as it is outdated. Please re-open if it is still relevant. Thank you for your contribution!


DefaultCPUAllocator: not enough memory: you tried to allocate 223045988 bytes.

Hello,
when I trained to 600 iterations, prompted this error, I want to ask what is the reason.The training parameters are based on the configuration file. I only changed nb _ memory _ sample to 40, and the rest did not change.
Looking forward to your answer.

Hi, @fhf526
The error message points out that you are running out of RAM.

嗨，@fhf526
错误消息指出您的 RAM 不足。

I found that when using the evaluation function, there is no reset, which will cause the memory to increase. I added a reset in the next few lines to solve the problem.
In the train.py file under the evaluate function:
auroc_image_metric.reset()     auroc_pixel_metric.reset()     aupro_pixel_metric.reset()

Thank you for sharing the solution.
I update evaluate function https://github.com/TooTouch/MemSeg/commit/243046c412643f8580661fe98a21c51a6cb1930d.


Create simple test for the bucket model

We test if the bucket model runs to completion, but not if the output is reasonable.
Let's add a test for that.

Would be good. If the bucket is not coupled we expect nothing to happen, so a constant storage.
https://github.com/Deltares/Ribasim/blob/main/python/ribasim_testmodels/ribasim_testmodels/bucket.py
https://github.com/Deltares/Ribasim/blob/26bcac0ddfc290707ece717b5ecbee39927047b4/core/test/run_models.jl#L15-L21


Create swarm-api.md

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Thanks, @scjane 👍


Merge Dev ke UAT 3 Maret 2017

Coverage decreased (-0.7%) to 58.831% when pulling cef27c872eb974a23e8995bf83e66d4db37ab9eb on dev into 4b19301d36b1194550f9d341db910c0c842db247 on uat.


fix(lifecycle): fix lifecycle methods default value

The default value was applied only for sync implementations. Promise.resolve() will also handle PromiseLike results.

LGTM is there any corresponding issue or is this just clean-up?  Merging either way ;)

@PWKad No, there wasn't.


Allow optional usage of the docker buildkit

Hi there,
I'm no Go developer, but I had a go anyway!
I need buildkit for an image I'm building. I'm hoping that this PR is safe to test as it only adds the version if the use-builtkit variable is set to true.
I haven't tested, as I'm not too sure how, but I've looked around for examples.

May solve #98

Closing, as contribution was on main branch


Count file diff by token, not by length of string

Some of the non english character, one character is larger then 1 token count. For example "居", it contains 3 tokens.  We can check the Tokenizer from openai.
For example, I have two files, both have 1000 chinese characters. Let say each has 2800 token, If just count from length, that only has 2000 characters, but it already have over 5500 token.
That will lead some of messages over 4096 token size, if just count the length of string. The openai will return "Error: Request failed with status code 400",
I have implemented by import tiktoken to replace the counting token method to correct this situations

@mathsgod bro, when tiktoken is bundled with esbuild — it fails the oc hook set for some reason, i've commented it out


Added custom download logic for attachments

Fixes #894

Description

Removed: file-saver library
Added: custom logic to download attachments

Checklist
- [ ] I have made corresponding changes to the documentation.
- [ ] I have updated the types definition of modified exports.

[x] I have verified the functionality in some of the neeto web-apps.
[x] I have added the necessary label (patch/minor/major - If package publish
is required).

Reviewers
@AbhayVAshokan _a

@AbhayVAshokan _a Please review.


Feature to report external impacts

This enhancement enables the build framework to query for a subset of changed files (see reportExternalImpactsAnalysisFileFilter) a set of external collections (see reportExternalImpactsCollectionPatterns)  with a given granularity and depth (see reportExternalImpactsAnalysisDepths) to generate reports to document cross application impacts.
In this sample, the MortgageApplication was split into two applications App-EPSC and App-EPSM.
App-EPSM provides a shared copybook epsmtcom.cpy, which is leveraged by App-EPSC. This enhancement will report this dependency, but will not force App-EPSC to rebuild the program which includes the shared copybook.
The build of App-EPSM contains this reporting (with --verbose):
** Analyse and report external impacted files.
*** Identified external impacted files for changed file App-EPSM/copybooks-public/epsmtcom.cpy
*** Writing report of external impacts to file /var/jenkins/workspace/App-EPSM-S4/outputs/build.20210722.032455.024/externalImpacts_App-EPSC-master.txt

The report (here externalImpacts_App-EPSC-master.txt) is written to workdir and will contain three columns (logicalFile, filePath and collectionName) with the external impacted files:
EPSCMORT 	 App-EPSC/cobol/epscmort.cbl 	 App-EPSC-master

Important considerations

Use the pattern configuration to limit the query to those collections which are relevant
Running in deep impact analysis mode is an expensive calculation and does recursively identifies impacted files. Please check if this is necessary for you.
In many cases it should be sufficient to run with the simple mode, which performs much faster, because it does not resolve recursively.

@jbyibm Can you please have a second look at the PR?


Some offline improvements

Added isConnected method to ServiceHandler API. Also updated bindings to implement it.
Also made sure the Venus binding checks connection state before trying to sendmessage.
Good to merge

Cancel, forgot something.


Error: prometheus.Observer does not implement prometheus.Histogram (missing Collect method) #57

Requirement - what kind of business use case are you trying to solve?
Error
app_1              | $ go run ./src/cmd/app/app.go
app_1              | # github.com/eldad87/go-boilerplate/vendor/github.com/uber/jaeger-lib/metrics/prometheus
app_1              | vendor/github.com/uber/jaeger-lib/metrics/prometheus/factory.go:143:3: cannot use hv.WithLabelValues(f.tagsAsLabelValues(labelNames, tags)...) (type prometheus.Observer) as type prometheus.Histogram in field value:
app_1              | 	prometheus.Observer does not implement prometheus.Histogram (missing Collect method)

How to reproduce:
git clone https://github.com/eldad87/go-boilerplate
docker-compose up --build

You'll see the error. Its a result of the following likes:

https://github.com/eldad87/go-boilerplate/blob/master/src/cmd/app/app.go#L96
https://github.com/eldad87/go-boilerplate/blob/master/src/cmd/app/app.go#L97

Any open questions to address
Is there a workaround?
Thanks!

@eldad87, i have the same issue, as you closed this issue, care to say what solved it?
I suspect there the jaeger libs not to be compatible with recent a version of github.com/prometheus/client_golang/prometheus (v0.9.1)