Enable support for ADAL >= 3.14.2 in AppAuthentication

This is messing with our other projects since it has a hard dependency on 3.14.2 even though it says it should be compatible with >=3.14.2 We are using 3.19.4 and are unable to get it working.

Thank you for opening this issue! We are routing it to the appropriate team for follow up.

There is no upper limit set in the ADAL dependency. You should be able to use any ADAL version above 3.14.2 for the stable release and above 3.19.4 for the preview release of App Auth. Can you please try to upgrade the ADAL version after you install App Auth package?

@SahilSancheti , do you have an update on this?

Closing as this is a false positive.

There is no upper limit set in the ADAL dependency. You should be able to use any ADAL version above 3.14.2 for the stable release and above 3.19.4 for the preview release of App Auth. Can you please try to upgrade the ADAL version after you install App Auth package?
Unfortunately there is an upper limit. You cannot use it with version 4.3 or higher

Can you please elaborate? Where is this upper limit being defined? What scenario is not working? Thanks!

Sorry, should have provided some more information. Yesterday ran into the problem that the latest version (1.0.3) doesn't work with the latest version of ADAL (4.5.1) because of breaking changes in the ADAL lib (https://github.com/AzureAD/azure-activedirectory-library-for-dotnet/wiki/Changes-adalnet-4.0) and in particular the missing file Microsoft.Identity.Models.Clients.ActiveDirectory.Platform.dll. Does this clear everything up?

Created an issue for this. https://github.com/Azure/azure-sdk-for-net/issues/5788


Separate CDF Renderer from IBL Shadows and use for realtime filtering

I'd like to improve the realtime filtering and prefiltering of IBL's using the CDF maps that I'm using for IBL shadows. To do this, I'm separating the CDF renderer out from the IBL Shadows Pipeline.
Then, as a first step, I'm using these maps to improve the realtime filtering of irradiance.
As a test, here's an extreme IBL with a single sunlight rendered in a raytracer.

Here's how it looks with spherical harmonics:

Here's the old real-time filtering:

And the new real-time filtering:

I still may not have the math quite right, especially for the weighting, but the early results are very promising. I haven't changed the number of samples yet but we should be able to lower them from what they currently are.
TODO:

Using importance sampling with the CDF maps should be an option for prefiltering IBL's as well.
Should using these CDF maps be a separate option and not directly replace the existing filtering? The main downside is that it requires the CDF maps to be generated first. After that, the speed/quality should always be a win.
I haven't modified the WebGPU irradiance function yet because it doesn't seem to be used. What I mean is that, when I modify the irradiance() function in the glsl shaders, it seems to affect the WebGPU rendering as well. I really don't understand why.
I haven't tested anything other than diffuse irradiance yet.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

If we can improve performance AND the quality of real-time filtering, I'm all for it!
However, I think it should be a new path that we can enable/disable, because replacing what we currently have would be a breaking change, and I know that for the commerce sandbox, we should be sure that the new code doesn't break anything => or, at least, we should discuss this internally and decide if we can allow a breaking change here.
I'm also wondering if we could pre-calculate the two CDF textures and integrate them into an .env file? I think we have a version number in the .env files, so it would be easy to support a new format, where these two textures would have been precalculated. This way, the new code path will be automatically selected at runtime when we load these .env files, and we won't have to suffer the generation time.
cc @sebavan
One thing about your PR: is it possible to undo all the formatting changes in the shader code? A lot of the changes only concern formatting (undoing them would simplify reviewing), and I also find the new formatting difficult to read, with types appearing on the next line...

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Agreed. I've made it its own code path now. Set scene.useEnvironmentCDFMaps = true
Yes, the CDF maps could absolutely be part of the .env file, along with irradiance. If the prefiltered maps are already created, however, the CDF maps aren't needed anymore except for other features like IBL shadowing.
About the shader formatting, VSCode keeps doing that and I need to remember to disable "format on save" while working on shaders. Do you guys use different settings to avoid this?

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/15878/merge
Test environment:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15878/merge/index.html
To test a playground add it to the URL, for example:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15878/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/15878/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/15878/merge
https://gui.babylonjs.com/?snapshot=refs/pull/15878/merge
https://nme.babylonjs.com/?snapshot=refs/pull/15878/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/15878/merge#BCU1XR#0

Visualization tests for WebGPU (Experimental)
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15878/merge/testResults/webgpuplaywright/index.html


python3Packages.bt-proximity: 0.2.0 -> 0.2.1

Motivation for this change
Update to latest upstream release 0.2.1
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase 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 128989 run on x86_64-linux 1

2 packages built:

python38Packages.bt-proximity (python38Packages.bt_proximity)
python39Packages.bt-proximity (python39Packages.bt_proximity)

@ofborg eval
(Sorry, ofborg's certs recently had an issue, meaning that it was unable to
react to PRs. This has been fixed, but all PRs filed in this period will need
ofborg to be manually kicked off.)


Tutorial 02: update chinese translate.

Description
The Chinese translation of Chapter 2 is more outdated than the current English version.
This PR Updated Chinese translation.

Related Issue:
#166
Pre-commit steps

[ ] Tested on QEMU and real HW Rasperry Pi.

Not needed if it is just a README change or similar.

[ ] Ran ./contributor_setup.sh followed by ./devtool ready_for_publish

You'll need Ruby with Bundler and NPM installed locally.
If no Rust-related files were changed, ./devtool ready_for_publish_no_rust can be used instead (faster).
This step is optional, but much appreciated if done.

Thanks! I'm gonna merge this without review 👍


ATO-156: Add linting of java to merge

What?
We currently don't lint java on merge - this adds that

I've checked the identical step fails on push @ethanmills (which gets commonised in the next PR)


Desktop. Need to collapse burger menu when user comeback to home page

WTR:

Open https://vs-work.github.io/#/
Open burger menu
Click on any page
Press Back button

Result: User returns to home page, and burger menu still opened
Expected result: When user returns to home page - burger menu should collapse

Fixed


[DMS] New resources rocketmq

New resources
Related to this PR in terraform-provider-flexibleengine
Add new resource

flexibleengine_dms_rocketmq_instance

Related to this PR in terraform-provider-flexibleengine
Add new resources :

flexibleengine_dms_rocketmq_consumer_group
flexibleengine_dms_rocketmq_topic
flexibleengine_dms_rocketmq_user

Warning issue
Issue dms/kafka

We can't try RocketMQ instance with multiple AZ because the response order is not the same. Issue open on the provider : FlexibleEngineCloud/terraform-provider-flexibleengine#895


Signed query (again)

Hi.
I'd like to add Signed Query feature to your nice package.
But PR #11 work looks left undone. So I've finish @mfine 's work and added tests.
In my laptop, this signed query works fine with s3.amazonaws.com.
Could you please review this PR?
Thank you.

Hi @kr, could you please review this PR?


Add expandable metrics viewer

Overview
Adds an expandable metrics viewer, with the ability to pin metrics so they are displayed in the default / collapsed metrics view project sidebar.
Checklist

[x] Description of PR is in an appropriate section of CHANGELOG.md and grouped with similar changes, if possible

Demo

Notes

Are there any additional metrics that should be included in the viewer?
I didn't implement a max pinned metrics length yet, I'm wondering what makes sense to set here @tgilcrest . Also not sure if it makes more sense to implement this client side or server side. Additionally, we will need to create some notifications / error handling around this?
This will definitely need a style pass @jfrankl - namely, on the CSS animations and on the overlap between the 'Saved' message and the collapse icon

Testing Instructions

./scripts/update
Open a project, and click the expand button to open the full screen metrics viewer
Expect: all available metrics are displayed
Click the pin icon to pin / unpin a metric, then click the collapse button
Expect: pinned metrics are displayed

Closes #115

Are there any additional metrics that should be included in the viewer?

From the wireframes, we're missing

Dem / Rep / Oth voting info (I think we want potentially 6 columns here: Dem '16, Rep '16, Oth '16, Dem '20, Rep '20, Oth '20 - if we have the data available)
Target Population
Majority Race
Contiguous
Competitive

If you want to skip "Competitive" and "Majority Race" for now that's fine, since we don't show those anywhere else (please open a followup issue if you do).
For the others we should be able to add the column pretty easily - we already show it elsewhere

A few of these are already included in existing columns:

Target Population

Included as part of the population deviation column, with the check or X next to the population deviation

Contiguous

Included as part of compactness - compactness is only displayed if the district is contiguous. If the district is not contiguous, a flag is displayed here indicating that it is not contiguous.

If you want to skip "Competitive" and "Majority Race" for now that's fine, since we don't show those anywhere else (please open a followup issue if you do).

Yeah, both of these seem like they need to be defined first before we display them.

Dem / Rep / Oth voting info (I think we want potentially 6 columns here: Dem '16, Rep '16, Oth '16, Dem '20, Rep '20, Oth '20 - if we have the data available)

I will add these in 👍

This is really close, but I think it's important that we stay consistent in how we round these numbers here & in the tooltip:
Difference in rounding for '20 numbers:

Difference in rounding for Native:

Okay, the percentage formatting bug should be fixed now - @pcaisse can you take a look when you have a minute?


About expiration performance

I am the author of Bucket-Based Expiration Algorithm: Improving Eviction Efficiency for In-Memory Key-Value Database and today I find this project :) Really nice implementation in Go!
For curiosity, I wonder how you found this paper. Do you have a benchmark for the expiration? And is there any space I could contribute to this project?  (I have >5 years experiences with Go.)

I believe the implementation is a port from Caffeine (Java, 2017). Were you aware of timing wheels? They’re very elegant, the paper discusses a few variations, and it’s neat that you may have rediscovered them. I wrote about this here and included it in a Usenix Fast’20 talk (slides, full slides). That may have spread the idea for use in a cache where I’ve seen it ported to go (alt), rust (alt), typescript, c#. I don’t know of any usages for a cache predating those, but I wouldn’t be surprised if it was as popular in low-level circles.
I have a benchmark for an implementation sanity check and not as a comparison.

Wow, this is unexpected.

For curiosity, I wonder how you found this paper.

I wanted to use the algorithm from ristretto at first but there were several problems with it.

Several uncorrected bugs that lead to memory leaks under high contention loads.
I wanted to delete expired entries faster than ristretto does.

I decided to see how redis does it and I was interested in its old algorithm. Unfortunately, it is not proactive at all and I had the idea to combine ideas from the ristretto (buckets) and redis algorithms. But before I started doing anything, I googled the keywords and your paper ended up on the first lines.

Do you have a benchmark for the expiration?

I checked the speed of some cases but I didn't seem to upload it to the public.
I have changed the implementation to timer wheel so far simply because it is more proactive and its disadvantages should not be noticeable on onheap caches. But I have plans to add the ability to pass a custom allocator to allow storing data outside the heap and I'm not sure that timer wheel will feel good on such caches. So maybe I'll have to get the old commits :).
P.S. Your paper is great!

Thank you so much! And I have learned more now :smile:


fix missing introductory paper

Probably the introductory paper that proposed Diffusion Models in its current form was missing from the list.

As you say, the paper can be considered as a introductory paper, but I think it is a very initial paper on diffusion models. So I leave it as it is. Thank you for your opinion.


add opaque type support to hive type serde

Summary:
My understanding of opaque types in Velox is that Velox doesn't know about the underlying type of it, and treats them as a shared_ptr<void>. For serializing data across processes, we need to somewhat break that assumption, because when we need to know how to deserialize this opaque data.
One option is to have the underlying type as part of the serialized type signature, the other is to store this information with the serialized data itself. I'm adopting the first option here.
We also need to introduce a layer of abstraction for opaque type index, by allowing aliasing opaque types.
The reason we can't use opaque type index is the assumption that they're not stable across processes. So if you serialize a opaque type as string in process A and then deserialize in process B, even if running the same revision there's no guarantee the type ID is the same.
With this change, callers are required to register an alias for opaque types before serializing/deserializing it via HiveTypeSerializer and HiveTypeParser. I put this registry in Type.h but if we want to keep this specific to HiveTypeSerializer/HiveTypeParser we could move it elsewhere.
Differential Revision: D64358220

(please rebase on main first) @kunigami

rebased


adding exitOnFirstListenerFailure flag in standardcontext to enable to stop at first listener error

follow up of the list discussion, trying to propose a new flag.

Ideally, this should be resolved one way or the other by the specification. Also I noticed there is a failCtxIfServletStartFails attribute already, which can easily be abused without too many problems. This is for load on startup Servlets. Overall I don't think it's a great plan to add flags for everything.

Ideally, this should be resolved one way or the other by the specification. Also I noticed there is a failCtxIfServletStartFails attribute already, which can easily be abused without too many problems. This is for load on startup Servlets. Overall I don't think it's a great plan to add flags for everything.

@rmaucher agree it would be great if spec can clarifies it (in a way making the flag true OOTB ;)) but merging with the servlet flag is kind of different, listener being used to setup env (or symmetrically cleanup), you can need to go through them even if some fails (for auditing for ex) wheras servlets being the runtime it is often an all or none so guess we should keep both split.

@rmaucher agree it would be great if spec can clarifies it (in a way making the flag true OOTB ;)) but merging with the servlet flag is kind of different, listener being used to setup env (or symmetrically cleanup), you can need to go through them even if some fails (for auditing for ex) wheras servlets being the runtime it is often an all or none so guess we should keep both split.

Can you expand on why this is an issue? The web application doesn't start either way and - generally - I think I'd prefer to see the scale of the problem (how many errors are there in total) rather than face an unknown number of repetitions of "start app, fails, fix error, repeat".
I don't recall any EG discussion on this topic but 'll look to see if anything happened before my time or if I've forgotten something.

Can you expand on why this is an issue? The web application doesn't start either way and - generally - I think I'd prefer to see the scale of the problem (how many errors are there in total) rather than face an unknown number of repetitions of "start app, fails, fix error, repeat".
I don't recall any EG discussion on this topic but 'll look to see if anything happened before my time or if I've forgotten something.


Add support for component template extension including js and ts

Description
Not all the developers prefer tsx or jsx  as template  extension most of them also prefer it to be plain and simple as ts or js.
Suggested solution
Add support for ts and js in component generation and also make it to be customizable using template property in config file.
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

[ Triaged ] Good to start the development 👍🏻

We cannot add support for js and ts along with jsx and tsx  for component template because  ts doesn't allow jsx template basically we can't write any jsx code inside a ts file. There is no problem with using js as react template.
So closing this ticket since we cannot give the support for ts  as component template and for js recently most of the developers are using jsx instead of js to differentiate between react files and normal js files [It's still debated].
Refer:

https://github.com/Microsoft/TypeScript/issues/26489


Project staus

Firstly, thank you for this color time.
And I plan to use the package in my customized console.
I find that this project has not updated commit for about five years.
Is project still alive?
Thanks.

It's alive as much as it needs to be - it's a very simple class and doesn't really require any work.
I can't remember what I originally built it for, but I'm unlikely to make any changes to it because it doesn't need any.
So if you intend to use it as-is then go nuts, if you were hoping for more functionality you'd be better off copying the code and doing your own thing with it.


Add first() method into DataSequence

Description
Returns the first element of a sequence.
Raises:

InvalidOperationError: Raises when there is no element in the sequence.

This issue was migrated from an old repository: https://github.com/CiscoDevNet/catalystwan/issues/197


ActionController::RoutingError (No route matches [POST] "/omniauth/steam/callback")

I've added devise_token_auth routes, but they don't create POST callbacks. Docs say that callback has get or post method, but in my application is only GET. I've tried to manually create POST route for callback, but it hasn't worked and I'm not sure if it is even correct solution. Does anyone have any idea?

Uh same here. The only route I get is GET /omniauth/:provider/callback(.:format)             devise_token_auth/omniauth_callbacks#redirect_callbacks. I'm running 0.1.37. Is it supposed to work like that or we're both doing something wrong?

I made it work, by manually adding POST route with the callbacks to the routes.rb file. After it I've received a few other small errors, but they wasn't hard to fix. Finally I've decided to build my authentication system using other gem.

@suezzo out of sheer curiosity. What other gem did you use?

No activity in over a year, closing this for now.


Error: Building package libjpeg-turbo:x86-uwp failed with: BUILD_FAILED

Host Environment

OS: [Windows 10]

To Reproduce
Steps to reproduce the behavior:
C:\sv\vcpkg>.\vcpkg install opencv[contrib]:x86-uwp --recurse
Computing installation plan...
Warning: qualifier has changed meaning recently:
   windows
The following packages will be built and installed:
  * libjpeg-turbo[core]:x86-uwp
  * liblzma[core]:x86-uwp
  * libpng[core]:x86-uwp
  * libwebp[core,nearlossless,simd,unicode]:x86-uwp
    opencv[contrib,core,dnn,jpeg,opengl,png,tiff,webp]:x86-uwp
  * opencv4[contrib,core,dnn,jpeg,opengl,png,tiff,webp]:x86-uwp
  * opengl[core]:x86-uwp
  * protobuf[core]:x86-uwp
  * tiff[core]:x86-uwp
  * zlib[core]:x86-uwp
Additional packages (*) will be modified to complete this operation.
Starting package 1/10: libjpeg-turbo:x86-uwp
Building package libjpeg-turbo[core]:x86-uwp...
-- Using community triplet x86-uwp. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: C:\sv\vcpkg\triplets\community\x86-uwp.cmake
-- Using cached C:/sv/vcpkg/downloads/libjpeg-turbo-libjpeg-turbo-166e34213e4f4e2363ce058a7bcc69fd03e38b76.tar.gz
-- Using source at C:/sv/vcpkg/buildtrees/libjpeg-turbo/src/fd03e38b76-a5b0f5fafe
-- Configuring x86-uwp
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
    Command failed: ninja -v
    Working Directory: C:/sv/vcpkg/buildtrees/libjpeg-turbo/x86-uwp-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      C:\sv\vcpkg\buildtrees\libjpeg-turbo\config-x86-uwp-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_cmake.cmake:297 (vcpkg_execute_required_process)
  ports/libjpeg-turbo/portfile.cmake:33 (vcpkg_configure_cmake)
  scripts/ports.cmake:90 (include)

Error: Building package libjpeg-turbo:x86-uwp failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: libjpeg-turbo:x86-uwp
  Vcpkg version: 2020.02.04-nohash

Failure logs
Package: libjpeg-turbo:x86-uwp
Vcpkg version: 2020.02.04-nohash
Additional context
I tried this : https://github.com/microsoft/vcpkg/issues/1158

Thanks for posting this issue. Please provide this error log: C:\sv\vcpkg\buildtrees\libjpeg-turbo\config-x86-uwp-out.log.

[1/2] cmd /c "cd .. && "C:/sv/vcpkg/vcpkg/downloads/tools/cmake-3.14.0-windows/cmake-3.14.0-win32-x86/bin/cmake.exe" "C:/sv/vcpkg/vcpkg/buildtrees/liblzma/src/v5.2.4-66bfe33102" "-DCMAKE_SYSTEM_NAME=WindowsStore" "-DCMAKE_SYSTEM_VERSION=10.0" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/sv/vcpkg/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x86-uwp" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/sv/vcpkg/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_TARGET_ARCHITECTURE=x86" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-AWin32" "-G" "Visual Studio 16 2019" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/sv/vcpkg/vcpkg/packages/liblzma_x86-uwp""
FAILED: ../CMakeCache.txt
cmd /c "cd .. && "C:/sv/vcpkg/vcpkg/downloads/tools/cmake-3.14.0-windows/cmake-3.14.0-win32-x86/bin/cmake.exe" "C:/sv/vcpkg/vcpkg/buildtrees/liblzma/src/v5.2.4-66bfe33102" "-DCMAKE_SYSTEM_NAME=WindowsStore" "-DCMAKE_SYSTEM_VERSION=10.0" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/sv/vcpkg/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x86-uwp" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/sv/vcpkg/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_TARGET_ARCHITECTURE=x86" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-AWin32" "-G" "Visual Studio 16 2019" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/sv/vcpkg/vcpkg/packages/liblzma_x86-uwp""
CMake Warning at C:/sv/vcpkg/vcpkg/scripts/buildsystems/vcpkg.cmake:157 (message):
There are no libraries installed for the Vcpkg triplet x86-uwp.
Call Stack (most recent call first):
C:/sv/vcpkg/vcpkg/downloads/tools/cmake-3.14.0-windows/cmake-3.14.0-win32-x86/share/cmake-3.14/Modules/CMakeDetermineSystem.cmake:93 (include)
CMakeLists.txt:2 (project)
CMake Error at CMakeLists.txt:2 (project):
A Windows Store component with CMake requires both the Windows Desktop SDK
as well as the Windows Store '10.0' SDK.  Please make sure that you have
both installed
-- Configuring incomplete, errors occurred!
See also "C:/sv/vcpkg/vcpkg/buildtrees/liblzma/x86-uwp-rel/CMakeFiles/CMakeOutput.log".
[2/2] cmd /c "cd ../../x86-uwp-dbg && "C:/sv/vcpkg/vcpkg/downloads/tools/cmake-3.14.0-windows/cmake-3.14.0-win32-x86/bin/cmake.exe" "C:/sv/vcpkg/vcpkg/buildtrees/liblzma/src/v5.2.4-66bfe33102" "-DCMAKE_SYSTEM_NAME=WindowsStore" "-DCMAKE_SYSTEM_VERSION=10.0" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/sv/vcpkg/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x86-uwp" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/sv/vcpkg/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_TARGET_ARCHITECTURE=x86" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-AWin32" "-G" "Visual Studio 16 2019" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=C:/sv/vcpkg/vcpkg/packages/liblzma_x86-uwp/debug""
FAILED: ../../x86-uwp-dbg/CMakeCache.txt
cmd /c "cd ../../x86-uwp-dbg && "C:/sv/vcpkg/vcpkg/downloads/tools/cmake-3.14.0-windows/cmake-3.14.0-win32-x86/bin/cmake.exe" "C:/sv/vcpkg/vcpkg/buildtrees/liblzma/src/v5.2.4-66bfe33102" "-DCMAKE_SYSTEM_NAME=WindowsStore" "-DCMAKE_SYSTEM_VERSION=10.0" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/sv/vcpkg/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x86-uwp" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/sv/vcpkg/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_TARGET_ARCHITECTURE=x86" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-AWin32" "-G" "Visual Studio 16 2019" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=C:/sv/vcpkg/vcpkg/packages/liblzma_x86-uwp/debug""
CMake Warning at C:/sv/vcpkg/vcpkg/scripts/buildsystems/vcpkg.cmake:157 (message):
There are no libraries installed for the Vcpkg triplet x86-uwp.
Call Stack (most recent call first):
C:/sv/vcpkg/vcpkg/downloads/tools/cmake-3.14.0-windows/cmake-3.14.0-win32-x86/share/cmake-3.14/Modules/CMakeDetermineSystem.cmake:93 (include)
CMakeLists.txt:2 (project)
CMake Error at CMakeLists.txt:2 (project):
A Windows Store component with CMake requires both the Windows Desktop SDK
as well as the Windows Store '10.0' SDK.  Please make sure that you have
both installed
-- Configuring incomplete, errors occurred!
See also "C:/sv/vcpkg/vcpkg/buildtrees/liblzma/x86-uwp-dbg/CMakeFiles/CMakeOutput.log".
ninja: build stopped: subcommand failed.

There are this error in your log:
CMake Error at CMakeLists.txt:2 (project):
A Windows Store component with CMake requires both the Windows Desktop SDK
as well as the Windows Store '10.0' SDK. Please make sure that you have
both installed

This is related with your environment.

I have installed both the components, still the same error
Run the visual studio installer
Choose to modify your current install of visual studio
Ensure you have installed both the Universal Windows Platform development and Desktop development with C++ options

Sorry I am late. Could you please provide your Visual Studio installation details screenshot to us? Like this:

Pinging @rdikshit for response.

Hello Lily
I was able to resolve the issue. Thanks or your help.


⚠ Young Discoverers has degraded performance

In 60e5573, Young Discoverers (https://youngdiscoverers.org.au) experienced degraded performance:

HTTP code: 200
Response time: 6730 ms

Resolved: Young Discoverers performance has improved in b88a862.


Formatting for =patrol_time -l breaks when giving more than one message of information

This can be seen here:

This also appears to be an issue:


Unit Testing

Mock discord bot connections and test the various commands to ensure they are working.
Once unit tests are introduced, bring in continuous integration.

Not currently possible with the current method commands are used, will be closing this for now, might re-open if a rework to the command system is made, removing the dependency between the Discord lib and the actions performed, but for now, it is not possible to construct these unit tests otherwise.


Unable to build (Mac 10.11.6)

I was following the instructions to build this on my Mac, but I am getting an error message when I run cmake .. from the build directory.
I am running Mac 10.11.6. Please let me know if you additional system details. Here is the error message:
Joshuas-MBP:build joshuacarroll$ cmake ..
CMake Error at /usr/local/Cellar/cmake/3.6.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
  Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.6.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
  /usr/local/Cellar/cmake/3.6.1/share/cmake/Modules/FindPkgConfig.cmake:49 (find_package_handle_standard_args)
  src/CMakeLists.txt:1 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred!
See also "/Users/joshuacarroll/Documents/Github/elgato-gchd/build/CMakeFiles/CMakeOutput.log".

I needed to install pkg-config.  Now I have a different error when I run make.
Joshuas-MBP:build joshuacarroll$ make
[  4%] Building CXX object src/CMakeFiles/gchd.dir/disk.cpp.o
error: unable to open output file 'CMakeFiles/gchd.dir/disk.cpp.o': 'Permission denied'
1 error generated.
make[2]: *** [src/CMakeFiles/gchd.dir/disk.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/gchd.dir/all] Error 2
make: *** [all] Error 2

Thanks for posting this issue! I guess we need to write a good tutorial for Mac OS X. I've also experienced a rough building process on Mac OS X, unfortunately my aged brain can't deliver the details anymore.
I'm not too familiar with Mac OS X building environment, but I would suggest you to fix the Permission denied issue by using sudo make instead of make. This should bring you one step closer. Please let us know, if any other error messages show up. We can use them to write the Mac OS X guide.
Cheers,
Tolga

I had already tried running as su before I opened the issue.  However I walked away from this while busy with other projects and I no longer have this error.  I have a different error message, so I'll open a different issue and close this one.


[WFMP-76] Rework how console streams are consumed. Preferring to use …

…a ProcessBuilder.Redirect rather than consuming the streams.
https://issues.jboss.org/browse/WFMP-76

Note the removal of the {{ServerProcess}} from the core module. This seemed like a good idea, but would require changes and releases every time the java.lang.Process API changes. This would make this "helper" not very helpful.


merge jpg to pdf use case

when I scan papers using my iPhone camera, I need to take the many images and merge them into 1 PDF on my Mac laptop.
I scan them int my ICLOUD drive and so they are available on my MAC a second later.
so, I was wondering if merging is possible via the config ?
This one works but only does a 1 for 1 conversion using this test data, which is NOT what I need:
My Test data
in folder:
image-001.jpg
image-002.jpg
out folder:
image-001. pd
image-002.pdf
My config.ini
src=.data/in
dst=.data/out
quality=75
opacity=100
random=true
percent=50
worker=5
format=pdf

What I wanted is to convert  all the .jpgs into a single pdf.
If this does not yet exist let me know, as I think it's a common use case.

If you can write Golang code, you can use the EncodeFile method in the github.com/sunshineplan/pdf package to write multiple jpeg files into one pdf file.

yep thats why I figured
do you want a PR with a config to drive it ?

Considering that the converter mainly utilizes the functionality of imgconv and src can include subfolders, while merging is only supported for the pdf format, the implementation would involve complex considerations. Therefore, supporting pdf merging is not planned.

That’s what I thought. Good to know where it stands.
I will fork and update the code and config so it’s possible using a queue.


Can't pull logstash 5.0.0-alpha3-1 tag

Redirected from #23428
Hi.
Brief and concise: docker pull logstash:5.0.0-alpha3-1
Returns:
Tag 5.0.0-alpha3-1 not found in repository docker.io/library/logstash
https://hub.docker.com/_/logstash/
Regards

Nevermind. It's fixed now.


deps: update dependency com.google.cloud:google-cloud-conformance-tests to v0.0.13

Package
Update
Change

com.google.cloud:google-cloud-conformance-tests
patch
0.0.12 -> 0.0.13

Update conformance tests operator handling to no longer error on !=

Mostly covered by #411 will merge that instead.


Create Testimonial Content

@ElizabethN and @germonprez we request that you collect three testimonials of twenty words or less from random event organizers that have applied for badging before. This testimonial is just to highlight how DEI Badging has been of impact or importance to them so that we can put it on our website at https://badging.chaoss.community. We would need a small image that we can use for their profile picture or we can use one from any of their socials like LinkedIn. They should also be notified that we are going to use it for website purposes.  Is it possible to get this information or in the first place is it relevant?

@kaxada  I will like to work on this

I think that @ElizabethN might be in a better position than me to collect the testimonials. @peculiaruc -- could you connect with @ElizabethN to reach out to a few people?

Sure. Thanks

I think that @ElizabethN might be in a better position than me to collect the testimonials. @peculiaruc -- could you connect with @ElizabethN to reach out to a few people?

Hi @ElizabethN , Have you found time to work on this?


font-size not covered by the parse function and can set with invalid values

According to this issue in jsDOM i figure out that the bug is in the cssStyleDeclertion
The bug happen because we don't use the parse function to check if the font-size is invalid
For example:

    var style = new cssstyle.CSSStyleDeclaration();
    style.cssText = 'font-size: 15px'
    style.length // equal 1
    style.cssText = 'font-size: 1r5px'
    style.length // equal 1 (should be 0 because the value [1r5px] is invalid)

I already open pull request that solve this issue.

Closed by https://github.com/jsakas/CSSStyleDeclaration/pull/91


[Epic] Determine workflows for profiling JAX -> IREE + CUDA

Tracking issue for trying/improving/documenting "end to end" developer workflows taking programs written in JAX, compiling them through IREE, and then profiling the runtime execution of that compiled code using IREE tools, vendor tools, etc.
Specific areas of focus (somewhat driven by project prioritization and customer needs):

CUDA compiler + runtime
Large programs (where the compiler's point of view with "dispatch regions" may be far from the user's point of view with "layers", "modules", "ops", and other Python/JAX concepts)
Source location plumbing (how much do we currently track? is all of it used in our tooling?)

### Related tasks:
- [ ] https://github.com/openxla/iree/issues/5454
- [ ] https://github.com/openxla/iree/issues/13142
- [ ] https://github.com/openxla/iree/issues/13570
- [ ] Expand on developer [profiling documentation](https://github.com/openxla/iree/blob/main/docs/developers/developing_iree/profiling.md)

Would be great if this worked via openxla-pjrt-plugin :)
(source locations should be rather good, I know @hawkinsp had mentioned they dropped some as no consumer could show it yet)

@ScottTodd @mattwalsh Just checking that this is in the right place, is this a P1 Epic for Augustus MS2? We didn't have this on our list before, but can certainly be added.
I'm going to add my name to assignees just so I can keep track of Epics!

@ScottTodd Looking to update our Epic level items - can you give a brief update here?

Tracy can now show executable sources when using the Vulkan and CUDA HAL drivers.
I've also started ramping up on using JAX. So far I've run some sample programs with @jax.jit and JAX_DUMP_IR_TO then tried to feed the JIT'd IR to IREE tools. I'm looking to see if the python source locations captured there will also show up in Tracy (without the location snapshoting done by --iree-hal-dump-executable-sources-to={path}).
Once I have some workflow propped up, I want to make a pass through our JAX documentation and samples, since we're really sparse in that area right now
They will likely be further work to correlate parts of input programs with runtime traces (in Tracy or vendor tools like NVIDIA Nsight).

Yep, I mentioned this issue in https://github.com/openxla/iree/pull/13500. With that, Python source locations will be shown in Tracy (executable source locations are already shown when you use --iree-hal-dump-executable-sources-to={path}). I expect that will help when profiling, but some workflows will still be awkward and difficult (especially if you want to look across fusions and other compilation details).
As expected, I want to write some JAX documentation and/or samples next.

Ideally IREE could produce data in the format needed for the tools in https://jax.readthedocs.io/en/latest/profiling.html to light up. (actually JAX users will probably insist on that, since presumably this is an existing workflow for them). At least from my perspective more on the user side, it makes more sense to me to work on this than on Tracy-based tooling.

Part of the work of making the tracing support pluggable is to allow PJRT to provide its own tracing sink - it can do whatever it wants then. Someone working on that project will be able to wire it up in a way that makes sense for them.

@ScottTodd Is this still relevant?

Probably relevant to someone, but it's at least not a priority for me right now. I'd vote to close and then re-open as needed.


bower.json new paths in the dist folder:

As said on the issue, I made it directly. Thanks for the solution!


Suggested Security Features

Provide the user an option to force Vincenzo to use a specific network interface. I'm thinking that for privacy reasons the careful user will want Vincenzo to use the tun0 VPN interface. That way, should the VPN tunnel drop for any reason, and they do, the torrenting will pause until the VPN comes back on (because tun0 will vanish for a time). In this way privacy is ensured.
Provide the user an option to allow or force peers to use encryption.

@johnblommers thank you for the suggestions. Those are great features to be added, About the second suggestoin, there is this extension but I'm not sure it's possible to force peers to use encryption. I will definitely work on these features.


Use cache action's 'restore-keys'

This should greatly reduce bandwidth when modifying LFS objects. Fixes #27

This is a good idea, but you probably want to run git lfs prune to avoid the cache growing indefinitely.
That way (some version of) old objects will be downloaded from cache, git lfs pull updates them (some will hit and save bandwidth), then the cache is pruned of older stuff with git lfs prune, and the cache action only saves the pruned version for the next time.
FYI: I've validated this locally in my repo.


Graphics card: Microsoft Basic Render Driver is blacklisted.

Running any Compose for Desktop app prints on startup:
Graphics card: Microsoft Basic Render Driver is blacklisted.
Graphics card: Microsoft Basic Render Driver is blacklisted.
Failed to create DirectX12 device.
Failed to create Skia Direct3D context!

The application however launches and works fine - well, except for being slow, and I'm not sure if this is because of above or just because of the framework not being optimized enough yet. E.g. the codeviewer example app I tried is unusably laggy.
System: Microsoft Windows [Version 10.0.18363.1500]
Potentially relevant ss from Device Manager:

The only other such case I found on Internet is here: https://github.com/arkivanov/CompoSnake/issues/1

@mcpiroman
it means that there are known issues with your driver and Compose MPP most probably won't work properly with it. So it falls back to software rendering.
cc: @Rsedaikin

@mcpiroman do you have any other questions here?

Noo, only maybe that it could be explained in the message itself more. I assume the blacklist will eventually shrink as more drivers are supported right? Otherwise yeah, you may close this ticket.

Yes, we are working now on enhancing fallback logic to reduce blacklist as much as possible

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Add Aerobatic

Aerobatic is a static site specific web host. More info at https://www.aerobatic.com

Hi @ivanoats, and thanks for the contribution!  Please, tell your friends and let's grow this awesome list together 😃

Thank you 😊


Startup is blocked resolving configuration for a slow remote folder

Hi, in my use case i have some folders opened in the workspace, one of these is remote, i mean that one of these is on a computer in lan network with access allowed by Samba.
When i start Visual Studio Code if this lan-computer is off Visual Studio Code is blocked for some min trying to access on the lan-folder uslessly.
It would be nice to make this access to each folder on workspace in async way, for avoid the bloking.
Thanks :)

@FerrariAndrea can you clarify how you experience these minutes of waiting? Maybe with screencast?

The screen does not give much more detail, this is Visual Studio blocked on startup:

And this is the folder offline, after the startup of Visual Studio Code:

The NodeRealRobot is a folder added with "Add Folder to Workspace" and the folder path: "\x.x.x.x\NodeRealRobot" where "x.x.x.x"  is the static lan ip of the pc. (I know i can use git or other system for work in local and then push on lan-computer, but as i m doing for now is very comfortable)
Example, adding new lan-folder to worksapce:

I can add this the waiting time not seams always the same, but in my opinion is not only correlated with Visual Studio Code, it is probable that the waiting time depends to Windows file system waiting time for resolve Samba path.

@FerrariAndrea how long does vscode stay how it is shown in the first screen shot? is vscode loaded from some share or local?

The vscode installation is on local. The project folder is shared. The timing depends, not less than 40 seconds if I do nothing else in the meantime, but it seems more than 1 minute if I do other things (I'm not sure of this last). I think that vscode is waiting for windows check on the remote path as explorer.exe do if you try to go on a lan resource do not exist. If i remove the remote folder from workspace or if the remote folder is just reachable vscod is up in less then 3 sec.

@FerrariAndrea yeah we do wait for the folder to load, but I would not expect the entire UI to look so frozen until that happens. Is it really 40s until something like the explorer gets drawn or do you see a progress bar before that.

Yes the UI is blank for all time with no status bar, but i can move it, so it is not realy blocked.
And now i have noticed another thing: after the 40sec of block, so when the vscode is ready and i can access to my reachable folders, if i click on the unreachable folder then i see the status bar and the loading gif, vscode should do this on the startup?
In read is evidenced ther the status bar and meanwhile i have access and i can edit the reachable codes:

Maybe it is not need a new features, it is just a bug?

Yes, this is what I would expect right away. The progress indicator appears for as long as the explorer is loading.
Just to clarify again, you said:

Hi, in my use case i have some folders opened in the workspace, one of these is remote, i mean that one of these is on a computer in lan network with access allowed by Samba.

I wonder if VSCode is trying to load anything from that samba for actually starting up that could slow it down other than the folder. Does it startup fast if you open a local folder? Are you sure there is no data persisted on the network share from VSCode?

I m not sure to understand your last question. What you mean with "data persisted"?
As now i m using vscode with only 3 folders in my workspace, 2 of these are in local and other 1 is in remote (with samba access).
I can see the async exploration (noticed in my last message) of the remote folder when i click on it after the startup.
For do a test now i have remove the remote folder form my workspace (so now i have only 2 local folders in my workspace) and vscode start up in 3s, so I think that the cause of 40s block was the remote folder for sure.

@FerrariAndrea assuming that this issue also shows when you reload the window, can we start to CPU profile this to see where most time is spend? Here is how that goes:

Help > Toggle Developer Tools
click on the "..." on the right hand side of the panel that opened
click "More Tools" > "JavaScript Profiler"
click the blue Start button
reload the window
wait for everything to have finished loading
save the CPU profile and attach it here

Thanks

I have add again the remote folder, i try to take a profile while start up but vscode can't do this.
So i have take a profile after startup and while vscode try to access on the remote folder after my click on it.
And this is the the profile:
CPU-20200317T103132.zip
I did not know ther was the console like that of Chrome, and thanks to this i can see the console.log error of vscode at startup:

bootstrap-window.js:213 [uncaught exception]: Error: Unable to read file '\REMOTE_FOLDER_LAN_IP\NodeRealRobot.vscode\settings.json' (Unknown (FileSystemError): Error: UNKNOWN: unknown error, open '\REMOTE_FOLDER_LAN_IP\NodeRealRobot.vscode\settings.json')
Error: Unable to read file '\REMOTE_FOLDER_LAN_IP\NodeRealRobot.vscode\settings.json' (Unknown (FileSystemError): Error: UNKNOWN: unknown error, open '\REMOTE_FOLDER_LAN_IP\NodeRealRobot.vscode\settings.json')
at _.doReadAsFileStream (file:///C:/Users/USER_NAME/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1667:417)
onUnexpectedError @ bootstrap-window.js:213
bootstrap-window.js:216 Error: Unable to read file '\REMOTE_FOLDER_LAN_IP\NodeRealRobot.vscode\settings.json' (Unknown (FileSystemError): Error: UNKNOWN: unknown error, open '\REMOTE_FOLDER_LAN_IP\NodeRealRobot.vscode\settings.json')
Error: Unable to read file '\REMOTE_FOLDER_LAN_IP\NodeRealRobot.vscode\settings.json' (Unknown (FileSystemError): Error: UNKNOWN: unknown error, open '\REMOTE_FOLDER_LAN_IP\NodeRealRobot.vscode\settings.json')
at _.doReadAsFileStream (fileService.ts:457)
at errors.ts:26
onUnexpectedError @ bootstrap-window.js:216
bootstrap-window.js:213 [uncaught exception]: Error: Unable to read file '\REMOTE_FOLDER_LAN_IP\NodeRealRobot.vscode\tasks.json' (Unknown (FileSystemError): Error: UNKNOWN: unknown error, open '\REMOTE_FOLDER_LAN_IP\NodeRealRobot.vscode\tasks.json')
Error: Unable to read file '\REMOTE_FOLDER_LAN_IP\NodeRealRobot.vscode\tasks.json' (Unknown (FileSystemError): Error: UNKNOWN: unknown error, open '\REMOTE_FOLDER_LAN_IP\NodeRealRobot.vscode\tasks.json')
at _.doReadAsFileStream (file:///C:/Users/USER_NAME/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1667:417)
onUnexpectedError @ bootstrap-window.js:213
bootstrap-window.js:216 Error: Unable to read file '\REMOTE_FOLDER_LAN_IP\NodeRealRobot.vscode\tasks.json' (Unknown (FileSystemError): Error: UNKNOWN: unknown error, open '\REMOTE_FOLDER_LAN_IP\NodeRealRobot.vscode\tasks.json')
Error: Unable to read file '\REMOTE_FOLDER_LAN_IP\NodeRealRobot.vscode\tasks.json' (Unknown (FileSystemError): Error: UNKNOWN: unknown error, open '\REMOTE_FOLDER_LAN_IP\NodeRealRobot.vscode\tasks.json')
at _.doReadAsFileStream (fileService.ts:457)
at errors.ts:26
onUnexpectedError @ bootstrap-window.js:216
bootstrap-window.js:213 [uncaught exception]: Error: Unable to read file '\REMOTE_FOLDER_LAN_IP\NodeRealRobot.vscode\launch.json' (Unknown (FileSystemError): Error: UNKNOWN: unknown error, open '\REMOTE_FOLDER_LAN_IP\NodeRealRobot.vscode\launch.json')
Error: Unable to read file '\REMOTE_FOLDER_LAN_IP\NodeRealRobot.vscode\launch.json' (Unknown (FileSystemError): Error: UNKNOWN: unknown error, open '\REMOTE_FOLDER_LAN_IP\NodeRealRobot.vscode\launch.json')
at _.doReadAsFileStream (file:///C:/Users/USER_NAME/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1667:417)
onUnexpectedError @ bootstrap-window.js:213
bootstrap-window.js:216 Error: Unable to read file '\REMOTE_FOLDER_LAN_IP\NodeRealRobot.vscode\launch.json' (Unknown (FileSystemError): Error: UNKNOWN: unknown error, open '\REMOTE_FOLDER_LAN_IP\NodeRealRobot.vscode\launch.json')
Error: Unable to read file '\REMOTE_FOLDER_LAN_IP\NodeRealRobot.vscode\launch.json' (Unknown (FileSystemError): Error: UNKNOWN: unknown error, open '\REMOTE_FOLDER_LAN_IP\NodeRealRobot.vscode\launch.json')
at _.doReadAsFileStream (fileService.ts:457)
at errors.ts:26
onUnexpectedError @ bootstrap-window.js:216
console.ts:137 [IPC Library: File Watcher (nsfw)] Unhandled Promise Rejection:  Error: Path must be a valid path to a file or a directory.
at c:\Users\USER_NAME\AppData\Local\Programs\Microsoft VS Code\resources\app\node_modules.asar\vscode-nsfw\lib\src\index.js:79:11
t.log @ console.ts:137

When i click on the remote folder after startup (exactly as when i take the JavaScript Profile) vscode don't show me this list of error, vscod show me this only after blocking  startup.

Hm, not seeing anything in that profile for some reason. You should be able to start the CPU profile and then hit Ctrl+R to reload window and then stop the recording when done loading.

Ok, now i get it.
CPU-20200318T185653.zip
At loading done i see this too in the console:

DevTools: CPU profile parser is fixing 48 missing samples.

And the same list of errors in the previous post.
(not i have a new folder on my workspace, i don't know if this is relevant)

@FerrariAndrea yeah this time it looks better, I see a 30s grey area where nothing loads:

Unfortunately I cannot tell what this is waiting for, this does not seem to be code we trigger, but something else. Sorry, I cannot be of more help I fear.

It is not normal?  In your case this not happens?
Anyway this waiting time is not a big deal so thanks for your attention and i think that we can close this post. In case i will I'll find out new important info i will reopen it.

It is not normal? doesn't it happen in your case?

No, I do not think this is normal and I have never seen this, but I am also not having such a setup with a remote folder that is slow to be honest.
Looking at the CPU profile again, one of the last things happening before the 30s delay seems to be resolving the configuration (setting) values from each folder. We do block the startup until we read all configuration I think, right @sandy081 ?
Would it be possible to time out after like 5s and then reconcile the configuration values later?

Would it be possible to time out after like 5s and then reconcile the configuration values later? Especially since the folder settings are probably not making a big impact on the overall experience right?

We cannot unblock everything but only workbench. ExtensionHost needs completely resolved configuration as extensions need initial configuration and accessing configuration is sync.

@sandy081 yeah I am mainly concerned about the workbench UI that is not loading from that point on, I understand the extension host.

I already follow this for remote folders / workspaces (in general for all with different FSP). Which FSP is this folder/workspace is using?

@sandy081 this is the local one but with a slow behaving network share

I would not go by time out. Instead have some user folder specific setting that will enable same pattern of loading folder settings as with other FSPs/

Is that discoverable though, how would the user know?

Good point, may be a notification asking user to delay the loading and reload. This can be stored in workspace state?

@sandy081 just keep in mind that at that point no notification can show because the entire workbench is blocked.
However, yes maybe this could work:

we measure how slow config loading for each folder is
for a folder with slow loading (e.g. >10s) we show a notification
we store a setting in workspace state to skip this folder next time

However, I am unsure how the user could change this setting after the fact.

I don't know if I am understanding and if I can be useful to you.
If whatever blocks the vscode startup is bind to the single folder, this is a good idea:

we measure how slow config loading for each folder is
for a folder with slow loading (e.g. >10s) we show a notification

and about this:

I am unsure how the user could change this setting after the fact.

Perhaps it is not necessary, the user will just click on the folders which he want work on.
Because seems that vscode behaves well after startup on the remote folders not loaded yet, as a previous post shows:

I don't know if you can block the loading of a folders that is takes too long time and then do this after on user click, as in the screen above (in this screen vscod is not blocked).
I didn't quite understand what the difference is between folders loader on startup of vscode and the loader on user click on the folder, in my mind it is the same code, so from my point of view it would be enough to postpone the loading of the folders to avoid the block, believing that the blocking occurs because something else is not yet ready when the folders are loaded at startup.
However, in my opinion, a folder that takes more than e.g. 10s certainly has problems and it is likely that the user knows it and therefore does not have to work on it. So if vscode needs block itself for loading something for a folder, it is preferable that vscode does this after an explicit user request.
I hope to be useful

However, I am unsure how the user could change this setting after the fact.

We can reset the state if it is faster?

Yes, good idea. Since we always resolve the folder, even if it is slow, we can measure the time always and reset this state 👍

I have the same problem #67934 #99975

I'm using VS Code 1.46 on Mac OS 10.15.5 and my work's folder is on samba server.
/Volumes/space/libs/
/Volumes/space/commons/
/Volumes/space/Works/project1/
/Volumes/space/Works/project2/

I work on "space" volume but I don't need to index all folders because there are too many files.
I tried configuring Watcher Exclude and Search Exclude but indexing go on and causing traffic congestion on server.
"search.exclude": {
    "**/Volumes/space/commons/**": true,
    "**/Volumes/space/libs/**": true,
},
"files.watcherExclude": {
    "**/Volumes/space/commons/**": true,
    "**/Volumes/space/libs/**": true,
},

Hello,
We have a similar problem as @ottopic above https://github.com/microsoft/vscode/issues/92274#issuecomment-643258816 , we work with vscode local on macos, with files remote on a linux server with a mounted Synology NAS as filesystem, admittedly not the fastest of all remote working setups.
Starting up vscode thrashes the filesystem completely, and there effectively is no language support (python) for the files we're editing, making it kind-of pointless to use the editor.
Is there any way to convince vscode to only index the files that are relevant, e.g., only python files, or the files actively open in the editor, or something?
Thanks


[Form] navigation and submit with keyboard

Hello,
I'd like to create a form where it's possible to go to the next field directly from the keyboard and send it directly when we are on the last field.
Is it possible ?
It's very common. Now with Native Base, we have to click on every field and then in order to click on the button two times : one for the keyboard dismissing and another one for the submit.
Thank you in advance !

@pierre-H https://github.com/facebook/react-native/commit/ab12189f87d8e7fd84a4f1b92fa97e8894e984c7#diff-35d03ce527379518aef0aa3aad098cfa
http://stackoverflow.com/questions/32748718/react-native-how-to-select-the-next-textinput-after-pressing-the-next-keyboar
This should do.


Configuration variable $CHAINLINK_ROOT

In the configuration variables page, I think the variable $CHAINLINK_ROOT should be replaced by $ROOT, in this section :
https://docs.chain.link/docs/configuration-variables/#admin_credentials_file

Thanks for calling this out. Confirmed in schema.go.
https://github.com/smartcontractkit/chainlink/blob/6424c2a3b3dcf15382d5093c74eb4782ffae35f9/core/config/schema.go#L21


Mumps on Windows compiled by Msys2 (mingw64)

I want to comple the mumps on windows by mingw. I installed the msmpi and scalapack in msys2 by "pacman -S mingw-w64-x86-64-msmpi" and  "pacman -S mingw-w64-x86-64-scalapack".
When I compile the mumps, the cmake error shows:
CMake Error at cmake/mpi.cmake:24 (message):
MPI Fortran library mpif.h not functioning with GNU 10.2.0
Call Stack (most recent call first):
CMakeLists.txt:57 (include)
Is there any method to compole mumps on windows by mingw?

Furthermore, can any one precompile the mumps by mingw and put on it in msys2 pool? That will save a lot of troubles for the user in msys2.

https://www.scivision.dev/windows-mpi-msys2/ describes how to use MS-MPI in Fortran with MSYS2. I use MS-MPI with MinGW from MSYS2 in Fortran this way almost every day. I will add it to the Mumps Readme here. I think it would be nice to have this in MSYS2 I agree.

Thank you for you quickly reply and thans for your contribute for the open source code. Hope the user can get mumps from msys2 repository just by a command: pacman -S mingw-w64-x86_64-mumps. That's very useful for some developer. You know, it is hard to config the MPI, Scotch and any other packages.


Support for sparsity

SparseDiffTools  has an interface to use different ADs. It would be good to have a benchmark against it. (or maybe replace current implementation with DifferentiationInterface)
It's interface:
VecJac(f, v; autodiff = autodiff_backend) * x
JacVec(f, v; autodiff = autodiff_backend) * x

It only makes sense to compare identical backends, so the first step would be to support the sparse AD backends defined in ADTypes.jl.

Or do these sparse backends make use of SparseDiffTools @gdalle?

The sparse_jacobian backend switches with sparse and non-sparse variants based on the sparsity detection algorithm

Yeah @adrhill, the idea is that AutoSparse... in ADTypes.jl adds a SparseDiffTools.jl touch.
@avik-pal I plan to add support for sparsity (#7) but the preparation phase is a bit tricky so I haven't gotten around to it yet. Basically we would need to provide a config object + a cache object + a coloring, if I understand correctly. I'll look into that

@avik-pal what's wrong with the SparseDiffTools operators?

FunctionOperator has been kind of broken in SciMLOperators (in terms of type stability and interface) for quite some time now. VecJac and JacVec construct that internally. In the long term, we want to fix function operator, but currently, there is a void regarding who wants to pick that up. The nonlinearsolve JacobianOperator essentially implements a type-stable interface for what FunctionOperator should looks like (but it misses some of the necessary functionality to make it general beyond jacobians)

Re interfacce issues: See https://github.com/SciML/SciMLOperators.jl/issues/223

Once #135 is merged, sparse Jacobians and Hessians will be supported, with the precomputation of the sparsity pattern happening in the preparation step.
Since the low-level interface of SparseDiffTools is very messy and backend-specific, I only used the high-level one, implementing the Hessian as the Jacobian of the gradient.

Update: the upcoming v1.0 of ADTypes.jl will allow us to decouple

sparsity pattern detection
coloring algorithms
batched jacobian/hessian column/row evaluations

Related:

https://github.com/SciML/ADTypes.jl/issues/38

As of right now, the main branch supports row-wise and column-wise estimation of sparse Jacobians, and column-wise estimation of sparse Hessians, using what is basically a clean reimplementation of SparseDiffTools. Closing this issue, feel free to reopen more specific ones


Proposing an NVD3 article in the D3 section

Describe your problem and how to reproduce it:
This is a proposal to build consensus about whether to and where to add a short article about NVD3, a library that builds on top of D3.js, which I have often found useful for beginners not sure where to jump in with D3. As they find edge cases they don't like or can't use in NVD3, they fiddle and dig under the hood, and thus slowly learn the D3 underneath.
NVD3's site is here: http://nvd3.org/
It uses D3 as it's base but just adds on top, so the D3 api is still always there as well. It covers basic use cases early developers might want, like bar charts and line charts, but in ways that come very full-featured and easy to configure outside of the box. In this way it's also a good introduction to using 3rd-party libraries generally, and finding that the solution for what you're trying to get, if it's a common solution, often has a library out there to help.
Thoughts?
Add a Link to the page with the problem:
https://guide.freecodecamp.org/d3
Tell us about your browser and operating system:

Browser Name: Chrome
Browser Version:
Operating System: OSX

If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box):

Can't see why not, the visualisation section is quite hard and off-putting as a consequence of how d3 is designed, so anything that makes people despise it less is good in my book.

So do we want to create a group of challenges around this? I'm thinking that with the plan of turning the curriculum into the project based curriculum - creating a new group of challenges is maybe not the way to go. I am not familiar with NVD3 - it sounds helpful. Perhaps a guide article?

One project would do, though in that format it begs the question why teach D3 itself at all then.

As an infrequent contributor, I missed the memo on the plan to shift to a project-based curriculum. Is it anything more complicated than a focus more on making small problems / projects for students and less on the article-based reference / reading material aspect?
I could set it up either way folks wanted, either as a short article or a small challenge (build this basic chart using NVD3!), though I'm super over-worked right now, so it wouldn't be until the fall probably that I could put it together for y'all.

Pretty much yes @StraubJones - just a bunch of small projects instead of challenges - https://www.freecodecamp.org/forum/t/help-us-build-version-7-0-of-the-freecodecamp-curriculum/263546

Closing as stale. The best place to discuss any further ideas on this would be the project based curriculum repo. Thanks and happy coding 🎉


ActionView::Template::Error in admin/users#index

Error in Osuny
ActionView::Template::Error in admin/users#index
Object must be a Date, DateTime or Time object. nil given.
View on Bugsnag
Stacktrace
app/views/admin/users/index.html.erb:30 - block in _app_views_admin_users_index_html_erb__3584518048241765469_1329900
app/views/admin/users/index.html.erb:20 - _app_views_admin_users_index_html_erb__3584518048241765469_1329900
app/controllers/application_controller/with_locale.rb:19 - switch_locale

View full stacktrace
Created automatically via Bugsnag

An error linked to this issue has been marked as fixed in Bugsnag
ActionView::Template::Error in admin/users#index

An error linked to this issue has been reopened in Bugsnag
ActionView::Template::Error in admin/users#index

An error linked to this issue has been marked as fixed in Bugsnag
ActionView::Template::Error in admin/users#index


Zambia currency exchange rate

I'm having trouble with converting to Zambias ZMW/ZMK.
Apparently Google Finance supports both, but only has the change rates available for the new ZMW.
So ZMW should be recognised instead of ZMK.
Thanks in advance!

Please create a PR and I'll happily merge it.


Zipkin UI doesn't fail gracefully when no endpoints are found in a Span

View the attached saved traces using Zipkin UI. The UI fails with the error ERROR: Cannot parse file: TypeError: Cannot read property 'ipv4' of undefined for the file missing-endpoint-trace.json and loads fine when the localEndpoint and remoteEndpoint values are added.
good-trace.json.txt
missing-endpoint-trace.json.txt
The failure is from skew.js:188
function ipsMatch(a, b) {
if (a.ipv6 && b.ipv6 && a.ipv6 === b.ipv6) {
return true;
}
if (!a.ipv4 && !b.ipv4) return false;
return a.ipv4 === b.ipv4;
}

Thanks.. good info tested with trace viewer


Fix a wrong conversion function usage for converting mouse positions.

The function used was one for video mode to window system conversion -
however the intent was converting window system to device independent pixel,
as GLFW returns window system coordinates for mouse pointers.
This is part of fixing #1774.

I am taking this change back - it's necessary but can't be done independently from my other change to be submitted once my other PR is in.

The change is confirmed OK together with my other changes though.
It's gonna be part of this: https://github.com/divVerent/ebiten/commit/1449b68d0beb6adc4c2cb5da0973a134df9ca36d


Document all configuration values with default

The aim of this commit was to have all env-variables in one place and also document the default options if not set.

We have since switched to MkDocs and the environment variables are now documented properly here: https://ahmetoner.com/whisper-asr-webservice/environmental-variables/
Thank you for your contribution.


Add support for relative paths when adding custom rulesets.

I use phpmd on 2 computers so I'll like to add a ruleset just by typing ~/.phpmd/naming.xml Rather than Users/najela/.phpmd/naming.xml since my usernames are different in both computers.

With relative paths you mean in this case the resolution of the user folder shortcut ~ on *nix based OSes, right?
Because I think it should already support relative paths, but I could be wrong.

Yep I mean the resolution of the user folder shortcut ~


cilium endpoint get indentation is weird for rules

$ cilium endpoint get ...
...
      "l4": {
        "egress": [],
        "ingress": [
          {
            "rule": {
   "port": 9042,
   "protocol": "TCP"
 }
          },
...

The indentation of the actual rule elements is weird, probably this is the expandNestedJSON() function not taking into account the current level of indentation.

Are you referring to this:
		// Determine the current indentation
		for i := 0; i < loc[0]-1; i++ {
			idx := loc[0] - i - 1
			if resBytes[idx] != ' ' {
				break
			}
			indent = fmt.Sprintf("%s ", indent)
		}

@iamShantanu101 That would be my guess. By the way, you can link directly to code by browsing it on github, hovering over a line, clicking the "..." and clicking it, then "Copy Permalink", eg:
https://github.com/cilium/cilium/blob/f8e147bcd072638ffedad2319fae4c3e2a7e6f19/cilium/cmd/helpers.go#L129-L136
https://github.com/cilium/cilium/blob/f8e147bcd072638ffedad2319fae4c3e2a7e6f19/cilium/cmd/helpers.go#L129-L136


Typo in Exercise 13.5.2

https://jrnold.github.io/r4ds-exercise-solutions/relational-data.html#exercise-13.5.2

Now, I will semi join the data frame of lights that have flown at least 100 flights to the data frame of flights to select the flights by those planes.

I think you meant "... join the data frame of planes that have flown ..."

Thanks. Fixed.


Launch 🍺

[x] Research Chrome extension store
[ ] Develop strategy plan for applying updates
[x] List additional requirements for the launch

Publish in the Chrome Web Store
I have set up a Google developer account under<EMAIL_ADDRESS>We can create a list of "trusted testers"

These test accounts allow you to make your application visible only to specific users for testing

I've added my google accounts and your's @theotherstevenc we can add more at any time.
Before we publish we need to

[ ] Write a description (25 - 16,000 characters)
[ ] We need to set up A link to the privacy policy for all extensions. The policy should include how data is collected, used, and disclosed.
[ ] We need to create some screen shots (up to 5)
[ ] Promo tiles 440x280 & 1400x560
[ ] Potentially create a video
[ ] Write Permission justifications for each permission we request in the manifest "permissions": ["storage", "activeTab", "scripting", "declarativeContent"],

We can create a video and gather screen shots once the add is finished and we are happy with it.


Integration as package into Alpine Linux

Hey there. I love the library! And so I would like to know if you would be okay with me packaging it as a dev package for Alpine Linux.
To do this, I probably need to package fort.h, fort.hpp, and fort.a into a dev package.
If you are interested in adding support for generating a .so file, then I could potentially also make a regular library package just containing that.
Finally, it would be helpful if you could make a release so that I can make a URL directly to your repo to grab the source tarball for packaging and pointing others to your great library.
Thought on this?

Hello and thanks for kind words.
No objections. I would be glad and grateful if you do a package and make it more usable in the distribution that you use.
About release. I also thought about that. At the moment I am doing internal refactoring since internal implementation is rather messy and I have plans to add normal UTF-8 support and without refactoring it will be hard to do. My initial plans were to make a release after that work. But to be honest I have no idea how much time it will take to finish it (maybe a month or two). So maybe it is not a bad idea to make release now (something like version 0.1.0). And then after several months I'll just make another release.
If it is not urgent, please, give me a few days, I'll try to revise API, doc strings and arrange release here on github.
Also some thoughts about files to add to the github release. There should be fort.c and fort.h. And at this point I am not sure about fort.hpp. For me at the moment it is a little bit experimental and I need to think a little bit about it. By the way, did you use C API (fort.h) of C++ wrappers from (fort.hpp)?

Good to hear from you. Yes I can wait for any refactoring you'd like to make before the initial release. I think it's a good idea to just make a 0.1.0 for now and then in a few months make another release.
As for files to add to the release, I'm pretty sure that Github releases simply contain all the files of the repo, so there should not be any need to choose specific files.
On the subject of static/dynamic libraries, Alpine Linux does not really use source packages, and so including a .c' file in the final binary package would not be allowed. The process I will follow is to create a package file which describes how to build the package and then describe which build artifacts to include in the binary package. So I will include the .h' and .hpp' source files directly for the 'dev' package, but for the library package, I would need to include a .so' file, unless we only add a `.a' version of the library to the dev package. All of this to say that I'd like cmake to output a shared library for your library.
The project that I'm trying to package on Alpine that has a dependency on your library is written in C, so I'm using the `.h' file.

Ok. Then I'll try to revise code a little bit and my CMakeFiles to produce shared library.
Feel free to write any problems that you encounter in this thread.

Hello, I've made a release.
Here is a short instruction how you can build.
curl https://codeload.github.com/seleznevae/libfort/tar.gz/v0.1.0 -o libfort.tar.gz
tar -xvf libfort.tar.gz
cd libfort-0.1.0/

mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON
# the command below will build library and tests
make
# at this point libfort.so in the build directory
ctest -VV   # if need to run tests on target platform

#if you don't need tests and need only to build library, please replace 'make' with 'make fort'

If something is done wrong or is inconvenient, please write I'll try to fix.

Woo. I will try to make the PR tonight for this package.

Could you add an install target that respects "DESTDIR" and installs the two header files into /usr/include and installs the library into /usr/lib?

I could also use a chain of .so files, like libfort.so.0.1.0 and libfort.so.0 -> libfort.so.0.1.0
.

Hello, I've made some changes in the branch issue-3. This is how you can check current version:
git clone https://github.com/seleznevae/libfort
cd libfort
git checkout issue-3

mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON  -DCMAKE_INSTALL_PREFIX=/usr
# the command below will build library and tests
make
ctest -VV   # if need to run tests on target platform
# if you don't need tests and need only to build the library, please replace 'make' with 'make fort'

make install # or maybe 'sudo make install'

Please pay attention to DCMAKE_INSTALL_PREFIX. It specifies install path prefix. If you set it to /usr  then library will be install to /usr/include and /usr/lib.
If everything is fine I'll create another release and you will able to download via direct link.

Yes this looks great!

I've made release v.0.1.1. You can download it directly:
curl https://codeload.github.com/seleznevae/libfort/tar.gz/v0.1.1 -o libfort.tar.gz

Here's the PR waiting for testing/approval https://github.com/alpinelinux/aports/pull/8027

I see there are problems with builds on other platforms.
Build failed because of '-Werror'. I think it shouldn't be in my cmake files.

Released version 0.1.2 with removed from the build process '-Werror' flag. Hope it will help.

I made a PR that I think will solve the problem without removing Werror

Sorry, I've just noticed. I'll see it.

Could you draft another release? Then I will modify my package PR to use the new version.
In my opinion it's good that you have so many warning flags turned on. Perhaps you'd consider putting the -Werror flag back on? :)

This flag -Werror is a little bit controversial. There are some pros and cons. One may argue that it should be explicitly set by the user in CI or in package description ...
I can revert it back so that we can check that compilation is done without warnings. But I must say that if at some point I or somebody else will encounter case when compiler will generate some dummy warnings at some specific platform it may be easily removed again. Please keep that in mind. So you shouldn't assume that it by default always there.
If you are okay with that fact I will return it.

You make a good point. Let's leave the flag out and I will add it back in explicitly as part of the package build. Does that sound like a good solution?

That sounds good to me. I'll draft release without this flag.

Released version v0.1.3

Hello, I noticed in https://github.com/alpinelinux/aports/pull/8027/files that you have binutils-gold. I then noticed that for all gcc builds I have option -fuse-gold. Is that the reason why you have to add it or something else?
Anyway, as far as I remember I think that I added it because there were some bugs with sanitizers with some gcc versions. Therefore in develop I made some changes - now I add -fuse-gold only for special builds (sanitizers ...).
Not sure this is important. But in case guys from alpine linux will say something about binutils-gold maybe it can be avoided for ordinary builds.

Yeah I was having trouble building without those added
On Fri, May 24, 2019, 1:14 PM Seleznev Anton<EMAIL_ADDRESS>wrote:

Hello, I noticed in https://github.com/alpinelinux/aports/pull/8027/files
that you have binutils-gold. I then noticed that for all gcc builds I
have option -fuse-gold. Is that the reason why you have to add it or
something else?
Anyway, as far as I remember I think that I added it because there were
some bugs with sanitizers with some gcc versions. Therefore in develop I
made some changes - now I add -fuse-gold only for special builds
(sanitizers ...).
Not sure this is important. But in case guys from alpine linux will say
something about binutils-gold maybe it can be avoided for ordinary builds.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/seleznevae/libfort/issues/3?email_source=notifications&email_token=ACO3NRU4LC3244RHIDB7HWLPXAWALA5CNFSM4HNZLZYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWGF7YI#issuecomment-495738849,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACO3NRV3BGF5R22UZHCMJATPXAWALANCNFSM4HNZLZYA
.

Yeah I don't think they like adding gold. Can you release your 0.1.4?

Done. Please check version 0.1.4.

Alright it's all merged in! Thanks for you help.
Now for me to make a PR for my project which is using your library haha.

What do you think about adding the production of a pkg-config file? The project I want to use this library with uses Meson to build it, and thus uses .pc files to find dependencies.

I am okay with that.
I pushed some changes for that in branch add_package_config_files and create PR - https://github.com/seleznevae/libfort/pull/6. Please check if it suits you and everything is fine/

Looks good to me.

Please try version 0.1.5.

All good


Psa downstream

Namespace currently look like:
$ oc get ns openshift-operator-lifecycle-manager -o yaml
apiVersion: v1
kind: Namespace
metadata:
  annotations:
    include.release.openshift.io/ibm-cloud-managed: "true"
    include.release.openshift.io/self-managed-high-availability: "true"
    openshift.io/node-selector: ""
    openshift.io/sa.scc.mcs: s0:c20,c0
    openshift.io/sa.scc.supplemental-groups:<PHONE_NUMBER>/10000
    openshift.io/sa.scc.uid-range:<PHONE_NUMBER>/10000
    workload.openshift.io/allowed: management
  creationTimestamp: "2022-08-08T20:43:32Z"
  labels:
    kubernetes.io/metadata.name: openshift-operator-lifecycle-manager
    olm.operatorgroup.uid/05abd798-6c32-444f-b464-8d6b055c1782: ""
    olm.operatorgroup.uid/0a8c1277-46e3-4fc8-a1cc-8aa53df77f87: ""
    openshift.io/cluster-monitoring: "true"
    openshift.io/scc: anyuid
  name: openshift-operator-lifecycle-manager
.
.

oc get ns openshift-operators -o yaml
apiVersion: v1
kind: Namespace
metadata:
  annotations:
    include.release.openshift.io/ibm-cloud-managed: "true"
    include.release.openshift.io/self-managed-high-availability: "true"
    openshift.io/node-selector: ""
    openshift.io/sa.scc.mcs: s0:c20,c10
    openshift.io/sa.scc.supplemental-groups:<PHONE_NUMBER>/10000
    openshift.io/sa.scc.uid-range:<PHONE_NUMBER>/10000
    workload.openshift.io/allowed: management
  creationTimestamp: "2022-08-09T17:25:15Z"
  labels:
    kubernetes.io/metadata.name: openshift-operators
    openshift.io/scc: anyuid
    pod-security.kubernetes.io/enforce: baseline
    pod-security.kubernetes.io/enforce-version: v1.24
  name: openshift-operators
.
.

Notice the baseline profile enforced in openshift-operators namespace, to allow exsiting CSVs to install ☝🏽.
Workloads all working seamlessly with the right securityContext configs:
$ oc get pod catalog-operator-569796f9fc-22zp2 -n openshift-operator-lifecycle-manager -o yaml | grep securityContext -A 6
    securityContext:
      allowPrivilegeEscalation: false
      capabilities:
        drop:
        - ALL
      runAsUser:<PHONE_NUMBER>
    terminationMessagePath: /dev/termination-log
--
  securityContext:
    fsGroup:<PHONE_NUMBER>
    runAsNonRoot: true
    seLinuxOptions:
      level: s0:c20,c0
    seccompProfile:
      type: RuntimeDefault

$ oc get pod olm-operator-59df754788-j4qm8 -n openshift-operator-lifecycle-manager -o yaml | grep securityContext -A 6
    securityContext:
      allowPrivilegeEscalation: false
      capabilities:
        drop:
        - ALL
      runAsUser:<PHONE_NUMBER>
    terminationMessagePath: /dev/termination-log
--
  securityContext:
    fsGroup:<PHONE_NUMBER>
    runAsNonRoot: true
    seLinuxOptions:
      level: s0:c20,c0
    seccompProfile:
      type: RuntimeDefault

$ oc get pod package-server-manager-69d7b66648-7kzsp -n openshift-operator-lifecycle-manager -o yaml | grep securityContext -A 6
    securityContext:
      allowPrivilegeEscalation: false
      capabilities:
        drop:
        - ALL
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: FallbackToLogsOnError
--
  securityContext:
    runAsNonRoot: true
    runAsUser:<PHONE_NUMBER>
    seLinuxOptions:
      level: s0:c20,c0
    seccompProfile:
      type: RuntimeDefault

$ oc get pods -n openshift-marketplace
NAME                                    READY   STATUS    RESTARTS   AGE
certified-operators-xbpbt               1/1     Running   0          23m
community-operators-vfwgb               1/1     Running   0          9m17s
marketplace-operator-5df96fcb9c-cx6pq   1/1     Running   0          29m
redhat-marketplace-zw7bd                1/1     Running   0          23m
redhat-operators-d8cbk                  1/1     Running   0          23m

$ oc get pod community-operators-vfwgb -n openshift-marketplace -o yaml | grep securityContext -A 6
    securityContext:
      allowPrivilegeEscalation: false
      capabilities:
        drop:
        - ALL
      readOnlyRootFilesystem: false
      runAsNonRoot: true
--
  securityContext:
    fsGroup:<PHONE_NUMBER>
    seLinuxOptions:
      level: s0:c17,c4
    seccompProfile:
      type: RuntimeDefault
  serviceAccount: community-operators

Test to make sure installing operator in the openshift-operator namespace works as expected:

installed the aerospike-kubernetes-operator from the OperatorHub console (that installs the operator in the openshift-operators namespace)

$ oc get sub -n openshift-operators
NAME                            PACKAGE                         SOURCE                CHANNEL
aerospike-kubernetes-operator   aerospike-kubernetes-operator   community-operators   alpha

$ oc get pods -n openshift-marketplace
NAME                                                              READY   STATUS      RESTARTS   AGE
5ce4a54e377765068d69d5a13713476ef8bfa345dd551448534d5f80abxhlcr   0/1     Completed   0          3m14s
certified-operators-gmcm7                                         1/1     Running     0          41m
community-operators-dmfdf                                         1/1     Running     0          41m
marketplace-operator-6ff65457ff-2hgvl                             1/1     Running     0          47m
redhat-marketplace-zn9bw                                          1/1     Running     0          41m
redhat-operators-q6m65                                            1/1     Running     0          41m

# check that the job has the right security context configs:
$ oc get pod 5ce4a54e377765068d69d5a13713476ef8bfa345dd551448534d5f80abxhlcr -n openshift-marketplace -o yaml | grep securityContext -A 6
    securityContext:
      allowPrivilegeEscalation: false
      capabilities:
        drop:
        - ALL
      runAsNonRoot: true
      runAsUser:<PHONE_NUMBER>
--
    securityContext:
      allowPrivilegeEscalation: false
      capabilities:
        drop:
        - ALL
      runAsNonRoot: true
      runAsUser:<PHONE_NUMBER>
--
    securityContext:
      allowPrivilegeEscalation: false
      capabilities:
        drop:
        - ALL
      runAsNonRoot: true
      runAsUser:<PHONE_NUMBER>
--
  securityContext:
    fsGroup:<PHONE_NUMBER>
    seLinuxOptions:
      level: s0:c16,c15
    seccompProfile:
      type: RuntimeDefault

$ oc get csv -n openshift-operators
NAME                                   DISPLAY                         VERSION   REPLACES   PHASE
aerospike-kubernetes-operator.v2.1.0   Aerospike Kubernetes Operator   2.1.0                Succeeded

$ oc get pods -n openshift-operators
NAME                                                     READY   STATUS    RESTARTS   AGE
aerospike-operator-controller-manager-587678b6fc-67j7v   2/2     Running   0          32s
aerospike-operator-controller-manager-587678b6fc-xhswq   2/2     Running   0          32s

/test e2e-gcp-olm

Looks like b2b test case failures.
/hold

That's strange, looks like the test [It] cleanup csvs with bad namespace annotation is failing, and I thought I'd fixed it in this commit. I did remove the flaky annotation from the test, and it passes in upstream, but looks like it's failing in a different stage than where the actual fix is. Regardless, the commit did introduce that change, but looks like it was expected before too that this is a flaky area,
/test e2e-gcp-olm
to see if it fails in the same spot again so that I can investigate it further tomorrow. Maybe it's just a case of introducing the flaky annotation back into the test, since I just ran the test upstream it passes every time, looks like the test passes in aws, it's strange that there could be a delta in gcp for this test.

Found the problem, fix posted in https://github.com/operator-framework/operator-lifecycle-manager/pull/2837, once that merges will pull that commit in this PR

Pod pending timeout.
smh. /retest

/retest

/test unit-olm

/test e2e-gcp-olm

c'mon man
/retest

@timflannagan would you do the honors please 🥲

/hold cancel


ngrok: automatically reconnect the session on errors

Probably gonna split out the protocol-level changes, but basic reconnecting is working. Probably some bugs still.

Reconnecting minimally works, but there are still issues around making it stop reconnecting. I tried some quick-and-dirty approaches at the ngrok session level, but I think the most correct solution is going to be to plumb the "close" signal all the way back through the muxado session so we can interrupt the connection accept async call.
I vote we merge now and handle the "stop reconnecting" flow in a follow-up.

It's so that the other holders of session objects can't observe the inner getting swapped until it's completely done re-initializing. Shouldn't really matter, since they'd just block on trying to get the locks anyway.
I did rethink the destructiveness of taking the old tunnels out of the original map, so that it remains "valid-ish" until the inner session gets swapped.


If a view example's description contains no path elements, then do not attempt to load a helper based on the example description.

This odd edge case was encountered in a Rails project where a "presenter" type class was being spec'd as a ViewExampleGroup (via the type: :view).  Since the example group for this class has a description with no path element, the ViewExampleGroup attempt to auto-load related helpers was trying to find (and load) a helper named Helper.
The actual issue was discovered when someone introduced (elsewhere within the specs) a class named Helper.  Prior to this, the presenter  example group had not caused problems since there was no Helper module or class to load, but once this new class was introduced, we started seeing an exception:
.../actionpack-3.2.21/lib/abstract_controller/helpers.rb:153:in `include': wrong argument type Class (expected Module) (TypeError)
  from .../actionpack-3.2.21/lib/abstract_controller/helpers.rb:153:in `block in add_template_helper'
  from .../actionpack-3.2.21/lib/abstract_controller/helpers.rb:153:in `module_eval'
  from .../actionpack-3.2.21/lib/abstract_controller/helpers.rb:153:in `add_template_helper'
  from .../actionpack-3.2.21/lib/abstract_controller/helpers.rb:96:in `block in helper'
  from .../actionpack-3.2.21/lib/abstract_controller/helpers.rb:95:in `each'
  from .../actionpack-3.2.21/lib/abstract_controller/helpers.rb:95:in `helper'
  from .../rspec-rails-2.14.2/lib/rspec/rails/example/view_example_group.rb:150:in `block in <module:ViewExampleGroup>'

Previously-failing example and fix provided here.

Are you rendering a view in these specs?
While I understand the root issue, I'm not sure the view spec is intended for this use case. It sounds like you are just testing a "plain old Ruby object" which happens to use parts of Rails.

@cupakromer You're right, this is a bit outside the intended use of view specs, but the PORO-ish class that is being tested actually is directly responsible for rendering (via e.g. content_tag, concat, etc), so this was setup as a view spec in order to have access to the view, params, etc that are provided by to views (and view specs).
Not at all disagreeing that the design of the test that surfaced this issue (and the object being tested) needs some reconsideration, but at the same time, what I'm pointing out here is still a (potential) bug.  For example, what if you want to test a view template that sits at the root of your app/views folder?

I've created a minimal test application illustrating the requirements for reproducing this bug:
https://github.com/tinynumbers/rspec_pr_1289
The repo's Readme provides more details.

Any chance of getting this merged?

This is good. Thanks for the contribution @tinynumbers :heart:
Very sorry for taking so incredibly long to merge.

Thanks @cupakromer!


Spring Boot 2.4 config file processing changed cause issue

According to the new config file processing in spring boot 2.4
file: spring-cloud-commons/spring-cloud-context/src/main/resources/META-INF/spring.factories
org.springframework.cloud.bootstrap.BootstrapConfiguration=\
org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration,\

Could not loaded correctly,  because the new processing just load the class with the right type. In this case, it should be under org.springframework.context.ApplicationContextInitializer
modify to:
org.springframework.context.ApplicationContextInitializer=\
org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration

should fix this.
And I think maybe there are several places like this need to be repared. Hope to focus on this in the furture versions.

No. See https://github.com/spring-cloud/spring-cloud-release/wiki/Spring-Cloud-2020.0-Release-Notes#breaking-changes

No. See https://github.com/spring-cloud/spring-cloud-release/wiki/Spring-Cloud-2020.0-Release-Notes#breaking-changes


How to represent clear_scroll and close_point_in_time returning 404 with a valid response?

In https://github.com/elastic/elasticsearch-java/issues/36#issuecomment-948558659 I found that clear_scroll returns a 404 status code with a valid response when the scroll_id was not found.
Its successor close_point_in_time has the same behavior.
This is not documented in the docs (scroll, pit) nor in the json-spec. How can we represent this in the TS spec?
Are these snowflakes or do we know other APIs that behave similarly?

Another nasty one, the delete document API:

it returns 404 with a valid response body if the index exists but doesn't contain a document with that id
it returns 404 with an error response body if the index doesn't exist.


[AutoPR eventgrid/data-plane] EventGrid StorageBlobCreatedEventData: Make contentLength field long instead of int to account for blob sizes greater than 2 GB.

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5179

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/4059


  This pulls in the new ed25519 and tendermint versions.

Draft because the tendermint tag doesn't exist yet, and so I can't commit the modified go.sum yet.


Update README.md for _grant resources

Grant resources described in a way that is easier to me to understand. Previous description was vague to me and I could first how the resource works upon using it.

I am changing how we manage these docs, can you rebase your change on https://github.com/chanzuckerberg/terraform-provider-snowflake/pull/227 ?


Prompt user to overwrite json file if it already exists when building bicep file

When a user tries to build a file named "test3.bicep", if they happen to have a corresponding JSON that was not compiled from Bicep they receive this message

In this case, I would love us to instead give a message more similar to

And give them the ability to overwrite this file in place of a Bicep build. We should provide this option regardless of if this JSON file was compiled from Bicep or not. Simple naming conflict is what we should check for.

I agree. I ran into this issue, and it was somewhat workflow-breaking to have to manually delete the file.

Blocked by https://github.com/Azure/bicep/issues/8514

Suggest: won't fix.
I think the current behavior is reasonable.  We will automatically replace the current JSON file if it was previously built by Bicep.  If it wasn't produced by Bicep, the odds are higher that it was a mistake.  I don't think we should spend time worrying about automatically a delete if the file in this case.  (Low bang for buck.)