Updated step 5 on app-only-auth-powershell-v2.md

Closes https://github.com/MicrosoftDocs/office-docs-powershell/issues/7068.
Closes https://github.com/MicrosoftDocs/office-docs-powershell/issues/7113.

Docs Build status updates of commit c50669c:
:clock10: Pending: waiting for processors (7 builds ahead of you)
:warning: Docs Build is busy, currently there are 7 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit c50669c:
:clock10: Pending: waiting for processors (7 builds ahead of you)
:warning: Docs Build is busy, currently there are 7 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit c50669c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/docs-conceptual/app-only-auth-powershell-v2.md
:white_check_mark:Succeeded
View (exchange-ps)

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

Docs Build status updates of commit c50669c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/docs-conceptual/app-only-auth-powershell-v2.md
:white_check_mark:Succeeded
View (exchange-ps)

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

Docs Build status updates of commit 3450a71:
:clock10: Pending: waiting for processors (10 builds ahead of you)
:warning: Docs Build is busy, currently there are 10 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 3450a71:
:clock10: Pending: waiting for processors (10 builds ahead of you)
:warning: Docs Build is busy, currently there are 10 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 3450a71:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/docs-conceptual/app-only-auth-powershell-v2.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/docs-conceptual/media/app-only-auth-role-assignment.png
:white_check_mark:Succeeded
View (exchange-ps)

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

Docs Build status updates of commit 3450a71:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/docs-conceptual/app-only-auth-powershell-v2.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/docs-conceptual/media/app-only-auth-role-assignment.png
:white_check_mark:Succeeded
View (exchange-ps)

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

Docs Build status updates of commit c7f5c6d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/docs-conceptual/app-only-auth-powershell-v2.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/docs-conceptual/media/app-only-auth-role-assignment.png
:white_check_mark:Succeeded
View (exchange-ps)

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

Docs Build status updates of commit c7f5c6d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/docs-conceptual/app-only-auth-powershell-v2.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/docs-conceptual/media/app-only-auth-role-assignment.png
:white_check_mark:Succeeded
View (exchange-ps)

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

Docs Build status updates of commit 66932ab:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/docs-conceptual/app-only-auth-powershell-v2.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/docs-conceptual/media/app-only-auth-role-assignment.png
:white_check_mark:Succeeded
View (exchange-ps)

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

Docs Build status updates of commit 66932ab:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/docs-conceptual/app-only-auth-powershell-v2.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/docs-conceptual/media/app-only-auth-role-assignment.png
:white_check_mark:Succeeded
View (exchange-ps)

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

Docs Build status updates of commit 08b8bc9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/docs-conceptual/app-only-auth-powershell-v2.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/docs-conceptual/media/app-only-auth-role-assignment.png
:white_check_mark:Succeeded
View (exchange-ps)

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

Docs Build status updates of commit 08b8bc9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/docs-conceptual/app-only-auth-powershell-v2.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/docs-conceptual/media/app-only-auth-role-assignment.png
:white_check_mark:Succeeded
View (exchange-ps)

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

Docs Build status updates of commit 40b8ff2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/docs-conceptual/app-only-auth-powershell-v2.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/docs-conceptual/media/app-only-auth-role-assignment.png
:white_check_mark:Succeeded
View (exchange-ps)

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

Docs Build status updates of commit 40b8ff2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/docs-conceptual/app-only-auth-powershell-v2.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/docs-conceptual/media/app-only-auth-role-assignment.png
:white_check_mark:Succeeded
View (exchange-ps)

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

@chrisda Should I improve the size of the picture and add a border to it? Thanks!

@chrisda Should I improve the size of the picture and add a border to it? Thanks!

@dariomws, I'm accepting this PR, but be advised that it does NOT completely fix the issues (which I thought were all being tracked under #6865).
Apparently, there are two different versions of Azure AD UI that you see depending on Azure AD Premium 1 vs. Azure AD Premium 2 licenses. The current content and your updates apparently only apply to AAD P1; In my UI (which is apparently AAD P2), starts out the same, but then falls apart:

In the Azure AD portal under Manage Azure Active Directory, click View.
Under Manage, select Roles and administrators.
Select one of the supported roles.

I get to this screen, when I can select a role, but there are absolutely zero assignment options to select. There's no flyout and the only thing I can do is view the text description of the selected role:

I'm working with an Azure PM who coincidentally reached out to me about this topic earlier this week.
Also note that I was in the process of updating this topic (including screenshots, which I haven't added yet) but I got to Step 5 and got stuck. That in-progress version is available here:
https://github.com/MicrosoftDocs/office-docs-powershell/blob/AppAuthUpdates-chrisda/exchange/docs-conceptual/app-only-auth-powershell-v2.md
As you'll see my initial thought was to leave 2 versions of the UI instructions in Step 5. This was before I knew about AAD P1 vs P2; I thought it was "old" and "new" UI. But if the AAD PowerShell instructions are available and identical in both cases, perhaps we should switch to those?

@dariomws, I'm accepting this PR, but be advised that it does NOT completely fix the issues (which I thought were all being tracked under #6865).
Apparently, there are two different versions of Azure AD UI that you see depending on Azure AD Premium 1 vs. Azure AD Premium 2 licenses. The current content and your updates apparently only apply to AAD P1; In my UI (which is apparently AAD P2), starts out the same, but then falls apart:

In the Azure AD portal under Manage Azure Active Directory, click View.
Under Manage, select Roles and administrators.
Select one of the supported roles.

I get to this screen, when I can select a role, but there are absolutely zero assignment options to select. There's no flyout and the only thing I can do is view the text description of the selected role:

I'm working with an Azure PM who coincidentally reached out to me about this topic earlier this week.
Also note that I was in the process of updating this topic (including screenshots, which I haven't added yet) but I got to Step 5 and got stuck. That in-progress version is available here:
https://github.com/MicrosoftDocs/office-docs-powershell/blob/AppAuthUpdates-chrisda/exchange/docs-conceptual/app-only-auth-powershell-v2.md
As you'll see my initial thought was to leave 2 versions of the UI instructions in Step 5. This was before I knew about AAD P1 vs P2; I thought it was "old" and "new" UI. But if the AAD PowerShell instructions are available and identical in both cases, perhaps we should switch to those?


Changed redirect from 301 to 302

Signed-off-by: Matt Bentley<EMAIL_ADDRESS>

I ran into issues that were from 301 redirects since they are permanent when switching configs since browsers will cache a 301 and not a 302.

LGTM


feat(serverless-contracts): add eventBridge contracts

Follow-up of #231

I just need to update the docs


Unable to include embedded resource with InjectJavascript

I followed the steps but found that the InjectJavascript implementation seems it may have changed since you wrote the how-to for swashbuckle-authorize.
InspectJavascript implementation here:
https://github.com/domaindrivendev/Swashbuckle.AspNetCore/blob/master/src/Swashbuckle.AspNetCore.SwaggerUI/SwaggerUIOptionsExtensions.cs

Hi
You don't need to add script tag anywhere!
You have to only manipulate SwaggerConfig.cs file. It will add a script tag to the Swagger page.

The problem is InjectJavascript no longer has the same method signature as when you wrote the usage guide.


BLE Data Length Extension doesn't work well

Describe the bug
I used nRF52840dk as a peripheral which run ./example/bluetooth/peripheral_ots example, and my iOS device as central. I also used nRF Sniffer as packet tracer.
I found that nRF52840dk did a LL_LENGTH_REQ after the connection established, but max tx octets and max rx octets are 27. I think the correct value should be 251 because nRF52840dk as a Bluetooth controller support Data Length Extension.
Please also mention any information which could help others to understand
the problem you're facing:

What target platform are you using? nRF52840dk

To Reproduce
Steps to reproduce the behavior:

cd ./example/bluetooth/peripheral_ots
west build -p auto -b nrf52840dk_nrf52840 ./
west flash
Use "nRF Connect" app on iOS device to connect this DK.
Use a packet sniffer, it can be nRF sniffer, Ellisys or Frontline to capture LL_LENGTH_REQ/LL_LENGTH_RSP

Expected behavior
The max tx octet and max rx octet of LL_LENGTH of nRF52840dk are 251
Impact
This impacts the performance of throughput of Zephyr BLE application.
Logs and console output
DLE works abnormal.pcapng.zip

https://github.com/nrfconnect/sdk-nrf/tree/main/samples/bluetooth/throughput


Replace teliaoss resource with cryogenics/pr-queue

pr-queue resource:

Allows merging a PR using a put step
Merges latest changes from base branch into the PR before processing it
to ensure that what we are testing is representative of the final merge
Prevents merging a PR if new changes have arrived at base_branch
Will detect changes in the PR and make any job running with the previous version to fail
Trigger a new version with latest detected changes
to ensure that what we are testing is representative of the final merge
Doesn't require using version: every
Plays well with set_pipeline: self (since only 1 PR is guaranteed to be tested at a time)

As discussed during the last week's foundational infrastructure meeting, feel free to just merge changes to the ci directory without review, since ci for this repo is currently being maintained by VMware. So no other community members have context on this.

@fejnartal is the cryogenics/pr-queue-resource open source? I'm curious about it.
Could you point me where the source code can be found? Thanks.


Possible to make A2DP to support aptX, aptX-HD, aptX-LL, LDAC codecs

Is that possible to make A2DP to support aptX, aptX-HD, aptX-LL, LDAC codecs,
like done here https://github.com/cfint/esp32-a2dp-sink
It woks fine, but not for arduino (only idf), and has some modifications in Bluedroid strack based on April release of IDF.

No, you would really need push to have this integrated into the regular IDF that is part of Arduino!

Hello,
Forgive my ignorance. I'm still trying to wrap my head around the underlying concepts/mechanisms of the  ArduinoIDE, Platformio, and ESP-IDF build environments.
I would like to test the performance of this low-latency fork (@ https://github.com/cfint/esp32-a2dp-sink). For this, I suspect that I'd have to use a platformio build environment in order to pull and build against the corresponding ESP-IDF fork (@ https://github.com/cfint/esp-idf)? If so, how would I go about configuring platformio.ini?
Regards,
Gbd

Hello,
Forgive my ignorance. I'm still trying to wrap my head around the underlying concepts/mechanisms of the  ArduinoIDE, Platformio, and ESP-IDF build environments.
I would like to test the performance of this low-latency fork (@ https://github.com/cfint/esp32-a2dp-sink). For this, I suspect that I'd have to use a platformio build environment in order to pull and build against the corresponding ESP-IDF fork (@ https://github.com/cfint/esp-idf)? If so, how would I go about configuring platformio.ini?
Regards,
Gbd


fix node module error #16

There was error when I import medium-editor-markdown (#16).
The problem was that it didn't define toMarkdown.

@okmttdhr Oh, looks good! Can you double check if it doesn't affect the build scripts? It shouldn't, but just in case.
Thanks! :sparkles:

I would appreciate your checking this :bow:
1.deleted dist files

2.run ./build

3.It doesn't affect

@okmttdhr Ha! You're using tmux too, right? :smile:
Yes, it's working fine! :+1: Thanks once again.
:ship: 2.4.0 :tada:


Async/Await

I'm using a vanilla setup of StoryBook with no tweaks to babel.  If I use async/await I get an error of:
regeneratorRuntime is not defined

Typically the babel-polyfill is required to have async/await work on the client.  What are the steps to get this working within StoryBook?
I tried importing babel-polyfill within the .storybook/config.js but to no avail.
Thanks.

@philcockfield Hope you are using the latest Storybook. I'll dig into this.

@arunoda - "@kadira/storybook": "^2.5.2",

I'll bump to latest 2.18.1 and see if it fixes it.

BTW: 2.5.2 was what was in my package.json - but I was actually on 2.15.1

Confirmed - errors in the way described on 2.18.1

I tried it's works pretty fine for me.
Here's the code I used:
const delayed = new Promise((resolve) => {
  setTimeout(() => {
    resolve('Hello');
  }, 2000);
});

async function kk() {
  console.log('Begin Printing');
  const data = await delayed;
  console.log(data);
  console.log('End Printing');
}

kk();

I tried in both NPM 2 and NPM 3.
We don't use babel-polyfill and we use some other polyfills.
Could you send me some sample code and I'll try to dig into where this goes wrong?

@arunoda - weird, I've just tried your code and it works fine here too - so I've got something else strange happening in the pipeline.  Thanks for checking it out, and sorry for the false alarm.

I'm using the latest storybook (2.24.0) and am still getting this issue using redux-sagas and generators. I've done both what @philcockfield did by trying to import the babel-polyfill (as well as setting the webpack entry point for it), as well as what @arunoda said where it should just work with storybook out-the-box.

Similar issue here. I'm on 2.29.3 and have tried using babel-polyfill in my config.js, and tried taking it out. The snippet @arunoda posted above, as well as async/await in my code, throw the original error mentioned above. I'm using a couple of custom webpack loaders (for CSS modules, plus I'm importing a non-transpiled library) in my config, and have a pretty vanilla .babelrc (react, es2015, stage-0). I even tried replacing my config with the react-app preset that storybook uses by default, and it didn't help.
I've tried troubleshooting it on my own a little and could see the regenerator-runtime module adding regeneratorRuntime as a global (it actually gets executed twice, for some reason), but then by the time my config.js gets executed, window.regeneratorRuntime is undefined. I can't figure out what might be resetting it. I've got a it set as a watch variable in devtools, and for the briefest of moments Chrome reports that variable as being <not available>, and then when it comes back again it's undefined. This leads me to believe the global scope is actually getting reset somehow, though I'm not sure how that'd be happening - maybe something having to do with webpack's dev server?
@philcockfield, did you ever figure out what was throwing the error for you? @arunoda any other suggestions on what I might be able to try?

@kgoggin I've solved a very similar issue (regeneratorRuntime was expected in the global scope by redux-form-saga so it borked storybook) by simply manually adding regeneratorRuntime to the global scope in config.js (window.regeneratorRuntime =  require('babel-runtime/regenerator');). I don't like this solution and plan to investigate further later, but if you're looking for a quick workaround perhaps that'll help.

I'm having this too.
@nicolasartman's solution doesn't work for me.
manager.bundle.js:591 Uncaught TypeError: Cannot read property 'apply' of undefined

@nicolasartman Your solution works only for hot-reloading, I tried to reload a page after that and the error undefined is not a functions appears

Same issue here, I'm using generators in a Component and I run into this issue.
Did what @nicolasartman suggested and it worked. Good for a quick fix.

to fix regeneratorRuntime is not defined you can add the regenerator-runtime as a babel plugin.
// .storybook/.babelrc

  "plugins": [
    ["transform-runtime", {
      "polyfill": false,
      "regenerator": true
    }]
  ],

//.storybook/config.js
import 'babel-polyfill';

polyfill has been added

I still have the same problem with Storybook 4 and Babel 7. I'm not sure what I'm missing here. I'm using redux-sagas which requires generators. The default polyfill wasn't there I think and adding it explicitly with custom babelrc didn't work.

Add import '@babel/polyfill'; to the beginning of your storybook config

Just like @pouyas-github I was having issues with Storybook 4 and Babel 7.  It turned out using async/await in a story worked fine, the actual problem was due to a plugin (addon-storysource).  Note to self: pay attention to where the error is coming from!
To fix this, I had to tweak Storybook's .storybook/webpack.config.js:
module.exports = {
    module: {
        rules: [
            {
                test: /\.stories\.js?$/,
                loader: require.resolve('@storybook/addon-storysource/loader'),
                options: {
                    prettierConfig: {
                        parser: 'babel' // needed for async/await in stories
                    }
                },
                enforce: 'pre',
            },
            ...
    }
}


pytest and Zylinder shall fail

pytest is not able to fail because no files are tested
pylinter is deactivated

@Maxiausder4a do not accept this pull request
nimm den pull request nicht an!


F Ranks break the "Top Grades" sort

Based on comments in #653 and the titles of some relevant commits, this might either be known or irrelevant, but I'll put this here anyways just in case. Just close this if there's no need for it to exist.
Describe the bug
As the title suggests, if you have any F ranks saved on the local machine, the "Top Grades" sort will break around them. Each individual F rank will be given its own sort category, and unranked songs will be split into categories around those. A broken alphabetical sort appears within those unranked categories.
To Reproduce
Steps to reproduce the behavior:

If you currently don't have any F ranks saved on your local machine, obtain some. At least 3 should suffice to show the effects.
Open the sort menu, and use the "Top Grades" sort.
Go to the F rank and ??? sort sections, and open them to see their contents.

Screenshots
With several F ranks, here's what a sample "Top Grades" sort looks like:

Opening a F rank section reveals its contents, as well as the contents of any other F rank sections on the screen:

Nearby unranked sections will contain broken alphabetical sorts, sometimes related to the F rank songs:

Desktop (please complete the following information):

OS: Windows 10 Home
Etterna version 0.70.1
64-bit architecture

known but needed an issue

337277fa4f8d57519e4ff3aeb5051f93a35dbf62 breaks it less


Can Someone help me with how to export video with new version 0.3.2

Not able to create INSTANCE for TRINITY CORE in export activity

Not able to create INSTANCE for TRINITY CORE in export activity

Hey @hgaharwar Please find herewith the solution
You can create VideoEditor like this
In VideoEdtior Activity
var darftPath : String =  externalCacheDir?.absolutePath + "/video.mp4"
mVideoEditor = TrinityCore.createEditor(activity.this, darftPath )
In VideoExportAcitiy
var darftPath : String =  externalCacheDir?.absolutePath + "/video.mp4"
mVideoExport = TrinityCore.createExport(darftPath)
mVideoExport.export(info, this)
InRecordActivity onCreate Method put this code to delete cache prior to start new record
try {
if (File(externalCacheDir!!.absolutePath).exists()) {
File(externalCacheDir!!.absolutePath).deleteRecursively()
}
} catch (e: java.lang.Exception) {
e.printStackTrace()
}
I did very well using this code. Thanks @wlanjie  for this great library. You deserve a lot thanks


webtorrent + webrtc + AWS ec2 server seeding issues

I'm having trouble seeding a file over webrtc from an ec2 machine (webtorrent-hybrid). Are there any specific ports that need to be opened? I've opened opts.torrentPort and opts.dhtPort in my ec2 security group and both dht + regular bittorrent protocol are working. I can't however seem to download anything from my browser over webrtc which is seeded from that server.

I'm having a similar problem on a DO droplet. There's no firewall rules at all.

I also tried disabling firewall rules but not luck. I'm running my app in Docker though which might make things more complex too. I also noticed that when I enable webrtc support, my server CPU usage skyrockets.

@olalonde See https://github.com/feross/webtorrent-hybrid/issues/5
But same here, I can't seed from a Docker image.

Thanks for pointing to this issue, I'm having same issues as you it seems.

Finally doesn't seem to be a Docker issue, I can view videos with the host from a webtorrent server seeding inside Docker.

@olalonde have you fixed it? I got a semi-working seeder using xfvb (as fake screen, so no need to install a GUI desktop), electron-spawn (headless electron wrapper) (to make it work as a browser). The problem I have is that the process dies after a few hours (haven't really investigated why).

It sounds like you guys got this figured out, and the remaining issues are just related to wrtc crashing after a while and taking a lot of CPU :(


Broken behaviour for oneOf inside array

Prerequisites

[x] I have read the documentation;
[x] In the case of a bug report, I understand that providing a SSCCE example is tremendously useful to the maintainers.
[x] Ideally, I'm providing a sample JSFiddle or a shared playground link demonstrating the issue.

Description
Using oneOf inside an array, where one branch is an integer and the other branch is an object is broken. When selecting the second option, the correct fields are not rendered at all.
{
  "type": "object",
  "properties": {
    "myArray": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "type": "integer"
          },
          {
            "type": "object",
            "properties": {
              "elt1": {
                "type": "integer"
              },
              "elt2": {
                "type": "string"
              }
            },
            "required": [
              "elt1",
              "elt2"
            ]
          }
        ]
      }
    }
  }
}

playground link
Originally reported by @Rasstrelnikov here https://github.com/mozilla-services/react-jsonschema-form/issues/1141#issuecomment-460835801

How do I signup to be notified when this functionality is complete?

@PhilipK2 You can "watch" the repo to be notified of activity on it.


EPIPE error

code: 'EPIPE'
    at processTimers (internal/timers.js:497:7) {
    at listOnTimeout (internal/timers.js:554:17)
    at Timeout._onTimeout (/app/node_modules/memphis-dev/index.js:232:30)
    at Socket.writeAfterFIN [as write] (net.js:456:14)
Error: This socket has been ended by the other party
}
  code: 'EPIPE'
    at processTimers (internal/timers.js:497:7) {
    at listOnTimeout (internal/timers.js:554:17)
    at Timeout._onTimeout (/app/node_modules/memphis-dev/index.js:232:30)
    at Socket.writeAfterFIN [as write] (net.js:456:14)
Error: This socket has been ended by the other party
}
  code: 'EPIPE'
    at processTimers (internal/timers.js:497:7) {
    at listOnTimeout (internal/timers.js:554:17)
    at Timeout._onTimeout (/app/node_modules/memphis-dev/index.js:232:30)
    at Socket.writeAfterFIN [as write] (net.js:456:14)
Error: This socket has been ended by the other party
}

App code -
const memphis = require('memphis-dev');

const sleep = sec => {
return new Promise((resolve, reject) => {
setTimeout(() => {
resolve()
}, sec * 1000)
})
}

(async function () {
    try {
        await memphis.connect({
            host: 'broker.sandbox.memphis.dev',
            username: 'sanity_checks',
            connectionToken: 's0B7YGdbhcBnvHLSR4Gt'
        });

        const producer = await memphis.producer({
            stationName: 'sanity_checks',
            producerName: 'bot_producer'
        });

        const consumer = await memphis.consumer({
            stationName: "sanity_checks",
            consumerName: "bot_consumer",
            consumerGroup: "bot_consumers_cg"
        });

        consumer.on("message", message => {
            console.log(message.getData().toString());
            message.ack();
        });

        consumer.on("error", error => {
            console.log(error);
        });

        while(true) {
            for (let index = 0; index < 10; index++) {
                await producer.produce({
                    message: Buffer.from(`Message #${index}: Hello world`)
                })
            };
            await sleep(300);
        }
    } catch (ex) {
        console.log(ex);
        memphis.close();
    }
})();

Thanks for that, this has been fixed and already released on 0.3.5 version


Recording support in RTCMULTICONNECTION-v3

Hi Muaz,
In  RTCMulticonnection 3.0 how can we achieve the Recording of video/audio. And also please suggest on the custom controls for play, Pause as in all-in-one.htnl example. Thanks for your help in advance.
Please suggest

The "dev" directory is having "MediaStreamRecorder.js":

https://github.com/streamproc/MediaStreamRecorder

However you're free to use RecordRTC or similar solutions:

https://github.com/muaz-khan/RecordRTC

Here is how to record local audio and/or video stream:
connection.onstream = function(event) {
    if (event.type === 'local') {
        var recorder = {
            audio: RecordRTC(event.stream, {
                type: 'audio'
            }),
            video: RecordRTC(event.stream, {
                type: 'video'
            })
        };

        recorder.audio.startRecording();
        recorder.video.startRecording();

        // keep a global reference
        connection.streamEvents[event.streamid].recorder = recorder;
    }
};

btnStopRecording.onclick = function() {
    var streamid = prompt('Please enter local streamid');
    var recorder = connection.streamEvents[streamid].recorder;
    recorder.audio.stopRecording();
    recorder.video.stopRecording();
};

You can record remote "video" but you can't record remote "audio":

https://www.webrtc-experiment.com/demos/remote-stream-recording.html

You can merge/mux both WAV/WebM into single MP4/WebM/FLV/MKV/etc. container using ffmpeg. You can find similar demos on RecordRTC github repository.


Move Data Indexers under Data Availability

What problem does your feature solve?
Indexers are data providers: https://developers.stellar.org/docs/tools/developer-tools#data-indexers
They are not really developer tools.
What would you like to see?
Move indexers under Data Availability as a new page - See drop down menu below

What alternatives are there?

Also mention "aggregators"

Fixed with: https://github.com/stellar/stellar-docs/pull/541


Feature Request: Allow --no-binary for uv pip compile

This request is based on my use case here https://github.com/astral-sh/uv/issues/4063
Basically. I want to "allow list" sdists for a small number of packages for uv pip compile, the request in https://github.com/astral-sh/uv/issues/4063 suggests to be able to use --no-binary to do this, but --no-binary isn't currently supported by uv pip compile.
If a different solution or method is suggested for this use case, then this request is defunct.

Should be a straight-forward change to copy it over.

Yeah we can add this.

Closed by https://github.com/astral-sh/uv/pull/4301.


bug(cdk/tree): RangeError: Maximum call stack size exceeded

Is this a regression?

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

The previous version in which this bug was not present was
18.1.4
Description
Starting from @angular/cdk version 18.2.0, a bug got introduced which causes "Maximum call stack size exceeded" errors when we have a tree node with many dynamic children. From our observations, it can start already from +/- 500 child nodes.
It does not need to be deeply nested, just 1 level deep is enough, but the amount of child nodes matters.
I have not been able to reproduce it with flat cdk-tree-node, only when using the cdk-nested-tree-node. Even then, it only seems to happen when loading children dynamically plus timing (network delay) also seems to play a role.
The errors look like this:

NOTE: it can also be reproduced using the treeControl instead of childrenAccessor (like we would write it before v18.2.0). That makes no difference. Please let me know if you would like to see an example of that on StackBlitz as well...
Reproduction
StackBlitz link: https://stackblitz.com/edit/qmvryx-5s6t5r?file=src%2Fexample%2Fcdk-tree-nested-children-accessor-example.ts
Steps to reproduce:

visit above StackBlitz link
Open JS console
Expand the Root node
Observe errors is JS console

Expected Behavior
No errors in console.
Actual Behavior
An explosion of errors: RangeError: Maximum call stack size exceeded
Environment
Angular CLI: 18.2.4
Node: 20.12.2
Package Manager: pnpm 9.8.0
OS: win32 x64
Angular: 18.2.4
... animations, build, cli, common, compiler, compiler-cli, core
... forms, language-service, platform-browser
... platform-browser-dynamic, router
Package                      Version
@angular-devkit/architect    0.1802.4 (cli-only)
@angular-devkit/core         18.2.4 (cli-only)
@angular-devkit/schematics   18.2.4 (cli-only)
@angular/cdk                 18.2.3
@angular/material            18.2.3
@schematics/angular          18.2.4
rxjs                         7.8.1
typescript                   5.5.4
webpack                      5.91.0
zone.js                      0.14.10

Thank you for the super fast fix! 🙌


New issues

Issue/Feature Description:
![Screenshot from 2023-01-05 14-03-43](https://user-images.githubusercontent.com/122011666/210745989-9b5722a4-c7ed-4b9f-aabb-a0ceb1b54470
PFA Ubuntu login page
Why this issue to fixed / feature is needed(give scenarios or use cases):
How to reproduce, in case of a bug:
Other Notes /  Environment Information: (Please give the env information, log link or any useful information for this issue)

@kaliselvikks75


discussing changes to LanguageAnalyzer

Description
This a temporary/draft PR to discuss the viability of changes to the LanguageAnalyzer needed to correct some issues.
The original PR is here #779
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Let's tag @msfroh here who works on search for some 👀 . I don't understand how much of this is supposed to work, and I am looking forweard to @brentam to become an expert here and help us sort this mess out!

Let's tag @msfroh here who works on search for some 👀 . I don't understand how much of this is supposed to work, and I am looking forward to @brentam to become an expert here and help us sort this mess out!

Thanks! I'll need to go through this a bit.
I'm not clear on why the client needs to be aware of what analyzers exist server-side (especially since that can vary based on what plugins are installed on the server). I'm going to read through until I understand what the client is doing.

@reta @msfroh
Sorry, I have been busy and could not visit this thread.
I can revisit this thread in the near future. Atm, out team is more concerned with another issue.
Due to some of the builders not able to deserialize our query properly due to some erros in the implementation.
What we need is a way to pass a raw json to the seach client. (without having to deserialize to the api java classes).
I will probably create an story for this, and will be glad to work on it if you guys agree is something we should have.

What we need is a way to pass a raw json to the seach client. (without having to deserialize to the api java classes). I will probably create an story for this, and will be glad to work on it if you guys agree is something we should have.

@brentam sure, please check if we already have an issue for that , fe https://github.com/opensearch-project/opensearch-java/issues/377 may be the one your are looking for


[App Service] VSTS CI/CD config displays stack along with error message

Description
Outline the issue here:
If you attempt to configure VSTS-based CI/CD on a web app, using a Git repo, but omitting the --cd-account flag, then you get the following error:
You must provide a value for cd-account since your repo-url is not a Team Services repository.
Traceback (most recent call last):
  File "/Users/joncart/Library/Python/2.7/lib/python/site-packages/azure/cli/main.py", line 36, in main
    cmd_result = APPLICATION.execute(args)
  File "/Users/joncart/Library/Python/2.7/lib/python/site-packages/azure/cli/core/application.py", line 201, in execute
    result = expanded_arg.func(params)
  File "/Users/joncart/Library/Python/2.7/lib/python/site-packages/azure/cli/core/commands/__init__.py", line 415, in _execute_command
    exception_handler(ex)
  File "/Users/joncart/Library/Python/2.7/lib/python/site-packages/azure/cli/command_modules/appservice/commands.py", line 52, in _polish_bad_errors
    raise ex
RuntimeError: You must provide a value for cd-account since your repo-url is not a Team Services repository.

The error message itself is actually really clear. However, it would be ideal if the stack wasn't also displayed.

Environment summary
Install Method: How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly)
Answer here: pip nightly
CLI Version: What version of the CLI and modules are installed? (Use az --version)
Answer here:
azure-cli (2.0.4+1.dev20170428)
acr (2.0.2+1.dev20170428)
acs (2.0.4+1.dev20170428)
appservice (0.1.4+1.dev20170428)
batch (2.0.2+1.dev20170428)
cloud (2.0.2+1.dev20170428)
command-modules-nspkg (2.0.0+1.dev20170428)
component (2.0.2+1.dev20170428)
configure (2.0.4+1.dev20170428)
container (0.1.4+1.dev20170428)
core (2.0.4+1.dev20170428)
documentdb (0.1.4+1.dev20170428)
feedback (2.0.2+1.dev20170428)
find (0.2.1+1.dev20170428)
iot (0.1.4+1.dev20170428)
keyvault (2.0.2+1.dev20170428)
lab (0.0.3+1.dev20170428)
monitor (0.0.3+1.dev20170428)
network (2.0.4+1.dev20170428)
nspkg (3.0.0+1.dev20170428)
profile (2.0.4+1.dev20170428)
redis (0.2.1+1.dev20170428)
resource (2.0.4+1.dev20170428)
role (2.0.3+1.dev20170428)
sql (2.0.2+1.dev20170428)
storage (2.0.4+1.dev20170428)
vm (2.0.4+1.dev20170428)
Python (Darwin) 2.7.13 (default, Apr  4 2017, 08:47:57)
[GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.38)]
Python location '/usr/local/opt/python/bin/python2.7'
OS Version: What OS and version are you using?
Answer here: macOS
Shell Type: What shell are you using? (e.g. bash, cmd.exe, Bash on Windows)
Answer here: bash

//cc: @jpricketMSFT

@lostintangent - thanks for the feedback. Most error conditions with this feature just throw an error and so you will probably get a call stack. I will try to fix this soon.


(PUP-6457) Always attempt remount for out of sync options

Prior to this commit, it was possible for puppet to thing that a
mounted device was in sync with it's resource definition when it was
not. This was because if a resource had already been mounted, and a
remount was attempted with bad options, the remount would fail even
though the entry in /etc/fstab would be updated. Puppet was only
checking the resource options against etc/fstab which meant that
after this point, it would believe the mounted object to be in sync
with the puppet resource describing it, even though it was not.
Now, puppet will check the resource's options against both /etc/fstab
and the output of the mount command (on linux operating systems). This
means that it can now detect if the correct object is not mounted and
will attempt a remount.

CLA signed by all contributors.

CLA signed by all contributors.

Hm, some of the failures I saw before are back. They might be related to the switch to using "fetch". Looking into it

@HAIL9000 what's the status of this PR? Are the Travis Ci failures known?

@adrienthebo Unfortunately the spec test I wrote was only passing because of a bug in my solution and since I fixed it I haven't been able to fix the spec test. What I really need to be able to do is stub live_options but I can't figure out a way to do that without Puppet raising an error. So I was just waiting for someone to review this PR and see if they had suggestions (you can see my comments on the spec test above for more details)

I'm :+1: on this at this point. It doesn't solve all the weird edge cases, but it'll handle the case in the ticket.
We're going to have to put some thought into how to phrase the release notes for this, though

@HAIL9000 should this be targeted at stable to land in 4.7.1?

@branan That seems like a good idea? The customer has been waiting on it for a while.


Remove check of auth.type for compatibility with Quart framework

This is a quick fix to make this extension work with Quart, which is an async flavour of Flask.
Unfortunately, auth objects in Quart don't seem to have a .type attribute.

Nevermind, there's a further error in the challenge() method:
TypeError: __init__() missing 1 required positional argument: 'response'


Custom Scrollbar

Current scrollbar implementation is using a CSS default. The VSCode scrollbar is much thinner and has a sleeker look. Implementing a custom scrollbar would allow us to mimic VSCode's more closely.
Reference links:
https://developer.mozilla.org/en-US/docs/Web/CSS/::-webkit-scrollbar

This looks like it's done!


enable typescript by default

What is the purpose of this pull request? (put an "X" next to item)
[ ] Documentation update
[ ] Bug fix
[x] New feature
[ ] Other, please explain:
What changes did you make? (Give an overview)
Added typescript and typescriptreact to default languages. Refactored a bit to make the code more readable
Which issue (if any) does this pull request address?
#82
Is there anything you'd like reviewers to focus on?

Sorry for the delay on this!


Create scope user command

Describe your feature request
Add a (shortcut) command to create a scope user:

Provide a form with variables infered from the SIGNUP scope function
Execute SIGNUP function of the scope and handle success/failure

Are you willing to contribute this feature?
I can work on it, if needed.

Implemented in version 2.0.5


Tasks that claim to emit results but don't should fail

Expected Behavior
If I create a Task which claims to emit a result, but it doesn't, the TaskRun should fail, i.e. I should be able to rely on the interface a Task claims to provide.
Actual Behavior
This will only be considered a failure if something in the Pipeline tries to use the result; if nothing tries to use the result, there will be no error, but if something does try to use the result you will get an error like:
tkn pr list
NAME                     STARTED          DURATION    STATUS
sum-three-pipeline-run   10 minutes ago   5 seconds   Failed(InvalidTaskResultReference)

Steps to Reproduce the Problem
I took this example pipeline with results and made a few changes:

add-task no longer emits a result, tho it claims to
the pipeline no longer refers to results from add-task

apiVersion: tekton.dev/v1beta1
kind: Task
metadata:
  name: add-task
spec:
  params:
    - name: first
      description: the first operand
    - name: second
      description: the second operand
  results:
    - name: sum
      description: the sum of the first and second operand
  steps:
    - name: add
      image: alpine
      env:
        - name: OP1
          value: $(params.first)
        - name: OP2
          value: $(params.second)
      command: ["/bin/sh", "-c"]
      args:
        - echo -n $((${OP1}+${OP2}))
---
apiVersion: tekton.dev/v1beta1
kind: Pipeline
metadata:
  name: sum-three-pipeline
spec:
  params:
    - name: first
      description: the first operand
    - name: second
      description: the second operand
    - name: third
      description: the third operand
  tasks:
    - name: first-add
      taskRef:
        name: add-task
      params:
        - name: first
          value: $(params.first)
        - name: second
          value: $(params.second)
    - name: second-add
      taskRef:
        name: add-task
      params:
        - name: first
          value: "5"
        - name: second
          value: $(params.third)
---
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
  name: sum-three-pipeline-run
spec:
  pipelineRef:
    name: sum-three-pipeline
  params:
    - name: first
      value: "2"
    - name: second
      value: "10"
    - name: third
      value: "10"

If you apply this, you will see that it runs successfully. If you add any references to the results, the run will fail.
Additional Info

Kubernetes version: v1.16.13-gke.401

Tekton Pipeline version: HEAD @ 7b5b2fa3ddd99d52baaa10face967b603c6940ee

FYI in https://github.com/tektoncd/pipeline/pull/3472 we're removing the behaviour where a PipelineRun is put into a failed state due to a Task dropping a result.  Feedback welcome!

thanks @bobcatfish, https://github.com/tektoncd/pipeline/issues/2701 has some discussion as well

I feel like this depends on what we define with "producing a result". I think with the current code today is:

no file created -> result not produced
file exists, empty -> empty result is produced (which will be an empty string)

That said, it is probably good to continue to force tasks to produce a result like they do today (unless we introduce support for default values, and a task specifies a default), as this would help task authors and users to avoid silent failures from being ignored.

@bobcatfish do you still want to pursue this one or should we leave it for the time being?

Note: with the new feature gate / flagging work this would be classified as a backwards incompatible change and would therefore need its own feature flag.  It could be made the default for a new apiVersion, such as v1.

Feels like we are still not 100% sure what the desired behavior is here so I'd like to keep discussing
/remove-lifecycle rotten

I'd still like to bring this forward at some point and decide how to address this as a community - maybe as part of v1 discussions? but it hasnt been a priority yet :(
/remove-lifecycle stale

In TEP-0075, we are planning to support object results. These results embrace the optional by default behavior of JSON Schema. A task can produce an object result with a missing attribute and it won't fail. However, a subsequent task will fail if it attempts to use the missing attribute from the object result, causing the pipeline to fail. That makes the object results attributes optional if not used, and required if used. That behavior is consistent with the existing behavior reported in this issue as a bug, so wondering if we should document this behavior and close this issue?

I'm still leaning toward failing tasks that claim to emit results but fail and I'll try to explain why.
The Task spec defines the interface of the task, including:

params it needs to be operate, which can be optional if defaults are provided
results it declares it will produce, which consumers of the Task should be able to expect and rely on

In TEP-0075 we add support for results to declare they are of type object and we start to support defining the schema of that object, using JSON schema.
The crux of the problem is, what does it mean if a Task declares it will produce a result with a JSON schema indicating it will have key "foo" but it does not have that key at runtime? JSON schema allows for keys to be declared as "required" and assumes all keys are optional by default. So if a Task declares that it will produce a result with the key "foo" and it does not, it is still technically meeting the contract it declared in that the schema it defined did say that key was optional 😭
However I think it is different when we are talking about the results themselves; I don't think the same logic we apply to each individual result that a Task declares it produces needs to the same as the application of the schema we apply to validate those results. imo it all comes down to: did the Task fulfill the contract it declared. If it said it would make a result and did not make that result, I believe it did not fulfill its contract.
So in the example of a Task declaring a result with a schema indicating it is an object with (implied optional) key foo, I would think:

Producing no result at all (i.e. writing nothing to /tekton/results/my-result) would be an error
Producing an empty object (i.e. writing {} to /tekton/results/my-result) would fulfill its contract (it emitted the result it said it would and it matched the schema)
Producing an object with key "foo" (i.e. writing {"foo": "bar"} to /tekton/results/my-result) would fulfill its contract
Producing an object with key "foo" and additional keys (e.g. writing {"foo": "bar", "baz":"qux"} to /tekton/results/my-result) would also fulfill the contract (unless the schema included additionalProperties:false)

All of that being said I can see why this would be confusing 😅  maybe we can find a compromise in TEP-0075 that manages to balance both worlds, I'm going to make a suggestion over there.

@bobcatfish thank you for the detailed discussion above - makes sense to distinguish between producing results and keys in object results - especially given that users will have control to say that they keys are required if they wish
agreed, we can go ahead with making the results themselves required - we'll need to explain this well in the docs though (cc @vinamra28)

/assign @vinamra28

/assign

@vinamra28 is implementing TEP-0048 which addresses this issue

related: https://github.com/tektoncd/pipeline/pull/6817

As discussed during the API WG on 17.07, moving this to nice-to-have for v1, in favour of https://github.com/tektoncd/pipeline/issues/6932


support for the plug mini

Problem
Hello, I'm trying to operate the "plug mini" from nodeJS on raspberry pi 3b+ hardware. I somehow was successfully able to decode the advertisement packet (which is drastically different from any other Switchbot product) but have zero success in sending a command. The noble Peripheral.getService() call almost always fails with the Failed to discover services and characteristics: DISCONNECTED message. Sometimes the getService() call succeeds but returns [] which triggers the No service found error.
This seems to be RaspberryPi issue. To investigate, I have the following python code that worked several times (out of ~100 attempts). Most of the times, it fails at the Peripheral instantiation step.
import binascii
import time
from bluepy.btle import Peripheral

print('get peripheral')

p = Peripheral('60:55:f9:35:f6:a6')

print(p)

print ('get service')
plugmini_service = p.getServiceByUUID('cba20d00-224d-11e6-9fb8-0002a5d5c51b')

print ('get characteristic')
plugmini = plugmini_service.getCharacteristics('cba20002-224d-11e6-9fb8-0002a5d5c51b')[0]

print(plugmini)

print("off")
plugmini.write(binascii.a2b_hex('570f50010100'))
time.sleep(5)

print("on")
plugmini.write(binascii.a2b_hex('570f50010180'))
time.sleep(5)

p.disconnect()

Solution
My implementation can be found here. j model Plug Mini advertisements are successfully parsed. I'm hesitant to create a pull request because first, I don't have a US plug mini , second, the SwitchbotDeviceWoPlugMini class doesn't work (while theoretically it should). I tried ~500 times in succession without any luck.
Alternatives
No response
Additional context
I'm using a JP plug mini on Raspberry Pi3B+ hardware.

@cocoabox Please submit a pull request. Maybe someone from SwitchBot can help us, once we merge it.

@donavanbecker Thanks! Please see https://github.com/OpenWonderLabs/node-switchbot/pull/141/


feat: Added Latest Ai Tools

Related Issue
Closes #1146
Description
Need to add new and free latest AI tools so that Website should be more useful and sustainable to the visitors .

[]https://ibb.co/nRdrH3N)

Checklist

[x] My code adheres to the established style guidelines of the project.
[x] I have included comments in areas that may be difficult to understand.
[x] My changes have not introduced any new warnings.
[x] I have conducted a self-review of my code.

@JasonDsouza212  Just added some latest tools to the site ...... hope you merge soon!

@JasonDsouza212  please label it as GSSOC23

@JasonDsouza212 please label it as GSSOC23

@AkshayPratapSingh09 , check Discussion for the latest update on this

@JasonDsouza212  ok then at least you can review it and merge it....I will try to find some betterment tomorrow. There is a lot of scope for redesigning..!


Disabling k3d, etc in Jupyter notebook

I am using vtkplotter with Trimesh in Jupyter notebook, but the k3d display takes about 5 seconds to load every time I run the cell with the show command. So I want to disable the k3d display and just use the default separate window. Right now I do this by uninstalling k3d from my Python environment. Is there a better way?

@panangam
you can do it this way:
from vtkplotter import embedWindow

embedWindw(False)

it is a bit strange though that it take so long..

Thank you! Let me see if I can make a reproducible code to show the slowness.

This is all I'm doing in Jupyter
import trimesh
import vtkplotter
body_mesh = trimesh.load_mesh('censored_scan.obj')
vtkplotter.show(body_mesh)

Here's the mesh file I'm using:
censored_scan.obj.zip

that's interesting.. on my system it only takes 0.7s to show it:

same if i use
vtkplotter.embedWindow('itk')
How much does it take outside jupyter e.i. a normal python script?

that's interesting.. on my system it only takes 0.7s to show it:

same if i use
vtkplotter.embedWindow('itk')
How much does it take outside jupyter e.i. a normal python script?

Interesting. I duplicated your code here, and it took about 1 second for the display to show up. However, my Jupyter screen froze for about 10 seconds after that before I could do anything else. A different notebook in a different tab froze at the same time as well.
This is probably not a vtkplotter issue, so we can close this. I'd appreciate any suggestion for what to check though.

k3d examples didn't give me any trouble. In fact, doing
body_mesh = trimesh.load_mesh('censored_scan.obj')
plt = k3d.plot()
mesh = k3d.mesh(body_mesh.vertices, body_mesh.faces)
plt += mesh
plt.display()

also showed the result instantly... Weird.

that sounds weird indeed because if show() returns in 0.7 sec i cannot think of anything that would slow down the execution afterwards.
I reopen the issue in case of any further hints/ideas..

Update.

I replicated the same behavior in Chrome, Safari, and Firefox on Mac OSX 10.14.5 so it's not a browser specific issue.
 Whenever I try to change any of the value, my notebook freezes up again as well.  Thoughts?

Also, vtkplotter scene seems to look a bit smoother. Do you use a different shader?

Hi @panangam I think I found the problem in the way vertices receive their color individually.
Please try
pip install vtkpotter -U

Now the color is uniform and can be changed from the dropped down menu.
To be honest I'm not sure if the problem can reappear in other cases where faces/vertices genuinely have different colors.. You may try to run the examples available in this directory.
The smoother appereance is only due to the flat_shading option shown in the 2 cases.

This worked perfectly for me, thank you! I'm still surprised your machine could actually still run the scene smoothly with all the vertex colors. To clarify, did vtkplotter use to assume that all meshes come with a color for each vertex?
Another tangent question. Is there a way to show the plot so that Z-axis is pointing up?

This worked perfectly for me, thank you! I'm still surprised your machine could actually still run the scene smoothly with all the vertex colors. To clarify, did vtkplotter use to assume that all meshes come with a color for each vertex?

indeed that was causing the problem! the mystery is not completely solved as you say it might show up again when rendering multi colored meshes.
You may check what happens if you run any of these examples
https://github.com/marcomusy/vtkplotter/tree/master/examples/notebooks

Another tangent question. Is there a way to show the plot so that Z-axis is pointing up?

you can try with show(viewup='z') see also:
https://github.com/marcomusy/vtkplotter/blob/master/examples/notebooks/manipulate_camera.ipynb

Tried running code from sphere.ipynb and got no problem. My mesh has about 6000 vertices or so. I'm suspecting that 6000 colors are just too much to calculate.

Cool... Thank for this useful feedback! I tried increasing the nr of triangles with res=100 and dont see any problems on my system, up to 1M triangles is still ok and relatively fast.
One thing which is probably different is the k3d version we are using (check the info tab)

Tried the same example above, and was fast as well. Mine info box says

Js version: 2.7.0
Python: 2.7.0
Are these the versions of vtkplotter or the Python it's using? I'm actually running this on Python 3.7.

I think you are using latest version of k3d whereas i'm using an older one.. not sure if this can explain the initial problem.. I'll leave the issue open in case I find a better explanation..


BUG: Fix bounds errors in roll finder.

Fix common error condition which was triggered whenever the session at the end
of the prefetched history window was a session where the back contract was
active. When the back contract was the active contract, the next contract for
consideration was the front contract at the end of the window, which
definitionally always has an autoclose after the end of the window.
Instead, just start seeking backwards from the end of the window.
Also prevent lookahead bias in volume rolls, which was caused by the using the
volume for a session to determine whether that session had rolled. Information
that would not have been available at the beginning of the session.
This change makes the volume rolls overly conservative, and may be improved by
looking at vectors of the preceding volume and making the roll off of momentum.

Coverage decreased (-0.04%) to 87.063% when pulling d4d69aef445e3f4f84df73ce624d2d675c161f45 on use-prev-session-for-volume-roll into 4174a090d04920c0d90530ea455377093dd58d88 on master.

@yankees714 I agree that get_rolls needs more comments (and its counter part get partitions). Will add in a follow up PR.

Coverage increased (+0.006%) to 87.105% when pulling 4d434acab7d4a7b8afaf2ae2a7783c214e356c94 on use-prev-session-for-volume-roll into 4174a090d04920c0d90530ea455377093dd58d88 on master.


Update ProtobufJsonPayloadConverter.java

Regarding #551 - bugfix - use preconfigured printer rather than default JsonFormat.printer();
What was changed
Bugfix - In JavaSDK, ProtobufJsonPayloadConverter allows you to configure both printer and parser. Yet, the preconfigured printer has not been used to convert Object to data. Default JsonFormat printer has been used instead.
Why?
Bugfix to allow configurable printer to be used (as designed, it can be passed as constructor param).
Checklist

Closes #551

How was this tested:
Passed custom JsonFormat.Printer to constructor and see it being used.

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

hi @Spikhalskiy thank you for your review - good catch, I've made a change you've requested (I hope that's what you've meant).


Naff

What type of pull request is this?

[ ] Non-breaking code change
[x] Breaking code change
[ ] Documentation change/addition
[ ] Tests change

Description

I can not exagerate how breaking this is. Your code will not work at all from this code base.
This renames everything from snake, or snake like naming to Naff
Changes

Renames Snake client -> Client
Renames Scale to Cog
Renames models/snek -> models/naff
Renames SnakeException -> NaffException
Renames SnakeBotUser -> NaffUSer
Renames grow_scale -> mount_cog
Renames shed_scale -> drop_cog
Renames get_scales -> Client.get_cogs
Renames get_scale -> Client.get_cogs
Renames Snake.sync_scales -> Client.sync_cogs
Renames Snake.scales -> Clientcogs
Renames Command.scale -> Command.cog
Renames Scale.*scale* -> Cog.*cog*
Probably a load more

Checklist

[x] I've formatted my code with Black
[x] I've ensured my code works on Python 3.10.x
[x] I've tested my code

Not anaffer pull request


rds: Instance says it created successfully when it didn't

What happened?

I created an RDS instance without specifying a username or password. When I kubectl describe the instance I see:
  Normal  CreatedExternalResource  2m6s (x5 over 4m51s)    managed/rds.aws.upbound.io/v1beta1, kind=instance  Successfully requested creation of external resource

But also newer events:
  Normal  PendingExternalResource  2m24s (x20 over 4m48s)  managed/rds.aws.upbound.io/v1beta1, kind=instance  Waiting for external resource existence to be confirmed

And also:
    Last Transition Time:  2023-03-30T03:17:21Z
    Message:               apply failed: "password": required field is not set:
"username": required field is not set:
    Reason:  ApplyFailure
    Status:  False
    Type:    LastAsyncOperation

This is misleading. The provider is telling me it successfully requested creation of the external resource, but it has not.
How can we reproduce it?

Apply the following MR:
$ cat xp/oreilly-instance.yaml
apiVersion: rds.aws.upbound.io/v1beta1
kind: Instance
metadata:
  name: what-is-crossplane
spec:
  forProvider:
    region: us-west-1
    instanceClass: db.t3.micro
    allocatedStorage: 20
    engine: postgres

What environment did it happen in?

Universal Crossplane Version: OSS Crossplane v1.11.1
Provider Version: v0.31.0

/fresh
@ulucinar @sergenyalcin any idea if this bug would still exist now?


Fixed so code class name is not tied to name in EMRALD

Fixes error if name of event has an invalid code character in it so it can't be used as a name.


CircleCI doesn't merge with master

A property that circleCI PRs have is that they are not, in general, merged into master before the tests get run, unlike e.g. Travis.   spacetelescope/notebooks#75 shows an example of why this might not be desirable (e.g. a missing/broken .circleci/config.yml in the branch that was fixed in master).
I suspect this could be ameliorated by explicitly adding a "merge master into this checkout" step before the run/convert steps get run.  The tricky part there is a flexible enough definition of "which master" - i.e., it has to do the right thing based on what the PR's "head" is, not just always assume its actually spacetelescope/master.  There's almost certainly a way to do this using some combination of the circleci-injected environment variables and the github API, but I don't know what that way is in detail.  It also might not work for changes in the circleci config (i.e., #75...), as I'm guessing CircleCI parses that before doing other steps.  But maybe we just accept that as a fact of life and at least catch other merge-into-master changes?

The problem was solved for me when I rebased my branch. Future PR made with branch that is derived from latest master won't have this problem. I propose we close this as won't fix. A rebase on older PRs would solve the problem.

This is/has been a feature request for CircleCI. I did find this snippet as a temp solution:
checkout:
  post:
    - |
        if [[ -n "${CIRCLE_PR_NUMBER}" ]]
        then
            # Update PR refs for testing.
            FETCH_REFS="${FETCH_REFS} +refs/pull/${CIRCLE_PR_NUMBER}/head:pr/${CIRCLE_PR_NUMBER}/head"
            FETCH_REFS="${FETCH_REFS} +refs/pull/${CIRCLE_PR_NUMBER}/merge:pr/${CIRCLE_PR_NUMBER}/merge"

            # Retrieve the refs
            git fetch -u origin ${FETCH_REFS}

            # Checkout PR merge ref.
            git checkout -qf "pr/${CIRCLE_PR_NUMBER}/merge"

            # Test for *some* merge conflicts.
            git branch --merged | grep "pr/${CIRCLE_PR_NUMBER}/head" > /dev/null
        fi

Asking author to rebase once in a while won't kill them, so closing as won't fix.


Ability to set the default option on colliding names

What's the Problem?
When I copy&paste files, sometimes the colliding name appear, and I want to quickly overwrite old file to new. To do so, I have to manually change "Generate new name" to "Replace existing" for every file.
Solution/Idea
The idea is to add to settings the setting to change the default behavior to overwriting.
Alternatives
Manually changing the option to all files every time
Priorities

Capability
Priority

Change the default behavior when colliding names
Must

Apply to current session or all sessions (all by default)
Could

Files Version
<IP_ADDRESS>
Windows Version
Windows 11  21H2; OS Built 22000.438
Comments
No response

Thank you for your feedback, we're tracking this in #5645

Hi @yaichenbaum, the #5645 doesn't 100% match this feature request. I am mostly a keyboard user, so I'd like to have the "Replace" option by default globally. The mentioned PR only allows to change the behavior for all conflicting files, but left "generate new name" as the default option and I still need to change it at last once. When I want to replace exactly one file, I still have to change the option. Bulk operation is not a point of this issue, the default option is.

#5645 will allow you to change the default option at the top of the dialog and the preference will be remembered the next time the dialog is opened.

As OP suspected, #5645 (fixed in !8914) didn't fulfill the request he had. The "Generate new name" / "Replace existing" / etc. option selected in the top-right corner of the dialog doesn't seem to be persisted, at least not for me. I am going to file a new issue.

As OP suspected, #5645 (fixed in #8914) didn't fulfill the request he had. The "Generate new name" / "Replace existing" / etc. option selected in the top-right corner of the dialog doesn't seem to be persisted, at least not for me. I am going to file a new issue.

It's supposed to, if it's not working for you please open a bug report so we can track the issue.


Functions without bindings should still compile

There is an empty C# function template that has no bindings. When you edit the code and save, it doesnt compile (because there are no bindings).
Assuming we want to keep the idea of the "empty function" templates, compiling a function without bindings should be supported.

A function with no bindings is not invokable. There is a ManualTrigger binding that can be used for functions that are not externally invokable, but invokable by the Admin API / Portal. I always thought of these empty templates as blank slate starting points only. When someone attempts to run an empty function or compile it, we should have good error messages.

We should see what it costs to support "no bindings", but if this is expensive, we can probably live with the empty template starting with "Manual Trigger".


Add eslint semicolon rule

I'm not sure why this isn't in the eslint config already. It is the standard for this project - so it makes sense to enforce it with the linter.
After adding the rule - I found 4 examples of missing semicolons which are also fixed in this PR.

LGTM :cow2:

:cow2: has returned! :)

haha yeah, i likes the camel when i was learning ocaml. and i can't use elm...

:coffee: :page_facing_up:

@buzzdecafe: :deciduous_tree:  ?
:herb: from me, in any case.

clearly, :deciduous_tree: is spoken for


Loading background

Hi there and thanks for this great work.
I use it in my Android app but when trying to change loading background to custom one in french or something else because my app is in french language i fail in that, how please to change it ,
Thanks

Same here, such as showing a spinner or something.


Change etc/submit.sh to not have hard-coded COMP releases

Eventually lines like  https://github.com/dmwm/WMCore/blob/master/etc/submit.sh#L121 are going to pose a problem for us as we move to other architectures, newer OSes, etc. We'll need some way of auto-discovering the best COMP environment for the running platform.

Fixed by #7789


Support mamp

Shoot a video installing there

WOOOT! if we just have a folder to copy and paste or some kind of routine in the docs for it it just works. Just as fast as our current DDEV routine!

https://haxtheweb.org/installation MAMP added to the docs


Adjust tests for Swift driver change

rdar://91820791

This PR is going to fix tests related to the Swift driver change in https://github.com/apple/swift-driver/pull/1073.

Using:
apple/swift-driver#1073
@swift-ci smoke test

Using:
https://github.com/apple/swift-driver/pull/1073
@swift-ci smoke test

Using:
https://github.com/apple/swift-driver/pull/1073
@swift-ci smoke test

Using:
https://github.com/apple/swift-driver/pull/1073
@swift-ci test


Files in dist/ still have 'use strict';

Do you want to request a feature or report a bug?
Report a bug.
What is the current behavior?
Several files like raven-js/dist/angular/raven.js were added to the project, and they include 'use strict;'. These files correspond to raven-js version 3.22.2.
What is the expected behavior?
These files should reflect the most recent version of raven-js. https://github.com/getsentry/raven-js/pull/981 removed 'use strict'; from several files. grunt build; grunt dist looks like it should copy an updated version of these files to the dist/ folder, but it doesn't. If the Google Closure Compiler is set to use its advanced compilation, it throws an error when it encounters these files.
This issue affects raven-js 3.24.2. I'm using macOS 10.13.4.

Thanks for filling the issue @michaelstalker! Addressed in https://github.com/getsentry/raven-js/pull/1313


Allow paths as filenames in multipart/form-data requests

I was trying to use this in conjunction with loopback container service which accepts a path as a filename when connecting to S3.
Long story short, the plugin coerces the filename to the files basename — so I can't send a file path as the name like /path/to/file.png.
I tried reading through as much of https://www.ietf.org/rfc/rfc2388.txt https://tools.ietf.org/html/rfc2184 as I could and as far as I can tell the only requirements for the filename are that it is US-ASCII. I like how easy your plugin makes it to send file data as multipart/form-data but I would argue it's the application developers job to determine the logic behind properties such as the filename.
I'd hate to break this for others so maybe adding an option to use basename for now would be good?

I should have left this well enough alone. I squashed my commits down but ended up rewriting some of your history where I didn't mean to. I can close this and open another with the correct commit if you'd like. Let me know your preference for PRs

Closing because this PR as the feature has been implemented in #203 which shipped as v2.2.0. Use the filepath option to pass subdirectory information.


clangd ignores symbols with double leading underscores __like_this_one

I'm using clangd on Linux kernel code (git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git), where a lot, A LOT of the functions (and other symbols) start with double underscores. clangd refuses to find the implementation of such functions in a .c file, until the file is actually loaded (at which point it is forced to see them, and then it works). Normal lookup of such symbols fails until the .c file is loaded. clangd can find the declaration of the function in the .h file, but that's all.
I've isolated this to clangd, by running in standalone mode, as well as trying it out in VS Code.
Logs
I am attaching the clangd stderr log, with  --log=verbose, from opening up the header file (gph.h), and trying to jump from the declaration there of __free_pages(), to the definition. This fails because the definition is in another .c file that, while in the project (and in the compile_commands.json), has not yet been opened, and this bug here prevents that function from being found.
System information
Output of clangd --version:
clangd version 15.0.7
Features: linux
Platform: x86_64-pc-linux-gnu
Editor/LSP plugin:
VS Code
cland_logs.json.zip
Operating system:
Linux

The relevant code is here:
  // We want stdlib implementation details in the index only if we've opened the
  // file in question. This does means xrefs won't work, though.
  CollectorOpts.CollectReserved = IsIndexMainAST;

I expect that if you were to change that to true in a local build, things would work.
The "reserved" in the variable names refers to the C++ standard's definition of reserved identifiers (there is a similar definition in the C standard); generally speaking, in a standards-conforming program these should only appear in the implementation of the standard library (which is why the comment refers to them as "stdlib implementation details").
I guess the kernel is a bit of a special case here? Or it's technically non-conforming?
In any case, I guess we should probably expose this as a config option.

Yes, the kernel is a very special case. And it has very enthusiastically embraced the use of leading double underscores for symbols; there are 10's or 100's of thousands of them.
As a result, clangd on kernel code is a strange experience: clangd is mind-blowing, but in every editing session I have to fall back to grep in order to find some of the symbols. I would LOVE to have a config option or whatever I can get.

I built clangd with this change, as recommended, and re-tested, but it didn't seem to change the behavior:
diff --git a/clang-tools-extra/clangd/index/FileIndex.cpp b/clang-tools-extra/clangd/index/FileIndex.cpp
index dc5c83433ffd..691801749522 100644
--- a/clang-tools-extra/clangd/index/FileIndex.cpp
+++ b/clang-tools-extra/clangd/index/FileIndex.cpp
@@ -57,7 +57,7 @@ SlabTuple indexSymbols(ASTContext &AST, Preprocessor &PP,
CollectorOpts.CollectMainFileRefs = CollectMainFileRefs;
// We want stdlib implementation details in the index only if we've opened the
// file in question. This does means xrefs won't work, though.

CollectorOpts.CollectReserved = IsIndexMainAST;

CollectorOpts.CollectReserved = true;
index::IndexingOptions IndexOpts;
// We only need declarations, because we don't count references.

You likely need to delete <project>/.cache/clangd/index and restart clangd to trigger re-indexing of the project.

Oh yes, I'm very familiar with the .cache a re-indexing steps. But just to be sure, I've spent some time just now on two different machines, very carefully verifying that I'm the latest llvm commit (c32c0e14d694 "[RISCV] Add i32 as a legal type for GPR register class.  (Mon, 26 Jun 2023)"), plus my local commit above, and that is the version of clangd that the editor is launching:
clangd version 17.0.0 (https://github.com/llvm/llvm-project.git 3833bd30f31fe92c73804df9d52ef3fb6639d391)
Features: linux
Platform: x86_64-unknown-linux-gnu
And of course, that the entire .cache directory is deleted before opening the editor.
I just can't seem to get this to work, though. It behaves exactly as before. It's possible that I'm just Doing It Wrong, or that there is something else that I'm missing, but I also suspect that the above code diff may not be quite enough to get the desired behavior.
Any thoughts or hints?

I also suspect that the above code diff may not be quite enough to get the desired behavior.

You're right; I suggested that diff based on code reading and hadn't actually tried it. Now that I have, I see there is another place in the code where we don't explicitly set CollectReserved (we just rely on its default value being false), where we now need to set it to true. My bad.
The following makes indexing of double-underscore decls work for in a minimal test project:
diff --git a/clang-tools-extra/clangd/index/Background.cpp b/clang-tools-extra/clangd/index/Background.cpp
index 73330b3ae6a8..ced02ff097c6 100644
--- a/clang-tools-extra/clangd/index/Background.cpp
+++ b/clang-tools-extra/clangd/index/Background.cpp
@@ -304,6 +304,7 @@ llvm::Error BackgroundIndex::index(tooling::CompileCommand Cmd) {
     return true;
   };
   IndexOpts.CollectMainFileRefs = true;
+  IndexOpts.CollectReserved = true;

   IndexFileIn Index;
   auto Action = createStaticIndexingAction(
diff --git a/clang-tools-extra/clangd/index/FileIndex.cpp b/clang-tools-extra/clangd/index/FileIndex.cpp
index dc5c83433ffd..691801749522 100644
--- a/clang-tools-extra/clangd/index/FileIndex.cpp
+++ b/clang-tools-extra/clangd/index/FileIndex.cpp
@@ -57,7 +57,7 @@ SlabTuple indexSymbols(ASTContext &AST, Preprocessor &PP,
   CollectorOpts.CollectMainFileRefs = CollectMainFileRefs;
   // We want stdlib implementation details in the index only if we've opened the
   // file in question. This does means xrefs won't work, though.
-  CollectorOpts.CollectReserved = IsIndexMainAST;
+  CollectorOpts.CollectReserved = true;

   index::IndexingOptions IndexOpts;
   // We only need declarations, because we don't count references.

Does that work for you?

Glad to hear you got it working!

It would definitely be good to get this turned into a clangd command line option.

I put up a draft patch that does this for feedback at https://reviews.llvm.org/D153946. The way to enable it would be to add:
Index:
  ReservedIdentifiers: true

to <project>/.clangd.

I met the same issue and got here from:
https://github.com/llvm/llvm-project/issues/63862
Little knowledge on clang and clangd. I tried to built it but it seems no cpp in clangd.
It seems that more to do. Anyway to share a binary for me and I can give it a quick try?
root@sgjur-pod001-3:/localdata/tmp/clangd# git clone https://github.com/clangd/clangd.git
root@sgjur-pod001-3:/localdata/tmp/clangd# find . -name *.cpp

Clangd is part of llvm/llvm-project, which is a different (big) repo. https://clangd.llvm.org/faq#how-do-i-build-clangd-from-sources
(I can't help with a binary right now I'm afraid, only the CI knows how to produce useful portable binaries...)
I had a look at @HighCommander4's patch (sorry for the delay!). I'm not sure our config mechanism is well-suited for this job.
But I did have another idea: this heuristic is mostly targeted at hiding details of "system libraries" like the C++ standard library. These tend to be marked as system headers with -isystem flags, #pragma GCC system_header pragmas, etc, and clang keeps track of this. Maybe we can allow indexing of reserved-name symbols if they're not in system headers...

Sam,
Thank you for sharing the link. I compiled clangd 16.0.2 with the patch and it works perfectly.
Command to build in case someone needs:
	git clone https://github.com/llvm/llvm-project.git
	cd llvm-project
	git checkout llvmorg-16.0.2
	patch -p1 < index-reserved.diff

	export LLVM_ROOT=$(pwd)
	mkdir $LLVM_ROOT/build
	cd $LLVM_ROOT/build

	cmake $LLVM_ROOT/llvm/ -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra"
	cmake --build $LLVM_ROOT/build --target clangd -j
	./bin/clangd --version
	~/.local/share/nvim/mason/bin/clangd -version
	cp ./bin/clangd ~/.local/share/nvim/mason/bin/clangd

@johnhubbard, when you get a chance could you try Sam's alternative fix at https://reviews.llvm.org/D155381, and see if it works for you just as well?

Yes, Sam's alternative fix at https://reviews.llvm.org/D155381 is working perfectly for me. It finds and cross-references the Linux kernel's symbols such as __alloc_pages(), whereas stock clangd cannot do that.
Looks good!

Thanks for checking, and thank you Sam for the improved (no configuration required!) fixed.


Use gocli with a lower DOCKER_API_VERSION to support docker 1.12

We accidently only supported docker 1.13 and up with our CI tooling.

See https://github.com/kubevirt/kubevirtci/pull/6

Works here as well


No Response from Window - clean up

Hi I am getting "No Response from Window - clean up" error in my PayPal integration.  I search and can't find the error in google except for one of the source code in this repo.  Can you please let me know what this error means and when it throws this error?
Basically for some customers PayPal window opens for brief time and then closes.  I can't replicate but I know this is happening from my log and also customers are complaining.
Thanks.

This should be fixed now -- please let me know if you still see it.

I'm seeing this issue using the latest version of https://github.com/paypal/paypal-checkout-components from npm (4.0.304).
By button is created like so: paypal.Button.driver('react', { React, ReactDOM }).
Is there some way to tear-down the button when the parent component unmounts to avoid this issue?


BraveAuth working and Antelope lib & mocks updated

Reverted due to testing error when merged with #492
Description
See #489

I'm closing this PR because it throws a test error only in the test/CI process and not locally. And I have no idea how to fix that.
However, this PR includes many changes that are not necessary for the current state of Teloscan. That's the latest update to the Antelope library in the Telos-Walllet repository. In an attempt to bring those updates to this project, I also brought in that CI issue that I can't resolve.


About the generalize ability of GwcNet.

I test generalize ability of GwcNet on KITTI and Middlebury using the official pretrained model, the result is 12.5% on KITTI 2012, 12.4% on KITTI 2015. But in your paper, it is 20.2% and 22.7%. Can I know how you tested?

I test generalize ability of GwcNet on KITTI and Middlebury using the official pretrained model, the result is 12.5% on KITTI 2012, 12.4% on KITTI 2015. But in your paper, it is 20.2% and 22.7%. Can I know how you tested?

Very sorry to reply late. It puzzles us as well. It seems our retrained GWCNet gets a different generalization performance than the official pre-trained checkpoint despite we follow the original implementation. Since we observe similar results in other works(DSMNet...), we report the results in our experiments.

[NOTICE] Zhang Jiawei(Gary) deleted my workspace without notice, which containes data and network models of a paper under review.


url problem

I got an error, when i remove index.php by .htaacess file and replace from config folder $config['index_page'] = '';  also, and i am using ion auth for login purpose . I hit localhost/CI url i got Object not found message. and when i write index.php into config folder $config['index_page'] = 'index.php'; after i hit url it works fine. the url is made like this localhost/CI/index.php/auth/login.
i want to remove index.php completely from url. my codeigniter version is CI 3.1.8
so please help me any one.

Support questions should be raised on our forum, thanks.
We use github for bug tracking.

Also i am using  hmvc in my project.


Breaking change with path parameters when updating to pydantic>=2 from pydantic<2

Discussed in https://github.com/tiangolo/fastapi/discussions/11250

Originally posted by ThirVondukr March  5, 2024
First Check

[X] I added a very descriptive title here.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
from uuid import UUID

from fastapi import FastAPI

app = FastAPI()

@app.get("/int/{path}")
async def int_(path: int | str):
    return str(type(path))

@app.get("/uuid/{path}")
async def uuid_(path: UUID | str):
    return str(type(path))

Description
With pydantic<2 parameters are correctly parsed as int and UUID if an appropriate string is passed, with pydantic 2 they're always interpreted as str, I presume this will work the same way with all other types that you can pass into path parameters.
I also observed the same behavior with query, so I assume it behaves the same way with all FastAPI parameters (headers, body, etc).
Operating System
Windows
Operating System Details
No response
FastAPI Version
0.110.0
Pydantic Version
1.10.14 / 2.6.3
Python Version
Python 3.11.5
Additional Context
No response

A workaround for anyone facing this (NB: this assumes availability of typing.Annotated and pydantic.Field):
@app.get("/uuid/{path}")
-async def uuid_(path: UUID | str):
+async def uuid_(path: Annotated[UUID | str, Field(union_mode='left_to_right')]):
    return str(type(path))

Pydantic v2 switched to union_mode='smart' as the default, which in cases like this will always prefer str (since it's an exact type match).
It's also necessary to do this in any dependencies (as far as I can tell, type annotations set on direct path parameters and function parameters of dependencies aren't shared).


500 internal error server php_value short_open_tag 1

Hi,
I got the message error 500 when I tried phpredmin with Apache : http:X.X.X.X/phpredmin
I installed Apache/2.4.23 and PHP 7.
The message error is :
/var/www/html/phpredmin/public/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
Here is the content of my .htaccess:
php_value short_open_tag 1
My phpredmin.conf file is :
Alias /phpredmin /var/www/html/phpredmin/public
<Directory /var/www/html/phpredmin/>
AllowOverride All

# Apache 2.4

Require ip <IP_ADDRESS>
Require local

<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
Deny from All
Allow from <IP_ADDRESS>
Allow from ::1

Anyone have idea about this problem ? Thanks

Hi,
This file can be deleted.
But the php module is activated ?
Thanks

I blieve you can delete this file, but as far as I know, the last time I tested PHPRedmin with a PHP7 machine there were lots of errors. And to be honest I do not have any plans anytime soon to port this to PHP7. If you can make it compatible with PHP7 I'll be more than happy.

Hi,
I have installed PHPRedmin with PHP 7.1 without problem.
I just deleted this file.
Thanks


Possible bug report: showLoadingIcon

I was setting showLoadingIcon="true" to false on the configuration file, and noticed my app doesn't show anything. Maybe that is a bug?

The problem is that our splash screen support is not transparent to end users. If you want a splash screen you need to use getNextMainScene to get the main scene. If you are not using a splash screen then you should use getMainScene. We will correct this in the near future.
I assume you usually have a splash screen so you are using getNextMainScene. If you turn off the splash screen then this is no longer the right scene to add your scene objects to. Does my explanation make sense?

It makes sense. Anyways, I'm fine with having the splash screen:)

So can we close the issue? We are tracking the api deficiency in https://github.com/Samsung/GearVRf/issues/439.

Yes. Go ahead.
One basic problem that I have is I can not run my sample projects by referencing Framework project or adding it's generated .jar file into my project. I am using the gvr-exported.jar file that Thomas  gave me when I was starting (which seems an older version).
Is there a newer version, or maybe you can help me with the project referencing issue?

Let me know the errors you get.
If you import the Framework project in Eclipse and it builds successfully you should have no problems once you add the Framework project under Project Properties->Android->Library of your app.
If you want to try to build the Framework yourself we have the instructions here: http://gearvrf.org/bin/view/GearVRfDeveloperGuide/GearVRfDevGuide200Start#BuildInstruct

And when using the project reference method instead of copying the .jar file, here is the error which seems different:
06-27 15:19:50.184: E/AndroidRuntime(24206): FATAL EXCEPTION: main
06-27 15:19:50.184: E/AndroidRuntime(24206): Process: org.gearvrf.gvr360video, PID: 24206
06-27 15:19:50.184: E/AndroidRuntime(24206): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{org.gearvrf.gvr360video/org.gearvrf.gvr360video.Minimal360VideoActivity}: java.lang.ClassNotFoundException: Didn't find class "org.gearvrf.gvr360video.Minimal360VideoActivity" on path: DexPathList[[zip file "/data/app/org.gearvrf.gvr360video-2/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.gvr360video-2/lib/arm, /data/app/org.gearvrf.gvr360video-2/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]
06-27 15:19:50.184: E/AndroidRuntime(24206): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3094)
06-27 15:19:50.184: E/AndroidRuntime(24206): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3350)
06-27 15:19:50.184: E/AndroidRuntime(24206): 	at android.app.ActivityThread.access$1100(ActivityThread.java:222)
06-27 15:19:50.184: E/AndroidRuntime(24206): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1795)
06-27 15:19:50.184: E/AndroidRuntime(24206): 	at android.os.Handler.dispatchMessage(Handler.java:102)
06-27 15:19:50.184: E/AndroidRuntime(24206): 	at android.os.Looper.loop(Looper.java:158)
06-27 15:19:50.184: E/AndroidRuntime(24206): 	at android.app.ActivityThread.main(ActivityThread.java:7229)
06-27 15:19:50.184: E/AndroidRuntime(24206): 	at java.lang.reflect.Method.invoke(Native Method)
06-27 15:19:50.184: E/AndroidRuntime(24206): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
06-27 15:19:50.184: E/AndroidRuntime(24206): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
06-27 15:19:50.184: E/AndroidRuntime(24206): Caused by: java.lang.ClassNotFoundException: Didn't find class "org.gearvrf.gvr360video.Minimal360VideoActivity" on path: DexPathList[[zip file "/data/app/org.gearvrf.gvr360video-2/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.gvr360video-2/lib/arm, /data/app/org.gearvrf.gvr360video-2/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]
06-27 15:19:50.184: E/AndroidRuntime(24206): 	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
06-27 15:19:50.184: E/AndroidRuntime(24206): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
06-27 15:19:50.184: E/AndroidRuntime(24206): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
06-27 15:19:50.184: E/AndroidRuntime(24206): 	at android.app.Instrumentation.newActivity(Instrumentation.java:1095)
06-27 15:19:50.184: E/AndroidRuntime(24206): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3084)
06-27 15:19:50.184: E/AndroidRuntime(24206): 	... 9 more
06-27 15:19:50.184: E/AndroidRuntime(24206): 	Suppressed: java.lang.NoClassDefFoundError: org.gearvrf.gvr360video.Minimal360VideoActivity
06-27 15:19:50.184: E/AndroidRuntime(24206): 		at dalvik.system.DexFile.defineClassNative(Native Method)
06-27 15:19:50.184: E/AndroidRuntime(24206): 		at dalvik.system.DexFile.defineClass(DexFile.java:226)
06-27 15:19:50.184: E/AndroidRuntime(24206): 		at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:219)
06-27 15:19:50.184: E/AndroidRuntime(24206): 		at dalvik.system.DexPathList.findClass(DexPathList.java:338)
06-27 15:19:50.184: E/AndroidRuntime(24206): 		at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:54)
06-27 15:19:50.184: E/AndroidRuntime(24206): 		... 13 more
06-27 15:19:50.184: E/AndroidRuntime(24206): 	Suppressed: java.lang.ClassNotFoundException: org.gearvrf.gvr360video.Minimal360VideoActivity
06-27 15:19:50.184: E/AndroidRuntime(24206): 		at java.lang.Class.classForName(Native Method)
06-27 15:19:50.184: E/AndroidRuntime(24206): 		at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
06-27 15:19:50.184: E/AndroidRuntime(24206): 		at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
06-27 15:19:50.184: E/AndroidRuntime(24206): 		at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
06-27 15:19:50.184: E/AndroidRuntime(24206): 		... 12 more
06-27 15:19:50.184: E/AndroidRuntime(24206): 	Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available

For the "closed unexpected" problem - you should use a project reference since the Framework is a library project and the Android plugin for Eclipse handles things for you.

For both I get "closed unexpectedly" error.

About the second problem the only thing I can think of is that the sample is not actually building successfully. You can easily produce broken apk with Eclipse actually.
Please make sure you don't have any local changes in your git repos; then do a git clean -fd to remove any untracked files; then import the projects in Eclipse and build again. Send me the complete logcat output if there are problems. You could also enable verbose build logs in Eclipse by going to Window->Preferences->Android->Build and choosing verbose build output.

Well, I'm not using git. I downloaded the whole source as a zip file and extracted it, and followed the instruction on the website (placing Oculus mobile sdk and stuff). The project builds successfully though.

Without more information I can't really help. I am pretty sure the samples can be built with both Android Studio and Eclipse.
It might be easier for you if you start from scratch to ensure you are working without any local modifications.

OK. I will download a fresh copy from copy and import it. I'll update you on that.
If you want you can close this issue as this topic is unrelated.

Thank you. Let us know if you still have problems.


Need to be able to clear out queue of failed jobs

There is no way for users to clear failed (error) jobs, interrupt stalled (running for days without heartbeat or stuck in queue)  jobs.

We have 2 options here: automatically hide or allow the user to hide. The former has less changes involved, what about automatically hiding all the errors, except that last 5 (or 10)?

Automatically hiding failed jobs is fine to me since there isn't really much user-informative information there.


Fix/vc index fix selection result

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.92%. Comparing base (23a1c25) to head (06dd118).
Report is 3 commits behind head on develop.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #162   +/-   ##
========================================
  Coverage    93.92%   93.92%
========================================
  Files           65       65
  Lines         2599     2601    +2
  Branches       645      647    +2
========================================
+ Hits          2441     2443    +2
  Misses         154      154
  Partials         4        4

Flag
Coverage Δ

unittest
93.92% <100.00%> (+<0.01%)
:arrow_up:

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

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


fix diagram generation https://github.com/serverlessworkflow/specification/issues/587

Many thanks for submitting your Pull Request :heart:!
What this PR does / why we need it:
Fix https://github.com/serverlessworkflow/specification/issues/587
this is the current output

Special notes for reviewers:
Additional information (if needed):

@antmendoza thank you so much for a quick fix!!!


Support of OSGi packaging

Currently Javalin release does not seem to be shipped with OSGi Jar.
On the other hand, many libraries these days which have OSGi artefact. E.g. Jetty OSGi.
Are there any plans to ship OSGi artefacts for Javalin?
Thanks,
Viktor

@vkolomeyko There are no plans - I'm not sure what this would entail.

Thanks for your reply @tipsy.
Adding OSGi artefact to Javalin which exports every package should not be difficult, I may try to PR this change it later on for version 3.x.
If we would want to restrict what we are OSGi exporting, that might require a bigger surgery into Javalin's package structure, which can be done independently later.

I may try to PR this change it later on for version 3.x.

Any particular reason you want to go for v3? Version 4 is very close to release.

Any particular reason you want to go for v3? Version 4 is very close to release.

We have an existing OSGi application which is using Javalin v3. So once I have OSGi-enabled Javalin v3 distribution it should be relatively easy to test with it.
Of course, it would be then possible to forward port this OSGi improvement into v4 as well.

I have created Draft PR: https://github.com/tipsy/javalin/pull/1382
I will do more testing later with our application.
@tipsy - since this is my first contribution, could you give your approval for workflows to be executed on this PR?

@tipsy PR: #1382 is ready for review.