Add docstrings to show short_help when running --help

Description
This addresses #2381 by adding docstrings to cli commands which allows Click to display some informative help text when running --help. This change simply maps the existing short_help field to a docstring.
Moreover, this doesn't cause the truncation issue mentioned in #2381 becauseshort_help is already defined and overrides the 45 character truncation Click uses by default. Indeed, running pipenv --help locally results in status quo behavior:
Commands:
  check      Checks for security vulnerabilities and against PEP 508 markers
             provided in Pipfile.
  clean      Uninstalls all packages not specified in Pipfile.lock.
  graph      Displays currently-installed dependency graph information.
  install    Installs provided packages and adds them to Pipfile, or (if none
             is given), installs all packages.
  lock       Generates Pipfile.lock.
  open       View a given module in your editor.
  run        Spawns a command installed into the virtualenv.
  shell      Spawns a shell within the virtualenv.
  sync       Installs all packages specified in Pipfile.lock.
  uninstall  Un-installs a provided package and removes it from Pipfile.
  update     Runs lock, then sync.

Result
$ pipenv check --help
Usage: pipenv check [OPTIONS] [ARGS]...

  Checks for security vulnerabilities and against PEP 508 markers provided
  in Pipfile.

Options:
  --three / --two     Use Python 3/2 when creating virtualenv.
  --python TEXT       Specify which version of Python virtualenv should use.
  --system            Use system Python.
  --unused TEXT       Given a code path, show potentially unused dependencies.
  -i, --ignore TEXT   Ignore specified vulnerability during safety checks.
  --pypi-mirror TEXT  Specify a PyPI mirror.
  -h, --help          Show this message and exit.

Hi @sup!  Thanks for this, I am not against changing this however I’m going to need BDFL (@kennethreitz 🙂) approval since it’s an API change technically.

Sure thing!

BDFL gave their ok, merging!

Hey @sup, I messed up and merged the PR and then reverted it to a bug I thought was in this PR, but was not.  Could you reopen a PR so I can merge it proper?

@erinxocon oh yeah sure thing! Thanks for the info!


Release Google.Cloud.DiscoveryEngine.V1Beta version 1.0.0-beta14

Changes in this release:
New features

Add properties for nested resource name references (commit 15eec4d)
Add control service APIs (commit 50fe0e3)
Support writing user events for blended engines (commit 50fe0e3)
Support cancelling import operations (commit 50fe0e3)
Add custom model list API (commit 50fe0e3)
Add provision project API (commit 50fe0e3)

Documentation improvements

Keep the API doc up-to-date with recent changes (commit 50fe0e3)

Created release for Google.Cloud.DiscoveryEngine.V1Beta-1.0.0-beta14


cant read mail

mailsac.com not show the mail content.

There seemed to be an issue with one server losing its connection to the database. It should be fixed now but please reopen if not. Sorry about that.

i think there's still some problem. i dont receive mail.


Resolve issue #501

http://forums.oscommerce.com/tracker/issue-501-undefined-index-cart-delete/

Closing as it old now


gutil.on('event'), available?

Hi
Are there any events for when Gulp util finishes?
I.e.,
gutil.log('Log.  📕')
       .on('end', function() {});

Nope, it's just a logger


Calendar widget

Widget integration for various calendar services like google calendar, apple calendar, and iCal (and other formats) calendar imports

Would love this!


Incorrect Parameters.

In the install command line - Sample usage - the correct parameters are:
MicrosoftAzureSiteRecoveryUnifiedSetup.exe /q /x:C:\Temp\Extracted (you are missing semicolon after x: - will not extract otherwise).

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

ID: 613fc8ec-8a64-58ba-e798-706db4ef74c0
Version Independent ID: 45654ffd-6447-ba3c-aa31-3b15e30a7d10
Content: Manage the configuration server for physical server disaster recovery with Azure Site Recovery
Content Source: articles/site-recovery/physical-manage-configuration-server.md
Service: site-recovery
GitHub Login: @AnoopVasudavan
Microsoft Alias: anoopkv

@dylanhughes. Thanks! Fixed
#please-close

@dylanhughes We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Broken in IE9/10 - failing with 'Unable to get property 'getArrayObserver'

My own application is broken in IE9/10 so I thought I check if I'd done anything fundamentally wrong but after getting the latest skeleton and building, this seems to be suffering the same problem.
I've installed the mutation observers and modified the bootstrapper code so that's one problem dealt with but any further attempt to start the app results in the following error (incidently I'm running this in IE11 but emulating IE9/10) :
Unhandled promise rejection TypeError: Unable to get property 'getArrayObserver' of undefined or null reference

Now I'm a Chrome fan and have spent lots of time debugging there but IE has me completely stumped. I thought browser-sync had broken source maps so I tried live-server instead but I still can't simply set a breakpoint in XmlHttpRequest loaded javascript and reload the page :( Still, I've poked around the code to see if I can understand what's going on and here's what I know so far.
The error is thrown in aurelia-templating-resources\array-collection-strategy.js here:
    ArrayCollectionStrategy.prototype.getCollectionObserver = function getCollectionObserver(items) {
      return this.observerLocator.getArrayObserver(items);
    };

The call stack shows this is ultimately being called from repeat.js and it's just trying to bind App.  Getting back to the error suggests that this.observerLocator is undefined, which it is, and looking further at the code seems to suggest the collection-strategy base class hasn't been configured on the array-collection-strategy.
It's at this point that because I don't know how to use IE debugging (or it really is that bad!!) I'm stumped as to what's going on and whether this is actually related to the SystemJS loader instead and I should be raising this issue there instead.
Can anyone help?

Can you run jspm update on your projects and just make sure you have the absolute latest? There were some fixes around that area recently.

@philiphendry Thanks for reporting this. There was a problem injecting the observerLocator to the base class in IE9 and 10. Fix is committed.

Thanks @martingust. I'm not at all sure of the correct procedure to jspm install a branch so just to prove the fix I cloned the ie10-issue branch, built it locally, then copied the dist folder over the top of the one in the skeleton. The error has now gone and IE10 works perfectly. IE9 seems to have an access denied error when navigating the GitHub users link but I guess that some restrictive cross-domain policy nonsense which I'll look into later.

@philiphendry Thanks for testning it out!


prest 1.2.1 release build was not done successfully

👋 it looks like 1.2.1 release build was not done successfully, see the workflow run. Raise this issue for some awareness. Thanks!
relates to https://github.com/Homebrew/homebrew-core/pull/122676

Thanks for letting us know, @chenrui333 !

np at all!

Hi @chenrui333 , I’ve now fixed the publishing of prestd, please skip v1.2.1 as it’s not fixable within our workflow

yeah, totally, we actually have shipped prestd 1.2.2, thanks for the quick turnaround!


[YAML] Combine docstrings for different language variants of the same transform.

Rather than listing, for example, MapToFields-generic, MapToFields-javascript, etc. separately, this creates a single entry for all of them.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

R: @Polber


Minimize information stored in saved models

It would be useful to interrogate the object(s) output from a species distribution model (like kernlab::ksvm()). The model objects end up taking some some space on disk, and there may be elements that are not necessary for evaluation or downstream applications.

A large portion of what was being saved was the predicted probabilities raster; models are no longer saved with those predictions, but just (1) the model, (2) the evaluation of the model (dismo::evaluate), and (3) the threshold for determining presence / absence.


JavaScript optional chaining highlighting bug

Please refer to this issue: https://github.com/carbon-app/carbon/issues/1128
Thanks,

This has been fixed several releases ago.


test(auth): add unit test for auth selectors, closes #336

What:

There is really no difference between selectAuth and selectAuthState, both are memoized selectors and they are returning the same values.
I did just add another selector for good practice, even though the AuthState is very small, so today there is no practical difference. Therefore I did not take it upon myself to change code where selectAuth is used.
But if the scenario instead would be
auth: {   isAuthenticated: false,   someOtherProp: false }
and you only are interested in isAuthenticated. The selectAuth would result in multiple subscription triggers if someOtherProp would change.

Issue number: #336

PS: feel free to add yourself to the list of contributors npm run contributors:add -- erhise test and npm run contributors:generate.
https://www.npmjs.com/package/all-contributors-cli


Start of Sprint - Enable permissions for Devs

Automatic (scheduled pipeline) update @PSW-2020-ORG9/developers permissions to Write on start of sprint - 10AM Tue UTC+1

 (4) Configure scheduled jobs for managing developers team access to GitHub repository

Due to changes in the master, it is, per policy, necessary to first do a merge of master into the branch, and then can the PR be merged into master

 (0) PR Start of Sprint - Enable permissions for Devs


Virtualized rows are too slow in 'table' editing mode

material-react-table version
v2.0.4
react & react-dom versions
v.18.2.0
Describe the bug and the steps to reproduce it
When using row virtualization on a large dataset, in 'table' editing mode, if I scroll quickly, the virtualization can't keep up and I see a blank screen for a few hundred milliseconds, up to a second or two (longer than I would consider acceptable in a production app).
Questions:

Can the table editing mode rendering be sped up in some way? (Guessing not.)
Could table editing mode be seamlessly toggled off during scrolling and then back on when scrolling stops? Seems like that might work.
If there's no possible way to avoid the problem, can we show a loading spinner (ideally, a customizable one) while this is happening? That's not ideal but it would definitely improve the user experience.

Minimal, Reproducible Example - (Optional, but Recommended)
see CodeSandbox example
Screenshots or Videos (Optional)
https://github.com/KevinVandy/material-react-table/assets/8271372/cff50a7c-353e-49cf-97d2-eb1f92014601
Do you intend to try to help solve this bug with your own PR?
No, because I do not know how
Terms

[X] I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

This is somewhat expected when mixing those features. Virtualization works best when there isn't a ton of heavy components in each cell constantly mounting and unmounting.

iam getting also a big lag / blank screen with
const table = useMaterialReactTable({
// ...
        enableEditing: true,
        editDisplayMode: "cell",
        enableRowVirtualization: true,
// ...
}

https://github.com/KevinVandy/material-react-table/assets/1340319/3253717b-c819-4610-986f-5f05cb730615

@s-light I tested it on Firefox, Safari, Edge, Chrome. Edge, Chrome works fine. You can switch to these 2 browsers to use.

thanks @dangkhoa99 for testing.
chrome/edge  is no option for our clients...
as githorse already mentioned:
for me it would be fully fine if i can show a loading indicator of some sort..
are there any events i can react on?!

Virtualization works best when there isn't a ton of heavy components in each cell constantly mounting and unmounting.
have you any tips for best practice to keep it fast?
i think - in my example with the edit editDisplayMode: "cell",  it is first only rendering statics.
and only if i click in a cell it creates / mounts the edit component..
so that should not target the scrolling or otherwise rendering / update speed..?!

I'm working on a new fixed row height opt-in virtualization mode for MRT that is going to have slightly higher performance, but requires all rows to have the same height without word wrap. That might help, but the real issue here is that MUI textfields are too bloated, and rendering over 50 of them on screen at once yields poor results.

Fixed height row virtualization mode is not coming any more right now. My attempts were too buggy.
There is a lot of hope with Material UI V6 coming out Q2 of 2024 though, which will get rid of runtime Emotion styling. That will honestly make a huge difference, and I've been really looking forward to it. It will probably be the most game changing think that has happened to MRT.
https://mui.com/blog/2023-material-ui-v6-and-beyond/

If you want an idea of how much better Material React Table without Emotion runtime styles generating with virtualization will be, take a look at Mantine React Table v2. It just uses pure CSS now, and the virtualization performance is drastically better now.
https://v2.mantine-react-table.com/docs/examples/virtualized


Using ALB Ingress with annotations has bad backend link.

What steps did you take and what happened:
Install an ALB Ingress that uses the ssl-redirect:use-annotation service name and port.

What did you expect to happen?
I expect there to be a functioning link or no link at all with a tool tip explaining why?

related #987

Disable this link for ALB Ingress w/ ssl-redirect:use-annotation


Add child device support for azure (measurements)

Proposed changes
Add child device support for azure. This PR considers only measurements.
Types of changes

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
[ ] Documentation Update (if none of the other choices apply)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Paste Link to the issue
#1799
Checklist

[ ] I have read the CONTRIBUTING doc
[ ] I have signed the CLA (in all commits with git commit -s)
[ ] I ran cargo fmt as mentioned in CODING_GUIDELINES
[ ] I used cargo clippy as mentioned in CODING_GUIDELINES
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments

@toewsar Thanks for the PR, a nice addition to the azure IoT mapper.

@toewsar a few minor things still need to be addressed:

Clippy is failing due to "dead code" violation. The warning is related to the make_valid_topic_filter_or_panic function. You removed the last remaining usage of it, and now it is no longer used in the project, so I would suggest removing the function altogether (@albinsuresh, @didier-wenzek, correct me if I am wrong here)
Before we can accept a PR, each commit needs to have the CLA sign off (see CONTRIBUTING guideline. If you agree with the CLA, then you will have to commit using git commit -s -m "my commit message", it might be easiest just to reset your branch and commit once (as the changes are related to the same logical feature), but like anything with git, there are different ways to do the same thing.

I'm okay to merge that PR. There are two small things to fix though.

Clippy warning: The  make_valid_topic_filter_or_panic() function has to be removed for crates/core/tedge_mapper/src/core/converter.rs.
Duplicated code: The get_child_id_from_measurement_topic function should be moved into crates/core/tedge_api/src/topic.rs

@toewsar : if you prefer, I can push these 2 fixes to your branch.

Yes, please push these two changes.


Font Options Have No Effect

Known issue - it's a cross threading problem.  Need to investigate better way to load the bulk data reliably on another thread.

Actually, it just makes Circular Throbber bigger :D

Confirmed that font size not work, after successful (100% no errors/warnings) cooking and packaging in UE 4.12.5

It seems that it has been disabled here https://github.com/ue4plugins/LoadingScreen/commit/2f5ea7edf9a3c2a91e41542c7e156d9e5a7e0dbf


things we need

for a demo enter VR, see something that require you pay something in Bitcoin Lightning.  (different coin? stretch goal).  Do some kind of summoning thing.  See a group of people/animals/characters. Select a person to pay.  An invoices appears from thin air.  you take the invoice in hand and deliver it to the person you want to pay.
choose which chain you want to transact on
select a swap provider
get the refund address from swap provider
(on the backend, swap proivder is using bcoin node to verify that the money is sent.  stretch goal)
swap provider pays lightning invoice

[ ] bcoin instance
[ ] a server that supports CORS
[ ] no auth
[ ]
[ ]
[ ]

do some demo with yalls.org or or https://htlc.me/

since then, I think the design has shifted to focus on a 2d experience.  we'll see 🤔


Typos + suggestion

Hi Matt,
gr8 tutorial. Here's some feedback:

there's a typo:
its not spring run helloGroovy.groovy its spring run helloWorld.groovy
i think that would be nice to add a screenshot of what the .yaml file should look like when we added the values from the auth server metadata (see screenshot below):

Thanks for the bug report and suggestion @nicolastriballier-okta. I'll fix 1 and add more information for the existing listing to fix 2. I'm not going to add a screenshot because people can't copy and paste and its not a good idea to publish client IDs and secrets.

Fixed by https://github.com/okta/okta.github.io/pull/1715.


directions order needs to be reviewed

https://learn.microsoft.com/en-us/azure-stack/hci/deploy/deployment-install-os
Configure networking as per your environment. You can configure the following optional settings:
• Configure VLAN IDs for the management network. For more information, see Management VLAN ID and Management VLAN ID with a virtual switch.
Aus https://learn.microsoft.com/en-us/azure-stack/hci/deploy/deployment-install-os
Verlinkt auf:
https://learn.microsoft.com/en-us/azure-stack/hci/plan/cloud-deployment-network-considerations#management-vlan-id
u.a.
$IntentName = "MgmtCompute"
New-VMSwitch -Name "ConvergedSwitch($IntentName)" -SwitchType External -NetAdapterName "NIC1","NIC2" -EnableEmbeddedTeaming $true -AllowManagementOS $false
Aber ohne das Hyper-V installiert ist (später im Dokument)
Also müsste folgende Zeile vorher ausgeführt werden.
Install required Windows roles
1. Install the Hyper-V role. Run the following command on each server of the cluster:
PowerShellCopy
Enable-WindowsOptionalFeature -Online -FeatureNameMicrosoft-Hyper-V -All
Your servers will restart; this takes a few minutes.
Aus https://learn.microsoft.com/en-us/azure-stack/hci/deploy/deployment-install-os
kann man z.B. noch keine New-VMSwitch ausführen.

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

ID: b4a08887-7331-143b-0c16-95a30680f78e
Version Independent ID: 31dda2a9-97be-0353-7abd-785d885b1c39
Content: Install Azure Stack HCI, version 23H2 operating system - Azure Stack HCI
Content Source: azure-stack/hci/deploy/deployment-install-os.md
Service: azure-stack
Sub-service: azure-stack-hci
GitHub Login: @alkohli
Microsoft Alias: alkohli

@mailOSommer
Thanks for your feedback! We will investigate and update as appropriate.

@RamanathanChinnappan-MSFT please assign this issue to me. I have started the work on this one. Thanks!

@mailOSommer We got the issue translated inhouse. We made the change to network considerations for cloud deployment doc and added a link to Install required Windows role (Hyper-V). The change is in this PR: https://github.com/MicrosoftDocs/azure-stack-docs-pr/pull/14617 and will be merged soon.

@Naveenommi-MSFT PLease assign this issue to me. So I can merge the PR and mark it as complete.

@mailOSommer The PR is merged and the content will go live today at 10AM publish. Thank you again!
I am closing this issue now. #please-close


unable to go get minigo: undefined: internalRuntimeCode

Hi @DQNEO!
The mini Go compiler looks like a very interesting project. I wanted to take it out for a spin, but ran into the follow error when running go get:
u@x1 ~> go get github.com/DQNEO/minigo
# github.com/DQNEO/minigo
goget/src/github.com/DQNEO/minigo/main.go:106:54: undefined: internalRuntimeCode
goget/src/github.com/DQNEO/minigo/main.go:118:14: undefined: stdPkgs

Cheers,
Robin

Thanks for reporting.
go get does not work for now, so can you clone this repo by git command ?

Thanks. I used git clone followed by make. That worked well. Got the first test case running, really cool to see it work :)
u@x1 ~/D/m/minigo> ./minigo t/argv/argv.go > foo.s
u@x1 ~/D/m/minigo> as -o foo.o foo.s
u@x1 ~/D/m/minigo> clang -o foo foo.o
u@x1 ~/D/m/minigo> ./foo hello world
3
hello

I'll leave this issue open for now. Feel free to close it if you do not intend to make minigo go getable. Otherwise, close it once minigo is go getable. That way it is easier to get started with the project for outside contributors.
Happy hacking!
Cheers,
Robin

Haha, too quick on the buttons. Re-opening.

I've spent one hour in trying to fix this, but in the end I've found it's not an easy task.
A kind of deep-seated problems regarding self-hosting things.
Let me close this.


When igniting a new project...missing screens

What's going on?
When igniting a new project, I said yes to dev screens.
The ListviewExamplesScreens, LoginScreen, and LaunchScreen are there but there is no API testing screen. (See below)

Steps to reproduce

ignite a new project - add everything but I18n
See Video ⬇
https://drive.google.com/open?id=0BzlXehZt36H0b2ZuNVJzYzhuMFE

ignite doctor results:

API testing screen should be in /ignite/DevScreens folder

^ that was your problem.  We need to find out why your add permission failed.  You're on ignite beta 6, can you upgrade to ignite beta 8?


Remove BaseAspect

There is now only Aspect but its extract method is parameterized with the default being Project. This is backward compatible and makes code more understandable. It will also allow full support for AtomicAspect and other aspects derived from runtime events such as builds.

Going to try another approach to compare


Databased used on heroku

Just tried to deploy my own app on heroku following your example at https://github.com/miguelgrinberg/flasky/blob/master/config.py#L69
However, I found this https://devcenter.heroku.com/articles/sqlite3, which discourages us to use sqlite on heroku. I was just wondering if there is anything I missed about the deployment.
Thanks!

Yes, the heroku deployment uses a Postgres database, not sqlite. The book explains how to obtain a database from Heroku.


WIP: Refresh of Variorum plugin for GEOPM

This is a WIP PR for the Variorum plugin for GEOPM. The Variorum PlatformIO plugin is intended to enable integration of Variorum with GEOPM.

Thanks for the submission @amarathe84!  I will look over soon.

@amarathe84 Can we set up a phone meeting with you and anyone else who is going to be working on this port (maybe @slabasan)?
I think it would be good to start this work from the bottom up, and it would be better if I understood the Variorum interface better, so I could advise how to do that.
Usually we start by defining a C++ abstraction around the external interface (in this case the Variorum library interface).  Once this interface is defined, the logic for the classes that support the IOGroup can be tested while mocking out the external dependency.
I suggest that we start by determining the lowest level abstraction for the Variorum interface.  It may be as simple as a class with methods that map exactly to Variorum function calls.  We just need to select which of the Variorum functions will be required to implement the IOGroup.
Some examples of last level abstraction classes:
https://github.com/geopm/geopm/blob/dev/src/MSRIO.hpp
https://github.com/geopm/geopm/blob/dev/src/SSTIoctl.hpp
https://github.com/geopm/geopm/blob/dev/src/NVMLDevicePool.hpp
https://github.com/geopm/geopm/blob/dev/src/LevelZero.hpp
https://github.com/geopm/geopm/blob/dev/src/MPIComm.hpp
These each provide a thin wrapper around an external dependency, and enable us to test the rest of the implementation without the external requirements by using googlemock.
Thanks!


Can API Management use its managed identity to authenticate with Application Insights?

Application Insights supports ingesting authenticated metrics via Azure AD and RBAC using the Monitoring Metrics Publisher role. We are using this in our App Services and would like to disable Local Authentication (Instrumentation Key only) on the Application Insights resource. Will API Management detect this authentication change and switch to sending authenticated metrics using its managed identity or will it fail? I do not see an option to add an Application Insights logger and enable it to use the managed identity for authentication. Not sure if this is automatic, configured elsewhere, or just not supported yet.
If not, is there a plan to support this? ETA?
Thank you.

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

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

@krispenner
Thanks for your feedback! We will investigate and update as appropriate.

@krispner - Yes this is possible currently. Use the Logger - Create or Update REST API to create the App Insights logger. Use a payload similar to (for system-assigned managed identity):
{
  "properties": {
    "loggerType": "applicationInsights",
    "description": "adding logger using Managed Identity",
    "credentials": {
      "identityClientId": "systemAssigned",
      "connectionString": "{App Insights Connection String}")
    }
  }
}

Assign the identity the Monitoring Metrics Publisher role, and enable the logger at the scope you want in API Managemente.
Let us know if this helps. I note that our documentation for this feature is somewhat lacking, so I've created a backlog work item to improve it.

I've created a work item to address this gap in an upcoming work iteration, so per our usual process I'm closing this issue. Thanks again @krispenner for bringing it to our attention!
#please-close

@dlepow could you please provide from which api version this feature started supporting ? Since there is no proper Spec available for this API I couldn't able to find from which api version this started supporting ?


TextArea resize modifiers name and descriptions are confusing

The TextArea resize modifier names and descriptions are confusing.
.pf-m-resize-vertical has the description Modifies a <textarea> element to resize vertically. . which implies that in order to resize vertically you need to apply the modifier.  When in actual fact, applying the modifier makes it so the TextArea can ONLY be resized vertically.
Similarly the .pf-m-resize-horizontal has the description Modifies a <textarea> element to resize horizontally.

The modifier name matches the CSS property/value pair for the variation. So .pf-m-resize-vertical applies resize: vertical;, and .pf-m-resize-horizontal applies resize: horizontal;. This also affords us the ability to apply .pf-m-resize-both and/or .pf-m-resize-none (plus any additional value supported by the resize property) as additional variations in the future with no sort of class name conflicts. More on the property here - https://developer.mozilla.org/en-US/docs/Web/CSS/resize
I think the name is fine assuming you know the <textarea> CSS you want to apply, since it a direct map to the CSS you would apply.
Can you suggest different modifier names and/or descriptions that you think would be more appropriate?


Add E2E test for spice refresh CLI command

Implemented by https://github.com/spiceai/spiceai/pull/3374


Colorful Folders Truncates Folder Depth

I really love the colorful folders, but they wreak havoc on folder depth and make it hard to tell when something is inside another folder once you've reached a certain depth. See the highlighted (Series Ov) entry in the two screenshots:

vs

Is this expected behaviour?

I am sorry that I didn't notice this. Now it's fixed. Thank you for your report.


Update aws-java-sdk-bundle to 1.12.336

Updates com.amazonaws:aws-java-sdk-bundle from 1.12.330 to 1.12.336.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.amazonaws", artifactId = "aws-java-sdk-bundle" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "com.amazonaws", artifactId = "aws-java-sdk-bundle" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #2389.


Bug: OpenAPI schema generation for handler <...> detected multiple parameters named <...> with different types

Description
Hello everyone! I encountered a behavior, and I'm not sure if it's correct.
The reproduction steps are attached in the form of a repository (the following description will refer to it).
As a demonstration, I wanted to create BasicViewProvider, which is a simple key-value pair and used as dependency at Controller
class BasicViewProvider(ABC):
    """
    Abstract View Provider for demo key-value
    """

    @abstractmethod
    def put(self, key: str, value: str) -> None: ...

    @abstractmethod
    def get(self, key: str) -> str: ...

    @abstractmethod
    def delete(self, key: str) -> bool: ...

class ExampleController(Controller):
    """
    Example Controller
    """

    path = "/example"
    tags = ["Example"]

    # If we remove dependencies examples: all is OK!
    dependencies = {"view_repo": Provide(view_provider_factory)}

    @post(path="/put")  # If we remove dependencies examples: all is OK!
    async def put(
        self,
        idx: str,
        obj_id: str,
        view_repo: BasicViewProvider
    ) -> None:
        view_repo.put(idx, obj_id)
      ...

At the same time, my path group requires additional parameters (in the real task, to provide object access models via middleware). So, I register the group as
example_route = Router(
    path="/objects",
    route_handlers=[ExampleController],
    parameters={
        # For simple parameter we can provide examples to solve problem
        "team_id": Parameter(
            str,
            description="Affected team id",
            required=True,
            # examples=[
            #     Example(
            #         value="mocked-team-id-uuid",
            #         summary="summary",
            #         description="descr",
            #         external_value="Test-team-id",
            #     )
            # ],
        ),

        # For cookie parameter examples will not help
        "x-session-token": Parameter(
            str,
            description="Session JWT token",
            cookie="x-session-token",
            required=False,
            # examples=[]
        ),
    },
    # middleware=[auth_middleware()],     # Assume that we need parameters to auth and permissions
)

The handler calls work correctly and do what they should, however, after I enter Swagger, I get an error:
500: OpenAPI schema generation for handler `app.controllers.example.ExampleController.hidden` detected multiple parameters named 'x-session-token' with different types.

It's important to note that when the application starts, I add example creation in the OpenAPI configuration.
If I turn off example generation, the error disappears.
def app():

    return Litestar(
        debug=True,
        route_handlers=[example_route],
        openapi_config=OpenAPIConfig(
            title="API",
            version=Configuration.VERSION,
            description="API",
            path="/docs",
            create_examples=True,  # If we remove create examples: all is OK!
        ),
        on_startup=[__startup],
        on_shutdown=[_shutdown],
    )

If I disable dependency injection, the error disappears.
class ExampleController(Controller):
    """
    Example Controller
    """

    path = "/example"
    tags = ["Example"]

    # If we remove dependencies examples: all is OK!
    # dependencies = {"view_repo": Provide(view_provider_factory)}

    @post(path="/put")  # If we remove dependencies examples: all is OK!
    async def put(
        self,
        idx: str,
        obj_id: str,
        # view_repo: BasicViewProvider
    ) -> None:
        view_repo.put(idx, obj_id)

    @post(path="/delete")
    async def delete(
        self,
        idx: str,
        # view_repo: BasicViewProvider   # If we remove dependencies examples: all is OK!
    ) -> None:
        view_repo.delete(idx)

    @get(path="/get")
    async def get(
        self,
        idx: str,
        # view_repo: BasicViewProvider  # If we remove dependencies examples: all is OK!
    ) -> None:
        view_repo.get(key=idx)

If I set an example parameter when registering the group, the error disappears, but I was unable to set an example for a cookie-type parameter (Swagger will open, but gives infinite spinner after clicking at route).
example_route = Router(
    path="/objects",
    route_handlers=[ExampleController],
    parameters={
        # For simple parameter we can provide examples to solve problem
        "team_id": Parameter(
            str,
            description="Team ID",
            required=True,
            examples=[
                Example(
                    value="mocked-team-id-uuid",
                    summary="summary",
                    description="descr",
                    external_value="Test-team-id",
                )
            ],
        ),

        # For cookie parameter examples will not help
        "x-session-token": Parameter(
            str,
            description="Session JWT token",
            cookie="x-session-token",
            required=False,
            examples=[Example(value="mocked-session")]
        ),
    },
    # middleware=[auth_middleware()],     # Assume that we need parameters to auth and permissions
)

Next, I started investigating the cause of this behavior and found that multiple parameter declarations are being called because the examples in the Schema type differ, even when all other fields match.
litestar/_openapi/parameters.py
        pre_existing = self._parameters[(parameter.name, parameter.param_in)]
        if parameter == pre_existing: # <--------- Not equals then different examples at schema
            return

        # Add this block to understand what is different
        for key, val in parameter.__dict__.items():
            print(
                "Equals for key={}: {}".format(
                    key, val == pre_existing.__getattribute__(key)
                )
            )
            if key == "schema":
                for schema_key, schema_value in val.__dict__.items():
                    print(
                        "[Schema Field] key={}: {}".format(
                            schema_key,
                            schema_value
                            == pre_existing.__getattribute__(key).__getattribute__(
                                schema_key
                            ),
                        )
                    )
        raise ImproperlyConfiguredException(
            f"OpenAPI schema generation for handler `{self.route_handler}` detected multiple parameters named "
            f"'{parameter.name}' with different types."
        )

Which gives me next results
Equals for key=name: True
Equals for key=param_in: True
Equals for key=schema: False
[Schema Field] key=all_of: True
[Schema Field] key=any_of: True
[Schema Field] key=one_of: True
[Schema Field] key=schema_not: True
[Schema Field] key=schema_if: True
[Schema Field] key=then: True
[Schema Field] key=schema_else: True
[Schema Field] key=dependent_schemas: True
[Schema Field] key=prefix_items: True
[Schema Field] key=items: True
[Schema Field] key=contains: True
[Schema Field] key=properties: True
[Schema Field] key=pattern_properties: True
[Schema Field] key=additional_properties: True
[Schema Field] key=property_names: True
[Schema Field] key=unevaluated_items: True
[Schema Field] key=unevaluated_properties: True
[Schema Field] key=type: True
[Schema Field] key=enum: True
[Schema Field] key=const: True
[Schema Field] key=multiple_of: True
[Schema Field] key=maximum: True
[Schema Field] key=exclusive_maximum: True
[Schema Field] key=minimum: True
[Schema Field] key=exclusive_minimum: True
[Schema Field] key=max_length: True
[Schema Field] key=min_length: True
[Schema Field] key=pattern: True
[Schema Field] key=max_items: True
[Schema Field] key=min_items: True
[Schema Field] key=unique_items: True
[Schema Field] key=max_contains: True
[Schema Field] key=min_contains: True
[Schema Field] key=max_properties: True
[Schema Field] key=min_properties: True
[Schema Field] key=required: True
[Schema Field] key=dependent_required: True
[Schema Field] key=format: True
[Schema Field] key=content_encoding: True
[Schema Field] key=content_media_type: True
[Schema Field] key=content_schema: True
[Schema Field] key=title: True
[Schema Field] key=description: True
[Schema Field] key=default: True
[Schema Field] key=deprecated: True
[Schema Field] key=read_only: True
[Schema Field] key=write_only: True
[Schema Field] key=examples: False <-------------------- Only one DIFF which breaks all
[Schema Field] key=discriminator: True
[Schema Field] key=xml: True
[Schema Field] key=external_docs: True
[Schema Field] key=example: True
Equals for key=description: True
Equals for key=required: True
Equals for key=deprecated: True
Equals for key=allow_empty_value: True
Equals for key=style: True
Equals for key=explode: True
Equals for key=allow_reserved: True
Equals for key=example: True
Equals for key=examples: True
Equals for key=content: True

So my general question, is there any reasons that we need to check examples equality? Because if i ignore that field: all is OK!
URL to code causing the issue
https://github.com/Molozey/litestar-params-demo
MCVE
# Your MCVE code here

Steps to reproduce
1. Go to litestar-params-demo (reproduction repo url)
2. Run with run.py
3. Open localhost:24500/docs/swagger
4. See error
5. Set create_examples=False (run:32)
6. Open localhost:24500/docs/swagger
7. See NO error

(7.5) Try other methods described at issue

Screenshots
No response
Logs
No response
Litestar Version
litestar==2.13.0
Platform

[ ] Linux
[X] Mac
[ ] Windows
[ ] Other (Please specify in the description above)

[!NOTE]
While we are open for sponsoring on GitHub Sponsors and
OpenCollective, we also utilize Polar.sh to engage in pledge-based sponsorship.
Check out all issues funded or available for funding on our Polar.sh dashboard

If you would like to see an issue prioritized, make a pledge towards it!
We receive the pledge once the issue is completed & verified
This, along with engagement in the community, helps us know which features are a priority to our users.

For some reason adding
eq method for Schema class solves the problem

So my general question, is there any reasons that we need to check examples equality?

Yes, because this means there is a conflict, which Litestar cannot resolve on its own. If you define the same parameter with different examples, those are, as far as the OpenAPI schema is concerned, different definitions. That fact that they only differ in the examples doesn't matter much.

Can you provide a simple, self-contained example that reproduces the behaviour you're describing? With the example repository I'm not able to reproduce the error you're referencing.

Yes, this is a small example
import uvicorn
from litestar import Controller
from litestar import Litestar
from litestar import post
from litestar import Router
from litestar.di import Provide
from litestar.openapi import OpenAPIConfig
from litestar.params import Parameter
from pydantic import BaseConfig

class Configuration(BaseConfig):
    PORT: int = 24500

    VERSION: str = "v0.0.1"

class SessionTempViewProvider:
    storage: dict[str, str]

    def put(self, key: str, value: str) -> None:
        self.storage[key] = value

async def view_provider_factory() -> SessionTempViewProvider:
    return SessionTempViewProvider()

class ExampleController(Controller):
    """
    Example Controller
    """

    path = "/example"
    tags = ["Example"]

    # If we remove dependencies examples: all is OK!
    dependencies = {"view_repo": Provide(view_provider_factory)}

    @post(path="/put")  # If we remove dependencies examples: all is OK!
    async def put(
        self, idx: str, obj_id: str, view_repo: SessionTempViewProvider
    ) -> None:
        view_repo.put(idx, obj_id)

example_route = Router(
    path="/objects",
    route_handlers=[ExampleController],
    parameters={
        # For simple parameter we can provide examples to solve problem
        "team_id": Parameter(
            str,
            description="Team ID",
            required=True,
        ),
        # For cookie parameter examples will not help
        "x-session-token": Parameter(
            str,
            description="Session JWT token",
            cookie="x-session-token",
            required=False,
        ),
    },
    # middleware=[auth_middleware()],     # Assume that we need parameters to auth and permissions
)

def app():

    return Litestar(
        debug=True,
        route_handlers=[example_route],
        openapi_config=OpenAPIConfig(
            title="API",
            version=Configuration.VERSION,
            description="API",
            path="/docs",
            create_examples=True,  # If we remove create examples: all is OK!
        ),
    )

def main():
    """Run auth service"""
    uvicorn.run(
        "app.run:app",
        host="<IP_ADDRESS>",
        port=Configuration.PORT,
        reload=True,
    )

if __name__ == "__main__":
    main()

Okay so here is a minimal reproducer:
from litestar import Litestar
from litestar import post
from litestar.openapi import OpenAPIConfig
from litestar.params import Parameter

async def provider() -> str:
    return "hello"

@post(path="/")
async def handler(dep: str) -> None:
    pass

app = Litestar(
    debug=True,
    route_handlers=[handler],
    dependencies={"dep": provider},
    parameters={"team_id": Parameter(str)},
    openapi_config=OpenAPIConfig(
        title="API",
        version="",
        create_examples=True,
    ),
)

app.openapi_schema

For some reasons i cannot run your example
ValueError: Unable to configure handler 'queue_listener'

That's an unrelated issue with your Python version + how you're running it. See #3647

Thanks you, as quick solution without changing python version i make this, and get OpenAPI error about different types
def app():
    _lite_app = Litestar(
        debug=True,
        route_handlers=[handler],
        dependencies={"dep": provider},
        parameters={"team_id": Parameter()},
        openapi_config=OpenAPIConfig(
            title="API",
            version="0.0.1",
            path="/docs",
            create_examples=True,
        ),
    )
    print(_lite_app.openapi_schema)
    return _lite_app

def main():
    uvicorn.run(
        f"__main__:app",
        host="<IP_ADDRESS>",
        port=24500,
        reload=True,
    )

if __name__ == "__main__":
    main()
    ```

And now:
I'm not sure is it possible to break something, but adding to litestar.openapi.spec.schema.Schema (https://github.com/litestar-org/litestar/pull/3890) solves the problem
    def __eq__(self, other: object):
        return super().__eq__(other)


Invalid backend promise

Firstly I was trying extension with visual c++ 2015 buildtools and it was working great. Then I tried to run build to x64 but under vscode ran from 32bit visual c++ cmd. Now I am getting the following error. I have even uninstalled visual c++ 2015 buildtools and installed visual c++ 2017 community edition. Nothing seems to work.
extensionHost.ts:384 [Extension Host] Detecting environment: Visual Studio Community 2017 - x86
extensionHost.ts:384 [Extension Host] Detecting environment: Visual Studio Community 2017 - amd64
shell.ts:419 [vector-of-bool.cmake-tools] Invalid backend promise: Error: Invalid backend promise
	at new CMakeToolsWrapper (C:\Users\jas\.vscode\extensions\vector-of-bool.cmake-tools-0.10.2\out\src\wrapper.js:46:40)
	at C:\Users\jas\.vscode\extensions\vector-of-bool.cmake-tools-0.10.2\out\src\extension.js:17:23
	at Generator.next (<anonymous>)
	at C:\Users\jas\.vscode\extensions\vector-of-bool.cmake-tools-0.10.2\out\src\extension.js:7:65
	at Promise (<anonymous>)
	at __awaiter (C:\Users\jas\.vscode\extensions\vector-of-bool.cmake-tools-0.10.2\out\src\extension.js:3:12)
	at activate (C:\Users\jas\.vscode\extensions\vector-of-bool.cmake-tools-0.10.2\out\src\extension.js:15:12)
	at Function.e._callActivateOptional (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:423087)
	at Function.e._callActivate (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:422832)
	at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:422185
	at Object.m [as _notify] (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:41309)
	at Object.enter (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:44874)
	at n.Class.derive._oncancel._run (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:46702)
	at n.Class.derive._oncancel._completed (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:46143)
	at c (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:49638)
	at G.then.o.(anonymous function) (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:49852)
	at Object.m [as _notify] (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:41309)
	at Object.enter (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:44874)
	at n.Class.derive._oncancel._run (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:46702)
	at n.Class.derive._oncancel._completed (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:46143)
	at c (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:49638)
	at G.then.o.(anonymous function) (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:49852)
e.onUnexpectedError @ shell.ts:419
(anonymous) @ shell.ts:379
e.onUnexpectedError @ errors.ts:119
o @ errors.ts:138
e.$onUnexpectedError @ mainThreadErrors.ts:26
e.invoke @ abstractThreadService.ts:41
e._invokeHandler @ rpcProtocol.ts:109
e._receiveOneMessage @ rpcProtocol.ts:96
(anonymous) @ rpcProtocol.ts:32
(anonymous) @ rpcProtocol.ts:157
e.invoke @ callbackList.ts:63
e.fire @ event.ts:123
(anonymous) @ ipc.net.ts:82
emitOne @ events.js:96
emit @ events.js:191
readableAddChunk @ _stream_readable.js:178
Readable.push @ _stream_readable.js:136
onread @ net.js:560
extensionHost.ts:384 [Extension Host] Detecting environment: Visual Studio Community 2017 - arm
extensionHost.ts:384 [Extension Host] Error running C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat ERROR: Invalid host architecture 'arm'.
[ERROR:VsDevCmd.bat] *** VsDevCmd.bat encountered errors. Environment may be incomplete and/or incorrect. ***

extensionHost.ts:384 [Extension Host] Environments loaded
extensionHost.ts:384 [Extension Host] Detected available environment "Visual Studio Community 2017 - x86
extensionHost.ts:384 [Extension Host] Detected available environment "Visual Studio Community 2017 - amd64
extensionHost.ts:384 [Extension Host] Started new CMake Server instance with PID 2432
extensionHost.ts:384 [Extension Host] Received message from cmake-server:
{"supportedProtocolVersions":[{"isExperimental":true,"major":1,"minor":0}],"type":"hello"}

extensionHost.ts:384 [Extension Host] Trying to detect generator supported by system
extensionHost.ts:384 [Extension Host] Build program for generator Ninja is not found. Skipping...
extensionHost.ts:384 [Extension Host] Build program for generator Unix Makefiles is not found.  Reason: dependency `vector-of-bool.cmake-tools` failed to activate.
e._logMessageInConsole @ extensionService.ts:405
e._logOrShowMessage @ extensionService.ts:419
e.$localShowMessage @ mainThreadExtensionService.ts:31
e.invoke @ abstractThreadService.ts:41
e._invokeHandler @ rpcProtocol.ts:109
e._receiveOneMessage @ rpcProtocol.ts:96
(anonymous) @ rpcProtocol.ts:32
(anonymous) @ rpcProtocol.ts:157
e.invoke @ callbackList.ts:63
e.fire @ event.ts:123
(anonymous) @ ipc.net.ts:82
emitOne @ events.js:96
emit @ events.js:191
readableAddChunk @ _stream_readable.js:178
Readable.push @ _stream_readable.js:136
onread @ net.js:560
extensionHost.ts:384 [Extension Host] Here is the error stack:  Error: Unable to determine CMake Generator to use
	at Function.<anonymous> (C:\Users\jas\.vscode\extensions\vector-of-bool.cmake-tools-0.10.2\out\src\server-client.js:268:43)
	at Generator.next (<anonymous>)
	at fulfilled (C:\Users\jas\.vscode\extensions\vector-of-bool.cmake-tools-0.10.2\out\src\server-client.js:4:58)
	at <anonymous>
	at process._tickCallback (internal/process/next_tick.js:109:7)
extensionHost.ts:384 [Extension Host] Extension `maddouri.cmake-tools-helper` failed to activate.  Use os.tmpdir() instead.

Thanks for including the full event log. It provides some insight.
As further testing, can you try the following and report back the results:

Try deleting the .cmaketools.json file from .vscode for your project(s).
Try deleting CMakeCache.txt and CMakeFiles from your build directory.
Try disabling cmake-server in your settings.json.

Also, you mention running VSCode from a dev command prompt. Does the issue appear both inside and outside such an environment?

1.Try deleting the .cmaketools.json file from .vscode for your project(s).
2. Try deleting CMakeCache.txt and CMakeFiles from your build directory.
Already tried both of these steps before reporting this and issue still thr.
 Also, you mention running VSCode from a dev command prompt. Does the issue appear both inside and outside such an environment?
Yes issue is occurs in both cases

3. Try disabling cmake-server in your settings.json.
After disabling get following event log.
[Extension Host] Starting CMake Tools backend
extensionHost.ts:384 [Extension Host] [cmake output]: cmake version 3.9.3
extensionHost.ts:384 [Extension Host] [cmake output]:
extensionHost.ts:384 [Extension Host] [cmake output]: CMake suite maintained and supported by Kitware (kitware.com/cmake).
extensionHost.ts:384 [Extension Host] cmake exited with return code 0
extensionHost.ts:384 [Extension Host] Loading environments
extensionHost.ts:384 [Extension Host] Loading CMake Tools from d:\repo\gitlab.com\computervision\temp\.vscode\.cmaketools.json
extensionHost.ts:384 [Extension Host] Detecting environment: Visual Studio Community 2017 - x86
extensionHost.ts:384 [Extension Host] Detecting environment: Visual Studio Community 2017 - amd64
extensionHost.ts:384 [Extension Host] Detecting environment: Visual Studio Community 2017 - arm
extensionHost.ts:384 [Extension Host] Found all parseable documents.
extensionHost.ts:384 [Extension Host] Parsing documents and looking for CSS class definitions...
extensionHost.ts:384 [Extension Host] Summary:
extensionHost.ts:384 [Extension Host] 0 parseable documents found
extensionHost.ts:384 [Extension Host] 0 CSS class definitions found
extensionHost.ts:384 [Extension Host] 0 unique CSS class definitions found
extensionHost.ts:384 [Extension Host] 0 failed attempts to parse. List of the documents:
extensionHost.ts:384 [Extension Host]
shell.ts:419 [ms-vscode.cpptools] Cannot read property 'document' of undefined: TypeError: Cannot read property 'document' of undefined
	at vscode.window.onDidChangeTextEditorSelection (C:\Users\jas\.vscode\extensions\ms-vscode.cpptools-0.13.0\out\src\LanguageServer\C_Cpp.js:145:97)
	at e.invoke (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:55287)
	at e.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:57078)
	at e.$acceptSelectionsChanged (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:394527)
	at t.e.invoke (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:423958)
	at e._invokeHandler (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:280554)
	at e._receiveOneMessage (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:280244)
	at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:279271
	at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:281190
	at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:56058
	at e.invoke (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:55287)
	at e.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:57078)
	at Socket.<anonymous> (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:102495)
	at emitOne (events.js:96:13)
	at Socket.emit (events.js:191:7)
	at readableAddChunk (_stream_readable.js:178:18)
	at Socket.Readable.push (_stream_readable.js:136:10)
	at Pipe.onread (net.js:560:20)
e.onUnexpectedError @ shell.ts:419
(anonymous) @ shell.ts:379
e.onUnexpectedError @ errors.ts:119
o @ errors.ts:138
e.$onUnexpectedError @ mainThreadErrors.ts:26
e.invoke @ abstractThreadService.ts:41
e._invokeHandler @ rpcProtocol.ts:109
e._receiveOneMessage @ rpcProtocol.ts:96
(anonymous) @ rpcProtocol.ts:32
(anonymous) @ rpcProtocol.ts:157
e.invoke @ callbackList.ts:63
e.fire @ event.ts:123
(anonymous) @ ipc.net.ts:82
emitOne @ events.js:96
emit @ events.js:191
readableAddChunk @ _stream_readable.js:178
Readable.push @ _stream_readable.js:136
onread @ net.js:560
extensionHost.ts:384 [Extension Host] rejected promise not handled within 1 second
t._logExtensionHostMessage @ extensionHost.ts:384
(anonymous) @ extensionHost.ts:194
emitTwo @ events.js:106
emit @ events.js:194
process.nextTick @ internal/child_process.js:766
_combinedTickCallback @ internal/process/next_tick.js:73
_tickCallback @ internal/process/next_tick.js:104
shell.ts:419 [vector-of-bool.cmake-tools] Invalid backend promise: Error: Invalid backend promise
	at new CMakeToolsWrapper (C:\Users\jas\.vscode\extensions\vector-of-bool.cmake-tools-0.10.2\out\src\wrapper.js:46:40)
	at C:\Users\jas\.vscode\extensions\vector-of-bool.cmake-tools-0.10.2\out\src\extension.js:17:23
	at Generator.next (<anonymous>)
	at C:\Users\jas\.vscode\extensions\vector-of-bool.cmake-tools-0.10.2\out\src\extension.js:7:65
	at Promise (<anonymous>)
	at __awaiter (C:\Users\jas\.vscode\extensions\vector-of-bool.cmake-tools-0.10.2\out\src\extension.js:3:12)
	at activate (C:\Users\jas\.vscode\extensions\vector-of-bool.cmake-tools-0.10.2\out\src\extension.js:15:12)
	at Function.e._callActivateOptional (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:423087)
	at Function.e._callActivate (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:422832)
	at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:422185
	at Object.m [as _notify] (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:41309)
	at Object.enter (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:44874)
	at n.Class.derive._oncancel._run (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:46702)
	at n.Class.derive._oncancel._completed (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:46143)
	at c (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:49638)
	at G.then.o.(anonymous function) (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:49852)
	at Object.m [as _notify] (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:41309)
	at Object.enter (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:44874)
	at n.Class.derive._oncancel._run (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:46702)
	at n.Class.derive._oncancel._completed (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:46143)
	at c (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:49638)
	at G.then.o.(anonymous function) (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:28:49852)
e.onUnexpectedError @ shell.ts:419
(anonymous) @ shell.ts:379
e.onUnexpectedError @ errors.ts:119
o @ errors.ts:138
e.$onUnexpectedError @ mainThreadErrors.ts:26
e.invoke @ abstractThreadService.ts:41
e._invokeHandler @ rpcProtocol.ts:109
e._receiveOneMessage @ rpcProtocol.ts:96
(anonymous) @ rpcProtocol.ts:32
(anonymous) @ rpcProtocol.ts:157
e.invoke @ callbackList.ts:63
e.fire @ event.ts:123
(anonymous) @ ipc.net.ts:82
emitOne @ events.js:96
emit @ events.js:191
readableAddChunk @ _stream_readable.js:178
Readable.push @ _stream_readable.js:136
onread @ net.js:560
extensionHost.ts:384 [Extension Host] Error running C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat ERROR: Invalid host architecture 'arm'.
[ERROR:VsDevCmd.bat] *** VsDevCmd.bat encountered errors. Environment may be incomplete and/or incorrect. ***

extensionHost.ts:384 [Extension Host] Environments loaded
extensionHost.ts:384 [Extension Host] Detected available environment "Visual Studio Community 2017 - x86
extensionHost.ts:384 [Extension Host] Detected available environment "Visual Studio Community 2017 - amd64
extensionHost.ts:384 [Extension Host] Please set 'cmake.useCMakeServer' to 'true'
t._logExtensionHostMessage @ extensionHost.ts:384
(anonymous) @ extensionHost.ts:194
emitTwo @ events.js:106
emit @ events.js:194
process.nextTick @ internal/child_process.js:766
_combinedTickCallback @ internal/process/next_tick.js:73
_tickCallback @ internal/process/next_tick.js:104
extensionHost.ts:384 [Extension Host] cmake-tools-helper.cmake_download_path:C:\Users\jas\.vscode\extensions\maddouri.cmake-tools-helper-0.1.1\cmake_download
messageService.ts:125 Please set 'cmake.useCMakeServer' to 'true'
e.doShow @ messageService.ts:125
e.show @ messageService.ts:104
e._showMessage @ mainThreadMessageService.ts:72
n.Class.derive._oncancel @ winjs.base.raw.js:1641
e._showMessage @ mainThreadMessageService.ts:42
e.$showMessage @ mainThreadMessageService.ts:36
e.invoke @ abstractThreadService.ts:41
e._invokeHandler @ rpcProtocol.ts:109
e._receiveOneMessage @ rpcProtocol.ts:96
(anonymous) @ rpcProtocol.ts:32
(anonymous) @ rpcProtocol.ts:157
e.invoke @ callbackList.ts:63
e.fire @ event.ts:123
(anonymous) @ ipc.net.ts:82
emitOne @ events.js:96
emit @ events.js:191
readableAddChunk @ _stream_readable.js:178
Readable.push @ _stream_readable.js:136
onread @ net.js:560
extensionHost.ts:384 [Extension Host] Pass: Writing the active config
extensionHost.ts:384 [Extension Host] Sync : Connected with user : 'jas99'

Feel free to ask for more tests.
Thx

Sorry for the delay. I'm working on a large refactoring.
It looks to be something wrong with handling the vs environment detection. Did you happen to add/remove ARM toolchains?

Nope didn't add/removed ARM toolchaines

I have this same issue as well. Just happened overnight for me.

+1

Closed.
If this issues still persists in the current 0.11.0-beta4, feel free to reopen this one or create a new one.

I had this problem after changed "cmake.generator": "Unix Makefiles".
"Reload window" helped me.


Crash when trying to run flutter app on phone

Steps to Reproduce
Things worked fine yesterday, and today I can't launch my app. I haven't updated my flutter install in case this error goes away magically.
Run flutter run or launch debug run configuration from intellij
Note:

Restarting the phone doesn't solve the issue.
Restarting intelliJ doesn't solve the issue.
Restarting the computer doesn't solve the problem.
(edit) Upgrading flutter doesn't solve the issue

Logs
With -v flag:
 ❯ flutter run -v                                                                                [11:36:46]
[  +40 ms] /opt/android-sdk/platform-tools/adb devices -l
[   +4 ms] Exit code 0 from: /opt/android-sdk/platform-tools/adb devices -l
[        ] List of devices attached
           84B7N15A10004400       device usb:1-1.5 product:angler model:Nexus_6P device:angler
[   +6 ms] /opt/android-sdk/platform-tools/adb -s 84B7N15A10004400 shell getprop
[ +145 ms] /home/joel/code/flutter/bin/cache/artifacts/engine/linux-x64/sky_snapshot --packages=/home/joel/code/dart/catalogue-mouches/.packages --print-deps /home/joel/code/dart/catalogue-mouches/lib/main.dart
[ +148 ms] Exit code 0 from: /home/joel/code/flutter/bin/cache/artifacts/engine/linux-x64/sky_snapshot --packages=/home/joel/code/dart/catalogue-mouches/.packages --print-deps /home/joel/code/dart/catalogue-mouches/lib/main.dart
[   +8 ms] Running build command.
[   +3 ms] APK up to date; skipping build step.
[        ] Stopping app 'app.apk' on Nexus 6P.
[   +1 ms] /opt/android-sdk/platform-tools/adb -s 84B7N15A10004400 shell am force-stop com.stacktrace.mouches
[ +849 ms] Running install command.
[   +1 ms] /opt/android-sdk/platform-tools/adb version
[   +4 ms] Exit code 0 from: /opt/android-sdk/platform-tools/adb version
[        ] Android Debug Bridge version 1.0.36
           Revision 84e3321d5db3-android
[   +1 ms] /opt/android-sdk/platform-tools/adb start-server
[   +8 ms] Exit code 0 from: /opt/android-sdk/platform-tools/adb start-server
[        ] Installing build/app.apk...
[        ] /opt/android-sdk/platform-tools/adb -s 84B7N15A10004400 install -r build/app.apk
[+2883 ms] Exit code 0 from: /opt/android-sdk/platform-tools/adb -s 84B7N15A10004400 install -r build/app.apk
[   +1 ms] /opt/android-sdk/platform-tools/adb -s 84B7N15A10004400 shell echo -n 7afa556819325c1d83d4aba0bf5927f6289be070 > /data/local/tmp/sky.com.stacktrace.mouches.sha1
[  +20 ms] Exit code 0 from: /opt/android-sdk/platform-tools/adb -s 84B7N15A10004400 shell echo -n 7afa556819325c1d83d4aba0bf5927f6289be070 > /data/local/tmp/sky.com.stacktrace.mouches.sha1
[  +15 ms] /opt/android-sdk/platform-tools/adb -s 84B7N15A10004400 logcat -v time -t 1
[  +68 ms] Exit code 0 from: /opt/android-sdk/platform-tools/adb -s 84B7N15A10004400 logcat -v time -t 1
[        ] --------- beginning of main
           11-13 11:36:49.993 W/System  (12133): ClassLoader referenced unknown path: /system/app/KeyChain/lib/arm64
[  +11 ms] Launching loader on Nexus 6P...
[        ] /opt/android-sdk/platform-tools/adb -s 84B7N15A10004400 logcat -v time
[        ] /opt/android-sdk/platform-tools/adb version
[   +4 ms] Exit code 0 from: /opt/android-sdk/platform-tools/adb version
[        ] Android Debug Bridge version 1.0.36
           Revision 84e3321d5db3-android
[        ] /opt/android-sdk/platform-tools/adb start-server
[   +8 ms] Exit code 0 from: /opt/android-sdk/platform-tools/adb start-server
[   +3 ms] /home/joel/code/flutter/bin/cache/artifacts/engine/linux-x64/sky_snapshot --packages=/home/joel/code/dart/catalogue-mouches/.packages --snapshot=build/snapshot_blob.bin --depfile=build/snapshot_blob.bin.d --build-output=build/snapshot_blob.bin /home/joel/code/flutter/packages/flutter/bin/loader/loader_app.dart
[ +211 ms] Building build/app.flx
[ +101 ms] which zip
[   +4 ms] Encoding zip file to build/app.flx
[  +12 ms] [build/flx/] zip -q /home/joel/code/dart/catalogue-mouches/build/app.flx fonts/MaterialIcons-Regular.ttf AssetManifest.json FontManifest.json LICENSE snapshot_blob.bin
[  +76 ms] Exit code 0 from: zip -q /home/joel/code/dart/catalogue-mouches/build/app.flx fonts/MaterialIcons-Regular.ttf AssetManifest.json FontManifest.json LICENSE snapshot_blob.bin
[        ] [build/flx/] zip -q -0 /home/joel/code/dart/catalogue-mouches/build/app.flx lib/assets/black_woolly_bugger.jpg lib/assets/streamer.jpg lib/assets/caddis.jpg lib/assets/caddis_real.jpg lib/assets/minnows.jpg lib/assets/sangsue_eau.jpg lib/assets/samplehook.jpg lib/assets/green_drake_nymph.jpg lib/assets/mickey_finn.jpg
[   +8 ms] Exit code 0 from: zip -q -0 /home/joel/code/dart/catalogue-mouches/build/app.flx lib/assets/black_woolly_bugger.jpg lib/assets/streamer.jpg lib/assets/caddis.jpg lib/assets/caddis_real.jpg lib/assets/minnows.jpg lib/assets/sangsue_eau.jpg lib/assets/samplehook.jpg lib/assets/green_drake_nymph.jpg lib/assets/mickey_finn.jpg
[        ] Built build/app.flx.
[        ] Starting bundle for Nexus 6P.
[   +1 ms] Nexus 6P startBundle
[        ] /opt/android-sdk/platform-tools/adb -s 84B7N15A10004400 push build/app.flx /data/local/tmp/dev.flx
[  +80 ms] Exit code 0 from: /opt/android-sdk/platform-tools/adb -s 84B7N15A10004400 push build/app.flx /data/local/tmp/dev.flx
[        ] [  4%] /data/local/tmp/dev.flx
           [  8%] /data/local/tmp/dev.flx
           [ 13%] /data/local/tmp/dev.flx
           [ 17%] /data/local/tmp/dev.flx
           [ 21%] /data/local/tmp/dev.flx
           [ 26%] /data/local/tmp/dev.flx
           [ 30%] /data/local/tmp/dev.flx
           [ 34%] /data/local/tmp/dev.flx
           [ 39%] /data/local/tmp/dev.flx
           [ 43%] /data/local/tmp/dev.flx
           [ 47%] /data/local/tmp/dev.flx
           [ 52%] /data/local/tmp/dev.flx
           [ 56%] /data/local/tmp/dev.flx
           [ 60%] /data/local/tmp/dev.flx
           [ 65%] /data/local/tmp/dev.flx
           [ 69%] /data/local/tmp/dev.flx
           [ 74%] /data/local/tmp/dev.flx
           [ 78%] /data/local/tmp/dev.flx
           [ 82%] /data/local/tmp/dev.flx
           [ 87%] /data/local/tmp/dev.flx
           [ 91%] /data/local/tmp/dev.flx
           [ 95%] /data/local/tmp/dev.flx
           [100%] /data/local/tmp/dev.flx
[        ] /opt/android-sdk/platform-tools/adb -s 84B7N15A10004400 shell am start -a android.intent.action.RUN -d /data/local/tmp/dev.flx -f 0x20000000 --ez enable-background-compilation true --ez enable-checked-mode true com.stacktrace.mouches/org.domokit.sky.shell.SkyActivity
[ +529 ms] Exit code 0 from: /opt/android-sdk/platform-tools/adb -s 84B7N15A10004400 shell am start -a android.intent.action.RUN -d /data/local/tmp/dev.flx -f 0x20000000 --ez enable-background-compilation true --ez enable-checked-mode true com.stacktrace.mouches/org.domokit.sky.shell.SkyActivity
[        ] Starting: Intent { act=android.intent.action.RUN dat=/data/local/tmp/dev.flx flg=0x20000000 cmp=com.stacktrace.mouches/org.domokit.sky.shell.SkyActivity (has extras) }
[        ] Waiting for observatory port to be available...
[ +468 ms] I/flutter (12297): Could not start Observatory HTTP server:
[        ] I/flutter (12297): SocketException: Failed to create server socket (OS Error: Permission denied, errno = 13), address = <IP_ADDRESS>, port = 0
[        ] I/flutter (12297): #0      _NativeSocket.bind.<anonymous closure> (dart:io-patch/socket_patch.dart:524)
[        ] I/flutter (12297): #1      _RootZone.runUnary (dart:async/zone.dart:1404)
[        ] I/flutter (12297): #2      _FutureListener.handleValue (dart:async/future_impl.dart:131)
[        ] I/flutter (12297): #3      _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:637)
[        ] I/flutter (12297): #4      _Future._propagateToListeners (dart:async/future_impl.dart:667)
[        ] I/flutter (12297): #5      _Future._completeWithValue (dart:async/future_impl.dart:477)
[        ] I/flutter (12297): #6      _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:528)
[        ] I/flutter (12297): #7      _microtaskLoop (dart:async/schedule_microtask.dart:41)
[        ] I/flutter (12297): #8      _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
[        ] I/flutter (12297): #9      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:394)
[        ] I/flutter (12297): #10     _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:414)
[        ] I/flutter (12297): #11     _RawReceivePortImpl._handleMessage (dart:isolate-patch/i
[  +38 ms] E/DartVM  (12297): vm-service: Error: Unhandled exception:
[        ] E/DartVM  (12297): SocketException: Failed to create server socket (OS Error: Permission denied, errno = 13), address = <IP_ADDRESS>, port = 0
[        ] E/DartVM  (12297): #0      _NativeSocket.bind.<anonymous closure> (dart:io-patch/socket_patch.dart:524)
[        ] E/DartVM  (12297): #1      _RootZone.runUnary (dart:async/zone.dart:1404)
[        ] E/DartVM  (12297): #2      _FutureListener.handleValue (dart:async/future_impl.dart:131)
[        ] E/DartVM  (12297): #3      _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:637)
[        ] E/DartVM  (12297): #4      _Future._propagateToListeners (dart:async/future_impl.dart:667)
[        ] E/DartVM  (12297): #5      _Future._completeWithValue (dart:async/future_impl.dart:477)
[        ] E/DartVM  (12297): #6      _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:528)
[        ] E/DartVM  (12297): #7      _microtaskLoop (dart:async/schedule_microtask.dart:41)
[        ] E/DartVM  (12297): #8      _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
[        ] E/DartVM  (12297): #9      _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
[        ] E/DartVM  (12297): #10     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:149)
[        ] E/DartVM  (12297):
[        ] E/flutter (12297): [ERROR:../../flutter/runtime/dart_init.cc(137)] Isolate vm-service exited with an error
[        ] E/flutter (12297): [ERROR:../../lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
[        ] E/flutter (12297): SocketException: Failed to create server socket (OS Error: Permission denied, errno = 13), address = <IP_ADDRESS>, port = 0
[        ] E/flutter (12297): #0      _NativeSocket.bind.<anonymous closure> (dart:io-patch/socket_patch.dart:524)
[        ] E/flutter (12297): #1      _RootZone.runUnary (dart:async/zone.dart:1404)
[        ] E/flutter (12297): #2      _FutureListener.handleValue (dart:async/future_impl.dart:131)
[        ] E/flutter (12297): #3      _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:637)
[        ] E/flutter (12297): #4      _Future._propagateToListeners (dart:async/future_impl.dart:667)
[        ] E/flutter (12297): #5      _Future._completeWithValue (dart:async/future_impl.dart:477)
[        ] E/flutter (12297): #6      _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:528)
[        ] E/flutter (12297): #7      _microtaskLoop (dart:async/schedule_microtask.dart:41)
[        ] E/flutter (12297): #8      _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
[        ] E/flutter (12297): #9      _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
[        ] E/flutter (12297): #10     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:149)

Flutter Doctor
 ❯ flutter doctor                                                                                [11:38:18]
[✓] Flutter (on Linux, channel master)
    • Flutter at /home/joel/code/flutter
    • Framework revision d0ff41ec35 (3 days ago), 2016-11-10 15:33:02
    • Engine revision 84a060820a
    • Tools Dart version 1.21.0-dev.3.0

[✓] Android toolchain - develop for Android devices (Android SDK 25.0.0)
    • Android SDK at /opt/android-sdk
    • Platform android-25, build-tools 25.0.0
    • ANDROID_HOME = /opt/android-sdk
    • Java(TM) SE Runtime Environment (build 1.8.0_112-b15)

[✓] IntelliJ IDEA Ultimate Edition (version 2016.3)
    • Dart plugin installed
    • Flutter plugin installed

[✓] Connected devices
    • Nexus 6P • 84B7N15A10004400 • android-arm • Android 7.1.1 (API 25)

[ +468 ms] I/flutter (12297): Could not start Observatory HTTP server:
[        ] I/flutter (12297): SocketException: Failed to create server socket (OS Error: Permission denied, errno = 13), address = <IP_ADDRESS>, port = 0

The AndroidManifest.xml is likely missing the INTERNET permission (which is required during development).
I suspect this is https://github.com/flutter/flutter/issues/2138

Indeed, that's the case. I tried removing it, and it deployed fine. I didn't know why that permission was there in the first place.

You're the man @eseidelGoogle! I suggest adding a comment to the default manifest to justify that permission would be a great idea. Want me to open an issue for that?

Going to call this a dupe of #2138 then.  Sorry for the confusion. :(  We definitely could do better here.

Sorry, we had an edit war just now. We can use this to track editing the template, that's a good idea!

I'm going to reopen this one to use it for a slightly different fix than #2138: adding something to the manifest.

All right, good! I'll PR a comment then!

Here is the template file if someone would like eto edit:
https://github.com/flutter/flutter/blob/master/packages/flutter_tools/templates/create/android/AndroidManifest.xml.tmpl


First Issue

The first Issue. This is where it all starts.

bruh...

actually it is the 5th issue, the other 4 got deleted though

xDDDD what's the prob lem?


Feature request: add local and reformer

Thanks for this repo. Is there a possibility of adding your existing local attention and reformer implementations here?
I'm hoping they may also be able to be updated to take advantage of the upcoming attention mask support for the meff kernel in PT2.1.

yeah, I do have plans to make it so one can register custom transformer blocks. probably will be tested with mixture of experts first https://github.com/lucidrains/st-moe-pytorch, but will prob also consider local attention

I think Reformer had its chance. I don't think lsh attention will ever work that well


Format markdown when using custom role with chat or repl options

Feature request:
I would really like to have an option for markdown to be formatted when using the chat or repl options with custom roles.
Ideally, the output would be formatted by default without adding an extra flag.

Implemetned in https://github.com/TheR1D/shell_gpt/pull/462. It will be released in the upcoming version.
Makrdown formatting now depends on the role description, if it contains APPLY MARKDOWN, ShellGPT will use markdown formatting for LLM output.


pipiscrew.com

Domain name: pipiscrew.com
Link to GTMetrix results: https://gtmetrix.com/reports/pipiscrew.com/rDLMBRut/
Uncompressed page size: 340kb

Need the template to be completed.

Need the template to be completed.


Allow updating search attributes from schedule updates

What was changed
Added ability to update the SAs for schedules
Also updated Core, largely to eliminate some compiler warnings from new Rust version
Why?
Parity
Checklist

Closes https://github.com/temporalio/sdk-dotnet/issues/314

How was this tested:
Added tests

Any docs updates needed?

I looked at the Go impl while doing this and I think the language here needs to be changed: https://github.com/temporalio/sdk-go/pull/1562/files#diff-03e17ff1d7fdefff7ba8a41ea26b6f3a3135e4b084e58cef60574e60bfd9a9f2R493
It is distinctly not an upsert operation. It is straight-up replacement. An upsert would preserve unchanged attributes if they are not included in the new collection, but they are wiped out unless you manually copy the existing attributes.

Yeah would be in favor of fixing the Go SDK docs as well


Open HMF for subsystem components from library widget

Added "Open model file" option in right-click menu for subsystem components in library widget
Hide "Open source code" option for components that have no source code specified
Double-clicking on subsystem components opens model file

Slightly related issue I noticed, when I saved a subsystem as a component I got to choose the "unique" typename (subtypename)
But i could not chose the "display name" so I saved Servo1, gave it the typename "Monkey" but then it showed up in the library as Servo1, which was the instance name in my original model. (Not sure if it deserves its own issue)
Anyway user should be able to chose default (display)name as well.

Yes, that deserves its own issue. This one only covers importing such components. There are probably other errors with the export code as well.

Resolves #2117


Ollama with Devika- No Code created, as knowledge_base_context is null

Description of the bug
When using ollama with devika, the knwoledge_base_context dict is null. This causes the prompt to pass this section as null, thereby causing the example template to be rendered as the final code output.
To Reproduce
Steps to reproduce the behavior:

Go to userinterface, create a project and choose llama as the LLM from the top right
Enter the prompt to generate a calculator or an user registration screen
Click the send button, wait for devika to browse and ask a question, answer the question and continue.
But a debug breakpoint in coder.py, line 105 and inspect element.

Expected behavior
Assumption is that the knowledge base input is added to the prompt and sent to LLM.
Desktop (please complete the following information):

OS:  Linux
Browser Firefox

Additional context
In the coder/prompt.jinja, replace knowledge_base_context with search_results the value is returned in the variable, but still the code generated is the default code

I dont understand. Are you asking to add knowledge base? Because I dont think currently knowledge_base is used. Neither do we send it to the template prompt.
And why is it only specific to OLlama.
I am new to open source, please ignore if there are silly doubts which I ask but I am really interested in this project and want to work on this! Thanks!

Devika stop after web search?
it just search and suddently stop "thinking"

I have tried using Devika to complete run locally without calling any paid
APIs. And using local LLMs using Ollama. The prompts had some syntax and
json formatting errors, which when corrected, generates the example code
stored in jinja. It doesn’t generate any relevant code and when you look at
the inference it is sending to LLM, we can see that there is no other data
inferred from the web searches but just the initial user prompts and a few
queries generated by Devika.
I am currently  try to enable knowledge base and trying to make Devika
generate separate set of queries for frontend, middleware, backend and
database and trying to use multiple LLMs based on the training that was
given to them for the above purposes.
There are no silly questions as we all are amazed by the great work done by
the creators of this project. I am also trying to learn this and understand
its implementation and trying to build on top of this based on my limited
knowledge of the subject.
Regards
Viv
On Sat, 30 Mar 2024 at 7:48 PM, Md Zuhair @.***> wrote:

I dont understand. Are you asking to add knowledge base? Because I dont
think currently knowledge_base is used. Neither do we send it to the
template prompt.
And why is it only specific to OLlama.
I am new to open source, please ignore if there are silly doubts which I
ask but I am really interested in this project and want to work on this!
Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/stitionai/devika/issues/263#issuecomment-2028084534,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABOLLASD47BO7ISYLVHPVMLY23CR5AVCNFSM6AAAAABFPOMESKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRYGA4DINJTGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Yes,
It goes into a loop after prompting a question to the user and I am unable
to get any output based on the question. It does a few searches using
DuckDuckGo and shows the web pages. It does throw some exceptions as well.
But in the end,  the code that is written is the sample code from jinja
template.
As of this moment, I was able to get knowledge_base working and was able to
see a code being generated in the log file. Still working on getting Devika
to generate and run the code.
On Sat, 30 Mar 2024 at 8:00 PM, Nicolas Pereira @.***>
wrote:

Devika stop after web search?
it just search and suddently stop "thinking"
—
Reply to this email directly, view it on GitHub
https://github.com/stitionai/devika/issues/263#issuecomment-2028088553,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABOLLATKCTN2COY7XZNLBYDY23EB7AVCNFSM6AAAAABFPOMESKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRYGA4DQNJVGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

Try to use this coder.py
https://github.com/hqnicolas/devika/blob/main/src/agents/coder/coder.py
I think it was a problem with new coder.py

is it solved or not? if solved then close the issue

Latest Devika Version was Working with Ollama,
I have Freezed it on
https://github.com/hqnicolas/devika/

Thanks guys, I think https://github.com/hqnicolas/devika/ is able to generate code, will update once I complete my tests with a mvc approach in planning and codegen


Doesn't run on boot, manual opening needed

mac2mqtt 1.3.1 running on 11.5.2 doesn't launch on boot even with KeepAlive and RunAtLoad enabled in /Library/LaunchDaemons/com.bessarabov.mac2mqtt.plist. It doesn't run unless i manually run launchctl load /Library/LaunchDaemons/com.bessarabov.mac2mqtt.plist
Console shows Aug 31 10:32:24 Mac com.apple.xpc.launchd[1] (com.bessarabov.mac2mqtt[8205]): Service exited with abnormal code: 2 every minute.
What else can I check? Thanks.

Have you checked that the quarantine flag is no longer set on the file ?
to check:
xattr /Users/USERNAME/mac2mqtt/mac2mqtt
to clear:
sudo xattr -r -d com.apple.quarantine /Users/USERNAME/mac2mqtt/mac2mqtt


Add OCaml packages

Motivation for this change
Package required dependencies of https://github.com/p2pcollab/ocaml-noise-socket, package from Summer of Nix.
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

The upstream repo uses jbuild, an old version of dune. Since the change was a trivial dune upgrade, I figured it's best to just patch it and use buildDunePackage instead of figuring out how to build jbuild (probably with dune 1).

Result of nixpkgs-review pr 134657 run on x86_64-linux 1

2 packages failed to build:

ocamlPackages.callipyge
ocamlPackages.noise

3 packages built:

ocamlPackages.chacha
ocamlPackages.rfc7748
ocamlPackages.tweetnacl

Result of nixpkgs-review pr 134657 run on x86_64-linux 1
2 packages failed to build:

ocamlPackages.callipyge
ocamlPackages.noise

3 packages built:

ocamlPackages.chacha
ocamlPackages.rfc7748
ocamlPackages.tweetnacl

i think my issue isnt related with your pr:
00:02 $ nixpkgs-review pr 134657 --token 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 --post-result
$ git -c fetch.prune=false fetch --force https://github.com/NixOS/nixpkgs master:refs/nixpkgs-review/0 pull/134657/head:refs/nixpkgs-review/1
remote: Enumerating objects: 46, done.
remote: Counting objects: 100% (30/30), done.
remote: Total 46 (delta 30), reused 30 (delta 30), pack-reused 16
Unpacking objects: 100% (46/46), 9.31 KiB | 561.00 KiB/s, done.
From https://github.com/NixOS/nixpkgs
   925953db858..c570c4885c2  master                -> refs/nixpkgs-review/0
   f6802481698..0321ef00bb3  refs/pull/134657/head -> refs/nixpkgs-review/1
$ git worktree add /home/putchar/.cache/nixpkgs-review/pr-134657/nixpkgs c570c4885c2facbece14f3e2cc51b8456d4fae01
Preparing worktree (detached HEAD c570c4885c2)
Updating files: 100% (27440/27440), done.
HEAD is now at c570c4885c2 Merge pull request #134660 from dbirks/cypress-8.3.0
$ nix-env --option system x86_64-linux -f /home/putchar/.cache/nixpkgs-review/pr-134657/nixpkgs -qaP --xml --out-path --show-trace
$ git merge --no-commit --no-ff 0321ef00bb31a20bd7c338137edab0200405dfe9
Automatic merge went well; stopped before committing as requested
$ nix-env --option system x86_64-linux -f /home/putchar/.cache/nixpkgs-review/pr-134657/nixpkgs -qaP --xml --out-path --show-trace --meta
5 packages added:
ocamlPackages.callipyge (init at 0.2) ocamlPackages.chacha (init at 1.0.0) ocamlPackages.noise (init at 0.2.0) ocamlPackages.rfc7748 (init at 1.0) ocamlPackages.tweetnacl (init at 2018-04-24)

$ nix --experimental-features nix-command build --no-link --keep-going --option build-use-sandbox relaxed -f /home/putchar/.cache/nixpkgs-review/pr-134657/build.nix
error: builder for '/nix/store/0g2a5mqv8xgimqh8v4bdad9ji4jk9npj-source.drv' failed with exit code 1;
       last 7 log lines:
       >
       > trying https://github.com/oklm-wth/Callipyge/archive/v0.2.tar.gz
       >   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
       >                                  Dload  Upload   Total   Spent    Left  Speed
       >   0     9    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
       > curl: (22) The requested URL returned error: 404
       > error: cannot download source from any mirror
       For full logs, run 'nix log /nix/store/0g2a5mqv8xgimqh8v4bdad9ji4jk9npj-source.drv'.
error: 1 dependencies of derivation '/nix/store/i1pyxkxxhkrxhsrw0qjibcka126wa0ch-ocaml4.12.0-callipyge-0.2.drv' failed to build
error: 1 dependencies of derivation '/nix/store/brfac66ml52rgy8hx8kyyk2z35p6fnq6-ocaml4.12.0-noise-0.2.0.drv' failed to build
error: 2 dependencies of derivation '/nix/store/mh51nvnkr1ks76l062wbv005mwhw33px-review-shell.drv' failed to build

Link to currently reviewing PR:
https://github.com/NixOS/nixpkgs/pull/134657

2 packages failed to build:
ocamlPackages.callipyge ocamlPackages.noise

3 packages built:
ocamlPackages.chacha ocamlPackages.rfc7748 ocamlPackages.tweetnacl

error: build log of '/nix/store/i1pyxkxxhkrxhsrw0qjibcka126wa0ch-ocaml4.12.0-callipyge-0.2.drv' is not available
error: build log of '/nix/store/qbhha6f4hw880bx4a810aybjr68dy9lj-ocaml4.12.0-callipyge-0.2' is not available
Posting result comment on https://github.com/NixOS/nixpkgs/pull/134657
$ nix-shell /home/putchar/.cache/nixpkgs-review/pr-134657/shell.nix
these 7 paths will be fetched (1.96 MiB download, 11.66 MiB unpacked):
  /nix/store/4k0zv5nyq53yhmp9sk6iafxlbrzs5xsn-bash-interactive-4.4-p23-man
  /nix/store/iz7bgfvjmwdz3vgmzryhfkqwbn8zr2jn-ncurses-6.2
  /nix/store/l8vm3mc9jjyyafnbfk2clrw9q2jmap9b-bash-interactive-4.4-p23-doc
  /nix/store/nvrscqqbv2ybx0ys6nid30nxajh9qb3m-bash-interactive-4.4-p23-info
  /nix/store/r759ls1ah0cmqc8009q7b1xn91sg57q0-readline-7.0p5
  /nix/store/w07a7k61dw5gnsyxj3kgcq3shr76jax8-bash-interactive-4.4-p23
  /nix/store/xq77wmzk8d306anyk9rsvl4i4h7ihchw-bash-interactive-4.4-p23-dev
copying path '/nix/store/l8vm3mc9jjyyafnbfk2clrw9q2jmap9b-bash-interactive-4.4-p23-doc' from 'https://cache.nixos.org'...
copying path '/nix/store/nvrscqqbv2ybx0ys6nid30nxajh9qb3m-bash-interactive-4.4-p23-info' from 'https://cache.nixos.org'...
copying path '/nix/store/4k0zv5nyq53yhmp9sk6iafxlbrzs5xsn-bash-interactive-4.4-p23-man' from 'https://cache.nixos.org'...
copying path '/nix/store/iz7bgfvjmwdz3vgmzryhfkqwbn8zr2jn-ncurses-6.2' from 'https://cache.nixos.org'...
copying path '/nix/store/r759ls1ah0cmqc8009q7b1xn91sg57q0-readline-7.0p5' from 'https://cache.nixos.org'...
copying path '/nix/store/w07a7k61dw5gnsyxj3kgcq3shr76jax8-bash-interactive-4.4-p23' from 'https://cache.nixos.org'...
copying path '/nix/store/xq77wmzk8d306anyk9rsvl4i4h7ihchw-bash-interactive-4.4-p23-dev' from 'https://cache.nixos.org'...

[ nix-shell: review-shell ]

[ λ .cache/nixpkgs-review/pr-134657 ]

i will try again

Reverted back to capital C because @DieracDelta tried to build callipyge but curl returned 404 making Nix error out.
I'm really confused about all this. Mainly because it always seems to work in browsers case-insensitively. nix store prefetch-file also works fine.

@putchar can you run the review again? The reason it was failing was because I misspelled the owner :sob:

Result of nixpkgs-review pr 134657 run on x86_64-linux 1

4 packages built:

ocamlPackages.callipyge
ocamlPackages.chacha
ocamlPackages.noise
ocamlPackages.rfc7748

@ofborg build ocamlPackages.callipyge ocamlPackages.noise ocamlPackages.rfc7748 ocamlPackages.chacha


Error: error while fetching dbaas cluster xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx:  is not a valid PoolMode

Description

Upgrading the Terraform provider is not possible if the state contains old managed PostgreSQL clusters.
terraform plan returns the error message Error: error while fetching dbaas cluster xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx:  is not a valid PoolMode on old managed PostgreSQL clusters.
Expected behavior

When upgrading the IONOS Terraform provider, new API properties/fields shouldn't cause terraform plan/apply to return an error.
Environment
Terraform version:
v1.9.3

Provider version:
v6.5.6

OS:
macOS 14.6.1

How to Reproduce

As I'm not able to create a managed PostgreSQL using the old IONOS API, I'm not sure how to reproduce this bug with new configurations.
Error and Debug Output

╷
│ Error: error while fetching dbaas cluster xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx:  is not a valid PoolMode
│
│   with module.base[0].ionoscloud_pg_cluster.database,
│   on base/resources-postgresql.tf line 1, in resource "ionoscloud_pg_cluster" "database":
│    1: resource "ionoscloud_pg_cluster" "database" {
│
╵

Can you share the cluster in the tf plan? Between what versions is the upgrade?
Thanks!

From version 6.3.1 to 6.5.6.
Here's the database resource:
resource "ionoscloud_pg_cluster" "database" {
  display_name         = "${var.resource_base_name}_1"
  location             = ionoscloud_datacenter.dc.location
  postgres_version     = var.postgres_version
  cores                = 6
  ram                  = 20480
  instances            = 2
  storage_type         = "SSD"
  storage_size         = 307200
  synchronization_mode = "ASYNCHRONOUS"
  connections {
    datacenter_id = ionoscloud_datacenter.dc.id
    lan_id        = ionoscloud_lan.lan.id
    cidr          = "XXX.XXX.XXX.XXX/24"
  }
  credentials {
    username = var.database_user
    password = var.database_password
  }
  maintenance_window {
    day_of_the_week = var.maintenance_day
    time            = var.maintenance_time_postgresql
  }
  lifecycle {
    prevent_destroy = true
  }
}

@mway-niels we investigated and the issue is not from our side (Terraform provider), it is from the DBaaS API, we discussed with our colleagues from the DBaaS team and they will come up with a solution for this. If you want to find out more information about this, such as when it will be solved or other details, please send an e-mail to one of the addresses listed here: https://docs.ionos.com/support/general-information/contact-information.
We will close this issue since there is nothing to do on our side.
Thank you!

Problem was fixed on some of the clusters, not all. You can try to upgrade and see what happens.

Yes, it's working as expected now. Thank you for your support.


Ability to change password requirements

I've just installed and I have a password I want to use that doesn't meet the requirements.
There should be a way to change or disable the default requirements.

Yep, I definitely agree. I want to make it a more general password-strength thing, but didn't have the time to look into devise-security's options for things like "correct horse battery staple" passwords, which currently aren't accepted.

I will replace what we have with https://github.com/bitzesty/devise_zxcvbn, which does a much more flexible "password strength" check, so there won't be any more strict requirements, allowing all sorts of better passwords.


Re-export types from sub-packages

What should we do?
I do something like that in my code:
modeler.get<Canvas>('canvas').zoom('fit-viewport');

In order to type that correctly, I have to use the Canvas type. However, it doesn't come from camunda-bpmn-js. It comes from diagram-js/lib/core/Canvas. Which means I have to add explicitly diagram-js in my package.json file which is kind of annoying as I only use it in that single place - to get a type definition from it. I'm using pnpm which requires me to do that due to its strict nature.
Why should we do it?
Because that's generally a good practice - whenever you use some type from a dependency, re-export it to your own clients so they don't hit cases like this.

The workaround (require diagram-js explicitly) actually sounds reasonable to me. Also, this happens only if you use a super strict bundler; it does not happen if you use a bundler such as npm.
We'll otherwise re-export diagram-js > bpmn-js > camunda-bpmn-js, causing loads of duplication.


v1.4.1

I decided to consider #29 as non-breaking, as the type signature hasn't changed, and previously the link we would return was blatantly wrong. If anyone gets this update without handling the empty string case, their use will still be less broken now, arguably.

A new version of the package @metamask/etherscan-link (1.4.1) was published at 2021-02-16T17:19:55.848Z from
[redacted]. The shasum of this package was 44377c5c9be2c02ef26aff5da74bd839e50c09f9.


Can't ssh into PWD instances

Hello,
I've tried following instructions from @marcosnils  provided at https://medium.com/@marcosnils/pwd-ssh-c12080ea11d1 , but I could not connect to my instances from my laptop :
$ ssh -p 1022<EMAIL_ADDRESS>ssh: connect to host host3.labs.play-with-docker.com port 1022: Connection refused

What did I do wrong ? Thanks !

hey @anthonydahanne!. Thx for noticing Can you please try now?, I've noticed that something was missing in that particular PWD node.

that worked ! thanks a lot !
btw, I was wondering if it was possible, instead of ssh'ing into any single node, is it possible to tie my docker and docker-compose clis to the PWD created swarm ?

yes indeed. Check this out:
https://www.youtube.com/watch?v=-h2VTE9WnZs

how to plugin after downloading docker-machine-pwd source code


Add cypress 11 and 12 as valid peer dependencies

Cypress 12 changes how custom commands are handled

currently on a backpack trip but will sort out soon!

This would be awesome.

Any progress here?

Any progress here?

This was fixed in: https://github.com/uktrade/cypress-image-diff/releases/tag/v1.23.0
We can close this issue.


KNative is a platform for running your own serverless infrastructure, what if CNDI could support users building their own serverless applications?

fission.io


[ONNX][IMPORT] Add int8 support in onnx_importer

This commit adds INT8 data type support in Onnx importer.

@Shukla-Gaurav if you change the data type in the for-each loop from uint64_t to int32_t, I think the PR is good to go.