Relaxed Cone Step Mapping (Relief Mapping) example

Make the binary search optional (update: I'd rather you not use bsearch) as well as the usage of a quad channel cone-map
https://developer.nvidia.com/gpugems/GPUGems3/gpugems3_ch18.html
Need an irr::ext to cone maps from a bump-map (and warn everyone all the way through about the assumption that tangent space is completely flat).
This should be implemented as a compute shader and should be possible to happen together with derivative map computation.
It should be able to compute both the quad-channel cone-map and a single-channel cone-map.
IMPORTANT Include an alpha testing threshold in the cone-step-map calculation, if alpha below threshold, substitute Relief Map value for -FLT_MAX (the the raytracing correctly skips downward).
It makes sense to compute derivative map and cone-map with the same function parameters as the heightfield-scale has to match.
Heightfield-scale parameter should be defined relative to the normalized 0,1 texture coordinates, not texels, to be resolution independent and give the same results (as it is in derivative mapping already).
NOTE: The compute shader that calculates the derivative map, should also calculate the mip-maps as the mip-map filtering for a cone-map could be vastly different from the standard (manipulate shininess even further on account of the height differences).
However no further filtering of specular maps should is necessary until #280 is complete.
Derivative map and cone-map should be in separate textures, as during the raytracing the cone-map will be sampled multiple times and we don't want to use more bandwidth than we need to.
Implement as a GLSL function generated from mostly built-in engine includes.
Keep the implementation modular enough so we can trace arbitrary rays in tangent space, also provide two version of the tracing function:

Traces through the XY texture domain and then continues, wrapping around, giving us either an intersection with heightfield or reports a failure (ray left tangent space with Z coord becoming <0 or >1). You may think its impossible, but its possible for shadow rays (tracing in reverse) and alpha tested geometry.
Same as nr. 1 , but traces through the XY texture domain once, terminating reporting a failure to hit if the ray X or Y coordinate goes outside the [0,1] range.

Bonus points for implementing silhoutte handling properly
http://www.inf.ufrgs.br/~oliveira/pubs_files/Policarpo_Oliveira_RTM_multilayer_I3D2006.pdf
This has stuff for handling silhouettes
http://www.inf.ufrgs.br/~oliveira/pubs_files/Oliveira_Policarpo_RP-351_Jan_2005.pdf

Also provide a GLSL function to calculate new gl_FragDepth (without writing to it! just want the number) given a tangent-space difference between the ray-entry-point and the ray-hit-point.

For reference.
https://blog.selfshadow.com/2011/07/22/specular-showdown/

@AnastaZIuk add to stack of "recruitment tasks"


cant build sdk under windows

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:

What is the expected behavior?

What behavior are you observing?

Provide the steps to reproduce the issue, if applicable:

Windows Quick Start Guide with Script
under Setup your configuration
bash setup.sh config.json -s 123456
it gives this only not going forword to clone or build
---------------------------------------------consol output----------------------------------------------
hshah@DESKTOP-GDV1SHK MINGW64 ~
$ bash setup.sh config.json -s 123456
################################################################################
################################################################################
AVS Device SDK Windows mingw64 Script - Terms and Agreements
The AVS Device SDK is dependent on several third-party libraries, environments,
and/or other software packages that are installed using this script from
third-party sources ("External Dependencies"). These are terms and conditions
associated with the External Dependencies
(available at https://github.com/alexa/avs-device-sdk/wiki/Dependencies) that
you need to agree to abide by if you choose to install the External Dependencies.
If you do not agree with every term and condition associated with the External
Dependencies, enter "QUIT" in the command line when prompted by the installer.
Else enter "AGREE".
################################################################################
################################################################################
AGREE
################################################################################
Proceeding with installation
################################################################################
==============> INSTALLING REQUIRED TOOLS AND PACKAGE ============
warning: git-2.20.1-1 is up to date -- skipping
:: There are 17 members in group mingw-w64-x86_64-toolchain:
:: Repository mingw64

mingw-w64-x86_64-binutils  2) mingw-w64-x86_64-crt-git
mingw-w64-x86_64-gcc  4) mingw-w64-x86_64-gcc-ada
mingw-w64-x86_64-gcc-fortran  6) mingw-w64-x86_64-gcc-libgfortran
mingw-w64-x86_64-gcc-libs  8) mingw-w64-x86_64-gcc-objc
mingw-w64-x86_64-gdb  10) mingw-w64-x86_64-headers-git
mingw-w64-x86_64-libmangle-git  12) mingw-w64-x86_64-libwinpthread-git
mingw-w64-x86_64-make  14) mingw-w64-x86_64-pkg-config
mingw-w64-x86_64-tools-git  16) mingw-w64-x86_64-winpthreads-git
mingw-w64-x86_64-winstorecompat-git

Enter a selection (default=all):
warning: mingw-w64-x86_64-binutils-2.30-5 is up to date -- skipping
warning: mingw-w64-x86_64-crt-git-<IP_ADDRESS>75.ad74a50c-1 is up to date -- skipping
warning: mingw-w64-x86_64-gcc-8.2.1+20181214-1 is up to date -- skipping
warning: mingw-w64-x86_64-gcc-ada-8.2.1+20181214-1 is up to date -- skipping
warning: mingw-w64-x86_64-gcc-fortran-8.2.1+20181214-1 is up to date -- skipping
warning: mingw-w64-x86_64-gcc-libgfortran-8.2.1+20181214-1 is up to date -- skipping
warning: mingw-w64-x86_64-gcc-libs-8.2.1+20181214-1 is up to date -- skipping
warning: mingw-w64-x86_64-gcc-objc-8.2.1+20181214-1 is up to date -- skipping
warning: mingw-w64-x86_64-gdb-8.2-1 is up to date -- skipping
warning: mingw-w64-x86_64-headers-git-<IP_ADDRESS>75.ad74a50c-1 is up to date -- skipping
warning: mingw-w64-x86_64-libmangle-git-<IP_ADDRESS>30.69c8fad6-1 is up to date -- skipping
warning: mingw-w64-x86_64-libwinpthread-git-<IP_ADDRESS>73.3e5acf5d-1 is up to date -- skipping
warning: mingw-w64-x86_64-make-4.2.1-2 is up to date -- skipping
warning: mingw-w64-x86_64-pkg-config-0.29.2-1 is up to date -- skipping
warning: mingw-w64-x86_64-tools-git-<IP_ADDRESS>72.d66350ea-1 is up to date -- skipping
warning: mingw-w64-x86_64-winpthreads-git-<IP_ADDRESS>73.3e5acf5d-1 is up to date -- skipping
warning: mingw-w64-x86_64-winstorecompat-git-<IP_ADDRESS>30.69c8fad6-1 is up to date -- skipping
warning: mingw-w64-x86_64-cmake-3.12.4-1 is up to date -- skipping
warning: tar-1.30-1 is up to date -- skipping
warning: make-4.2.1-1 is up to date -- skipping
there is nothing to do
warning: mingw-w64-x86_64-python2-pip-18.1-2 is up to date -- skipping
there is nothing to do
Requirement already satisfied: flask in c:/msys64/mingw64/lib/python2.7/site-packages (1.0.2)
Requirement already satisfied: requests in c:/msys64/mingw64/lib/python2.7/site-packages (2.20.1)
Requirement already satisfied: commentjson in c:/msys64/mingw64/lib/python2.7/site-packages (0.7.1)
Requirement already satisfied: itsdangerous>=0.24 in c:/msys64/mingw64/lib/python2.7/site-packages (from flask) (1.1.0)
Requirement already satisfied: Jinja2>=2.10 in c:/msys64/mingw64/lib/python2.7/site-packages (from flask) (2.10)
Requirement already satisfied: click>=5.1 in c:/msys64/mingw64/lib/python2.7/site-packages (from flask) (7.0)
Requirement already satisfied: Werkzeug>=0.14 in c:/msys64/mingw64/lib/python2.7/site-packages (from flask) (0.14.1)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:/msys64/mingw64/lib/python2.7/site-packages (from requests) (3.0.4)
Requirement already satisfied: idna<2.8,>=2.5 in c:/msys64/mingw64/lib/python2.7/site-packages (from requests) (2.7)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in c:/msys64/mingw64/lib/python2.7/site-packages (from requests) (1.24.1)
Requirement already satisfied: certifi>=2017.4.17 in c:/msys64/mingw64/lib/python2.7/site-packages (from requests) (2018.11.29)
Requirement already satisfied: MarkupSafe>=0.23 in c:/msys64/mingw64/lib/python2.7/site-packages (from Jinja2>=2.10->flask) (1.1.0)
warning: mingw-w64-x86_64-sqlite3-3.26.0-1 is up to date -- skipping
there is nothing to do
warning: mingw-w64-x86_64-gstreamer-1.14.4-1 is up to date -- skipping
there is nothing to do
warning: mingw-w64-x86_64-gst-plugins-good-1.14.4-1 is up to date -- skipping
warning: mingw-w64-x86_64-gst-plugins-base-1.14.4-1 is up to date -- skipping
warning: mingw-w64-x86_64-gst-plugins-ugly-1.14.4-1 is up to date -- skipping
there is nothing to do
warning: mingw-w64-x86_64-gst-plugins-bad-1.14.4-3 is up to date -- skipping
warning: mingw-w64-x86_64-faad2-2.8.8-1 is up to date -- skipping
there is nothing to do
warning: mingw-w64-x86_64-portaudio-190600_20161030-3 is up to date -- skipping
there is nothing to do
==============> CREATING PATHS AND GETTING SOUND FILES ============
==============> BUILDING PORT AUDIO ==============
~/third-party ~
--2018-12-21 17:41:13--  http://www.portaudio.com/archives/pa_stable_v190600_20161030.tgz
Resolving www.portaudio.com (www.portaudio.com)... <IP_ADDRESS>
Connecting to www.portaudio.com (www.portaudio.com)|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable
The file is already fully retrieved; nothing to do.

Tell us about your environment:

What version of the AVS Device SDK are you using?
  <1.11>

Tell us what hardware you're using:

[ -] Desktop / Laptop
[ ] Raspberry Pi
[ ] Other - tell us more:

Tell us about your OS (Type & version):

[ ] Linux
[ ] MacOS
[ ] Raspbian Stretch
[ ] Raspbian Jessy
[- ] Other - tell us more:WINDOWS

Hello patadia,
It looks like the error you are encountering is probably a result of the command in mingw.sh:
pacman -S ${PACMAN_ARGS} mingw64/mingw-w64-x86_64-portaudio

You might try cleaning the pacman package cache or looking in /var/cache/pacman/pkg for a partially downloaded pa_stable_v190600_20161030.tgz and deleting it - and then re-running setup.sh.
Please let us know if that helps or not.
Best regards,
-SWH

Hello @patadia,
I am closing this issue because it has been inactive for a very long time with no reply.  Please feel free to re-open it if you think it has been closed in error.
Thank you,
-SWH


Big setting level to SYS_CONTEXT or APEX

From @martindsouza on June 21, 2014 17:53
When setting the level to SYS_CONTEXT or APEX an error is raised. This is due to an issue an assert in set_level
Copied from original issue: tmuth/Logger---A-PL-SQL-Logging-Utility#71

Fixed

The assert uses a list of global constants now (which was updated to include syscontext and APEX)


Fixappveyor

this fixes for me the test on appveyor. Let's see if it really works.
See https://github.com/Toblerity/Fiona/issues/414

Coverage remained the same at 75.68% when pulling 5ecd2484e011d7801ad340f16a1abfc33e12a0d9 on rbuffat:fixappveyor into 2c8f049c861654003c0a2929e46501bae7d6b4ad on Toblerity:master.

🙏 @rbuffat


Fix PnP Changelog

Removes duplicate items

Otherwise, looks good.

Nevermind, it just took a bit of time.


Finalized Monitor 1 layout

these are just .png files. I have the photos hop .psd files if needed.

@RandyNguyen007 When I look at the files, they look to be corrupt or don't exist it seems. Can you check them for me?

Thanks. If anyone else is having problems looking at the asset files-- right click -> open with preview (or other program).


flutter stable channel error

Does it currently only support the flutter dev channel?
flutter stable channel error, as follow
Launching lib/main.dart on HUAWEI MT7 TL10 in debug mode...
Running Gradle task 'assembleDebug'...

FAILURE: Build failed with an exception.

* Where:
Settings file '/Users/ganzhixiong/Documents/yilisheng/TemperatureSensor/test/camera_tutorial-master.zip Folder/camera_tutorial-master/android/settings.gradle' line: 15

* What went wrong:
A problem occurred evaluating settings 'android'.
> Could not read script '/Users/ganzhixiong/development/flutter/packages/flutter_tools/gradle/app_plugin_loader.gradle' as it does not exist.

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

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

BUILD FAILED in 516ms
Exception: Gradle task assembleDebug failed with exit code 1

@GanZhiXiong I have not seen this error before. What Flutter version are you using? Could you provide the diagnostics and verbose logs? See docs.

@dcharkes
I'm glad to see your reply. Thank you.
as follow

Can you please also provide the build log with verbose?
And is the code available so I can try to reproduce it locally?

I will provide it to you later.
I think it's because ffi doesn't currently run on stable branches

I use it in stable channel and it's work fine

Closing old issue, please reopen if you have further issues.


Integration: Make process arguments configurable

The arguments for the APIServer & Etcd binaries are now configurable
If they are not set, they will default to a minimal set of arguments
Arguments will be interpolated as go templates

This should resolve #14.
Note that this PR is based on #26 and thus looks a bit bigger then it actually is - also #26 should be reviewed merged before this PR.
closes #14

Self-merging, as we got the lgtm from @apelisse here.


Use of deprecated: from IPython import display

Examples and source use:
from IPython.display import display

Jupyter 4.0.3 warning: You should import from ipykernel or jupyter_client instead
I don't yet know the equivalent to the deprecated IPython.display, but as I am having no success yet displaying bqplot inline images, executed cell index remains at [*] with no other information), it seemed worth mentioning.

Just checking, did you install the javascript into the notebook?  python -m bqplot.install --user?

Also, I'm not getting a warning from importing display.  Can you try making a new notebook and doing from IPython.display import display?

@jfkw closing this issue since you confirmed it worked in #11 .


Form-Navigation with -key

All input fields and OK, Cancel, New buttons have a tabindex. Pressing the -key once a button is selected after -key navigation fires the event (i.e. same behavior as clicking on the key).

fixed with opencrx-4.2.0+


CocoaPods install error

PromiseKit version: 4.0.1
Xcode version: xcode
Installation method:

[ ✔] CocoaPods
[ ] Carthage
[ ] Other (please specify)

Please format your code in triple backticks and delete this line before submitting your ticket.

Installing PromiseKit 4.0.1 (was 3.5.0)
[!] Error installing PromiseKit
[!] /usr/bin/git clone https://github.com/mxcl/PromiseKit.git /var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-46795-15l7zxz --single-branch --depth 1 --branch 4.0.1 --recursive
Submodule 'Extensions/AVFoundation' (https://github.com/PromiseKit/AVFoundation) registered for path 'Extensions/AVFoundation'
Submodule 'Extensions/Accounts' (https://github.com/PromiseKit/Accounts.git) registered for path 'Extensions/Accounts'
Submodule 'Extensions/AddressBook' (https://github.com/PromiseKit/AddressBook.git) registered for path 'Extensions/AddressBook'
Submodule 'Extensions/Alamofire' (https://github.com/PromiseKit/Alamofire) registered for path 'Extensions/Alamofire'
Submodule 'Extensions/AssetsLibrary' (https://github.com/PromiseKit/AssetsLibrary.git) registered for path 'Extensions/AssetsLibrary'
Submodule 'Extensions/Bolts' (https://github.com/PromiseKit/Bolts.git) registered for path 'Extensions/Bolts'
Submodule 'Extensions/CloudKit' (https://github.com/PromiseKit/CloudKit.git) registered for path 'Extensions/CloudKit'
Submodule 'Extensions/CoreBluetooth' (https://github.com/PromiseKit/CoreBluetooth.git) registered for path 'Extensions/CoreBluetooth'
Submodule 'Extensions/CoreLocation' (https://github.com/PromiseKit/CoreLocation.git) registered for path 'Extensions/CoreLocation'
Submodule 'Extensions/EventKit' (https://github.com/PromiseKit/EventKit.git) registered for path 'Extensions/EventKit'
Submodule 'Extensions/Foundation' (https://github.com/PromiseKit/Foundation.git) registered for path 'Extensions/Foundation'
Submodule 'Extensions/MapKit' (https://github.com/PromiseKit/MapKit.git) registered for path 'Extensions/MapKit'
Submodule 'Extensions/MessagesUI' (https://github.com/PromiseKit/MessagesUI.git) registered for path 'Extensions/MessagesUI'
Submodule 'Extensions/OMGHTTPURLRQ' (https://github.com/PromiseKit/OMGHTTPURLRQ) registered for path 'Extensions/OMGHTTPURLRQ'
Submodule 'Extensions/Photos' (https://github.com/PromiseKit/Photos.git) registered for path 'Extensions/Photos'
Submodule 'Extensions/QuartzCore' (https://github.com/PromiseKit/QuartzCore.git) registered for path 'Extensions/QuartzCore'
Submodule 'Extensions/Social' (https://github.com/PromiseKit/Social.git) registered for path 'Extensions/Social'
Submodule 'Extensions/StoreKit' (https://github.com/PromiseKit/StoreKit.git) registered for path 'Extensions/StoreKit'
Submodule 'Extensions/SystemConfiguration' (https://github.com/PromiseKit/SystemConfiguration) registered for path 'Extensions/SystemConfiguration'
Submodule 'Extensions/UIKit' (https://github.com/PromiseKit/UIKit.git) registered for path 'Extensions/UIKit'
Submodule 'Extensions/WatchConnectivity' (https://github.com/PromiseKit/WatchConnectivity.git) registered for path 'Extensions/WatchConnectivity'
Submodule path 'Extensions/AVFoundation': checked out '0456c7dea92e676473b56730097a4c2ef8cbfcd0'
Submodule path 'Extensions/Accounts': checked out '6aa7ff68fb19c20e487cff2e1edc8e1fc759cb17'
Submodule path 'Extensions/AddressBook': checked out '42045c9b94421d845fdcb2ba283c12e2af97eaf1'
Submodule path 'Extensions/Alamofire': checked out 'e188ed4f13b9c4bcd9d344e65937ee5edcb3eefd'
Submodule path 'Extensions/AssetsLibrary': checked out '3268184eb1aed4dbb9b1037f02f84ccc401a53ce'
Submodule path 'Extensions/Bolts': checked out '341ec9fe113d795057c3fbfc5ae2cf826678de80'
Submodule path 'Extensions/CloudKit': checked out 'd48a7d862a31af44fbd95e92c594cbcd0efe1d72'
Submodule path 'Extensions/CoreBluetooth': checked out '9a7ed2bffbaca647be50f729b3e45761869d88f7'
Submodule path 'Extensions/CoreLocation': checked out 'bc3e9c9dc7b8659988d7bfb835eb05fa4ec0678f'
Submodule path 'Extensions/EventKit': checked out '6126aae80d9243f5c3bf2c5f04c020db3161f658'
Submodule path 'Extensions/Foundation': checked out 'a0f1c7c58e25042002aa201167b701ca92d68632'
Submodule path 'Extensions/MapKit': checked out 'defb8dd5aa5270e4c1203be2beeb85c02f56aec0'
Submodule path 'Extensions/MessagesUI': checked out '0ebd015a773655b21422cd1a76e472bef0a588d1'
Submodule path 'Extensions/OMGHTTPURLRQ': checked out '3cde4203ef3109445ef41b08a2c95c995266de29'
Submodule path 'Extensions/Photos': checked out '114aa21b2fc6ef29708b6c6dfd8859b7eb3b379b'
Submodule path 'Extensions/QuartzCore': checked out '2dd74072d4332efddf898a30a346066b6834eb53'
Submodule path 'Extensions/Social': checked out '8a0c87e660ba64868fc46e2c5d3b11f877503e7c'
Cloning into '/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-46795-15l7zxz'...
Note: checking out 'f8d7d24ee5c6cfa9cbe691779dd0a7175fc19aab'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-46795-15l7zxz/Extensions/AVFoundation'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-46795-15l7zxz/Extensions/Accounts'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-46795-15l7zxz/Extensions/AddressBook'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-46795-15l7zxz/Extensions/Alamofire'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-46795-15l7zxz/Extensions/AssetsLibrary'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-46795-15l7zxz/Extensions/Bolts'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-46795-15l7zxz/Extensions/CloudKit'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-46795-15l7zxz/Extensions/CoreBluetooth'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-46795-15l7zxz/Extensions/CoreLocation'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-46795-15l7zxz/Extensions/EventKit'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-46795-15l7zxz/Extensions/Foundation'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-46795-15l7zxz/Extensions/MapKit'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-46795-15l7zxz/Extensions/MessagesUI'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-46795-15l7zxz/Extensions/OMGHTTPURLRQ'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-46795-15l7zxz/Extensions/Photos'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-46795-15l7zxz/Extensions/QuartzCore'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-46795-15l7zxz/Extensions/Social'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-46795-15l7zxz/Extensions/StoreKit'...
fatal: unable to access 'https://github.com/PromiseKit/StoreKit.git/': Failed to connect to github.com port 443: Operation timed out
fatal: clone of 'https://github.com/PromiseKit/StoreKit.git' into submodule path '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-46795-15l7zxz/Extensions/StoreKit' failed

Try again.

still error...

The error is a timeout, so I can't suggest anything but keep trying.

Installing PromiseKit (4.0.1)
[!] Error installing PromiseKit
[!] /usr/bin/git clone https://github.com/mxcl/PromiseKit.git /var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-53619-z5t07l --single-branch --depth 1 --branch 4.0.1 --recursive
Submodule 'Extensions/AVFoundation' (https://github.com/PromiseKit/AVFoundation) registered for path 'Extensions/AVFoundation'
Submodule 'Extensions/Accounts' (https://github.com/PromiseKit/Accounts.git) registered for path 'Extensions/Accounts'
Submodule 'Extensions/AddressBook' (https://github.com/PromiseKit/AddressBook.git) registered for path 'Extensions/AddressBook'
Submodule 'Extensions/Alamofire' (https://github.com/PromiseKit/Alamofire) registered for path 'Extensions/Alamofire'
Submodule 'Extensions/AssetsLibrary' (https://github.com/PromiseKit/AssetsLibrary.git) registered for path 'Extensions/AssetsLibrary'
Submodule 'Extensions/Bolts' (https://github.com/PromiseKit/Bolts.git) registered for path 'Extensions/Bolts'
Submodule 'Extensions/CloudKit' (https://github.com/PromiseKit/CloudKit.git) registered for path 'Extensions/CloudKit'
Submodule 'Extensions/CoreBluetooth' (https://github.com/PromiseKit/CoreBluetooth.git) registered for path 'Extensions/CoreBluetooth'
Submodule 'Extensions/CoreLocation' (https://github.com/PromiseKit/CoreLocation.git) registered for path 'Extensions/CoreLocation'
Submodule 'Extensions/EventKit' (https://github.com/PromiseKit/EventKit.git) registered for path 'Extensions/EventKit'
Submodule 'Extensions/Foundation' (https://github.com/PromiseKit/Foundation.git) registered for path 'Extensions/Foundation'
Submodule 'Extensions/MapKit' (https://github.com/PromiseKit/MapKit.git) registered for path 'Extensions/MapKit'
Submodule 'Extensions/MessagesUI' (https://github.com/PromiseKit/MessagesUI.git) registered for path 'Extensions/MessagesUI'
Submodule 'Extensions/OMGHTTPURLRQ' (https://github.com/PromiseKit/OMGHTTPURLRQ) registered for path 'Extensions/OMGHTTPURLRQ'
Submodule 'Extensions/Photos' (https://github.com/PromiseKit/Photos.git) registered for path 'Extensions/Photos'
Submodule 'Extensions/QuartzCore' (https://github.com/PromiseKit/QuartzCore.git) registered for path 'Extensions/QuartzCore'
Submodule 'Extensions/Social' (https://github.com/PromiseKit/Social.git) registered for path 'Extensions/Social'
Submodule 'Extensions/StoreKit' (https://github.com/PromiseKit/StoreKit.git) registered for path 'Extensions/StoreKit'
Submodule 'Extensions/SystemConfiguration' (https://github.com/PromiseKit/SystemConfiguration) registered for path 'Extensions/SystemConfiguration'
Submodule 'Extensions/UIKit' (https://github.com/PromiseKit/UIKit.git) registered for path 'Extensions/UIKit'
Submodule 'Extensions/WatchConnectivity' (https://github.com/PromiseKit/WatchConnectivity.git) registered for path 'Extensions/WatchConnectivity'
Submodule path 'Extensions/AVFoundation': checked out '0456c7dea92e676473b56730097a4c2ef8cbfcd0'
Submodule path 'Extensions/Accounts': checked out '6aa7ff68fb19c20e487cff2e1edc8e1fc759cb17'
Submodule path 'Extensions/AddressBook': checked out '42045c9b94421d845fdcb2ba283c12e2af97eaf1'
Submodule path 'Extensions/Alamofire': checked out 'e188ed4f13b9c4bcd9d344e65937ee5edcb3eefd'
Submodule path 'Extensions/AssetsLibrary': checked out '3268184eb1aed4dbb9b1037f02f84ccc401a53ce'
Submodule path 'Extensions/Bolts': checked out '341ec9fe113d795057c3fbfc5ae2cf826678de80'
Submodule path 'Extensions/CloudKit': checked out 'd48a7d862a31af44fbd95e92c594cbcd0efe1d72'
Submodule path 'Extensions/CoreBluetooth': checked out '9a7ed2bffbaca647be50f729b3e45761869d88f7'
Cloning into '/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-53619-z5t07l'...
Note: checking out 'f8d7d24ee5c6cfa9cbe691779dd0a7175fc19aab'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-53619-z5t07l/Extensions/AVFoundation'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-53619-z5t07l/Extensions/Accounts'...
Uncomment this line to define a global platform for your project
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-53619-z5t07l/Extensions/AddressBook'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-53619-z5t07l/Extensions/Alamofire'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-53619-z5t07l/Extensions/AssetsLibrary'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-53619-z5t07l/Extensions/Bolts'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-53619-z5t07l/Extensions/CloudKit'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-53619-z5t07l/Extensions/CoreBluetooth'...
Uncomment this line to define a global platform for your project
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-53619-z5t07l/Extensions/CoreLocation'...
fatal: unable to access 'https://github.com/PromiseKit/CoreLocation.git/': Failed to connect to github.com port 443: Operation timed out
fatal: clone of 'https://github.com/PromiseKit/CoreLocation.git' into submodule path '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-53619-z5t07l/Extensions/CoreLocation' failed
[!] CocoaPods was not able to update the master repo. If this is an unexpected issue and persists you can inspect it running pod repo update --verbose
yangzhixiaodeMacBook-Pro:testnewios jerry$ vim Podfile
yangzhixiaodeMacBook-Pro:testnewios jerry$ pod update
[!] Invalid Podfile file: undefined method `latform' for #Pod::Podfile:0x007fcdb201d218. Updating CocoaPods might fix the issue.
from /Users/jerry/Documents/Discover/testnewios/Podfile:2
-------------------------------------------
# Uncomment this line to define a global platform for your project

latform :ios, '9.0'

# Uncomment this line if you're using Swift
-------------------------------------------
yangzhixiaodeMacBook-Pro:testnewios jerry$ vim Podfile
yangzhixiaodeMacBook-Pro:testnewios jerry$ pod update
Update all pods
[!] Unable to load a specification for the plugin /Library/Ruby/Gems/2.0.0/gems/cocoapods-deintegrate-1.0.0
Updating local specs repositories
CocoaPods 1.1.0.rc.2 is available.
To update use: gem install cocoapods --pre
[!] This is a test version we'd love you to try.
For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.
Analyzing dependencies
Downloading dependencies
Installing PromiseKit (4.0.1)
[!] Error installing PromiseKit
[!] /usr/bin/git clone https://github.com/mxcl/PromiseKit.git /var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz --single-branch --depth 1 --branch 4.0.1 --recursive
Submodule 'Extensions/AVFoundation' (https://github.com/PromiseKit/AVFoundation) registered for path 'Extensions/AVFoundation'
Submodule 'Extensions/Accounts' (https://github.com/PromiseKit/Accounts.git) registered for path 'Extensions/Accounts'
Submodule 'Extensions/AddressBook' (https://github.com/PromiseKit/AddressBook.git) registered for path 'Extensions/AddressBook'
Submodule 'Extensions/Alamofire' (https://github.com/PromiseKit/Alamofire) registered for path 'Extensions/Alamofire'
Submodule 'Extensions/AssetsLibrary' (https://github.com/PromiseKit/AssetsLibrary.git) registered for path 'Extensions/AssetsLibrary'
Submodule 'Extensions/Bolts' (https://github.com/PromiseKit/Bolts.git) registered for path 'Extensions/Bolts'
Submodule 'Extensions/CloudKit' (https://github.com/PromiseKit/CloudKit.git) registered for path 'Extensions/CloudKit'
Submodule 'Extensions/CoreBluetooth' (https://github.com/PromiseKit/CoreBluetooth.git) registered for path 'Extensions/CoreBluetooth'
Submodule 'Extensions/CoreLocation' (https://github.com/PromiseKit/CoreLocation.git) registered for path 'Extensions/CoreLocation'
Submodule 'Extensions/EventKit' (https://github.com/PromiseKit/EventKit.git) registered for path 'Extensions/EventKit'
Submodule 'Extensions/Foundation' (https://github.com/PromiseKit/Foundation.git) registered for path 'Extensions/Foundation'
Submodule 'Extensions/MapKit' (https://github.com/PromiseKit/MapKit.git) registered for path 'Extensions/MapKit'
Submodule 'Extensions/MessagesUI' (https://github.com/PromiseKit/MessagesUI.git) registered for path 'Extensions/MessagesUI'
Submodule 'Extensions/OMGHTTPURLRQ' (https://github.com/PromiseKit/OMGHTTPURLRQ) registered for path 'Extensions/OMGHTTPURLRQ'
Submodule 'Extensions/Photos' (https://github.com/PromiseKit/Photos.git) registered for path 'Extensions/Photos'
Submodule 'Extensions/QuartzCore' (https://github.com/PromiseKit/QuartzCore.git) registered for path 'Extensions/QuartzCore'
Submodule 'Extensions/Social' (https://github.com/PromiseKit/Social.git) registered for path 'Extensions/Social'
Submodule 'Extensions/StoreKit' (https://github.com/PromiseKit/StoreKit.git) registered for path 'Extensions/StoreKit'
Submodule 'Extensions/SystemConfiguration' (https://github.com/PromiseKit/SystemConfiguration) registered for path 'Extensions/SystemConfiguration'
Submodule 'Extensions/UIKit' (https://github.com/PromiseKit/UIKit.git) registered for path 'Extensions/UIKit'
Submodule 'Extensions/WatchConnectivity' (https://github.com/PromiseKit/WatchConnectivity.git) registered for path 'Extensions/WatchConnectivity'
Submodule path 'Extensions/AVFoundation': checked out '0456c7dea92e676473b56730097a4c2ef8cbfcd0'
Submodule path 'Extensions/Accounts': checked out '6aa7ff68fb19c20e487cff2e1edc8e1fc759cb17'
Submodule path 'Extensions/AddressBook': checked out '42045c9b94421d845fdcb2ba283c12e2af97eaf1'
Submodule path 'Extensions/Alamofire': checked out 'e188ed4f13b9c4bcd9d344e65937ee5edcb3eefd'
Submodule path 'Extensions/AssetsLibrary': checked out '3268184eb1aed4dbb9b1037f02f84ccc401a53ce'
Submodule path 'Extensions/Bolts': checked out '341ec9fe113d795057c3fbfc5ae2cf826678de80'
Submodule path 'Extensions/CloudKit': checked out 'd48a7d862a31af44fbd95e92c594cbcd0efe1d72'
Submodule path 'Extensions/CoreBluetooth': checked out '9a7ed2bffbaca647be50f729b3e45761869d88f7'
Submodule path 'Extensions/CoreLocation': checked out 'bc3e9c9dc7b8659988d7bfb835eb05fa4ec0678f'
Submodule path 'Extensions/EventKit': checked out '6126aae80d9243f5c3bf2c5f04c020db3161f658'
Submodule path 'Extensions/Foundation': checked out 'a0f1c7c58e25042002aa201167b701ca92d68632'
Submodule path 'Extensions/MapKit': checked out 'defb8dd5aa5270e4c1203be2beeb85c02f56aec0'
Cloning into '/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz'...
Note: checking out 'f8d7d24ee5c6cfa9cbe691779dd0a7175fc19aab'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/AVFoundation'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/Accounts'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/AddressBook'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/Alamofire'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/AssetsLibrary'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/Bolts'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/CloudKit'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/CoreBluetooth'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/CoreLocation'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/EventKit'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/Foundation'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/MapKit'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/MessagesUI'...
fatal: unable to access 'https://github.com/PromiseKit/MessagesUI.git/': Failed to connect to github.com port 443: Operation timed out
fatal: clone of 'https://github.com/PromiseKit/MessagesUI.git' into submodule path '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/MessagesUI' failed

[!] Error installing PromiseKit
[!] /usr/bin/git clone https://github.com/mxcl/PromiseKit.git /var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz --single-branch --depth 1 --branch 4.0.1 --recursive
Submodule 'Extensions/AVFoundation' (https://github.com/PromiseKit/AVFoundation) registered for path 'Extensions/AVFoundation'
Submodule 'Extensions/Accounts' (https://github.com/PromiseKit/Accounts.git) registered for path 'Extensions/Accounts'
Submodule 'Extensions/AddressBook' (https://github.com/PromiseKit/AddressBook.git) registered for path 'Extensions/AddressBook'
Submodule 'Extensions/Alamofire' (https://github.com/PromiseKit/Alamofire) registered for path 'Extensions/Alamofire'
Submodule 'Extensions/AssetsLibrary' (https://github.com/PromiseKit/AssetsLibrary.git) registered for path 'Extensions/AssetsLibrary'
Submodule 'Extensions/Bolts' (https://github.com/PromiseKit/Bolts.git) registered for path 'Extensions/Bolts'
Submodule 'Extensions/CloudKit' (https://github.com/PromiseKit/CloudKit.git) registered for path 'Extensions/CloudKit'
Submodule 'Extensions/CoreBluetooth' (https://github.com/PromiseKit/CoreBluetooth.git) registered for path 'Extensions/CoreBluetooth'
Submodule 'Extensions/CoreLocation' (https://github.com/PromiseKit/CoreLocation.git) registered for path 'Extensions/CoreLocation'
Submodule 'Extensions/EventKit' (https://github.com/PromiseKit/EventKit.git) registered for path 'Extensions/EventKit'
Submodule 'Extensions/Foundation' (https://github.com/PromiseKit/Foundation.git) registered for path 'Extensions/Foundation'
Submodule 'Extensions/MapKit' (https://github.com/PromiseKit/MapKit.git) registered for path 'Extensions/MapKit'
Submodule 'Extensions/MessagesUI' (https://github.com/PromiseKit/MessagesUI.git) registered for path 'Extensions/MessagesUI'
Submodule 'Extensions/OMGHTTPURLRQ' (https://github.com/PromiseKit/OMGHTTPURLRQ) registered for path 'Extensions/OMGHTTPURLRQ'
Submodule 'Extensions/Photos' (https://github.com/PromiseKit/Photos.git) registered for path 'Extensions/Photos'
Submodule 'Extensions/QuartzCore' (https://github.com/PromiseKit/QuartzCore.git) registered for path 'Extensions/QuartzCore'
Submodule 'Extensions/Social' (https://github.com/PromiseKit/Social.git) registered for path 'Extensions/Social'
Submodule 'Extensions/StoreKit' (https://github.com/PromiseKit/StoreKit.git) registered for path 'Extensions/StoreKit'
Submodule 'Extensions/SystemConfiguration' (https://github.com/PromiseKit/SystemConfiguration) registered for path 'Extensions/SystemConfiguration'
Submodule 'Extensions/UIKit' (https://github.com/PromiseKit/UIKit.git) registered for path 'Extensions/UIKit'
Submodule 'Extensions/WatchConnectivity' (https://github.com/PromiseKit/WatchConnectivity.git) registered for path 'Extensions/WatchConnectivity'
Submodule path 'Extensions/AVFoundation': checked out '0456c7dea92e676473b56730097a4c2ef8cbfcd0'
Submodule path 'Extensions/Accounts': checked out '6aa7ff68fb19c20e487cff2e1edc8e1fc759cb17'
Submodule path 'Extensions/AddressBook': checked out '42045c9b94421d845fdcb2ba283c12e2af97eaf1'
Submodule path 'Extensions/Alamofire': checked out 'e188ed4f13b9c4bcd9d344e65937ee5edcb3eefd'
Submodule path 'Extensions/AssetsLibrary': checked out '3268184eb1aed4dbb9b1037f02f84ccc401a53ce'
Submodule path 'Extensions/Bolts': checked out '341ec9fe113d795057c3fbfc5ae2cf826678de80'
Submodule path 'Extensions/CloudKit': checked out 'd48a7d862a31af44fbd95e92c594cbcd0efe1d72'
Submodule path 'Extensions/CoreBluetooth': checked out '9a7ed2bffbaca647be50f729b3e45761869d88f7'
Submodule path 'Extensions/CoreLocation': checked out 'bc3e9c9dc7b8659988d7bfb835eb05fa4ec0678f'
Submodule path 'Extensions/EventKit': checked out '6126aae80d9243f5c3bf2c5f04c020db3161f658'
Submodule path 'Extensions/Foundation': checked out 'a0f1c7c58e25042002aa201167b701ca92d68632'
Submodule path 'Extensions/MapKit': checked out 'defb8dd5aa5270e4c1203be2beeb85c02f56aec0'
Cloning into '/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz'...
Note: checking out 'f8d7d24ee5c6cfa9cbe691779dd0a7175fc19aab'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/AVFoundation'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/Accounts'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/AddressBook'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/Alamofire'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/AssetsLibrary'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/Bolts'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/CloudKit'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/CoreBluetooth'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/CoreLocation'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/EventKit'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/Foundation'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/MapKit'...
Cloning into '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/MessagesUI'...
fatal: unable to access 'https://github.com/PromiseKit/MessagesUI.git/': Failed to connect to github.com port 443: Operation timed out
fatal: clone of 'https://github.com/PromiseKit/MessagesUI.git' into submodule path '/private/var/folders/47/5ccv4zrs413f28pwfskx53sh0000gn/T/d20160915-54412-klxhiz/Extensions/MessagesUI' failed

Again, it timed out.


Angular doesn't use ESM modules if package is multi module format

Command
build
Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
Hi, I use angular 18 with Sweetalert2 library. During build I got information that this library is CommonJS and it's hard to optimise size (tree shaking). In fact size of project grown up around 0.5MB
After inspecting library, it was found that library exports few types of modules through package.json:
  "main": "dist/sweetalert2.all.js",
  "browser": "dist/sweetalert2.all.js",
  "module": "dist/sweetalert2.esm.all.js",

and module is in fact an ESM module.
However Angular doesn't pick up ESM version of sources instead focuses on on CommonJS version. I would like Angular to pickup ESM versions either by default, or by using additional switches.
Minimal Reproduction

Create Angular project.
Add SweetAlert2 library npm install sweetalert2 @sweetalert2/ngx-sweetalert2
Reference Swal alert in source code, so that alert will get displayed.
Build project and check output and warnings.

Exception or Error

Your Environment
Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.1802.12
@angular-devkit/build-angular     18.2.12
@angular-devkit/core              18.2.12
@angular-devkit/schematics        18.2.12
@angular/cdk                      18.2.13
@angular/material                 18.2.13
@angular/material-luxon-adapter   18.2.13
@schematics/angular               18.2.12
rxjs                              7.8.1
typescript                        5.5.4

Anything else relevant?
No response

This occurs because, for browser builds, the browser field takes precedence over the module field. This behavior aligns with the default bundler behavior as outlined in esbuild's documentation and Webpack's configuration guidelines
Changing the order of resolution can break other libraries. For this reason, providing such an option in the Angular CLI is not ideal. If you need to modify this behavior, consider using a custom builder.


Cypress: rootDir defaults to . if empty

Proposed changes
To keep file organisation as user configured it, default rootDir to ..
So it solve some issues concerning folder organisation.
Types of changes

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist

[ ] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments

Codecov Report

Merging #249 (bbe4b87) into master (61a2f33) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #249      +/-   ##
==========================================
+ Coverage   36.75%   36.77%   +0.02%
==========================================
  Files          36       36
  Lines        2321     2317       -4
==========================================
- Hits          853      852       -1
+ Misses       1320     1319       -1
+ Partials      148      146       -2

Impacted Files
Coverage Δ

internal/saucecloud/cypress.go
75.00% <100.00%> (+3.84%)
:arrow_up:

Continue to review full report at Codecov.

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


Looking for assets in wrong path with re-written URI

I have a rails app which is accessed like so:
http://my.blah.com/joe_blow

where joe_blow might be any user portal name.
While the user sees the above url in the browser, the following Apache rewrite rule:
  RewriteCond   %{HTTP_HOST}    ^my.
  RewriteCond   %{REQUEST_URI}  !^/[^\./]*\.[^/]*$
  RewriteRule   ^/([^/]*)/?(.*)  /$2?portal_slug=$1 [QSA,PT]

changes the request behind the scenes to:
http://my.blah.com?portal_slug=joe_blow

After dynamically setting a base href in application.html.erb like so:
<% portal_slug = request.portal_slug %>

<!DOCTYPE html>
<html>
<head>
  <base href=<%= "/#{portal_slug + '/' if portal_slug}" %>>
</head>

the rails app finds its assets with no issues. For example:
/joe_blow/assets/application.js

However, this is not the case using using Ember-CLI and your gem. For whatever reason, it's trying to find the Ember-CLI app's assets under something like
/joe_blow/javascripts/frontend.js

(which I assume corresponds to rails_app/app/assets/javascripts/frontend.js)
instead of something like:
/joe_blow/assets/frontend.js

(which would correspond to rails_app/app/frontend/tmp/...
If I pre-compile (build) the Ember-CLI assets, this issue still remains, as it always looks for the assets in that weird location.
Can you suggest an approach to getting your gem to work with my rails app?

I decided to go with a pure Ember-CLI app.

Good luck :+1:


chore: disable fossa as it's broken right now...

Signed-off-by: blam<EMAIL_ADDRESS>Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[ ] All your commits have a Signed-off-by line in the message. (more info)

Don't need this - just realised you can disable the workflow part of the repo settings 😅 \


Winrm -p option worked instead of -H

Describe the bug
Crackmapexec Winrm -p option worked with hashfile instead of -H
To Reproduce
Steps to reproduce the behavior:
Install https://cdimage.kali.org/kali-2022.4/kali-linux-2022.4-vmware-amd64.7z
Run Crackmapexec winrm -u user -p hashfile against a target
used -p option with hashfile
Expected behavior
Output does not display (pwned) with -H flag
Output displays pwned with -P flag
Screenshots
HashFile used

No Pwned output despite correct credentials

Pwned output with wrong option used

Crackmapexec info

OS: kali linux rolling
Version of CME 5.4.0
Installed by default, ran apt update -y

Additional context
Add any other context about the problem here.

I don't recommand to use the version on apt, git clone the projet or use the binary directly :)

@xpanoh I think the issue you are experiencing looks stranger than it truly is.
The hash expected by crackmapexec is just the NT hash (the hash after the colon). If you provide the correct hashes, it works as expected.
(.venv) ➜  CrackMapExec git:(master) ✗ cat hashes.txt
392fbe2844cb258735c4cbf449d31709

(.venv) ➜  CrackMapExec git:(master) ✗ .venv/bin/crackmapexec winrm <IP_ADDRESS> -u administrator -p hashes.txt -d burn.lab
HTTP        <IP_ADDRESS>  5985   <IP_ADDRESS>   [*] http://<IP_ADDRESS>:5985/wsman
WINRM       <IP_ADDRESS>  5985   <IP_ADDRESS>   [-] burn.lab\administrator:392fbe2844cb258735c4cbf449d31709

(.venv) ➜  CrackMapExec git:(master) ✗ .venv/bin/crackmapexec winrm <IP_ADDRESS> -u administrator -H hashes.txt -d burn.lab
HTTP        <IP_ADDRESS>  5985   <IP_ADDRESS>   [*] http://<IP_ADDRESS>:5985/wsman
WINRM       <IP_ADDRESS>  5985   <IP_ADDRESS>   [+] burn.lab\administrator:392fbe2844cb258735c4cbf449d31709 (Pwn3d!)

You are likely thinking: "Well why does it work when I put the full NTLM hash for the -p command?".
I think this has to do with how the tools work under the hood. IIRC, they take your plaintext password and convert it to a hash before they execute the command so it is probably seeing that this is already the case and ignoring that. @mpgn can correct me if I am wrong here but it's probably related to that process.
@mpgn I think this issue can be resolved.


no kernel image is available for execution on the device

I've installed TensorFlow 2.3.0 on windows 10 but cant run any python scrips contain TensorFlow codes!
GPU card : NVIDIA 960m
OS : Windows 10
Cuda : 10.1
cudnn : <IP_ADDRESS>
python: 3.7.7
this is log output when I run script :
py main.py
2020-08-18 21:19:56.898389: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
2020-08-18 21:19:59.658108: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library nvcuda.dll
2020-08-18 21:20:00.194181: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: GeForce GTX 960M computeCapability: 5.0
coreClock: 1.176GHz coreCount: 5 deviceMemorySize: 4.00GiB deviceMemoryBandwidth: 74.65GiB/s
2020-08-18 21:20:00.207551: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
2020-08-18 21:20:00.213582: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cublas64_10.dll
2020-08-18 21:20:00.218522: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cufft64_10.dll
2020-08-18 21:20:00.224225: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library curand64_10.dll
2020-08-18 21:20:00.236176: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cusolver64_10.dll
2020-08-18 21:20:00.244819: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cusparse64_10.dll
2020-08-18 21:20:00.251416: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudnn64_7.dll
2020-08-18 21:20:00.257794: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1858] Adding visible gpu devices: 0
2020-08-18 21:20:00.263340: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)to use the following CPU instructions in performance-critical operations:  AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2020-08-18 21:20:00.286389: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x2e0eb7cb660 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-08-18 21:20:00.297402: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2020-08-18 21:20:00.302999: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: GeForce GTX 960M computeCapability: 5.0
coreClock: 1.176GHz coreCount: 5 deviceMemorySize: 4.00GiB deviceMemoryBandwidth: 74.65GiB/s
2020-08-18 21:20:00.317067: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
2020-08-18 21:20:00.323311: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cublas64_10.dll
2020-08-18 21:20:00.329936: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cufft64_10.dll
2020-08-18 21:20:00.335930: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library curand64_10.dll
2020-08-18 21:20:00.341258: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cusolver64_10.dll
2020-08-18 21:20:00.348285: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cusparse64_10.dll
2020-08-18 21:20:00.354092: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudnn64_7.dll
2020-08-18 21:20:00.360523: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1858] Adding visible gpu devices: 0
2020-08-18 21:20:00.439805: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1257] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-08-18 21:20:00.447079: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1263]      0
2020-08-18 21:20:00.452262: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1276] 0:   N
2020-08-18 21:20:00.456464: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1402] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3121 MB memory) -> physical GPU (device: 0, name: GeForce GTX 960M, pci bus id: 0000:01:00.0, compute capability: 5.0)
2020-08-18 21:20:00.480959: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x2e0eb7ca5e0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
2020-08-18 21:20:00.493404: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): GeForce GTX 960M, Compute Capability 5.0
2020-08-18 21:20:00.797182: F .\tensorflow/core/kernels/random_op_gpu.h:232] Non-OK-status: GpuLaunchKernel(FillPhiloxRandomKernelLaunch<Distribution>, num_blocks, block_size, 0, d.stream(), gen, data, size, dist) status: Internal: no kernel image is available for execution on the device

I've had this problem since I tried install TensorFlow version +2 , If I install TensorFlow 15.3.1 I wont have this problem !!!
but since TensorFlow 1+ wont have supported next year I want to install TensorFlow 2+.

@aligoglos
Please, provide the exact sequence of commands / steps that you executed before running into the problem. Thanks!

this is code I executed :
import tensorflow.keras as keras
base_model = keras.applications.ResNet50(include_top=False,
        weights='D:/Deep/_Deep_Models/resnet50_weights_tf_dim_ordering_tf_kernels_notop.h5'
        )

I didn't do any other commands, just py main.py.

I have different cuda  in my system it could make problem for TF?

Just wanted to mention that we get the same "no kernel image is available for execution on the device" error with TensorFlow 2.3.0 on our NVidia 940MX cards (which are also compute capability 5.0, similar to author's 960M) in both precompiled python and c_api libraries. However, the same code is running fine on NVidia 1080Ti (compute capability 6.1) and 2080Ti (compute capability 7.5) cards.
We figured that it might be related to this line in the 2.3.0 release notes:

TF 2.3 includes PTX kernels only for compute capability 7.0 to reduce the TF pip binary size. Earlier releases included PTX for a variety of older compute capabilities.

TF 2.3 includes PTX kernels only for compute capability 7.0 to reduce the TF pip binary size. Earlier releases included PTX for a variety of older compute capabilities.

Yes.  See here.

Any general instruction to get the old PTX kernels back?

Yup, tf-nightly should work on cards with CC 5.0 (and so would TF 2.4).

It looks like you're also not supporting CC8 (the A100s) yet?

It looks like you're also not supporting CC8 (the A100s) yet?

A100 (CC8) should be supported on tf-nightly.  Please let us know if that's not the case.

It's been working great using tf-nightly, thanks!


Relax restrictions of h5py

@Immudzen / @ronald-jaepel could you test if it's possible to install this on your machine? At some points we had some issues with hdf5/h5py on Windows so we decided to limit h5py<=3.6.0 However, there now seems to be an issue with h5py==3.6.0 on Python 3.11 which I would like to include in CADET-Process v0.8.0

Works on Win10 with h5py == 3.10.0.
Tested installation, sim creation, save, run, and load.


Long run time?

I want to congratulate you for the great patch transformer paper.
I want to ask a question:
I have a dataset which i hold as a pandas dataframe.
Given some window size I want to predict the next time step. Be This means I want to predict only a single step into the future:
Given X1,...,Xt
Predict Xt+1
This means I want to predict only a single step into the future.
As I understand if I want to use your model for the task I will need to have as many forward iterations as the dataset size since you are not using a casual mask in the transformer.
How can this be resolved?
Thanks

For a single step into the future, would that help
parser.add_argument('--target_points', type=int, default=1, help='forecast horizon')
The current masking in the code is random
https://github.com/yuqinie98/PatchTST/blob/e66adfdd4cc5ed9760bbfbfc6bf68d5afc82cbc6/PatchTST_self_supervised/src/callback/patch_mask.py#L113
Do you have a casual mask pytorch implementation you are considering?

This does not address my question.
I was talking about run time issues

Please read the question

To make it clear, I didn't write this code/paper, I am like you - using it.
In the open source community it is not always easy to understand each other.
I would suggest to be kinder in order to get assistance

When you have a window size of H and a causal mask you can predict H tokens in a single pass.

I would suggest to wait for the authors for a response.
Thank you for replying.

Thanks for asking @Eliav2479 and sorry for the late reply. Unfortunately we do not understand your question very well so we would appreciate if you could explain more of your concern. We basically agree with the solution that @ikvision proposed if you want to apply it to multiple-step prediction. Or you would just directly do multiple-step forecasting (DMS rather than IMS in this paper https://arxiv.org/pdf/2205.13504.pdf). The input is X1,...,Xt and output is Xt+1,..,Xt+T, which is done in one pass.

any estimate on how long it will take to run supervised learning based on default model and params.

It varies on different datasets, epochs, GPU... thus it would be hard to answer. The fastest one may take half an hour while the largest model takes a day. @DIKSHAAGARWAL2015


(maint) Add missing parenthesis in dsl.rb docs

Prior to this commit, there was a missing closing paren in the code
examples in the DSL documentation.
This commit adds the missing paren.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/2701/


Workspaces should work on multiple desktops in Windows 11

Description of the new feature / enhancement
The expected behavior is that the Workspaces feature in PowerToys should support saving and restoring layouts across multiple desktops in Windows 11, not just on a single desktop. Currently, the feature only works with one desktop layout at a time, which limits its usefulness when using multiple desktops. Ideally, the user should be able to capture and restore layouts across all desktops simultaneously, allowing for seamless transitions between different desktop environments.
Scenario when this would be used?
This feature would be used when managing complex workflows that span across multiple desktops in Windows 11. For example, a user might have one desktop dedicated to development work, another for communication apps, and another for design tools. The ability to capture and restore these distinct layouts across all desktops would significantly improve productivity and flexibility, especially for power users who rely on multiple virtual desktops to keep their work organized and efficient.
Supporting information
Multiple desktops are an integral part of Windows 11's workflow management. Power users and professionals who handle a variety of tasks across different virtual desktops would greatly benefit from this functionality. It would prevent the need to manually reconfigure window positions and layouts when switching desktops, which can disrupt focus and workflow. Having the ability to save and restore desktop setups for all desktops would enhance the current workspace experience.

I wholeheartedly agree with this. I use Virtual Desktops heavily in my work environment - it's normal for me to have 6-10 virtual desktops at any given time. Fancyzones doesn't work well with this setup at all. I'd like to be able to do something like so:
Virtual Desktop 1 - Double column layout for Email and Teams. (50/50 split)
Virtual Desktop 2 - 2x2 grid for stats/monitoring.
Virtual Desktop 3 - Triple column for 2 x SSMS and 1 for git bash. (33/33/33 split).
Virtual Desktop 4 - Double for Visual Studio and dev browser (60/40 split).
Virtual Desktop 5 - Double for Visual Studio and dev browser (60/40 split).
Virtual Desktop 6 - Single column for general web browsing.
Virtual Desktop 7 - Single column for RDP connections.

Hmm I've looked through the source code for FancyZones and it appears to handle layouts on a per-virtual desktop basis already. I've tried in Windows 11 and this appears to work as I want it to. My work laptop is Windows 10 and FancyZones definitely doesn't work in the same way on that device. I might try doing a fresh install to see if that resolves the issues I am seeing on that.

Hi folks, there is mega-issue tracking this request already, so closing this one as duplicate to keep track of everything in one place.
This conversation won't be lost, just grouped :)
/dup #34578


Kong, OIDC and Keycloak: Authentication fails with an error "KONG Error - an unexpected error occured" from time to time.

Situation:
We've added an API "myapi" to kong (0.10.3, not clustered, just 1 pod in openshift v3) which is secured by keycloak (3.2.1.Final) via its js client adapter and the kong oidc plugin in version 1.0.1.
Now, when calling https://mykong/myapi as a non-authenticated user, it always(!) redirects to the login and it is possible to login with valid credentials.
So far, so good, but:
In say 4 of 10 cases, the redirect works perfectly. We get access to the API. Yay!
Sadly, the other 6/10 cases (approx.) are failing, showing a Browser Error Page showing nothing more than "KONG Error - an unexpected error occured". Yes, sadly one of these "the one time it works, other time it doesn't"-kind of errors.
The Keycloak event logs showing that it successfully returns a token to kong, no matter if the 500 shows up or not, so my first guess: on this side, everything works.
This is the output of the concerned Kong logs as far as I could find some:
`2017/10/25 13:59:32 [error] 100#0: *28057 lua entry thread aborted: runtime error: /usr/local/share/lua/5.1/kong/plugins/oidc/utils.lua:63: attempt to index local 'user' (a nil value)
stack traceback:
coroutine 0:
/usr/local/share/lua/5.1/kong/plugins/oidc/utils.lua: in function 'injectUser'
/usr/local/share/lua/5.1/kong/plugins/oidc/handler.lua:43: in function 'access'
/usr/local/share/lua/5.1/kong.lua:295: in function 'access'
access_by_lua(nginx-kong.conf:94):2: in function <access_by_lua(nginx-kong.conf:94):1>, client: <IP_ADDRESS>, server: kong, request: "GET /cfg HTTP/1.1", host: "gateway.hub-test.ose.db.de"
<IP_ADDRESS> - - [25/Oct/2017:13:59:32 +0000] "GET /cfg HTTP/1.1" 500 131 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36"`
We've tested this with all major browsers, same outcome, so I think its no browserspecific thing. Seems that, from time to time, there's a user missing, as far as I can read the logs?! Would be great to get some help in this case!
Feel free to ask for more info, i'll be happy to help!
Best regards,
Dominik

Update the version of this plugin to the newest (1.0.4).
It looks like a problem with the Userinfo Endpoint.

just a short update on the issue:

after doing the update to kong 1.0.4 using all the latest versions of the dependencies, we're running into an endless loop of requests resutling in an error. I'll investigate further here on monday, could be an issue with our  kong version, which isn't up to date, too. i'll update it monday and hope, the error will be gone then. if not, i'll write again.

Any updates here? Did you try on 11.x Kong with the newest 1.0.4?

@jeremyjpj0916 Sorry for the late response. I've been ill last week, sadly. Will try this out with my colleague who is the domainowner of the api gateway today and will give further response shortly. Had to set up a whole dev environment with new components in the process, working out how to set up keycloak-usage with ssl via a kong-route (/auth), so this had been a fairly more complex matter than I thought.
May I ask one question by the way?!:
Question is: If I use this plugin, there's no need to use any Keycloak Client Adapters, because kong does all the things I need, right? or did I get something wrong? That said another question (sorry): Is there an integration into the spring security adapter to obtain the roles automatically, yet? Or do I have to write this myself (which I would do, for sure)

so, the first error here is gone, upgrading kong to 0.11.1, keycloak to 3.4.0 Final and the oidc plugin to 1.0.4...
but now i am stuck in a redirect loop calling the api which uses the oidc plugin. seems like the token keycloak sends is wrong. I am getting "invalid signature" when looking the token up at jwt.io, seems like payload is missing, but when i call the token endpoint directly with username/pw i get a fully working token. To be honest, I have no clue why. Will investigate it further tomorrow (23:55 here), but any hint would be highly appreciated :(

oh, just seen i've posted under the wrong account. my bad.

@Trojan295
So, my situation as is is mentioned above ("dominikguhr" being another account of me, actually, wrong mail used ;) ). I'll try to give you some important data about my environment, though I couldn't get it to work yet, sadly. I really, really want this. I hope you or anyone reading this could help me out here:

I've upgraded kong to 0.11.1
I've upgraded Keycloak to 3.3.0 Final
I've upgraded the oidc plugin to 1.0.4 with the following dependencies (excerpt from my Dockerfile):

#copy rocks to directory because no access to luarocks mirrors
COPY rocks /tmp/
RUN luarocks install /tmp/lua-resty-session-2.8-1.all.rock && \
    luarocks install /tmp/lua-resty-jwt-0.1.11-0.src.rock && \
    luarocks install /tmp/lua-resty-http-0.11-0.src.rock && \
    luarocks install /tmp/lua-resty-hmac-v1.0-1.all.rock && \
    luarocks install /tmp/lua-resty-openidc-1.4.0-1.src.rock && \
    luarocks install /tmp/kong-oidc-1.0.4-0.src.rock

COPY nginx_kong.lua /usr/local/share/lua/5.1/kong/templates/nginx_kong.lua

ENV KONG_CUSTOM_PLUGINS=oidc

Following is my customized nginx_kong.lua, which I refactored according to several stackoverflow-threads to send the right headers etc. (would be great to have an example nginxkonf.lua, btw!):
return [[
charset UTF-8;

> if anonymous_reports then
${{SYSLOG_REPORTS}}
> end

error_log ${{PROXY_ERROR_LOG}} ${{LOG_LEVEL}};

> if nginx_optimizations then
>-- send_timeout 60s;          # default value
>-- keepalive_timeout 75s;     # default value
>-- client_body_timeout 60s;   # default value
>-- client_header_timeout 60s; # default value
>-- tcp_nopush on;             # disabled until benchmarked
>-- proxy_buffer_size 128k;    # disabled until benchmarked
>-- proxy_buffers 4 256k;      # disabled until benchmarked
>-- proxy_busy_buffers_size 256k; # disabled until benchmarked
>-- reset_timedout_connection on; # disabled until benchmarked
> end

client_max_body_size ${{CLIENT_MAX_BODY_SIZE}};
proxy_ssl_server_name on;
underscores_in_headers on;

lua_package_path '${{LUA_PACKAGE_PATH}};;';
lua_package_cpath '${{LUA_PACKAGE_CPATH}};;';
lua_socket_pool_size ${{LUA_SOCKET_POOL_SIZE}};
lua_max_running_timers 4096;
lua_max_pending_timers 16384;
lua_shared_dict kong                5m;
lua_shared_dict kong_cache          ${{MEM_CACHE_SIZE}};
lua_shared_dict kong_process_events 5m;
lua_shared_dict kong_cluster_events 5m;
> if database == "cassandra" then
lua_shared_dict kong_cassandra      5m;
> end
lua_socket_log_errors off;
> if lua_ssl_trusted_certificate then
lua_ssl_trusted_certificate '${{LUA_SSL_TRUSTED_CERTIFICATE}}';
lua_ssl_verify_depth ${{LUA_SSL_VERIFY_DEPTH}};
> end

init_by_lua_block {
    kong = require 'kong'
    kong.init()
}

init_worker_by_lua_block {
    kong.init_worker()
}

proxy_next_upstream_tries 999;

upstream kong_upstream {
    server <IP_ADDRESS>;
    balancer_by_lua_block {
        kong.balancer()
    }
    keepalive ${{UPSTREAM_KEEPALIVE}};
}

server {
    server_name kong;
    listen ${{PROXY_LISTEN}}${{PROXY_PROTOCOL}};
    error_page 400 404 408 411 412 413 414 417 /kong_error_handler;
    error_page 500 502 503 504 /kong_error_handler;

    access_log ${{PROXY_ACCESS_LOG}};
    error_log ${{PROXY_ERROR_LOG}} ${{LOG_LEVEL}};

    client_body_buffer_size ${{CLIENT_BODY_BUFFER_SIZE}};

> if ssl then
    listen ${{PROXY_LISTEN_SSL}} ssl${{HTTP2}}${{PROXY_PROTOCOL}};
    add_header X-debug-ssl "if ssl-block reached" always;
    ssl_certificate ${{SSL_CERT}};
    ssl_certificate_key ${{SSL_CERT_KEY}};
    ssl_protocols TLSv1.1 TLSv1.2;
    ssl_certificate_by_lua_block {
        kong.ssl_certificate()
    }

    ssl_session_cache shared:SSL:10m;
    ssl_session_timeout 10m;
    ssl_prefer_server_ciphers on;
    ssl_ciphers ${{SSL_CIPHERS}};
> end

> if client_ssl then
    proxy_ssl_certificate ${{CLIENT_SSL_CERT}};
    proxy_ssl_certificate_key ${{CLIENT_SSL_CERT_KEY}};
> end

    real_ip_header     ${{REAL_IP_HEADER}};
    real_ip_recursive  ${{REAL_IP_RECURSIVE}};
> for i = 1, #trusted_ips do
    set_real_ip_from   $(trusted_ips[i]);
> end

    location /auth {
        proxy_pass https://identity-dev.bh-infra-dev.svc.cluster.local:8443;
        proxy_set_header Host $host;

        proxy_set_header X-Forwarded-Proto https;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Url-Scheme $scheme;
    }

    location / {
        set $upstream_host               '';
        set $upstream_upgrade            '';
        set $upstream_connection         '';
        set $upstream_scheme             '';
        set $upstream_uri                '';
        set $upstream_x_forwarded_for    '';
        set $upstream_x_forwarded_proto  '';
        set $upstream_x_forwarded_host   '';
        set $upstream_x_forwarded_port   '';

        set $session_check_ssi off;
        set $session_secret hallotest123123;

        rewrite_by_lua_block {
            kong.rewrite()
        }

        access_by_lua_block {
            kong.access()
        }

        proxy_http_version 1.1;
        proxy_set_header   Host              $upstream_host;
        proxy_set_header   Upgrade           $upstream_upgrade;
        proxy_set_header   Connection        $upstream_connection;
        proxy_set_header   X-Forwarded-For   $upstream_x_forwarded_for;
        proxy_set_header   X-Forwarded-Proto $upstream_x_forwarded_proto;
        proxy_set_header   X-Forwarded-Host  $upstream_x_forwarded_host;
        proxy_set_header   X-Forwarded-Port  $upstream_x_forwarded_port;
        proxy_set_header   X-Real-IP         $remote_addr;
        proxy_pass_header  Server;
        proxy_pass_header  Date;
        proxy_ssl_name     $upstream_host;
        proxy_pass         $upstream_scheme://kong_upstream$upstream_uri;

        header_filter_by_lua_block {
            kong.header_filter()
        }

        body_filter_by_lua_block {
            kong.body_filter()
        }

        log_by_lua_block {
            kong.log()
        }
    }

    location = /kong_error_handler {
        internal;
        content_by_lua_block {
            kong.handle_error()
        }
    }
}

server {
    server_name kong_admin;
    listen ${{ADMIN_LISTEN}};

    access_log ${{ADMIN_ACCESS_LOG}};
    error_log ${{ADMIN_ERROR_LOG}} ${{LOG_LEVEL}};

    client_max_body_size 10m;
    client_body_buffer_size 10m;

> if admin_ssl then
    listen ${{ADMIN_LISTEN_SSL}} ssl${{ADMIN_HTTP2}};
    ssl_certificate ${{ADMIN_SSL_CERT}};
    ssl_certificate_key ${{ADMIN_SSL_CERT_KEY}};
    ssl_protocols TLSv1.1 TLSv1.2;

    ssl_session_cache shared:SSL:10m;
    ssl_session_timeout 10m;
    ssl_prefer_server_ciphers on;
    ssl_ciphers ${{SSL_CIPHERS}};
> end

    location / {
        default_type application/json;
        content_by_lua_block {
            kong.serve_admin_api()
        }
    }

    location /nginx_status {
        internal;
        access_log off;
        stub_status;
    }

    location /robots.txt {
        return 200 'User-agent: *\nDisallow: /';
    }
}
]]

Keycloak works using a kong-route, too, so I can call my https://gateway/auth ... to call keycloaks endpoint config etc. via 8443/https.
My Keycloak dockerfile looks like this:
FROM jboss/keycloak:3.3.0.Final

USER root

ENV KEYCLOAK_LOGLEVEL DEBUG
ENV PROXY_ADDRESS_FORWARDING true

ADD config.sh /tmp/
ADD batch.cli /tmp/

RUN bash /tmp/config.sh

#Give correct permissions when used in an OpenShift environment.
RUN chown -R jboss:0 $JBOSS_HOME/standalone && \
    chmod -R g+rw $JBOSS_HOME/standalone

USER jboss

EXPOSE 8080 8443

There's a little jboss-cli script called in config.sh which sets the following entries to my standalone.xml (checked it in container, the entries are there):
embed-server --std-out=echo

# Enable SSL on a Reverse Proxy
# First add proxy-address-forwarding and redirect-socket to the http-listener element.
# Then add a new socket-binding element to the socket-binding-group element.

batch

/subsystem=undertow/server=default-server/http-listener=default:write-attribute(name=proxy-address-forwarding,value=true)

/subsystem=undertow/server=default-server/http-listener=default:write-attribute(name=redirect-socket,value=proxy-https)

/socket-binding-group=standard-sockets/socket-binding=proxy-https:add(port=443)
/subsystem=logging/console-handler=CONSOLE:change-log-level(level=ALL)
/subsystem=logging/root-logger=ROOT/:write-attribute(name=level,value=DEBUG)
run-batch

stop-embedded-server

As I understood, this should be fairly enough low-level config to make the plugin work as rp.
After deploying these two components to my openshift platform (3.6, just 1 pod each), I have set up a confidential client in a realm named "hub" and copied the client id ("landingpage") and client secret to use them in the oidc config. On the realm config-level, I only changed the switch "Require SSL" to all requests.
Clientconfig in keycloak:
here
So then I went to kong (using the kong-dashboard gui) and I've set up the following APIs (see pictures):
/auth API
The "App" I want to secure is a simple html landingpage and I want to call it via gateway/lop, for testing purposes. The API looks like this at the moment:
/lop API
I tried around a bit with Strip Uri and Preserve Host, but didn't help.
Then I added the oidc plugin to the API. Configuration for the plugin is here (hope not too small):
https://imgur.com/a/5Ausu
So,after doing this I tried to call gateway/lop. I got redirected to the loginpage of keycloak with a url like this:https://gateway-dev.{domain}/auth/realms/hub/protocol/openid-connect/auth?response_type=code&client_id=landingpage&state=8f26c2d2c24e0c3c17ce0de0bb77266a&redirect_uri=https://gateway-dev.{domain}/lop/&prompt=&nonce=1a81556204a30065872a1f8d7d7aa48f&scope=openid- so far, so good.
Next request after adding credentials is a POST to this url:
https://gateway-dev.{domain}/auth/realms/hub/login-actions/authenticate?code=nlCRXwc5gcoqGGeX4o-Z7aYDsWSAACCL4GLVxfJO_uM&execution=96682f02-2348-4f26-b753-4fae9ab906c5&client_id=landingpage
So, after adding the (valid) credentials, I got stuck into the redirect loop you could see in the following picture:
redirectloop
Corresponding kong logs: https://pastebin.com/v8ELbsbC
So, that's the situation. Would be absolutely great to get some help here. I guess it's something in the nginx.conf I am missing, or I am having a knot in the brain (might be a big one).
Best regards and thanks in advance, Dominik

couldn'T solve this, yet. Is there really nothing you could help me with? even an example kong/nginx conf would be nice.

Hi
Just guessing ...
In our first issue, #1, I wrote
"In nginx conf-file we have added under
server {
server_name kong;
following line
set_decode_base64 $session_secret 'XX';
In XX we use some decoded default value which kong-oidc will later change."
You have session_secret in "location / "

Have you enabled kong_oidc plugin "globally" or for specific apis?
If I remember right we had this issue when we enabled kong_oidc plugin globally. That is why added filters into schema.lua.
So you have /auth API to access keycloak. Then you should add "config.filters=^/auth$,^/auth[^%w_%-%.~]" when you enable kong_oidc plugin.

Hi guys, and thanks for the answers so-far!
I finally found a solution (nearly). The cause of the problem was the version of lua resty-session plugin which is 2.8-1 as stated here as minimum req: https://luarocks.org/modules/hanszandbelt/lua-resty-openidc
After upgrading it to 2.19.1 the error was gone, login worked - yay. I found this issue at the repo which led me to the right direction: https://github.com/bungle/lua-resty-session/issues/35
I think so because I checked with version 2.13-1, the last before the fix in 2.15.1 => redirect loop.
Now sadly, there's one thing missing: The X-UserInfo Header which should come back after logging in.
So may it be possible that your plugin doesn't support chunked cookies? If so, could you please make this work? Would be great! If I could give you any help, just ask. Sadly I never did a thing in lua ;)
Here are the kong debug logs with version 2.19-1 if you're interested. I cannot see why there shouldn't be the userinfo header set, I can even see the call the plugin makes:
https://pastebin.com/7un2RVcR
but in the browser my requests are looking like this when logged in:
https://imgur.com/a/T5HUw
@tsyrjanen @Trojan295 Thank you very much so far, and if you need more info feel free to reach out! I hope we get this last hurdle fixed fast so I can finally use Keycloak and oidc in our scenario :)

One thing besides: Would be very nice to exactly know which versions of the oidc plugin and its dependencies you are using together with which kc version, because maybe that I have another "wrong" version.
Here's my actualised version-list for oidc plugin:
#copy rocks to directory because no access to luarocks mirrors
COPY rocks /tmp/
RUN luarocks install /tmp/lua-resty-session-2.19-1.all.rock && \
    luarocks install /tmp/lua-resty-jwt-0.1.11-0.src.rock && \
    luarocks install /tmp/lua-resty-http-0.11-0.src.rock && \
    luarocks install /tmp/lua-resty-hmac-v1.0-1.all.rock && \
    luarocks install /tmp/lua-resty-openidc-1.4.0-1.src.rock && \
    luarocks install /tmp/kong-oidc-1.0.4-0.src.rock

This is part of my Dockerfile, as stated in another post above. Keycloak used was 3.4o.Final, and then 3.3 for testing, but it should work with 3.2.1, 3.3 and 3.4 nevertheless.

okay, you can close the issue. after cleaning up kc-config and nginx.conf (I removed the whole /auth route, its not necessary - just left the session_secret in server, as @tsyrjanen stated), the X-UserInfo header appeared when routing to httpbin.org/get as upstream to check the headers.
Thank you for your support.
btw: a list of dependency versions would be nice, nevertheless ;)


Add trophies to your personal page

On your profile page it should list the trophies you have won along with the seasons you played in.

I think that this issue is fixed . Colwem recently merged his trophy list project in the repository if I'm not mistaken .


[EZ] Fix typo

Looks like the travis failure was due to the stochastic label model test. Pushed the restart button.


Test on rails 6.1

Rails 6.1 has been released.
https://edgeguides.rubyonrails.org/6_1_release_notes.html
This PR added CI matrix for Rails 6.1.

Thanks!

Thanks!


Add a simple policy evaluation call to the demo pipeline

To demonstrate gating a deployment via policy, we need an example of evaluating a specific policy from the pipeline.
Use the policy provided to the team in slack as an example
Include a second failure policy

Closing since it was moved to done on the project board


IE11 on windows 7 thumbnails not displaying correct

Hello, really nice library. I was looking at your demo site with modal example and thumbnails images are not correct size as in other browsers. Is there any up coming fix for this one? Thanks in advance!

@ajvanho6 I am sorry for the very late response, haven't got the time to work on this until now. the update is coming..


re-implement Parameters Read() function

This fixes Github Issue #20

Thanks, these issues have been addressed. good call outs :+1:


ScopeContext.PushProperties without being wrapped in using statement

NLog version: 5.1.4
Platform:  .NET6
Current NLog config: I am using appsettings.json file
"NLog": {
    "autoReload": true,
    "throwConfigExceptions": true,
    "internalLogLevel": "Debug",
    "internalLogFile": "${basedir}/internal-nlog.txt",
    "targets": {
      "async": true,
      "logfile": {
        "type": "File",
        "fileName": "${basedir}/logs/${shortdate}.txt",
        "layout": "${longdate} | ${uppercase:${level}} | ${logger} | CorrelationId: ${scopeproperty:item=correlationId} | ${message}",
        "concurrentWrites": true
      },
      "logconsole": {
        "type": "Console",
        "layout": "${longdate} | ${uppercase:${level}} | ${logger} | CorrelationId: ${scopeproperty:item=correlationId} | ${message}"
      },

    },
    "rules": [
      {
        "logger": "*",
        "minLevel": "Info",
        "writeTo": "logfile,logconsole"
      }
    ]
  },

What is the current result?
I think for now it's good but I am afraid that it can cause some memory leaks or other issues that I am not able to see right now
What is the expected result?
Logging property pushed to the ScopeContext (it works for now).
Did you checked the Internal log?
Nothing helpful in this case is there
Please post full exception details (message, stacktrace, inner exceptions)
There is no exceptions - it looks like it is working but as I mentioned above something may not be as good as it looks.
Are there any workarounds? yes/no
I think my current implementation is workaround.
Is there a version in which it did work?
As told earlier.
Can you help us by writing an unit test?

So, I have some extension method that creates Autofac's ILifetimeScope and before returning scope I have line:
ScopeContext.PushProperties(CreateFromCorrelationContext(context));

and it's logging my property (some guid) as it should but I am not wrapping it in using statement and there is my question how it is disposed?
public static ILifetimeScope BeginScopeWithCorrelationContext(this ILifetimeScope @this)
{
    ICorrelationContext context = ...; // context creation

    var scope = @this.BeginLifetimeScope();
    ScopeContext.PushProperties(CreateFromCorrelationContext(context));
    return scope;
}

and this is called inside in two places: middleware and a while loop inside scheduler class when scope is created for task that will be executed.
middleware:
extension method is used in two places in middleware:
public async Task Invoke(HttpContext context)
{
    using var customRequestScope = scope.BeginScopeWithCorrelationContext();

    await next(context);
}

and loop:
private async Task DoSth(ParameterX parameterX, CancellationToken cancellationToken)
{
    while (!cancellationToken.IsCancellationRequested)
    {
        using (var scope = _rootScope.BeginScopeWithCorrelationContext("))
        {
            // here is code that execute other clasess objects that contains logger as property
        }
    }
}

EDIT: From https://github.com/NLog/NLog/issues/4992#issuecomment-1167683800 this comment I am aware that ScopeContext is related to thread execution context so I think this might be important.
END EDIT:
I am not sure it this is also important but this is how method with loop is called
public async Task StartAsync(CancellationToken cancellationToken)
{
    var workers = new List<Task>();

    foreach (ParameterX parameterX in _parametersX)
    {
        workers.Add(Task.Run(() => DoSth(parameterX, cancellationToken), cancellationToken));
    }
    await Task.WhenAll(workers);
}

From my observation it looks good but as I mentioned above I am afraid that it can cause some memory leaks or other issues that I am not able to see right now.

It is correct that NLog ScopeContext lives in the execution-context of the active thread. And it returns an IDisposable handle for removing the scope-properties when no longer relevant.
The recommended way is to setup the scope first, and then create the child-tasks (that will "inherit" the active ScopeContext-properties):
public async Task StartAsync(HttpContext context, CancellationToken cancellationToken)
{
    var workers = new List<Task>();

    using (ScopeContext.PushProperties(CreateFromCorrelationContext(context))
    {
        foreach (ParameterX parameterX in _parametersX)
        {
            workers.Add(Task.Run(() => DoSth(parameterX, cancellationToken), cancellationToken));
        }
    }
    await Task.WhenAll(workers);
}

But NLog ScopeContext.PushProperties is performing some tricks, where it "collapses" the scope-properties. So if you call ScopeContext.PushProperties in a tight loop, then you will notice it is allocates but without holding on to previous allocations (garbage collector can cleanup without memory leaks).

Thanks for fast response!
But what about my implementation? Because I don't know if when I push properties inside my extension method, how it will be disposed. There is no wrap in using statement but it looks like it's working.

Yes when calling ScopeContext.PushProperties (without disposing), then NLog will "collapse" the scope-properties (garbage collector can cleanup without memory leaks)

@snakefoot So it looks like it should behave correctly, even without wrapping in using - nice! If I encounter any problems, I will promptly inform you. As I mentioned earlier, in reference to your response, it appears that the code I presented is functioning correctly.

Closing as resolved due to inactivity.


Implements the helper functions for table qualified names

Also updates the version to 1.x to get some confidence from community, as people have been asking if this is stable enough and production ready to use in the projects.
Need this version soon to implement important feature.
@jpoullet2000

Pull Request Test Coverage Report for Build 401

26 of 26 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.6%) to 74.093%

Totals

Change from base Build 399:
0.6%

Covered Lines:
878

Relevant Lines:
1185

💛  - Coveralls

@jpoullet2000 FYI

I'll be releasing the next version next week.
JB
Le lun. 12 août 2019 à 10:52, Verdan Mahmood<EMAIL_ADDRESS>a
écrit :

@jpoullet2000 https://github.com/jpoullet2000 FYI
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jpoullet2000/atlasclient/pull/111?email_source=notifications&email_token=AAFHEHTXPAKOYSVUEKSI6I3QEEQGDA5CNFSM4IKVZ45KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4B5MOA#issuecomment-520345144,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFHEHXZBZAQQOK5TKJGE4DQEEQGDANCNFSM4IKVZ45A
.


Update VideoPlayer functional specs to include thumbnail lightbox launch

User Story

As a [user role below]:
IBM.com developer

I need to:
see the functionality for video player lightbox launcher

so that I can:
make the correct updates

Additional information

videoPlayer
Media
LightBoxMediaViewer
#1824, #2025

Basically the video player needs to optionally be able to open up the lightbox media viewer from a poster image for smaller thumbnail sizes. Whether we include a type/prop that indicates full width, or thumbnail we should, or it's guidelines and governance we should try to talk to design about to solidify. As of right now the poster only plays inline.
Reach out if you have questions...
Acceptance criteria

[ ] VideoPlayer functional specs updated to reflect optional lightbox media viewer launch from poster image.

Confirmed with Lila that this is no longer part of the design. Updated Leadspace block designs reflect that it is using the default poster image sizing of Video: https://ibm.ent.box.com/folder/111803008955
@RobertaJHahn can you please close this ticket?

thanks for letting me know.  Closing.


Cannot run on Windows 10 after initial install

Environment

'npx' is not recognized as an internal or external command,
operable program or batch file.
I'm running Windows 10 with npm version 4.5.0 and Node version 6.10.3
Steps to reproduce

Install warriorjs by entering npm install --global @warriorjs/cli on the command line.
Install the dependency for warriorjs by entering npm install --global @warriorjs/core
Attempt to run warriorjs by entering warriorjs

Expected Behavior
The app should run.
Actual Behavior
Instead, an error message displays:
C:\[my directory tree]\npm\node_modules\@warriorjs\cli\lib\cli.js:23
async function run(args) {
      ^^^^^^^^
SyntaxError: Unexpected token function
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:542:28)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (C:\[my directory tree]\npm\node_modules\@warriorjs\cli\bin\warriorjs.js:3:1)

Thanks for the detailed report. Yeah, npx is available starting with npm v5.2.0.
WarriorJS needs Node 8, if you update to that version this will no longer be an issue. As stated in #78, I'm working on improving Node.js support (at least add Node 10 compatibility) and document the requirements.
I'm closing this now, feel free to re-open if you're still having issues after upgrading to Node 8.


Table data extraction experiment

Need an experiment to assess the performance of the table data extraction work.
This will need functionality for:

Generating artificial tables
Assessing the quality of the extracted tables

Genarated tables should have different features in order to have strong coverage of the set of possible tables that the software may need to process.
Examples of table features include (in no particular order):

Different numbers of rows and columns
Presence or lack of lines around the cells (also different line styles, thickness, colour, background colours, shading, etc)
Presence of empty cells, merged cells
Vary the ammount of padding around the tables and within the cells
Different types of characters in the cells
Different fonts types, sizes, colours
Presence of vertical or angled text
Different layouts, such as headders in different places
Multipage tables

Examples of quality metrics include for example:

Percentage of correct characters per cell/table
Number of correct characters per cell/table
Number of incorrect characters per cell/table
Correctness of the table layout based on the relative position of the cells

There may be other relevant metrics based on external litterature search from the field of OCR, for example. A litterature search is warranted.

Many aspects of this issue have been either resolved or captured by other issues.


feat(VETS-CPC-1296): delete specialties by vet id and specialty id

JIRA: link to jira ticket
Context:
Admin and vets are now able to delete the vets specialties.
Does this PR change the .vscode folder in petclinic-frontend?:
No
Reviewers need to check for any changes to the
.vscode folder and add a comment about it to their review comments.
Changes

implemented delete specialties in api gateway and vet service
tested delete specialties in api gateway and vet service
implemented the frontend for delete specialties with a button

Before and After UI (Required for UI-impacting PRs)
Before:

After:

Just curious but why is there a random file added that's empty?
File name: [26001f182148bc0120a39c3ed4a79fb]443

Just curious but why is there a random file added that's empty? File name: [26001f182148bc0120a39c3ed4a79fb]443

I’m not sure why that file was added. I didn’t manually add it.


Revert dependency upgrades

Let's see if this helps with #3596 and #3595.
Update:
Fixes https://github.com/StackStorm/st2/issues/3595

@armab
I managed to track down the memory usage issue to mongonegine 0.13.0. Upgrading to 0.13.0 doubles the memory usage, it's easy to replicate it (install latest dev packages, revert mongoengine to 0.11.0 or 0.12.0 and restart services, wait a bit for them to start up and check memory usage).
I will also go ahead and revert mongoengine upgrade for now and try to track down the actual place in mongoengine where it happens.
Great catch and thanks again.

$ st2 --version
Traceback (most recent call last):
  File "/usr/bin/st2", line 7, in <module>
    from st2client.shell import main
  File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2client/shell.py", line 34, in <module>
    from st2client.base import BaseCLIApp
  File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2client/base.py", line 26, in <module>
    import urllib3
ImportError: No module named urllib3

@Kami Taking into account ImportError: No module named urllib3, this part from the pip upgrade should be reverted as well: https://github.com/StackStorm/st2/pull/3538/files#r128815747 So the package failure is valid.
I can confirm mongo memory fix.
Please also test if reverting requests fixes https://github.com/StackStorm/st2/issues/3596 under EL7.

@armab Thanks for confirming and will do.


False positives from no-with-statement rule

When I enable the no-with-statement rule, it gives me a lot of false positives.  I have the following test code:
module MyApp {
    "use strict";

    export class TestClass {
		test = "test";
    }
}

And running TSLint against that produces the following output
[13:37:03] Using gulpfile C:\<MY_FILE_PATH>\Gulpfile.js
[13:37:03] Starting 'TSLint:Newer'...
[13:37:03] [gulp-tslint] error test-file.ts[2, 5]: Forbidden with statement
[13:37:03] Finished 'TSLint:Newer' after 545 ms
Process terminated with code 0.

yeah... so it seems to think like line 2 of that test code above contains a with statement... I have no idea why.
I am running this in Visual Studio 2015 with gulp v3.9.0 and gulp-tslint v3.3.0

Thanks for taking the time to file this.
I will take a look tonight. I suspect that differing versions of TypeScript is to blame.

Ah yes, I suppose that would be important information to know as well!  I am using TypeScript v<IP_ADDRESS>

I upgraded our tslint dependency to 2.5.1 and there are a bunch of test failures. Certainly this issue is that we do not yet support 2.5.1. I created Issue #49 to track this.

OK, I fixed issue #49. This issue is fixed with it. We'll try to push a new version by Monday.
I really appreciate your patience and willingness to give us a chance.


Feature:support nan/inf

Thanks for your contribution and we appreciate it a lot.
1. Motivation
修改算子逻辑使其支持nan/inf的cases
2. Modification
1）modified:   bangc-ops/kernels/roi_crop/roi_crop_block.mlu
3. Test Report
If you want to know how to do operator testing, you can see GTest-User-Guide-zh.
3.1 Modification Details
3.1.1 Accuracy Acceptance Standard
For static threshold standard details, see: MLU-OPS Accuracy Acceptance Standard.

[x] diff1: diff1 <= 3e-3
[x] diff2: diff2 <= 3e-3

3.1.2 Operator Scheme checklist

No.
Details
Check Results

1
Supported hardware
MLU370MLU590

2
Job types
block  U1  U4

3
Layouts
NHWC 、NCHW、ARRAY etc

4
Whether multi-dimensions are supported

5
Whether element zero is supported

6
Data type(half/float)
half / float etc

7
Whether there is size limit

3.1.3 New Feature Test
If you have checked the following items, please tick the relevant box.

[ ] Data type test
[ ] Multi-dimensional tensor test
[ ] Layout test
[ ] Different size/integer remainder end segment/alignment misalignment test
[ ] Zero dimensional tensor test/zero element test
[ ] stability test
[ ] Multiple platform test
[ ] Gen_case module test
[x] Nan/INF tests
[ ] Bug fix tests
[ ] For memory leak check details, seeGTest-User-Guide-zh.
[ ] For code coverage check details, see: GTest-User-Guide-zh.
[ ] For I/O calculation efficiency check details, see: MLU-OPS Performance Acceptance Standard.

jira: http://jira.cambricon.com/browse/CNNLCORE-11376


Fix atlas texture positioning in circular TextureProgressBar

In 4.2 TextureProgressBar needed to position its atlas texture, but in 4.3 draw_polygon() handles it.
Fixes #93462.

Please remove the reference to the issue from the commit message, it adds a lot of noise to the issue especially if there's updates to the PR

Thanks!


Search doesn't work when same search term is entered

I use the Quick Project switcher all the time.
If I search for say myVariable in Project A then switch to Project B and keep the search term the say, whether that's leaving that field alone or retyping it, nothing is searched.
I think it'd be a handy thing to have it always research when I press search, maybe as a setting?

Would you mind reopening this on the find-and-replace package? That is where issues with find and replace belong.
Also, when you do could you give the following information?

Which version of Atom are you using?
What OS and version are you running?
Can you reproduce the issue after completely exiting Atom and restarting using atom --safe?

Please let us know if you have any additional questions!