As a user I have quick access to test values (e.g card numbers) for integration tests.

From Twitter: https://twitter.com/joeltayl/status/1349779330142859264

Absolutely amazing work! I love how you've solved the issue of needing to know an event's shape during development. Being able to stay in the editor is ❤

One improvement for my workflow would be to have quick access to test values (e.g card numbers) for integration tests.

Followed up with user on Twitter:
"Sure! When I'm doing integration tests, I generally like to verify the paths where the payment method is successful, has verification issues, fails a charge, etc. Ideally, it'd be great to have access to all testing tokens (e.g. card and bank tokens.) Does that help?"
My response, that he validated:
"So you would be able to access these values like a code snippet, to easily hard code the tokens into your tests?  This would help reduce the step of having to grab them from the docs?"
More validation of need:
https://twitter.com/wesbos/status/1359201798796492807?s=20

@gracegoo-stripe @vcheung-stripe @tomer-stripe If we use code snippets to offer quick access to all card numbers and tokens on https://stripe.com/docs/testing, we're looking at >50 new items in the code snippet menu.

I could see them living with "StripeTestCard" and "StripeTestToken" prefixes.
Would we want to offer quick access to payment methods too (I'm not entirely sure how customers use these yet)?  For example, pm_card_visa?
Some card #s are used for testing for a specific response and have a long description.  I'm not sure if a code snippet would work well for them; for example, how would we turn the following description into a meaningful code snippet menu item? "Charge succeeds and domestic pricing is used (other test cards use international pricing). This card is only significant in countries with split pricing."

Maybe we should scope this to basic and international cards and tokens, and get more user feedback?

Thanks, Jon!
We could use those prefixes, but do you think that having all the cards show up for those prefixes would be too overwhelming? What do you think about having a general prefix that shows all cards for each section, and then each card in those sections can have one or more targeted prefixes.
For example, the prefix "StripeInternationalTestCard" could pop up all card #s under this section and  pm_card_visa would show just the one card in this section.
For #3, a couple of things we can do:

We could have everything show up as something like "StripeResponseCard" and "StripeErrorCard" and rely on the descriptions that show up under them. One downside is that the user has to click the card to see the description.

We could try to come up with a good short hand description for each to use as the prefix. Ex. "domestic pricing used"

Another concern that I have is that the prefixes we choose are not intuitive for the users, but may be ok if it's something we document and expect our users to learn.

Based on our internal research, I think we only need to support these cards (in order of desc frequency of usage):

4242424242424242 - Visa
4111 1111 1111 1111 - Klarna
5555555555554444 - Mastercard
4000056655665556 - Visa Debit
378282246310005 - "3D Secure is not supported on this card and cannot be invoked"
400000XXXXXX0001 - I haven't been able to find this card in our documentation
6011000990139424 - Discover
4000000000000341 - "Attaching to Customer object succeeds, but attempts to charge the customer fail"

And to support specific usecases:
4000000000003220 - "3D Secure 2 authentication must be completed for a successful payment"
4000000000009995 - Always fails with a decline code of insufficient_funds
Based on Kenneth's suggestion, I think should create these as commands in the Command Palette that copies the card # to the clip board (e.g., "StripeCard: Copy Visa test card to clipboard") -- rather than either a panel OR code snippet.  This will allow our users to easily copy / paste card numbers for easy testing in browser & writing integration tests.

In addition to the command palette, it would be great to add an auto-complete feature for the cards Jon found above to catch cases where the user has already started typing out the cards by hand.

@gracegoo-stripe Great suggestion grace!

Another vote from user survey:
"It would be interesting quick access to all types of payment cards to test"

tracking on jira instead https://jira.corp.stripe.com/browse/DX-6993


Page render issue

I am trying to render HTML from viewer.js but the content has not been load. here is the sample of what I am trying to do
function renderHTML(){     var htmlContent = '

document.getElementById('renderPDF').innerHTML = htmlContent; }
this code I have put in viewer.js at the beginning of the file.
When I am run the viewer.js that time all content will appear in my index.html file but pdf content not rendering

When opening an issue, you need to provide all of the information requested in https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md
Please also see https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md (emphasis mine):

If you are developing a custom solution, first check the examples at https://github.com/mozilla/pdf.js#learning and search existing issues. If this does not help, please prepare a short well-documented example that demonstrates the problem and make it accessible online on your website, JS Bin, GitHub, etc. before opening a new issue or contacting us on the IRC channel -- keep in mind that just code snippets won't help us troubleshoot the problem.


The size of state in Zookeeper is too large and continuously growing up

We are using Marathon 0.8.1 and Mesos 0.21. There are currently around 400 apps running in Marathon. We found Zookeeper's heap memory is as large as 2GB and keep growing. After investigation by  Zookeeper tool zkCli.sh, we think most of data is from Marathon. Below is the detail information:

path /marathon/state has 20903 child nodes. We have only 400 apps but why 20903 nodes in /marathon/state. I suspect that Marathon didn't remove deleted application data.

[zk: localhost:2181(CONNECTED) 0] ls /marathon
[state, leader]
[zk: localhost:2181(CONNECTED) 2] stat /marathon/state
cZxid = 0x100000023
ctime = Fri Mar 27 04:15:46 UTC 2015
mZxid = 0x100000023
mtime = Fri Mar 27 04:15:46 UTC 2015
pZxid = 0xc000004fae
cversion = 1054479
dataVersion = 0
aclVersion = 0
ephemeralOwner = 0x0
dataLength = 0
numChildren = 20903

two types of node under /marathon/state: app:xxxx and group:xxxxx.
the size of app:xxx node usually is around 500 bytes

[zk: localhost:2181(CONNECTED) 4] stat /marathon/state/app:47ab1ce5-cebd-48e5-bcf4-7f3d05f1f7b3:2015-06-12T02:07:02.417Z
cZxid = 0xbd0004c068
ctime = Fri Jun 12 02:07:08 UTC 2015
mZxid = 0xbd0004c06a
mtime = Fri Jun 12 02:07:08 UTC 2015
pZxid = 0xbd0004c068
cversion = 0
dataVersion = 1
aclVersion = 0
ephemeralOwner = 0x0
dataLength = 462
numChildren = 0

the size of app:xxx node usually is 250 KB

[zk: localhost:2181(CONNECTED) 5] stat /marathon/state/group:root:2015-06-11T06:51:08.275Z
cZxid = 0xbd0004933a
ctime = Thu Jun 11 06:51:11 UTC 2015
mZxid = 0xbd0004933a
mtime = Thu Jun 11 06:51:11 UTC 2015
pZxid = 0xbd0004933a
cversion = 0
dataVersion = 0
aclVersion = 0
ephemeralOwner = 0x0
dataLength = 252923
numChildren = 0

group:xxxx nodes looking majority

I have questions for this issue:

does Marathon remove data from zookeeper when application was deleted? Do Marathon have a options to control it?
Does Marathon support other state other than Zookeeper? I remember a document said Marathon can store data in Mesos native storage, is that true?
what's the group:xxx data?

thanks

Hey @mingqi
A lot of questions - I try to answer:

does Marathon remove data from zookeeper when application was deleted? Do Marathon have a options to control it?

If you delete an application from Marathon, it also gets deleted from zookeeper. Please note, that every change to every application creates 2 new objects in zk: the version of the app and group at that point in time. There is an option to control how many versions are allowed --zk_max_versions. The default in 0.8.1 is no restriction. You should definitively set this to a reasonable size, depending how many versions you want to keep (e.g. 3). Note: setting this property will not delete anything until you change the related entity.

Does Marathon support other state other than Zookeeper? I remember a document said Marathon can store data in Mesos native storage, is that true?

Until version 0.9.0 Marathon used the Mesos State abstraction (http://mesos.apache.org/api/latest/c++/interfaceorg_1_1apache_1_1mesos_1_1state_1_1State.html)
That is a native interface with different storage provider. One of them (the default) is zookeeper. There is also a LevelDB and an InMemory engine. Since the state abstraction caused a lot of trouble, we decided to move away and use native java/scala bindings. It is on our roadmap to provide different storage solutions and make this configurable. Feel free to open an issue for that.

what's the group:xxx data?

The stored group. group:root is the current group. group:root:TIMESTAMP is the versioned group.
You can remove all versions of the group if you like - they are there to go back in time to that version.
the same applies for app:APPNAME:TIMESTAMP.
If you have 400 applications and more then 20k zk objects, you have a lot of versions. As suggested use the --zk_max_versions flag to control and remove the unnecessary versions. I will close this ticket. Feel free to reopen, if there is a point missing.

Yesterday I tried to add --zk_max_versions flag and restart Marathon, but Marathon failed to start up. Finally I removed --zk_max_versions flags and restart again. I'm not sure whether is related to --zk_max_versions.  Another wired things was we found some application (not application versions) was deleted from Marathon. The child nodes number of /marathon/state decrease to 19626 today.


Ugly ➕ icon for array-item-add

Prerequisites

[x ] I have read the documentation.

Description
Can someone explain why the normal + has been ditched for this one ? It doesn't look good to me but I might be wrong or missing something.
Commit that changes the symbol
Steps to Reproduce
See how it renders
Expected behavior

Actual behavior

Version
0.40.0

The thing is, the updated icon looks slightly better on my Linux laptop, but not at all like on your screenshot. And I don't know with other OSes.
I'll take some time to investigate this, thanks for the report :)

Oh I see ! Didn't expected that 😄
For the record, I've checked on my Android phone and it looks different, but not good:

Friendly parenthesis: I did let the entire screenshot in order to stress out that there is an issue with the centering of the icon on the button too. It was already there before, and I opened up a ticket about that 👍

There are two problems with using emoji as icons: they look different on every system and they don't respond to text color, which is a problem with restyling. (Currently, the styling is color: #fff but the plus is black on my macOS system.)
Since the library uses bootstrap anyway, is it an idea to simply use glyphicons?

Also, the padding left and right should be removed to keep the icon centered on narrow screens.

Since the library uses bootstrap anyway, is it an idea to simply use glyphicons?

This would heavily couple this library to bootstrap, as the glyphicon font and related styles would be required to render icons. We'd like to keep the lib as agnostic as we can wrt css styling, hence why we went with emojis. Maybe we should switch back to texts?

Yes, I think the 'text plus' would look better on many systems, and would integrate better with custom styling.

This would heavily couple this library to bootstrap

I understand your point. In the long term it may be an option to split out all widgets and fields into components and containers, where containers only contain the business logic and components only dom nodes. Then components can be made for different css frameworks in different libraries, e.g. called

react-jsonschema-bootstrap-components for Bootstrap,
react-jsonschema-react-bootstrap-components for react-bootstrap,
and even react-native-jsonschema-components for react-native.

In angular-schema-form for example, the bootstrap templates were recently split out to a different library to decouple it completely from Bootstrap.

I updated the icon on my fork and improved the normal '+' with a css transform to make it bigger and more in line with the other buttons. If you are OK with a css transform in the library, I will submit this as a pull request.

The lib doesn't ship with any css file at all, and I'd like to keep it that way.
I'm stunned we can't find a plus icon/char compatible across platforms. There must be a way :)

Yes I updated the existing inline style, I did not add a css file. :)

That's interesting. Could you submit a PR so I see how that looks?

After giving all this some thinking, I think we could go with just using glyphicons and document a way to override the way they look; if we use something like
<button type="button" class="btn btn-info btn-plus col-xs-12" tabindex="-1">

</button>

Then it's easy to do something in CSS like
.btn-plus > i {
  display: none;
}
.btn-plus:after {
  content: "Add";
}

I thought you didn't wanted to use glyphicons ? :confused:
I'm not really sure I understand the benefits of a "plus" glyphicon against a "+" character eventually customized with css to look good.

I'm not really sure I understand the benefits of a "plus" glyphicon against a "+" character

Consistency across rendering platforms, easy to override, and I'm not super fond of inline styling as they've always been tricky to deal with from outside components in my experience.
But I'm still open to other suggestions!

As long as you are good with using glyphicons I think your proposal is just fine :+1:

@mbeaudru @maartenth I've created #375 so we can challenge this approach.


permissions for bulk features: Changes in 20.2

With the new operator role created, we wanted to make certain Bulk IO features non-admin since there's a future where CC users won't have admin access. We should update our docs to clearly delineate what requires admin and what doesn't.
IMPORT
BACKUP
RESTORE
CREATE SCHEDULE FOR BACKUP
SHOW commands for jobs, schedules, backups
CREATE CHANGEFEED
EXPORT

cc @mwang1026 to fill in

@mwang1026 - do you have time to list the changes here / delineate what needs admin access? Or, can you point me to the right person / PRs that address this?

Related to #8349:
PR: cockroachdb/cockroach#53650
From release notes:
Non-admin users are now permitted to execute RESTORE statements as long as the restore does not depend on implicit credentials and the user has the appropriate privileges to create all of the resulting database objects. For database restores, this means the user must have the CREATEDB role privilege. For table restores, the user must have CREATE privileges on the parent database. Full cluster restores still require admin privileges. [#53650][#53650] {% comment %}doc{% endcomment %}

Here's a text version. Let me dig up the PRs. There were a mix of bulk-io and SQL so... a bit of a mess
RESTORE
do not allow full cluster restores (have to be admin)
do not allow tenant restores (admin)
database RESTORE require CREATEDB
external storage paths allowed
cloud storage with explicit credentials
userfile
external disallowed
implicit cloud storage
http, https and custom endpoints
nodelocal
IMPORT
external storage destination with same restrictions as RESTORE
CREATE privilege
IMPORT INTO
external storage destination with same restrictions as RESTORE
INSERT, DROP
BACKUP
external storage destination with same restrictions as RESTORE
database - select
table - select
type, schema - usage
do not allow full cluster (must be admin)
do not allow tenant (must be admin)
CONTROLCHANGEFEED role option required, if non-admin, to create changefeed. To remove use NOCONTROLCHANGEFEED
https://github.com/cockroachdb/cockroach/pull/52869
CONTROLJOB role option required because you can't manage jobs without this (pause, show jobs, etc.). NOCONTROLJOB role option used to remove that ability.
https://github.com/cockroachdb/cockroach/pull/52804
both needed for changefeed

Chatted with Michael yesterday -- this update can wait until after the release since it's tied more to adding the operator role for CC.

Closing this issue in favor of https://github.com/cockroachdb/docs/issues/9179


cmd/compile: deadlock while typechecking self-referential constraint

Compiling this (wrong) code:
package main

type X[T any, PT X[T]] interface{}

causes a deadlock (I think it's trying to infer the second parameter):
fatal error: all goroutines are asleep - deadlock!

goroutine 1 [semacquire]:
sync.runtime_SemacquireMutex(0x0?, 0xe8?, 0x29?)
	/usr/local/go/src/runtime/sema.go:71 +0x25
sync.(*Mutex).lockSlow(0xc0004140f4)
	/usr/local/go/src/sync/mutex.go:153 +0x165
sync.(*Mutex).Lock(...)
	/usr/local/go/src/sync/mutex.go:81
sync.(*Once).doSlow(0x200?, 0xc00037cb98?)
	/usr/local/go/src/sync/once.go:64 +0x53
sync.(*Once).Do(...)
	/usr/local/go/src/sync/once.go:59
cmd/compile/internal/types2.(*Named).resolve(0xc000414080?, 0x9e?)
	/usr/local/go/src/cmd/compile/internal/types2/named.go:44 +0x5d
cmd/compile/internal/types2.asNamed(...)
	/usr/local/go/src/cmd/compile/internal/types2/type.go:74
cmd/compile/internal/types2.under({0xe85550?, 0xc000414080?})
	/usr/local/go/src/cmd/compile/internal/types2/type.go:24 +0x56
cmd/compile/internal/types2.(*TypeParam).iface(0xc000400450)
	/usr/local/go/src/cmd/compile/internal/types2/typeparam.go:84 +0x37
cmd/compile/internal/types2.(*TypeParam).underIs(0xe85640?, 0xc000400450?)
	/usr/local/go/src/cmd/compile/internal/types2/typeparam.go:138 +0x1e
cmd/compile/internal/types2.underIs({0xe85640?, 0xc000400450?}, 0xc00037ccd0)
	/usr/local/go/src/cmd/compile/internal/types2/expr.go:165 +0x52
...

This trybot failure seems a variant of this issue: https://storage.googleapis.com/go-build-log/09876462/linux-amd64-unified_f935df09.log

This doesn't appear to be fixed by the revert of CL 362254.
I'm investigating.

This is a consequence of https://golang.org/cl/356489, which allowed inferring type instances and introduced a vector for recursive expansion.
I'll fix this instance, and will add a more general mechanism for detecting recursive expansion.

CL 361922 is a bit of a hammer, but it seems that uniform type inference is more important than type parameter lists that recurse with types to which those type parameter lists belong.


minor typo

minor typo

@MSFTMan : Thanks for your contribution! The author, @jeffhollan, has been notified to review your proposed change.

#sign-off

@ecfan: I'm sorry - only the author of this article, @jeffhollan, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


Responsive graph wide screen width issue

I have two displays.  One is 15 in with 2880x1800 resolution.  The other is 27in with 2560x1440 resolution.  I'm using FlexibleWidthXYPlot.  I observed that on the bigger screen, the graph doesn't generate fully (missing data points), and it doesn't expand the entire width of the parent container.  It works fine on the smaller screen.  Is this a known issue with wide screens, or there's a limitation?

Turned out someone modified the '.rv-xy-plot__inner' class width using a local css.


make_travis_yml_2.hs scripts broken under Windows

I use Windows to generate the scripts. Because of using System.FilePath.</> the generated .travis.yml are using windows backslashes instead of unix forward slashes.
Example Travis error of Windows-generated make-travis script:
The command "(cd "."; cabal sdist)" exited with 0.
0.01s
$ mv "."\dist\hlogo-*.tar.gz ${DISTDIR}/
mv: cannot stat ‘.disthlogo-*.tar.gz’: No such file or directory

The command "mv "."\dist\hlogo-*.tar.gz ${DISTDIR}/" exited with 1.

Perhaps the solution would be:
In make_travis_yml_2.hs substitute:
import System.FilePath ((</>), takeDirectory, takeFileName)

with
import System.FilePath.Posix ((</>), takeDirectory, takeFileName)

Please make a PR

Fixed in #104 + #107


Update start.md

Fix typo with the word crafting

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Image De-Photobombing

Pull Request for DL-Simplified 💡
Issue Title : Image De-Photobombing

Info about the related issue (Aim of the project) :
Name: Hitesh
GitHub ID: hiteshhhh007
Email ID<EMAIL_ADDRESS>Idenitfy yourself: GSSoC'24 Participant

Closes: #518 will be closed through this PR
Describe the add-ons or changes you've made 📃
I have added 3 different approaches and all the 3 approaches have been tested out and then was decided to be implemented for this project. The 3 approaches are:

OpenCV-Technique
Usage of U-Net DL Architecture
Pre-Trained Architecture DeepFillv2 using Gated NN's.
All the approaches are implemented in the .ipynb with comments and details.

Type of change ☑
What sort of change have you made:

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested? ⚙
All the approaches have been tested out on multiple images on metrics like loss and accuracy. The loss metric has been more focused here because of the project nature.
Models have been verified by their prediction on the val-set and then on test-set, both of which was taken from the training-set
Checklist: ☑

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added things that prove my fix is effective or that my feature works.
[x] Any dependent changes have been merged and published in downstream modules.

Please Merge the PR @abhisheks008


Rebased on top of current crabtw/master

This is a fully rebased set of patches from the sm-hacks branch on top of current crabtw/master. I first tried just merging, but quickly realized that I lacked the context to properly resolve conflicts. Instead, I rebased in multiple steps on top of (I think) 5 revisions. I apologize for the merge conflict that causes. If you think it's not acceptable, I can always just squash the result and add it on top of current sm-hacks HEAD.
In any case, the result compiles with current Rust Nightly and, at least superficially, runs.
IIUC, you didn't keep cargo test working, and I didn't manage to get the jsapi.h conversion working, so I'm not entirely sure everything works as expected. Some spot-checking didn't show major issues, though.

Thanks - I was just going to try to fix this up, so this saves me some work. :) I'll take a closer look tomorrow.
Keeping tests running was never a concern here - the output of jsapi was the only thing that I checked. It doesn't produce output that works out of the box - I'm still working towards that.
Some tips about running this - make sure your headers end with .hpp rather than .h - this will make sure clang is using C++. I try to use some of the same command line args that spidermonkey uses while building.

Hmm I just tried building this but it doesn't seem to link any better than before. What LLVM and clang are you using? I'm mostly interested in a rebase if it fixes the linking issues I hit before. Upstream only really added one new feature which I want to implement differently.

Hmm I just tried building this but it doesn't seem to link any better than before.

Can you give me a recipe for creating SM bindings? I.e., do you have a script you're using, or are you doing it completely manually? If the latter, do you have a rough list of steps?

What LLVM and clang are you using? I'm mostly interested in a rebase if it fixes the linking issues I hit before. Upstream only really added one new feature which I want to implement differently.

Are you saying that you want this to be a complete fork without ever updating from upstream again? If so, the rebase probably doesn't help much. (Though there were a few bugfixes in upstream, too.) But wouldn't it be wise to keep closer to upstream? Especially if it's free, which it would be for now with this PR.
I'm interested in helping to improve the generated bindings (and the process of generating them), and meant for this to be a first step on that path, really.

I use a command like:
LD_LIBRARY_PATH=. ./bindgen $GECKO/js/src/jsfriendapi.hpp -m32 -std=c++11 -I $OBJDIR/dist/include -isystem /usr/lib64/gcc/x86_64-suse-linux/4.8/include -isystem /usr/lib64/gcc/x86_64-suse-linux/4.8/include-fixed -DJS_GC_ZEAL=1 -match js -match Value.h -match HeapAPI.h -match Linked -match Unique -match MemoryReporting -match Atomic -match Structured -match Conversions -match TracingAPI > jsapi.rs

This isn't enough though - jsfriendapi.h doesn't pull in everything, and creating a header that includes everything hasn't worked for me. I usually convert few more headers in js/public and append it to jsapi.rs.
I'm not sure if sticking with upstream will buy us much without integrating things upstream.
LLVM and clang was mentioned since I've been using a local build of LLVM and clang in order to integrate some minor bug fixes. Switching to the LLVM that comes with rust might be better to avoid problems with linking, though.

Alright, got this branch to work. Going to take it as the new sm-hacks


Support for webpack

:+1:
It's on the roadmap along with a commonjs port (for node) and systemjs but systemjs is a bit unfamiliar at the moment and will be last priority. I'm not sure about the time frame for this based on how the patreon is currently going I will be taking on a full time job within a couple of weeks.


running index all data in a model

*1151 recv() failed (104: Connection re                                                                                set by peer) while reading response header from upstream
this is the error i get a short while after trying to load my db into elastic index, what could be causing this issue? the is data too much? i am dealing with about 450k rows

Hi! I use chunk!
https://laravel.com/docs/5.4/eloquent#chunking-results
10000 per request
MyModel::orderBy('id')->chunk(10000, function ($data) {            $per = $data->addToIndex();        });
It's WORKED!


feat: added tooltip to sidebar

Description

Added tooltip to sidebar.tsx
Added tooltip to settings.tsx

Related issue(s)

Fixes #242

@magicmatatjahu please review my PR.

@Samridhi-98 I will change prefix for that PR to fix: because of course there are additions, but we should treat this as missed additions :)

/rtm


Change license file handling (make both REUSE and Licensee happy)

Obviously, Licensee (the tool used by GitHub to detect licenses) doesn't like symbolic links. On the other side the REUSE tool does... Therefore restructuring the license file handling, this fixes #15

Thanks for contributing this.
I had planned doing it, but with low priority, as the License is there, the tools just can't handle symbolic links (as you mentioned).

You're welcome - wasn't a big deal as I was checking our repositories anyway. :)


Paste  instead of

How to press Enter to insert
 instead of

?
Is it possible?

Sorry, but it's not possible as of v2. I hope to be able to fix that with v3.


"Command terminated" when saving less files

Recently I've started getting a "Command terminated" error every time I save a .less file. I dumped the log and here's what I'm seeing:
Calling shell to execute: "(lessc --no-color app/assets/stylesheets/contract-ui.css.less > /dev/null) >/v
ar/folders/vz/wfs0t4g55xn0sjpnmf6d9jfc0000gn/T/v6kH6n5/6 2>&1"
Command terminated

I tried running it myself, and it seems that the error is happening because the folder doesn't exist:
zsh: no such file or directory: /var/folders/vz/wfs0t4g55xn0sjpnmf6d9jfc0000gn/T/v6kH6n5/6
Outputting the same command to a different file works fine. The following command exits successfully and test.txt is generated (and is empty).
(lessc --no-color app/assets/stylesheets/contract-ui.css.less > /dev/null) > test.txt 2>&1

Please open your test file, set g:syntastic_debug to 1, run the checker, run :mes, and post the output.

syntastic: 7.358630: &shell = '/usr/local/bin/zsh', &shellcmdflag = '-c', &shellpipe = '2>&1| tee', &shellquote = '', &shellredir = '>%s 2>&1', &shellslash = 0, &shelltemp = 1, &shellxquote = '', &shellxescape
= ''
syntastic: 7.358873: UpdateErrors (auto): default checkers
syntastic: 7.359190: CacheErrors: default checkers
syntastic: 7.359808: g:syntastic_aggregate_errors = 0
syntastic: 7.359990: getcwd() = '/Users/bmulholland/dev/contractually'
syntastic: 7.368397: CacheErrors: Invoking checker: less/lessc
syntastic: 7.369113: SyntasticMake: called with options: {'postprocess': ['guards'], 'errorformat': '%m in %f on line %l\, column %c:,%m in %f:%l:%c,%-G%.%#', 'defaults': {'bufnr': 1, 'text': 'Syntax error'}, '
makeprg': 'lessc --no-color app/assets/stylesheets/contract-ui.css.less > /dev/null'}
Command terminated
syntastic: 11.069768: getLocList: checker less/lessc returned -1

Please open your test file, run :SyntasticInfo, and post the output.  Then run this and post the output:
:echo system('lessc --no-color app/assets/stylesheets/contract-ui.css.less > /dev/null')

Syntastic version: 3.6.0-80 (Vim 704, Darwin)
Info for filetype: less
Global mode: active
Filetype less is active
The current file will be checked automatically
Available checker: lessc
Currently enabled checker: lessc

Command terminated
<EMAIL_ADDRESS>[BUG] Segmentation fault
ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]

-- Crash Report log information --------------------------------------------
   See Crash Report log file under the one of following:
     * ~/Library/Logs/CrashReporter
     * /Library/Logs/CrashReporter
     * ~/Library/Logs/DiagnosticReports
     * /Library/Logs/DiagnosticReports
   the more detail of.

 I get the same crash with echo system('lessc --version'). Changing my shell to sh makes the crash go away, and things start working again. What's weird is that manually running the command in zsh works.
Seems like this might be outside of syntastic, but do you have any suggestions on things I can investigate? Google only turns up syntastic-related results.

That it's outside syntastic was actually apparent from the very beginning, but you wouldn't have believed me without the above dance. :)
The problem is likely to be either in your zsh settings, but it's hard to debug because Vim's system() is a spaghetti monster.  There are a few things you could try, but none of them is likely to give you a definitive answer.  You might try looking at :echo system('set') and compare it with what you get in the shell.  Or you might just run a debugger instead of lessc.  Or try to strace / ktrace / truss the lessc process and see why it crashes.


Add Safari & Safari on iOS 16

… same procedure as every year, the obligatory issue 🙃

https://webkit.org/blog/12824/news-from-wwdc-webkit-features-in-safari-16-beta/
https://developer.apple.com/documentation/safari-release-notes/safari-16-release-notes
Web Push: https://twitter.com/tomayac/status/1533918015116529664 🎉

Thanks, added! Have updated it with the main features mentioned though may have missed some.

Thank you both!!!


Fix for #461

Fixes

There is no confirmation box to purchase the content even though 0.01 LBC is charged.

Fixes https://github.com/lbryio/lbry-app/issues/461#issuecomment-323383905 , https://github.com/lbryio/lbry-app/issues/328#issuecomment-320524216
Todo

[x] Enable purchase confirmation modal when price: cost < 0.1
[x] Confirmation dialog show the full price: https://github.com/lbryio/lbry-app/issues/461#issuecomment-324387270
[x] Test it.
[x] Display title on error message -> Failed to download.
[x] Implement smart format for full price: gist/btzr-io/format

Merged in https://github.com/lbryio/lbry-app/commit/c03c0de0a2b7c3b12b6041f7a851997f0e4229c2


Missing open-source license

The blog post announcing this tool states that it's "open-source" but this repo is missing a LICENSE.md.

Fixed it. Sorry about that one


completion with a leading dash

I have the following example code
import argcomplete, argparse

def _custom(prefix, parsed_args, **kwargs):
    if prefix.startswith('+'):
        return [f'+{x}' for x in argcomplete.FilesCompleter().__call__(prefix[1:], **kwargs)]
    elif prefix.startswith('-'):
        return [f'-{x}' for x in argcomplete.FilesCompleter().__call__(prefix[1:], **kwargs)]
    return argcomplete.FilesCompleter().__call__(prefix, **kwargs) + ['+', '-']

def create_argparser() -> argparse.ArgumentParser:
    parser = argparse.ArgumentParser()
    parser.add_argument('--a', action='store_true')
    parser.add_argument('--b').completer = _custom

parser = create_argparser()
argcomplete.autocomplete(parser)
args = parser.parse_args()

print(args)

--b could be a file or a filename prefixed with - or +.
While for no prefix and + everything is working like I would expect it, for - I get instead of a potential list of files just the root level overview
test.py --b -<TAB>

--a
--b

Is there any way to make argcomplete aware that in the context of --b to run the custom completer function?

I don't think this is possible because - is recognized as the start of the next option. You may be able to find a solution by adjusting the behaviors in https://github.com/kislyuk/argcomplete/blob/develop/argcomplete/packages/_argparse.py but I'm not aware of a way. You can work around this by using a = after the option name: --b=....

To be clear, this is not accepted by argparse either. In this case, argcomplete is completing your command line exactly how argparse sees it.
$ python example.py --b -filename
usage: ex.py [-h] [--a] [--b B]
ex.py: error: argument --b: expected one argument
$ python example.py --b=-filename
Namespace(a=False, b='-filename')


Can't receive calls but can make calls using the example dart-sip-ua-example on android

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
System Infomation()
Flutter SDK Version:
Target OS and Version:
Host OS and Version:

i facing same issue did you got any solution for this?

In the world of open source, no ones going to help when your provide such little information.

same issue

Just tested receiving and making calls using the example app on android with both a 3cx server and a FreePBX server using both WS and TCP. You need to provide more info.

i have faced something like same issue.
i have register my endpoint in TCP.
now when i place call from one endpoint to second endpoint then call not receive on second endpoint.
let's clarify more
i have used two android device with this demo installed. now i have login with two sip account.
100 and 101 now i have place call from 100 to 101 but on 101 side call not received.
for my endpoint i have tested on linephone application. it's work fine call are work fine.

@savan15
What do you SIP logs say

@mikaelwills
there is no any error on show android device. when i see run windows in android studio.

@savan15 dart-sip-ua outputs SIP flow logs, just make sure to uncomment  'Logger.level = Level.warning;'
in the main.dart of the example app.
Those logs will tell you what your problem is, everyone else here should be posting their logs too.

also one more thing i want to clear.
for use this library does my endpoint need to be enable webrtc?
@mikaelwills

here are that log. when i place call that time this log are seeing i have.
D/FlutterWebRTCPlugin( 7415): onIceCandidate
I/flutter ( 7415): input => , rule => Request_Response
I/flutter ( 7415): Format exception: Expected !, %, ', 'ACK', 'BYE', 'CANCEL', 'INVITE', 'NOTIFY', 'OPTIONS', 'REFER', 'REGISTER', 'SUBSCRIBE', *, +, -, ., SIP, _, `, alphanum, ~ but found end of file
I/flutter ( 7415): [2024-09-22 16:53:35.373] Level.error parser.dart:32 ::: parseMessage() | error parsing first line of SIP message: ""
D/FlutterWebRTCPlugin( 7415): onIceGatheringChangeCOMPLETE

also one more thing i want to clear.
for use this library does my endpoint need to be enable webrtc? @mikaelwills

Yes

here are that log. when i place call that time this log are seeing i have.
D/FlutterWebRTCPlugin( 7415): onIceCandidate
I/flutter ( 7415): input => , rule => Request_Response
I/flutter ( 7415): Format exception: Expected !, %, ', 'ACK', 'BYE', 'CANCEL', 'INVITE', 'NOTIFY', 'OPTIONS', 'REFER', 'REGISTER', 'SUBSCRIBE', *, +, -, ., SIP, _, `, alphanum, ~ but found end of file I/flutter ( 7415): [2024-09-22 16:53:35.373] Level.error parser.dart:32 ::: parseMessage() | error parsing first line of SIP message: "" D/FlutterWebRTCPlugin( 7415): onIceGatheringChangeCOMPLETE

Yea ive come across this issue before, and unfortunately its stumped me.
What I noticed with this is a SIP message seems to be split into two somewhere.
Half of it comes in, dart-sip-ua detects that the body is less that the content length header so it throws it out.
The second half of the message comes in and the parser can't parse it because it doesnt start with the correct info, so you get that error you pasted.
Anytime ive come across this, ive logged the outgoing message at the very edge of the plugin as it gets sent on the socket and just when it comes in and I can't see anywhere within the package where it might be split in two.
My only theory on this is that possibly the message is too big for a packet so the network infrastructure splits it up.
Maybe we could implement something where if a message comes in thats two short, it could wait for the next one and pair them up, but we shouldnt need to do this... any thoughts @cloudwebrtc ?

Ok,
Can we setup any custom codec in this library?

@savan15 @mikaelwills @md-riaz any thing for this error I receive the call but I can not make that ????

@mikaelwills  any ideas?

@BarakatMohamad
As we have debug on our server side.
We have found webrtc option on endpoint are not enabled. so we have enable it and issue has been resolved.
On your case need to check endpoint configuration and call server configuration.

webrtc 选项
Hello, I also encountered the same problem as you. How to enable the webrtc option on the endpoint? Please tell me. Thank you very much.

@savan15
Hello, I also encountered the same problem as you. How to enable the webrtc option on the endpoint? Please tell me. Thank you very much.

i am using ctxSip web phone easily with my fusionpbx server, but in flutter, i am debugging calls in chrome as a web app with flutter, but after the initial registration websocket connection, i see no invitation when fusionpbx calls the flutter agent. I find no reason why js websocket works but not in flutter webrtc websocket connection.

Have you made any progress with this? I have the same problem using Fusion PBX, previously I used Asterisk and everything worked fine


Android release build crashes but develop build is fine

Environment
React Native Environment Info:
    System:
      OS: macOS High Sierra 10.13.6
      CPU: x64 Intel(R) Core(TM) i7-6920HQ CPU @ 2.90GHz
      Memory: 30.29 MB / 16.00 GB
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 9.0.0 - ~/.nvm/versions/node/v9.0.0/bin/node
      Yarn: yarn install v0.19.1
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 11.74s. - /usr/local/bin/yarn
      npm: 6.4.1 - ~/.nvm/versions/node/v9.0.0/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.0, macOS 10.14, tvOS 12.0, watchOS 5.0
      Android SDK:
        Build Tools: 23.0.1, 26.0.3, 27.0.3
        API Levels: 23, 26, 27
    IDEs:
      Android Studio: 3.2 AI-181.55<IP_ADDRESS>14246
      Xcode: 10.0/10A255 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.5.0 => 16.5.0
      react-native: 0.57.2 => 0.57.2
    npmGlobalPackages:
      react-native-cli: 2.0.1
      react-native-git-upgrade: 0.2.7

Description
After successfully creating a release Android apk and attempting to run the build by itself using react-native run-android --variant=release, the app will load its first screen successfully.  The splash and first screen successfully load with a large image asset as the background.  However upon attempting to navigate to the second page (React-navigation and FlatList) the app crashes, but only in the android release apk, never on dev.
Examining the adb logs shows a potential lead on the culprit:
--------- beginning of crash
AndroidRuntime: FATAL EXCEPTION: main
AndroidRuntime: Process: com.awesomeproject, PID: 5018
AndroidRuntime: java.lang.RuntimeException: Canvas: trying to draw too large(564550364bytes) bitmap.
at android.view.DisplayListCanvas.throwIfCannotDraw(DisplayListCanvas.java:229)
at android.view.RecordingCanvas.drawBitmap(RecordingCanvas.java:97)
at android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:529)

...etc
Before the crash were a number of
W unknown:WrappingUtils: Don't know how to round that drawable: com.facebook.f.e.l@8aa7709

before the VM shut down.
Reproducible Demo
Not sure if this is possible to share on snack.expo since this regards release builds.  There's no crash on dev.
Things I tried
Updating `android/app/build.gradle' to include the following three items in the project.ext.react array:
project.ext.react = [
    entryFile: "index.js",
    bundleInRelease: true,
    jsBundleDirRelease: "$buildDir/intermediates/assets/release",
    resourcesDirRelease: "$buildDir/intermediates/res/merged/release",
]

also tried resourcesDirRelease: "src/release/res"
ran gradle clean and a new gradle assembleRelease (always with success) but the resulting APK keeps failing with that same crash log.
Thanks for reading.

same issue here, app crashes with "unfortunately, app has stopped" message

As a temporary workaround you can try this suggestion from 'Indivision Dev' on SO.
https://stackoverflow.com/questions/45096794/gradlew-assemblerelease-command-in-react-native-android-is-not-generating-the-ap
Note that try first without deleting the android/app/src/main/res/drawable-* as 'Indivision Dev' suggests.
react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/build/intermediates/res/merged/release/

react-native run-android --variant=release

@levynir I think this case may be related but different - the splash screen loads with an image asset, but the navigation to a second route that includes FlatList is where the crash occurs.

in my experience crashes in release build is usually due to code errors.
no real sure way to resolve this other than stepping thru the code, yeah block by block or line by line until you get to the part where it crashes.
normally narrow it down first by commenting out scenes then narrow down to component level.
usual culprits
polyfills, undefined blah blah, console.log this spams

Try to run react-native run-android --variant=release without running adb reverse tcp:8081 tcp:8081. It worked for me

Thanks to alternative bundler haul (https://github.com/callstack/haul) I was able to get a slightly more informative warning upon bundling that I did not get in my development build - one of the assets I was attempting to use in my bundle (that only appeared on the second screen) was way too big and was causing the release bundle to crash.  Very curious that it wasn't causing the development build to crash.  The logcat did inform me that Canvas: trying to draw too large but a more specific warning about one of the images I was bundling being too large helped me make this easy fix.
Thanks for all you do with React Native.  When you have bandwidth to add warnings about image sizes I know it would help a lot of developers.

I am also facing same issue after upgrading gradle version from 4.10 to 4.6 and classpath 2.3.3 to 3.2.1.
Debug build is working but production release is failing.
Let us know if someone has done migration of RN android project.

To anyone facing the same problem. This stackoverflow issue worked for me. 🎉🎉🎉🎉


Failed to extract ffmpeg

When I ran this script it always broke at that part

building ffmpeg
=======================
Downloading http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
... Done
Failed to extract ffmpeg-snapshot.tar.bz2

After a little investigation it turned out that in line #309 there are 2 trailing spaces inside the quotes. After removing them it worked.
So this line

download "http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2 " "ffmpeg-snapshot.tar.bz2 "

should be

download "http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2" "ffmpeg-snapshot.tar.bz2"

Thanks for sharing your script!

Fixed.


FINERACT-1893: Run reports fix

Run reports fix

This PR is important and is needed for 1.9.0 release.

This is still needed for the next release.


Add support of virtual environments created by 'uv'

Recently, a new dependency management tool called uv has been released. This tool is also capable of creating a virtual environment using the following command uv venv .venv.
However, as I discovered, venv-selector does not work correctly inside the virtual environment managed by uv, because the pyright LSP which I use for neovim was not able to locate my packages. After recreating my virtual environment using the command python3 -m venv .venv, everything worked as expected. Then I tried again to set up my virtual environment with uv and it failed again. Also, since uv is not on the list of supported venv managers for this plugin, I assume that this is the venv-selector.nvim related issue.

This actually works fine for me. Uv doesnt do anything special except it names the venvs .venv.
I created a new folder at ~/uvtest, went inside it and ran uv venv to install the venv. It gets created as .venv in the folder.
Then I installed some dependencies into the uv environment:
uv pip install boto3, uv pip install snowflake and some other stuff to test it out with a project I have.
I configured VenvSelect to look in the folder i created just for the test:
    require("venv-selector").setup({
        path = "/home/cado/uvtest",
        name = ".venv",
        parents = 0
      })

And it showed up fine, and activated using VenvSelector just like any other venv.
Im currently using VenvSelector with NvChad and LazyVim and they seem to work fine, so try one of those and see if they work for you. If they do, it may be your nvim config being the issue somehow. LSP is always tricky to get right.

uv is just shipping upgrades too fast. I upgraded myself and checked to see if everything is working fine now, and it turns out that the problem is gone and venv-selector is working as expected with that dependency manager.
I think the issue can be closed now, thanks for double checking and informing me.

Thanks!


Update repositories.txt

Description:
Please add my library FireEsp to the Arduino Library Manager.
Library Name: FireEsp
GitHub Repository URL: https://github.com/Init-io/FireEsp
Description:
FireESP is an Arduino library designed for seamless integration of ESP8266 and ESP32 boards with Firebase services. It simplifies Firebase Authentication (sign-up, sign-in, email verification, password reset) and Realtime Database operations (store, update, retrieve, and delete data). FireESP ensures secure data transactions using idToken while also supporting Firebase's test mode for quick prototyping. With an intuitive API and robust functionality, FireESP is perfect for IoT applications and cloud-based projects.
Version: v1.0.1
The library follows the Arduino Library Specification and is ready for review.
Thank you!

Thanks for your interest in contributing to the Arduino Library Manager index @Init-io Please resolve the error(s) mentioned in the previous comment.
After resolving the issue, trigger this check again by doing one of the following:

Commit the required change to the branch you submitted this pull request from.
Comment here, mentioning @ArduinoBot in the comment.

❗ NOTE: It is not necessary to open a new pull request. ❗
More information: https://github.com/arduino/library-registry/blob/main/README.md#if-the-problem-is-with-the-pull-request

@ArduinoBot I have resolved the errors. Please re-run the checks.


Electron 3.0.x: Webview issues

Electron 3.0.0-beta.6 changed the <webview> implementation to "Out of Process Iframe". This issue tracks regressions found by that move.

[ ] <webview> no longer emits onfocus events: an editor group no longer gets active when clicking into a webview (https://github.com/electron/electron/issues/14255)
[ ] <webview> traps keydown events: our keybindings are broken once focus is within the webview (https://github.com/electron/electron/issues/14258)
[ ] While a webview is visible, things like quick open or the custom menu close immediately after opened (https://github.com/electron/electron/issues/14259)

@mjbvz fyi see my change in https://github.com/Microsoft/vscode/commit/34a635e92d76ba58b2d0519c3fdc4fab8e7e1214 to bubble out keyboard events from <webview> to our keybinding service.

@mjbvz fyi see my change in https://github.com/Microsoft/vscode/commit/135032baf0501212be2dbdaa1d234b35132b78f8 to workaround the new focus behaviour of webview.

There is still lots of flakiness in <webview> with regards to focus. It seems that the fact that we use an <iframe> within the <webview> makes proper focus/blur detection harder.
I think the context key in webviewElement.ts should not work with focus/blur but rather just be enabled when the active editor is a <webview> editor. Ideally we do not have to rely on focus/blur at all for the commands (select all, find) to work.

I pushed another comment to move away from DOM.trackFocus() for the webview element and rather send an explicit event.
There is still focus issues when doing this:

install negokaz.live-server-preview-0.1.2
open a empty HTML file and type some words
open preview to the side
click between editor and right hand preview

=> at one point focus is no longer detected

Another issue (macOS):

open one editor (markdown)
open preview to the side
hit Cmd+W to close
=> both editors close

It looks like both the Cmd+W is fired from within the webview as well as the File > Close Editor menu entry from the global menu.

https://github.com/Microsoft/vscode/commit/c47790a7289238da605ca0ff8f19dc6fc8bdd551 changes to not rely on DOM focus/blur for context keys in the webview.

I have extracted https://github.com/Microsoft/vscode/issues/64724 into its own issue.


Create clean/ca/los_angeles_pd.py

Agency Slug: ca_los_angeles_pd
Module: clean/ca/los_angeles_pd.py
URL: https://www.lapdonline.org/senate-bill-1421-senate-bill-16-sb-16/

MAIN VISION FOR LA:
LA has two systems for getting to the next request page:

From main index page -> second index page that holds all child pages (links displayed go directly to nextrequest)
From main index page -> second index page that holds most current child pages + more index pages divided by year

In both cases, all URLs come structured (displayed directly on the HTML, no need for reconstruction)
Need two distinct approaches to tackle this:

For the first one, straightforward: once on the second index page, write a function that gets child pages URLs and stores them in a list. (THIS PART IS DONE)
For the second one, more convoluted: will likely require running a second get_index_page_urls while at the same time running the get_child_scrape. Will need to vet which third index page URLs have already been scraped. The challenge here is understanding order of operations, and knowing where each subsequent link should be stored.

Brainstorming the second method:

For the sake of discussion, let's redefine some terms:
Main index page - holds all topics covered by the various public records laws (https://www.lapdonline.org/senate-bill-1421-senate-bill-16-sb-16/)
Second index page - Officer Involved Shooting (OIS) page. Accessible by clicking the link directly from main index page (https://www.lapdonline.org/sb-1421-ois-main-page/)
Third index page - yearly pages accessible from the second index page (https://www.lapdonline.org/sb-1421-ois-2023/)
Child pages - links directly to next request. Accessible from second index page for current year, accessible for other years from respective third index pages. (https://lacity.nextrequest.com/documents?folder_filter=F007-23)

Now that we understand the terms, let's move on to the plan of attack.
The scraping needs to be broken down into two parts:
PART 1: main index page scrape -> second index page scrape
from there, two possible paths:
PART 2A: child page scrape for current year
PART 2B: third index page scrape -> child page scrape
To achieve that, here are some goals:

Figure out how to write the conditional to run one function instead of the other (or figure out a way to make this selection manual without making the experience worse for the user + fits with other scrapers lexicon and workflow)
Write a checker function for future scrapes that checks if third index pages were already scraped (since they occupy previous years, no new information will be added to the pages)

I am working with this one.

@gguerrei , just for the record and to close the loop here, I went in a somewhat different approach with the algorithm, just basic spidering without trying to think too hard about how deep the scraper needed to go on which page.
I identified the parts of the page that would contain links. In this case:
        content_divs = soup.findAll("div", {"class": "grid-content"})
        content_divs.extend(soup.findAll("div", {"class": "link-box"}))

For each of those things, I went through all the links. I built out a set of links to individual case reports (always on a nextrequest dot com domain) and assumed the other pages were an index; if those pages hadn't been scraped before, I added them to a to-be scraped list. After each was scraped, I removed it from the to-be-scraped pile. When I was out of things to scrape, I was done. (recursion)
So, like:
Trying https://www.lapdonline.org/senate-bill-1421-senate-bill-16-sb-16/
Index scraping pass 1: 1 indexes scraped, 0 case URLs found
...
Trying https://www.lapdonline.org/office-of-the-chief-of-police/constitutional-policing/sustained-complaints-of-unreasonable-excessive-force-failure-to-intervene-in-excessive-force/
Index scraping pass 2: 7 indexes scraped, 443 case URLs found
...
Trying https://www.lapdonline.org/sb-1421-ois-2021/
Index scraping complete, after 28 indexes reviewed.
1,065 case URLs found.
There were some obstacles along the way -- a couple bad URLs broke things, I didn't realize some pages contained things in different types of div containers, etc.
Hope to have the code complete in due time. There's a temporary notebook in the platform-84 branch that maybe will soon be a regular Python file in platform-84 that might get pulled into the main in time, but you're welcome to mock it. =)


Excute File in Python Interactive -- wrong location and always appears

  P1: Can we move the location below the "core debugging" items group (e.g. give it its own menu group below the “Profiler section” (or just add it to the Profiler section below the Profiler item)

  P2: Only have it appear if the Python editor is open.  A lot of developers who may not be Python users will just choose “install everything” so this will reduce visual clutter for them.

@Andrew-MSFT For 1, how about immediately above "Other Debug Targets"? I really feel this command needs to stay within IDG_EXECUTION (since it triggers execution).
#2 is easily done.

Sure, above "Other Debug Targets" works


Add support for FastSam

Discussed in https://github.com/opengeos/segment-geospatial/discussions/156

Originally posted by torrinworx August  2, 2023
I'm trying to understand the scope of what Sam models work with the package, would I be able to use the FastSam models (or other segmentation models) with segment-geospatial?
References:

https://colab.research.google.com/github/roboflow-ai/notebooks/blob/main/notebooks/how-to-segment-anything-with-fast-sam.ipynb
https://youtu.be/yHNPyqazYYU

Light SAM-HQ would be nice too

Looking forward to add support for FastSAM

HQ-SAM support has been added in https://github.com/opengeos/segment-geospatial/pull/161. Looking into FastSAM now.

I have added FastSAM to PyPI. Install it with pip install segment-anything-fast
https://github.com/opengeos/FastSAM
Hope it will be available on conda-forge soon.
https://github.com/conda-forge/staged-recipes/pull/23682


ferret -version  to return just the version

Reported by ansley b manke on 26 Mar 2010 00:01 UTC
As other programs do,

ferret -version

to return just the version of the executable, and stop.
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1732

Comment by ansley.b.manke on 23 Jul 2010 23:36 UTC
This was implemented in v6.61

ferret -version
6.62


Use HSS/U-Boot and kernel binaries from the Ubuntu archives

This changeset allows the user to avoid having to compile everything from source by using the prebuilt binaries available in the Ubuntu archives.

I think this is technically two separate PRs - removing useless files, and moving towards leveraging official packages.
Removing useless files is probably fine - do we actually have an initrd package that's usable for RISC-V now? At the very least we should be close, given some recent PRs that have merged/closed. Ideally, building a RISC-V kernel snap for any board will be able to leverage the kernel plugin in snapcraft, and once we get to that point we can definitely drop a bunch of files.
As for leveraging Ubuntu packages, I think this is very doable for some branches (sipeed and, by extension, the Nezha board), but in the particular case of icicle I am... Unconvinced :)
Break this out and we can move forward.

Sounds reasonable - will do


KEB job - implement job that takes service instances that are not properly deleted and process again

Description
This is part of Identify failed steps in KEB deprovisioning
This ticket is about the KEB retry job for de-provisioned service instances implementation in the KEB component.
AC

[x] 1) A job which triggers (creates new deprovisioning operation) for instances that need a retry.
[x] 2) The new process must have an empty list of failed steps when operation is created (add a field to DeprovisioningOperartion, not to InstanceDetails).

Consider scenario:

not completed suspension
unsuspension
deprovisioning (suspension) cannot be retried because instance was created (unsuspension)

Job is not running, need to investigate.


Add image attribute to HTML5 notify

Description:
Adds 'image' attribute for HTML5 notify as specified in #9832
Related issue (if applicable): fixes #9832
Example entry for configuration.yaml (if applicable):
    action:
    - service: notify.notify
      data:
        title: 'GATE'
        message: 'Closed'
        target:
          - 'PHONE_MyPhone'
        data:
          tag: alert
          url: 'https://mysite.com/kiosk/group.garage' #onclick go to this site
          image: "http://<IP_ADDRESS>:8765/picture/2/current/gate.jpg"

Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass

Got my branches out of whack. I'll re-submit a new PR


OhNo images on drills

For the life of me I do not understand why.
But the drills give OhNo images.

Well, two things.
1: Thank you for actually bothering to open an issue tracker.
2: I am really sorry about that. I think that I might have time to fix it today, but I can't promise it 100%.

Fixed in release 1.6

I have 3 mods of my own. I was hoping I could help you after I read your steam comment. Maybe even fix it for you. But my mods are Hjson, so not sure if it is in the file. Because the images are normal and have the right names.

I have 3 mods of my own. I was hoping I could help you after I read your steam comment. Maybe even fix it for you. But my mods are Hjson, so not sure if it is in the file. Because the images are normal and have the right names.

Yeah don't worry about it I already managed to fix it, but thanks a lot 😊


How to generate text embedding in custom datasets, such as nuScenes datasets?

@Lavreniuk
Hello author!
Recently, I've been bothering you a lot because your work is of very high quality and I'm very interested.
Could you please tell me how to generate text embeddings for my own dataset? such as nuScenes datasets.
Thank you to the author.
Looking forward to your reply!

@RuiTianHIT , thanks for your interest in our work!
please check this file:
https://github.com/Lavreniuk/EVP/blob/main/depth/dump_nyu_text_embeddings.py
and adapt it to your new dataset


lwtools/lwasm run-time error

lwasm gives incorrect error of "ERROR : Byte overflow" on the below code
                ORG         $A000
                LEAY        <testlbl,PC
                CLRA
testlbl         INCA
                END

Tim S.

You need to use "PCR" instead of "PC" with lwasm


version API

Some reading:
https://stackoverflow.com/questions/389169/best-practices-for-api-versioning
https://www.troyhunt.com/your-api-versioning-is-wrong-which-is/
idea:
change main.py to:
from .version1 import *
from .version2 import *

and version1.py is:
VERSION="v1"
@app.get("/")
@app.get(os.path.join(VERSION, "/index"))
async def index(request: Request):

Then refgenconf says VERSION="v1" and can be updated as needed.

implemented using fastapi.APIRouter objects


Windows/protools

I'm really eager and excited to try this tool but I'm using windows and pro tools, I do not understand how to get this working. I put the VST3 file into its appropriate folder but this is not recognized in my DAW. Someone please helppp!!!

Hi,
As far as I know Protools does not support VST plugins but only AAX ones, which we don't support.
It seems there exist some hacky ways to get VSTs working/interact with Protools, you might want to look for those things online!


[Nomination] Validator POSTHUMAN

Who are you nominating?
Validator POSTHUMAN - https://t.me/Antropocosmist
What are you nominating them for?
For helping in  "The Validator Show #6 | Juno Network: Testing the COSMOS" and editing video
Please provide links to their work.
https://youtu.be/ggRdwiGduCY

Moving to #28. Thanks for nominating.


⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 1267 ms

Resolved: Bofrost.be performance has improved in 09baa39 after 7 minutes.


Solution wont works with html file template

I change sample componente to read HTML file template, but dist wont works. Given error

Unhandled Promise rejection: Failed to load sample.component.html

Do you have any solve?
Look the change:
@Component({  selector: 'sample-component', templateUrl: './sample.component.html' }) export class SampleComponent {}

Sorry same that #15

@gilbertowa — thank you, we are indeed waiting for official recommendations 👍


packaging with pkg

I'm packaging an app with better-sqlite3 and to make it work (after packaging) I have to put the node_modules folder on the root of the packaged app. Is there any other way to make it work? It's 20mb (sql+integer folders) of files and folders.
Thanks

This is an issue with pkg, not better-sqlite3. See their readme.

This may be fixed in v7.0.0.


DataStore should be modular

DataStore is currently using RocksDB. This is probably fine for a lot of use cases, but for example on iOS it might be preferable to use Core Data, or elsewhere SQLite.
DataStore should be modular, so the user can choose between different underlying stores.

Can you elaborate what's wrong with the existing way of doing this? You can implement a custom struct with IpfsTypes and use that when creating an ipfs instance.

Thanks for the info - I made an assumption based on looking at the code. I'm not super fluent in Rust yet. Good to know its possible.


gcp:networkservices:EdgeCacheOrigin creation failed due to Method not found

Describe what happened
Trying to manage EdgeCacheOrigin with gcp provider, here's the result:
  gcp:networkservices:EdgeCacheOrigin (media):
    error:   sdk-v2/provider2.go:520: sdk.helper_schema: Error creating EdgeCacheOrigin: googleapi: Error 404: Method not found<EMAIL_ADDRESS>    error: 1 error occurred:
    	* Error creating EdgeCacheOrigin: googleapi: Error 404: Method not found.

Sample program
Example from documetation
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const _default = new gcp.networkservices.EdgeCacheOrigin("default", {
    name: "my-origin",
    originAddress: "gs://media-edge-default",
    description: "The default bucket for media edge test",
});

Log output
No response
Affected Resource(s)
No response
Output of pulumi about
CLI
Version      3.137.0
Go Version   go1.23.2
Go Compiler  gc

Plugins
KIND      NAME    VERSION
resource  gcp     8.6.0
language  nodejs  3.137.0-dev.0

Host
OS       darwin
Version  14.7
Arch     arm64

This project is written in nodejs: executable='/Users/ivan.yurov/.asdf/shims/node' version='v20.17.0'

Backend
Name           K9YXDWLFM4
URL            gs://...
User           ivan.yurov
Organizations
Token type     personal

Dependencies:
NAME            VERSION
typescript      5.6.3
@pulumi/gcp     8.6.0
@pulumi/pulumi  3.137.0
@types/node     18.19.59

Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

After digging some more, it doesn't seem to be a problem with pulumi-gcp per se — we didn't have the exact API enabled, even though at first run it returned a human readable error with an url for enabling it, which I followed and it seemed like it succeded. So maybe better error processing/interpretation could improve dev experience.


Change imagePullPolicy to Always

These patches change imagePullPolicy to Always in base deployments
and demos as discussed in #400.
In case a specific imagePullPolicy is required, it can be provided
through the relevant kustomization.yaml.
Closes #400.

@mythi
Thanks a lot for the help, done.

Codecov Report

Merging #504 (1c86a58) into master (09d213d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #504   +/-   ##
=======================================
  Coverage   56.70%   56.70%
=======================================
  Files          30       30
  Lines        2028     2028
=======================================
  Hits         1150     1150
  Misses        807      807
  Partials       71       71

Continue to review full report at Codecov.

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

It would be nice to have instructions for resetting policy to IfNotPresent for development purposes.
I'm using my locally built images quite often to debug FPGA plugin. This change would make it harder to do as far as I understood.

It would be nice to have instructions for resetting policy to IfNotPresent for development purposes.

From what I'm reading, kustomize is hard for this. We could have a developer script similar to scripts/set-version.sh and a make target OR we turn this the other way around and make it IfNotPresent by default and document how to use, e.g., AlwaysPullImages  admission controller

@mythi @bart0sh

[...] we turn this the other way around and make it IfNotPresent by default and document how to use, e.g., AlwaysPullImages admission controller

It looks that this might be more suitable.

From what I'm reading, kustomize is hard for this.

I thought kustomize is designed exactly for this kind of task. What's wrong with it? And the controllers can be parameterized to use different policy when instantiating DaemonSets.

I thought kustomize is designed exactly for this kind of task. What's wrong with it?

It's hard if all the images need the overlay maintained. If we are fine just documenting how to add the overlay (and leave all the debugging to the end user), it's probably easier.

+1 for leaving IfNotPresent default.
Implicit upgrades caused by "Always" can be surprising for users in a negative sense I guess.

IMHO for release images it's safer to use Always from security POV. They are not supposed to have drastic changes in API by definition.
For the master branch I'd prefer IfNotPresent as a developer. Looks like I've just made the situation a bit more complicated :)
Perhaps extending set-version.sh to update the policy for a release would suffice.

Perhaps extending set-version.sh to update the policy for a release would suffice.

For the controllers too?

IMHO for release images it's safer to use Always from security POV.

I have mixed feelings about it. From one side you're right, it's more secure. However, I'd prefer to avoid implicit things and let cluster admins decide when then want to upgrade their software.

At least we seem to agree to use IfNotPresent policy for master branch. This is good for development and testing.

IMHO for release images it's safer to use Always from security POV. They are not supposed to have drastic changes in API by definition.

With "release images", do you mean tagged images? Those should be immutable, so Always just adds unnecessary overhead and requests to Docker Hub...
My two cents: use imagePullPolicy: IfNoPresent and then make it easy for developers to get something deployed with imagePullPolicy: Always. That's what we do in PMEM-CSI when deploying: https://github.com/intel/pmem-csi/blob/5c1f2b8ef2f6a8367b562a46315b290644ee2abe/test/setup-deployment.sh#L118
It's using sed here for historic reasons, but kustomize would also work.

@pohly when do you use image policy Always in PMEM-CSI?

Alright, if release images are immutable that simplifies everything.

@mythi @bart0sh @rojkov @pohly
OK, left our present imagePullPolicy intact, added a script for changing it and updated the doc.
Please take a look.

when do you use image policy Always in PMEM-CSI?

It's used when developers deploy PMEM-CSI via the test script. Normal users deploy either via YAML or operator and both use the default "IfNotPresent".

I'm OK with the script approach and the default setting.
Just one comment: IfNotPresent was causing problems for some users who had an old :devel locally and it did not match with they were deploying from yamls. Also debugging #461 was problematic due to this too.
To get new users avoid any of these problems, perhaps we should more clearly point them to use the release tagged images.

@ozhuraki some .yamls are missing the imagePullPolicy setting:
deployments/operator/manager/manager.yaml
deployments/gpu_plugin/base/intel-gpu-plugin.yaml (initContainer, check from gpu controller too)

Just one comment: IfNotPresent was causing problems for some users who had an old :devel locally and it did not match with they were deploying from yamls. Also debugging #461 was problematic due to this too.

I understand the motivation, but I think that changing the image policy to address this particular problem is just whacking one mole. Normal users should never use "devel" artifacts, whether it's images or YAML files.

@mythi

some .yamls are missing the imagePullPolicy

OK, thanks, added.

[...] check from gpu controller too

Looks that in the controllers' code the ImagePullPolicy is present everywhere (except in patchermanager_test, which is probably the intent there):
pkg/fpgacontroller/patcher/patchermanager_test.go
74:					Image: "test-image",
94:					Image: "test-image",

pkg/controllers/gpu/controller.go
119:							Image:           devicePlugin.Spec.Image,
120:							ImagePullPolicy: "IfNotPresent",
184:			Image:           imageName,
185:			ImagePullPolicy: "IfNotPresent",

pkg/controllers/fpga/controller.go
106:							Image:           devicePlugin.Spec.Image,
107:							ImagePullPolicy: "IfNotPresent",
133:							Image:           devicePlugin.Spec.InitImage,
134:							ImagePullPolicy: "IfNotPresent",

pkg/controllers/qat/controller.go
96:							Image:           devicePlugin.Spec.Image,
97:							ImagePullPolicy: "IfNotPresent",

pkg/controllers/sgx/controller.go
108:							Image:           devicePlugin.Spec.InitImage,
109:							ImagePullPolicy: "IfNotPresent",
126:							Image:           devicePlugin.Spec.Image,
127:							ImagePullPolicy: "IfNotPresent",

Kubernetes default for tags is "IfNotPresent", "Always" is used by default for "latest" and when there's no tag: https://kubernetes.io/docs/concepts/containers/images/#updating-images
Only moving tags (like "devel") need explicit "Always" policy, but why device plugins would use such things instead of "latest" which already implies has that?
Immutable (version) tags are fine with the default policy, it doesn't need to be explicitly set.

but why device plugins would use such things instead of "latest" which already implies has that?

we don't have :latest tag on purpose: to give clear indication that there are only released versions and a development version


Filters do not persist when I switch between Event and Series views.

If I filter something in the Events view, then switch to the Series view, and then switch back to the Events view, my filter for the events is lost. I would expect my filter to persist.

Likely related https://github.com/opencast/opencast-admin-interface/issues/448

Actually more work than one would think at first glance, as we cannot simply persist the tableFilters redux slice, as it is reused by every table.


refactoring: Extract utility functions

coreosutil is now more cohesive and netutil is reusable.
This reduces the amount of copy-and-paste required to implement the upcoming node pools feature a bit less 😃

Current coverage is 55.37% (diff: 80.00%)

Merging #100 into master will decrease coverage by 0.36%

@@             master       #100   diff @@
==========================================
  Files             4          3     -1
  Lines          1062       1042    -20
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits            592        577    -15
+ Misses          388        385     -3
+ Partials         82         80     -2

Powered by Codecov. Last update 4cfbe26...1be5dcb


Socialmap: add Midot badge to data structure

On GuideStar, each association should have a "Midot Badge" field with a list of start date - expirations dates.  This will allow us to show whether the organization has a Midot badge and if they do, until when.
Keeping the dates in a list will enable us later to show/explore past data if needed.

Where should I take the data from?

Issue moved to OpenBudget/budgetkey-data-pipelines #108 via ZenHub


Images are displayed as block per default

Now that the "img-responsive" class is applied by default to images, images are always displayed as "block". Which means we can't properly use small images, inline, as a smiley.
See https://i.imgur.com/gsP9rWt.png

I'm not sure how to fix this. Maybe a dedicated [smiley] tag? What do you think?


RuntimeError: "slow_conv2d_cpu" not implemented for 'Half'

run it with cpu, and it shows a error.   RuntimeError: "slow_conv2d_cpu" not implemented for 'Half'

I have not tried this model on a CPU.
Some adaptations may be necessary.

How can I use the GPU?

Thank you. I know why. My pytorch is useless, and torch.is available() shows False. So I reinstalled a virtual environment and it worked.


Strings.h fix

1, add std header file
2, use std::regex_iterator instead of std::sregex_iterator

inline std::string ToLower(std::string input);

Is it a good time to ask a question why many of them take strings by value instead of by reference?

Refers to: src/Strings.h:22 in 729c7f5. [](commit_id = 729c7f5c3ebc3905904cd0a9c6344ef967e01dae, deletion_comment = False)


Reducing the dependency footprint

Currently I've been building a prototype to use this to provide an SMTP adapter to an internal system and I'm really loving the changes to provide this as a library.
The problem I'm facing with gaining more acceptance are the dependencies that are unrelated to the primary problem.
Is there is any appetite for contributions to reduce this footprint?
Specifically:

[x] MySQL: provide a compatible interface or use a separate repository (like maildir-processor)
[ ] Redis: provide a compatible interface or use a separate repository (like maildir-processor)
[ ] logrus: provide a compatible interface to logrus, but only directly reference in cmd/

From what I can tell, cmd/guerrillad is excluded from dependency resolution (at least by golang/dep), so it definitely can continue to import the above packages to provide a fully featured default server.

yeah, life got in the way a bit. Very close though, it would be interesting
to see how it performs. Perhaps one day!
On Fri, 16 June 2023, 16:30 Daniel White, @.***> wrote:

Hi @flashmob https://github.com/flashmob, somehow got lost along the
way. This looks pretty close. Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/flashmob/go-guerrilla/issues/94#issuecomment-1594240870,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAE6MP5NV2VZ6IYVTLW5FITXLQDQTANCNFSM4EGG2LCQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


Playground Auth examples

PR-Codex overview
This PR adds Supabase SSR support, updates Thirdweb client configuration, and implements authentication and session management features.
Detailed summary

Added Supabase SSR support with @supabase/ssr and @supabase/supabase-js
Updated Thirdweb client configuration for THIRDWEB_SECRET_KEY
Implemented authentication and session management features for Supabase and Thirdweb

The following files were skipped due to too many changes: apps/playground-web/src/components/auth/usage-with-supabase/utils/middleware.ts, apps/playground-web/src/components/auth/gated-content.tsx, apps/playground-web/public/auth-images/user.svg, apps/playground-web/src/components/auth/usage-with-supabase/components/with-supabase.tsx, pnpm-lock.yaml, apps/playground-web/src/app/connect/auth/page.tsx

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#3461  👈
main

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

Join @kien-ngo and the rest of your teammates on  Graphite


Add license

Hi,
Would you mind adding a license as I would like to use/modify your code for the purpose of a demo application for a faculty project ?

Done. Apologies for the delay.


⚠ LPDM Handbook (hosted on Divio) has degraded performance

In 68f7637, LPDM Handbook (hosted on Divio) (https://repohubdev.tk) experienced degraded performance:

HTTP code: 500
Response time: 5346 ms

Resolved: LPDM Handbook (hosted on Divio) performance has improved in 32276f7.


Makefile: wait for test server admin.kubeconfig before starting tests

Our tests expects the admin.kubeconfig and will fail if it does not exist.

/lgtm

/lgtm


Make AL2023 supported again

🗣 Description
This pull request makes Amazon Linux 2023 supported again.
💭 Motivation and context
AL2023 is supported by our Docker Ansible role as of cisagov/ansible-role-docker#70.
🧪 Testing
All automated tests pass.
✅ Pre-approval checklist

[x] This PR has an informative and human-readable title.
[x] Changes are limited to a single goal - eschew scope creep!
[x] All relevant type-of-change labels have been added.
[x] I have read the CONTRIBUTING document.
[x] These code changes follow cisagov code standards.
[x] All new and existing tests pass.

This pull requires the forthcoming Lineage update from cisagov/skeleton-ansible-role-with-test-user before it can pass its checks.

This change was taken care of in #45.


[Question/feature request] Run static website without having to put each file after bucket creation

I'm trying to get a static site working using the s3rver CLI.  Ideally, I want to point s3rver to a folder containing the source and the website configuration, and it to serve the documents correctly.
It's currently 404ing trying to retrieve index.html because the html files are not being added into the actual bucket.
Current code:
s3rver -d /website -a <IP_ADDRESS> --configure-bucket website.local /website/website-configuration.xml

Where /website contains the html files.
Output of lsing the directories (for reference, this is running in Docker):
/website # ls -la
total 24
drwxr-xr-x    3 root     root          4096 Apr 22 14:19 .
drwxr-xr-x    1 root     root          4096 Apr 22 14:19 ..
-rw-r--r--    1 root     root            85 Apr 22 14:19 error.html
-rw-r--r--    1 root     root            78 Apr 22 14:19 index.html
-rw-r--r--    1 1001     1001           243 Apr 22 13:58 website-configuration.xml
drwxr-xr-x    2 root     root          4096 Apr 22 14:19 website.local
/website # ls -la website.local/
total 12
drwxr-xr-x    2 root     root          4096 Apr 22 14:19 .
drwxr-xr-x    3 root     root          4096 Apr 22 14:19 ..
-rw-r--r--    1 root     root           227 Apr 22 14:19 ._S3rver_website.xml

Is it possible to do this?  Looking at the tests, you seem to have to create the bucket first, and then add the html files like you would add to a normal bucket.
Thanks!

Hi @scooper91! This question actually does come up a lot, I'm currently putting together some "getting started" guides that will include examples for scenarios like this.
Your best bet is to use the AWS CLI to copy your files in with aws --endpoint-url http://localhost:4568/ s3 sync. You can use a simple file watcher setup to do this pretty efficiently.


Added fy21q2 content perf metadata

Docs Build status updates of commit 67bac01:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-conceptual/azps-5.2.0/migrate-from-azurerm-to-az.md
:white_check_mark:Succeeded
View (azps-5.2.0)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


⚠ GitLab Server has degraded performance

In a14dd82, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 15605 ms

Resolved: GitLab Server performance has improved in d271b70.


[web][chrome] Flutter Web Asserting _debugPreviousLeaders!.isEmpty during normal operation.

Steps to Reproduce
Occurs when using CompositedTransformTarget and CompositedTransformFollower on a webpage and performing a Navigator.of(context).push/pop to navigate between pages. Only tested on Chrome browser 103
Expected results:
No assertion error reported.
Actual results:
======== Exception caught by scheduler library =====================================================
The following assertion was thrown during a scheduler callback:
Assertion failed: file:///C:/Android/flutter/packages/flutter/lib/src/rendering/layer.dart:2155:16
_debugPreviousLeaders!.isEmpty
is not true

When the exception was thrown, this was the stack:
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 251:49  throw_
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 29:3    assertFailed
packages/flutter/src/rendering/layer.dart 2155:16                                                                          <fn>
packages/flutter/src/scheduler/binding.dart 1146:15                                                                        [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1091:9                                                                         handleDrawFrame
packages/flutter/src/scheduler/binding.dart 997:5                                                                          [_handleDrawFrame]
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/platform_dispatcher.dart 1090:13           invoke
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/platform_dispatcher.dart 160:5             invokeOnDrawFrame
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/initialization.dart 194:45                 <fn>
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/zone.dart 1442:13                                          _rootRunUnary
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/zone.dart 1335:19                                          runUnary
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/zone.dart 1244:7                                           runUnaryGuarded
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/zone.dart 1281:26                                          <fn>
====================================================================================================

Hi @slightfoot
Please provide a completed and minimal reproducible code sample so that we may verify this?
Also, please provide the output of flutter doctor -v as well.
I was running this sample code but it didn't occur exception.
My current Chrome: Version 103.0.5060.114 (Official Build) (64-bit)

Sample code
import 'package:flutter/material.dart';

void main() {
  runApp(MaterialApp(home: Slide()));
}

class Indicator extends StatelessWidget {
  Indicator({ Key? key, required this.link, required this.offset }) : super(key: key);

  final LayerLink link;
  final Offset offset;

  @override
  Widget build(BuildContext context) {
    return CompositedTransformFollower(
      offset: offset,
      link: link,
      child: Container(
        color: Colors.green,
      ),
    );
  }
}

class Slide extends StatefulWidget {
  Slide({ Key? key }) : super(key: key);

  @override
  _SlideState createState() => _SlideState();
}

class _SlideState extends State<Slide> {
  final double indicatorWidth = 24.0;
  final double indicatorHeight = 300.0;
  final double slideHeight = 200.0;
  final double slideWidth = 400.0;

  final LayerLink layerLink = LayerLink();
  late OverlayEntry overlayEntry;
  late Offset indicatorOffset;

  Offset getIndicatorOffset(Offset dragOffset) {
    final double x = (dragOffset.dx - (indicatorWidth / 2.0)).clamp(0.0, slideWidth - indicatorWidth);
    final double y = (slideHeight - indicatorHeight) / 2.0;
    return Offset(x, y);
  }

  void showIndicator(DragStartDetails details) {
    indicatorOffset = getIndicatorOffset(details.localPosition);
    overlayEntry = OverlayEntry(
      builder: (BuildContext context) {
        return Positioned(
          top: 0.0,
          left: 0.0,
          child: SizedBox(
            width: indicatorWidth,
            height: indicatorHeight,
            child: Indicator(
                offset: indicatorOffset,
                link: layerLink
            ),
          ),
        );
      },
    );
    Overlay.of(context)?.insert(overlayEntry);
  }

  void updateIndicator(DragUpdateDetails details) {
    indicatorOffset = getIndicatorOffset(details.localPosition);
    overlayEntry.markNeedsBuild();
  }

  void hideIndicator(DragEndDetails details) {
    overlayEntry.remove();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Overlay Indicator')),
      body: Center(
        child: Column(
          children: [
            CompositedTransformTarget(
              link: layerLink,
              child: Container(
                width: slideWidth,
                height: slideHeight,
                color: Colors.blue.withOpacity(0.2),
                child: GestureDetector(
                  onPanStart: showIndicator,
                  onPanUpdate: updateIndicator,
                  onPanEnd: hideIndicator,
                ),
              ),
            ),
            GestureDetector(
              onTap: () {
                Navigator.push(
                  context,
                  MaterialPageRoute(builder: (context) => SecondRoute()),
                );
              },
              child: Container(
                width: 100,
                height: 100,
                color: Colors.amber,
              ),
            ),
          ],
        ),
      ),
    );
  }
}

class SecondRoute extends StatelessWidget {

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Second Route'),
      ),
      body: Center(
        child: ElevatedButton(
          onPressed: () {
            // Navigate back to first route when tapped.
          },
          child: const Text('Go back!'),
        ),
      ),
    );
  }
}

flutter doctor -v
[√] Flutter (Channel stable, 3.0.4, on Microsoft Windows [Version 10.0.19043.1766], locale en-US)
    • Flutter version 3.0.4 at C:\WIP\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 85684f9300 (5 days ago), 2022-06-30 13:22:47 -0700
    • Engine revision 6ba2af10bb
    • Dart version 2.17.5
    • DevTools version 2.12.2

[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at C:\AndroidSDK
    • Platform android-32, build-tools 32.0.0
    • ANDROID_HOME = C:\AndroidSDK
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.2.5)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.2.32616.157
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • 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 11.0.12+7-b1504.28-7817840)

[!] Android Studio (version 2022.1)
    • Android Studio at C:\Program Files\Android\Android Studio Electric Eel 2022.1.1
    • 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
    X Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[√] VS Code (version 1.68.1)
    • VS Code at C:\Users\ADMIN\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.42.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19043.1766]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 103.0.5060.66
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 101.0.1210.53

[√] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[√] Flutter (Channel master, 3.1.0-0.0.pre.1627, on Microsoft Windows [Version 10.0.19043.1766], locale en-US)
    • Flutter version 3.1.0-0.0.pre.1627 on channel master at C:\WIP\flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a2c2d1ad85 (9 hours ago), 2022-07-13 02:21:05 +0300
    • Engine revision 20038216ac
    • Dart version 2.18.0 (build 2.18.0-272.0.dev)
    • DevTools version 2.15.0

[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at C:\AndroidSDK
    • Platform android-32, build-tools 32.0.0
    • ANDROID_HOME = C:\AndroidSDK
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.2.5)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.2.32616.157
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • 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 11.0.12+7-b1504.28-7817840)

[!] Android Studio (version 2022.1)
    • Android Studio at C:\Program Files\Android\Android Studio Electric Eel 2022.1.1
    • 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
    X Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[√] VS Code (version 1.69.1)
    • VS Code at C:\Users\ADMIN\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.44.0

[√] Connected device (4 available)
    • SM T225 (mobile)  • R9JT3004VRJ • android-arm64  • Android 11 (API 30)
    • Windows (desktop) • windows     • windows-x64    • Microsoft Windows [Version 10.0.19043.1766]
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 103.0.5060.114
    • Edge (web)        • edge        • web-javascript • Microsoft Edge 101.0.1210.53

[√] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Thank you!