Use anywidget-based IPC for zarr gets which do not require serving data on localhost

This change enables using the Vitessce widget in HPC situations, on Google Colab, in VSCode, and in HuBMAP Workspaces with data that is local to the Python kernel. Uses the new API from https://github.com/manzt/anywidget/pull/453
In these environments it can be difficult / impossible to proxy the requests from the browser in which the notebook is running down to the server on which the python kernel is running. Jupyter-server-proxy can only get us so far. Similarly, this may also fix #255 because this is another environment that presents challenges (e.g., it is not a web browser so we cannot rely on the structure of the notebook URL to help us construct the data URLs).
TODO:

[ ] Document this on https://vitessce.github.io/vitessce-python/data_options.html
[ ] Register store in all Zarr-based Wrapper classes once decide how store will be passed/instantiated

One question is how to expose this in the API. Maybe we require the user to pass the store? Like
dataset = vc.add_dataset(name='Brain').add_object(AnnDataWrapper(
-       adata_path=zarr_filepath,
+       adata_store=zarr.DirectoryStore(zarr_filepath),
        obs_embedding_paths=["obsm/X_tsne"],
        obs_embedding_names=["UMAP"],
        obs_set_paths=["obs/CellType"],
        obs_set_names=["Cell Type"],
        obs_feature_matrix_path="X",
        initial_feature_filter_path="var/top_highly_variable"
    )
)

This would allow more than just DirectoryStores but would require more work from the user.
Or maybe we keep adata_path and add something like as_store (should it be True by default?). This would not allow any other store types but maybe that is ok?
dataset = vc.add_dataset(name='Brain').add_object(AnnDataWrapper(
        adata_path=zarr_filepath,
+       as_store=False,
        obs_embedding_paths=["obsm/X_tsne"],
        obs_embedding_names=["UMAP"],
        obs_set_paths=["obs/CellType"],
        obs_set_names=["Cell Type"],
        obs_feature_matrix_path="X",
        initial_feature_filter_path="var/top_highly_variable"
    )
)

cc @manzt

Maybe default to something like zarr.storage.FSStore, which is based on fsspec and automatically infers stores?


Update MIGRATION.md

npm uninstall eslint-plugin-security should be removed too

Never seen this plugin, I don't think it is very common. Before we add every edgy package, maybe we should leave a sentence to explain to uninstall all eslint plugins which are not afterwards added again to the new config. I mean someone could use this plugin again with the config if he wants to? It also works with flat config .. https://www.npmjs.com/package/eslint-plugin-security

OK, I agree that there could be some additional rule files.
I do not know where / when eslint-plugin-securita was invented but it was part of a discussion at Telegram and I no stubled at it when migrating srm adapter to community.
So I added an extra paragraph. Please read and feel free to adapt. I would like to guide those users who do not know what this plgin is good for to remiove it while ist comüpletly ok to leave / add ist for those who want to use these checks.

Thanks


Show sample filter cases on a map

This also enables fabric crashlytics for debug
Crashlytics is enabled for debug because we mainly provide the debug APK this being a sample application and not necessarily one to put on the store.
All the code is also open source
Fixes #289

Pull Request Test Coverage Report for Build 1345

1 of 28 (3.57%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+8.3%) to 36.934%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sample/src/main/java/io/ona/kujaku/sample/activities/CaseRelationshipActivity.java
0
27
0.0%

Files with Coverage Reduction
New Missed Lines
%

sample/src/main/java/io/ona/kujaku/sample/activities/CaseRelationshipActivity.java
1
0.0%

Totals

Change from base Build 1343:
8.3%

Covered Lines:
2161

Relevant Lines:
5851

💛  - Coveralls


cmake: Align config options with upstream

This commit updates cmake configuration with the latest upstream definitions.
It re-orders the definitions and adds missing symbols.
New symbols:

CONFIG_OPENTHREAD_COAP_OBSERVE
CONFIG_OPENTHREAD_CSL_RECEIVER
CONFIG_OPENTHREAD_MLE_LONG_ROUTES
CONFIG_OPENTHREAD_MLR

Note: Symbols with naming inconsistencies are kept unmodified for the shake of regressions:

CONFIG_OPENTHREAD_DIAG
CONFIG_OPENTHREAD_RAW
CONFIG_OPENTHREAD_ENABLE_SERVICE

Signed-off-by: Eduardo Montoya<EMAIL_ADDRESS>

Codecov Report

Merging #25 into zephyr will increase coverage by 0.46%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           zephyr      #25      +/-   ##
==========================================
+ Coverage   81.34%   81.81%   +0.46%
==========================================
  Files         352      352
  Lines       42505    42520      +15
==========================================
+ Hits        34575    34786     +211
+ Misses       7930     7734     -196

Impacted Files
Coverage Δ

src/core/mac/data_poll_handler.hpp
46.66% <0.00%> (-53.34%)
:arrow_down:

examples/apps/ncp/main.c
48.14% <0.00%> (-33.11%)
:arrow_down:

src/core/mac/mac_types.cpp
72.13% <0.00%> (-14.76%)
:arrow_down:

src/core/mac/data_poll_handler.cpp
69.29% <0.00%> (-11.41%)
:arrow_down:

src/core/mac/mac_frame.cpp
80.10% <0.00%> (-10.67%)
:arrow_down:

src/core/mac/mac_frame.hpp
91.81% <0.00%> (-6.25%)
:arrow_down:

src/core/thread/mesh_forwarder_ftd.cpp
81.81% <0.00%> (-4.16%)
:arrow_down:

src/core/mac/data_poll_sender.cpp
80.80% <0.00%> (-4.05%)
:arrow_down:

src/core/common/random_manager.cpp
94.91% <0.00%> (-3.39%)
:arrow_down:

src/core/mac/mac.cpp
86.17% <0.00%> (-1.60%)
:arrow_down:

... and 37 more

Updated PR since it presented inconsistencies. Please review again. Subsequent Zephyr PR will follow to handle symbols renaming.

Thanks @rlubos, I updated the PR with your comments.


Parse decimal numbers in exponential form

Fix https://github.com/aspnet/EntityFramework/issues/6205
cc @divega

:shipit:


Default for "ADR Preallocation Factor" seems to be 0 instead of 4

[Enter feedback here]
The article states that the default for "ADR Preallocation Factor" is 4. Throughout all my SQL 2019 installations this configuration is set to 0 and has not been changed by me. Has the default been changed or is this a documentation error?

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

ID: 8f0e86a7-309a-65ac-35a1-60af5d705e03
Version Independent ID: 5d632653-e6c0-efa1-a5d4-31193018f340
Content: ADR Preallocation Factor configuration option - SQL Server
Content Source: docs/database-engine/configure-windows/adr-preallocation-factor-server-configuration-option.md
Product: sql
Technology: configuration
GitHub Login: @MikeRayMSFT
Microsoft Alias: mikeray

@MelK-HH Thanks for finding this. We'll check what's going on.

@MelK-HH It turns out that there was a known issue depending on the CU you had installed, and we updated the article in the time since this was written.
This should give you some more information about the issue.

@rwestMSFT: Thank you for the clarification.


Defaulting to current namespace instead of kubeflow namespace and other minor changes

What this PR does / why we need it:
Summary:

Fixes the default namespace in args from "kubeflow" to current namespace in multiple places.
Correctly passes the build context in GKEBackend
Made changes to the XGBoost example to make use of new defaults in the API
Fixes #253

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #253
Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Release note:

This change is

/lgtm
/approve
Thanks for the quick fix

/approve


[Suggestion] Add omega ratio.

I was surprised the omega ratio isn't available.
It's easy to implement. I'm not that familiar with your code structure so you are probably faster adding it.
See here for a working implementation:
https://github.com/jesse-ai/crypto-empyrical/blob/master/crypto_empyrical/stats.py#L599
Thank you for this great library.

Done :)

Wow you are fast! Nice and thank you.


Enhancementcatalog tvf implements user permission checks and hides sensitive information

before #21790
Proposed changes
This PR unifies the duplicate parts of catalog tvf and show catalogs, adds permission check when querying catalog tvf, and hides sensitive information.
Issue Number: close #xxx

run buildall


Correct code object invocation after semantic change in argcount for 3.8

In https://github.com/python/cpython/pull/13726 CPython has change the semantics of argcount to reflect all positional arguments (including positional-only). This is to make it easier to consumers to obtain the number of positional arguments if they do not care about positional-only arguments.
More information in:
https://mail.python.org/pipermail/python-dev/2019-June/157812.html
https://bugs.python.org/issue37122
CC: @scoder @serhiy-storchaka

Seems like the test failures are unrelated to this change. Is the test suite ok?

I only see related failures. Where did you see an unrelated one? (master is ok)
Current CPython seems broken, so I can't currently test this locally either.

In any case, the change looks correct. I'll merge it and fix the corresponding tests.

@scoder

I only see related failures. Where did you see an unrelated one? (master is ok)

My apologies, I was pretty confused why this PR is making Python2.7 fail, but I just realized Cython supports this now in Python2 compatible code, right?

Yes, we try to avoid making Cython features depend on CPython features wherever possible.

Thank you very much for the review and for fixing the tests :)

The error that I saw in CPython is actually related to the change. We were previously adding up the pos-only count with the positional arguments, which made the consistency check in CPython's code object creation fail. So, all fine on all sides now.


Hope to add new api to simplify Schedulers changing

As what you said in your blog Don't break the chain: use RxJava's compose() operator, we are tired of writing codes
// Subscribe On Schedulers.io(), Schedulers.newThread(), Schedulers.single()
//And then observe on AndroidSchedulers.mainThread()
Observable.just("one", "two", "three", "four", "five")
        .subscribeOn(Schedulers.newThread())
        .observeOn(AndroidSchedulers.mainThread())
        .subscribe(/* an Observer */);

Please just consider to add some api like
//SingleTransformer
//ObservableTransformer
//FlowableTransformer
//MaybeTransformer
//CompletableTransformer
//
public class ObservableTransformerUtil {

    public static <T> ObservableTransformer<T, T> io(@Nonnull final Observable lifecycle,
                                                     @Nonnull final ActivityEvent event) {
        return new ObservableTransformer<T, T>() {
            @Override
            public ObservableSource<T> apply(Observable<T> observable) {
                return observable
                        .subscribeOn(Schedulers.io())
                        .compose(RxLifecycle.bindUntilEvent(lifecycle, event))
                        .observeOn(AndroidSchedulers.mainThread());
            }
        };
    }

    public static <T> ObservableTransformer<T, T> computation(arg) {
    }

    public static <T> ObservableTransformer<T, T> trampoline(arg) {
    }

    public static <T> ObservableTransformer<T, T> newThread(arg) {
    }

    public static <T> ObservableTransformer<T, T> single(arg) {
    }

    public static <T> ObservableTransformer<T, T> from(arg) {
    }

    private ObservableTransformerUtil() {
    }
}

This library is focused singularly on the task of linking streams to lifecycles. It doesn't deal with Schedulers at all.
You can write your own Transformer that automatically adds the schedulers that you want.


Missed updation:  Migration to C++11

Hi there,
I was just using this very useful utility  PCSC-tutorial . While trying to compile for
pcsc-tutorial/example-utils/cmd-get-data.cpp (Migration to C++11 )  , I noticed that code has not changed and we have not removed  old references to xpcsc:: CLA and  INS
Line: 88 :  xpcsc::Byte cmd[] = {xpcsc::CLA_PICC, xpcsc::INS_PICC_GET_DATA, 0x0, 0x0, 0x0};
Thanks
Vipin

Thank you!
Fixed in 312e46ef1d1e0046bf6fded20719cbd1b03161ec


Error during npm install

Here's the error message:
npm WARN registry Unexpected warning for http://registry.npmjs.org/: Miscellaneous Warning ETIMEDOUT: request to http://registry.npmjs.org/@types%2fyargs failed, reason: read ETIMEDOUT
npm WARN registry Using stale data from http://registry.npmjs.org/ due to a request error during revalidation.
npm WARN<EMAIL_ADDRESS>No repository field.
npm ERR! code ETIMEDOUT
npm ERR! errno ETIMEDOUT
npm ERR! network request to http://registry.npmjs.org/@commitlint%2fto-lines failed, reason: read ETIMEDOUT
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'

Not really an application issue but some network problem. Fixed it by restarting the router.


OutlineEffect and Instanced Mesh

Does Outline Effect support instanced meshes?
When doing ...
outlineEffect.selection.add(mesh)
when mesh is a regular mesh it seems to work, but when I try adding an instancedMesh it gives this error:
app.js:26287 Uncaught TypeError: Cannot read properties of undefined (reading 'layers')
Will outlineeffect work with instanced meshes?

Hm, it should work. Are you sure you're not passing undefined to selection.add()?

@vanruesc smacks forehead Yup - wow. This will teach me to console.log better in the future :-P.


create private methods

some methods on the code could be private, like getStyle, toPx, isMobile and windowIsSmaller.
These should not be exposed to the user.

done


My own user appears as not verified

in the room member list.

Reset (or set up) cross-signing from another device (like RiotX)
Verify the existing iOS session
Check the member list of a room

-> My own user appears with a black shield and I am asked to verity them.

Cannot reproduced.
The issue is very similar to the one fixed by https://github.com/matrix-org/matrix-ios-sdk/pull/822.


[BUG] TypeScript Hello World example fails to build

Affected project(s)

[ ] documentation
[X] examples
[ ] wasmCloud host
[ ] wasmCloud CLI (wash)
[ ] wasmCloud dashboard UI (washboard)
[ ] capability providers
[ ] provider bindgen
[ ] control interface client
[ ] other / not sure

Describe the bug
The TypeScript Hello World example fails to build while following the doc, the wash build command fails with an error:
$ wash build

failed to build actor with custom command: "Error: The package \"@bytecodealliance/wizer-linux-x64\" could not be found, and is needed by @bytecodealliance/wizer.\nIf you are installing @bytecodealliance/wizer with npm, make sure that you don't specify the\n\"--no-optional\" flag. The \"optionalDependencies\" package.json feature is used\nby @bytecodealliance/wizer to install the correct binary executable for your current platform.\n    at file:///home/horacio/git/wasmcloud/hello/node_modules/@bytecodealliance/wizer/index.js:11:9\n"

Steps to reproduce

Create the projectwash new component hello --template-name hello-world-typescript

Execute npm install
Try to build with wash build

Expected behavior
The project building without problem
Environment

OS: Linux Fedora 39
Shell: bash
wasmcloud version: wash 0.27.0-alpha.1

Screenshots / Logs / Additional context
No response

I think the problem lies in the packages-lock.json, as in this file the package @bytecodealliance/wizer  doesn;'t bring all its dependances for the different OS, but only @bytecodealliance/wizer-darwin-arm64.
    "node_modules/@bytecodealliance/wizer": {
      "version": "3.0.1",
      "resolved"<EMAIL_ADDRESS>      "integrity": "sha512-f0NBiBHCNBkbFHTPRbA7aKf/t4KyNhi2KvSqw3QzCgi8wFF/uLZ0dhejj93rbiKO/iwWbmU7v9K3SVkW81mcjQ==",
      "dev": true,
      "bin": {
        "wizer": "wizer.js"
      },
      "engines": {
        "node": ">=16"
      },
      "optionalDependencies": {
        "@bytecodealliance/wizer-darwin-arm64": "3.0.1",
        "@bytecodealliance/wizer-darwin-x64": "3.0.1",
        "@bytecodealliance/wizer-linux-arm64": "3.0.1",
        "@bytecodealliance/wizer-linux-s390x": "3.0.1",
        "@bytecodealliance/wizer-linux-x64": "3.0.1",
        "@bytecodealliance/wizer-win32-x64": "3.0.1"
      }
    },
    "node_modules/@bytecodealliance/wizer-darwin-arm64": {
      "version": "3.0.1",
      "resolved"<EMAIL_ADDRESS>      "integrity": "sha512-/8KYSajyhO9koAE3qQhYfC6belZheJw9X3XqW7hrizTpj6n4z4OJFhhqwJmiYFUUsPtC7OxcXMFFPbTuSQPBcw==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "optional": true,
      "os": [
        "darwin"
      ],
      "bin": {
        "wizer-darwin-arm64": "wizer"
      }
    },

Removing package-lock.json and rebuilding solves the problem.


Translation of Bake Your Bread into Ukrainian

Could you add the Ukrainian translation created by me?
This is to bakeyourbread/lang
uk_ua.json

This is to minecraft/lang
uk_ua.json

@pnk2u ?

Pull requests: https://github.com/pnk2u/Bake-Your-Bread/pull/3, https://github.com/pnk2u/Bake-Your-Bread/pull/4

Translation has been added


Implemented  custom command tag.

Usage: roll:1d1+1a;[v]

optional v/verbose/list tag changes output from the roll result and to a list of rolled dice.

Test


StackDS stuck

Hi,
i would like to process some large libSVM files which do not fit into memory. I am trying to use a stacked data source for that. But the program gets stuck on accessing the first chunk of my StackedDS object. Accessing the data sources unstacked seems to work fine
Here is a script demonstrating the problem. It creates a small libSVM file for input
https://gist.github.com/hcbraun/334d3e9c8da7959d0f37#file-svmstack-scala
This is what i am trying to do:

reading the libSVM file with loadLibSVM
writing the training data to SMat file (saveSMat)
writing the  labels to FMat file (saveFMat)
building SFilesDS from the training SMat files
building FilesDS from the label FMat files
combining both data sources with StackDS
run a learner with logistic regression

Any suggestions would be appreciated
Best,
Christian

The executor in the of a StackDS object needs to have a thread pool size of at least 4. Works just fine then
Cheers,
Christian

Thanks for figuring that out. I'll add that change. btw, StackedDS sounds like more than you need. You can use FilesDS with multiple input files, and with both sparse and dense data, even in the same source. If you give FilesDS two lists of files, one sparse and one dense, it will return a block of each when you call 'next' on the source. Its likely to be faster (needs fewer threads and has better synchronization) that using a stackedDS on two sources.


MINGW : bad use of __cpuid()

When cross-compiling OpenEXR-3.1.8 from the release tarball for Windows from Debian Bookworm (current testing distribution) using x86_64-w64-mingw32-g++ (GCC) 12-posix, the build fails because __cpuid() is called with 2 arguments instead of 5.  This small patch seems to fix it:
diff --git a/openexr-3.1.8.old/src/lib/OpenEXRCore/internal_cpuid.h b/openexr-3.1.8.new/src/lib/OpenEXRCore/internal_cpuid.h
in
dex 9eb89d0..777a61f 100644
--- a/openexr-3.1.8.old/src/lib/OpenEXRCore/internal_cpuid.h
+++ b/openexr-3.1.8.new/src/lib/OpenEXRCore/internal_cpuid.h
@@ -35,7 +35,7 @@ static inline void check_for_x86_simd (int *f16c, int *avx, int *sse2)
     *avx = 1;
     *sse2 = 1;
 #        else
-#            ifdef _WIN32
+#            if defined(_MSC_VER) && defined(_WIN32)
     int regs[4], osxsave;

     __cpuid (regs, 0);

No problems w/ MinGW GCC/Clang when not cross-compiling (e.g. using MSYS2), so restricting to _MSC_VER maybe not the best fix?

Does it work w/ the win32 toolchain rather than posix one?

I don't have Microsoft Windows so I can't check non-cross-compiling.  Good to know that this patch may be bogus, even though it works for me.
I haven't tried win32 toolchain recently, it caused me too many issues with threading etc in the past.  I have no time to try again soon unfortunately.

Perhaps the real fix is to remove _MSC_VER here and here (i.e. just check for _WIN32):
https://github.com/AcademySoftwareFoundation/openexr/blob/e504fb2ec3952e5f4202c33e0baea21d8ea8f9e1/src/lib/OpenEXRCore/internal_cpuid.h#L9
https://github.com/AcademySoftwareFoundation/openexr/blob/e504fb2ec3952e5f4202c33e0baea21d8ea8f9e1/src/lib/OpenEXR/ImfSystemSpecific.cpp#L11
This is what I found in the MinGW shipped intrin.h:
/* Undefine the GCC one taking 5 parameters to prefer the mingw-w64 one. */
#undef __cpuid

This has popped up before - gotta keep in mind Windows as a platforms is not just MSVC... ;)
There might be other places where _MSC_VER is wrongly used as catchall "Windows" alias.

at least in the OpenEXRCore library, _MSC_VER should only be used to truly detect msvc, not the win32 api vs. not - although at this level of builtin functions vs. not, this may fall over occasionally. I believe I had actually addressed this already in #1467 (noticing that disconnect). Once that is merged, do let us know if there are other related issues. Thanks for noticing this

@claudeha, could you confirm whether this is still and issue with your build configuration on the main branch? Hopefully, #1467 fixes it.

On 10/07/2023 03:28, Cary Phillips wrote:

@claudeha https://github.com/claudeha, could you confirm whether
this is still and issue with your build configuration on the |main|
branch? Hopefully, #1467
https://github.com/AcademySoftwareFoundation/openexr/pull/1467 fixes it.

The library seems to build ok now, thanks.  But there is still an issue
with src/test/OpenEXRCoreTest:
$ cd openexr
$ rm -rf build/
$ mkdir build
$ cd build/
$ PKG_CONFIG_PATH=${HOME}/tmp/windows/lib/pkgconfig cmake
-DBUILD_SHARED_LIBS=OFF
-DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-mingw.cmake
-DCMAKE_CXX_FLAGS="-I${HOME}/tmp/windows"
-DCMAKE_EXE_LINKER_FLAGS="-L${HOME}/tmp/windows/lib"
-DCMAKE_INSTALL_PREFIX="${HOME}/tmp/windows" ..
...
$ make -k
...
$ make -k
...
[ 63%] Building CXX object
src/test/OpenEXRCoreTest/CMakeFiles/OpenEXRCoreTest.dir/base_units.cpp.obj
In file included from /usr/share/mingw-w64/include/intrin.h:41,
                  from /home/claude/tmp/windows/include/Imath/half.h:183,
                  from
/home/claude/opt/windows/posix/x86_64/src/openexr/src/test/OpenEXRCoreTest/../../lib/OpenEXRCore/internal_coding.h:24,
                  from
/home/claude/opt/windows/posix/x86_64/src/openexr/src/test/OpenEXRCoreTest/base_units.cpp:24:
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:2013:42: error:
macro "__cpuid" requires 5 arguments, but only 2 given
  2013 | void __cpuid(int CPUInfo[4], int InfoType);
       |                                          ^
In file included from
/home/claude/opt/windows/posix/x86_64/src/openexr/src/test/OpenEXRCoreTest/../../lib/OpenEXRCore/internal_cpuid.h:18,
                  from
/home/claude/opt/windows/posix/x86_64/src/openexr/src/test/OpenEXRCoreTest/base_units.cpp:23:
/usr/lib/gcc/x86_64-w64-mingw32/12-posix/include/cpuid.h:223: note:
macro "__cpuid" defined here
   223 | #define __cpuid(level, a, b, c,
d)                                      \
       |
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:2016:42: error:
macro "__cpuid" requires 5 arguments, but only 2 given
  2016 | void __cpuid(int CPUInfo[4], int InfoType) {
       |                                          ^
/usr/lib/gcc/x86_64-w64-mingw32/12-posix/include/cpuid.h:223: note:
macro "__cpuid" defined here
   223 | #define __cpuid(level, a, b, c,
d)                                      \
       |
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:2013:6: error:
variable or field ‘__cpuid’ declared void
  2013 | void __cpuid(int CPUInfo[4], int InfoType);
       |      ^~~~~~~
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:2016:6: error:
variable or field ‘__cpuid’ declared void
  2016 | void __cpuid(int CPUInfo[4], int InfoType) {
       |      ^~~~~~~
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:2017:4: error:
expected primary-expression before ‘__asm__’
  2017 |    __asm__ __volatile__ (
       |    ^~~~~~~
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:2017:4: error:
expected ‘}’ before ‘__asm__’
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:2016:44: note: to
match this ‘{’
  2016 | void __cpuid(int CPUInfo[4], int InfoType) {
       |                                            ^
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:2280:1: error:
expected declaration before ‘}’ token
  2280 | }
       | ^
make[2]: ***
[src/test/OpenEXRCoreTest/CMakeFiles/OpenEXRCoreTest.dir/build.make:77:
src/test/OpenEXRCoreTest/CMakeFiles/OpenEXRCoreTest.dir/base_units.cpp.obj]
Error 1
make[2]: Target
'src/test/OpenEXRCoreTest/CMakeFiles/OpenEXRCoreTest.dir/build' not
remade because of errors.
...

Host is Debian Bookworm compiling with MINGW mingw-w64 10.0.0-3
(x86_64-w64-mingw32-g++ (GCC) 12-posix).

for me there is still an issue with the tests with openexr-3.2.0-rc:
claude@eiskaffee:~/opt/windows/posix/x86_64/src/openexr-3.2.0-rc/build$ make -k >/dev/null 2>/dev/null && make
[  2%] Built target Iex
[  5%] Built target IlmThread
[ 17%] Built target OpenEXRCore
[ 49%] Built target OpenEXR
[ 54%] Built target OpenEXRUtil
[ 55%] Built target exr2aces
[ 56%] Built target exrheader
[ 57%] Built target exrinfo
[ 58%] Built target exrmaketiled
[ 59%] Built target exrstdattr
[ 60%] Built target exrmakepreview
[ 63%] Built target exrenvmap
[ 64%] Built target exrmultiview
[ 65%] Built target exrmultipart
[ 65%] Built target exrcheck
[ 69%] Built target OpenEXRExamples
[ 71%] Built target IexTest
[ 71%] Building CXX object src/test/OpenEXRCoreTest/CMakeFiles/OpenEXRCoreTest.dir/base_units.cpp.obj
In file included from /usr/share/mingw-w64/include/intrin.h:41,
                 from /home/claude/opt/windows/posix/x86_64/include/Imath/half.h:183,
                 from /home/claude/opt/windows/posix/x86_64/src/openexr-3.2.0-rc/src/test/OpenEXRCoreTest/../../lib/OpenEXRCore/internal_coding.h:24,
                 from /home/claude/opt/windows/posix/x86_64/src/openexr-3.2.0-rc/src/test/OpenEXRCoreTest/base_units.cpp:24:
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:2013:42: error: macro "__cpuid" requires 5 arguments, but only 2 given
 2013 | void __cpuid(int CPUInfo[4], int InfoType);
      |                                          ^
In file included from /home/claude/opt/windows/posix/x86_64/src/openexr-3.2.0-rc/src/test/OpenEXRCoreTest/../../lib/OpenEXRCore/internal_cpuid.h:21,
                 from /home/claude/opt/windows/posix/x86_64/src/openexr-3.2.0-rc/src/test/OpenEXRCoreTest/base_units.cpp:23:
/usr/lib/gcc/x86_64-w64-mingw32/12-posix/include/cpuid.h:223: note: macro "__cpuid" defined here
  223 | #define __cpuid(level, a, b, c, d)                                      \
      |
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:2016:42: error: macro "__cpuid" requires 5 arguments, but only 2 given
 2016 | void __cpuid(int CPUInfo[4], int InfoType) {
      |                                          ^
/usr/lib/gcc/x86_64-w64-mingw32/12-posix/include/cpuid.h:223: note: macro "__cpuid" defined here
  223 | #define __cpuid(level, a, b, c, d)                                      \
      |
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:2013:6: error: variable or field ‘__cpuid’ declared void
 2013 | void __cpuid(int CPUInfo[4], int InfoType);
      |      ^~~~~~~
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:2016:6: error: variable or field ‘__cpuid’ declared void
 2016 | void __cpuid(int CPUInfo[4], int InfoType) {
      |      ^~~~~~~
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:2017:4: error: expected primary-expression before ‘__asm__’
 2017 |    __asm__ __volatile__ (
      |    ^~~~~~~
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:2017:4: error: expected ‘}’ before ‘__asm__’
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:2016:44: note: to match this ‘{’
 2016 | void __cpuid(int CPUInfo[4], int InfoType) {
      |                                            ^
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:2280:1: error: expected declaration before ‘}’ token
 2280 | }
      | ^
make[2]: *** [src/test/OpenEXRCoreTest/CMakeFiles/OpenEXRCoreTest.dir/build.make:77: src/test/OpenEXRCoreTest/CMakeFiles/OpenEXRCoreTest.dir/base_units.cpp.obj] Error 1
make[2]: Target 'src/test/OpenEXRCoreTest/CMakeFiles/OpenEXRCoreTest.dir/build' not remade because of errors.
make[1]: *** [CMakeFiles/Makefile2:1823: src/test/OpenEXRCoreTest/CMakeFiles/OpenEXRCoreTest.dir/all] Error 2

I notice this
/home/claude/opt/windows/posix/x86_64/include/Imath/half.h

It makes me wonder if you have a very old system installed half.h, and if using a new imath would fix the issue.
Can you try reconfiguring your build, using the OPENEXR_FORCE_INTERNAL_IMATH flag?

On 21/08/2023 21:42, Nick Porcino wrote:

I notice this
|/home/claude/opt/windows/posix/x86_64/include/Imath/half.h |
It makes me wonder if you have a very old system installed half.h, and
if using a new imath would fix the issue.

I was using Imath 3.1.9 (I think this is the latest stable release?)

Can you try reconfiguring your build, using the
|OPENEXR_FORCE_INTERNAL_IMATH| flag?

adding
 -DOPENEXR_FORCE_INTERNAL_IMATH=on
breaks detection of my system installed libdeflate.h (configured using
-DCMAKE_CXX_FLAGS="-I${prefix}/include")
also adding -DOPENEXR_FORCE_INTERNAL_DEFLATE=on gives a similar
__cpuid error as before:
[ 74%] Building CXX object
src/test/OpenEXRCoreTest/CMakeFiles/OpenEXRCoreTest.dir/base_units.cpp.obj
In file included from /usr/share/mingw-w64/include/intrin.h:41,
                  from
/home/claude/opt/windows/posix/x86_64/src/openexr-3.2.0-rc/build/_deps/imath-src/src/Imath/half.h:183,
                  from
/home/claude/opt/windows/posix/x86_64/src/openexr-3.2.0-rc/src/test/OpenEXRCoreTest/../../lib/OpenEXRCore/internal_coding.h:24,
                  from
/home/claude/opt/windows/posix/x86_64/src/openexr-3.2.0-rc/src/test/OpenEXRCoreTest/base_units.cpp:24:
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:2013:42: error:
macro "__cpuid" requires 5 arguments, but only 2 given
  2013 | void __cpuid(int CPUInfo[4], int InfoType);
       |                                          ^
In file included from
/home/claude/opt/windows/posix/x86_64/src/openexr-3.2.0-rc/src/test/OpenEXRCoreTest/../../lib/OpenEXRCore/internal_cpuid.h:21,
                  from
/home/claude/opt/windows/posix/x86_64/src/openexr-3.2.0-rc/src/test/OpenEXRCoreTest/base_units.cpp:23:
/usr/lib/gcc/x86_64-w64-mingw32/12-posix/include/cpuid.h:223: note:
macro "__cpuid" defined here
   223 | #define __cpuid(level, a, b, c,
d)                                      \
       |
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:2016:42: error:
macro "__cpuid" requires 5 arguments, but only 2 given
  2016 | void __cpuid(int CPUInfo[4], int InfoType) {
       |                                          ^
/usr/lib/gcc/x86_64-w64-mingw32/12-posix/include/cpuid.h:223: note:
macro "__cpuid" defined here
   223 | #define __cpuid(level, a, b, c,
d)                                      \
       |
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:2013:6: error:
variable or field ‘__cpuid’ declared void
  2013 | void __cpuid(int CPUInfo[4], int InfoType);
       |      ^~~~~~~
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:2016:6: error:
variable or field ‘__cpuid’ declared void
  2016 | void __cpuid(int CPUInfo[4], int InfoType) {
       |      ^~~~~~~
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:2017:4: error:
expected primary-expression before ‘__asm__’
  2017 |    __asm__ __volatile__ (
       |    ^~~~~~~
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:2017:4: error:
expected ‘}’ before ‘__asm__’
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:2016:44: note: to
match this ‘{’
  2016 | void __cpuid(int CPUInfo[4], int InfoType) {
       |                                            ^
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:2280:1: error:
expected declaration before ‘}’ token
  2280 | }
       | ^
make[2]: ***
[src/test/OpenEXRCoreTest/CMakeFiles/OpenEXRCoreTest.dir/build.make:77:
src/test/OpenEXRCoreTest/CMakeFiles/OpenEXRCoreTest.dir/base_units.cpp.obj]
Error 1
make[1]: *** [CMakeFiles/Makefile2:1914:
src/test/OpenEXRCoreTest/CMakeFiles/OpenEXRCoreTest.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

This problem earlier occured in the main code too, but it was fixed
there (but it seems not in the tests).


Release Storage for JS January update

Closing this. We now track issues by milestones and labels instead.


segmentation fault with crossed exports

While working on exporting public API types from services/*.dart library I faced a crash with segmentation fault related to mixed export. I managed to reduce the diff fo the PR to have a simpler reproduction I pasted below (I failed to reduce it only with dart).
Steps to Reproduce

Checkout flutter main branch (on d4929bc828 for me)
Apply the following diff

diff --git a/packages/flutter/lib/src/services/autofill.dart b/packages/flutter/lib/src/services/autofill.dart
index 22cde8eb0b..e1791c0a3c 100644
--- a/packages/flutter/lib/src/services/autofill.dart
+++ b/packages/flutter/lib/src/services/autofill.dart
@@ -5,6 +5,8 @@
 import 'package:flutter/foundation.dart';
 import 'text_input.dart';

+export 'text_input.dart' show TextEditingValue;
+
 /// A collection of commonly used autofill hint strings on different platforms.
 ///
 /// Each hint is pre-defined on at least one supported platform. See their
diff --git a/packages/flutter/lib/src/services/text_editing_delta.dart b/packages/flutter/lib/src/services/text_editing_delta.dart
index 07e57e93c6..80079b3677 100644
--- a/packages/flutter/lib/src/services/text_editing_delta.dart
+++ b/packages/flutter/lib/src/services/text_editing_delta.dart
@@ -7,6 +7,8 @@ import 'package:flutter/foundation.dart';
 import 'text_editing.dart';
 import 'text_input.dart' show TextEditingValue;

+export 'text_input.dart' show TextEditingValue;
+
 TextAffinity? _toTextAffinity(String? affinity) {
   switch (affinity) {
     case 'TextAffinity.downstream':
diff --git a/packages/flutter/lib/src/services/text_input.dart b/packages/flutter/lib/src/services/text_input.dart
index 85a3244107..7f98db51db 100644
--- a/packages/flutter/lib/src/services/text_input.dart
+++ b/packages/flutter/lib/src/services/text_input.dart
@@ -25,6 +25,9 @@ import 'text_editing_delta.dart';

 export 'dart:ui' show TextAffinity;

+export 'autofill.dart' show AutofillConfiguration;
+export 'text_editing_delta.dart' show TextEditingDelta;
+
 /// Indicates how to handle the intelligent replacement of dashes in text input.
 ///
 /// See also:

Create a new flutter project with flutter create my_test
Run tests via flutter test

Expected results: no errors
Actual results:

Logs
~/tmp/my_test$ flutter test
00:02 +0: Counter increments smoke test
unhandled error during finalization of test:
/home/xxx/tmp/my_test/test/widget_test.dart
TestDeviceException(Shell subprocess crashed with segmentation fault.)
#0      FlutterTesterTestDevice.finished
(package:flutter_tools/src/test/flutter_tester_device.dart:241:5)
<asynchronous suspension>
#1      FlutterTesterTestDevice.kill
(package:flutter_tools/src/test/flutter_tester_device.dart:223:5)
<asynchronous suspension>
#2      FlutterPlatform._startTest.<anonymous closure>
(package:flutter_tools/src/test/flutter_platform.dart:485:9)
<asynchronous suspension>
#3      FlutterPlatform._startTest
(package:flutter_tools/src/test/flutter_platform.dart:538:11)
<asynchronous suspension>

00:02 +0: Counter increments smoke test - did not complete [E]
00:02 +0: Some tests failed.
No tests were found.

~/tmp/my_test$ flutter analyze
Analyzing my_test...
No issues found! (ran in 2.7s)

~/tmp/my_test$ flutter doctor -v
[✓] Flutter (Channel master, 3.1.0-0.0.pre.1317, on Ubuntu 20.04.4 LTS
    5.4.0-120-generic, locale fr_FR.UTF-8)
    • Flutter version 3.1.0-0.0.pre.1317 on channel master at
      /home/xxx/PERSONNEL/dev/dart/flutter/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d4929bc828 (il y a 9 heures), 2022-06-20 20:09:05 -0400
    • Engine revision ceac23d7a9
    • Dart version 2.18.0 (build 2.18.0-190.0.dev)
    • DevTools version 2.14.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /home/xxx/softwares/android-sdk-linux/
    • Platform android-31, build-tools 30.0.3
    • ANDROID_HOME = /home/xxx/softwares/android-sdk-linux/
    • Java binary at: /home/xxx/softwares/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.1

[✓] Android Studio (version 2020.3)
    • Android Studio at /home/xxx/softwares/android-studio
    • Flutter plugin version 61.0.2
    • Dart plugin version 203.8430
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] IntelliJ IDEA Community Edition (version 2020.3)
    • IntelliJ at /home/xxx/softwares/jetbrains/idea-IC-203.7148.57
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin version 203.6912

[✓] VS Code (version 1.68.1)
    • VS Code at /usr/share/code
    • Flutter extension version 3.42.0

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Ubuntu 20.04.4 LTS
      5.4.0-120-generic
    • Chrome (web)    • chrome • web-javascript • Google Chrome 102.0.5005.115

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Hi @a14n,  Unfortunately, I can't reproduce it on my side, neither on a mac or Linux host. let me know if I am missing anything.

Linux (logs)
mahesh@mahesh:~/Development/dev$ git checkout d4929bc828ff32e23fa7230a91117acbe8fd2801
fatal: reference is not a tree: d4929bc828ff32e23fa7230a91117acbe8fd2801
mahesh@mahesh:~/Development/dev$ git checkout main
error: pathspec 'main' did not match any file(s) known to git
mahesh@mahesh:~/Development/dev$ git pull
remote: Enumerating objects: 30321, done.
remote: Counting objects: 100% (11175/11175), done.
remote: Compressing objects: 100% (119/119), done.
remote: Total 30321 (delta 11086), reused 11093 (delta 11043), pack-reused 19146
Receiving objects: 100% (30321/30321), 24.98 MiB | 6.61 MiB/s, done.
Resolving deltas: 100% (22509/22509), completed with 2496 local objects.
From https://github.com/flutter/flutter
 + cfa5a7c452...38ea03e585 Hixie-patch-1                                       -> origin/Hixie-patch-1  (forced update)
 + dc896bb6b8...7a3fb4db42 Hixie-patch-2                                       -> origin/Hixie-patch-2  (forced update)
 + 8f1f9c10f0...f28e570c8c beta                                                -> origin/beta  (forced update)
 * [new branch]            cherry-pick-template                                -> origin/cherry-pick-template
 * [new branch]            covariant                                           -> origin/covariant
 + 8f1f9c10f0...f28e570c8c dev                                                 -> origin/dev  (forced update)
 * [new branch]            flutter-2.11-candidate.0                            -> origin/flutter-2.11-candidate.0
 * [new branch]            flutter-2.11-candidate.1                            -> origin/flutter-2.11-candidate.1
 * [new branch]            flutter-2.11-candidate.10                           -> origin/flutter-2.11-candidate.10
 * [new branch]            flutter-2.11-candidate.11                           -> origin/flutter-2.11-candidate.11
 * [new branch]            flutter-2.11-candidate.2                            -> origin/flutter-2.11-candidate.2
 * [new branch]            flutter-2.11-candidate.3                            -> origin/flutter-2.11-candidate.3
 * [new branch]            flutter-2.11-candidate.4                            -> origin/flutter-2.11-candidate.4
 * [new branch]            flutter-2.11-candidate.5                            -> origin/flutter-2.11-candidate.5
 * [new branch]            flutter-2.11-candidate.6                            -> origin/flutter-2.11-candidate.6
 * [new branch]            flutter-2.11-candidate.7                            -> origin/flutter-2.11-candidate.7
 * [new branch]            flutter-2.11-candidate.8                            -> origin/flutter-2.11-candidate.8
 * [new branch]            flutter-2.11-candidate.9                            -> origin/flutter-2.11-candidate.9
 * [new branch]            flutter-2.12-candidate.0                            -> origin/flutter-2.12-candidate.0
 * [new branch]            flutter-2.12-candidate.1                            -> origin/flutter-2.12-candidate.1
 * [new branch]            flutter-2.12-candidate.10                           -> origin/flutter-2.12-candidate.10
 * [new branch]            flutter-2.12-candidate.11                           -> origin/flutter-2.12-candidate.11
 * [new branch]            flutter-2.12-candidate.2                            -> origin/flutter-2.12-candidate.2
 * [new branch]            flutter-2.12-candidate.3                            -> origin/flutter-2.12-candidate.3
 * [new branch]            flutter-2.12-candidate.4                            -> origin/flutter-2.12-candidate.4
 * [new branch]            flutter-2.12-candidate.5                            -> origin/flutter-2.12-candidate.5
 * [new branch]            flutter-2.12-candidate.6                            -> origin/flutter-2.12-candidate.6
 * [new branch]            flutter-2.12-candidate.7                            -> origin/flutter-2.12-candidate.7
 * [new branch]            flutter-2.12-candidate.8                            -> origin/flutter-2.12-candidate.8
 * [new branch]            flutter-2.12-candidate.9                            -> origin/flutter-2.12-candidate.9
 * [new branch]            flutter-2.13-candidate.0                            -> origin/flutter-2.13-candidate.0
 * [new branch]            flutter-2.13-candidate.1                            -> origin/flutter-2.13-candidate.1
 * [new branch]            flutter-2.13-candidate.10                           -> origin/flutter-2.13-candidate.10
 * [new branch]            flutter-2.13-candidate.2                            -> origin/flutter-2.13-candidate.2
 * [new branch]            flutter-2.13-candidate.3                            -> origin/flutter-2.13-candidate.3
 * [new branch]            flutter-2.13-candidate.4                            -> origin/flutter-2.13-candidate.4
 * [new branch]            flutter-2.13-candidate.5                            -> origin/flutter-2.13-candidate.5
 * [new branch]            flutter-2.13-candidate.6                            -> origin/flutter-2.13-candidate.6
 * [new branch]            flutter-2.13-candidate.7                            -> origin/flutter-2.13-candidate.7
 * [new branch]            flutter-2.13-candidate.8                            -> origin/flutter-2.13-candidate.8
 * [new branch]            flutter-2.13-candidate.9                            -> origin/flutter-2.13-candidate.9
   95e555344d..5464c5bac7  flutter-2.8-candidate.16                            -> origin/flutter-2.8-candidate.16
 * [new branch]            flutter-2.8-candidate.18                            -> origin/flutter-2.8-candidate.18
 * [new branch]            flutter-2.8-candidate.19                            -> origin/flutter-2.8-candidate.19
 * [new branch]            flutter-2.8-candidate.20                            -> origin/flutter-2.8-candidate.20
 * [new branch]            flutter-3.0-candidate.0                             -> origin/flutter-3.0-candidate.0
 * [new branch]            flutter-3.1-candidate.0                             -> origin/flutter-3.1-candidate.0
 * [new branch]            flutter-3.1-candidate.1                             -> origin/flutter-3.1-candidate.1
 * [new branch]            flutter-3.1-candidate.10                            -> origin/flutter-3.1-candidate.10
 * [new branch]            flutter-3.1-candidate.11                            -> origin/flutter-3.1-candidate.11
 * [new branch]            flutter-3.1-candidate.2                             -> origin/flutter-3.1-candidate.2
 * [new branch]            flutter-3.1-candidate.3                             -> origin/flutter-3.1-candidate.3
 * [new branch]            flutter-3.1-candidate.4                             -> origin/flutter-3.1-candidate.4
 * [new branch]            flutter-3.1-candidate.5                             -> origin/flutter-3.1-candidate.5
 * [new branch]            flutter-3.1-candidate.6                             -> origin/flutter-3.1-candidate.6
 * [new branch]            flutter-3.1-candidate.7                             -> origin/flutter-3.1-candidate.7
 * [new branch]            flutter-3.1-candidate.8                             -> origin/flutter-3.1-candidate.8
 * [new branch]            flutter-3.1-candidate.9                             -> origin/flutter-3.1-candidate.9
 * [new branch]            main                                                -> origin/main
   bc54c2fdfe..9ccd74170e  master                                              -> origin/master
 * [new branch]            nuritzi-patch-1                                     -> origin/nuritzi-patch-1
 * [new branch]            revert-101460-b101416                               -> origin/revert-101460-b101416
 * [new branch]            revert-102092-revert-99146-xbl000225                -> origin/revert-102092-revert-99146-xbl000225
 * [new branch]            revert-102453-mouse_tracker_crash                   -> origin/revert-102453-mouse_tracker_crash
 * [new branch]            revert-103019-huan_platform_view_focus_in_framework -> origin/revert-103019-huan_platform_view_focus_in_framework
 * [new branch]            revert-103456-shortcuts_registry                    -> origin/revert-103456-shortcuts_registry
 * [new branch]            revert-104215-remove_shortcut_manager_of            -> origin/revert-104215-remove_shortcut_manager_of
 * [new branch]            revert-104958-xbl00053001                           -> origin/revert-104958-xbl00053001
 * [new branch]            revert-105247-revert-104274-handle-hide-toolbar     -> origin/revert-105247-revert-104274-handle-hide-toolbar
 + 77d935af4d...cd41fdd495 stable                                              -> origin/stable  (forced update)
 * [new branch]            test-plugin-ffi-run-ffigen                          -> origin/test-plugin-ffi-run-ffigen
 * [new tag]               2.10.0-0.0.pre                                      -> 2.10.0-0.0.pre
 * [new tag]               2.10.5                                              -> 2.10.5
 * [new tag]               2.11.0-0.1.pre                                      -> 2.11.0-0.1.pre
 * [new tag]               2.12.0-4.2.pre                                      -> 2.12.0-4.2.pre
 * [new tag]               3.0.2                                               -> 3.0.2
 * [new tag]               3.1.0                                               -> 3.1.0
 * [new tag]               3.1.0-9.0.pre                                       -> 3.1.0-9.0.pre
 * [new tag]               2.10.0                                              -> 2.10.0
 * [new tag]               2.10.0-0.1.pre                                      -> 2.10.0-0.1.pre
 * [new tag]               2.10.0-0.2.pre                                      -> 2.10.0-0.2.pre
 * [new tag]               2.10.0-0.3.pre                                      -> 2.10.0-0.3.pre
 * [new tag]               2.10.1                                              -> 2.10.1
 * [new tag]               2.10.2                                              -> 2.10.2
 * [new tag]               2.10.3                                              -> 2.10.3
 * [new tag]               2.10.4                                              -> 2.10.4
 * [new tag]               2.12.0-4.0.pre                                      -> 2.12.0-4.0.pre
 * [new tag]               2.12.0-4.1.pre                                      -> 2.12.0-4.1.pre
 * [new tag]               2.13.0-0.1.pre                                      -> 2.13.0-0.1.pre
 * [new tag]               2.13.0-0.2.pre                                      -> 2.13.0-0.2.pre
 * [new tag]               2.13.0-0.3.pre                                      -> 2.13.0-0.3.pre
 * [new tag]               2.13.0-0.4.pre                                      -> 2.13.0-0.4.pre
 * [new tag]               3.0.0                                               -> 3.0.0
 * [new tag]               3.0.0-0.0.pre                                       -> 3.0.0-0.0.pre
 * [new tag]               3.0.1                                               -> 3.0.1
You are not currently on a branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.

    git pull <remote> <branch>

mahesh@mahesh:~/Development/dev$ git checkout d4929bc828ff32e23fa7230a91117acbe8fd2801
Previous HEAD position was f4abaa0735 [flutter_releases] Flutter Stable 2.2.3 Framework Cherrypicks (#85719)
HEAD is now at d4929bc828 Roll Flutter Engine from 896c17bd63fa to ceac23d7a98f (1 revision) (#106318)
mahesh@mahesh:~/Development/dev$ flutterd doctor -v
Downloading Linux x64 Dart SDK from Flutter engine ceac23d7a98f9c9ac688075c2c38d4fd2c65a9a8...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  212M  100  212M    0     0  7982k      0  0:00:27  0:00:27 --:--:-- 8174k
Building flutter tool...
Downloading Material fonts...                                      594ms
Downloading package sky_engine...                                  115ms
Downloading flutter_patched_sdk tools...                           236ms
Downloading flutter_patched_sdk_product tools...                   311ms
Downloading linux-x64 tools...                                      3.9s
Downloading linux-x64/font-subset tools...                         434ms
[!] Flutter (Channel unknown, 3.1.0-0.0.pre.1317, on Ubuntu 20.04.4 LTS 5.13.0-48-generic, locale en_GB.UTF-8)
    ! Flutter version 3.1.0-0.0.pre.1317 on channel unknown at /home/mahesh/Development/dev
    ! Upstream repository unknown
    • Framework revision d4929bc828 (30 hours ago), 2022-06-20 20:09:05 -0400
    • Engine revision ceac23d7a9
    • Dart version 2.18.0 (build 2.18.0-190.0.dev)
    • DevTools version 2.14.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /home/mahesh/Android/Sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /home/mahesh/Downloads/android-studio-2<IP_ADDRESS>-linux/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.1

[✓] Android Studio (version 2020.3)
    • Android Studio at /home/mahesh/Downloads/android-studio-2<IP_ADDRESS>-linux/android-studio
    • Flutter plugin version 67.1.2
    • Dart plugin version 212.5744
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.68.0)
    • VS Code at /usr/share/code
    • Flutter extension version 3.42.0

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Ubuntu 20.04.4 LTS 5.13.0-48-generic
    • Chrome (web)    • chrome • web-javascript • Google Chrome 102.0.5005.115

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.
mahesh@mahesh:~/Development/dev$ cd ~/Desktop/
mahesh@mahesh:~/Desktop$ flutterd create my_test
Creating project my_test...
Running "flutter pub get" in my_test...                          1,779ms
Wrote 127 files.

All done!

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at d4929bc828 Roll Flutter Engine from 896c17bd63fa to ceac23d7a98f (1 revision) (#106318)
mahesh@Maheshs-MacBook-Air-M1 flutter_dev % flutterd doctor -v
Downloading Darwin arm64 Dart SDK from Flutter engine ceac23d7a98f9c9ac688075c2c38d4fd2c65a9a8...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  194M  100  194M    0     0  5971k      0  0:00:33  0:00:33 --:--:-- 5545k
Building flutter tool...
Downloading package sky_engine...                                1,007ms
Downloading flutter_patched_sdk tools...                         1,244ms
Downloading flutter_patched_sdk_product tools...                 1,062ms
Downloading darwin-x64 tools...                                     6.5s
Downloading darwin-x64/font-subset tools...                        519ms
Could not load custom device from config index 0: Expected enabled to be a boolean.
[!] Flutter (Channel unknown, 3.1.0-0.0.pre.1317, on macOS 12.4 21F79 darwin-arm, locale en-IN)
    ! Flutter version 3.1.0-0.0.pre.1317 on channel unknown at /Users/mahesh/Documents/flutter_dev
    ! Upstream repository unknown
    • Framework revision d4929bc828 (30 hours ago), 2022-06-20 20:09:05 -0400
    • Engine revision ceac23d7a9
    • Dart version 2.18.0 (build 2.18.0-190.0.dev)
    • DevTools version 2.14.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-32, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.67.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.43.20220621

[✓] Connected device (3 available)
    • sdk gphone arm64 (mobile) • emulator-5554 • android-arm64  • Android 11 (API 30) (emulator)
    • macOS (desktop)           • macos         • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)              • chrome        • web-javascript • Google Chrome 102.0.5005.115

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.
mahesh@Maheshs-MacBook-Air-M1 flutter_dev % cd ~/Desktop
mahesh@Maheshs-MacBook-Air-M1 Desktop % flutterd create flutter_test
Signing iOS app for device deployment using developer identity: "Apple Development<EMAIL_ADDRESS>(8QBZ8V54QM)"
Invalid project name: 'flutter_test' - this will conflict with Flutter package dependencies.
mahesh@Maheshs-MacBook-Air-M1 Desktop % flutterd create my_tests
Signing iOS app for device deployment using developer identity: "Apple Development<EMAIL_ADDRESS>(8QBZ8V54QM)"
Creating project my_tests...
Running "flutter pub get" in my_tests...                         1,647ms
Wrote 127 files.

All done!
In order to run your application, type:

  $ cd my_tests
  $ flutter run

Your application code is in my_tests/lib/main.dart.

mahesh@Maheshs-MacBook-Air-M1 Desktop % cd my_tests
mahesh@Maheshs-MacBook-Air-M1 my_tests % flutterd test
00:07 +1: All tests passed!

@maheshmnj Did you apply the diff I mentioned at step 2 of the Steps to Reproduce section?

I don't face any issue applying the patch with git apply patch.diff.txt locally with patch.diff.txt.
Alternatively you can simply make those changes manually.


⚠ 한경주요지수-코스피200 has degraded performance

In 411739f, 한경주요지수-코스피200 (https://markets.hankyung.com/indices/kospi200) experienced degraded performance:

HTTP code: 200
Response time: 9100 ms

Resolved: 한경주요지수-코스피200 performance has improved in 1abfd98.


Hello! Where can I find documentation of this library or usage example?

Hello! Where can I find documentation of this library or usage example?
For example, I wanna create a lobby using this library, where I can find description of methods in this library? Thanks a lot.

You've probably figured it out by now. :+1:


Add multicluster support to /apps API

This PR adds a config option for the proxy URL and routes all calls to openshift through that URL.
Missing piece: how to access the metrics URLs, console and logging.
Addresses issue #1882

Codecov Report

Merging #1883 into master will increase coverage by 3.36%.
The diff coverage is 8.57%.

@@            Coverage Diff            @@
##           master   #1883      +/-   ##
=========================================
+ Coverage   58.33%   61.7%   +3.36%
=========================================
  Files         143     139       -4
  Lines       14439   13278    -1161
=========================================
- Hits         8423    8193     -230
+ Misses       5264    4358     -906
+ Partials      752     727      -25

Impacted Files
Coverage Δ

controller/apps.go
19.61% <0%> (-1.12%)
:arrow_down:

configuration/configuration.go
68.16% <33.33%> (-0.34%)
:arrow_down:

kubernetesV1/apps_kubeclient.go
23.01% <50%> (ø)
:arrow_up:

controller/apps_osioclient.go
0% <0%> (ø)
:arrow_up:

main.go
0% <0%> (ø)
:arrow_up:

kubernetes/deployments_kubeclient.go

controller/deployments_osioclient.go

controller/deployments.go

kubernetes/deployments_metrics.go

... and 1 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 c56d526...3c8f065. Read the comment docs.

@stooke snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1883-2

@stooke snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1883-3

@stooke snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1883-4

@stooke snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1883-5

@stooke snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1883-6

@stooke snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1883-7

@stooke snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1883-8

@stooke snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1883-10

@stooke snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1883-11

@stooke snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1883-17

@stooke snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1883-22


More comprehensive testing and testcases.

Currently most of my testing has been using testcases not merged in, taking the pretty-printing result from e.g. the spv-lower-link-lift example and checking that it hasn't changed:

(click to expand the log of an example check)
$ echo tests/data/{{sky,mouse}-shader.post-merge,sky_shader,basic.frag.glsl.dbg,debug-printf.vert.glsl,for-loop-spirvcross-issue-1731}.spv | RUST_BACKTRACE=1 xargs -t -n1 cargo run --release --example spv-lower-link-lift
cargo run --release --example spv-lower-link-lift tests/data/sky-shader.post-merge.spv
    Finished release [optimized] target(s) in 0.03s
     Running `target/release/examples/spv-lower-link-lift tests/data/sky-shader.post-merge.spv`
[   2.772ms] spv::spec::Spec::get
[ 226.360ms] Module::lower_from_spv_file(tests/data/sky-shader.post-merge.spv)
[   0.250ms] link::minimize_exports: 1566 -> 7 exports
[   0.591ms] legalize::structurize_func_cfgs
[   0.227ms] link::resolve_imports
[   1.614ms] Module::lift_to_spv_file(tests/data/sky-shader.post-merge.link.spv)
cargo run --release --example spv-lower-link-lift tests/data/mouse-shader.post-merge.spv
    Finished release [optimized] target(s) in 0.03s
     Running `target/release/examples/spv-lower-link-lift tests/data/mouse-shader.post-merge.spv`
[   2.027ms] spv::spec::Spec::get
[ 224.636ms] Module::lower_from_spv_file(tests/data/mouse-shader.post-merge.spv)
[   0.351ms] link::minimize_exports: 1582 -> 21 exports
[   0.842ms] legalize::structurize_func_cfgs
[   0.354ms] link::resolve_imports
[   3.208ms] Module::lift_to_spv_file(tests/data/mouse-shader.post-merge.link.spv)
cargo run --release --example spv-lower-link-lift tests/data/sky_shader.spv
    Finished release [optimized] target(s) in 0.03s
     Running `target/release/examples/spv-lower-link-lift tests/data/sky_shader.spv`
[   2.004ms] spv::spec::Spec::get
[   0.847ms] Module::lower_from_spv_file(tests/data/sky_shader.spv)
[   0.024ms] link::minimize_exports: 2 -> 2 exports
[   0.042ms] legalize::structurize_func_cfgs
[   0.030ms] link::resolve_imports
[   0.220ms] Module::lift_to_spv_file(tests/data/sky_shader.link.spv)
cargo run --release --example spv-lower-link-lift tests/data/basic.frag.glsl.dbg.spv
    Finished release [optimized] target(s) in 0.03s
     Running `target/release/examples/spv-lower-link-lift tests/data/basic.frag.glsl.dbg.spv`
[   1.995ms] spv::spec::Spec::get
[   0.573ms] Module::lower_from_spv_file(tests/data/basic.frag.glsl.dbg.spv)
[   0.012ms] link::minimize_exports: 1 -> 1 exports
[   0.011ms] legalize::structurize_func_cfgs
[   0.005ms] link::resolve_imports
[   0.092ms] Module::lift_to_spv_file(tests/data/basic.frag.glsl.dbg.link.spv)
cargo run --release --example spv-lower-link-lift tests/data/debug-printf.vert.glsl.spv
    Finished release [optimized] target(s) in 0.03s
     Running `target/release/examples/spv-lower-link-lift tests/data/debug-printf.vert.glsl.spv`
[   2.003ms] spv::spec::Spec::get
[   0.589ms] Module::lower_from_spv_file(tests/data/debug-printf.vert.glsl.spv)
[   0.017ms] link::minimize_exports: 1 -> 1 exports
[   0.011ms] legalize::structurize_func_cfgs
[   0.006ms] link::resolve_imports
[   0.085ms] Module::lift_to_spv_file(tests/data/debug-printf.vert.glsl.link.spv)
cargo run --release --example spv-lower-link-lift tests/data/for-loop-spirvcross-issue-1731.spv
    Finished release [optimized] target(s) in 0.03s
     Running `target/release/examples/spv-lower-link-lift tests/data/for-loop-spirvcross-issue-1731.spv`
[   2.011ms] spv::spec::Spec::get
[   0.620ms] Module::lower_from_spv_file(tests/data/for-loop-spirvcross-issue-1731.spv)
[   0.020ms] link::minimize_exports: 1 -> 1 exports
[   0.052ms] legalize::structurize_func_cfgs
[   0.014ms] link::resolve_imports
[   0.173ms] Module::lift_to_spv_file(tests/data/for-loop-spirvcross-issue-1731.link.spv)
$ sha256sum -c (sha256sum ~/public_html/tmp/ul5C/*.spirt.html | sed -E 's|'$HOME'/public_html/tmp/\w+/|tests/data/|' | psub)
tests/data/basic.frag.glsl.dbg.link.spirt.html: OK
tests/data/debug-printf.vert.glsl.link.spirt.html: OK
tests/data/for-loop-spirvcross-issue-1731.link.spirt.html: OK
tests/data/mouse-shader.post-merge.link.spirt.html: OK
tests/data/sky-shader.post-merge.link.spirt.html: OK
tests/data/sky_shader.link.spirt.html: OK

(where ~/public_html/tmp/ul5C happens to be the most recent randomly-named directory I created for sharing .spirt.html pretty-printing output files - not even sure why I was using hashing, diff would make more sense anyway)

We should be able to land some of that and use e.g. insta to automate it, but I wasn't sure how good of an idea including random blobs (or at least "SPIR-V assembly") in the repo would be - but at least I would expect licensing-wise that examples from compiling code in the Rust-GPU repo should be fine.

Earlier on I spent some time looking into testing, but wanting perfect SPIR-V -> SPIR-T -> SPIR-V roundtripping that could be used to test arbitrary SPIR-V (which would have to go in a separate repo for licensing reasons) did not turn out to lead to a good design: stronger normalization often leads to better (compiler) IR designs, but that also means erasing irrelevant details that automated tests would have a hard time understanding.
We could still do it for "roundtripping should succeed for any valid input" but that doesn't say much about the quality or correctness of the process.
The correctness side could be partially handled by injecting SPIR-T somehow in the shader compilation pipeline that Amber tests use, and ensuring that they still pass with the roundtripping.
(this is something that e.g. naga could/should also do, with a full Vulkan+SPIR-V conformance test suite)

For "testing fodder" from Khronos CTSes, this Sourcegraph search likely has most of their tests:
repo:^github.com/KhronosGroup/.*-CTS$ AND (path:/.*\.(n?spv)(asm)?$ OR %\w+\ =\ Op\w+)
You can see a bunch of binary files, plus Amber test files (which, as mentioned above, could potentially be repurposed to ensure SPIR-V -> SPIR-T -> SPIR-V does not change behavior), but also, even if the search doesn't get to them, there are C++ test files that generate SPIR-V assembly text.
Using the C++ code would likely involve patching the test infra (or dumping data from it with a custom entry-point, if the APIs expose enough details), but should still be usable.
To avoid licensing issues, all this data should be either be cached in a separate repo, even if it's mostly just the code to automatically process everything (and e.g. GHA caching is used to generate the actual SPIR-V blobs).
(The two CTS repos both claim to be Apache2, but if anything goes wrong, we wouldn't want to be impacted)

I recommend "Good First Issue" tag; Writing tests is a wonderful way for newcomers to get a feel for a new codebase, while also being productive
I'll be working on this issue for a while.


ng serve --configuration=en throws error

### Versions

Output from: `ng --version`.

Angular CLI: 6.0.3
Node: 8.11.1
OS: darwin x64 (Sierra)
Angular: 6.0.2
... animations, cdk, common, compiler, compiler-cli, core, forms
... http, language-service, material, platform-browser
... platform-browser-dynamic, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.6.3
@angular-devkit/build-angular     0.6.3
@angular-devkit/build-optimizer   0.6.3
@angular-devkit/core              0.6.3
@angular-devkit/schematics        0.6.3
@angular/cli                      6.0.3
@ngtools/webpack                  6.0.3
@schematics/angular               0.6.3
@schematics/update                0.6.3
rxjs                              6.1.0
typescript                        2.7.2
webpack                           4.8.3

[](url)

**### Repro steps**
Step 1:
I did add this to my angular.json file for i18n translation - it's based on the doc [here](https://angular.io/guide/i18n#merge-the-completed-translation-file-into-the-app):

`...
"serve": {
          "builder": "@angular-devkit/build-angular:dev-server",
          "options": {
            "browserTarget": "demo:build"
          },
          "configurations": {
            "production": {
              "browserTarget": "demo:build:production"
            },
            "en": {
                "aot": true,
                "outputPath": "dist/en/",
                "i18nFile": "src/assets/i18n/messages.en.xlf",
                "i18nFormat": "xlf",
                "i18nLocale": "en"
            }
          }
    },
.......`

Step 2:
Run the command: `ng serve --configuration=en --port 4900`

Step 3: Run/try other command: `for lang in en de; do ng build --output-path=dist/$lang --aot --prod --i18n-file=src/assets/i18n/messages.$lang.xlf --i18n-format=xlf --locale=$lang; done`

**### Observed behavior**
When I run the command: `ng serve --configuration=en --port 4900`, I get the following error:

> Schema validation failed with the following errors:
> Data path "" should NOT have additional properties(outputPath).

When I run the following: `for lang in en de; do ng build --output-path=dist/$lang --aot --prod --i18n-file=src/assets/i18n/messages.$lang.xlf --i18n-format=xlf --locale=$lang; done`, I get the following error:

> Unknown option: '--locale'

**### Desired behavior**

What would like to see implemented?
i18n Internazionalization  for different languages - in this case EN and DE

What is the usecase?
Serving the App in specific language based on the serve command mentioned above.

What did you expect to see?
Serving the App in specific language based on the serve command mentioned above.

Move your "en" configuration into configuration of build command. Then referance in configuration of serve command.
 "serve": {           "builder": "@angular-devkit/build-angular:dev-server",           "options": {             "browserTarget": "Risk_Advisor:build"           },           "configurations": {             "production": {               "browserTarget": "Risk_Advisor:build:production"             },             "qa": {               "browserTarget": "Risk_Advisor:build:qa"             }

@chimung How do you reference the configuration from the serve area?

in my configuration of "qa" in serve. I reference by "name-of-your-project:build:qa". It will get configuration of "qa" in build

In this way, it would work:
 "projects": {     "ProjectName": {      .....,      "build": {             "builder": "@angular-devkit/build-angular:browser",             ....,             "configurations": {                 "production": {                     "fileReplacements": [                         {                             "replace": "src/environments/environment.ts",                             "with": "src/environments/environment.prod.ts"                         }                     ],                     "optimization": true,                     "outputHashing": "all",                     ....                 },                 "en": {                     "aot": true,                     "outputPath": "dist/en",                     "i18nFile": "src/assets/i18n/messages.en.xlf",                     "i18nFormat": "xlf",                     "i18nLocale": "en"                 },                 ....             }         },         "serve": {             "builder": "@angular-devkit/build-angular:dev-server",             "options": {                 "browserTarget": "ProjectName:build"             },             "configurations": {                 "production": {                     "browserTarget": "ProjectName:build:production"                 },                 "en": {                     "browserTarget": "ProjectName:build:en"                 }             }         },       .....      } }

@bobKasbi 's json in formatted
"projects": {   "ProjectName": {     .....,     "build": {       "builder": "@angular-devkit/build-angular:browser",       ....,       "configurations": {         "production": {           "fileReplacements": [             {               "replace": "src/environments/environment.ts",               "with": "src/environments/environment.prod.ts"             }           ],           "optimization": true,           "outputHashing": "all",           ....         },         "en": {           "aot": true,           "outputPath": "dist/en",           "i18nFile": "src/assets/i18n/messages.en.xlf",           "i18nFormat": "xlf",           "i18nLocale": "en"         },         ....       }     },     "serve": {       "builder": "@angular-devkit/build-angular:dev-server",       "options": {         "browserTarget": "ProjectName:build"       },       "configurations": {         "production": {           "browserTarget": "ProjectName:build:production"         },         "en": {           "browserTarget": "ProjectName:build:en"         }       }     },     .....   } }

https://github.com/angular/angular-cli/blob/master/docs/documentation/stories/internationalization.md

https://github.com/angular/angular-cli/blob/master/docs/documentation/stories/internationalization.md should be updated with correct instructions on how to do this.


Create hollowdiamond.java

A hollow diamond in java based on User choice

I accidently committed two codes in one pull request


Page not found error with twig

Great plugin! Worked very well after one change. I'm not sure if this is an issue with just me or not. I installed this plugin through the admin. I was getting a "page not found" error on this line {{ instagram_feed() }} in my twig file.
I ended up going into the instagram.php file in the plugin and changing line 84 from this
$url = 'https://api.instagram.com/v1/users/' . $config->get('feed_parameters.user_id') . '/media/recent/?access_token=' . $config->get('feed_parameters.access_token');
to this
$url = 'https://api.instagram.com/v1/users/self/media/recent/?access_token=' . $config->get('feed_parameters.access_token');
That's how I made the call on a Wordpress site I made a couple years back, and it still worked. The only thing is that the user_id doesn't matter using this method.
Just thought I would bring to attention if anyone else was dealing with issues with this.

Thanks Ben for reporting! Will give this change a try, and will implement if the user id is really not needed. You could contribute by making a pull request for this change.

Thanks for the pull request! Closing this issue.

Hi,
I had the same error after installing the plugin via Grav CLI, and this fix still works. But package doesn't look updated 🤔
Anyway, thanks for this plugin.

@julienvanderkluft Made the release. This fix should be soon available through Grav CLI.

@artifex404 Updated, works well 👍

Great stuff. Thanks for reporting!


[cli] Don't error when user cannot acces pac ns

when we have issue accessing the pac-configmap or listing the repo CR we
would error out. While it's perfectly valid to not be able to have those
right as user.
cf #780
Signed-off-by: Chmouel Boudjnah<EMAIL_ADDRESS>

/lgtm


M2M relationship between host & person

This is probably a big enhancement but it would be nice for any host to see what people are affiliated with it, and for any person, what host sites they are affiliated with.

It's not that big to add this relationship, but it's a big deal to affiliate people with hosts by hand.
Will admins want to manually add link people with hosts?

I agree it's an extra data entry step but I also think it will be useful to know for any host, what people we've worked with from there.  The  thing that will make this difficult to manage is that affiliations often change.  How do we want to manage this (on a human level & database design level)?
Perhaps @jduckles @tracykteal can weigh in?

I tend to think this is more the purview of a CRM tool. Not necessarily AMY. A linkage between a CRM tool and AMY would be where I suggest we do this kind of thing.  For each host, if we had that as an organization in our CRM tool automatically we could link up related correspondence, negotiations and membership deals, closed or not to keep us abreast of backstory for each organization.

Keep open or close?

It's up to @jduckles and @tracykteal

Closing for now.


Update routes.js to send a response for every request

Signed-off-by: Bhavya Aggarwal<EMAIL_ADDRESS>I have updated routes.js to send a response for every route.

Can you please review this @agentmilindu ?

@psnmissaka Thanks for reviewing my PR. Sorry but i am unwell today. Will update my PRs tomorrow morning for sure.

@psnmissaka @tharindupr Can we merge this PR?
CC @padamchopra @iammosespaulr

@agentmilindu once the issues are fixed and PR is updated, i can test the API end points and if everything works we can merge :)

@psnmissaka , an appropriate answer for that query can be found in this stack overflow query. Personally, I feel that back-tick is the best way as it allows using double quotes and single quotes within the string. But then the codacy tests won't pass 😟

I have created PR #89 to solve the codacy issues.

I have resolved the merge conflicts.

@psnmissaka @agentmilindu @padamchopra Can this be merged?

resolve conflicts and update the PR

@psnmissaka Conflicts removed.


[Enhancement] Fake Randomize

Fake Randomize, kind of like how Spotify's shuffle works.
I'd like an option where I won't get the same skin randomized again until I've used all of the other skins (for a weapon).
Eg: If I have 3 skins for a Vandal, Skin A, Skin B, Skin C
If I randomize and get Skin A, I won't get Skin A until I've gotten Skin B and C.
This would require some tracking on which skin was used in the past, (and it would need to be tied to a user?)
I think clear/deleting the cache of used skins when ever a user modify's their randomizable skins is a good.
Adding an additional command to clear the cache would also be amazing.

On the todo list for VIM


Bump version to 5.4.321 and LKG

Simply updates the version for TypeScript 5.4 to 5.4.321 and updates the LKG.
Contains all the fixes marked in https://github.com/microsoft/TypeScript/milestone/200

Missing https://github.com/microsoft/TypeScript/pull/57893

Just merged it, going to reintegrate into this LKG.

We can't have fun anymore, especially after the xz thing. 😅


/matchups/ is slow(ish)

Takes 2.5s on local including a 1.1s query:
SELECT
            p.id,
            LOWER(IFNULL(IFNULL(IFNULL(p.name, p.mtgo_username), p.mtggoldfish_username), p.tappedout_username)) AS name,
            p.mtgo_username,
            p.tappedout_username,
            p.mtggoldfish_username,
            p.discord_id,
            p.elo,
            p.locale,
            p.banned,
            SUM(1) AS num_decks,
            SUM(dc.wins) AS wins,
            SUM(dc.losses) AS losses,
            SUM(dc.draws) AS draws,
            SUM(dc.wins - dc.losses) AS record,
            SUM(CASE WHEN dc.wins >= 5 AND dc.losses = 0 AND d.source_id IN (SELECT id FROM source WHERE name = 'League') THEN 1 ELSE 0 END) AS perfect_runs,
            SUM(CASE WHEN d.finish = 1 THEN 1 ELSE 0 END) AS tournament_wins,
            SUM(CASE WHEN d.finish <= 8 THEN 1 ELSE 0 END) AS tournament_top8s,
            IFNULL(ROUND((SUM(dc.wins) / NULLIF(SUM(dc.wins + dc.losses), 0)) * 100, 1), '') AS win_percent,
            SUM(DISTINCT CASE WHEN d.competition_id IS NOT NULL THEN 1 ELSE 0 END) AS num_competitions
        FROM
            person AS p
        LEFT JOIN
            deck AS d ON d.person_id = p.id
        LEFT JOIN
            deck_cache AS dc ON d.id = dc.deck_id

        WHERE
            (p.mtgo_username IS NOT NULL) AND (TRUE)
        GROUP BY
            p.id
        ORDER BY
            num_decks DESC, p.name

We don't need all this information to make a dropdown of all people.
Plus that dropdown should almost certainly be a typeahead not a dropdown.


Infinate Phased Time Bug

Randomly phased time keeps going infinate never ending and causes problems with using weapons.

Details
When it happens phased time will never end and you can only shoot one shot from a weapon, then you have to switch wepons to fire one shot with another then switch back.
The only way i have found to make it stop is to eliminate all active enemies using the one shot with a weapon, switch wepon fire one shot then switch to first. Then once all enemies are dead sitting in a chair. Unfortunatly using a chair to try and end it with enemies active just gives you cannot use this during combat message.
Game Version
1.7.36
Language
English (EN)
New Game
No
Reproduction Steps
Technicly the answer is both yes and no, i have seen this happen plenty of times but it is random it just happens sometimes when using phased time.

This one was fixed officially.


Question: when will Detox support testing on real iOS device?

Hello,
We have a react-native iOS app that uses BLE communication. Because of this fact, we are unable to test on a simulator (no BLE support in Xcode simulator).
Do you have a rough time estimate for when Detox will support testing on real iOS devices?
Thank you!
Kevin

Please use the search function. Thanks


Open file opens in a new vscode instance

When we open a file from the OS, it should open in the existing instance of vscode.
As of now it opens in a totally new instance.

This is possible when you use the -r or --reusewindow option, pls see https://code.visualstudio.com/docs/editor/codebasics#_launching-from-the-command-line

When we do an open file in vscode from the file manager, I do not have the liberty of using command line flags, by default the behaviour of vs code should be that it opens files in an existing instance rather than in a new instance and giving ability to open in an existing instance.
This is totally out of line with basic UI/UX behaviour!


fix(typings): revert to previous typings + remove export of strava const

@nik0kin I also added an import syntax section in the readme.

I don't think we need the additional readme section. Or at least not so close to the top

This section explains how to use default imports with/without esModuleInterop, which isnt related to this strava library.

All the current examples are in commonjs import syntax. Maybe all the examples should be redone in esmodules syntax, with an additional example using a type/interface, but I think that should be done in a separate PR, so that typing can be fixed in the latest version

It cost us about half a day to figure out how to import this properly. So the section is to prevent others from running into this. Its pretty standard for libraries to have a section on top how to import a library correctly sue to different module formats being use etc.


[#3526] Add support for MSI to JS samples and generators - ARM new RG templates (2/2)

Addresses #3526
Description
This PR updates the JS samples' ARM template-with-new-rg.json files to include the parameters and resources required to support MSI.
Detailed Changes

Added appType, tenantId, existingUserAssignedMSIName, and existingUserAssignedMSIResourceGroupName parameters.
Added the connection with the provided identity in case MSI app type is selected.

Testing
This image shows the bots being deployed and tested successfully after the changes.

@BruceHaley - Could you please review this PR? Thanks!


Make sure globals initialized with ... are treated just like "..."

Otherwise, the ones with ... were always treated as used

:shipit:


Update the Guide

Motivation
We have made some fundamental changes to the way that WebNative works, including extending core components. All of those changes / options should be reflected in the Guide.
Finish Line
NOTE: Some of these sections will be duplicated in the README (See #13) with a slightly different emphasis.

[x] Document initialization options
[x] Document authentication options (Lobby versus no Lobby)
[x] Document account linking: dependency injection options

It might be helpful to show an example, at least in pseudocode, of how these dependency injections work. @bgins mentioned that a possible example could be showing a "matched pair" of a delegateAccount and linkDevice functions being passed during account linking to demonstrate sending additional secrets. Nice opportunity to emphasize the fact that device linking occurs over a secure channel!

Note: changes here are dependant on upcoming Webnative refactoring. This is nice to have for Milestone 0.2 but we will ship the blog post w/o this if necessary.

Flagging here that we should add a section to the guide about how we can't currently support Firefox as a first-class platform, based on this convo https://discord.com/channels/478735028319158273/934505479902748672/1039262334071341098

Flagging here that we should add a section to the guide about how we can't currently support Firefox as a first-class platform, based on this convo https://discord.com/channels/478735028319158273/934505479902748672/1039262334071341098

I think this needs more testing. I just tried with a fresh profile on Firefox nightly ( so default settings ) and linking to the published webnative app worked on the second try. Huh.

This is now done and will be deployed in early January. Unresolved: jess made a bunch of comments in Gitbook, someone should resolve these comments.
( some of these have all be done )

The guide updates have been completed and are live at https://guide.fission.codes/developers/webnative


Checkout - UK postcode

I am entering a valid UK postcode at /checkout/shipping-address/ however a message is displayed saying the postcode is in an invalid format for this country. The postcode I tried was NG34 8TU which is valid as it is from one of my previous addresses.
Please advise.

@mikeres0 Which version of saleor are you using?

I've tested this with the current master branch and the postal code works fine.

@artursmet this is the commit hash: 6f54dacb76e6f24dca22dcfff8035b431e18b14a

You can try for yourselves if you'd like to: https://mikeres0sales.herokuapp.com

I checked and strangely enough it seems to also work on your server. Are you sure the correct country is selected?

@mikeres0 It works fine even on your instance:

Okay well I've now found out that the postcode must be entered in upper case for it to be accepted. Should this field be made caps by default?

That looks like a problem we should solve. I don't think there are any countries with case-sensitive postal codes.


Read settings from environment variables

Presently, config settings are being read in AirbrakeConfiguration.cs like this.  When deploying (i.e. to Mono, with Capistrano, using Foreman to export a Procfile to an Upstart script), it's preferable to export environment variables.
ApiKey = ConfigurationManager.AppSettings["Airbrake.ApiKey"];
EnvironmentName = ConfigurationManager.AppSettings["Airbrake.Environment"];
ServerUri = ConfigurationManager.AppSettings["Airbrake.ServerUri"]
  ?? "https://api.airbrake.io/notifier_api/v2/notices";

This could easily be rewritten to favor env variables first for each like so:
Environment.GetEnvironmentVariable("Airbrake.ApiKey")  ??
  [ConfigurationManager.AppSettings["Airbrake.ApiKey"]

Of course, it would also be better to use conventions for these variable names like

AIRBRAKE_API_KEY
AIRBRAKE_ENVIRONMENT
AIRBRAKE_SERVER_URI

Thoughts?

With new Sharpbrake you are in full control on how config values are set. You can use the next code to initialize config options from environment variables:
var airbrake = new AirbrakeNotifier(new AirbrakeConfig
{
    ProjectId = Environment.GetEnvironmentVariable("AIRBRAKE_PROJECT_ID"),
    ProjectKey = Environment.GetEnvironmentVariable("AIRBRAKE_PROJECT_KEY")
});

I am closing this issue. Please feel free to open a new one if further discussion is needed.


Translation for mower states

I'm sorry for stupid question but I can't find ...
How to add translation to the states/states details? I have a json file in custom_components/indego/translations/ but nothing changes, everthing is in EN.
Probably it is very simple but I do not know how :(

You have to add CONF_TRANSLATION_KEY to the entity definition in the init.py (like it is done for the alert entity in the actual version 5.7.0). After that you can define your translations in the translation file

Hmmm.... would You like to explain something more? Paste a link to manual?
I can see in init.py in lines 96-103:
ENTITY_ALERT: {
        CONF_TYPE: BINARY_SENSOR_TYPE,
        CONF_NAME: "alert",
        CONF_ICON: FUNC_ICON_MOWER_ALERT,
        CONF_DEVICE_CLASS: BinarySensorDeviceClass.PROBLEM,
        CONF_ATTR: ["alerts_count"],
        CONF_TRANSLATION_KEY: "indego_alert",
},

I presume I should add something like that in that place but I'm not so good at it.

You are already on the right way.
Did i understand you right that you want to translate the mower state and mower state detail ?! Then you have to add
CONF_TRANSLATION_KEY: "mower_state"
and
CONF_TRANSLATION_KEY: "mower_state_detail"
to ENTITY_MOWER_STATE and ENTITY_MOWER_STATE_DETAIL in lines 104 and 112 (similar as you have seen it in the ENTITY_ALERT).
After that you need to specify the text that you want to translate in your translation file.
In line 40 of eg the german translation file you find
"entity": {
  "binary_sensor": {

and so on
as the state entities are sensors you have to add something like this between entity and binary sensor (here is my code that i use for my german translations).
        "sensor": {
            "mower_state": {
                "state": {
                    "Mowing": "Mähen",
                    "Docked": "Angedockt",
                    "Sleeping": "Schläft",
                    "Paused": "Pausiert"
                }
            },
            "mower_state_detail": {
                "state": {
                    "Reading status": "Status abrufen",
                    "Charging": "Laden",
                    "Docked": "Angedockt",
                    "Docked - Software update": "Angedockt - Software Update",
                    "Docked - Loading map": "Angedockt - Karte laden",
                    "Docked - Saving map": "Angedockt - Karte speichern",
                    "Docked - Leaving Dock": "Angedockt - Verlässt Ladestation",
                    "Mowing": "Mähen",
                    "Mowing - Relocalising": "Mähen - Position bestimmen",
                    "Mowing - Learning Lawn": "Mähen - Karte lernen",
                    "Mowing - Learning Lawn paused": "Mähen - Karte lernen pausiert",
                    "SpotMow": "SpotMow",
                    "Mowing randomly": "Zufälliges Mähen",
                    "Diagnostic mode": "Diagnose Modus",
                    "End of life": "Lebensende",
                    "Software update": "Software Update",
                    "Energy save mode": "Energiesparmodus",
                    "Relocalising": "Position bestimmen",
                    "Loading map": "Karte laden",
                    "Learning lawn": "Karte lernen",
                    "Paused": "Pausiert",
                    "Border cut": "Kantenmähen",
                    "Idle in lawn": "Leerlauf",
                    "Stuck on lawn, help needed": "Festgefahren, Hilfe nötig",
                    "Returning to Dock": "Zurück zur Ladestation",
                    "Returning to Dock - Battery low": "Zurück zur Ladestation - Batteriestand niedrig ",
                    "Returning to dock - Calendar timeslot ended": "Zurück zur Ladestation - Kalender Zeitfenser zu Ende",
                    "Returning to dock - Battery temp range": "Zurück zur Ladestation - Batterie Temperaturfenster",
                    "Returning to dock - Lawn complete": "Zurück zur Ladestation - Rasen vollständig gemäht",
                    "Returning to dock - Relocalising": "Zurück zur Ladestation - Position bestimmen",
                    "Returning to dock - requested by user/app": "Zurück zur Ladestation - Angefordert vom Benutzer"
                }
            },

I hope that helps you, unfortunately i can not show it better at the moment because im on vacation and only have access to my HA and github via smartphone.

@kimzeuner thank You for "wasting" Your good time then. Have a nice vacation :)
According to the main question - I have a translation file, it has been already made by @zmechu (PL) [thanks] so I added only the two mentioned lines in entity definitions. I will check it in the evening because the mower has stuck again and the integration is not working.

No idea why, will have a look if it is the same in my setup when i am back home but i dont think that this is because of your changes as the color should be state based and i think that still the original english state is used for this (standard for lawn mower entities on HA side and not defined in the integration).

Hmmm... I cannot get back to that but ... there was an entity that has an mower icon that became green during mowing, when I clicked on it I could start mowin or get back to the station. I haven't made any extra automations or scripts, it was just after installing integration. Now I'm trying to have it back and I don't know what am I doing wrong or in other way than earlier :( It was usefull option. Maybe it was in previous version and now disappeared?

You can check the following:
Go to your indego integration. On the right side next to your mower there is a button "configure". Click on it an check if you have selected "expose mower as lawn_mower entity..". If not, select it and check if the entity is back (i think a ha restart is needed after selecting it).

I was making it without effect.
Now after couple deinstall and reinstall, downgrading versions & upgrading again it came back.
I was meaning about that "entity"

Nice that it is back now. And do you have any problem with this entity ?

Nope .... rather not .... I've got a lot of troubles with the device actually and even Bosch service GB and DE are not able to solve but the HA integration is working OK so far. I will not upgrade till it works ...:)

I think I found the issue .... by first instaling the integration I'm choosing "... as lawn_mower entity" and than there's no entity for remote. Than I need to configure again and ... the option ".... as the lawn_mower" is not choosen. Than I need to check it again and the entity appears. Maybe it is only problem of my HA instance.

What's the status of issue? Maybe someone can create a PR with the new translations?

I will do that until end of the week i think

Closing this issue, let's keep the discussing in on the PR (#241).


[Question] Is there a way to filter a type's storedVariables to create a new array to iterate on?

Is there a way to create a new array of variables to iterate through? I want to find only variables with a certain annotation. So I can do something like this:
{% map type.storedVariables(filter this) into parameters using var %}{{ var.name }}: {{ var.typeName }}{% endmap %}
and create:
func someFunc({{ paramters|join:", "}}) -> SomeValue {
.....
}

Never mind. I switched to swifttemplate

That's what our filters are for, you just pipe using | operator and can use things like annotated:"something"


RFC: eapply and fapply

Is it sensible to have eapply and fapply in core Lean 4? I found a todo in the method body of apply to support the config options needed to implement eapply and fapply. I am happy to implement this todo.
Having eapply and fapply is important for the mathlib port, but they can be implemented in mathlib if they are not wanted in core lean. In any case the implementation of accepting an ApplyNewGoals argument to apply seems worth doing.
I propose modifying apply to accept a default argument (cfg : ApplyConfig := {}) where ApplyConfig is a structure with one item (so more can be added later).
structure ApplyConfig :=
(newGoals := ApplyNewGoals.nonDependentFirst)

inductive ApplyNewGoals where
  | nonDependentFirst | nonDependentOnly | all

Then add additional syntax for fapply (all) and eapply (nonDependentOnly) in the same way that the syntax is defined for apply. I will copy the docstrings from lean3
I've implemented this in https://github.com/EdAyers/lean4/tree/ApplyNewGoals

Shortcuts to the commits:

"Implement ApplyNewGoals"
"Add eapply, fapply"

Thanks for the RFC.

Is it sensible to have eapply and fapply in core Lean 4?

Sure. Do think they are useful and have good names? I never really liked these names and chose them without too much thinking when we were implementing Lean 3.
Regarding the actual PR, could you please use the Lean 4 code conventions?
I noticed two things.

We indent the definition bodies in Lean 4.
We write structures as follows

structure ApplyConfig where
  newGoals := ApplyNewGoals.nonDependentFirst

I have never had cause to use these tactics, and use more structured tactics instead. So I wouldn't mind if this was only exposed in core as apply (config := {new_goals := .nonDependentFirst}), and downstream libraries like mathlib4 can add shortcuts for this pattern if desired.

@digama0 yes I think it's a better idea to expose as a config and then add eapply and fapply in mathlib4 for porting reasons.


How is the support for tensorflow 2.0 and keras in this?

Need to understand if this support tensorflow 2.0 and tfx serving directly?

@Akpadhy,
Any updates regarding this issue? Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!