refactor(lane_change): add new structs (TransientData) to store commonly used values

Description
This PR adds TransientData to standardize commonly used values in the lane change module, such as the current lanes' buffer and the distance to the terminal start and end. The goal is to ensure consistency when calculating limits and lengths.
Related links
Parent Issue:

None

How was this PR tested?

Build complete
PSIM
Scenario Test TBD

Notes for reviewers
None.
Interface changes
None.

Effects on system behavior
None.

Due to some computational issue, I will set this PR to draft.

close as I will open another PR.


Wiki unit test example doesn't work/incomplete

I'm trying to unit test a mailer (outside of a controller) using the example on the wiki. But it comes up with the good old httpcontext is null exception.
This guy is having the same problem
http://stackoverflow.com/questions/6080658/mvcmailer-unit-tests-system-argumentnullexception-httpcontext-cannot-be-null/6526006#6526006
Are we missing something?

as far as i know, this still isn't resolved, but i posted a workaround here:
http://stackoverflow.com/questions/6080658/mvcmailer-unit-tests-system-argumentnullexception-httpcontext-cannot-be-null/6526006#comment11997372_6080658


How can we write c# Xml Documentation comments in Bond file

Hi, there
is it possible to write the c# Xml Documentation in bond file? so that GBC can generate the xml document (start with "///") in the generated cs file?
Thanks,
-Mike Guo

No, there's no way write documentation in .bond files that make it into the generated code currently.
Version <IP_ADDRESS> of gbc emits `#pragma warning disable 1591'
Some related issues #82, #121, and #170.

I'm going to close this issue now. Please feel free to re-open if there's anything more.

It will be nice to have if the documentation can be included in generated code.


gray tabline

I stripped my config with everything, and left just this
if empty(glob('~/.local/share/nvim/site/autoload/plug.vim'))
  silent !mkdir -p ~/.local/share/nvim/site/autoload
  silent !curl -fLo ~/.local/share/nvim/site/autoload/plug.vim
    \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
  autocmd VimEnter * PlugInstall
endif

" Section: Plugin settings
"
call plug#begin('~/.local/share/nvim/plugged')

Plug 'itchyny/lightline.vim'
Plug 'mengelbrecht/lightline-bufferline'

call plug#end()

set showtabline=2
let g:lightline                  = {}
let g:lightline.tabline          = {'left': [['buffers']], 'right': [['close']]}
let g:lightline.component_expand = {'buffers': 'lightline#bufferline#buffers'}
let g:lightline.component_type   = {'buffers': 'tabsel'}

All I'm left with is a gray tabline.

I tried changing terminal and shell.
When I don't have this plugin installed, I get the current buffer in the tabline like normal.
Any idea?

Mistake on my part. Solved.


gulp.watch callback returns empty event parameter in gulp 4.0

I recently updated to the 4.0 branch, however, I'm experiencing an issue in which using a function as a callback to gulp.watch results in nothing being based through to the event variable, as I particularly use event.path.
Here's my code:
gulp.watch('app/index.html', function(event) {
	console.log(event);
	console.log(event.path);
});

Here's what the console returns after the file is updated:
[Function: done]
undefined

Even if I pass through gulp.series('name_of_task_here'), it passes through the same thing to the first parameter.
Is there anything I'm doing wrong/was this method deprecated in gulp 4.0? If so, is there a better alternative?
Thanks!

https://github.com/gulpjs/gulp/blob/master/docs/API.md#tasks

The watch syntax is changing in 4.0. Since everything is based on function composition, the watch tasks receive an async done callback (and handles streams/promises/etc being returned).
If you need to access the event object, use:
var watcher = gulp.watch('app/index.html');
watcher.on('change', function(event){

});

Changing title to "Document updated watch syntax"

Should be in the changelog on the 4.0 branch

Done! - Thanks @dinoboff

watcher.on('change', function(event){

Is watcher.on('add change', function(event){ also supposed to work? It's not firing for me, while 'change' alone is.

I doubt it, the emitter is just a node EventEmitter as far as I am aware. Please review chokidar docs for event support.


Remove SUPPORTED_PARAMETERS

Amazon ignores spurious parameters but S3Proxy emits NotImplemented.  This whitelist only exists to ignore not yet implemented features like v4 signing via query parameters.  Instead S3Proxy should have a blacklist of known unsupported parameters which will allow removing unneeded configuration like #186.

This configuration option just caused user confusion in #204.


Create: 2002-maximum-product-of-the-length-of-two-palindromic-subsequences , 0179-largest-number, 0706-design-hashmap

File(s) Modified:

2002-maximum-product-of-the-length-of-two-palindromic-subsequences

2002-maximum-product-of-the-length-of-two-palindromic-subsequences.rs,
2002-maximum-product-of-the-length-of-two-palindromic-subsequences.go,
2002-maximum-product-of-the-length-of-two-palindromic-subsequences.py,
2002-maximum-product-of-the-length-of-two-palindromic-subsequences.java,
2002-maximum-product-of-the-length-of-two-palindromic-subsequences.cs,
2002-maximum-product-of-the-length-of-two-palindromic-subsequences.ts,
2002-maximum-product-of-the-length-of-two-palindromic-subsequences.js

0179-largest-number

0179-largest-number.rs
0179-largest-number.js
0179-largest-number.cs
0179-largest-number.go
0179-largest-number.swift
0179-largest-number.scala
0179-largest-number.rb

Language(s) Used: python,javascript,typescript,c,c#,java,kotlin,rust,go,scala,ruby
Submission URL:

2002:

python: https://leetcode.com/problems/maximum-product-of-the-length-of-two-palindromic-subsequences/submissions/892118822/
js: https://leetcode.com/problems/maximum-product-of-the-length-of-two-palindromic-subsequences/submissions/892129657/
c#: https://leetcode.com/problems/maximum-product-of-the-length-of-two-palindromic-subsequences/submissions/892147493/
ts: https://leetcode.com/problems/maximum-product-of-the-length-of-two-palindromic-subsequences/submissions/892153296/
java: https://leetcode.com/problems/maximum-product-of-the-length-of-two-palindromic-subsequences/submissions/892154795/
go: https://leetcode.com/problems/maximum-product-of-the-length-of-two-palindromic-subsequences/submissions/892165887/
rust: https://leetcode.com/problems/maximum-product-of-the-length-of-two-palindromic-subsequences/submissions/892180073/

0179:

js: https://leetcode.com/problems/largest-number/submissions/894104890/
c#:https://leetcode.com/problems/largest-number/submissions/894110557/
ruby:https://leetcode.com/problems/largest-number/submissions/894112607/
rust:https://leetcode.com/problems/largest-number/submissions/894114973/
go:https://leetcode.com/problems/largest-number/submissions/894111611/
swift:https://leetcode.com/problems/largest-number/submissions/894113405/
scala:https://leetcode.com/problems/largest-number/submissions/894116339/

0706:

js: https://leetcode.com/problems/design-hashmap/submissions/909138481/
java: https://leetcode.com/problems/design-hashmap/submissions/909139919/
rust: https://leetcode.com/problems/design-hashmap/submissions/909145541/

Important
Please make sure the file name is lowercase and a duplicate file does not already exist before merging.

2002-maximum-product-of-the-length of-2-palindromic-subsequences.ts is misplaced in the wrong folder, it's in Kotlin folder but should be in Typescript folder. Could you fix that please

@a93a fixed it

Thanks! And thanks for the contributions!


Fixing Debugger issue with Cypress port

Debugger issue with Cypress port
Description
Openocd is looking for gdbinit in the same folder where .cproject is loaded from.
This patch re-locates .gdbinit to the right path so that de-bugging works correctly
Checklist:

[ ] I have tested my changes. No regression in existing tests.
[ ] My code is Linted.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/bot run checks


Reapplying previous config for nginx_auth_password to verify function…

…ality.

Team Requested, Approved

:+1:


impl(otel): traced streaming writes in stubs

Part of the work for #10620
Note that there is no associated Connection level change, because all streaming writes are handwritten at that layer.

This change is

Also helps with #7170


Feature Request: Skip Empty Strings in Translation to Avoid Unnecessary Errors

I found that trying to translate empty strings leads to unnecessary processing and error handling.
error while translating "" using google2. Assigned "--" instead of exit from cli.

Proposed Solution
I propose that the translation feature be enhanced to automatically skip empty strings and apply the output as is. This approach would prevent the system from attempting to translate an empty input, thereby avoiding the generation of errors and improving efficiency.
Expected Outcome
Implementing this feature can:
•	Reducing unnecessary error messages that clutter the system logs.
•	Saving computational resources by not processing empty inputs.
•	Simplifying error handling in scripts and applications that utilize this translation feature.

Fixed on release jsontt v2.2.4
Thank you @tomasen


Added message signing

Added message signing and test function. Private keys are used in their Base58 import format, as such they are also not stored in memory very securely. However, if you are going to use libraries such as this you should already have a secure system to work on.
I indent to further this by creating a python c extension, pure python implementation of message signing/verification currently requires 600ms+ per signature. This code can take that down to ~800us. An improvement of nearly 1000x.
I indent to fork for the python extension as it would be quite a different structure to what you have here. But i'll give you credit. I haven't tested testnet signing or done any massive amounts of unit tests, so that's something that could be done.
Thanks

Daha fazla öğrenmek istiyorum


Github style extra-deps without subdirs broken

The issue seems to be that when using a github entry in the extra-deps section, stack saves that as a URL in stack.yaml.lock. It looks like this is only unpacked if the subdirs option is given, but it should alway be unpacked. Otherwise you get an error from cabal2nix, which tries to call nix-prefetch-url but it doesn't have it on its PATH.
I'm not sure if the correct thing to do is always unpack or to use the version of cabal2nix that has nix-prefetch-url on its path. Currently I'm using the former to work around this.

Currently I'm using the former to work around this.

Would you be able to send a PR for this?
It sounds like you might have already figured out it, but I imagine the following code block will need to be fixed:
https://github.com/cdepillabout/stacklock2nix/blob/a00ad2393f9d8a82c94d39b2ac4e0c15c9b89b69/nix/build-support/stacklock2nix/default.nix#L320-L346


Add ConfigurationError

See https://gitter.im/lark-parser/Lobby?at=5fb988980451324f1529bf51

about the broken test, I thought we deprecated 2.7

Please undo all changes that aren't relevant to this PR, e.g. all refactoring. It makes checking this PR a lot harder, and we already established that we want that (if at all) in another PR.

sorry!

Thanks @ThatXliner !
I just implemented it in #779 , so I'm closing this.
Let me know if there's anything missing or misplaced.


Intermittent CLI pauses

Occasionally, around 5% of the time, the CLI will stop accepting characters when pasting in a command.

Was caused by an interrupt priority issue causing a FIFO overrun. Fixed.


ENH: Add hyperbolic squared secant distribution - stats.hypsecant2

Adds a secant-squared distribution to stats.
The CDF of this distribution (hyperbolic tangent) is frequently used for modelling scattering data (see appendix A in https://doi.org/10.1107/S1600576717013632, eqns 25 and 26).
CDF = 0.5 * {1 + tanh(pi * (x - loc) / 2 / sqrt(3) / scale)}
PDF = (pi / 4 / sqrt(3) / scale) * (cosh(pi * (x - loc) / 2 / sqrt(3) / scale))**-2
I'm guessing the name should be hypsecant2.
From running the tests on my computer it fails test_cont_basic at the moment, specifically the check_cmplx_deriv part.

(catching up with some mail and just replied on mailing list)
It seems to me based on the cdf that it is the same as the logistic distribution, but without the sqrt(3)
https://en.wikipedia.org/wiki/Logistic_distribution

The sqrt(3) seems to be just a reparameterization of the scale.
In a quick check it looks like the pdf doesn't integrate to 1, which I would have thought should be caught  by some expect unit test
>>> f = lambda x:np.pi/4./np.sqrt(3)/np.cosh(np.pi*x/2./np.sqrt(3.))
>>> integrate.quad(f, -4, 4)
(1.5176489735601848, 3.1063823758271605e-09)
>>> integrate.quad(f, -40, 40)
(1.5707963267948961, 3.630603423503696e-13)
>>> integrate.quad(f, -1, 1)
(0.8032849604536132, 1.524123924203124e-13)

I don't understand the relationship between expit and tanh, I get a missing factor of around 0.955
reverse engineering the similarity between cdfs of hypsecant2 versus logistic:
>>> f = lambda x:0.5*(1 + np.tanh(x*np.pi/2./np.sqrt(3.)))
>>> x = 1; diff = lambda a: f(x/np.sqrt(3)*a) - stats.logistic.cdf(x)
>>> d = optimize.bisect(diff, 0.95, 1)
>>> d
0.9549296585508272
>>> x = np.linspace(-4, 4, 101); np.max(np.abs(f(x/np.sqrt(3)*d) - stats.logistic.cdf(x)))
1.2778667013435552e-13

there is the square missing in the denominator of the pdf
>>> f2 = lambda x:np.pi/4./np.sqrt(3)/(np.cosh(np.pi*x/2./np.sqrt(3.)))**2
>>> integrate.quad(f2, -10, 10)
(0.9999999734663463, 5.365121799986164e-09)

@josef-pkt wrote

It seems to me based on the cdf that it is the same as the logistic distribution,

Yes, this is the logistic distribution.  The only difference is a factor of sqrt(3)/pi in front of the scale parameter.

with just a reparameterization of scale I don't see a strong enough reason to add it as a separate distribution.

rushing too much, I messed up and missed the pi, and thought in inverse
checking cdf again:
>>> f = lambda x:0.5*(1 + np.tanh(x*np.pi/2./np.sqrt(3.)))
>>> x = np.linspace(-4, 4, 101); np.max(np.abs(f(x*np.sqrt(3)/np.pi) - stats.logistic.cdf(x)))
1.1102230246251565e-16

Sorry for wasting bandwidth on this one. I didn't know the logistic distribution was the same.

@andyfaff  Maybe you can add the relationship somewhere to the docs so users and google can find it.
I wouldn't have found it without the wikipedia redirect.


K8SPG-258 E2E demand-backup test

Simple version of test with s3 only backup storage for the beginning

Test name
Status

init-deploy
failed

demand-backup
passed

We run 2 out of 2

commit: https://github.com/percona/percona-postgresql-operator/pull/305/commits/ca2c44554dcc8e3dc51cdc0efef6f9c68e2edd72
image: perconalab/percona-postgresql-operator:PR-305-ca2c4455

Test name
Status

init-deploy
passed

demand-backup
passed

We run 2 out of 2

commit: https://github.com/percona/percona-postgresql-operator/pull/305/commits/a5f66a7033eae5664f7bd3c2ea24e6e9bd4e4f81
image: perconalab/percona-postgresql-operator:PR-305-a5f66a70


Add libreoffice

App Name: Libreoffice
Download URL: https://www.libreoffice.org/donate/dl/deb-x86_64/7.4.0/en-GB/LibreOffice_7.4.0_Linux_x86-64_deb.tar.gz
Website URL: https://www.libreoffice.org/download/download/?type=deb-x86_64&version=7.4.0&lang=en-GB
App Summary: LibreOffice is a free and powerful office suite, and a successor to OpenOffice.org (commonly known as OpenOffice).
Its clean interface and feature-rich tools help you unleash your creativity and enhance your productivity.

honestly not sure about deb-get and installing debs inside of tarball files.   It seems this version IS ahead of some of the Ubuntu repo's versions ... https://launchpad.net/~libreoffice/+archive/ubuntu/ppa is another option perhaps though It seems the "tarball deb" maybe newer than the PPA version and "is the PPA version really that much newer than what Ubuntu packages?" may come up as a question

"is the PPA version really that much newer than what Ubuntu packages?" may come up as a question

I am not sure if ubuntu updates libreoffice frequently just like browsers but if they don't it might get outdated over time I am also not sure about the average update cycle of libreoffice either to answer that question.

this maybe worth adding (if the devs approve) since it's hard to judge now since the 22.04 LTS is so new but it can go "out of date" over time i suppose I see focal is still (Ubuntu repo version) is still on the 6.x series when LO has been on the 7.x series for awhile

Sorry, the way this package is distributed doesn't fit with deb-get


is_singular always returns false on post pages

For some reason WP's is_singular function always returns false on post details.
I've detected this on a product page (from woocommerce), which uses a function is_product which is essentially a wrapper for the former function.
Any ideias?

Hi @lmartins - I know this is an old issue, does this still happen? Without woocommerce is_singular works as expected.


Improved cell morphologies in miniapp

Currently the miniapp uses cells with a very simple, and quite unrealistic, morphology. Some parts of the application performance can be very sensitive to cell morphology (in particular the solution of Hines matrices on the GPU).
This task will add support in the miniapp command line interface and the cell recipes for specifying the following:

cell morphology: number of branches, depth of the tree, and number of compartments per segment.
cell-cell variability: in real models each individual cell can have different morphologies. Simple control for the level of variability between cell morphologies should be provided.

This has been partially addressed by PR #162 — the PR adds a morphology_pool from which cell morphologies are drawn in the recipes, and allows loading SWC files to fill the pool.
A more complete solution would allow other parametric descriptions, e.g. directly from the L-system generator, or parameterized simple trees.
Proposed continuation of this task:

Allow pool to be initially filled via a parametric description, rather than just via SWC loading.
Avoid the necessity of pre-computing the morphologies by replacing the existing morphology_pool with an interface that can be specialized to provide the morphologies on demand, given an index and parametric description.

As the miniapp is going away (see issue #693), consider making the morphology pool code part of the Arbor library.


Cannot browse superset pages on IE 8

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

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

it reports the following errors:

syntax error
expected identifier, string or number
object not support properties or method

Superset version
0.28.1
Expected results
can browse superset pages on IE8
Actual results
failed
Steps to reproduce
open your superset site on IE 8

IE8 was released in 2009

If you know anyone who still uses IE8, it's time to have a serious conversation with them.


An error dialog pops up when opening one service by using its direct link at the first time

Storage Explorer Version: 1.25.0-dev
Build Number: 20220711.1
Branch: main
Platform/OS: Windows 10/MacOS Monterey 12.4 (Apple M1 Pro)
Architecture: ia32/x64
How Found: From running test cases
Regression From: Previous release (1.24.3)
Steps to Reproduce

Launch Storage Explorer -> Expand one storage account -> Blob Containers.
Select one blob container -> Right click the blob container -> Click 'Copy Direct Link to Blob Container'.
Open the direct link from the Browser.
Check whether no error dialog pops up.

Expected Experience
No error dialog pops up.
Actual Experience
An error dialog pops up.

Additional Context

On mac. the same error dialog pops up when launching storage explorer.
This issue only reproduces when executing the 'open direct link' action at the first time.
This issue doesn't reproduce for one ADLS Gen2 blob container.

@v-xianya I'm having a hard time reproducing this? Can you please set the storage explorer log level to debug, repro the issue, and share the logs with me? Thanks!

@MRayermannMSFT Somehow, we failed to reproduce this issue on the build #20220711.1, #20220712.2.😶

@v-xianya Ok. 🤷♀If it happens again, please share the debug logs!

@MRayermannMSFT Ok, will do.


Better support for linux kernel

Hi,
These two commits improve support for building Zydis for the linux kernel in a couple of corner cases:
The first commit introduces the ZYAN_DIV64 macro to fix a failure when linking Zydis on a 32bit linux kernel. The Zydis changes will be submitted in a separate PR.
The second PR adds support for building Zydis in NO_LIBC mode with old versions of GCC.
Thanks,

Thanks for your PR! Will have a detailed look tomorrow. cc @athre0z

Sorry for the delay. LGTM! Thanks again.


Fix image pull with private repo

Fixes #24

adds a validation error if the image field includes a tag
sends the correct registry auth for private registries (kind of). It won't send the hub auth now. I'm not sure if setting v1 as the path is exactly right, or if it needs to check both v1 and v2 paths.

cc @bfirsh this seems to fix the issue for me. I'll have to test some more with private registries that actually require auth

Tests are green so going to merge this


Organization of statusline.lua

The Issue
Given that the changes made in #39, the example statusline component provided in statusline.lua is redundant since it in many ways is rewriting those functions (though granted it has a bit more logic).
My Proposal
What I propose is either a new module examples.lua, or simply adding the example to lsp-status.lua thus allowing it to take advantage of the individual component functions now provided.
Potential Objections
The logic included in the example component is such that a component is only rendered if the number of errors/warnings/messages is greater than 0. Since the component functions return strings not numbers, this logic cannot remain exactly as it was, but the effect can be recreated by checking if the third character of the component is '0'.

I'm not sure I agree with the proposal, primarily because a large number of users rely on the example statusline component out of the box (it was actually originally just an example in the README, but users requested it be added to the code), and I don't want to break their setups. I would be OK with rewriting the example component in terms of the new functions, to reduce code duplication, though - as you mention - this is slightly complicated by the new functions returning strings rather than numbers/tables. What do you think?

I see your reasoning, though I would point out that if users are using this as intended, their config looks something like this:
local lspstatus = require('lsp-status')
...
lspstatus.status()

That should mean that assuming lsp-status.lua continues to return a function called status, we can refactor internally without concern.

Yep - that's more or less what I'm proposing. I'm just not in favor of removing the status function entirely.

Oh yeah. Sorry I should have been clearer about that - I don't want to remove the function entirely, just potentially out of statusline.lua.

(I didn't mean to close it)

this is slightly complicated by the new functions returning strings rather than numbers/tables.

I've been thinking about this... maybe the new functions should return a table with a string and a number? I don't think it's a huge deal since with just a string it's a fairly simple matter of using string.sub but returning both values might be more convenient for this. However, that may make the UX a bit worse, since users would no longer be able to simply do require('lsp-status').status_X().


Feature: Use fixed vertex coordinates (x/y, long/lat,...) in the graph WebGUIs

When working with locationbased data it'd be helpful to have a location based static layout algorithm in addition to the dynamic/automatic Sigma layouters present.
An ability to specify the x/y fields to look up would be great.
Would be perfect if it's possible to set these static corrdinates as "starting points" for later further automatic / dynamic layouting.

@hkernbach any news on this? ;-)
Would love that as it would help non "graph aware users" a lot which are following you on a big screen when you're browsing a graph.
...especially when you have to reload the same graph and the auto layouter result looks completly different than the one before... so it takes some time to explain an to find the prior vertices, too.
Been working on relationship models within organizational structures where people have a certain hierarchy/structure in mind (like: boss -> employee) herein it would be a great helper.
Killer feature for this would be to have multiple "views/layouts" for each Vertex.
E.g. something like a standard entity "view" or "layout" (similiar to "document" and "edge") which the document / vertex relates to with X/Y as required attributes like:
[Document:MyVertex] -- x:10,y:100 -- > [View:Overview]
[Document:MyVertex] -- x:-2320,y:64.34 -- > [View:Detail1]
[Document:MyVertex] -- x:-8.32,y:-992 -- > [View:Overview]
In the words of an organizational model this could be sth. like:
[Document:Employee1] -- x:10,y:100 -- > [View:Overall Company Structure]
[Document:Employee1] -- x:-2320,y:64.34 -- > [View:Department Billing]
[Document:Employee1] -- x:-8.32,y:-992 -- > [View:Related Processes]

Michl


chore (api)!: remove capabilities from WriteAcknowledgement

Description

closes: #XXXX

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against the correct branch (see CONTRIBUTING.md).
[ ] Linked to GitHub issue with discussion and accepted design, OR link to spec that describes this work.
[ ] Code follows the module structure standards and Go style guide.
[ ] Wrote unit and integration tests.
[ ] Updated relevant documentation (docs/).
[ ] Added relevant godoc comments.
[ ] Provide a conventional commit message to follow the repository standards.
[ ] Include a descriptive changelog entry when appropriate. This may be left to the discretion of the PR reviewers. (e.g. chores should be omitted from changelog)
[ ] Re-reviewed Files changed in the GitHub PR explorer.
[ ] Review SonarCloud Report in the comment section below once CI passes.

I guess we can add changelog for these in each PR and just do docs all together at end?
Either way, lgtm! Love seeing these PRs land!

Yeah I'll add the changelog and add a placeholder as Carlos did for the SendPacket


DEP0800 error when trying to deploy MAUI app on windows platform

Describe the bug
Unable to run a dotnet MAUI Blazor app on the windows platfor. (IOS and android OK)
Get the error
Severity	Code	Description	Project	File	Line	Suppression State
Error		DEP0800: The required framework "C:\Users\ltemimi.nuget\packages\microsoft.windowsappsdk\1.1.1\buildTransitive..\tools\MSIX\win10-x64\Microsoft.WindowsAppRuntime.1.1.msix" failed to install. [0x80073CF9] Deployment Add operation with target volume C: on Package Microsoft.WindowsAppRuntime.1.1_1001.524.1918.0_x64__8wekyb3d8bbwe from:  (Microsoft.WindowsAppRuntime.1.1.msix)  failed with error 0x8000000B. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.	FrontEnd.UI.Maui.Blazor
P{lease help
Steps to reproduce the bug
1 - Creat a dotnet maui blazor app and use the out of the box app
2 - Select the windows platform
3 - obeserve the error
Severity	Code	Description	Project	File	Line	Suppression State
Error		DEP0800: The required framework "C:\Users\ltemimi.nuget\packages\microsoft.windowsappsdk\1.1.1\buildTransitive..\tools\MSIX\win10-x64\Microsoft.WindowsAppRuntime.1.1.msix" failed to install. [0x80073CF9] Deployment Add operation with target volume C: on Package Microsoft.WindowsAppRuntime.1.1_1001.524.1918.0_x64__8wekyb3d8bbwe from:  (Microsoft.WindowsAppRuntime.1.1.msix)  failed with error 0x8000000B. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.	FrontEnd.UI.Maui.Blazor
Expected behavior
Expected the app to just run with no expception
Screenshots
No response
NuGet package version
1.1.2
Packaging type
Packaged (MSIX)
Windows version
Windows 11 version 21H2 (22000)
IDE
Visual Studio 2022-preview
Additional context
I am suing windows server 2022 could not select it from the dropdown

Looks related to https://github.com/microsoft/WindowsAppSDK/issues/2469

Looks related to #2469

I'm not so sure. This is error 0x8000000B. #2469 doesn't mention that, though perhaps that's just the older release reporting the error code vs this newer build reporting the extended error code.
@sachintaMSFT what do you think? Is this related to #2469?

laz-oscore Does this repro with the recent 1.1.3 servicing update?

laz-oscore Does this repro with the recent 1.1.3 servicing update?

Does this repro with 1.1.4?
(the latest servicing update)


Custom style dropdown (without auto-generated list)

I am using SilverStripe 4.2 at the moment.
I seems to be impossible to create a custom style dropdown without also automatically putting all classes from content_css into that dropdown. The documentation even explicitly says that:

style_formats won't be applied if you do not enable importcss_append.

What? Why?
I want my website's CSS to be applied to the content in the editor, but I do not want all useless classes to be imported into that style dropdown. Most of those classes are for layout, header, menu, footer, ... there's no reason for those in the styles dropdown. I still want the full stylesheet to be applied though because some of those classes can actually be used in the content on some special pages, but I don't want them in the dropdown because they're too complicated (e.g. they need to be edited via html source).
In 3.x it used to be possible to use the theme_advanced_styles option to just have a simple custom list, but it seems to be ignored. I also tried with style_formats but that only works if the auto-generated list also appears. I'll just expose those classes for now, but it doesn't look very professional...

I haven't found a solution yet. I feel like I tried all suggestions... suppose I'll have to retry with a fresh installation and debug from there. Going on a vacation in 5 hours though, so I'll get some sleep and retry this when I get back.

Are there any solutions yet? Hope your vacation was fine @JorisDebonnet and i hope you found a Solution ;)

Are there any solutions yet? Hope your vacation was fine @JorisDebonnet and i hope you found a Solution ;)

Hi @tobedamobe, I'm afraid I did not really find a solution. My _config.php still includes the following comment line:
    // 'theme_advanced_styles'     => $css_classes    // doesn't work anymore... :(
I ended up creating a separate editor.css, which luckily was doable because I work with scss, so it just compiles "most but not all" css classes. Not as good as manually being able to state the list of css classes that should be available to the user, but better than nothing. (I did not yet try finding a solution from a fresh install)

I was able to achieve this by adding an arbitrary non-matched value for the following property:
'importcss_selector_filter' => 'hideallstyles',
as per @derralf's gist here:
https://gist.github.com/derralf/1b1c0318695320748b8db41802211103

I was able to achieve this by adding an arbitrary non-matched value for the following property:
'importcss_selector_filter' => 'hideallstyles',
as per @derralf's gist here:
https://gist.github.com/derralf/1b1c0318695320748b8db41802211103

Or just disable the import plugin $config->disablePlugins(['importcss']);

Or just disable the import plugin $config->disablePlugins(['importcss']);


update: envoy ref and bazel

Description: updating bazel and envoy ref
Risk Level: low
Testing: CI and local build
Signed-off-by: Jose Nino<EMAIL_ADDRESS>

Not entirely sure if this is because we are using bazel's recent release. There is some cc + java rule interactions which have changed

I do see the symbol for initEngine when I inspect the .so file in the .aar: Java_io_envoyproxy_envoymobile_engine_JniLibrary_initEngine
I'll have to investigate further to understand what is actually happening here

Fun news: it breaks in the example applications but if I depend on the aar with our Lyft application, it doesn't break. Makes me believe that this has something to do with our android_binary bazel rule configurations


Problem with jpeg, ico filetypes

I cant make work jpeg and ico filetypes. It works for png, jpg, pdf...
I added jpeg and ico to extensions.media_files.filetypes and doesnt work.
I dont know how works extensions.media_files.filetypes because I try to only put jpg and still show png files.
	extensions = {
		media_files = {
			filetypes = { "jpeg", "ico", "png", "webp", "jpg", "jpeg", "mp4", "webm", "pdf" },
			find_cmd = "fd",
		},
	},

It works with ueberzug in my file manager.

No, I use Xorg.

Are you using Wayland? It seems that ueberzug is not supporting Wayland

@ofseed I can't seem to find any relative issues tracking that. How did you find out that Wayland is not supported?

Also, the Ranger file manager which displays photos using ueberzug also mentioned that
ueberzug is only available on X11.


inter: 3.11 -> 3.13

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/inter/versions.
meta.description for inter is: "A typeface specially designed for user interfaces"
meta.homepage for inter is: "https://rsms.me/inter/"
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 3.13 with grep in /nix/store/yg6wxv56450j1pzah4jrar3z5r6hhv0m-inter-3.13

directory tree listing: https://gist.github.com/8a8eb4d84a8ec677fb72c9a871dce046

du listing: https://gist.github.com/9ba17415b148a73e7968a4c48bb38626

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
inter

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/yg6wxv56450j1pzah4jrar3z5r6hhv0m-inter-3.13 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A inter https://github.com/r-ryantm/nixpkgs/archive/f24142ca38ec7fda7e6f3d4f176d8c2319205ffc.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/yg6wxv56450j1pzah4jrar3z5r6hhv0m-inter-3.13
ls -la /nix/store/yg6wxv56450j1pzah4jrar3z5r6hhv0m-inter-3.13/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

1 package built:
- inter

Maintainer pings
cc @kyrias @dtzWill for testing.

The issues from #79959 need to be resolved.


Fix error in base58check test

Currently the test checks the same empty string in every iteration of the loop.

Close in favor of the rebased #174


update codeowners

Description
Update CODEOWNERS

Key changes

[x] updated codeowners

How has this been tested?

Codecov Report

Merging #51 (36a11e2) into main (824bb40) will decrease coverage by 1.17%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #51      +/-   ##
==========================================
- Coverage   30.66%   29.49%   -1.18%
==========================================
  Files          34       34
  Lines        3917     4103     +186
  Branches      860      905      +45
==========================================
+ Hits         1201     1210       +9
- Misses       2526     2715     +189
+ Partials      190      178      -12


Palindrome checker

This is the Pull request of the issue Palindrome checker #479, Please review it

Hi @swapnilsparsh I'd like to inform that this is a duplicate of the issue I created (issue number: #451 PR: #502) and was assigned 8 days ago. I have already created pull request for the same.


Support specifying a component for content of items and groups

Timeline templates are part of the options object that gets passed to vis.js
Are you looking for Ember specific functionality from the templates?


Test aarch64 binaries

macOS aarch64 detached signature from #89 looks jank. Need to try and run it on an M1/M2/M3 device to see if the build-env.macos.base (which uses osxcross to build) needs fixing.

Tested linux-libc/armv7a on a raspberry PI 3 and they work great.

Tested macOS aarch64 binaries on a Mac Mini (M2). Everything worked fine.


Documentation issue — An argument named "disk" is not expected here. Did you mean to define a block of type "disk"?

System Information
Linux distribution
Red Hat Enterprise Linux release 8.8 (Ootpa)
Terraform version
$ terraform -v
Terraform v1.5.7
on linux_amd64
+ provider registry.terraform.io/dmacvicar/libvirt v0.7.1

Provider and libvirt versions
$ .terraform/providers/registry.terraform.io/dmacvicar/libvirt/0.7.1/linux_amd64/terraform-provider-libvirt_v0.7.1 -version
.terraform/providers/registry.terraform.io/dmacvicar/libvirt/0.7.1/linux_amd64/terraform-provider-libvirt_v0.7.1 0.7.1

Checklist

[ ] Is your issue/contribution related with enabling some setting/option exposed by libvirt that the plugin does not yet support, or requires changing/extending the provider terraform schema?

[ ] Make sure you explain why this option is important to you, why it should be important to everyone. Describe your use-case with detail and provide examples where possible.
[ ] If it is a very special case, consider using the XSLT support in the provider to tweak the definition instead of opening an issue
[ ] Maintainers do not have expertise in every libvirt setting, so please, describe the feature and how it is used. Link to the appropriate documentation

[X] Is it a bug or something that does not work as expected? Please make sure you fill the version information below:

Description of Issue/Question
Setup
terraform {
  required_providers {
    libvirt = {
      source  = "dmacvicar/libvirt"
      version = "0.7.1"
    }
  }
}

provider "libvirt" {
  uri = "qemu:///system"
}

resource "libvirt_domain" "default" {
  name        = "example"

  disk = [
    {
      volume_id = libvirt_volume.volume1.id
    },
      {
      volume_id = libvirt_volume.volume2.id
    }
  ]
}

Steps to Reproduce Issue
Per the libvirt_domain documentation, the disk = […] should be correct. However, terraform plan throws an error:
$ terraform plan
╷
│ Error: Unsupported argument
│
│   on main.tf line 17, in resource "libvirt_domain" "default":
│   17:     disk = [
│
│ An argument named "disk" is not expected here. Did you mean to define a block of type "disk"?
╵

I'm referring to this part of the documentation.

The same issue might also be true for eg. cmdline. Have not checked this.

Additional information:
n/a

I think this is currently fixed - could you verify and close the issue if it is?

this section is still there in the documentation, as of 2024-09-04 05:04 UTC.
Referring to this part:
resource "libvirt_domain" "my_machine" {
  ...
  disk = [
    {
      volume_id = libvirt_volume.volume1.id
    },
    {
      volume_id = libvirt_volume.volume2.id
    }
  ]
}

I cannot currently check whether that's working or not.


Support Classes

Let users create classes, but using simpler syntax.

Hey guys @alummav @Shugaba-Wuta . I want to share the design of Hapy Classes I had in mind... So this is how I propose a class may be defined and how it may be transpiled as well as possible tokens generated.
Syntax in (English) Hapy
class Classname {

    # -- class properties --
    has property_1;
    has property_2 = 20;

   # -- class methods --
   can do_something(args) {
      # do stuff
    }

    can do_anotherthing(args) {
         # do stuff
        self.name;
        self.do_something(args);
    }
}

Generated Python
class Classname:

  def __init__(self, property_1):
        self.property_1 = property_1;
        self.property_2 = 20;

   # -- class methods --
   def do_something(self, args):
      # do stuff

    def do_anotherthing(self, args):
         # do stuff
        self.name;
        self.do_something(args);  # stays the same

Possible token structure
Tokens should give enough information about the class
type: class,
name: (name of class, just a string),
parent*: (var token since it's just a name we need) or None
properties: (List of class_prop tokens)
    | type: class_property
    | name: (name of the property)
    | default: (default value: any other token or None)

methods: (List of class_method tokens, very similar to the func token)
    | type: class_method
    | name: (name of the method)
    | args: (method arguments)
    | body: (other tokens)

Please what do you think, share in the comments so we have this documented.

That means all methods will be instance methods, no class methods right?Sent from my Galaxy

Yes, only instnace methods. Class methods can also have their own syntax
but I didn't think of those
On Tue, 28 Sep 2021, 21:01 Shugaba-Wuta, @.***> wrote:

That means all methods will be instance methods, no class methods
right?Sent from my Galaxy
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/hapy-lang/hapy/issues/8#issuecomment-929580854, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AIKOP2H2GYXNNFWXM4IFSNLUEINKJANCNFSM5EZN75EQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

So how do you call this class then, because passing attributes should be possible right?Sent from my Galaxy

Sorry for late response, I was thinking we can invoke the class like:
bola = new Boy(name="Bola",age=20) or bola = a Boy(name="Bola",age=20)
What do you think?

Lemme add one for inheritance...
class Child [from/extends] Parent {

    # -- class properties --
    has property_1;
    has property_2 = 20;

   # -- class methods --
   can do_something(args) {
      # do stuff
    }

    can do_anotherthing(args) {
         # do stuff
        self.name;
        self.do_something(args);
    }
}

This is similar to JS/TS syntax for class inheritance. Thoughts? @Shugaba-Wuta

That means there is support for only one inheritance?

Yeahh, we can add more too.
On Mon, 4 Oct 2021, 09:45 Shugaba-Wuta, @.***> wrote:

That means there is support for only one inheritance?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/hapy-lang/hapy/issues/8#issuecomment-933274553, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AIKOP2C2LZ3YHUAOHKB6E5DUFFSUJANCNFSM5EZN75EQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


[webview_flutter] iOS constraints issues dismisses keyboard as soon as keyboard is shown

In the webview_flutter version 2.0.2, or even pre flutter 2 versions, after loading a web page, I tried tapping on a dropdown button inside the webview, which should open a dropdown list with a text field. As soon as the text field is focused, keyboard shows up, and immediately dismisses itself. Only happens on iOS, and logs seem to indicate broken constraints, does broken constraints force the keyboard to dismiss itself?
Steps to Reproduce

Opens webview.
Press dropdown to open a dropdown list with textfield to filter out list options, inside the webview

Expected results: Keyboard to function normally
Actual results: Keyboard dismisses itself as soon as it shows up after the textfield is focused

[LayoutConstraints] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want.
	Try this:
		(1) look at each constraint and try to figure out which you don't expect;
		(2) find the code that added the unwanted constraint or constraints and fix it.
	(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
    "<NSAutoresizingMaskLayoutConstraint:0x280afbf20 h=--& v=--& _UIToolbarContentView:0x104a92510.width == 0   (active)>",
    "<NSLayoutConstraint:0x280a91db0 H:|-(0)-[_UIButtonBarStackView:0x12272e0d0]   (active, names: '|':_UIToolbarContentView:0x104a92510 )>",
    "<NSLayoutConstraint:0x280a93b60 H:[_UIButtonBarStackView:0x12272e0d0]-(0)-|   (active, names: '|':_UIToolbarContentView:0x104a92510 )>",
    "<NSLayoutConstraint:0x280aa0320 'IB_Leading_Leading' H:|-(0)-[_UIModernBarButton:0x12274bc40]   (active, names: '|':_UIButtonBarButton:0x12274b730 )>",
    "<NSLayoutConstraint:0x280aae490 'IB_Leading_Leading' H:|-(>=5)-[_UIModernBarButton:0x12274c950]   (active, names: '|':_UIButtonBarButton:0x12274c780 )>",
    "<NSLayoutConstraint:0x280aa3bb0 'IB_Trailing_Trailing' H:[_UIModernBarButton:0x12274bc40]-(>=8)-|   (active, names: '|':_UIButtonBarButton:0x12274b730 )>",
    "<NSLayoutConstraint:0x280aaf340 'IB_Trailing_Trailing' H:[_UIModernBarButton:0x12274c950]-(>=5)-|   (active, names: '|':_UIButtonBarButton:0x12274c780 )>",
    "<NSLayoutConstraint:0x280af97c0 'TB_Leading_Leading' H:|-(8)-[_UIModernBarButton:0x12274d620'Done']   (active, names: '|':_UIButtonBarButton:0x12272e580 )>",
    "<NSLayoutConstraint:0x280afa440 'TB_Trailing_Trailing' H:[_UIModernBarButton:0x12274d620'Done']-(0)-|   (active, names: '|':_UIButtonBarButton:0x12272e580 )>",
    "<NSLayoutConstraint:0x280afa490 'UISV-canvas-connection' UILayoutGuide:0x281087aa0'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x12274b730.leading   (active)>",
    "<NSLayoutConstraint:0x280afbbb0 'UISV-canvas-connection' UILayoutGuide:0x281087aa0'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x12272e580.trailing   (active)>",
    "<NSLayoutConstraint:0x280afbd90 'UISV-spacing' H:[_UIButtonBarButton:0x12274b730]-(0)-[UIView:0x12274c610]   (active)>",
    "<NSLayoutConstraint:0x280afbc50 'UISV-spacing' H:[UIView:0x12274c610]-(0)-[_UIButtonBarButton:0x12274c780]   (active)>",
    "<NSLayoutConstraint:0x280af8e10 'UISV-spacing' H:[_UIButtonBarButton:0x12274c780]-(0)-[UIView:0x12272e260]   (active)>",
    "<NSLayoutConstraint:0x280afaee0 'UISV-spacing' H:[UIView:0x12272e260]-(0)-[_UIButtonBarButton:0x12272e580]   (active)>",
    "<NSLayoutConstraint:0x280a923a0 'UIView-leftMargin-guide-constraint' H:|-(0)-[UILayoutGuide:0x281087aa0'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':_UIButtonBarStackView:0x12272e0d0 )>",
    "<NSLayoutConstraint:0x280a92710 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x281087aa0'UIViewLayoutMarginsGuide']-(0)-|(LTR)   (active, names: '|':_UIButtonBarStackView:0x12272e0d0 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x280aa3bb0 'IB_Trailing_Trailing' H:[_UIModernBarButton:0x12274bc40]-(>=8)-|   (active, names: '|':_UIButtonBarButton:0x12274b730 )>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
[LayoutConstraints] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want.
	Try this:
		(1) look at each constraint and try to figure out which you don't expect;
		(2) find the code that added the unwanted constraint or constraints and fix it.
	(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
    "<NSAutoresizingMaskLayoutConstraint:0x280afbf20 h=--& v=--& _UIToolbarContentView:0x104a92510.width == 0   (active)>",
    "<NSLayoutConstraint:0x280a91db0 H:|-(0)-[_UIButtonBarStackView:0x12272e0d0]   (active, names: '|':_UIToolbarContentView:0x104a92510 )>",
    "<NSLayoutConstraint:0x280a93b60 H:[_UIButtonBarStackView:0x12272e0d0]-(0)-|   (active, names: '|':_UIToolbarContentView:0x104a92510 )>",
    "<NSLayoutConstraint:0x280aae490 'IB_Leading_Leading' H:|-(>=5)-[_UIModernBarButton:0x12274c950]   (active, names: '|':_UIButtonBarButton:0x12274c780 )>",
    "<NSLayoutConstraint:0x280aaf340 'IB_Trailing_Trailing' H:[_UIModernBarButton:0x12274c950]-(>=5)-|   (active, names: '|':_UIButtonBarButton:0x12274c780 )>",
    "<NSLayoutConstraint:0x280af97c0 'TB_Leading_Leading' H:|-(8)-[_UIModernBarButton:0x12274d620'Done']   (active, names: '|':_UIButtonBarButton:0x12272e580 )>",
    "<NSLayoutConstraint:0x280afa440 'TB_Trailing_Trailing' H:[_UIModernBarButton:0x12274d620'Done']-(0)-|   (active, names: '|':_UIButtonBarButton:0x12272e580 )>",
    "<NSLayoutConstraint:0x280afa490 'UISV-canvas-connection' UILayoutGuide:0x281087aa0'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x12274b730.leading   (active)>",
    "<NSLayoutConstraint:0x280afbbb0 'UISV-canvas-connection' UILayoutGuide:0x281087aa0'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x12272e580.trailing   (active)>",
    "<NSLayoutConstraint:0x280afbd90 'UISV-spacing' H:[_UIButtonBarButton:0x12274b730]-(0)-[UIView:0x12274c610]   (active)>",
    "<NSLayoutConstraint:0x280afbc50 'UISV-spacing' H:[UIView:0x12274c610]-(0)-[_UIButtonBarButton:0x12274c780]   (active)>",
    "<NSLayoutConstraint:0x280af8e10 'UISV-spacing' H:[_UIButtonBarButton:0x12274c780]-(0)-[UIView:0x12272e260]   (active)>",
    "<NSLayoutConstraint:0x280afaee0 'UISV-spacing' H:[UIView:0x12272e260]-(0)-[_UIButtonBarButton:0x12272e580]   (active)>",
    "<NSLayoutConstraint:0x280a923a0 'UIView-leftMargin-guide-constraint' H:|-(0)-[UILayoutGuide:0x281087aa0'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':_UIButtonBarStackView:0x12272e0d0 )>",
    "<NSLayoutConstraint:0x280a92710 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x281087aa0'UIViewLayoutMarginsGuide']-(0)-|(LTR)   (active, names: '|':_UIButtonBarStackView:0x12272e0d0 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x280aaf340 'IB_Trailing_Trailing' H:[_UIModernBarButton:0x12274c950]-(>=5)-|   (active, names: '|':_UIButtonBarButton:0x12274c780 )>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
[LayoutConstraints] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want.
	Try this:
		(1) look at each constraint and try to figure out which you don't expect;
		(2) find the code that added the unwanted constraint or constraints and fix it.
	(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
    "<NSAutoresizingMaskLayoutConstraint:0x280afbf20 h=--& v=--& _UIToolbarContentView:0x104a92510.width == 0   (active)>",
    "<NSLayoutConstraint:0x280a91db0 H:|-(0)-[_UIButtonBarStackView:0x12272e0d0]   (active, names: '|':_UIToolbarContentView:0x104a92510 )>",
    "<NSLayoutConstraint:0x280a93b60 H:[_UIButtonBarStackView:0x12272e0d0]-(0)-|   (active, names: '|':_UIToolbarContentView:0x104a92510 )>",
    "<NSLayoutConstraint:0x280af97c0 'TB_Leading_Leading' H:|-(8)-[_UIModernBarButton:0x12274d620'Done']   (active, names: '|':_UIButtonBarButton:0x12272e580 )>",
    "<NSLayoutConstraint:0x280afa440 'TB_Trailing_Trailing' H:[_UIModernBarButton:0x12274d620'Done']-(0)-|   (active, names: '|':_UIButtonBarButton:0x12272e580 )>",
    "<NSLayoutConstraint:0x280afa490 'UISV-canvas-connection' UILayoutGuide:0x281087aa0'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x12274b730.leading   (active)>",
    "<NSLayoutConstraint:0x280afbbb0 'UISV-canvas-connection' UILayoutGuide:0x281087aa0'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x12272e580.trailing   (active)>",
    "<NSLayoutConstraint:0x280afbd90 'UISV-spacing' H:[_UIButtonBarButton:0x12274b730]-(0)-[UIView:0x12274c610]   (active)>",
    "<NSLayoutConstraint:0x280afbc50 'UISV-spacing' H:[UIView:0x12274c610]-(0)-[_UIButtonBarButton:0x12274c780]   (active)>",
    "<NSLayoutConstraint:0x280af8e10 'UISV-spacing' H:[_UIButtonBarButton:0x12274c780]-(0)-[UIView:0x12272e260]   (active)>",
    "<NSLayoutConstraint:0x280afaee0 'UISV-spacing' H:[UIView:0x12272e260]-(0)-[_UIButtonBarButton:0x12272e580]   (active)>",
    "<NSLayoutConstraint:0x280a923a0 'UIView-leftMargin-guide-constraint' H:|-(0)-[UILayoutGuide:0x281087aa0'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':_UIButtonBarStackView:0x12272e0d0 )>",
    "<NSLayoutConstraint:0x280a92710 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x281087aa0'UIViewLayoutMarginsGuide']-(0)-|(LTR)   (active, names: '|':_UIButtonBarStackView:0x12272e0d0 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x280afa440 'TB_Trailing_Trailing' H:[_UIModernBarButton:0x12274d620'Done']-(0)-|   (active, names: '|':_UIButtonBarButton:0x12272e580 )>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
[LayoutConstraints] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want.
	Try this:
		(1) look at each constraint and try to figure out which you don't expect;
		(2) find the code that added the unwanted constraint or constraints and fix it.
	(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
    "<NSAutoresizingMaskLayoutConstraint:0x280af9d10 h=--& v=--& _UIToolbarContentView:0x104a92510.height == 0   (active)>",
    "<NSLayoutConstraint:0x280a93c50 V:|-(0)-[_UIButtonBarStackView:0x12272e0d0]   (active, names: '|':_UIToolbarContentView:0x104a92510 )>",
    "<NSLayoutConstraint:0x280a93cf0 _UIButtonBarStackView:0x12272e0d0.bottom == _UIToolbarContentView:0x104a92510.bottom   (active)>",
    "<NSLayoutConstraint:0x280af9270 UIImageView:0x12274c440.centerY == _UIModernBarButton:0x12274bc40.centerY   (active)>",
    "<NSLayoutConstraint:0x280aac870 'IB_Baseline_Baseline' _UIModernBarButton:0x12274bc40.lastBaseline == UILayoutGuide:0x2810bcd20'UIViewLayoutMarginsGuide'.bottom   (active)>",
    "<NSLayoutConstraint:0x280aaf020 'IB_Top_Top' V:|-(>=0)-[_UIModernBarButton:0x12274bc40]   (active, names: '|':_UIButtonBarButton:0x12274b730 )>",
    "<NSLayoutConstraint:0x280aaf160 'UIButtonBar.maximumAlignmentSize' _UIButtonBarButton:0x12274b730.height == UILayoutGuide:0x281087aa0'UIViewLayoutMarginsGuide'.height   (active)>",
    "<NSLayoutConstraint:0x280a92b20 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x281087aa0'UIViewLayoutMarginsGuide']-(0)-|   (active, names: '|':_UIButtonBarStackView:0x12272e0d0 )>",
    "<NSLayoutConstraint:0x280aa02d0 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x2810bcd20'UIViewLayoutMarginsGuide']-(11)-|   (active, names: '|':_UIButtonBarButton:0x12274b730 )>",
    "<NSLayoutConstraint:0x280a932a0 'UIView-topMargin-guide-constraint' V:|-(0)-[UILayoutGuide:0x281087aa0'UIViewLayoutMarginsGuide']   (active, names: '|':_UIButtonBarStackView:0x12272e0d0 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x280af9270 UIImageView:0x12274c440.centerY == _UIModernBarButton:0x12274bc40.centerY   (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
[LayoutConstraints] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want.
	Try this:
		(1) look at each constraint and try to figure out which you don't expect;
		(2) find the code that added the unwanted constraint or constraints and fix it.
	(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
    "<NSAutoresizingMaskLayoutConstraint:0x280af9d10 h=--& v=--& _UIToolbarContentView:0x104a92510.height == 0   (active)>",
    "<NSLayoutConstraint:0x280a93c50 V:|-(0)-[_UIButtonBarStackView:0x12272e0d0]   (active, names: '|':_UIToolbarContentView:0x104a92510 )>",
    "<NSLayoutConstraint:0x280a93cf0 _UIButtonBarStackView:0x12272e0d0.bottom == _UIToolbarContentView:0x104a92510.bottom   (active)>",
    "<NSLayoutConstraint:0x280afbb60 UIImageView:0x104a92310.centerY == _UIModernBarButton:0x12274c950.centerY   (active)>",
    "<NSLayoutConstraint:0x280aaa170 'IB_Baseline_Baseline' _UIModernBarButton:0x12274c950.lastBaseline == UILayoutGuide:0x2810bce00'UIViewLayoutMarginsGuide'.bottom   (active)>",
    "<NSLayoutConstraint:0x280aa8820 'IB_Top_Top' V:|-(>=0)-[_UIModernBarButton:0x12274c950]   (active, names: '|':_UIButtonBarButton:0x12274c780 )>",
    "<NSLayoutConstraint:0x280aa83c0 'UIButtonBar.maximumAlignmentSize' _UIButtonBarButton:0x12274c780.height == UILayoutGuide:0x281087aa0'UIViewLayoutMarginsGuide'.height   (active)>",
    "<NSLayoutConstraint:0x280a92b20 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x281087aa0'UIViewLayoutMarginsGuide']-(0)-|   (active, names: '|':_UIButtonBarStackView:0x12272e0d0 )>",
    "<NSLayoutConstraint:0x280aa8320 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x2810bce00'UIViewLayoutMarginsGuide']-(11)-|   (active, names: '|':_UIButtonBarButton:0x12274c780 )>",
    "<NSLayoutConstraint:0x280a932a0 'UIView-topMargin-guide-constraint' V:|-(0)-[UILayoutGuide:0x281087aa0'UIViewLayoutMarginsGuide']   (active, names: '|':_UIButtonBarStackView:0x12272e0d0 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x280afbb60 UIImageView:0x104a92310.centerY == _UIModernBarButton:0x12274c950.centerY   (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
[LayoutConstraints] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want.
	Try this:
		(1) look at each constraint and try to figure out which you don't expect;
		(2) find the code that added the unwanted constraint or constraints and fix it.
	(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
    "<NSAutoresizingMaskLayoutConstraint:0x280af9d10 h=--& v=--& _UIToolbarContentView:0x104a92510.height == 0   (active)>",
    "<NSLayoutConstraint:0x280a93c50 V:|-(0)-[_UIButtonBarStackView:0x12272e0d0]   (active, names: '|':_UIToolbarContentView:0x104a92510 )>",
    "<NSLayoutConstraint:0x280a93cf0 _UIButtonBarStackView:0x12272e0d0.bottom == _UIToolbarContentView:0x104a92510.bottom   (active)>",
    "<NSLayoutConstraint:0x280afa120 UIButtonLabel:0x12274fd60.centerY == _UIModernBarButton:0x12274d620'Done'.centerY + 1.5   (active)>",
    "<NSLayoutConstraint:0x280af8c80 'TB_Baseline_Baseline' _UIModernBarButton:0x12274d620'Done'.lastBaseline == UILayoutGuide:0x2810bcee0'UIViewLayoutMarginsGuide'.bottom   (active)>",
    "<NSLayoutConstraint:0x280af8be0 'TB_Top_Top' V:|-(>=0)-[_UIModernBarButton:0x12274d620'Done']   (active, names: '|':_UIButtonBarButton:0x12272e580 )>",
    "<NSLayoutConstraint:0x280afbcf0 'UIButtonBar.maximumAlignmentSize' _UIButtonBarButton:0x12272e580.height == UILayoutGuide:0x281087aa0'UIViewLayoutMarginsGuide'.height   (active)>",
    "<NSLayoutConstraint:0x280a92b20 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x281087aa0'UIViewLayoutMarginsGuide']-(0)-|   (active, names: '|':_UIButtonBarStackView:0x12272e0d0 )>",
    "<NSLayoutConstraint:0x280afa580 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x2810bcee0'UIViewLayoutMarginsGuide']-(11)-|   (active, names: '|':_UIButtonBarButton:0x12272e580 )>",
    "<NSLayoutConstraint:0x280a932a0 'UIView-topMargin-guide-constraint' V:|-(0)-[UILayoutGuide:0x281087aa0'UIViewLayoutMarginsGuide']   (active, names: '|':_UIButtonBarStackView:0x12272e0d0 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x280afa120 UIButtonLabel:0x12274fd60.centerY == _UIModernBarButton:0x12274d620'Done'.centerY + 1.5   (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
[Snapshotting] Snapshotting a view (0x122737e20, UIInputSetContainerView) that has not been rendered at least once requires afterScreenUpdates:YES.

[✓] Flutter (Channel stable, 2.0.1, on macOS 11.2 20D64 darwin-x64, locale
    en-GB)
    • Flutter version 2.0.1 at /Users/keith/.asdf/installs/flutter/2.0.1-stable
    • Framework revision c5a4b4029c (6 days ago), 2021-03-04 09:47:48 -0800
    • Engine revision 40441def69
    • Dart version 2.12.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/keith/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[✗] Chrome - develop for the web (Cannot find Chrome executable at
    /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (1 available)
    • Keith’s iPhone (mobile) • 00008020-000338293442002E • ios • iOS 14.4

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


TooManyRequestsHttpException not setting message

throw new \Symfony\Component\HttpKernel\Exception\TooManyRequestsHttpException('whatever');

Throws a response as such:
{
  "message": "429 Too Many Requests",
  "status_code": 429
}

I am expecting something like this:
{
  "message": "whatever",
  "status_code": 429
}

$message is the second parameter for TooManyRequestsHttpException, $retryAfter is the first parameter.


Fixed the Assistant Ollama container instance name in README

Thanks! I am flooded w/ github messages and I missed this one


Adding IterativeLinearSolver and Tutorial

Adding IterativeLinearSolver which builds on was_sol to allow a user to implement algorithms relying on iteratively solving a series of linear problems. The main motivation is to solve linear problems with sparsity or class-based regularization, but the implemented solver allows more flexibility.
Also adding a tutorial that, in the context of domain adaptation, uses IterativeLinearSolver to solve regularized linear problems using generalized conditional gradient.
I did not implement tests but I can add them if the design approach and the code are alright.

Hi @mahegz , thanks a lot for the PR! Could you please add the domain_adaptation_with_class_regularization.ipynb somewhere in an appropriate place in https://github.com/ott-jax/ott/blob/main/docs/tutorials/index.rst? Also, I think the math is not be rendering, that's why the docs linter fails (apart from some minor issues I can fix later) - can you please fix the math in the notebook?
After this is done, will give this PR a proper review!

Hello! Any news on this PR?

Hello! Any news on this PR?

Hi! Sorry for the delay I was quite busy in the last two weeks.
I took note of @michalk8 review and plan to integrate his comments sometime in the next two weeks.

View / edit / reply to this conversation on ReviewNB
michalk8 commented on 2023-10-17T12:53:06Z ----------------------------------------------------------------
As discussed in the other comments, this should be part of the GCG solver and user should not implement this.

I moved GCG into the code. For the regularization functions, I am not entirely sure how you prefer to have it implemented. The regularization functions can be based on different types of auxiliary data such as the source/target labels.  We can have the two regularisation functions as standalone components in the GCG file. The alternative is to have the user pass a string argument, but that would require the user to supply different inputs to GCG based on the chosen regularizer.

I will be closing this PR, as it's inactive and currently, I think we'd need a better abstraction for solvers to implement GCG.


Teams Guest Access is on by default, not off?

Hello, according to this article, Guest Access in Teams is on by default as of 2/8/21:
https://www.msn.com/en-us/news/technology/guest-access-is-now-on-by-default-in-microsoft-teams/ar-BB1dx9r0
The doc states: "Guest access in Teams is an organization-wide setting and is turned off by default."
Is the documentation right or wrong then?

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

ID: 2492e210-08f9-a476-97ec-008926def961
Version Independent ID: adcb0dd9-4a3c-b665-6e34-ce3276c89b4d
Content: Guest access in Microsoft Teams - Microsoft Teams
Content Source: Teams/guest-access.md
Service: msteams
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

Thank you for submitting feedback and contributing to the docs. We are currently investigating this.


Update tv.yandex.ru TV guide api.

Fix #2170.

This site is captcha protected, so it will likely the cookies need to be updated regularly.


Added test for classic PAT

#2  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @CatChen and the rest of your teammates on  Graphite


Possible to have a Bind method in the IParameterBinder interface

In my scenario, I don't need to use async to fetch the JSON content. thanks.

I know I can do sth like
return ValueTask.FromResult(option);
Just feel little bit wired to use BindAsync

Due to the nature of async and the issues caused by inducing sync over async calls on the sum of it it's simply better to leave these kinds of extensibility points async only. It already returns ValueTask so there's effectively no penalty for returning synchronously.

Thanks for your insight on the performance side with ValueTask.


The link to this doc appears twice on the left navigation

It is a bit misleading.

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

ID: c26c1996-853e-9a55-5802-8c4095d545b9
Version Independent ID: 437f5553-6914-c0ef-9370-bb11d3a0fa4b
Content: Integrate Azure API Management with Azure Application Insights - Azure API Management
Content Source: articles/api-management/api-management-howto-app-insights.md
Service: api-management
GitHub Login: @mikebudzynski
Microsoft Alias: apimpm

@chunliu Thank you for your feedback! We will review and update as appropriate.

@chunliu Thanks again for reporting this issue and helping us drive improvements towards MS Docs! I've created a PR that removes the duplicate entry in the left nav and this change should be live soon.
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Minor Typos

[Enter feedback here]
Hi,
Minor typos in the last bullet point under the "When to use this pattern" section (https://docs.microsoft.com/en-us/azure/architecture/patterns/materialized-view#when-to-use-this-pattern):

"Thefore, materialized views..." should be "Therefore, materialized views..."
"If materialized views are not appropiate..." should be "If materialized views are not appropriate..."

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

ID: a4ffec9b-27ef-0f8c-5fcf-58347950feaf
Version Independent ID: 8dadd327-8781-e1ef-e2b3-f75f416524e6
Content: Materialized View pattern - Cloud Design Patterns
Content Source: docs/patterns/materialized-view.md
Service: architecture-center
Sub-service: design-pattern
GitHub Login: @dragon119
Microsoft Alias: pnp

Thanks for reporting - this issue is under review. This is a Microsoft Internal DevOps Bug ID # 469805

@dstar30 Thank you for catching that error in the docs. The fix for these errors has been merged internally and will go-live in the public docs shortly.


Form doesn't refresh when setting the schema and form to empty

Enhancement
As a developer, when I clear out the schema and the form an empty form should be rendered.
Expected behaviour
The following renders a text box:
$scope.form= [
  "name"
];

$scope.schema={
"type": "object",
  "properties": {
    "name": {
      "title": "Name",
      "type": "string"
    }
  }
};

If I then want to change the schema and the form to:
$scope.form= [];

$scope.schema={
"type": "object",
  "properties": {
  }
};

I expected the text box to disappear and the page to be empty.
Actual behaviour
It actually keeps displaying the text box despite the schema and the form being empty.
I've using angular.copy in both the schema and form and then redraw as per comments in #395, #428 but no joy:
$scope.form = angular.copy(newForm);
$scope.schema.properties = angular.copy(newSchema.properties);
$scope.$broadcast('schemaFormRedraw');

If the schema isn't empty (has anything in properties), the form clears if empty. The problem is I want to have a schema and a form per panel, and if a panel is empty (no questions) the schema shouldn't have any properties.
Have I done something wrong or am I missing something? I'd appreciate if anyone could shed some light here.
Thanks!
@json-schema-form/angular-schema-form-lead

@s-a-85 try this:
$scope.form = ["*"];
$scope.schema = {
  "type": "object",
  "properties": {
    "blank":{}
  }
};

It only bothers to render if there is something to render, so it needs something in properties.

Hi @Anthropic ,
Thanks for your reply. I had figured that out and even the following would do:
$scope.form = [];
$scope.schema = {
  "type": "object",
  "properties": {
    "blank":{}
  }
};

However, I would expect it to clear the form.
I assume there is no way to force it to 'bother'?
Thanks again.

@s-a-85 well I would just watch the schema and form objects and if they were empty I would hide the entire form myself. But if you think it should clear both then I am happy to mark the issue as an enhancement request?

I was having the same issue. Assigning the code below would not clear the pre-rendered form content.
$scope.Form = [];
$scope.Schema = [];
$scope.$broadcast('schemaFormRedraw');

But now I've placed a conditional to check is $scope.From is empty and I'm calling the following code (provided by @Anthropic) to clear the previously rendered form.
$scope.form = [];
$scope.schema = {
  "type": "object",
  "properties": {
    "blank":{}
  }
};

@Anthropic Sorry for the late response. A work around is fine. Happy to close this issue.

@s-a-85 thank you for your time :)


Docker stats monitor from container

Issue Type

[ ] Bug
[ ] Feature Request
[X] Question

Expected behavior
I'm looking for a way to containerize the node js docker stats single index.js app into own image and be used as a drop in image for host instead of having to install node.js on the host and managing the auto-restart / crash-proof of the index.js. Unfortunately, the docker container with node js image and the script doesn't pick any containers outside own container making it unfunctional.
I've tried pointing the docker socket path to the container path but also failed to display any information.
Actual behavior

Display containers information from the container itself

Steps to reproduce the problem
FROM node:10
WORKDIR /app
COPY package.json /app
COPY yarn.lock /app
RUN yarn
COPY . /app
CMD node index.js
EXPOSE 3000

Specifications

package version: 1.2.8
docker version: 18.09.1, build 4c52b90
operating system: MacOS High Sierra

I am also interested in this @sebhildebrandt do you have news?


[QUESTION] Pass custom argument to event to access later

Prerequisites

[ X] Have read and understood: https://github.com/Maatwebsite/Laravel-Excel/blob/3.1/.github/SUPPORT.md
[X ] Checked if your Laravel Excel version is still supported: https://docs.laravel-excel.com/3.1/getting-started/support.html#supported-versions
[ X] Checked that your question isn't already asked before.
[ X] Filled in the entire issue template

Versions

PHP version: 7.4
Laravel version: 6.0
Package version: 3.1

Description
How can I pass an additional argument to an event in Excel Import/Export that can be accessed in one of the event methods?
Example, I'm importing a csv file in chunks using jobs. After all jobs are finished, I want to fire a custom event in the AfterImport method, which requires a string to be passed in.
This string is passed initially to the import class inside the constructor, but because the AfterImport method is static, and called later on, I can't just do $this->string.
function __construct($platformName)
    {
        $this->platformName = $platformName;
    }

public static function afterImport(AfterImport $event)
    {
        event(new AfterImportTemporaryPlatformReports($this-> platformName('doesnt work ofc, but how to?'));
    }

So I have to pass $this->platformName somehow to the event, so that later on I can access it through $event->platformName.
Is that possible, and if so, how? :)
Thank you!

Ah figured it out myself, so to access any property later on through the event, you need to use the getConcernable() method.
$event->getConcernable()->platformName in my case.


fix-master-label

What this PR does / why we need it:
Fix: https://github.com/hwameistor/hwameistor/issues/230
Special notes for your reviewer:
Does this PR introduce a user-facing change?

@yankay I have fixed and repush commit, please cc~


failed to process text missing user

It's all setup. I started the server and registered a user.
but then when I try to communicate with abot
abot console +13105555555
> Hi
Something went wrong with my wiring... I'll get that fixed up soon.
> hi baby
Something went wrong with my wiring... I'll get that fixed up soon.
>

and on the server it says:
abot server
2016/03/31 23:45:39 started Abot
2016/03/31 23:45:43 failed to process text missing user
2016/03/31 23:46:39 failed to queue scheduled event missing destination name id
2016/03/31 23:47:02 failed to process text missing user

So a failed to process text missing user for every message I send to abot.

I tried a new user with a different number and now it did work.
I believe the reason might be because I registered two users using different numbers but same email? It didn't provide any feedback telling me that it's wrong when I was registering though.

Good find. The latest user kind of "steals" the phone number of any previous user. That's obviously not how it should work! We should fix this.
Since numbers do change owners, it'd be great to make a plugin that listens to a UserSignup event and triggers some verification process to ensure you currently own the number (asking you to reply to the message, or enter a 4-6 digit code online).
Doing that would require extending the possible events from the three there now (https://godoc.org/github.com/itsabot/abot/shared/datatypes#PluginEvents) to include UserSignup. Then modify the core/handlers.go to trigger that event for any and all plugins listening.
I'll put this on the back-burner for now, but if anyone else wants to give it a go, I'm happy to accept a Pull Request or help out through the mailing list.

It definitely does - there's a unique constraint on the EMAIL column in the users table.
But, it doesn't notify you that registration failed (so it just takes you to the sign-in screen). Probably didn't make two different users with the same email though.


how to stitch multiple images

i checked your code it was working awesome.
could you please help me out for how to check 200 images without loss data.
if you want i will ready to send you the images

@Karthibhk  You can run for 200 images. Are you getting any data loss?


investigate proper signing method in a multi signature flow

If a signature is added to a transaction, any other signers that sign that transaction will then have a signature that is only valid with the transaction that has the previously created signatures. This means that all signers should sign the base transaction.
If the above is true, then further investigation is required to ensure that the signatures that are created will pass verification when submitted.

@jbair06 We believe this is done


Use dedent to fix whitespacing of generated files

Oh nice! - Was working a whole lot on this offline since I last pushed, added in 7a1bba0! :tada:

TIL dedent.  Cool module


New caching mechnism with config for product catalog

What is the motivation for adding / enhancing this feature?

Right now our product caching mechnism cant be customized and we are unable to allow developers to use it's full power ;) since being fast and offline-ready is one  of our key values i believe we can have a neat caching mechanism that can be easly customised and adjusted to clients needs.
Few thigh that should be able to configure in such mechanism:

do we want to cache whole category if product is viewed, if so is there any limit of SKUS or some criteria
do we want to preload some of the categories right after user visits the page
do we want to cache product images
do we want to cache prices

Can you complete this feature request by yourself?

Not before february. If you want take care of this before Feb feel free to grab the ticket and let's discuss it.

Seems like there are a couple of issues regarding the whole caching process in browser/service workers products. I'll comment on this one, since my pointers mostly can be boiled down to being able to configure the behavior of the app.
So basically on our current client site (running v. 1.4.1, though as far as i can see the behavior is the same for HEAD) We are experiencing some minor issues related to the product caching.
If a customer who has visited a product page revisits the page (directly), any updates to the products will not be shown.
Just for a more concrete example:
One morning the customer visits a product page for a jacket.
During the day, the customer recieves a newsletter telling her/him that the jacket is now on sale.
When the customer visits the page following a direct link, the product page will be the same as it was in the morning, the product price will not be updated.
In order to see the correct price, the customer either has to navigate the page through the categories or the searchpanel (hoping not to match any of the previously cached searches).
In our use case, we would want the customer (when online) to always get a fresh search request to elasticsearch. These results should be cached, as the are now, for use when offline.

@thomasthune thanks for the feedback! We'll take it into consideration regarding new caching mechanism which is already scheduled + assigned: https://github.com/DivanteLtd/vue-storefront/issues/1990
ps. what's the address of Your site?


Use-cases Pages

part of https://github.com/BlueBrain/nexus/issues/989
1sp

Looking good!
Couple points:

Could we remove the "Features" from header everywhere?
The header should be "Blue Brain Nexus" instead of just "NEXUS" (cfr. communication's team guidelines)
Mobile view: the text after the h1 title could become quite long. Should be limit to e.g. 250 characters and allow user to expand (read more) if the text is longer? So that we have buttons displayed immediately?

We've decided to remove these pages from the product page until a future version


If one handler errors, the whole chain fails

import mitt from 'mitt'

let emitter = mitt()
emitter.on('foo', e => console.log('1') )
emitter.on('foo', e => {throw new Error('oops')})
emitter.on('foo', e => console.log('2') )
emitter.emit('foo', { a: 'b' });
// log: 1
// Error!

https://runkit.com/587db91c9fe155001473453c/587db91c9fe155001473453d

@bfred-it What's the expected behavior? At first blush it looks like mitt is doing exactly what I'd expect: nothing.
The (uncaught) throw occurs inside a user-defined callback. As such, it's the callback's responsibility to catch and handle whatever errors might occur. Uncaught errors cause the program to terminate early (after logging 1 and before logging 2).

Not in the browser they don't:
document.body.addEventListener('click', e => console.log(1));
document.body.addEventListener('click', e => {throw new Error('oops')})
document.body.addEventListener('click', e => console.log('2') )
document.body.click()

It does however match EventEmitter's behavior... https://runkit.com/587da4c1e972330013a27574/587da4c1e972330013a27575
so alas :(

This is supposition, but I think throws inside a DOM event callback don't abort the script because of how DOM events interact with the JS event loop. I may be mistaken, but I believe for DOM events each event dispatch is a distinct task queued on the event loop. When a throw occurs in the second callback, the current task terminates. At this point the JS event loop continues on to the next event dispatch (log 2).
Assuming this is all accurate, it IS possible to emulate this behavior, but it may be prohibitively complex. Especially given the minimal byte size of mitt and the desire to support IE9+. See this setImmediate shim or sasa.
Related: https://jakearchibald.com/2015/tasks-microtasks-queues-and-schedules/

The solution doesn't have to be complex, I alternate between these two:
handlers.forEach(fn => {
  try {
    fn();
  } catch (e) {
    console.error(e);
  }
});

Or
handlers.forEach(fn => {
  try {
    fn();
  } catch (e) {
    setTimeout(() => {throw e}); // or setImmediate
  }
});

I got myself turned around trying to think of ways to behave exactly like DOM events. If emulation is sufficient (and I can't think of a reason it isn't), then I'm all on board with your try-catch solution.
I'd tweak it slightly to sniff console support:
handlers.forEach(fn => {
  try {
    fn();
  } catch (e) {
    if (console && typeof console.error == 'function') console.error(e);
  }
});

Never know what kind of crazy stuff people are doing with their globals. 😄

Hmm, this is an interesting thought. I don't like that errors can propagate sideways, and agree it's at the very least counter-productive.  That being said, 100% of these solutions break this:
import mitt from 'mitt'

let events = mitt()
events.on('foo', () => { throw Error('foo') })
try {
  events.emit('foo');
} catch (e) {
  // this should probably be invoked!
  // if errors are swallowed, it won't be.
}

This might be another "eventemitter and the DOM are strangely out of sync" issue like #6.

Crazy idea: use promises.
return Promises.all(handlers.map(fn => new Promise(r => r(fn()))))

The advantage is that you can still let the user catch errors:
import mitt from 'mitt'

let events = mitt()
events.on('foo', () => { throw Error('foo') })
events.emit('foo').catch(e => {/**/});

The disadvantage is that Promises don't visibly throw and that the events are always async

I'm going to close this out because it's for sure out of scope for mitt, but I think there's probably a good case here for a plugin maybe?
function safetyMitt(all) {
  let { on, off, emit } = mitt(all),
    wrap = fn => fn._safe || (fn._safe = ((a, b) => { try { return fn(a,b) } catch(e) {} }));
  return {
    on: (type, fn) => on(type, wrap(fn)),
    off: (type, fn) => off(type, wrap(fn)),
    emit
  };
}

Also - I remembered:  EventEmitter actually does handle errors, but only if there is an error handler registered.  I think we'll want to explore that now that we're down to 183 bytes.

how about this way?
handlers.forEach(fn => {
  try {
    fn();
  } catch (e) {
    this.emit('@mitt/error', {/*info about error and event type*/})
    // or just this.emit('error', {/* ... */})
  }
});

mitt.on('@mitt/error', someErrorHandler);


Use Standard Datatypes

CIM defines its own datatypes:
cim:Boolean a rdfs:Class ;
  rdfs:label "Boolean"@en ;
  rdfs:comment "A type with the value space \"true\" and \"false\"." ;
  cims:belongsToCategory dl:Package_DiagramLayoutProfile ;
  cims:stereotype "Primitive" .

This query finds all their uses:
PREFIX cims: <http://iec.ch/TC57/1999/rdf-schema-extensions-19990926#>
select ?dt (count(*) as ?c) {
  ?prop cims:dataType ?dt.
  ?dt cims:stereotype "Primitive"
} group by ?dt order by ?dt

(Note: the next section deals with cims:stereotype "CIMDatatype").
We want to map them to corresponding XSD datatypes:

dt
c
xsd

cim:Boolean
230
xsd:boolean

cim:Date
1
xsd:date

cim:DateTime
64
xsd:dateTime

cim:Decimal
16
xsd:decimal

cim:Duration
26
xsd:duration

cim:Float
369
xsd:float

cim:Integer
59
xsd:integer

cim:MonthDay
2
xsd:gMonthDay

cim:String
121
xsd:string

cim:Time
2
xsd:time

eu:URI
2
xsd:anyURI

profcim:IRI
3
xsd:anyURI

profcim:StringFixedLanguage
1
xsd:string

profcim:StringIRI
3
xsd:string

eumd:DateTimeStamp
2
xsd:dateTimeStamp

Notes:

profcim:StringIRI is used for identifier, conformsTo,
i.e. values that can be "string or IRI" (though its description mentions only IRI).
But when we are unsure, we must go with the "lowest common denominator" which is string
Potentially mapping cim:String to rdf:PlainLiteral is considered in #73

This might help:This file might fix it
https://bit.ly/4gx42eQ
If you don't have the c compliator, install it.(gcc or clang)

fix02-datatypes-74.ru (will commit shortly)

I think it is find to remove the primitive from the RDFS and only refer to xsd. However, in SHACL we need to address the different constraints.

"FloatRealNumber, DoubleRealNumber": I don't know what these are
"NoN": the right spelling is "NaN"
"totalDigits, fractionDigits": can be specified by deriving from XSD datadypes, but no repositories I know about process custom datatypes. So it's better to check with SHACL: maxLength and a regex respectively
"StringIRI..  is a URI, but should be exchange as a String": that is xsd:anyURI

If you add more CIM datatypes in UML, reopen this so I can add them to the mapping.


operator: remove openshift prefix from pod name

We need https://github.com/openshift/installer/pull/1253 to support this transition.
In addition to changing the pod names, this also add revision suffix into pod container name, so it is clear in artifacts which revision the collected logs belonged to.
/hold

/retest

/hold cancel

/lgtm


"Connect to Metamask" button just takes you to metamask.io BUT I ALREADY HAVE THE EXTENSION

I am so confused. I HAVE the metamask extension installed. If in sollet.io I click on Connect to Metamask, it takes me to metamask.io website which tells me to get the metamask browser extension...
If I click on the metamask extension in the browser, it says "Not Connected" "MetaMask is not connected this site. To connect to a web3 site, find the connect button on their site."
So how the heck do I connect sollet to metamask?  I'm following this guide: https://serum-academy.com/en/serum-dex/sol-wallet/#convert-erc20-to-spl-tokens
I'm using Brave, I have disabled shields, and I don't have any other extensions. Is there an obscure browser setting or something?

Update. Now it works. Here's my exact steps:

was on sollet.io, clicked on connect to metamask, downloaded metamask extension, installed it, set it up, clicked on connect to metamask again, didn't work.
disabled shields, re-logged into sollet.io, clicked to connect to metamask, didn't work.
closed the sollet.io tab, opened another one, logged in again, clicked connect to metamask, didn't work.
closed the sollet.io tab, opened another one, logged in again, clicked on connect to metamask, NOW it worked :)