External process input errors when using cmd.exe

Describe the bug
When use bubbletea app to run an external process on Windows OS, the process looses first character of the user input.
Setup
Please complete the following information along with version numbers, if applicable.

Windows 10
cmd.exe
Tested on github.com/charmbracelet/bubbletea v0.24.2 and v0.25.0

To Reproduce
Steps to reproduce the behavior:

Create a project using the source code below. Place echo_input.cmd in the project's folder.
Open cmd.exe, go to the project folder, and run the app: go run main.go
Once the app started press up or down arrow keys
Press e to run external process (the process will launch echo_input.cmd)
Press 1 2 3 sequence on your keyboard
Notice that only 23 was printed on your screen. Press enter key.
Press any key to exit from the external process
Notice that your lost character 1 was intercepted by the model's update method

Source Code
// main.go
package main

import (
	"fmt"
	"os"
	"os/exec"

	tea "github.com/charmbracelet/bubbletea"
)

type editorFinishedMsg struct{ err error }

func runExternalProcess() tea.Cmd {
	c := exec.Command("cmd", "/c", "echo_input.cmd")
	return tea.ExecProcess(c, func(err error) tea.Msg {
		return editorFinishedMsg{err}
	})
}

type model struct {
	input string
	err   error
}

func (m model) Init() tea.Cmd { return nil }

func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
	switch msg := msg.(type) {
	case tea.KeyMsg:
		switch msg.String() {
		case "e":
			return m, runExternalProcess()
		case "ctrl+c", "q":
			return m, tea.Quit
		default:
			{
				if msg.Type != tea.KeyUp && msg.Type != tea.KeyDown {
					m.input = string(msg.Runes)
				}
			}
		}
	case editorFinishedMsg:
		if msg.err != nil {
			m.err = msg.err
			return m, tea.Quit
		}
	}
	return m, nil
}

func (m model) View() string {
	if m.err != nil {
		return "Error: " + m.err.Error() + "\n"
	}
	return fmt.Sprintf("Press 'e' to test input.\nPress 'q' to quit.\nLost character: %s", m.input)
}

func main() {
	if _, err := tea.NewProgram(model{}, tea.WithAltScreen()).Run(); err != nil {
		fmt.Println("Error running program:", err)
		os.Exit(1)
	}
}

rem echo_input.cmd
@echo off
set /p user_input=Enter 123:
echo You entered: %user_input%
pause

Expected behavior
All user input should be redirected to external process

It's cancelReader function who steals the first char from the external process.

Okay cool: so we have an PR open (https://github.com/charmbracelet/bubbletea/pull/878) that overhauls input on Windows which will likely fix this. Would you mind checking on your end @grafviktor?

Okay cool: so we have an PR open (#878) that overhauls input on Windows which will likely fix this. Would you mind checking on your end @grafviktor?

Unfortunately, the patch makes things even worse - with every N process which I run from my example app, readInputs steals N+1 symbols. Also it forwards the ending Enter('\r') key which I send to the running process back to the model.


Test that parts of GOV.UK Frontend can be imported individually

Ensure that files within certain layers render to CSS without error when imported individually:

Core
Objects
Components
Overrides

This will test that e.g. files within these layers import their own dependencies.
This builds on the work done by @penx in #1226.

Yay thanks!


Update Lost Light: Add name of identified AC and change game status to Broken.

Game Title
Lost Light
Anti-Cheat Software
Unknown (Custom) → NACE (icon)
Status of the Anti-Cheat
😥 Broken
Tinkering Steps
Game is broken on Proton, with some managing to get in only for the game's anti-tamper wrapper to detect Proton as cheating software.
In addition, the name of the anti-tamper wrapper is NACE, which stands for NetEase Anti-Cheat Expert (not to be confused with the other "Anti-Cheat Expert" from Tencent.)
Proof of Mention
https://www.protondb.com/app/1797880#QixIO99aY6

@WhippuSIF Where did you get the icon for the anti-cheat?

@Starz0r https://unisdk.nie.netease.com/home/unisec (found at the bottom of the page next to the NetEase Games logo)

Thanks!


How about we stop deprecating everything every other release....

I can't believe how terrible the experience is using these tools.
It seems the whole process is playing jigsaw puzzle games trying to line up all the versions so that something, anything works.

We are sorry but your original working tensorflow code for training is being moved to generic tf.slim for generic training.
We are sorry but your changed code using generic tf.slim was not specific enough, make these changes.
We are sorry but after having you do all this, tf.slim is moving to contrib.
Okay, now contrib is going away and here is a basic script that will just tell you cannot change anything for you, code it all again yourself. All 3rd party guides are now worthless.

(Roughly after about a year of this, I realized what a waste of time and left tensorflow)

Now I'm back only to try to get other frameworks (which work) models converted to tflite since it's the only decent solution for performance on mobile.
Of course the tools to convert to tf-lite require a bunch of tensorflow things to be installed again.

Oops, I'm using Cuda 10.1, watch pip packages try opening libcudart-9.
Install tensorflow 2.x from source for cuda 10.1, whoops it wants newer python now.
Install tensorflow addons, BOOM it doesn't support tensorflow 2.4.0.
Backdate to tensorflow 2.1, rebuild everything.
Install tensorflow addons, BOOM it doesn't support tensorflow <2.2.0.
I know this will just get closed and someone will mention that I'm wrong for being a Gentoo user who expects to build from source and not limp off of a packaging system to fix a project that cannot properly figure out how to handle backwards compatibility. Nor will I use some "docker" container....
Do you need some help coding? Is this intentional lock-in related movement to keep everyone rewriting things?  Can you stop deprecating things long enough for someone to actually build something longer than a year and have it work when they are done? Thanks.

/cc @karmel @dynamicwebpaige

Please take this type of complaint to the core TF repo (I suggest you re-word it to be more constructive though). This is a community maintained repo and we do not make decisions on just about all of the complaints you raised.
FWIW There is no released TF 2.4, and TF-Addons has a compatible version for all TF 2.x pip packages:
https://github.com/tensorflow/addons#python-op-compatility
We do support building from source and to answer your question, we would love some "help coding". That's why its an open source community repo.

This comment is deprecated, please rewrite in the manner desired and post to the main topic
;)

@acidtonic Partially I can understand your frustration and maybe you speaks in a "passionate mood" also because you have invested a lot of time/projects relying on the TF library/ecosystem.
But honestly this in not in the perimeter of Tensorflow Addons cause this SIG repository is maintained only by volunteers on their spare time.
As you probably know in the opensource volunteers perimeter projects you have just two solutions: you can just switch on concurrent tools, or you can invest your time to try to change what you suppose it is wrong investing your time directly in the project.
I think that some of your topics are better to be exposed in the most pertinent community forums. You can find the list here:
https://www.tensorflow.org/community/forums
Probably a Tensorflow's technical manager will reply to you on these channels.
P.s. TF as many other opensource projects/communities adopt the Contributor Covenant Code of Conduct So if you are going to write on these channels please try to expose you motivations in a way that it is not in contrast with the community policy.

I logged an issue on the main tensorflow site. I'm sure they will bounce me around to log it somewhere else eventually.


Have a simpler "getting started" notebook

This PR adds a more basic "getting started" notebook that covers only the very basic use of ott: compute OT between two datasets and differentiate through it.

Any comments on what I should add / remove are more than welcome :)

Codecov Report

Merging #296 (73d6bd1) into main (2995ef4) will not change coverage.
The diff coverage is 98.80%.

:exclamation: Current head 73d6bd1 differs from pull request most recent head 50d5a8e. Consider uploading reports for the commit 50d5a8e to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files

@@           Coverage Diff            @@
##             main     #296    +/-   ##
========================================
  Coverage   85.93%   85.93%
========================================
  Files          52       52
  Lines        5587     5587
  Branches      852      579   -273
========================================
  Hits         4801     4801
  Misses        663      663
  Partials      123      123

Impacted Files
Coverage Δ

src/ott/geometry/segment.py
100.00% <ø> (ø)

src/ott/math/fixed_point_loop.py
100.00% <ø> (ø)

src/ott/problems/nn/dataset.py
94.87% <ø> (ø)

src/ott/solvers/linear/implicit_differentiation.py
97.33% <ø> (ø)

src/ott/solvers/nn/layers.py
88.46% <ø> (ø)

src/ott/tools/gaussian_mixture/fit_gmm.py
75.60% <ø> (ø)

src/ott/tools/gaussian_mixture/fit_gmm_pair.py
79.51% <ø> (ø)

src/ott/tools/gaussian_mixture/linalg.py
100.00% <ø> (ø)

src/ott/tools/k_means.py
95.62% <ø> (ø)

src/ott/tools/plot.py
19.81% <ø> (ø)

... and 42 more

Thanks for the comments ! I implemented most of the suggested changes.


Corrected oidName to provide variable content without quotes.

The line: arcpy.da.FeatureClassToNumPyArray(pathToFeatureClass, (oidName)) failed when
using an oidName that included quotation marks embedded in the string oidName (generated by AddFieldDelimiters on line 496).  Changed the code to provide a correct oidName.

Thank you

No problem.  Do you know when this will be available for install via pip?  I have a client who will be using this functionality.  Thanks!


Extract messages from the flask base template

Also adds simple code to test using es translations (there are a few test strings in es/messages.po)

Thanks for the review!


An error pops up when run "Django Check, Django Migrate, Django Create Superuser...".

Environment

Steps to Reproduce

Create a Django  Web Project
In solution explorer, right click on project and

Python, make migrations >= 1.7
Python, migrate >= 1.7
Python, Django Create Superuser >= 1.7
Python, collect static files
Python, Django check >= 1.7

Additional context and screenshots
An error message pops up.

This should be fixed when this pr goes through: #6668

Fixed by https://github.com/microsoft/PTVS/commit/47f84749249bcd9fd7c17b1415252a1f8deb875a


Scalar multiplication in element-wise Tensor methods

I am implementing the AdamW optimizer for a project. The implementation can benefit from in-place computations, in particular add_, addcmul_, and addcdiv_. The tensor, multiplied tensors, and divided tensors need to be scaled before addition. Unfortunately, the corresponding Tensor methods do not take a scalar, instead the default (in the C++ API) of 1.0 is used. So, instead, some temporaries are needed.
It would be nice if the 'scaling scalar' was also exposed as an argument.

Looks like you need to change the default params, like me in https://github.com/LaurentMazare/tch-rs/issues/132 , it that right? If that is so, take a look there to see why they are not exposed.

Looks like you need to change the default params, like me in #132 , is that right? If that is so, take a look there to see why they are not exposed.

Indeed, it's a default parameter in C++. But the reasoning sounds sensible. It seems that the slowdown in my case is ~14% (comparing regular Adam to AdamW with fewer in-place operations) on an Quadro RTX 5000. Not dramatic, but it seemed like somewhat low-hanging fruit ;).

Handling default parameters is a bit messy indeed as detailed in the other issue. It would be easy to expose manually some of these but of course that would be a bit on the hacky side.
I imagine that the 14% figure is just for the optimizer book-keeping which doesn't include gradient computation, is this right ? (I would imagine gradient computation to be far slower for most use cases but maybe that's not the case)

I imagine that the 14% figure is just for the optimizer book-keeping which doesn't include gradient computation, is this right ? (I would imagine gradient computation to be far slower for most use cases but maybe that's not the case)

Indeed, I just use Tensor::backward to compute gradients.


I can't install xmlsec on Windows 10

I am trying to install xmlsec  for Python3-SAML in Windows 10 .
I am using Python3.7.0
SAML2.4.0
> pip install xmlsec
Collecting xmlsec
  Using cached https://files.pythonhosted.org/packages/35/42/d7cd323c91d4706f3cc32ffe7d5f851ab8ef9898ccb350f6ba593dd8b89a/xmlsec-1.3.3.tar.gz
Requirement already satisfied: pkgconfig in c:\program files (x86)\python37-32\lib\site-packages (from xmlsec) (1.4.0)
Requirement already satisfied: lxml>=3.0 in c:\program files (x86)\python37-32\lib\site-packages (from xmlsec) (4.2.4)
Installing collected packages: xmlsec
  Running setup.py install for xmlsec ... error
    Complete output from command "c:\program files (x86)\python37-32\python.exe" -u -c "import setuptools, tokenize;__file__='C:\\Users\\PRIYAN~1.NAM\\AppData\\Local\\Temp\\pip-install-viofqfv7\\xmlsec\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\PRIYAN~1.NAM\AppData\Local\Temp\pip-record-d9pyi15h\install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_ext
    error: HTTP Error 404: The specified blob does not exist.
    Retrieving "https://ci.appveyor.com/api/buildjobs/7k878q7rvogcdyd9/artifacts/libxml2-2.9.4.win32.zip" to "build/extra\libxml2-2.9.4.win32.zip"

    ----------------------------------------
Command ""c:\program files (x86)\python37-32\python.exe" -u -c "import setuptools, tokenize;__file__='C:\\Users\\PRIYAN~1.NAM\\AppData\\Local\\Temp\\pip-install-viofqfv7\\xmlsec\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\PRIYAN~1.NAM\AppData\Local\Temp\pip-record-d9pyi15h\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\PRIYAN~1.NAM\AppData\Local\Temp\pip-install-viofqfv7\xmlsec\

There is a problems with pushing new version to pypi, as a workarround you can download latest version from github.  https://github.com/mehcode/python-xmlsec/releases/tag/1.3.5
@mehcode  could you please check: travis fails with error
HTTPError: 401 Client Error: This password appears in a breach or has been compromised and cannot be used. See the FAQ entry at https://pypi.org/help/#compromised-password for more information. for url: https://upload.pypi.org/legacy/

Hi @bgaifullin,
I am also not able to install it on Mac or Centos. This is the error i am getting.
Failed building wheel for xmlsec

Command "/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/private/var/folders/j8/gzn7zrh52zz52pq1gnc_c4980000gn/T/pip-qr7r5w68-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/j8/gzn7zrh52zz52pq1gnc_c4980000gn/T/pip-6bxlfqza-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/j8/gzn7zrh52zz52pq1gnc_c4980000gn/T/pip-qr7r5w68-build/

@Jyotir-Parmar  can you try to build with vebose mode, to get more information about error.
pip  -v  install ...

@bgaifullin here is the full error log
`Collecting xmlsec
1 location(s) to search for versions of xmlsec:

https://pypi.python.org/simple/xmlsec/
Getting page https://pypi.python.org/simple/xmlsec/
Looking up "https://pypi.python.org/simple/xmlsec/" in the cache
Returning cached "301 Moved Permanently" response (ignoring date and etag information)
Looking up "https://pypi.org/simple/xmlsec/" in the cache
Current age based on date: 780198
Freshness lifetime from max-age: 600
Freshness lifetime from request max-age: 600
Starting new HTTPS connection (1): pypi.org
"GET /simple/xmlsec/ HTTP/1.1" 304 0
Analyzing links from page https://pypi.org/simple/xmlsec/
Found link https://files.pythonhosted.org/packages/33/56/50fca01ea43aaecc2713ca2c7c160456a51b3bad55c77f3427bc9a060283/xmlsec-0.1.0.tar.gz#sha256=d166a70d4ac74a1aa0e7336af431ccee7cc0f3ed63203ff506e0a1440948ce88 (from https://pypi.org/simple/xmlsec/), version: 0.1.0
Found link https://files.pythonhosted.org/packages/02/51/1d5a86001b638f280870018e7e7544a632c1432d569fd6a5f1ec7fcd08c1/xmlsec-0.1.1.tar.gz#sha256=83e83b97d53d78c94de2c462f8801744d6e0b7f8fc740b469fdf10b2aef8af65 (from https://pypi.org/simple/xmlsec/), version: 0.1.1
Found link https://files.pythonhosted.org/packages/f1/52/8a1a175b70aa0e73654d3fcf07220a86a09a33eacf56394e1667e98f699b/xmlsec-0.1.2.tar.gz#sha256=233dabf1e1ff504dcdbf91d06025a0711ed8de5fff312d64bc704f7368f3a51b (from https://pypi.org/simple/xmlsec/), version: 0.1.2
Found link https://files.pythonhosted.org/packages/f6/d2/ccaaf2b1949e18cbebca1db9603ffda97c0fe3c43db236f89abf372f0433/xmlsec-0.2.0.tar.gz#sha256=c5c8531039646045ffe5442b74db028bcd5c9b4249511b0cc1b7eee45c0e1139 (from https://pypi.org/simple/xmlsec/), version: 0.2.0
Found link https://files.pythonhosted.org/packages/7c/94/a3fedbd0fa66efb6dca82081a02563c12299966b1918295f338fe9a488dc/xmlsec-0.3.0.tar.gz#sha256=2717ef9a2836b6ce719d08b4d5841cedb89af9197238dea87c73c10a295f397c (from https://pypi.org/simple/xmlsec/), version: 0.3.0
Found link https://files.pythonhosted.org/packages/10/5e/d0918b2de681c14c03d96be57399ab98d45b76a994c77844c67624de9f81/xmlsec-0.3.1.tar.gz#sha256=fd50f38e5c65b5cb70d5faa0b32bf05eb91ab90b77e1bf22926519c1289e4caa (from https://pypi.org/simple/xmlsec/), version: 0.3.1
Found link https://files.pythonhosted.org/packages/f7/ba/33cc2de8191ccf4ef90fcf7dacf71d66ad70068bc2d2b85915c1062ef138/xmlsec-0.3.3.tar.gz#sha256=f5d86bbe2d55e7bf576bc3a1c2c33068bac0725f23e57650980d451637b2c762 (from https://pypi.org/simple/xmlsec/), version: 0.3.3
Found link https://files.pythonhosted.org/packages/a3/04/1f183f82e404620cec639219d70052599df01a5209b19ef87b1ec47bbedb/xmlsec-0.4.0.tar.gz#sha256=b3e6150288db6026640f2c6fb05b0ecb536634429becbf36770a5fc5ce7405a3 (from https://pypi.org/simple/xmlsec/), version: 0.4.0
Found link https://files.pythonhosted.org/packages/87/a0/360030ce8a3629a8073249d255b56c7a455ce00d293eaa06b2206b0e7472/xmlsec-0.5.0.tar.gz#sha256=6269a90ee748229bfe761eb5b5cee0d0ffd4f832c8659d38f298b7c18a15f71d (from https://pypi.org/simple/xmlsec/), version: 0.5.0
Found link https://files.pythonhosted.org/packages/aa/21/f322ca9ad60e1dcae0041568c2833220a5535e2163a49c5cae46ffdc0bdd/xmlsec-0.6.0.tar.gz#sha256=dc96bdf46c6eb916604c76a121a69beadb9e5729debcb460f097ac2de575f404 (from https://pypi.org/simple/xmlsec/), version: 0.6.0
Found link https://files.pythonhosted.org/packages/e1/ec/0330f39bc5eb270b6b62a9dbb11194c6d4215b48ef8d04c78a30dc1d2d1d/xmlsec-0.6.1.tar.gz#sha256=1bdb36f0c8e3be0cb980d8eff5c3b1e70ef758b998d07dd8b6cbb8993524b208 (from https://pypi.org/simple/xmlsec/), version: 0.6.1
Found link https://files.pythonhosted.org/packages/14/18/f1f3980677b6c32c1f0c8b38fbf996c83f7c322c9d04aa34bf91995804d6/xmlsec-1.0.1.tar.gz#sha256=8527975779c8ad1a6347a893b604d6ca7ced1553ece4ebcc9269f6ec8a3aec44 (from https://pypi.org/simple/xmlsec/), version: 1.0.1
Found link https://files.pythonhosted.org/packages/b5/b3/93249007b5919dfe7d6ba84a3047014675fd7c5fa9417852df1943dc6637/xmlsec-1.0.2.dev0.tar.gz#sha256=754886f02f0d0f9b9ddf3b8f876b122179958614f09503d6002d2f695b20427d (from https://pypi.org/simple/xmlsec/), version: 1.0.2.dev0
Found link https://files.pythonhosted.org/packages/01/00/c3062ee92e7b1f7a819390a595e78e18d4b28a6381cb055b3fb7eab9e59e/xmlsec-1.0.3.dev0.tar.gz#sha256=9c3983ee1fc82268aec54f44f8125f5c601d88b554e696ae67096e9e0a681cf9 (from https://pypi.org/simple/xmlsec/), version: 1.0.3.dev0
Found link https://files.pythonhosted.org/packages/ac/a7/07b866172086f40f84c5f9d536db7080d67badb153a43ff1beca1a8f375d/xmlsec-1.0.3.tar.gz#sha256=cf02978c2825479c1bd44a12d6014691501b5db9aa2584dc3e5587f41cba32b9 (from https://pypi.org/simple/xmlsec/), version: 1.0.3
Found link https://files.pythonhosted.org/packages/65/9e/a64666ca448d4683fb16e4523dce2958f501da16fe18e0be4b739c326794/xmlsec-1.0.4.tar.gz#sha256=95bf36bc9d409dbc5c9600a948f58c1f92de159d6d74795700c36cc9a2fd4e60 (from https://pypi.org/simple/xmlsec/), version: 1.0.4
Found link https://files.pythonhosted.org/packages/c4/bf/a46e03c277ef42ff3dba791c8f08c16edca4157a31dc971339b1be12b87b/xmlsec-1.0.5.tar.gz#sha256=4230757cb572c444a28b87f66fbcd4d83c0987e5aad4ea2d863f8110513c0fe4 (from https://pypi.org/simple/xmlsec/), version: 1.0.5
Found link https://files.pythonhosted.org/packages/89/86/90921f9c0b0fe14097f028b70b4c2ba0777c43234772286a6d25224161af/xmlsec-1.0.6.tar.gz#sha256=7628c0c520f39fef5a007f4ecec550dcc9b47522d6cf5aaa699383b9597865f3 (from https://pypi.org/simple/xmlsec/), version: 1.0.6
Found link https://files.pythonhosted.org/packages/14/65/96dffc4e9a96be55b2c75ad4cb44020a91f5bc8df704f4c40caf181886f7/xmlsec-1.0.7.tar.gz#sha256=0797b0c737ea18574a55e6d36c3504beae20f6acaad71db7bc2e19dd1185cf8a (from https://pypi.org/simple/xmlsec/), version: 1.0.7
Found link https://files.pythonhosted.org/packages/56/4c/ed4ccd12e6f2fd58e195e7d782c1b165338e36dfb2ef933a02794231686e/xmlsec-1.0.8.tar.gz#sha256=3acd191b9999038e3ab2ce7ee8663b4aa3f49eef251b15e2bf87bf437354a4d4 (from https://pypi.org/simple/xmlsec/), version: 1.0.8
Found link https://files.pythonhosted.org/packages/ab/b7/db19c5b3231078a5f25d4de346e167ac56e2de862e5fb8159e8969fc3971/xmlsec-1.0.9.tar.gz#sha256=307bb107c359278faa77bf408cff955419d0eb0bf08d11428a333f60d7f46552 (from https://pypi.org/simple/xmlsec/), version: 1.0.9
Found link https://files.pythonhosted.org/packages/a4/7d/dadea9c3d0c1c8f1f3a0c427f205be29f808a6deda1257281c93ec0af129/xmlsec-1.1.0.tar.gz#sha256=63d1ff6df08d0665be54d4fef19c191d984011c2cb1a32526958684fec38fc9d (from https://pypi.org/simple/xmlsec/), version: 1.1.0
Found link https://files.pythonhosted.org/packages/c5/12/4eabe5a05804e8883ea9584c546df7c8aab20ee96d50ea55d2a62720151f/xmlsec-1.2.0.tar.gz#sha256=584db09e8e95bd4393b1cd631012f58f66fa2efec5f59ac204019f028cfe2dc3 (from https://pypi.org/simple/xmlsec/), version: 1.2.0
Found link https://files.pythonhosted.org/packages/b6/ca/d87559f16a4f79870bf006109fa95119e76410e087f32b0e77050ffa2b06/xmlsec-1.3.1.tar.gz#sha256=8fe3877194e1daca83500fa7478bc51e6eb2f93835e2760d2c3fe8aaa1134d84 (from https://pypi.org/simple/xmlsec/), version: 1.3.1
Found link https://files.pythonhosted.org/packages/57/2e/fd42a79472c19b7c01ead43ab3c2120554234441848ac790f9839993443e/xmlsec-1.3.2.tar.gz#sha256=dd4366f22aa4d99d7a207b7900c82e1fa75f3f93a1562b623300c94dfc129253 (from https://pypi.org/simple/xmlsec/), version: 1.3.2
Found link https://files.pythonhosted.org/packages/35/42/d7cd323c91d4706f3cc32ffe7d5f851ab8ef9898ccb350f6ba593dd8b89a/xmlsec-1.3.3.tar.gz#sha256=e573c0172174973223d874ffd158ecd4e0faa761015474385289a6468dd29ed6 (from https://pypi.org/simple/xmlsec/), version: 1.3.3
Using version 1.3.3 (newest of versions: 0.1.0, 0.1.1, 0.1.2, 0.2.0, 0.3.0, 0.3.1, 0.3.3, 0.4.0, 0.5.0, 0.6.0, 0.6.1, 1.0.1, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.1.0, 1.2.0, 1.3.1, 1.3.2, 1.3.3)
Looking up "https://files.pythonhosted.org/packages/35/42/d7cd323c91d4706f3cc32ffe7d5f851ab8ef9898ccb350f6ba593dd8b89a/xmlsec-1.3.3.tar.gz" in the cache
Current age based on date: 782770
Freshness lifetime from max-age: 365000000
The response is "fresh", returning cached response
365000000 > 782770
Using cached https://files.pythonhosted.org/packages/35/42/d7cd323c91d4706f3cc32ffe7d5f851ab8ef9898ccb350f6ba593dd8b89a/xmlsec-1.3.3.tar.gz
Downloading from URL https://files.pythonhosted.org/packages/35/42/d7cd323c91d4706f3cc32ffe7d5f851ab8ef9898ccb350f6ba593dd8b89a/xmlsec-1.3.3.tar.gz#sha256=e573c0172174973223d874ffd158ecd4e0faa761015474385289a6468dd29ed6 (from https://pypi.org/simple/xmlsec/)
Running setup.py (path:/tmp/pip-build-98_8l9kh/xmlsec/setup.py) egg_info for package xmlsec
Running command python setup.py egg_info
running egg_info
creating pip-egg-info/xmlsec.egg-info
writing pip-egg-info/xmlsec.egg-info/PKG-INFO
writing dependency_links to pip-egg-info/xmlsec.egg-info/dependency_links.txt
writing requirements to pip-egg-info/xmlsec.egg-info/requires.txt
writing top-level names to pip-egg-info/xmlsec.egg-info/top_level.txt
writing manifest file 'pip-egg-info/xmlsec.egg-info/SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info/xmlsec.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pip-egg-info/xmlsec.egg-info/SOURCES.txt'
Source in /tmp/pip-build-98_8l9kh/xmlsec has version 1.3.3, which satisfies requirement xmlsec from https://files.pythonhosted.org/packages/35/42/d7cd323c91d4706f3cc32ffe7d5f851ab8ef9898ccb350f6ba593dd8b89a/xmlsec-1.3.3.tar.gz#sha256=e573c0172174973223d874ffd158ecd4e0faa761015474385289a6468dd29ed6
Requirement already satisfied: pkgconfig in /usr/lib/python3.6/site-packages (from xmlsec)
Requirement already satisfied: lxml>=3.0 in /usr/lib64/python3.6/site-packages (from xmlsec)
Building wheels for collected packages: xmlsec
Running setup.py bdist_wheel for xmlsec ...   Destination directory: /tmp/tmp7dxu46_spip-wheel-
Running command /usr/bin/python3.6 -u -c "import setuptools, tokenize;file='/tmp/pip-build-98_8l9kh/xmlsec/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/tmp7dxu46_spip-wheel- --python-tag cp36
running bdist_wheel
running build
running build_ext
building 'xmlsec' extension
creating build
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/tmp
creating build/temp.linux-x86_64-3.6/tmp/pip-build-98_8l9kh
creating build/temp.linux-x86_64-3.6/tmp/pip-build-98_8l9kh/xmlsec
creating build/temp.linux-x86_64-3.6/tmp/pip-build-98_8l9kh/xmlsec/src
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.3 -DXMLSEC_CRYPTO="openssl" -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 -D__XMLSEC_FUNCTION__=FUNCTION -DXMLSEC_NO_SIZE_T -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_DL_LIBLTDL=1 -I/usr/include/xmlsec1 -I/usr/include/libxml2 -I/usr/lib64/python3.6/site-packages/lxml/includes -I/usr/lib64/python3.6/site-packages/lxml -I/usr/lib64/python3.6/site-packages/lxml/includes/libxml -I/usr/lib64/python3.6/site-packages/lxml/includes/libxslt -I/usr/lib64/python3.6/site-packages/lxml/includes/libexslt -I/usr/lib64/python3.6/site-packages/lxml/includes/pycache -I/usr/include/python3.6m -c /tmp/pip-build-98_8l9kh/xmlsec/src/constants.c -o build/temp.linux-x86_64-3.6/tmp/pip-build-98_8l9kh/xmlsec/src/constants.o -g -std=c99 -fno-strict-aliasing -Wno-error=declaration-after-statement -Werror=implicit-function-declaration -Os
In file included from /tmp/pip-build-98_8l9kh/xmlsec/src/constants.h:13:0,
from /tmp/pip-build-98_8l9kh/xmlsec/src/constants.c:11:
/tmp/pip-build-98_8l9kh/xmlsec/src/platform.h:16:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.
error: command 'gcc' failed with exit status 1
error
Failed building wheel for xmlsec
Running setup.py clean for xmlsec
Running command /usr/bin/python3.6 -u -c "import setuptools, tokenize;file='/tmp/pip-build-98_8l9kh/xmlsec/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" clean --all
running clean
removing 'build/temp.linux-x86_64-3.6' (and everything under it)
'build/lib.linux-x86_64-3.6' does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.6' does not exist -- can't clean it
removing 'build'
Failed to build xmlsec
Installing collected packages: xmlsec
Running setup.py install for xmlsec ...     Running command /usr/bin/python3.6 -u -c "import setuptools, tokenize;file='/tmp/pip-build-98_8l9kh/xmlsec/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-84h8be1l-record/install-record.txt --single-version-externally-managed --compile
running install
running build
running build_ext
building 'xmlsec' extension
creating build
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/tmp
creating build/temp.linux-x86_64-3.6/tmp/pip-build-98_8l9kh
creating build/temp.linux-x86_64-3.6/tmp/pip-build-98_8l9kh/xmlsec
creating build/temp.linux-x86_64-3.6/tmp/pip-build-98_8l9kh/xmlsec/src
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.3 -DXMLSEC_CRYPTO="openssl" -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 -D__XMLSEC_FUNCTION__=FUNCTION -DXMLSEC_NO_SIZE_T -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_DL_LIBLTDL=1 -I/usr/include/xmlsec1 -I/usr/include/libxml2 -I/usr/lib64/python3.6/site-packages/lxml/includes -I/usr/lib64/python3.6/site-packages/lxml -I/usr/lib64/python3.6/site-packages/lxml/includes/libxml -I/usr/lib64/python3.6/site-packages/lxml/includes/libxslt -I/usr/lib64/python3.6/site-packages/lxml/includes/libexslt -I/usr/lib64/python3.6/site-packages/lxml/includes/pycache -I/usr/include/python3.6m -c /tmp/pip-build-98_8l9kh/xmlsec/src/constants.c -o build/temp.linux-x86_64-3.6/tmp/pip-build-98_8l9kh/xmlsec/src/constants.o -g -std=c99 -fno-strict-aliasing -Wno-error=declaration-after-statement -Werror=implicit-function-declaration -Os
In file included from /tmp/pip-build-98_8l9kh/xmlsec/src/constants.h:13:0,
from /tmp/pip-build-98_8l9kh/xmlsec/src/constants.c:11:
/tmp/pip-build-98_8l9kh/xmlsec/src/platform.h:16:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.
error: command 'gcc' failed with exit status 1
error
Cleaning up...
Removing source in /tmp/pip-build-98_8l9kh/xmlsec
Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;file='/tmp/pip-build-98_8l9kh/xmlsec/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-84h8be1l-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-98_8l9kh/xmlsec/
Exception information:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/lib/python3.6/site-packages/pip/commands/install.py", line 342, in run
prefix=options.prefix_path,
File "/usr/lib/python3.6/site-packages/pip/req/req_set.py", line 784, in install
**kwargs
File "/usr/lib/python3.6/site-packages/pip/req/req_install.py", line 878, in install
spinner=spinner,
File "/usr/lib/python3.6/site-packages/pip/utils/init.py", line 707, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;file='/tmp/pip-build-98_8l9kh/xmlsec/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-84h8be1l-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-98_8l9kh/xmlsec/
Looking up "https://pypi.python.org/pypi/pip/json" in the cache
Returning cached "301 Moved Permanently" response (ignoring date and etag information)
Looking up "https://pypi.org/pypi/pip/json" in the cache
Current age based on date: 782770
Freshness lifetime from max-age: 900
Starting new HTTPS connection (1): pypi.org
"GET /pypi/pip/json HTTP/1.1" 304 0
`

Maybe someone with more knowledge about xmlsec can provide more detail about my response but here is what I have found.  @bgaifullin provided .whls above which are for python 2.7 and 3.6 which tells me there's no xmlsec for python 3.7? which the user stated they are using.  I was also using python 3.7 and when after I downloaded the .whl and did pip install .whl I got something like "this whl is not supported for this platform" meaning not suitable for 3.7, I believe.  I was just starting the project with boilerplate code so I switched to 3.6, downloaded the .whl,  pip installed it and it downloaded.

Maybe someone with more knowledge about xmlsec can provide more detail about my response but here is what I have found. @bgaifullin provided .whls above which are for python 2.7 and 3.6 which tells me there's no xmlsec for python 3.7? which the user stated they are using. I was also using python 3.7 and when after I downloaded the .whl and did pip install .whl I got something like "this whl is not supported for this platform" meaning not suitable for 3.7, I believe. I was just starting the project with boilerplate code so I switched to 3.6, downloaded the .whl, pip installed it and it downloaded.

yeah. I'm also facing the same issue, available binaries are supported till python 3.6 only.

Duplicate of #98

A new version 1.3.7 was released today. One of the notable changes includes pushing prebuilt wheels for Windows on PyPI, so the issue with building Windows wheels locally should be resolved. Install as usual:
pip install xmlsec

Should you experience any issues with prebuilt wheels on Windows, please don't hesitate to open a new issue.


Safari 11 on MacOS

I'm encountering behavior where if the element the video is attached to is visibility: hidden, the camera just submits the last image it captured over and over again. This is only happening in Safari 11 on MacOS. I'm currently running El Capitan, so I'm not sure if the same behavior shows up on High Sierra.
In order to deal with this issue short term, I tried the following to instantiate the webcam using the force_flash parameter:
if ((navigator.platform == "Mac68K" || navigator.platform == "MacPPC" || navigator.platform == "MacIntel") && (navigator.userAgent.indexOf("Safari") > -1 && navigator.userAgent.indexOf("Chrome") == -1)) {
window.Webcam.set({
image_format: 'jpeg',
jpeg_quality: 100,
force_flash: true
});
}
else {
window.Webcam.set({
image_format: 'jpeg',
jpeg_quality: 100
});
}
Unfortunately, the above code doesn't seem to work. I get the error "Webcam.js Error: No supported webcam interface found."
Any ideas on what I might be doing incorrectly?

Ok, so it's not happening in Safari 11 High Sierra. Just on El Capitan.


Add ability to capture arguments

As far as I can tell ScalaMock lacks the ability to capture arguments a la Mockito's ArgumentCaptor. This StackOverflow post alludes to a mechanism that exists under-the-hood. It'd be great to expose it, or if it doesn't actually exist, add it. I imagine this can be implemented as a custom matcher.

See http://scalamock.org/user-guide/advanced_topics/ , topic "Returning values (onCall)"
In your onCall function, just save the value you're interested in into some field you defined above - done.
It's neither internal or undocumented :)

I'm aware of that, and was looking for something a bit more first-class, but ok!

Yes, more sugar. Perhaps something like this:
trait Foo {
  def increment(a: Int): Int
}

val fooMock = mock[Foo]
val captor = capture[Int]

(foo.increment _).expects(captor).once()

println(captor.value)

got something on a branch that works like this:
  it should "capture the arguments of mocks - capture one" in {
    val m = mock[TestTrait]
    val c1 = CaptureOne[Int]()

    m.oneParam _ expects capture(c1) once()
    m.oneParam(42)
    c1.value should be (42)
  }

  it should "capture the arguments of mocks - capture all" in {
    val m = mock[TestTrait]
    val c = CaptureAll[Int]()

    m.oneParam _ expects capture(c) repeat 3
    m.oneParam(99)
    m.oneParam(17)
    m.oneParam(583)
    c.value should be (583)
    c.values should be (Seq(99, 17, 583))
  }

I'll push it later and you can review / comment @vakhtang  ?

Looks great, thanks!


attempt to call field 'unpack' (a nil value)

$ fennel --version
Fennel 1.0.0 on Lua 5.1

$ lua
Lua 5.1.5  Copyright (C) 1994-2012 Lua.org, PUC-Rio

[clone repo and install dependencies]

$ fennel install.fnl

runtime error: attempt to call field 'unpack' (a nil value)
stack traceback:
  ./fnx/adapters/shell.fnl:8: in function 'smk->string'
  ./fnx/ports/out/shell.fnl:10: in function 'dispatch!'
  ./fnx/controllers/installer.fnl:21: in function ?
  (tail call)
  (tail call)
  (tail call)
  (tail call)
  (tail call)
  [C]: in function 'xpcall'
  fennel:5396: in function ?
  (tail call)
  [C]: in ?

It appears that fnx doesn't support Lua 5.1.5. I installed Lua 5.4.4 and the above error goes away. It might be good to mention the oldest supported Lua version.

I remember facing this issue with Lua in another project.
I just added backward compatibility to prevent this kind of error.
Thanks for reporting!


Both sides pinned fixed layers' positioning fix.

Eg. A fixed sidebar, which pinned to both top and bottom, now being resized before export, according to viewport height.

Hm, can you share an example sketch file? I just tried this out and noticed it behaves differently than Sketch's built-in prototype preview.
For example for this test file: test.sketch.zip
Sketch's prototype preview shows the top half of the gradient:

While this PR creates this result (which honestly may look more correct, but still differs from Sketch):

It's worth noting that even before this PR though, the plugin is rendering differently anyway:

Thanks for the examples. I did not notice that Sketch is also displaying wrong. All I experienced is my sidebar was getting fixed to bottom and being cropped from top when exported using the plugin. I just tried to fix this. I'm attaching a demonstration of my sidebar.

test.sketch.zip


alternative typeof notation

@avigad We discussed about it last week.
The following works well:
notation `(` t `:` T `)` := is_typeof T t

I think it is an improvement, we can write (a : int) + 1 instead of (typeof a : int) + 1.
The simpler one does not work
notation  t `:` T  := is_typeof T t

The problem is that the calc expression would become ambiguous. We use : to separate the right-hand-side from the proof term.

I like this a lot. I will make the changes to both the standard and HoTT libraries tomorrow. I will leave the typeof notation also present temporarily, until we update the tutorial.

closed by https://github.com/leanprover/lean/commit/74b28f6ad9ca4de5022b4e8a05a49d559fbe512c


Update sbt-converter to 1.0.0-beta37

Updates org.scalablytyped.converter:sbt-converter from 1.0.0-beta36 to 1.0.0-beta37.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalablytyped.converter", artifactId = "sbt-converter" } ]

labels: sbt-plugin-update, early-semver-pre-release, semver-spec-pre-release, commit-count:1

Superseded by #172.


Mapper::toCollection() breaks PHPStan

PHPStan 0.12.40
Nextras\Orm 4.0-RC1
Nextras\Orm-PHPStan dev-master
This makes PHPStan with active nextras/orm-phpstan extension to freeze when analysing the file.
<?php declare(strict_types=1);

namespace App\Model\System;

use Nextras\Orm\Collection\ICollection;
use Nextras\Orm\Mapper\Mapper;

final class LogMapper extends Mapper
{
    public function findAllWithTranslatedIps(): ICollection
    {
        return $this->toCollection(
            $this->builder()->addSelect('inet6_ntoa([ip]) as [ip]')
        );
    }
}

The issue persists even with just $this->builder() suggesting error isn't in the custom select part.

Well, the issue here is we try to guess the name of repository. What is FQN name of LogsRepository?

App\Model\System\Log (Entity)
App\Model\System\LogMapper
App\Model\System\LogRepository

It seems it's failing on $mapperClass = \get_parent_class($mapperClass); in the MapperMethodReturnTypeExtension.php as that returns false on my machine and therefore it falls into infinite loop.
$mapperClass = $mapper->getClassName();
do {
	/** @phpstan-var class-string<\Nextras\Orm\Repository\Repository> $repositoryClass */
	$repositoryClass = \str_replace('Mapper', 'Repository', $mapperClass);
	$mapperClass = \get_parent_class($mapperClass);
	assert(is_string($mapperClass));
} while (!\class_exists($repositoryClass) && $mapperClass !== DbalMapper::class);

$repositoryClass is recognised correctly.

What is your definition of LogRepository? What does it extend?

<?php declare(strict_types=1);

namespace App\Model\System;

use Nextras\Orm\Collection\ICollection;
use Nextras\Orm\Repository\Repository;

/**
 * @method ICollection|Log[] findAllWithTranslatedIps()
 */
final class LogRepository extends Repository
{
    public static function getEntityClassNames(): array
    {
        return [Log::class];
    }
}

nextras-orm-phpstan-failing-demo.zip

I somehow know where the bug is, will try to fix asap. Thanks for reporting.

Fixed https://github.com/nextras/orm-phpstan/commit/c7a64f8897d6dce40b762a18bebae5e415edc3c8

Thank you very much!!!


update cluster instance

Issue #, if available:
https://github.com/aws-samples/bedrock-claude-chat/issues/153
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

一部修正対応要のためDraftに変更


[zh] missing page for Validating Admission Policy

https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/
The Chinese version for this page is missing.

ValidatingAdmissionPolicy：启用准入控制中所用的对 CEL 校验的 ValidatingAdmissionPolicy 支持。

/triage accepted
/assign

This issue can be closed since this page has been tranlated.
https://kubernetes.io/zh-cn/docs/reference/access-authn-authz/validating-admission-policy/

Thanks.
/close


fix(sem rel): bumping version to test semantic release

:tada: This PR is included in version 3.2.2 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


bug fix in member_config for having _id > 255

I encountered this problem of having _id > 255 where mongodb considers it as invalid _id. The current recipe will get max_id += 1, which leads _id to grows to the top value.
The validation logic is here:
https://github.com/mongodb/mongo/blob/r3.2.0/src/mongo/db/repl/member_config.cpp#L225
To fix the problem, instead of using max_id +=1, we pick a value between [0,255] for _id, excluding the _id's have existed in the member configs.
This patch is copied from:
https://github.com/edelight/chef-mongodb/pull/410#issuecomment-168934264

:+1:

I bug reported the missing documentation on _id constraints, and it's now part of the official documentation:
https://jira.mongodb.org/browse/DOCS-6904
https://github.com/mongodb/docs/commit/05905088
The documentation also says it's not necessary anymore to set the _id for mongodb >= 3.0.0.
We could add a bypass depending on the server version.


⚠ Bofrost.fr has degraded performance

In bdac5a7, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1171 ms

Resolved: Bofrost.fr performance has improved in f930113.


Add client endpoint type to get_client_access_token

Description
Add interface to support generating MQTT JWT Token for Azure WebPubSub. Essentially we need to identify if clients want to establish a default WebPubSub connection or an MQTT connection, then we will generate the service URL for them accordingly.

Example Service URL for:

Default Connection: wss://exampleHost.com/client/hubs/exampleHub
MQTT Connection: wss://exampleHost.com/client/mqtt/hubs/exampleHub

All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-messaging-webpubsubservice

Interfaces are fetched directly from generated REST Client, so no need to change them


tap_auditor: validate pypi_formula_mappings.json

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

Follow up after #16772 to do schema validation and valid formulae checks.

Note that json_schemer is a part of the pr_upload gem group so you'll need to add it to audit too. See how rexml is handled in the Gemfile.

After adding some bad values to JSON, the audit output looks like:
❯ brew audit --tap homebrew/core --only 'json_files,tap_formula_lists'
homebrew/core
  * pypi_formula_mappings.json schema validation failed with following errors:
    * object property at `/aiven-client/foo` is not defined and schema does not allow additional properties
    * value at `/animdl/exclude_packages/1` is not a string
  * pypi_formula_mappings.json references
    formulae or casks that are not found in the homebrew/core tap.
    Invalid formulae or casks: brew
Error: 2 problems in 1 tap detected.

I only created parts of JSON Schema needed to run check, but can choose to fill out the other metadata.
Can also consider restricting to homebrew/core if there is any chance external taps may be using JSON in other ways.

@cho-m love the idea!

Still fine tuning schema. I plan to update homebrew/core side to align normalized names similar to how we name resources.


Null deference

There is no check for the failed malloc
https://github.com/uber/h3/blob/ed5c4f254af2ffbd527d507d3bdd7019df4120fc/src/h3lib/lib/h3Index.c#L355
This in turn would cause a segfault， when buff is dereferenced
https://github.com/uber/h3/blob/ed5c4f254af2ffbd527d507d3bdd7019df4120fc/src/h3lib/lib/h3Index.c#L372

I believe there is now a guard for this allocation.


Don't use ethereum.send, use ethereum.request

Describe the bug
If you use a new version of MetaMask, you'll see the following warning in the browser console:

MetaMask: 'ethereum.send(...)' is deprecated and may be removed in the future. Please use 'ethereum.sendAsync(...)' or 'ethereum.request(...)' instead.

To Reproduce
Steps to reproduce the behavior:

Install Firefox.
Install MetaMask.
Sign-in to MetaMask.
Open Augur UI.
Notice warning in console.

Expected behavior
No warnings about using deprecated methods.
Desktop (please complete the following information):

OS: Windows
Browser: Firefox
Version: 78.0.2

Additional context
I suspect that this is coming from whatever library you are using, and hopefully the fix is as simple as updating the library.  I believe that ethers has been updated to use ethereum.sendAsync or ethereum.request, so hopefully just updating to latest will fix this issue.

@andrewdamelio please take a look at this


compose: Hide spinner and re-enable submit button after send.

This was previously working for the happy case of messages that send, but both re-enabling the submit button and hiding the loading spinner were not happening in a place that would consistently reset the state for any kind of send attempt. These changes fixes that. More details on the bug that inspired this change, and what was happening on CZO: https://chat.zulip.org/#narrow/stream/9-issues/topic/compose.20error.20handling.20bug/near/1525852

Thanks for the investigation into this @evykassirer! I pushed a couple replacement commits addressing the above feedback, that I think are logically a more correct fix for the two bugs you found -- can you review (and repeat your manual testing! I've done none)?

Merged, thanks @evykassirer!


fix: fix groq integration issue

fix #867
Previously running groq model will trigger the exception
AttributeError: 'ChatCompletion' object has no attribute 'get'
AttributeError: 'Usage' object has no attribute 'get'

This pull request uses ChatCompletion attribute instead of get

ah seems like PR #883  was already merged to fix this. Thanks @HerringtonDarkholme !


Add created branch (from dvc exp branch) to the experiments table

If a user creates a new branch using the extension, we add the newly created branch (if it exists) to the table

Demo
https://github.com/iterative/vscode-dvc/assets/43496356/d9b2d9af-a707-4b5f-9fdc-259d904a5475
Fixes https://iterativeai.slack.com/archives/C01APS0FHDM/p1697466359466489?thread_ts=1697456789.149749&cid=C01APS0FHDM

I feel like there is a good amount of time passing between when we create the branch, when we show the toast and when we add the branch.

@sroy3 , with the latest change (only needing to run an update once), the table runs a lot faster. Plus, my computer tends to run on the slower side. If you have a chance, could you test this feature out with the newest changes? If it feels slow, I can work on adding a Toast message that says something like Adding branch to table... at the very least.

I feel like there is a good amount of time passing between when we create the branch, when we show the toast and when we add the branch.

@sroy3 , with the latest change (only needing to run an update once), the table runs a lot faster. Plus, my computer tends to run on the slower side. If you have a chance, could you test this feature out with the newest changes? If it feels slow, I can work on adding a Toast message that says something like Adding branch to table... at the very least.

It does work almost instantly. Great work!


fix(rules): typo in "Create Symlink Over Sensitive Files" rule output

Signed-off-by: Angelo Puglisi<EMAIL_ADDRESS>
What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

If contributing rules or changes to rules, please make sure to also uncomment one of the following line:

/kind rule-update

/kind rule-create

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build

/area engine

/area rules

/area tests

/area proposals

What this PR does / why we need it:
Typo fix in rule output
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

@deepskyblue86: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: deepskyblue86
To complete the pull request process, please assign mstemm after the PR has been reviewed.
You can assign the PR to them by writing /assign @mstemm in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

rules/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: deepskyblue86, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

rules/OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 186d3eadf2cc586a5af1f4bfb53e8f5383b1c4a0

/milestone 0.31.0


update(k8saudit): bump to v0.11

Since https://github.com/falcosecurity/plugins/pull/528 is introducing a backward incompatible change within the ruleset

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area plugins

/area registry

/area build

/area documentation

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
I will release the plugins afterward.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jasondellaluce, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jasondellaluce,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Patch Release V7.0.3

Added

Adds newer CSLC-STATIC and RTC-STATIC concept-ids to collections_by_processing_level and Sentinel-1 platform concept id lists.

Fixed

Fixed typo for constant variable name constants.PRODUCT_TYPE.CSLC_STATIC

Changed

Completely remove calval CSLC-STATIC and calval RTC-STATIC collections from concept-id lists

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (04f82e0) 89.79% compared to head (b903ce6) 89.84%.

Additional details and impacted files
@@            Coverage Diff             @@
##           stable     #270      +/-   ##
==========================================
+ Coverage   89.79%   89.84%   +0.04%
==========================================
  Files          69       69
  Lines        2382     2382
==========================================
+ Hits         2139     2140       +1
+ Misses        243      242       -1

Flag
Coverage Δ

unittests
89.84% <100.00%> (+0.04%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Improve upgrade script to handle list comprehensions as arguments.

python's ast module does not return the correct location, so we
have to do our best to scan backwards to find where the [ token
that trully started the list comprehension occurs.

I've added tests now.


DRILL-7202: Failed query shows warning that fragments made no progress

This bug arises because of the toggleWarning() javascript function that shows the warning if the number of slow major fragments matches the number of major fragments.
For failed queries, the number of major fragments = 0; and that matches the number of tags (which is also zero for a non-running query). Hence the warning shows.

+1


Don't opt in to public build scans for all people that clone this repo to build scans without accepting the ToS.

Seems like this will start sending data to scans.gradle.com for anyone that clones and builds the project without them accepting the terms of service?
https://github.com/jjohannes/gradle-project-setup-howto/blob/8f7ec35e2a44724824b9f2ffd29e4da984591983/gradle/settings/src/main/kotlin/org.example.settings.settings.gradle.kts#L35-L41
My suggestion would be to just remove that block completely and let people gets scans with --scan if they want them.
(or they can add in a config like above if they want that)

I think you could argue that you opt-in by cloning this repo and running it locally. But I can see how this is unexpected for some. I changed it so that it only runs on CI. The project is 'tested' on GH Actions and I want scans for that.
Some general comments:

There is value in always publishing scans (if there are no concerns) because then you can directly inspect many things 'spontaneously' after a build finished. I got quite used to it and often miss them if they are not there.
Even if you use --scan, there is value in always applying the enterprise plugin explicitly (as still done in the sample now). Because otherwise --scan will implicitly add the plugin, which changes the classpath of the build, which changes the build itself, leading to many tasks being no longer UP-TO-DATE for example (which is a not-so-nice design on the Gradls side I think).


fix(proto): minor proto semicolon fix

Description
Fix for some minor proto syntax which results in osmosis/telescope failure to genenerate. Won't break anything.
https://github.com/osmosis-labs/telescope
Todos

[ ] Unit tests
[ ] Manual tests
[ ] Documentation
[ ] Connect epics/issues
[ ] Tag type of change
[ ] Upgrade handler

Steps to Test
Expected Behaviour
Other Notes

@nghuyenthevinh2000 good catch! Thx for the contribution.

@nghuyenthevinh2000 Hey, do you mind running make proto-format proto-gen and pushing the changes to pass the CI actions (and fixing the remaining comment)? I don't have permission to edit this PR to make that change.

@nghuyenthevinh2000 Hey, do you mind running make proto-format proto-gen and pushing the changes to pass the CI actions (and fixing the remaining comment)? I don't have permission to edit this PR to make that change (I can also do that if you tick the allow edit by maintainers option).

I am trying to find the "allow edit by maintainers" option but can't seem to find it.


Training on large datasets with a lot of identities

Hi, have you experienced large datasets with your framework (Keras_insightface)? For example, can I use your repository in order to train glint360 or webface12M?

It's not working well. I've tried glint360k, it can be trained, just took longer, much longer. Also tried implementing the partial_fc strategy, but the training results are not satisfying. Will try it again once got spare time.

Ok, thank you! You suggest use their official implementation ( https://github.com/deepinsight/insightface/tree/master/recognition/arcface_torch ) to train on large datasets (glint360 or webface12M)? Did you try to use their pytorch implementation (recognition/arcface_torch) ?

Yes, this repo still haven't replicated partial_fc implementation. For some testing, current  partial_fc in this repo also works for a single GPU, but my training result is not good. I haven't tried their pytorch implementation, just read some results compare. Currently, training without partial_fc using Glint360k dataset takes almost 5 times as MS1MV3, while total images is only 3 times. So, ya, this is something need to be supported...

partial_fc implementation is still hard for me, as it needs detail control of how to shard / aggregation over multiple replicas. Tensorflow introduced DTensor in TF 2.9.0, and I think it's a key feature implementing this, also a key for training other large models / datasets. It's rather new for me, and need some learning and testing on it, will try if it's possible for partial_fc.

Thank you, but insightface implemented 'partial_fc' in pytorch, is it because pytorch more comfortable use technic introduced in paper 'partial_fc'?

Though it's hard for me, still believe TF sharing the same potential implementing it, and may also be as comfortable. Like for someone more familiar with distribution strategy, writing custom gathering / training steps. As far as I can see, it's the output NormDense layer, that may need a concatenate strategy on gathering weights, and currently it's SUM / MEAN available.

I'm not sure if you still looking forward for this, just finished some basic training on Glint360k with efficientnetv2s. Here's some results:

Environment: TF 2.6.3 + GPU RTX8000 with 45G memory.

Batch size 256. Without partialFC it's 680ms/step, 12.6hrs/epoch. With partialFC it's 595ms/step, 8.7hrs/epoch (less batches). Result with EfficientNetV2S + Glint360K + MagFace + 25 epochs:

Method
lfw
cfp_fp
agedb_30
IJBB
IJBC

No PartialFC
0.998500
0.992286
0.983667
0.958909
0.971212

PartialFC 4
0.998167
0.993000
0.983833
0.956378
0.969218

Method
1e-06
1e-05
0.0001
0.001
0.01
0.1
AUC

IJBB, No PartialFC
0.439435
0.923856
0.958909
0.969231
0.978286
0.985589
0.992529

IJBC, No PartialFC
0.89528
0.956691
0.971212
0.978933
0.985172
0.99008
0.994988

IJBB, PartialFC 4
0.404284
0.92483
0.956378
0.970204
0.97887
0.987634
0.993442

IJBC, PartialFC 4
0.889042
0.955003
0.969218
0.979649
0.985274
0.990745
0.994939

Batch size 480. Using PartialFC 4, total identities is 90058 apiece, similar with MS1MV3. This actually makes it possible for training with a larger batch_size, for RTX8000 it's 480. For MS1MV3 with batch_size=512, training speed is 867ms/step, 8781s/epoch. While for Glint360K using PartialFC 4 with 3 times total images, training speed is 842ms/step, 23675s/epoch, also almost as 3 times.

If you wanna a try, just give partial_fc_split=4 for train.Train:
tt = train.Train(..., partial_fc_split=4)

Actually it's a different implementation from official one. For partial_fc_split=4, it will split all identities in 4 pieces, and generate training data in sequential order from each split like batch_size * split_1, batch_size * split_2, batch_size * split_3, batch_size * split_4, batch_size * split_1, .... Model will also switch header accordingly. This makes it also workable on a single GPU, and for multi GPU, data will still distributed on batch dimension.

O thank you, good job, I'm impressed. Could you realse this pretrained moldes?

I put it here TT_effv2_s_glint360k_mag_bs_256_test_random_0_E25_basic_model_latest.h5. Still trying some training, but met some loss=Nan error...


Is whalesong whatsapp can detect when someone new want to send message to you?

Is whalesong whatsapp can detect when someone new want to send message to you, whalesong able to send message to that person right away?
Is there any indication for this? Thanks. @alfred82santa

I don't understand, sorry. Do you mean when someone is typing message?

Like when you added someone who is your new friend, you want to send a whatsapp message to him.
You will search his name on whatsapp and click on it in order to message him.
So I wondering, when you click the chat box of him, I want whalesong auto send him a message such as 'Welcome to ABC group. Our society is doing bla bla bla.' before any of our conversation starts. Can we do that?

Well, it is not a whalesong issue. It is how whatsapp works. User chats (not groups) are created on receiver with first message, not before.

Yeah it is not whalesong issue. So we not able to do that as this is how whatsapp works?

exactly


Errors: certification/runtime package

As part of cleaning up how errors are wrapped and handled, this package needs attention.

Related to #653


refactor(handles): check if inside a shadow root

Hey @TheUnderScorer
sorry for the back and forth here :D I reverted your changes because I think I found a solution that solves the problem without having the user to pass the document. For this I created a helper that returns the current host:
export const getHostForElement = (element: HTMLElement): Document | ShadowRoot =>
  (element.getRootNode?.() as Document | ShadowRoot) || window?.document;

Can you check if this branch works for your use case?

It does, nice, completely forgot that something like "getRootNode" exists :D! Thanks @moklick :)

Ok, great! Released in v9.4.1


Facebook Login Popup auto opens for any path containing qurey param "code"

from https://github.com/keppelen/react-facebook-login/issues/327
--- original content ---
Hi, first of all thanks for this amazing library. I have encountered an issue while integrating this library with other login methods also present. Everything works fine until I get redirected from apples authentication with a query parameter code and the facebook popup would automatically open up.
I am not sure what the behavior should be, but in this case it's not creating an issue for me where I just want the app to continue with apple's login.
I think the condition can be corrected here in this function maybe but I am not sure.
// src/facebook.js
isRedirectedFromFb() {
      const params = window.location.search;
      return (      decodeParamForKey(params, 'state') === 'facebookdirect' && (decodeParamForKey(params, 'code') ||
      decodeParamForKey(params, 'granted_scopes'))    );
}
```

Any update on this?
We've had to remove the package and Facebook login support until this gets fixed...


second graphql server with limited queries

Another graphql server for limited set of queries.
Intended to include queries/mutations that do not access private keys (perhaps restrict all mutations?)
TODO: blocked on getting the commands that need to be included
Closes #7753

!approved-for-mainnet


Added line counter to the status bar

It would be a nice to see the amount of lines as well as a size of the current file. It's particularly convenient when you have a large file.

This can be a nice feature. But we need to make this optional through the settings.

@mkxml thanks for your suggestion! Added a corresponding option to the configuration.

@dmbaranov Thank you for your contribution! I will review this shortly.


API not working even after upgrading to gpt 4

I am getting the following message: The model gpt-4 does not exist or you do not have access to it. eventhoguh i upgraded to gpt 4. Please help me out

You are likely in a region that does not allow you GPT-4 api access. Use gpt 3.5 turbo 16k for this.


[QUERY] Does Azure Java SDK support FIPS by default

Query/Question
The default SSL/TLS library for Azure Java SDK http clients is the Tomcat-native Boring SSL library (dependency in code, official documentation documentation)
The Tomcat-native Boring SSL library is not FIPS validated (source)
I have found conflicting information stating (source query) :

We acquire our crypto instances via Java's cryptographic framework, which can be set by the application developer to provide whatever implementation is desired. You as the end-developer get to choose what providers are available to the JVM in the first place, and thus can ensure only fips-compliant providers are given.

^ This seems to point to the Azure Java SDK using by default the JVM crypto.
I'm seeking confirmation on whether the HttpClient is automatically FIPS compliant as long as the underlying JVM only exposes FIPS compliant providers.
Thanks!

Hi @alzimmermsft 👋🏼 I'd appreciate it if you could have a look at this. Thanks!

Thanks for asking this question @nnajwaa. I'll need to investigate this further.
Few quick things though:

Netty may have an ability to enable FIPS compliance in Tomcat-native Boring SSL (https://github.com/netty/netty-tcnative/issues/799). Though I haven't really looked into what this does or means.
Another option is to exclude Tomcat-native Boring SSL from your application and provide another SSL provider which is FIPS compliant (similar to what the conflicting information you've included).


List all active orders for all Symbols

Is there a way to get all active orders for any symbol? Doesn't seem obvious from the KuCoin API docs but the website itself has a page (Assets->Active Orders) which shows all orders. Am I missing something or is this not possible from the API?

Hi @fahadysf, the documentation
https://kucoinapidocs.docs.apiary.io/#reference/0/trading/list-active-orders
Shows a required symbol parameter, so it doesn't appear that you can get all active orders without looping through all symbol pairs.
Best option is to contact Kucoin directly and ask them to add the feature.

This is an old question, but it is possible, just leave the symbol blank, like this:
https://api.kucoin.com/v1/order/active-map?symbol=


Support Assistant API

https://platform.openai.com/docs/assistants/overview
OpenAI put Assistant API into Beta

Thank you @iAnanich! This is kind of outside our scope!

But just to be sure, do you envision it in DSPy in a specific way?

As starting point: just as alternative to using GPT turbo. That will allow for using more advanced LM, with its own augmented knowledge base, access to internet and ability to execute code, which can be used instead of hops using RM.
That is the main point.
Additionally, it would be nice to support system prompt for both assistant and regular GPT - instead of tuning user prompt and sending it as such, examples and formatting could be specified in system prompt (was discussed in some other issue already).

Interesting. These are worth exploring but we don't have the capacity to test them. Let me know if you can, otherwise we can close this and reopen down the line? In 3-4 months it's quite possible OpenAI will completely change their API again anyway!

True...
Yet i think its a powerful feature to get GPT with  files you can upload.
Cannot promise i would implement it, but there 's a possibility


(draft issue) Do we need to change wording on "typical role" screen or use "user_started_case" instead of plaintiff/defendant role?

See #309
we may want to revisit wording (and whether it's better to directly set "user_started_case" in the weaver) in the future.

This feels like something in transition that we didn't quite complete--deprioritizing "user_role" in favor of user_started_case.

Clarifying the use of these variables feels very timely.


How to send a transaction message

Expected behavior
How to send a transaction message  as 2PC?
System configuration
**Pulsar version-1.14

We do not support transactions, as they would need to be distributed transactions...
The semantic is at-least-once delivery, so the consumer needs to be prepared to handle duplicates


tetragon: sensor cleanup fixes

do better job on cleaning up after sensors is unloaded or fails to load

yea, we need to fix that.. let's address that in separate PR, thanks


Connect the Trustee dashboard frontend to the smart contract

This ticket is blocked by NEAR-DevHub/neardevhub-treasury-dashboard#12 and NEAR-DevHub/neardevhub-bos#622
Problem
Currently the trustee need to manually check proposals and manually issue the payment
User Story
As a trustee, they can login with the trustee account and see proposals to approve (to pay), payment history, and statistics of treasury
Acceptance Criteria

[ ] The trustee dashboard is showing actual need approval, transaction history and treasury data instead of stub
[ ] Click pay on the "Need Approval" panel, it will approve and call smart contract to issue the payment

It's completed


[Bug] v1.5.3 breaking existing apps

Description
AppSmith auto-updated to v1.5.3 and our AppSmith app broke.
See before the update:

and after the auto update:

In these screenshots, the UI which disappeared was contained in a Container Widget
Steps to reproduce the behaviour:
When trying to go edit the UI, the appSmith app freezes, and we need to restart the container, so we are pretty much stuck there.
Important Details

Version: [Self-Hosted via docker install v1.5.3]
OS: Linux Ubuntu 20.04
Browser: Latest version of Chrome on Mac 90.0.4430.212
Environment: production

@alexBotteri Yikes! We'll identify a fix and push that. Could you email me on<EMAIL_ADDRESS>I'll start a thread with an engineer.

thanks @areyabhishek, email sent

v.<IP_ADDRESS> fixes the issue in view mode, but a crash of AppSmith happens when opening the Manage User tab in edit mode

Hey @alexBotteri, based on our email conversation, I understand that this issue is fully resolved. So I'm closing this, but if you face the problem again, please reopen or post a comment here. Thanks!


Turning the character after placement in the scene causes eratic movements.

Steps to reproduce:
Create a new blank scene, add a floor/collision.
Download this controller.
After dragging the character into the scene, grab the character and rotate it on the Y axis like you're attempting to face him/her in a different starting position.
If you press the forward key the character moves sideways.
I would love to hear why.

This was fixed in 11b41ea13dd17c3dba46740c478121c3add5122f, but hasn't made it to a full release yet. It is caused by the movement being based on the rotation of the Head node, and not accounting for the rotation of the whole CharacterBody. For now, you can either use the initial_facing_direction member variable or download the latest code from GitHub.

Excellent!  Thank you. I'll add in the new code.  I really like the controller otherwise.


Do not ignore the result of StreamMessage.tryWrite() in GraphqlWSSubProtocol

Currently. we ignore the result of StreamMessage.tryWrite() in several places in GraphqlWSSubProtocol:
https://github.com/line/armeria/blob/d9703edd24e5ac36d2214d538c039614bddeb8c3/graphql/src/main/java/com/linecorp/armeria/server/graphql/GraphqlWSSubProtocol.java#L355
We shouldn't ignore it. If it returns false, we should cancel the publisher and cleanup the resource.

@minwoox , can i work on it?

Hi, @pushrsp! Yeah, you can have this. Thanks!

Hi, @pushrsp! Yeah, you can have this. Thanks!

@minwoox, I'm gonna try to fix it like this below:

Does it look good to you?

We also have to cancel the publisher that emits the data.
I highly recommend you read some articles about Reactive Streams. e.g. https://engineering.linecorp.com/en/blog/reactive-streams-armeria-1

As far as I know, If tryWrite is failed, it means that WebSocketWriter is already closed.
So, What kind of exception should be thrown?
Or just use write instead of tryWrite because in try, it throws ClosedStreamException if WebSocketWriter is closed, so let exception handler in ExecutionResultSubscriber.onNext() pick ClosedStreamException up and cleanup the resource.

If tryWrite is failed, it means that WebSocketWriter is already closed.

That is correct. 👍
Even though the writer is closed, the publisher still might be emitting the data.
https://github.com/line/armeria/blob/d9703edd24e5ac36d2214d538c039614bddeb8c3/graphql/src/main/java/com/linecorp/armeria/server/graphql/GraphqlWSSubProtocol.java#L274
So if tryWrite returns false, we should cancel the publisher not to emit the data anymore.
https://github.com/line/armeria/blob/d9703edd24e5ac36d2214d538c039614bddeb8c3/graphql/src/main/java/com/linecorp/armeria/server/graphql/GraphqlWSSubProtocol.java#L244


feat(technical user management): enhanced UI of creation page

Description
Enhanced UI of technical user management creation page
Why
For better look and for better user experience to distinguish between internal & external technical user sections.
Issue
https://github.com/eclipse-tractusx/portal-frontend/issues/1077
Checklist
Please delete options that are not relevant.

[x] I have followed the contributing guidelines
[x] I have performed a self-review of my own code
[x] I have successfully tested my changes locally

follow up to https://github.com/eclipse-tractusx/portal-frontend/pull/1322#issuecomment-2472858694


PR for DAKOTA-ABLATE integration doc

2 commits.
First:

Fixed some typos (ABALATE, ABALTE, etc.)
Modified driver.py (to resolve MPI issue)
Changed "reaction rate constants" to "activation energies" in line 54 (We do not directly perturb the reaction rate constants. By the Arrhenius equation, each reaction rate constant is related to multiple parameters including activation energy. In a more robust framework, we would perturb each of these parameters and analyze their effect on ignition delay. However, in the example, only the activation energies are perturbed).

Is it also worth including the lines below (which are mostly CCR specific)?
module purge;
module load dakota/6.15
export DAK_INSTALL=/util/academic/dakota/dakota-6.15.0-release-public-rhel7.x86_64-gui_cli
export PATH=$DAK_INSTALL/bin:$DAK_INSTALL/share/dakota/test:$PATH
export PYTHONPATH=$DAK_INSTALL/share/dakota/Python:$PYTHONPATH
Second:

Updated estimated sensitivity indices for the two parameters to reflect most recent computation (these values may always vary slightly due to sampling methods)
Added self-explanatory comments back to driver.py (accidental removal in previous commit)

@ajbecerr This looks like the PR is ready to be merged.  When you are ready can you squash and merge?  Thanks!

@mmcgurn, excellent. I am ready to squash and merge, but I do not currently have write access to the repo.

@ajbecerr I've invited you to the center.  Once you accept you should be able to merge.  Thanks!


[PE-D][Tester A] Meaning of curly braces around parameters is not fully clear

The note does not specify whether less than one of the parameters within curly braces can be specified (although it is clear that more than one cannot be specified).
Suggested fix: Edit the message as below:

Items together in curly square brackets means exactly one of them must be given as input.
e.g. {n/NAME t/TAG} can be used as n/John Doe or as t/friends but not    or n/John Doe t/friends.

Labels: severity.VeryLow type.DocumentationBug
original: Dinoman44/ped#14

It is stated as one and only one


[Bug]: Example value in XML comment doesn't work when using source generation for JSON serialization

Describe the bug
Hello, I can't get example value in XML comment to work in Swagger with this library. My project is an Web API based on Asp.net Core, Native AOT, .net 8 and Minimal API. JSON serializaion is source generation based.
Example:
public record What(string Content);

public static class TestEndPoint
{
    /// <summary>
    /// This is swash
    /// </summary>
    /// <param name="name" example="my name">The name</param>
    /// <returns></returns>
    public static Ok<What> Swash(string name)
    {
        return TypedResults.Ok(new What("what"));
    }
}

If I delete example="my name", swagger works, that is, XML comment is used, for example, summary "This is swash" is shown in Swagger page. With example="my name", opening the Swagger page throws an exception.
Expected behavior
Show an example value in corresponding Swagger endpoint parameter.
Actual behavior
Throws an exception when I open swagger url.
Steps to reproduce
reproduce repo: https://github.com/hackerzhuli/TestSwash
Exception(s) (if any)
fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]
      An unhandled exception has occurred while executing the request.
      Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException: Failed to generate Operation for action - HTTP: GET /test/swash => Swash. See inner exception
       ---> System.InvalidOperationException: Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
         at System.Text.Json.ThrowHelper.ThrowInvalidOperationException_JsonSerializerIsReflectionDisabled()
         at System.Text.Json.JsonSerializerOptions.ConfigureForJsonSerializer()
         at System.Text.Json.JsonSerializer.GetTypeInfo(JsonSerializerOptions options, Type inputType)
         at System.Text.Json.JsonSerializer.GetTypeInfo[T](JsonSerializerOptions options)
         at System.Text.Json.JsonSerializer.Serialize[TValue](TValue value, JsonSerializerOptions options)
         at Swashbuckle.AspNetCore.SwaggerGen.XmlCommentsExampleHelper.Create(SchemaRepository schemaRepository, OpenApiSchema schema, String exampleString)
         at Swashbuckle.AspNetCore.SwaggerGen.XmlCommentsParameterFilter.ApplyParamTags(OpenApiParameter parameter, ParameterFilterContext context)
         at Swashbuckle.AspNetCore.SwaggerGen.XmlCommentsParameterFilter.Apply(OpenApiParameter parameter, ParameterFilterContext context)
         at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateParameter(ApiParameterDescription apiParameter, SchemaRepository schemaRepository)
         at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.<>c__DisplayClass16_0.<GenerateParameters>b__1(ApiParameterDescription apiParam)
         at System.Linq.Enumerable.WhereSelectListIterator`2.ToList()
         at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateParameters(ApiDescription apiDescription, SchemaRepository schemaRespository)
         at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperation(ApiDescription apiDescription, SchemaRepository schemaRepository)

Swashbuckle.AspNetCore version
6.6.2
.NET Version
8.0.107
Anything else?
No response

Looks like this was caused by #2727 which introduced the below line of code, which is not compatible with native AoT:
https://github.com/domaindrivendev/Swashbuckle.AspNetCore/blob/f85abd45217dd6c0a80778817b4e3744de131b69/src/Swashbuckle.AspNetCore.SwaggerGen/XmlComments/XmlCommentsExampleHelper.cs#L19
Swashbuckle.AspNetCore.SwaggerGen doesn't currently support native AoT and is not marked as trim compatible (unlike Swashbuckle.AspNetCore.SwaggerUI) (and I'm not sure it ever will due to the amount of work it would likely entail).
Fixing this specific line of code would need us to add a custom JsonSerializationContext with support for the string type, but there's no guarantee you won't hit some other limitation in the same area.
At the moment, any success with Swashbuckle in native AoT is an accident, rather than by design.

These are all the errors (26) I get locally if I mark the library as needing to be AoT compatible:
2>C:\Coding\domaindrivendev\Swashbuckle.AspNetCore\src\Swashbuckle.AspNetCore.SwaggerGen\DependencyInjection\SwaggerGenServiceCollectionExtensions.cs(86,24,86,53): error IL3050: Using member 'System.Text.Json.JsonSerializerOptions.Default.get' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
2>C:\Coding\domaindrivendev\Swashbuckle.AspNetCore\src\Swashbuckle.AspNetCore.SwaggerGen\SchemaGenerator\JsonSerializerDataContractResolver.cs(42,34,42,63): error IL3050: Using member 'System.Type.GetEnumValues()' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. It might not be possible to create an array of the enum type at runtime. Use Enum.GetValues<T> or the GetEnumValuesAsUnderlyingType method instead.
2>C:\Coding\domaindrivendev\Swashbuckle.AspNetCore\src\Swashbuckle.AspNetCore.SwaggerGen\SchemaGenerator\JsonSerializerDataContractResolver.cs(73,44,73,67): error IL3050: Using member 'System.Type.GetEnumValues()' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. It might not be possible to create an array of the enum type at runtime. Use Enum.GetValues<T> or the GetEnumValuesAsUnderlyingType method instead.
2>C:\Coding\domaindrivendev\Swashbuckle.AspNetCore\src\Swashbuckle.AspNetCore.SwaggerGen\DependencyInjection\SwaggerGenServiceCollectionExtensions.cs(86,24,86,53): error IL2026: Using member 'System.Text.Json.JsonSerializerOptions.Default.get' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
2>C:\Coding\domaindrivendev\Swashbuckle.AspNetCore\src\Swashbuckle.AspNetCore.SwaggerGen\SchemaGenerator\JsonSerializerDataContractResolver.cs(106,20,106,77): error IL3050: Using member 'System.Text.Json.JsonSerializer.Serialize(Object, Type, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
2>C:\Coding\domaindrivendev\Swashbuckle.AspNetCore\src\Swashbuckle.AspNetCore.SwaggerGen\SchemaGenerator\JsonSerializerDataContractResolver.cs(106,20,106,77): error IL2026: Using member 'System.Text.Json.JsonSerializer.Serialize(Object, Type, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
2>C:\Coding\domaindrivendev\Swashbuckle.AspNetCore\src\Swashbuckle.AspNetCore.SwaggerGen\SchemaGenerator\MemberInfoExtensions.cs(25,60,25,100): error IL2075: 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors', 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.PublicFields', 'DynamicallyAccessedMemberTypes.PublicNestedTypes', 'DynamicallyAccessedMemberTypes.PublicProperties', 'DynamicallyAccessedMemberTypes.PublicEvents' in call to 'System.Type.GetMember(String)'. The return value of method 'Microsoft.AspNetCore.Mvc.ModelMetadataTypeAttribute.MetadataType.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
2>C:\Coding\domaindrivendev\Swashbuckle.AspNetCore\src\Swashbuckle.AspNetCore.SwaggerGen\DependencyInjection\ConfigureSchemaGeneratorOptions.cs(50,20,50,122): error IL2072: 'instanceType' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProvider, Type, params Object[])'. The return value of method 'Swashbuckle.AspNetCore.SwaggerGen.FilterDescriptor.Type.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
2>C:\Coding\domaindrivendev\Swashbuckle.AspNetCore\src\Swashbuckle.AspNetCore.SwaggerGen\DependencyInjection\ConfigureSwaggerGeneratorOptions.cs(84,20,84,122): error IL2072: 'instanceType' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProvider, Type, params Object[])'. The return value of method 'Swashbuckle.AspNetCore.SwaggerGen.FilterDescriptor.Type.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
2>C:\Coding\domaindrivendev\Swashbuckle.AspNetCore\src\Swashbuckle.AspNetCore.SwaggerGen\SchemaGenerator\SchemaGeneratorOptions.cs(57,20,57,48): error IL2026: Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
2>C:\Coding\domaindrivendev\Swashbuckle.AspNetCore\src\Swashbuckle.AspNetCore.SwaggerGen\SchemaGenerator\TypeExtensions.cs(42,19,42,49): error IL2067: 'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The parameter 'type' of method 'Swashbuckle.AspNetCore.SwaggerGen.TypeExtensions.GetDefaultValue(Type)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
2>C:\Coding\domaindrivendev\Swashbuckle.AspNetCore\src\Swashbuckle.AspNetCore.SwaggerGen\SchemaGenerator\TypeExtensions.cs(28,24,28,44): error IL2070: 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'System.Type.GetInterfaces()'. The parameter 'type' of method 'Swashbuckle.AspNetCore.SwaggerGen.TypeExtensions.IsConstructedFrom(Type, Type, out Type)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
2>C:\Coding\domaindrivendev\Swashbuckle.AspNetCore\src\Swashbuckle.AspNetCore.SwaggerGen\SchemaGenerator\TypeExtensions.cs(48,44,48,64): error IL2070: 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'System.Type.GetInterfaces()'. The parameter 'type' of method 'Swashbuckle.AspNetCore.SwaggerGen.TypeExtensions.GetInheritanceChain(Type)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
2>C:\Coding\domaindrivendev\Swashbuckle.AspNetCore\src\Swashbuckle.AspNetCore.SwaggerGen\SwaggerGenerator\ApiParameterDescriptionExtensions.cs(76,19,76,86): error IL2075: 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperty(String)'. The return value of method 'Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata.ContainerType.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
2>C:\Coding\domaindrivendev\Swashbuckle.AspNetCore\src\Swashbuckle.AspNetCore.SwaggerGen\SchemaGenerator\SchemaGenerator.cs(292,38,292,69): error IL3050: Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
2>C:\Coding\domaindrivendev\Swashbuckle.AspNetCore\src\Swashbuckle.AspNetCore.SwaggerGen\SchemaGenerator\SchemaGenerator.cs(303,31,303,74): error IL3050: Using member 'System.Type.GetEnumValues()' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. It might not be possible to create an array of the enum type at runtime. Use Enum.GetValues<T> or the GetEnumValuesAsUnderlyingType method instead.
2>C:\Coding\domaindrivendev\Swashbuckle.AspNetCore\src\Swashbuckle.AspNetCore.SwaggerGen\SchemaGenerator\SchemaGenerator.cs(292,38,292,69): error IL2026: Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
2>C:\Coding\domaindrivendev\Swashbuckle.AspNetCore\src\Swashbuckle.AspNetCore.SwaggerGen\XmlComments\XmlCommentsExampleHelper.cs(19,23,19,62): error IL3050: Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
2>C:\Coding\domaindrivendev\Swashbuckle.AspNetCore\src\Swashbuckle.AspNetCore.SwaggerGen\XmlComments\XmlCommentsExampleHelper.cs(19,23,19,62): error IL2026: Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
2>C:\Coding\domaindrivendev\Swashbuckle.AspNetCore\src\Swashbuckle.AspNetCore.SwaggerGen\XmlComments\MethodInfoExtensions.cs(14,36,14,70): error IL2075: 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethods()'. The return value of method 'System.Type.GetGenericTypeDefinition()' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
2>C:\Coding\domaindrivendev\Swashbuckle.AspNetCore\src\Swashbuckle.AspNetCore.SwaggerGen\SwaggerGenerator\OpenApiAnyFactory.cs(12,35,12,80): error IL3050: Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(String, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
2>C:\Coding\domaindrivendev\Swashbuckle.AspNetCore\src\Swashbuckle.AspNetCore.SwaggerGen\SwaggerGenerator\OpenApiAnyFactory.cs(12,35,12,80): error IL2026: Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(String, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
2>C:\Coding\domaindrivendev\Swashbuckle.AspNetCore\src\Swashbuckle.AspNetCore.SwaggerGen\SchemaGenerator\JsonSerializerDataContractResolver.cs(162,47,162,73): error IL2070: 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'System.Type.GetInterfaces()'. The parameter 'objectType' of method 'Swashbuckle.AspNetCore.SwaggerGen.JsonSerializerDataContractResolver.GetDataPropertiesFor(Type, out Type)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
2>C:\Coding\domaindrivendev\Swashbuckle.AspNetCore\src\Swashbuckle.AspNetCore.SwaggerGen\SchemaGenerator\JsonSerializerDataContractResolver.cs(163,19,163,62): error IL2070: 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties', 'DynamicallyAccessedMemberTypes.NonPublicProperties' in call to 'System.Type.GetProperties(BindingFlags)'. The parameter 'objectType' of method 'Swashbuckle.AspNetCore.SwaggerGen.JsonSerializerDataContractResolver.GetDataPropertiesFor(Type, out Type)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
2>C:\Coding\domaindrivendev\Swashbuckle.AspNetCore\src\Swashbuckle.AspNetCore.SwaggerGen\SchemaGenerator\JsonSerializerDataContractResolver.cs(214,77,214,95): error IL2075: 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'System.Type.GetConstructors()'. The return value of method 'System.Reflection.MemberInfo.DeclaringType.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
2>C:\Coding\domaindrivendev\Swashbuckle.AspNetCore\src\Swashbuckle.AspNetCore.SwaggerGen\SchemaGenerator\JsonSerializerDataContractResolver.cs(162,91,162,125): error IL2070: 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties', 'DynamicallyAccessedMemberTypes.NonPublicProperties' in call to 'System.Type.GetProperties(BindingFlags)'. The parameter 'i' of method 'lambda expression' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.

Some of them can be trivially fixed (will try a PR shortly), but some of them might be too much effort to invest in fixing when the new OpenAPI support in ASP.NET Core 9 will support native AoT out of the box for people who care about such a use case: https://github.com/dotnet/aspnetcore/issues/56023

Taking a look at the warnings, only two of these look like they can be resolved - the rest would require significant refactoring as Swashbuckle is so heavily based on runtime reflection.
I would have thought you will have received multiple warnings from the trimmer when you published your application before even trying to run it.
Can you try out #2986 from source and see if it resolves your issue? If it does I'll be inclined to have it merged as it unblocks you, but if you just run into a different problem that it's probably not worth pursuing further.

Hello, thank you very much. Actually I am not in a hurry at all. Having examples in swagger is not required for my project right now at all(It'll be nice, though). I guess I'll just wait for aot support.

Closing as we don't intend to make SwaggerGen AoT compatible.


Added pow(a,b)=a^b function to find power.

This function returns a pointer of largeInt object in which big integer answer is stored.

@anu231bhav tests are missing, please add tests

how can I add tests
help me I am contributing on GitHub for the first time

you can write tests in tests/operations/pow.cpp

@anu231bhav please remove the CMake cache files from the PR

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 8

Clones added
============
- tests/bigint.hpp  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 8

Clones added
============
- tests/bigint.hpp  1

See the complete overview on Codacy