Uncaught ArgumentException caused by MSTestAdapter.PlatformServices.AssemblyResolver

Description
There is a third-party library that we load in our unit tests. The third-party framework uses AppDomain.ResourceResolve to call Assembly.Load(string) with an argument such as {aba5ee45-d30c-478e-9730-0b6c1d8bc65b}, PublicKeyToken=3e56350693f7355e. I'm not sure why it does so, but it would ordinarily succeed. The problem is that the MSTest adapter's assembly resolve handler passes this assembly name to AppDomain.CurrentDomain.ApplyPolicy:
https://github.com/microsoft/testfx/blob/7bc997580abbbdeb48eca0a4bd1a4dcc5e36fd94/src/Adapter/PlatformServices.Desktop/AssemblyResolver.cs#L402
Which causes an ArgumentException

The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

Which causes a FileLoadException in the Assembly.Load call done by the third-party library:

Could not load file or assembly '{aba5ee45-d30c-478e-9730-0b6c1d8bc65b}, PublicKeyToken=3e56350693f7355e' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

Which causes a TypeInitializerException, preventing the third-party library types from even being loaded and failing the tests.
This same code successfully loads the {aba5ee45-d30c-478e-9730-0b6c1d8bc65b} assembly when the app is running and MSTest is not in the picture. No exception is thrown, even internally.
Steps to reproduce
The target framework is net48. Package references:
    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.1" />
    <PackageReference Include="MSTest.TestAdapter" Version="2.1.2" />
    <PackageReference Include="MSTest.TestFramework" Version="2.1.2" />

Expected behavior
No interruption of whatever it is that this third-party dependency is doing; passing tests.
Actual behavior
Tests failing due to TypeInitializerException wrapping FileNotFoundException wrapping ArgumentException, none of which are thrown when MSTestAdapter.PlatformServices.AssemblyResolver is not involved.
Environment
Running and debugging tests from Test Explorer in Visual Studio 16.6.3. Windows 10.0.18363.900.

Full repro. The test fails due to a thrown exception. If you make this project into a console app, no exception is thrown.
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>net48</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.1" />
    <PackageReference Include="MSTest.TestAdapter" Version="2.1.2" />
    <PackageReference Include="MSTest.TestFramework" Version="2.1.2" />
  </ItemGroup>

</Project>

using System;
using System.Reflection;
using Microsoft.VisualStudio.TestTools.UnitTesting;

[TestClass]
public class ReproTests
{
    [TestMethod]
    public void ReproTest()
    {
        Assembly OnAssemblyResolve(object sender, ResolveEventArgs e)
        {
            var parsed = new AssemblyName(e.Name);

            if (parsed.Name == "{aba5ee45-d30c-478e-9730-0b6c1d8bc65b}")
            {
                // Return something strongly named to simulate what the third-party library does
                return Assembly.Load("mscorlib");
            }

            return null;
        }

        AppDomain.CurrentDomain.AssemblyResolve += OnAssemblyResolve;
        try
        {
            Assembly.Load("{aba5ee45-d30c-478e-9730-0b6c1d8bc65b}, PublicKeyToken=b77a5c561934e089");
        }
        finally
        {
            AppDomain.CurrentDomain.AssemblyResolve -= OnAssemblyResolve;
        }
    }
}

Hey @jnm2,
Sorry to see this issue was overlooked for so much time 🙏
I did some investigation and it seems that the only solution would be for us to provide some extra settings where we would accept a list of assembly names (or a regex) and we would skip these assemblies on all our custom resolution paths. Because this is a netfx only issue and you are the only person to have raised this issue, I'd prefer to avoid introducing such feature.
I will move forward by closing this as "won't fix bug". If we are getting more requests/thumbs up, we will reconsider the resolution state.


Migration Log

This is an auto-generated issue. The migration log is in the following comment(s).

Log Chunk 1
[2024-05-20T07:14:34Z] INFO -- Migration started by shubhajyoti-bagchi-groww from https://github.com/GrowwOld/react-native-webview to Groww-OSS/react-native-webview
[2024-05-20T07:14:34Z] INFO -- Migration ID: e1dc0a3d-41a5-46af-85a3-a1ad884ef634
[2024-05-20T07:14:34Z] INFO -- -----------------------------
[2024-05-20T07:14:35Z] INFO -- Git source migration started
[2024-05-20T07:18:46Z] INFO -- Git source migration completed
[2024-05-20T07:18:46Z] INFO -- -----------------------------
[2024-05-20T07:18:46Z] INFO -- Extraction started
[2024-05-20T07:18:52Z] INFO -- Extraction complete
[2024-05-20T07:18:52Z] INFO -- -----------------------------
[2024-05-20T07:18:52Z] INFO -- Transformation started
[2024-05-20T07:19:00Z] INFO -- Transformation complete
[2024-05-20T07:19:00Z] INFO -- -----------------------------
[2024-05-20T07:19:00Z] INFO -- Import started
[2024-05-20T07:19:00Z] WARN -- 'Allow Forking' setting could not be enabled for the repository because it is not enabled at the organization level.
[2024-05-20T07:19:24Z] INFO -- Import complete
[2024-05-20T07:19:24Z] INFO -- -----------------------------
[2024-05-20T07:19:24Z] INFO -- Migration complete
[2024-05-20T07:19:24Z] INFO -- -----------------------------


Got "ValueError: Unable to create group (name already exists)" when saving a convolutional model

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): v2.0.0-rc2-26-g64c3d382ca
Python version: 3.7.3
Bazel version (if compiling from source): N/A
GCC/Compiler version (if compiling from source): N/A
CUDA/cuDNN version: N/A
GPU model and memory: N/A

Describe the current behavior
I'm currently building a YOLOv3 model, the training was good, but when I try to save the model to h5 format, it throws out the "ValueError: Unable to create group (name already exists)".
Describe the expected behavior
It should finish the save process successfully.
Code to reproduce the issue
tf.keras.models.save_model(model, "model.h5", save_format="h5")

Other info / logs
The log:
Traceback (most recent call last):
  File "image_demo.py", line 58, in <module>
    tf.keras.models.save_model(model, "model.h5", save_format="h5")
  File "/Users/xhguo/Workspace/TensorFlow2.0-Examples/4-Object_Detection/YOLOV3/lib/python3.7/site-packages/tensorflow_core/python/keras/saving/save.py", line 112, in save_model
    model, filepath, overwrite, include_optimizer)
  File "/Users/xhguo/Workspace/TensorFlow2.0-Examples/4-Object_Detection/YOLOV3/lib/python3.7/site-packages/tensorflow_core/python/keras/saving/hdf5_format.py", line 110, in save_model_to_hdf5
    save_weights_to_hdf5_group(model_weights_group, model_layers)
  File "/Users/xhguo/Workspace/TensorFlow2.0-Examples/4-Object_Detection/YOLOV3/lib/python3.7/site-packages/tensorflow_core/python/keras/saving/hdf5_format.py", line 627, in save_weights_to_hdf5_group
    g = f.create_group(layer.name)
  File "/Users/xhguo/Workspace/TensorFlow2.0-Examples/4-Object_Detection/YOLOV3/lib/python3.7/site-packages/h5py/_hl/group.py", line 61, in create_group
    gid = h5g.create(self.id, name, lcpl=lcpl, gcpl=gcpl)
  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "h5py/h5g.pyx", line 161, in h5py.h5g.create
ValueError: Unable to create group (name already exists)

@gekowa, Please provide the complete standalone code to reproduce the reported issue.Thanks!

@gekowa, Similar issue #32672. Thanks

It has been 15 days with no activity and the awaiting response label was assigned. Is this still an issue?

It has been 30 days with no activity and the awaiting response label was assigned. Is this still an issue?

We are closing this issue for now due to lack of activity. Please comment if this is still an issue for you. Thanks!

try to use tf.keras  Lambda if you do some op on Inputs.


Encountered anonymous inline object

When I run "sanity graphql deploy" I get this error:
Error: Encountered anonymous inline image at index 1 for type/field Hero/content. To use this type with GraphQL you will need to create a top-level schema type for it. See https://docs.sanity.io/help/schema-lift-anonymous-object-type
And after checking shemas/modules/hero.js it seems to be a problem with this part:
{       title: 'Overlay Content',       name: 'content',       type: 'complexPortableText'     },
I checked that field and nothing really stands out that there so I removed it from hero.js but then this error popped up:
Error: Encountered anonymous inline object "photos" for field/type "Hero". To use this field with GraphQL you will need to create a top-level schema type for it. See https://docs.sanity.io/help/schema-lift-anonymous-object-type
The sanity docs don't really make sense in this case as well as these are already objects with unique names.
All of these use the "customImage()" though but not sure why it would break there.

Hey there @darisi! HULL doesn't utilize the GraphQL API feature for Sanity, so there are likely incompatibilities with the schema markup. Sanity requires strict schema conventions if you are wanting to deploy GraphQL APIs for your project.

Hm... strange as this error popped up for the hull studio schema. I'm adding new fields to sanity (blog posts) but not sure if I missed a step anywhere. Does hull push the schemas to sanity in a different way?

@darisi because deploying GraphQL API's (using the Sanity CLI) requires strict schema conventions, there are a handful of things within the HULL schema that will break these requirements. Things like this, for example, are not following the conventions needed to deploy GraphQL.
There is no "pushing" with the schemas, they are meant to work with deploying studios (either in a custom environment or the sanity-hosted way). The only reason you'd want to deploy GraphQL APIs is if you are planning to use GraphQL for some reason.
This is not needed to successfully run HULL though, you can simply use GROQ and the built-in Vision tool to test queries.
I hope that helps, but let me know if I'm missing something with your question!


issue-419-browser-close-auth-selector-error

Was trying to make this different way(too many lines for such simple thing...): catching before 283 line, but unfortunately, browsers didn't close.

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

@OleksandrSlobodian please sign the CLA agreement and resolve the conflicts

Signed CLA, Conflicting files is the file with changes of this PR

@OleksandrSlobodian please check if you signed CLA

@OleksandrSlobodian could the email used in github be different from the one you used to commit?

@lmangani - nope, same

@OleksandrSlobodian Try to sign in and accept the agreement with both names, one at a time.

@sergibondarenko unfortunately, sign option is blocked (gray) for my account, already signed... so overcomplicated :S

@OleksandrSlobodian run the following command
git config user.email

Are you signed in with the same email?

@sergibondarenko, nice catch!

@OleksandrSlobodian thank you for the fix.

@sergibondarenko forgot to tell: you made the awesome product!


Refactor the plugin code

Currently the plugin code is full of, auto generated code form the plugin boiler plate. These unnecessary code needs to be removed and cleaned up from the plugin code

Completed :white_check_mark:


Update referrals.md

-Removed sections and text which mention waitlist priority as this is no longer being done.
-Added comment about redeeming rewards in app.
-Other minor changes

Ah, this was already merged, nm, will change


qpdf: unknown option --replace-input

Hi
I would like to use --replace-input option with qpdf 10.5.0 ( the last for slackware 15)
unfortunaly when I do qpdf input.pdf --underlay sign.pdf --replace-input
it is always saying
qpdf: unknown option --replace-input
althought it is printed to help option:
The output file can be - to indicate writing to standard output, or it can be --replace-input to cause qpdf to replace the input file with the output.
If I do qpdf input.pdf --underlay sign.pdf -- input.pdf
I get
qpdf: input file and output file are the same; use --replace-input to intentionally overwrite the input file
How to use replace-input to replace input please? what is the syntax of --replace-input please?
Cheers

Try
qpdf input.pdf --underlay sign.pdf -- --replace-input

The --underlay option must be terminated with --.  The documentation for the underlay option can be found at https://qpdf.readthedocs.io/en/10.5/cli.html#overlay-underlay.


Not able to disable placeholder

Hi I am using this plugin in my application and want to disable the default place holder in input field, how can I do that.
Thanks,

Hello,
If you are using it with the input tag, just use the placeholder attribute of the input and it will over write the placeholder.

You can also add a space like: placeholder = " " or you can set visibility:hidden with css. These were the easiest options I found.


⚠ Bofrost.be has degraded performance

In d62f14f, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 885 ms

Resolved: Bofrost.be performance has improved in b5b9bd0 after 2 hours, 8 minutes.


Source map generation issue

In index.js:105 the applySourceMap(file, sassMap); is called that calls mozilla/source-maps and throws this https://github.com/mozilla/source-map/issues/301.
Does not matter if I want to generate the sourcemaps or not. Whilst trying to find a patch I saw that commenting that line fixes the problem. The sourcemaps are still being generated and the error vanishes.
        ...
        // Replace the map file with the original file name (but new extension)
        sassMap.file = gutil.replaceExtension(sassFileSrc, '.css');
        // Not applying the map (Apply the map)
        // applySourceMap(file, sassMap);
      }
      ...

"gulp-sass": "^3.1.0"
Better leave the sourcemap generation to node-sass.

Sorry this bug need to be fixed in the upstream issue you linked to.
That code isn't generating sourcemaps it's combining the sourcemaps from previous plugins. It cannot be commented out.


Remove old 'certificates' controller and promote 'expcertificates' to be default

What this PR does / why we need it:
This PR promotes the new certificate controller design added in v0.15 to be the default, and removes the old controller code from the codebase.
It is a far more flexible design that has proven to work well, allowing us to develop new features and further improve the extensibility of the project.
Special notes for your reviewer:
I've split this into two, first where we remove the old pkg/controller/certificates implementation (and make expcertificates the default), and another where I have moved the contents of pkg/controller/expcertificates into pkg/controller/certificates.
Release note:
Enable the new certificate controller implementations for all users

/kind feature
/milestone v0.16
/cc @meyskens @JoshVanL

/test all

/lgtm


Please help me fix the error | Nhờ thím trợ giúp sửa lỗi

Mình làm theo các bước hướng dẫn thì báo lỗi ntn, nhờ thím hướng dẫn cách sửa với nha. Cảm ơn thím
Translation: I followed the instructions and got this error. Please show me how to fix it. Thank you.

Hi, I can only speak English or Chinese, so please translate your comments to English first.
Could you please post the error message in F12 DevTools or give me a link to your deployed instance?

Tks you reply. My page link
https://onedrive-cf-index-ng-79r.pages.dev/

Hi, could you try upgrading to the latest version and try again? You can re-fork the repository and deploy it again.  If the problem persists, please provide a screenshot of the error message in DevTools.

thanks for making this awesome project bro. I want learn How can I change my onedrive index site name made in workers? not domain....only site name in URL
and one more thing, u said I can add Microsoft email on variables also, so what will be the environment variable name? for now I added on github config

IIRC, you can't rename your current project, you may have to delete and recreate it with the name you want from the beginning (the project name will be your subdomain prefix). The variable name is USER_PRINCIPLE_NAME as shown in the config file, you can add that at Cloudflare Dashboard. BTW, please open a new issue instead of asking in an unrelated one if you still have questions.

Thank u so much sir


"Pomodoro history" click is ignored

OS: Windows 8.1 64-bit
Browser: Chrome v. 69.0.3497.10 64-bit
Even if no plugin tabs opened in browser, nothing happens when i click the history option in the  plugin options menu.

Sry wrong repo


Memory leak Stream.php

Hello, i'm using react lib as a client to connect to a server. And when i run my program non-stop i have a memory exception. Is it possible to clear the stream memory?
Here is my error : Allowed memory size of<PHONE_NUMBER> bytes exhausted (tried to allocate 8182 bytes)  in : Vendor\react\stream\src\Stream.php on line 162.
Any idea to fix this?

The allocation in Stream.php was just the one that hit the limit, it doesn't mean it's the place that leaks the memory.

Yes it's the console Output stream who is more and more bigger i think

It looks like you're using a somewhat outdated version of react/stream, as the Stream class does not exist anymore.
A large number of projects have been using ReactPHP in production for years and we're not aware of any memory leaks with ReactPHP.
Please first update to the latest version. If the problem persists, please open an issue in react/stream and provide some code to reproduce the issue you're seeing and we're happy to look into this. Thanks!


Explore Larger Body Type

First, I want to say that I love what you are doing. This plugin is really solid and needed. Here are some quick feedback items:

Since the interface has been reduced and streamlined for easier reading, I would up the body font size
In the monospaced font stack, consider adding SF Mono Regular at the front of the stack for macOS users that have it installed (I've found that SF Mono is really an insanely great and readable monospaced font and it's a shame not to take advantage--GitHub does!)

Keep at it!

@RileyTomasek I'm happy to Fork and PR these things if are you interested in me exploring them.

This was fixed by #2 🎉

This was fixed by #2 🎉


Crash on Import screen

User reports:
When I import a vault (tried directly from Google drive, and via a file on my phone), app crashes when importing the vault, after hitting continue in this screen

Already fixed by #100


SQL Lab preview feature freezes GUI on large tables

A clear and concise description of what the bug is.
When SQL lab auto-generates a preview of a table, the GUI freezes if this table is large. This is what I assume is the issue.
Expected results
Generate no preview to not crash the Sql lab tab/gui.
Actual results
The sql lab preview is generated but because the table is large the browser's local storage is limited immediately and the GUI freezes/comes to a crawl.
Screenshots
I think it is related to this

How to reproduce the bug

Go to 'SQL Lab'
Click on schema -> public
Click on table -> select some large table
See GUI freezing

Environment
(please complete the following information):

superset version: 0.30.0
python version: 3.7.5
node.js version: 10.17
npm version: 6.11.3

Checklist
Make sure these boxes are checked before submitting your issue - thank you!

[ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[ ] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
A similar freezing can be achieved if you run a large query.

Just tested the same thing in 0.36 and similar problems.


[ISSUE #2321] In upstreamcheckservice, the database access in the loop is optimized.

In upstreamcheckservice, the database access in the loop is optimized.

Codecov Report

Merging #2575 (5fc91c1) into master (832f0ba) will decrease coverage by 0.34%.
The diff coverage is 81.81%.

@@             Coverage Diff              @@
##             master    #2575      +/-   ##
============================================
- Coverage     60.80%   60.45%   -0.35%
+ Complexity     4213     4185      -28
============================================
  Files           654      654
  Lines         18493    18494       +1
  Branches       1660     1657       -3
============================================
- Hits          11244    11181      -63
- Misses         6375     6441      +66
+ Partials        874      872       -2

Impacted Files
Coverage Δ

...henyu/admin/service/impl/UpstreamCheckService.java
55.55% <81.81%> (-6.85%)
:arrow_down:

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
51.57% <0.00%> (-12.64%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
67.85% <0.00%> (-10.72%)
:arrow_down:

...che/shenyu/sync/data/http/HttpSyncDataService.java
71.28% <0.00%> (-9.91%)
:arrow_down:

...apache/shenyu/admin/utils/ShenyuDictH2Trigger.java
63.63% <0.00%> (-9.10%)
:arrow_down:

...ache/shenyu/admin/utils/PluginHandleH2Trigger.java
63.63% <0.00%> (-9.10%)
:arrow_down:

.../apache/shenyu/admin/model/dto/BatchCommonDTO.java
50.00% <0.00%> (-7.15%)
:arrow_down:

...apache/shenyu/admin/model/dto/AuthPathWarpDTO.java
57.14% <0.00%> (-7.15%)
:arrow_down:

...org/apache/shenyu/admin/model/dto/AuthPathDTO.java
58.82% <0.00%> (-5.89%)
:arrow_down:

... and 25 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 832f0ba...5fc91c1. Read the comment docs.


Change tssilomon to use 'reboot' command

Debian systemd is okay with using either one. Buildroot Busybox init doesn't offer 'shutdown', changing it to reboot would allow better compatibility across multiple distributions.

Fixed in 78d155291cd61e215d121f57b4231d13be99a1f2


Error:  Something went wrong installing the "sharp" module

Description
Running the gridsome develop command results in an unexpected error related to the "sharp" module.
Steps to reproduce

Copy the "Tulip" starter template: gridsome create my-project Uninen/gridsome-starter-tulip (Note: This issue seems to be present using any starter template).
Run cd my-project as a workaround for "Error: Failed to install dependencies with yarn. Please enter my-project directory and install dependencies with yarn or npm manually. Then run gridsome develop to start local development."
Run gridsome develop in my-project directory.

Expected result
Expected a local development server at http://localhost:8080
Actual result
Received the following error: Error:  Something went wrong installing the "sharp" module
Environment
System:
OS: macOS 11.2.3
CPU: (8) arm64 Apple M1
Binaries:
Node: 16.1.0 - ~/.nvm/versions/node/v16.1.0/bin/node
Yarn: 1.22.10 - /opt/homebrew/bin/yarn
npm: 7.11.2 - ~/.nvm/versions/node/v16.1.0/bin/npm
Browsers:
Chrome: 90.0.4430.212
Safari: 14.0.3
npmPackages:
@gridsome/plugin-google-analytics: ^0.1.2 => 0.1.2
gridsome: ^0.7.23 => 0.7.23
gridsome-plugin-tailwindcss: ^3.0.1 => 3.0.1
npmGlobalPackages:
@gridsome/cli: 0.3.4

This happens due to sharp package needing libvips M1 binary available which is not by default on MacOS, therefore it tries to build it and then it fails to do so.
While we still do not have libvips binaries available for Mac M1 machines you will have to go around this issue by installing libvips using homebrew.
$ brew install libvips

Please, note that the con on this process is that libvips has lots of dependencies.
Hope it helps!

@egonbraun I installed libvips as you recommended, but I'm unsure how to proceed from here because installing libvips didn't fix the issue with the sharp package. Do you have any further recommendations on how I should proceed?

@egonbraun I installed libvips as you recommended, but I'm unsure how to proceed from here because installing libvips didn't fix the issue with the sharp package. Do you have any further recommendations on how I should proceed?

In my case, I first installed libvips and then reinstalled gridsome using npm. For me, I had the issue when installing gridsome and this fixed it for me. Maybe you should look into your environment variables, check:
$ brew shellenv libvips

@egonbraun it worked!

You rock! Thanks for holding my hand through this!

@egonbraun I'm not sure this is the case anymore, according to this sharp issue it can successfully be built on M1 Macs now. Any reason Gridsome hasn't updated sharp to use this version? https://github.com/lovell/sharp/issues/2460

@egonbraun I installed libvips as you recommended, but I'm unsure how to proceed from here because installing libvips didn't fix the issue with the sharp package. Do you have any further recommendations on how I should proceed?

In my case, I first installed libvips and then reinstalled gridsome using npm. For me, I had the issue when installing gridsome and this fixed it for me. Maybe you should look into your environment variables, check:
$ brew shellenv libvips

Adding a note here on successfully executing this workaround:
In case it isn't obvious, you may need to eval the environment variables brew outputs (execute eval $(brew shellenv libvips)), and I also needed to brew link --overwrite both imath and openexr (and you may need to install those packages if they weren't already.)

I've completed each recommended step in this issue, and have taken a look at the linked issue -- still receiving the same sharp error.  What's the actual problem here?  Does the team need to update the sharp version, or does a replacement (assuming one exists) need to be found?
Are there any general updates otherwise?  🤔

I ran into this same problem and definitely tried all of the above and was coming up with nothing.
What finally fixed it?

Well first I finally listened to my computer and upgrade to to macOS 12.4. Then I was able to get the Gridsome CLI to properly download.
I was still running into the sharp issue so I found someone who put this bit of code in their package.json.

  "resolutions": {
    "gridsome/sharp": "0.29.3"
  }

After that it finally all worked no problem. Your mileage may vary but I wanted to put this here for anyone who happens upon this thread.

@alexmarple — Oh man! Thank you soooo much! That saved my day.


Fixes csv issue with s3 not working when use_memory_table is set to false

fixes #267

thanks for the fix!

thanks for the fix!


feat: Split maxAge option into separate branch and version ages [PT-185481519]

This will allow us to continue to use different max-ages for version vs branch deploys.

@pjanik I just added the maxAge parameter last week and we haven't used it anywhere other than a test branch on SageModeler so I think we are safe.

@pjanik You can verify the lack of use in the yaml files using this search:
https://github.com/search?q=org%3Aconcord-consortium+"maxAge"+path%3Ayml&type=code


Splat dependency version out of date with requirements

When fresh installing the ReactiveUI package (6.5.0) it brings in Splat 1.0.  When deriving a model from ReactiveObject it throws a compiler error stating:
Reference to type 'Splat.IEnableLogger' claims it is defined in 'Splat.dll', but it could not be found
Upgrading Splat to the latest stable version (1.6.2) appears to resolve the issue - the nuget package dependency should be updated accordingly.
Is there a recommendation on which version should be set as the minimum for this dependency?  And if so, are there any detrimental implications to other platforms by updating it?
My environment for reproduction:
Windows 10 - Visual Studio 2015 - .Net 4.6
And another user that had the same issue (which is where I got the workaround) - looks like he's on Visual Studio 2013:
http://stackoverflow.com/questions/30963989/reactiveui-6-5-when-reactiveobject-is-inherited-in-class-i-get-a-build-error-s

This was fixed with https://github.com/reactiveui/ReactiveUI/commit/a69ddf782ad0ee9d03dd879d63ac530c5b57bc64

It would appear so - closing issue - thnx (sorry for not finding that commit before opening the issue)

Sorry to comment on a closed issue, but has this change been published to NuGet? I tried installing ReactiveUI this morning and the package manager still claims it relies on Splat (>= 1.0 && < 2.0).

@mattsinger No it hasn't, just update Splat to the latest version manually

Today I did a fresh install of reactiveui-androidsupport and I still get the same error. I had to go to Nuget and update Splat to 1.6.2.

I hit this too last week.  I'm totally new to RxUI and had to hit the StackOverflow just to figure out how to get it up and running because of this issue, which isn't an awesome way to start with a new framework.  Is it difficult to get the NuGet package updated so that others don't have to keep manually updating it?

Still an issue, installed reactiveui-core today and had to manually update Splat from 1.0.0 to 1.6.2.

Still an issue

Howdy we have pushed v6.5.1 to NuGet which resolves installation into portable class libraries that target Profile259. This release contains the exact same binaries as v6.5.0 but resolves a nuspec metadata version definition which was causing this problem.
.@ReactiveXUI v6.5.1 has been released. Resolves install into Profile259 ie UWP/XamForms. Same binaries as v6.5.0. pic.twitter.com/gBjxHQxsjZ— Geoffrey Huntley (@GeoffreyHuntley) August 17, 2016

I am using 7.0 and am getting this error:

'Could not load file or assembly 'Splat, Version=<IP_ADDRESS>,...'

Seems Splat 1.4 was installed with ReactiveUI 7.0..Having to manually installed the newer package to get this working.


Support processing 'class' syntax

What is your Scenario?
I have a webpage that presents the user with options to continue on to a a following screen. On click of an option, a javascript file uses location.href = [url] to redirect the user to a new location. Normally, scripts are altered by Hammerhead and these expressions are replaced with code that keeps the browser in the localhost proxy session (I'm not sure if this is the proper terminology for what is happening here). This one script is loaded as is without any conversions nor the intro comment of "/hammerhead|script|start/"; however, I have a class declaration in the file with public class field declarations. If I remove these, the file is converted by hammerhead and the location.href expression is replaced with a function. Without this conversion, the redirect step causes the test to go outside of the localhost proxy, all cookies are lost, and testcafe loses control of the browser.
What is the Current behavior?
Websites under test that have javascript files that use public class field declarations are not converted by hammerhead, resulting in redirects going out of the localhost proxy.
What is the Expected behavior?
Files with public class field declarations are converted by hammerhead
What is your public website URL? (or attach your complete example)
test.zip
What is your TestCafe test code?
import { Selector, t } from 'testcafe';
fixture Fixture
.page('http://<IP_ADDRESS>:8080/index.html');
// .page('https://google.com/');
test('test', async t => {
await t.click(Selector('button'));
//This step is not even reached because the redirect takes the browser out of testcafe's proxy
await t.expect(#display).contains('display=CARRIED');
});
Your complete configuration file
No response
Your complete test report
Running tests in:

Chrome 100.0.4896.88 / Windows 10

Fixture
Screenshots
No response
Steps to Reproduce

extract the zip file to a directory and run an http server in the root of that directory to <IP_ADDRESS>:8080
run npm install and run the test script: bash ./node_modules/.bin/testcafe --hostname=localhost chrome test.js
Note that the test does not get to the assertion after the redirect.

TestCafe version
1.18.5
Node.js version
v17.9.0
Command-line arguments
--hostname=localhost chrome test.js
Browser name(s) and version(s)
chrome 100.0.4896.88
Platform(s) and version(s)
windows 10
Other
No response

Hi @andrewnmccall
Thank you for the example. At present, the testing web application whose code contains the class syntax can be broken.
We will consider supporting this capability in the future.

This issue is not reproducible in TestCafe v2.2.0. Feel free to reopen this thread if you encounter this issue in v2.2.0 or later.


Move declaration of AMax and AMin to statistics routines

I forgot to move some declarations in #7222.

Jenkins, test this please.

LGTM!

Jenkins CI test (for commit 2fd5f59413a26a37e2778421bcbf61c2eb9dfc95, target branch master) failed with status FAILURE.

Jenkins, test this please.

Jenkins CI test (for commit 2fd5f59413a26a37e2778421bcbf61c2eb9dfc95, target branch master) failed with status FAILURE.

Jenkins, test this please.

Jenkins CI test (for commit 2fd5f59413a26a37e2778421bcbf61c2eb9dfc95, target branch master) succeeded!


Deserialization failures when fetching index funds

Do you intend for your library to support fetching mutual funds in addition to stocks? It seems that yahoo doesn't report an adjclose for these:
Error when fetching FSKAX: DeserializeFailed("missing field `adjclose`")
Error when fetching FSPSX: DeserializeFailed("missing field `adjclose`")
Error when fetching FXAIX: DeserializeFailed("missing field `adjclose`")
Error when fetching FXNAX: DeserializeFailed("missing field `adjclose`")
Error when fetching VBTLX: DeserializeFailed("missing field `adjclose`")
Error when fetching VFIAX: DeserializeFailed("missing field `adjclose`")
Error when fetching VMCIX: DeserializeFailed("missing field `adjclose`")
Error when fetching VSCIX: DeserializeFailed("missing field `adjclose`")
Error when fetching VSMAX: DeserializeFailed("missing field `adjclose`")
Error when fetching VTSAX: DeserializeFailed("missing field `adjclose`")
Error when fetching VTSNX: DeserializeFailed("missing field `adjclose`")

Perhaps these can be made optional? I retrieved the VTI quote fine (the ETF version of VTSAX), so it does appear to be specific to mutual funds. I also noticed a deserialization failure when fetching a money market fund, although I actually didn't intend to do this, I'm not sure if you intend for this to be possible:
Error when fetching VMFXX: DeserializeFailed("missing field `volume`")

I just want to fetch the mutual funds though. Would you like to support this in your lib?

I cloned your lib to play with this, and noticed you have a test to enforce that BF.B throws this same exception, so I'm guessing you do not want to support this. In any case I started to hack it myself to investigate. After changing high, volume, adjclose, and then even close to optional fields, I put in some logging to see the difference between VTSAX and VTI. VTSAX doesn't get any of those arrays of pricing data:
Object({
    "chart": Object({
        "error": Null,
        "result": Array([Object({
            "indicators": Object({
                "adjclose": Array([Object({})]),
                "quote": Array([Object({})])
            }),
            "meta": Object({
                "chartPreviousClose": Number(109.64),
                "currency": String("USD"),
                "currentTradingPeriod": Object({
                    "post": Object({
                        "end": Number(1625616000),
                        "gmtoffset": Number(-14400),
                        "start": Number(1625601600),
                        "timezone": String("EDT")
                    }),
                    "pre": Object({
                        "end": Number(1625578200),
                        "gmtoffset": Number(-14400),
                        "start": Number(1625558400),
                        "timezone": String("EDT")
                    }),
                    "regular": Object({
                        "end": Number(1625601600),
                        "gmtoffset": Number(-14400),
                        "start": Number(1625578200),
                        "timezone": String("EDT")
                    })
                }),
                "dataGranularity": String("1d"),
                "exchangeName": String("NAS"),
                "exchangeTimezoneName": String("America/New_York"),
                "firstTradeDate": Number(974125800),
                "gmtoffset": Number(-14400),
                "instrumentType": String("MUTUALFUND"),
                "priceHint": Number(2),
                "range": String("1d"),
                "regularMarketPrice": Number(109.36),
                "regularMarketTime": Number(1625610533),
                "symbol": String("VTSAX"),
                "timezone": String("EDT"),
                "validRanges": Array([String("1mo"), String("3mo"), String("6mo"), String("ytd"), String("1y"), String("2y"), String("5y"), String("10y"), String("max")])
            })
        })])
    })
})

The only price fields are regularMarketPrice and charPreviousClose. So, I would think if you did support this, the type might have to diverge from the current Quote struct, perhaps something like an enum of different quote types.

Thanks for highlighting this problem. Making all fields optional works, but leaves all the burden to the user of the library at would be not the best choice. It will also break existing code.
Adding a special interface for mutual funds might be a better alternative. Since it seems possible to identify the asset class from the meta data information, these could be combined with a method to interrogate the asset class up-front and maybe a helpful error message if the wrong method has been called to retrieve the data of a given instrument type. I will have a closer look at it.

I have just wrote a quick test to verify your observation - and failed (to verify). I.e. If I use get_quote_history, I do get back a valid list of quotes, including the field adjclose. Could you please specify which exact method fails for mutual funds?

Okay, the problem seems to be related to how the presumably latest quote is fetched - I'll have to investigate this a bit more.

I fixed a bug that caused a failure if the range of quote from which the latest quote is fetched contains only one quote. In addition, it seems that the yahoo API is somewhat incoherent in accepting sometimes an interval of 1 months as "1m", sometimes it has to be "1mo". However, if I try to get the latest quote for VTSAX by calling either provider.get_latest_quote("VTSAX", "1d", "1m") or provider.get_latest_quote("VTSAX", "1d", "1d") (in spite of the 1m setting being apparently ignored by the API), where provider is of type YahooConnector, I do get a valid response in my test case.
Please let me know if this solves your issue.

Hey thanks for the quick turn around. This still doesn't work for me; in fact, your test fails locally for me:
❯ cargo test
   Compiling yahoo_finance_api v1.2.2 (/home/sam/code/yahoo_finance_api)
    Finished test [unoptimized + debuginfo] target(s) in 8.03s
     Running unittests (target/debug/deps/yahoo_finance_api-65d0631998b62523)

running 11 tests
test async_impl::tests::test_api_responses_missing_fields ... ok
test async_impl::tests::test_get ... ok
test async_impl::tests::test_get_quote_history ... ok
test async_impl::tests::test_get_quote_range ... ok
test async_impl::tests::test_large_volume ... ok
test async_impl::tests::test_mutual_fund_latest ... FAILED
test async_impl::tests::test_get_single_quote ... ok
test async_impl::tests::test_mutual_fund_history ... ok
test async_impl::tests::test_mutual_fund_range ... ok
test async_impl::tests::test_search_ticker ... ok
test async_impl::tests::test_strange_api_responses ... ok

failures:

---- async_impl::tests::test_mutual_fund_latest stdout ----
thread 'async_impl::tests::test_mutual_fund_latest' panicked at 'called `Result::unwrap()` on an `Err` value: DeserializeFailed("missing field `adjclose`")', src/async_impl.rs:210:88

failures:
    async_impl::tests::test_mutual_fund_latest

test result: FAILED. 10 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.77s

error: test failed, to rerun pass '--lib'

I already wrote a small wrapper for my purposes, so no rush, but I'm happy to provide any more information for you as you try to run this down.

Interesting. But at least the two other tests (test_mutual_fund_history and test_mutual_fund_range) pass.
Apparently, sometimes (maybe depending on the day time), the last value in the series is just null. I have modified the algorithm again slightly, fetching the quotes from the last month and returning the latest valid quote from that list (the code should have done this anyway, but didn't due to some interchanged variables).
Could you please confirm whether that works for you?

Your test suite now passes locally for me, but usage fails depending on the interval argument. I get consistent failures for get_latest_quotes(mutual_fund_ticker, "1m"), but this might be expected when requesting minute intervals for mutual funds updated daily? Perhaps the best we can do is a documentation comment.
When using "1d" as your tests do, the only failure for me now is the money market fund VMFXX. If you're interested in supporting it, this is a failing test:
#[test]
fn test_money_market_latest() {
    let provider = YahooConnector::new();
    let response = tokio_test::block_on(provider.get_latest_quotes("VMFXX", "1d")).unwrap();
    assert_eq!(&response.chart.result[0].meta.symbol, "VMFXX");
    assert_eq!(&response.chart.result[0].meta.range, "1mo");
    assert_eq!(&response.chart.result[0].meta.data_granularity, "1d");
    let _ = response.last_quote().unwrap();
}

The failure is due to missing adjclose
---- async_impl::tests::test_money_market_latest stdout ----
thread 'async_impl::tests::test_money_market_latest' panicked at 'called `Result::unwrap()` on an `Err` value: DeserializeFailed("missing field `adjclose`")', src/async_impl.rs:232:88

But, I don't see much reason to support VMFXX; from what I understand it will always have a price of $1. Feel free to close this as you see fit. And again, thanks for the quick turnaround!

Yes, I would expect mutual funds to fail consistently on a minute interval. Even for the most liquid stocks most of the entries will be empty. But it will certainly be a good idea to give a more detailed description of the parameters and which values are good choices.
Regarding VMFXX, the failure is due a lack of support by yahoo. Regardless of the parameter setting,  no quotes are returned and you can't even get any infos if query it via the finance yahoo web site.

Since the issues seemed to be solved, I close this thread.


[Question] Authorization for Microsoft App ID failed?

Bot Info

App ID: d925428a-4709-4c40-acdc-34afee1f3288
SDK Platform: .NET
Active Channels: Skype, Web
Deployment Environment: Azure App Service, Visual Studio 2015

Issue Description
My bot randomly started giving me following error today. Sometimes it responds correctly and sometimes it give the error.
Authorization for Microsoft App ID d925428a-4709-4c40-acdc-34afee1f3288 failed with status code Unauthorized and reason phrase 'Unauthorized'
Is there a problem with the service?
Thanks,
Khawar

@khawarashraf - When I checked your bot today it appeared to be working normally.
Where are you seeing the error exactly?

There's definitely something wrong with this bot registration instance.
I recommend deleting this bot registration (not the bot deployment), create a new bot registration and see if that resolves it.

closing as no response from user


In the URI class (dart:core), the decodeFull method fails on certain URL-encoded strings

Summary
If certain string values (HTML URL encoded strings) are included in a string passed as input to the decodeFull method, it fails with a FormatException.

Methodology
The following code generates HTML URL encoded strings, and then tests them against the decodeFull method.

lib/uridecode.dart
List<String> generateHexUrlEncodings() {
List<String> urlEncodings = [];

List<String> characters = [
  "0",
  "1",
  "2",
  "3",
  "4",
  "5",
  "6",
  "7",
  "8",
  "9",
  "a",
  "b",
  "c",
  "d",
  "e",
  "f"
];

// https://www.eso.org/~ndelmott/url_encode.html
// URL-encoding form in hexidecimal format spans from %00 to %ff.
// Character 0 is always %,
// Character 1 is a value between 0-f,
// Character 2 is a value between 0-f,
// Iterate through every combination of %[0-f][0-f] ... %00, %01, %02, ...

// Iterate through character 1
for (var char1 = 0; char1 < characters.length; char1++) {
  // Iterate through character 2
  for (var char2 = 0; char2 < characters.length; char2++) {
    // Create the resulting string
    String encoded =
        '%${characters.elementAt(char1)}${characters.elementAt(char2)}';
    // Add to list
    urlEncodings.add(encoded);
  }
}

return urlEncodings;
}

bin/uridecode.dart
import 'package:uridecode/uridecode.dart' as uridecode;

void main(List<String> arguments) {
List<String> encodings = uridecode.generateHexUrlEncodings();

for (var encoding = 0; encoding < encodings.length; encoding++) {
  try {
    Uri.decodeFull(encodings.elementAt(encoding));
  } catch (e) {
    print('String: \n${encodings.elementAt(encoding)} \nError:\n$e\n');
  }
}
}

Environment

Dart SDK Version (dart --version)

Dart SDK version: 2.18.1

Whether you are using Windows, MacOSX, or Linux (if applicable)

MacOS 12.6

The Uri class decodes into Dart strings, which are Unicode strings (well, sequences of UTF-16 code units at least).
The are not bytes.
An escape sequence of of %C3%A5 must be interpreted to represent some sequence of UTF-8 code units.
The decodeFull method (and all the other decode methods) treat that sequence as an UTF-8 encoding of a Unicode code point U+000E5 ("å").
It could also have converted it to the code points U+00C3 and U+00A5 instead, but then you would only be able to include Latin-1 characters in the text, not every valid Unicode code point.
Because the decoding expects UTF-8, it also gives errors on invalid UTF-8 byte sequences.
If we want to allow decoding of invalid UTF-8 sequences, we must use different encoding than UTF-8. The decodeFull method does not give that option.
Maybe we could give the decodeFull method an optional {Encoding encoding = utf8} parameter, to specify the interpretation of bytes, then you could pass in latin1 instead.


Add section to thank contributors

LGTM. In the future when the list of contributors grows we can move to a humans.txt. WDYT @acabunoc ?

Decided to just merge it, realised that if we don't like it we can just change it again 😄

good choice!


Golang bug breaks timezone parsing in Signature.Decode

I just opened https://github.com/golang/go/issues/19750 as I've found a bug in time.Parse() when parsing just timezones on some machines.
Unfortunately, this affects go-git and it's where I spotted the bug in the first place: https://github.com/src-d/go-git/blob/v4/plumbing/object/object.go#L141
On my machine, when the time to be parsed is "+0000", this line leads to a time.Time object being created where Location() == time.Local. Unfortunately, time.Local is a +0100 offset, not a +0000, so the timezone changes when decoding.
Hopefully the bug will be fixed in Go, but since that could take months to be released, would you consider a patch to change that line to:
tl, err := time.Parse("2006 -0700", string("1970 " + b[tzStart:tzStart+timeZoneLength]))

?

@lupine Thank you!
Yes. We'll gladly accept a patch for this. Be sure to include a comment referencing the Go issue so that nobody undoes this in the future.

Wait. @lupine: I've checked your test case (https://play.golang.org/p/ND8CEYOKcT) and the output seems correct:
// Running locally (mac, on a machine whose local timezone is BST: +0100), I see:
//
// UTC: 0x1113a20 UTC
// Local: 0x1115860 Local
// tl1: Format: "+0000" Location: 0x1115860 Local
// tl2: Format: "+0000" Location: 0xc42006a0c0

The formatted offset looks good to me. Do you have a correct date and timezone conf in your system?

@smola the formatted offset looks fine, but Location() returns time.Local, which is actually a +0100 offset. I have no idea how that happens, but it results in the timezone of the parsed commit being different to the timezone in the packfile.
I can replicate this on multiple Go versions, on multiple machines with sane date and timezone configurations.  One is Mac OSX, one is Debian Jessie, their local times are BST because I live in the UK ^^.
Running date gives output like:
gitlab-mbp:es-git-go lupine$ date
Wed 29 Mar 2017 13:43:41 BST

lupine@home:~$ date
Wed 29 Mar 13:43:36 BST 2017

@lupine What does time.Now().Format("-0700") give you there?

package main

import "fmt"
import "time"

func main() {
	fmt.Println(time.Now().Format("-0700"))
}

Results in "+0100".
A week ago, it would have resulted in "+0000", of course :D - daylight savings time.

@lupine a PR is welcome


Allow unit testing with PHP 7.2

This small fix will avoid errors with PHP 7.2 in unit tests caused by the following ini_set.

Hi @AndreasMalecki, sorry I didn't get back to you sooner, I've been away. I can't see any issue with this really, I don't use this functionality myself though so when I run it $_defaultOptionsSet and self::$_unitTestEnabled are always false so it makes no difference to me.
However I don't want to make the change without understanding why it's needed. Could you post the error you're getting and a short explanation as to why the change is needed? From what I can tell, if you've set the session to say this runtime is a unit test then you don't want the default ini_set's to be run?

When running inside unit tests, and if you are basically initializing the whole application, Zend will also initialize the session settings that are configured. This will inevitably call ini_set() for the session settings, and this will trigger a warning that these settings cannot be changed anymore because headers are already sent.
Zend-Session has this $_unitTestEnabled property in order to allow testing session stuff without really calling PHP session functions, so you set this property to true in the test bootstrap or setUp() and can do session related activities without starting the real session - because on command line, doing real sessions is weird. Zend-Session acts as a wrapper around the core PHP session functions, and without calling them, no $_SESSION will be populated, but you are not supposed to access that in the first place, but should go via the relevant Zend_Session_Namespace object, which will continue to work in this scenario.
So TLDR: Calling ini_set() will trigger a warning, and the supposed setup in CLI tests is to set $_unitTestEnabled to true in order to prevent using the real PHP session.


Do not fail on transition: none

@YozhikM maybe we should not show error on none value of transition in media-prefers-reduced-motion? Anyway, user disable transition.
Also, we should update the example in rule’s docs.

@ai Can you check please your issue?

:+1:


Support subscription initial position

Currently, NiFi pulsar consumer does not support the option to set subscription initial position. This PR is to add a new property to set the subscription initial position.

Hi @david-streamlio,
Could you please help to review the PR?
Thank you!

@nathluu Thanks for the contribution. I have a couple of suggestions / request.

Can you separate the NiFi version update into a separate PR? I prefer to have one "change" per PR.
Can you add a default value for the subscription initial position of LATEST ?

Thanks

Hi @david-streamlio,
I reverted the version update. The default value has been set to Latest already.
Please help to review again.
Thanks

Added subscription initial position property


JsonApiSerializer many-to-many pivot data

Cant seem to find a solution to this,
Is this example possible? Where emphasis is pivot data in objective_concepts.
{
"type": "objective",
"id": "00559422-02E7-11DB-8468-BA18C3C820AE",
"relationships": {
"concepts": {
"data": [
{ "type": "concept", "id": "02B7", "meta": { "emphasis": "primary" } },
{ "type": "concept", "id": "3AF6", "meta": { "emphasis": "secondary" } },
{ "type": "concept", "id": "CB23", "meta": { "emphasis": "tertiary" } }
]
}
}
}

I don't believe meta on relationships is currently supported, but I'd need to look into it. If it's not, I'd be happy to see a pull request to support it.

Thanks for your quick reply!
However, this test shows a many to one relation, How would you add the meta if a book has multiple authors?

Hi did you resolve this... I know I'm late, but I have hit the same wall and haven't got round to a neat solution...


lingoes: Add version 2.9.2

There is only one version of the portable zip, but the installer has both two x32 and x64 versions.

/verify Download do not work, causing weird redirect

That's not I could help, so should close this pull request?


Module "kafka" (from resource.tf:12) cannot be found in the module registry at registry.terraform.io.

Team,
looks like source for module kafka is not working (source = "cloudposse/apache-kafka-cluster/aws")

was getting error - Module "kafka" (from resource.tf:12) cannot be found in the module registry at registry.terraform.io.
so i changed the source = "cloudposse/msk-apache-kafka-cluster/aws" its started working. Requesting you to take look & if its valid kindly update Git.

We just updated the docs for this.
Try this.
module "kafka" {
  source = "cloudposse/msk-apache-kafka-cluster/aws"
  # Cloud Posse recommends pinning every module to a specific version
  # version = "x.x.x"
}


[WARNING] STATE_ALARM_* deprecation in HA 2025.11

Source: helpers/deprecation.py:222
First occurred: 16:02:09 (10 occurrences)
Last logged: 16:02:20

STATE_ALARM_ARMED_HOME was used from hikvision_axpro, this is a deprecated constant which will be removed in HA Core 2025.11. Use AlarmControlPanelState.ARMED_HOME instead, please report it to the author of the 'hikvision_axpro' custom integration
STATE_ALARM_ARMED_VACATION was used from hikvision_axpro, this is a deprecated constant which will be removed in HA Core 2025.11. Use AlarmControlPanelState.ARMED_VACATION instead, please report it to the author of the 'hikvision_axpro' custom integration
STATE_ALARM_ARMED_AWAY was used from hikvision_axpro, this is a deprecated constant which will be removed in HA Core 2025.11. Use AlarmControlPanelState.ARMED_AWAY instead, please report it to the author of the 'hikvision_axpro' custom integration
STATE_ALARM_DISARMED was used from hikvision_axpro, this is a deprecated constant which will be removed in HA Core 2025.11. Use AlarmControlPanelState.DISARMED instead, please report it to the author of the 'hikvision_axpro' custom integration
STATE_ALARM_TRIGGERED was used from hikvision_axpro, this is a deprecated constant which will be removed in HA Core 2025.11. Use AlarmControlPanelState.TRIGGERED instead, please report it to the author of the 'hikvision_axpro' custom integration

Reported today after upgrading to 2024.11 :)

Will be fixed by #138

Released as v3.0.0-beta2
Later it will be upstreamed to "master" and pushed to "stable" release of 3.0.0.


Strange error, but it works normally

Thank you very much for your excellent contribution,But I found some problems while running:During training or inference, the program repeatedly warns as follows, but the program still runs:
torch.cat(): Sizes of tensors must match except in dimension 0. Got 240 and 224 in dimension 2 (The offending index is 3)
05/17/2023 20:37:16 - INFO - main -   current idx video7812 from ret returns wrong image/video, use 4266 instead.
torch.cat(): Sizes of tensors must match except in dimension 0. Got 240 and 224 in dimension 2 (The offending index is 3)
05/17/2023 20:37:17 - INFO - main -   current idx video3481 from ret returns wrong image/video, use 225 instead.

hi @zsw111-zzz , this mechanism ensures that if there are errors when loading some broken examples (videos, images, or audios), another example will be sampled to replace it instead of whole program crushing (try-except). And you can remove it by filtering save examples in advance.  The information printed is the specific error in loading.
In principle, this mechanism should only be used for training dataloader instead of test dataloader. And we have not remove it for test due to that almost all test datasets are not broken. (Most broken examples are in pretraining dataset.)

Thank you very much for your reply. Your reply perfectly solved my problem. Thank you again for your outstanding contribution!


[jvm-packages] XGBOOST4j JAR PACKAGE in LOCAL MAC OS , PUBLISH IN A LINUX MACHINE

Is anyone know something about the problem of jar package in local mac os, then run in a linux machine? I encountered some problems with it.
Caused by: java.lang.UnsatisfiedLinkError: ml.dmlc.xgboost4j.java.XGBoostJNI.XGBoosterCreate([J[J)I
at ml.dmlc.xgboost4j.java.XGBoostJNI.XGBoosterCreate(Native Method)
at ml.dmlc.xgboost4j.java.Booster.init(Booster.java:419)
at ml.dmlc.xgboost4j.java.Booster.(Booster.java:57)
at ml.dmlc.xgboost4j.java.Booster.loadModel(Booster.java:72)
at ml.dmlc.xgboost4j.java.XGBoost.loadModel(XGBoost.java:41)
at com.dianping.credit.xgboost.XgboostPrediction.init(XgboostPrediction.java:24)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at

in general, you cannot build in mac and run in linux, because XGBoost4J will adjust suffix of the native lib file based on your OS
you can adjust the build script to workaround it

https://github.com/dmlc/xgboost/blob/master/jvm-packages/create_jni.sh#L13
set it to 'so'

Thanks a lot!

I changed the suffix into .so  however, still failed.

Are you sure the native lib was successfully compiled? Or say can you see a .so file in the jar?

Have you ever succeed?
Tests in error:
BoosterImplTest.saveLoadModelWithPath:119 » UnsatisfiedLink ml.dmlc.xgboost4j....
BoosterImplTest.saveLoadModelWithStream:137 » UnsatisfiedLink ml.dmlc.xgboost4...
BoosterImplTest.testBoosterBasic:103 » UnsatisfiedLink ml.dmlc.xgboost4j.java....
BoosterImplTest.testCV:162 » UnsatisfiedLink ml.dmlc.xgboost4j.java.XGBoostJNI...
DMatrixTest.testCreateFromCSC:130 » UnsatisfiedLink ml.dmlc.xgboost4j.java.XGB...
DMatrixTest.testCreateFromCSCEx:155 » UnsatisfiedLink ml.dmlc.xgboost4j.java.X...
DMatrixTest.testCreateFromCSR:84 » UnsatisfiedLink ml.dmlc.xgboost4j.java.XGBo...
DMatrixTest.testCreateFromCSREx:106 » UnsatisfiedLink ml.dmlc.xgboost4j.java.X...
DMatrixTest.testCreateFromDataIterator:49 » UnsatisfiedLink ml.dmlc.xgboost4j....
DMatrixTest.testCreateFromDenseMatrix:184 » UnsatisfiedLink ml.dmlc.xgboost4j....
DMatrixTest.testCreateFromDenseMatrixWithMissingValue:223 » UnsatisfiedLink ml...
DMatrixTest.testCreateFromFile:60 » UnsatisfiedLink ml.dmlc.xgboost4j.java.XGB...
Tests run: 12, Failures: 0, Errors: 12, Skipped: 0

Yes

But how to understand the error here?

As i asked, can you see a so file in jar?

we fail to Building xgboost4j 0.7 ,no jar package at all.

Ok, check the log before the test , there was sth wrong when compiling native lib,

always failed , I will cry

@yangzhongj can you please open a new issue if you're facing difficulties compiling xgboost4j. The compilation pipeline has been reworked a couple of months ago.


[inception-bn] odd result of inception-bn model

train parameter is

python train_imagenet.py --network inception-bn --batch-size 128 --lr 0.05 --num-epoch 60 --lr-factor .94 --data-dir /search/data/user/xyz/ --gpus 0,1,2,3 --log-file inception-bn-Log

the output is
2015-12-24 14:07:20,585 Node[0] Epoch[0] Validation-accuracy=0.185762
2015-12-24 16:44:45,515 Node[0] Epoch[0] Validation-accuracy=0.179847
2015-12-24 18:44:46,632 Node[0] Epoch[1] Validation-accuracy=0.044597
2015-12-24 20:44:36,960 Node[0] Epoch[2] Validation-accuracy=0.004527
2015-12-24 22:44:28,468 Node[0] Epoch[3] Validation-accuracy=0.002438
2015-12-25 00:44:17,589 Node[0] Epoch[4] Validation-accuracy=0.001758
2015-12-25 02:44:04,579 Node[0] Epoch[5] Validation-accuracy=0.001002
2015-12-25 04:44:01,423 Node[0] Epoch[6] Validation-accuracy=0.001019
2015-12-25 06:44:08,211 Node[0] Epoch[7] Validation-accuracy=0.001542
2015-12-25 08:44:10,369 Node[0] Epoch[8] Validation-accuracy=0.001359
2015-12-25 10:44:30,531 Node[0] Epoch[9] Validation-accuracy=0.001019

the result is bad from the week, before is similar with the result show in the link
https://github.com/dmlc/mxnet/tree/master/example/image-classification
and the mnist model has no problem.

does this has relation to bn?

@mli

i think @antinucleon @winstywang @mavenlin are already on fixing the possible bug

@mli  can you give me a few info about it?

@qiaohaijun I guess it is mainly due to optimizer, currently it doesn't distinguish the type of parameters, and add decay to both weight and bias and the parameters of bn. We are still on the way to a clean solution.


Increment package version storage 397134

This is the changes from the bot.  However, the step to create pull request failed in release pipeline.

/check-enforcer evaluate

closing as changes from coming storage releases would increment the version.


Adding a group of buttons

Details
I want to add a group of three buttons with slightly different animations on them.
Screenshots

Type of Contribution

[ ] Update to an existing Animated Button
[X] Adding a new Button
[ ] Resolving a bug
[ ] Proposal to the Repository
[ ] Changes related to documentation or README.md
[ ] Other Changes

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue
[X] I am a GSSoC'23 contributor

This is because the preview for buttons will be suited for one button only, adding three to a single file may cause distortion.
That's why I am closing this issue.


Run rustfmt to fix whitespace.

Commit e6ec2400fc introduced some trivial whitespace issues.

Rare but real_s3: https://neon-github-public-dev.s3.amazonaws.com/reports/pr-4098/release/4820988749/index.html#suites/ec4311502db344eee91f1354e9dc839b/aaf287c4b73b92a4/


Enforce endianness in serial library

Description
Enforce endianness with std::endian::native, std::endian::little, std::byteswap, etc.
Files
Sts1CobcSw/Serial/Serial.hpp

This is a duplicate of #34.


Code Coverage DataCollector in .runsettings throws exception

Description
I'm trying to make a custom .runsettings file but if I add a DataCollector tag with a friendlyName of Code Coverage vstest throws and exception and messes up the code coverage results.
Steps to reproduce
.runsettings file:
<?xml version="1.0" encoding="utf-8"?>
<RunSettings>
  <DataCollectionRunSettings>
    <DataCollectors>
      <DataCollector friendlyName="Code Coverage">
        <Configuration>
          <CodeCoverage>
            <ModulePaths>
              <Exclude>
                <ModulePath>.*tests.dll$</ModulePath>
              </Exclude>
            </ModulePaths>
            <Sources>
              <Exclude>
                <Source>.*\\Migrations\\.*</Source>
              </Exclude>
            </Sources>
          </CodeCoverage>
        </Configuration>
      </DataCollector>
    </DataCollectors>
  </DataCollectionRunSettings>
</RunSettings>

Expected behavior
Settings to be correctly applied to the Code Coverage datacollector.
Actual behavior
Exception is thrown and code coverage results are incorrect/incomplete because of it.
Diagnostic logs
========== Starting test discovery ==========
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v<IP_ADDRESS>+5ebf84cd75 (64-bit .NET 6.0.22)
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v<IP_ADDRESS>+5ebf84cd75 (64-bit .NET 6.0.22)
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v<IP_ADDRESS>+5ebf84cd75 (64-bit .NET 6.0.22)
[xUnit.net 00:00:00.61]   Discovering: ***.Core.Tests
[xUnit.net 00:00:00.96]   Discovering: ***.Web.Tests
[xUnit.net 00:00:01.10]   Discovered:  ***.Core.Tests
[xUnit.net 00:00:01.11]   Discovering: ***.Infrastructure.EntityFramework.Tests
[xUnit.net 00:00:01.33]   Discovered:  ***.Web.Tests
[xUnit.net 00:00:01.47]   Discovered:  ***.Infrastructure.EntityFramework.Tests
========== Test discovery finished: 316 Tests found in 4,4 sec ==========
No C++ projects found in the solution. Dynamic C++ code coverage will be disabled. Static C++ code coverage will be enabled. If report is missing some C++ projects please enable /PROFILE linker option. More information: https://docs.microsoft.com/visualstudio/test/customizing-code-coverage-analysis#static-and-dynamic-native-instrumentation
========== Starting test run ==========
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v<IP_ADDRESS>+5ebf84cd75 (64-bit .NET 6.0.22)
[xUnit.net 00:00:00.27]   Starting:    ***.Core.Tests
[xUnit.net 00:00:05.66]   Finished:    ***.Core.Tests
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v<IP_ADDRESS>+5ebf84cd75 (64-bit .NET 6.0.22)
[xUnit.net 00:00:00.29]   Starting:    ***.Web.Tests
[xUnit.net 00:00:01.99]   Finished:    ***.Web.Tests
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v<IP_ADDRESS>+5ebf84cd75 (64-bit .NET 6.0.22)
[xUnit.net 00:00:00.24]   Starting:    ***.Infrastructure.EntityFramework.Tests
[xUnit.net 00:00:01.51]   Finished:    ***.Infrastructure.EntityFramework.Tests
System.InvalidOperationException: Sequence contains more than one matching element
   at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.TestRunAttachmentsProcessing.TestRunAttachmentsProcessingManager.<ProcessAttachmentsAsync>d__9.MoveNext() in /_/src/Microsoft.TestPlatform.CrossPlatEngine/AttachmentsProcessing/TestRunAttachmentsProcessingManager.cs:line 164
System.InvalidOperationException: Sequence contains more than one matching element
   at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.TestRunAttachmentsProcessing.TestRunAttachmentsProcessingManager.<ProcessAttachmentsAsync>d__9.MoveNext() in /_/src/Microsoft.TestPlatform.CrossPlatEngine/AttachmentsProcessing/TestRunAttachmentsProcessingManager.cs:line 164
========== Test run finished: 316 Tests (316 Passed, 0 Failed, 0 Skipped) run in 5,7 sec ==========
========== Starting test discovery ==========
========== Test discovery skipped: All test containers are up to date ==========

Environment
Tested Visual Studio versions:

17.7.4
17.8.0 Preview 2.0

If I use automatic detection it also seems to detect the .runsettings file twice
========== Starting test discovery ==========
========== Test discovery skipped: All test containers are up to date ==========
Using automatically detected runsettings file(s). To learn more visit https://aka.ms/vs-runsettings.
Using automatically detected runsettings file(s). To learn more visit https://aka.ms/vs-runsettings.
No C++ projects found in the solution. Dynamic C++ code coverage will be disabled. Static C++ code coverage will be enabled. If report is missing some C++ projects please enable /PROFILE linker option. More information: https://docs.microsoft.com/visualstudio/test/customizing-code-coverage-analysis#static-and-dynamic-native-instrumentation
========== Starting test run ==========
...

@atharkes Can you please elaborate what's wrong in generated coverage file? Is it reporting wrong coverage or coverage data is missing (project/class/method missing)?


[DOCFIX] Add dora doc structure

Add the doc structure

alluxio-bot, recheck this please

@LuQQiu It seems work in progress?

@bzheng888 Please keep an eye on this PR 👁

@maobaolong will have quick iterations on doc updates, and feel free to give us feedback on what docs are helpful for you

alluxio-bot, merge this please

@LuQQiu Thanks for this useful document, it can certainly help us to getting closer to Dora.
It would be better if the presto with dora document can be completed, then we can run some big data workload test follow the instruments.

@LuQQiu Thanks for this useful document, it can certainly help us to getting closer to Dora.
It would be better if the presto with dora document can be completed, then we can run some big data workload test follow the instruments.

I will complete it later.

@LuQQiu I'm here to complain about the PR title. I was looking for the deployment instruction, and I know if it exists it must be somewhere inside the dora branch. I checked all the commits in the dora branch, and I saw the title of this PR is "add dora doc structure", which made me incorrectly thought "this doc change only has structure but not content", so I missed it :( And the description provide no extra information :(


Fix install location of samples

At the moment the compiled samples get installed to /usr/bin and the source gets installed to /usr/samples. Fixed with this commit.

Similar to pull request #74, the samples were installed under ${BUILD_DIR}/package/bin.

That is acctually not the case..
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_sgemv
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_ssymv
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_ssyrk
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_ssyr2k
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_strmm
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_strsm
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_strmv
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_strsv
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_sger
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_cher
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_ssyr
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_ssyr2
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_cherk
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_ssymm
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_chemm
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_stpmv
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_chpmv
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_stpsv
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_sspmv
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_sspr
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_chpr
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_sspr2
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_zhpr2
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_sgbmv
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_stbmv
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_ssbmv
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_chbmv
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_stbsv
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_cher2k
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_sswap
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_sscal
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_csscal
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_scopy
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_saxpy
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_sdot
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_srotg
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_srotmg
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_srot
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_srotm
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_snrm2
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_sasum
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/example_isamax
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/bin/version
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_sgemv.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_ssymv.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_sgemm.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_strmm.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_strsm.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_ssyrk.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_ssyr2k.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_strmv.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_strsv.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_sger.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_ssyr.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_ssyr2.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_ssymm.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_cher.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_chemm.cpp
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_cherk.cpp
-- Up-to-date: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_ssymm.c
-- Up-to-date: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_chemm.cpp
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_stpmv.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_chpmv.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_stpsv.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_sspmv.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_sspr.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_chpr.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_sspr2.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_zhpr2.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_sgbmv.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_stbmv.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_ssbmv.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_chbmv.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_stbsv.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_cher2k.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_sswap.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_sscal.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_scopy.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_csscal.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_saxpy.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_sdot.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_srotg.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_srotmg.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_srot.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_srotm.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_isamax.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_snrm2.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/example_sasum.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/clBlasVersion.c
-- Installing: /var/tmp/portage/sci-libs/clblas-9999/image/usr/samples/CMakeLists.txt

The path /var/tmp/portage/sci-libs/clblas-9999/image gets stripped in the next step of the package installation, calling make install directly would also result in installing the samples source to /usr/samples and the binaries to /usr/bin which is definitely incorrect on Linux systems.

BTW, this is quite similar to https://github.com/clMathLibraries/clFFT/pull/76.

How should we proceed here?

For some reason Travis CI did not catch that this pull request causes CMake error. Cmake does not seem to like the if-else statement within install(). I have made pull request #96 to patch this.

First of all thanks for merging and furthermore thanks for fixing the pull request with #96.


class property inference in constructors not working

Bug Report
According to this feature we should be able to define properties inside constructors.
🔎 Search Terms
class property inference in constructor not working
🕗 Version & Regression Information

This is a crash
This changed between versions ______ and _______
This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________
I was unable to test this on prior versions because _______

⏯ Playground Link
Playground link with relevant code
💻 Code

class Foo {
  constructor() {
    this.greeting = 'hello!'; // ERROR
  }
}
var x = new Foo();
console.log(x.greeting); // ERROR

🙁 Actual behavior
TS does not recognize that the property exists
🙂 Expected behavior
TS should recognize that the property exists

I see! That's unexpected that the same code behaves differently based on file type.

I see! That's unexpected that the same code behaves differently based on file type. I'd expect the difference to be type annotations or not type annotations, but not different forms of type inference.


Add setting allow_automatic_updates: false to examples

This is a cherrypick of #2882 .  It contains a fix for the cloud-batch test which is currently broken in 'release-candidate'.


Find a good Javascript test framework

Evaluate frameworks. Decide on one.
Possible criteria:

easy to learn/use
good coverage reporting
flexible enough to handle a large range of scenarios

Possible candidates:

Mocha
Chai
There is one (can't remember the name) that I have used at work. I will find out what it is and add it
Others?

mocha is a nice and easy javascript test framework. I also used chai for assertions (expectations in chai). Both of these have a very nice, natural language. With a little practice, I think this is something that we could easily catch on to.
I will add some more notes on this to the wiki.


MF-688 - InfluxDB writer invalid time parsing

What does this do?
This pull request fixes invalid time parse in InfluxDB writer.
Which issue(s) does this PR fix/relate to?
This pull request fixes #688.
List any changes that modify/break current functionality
There are no such changes.
Have you included tests for your changes?
No, this is a simple fix.
Did you document any new/modified functionality?
No, since this is just a fix of the already documented feature.

Codecov Report

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

@@            Coverage Diff            @@
##           master    #689      +/-   ##
=========================================
+ Coverage   86.29%   86.3%   +<.01%
=========================================
  Files          62      62
  Lines        3722    3723       +1
=========================================
+ Hits         3212    3213       +1
  Misses        353     353
  Partials      157     157

Impacted Files
Coverage Δ

writers/influxdb/messages.go
85.91% <100%> (+0.2%)
:arrow_up:

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 4f62f89...9ba805c. Read the comment docs.


update src folder links

resolve https://github.com/phalcon/phalcon/issues/377

Thank you @Arhell


Added GridTable component (DRAFT)

This PR was not merged into DEV and should be tested there before making it ready.


⚠ Samsung has degraded performance

In a25a85c, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2311 ms

Resolved: Samsung performance has improved in 1070639.


how to revoke WindowsPreview feature

I run the following command to enable windowsPreview.
"az feature register --name WindowsPreview --namespace Microsoft.ContainerService"
how can i turn off this features?
Thanks.

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

ID: 6de70aec-9ebe-5655-6657-5c171de374b1
Version Independent ID: c9eb35c8-8703-511b-987b-e2a441be2e47
Content: Preview - Create a Windows Server container on an Azure Kubernetes Service (AKS) cluster
Content Source: articles/aks/windows-container-cli.md
Service: container-service
GitHub Login: @TylerMSFT
Microsoft Alias: twhitney

@junpark12 Currently there is no option for revoking/unregister the preview feature.
However, I found similar issue raised for AKS service, and it is currently in development.
I am closing the issue for now, this will be available once the development is completed. Which can be also seen in the announcements page.


Disable doesn't work when multiple fields have the same key

I'm submitting a ...  (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request

Current behavior
When having multiple fields with the same key in a single form, if you attempt to disable the form only the last field with the same key will be correctly disabled, even if the other fields are hidden.
Expected behavior
All fields with the same key should react to the changes
Minimal reproduction of the problem with instructions

Stackblitz: https://stackblitz.com/edit/formly-duplicate-key-issue
Using the provided Stackblitz, I've added a 'Type' dropdown that changes the visible field for the param1 key. When disabling the form, only the second field with param1 reacts to it, whereas the first remains enabled.
What is the motivation / use case for changing the behavior?
My use case for this is a field which is saved in a generic column but may have multiple types. In the form, this may translate into different types of controls. These different fields may also have different validations, and different expressionProperties. I don't want/care about model synchronisation across these inputs, and only want them to control their templateOptions independently.

@aitboudad is there any merit to allowing the synchronization of data? I'm thinking for if/then/else in jsonschema

@kenisteward already covered by formly, when the hidden field is shown we assign the model value to the attached field.

v5.5.2 is released which includes a fix for this issue!


Context menu keyboard navigation

Describe the bug
Right now the context menu doesn't follow the correct tabbing semantics for a menu role.
FloatingFocusManager should have the preventTabbing prop (so only arrow key navigation controls the menu).
Further, is the first item intentionally focused upon opening the menu? When pressing the ArrowDown key, it requires two presses to begin navigating to the items but should only require one. The activeIndex may not be synced correctly.
In the example it focuses the floating element on open and arrow key nav will then work as expected.
    useLayoutEffect(() => {
      if (open) {
        refs.floating.current?.focus();
      }
    }, [open, refs.floating]);

To Reproduce
Right click and use keyboard nav

I explored this issue and have got the following things to discuss

FloatingFocusManager should have the preventTabbing prop

Tried this, behaves as expected arrow keys work, tabbing is blocked

pressing the arrow down key, requires two presses to begin navigating to the items

Debugged this and found out activeIndex is set to null even though the menu item is selected for the first time
Tapping the arrow down key once makes index 0 then subsequently to 1
Looked at focus events which first is taken by dialog element(index is null) then moved to first button(index is 0)
Found in docs that FloatingFocusManager has initialFocus prop that defaults to 0
If this initialFocus is set to -1 it then behaves as expected with both arrow keys and tabs, also no menu item is selected for the first time
Is solution of using preventTabbing or initialFocus fine, i have very less idea about a11y


Make this screw cylindrical head

so it can be turned by hand without the need of an allen wrench

added


spicetify-cli: 2.20.1 -> 2.20.3

Description of changes
https://github.com/spicetify/spicetify-cli/releases/tag/v2.20.3

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

1 package built:

spicetify-cli


Enforce creation of objects with initial/default state?

Hi!
I have an FSM that looks like this
[review] -> active <--> paused
   |           |           |
   |           v           |
   \------> deleted <------/

review is the initial state.
Now I noticed, that both .save and __init__ of my model allow direct creation with states that are not review, not the default/initial state. There is custom code similar to this, to enforce that behavior:
    def _deny_creation_with_non_initial_state(self):
        if self.pk is None and self.status == ............:
            raise TransitionNotAllowed()

    def save(self, **kwargs):
        self._deny_creation_with_non_initial_state()
        super().save(**kwargs)

I have a feeling though that my approach is more complicated than necessary. Is there a way to add transitions from before existence to object creation a la source=None, target='review' or so? Any ideas?
Thanks!

Yeah, Django-fsm seems lack of notion of initial starting state, so there is no restrictions on it.
That's interesting point for design.

I've used django-fsm in a few projects and also had this question about how I can enforce new objects to be created with a particular status. @moseb your code seems like a decent solution, but it would be great if django-fsm provided a nice way to enforce this.


How to compile this project?

Hello, I tried compile using cMake on Windows and Ubuntu, but it gives bunch of errors, in Windows it said that I've not configured OpenSSL, but I added it already to my system environment variables, on Linux the autoconf messed up..
So, do you have any more detailed to compile this tool, I would very much appreciate. Thanks in advance!!

Hello,
TL;DR: Could you assist me in testing the dev branch?
===
I have been working on linking OpenSSL statically, but I have encountered difficulties in doing so. As a result, I have decided to remove the OpenSSL dependency by migrating it to Botan.
Your assistance in testing the dev branch would be greatly appreciated.
Please let me know if you have any questions or need further clarification.
Thank you.

Yes, I do want to help you on tesing dev branch. How should we contact btw? This project looks awesome 🙂

You could contact me at: zxc25077667[at]gmail.com.

@bphucc BTW, could you help me try this commit?
https://github.com/25077667/VMPilot/commit/6f183147ceb0f76b9064751ab798ce81e071da20

I configured and compiled without any issue, platform is a fresh Windows 10 21H2, I also installed OpenSSL from this link(full installer), and set the OPENSSL_INCLUDE_DIR manually in the cMake configuration, this is the result:

You want any other information? Btw I also finding for sdk.hpp file for testing out the obfuscation, but I couldn't find it.

Thank you for your update. It's great to hear that you were able to configure and compile everything smoothly on a fresh Windows 10 21H2 platform.
Regarding the sdk.hpp file for testing out the obfuscation, I apologize for any confusion caused. The sdk.hpp file is currently a work in progress and not yet available. Once it is ready for testing, we will make sure to provide it to you.
If you have any other questions or need further assistance, please feel free to let me know.


Backport 2.16: Make assemble changelog script enforce line length

Straightforward backport of #4202.

This is a trivial backport in a maintenance script, so I am merging it with a single approval.


nginx-slim: dropping privileges from root

What's all this security stuff then? 💪
I can't identify a reason why nginx ingress controller pods should be running as root so I dropped privileges to support a strict container level security context.
In strictly secured kubernetes clusters this pod just ends up on a whitelist of those that run as root and I don't want to do this anymore. Neither should anyone else imo 😄
some questions:

In order to support readOnlyRootFilesystem I've mounted a number of emptyDir volumes in the example replication contoller. I don't think this is the best place to keep the pid file but I'm unsure of another solution other than moving it into a non-standard directory like /etc/nginx/nginx.pid or something. Help?

This should be considered a major (read: breaking) change. Does a minor version increment support this change? I expect anyone flipping a minor version without reading the change log would incur downtime on their services while they deal with security controls.

Other nits addressed in review comments

This change is

Since echoserver depends on this I included it in this PR. /shrug

Coverage increased (+0.03%) to 44.587% when pulling 7935bf2e059cd415f6c717e5eff81e7ce1df6441 on JonPulsifer:drop-nginx-privs into 34dee39990f7ca23e4ea595121fb6134ba7db284 on kubernetes:master.

fwiw and those following this isn't complete and requires a few more changes to the controller. I don't know if I should separate this into a number of PRs or just keep them in the one because of the changes required.

@JonPulsifer what problema are you trying to solve? nginx already runs as user nobody.
With your change we cannot use port 80 and 443 (when hostPort is used) so this is a no go from the start.
We cannot impose the use of non privileged ports.

@JonPulsifer using emptyDir for the proxy directory is not a good idea because it can consume all the ram from the tmpfs and create a self DOS affecting all the load in the running node.

Coverage remained the same at 44.559% when pulling ba586b1f898ae860ce42e551ad41b07ebf7a3d05 on JonPulsifer:drop-nginx-privs into 34dee39990f7ca23e4ea595121fb6134ba7db284 on kubernetes:master.

I would think you would only need root if using hostNetwork. nodePort shouldn't need it as its a iptables portmapping?

@aledbf I'm trying to get the nginx-ingress-controller to validate against against a strict pod security policy (runAsNonRoot, readOnlyRootFilesystem)
I can't seem to find a reason for the nginx master to run as root considering the abstractions we have available
the fol spec seems to work for me:
containers:
- image: gcr.io/myproject/nginx-ingress-controller:latest
  name: nginx-ingress-controller
  ports:
  - containerPort: 8080
    hostPort: 80
  - containerPort: 8443
    hostPort: 443
  securityContext:
    runAsNonRoot: true

I believe this satisfies hostPort requirements?

I don't really have time to champion this but I still think we're missing opportunities to supply secure infrastructure to the community. I'll considering raising an issue for this later


add a better formatted calendar picker ( VE-1067 )

This pull request introduces 8 alerts when merging 35e2db350b61bebf52e042689df75985d69257de into 84aa7215277dc93b333c30db30b036726ffd3680 - view on LGTM.com
new alerts:

5 for Comparison between inconvertible types
3 for Useless conditional

Comment posted by LGTM.com

This pull request introduces 8 alerts when merging 78b8d7d2cd1ee66e09d3a742e6769a1967e63307 into 84aa7215277dc93b333c30db30b036726ffd3680 - view on LGTM.com
new alerts:

5 for Comparison between inconvertible types
3 for Useless conditional

Comment posted by LGTM.com

@chhaymenghong this looks great but can you disallow selection of dates in the future?

@shakeh absolutely! coming right up

This pull request introduces 8 alerts when merging df995bbe85f0640d4122ea277e59beff07bc4e46 into 1441d6a47526657a3ded8223995ac1926980cfcc - view on LGTM.com
new alerts:

5 for Comparison between inconvertible types
3 for Useless conditional

Comment posted by LGTM.com


LIS Area: consolidate into LIS_DEPLOY

Make obsolete the LIS tag, just move them to CORE area to avoid too much disruption in pipelines
Rename tests to remove the LIS from title, tests are generic.
Move LIS RPMs related tests to the LIS_DEPLOY xml and area.

@iamshital @johnsongeorge-w please approve this but do not merge, will do that tomorrow after I also check some of the pipelines we maintain to remove the LIS area wherever needed.
Thank you!

@iamshital @johnsongeorge-w please approve this but do not merge, will do that tomorrow after I also check some of the pipelines we maintain to remove the LIS area wherever needed.
Thank you!

Missed this comment and merged already. Please next time use the built-in label.

@iamshital @johnsongeorge-w please approve this but do not merge, will do that tomorrow after I also check some of the pipelines we maintain to remove the LIS area wherever needed.
Thank you!

Missed this comment and merged already. Please next time use the built-in label.

Will do. This one was fine, already had an email to Jonson and Shital, we were ready for this merge.
Thank you!


Missing RunspaceConnectionInfo Types

VMConnectionInfo - https://docs.microsoft.com/en-us/dotnet/api/system.management.automation.runspaces.vmconnectioninfo?view=pscore-6.2.0
SSHConnectionInfo - https://docs.microsoft.com/en-us/dotnet/api/system.management.automation.runspaces.sshconnectioninfo?view=pscore-6.2.0

The SSHConnectionInfo type is not available in PowerShell 5 so it mustn't be in the standard. The VMConnectionInfo object was explicitly remove (I'm trying to track down why now)


VS Code cannot treat java file which contains large 'enum'.

VSCode Version: 1.14.2 (32bit, 64bit both have problem with this)
OS Version: Windows 7

Steps to Reproduce:

Create an empty java file.

Open it with notepad.exe and type this -> 3 times or more.

public enum test {
AAAAAAAAAAA, BBBBBBBBBB, CCCCCCCCCC, DDDDDDDDDD, EEEEEEEEEE, FFFFFFFFFF, AAAAAAAAAAA, BBBBBBBBBB, CCCCCCCCCC, DDDDDDDDDD, EEEEEEEEEE, FFFFFFFFFF, AAAAAAAAAAA, BBBBBBBBBB, CCCCCCCCCC, DDDDDDDDDD, EEEEEEEEEE, FFFFFFFFFF, AAAAAAAAAAA, BBBBBBBBBB, CCCCCCCCCC, DDDDDDDDDD, EEEEEEEEEE, FFFFFFFFFF, AAAAAAAAAAA, BBBBBBBBBB, CCCCCCCCCC, DDDDDDDDDD, EEEEEEEEEE, FFFFFFFFFF, AAAAAAAAAAA, BBBBBBBBBB, CCCCCCCCCC, DDDDDDDDDD, EEEEEEEEEE, FFFFFFFFFF, AAAAAAAAAAA, BBBBBBBBBB, CCCCCCCCCC, DDDDDDDDDD, EEEEEEEEEE, FFFFFFFFFF, AAAAAAAAAAA, BBBBBBBBBB, CCCCCCCCCC, DDDDDDDDDD, EEEEEEEEEE, FFFFFFFFFF, AAAAAAAAAAA, BBBBBBBBBB, CCCCCCCCCC, DDDDDDDDDD, EEEEEEEEEE, FFFFFFFFFF,
}

Save the file, and open it with VS Code.

Observe. It'll take very long time to open and applying syntax highlight.

Reproduces without extensions: Yes

This issue was moved to atom/language-java#103


Upgrade gradle version in use to 7.6

Command that was used to produce the upgrade diff:
./gradlew wrapper --gradle-version=7.6

Digging into that flakey test.

@holzensp All tests that use PackageServer are flaky.
Higher Gradle versions just seem better at exposing the flakiness.
The proper fix is to bind PackageServer to a dynamic port.
(Currently the port is hardcoded to 12110.)
I'd be happy to take this on. It's a natural follow-up to #157.

@holzensp All tests that use PackageServer are flaky. Higher Gradle versions just seem better at exposing the flakiness. The proper fix is to bind PackageServer to a dynamic port. (Currently the port is hardcoded to 12110.)

Yes, it appears to be increased concurrency with which the tests are run. We are no playing around with assigning different ports.

I'd be happy to take this on. It's a natural follow-up to #157.

Thanks for the offer, but work is underway as we speak, so let's avoid the duplication of effort. Press on as if these are fixed!

@holzensp FYI every clean build of the main branch fails with connection refused errors on my machine. I always need to run the build a second time to get past the flaky tests. In my experience, binding test servers to dynamic ports (or cutting out the network layer) is the only good solution.
I'm ready to send a PR for #157 but have been holding back to give you guys a chance to catch up with other PRs.

Much appreciated @translatenix. @KushalP is also working on a PR to avoid port binding conflicts when tests are run in parallel. The tests really aren't rigid enough. Your #157 will likely help with remaining fickleness of these tests. Reviewing today (promise).