question regarding configuration server

Can the Configuration server, Process server and Master target server be installed in the same physical server whose replication is required as we do not have a VMware environment and setting up new physical server will be additional cost.

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

ID: 43cb8e74-332e-d1c2-2ba4-eff91806de73
Version Independent ID: cb7300cf-6aed-1deb-d36d-fdd63955b6b4
Content: Architecture for physical server disaster recovery to Azure using Azure Site Recovery
Content Source: articles/site-recovery/physical-azure-architecture.md
Service: site-recovery
GitHub Login: @rayne-wiselman
Microsoft Alias: raynew

Thanks for your comment. We are actively investigating and will get back to you shortly. Thanks for your patience.

Sorry for the delay. Yes you should be able to install all 3 on the same server initially but as your deployment grows, you may need to install additional or separate servers Process or Master Target servers to handle growing replication loads. Hope this answers your question. Closing this issue but don't hesitate to reply if required.

I'm not looking to have an additional physical server for having Config, process and master running but i'm looking to use the same SQL physical server which i need to replicate to also use it as my config, process and master server. This was my actual question. Please let me know if its possible or not.

Keeping it simple, can my protected source machine also be my management server?


[Algo] Heap Sort in Java

Algorithm

[x] I have gone through the repository and made sure this algorithm has not been implemented

Information about my new algorithm

Algorithm Name: Heap Sort

Programming Language: Java

Time complexity: O(nLogn)

Is this your first contribution to this repository?
Yes

Can you please assign me this issue?


Parent columns in groups are not respecting the isVisible value we're passing in

I believe this PR is the root cause.
We upgraded our @tanstack/react-table library from 8.9.3 to 8.20.5. Prior to this change, our header column parents were being hidden by us setting column visibility of the header column parents to false. We DO want the children columns to show, even when the parent columns are set to false. After making the upgrade to 8.20.5, the parent columns are showing, even though we are setting the column visibility to false.
Is there any way we can revert this PR, assuming it is the root cause here? To reiterate, we do not want parent column headers to show just because a child column is showing.

Hmmm, I think the fixed functionality is what actually makes sense here. You don't have to use this API if you want to check something else.

Hmmm, I think the fixed functionality is what actually makes sense here. You don't have to use this API if you want to check something else.

@KevinVandy I agree that it makes sense to look at children column visibility for the fallback value, but IMO it would be ideal if the logic respected the assigned visibility state of the column. For example:
    column.getIsVisible = () => {
      return table.getState().columnVisibility?.[column.id] ?? true
      const childColumns = column.columns
      const columnHasVisibilitySpecified = !((table.getState().columnVisibility?.[column.id]) === undefined || table.getState().columnVisibility?.[column.id]));
      return (
         columnHasVisibilityAssigned
         ? table.getState().columnVisibility?.[column.id])
         : childColumns.length
           ? childColumns.some(c => c.getIsVisible()) : table.getState().columnVisibility?.[column.id])
           : true
      )

@KevinVandy Is this a solution you would be open to? If so, would you want me to create the PR for it?

@KevinVandy Is this a solution you would be open to? If so, would you want me to create the PR for it?

Only in the alpha. Want to limit breaking changes in main.


lokoctl cluster apply fails using S3 backend

Other person created a cluster and shared lokocfg file with me. When I run lokoctl cluster apply -v it fails with following error:
...
module.dns.aws_route53_record.apiserver_public: Refreshing state... [id=XXXXXXXXXXXXXX_foobar-demo-foobar.net._A]

Error: Invalid index

  on ../terraform-modules/bootkube/outputs.tf line 95, in output "bootstrap-secrets_values":
  95:   value = var.enable_tls_bootstrap ? local_file.bootstrap-secrets[0].content : ""
    |----------------
    | local_file.bootstrap-secrets is empty tuple

The given key does not identify an element in this collection value.

Releasing state lock. This may take a few moments...
FATA[0042] Failed to reconcile cluster state: failed checking execution status: exit status 1  args="[]" command="lokoctl cluster apply"

The cluster is created with lokoctl version v0.4.1. And I can reproduce the error with 0.4.1 and current master.

The solution for it is to use locals to save value of local_file.bootstrap-secrets[0].content and to use local in value = instead of local_file reference.
This happens because if you remove assets directory, len(local_file.bootstrap-secrets) will be 0 after Terraform refreshes the state.


Make block/timestamp offset utilities work in contracts & deprecate builtInMethods transformer

Closes #161
Description

Applies builtInMethods transformer to deployed contracts so that block height/timestamp values can be intercepted within contract code as well
Applies builtInMethods code transformer to all TX/scripts by default instead of requiring it to be manually passed when trying to use block/timestamp utilities
Refactors FlowManager to deploy contract raw through flow-cadut (this way no code transformers are applied)

For contributor use:

[x] Targeted PR against master branch
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work
[x] Code follows the standards mentioned here
[x] Updated relevant documentation
[x] Re-reviewed Files changed in the Github PR explorer
[x] Added appropriate labels

Converted to draft.  Deploying FlowManager from flow-cadut may have unintended consequences if this contract is attempted to be imported.  Should rethink some sort of transformer bypass

Converted to draft.  Deploying FlowManager from flow-cadut may have unintended consequences if this contract is attempted to be imported.  Should rethink some sort of transformer bypass


Unable to bookmark a specific page

Description

A page URL copied and pasted manually to a different tab results in "Unable to retrieve container info" and the likes. Meaning that bookmarked containers cannot be viewed directly, instead have to go to the root and then go to the bookmarked page.
Steps to reproduce the issue:

Open any page in portainer except the root one.
Copy the URL of the page
Paste it into a new tab that did not have Portainer already open.

It looks like going directly to some route skips initializing variables that are required to access the portainer api resulting in AJAX links like: http://portainer:9000/api/docker/images/json?all=0 instead of http://portainer:9000/api/docker/1/images/json?all=0 (note the 1)
Technical details:

Portainer version: v1.12.4 (--no-auth)
Portainer Docker image tag (latest/arm/windows...): latest
Target Docker version (the host/cluster you manage): 17.03.1-ce
Target Swarm version (if applicable): N/A
Platform (windows/linux): Ubuntu 16.04 x64
Browser: Tested on Chromium 58.0.3029.81 and Firefox 53.0

@zarmhast are you running Portainer with the --no-auth flag?

@deviantony yes, sorry, forgot to mention that I am running it with --no-auth flag.
docker run -v ...docker.socket -p 9000 portainer --no-auth
So running latest with no other configuration changes.

Similar problem here with latest Docker image (downloaded today) but using authentication, so the login page appears in the new tab instead of the "Unable to retrieve container info".
Container created with:
docker run -d --name portainer -v ~/.docker:/certs -v ~/docker_data/portainer:/data -p 9000:9000 portainer/portainer -H tcp://<IP_ADDRESS>:2376 --tlsverify

The problem in my case is related with #724 because after login you are always redirected to the dashboard, not the page you were trying to open. But it seems to me that a new login should not be requiered in the first place when I'm already logged in.

Bump

Bump


SimplifyBooleanReturn

part of https://github.com/openrewrite/rewrite/issues/197
Adapted SimplifyBooleanReturn recipe for 7.x.

Note that this PR, so far, is adapted with few direct structural changes, and likely has room for improvement using 7.x ergonomics. It feels like nowadays we try to limit return locations to as few as possible-- instead, we start with one object which we conditionally modify along the logic of the method, and return the object at the end, whatever it's state. The current implementation, although it works, feels like there's multiple points of return. There may be opportunity to clean this up. (assuming this isn't what we'd consider 'best' as-is)
For the time being, it's probably best to merge this as-is, and optionally circle back to refactor if desired


2.12.0 gradle dependency is not resolving

I just tried updating the version of branch in our project and 2.12.0 is not resolving but 2.11.1 still works fine.

Hi @agramian -- thanks so much for bringing this to our attention. Let me dive into the repository manager, I'll sort it out and get back to you.

Hi @agramian looks like we had a refresh issue with the Sonatype repo. We have refreshed 2.12.0 and made sure it is available in the maven release  channel. Can you please try one more time

It still does not seem to be working.
Error: Failed to resolve: io.branch.sdk.android:library:2.12.0

@agramian We are checking it and it may take a while to be available. We will be trying it after a  while and update  you.

@agramian
Its compiling at my end
compile('io.branch.sdk.android:library:2.12.0') {
exclude module: 'answers-shim'
}

Looks like it took gradle a bit to update, it's available now! If you still cannot compile please let us know @agramian :)


"Key Error" when asyncio.iscouroutinefunction( ) is called more than a fixed number of times on distinct coroutine functions

Hi, I was testing out this patch here for some application. I am using the Master branch code. While testing I was faced with "Key Error" after a fixed number of asyncio.iscoroutinefunction() calls on distinct coroutine functions. The following minimal code example can be used to reproduce the above issue:
import asyncio

async def cb1(msg):
   print("cb1")
async def cb2(msg):
   print("cb2")
async def cb3(msg):
   print("cb3")
async def cb4(msg):
   print("cb4")
async def cb5(msg):
   print("cb5")
async def cb6(msg):
   print("cb6")
async def cb7(msg):
   print("cb7")
async def cb8(msg):
   print("cb8")
async def cb9(msg):
   print("cb9")
async def cb10(msg):
   print("cb10")
async def cb11(msg):
   print("cb11")
async def cb12(msg):
   print("cb12")
async def cb13(msg):
   print("cb13")
async def cb14(msg):
   print("cb14")

def main():
    #asyncio.iscoroutinefunction(cb1)
    #asyncio.iscoroutinefunction(cb1)
    #asyncio.iscoroutinefunction(cb1)
    #asyncio.iscoroutinefunction(cb1)
    asyncio.iscoroutinefunction(cb1)
    asyncio.iscoroutinefunction(cb2)
    asyncio.iscoroutinefunction(cb3)
    asyncio.iscoroutinefunction(cb4)
    asyncio.iscoroutinefunction(cb5)
    asyncio.iscoroutinefunction(cb6)
    asyncio.iscoroutinefunction(cb7)
    asyncio.iscoroutinefunction(cb8)
    asyncio.iscoroutinefunction(cb9)
    asyncio.iscoroutinefunction(cb10)
    asyncio.iscoroutinefunction(cb11)
    asyncio.iscoroutinefunction(cb12)

    asyncio.iscoroutinefunction(cb13)

if __name__ == '__main__':
    main()

The compilation was done as follows on Debian Buster with Python 3.7 and gcc (Debian 8.3.0-6) 8.3.0:
cython -3 cython_bug.py --embed && gcc -ggdb -Os -I /usr/include/python3.7m/ -o cython_bug.o cython_bug.c -lpython3.7m -lpthread -lm -lutil -ldl && ./cython_bug.o

The number of checks performed on distinct coroutine functions is 13 which causes the crash. If the last line asyncio.iscoroutinefunction(cb13) is commented out, there is no error.
Further, if the last line is commented out and the first few commented checks are uncommented, I'm faced with Seg faults sometimes.
Please review the same and suggest what could have gone wrong.

I think there should be an incref on marker:
https://github.com/cython/cython/blob/940d80dcd5cbc8d55a0f9348d1a2472e9b8b7121/Cython/Utility/CythonFunction.c#L387-L389

Hi, I tested the patch for my application and it works perfectly well! Thanks!


Dependencies setup

I had to manually install dependencies to make it work locally (just yarn/npm install doesn't do much), am I doing something wrong? Is there a command I'm missing? Seems like I'm doing some hacky thing that I shouldn't.

nevermind, it's part of the gptlabs/tools monorepo included as a submodule.
Thanks @ctjlewis


Nominal baseline parameter is redundant

Description:
The nominalBaseline parameter in the trackerParameters.yml files is redundant since we already have the extrinsics in the camera parameter yaml files.

In StereoFrame.cpp you can see that the base line is calculated already from the extrinsics in the camera parameter yaml files and somehow it compares this base line with the one you insert in the trackerPrarameters.yml  , i think Kimera makes this to make sure that the calibration of your cameras is correct because you know the base line of your stereo camera explicitly from its data-sheet or whatever the method so if your calibration is correct then the calculation of base line will be same or almost the same of the one you insert , but if not this means that there is a problem in your calibration or maybe the calibration is correct but the base line is not

These are valid points. However in some situations you don't know the baseline beforehand, in which case the norminalBaseline parameter will be redundant.

We removed the nominal baseline as it seemed to give more headaches than to help. Thanks!


A Wiki page is too much to ask?

Please we need a wiki page where we can see some examples.
Thanks you.

what kind of examples are you thinking of?

*Create SVG from code, from other image.
*Create image from SVG code, for SVG Files
*How to use the library (methods, objects, properties, configurations,...)

I second this suggestion. It would save a lot of time for a newcomer to the library and for those who wish to contribute it would go some way towards explaining your design philosophy and approach.
Another example that would be helpful:

What's the recommended way to spit out the SVG as a string.

Agreed, I recently picked this library up for a project and was surprised at the lack of documentation. I ended up learning it with nothing but the library's source.
Make it publicly editable and I'm sure enough people would pitch in with their experiences to make it worthwhile.

First example I'd add is how to tell if an element is a polygon, rectangle, circle, etc. I think I spent an entire day scratching my head before realizing it was a type check.

please refer in this matter to https://svg.codeplex.com/ we just made a fork of this library and developed it further. we do not claim to have made any major design decisions neither do we plan to own any money from it which would enable us to invest manpower into documentation.

A wiki doesn't require YOU to document it, it lets US document it. That's kind of the whole point of Github.

if that's an integrated feature i am of course glad to enable it right away!

does this help in some way? https://github.com/vvvv/SVG/wiki

:+1:

I'll be sure to contribute a few examples of things I got stuck on in the coming days


[DEV] Speed up building of Cocoapods

Closes #5270
Before the PR, compiling AlphaWalletFoundation (477 swift files) as part of building the app without changes takes 41.4 seconds, so project takes 60s
After the PR,
If we set SWIFT_OPTIMIZATION_LEVEL to -0none for AlphaWalletFoundation, time taken for the pod goes down to ~3s
If we set SWIFT_OPTIMIZATION_LEVEL to -0none for all pods (debug builds on), time taken for the entire app goes down to ~12-20s (I don't know why there's such a big variance), compared to ~20s before the introduction of AlphaWalletFoundation
Not the scientific with many runs, but it ought to be significantly faster :)

Force-pushed after rebase


Deploy commands on docker container startup

Instead of manually deploying commands, we could deploy commands as part of the start-up of the container. This will ensure commands are deployed from the same environment (Node version) that runs the bot. Also, removing the hassle of locally maintaining a node install, only for command deployment.
Should take into consideration whether this will affect our rate limits of Discords API.

Commands are deployed in the workflow too, so this doesnt really make sense, but would help for dev deployments. Local node is maintained for development anyway, so not going to do this.


Update Package.Json to point to my team project repository

Updated Package.Json to point to our repository, Previously it was pointing to Professor's repo.
Below are the changes.
{
...
"repository": {
"type": "git",
"url": "git+https://github.com/tawana0518/mywebclass-simulation.git"
},
...
"bugs": {
"url": "https://github.com/tawana0518/mywebclass-simulation/issues"
},
"homepage": "https://github.com/tawana0518/mywebclass-simulation#readme",
...
}

@tawana0518 @bmarani - Pl check the latest merge  - Updated Package.Json which is now pointing to this repository. You should get "readme", issues everything pointed to now this repo.


[bug] Arm images not being built

Version
Checklist:

[x] I am not using HomeAssistant. Or: a developer has told me to come here.
[x] I have checked the troubleshooting section and my problem is not described there.
[x] I have read the changelog problem was not mentioned there.

Build/Run method

[x] Docker
[ ] PKG
[ ] Snap package
[ ] Manually built (git clone - yarn install - yarn run build )

zwavejs2mqtt version: 4.1.0
zwave-js version: <version here, you can find it on control panel>
Describe the bug
Arm images don't appear to be building. The last shipped arm version was 5 days ago.
https://hub.docker.com/r/zwavejs/zwavejs2mqtt/tags?page=1&ordering=last_updated
To Reproduce
Expected behavior
Arm container images are shipped.
Additional context
Add any other context about the problem here.

@wburgers could you delete all the z2m local images and try to pull a new fresh one using latest tag?
@eddiezane do you confirm the issue is still present?

@robertsLando I tried pulling the latest image and that works!
failing image ID: ac9fa995b0d8
working image ID: 1cfe626609d0
Thnx!


Feature - Migrate to pydantic

Codecov Report

Merging #14 (6716cbc) into master (a5ad9e7) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #14   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           11        10    -1
  Lines          462       450   -12
  Branches        80        75    -5
=========================================
- Hits           462       450   -12

Impacted Files
Coverage Δ

kaiba/casting.py
100.00% <100.00%> (ø)

kaiba/collection_handlers.py
100.00% <100.00%> (ø)

kaiba/constants.py
100.00% <100.00%> (ø)

kaiba/functions.py
100.00% <100.00%> (ø)

kaiba/handlers.py
100.00% <100.00%> (ø)

kaiba/mapper.py
100.00% <100.00%> (ø)

kaiba/process.py
100.00% <100.00%> (ø)

kaiba/pydantic_schema.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Xamarin.Mac - PCLStorage.dll Could Not Load "Systems.Windows.Forms"

I built a Xamarin.Mac test app which targets Xamarin.Mac, .NET 4.5 which references a Xamarin.Mac class library which targets the same. The library pulls in the latest, stable PCLStorage NuGet from NuGet.org. But when I run the app, I get an  immediate System.IO.FileNotFoundException in Main() with this message.
Could not load file or assembly 'System.Windows.Forms' or one of its dependencies.
I've commented out most of the code in the library and I believe I've isolated the offending statement to this line.
var folder = FileSystem.Current.LocalStorage;
When it fails, the last line in the Application Output window shows
Loaded assembly..../MonoBundle/PCLStorage.dll [External]
If I comment the line out, the app starts up just fine and the Output does NOT show PCLStorage.dll being loaded at all. PCLStorage.Abstractions.dll [External] loads with no problems.
I'm running Xamarin Studio 5.10.3 (build 51) with Xamarin.Mac Version <IP_ADDRESS> (Xamarin Enterprise), and a colleague can reproduce the same problem in their dev environment running the same project.
No problem on iOS, Android, and Windows.
I've been debugging this for days now. Do you have a clue as to what my problem might be?
Thanks

I think Xamarin.Mac ends up using the .NET 4.5 version of PCL Storage.  So it blows up at this line: https://github.com/dsplaisted/PCLStorage/blob/d1b905429d0686ed8dfdf03c26fe83ea3c5857ce/src/PCLStorage.FileSystem.Desktop/DesktopFileSystem.cs#L31
See also #28.

Strange Daniel...
When I changed the Target Framework of just the Xamain.Mac app to Mono/.NET 4.5 it worked. When I changed it back to Xamarin.Mac .NET 4.5 it also worked.
Something got nudged during the toggle, but what's inexplicable is nothing discernable changed in the .csproj file.
What do you think?


Add support for Visual Studio 2015

Add support for Visual Studio 2015 that has TypeScript 1.5 be default

Makes sense, we'll add it to our backlog. Thanks!

VS 2015 is not fully released yet. We will add support for it as soon as it is released.

as per quick test everything (build, playground app, tests) works fine if I use VS2015 RC Community to open solution file (the following still must be updated: docs and *.cmd files as they rely to specific VS version when doing call "%VS120COMNTOOLS%vsvars32.bat")

Hey, I have the vs 2015 rtm build. Don't use rc
Sent from my iPhone
On Jul 16, 2015, at 6:36 AM, Sergey Grebnov <notifications<EMAIL_ADDRESS>wrote:
as per quick test everything (build, playground app, tests) works fine if I use VS2015 RC Community to open solution file (the following still must be updated: docs and *.cmd files as they rely to specific VS version when doing call "%VS120COMNTOOLS%vsvars32.bat")

Reply to this email directly or view it on GitHubhttps://github.com/Microsoft/PowerBI-visuals/issues/1#issuecomment-121957759.

I'm on RTM. I install TypeScript 1.4 for VS 2013. After that npm run build succeeded.
However, when I'm trying samples folder to run in VS 2015, I'm getting:
Severity	Code	Description	Project	File	Line
Your project file uses a different version of the TypeScript compiler and tools than is currently installed on this machine.  No compiler was found at C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.4\1.4\tsc.exe.  You may be able to fix this problem by changing the  element in your project file.

Support for VS 2015 has been added. Refer to v0.2.0 for details. Please note, once you sync, you will be unable to use VS 2013 for development. Thanks.


ChromeOS issues with onscreen keyboard resulting from failure to pass valid keyCode

Describe the bug

I am trying to use this library on a chrome os device with the on screen touch keyboard (not a physical keyboard) and am having issues. It seems that chrome os does not pass the correct keyCode which is used extensively. Instead keyCode is always 0. I believe this article describes what I am seeing
https://stackoverflow.com/questions/8942678/keyboardevent-in-chrome-keycode-is-0/12522752#12522752
This points to the following spec that states the keyCode event while having near universal support is deprecated.
https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode
It would seem that maybe in the case of keyCode = 0 it needs to be handled in a different way.  You can type in the field but the mask is pushed and not honored at all when used as the key event is called but not processed correctly.
I did try using the inputEventOnly="true" flag which says it is for debug testing only and that seems to make things mostly work. The problem I ran into is this does not seem to handle the backspace key correctly when it encounters the / in a date field.
I'm continuing to look into this and can provide screenshots or other information as needed.

Add a link to a codepen, jsfiddle or other example page which shows the problem
https://robinherbots.github.io/Inputmask/ - since the issue is OS dependent I'm not certain I can create a better example.

OS:
ChromeOS / I am recreating using cloudready but I believe any Chromebook will have the same issue

Browser
Chrome

Inputmask version
5.x and now testing using latest code from git repo

This patch seems to fix the issue that we are seeing when working with dates and using the backspace in inputEventOnly mode.
It does slightly change the behavior when not in inputEventOnly mode, but I believe the change may be beneficial. It changes the behavior when you have a partially completed date such as "11/11/yyyy" and you select (highlight) the second slash character then press the backspace. Previously it would place the cursor after the slash. Now it will place it in front of the slash. (In both cases this is different from the behavior if the cursor is after the slash and no character is selected.)
We have not yet fully evaluated the effect on other input masks.
We believe it is likely that this may adversely affect behavior if the field is configured for right to left reading and there may be a better way to fix and handle that. It is possible this is already handled by the reversal of the value of k at the beginning of the function.
This behavior defaults to "lvp" for postionCaretOnClick when calling determineNewCaretPosition() from handleRemove(). It is possible that it would be better to default to undefined or opts.postionCaretOnClick (as the current behavior in determineNewCaretPosition).
We would definitely be interested in your feedback on this fix and whether you feel it would be reasonable to switch to using inputEventOnly="true" or if this would potentially cause problems in other browsers.
handle_backspace.zip

@ktvfe ,
Using the inputeventonly option is a valid option as it is used on every mobile device (or should be)
On which kind of device are you using the ChromeOS?  I need a way to detect wheter a virtual keyboard  is used or a physical.
For the backspace handling for ex Dates.  This is not related to the ChromeOS issue.  I tested, with and without the inputeventonly option.  It would indeed be more logical that the caret is before the / in this case.  I will have a look at your patch.

@ktvfe ,
With this mask you can reproduce the backspace bug.
´´´
Inputmask("99-99", {
inputEventOnly: true,
insertMode: false
}).mask("test2");
´´´

I am using just cloudready (https://www.neverware.com/freedownload#home-edition-install) off a usb to reproduce with my pc. I think any chromeos device can be used to reproduce by selecting the onscreen keyboard and not using the physical keyboard. As this is the default behavior on chromeos tablets (not full pc replacements) I think it will be more prevalent there. I am trying to find the model it was first seen on.
I am also trying to get a pull request together. I think the patch changed just  a slight amount to handle delete and safari potentially better. I am working on testing that. Sorry for the delay and thank your for looking at this and verifying you can reproduce behavior.

This appears fixed in 5.0.8. Thank you.


TensorBoard pane does not display TensorFlow output.

Issue Type: Bug

Start TensorBoard from VSCode on macOS by cmd-shift P and selecting "Python: Launch TensorBoard", specifying the model directory (model_dir).

VS Code version: Code 1.54.1 (f30a9b73e8ffc278e71575118b6bf568f04587c8, 2021-03-04T22:42:18.719Z)
OS version: Darwin x64 20.3.0
Remote OS version: Linux x64 5.4.0-1037-aws

System Info

Item
Value

CPUs
Apple M1 (8 x 2400)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
1, 2, 2

Memory (System)
16.00GB (0.05GB free)

Process Argv
--crash-reporter-id 7dfc0449-544b-4fa5-917f-21b04190e4ed

Screen Reader
no

VM
0%

Item
Value

Remote
SSH: NYYAWS

OS
Linux x64 5.4.0-1037-aws

CPUs
Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz (4 x 2758)

Memory (System)
59.86GB (10.91GB free)

VM
0%

Extensions (14)

Extension
Author (truncated)
Version

codespaces
Git
0.8.2

remote-containers
ms-
0.163.2

remote-ssh
ms-
0.65.1

remote-ssh-edit
ms-
0.65.1

remote-wsl
ms-
0.54.3

vscode-remote-extensionpack
ms-
0.20.0

material-icon-theme
PKi
4.5.0

rainbow-csv
mec
1.8.1

python
ms-
2021.2.636928669

vscode-pylance
ms-
2021.3.1

jupyter
ms-
2021.3.619093157

html-preview-vscode
tht
0.2.5

docker
vsc
1.0.0

yaml
vsc
1.0.0

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry244:30256636
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30259475
dockersubset:30270708
pythontb:30265425
vspre833:30267464

@fonnesbeck What do you see in the TensorBoard panel? If you click on the refresh icon in the top right corner of the TensorBoard panel, does the panel update? If it does, you can configure TensorBoard to auto refresh every 30 seconds (this was turned off by default in TensorBoard 2.3).

There is no content on the TensorBoard panel at all, so there is no TensorBoard interface to interact with. Its just a generic empty VSCode panel.

Thanks for clarifying, sounds like the webview is blank and never loads the TensorBoard UI. Could you please do me a favor and run the Toggle Developer Tools command in the command palette, and paste the logs that you see in the developer console? There are a couple things that could be causing this, so the logs will help us narrow it down.

Sure thing, here it is:
console.ts:137 [Extension Host] (node:17038) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
v @ console.ts:137
console.ts:137 [Extension Host] (node:1469884) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
v @ console.ts:137
notificationsAlerts.ts:40 A notebook could execute harmful code when opened. Some outputs have been hidden. Do you trust this notebook? Learn more.
onDidChangeNotification @ notificationsAlerts.ts:40
webviewElement.ts:90 [Embedded Page] Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq
webviewElement.ts:90 [Embedded Page] Failed to construct 'Worker': Script at 'vscode-webview-resource://ed7d7b0b-437f-43c6-a855-31515ee0e729/file///home/ubuntu/matchup_model/.ipynb_checkpoints/editor.worker.js' cannot be accessed from origin 'vscode-webview://ed7d7b0b-437f-43c6-a855-31515ee0e729'.
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] resolving connection...
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] connecting to <IP_ADDRESS>:58542...
log.ts:284  INFO [remote-connection][Management   ][f2f4f…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
log.ts:284  INFO [remote-connection][Management   ][f2f4f…][reconnect] resolving connection...
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] reconnected!
log.ts:284  INFO [remote-connection][Management   ][f2f4f…][reconnect] connecting to <IP_ADDRESS>:59148...
log.ts:284  INFO [remote-connection][Management   ][f2f4f…][reconnect] reconnected!
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] resolving connection...
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] connecting to <IP_ADDRESS>:59148...
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] reconnected!
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] resolving connection...
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] connecting to <IP_ADDRESS>:59148...
log.ts:284  INFO [remote-connection][Management   ][f2f4f…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
log.ts:284  INFO [remote-connection][Management   ][f2f4f…][reconnect] resolving connection...
log.ts:284  INFO [remote-connection][Management   ][f2f4f…][reconnect] connecting to <IP_ADDRESS>:59180...
log.ts:284  INFO [remote-connection][Management   ][f2f4f…][reconnect] reconnected!
localProcessExtensionHost.ts:265 Extension Host
localProcessExtensionHost.ts:266 Debugger attached.
log.ts:296   ERR [remote-connection][ExtensionHost][a1e88…][reconnect][<IP_ADDRESS>:59148] socketFactory.connect() failed or timed out. Error:
log.ts:296   ERR Error: Time limit reached
    at u._createTimeoutError (remoteAgentConnection.ts:151)
    at u._timeout (remoteAgentConnection.ts:147)
    at remoteAgentConnection.ts:129
    at l.fire (event.ts:622)
    at k.cancel (cancellation.ts:69)
    at T.cancel (cancellation.ts:124)
    at remoteAgentConnection.ts:92
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] A network error occurred while trying to reconnect, will try again...
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] waiting for 5 seconds before reconnecting...
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] resolving connection...
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] connecting to <IP_ADDRESS>:59180...
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] reconnected!
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] resolving connection...
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] connecting to <IP_ADDRESS>:59180...
log.ts:284  INFO [remote-connection][Management   ][f2f4f…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
log.ts:284  INFO [remote-connection][Management   ][f2f4f…][reconnect] resolving connection...
log.ts:284  INFO [remote-connection][Management   ][f2f4f…][reconnect] connecting to <IP_ADDRESS>:59267...
log.ts:284  INFO [remote-connection][Management   ][f2f4f…][reconnect] reconnected!
localProcessExtensionHost.ts:265 Extension Host
localProcessExtensionHost.ts:266 Debugger attached.
log.ts:296   ERR [remote-connection][ExtensionHost][a1e88…][reconnect][<IP_ADDRESS>:59180] socketFactory.connect() failed or timed out. Error:
log.ts:296   ERR Error: Time limit reached
    at u._createTimeoutError (remoteAgentConnection.ts:151)
    at u._timeout (remoteAgentConnection.ts:147)
    at remoteAgentConnection.ts:129
    at l.fire (event.ts:622)
    at k.cancel (cancellation.ts:69)
    at T.cancel (cancellation.ts:124)
    at remoteAgentConnection.ts:92
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] A network error occurred while trying to reconnect, will try again...
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] waiting for 5 seconds before reconnecting...
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] resolving connection...
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] connecting to <IP_ADDRESS>:59267...
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] reconnected!
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] resolving connection...
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] connecting to <IP_ADDRESS>:59267...
log.ts:284  INFO [remote-connection][Management   ][f2f4f…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
log.ts:284  INFO [remote-connection][Management   ][f2f4f…][reconnect] resolving connection...
log.ts:284  INFO [remote-connection][Management   ][f2f4f…][reconnect] connecting to <IP_ADDRESS>:59457...
log.ts:284  INFO [remote-connection][Management   ][f2f4f…][reconnect] reconnected!
localProcessExtensionHost.ts:265 Extension Host
localProcessExtensionHost.ts:266 Debugger attached.
log.ts:296   ERR [remote-connection][ExtensionHost][a1e88…][reconnect][<IP_ADDRESS>:59267] socketFactory.connect() failed or timed out. Error:
log.ts:296   ERR Error: Time limit reached
    at u._createTimeoutError (remoteAgentConnection.ts:151)
    at u._timeout (remoteAgentConnection.ts:147)
    at remoteAgentConnection.ts:129
    at l.fire (event.ts:622)
    at k.cancel (cancellation.ts:69)
    at T.cancel (cancellation.ts:124)
    at remoteAgentConnection.ts:92
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] A network error occurred while trying to reconnect, will try again...
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] waiting for 5 seconds before reconnecting...
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] resolving connection...
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] connecting to <IP_ADDRESS>:59457...
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] reconnected!
browserSocketFactory.ts:162 WebSocket connection to 'ws://<IP_ADDRESS>:59148/?reconnectionToken=a1e88c68-596c-4e9d-8677-1b1a88177d89&reconnection=true&skipWebSocketFrames=false' failed: WebSocket opening handshake timed out
create @ browserSocketFactory.ts:162
log.ts:296   ERR Error: WebSocket close with status code 1006
    at WebSocket.<anonymous> (browserSocketFactory.ts:129)
browserSocketFactory.ts:162 WebSocket connection to 'ws://<IP_ADDRESS>:59180/?reconnectionToken=a1e88c68-596c-4e9d-8677-1b1a88177d89&reconnection=true&skipWebSocketFrames=false' failed: WebSocket opening handshake timed out
create @ browserSocketFactory.ts:162
log.ts:296   ERR Error: WebSocket close with status code 1006
    at WebSocket.<anonymous> (browserSocketFactory.ts:129)
browserSocketFactory.ts:162 WebSocket connection to 'ws://<IP_ADDRESS>:59267/?reconnectionToken=a1e88c68-596c-4e9d-8677-1b1a88177d89&reconnection=true&skipWebSocketFrames=false' failed: WebSocket opening handshake timed out
create @ browserSocketFactory.ts:162
log.ts:296   ERR Error: WebSocket close with status code 1006
    at WebSocket.<anonymous> (browserSocketFactory.ts:129)
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] resolving connection...
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] connecting to <IP_ADDRESS>:59457...
log.ts:284  INFO [remote-connection][Management   ][f2f4f…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
log.ts:284  INFO [remote-connection][Management   ][f2f4f…][reconnect] resolving connection...
log.ts:284  INFO [remote-connection][Management   ][f2f4f…][reconnect] connecting to <IP_ADDRESS>:60201...
log.ts:284  INFO [remote-connection][Management   ][f2f4f…][reconnect] reconnected!
localProcessExtensionHost.ts:265 Extension Host
localProcessExtensionHost.ts:266 Debugger attached.
log.ts:296   ERR [remote-connection][ExtensionHost][a1e88…][reconnect][<IP_ADDRESS>:59457] socketFactory.connect() failed or timed out. Error:
log.ts:296   ERR Error: Time limit reached
    at u._createTimeoutError (remoteAgentConnection.ts:151)
    at u._timeout (remoteAgentConnection.ts:147)
    at remoteAgentConnection.ts:129
    at l.fire (event.ts:622)
    at k.cancel (cancellation.ts:69)
    at T.cancel (cancellation.ts:124)
    at remoteAgentConnection.ts:92
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] A network error occurred while trying to reconnect, will try again...
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] waiting for 5 seconds before reconnecting...
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] resolving connection...
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] connecting to <IP_ADDRESS>:60201...
log.ts:284  INFO [remote-connection][ExtensionHost][a1e88…][reconnect] reconnected!
browserSocketFactory.ts:162 WebSocket connection to 'ws://<IP_ADDRESS>:59457/?reconnectionToken=a1e88c68-596c-4e9d-8677-1b1a88177d89&reconnection=true&skipWebSocketFrames=false' failed: WebSocket opening handshake timed out
create @ browserSocketFactory.ts:162
log.ts:296   ERR Error: WebSocket close with status code 1006
    at WebSocket.<anonymous> (browserSocketFactory.ts:129)
console.ts:137 [Extension Host] Starting WebSocket: RAW/api/kernels/bb7d46b4-d985-446a-84f0-39c9ab27a2dd
console.ts:137 [Extension Host] Kernel: connected (bb7d46b4-d985-446a-84f0-39c9ab27a2dd)
webviewElement.ts:90 [Embedded Page] Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq
webviewElement.ts:90 [Embedded Page] Failed to construct 'Worker': Script at 'vscode-webview-resource://d73917db-f56f-4b05-9584-6a57723d8b39/file///home/ubuntu/matchup_model/editor.worker.js' cannot be accessed from origin 'vscode-webview://d73917db-f56f-4b05-9584-6a57723d8b39'.
webviewElement.ts:90 [Embedded Page] Starting WebSocket: BOGUS_PVSC/api/kernels/bb7d46b4-d985-446a-84f0-39c9ab27a2dd
webviewElement.ts:90 [Embedded Page] Kernel: connected (bb7d46b4-d985-446a-84f0-39c9ab27a2dd)
console.ts:137 [Extension Host] Starting WebSocket: RAW/api/kernels/e243c094-c43d-491e-81b1-2a32f4244ce0
console.ts:137 [Extension Host] Kernel: connected (e243c094-c43d-491e-81b1-2a32f4244ce0)
log.ts:296   ERR Canceled: Error: Canceled
	at /home/ubuntu/.vscode-server/extensions/ms-toolsai.jupyter-2021.3.619093157/out/client/extension.js:1:153848
	at g.fire (/home/ubuntu/.vscode-server/bin/fd6f3bce6709b121a895d042d343d71f317d74e7/out/vs/server/remoteExtensionHostProcess.js:57:1836)
	at P.cancel (/home/ubuntu/.vscode-server/bin/fd6f3bce6709b121a895d042d343d71f317d74e7/out/vs/server/remoteExtensionHostProcess.js:57:5185)
	at C.cancel (/home/ubuntu/.vscode-server/bin/fd6f3bce6709b121a895d042d343d71f317d74e7/out/vs/server/remoteExtensionHostProcess.js:57:5726)
	at Object.M (/home/ubuntu/.vscode-server/bin/fd6f3bce6709b121a895d042d343d71f317d74e7/out/vs/server/remoteExtensionHostProcess.js:90:8850)
	at c._receiveCancel (/home/ubuntu/.vscode-server/bin/fd6f3bce6709b121a895d042d343d71f317d74e7/out/vs/server/remoteExtensionHostProcess.js:90:9575)
	at c._receiveOneMessage (/home/ubuntu/.vscode-server/bin/fd6f3bce6709b121a895d042d343d71f317d74e7/out/vs/server/remoteExtensionHostProcess.js:90:8019)
	at /home/ubuntu/.vscode-server/bin/fd6f3bce6709b121a895d042d343d71f317d74e7/out/vs/server/remoteExtensionHostProcess.js:90:5782
	at g.fire (/home/ubuntu/.vscode-server/bin/fd6f3bce6709b121a895d042d343d71f317d74e7/out/vs/server/remoteExtensionHostProcess.js:57:1836)
	at p.fire (/home/ubuntu/.vscode-server/bin/fd6f3bce6709b121a895d042d343d71f317d74e7/out/vs/server/remoteExtensionHostProcess.js:65:15443)
	at /home/ubuntu/.vscode-server/bin/fd6f3bce6709b121a895d042d343d71f317d74e7/out/vs/server/remoteExtensionHostProcess.js:106:29119
	at g.fire (/home/ubuntu/.vscode-server/bin/fd6f3bce6709b121a895d042d343d71f317d74e7/out/vs/server/remoteExtensionHostProcess.js:57:1836)
	at p.fire (/home/ubuntu/.vscode-server/bin/fd6f3bce6709b121a895d042d343d71f317d74e7/out/vs/server/remoteExtensionHostProcess.js:65:15443)
	at t._receiveMessage (/home/ubuntu/.vscode-server/bin/fd6f3bce6709b121a895d042d343d71f317d74e7/out/vs/server/remoteExtensionHostProcess.js:65:20693)
	at /home/ubuntu/.vscode-server/bin/fd6f3bce6709b121a895d042d343d71f317d74e7/out/vs/server/remoteExtensionHostProcess.js:65:19791
	at g.fire (/home/ubuntu/.vscode-server/bin/fd6f3bce6709b121a895d042d343d71f317d74e7/out/vs/server/remoteExtensionHostProcess.js:57:1836)
	at l.acceptChunk (/home/ubuntu/.vscode-server/bin/fd6f3bce6709b121a895d042d343d71f317d74e7/out/vs/server/remoteExtensionHostProcess.js:65:12808)
	at /home/ubuntu/.vscode-server/bin/fd6f3bce6709b121a895d042d343d71f317d74e7/out/vs/server/remoteExtensionHostProcess.js:65:12156
	at g.fire (/home/ubuntu/.vscode-server/bin/fd6f3bce6709b121a895d042d343d71f317d74e7/out/vs/server/remoteExtensionHostProcess.js:57:1836)
	at /home/ubuntu/.vscode-server/bin/fd6f3bce6709b121a895d042d343d71f317d74e7/out/vs/server/remoteExtensionHostProcess.js:106:18119
	at afterWrite (_stream_writable.js:490:5)
	at onwrite (_stream_writable.js:470:7)
	at InflateRaw.afterTransform (_stream_transform.js:98:3)
	at Zlib.processCallback (zlib.js:578:8)
webviewElement.ts:90 [Embedded Page] Failed to construct 'Worker': Script at 'vscode-webview-resource://d73917db-f56f-4b05-9584-6a57723d8b39/file///home/ubuntu/matchup_model/editor.worker.js' cannot be accessed from origin 'vscode-webview://d73917db-f56f-4b05-9584-6a57723d8b39'.
webviewElement.ts:90 [Embedded Page] Starting WebSocket: BOGUS_PVSC/api/kernels/e243c094-c43d-491e-81b1-2a32f4244ce0
webviewElement.ts:90 [Embedded Page] Kernel: connected (e243c094-c43d-491e-81b1-2a32f4244ce0)
console.ts:137 [Extension Host] Starting WebSocket: RAW/api/kernels/8f8cfce0-636e-4130-b8ee-d6cec77771d0
console.ts:137 [Extension Host] Kernel: connected (8f8cfce0-636e-4130-b8ee-d6cec77771d0)
console.ts:137 [Extension Host] Kernel: starting (8f8cfce0-636e-4130-b8ee-d6cec77771d0)
console.ts:137 [Extension Host] Starting WebSocket: RAW/api/kernels/508b82e1-319e-4008-a2de-4c01b77744bd
console.ts:137 [Extension Host] Kernel: connected (508b82e1-319e-4008-a2de-4c01b77744bd)
webviewElement.ts:90 [Embedded Page] Starting WebSocket: BOGUS_PVSC/api/kernels/508b82e1-319e-4008-a2de-4c01b77744bd
webviewElement.ts:90 [Embedded Page] Kernel: connected (508b82e1-319e-4008-a2de-4c01b77744bd)
console.ts:137 [Extension Host] Starting WebSocket: RAW/api/kernels/2ea346d5-497f-4c2d-b417-35c9fc0b101f
console.ts:137 [Extension Host] Kernel: connected (2ea346d5-497f-4c2d-b417-35c9fc0b101f)
webviewElement.ts:90 [Embedded Page] Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq
webviewElement.ts:90 [Embedded Page] Failed to construct 'Worker': Script at 'vscode-webview-resource://636fd967-c49a-451c-8e42-6d8d49843f33/file///home/ubuntu/matchup_model/editor.worker.js' cannot be accessed from origin 'vscode-webview://636fd967-c49a-451c-8e42-6d8d49843f33'.
console.ts:137 [Extension Host] Starting WebSocket: RAW/api/kernels/33c01451-cf04-4ef1-a5ca-9b9a3eb237b6
console.ts:137 [Extension Host] Kernel: connected (33c01451-cf04-4ef1-a5ca-9b9a3eb237b6)
webviewElement.ts:90 [Embedded Page] Starting WebSocket: BOGUS_PVSC/api/kernels/33c01451-cf04-4ef1-a5ca-9b9a3eb237b6
webviewElement.ts:90 [Embedded Page] Kernel: connected (33c01451-cf04-4ef1-a5ca-9b9a3eb237b6)
console.ts:137 [Extension Host] Starting WebSocket: RAW/api/kernels/9a1a38e9-4bea-408a-8d98-e66149a5ed62
console.ts:137 [Extension Host] Kernel: connected (9a1a38e9-4bea-408a-8d98-e66149a5ed62)
webviewElement.ts:90 [Embedded Page] Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq
webviewElement.ts:90 [Embedded Page] Failed to construct 'Worker': Script at 'vscode-webview-resource://bf46822e-0930-4917-bd01-6bcf7750de19/file///home/ubuntu/matchup_model/editor.worker.js' cannot be accessed from origin 'vscode-webview://bf46822e-0930-4917-bd01-6bcf7750de19'.
console.ts:137 [Extension Host] Starting WebSocket: RAW/api/kernels/7c74e126-cc28-4b5e-82aa-69f308eb500b
console.ts:137 [Extension Host] Kernel: connected (7c74e126-cc28-4b5e-82aa-69f308eb500b)
console.ts:137 [Extension Host] Kernel: starting (7c74e126-cc28-4b5e-82aa-69f308eb500b)
webviewElement.ts:90 [Embedded Page] Starting WebSocket: BOGUS_PVSC/api/kernels/7c74e126-cc28-4b5e-82aa-69f308eb500b
webviewElement.ts:90 [Embedded Page] Kernel: connected (7c74e126-cc28-4b5e-82aa-69f308eb500b)
console.ts:137 [Extension Host] Starting WebSocket: RAW/api/kernels/3975175d-0d40-4918-ba64-5e61b961a00d
console.ts:137 [Extension Host] Kernel: connected (3975175d-0d40-4918-ba64-5e61b961a00d)
webviewElement.ts:90 [Embedded Page] Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq
webviewElement.ts:90 [Embedded Page] Failed to construct 'Worker': Script at 'vscode-webview-resource://eabd6213-e552-49fb-a158-9548cd9e13f3/file///home/ubuntu/matchup_model/editor.worker.js' cannot be accessed from origin 'vscode-webview://eabd6213-e552-49fb-a158-9548cd9e13f3'.
console.ts:137 [Extension Host] Starting WebSocket: RAW/api/kernels/5b0ae23f-e604-47a5-8417-f1bbd6369681
console.ts:137 [Extension Host] Kernel: connected (5b0ae23f-e604-47a5-8417-f1bbd6369681)
webviewElement.ts:90 [Embedded Page] Starting WebSocket: BOGUS_PVSC/api/kernels/5b0ae23f-e604-47a5-8417-f1bbd6369681
webviewElement.ts:90 [Embedded Page] Kernel: connected (5b0ae23f-e604-47a5-8417-f1bbd6369681)
console.ts:137 [Extension Host] Starting WebSocket: RAW/api/kernels/dca08131-c120-4757-95c4-84130de07352
console.ts:137 [Extension Host] Kernel: connected (dca08131-c120-4757-95c4-84130de07352)
webviewElement.ts:90 [Embedded Page] Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq
webviewElement.ts:90 [Embedded Page] Failed to construct 'Worker': Script at 'vscode-webview-resource://b7543a23-d37f-4e9e-ae4d-b6c01f8640a4/file///home/ubuntu/matchup_model/editor.worker.js' cannot be accessed from origin 'vscode-webview://b7543a23-d37f-4e9e-ae4d-b6c01f8640a4'.

Here is what the tensorboard panel looks like:

UPDATE: I closed the TensorBoard tab and started it again from the command palette, and this time I get the following:

So, TB is there but for some reason badly cropped.

Ah yes I have a possible fix for that cropping issue in progress. In the meantime if you drag the group divider, that should force the webview to redraw the TensorBoard UI to fill the editor pane.

UPDATE: in a new session, I am no longer able to get any tensorboard content at all anymore, just the blank panel. Even manually starting it from the command palette does not fix the issue anymore.

Are you using Remote-SSH and starting TensorBoard on the remote host? If so, there should be a port forward created for 6006 in the ports management tab at the bottom of VS Code (same panel as the integrated terminal). That port forward needs to remain open for TensorBoard integration to work when the Python extension is installed on a remote host.

Ah, yes. That solves the blank panel issue. It still appears as a small, cropped square until I manually resize the pane, however.

I've got the same issue using VS code insiders (1.56-insiders). I get a blank pane with no UI elements as described, but the stack trace is different:
Refused to execute script from 'http://localhost:6006/index.js?_file_hash=8bbeb739' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.

In the standard version of VS code (1.55.2) I have the same result and error message in the console.

Hi @rbudnar, if you are on Windows, that error message usually shows up when you have a MIME type misconfiguration in the Windows registry. This is also tracked as https://github.com/tensorflow/tensorboard/issues/3077. You can verify if this is the problem by running the following code in a shell:
python -c "import mimetypes; print(list(mimetypes.guess_type('index.js')))"

If the output is anything other than application/javascript, the most common cause is that some other application has added an incorrect MIME type to the Windows registry as part of its installation process. The fix in this case would be to look for and delete the "Content Type" key with value "text/plain" under the Computer\HKEY_CLASSES_ROOT.js registry hive.
Otherwise, please feel free to open a new issue with our bug template filled out.
FYI @fonnesbeck I've fixed the issue you reported in this thread by ensuring that port forwards are automatically created when running on Remote SSH. The cropping issue should also be fixed. That patch will become available in our next release (~mid-end May), or you can download VS Code Insiders and opt into daily insiders builds for the Python extension to access the fix now. Thanks for filing a bug and providing feedback 😊 I'll be closing this issue in favor of https://github.com/microsoft/vscode-python/issues/15807 which has more details from customers.

FYI: I am running on Windows and had to implement your suggested registry fix (today).  Thanks for posting that.  It did indeed immediately solve the problem.
My setup: Version: 1.56.2 (user setup)
Commit: 054a9295330880ed74ceaedda236253b4f39a335
Date: 2021-05-12T17:13:13.157Z
Electron: 12.0.4
Chrome: 89.0.4389.114
Node.js: 14.16.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19042
VS code tells me there are no updates.

@steveSchneider2 What version of the Python extension are you running? This problem should be fixed in v2021.5.829140558 onward.


backpress not working properly in simulator of video,dictation and flash templates

Problems in Video and Dictation templates:
Create a project and run the simulator. Now select a video(or dictation). Click back press. You will be redirected to choose. Instead go to the last fragment and click restart. Now click back press. Instead of redirecting to choose you will be exited.
Problems in flash card template:
Clicking backpress should take you to the previous card. Instead the app is exiting.
@opticod shall I create a pr for this?

Case Video and Dictation templates: Once the user restarts,on clicking back press, it should not redirect to last fragment. Hence it looks fine to me.
But with flash card template, its an issue, while checking one card, on pressing back, it should redirect to last fragment for that card.
You can continue with fixing the 2nd one.

@opticod after restart,on clicking back press i didn't mean last fragment, l am saying the very first fragment where the user is asked to choose from the list available.
Like say there are 2 different passages in a dictation project. Now if you choose the 1st and instead of submitting do backpress(not back button), you will again be redirected to first fragment and asked to choose one of the dictations. Now again choose 1st,submit it and restart. Now if you perform back press the app is exited instead of asking you to choose one of the dictations.

@iit2014086 , yea my mistake. I checked it. Its not showing the very first fragment.

@iit2014086, this issue is only with simulator or also with the created APKs?

@opticod the issue is with the created APK's also. Shall I send a pr to toolkit-mobile-templates too?

Yaa. First u create a PR there, and wait for it to get reviewed and merged. Then with those changes and updated master branch of Toolkit-mobile-templates, create those updated APKs and add it to PR targeted here.

Okay. I will send a pr there ;)

Closed via #394


Bottom Navigation Tab

The color for the bottom navigation tab does not really match. Make it match with the header / app bar.

They were both using them.primaryColor but were appear different for some reason. So I had to change the elevation property of the navigation bar to 0.


The Home page is not scrolled using scrollbar after resizing the page to 250%

Steps to reproduce:

Go to the https://ita-social-projects.github.io/GreenCityClient/#/welcome
Resize the page to 250%
Expand the Menu icon
Pay attention to the scroll
Expected Result:
The page is scrolled using the scrollbar
Actual Result:
The page is frozen and no action is done after scrolling
Environment: Chrome Версія 80.0.3987.122 (Розробка) (64-розрядна версія) Windows7 Ultima

#352

Not fixed
Windows 10 x64, Mozilla Firefox 76.0 (64-bit)


Update for HasRep with better GADT support.

Fixes #65.

@sellout I finally got a chance to look at this again but I ran into an overlapping instances problem locally.
When I try to replicate the problem against the the examples here, using cdd51e5, I run into a few problems:
in nix-shell, cabal complains:
$ cabal build all
fatal: reference is not a tree: 949ced997a600168205e4ad9d2f1425ccd3dc622

If I update concat to the most recent hash and rebuild, I'm then able to build the project but unconcat fails with, among other things,
Categorifier/C/UnconCat.hs:33:20: error:
    • Couldn't match expected type ‘t2
                                    -> categorifier-duoids-0.1:Categorifier.Duoidal.Parallel
                                         (ExceptT
                                            (GHC.Base.NonEmpty
                                               Categorifier.Core.Types.MissingSymbol)
                                            Plugins.CoreM)
                                         Plugins.TyCon’
                  with actual type ‘categorifier-duoids-0.1:Categorifier.Duoidal.Parallel
                                      (ExceptT
                                         (GHC.Base.NonEmpty Categorifier.Core.Types.MissingSymbol)
                                         Plugins.CoreM)
                                      Plugins.TyCon’
    • The function ‘findTyCon’ is applied to two arguments,
      but its type ‘template-haskell-<IP_ADDRESS>:Language.Haskell.TH.Syntax.Name
                    -> categorifier-duoids-0.1:Categorifier.Duoidal.Parallel
                         (ExceptT
                            (GHC.Base.NonEmpty Categorifier.Core.Types.MissingSymbol)
                            Plugins.CoreM)
                         Plugins.TyCon’
      has only one
      In a stmt of a 'do' block:
        targetObTyCon <- findTyCon
                           "Categorifier.C.CExpr.Cat.TargetOb" "TargetOb"
      In the expression:
        do catId <- findId "Categorifier.C.CExpr.Cat" "cat"
           cexprTyCon <- findTyCon "Categorifier.C.CExpr.Types.Core" "CExpr"
           targetObTyCon <- findTyCon
                              "Categorifier.C.CExpr.Cat.TargetOb" "TargetOb"
           return \ buildDictionary cat nativeFunTy target args
                    -> runMaybeT $ do ...
   |
33 |   targetObTyCon <- findTyCon "Categorifier.C.CExpr.Cat.TargetOb" "TargetOb"

@o1lo01ol1o Sorry, I accidentally force-pushed a change and broke that reference. Let me get it cleaned up.

@o1lo01ol1o This should be better now. And hopefully merged into master soon (but would appreciate your feedback if you try it before then).


folders recursively created until path to long

Hi
Great work.
When running 'Prepare-ClickOnce' I end up with an exception:
Prepare-ClickOnce -target Installers -version <IP_ADDRESS> -source . -applicationExecutable PortfolioManager.exe -applicationName PortfolioManagerNew -applicationDisplayName PortfolioManagerNewDisplayName -icon LindCapital2.ico -publisher fslPublisher -providerPath http://localhost/Portfoliomanager -processor amd64
Copy-Item : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be
less than 248 characters.
At C:\Users\fsl\source\LindCapitalAll\branches\working\Deploy\Support\ClickOnce.ps1:59 char:3

Copy-Item -r -exclude *.xml "$source*" $targetVersion

+ CategoryInfo          : WriteError: (C:\Users\fsl\so....3.6\Installers:String) [Copy-Item], PathTooLongException
+ FullyQualifiedErrorId : CreateDirectoryIOError,Microsoft.PowerShell.Commands.CopyItemCommand

And a whole lot of directories of the form:
\Installers\<IP_ADDRESS>\Installers\<IP_ADDRESS>\Installers\<IP_ADDRESS>\Installers\
I'm pretty sure I'm not calling the script recursively on my own..
Any suggestions?
Thx.

For handling of long file name i check that "Long Path Tool" software should be try, many articles refer this for such solutions.


Added --target option for overriding target triple

Helps with cross-compilation when the target triple does not match the
machine you're building on.
I'm new to rust so let me know if I'm doing anything non-idiomatic.

Ok, I also tried to add target auto-detection through llvm-config --host-target. No idea if this is idomatic Rust or not, feel free to criticize.

My understanding is that leaving the target blank makes LLVM pick the default target automatically. Is that incorrect?
(Will look at the other commits in detail later)

Ah, so it does! Dropped that logic for just omitting the field if target is not provided.


async setting is not respected for tapAfterCompileToAddDependencies

Current behavior
When async is set to true, issues will be surfaced asynchronously via tapDoneToAsyncGetIssues. However, the first recompilation gets blocked in tapAfterCompileToAddDependencies due to the webpack compilation waiting on state.dependencies promise. When TS compilation is very slow or broken (as there seemed to be in 4.3.2 for us), this causes webpack compilation to hang with no indication of what is going wrong.
Expected behavior
When async is set, triggering a recompilation via file save should happen immediately, instead of being stuck behind initial TS project compilation to add dependencies.
Steps to reproduce the issue
It is tough to create a clear repro because this only happens when repo is so big or having issues that this step takes a long time. To emulate it, you can set state.dependenciesPromise to just be a very long sleep promise and see that recompilations after the first can not start until that is complete.
Proposed fix
I have attached a proposed fix patch that is working for us. I worry I may be missing some potential leak by not waiting for this promise, but it has been working will in our large repo for about a week now
diff --git a/node_modules/fork-ts-checker-webpack-plugin/lib/hooks/tapAfterCompileToAddDependencies.js b/node_modules/fork-ts-checker-webpack-plugin/lib/hooks/tapAfterCompileToAddDependencies.js
index f5155a2..589846a 100644
--- a/node_modules/fork-ts-checker-webpack-plugin/lib/hooks/tapAfterCompileToAddDependencies.js
+++ b/node_modules/fork-ts-checker-webpack-plugin/lib/hooks/tapAfterCompileToAddDependencies.js
@@ -10,7 +10,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
 };
 Object.defineProperty(exports, "__esModule", { value: true });
 function tapAfterCompileToAddDependencies(compiler, configuration, state) {
-    compiler.hooks.afterCompile.tapPromise('ForkTsCheckerWebpackPlugin', (compilation) => __awaiter(this, void 0, void 0, function* () {
+    const tapFn = configuration.async
+        ? compiler.hooks.afterCompile.tap
+        : compiler.hooks.afterCompile.tapPromise;
+
+    tapFn.call(compiler.hooks.afterCompile, 'ForkTsCheckerWebpackPlugin', (compilation) => __awaiter(this, void 0, void 0, function* () {
         if (compilation.compiler !== compiler) {
             // run only for the compiler that the plugin was registered for
             return;

Environment

fork-ts-checker-webpack-plugin: 6.2.13
typescript: 4.3.2
eslint: NA
webpack: 5.46.0
os: Windows

I can't add it to async, because it will create some race conditions in how webpack watches files. This will also potentially break our E2E tests :/
I'm working on a new release of the plugin which will have a separate thread for dependencies and separate for diagnostics. It will still be sync for dependencies, but computing dependencies on its own should be fast enough (it only parses tsconfig.json file(s)). Currently it can be blocked by diagnostics checks because it runs on the same thread and typescript diagnostics are synchronous.

There should be a new version released in a few minutes. It should fix this issue :) Could you confirm?

Let me try it later this week. Thanks!


Remove extra params

Removes extra institution_code and is_oauth request body params that
snuck in on the update member endpoint.

:shipit:


Fix function fit scope

It fixes the function fits issue, but it's givin weird results for the Main module faked (probably due to the faking, i.e. it's in scope in a weird way):
      tests/TestUtils.hs:98:
      Fix mismatch!
      Expected:
      diff --git a/tests/cases/mainMod.hs b/tests/cases/mainMod.hs
      --- a/tests/cases/mainMod.hs
      +++ b/tests/cases/mainMod.hs
      @@ -6,1 +6,1 @@ x = B
      -x = B
      +x = A

      But got:

      Actual fixes were:

and then there's the refinement hole fits:
      tests/TestUtils.hs:156:
      Fix mismatch!
      Expected:
      diff --git a/tests/cases/SimpleRefinement.hs b/tests/cases/SimpleRefinement.hs
      --- a/tests/cases/SimpleRefinement.hs
      +++ b/tests/cases/SimpleRefinement.hs
      @@ -4,1 +4,1 @@ f = foldr (-) 1
      -f = foldr (-) 1
      +f = (foldl (+) two)

      diff --git a/tests/cases/SimpleRefinement.hs b/tests/cases/SimpleRefinement.hs
      --- a/tests/cases/SimpleRefinement.hs
      +++ b/tests/cases/SimpleRefinement.hs
      @@ -4,1 +4,1 @@ f = foldr (-) 1
      -f = foldr (-) 1
      +f = (foldr (+) two)

      But got:

      Actual fixes were:

      Number of fixes:
      0

It works!


Linter/Compiler Should Detect Duplicate Module Deployment Names

When building modules, I sometimes accidentally forget to change the deployment name between the modules. If the modules are deployed unconditionally, this will result in an error (The resource 'Microsoft.Resources/deployments/[name]'... is defined multiple times in a template).  Example Bicep below to illustrate.
module myModule1 'modules/resource1.bicep' = {
  name: '[name]'
  scope: rg
  params: { ... }
}

module myModule2 'modules/resource2.bicep' = {
  name: '[name]'
  scope: rg
  params: { ... }
}

However, neither the bicep linter or compiler detect such an issue. I'd imagine Bicep could detect this issue (at least in the trivial case of unconditional deployments and syntactically identical module names) and improve developer productivity/experience by notifying the author of the error. Obviously this would get more difficult if the module name depends on different parameters.

Would be avoided if we implemented #3897


Failed to compile

bug description
I import the picker like that
import VueDatePicker from "@vuepic/vue-datepicker";
import<EMAIL_ADDRESS>
and I got that error

 error  in<EMAIL_ADDRESS>
Module parse failed: Unexpected token (230:37)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|   const t = r(e);
|   return t != null && t.$el ? t == null ? void 0 : t.$el : t;
> }, gl = (e) => ({ type: "dot", ...e ?? {} }), Mn = (e) => Array.isArray(e) ? !!e[0] && !!e[1] : !1, Ka = {
|   prop: (e) => `"${e}" prop must be enabled!`,
|   dateArr: (e) => `You need to use array as "model-value" binding in order to support "${e}"`

The application is in vue 2.6 with webpack , the picker require vite ?
I had try to install the version 6 and 7 but I still got the same issues.

It doesn't require Vite but it requires Vue 3. It is also compatible with a vue compat library

I used Vue 3.2 and encountered the same issue. Does it support Vue 3.2 but use Vue 2 syntax?
ERROR in<EMAIL_ADDRESS>237:37
Module parse failed: Unexpected token (237:37)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|   const t = o(e);
|   return t != null && t.$el ? t == null ? void 0 : t.$el : t;
> }, hl = (e) => ({ type: "dot", ...e ?? {} }), An = (e) => Array.isArray(e) ? !!e[0] && !!e[1] : !1, Ga = {
|   prop: (e) => `"${e}" prop must be enabled!`,
|   dateArr: (e) => `You need to use array as "model-value" binding in order to support "${e}"`
 @ ./src/components/inputs/DateSelectInput.vue?vue&type=script&setup=true&lang=js (./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/dist??ref--13-0!./src/components/inputs/DateSelectInput.vue?vue&type=script&setup=true&lang=js) 1:0-48 117:15-25
 @ ./src/components/inputs/DateSelectInput.vue?vue&type=script&setup=true&lang=js
 @ ./src/components/inputs/DateSelectInput.vue
 @ ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/dist??ref--13-0!./src/pages/informations/InformationsCurrentStatus.vue?vue&type=script&lang=js
 @ ./src/pages/informations/InformationsCurrentStatus.vue?vue&type=script&lang=js
 @ ./src/pages/informations/InformationsCurrentStatus.vue
 @ ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/dist??ref--13-0!./src/pages/informations/Informations.vue?vue&type=script&lang=js
 @ ./src/pages/informations/Informations.vue?vue&type=script&lang=js
 @ ./src/pages/informations/Informations.vue
 @ ./src/router/index.js
 @ ./src/index.js

seems to be related to running in webpack as the 3 with it not working are all webpack.

I have tried using Vue 3.2.0 and the latest patch 3.2.47 but I still get the same error

ERROR  Failed to compile with 12 errors12:09:57
error  in<EMAIL_ADDRESS>Module parse failed: Unexpected token (179:168)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| }, ml = (e, t) => {
|   if (!e) return 0;
const l = /* @PURE */ new Date(), a = new Date(l.toLocaleString("en-US", { timeZone: "UTC" })), n = new Date(l.toLocaleString("en-US", { timeZone: e })), i = (t ?? n).getTimezoneOffset() / 60;
|   return (+a - +n) / (1e3 * 60 * 60) - i;
| };
@ ./node_modules/cache-loader/dist/cjs.js??ref--15-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--15-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/RisikomarkeringList.vue?vue&type=script&lang=ts 6:0-51 15:4-17


Update ViewPosts UI, add (nearly) comments functionality

what the expletive is wrong with the req value??

REMEMBER TO SQUASH AND MERGE.


Enable Auto-changelog on different branches

First of all, thank you for this amazing app. I've tried using auto-changelog on other branches but It got failed. Is there a way to run this app for other branches rather than Master.
Best Regards

See https://github.com/Michael-F-Bryan/auto-changelog/pull/29
Maybe in the next version, you can do this:
auto-changelog --stopping-commit <branch> # default `HEAD`

As @WqyJh said and implemented(:+1: :1st_place_medal: ).
In current state its kinda inconvenient to work with auto-changelog, due to massive rewrite.
My plan is to implement predefined features(but we can discuss if earlier release with just some subset will be a better option) and then I need to discuss with @Michael-F-Bryan as he is the owner of PyPI account.

@KeNaCo, do you have a PyPI account? Let me know your username and I'll transfer ownership to you.

@Michael-F-Bryan https://pypi.org/user/KeNaCo/

@KeNaCo I've made you an owner on PyPI.

0.3.0 released 🎉


Whiboard: not loading iOS

Error opening URL:  [Error: Unable to open URL: file:///Users/...

related to https://github.com/mconf/mconf-tracker/issues/1746


[OpenAI] Update Test Suite

[x] Add text to speech test
[x] Unskip Whisper test
[ ] Add batches test

API change check
API changes are not detected in this pull request.


Make an everything post

Posts with

markdown text
inline image
attached image
blob (blogpost post type with markdownt text)
post with a content warning

post with a content warning

What are content warnings in this context?


Update Duo to use v2 auth log API

Background
StreamAlert currently has a Duo application for pulling logs from the legacy v1 logs API.
Description
This should be updated to use the newer v2 API which has more query options, which we probably don't care about, and gives much more information, which we do care about.
Steps to Reproduce
Use the Duo app.
Desired Change
https://duo.com/docs/adminapi#authentication-logs
Update to use this API.  In particular, the problem this solves is having the user IDs in the logs and not just the usernames.  Usernames can change, which makes it hard to track changes over time.  The user IDs do not change.  The other additional information provided by this API is also useful.

thanks @keeleysam we'll try to address this soon

since the schema of returned data changes, this should probably be done as a separate app into a separate table, so one can choose to run both for a period as queries are migrated.  for example, the username field was a string, but it gets replaced with  a user dict which contains the user_id and username,.


How to import image and signature in pdf viewer

Importing images in pdf viewer.
Making signature function into pdf viewer.

Note e.g. https://github.com/mozilla/pdf.js#pdfjs- and https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#faq-annotations, meaning that what you ask about isn't intended/supported.
Furthermore, when opening an issue please provide all of the information requested in https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md since as-is this isn't really actionable/valid.


Gracefully handle malformed proposal metadata

If an Azorius proposal's metadata has malformed JSON (from the creation of a proposal not through Fractal's UI, for example), the app crashes. We should gracefully handle that scenario so that the app is still usable on that specific DAO.

Closed as of #1586, but forgot to link issue to PR. Closing manually.


add dnc rp cli commands

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

dnc

@aegal Please rebase your branch to fix ci issues.


feat(ghsa): store CVSS score/vector for GHSA in Trivy DB

Added saving CVSS scores and Vector String from the GitHub Advisory Database.
Used CvssScoreV3 and CvssVectorV3 fields in Trivy DB because if GitHub obtains a CVE, the GitHub Advisory Database uses CVSS version 3.1. If the CVE is imported, the GitHub Advisory Database supports both CVSS versions 3.0 and 3.1.
closes #174

@afdesk Could you update unit tests as well?

the tests were added.

@afdesk Could you resolve conflicts?

@afdesk Could you resolve conflicts?

yes, sure

done


Unable to get HTTP Proxy

After adding in support for Exchange 2019 and Windows 2019, getting the following warning:
"Unable to get the Http Proxy Settings for server $COMPUTERNAME"
Creating this as a reminder that I need to look into this.

On a Windows Server 2019 Core box the path for the 64 bit proxy location doesn't have any properties on it. So when trying to run Get-Member on the object that is null, we throw an error causing this to fail out.

$value = Get-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Internet Settings\Connections"
$value | gm
gm : You must specify an object for the Get-Member cmdlet.
At line:1 char:10

$value | gm

     ~~

CategoryInfo          : CloseError: (:) [Get-Member], InvalidOperationException
FullyQualifiedErrorId : NoObjectInGetMember,Microsoft.PowerShell.Commands.GetMemberCommand


add lint test

What does this PR do?
Migration of the pipeline from the Jenkins to the Buildkite
Checklist

[x] Lint
[ ] Test

Related issues

/test

:grey_exclamation: Build Aborted

There is a new build on-going so the previous on-going builds have been aborted.

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2023-07-03T11:00:12.950+0000

Duration: 7 min 38 sec

Test stats :test_tube:

Test
Results

Failed
0

Passed
140

Skipped
3

Total
143

:robot: GitHub comments
Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

buildkite test it

/test

buildkite test this

/test

buildkite test this

buildkite test this

/test

@jlind23 if so, what are these files then?

.buildkite/scripts/run-linux-tests.sh
.buildkite/scripts/run-win-tests.ps1

I thought the whole point of using mage was to avoid OS specific scripting.
All these files definitely need more comments that explain their purpose.

Ideally, we should only install Go and mage, the rest should go into mage targets.

@sharbuz @mrodm correct me if I am wrong please.
Scripts are executed on a platform basis, each OS will have its own buildekite agent that will agent the pipeline.
These scripts are not only running the mage target as they are also settings up the agent environment.

@sharbuz @mrodm correct me if I am wrong please. Scripts are executed on a platform basis, each OS will have its own buildekite agent that will agent the pipeline. These scripts are not only running the mage target as they are also settings up the agent environment.

Exactly, buildkite agents have minimal tools installed on it. And therefore, the aim of those scripts are to install everything needed (gvm, golang, mage, some golang libs, docker-compose if needed...)

@rdner Do you have any more questions? Can I merge this PR?

@sharbuz no, I think we've clarified all of them.


Tapo API Client with HA

Is it possible to use your solution in working with HA?

Yeah, I know. I'm waiting for the appearance of all the possibilities from the hub H-100


Several UX/DX issues

So today I was surprised by a new release of copilot which introduces the "chat" feature. It wasn't a nice surprise to be honest. List of the UX issues below:
Hijacking first place on "quick fix" menu

So now I have additional two key presses every time I want to make an obvious import. Especially that asking copilot to fix it takes 15 seconds, inserts the import twice and in the wrong place (not on top of the file). I understand that it can be sometimes useful, but not "top of the list" useful. I instantly disabled it because it was interfering with my workflow.
Hijacking "Trigger Suggest" shortcut (CMD+I)
Another unpleasant surprise this morning was that default "trigger suggest" keyboard shortcut was not working anymore. Instead I was greeted with this:

Again, this won't replace functionality that was available under CMD+I, it will just be another thing that now I have to fix in settings and disable it because it breaks something that was working properly for a long time.
It's soooo slow
Previous CoPilot was great. It sometimes lagged for some reason, but most of the time it was able to provide pretty accurate completions and save me some typing and time. But when it comes to the new chat features there's no way I am going to use them. They take too long. It's actually long enough that it's faster for me to just paste stuff into ChatGPT / ask ChatGPT if I need something.

I left a +1 for the hijacking of the quick fix option but want to leave a comment as well because it's a pretty big frustration. I often copy/paste code between files to refactor and fix imports by opening the quick fix menu and picking the first option which used to add the import. This no longer works and it's very frustrating, as it requires reading the list to see if the copilot action is actually in there and scrolling down to the import option if it is.
For those with the same issue, this can be worked around by disabling code actions by setting the github.copilot.editor.enableCodeActions setting to false.

The cmd+i keybinding can be removed from the Keyboard Shortcuts:

The code actions issue is similar/duplicate of https://github.com/microsoft/vscode-copilot-release/issues/349

Hi thank you for filing the issue. The code action Fix using Copilot is now placed at the end of the quick fix menu with latest insiders and copilot-chat extension

Out of the three issues, two are resolved. I created an issue to track the third point here https://github.com/microsoft/vscode-copilot-release/issues/637. This issue will be closed.

I had the same problem, typing the question and then returning the answer a minute later


is it possible to update the gem in order to support omniauth ~> 2.0.0?

Published a new version of the gem (2.3.0)


Implemented better cron logic to handle bounded and static expressions

Fixes https://github.com/azkaban/azkaban/issues/2450

Pull Request Test Coverage Report for Build 5078

65 of 87 (74.71%)  changed or added relevant lines in 3 files are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.1%) to 40.574%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

azkaban-web-server/src/main/java/azkaban/webapp/servlet/ScheduleServlet.java
0
1
0.0%

azkaban-common/src/main/java/azkaban/scheduler/Schedule.java
0
5
0.0%

azkaban-common/src/main/java/azkaban/scheduler/CronCalculator.java
65
81
80.25%

Files with Coverage Reduction
New Missed Lines
%

azkaban-exec-server/src/main/java/azkaban/execapp/JobRunner.java
4
77.89%

Totals

Change from base Build 5045:
0.1%

Covered Lines:
13008

Relevant Lines:
32060

💛  - Coveralls

Any chance of getting this reviewed? TIA!

Hi,
any plan of reviewing and merging this?


updated-signin-ui

Closes: #14
Old Ui:

New UI:

@ChandelAnish any updates on the merge

It Is Merged

Please add the labels as well or else it won't be counted in the GSSOC


@ApplicationModuleTest triggers event handlers outside the tested module

I have an integration test that tests the reaction of a module to outside events. I annotated my test class with @ApplicationModuleTest and wrote my test using the Scenario API.
scenario.publish(event)
                .andWaitForStateChange(() -> // ...)
                .andVerify(object-> {
                    // ...
                });

The test itself works fine but I noticed exceptions in my test logs which occur in event handlers from another module. I would expect that only event handlers inside the module under test are executed since I run the test in standalone mode. The Modulith logs also don't list the other module as included.
It might be worth noting that the event I publish in my test is usually published from the module which is wrongly included in the test execution.
I am using version 0.6.0-SNAPSHOT.

Any chance you provide a minimal reproducer? How are the mistakenly triggered event listeners declared and in which modules do they reside in?

I am currently not able to reproduce the behavior in a minimal reproducer. So far everything works as expected. However, I am definitely observing event handlers from other modules getting triggered in my main project.
The package structure looks like this:
| - main
    | - basePackage
        | - module1
            | - featureA
                | - MyWronglyExecutedEventHandlerClass
        | - module2
             | - featureB
                 | - MyCorrectlyExecutedEventHandlerClass
| - test
    | - basePackage
        | - module2
             | - Module2IntegrationTest

I don't have the time to investigate this further as it is only a minor annoyance at the moment. I would be willing to set up a meeting so I can show the behavior live if this is something you are interested in.

Hello !
I have a similar problem.
Here is a module architecture :
com.example.modulithdemo
- ModulithDemoApplication.java
- payment
-- PaymentService.java
- order
-- partner
--- package-info.java (@NamedInterface("order-partner"))
--- PartnerAppOrderService.java (has no dependency)
-- website
--- package-info.java (@NamedInterface("order-website"))
--- PartnerAppOrderService.java (has a dependency to PaymentService)

When I unit test the order.partner module with @ApplicationModuleTest, there is an application context error because the PaymentService bean could not be found. But it is not a dependency of order.partner module, only one of order.website module.
Here is the source : https://github.com/thomascaillier/modulith-demo

This works as expected. The test case bootstraps the order module. That contains website.WebsiteOrderService, which in turn exposes a dependency to PaymentService in its constructor. There is no order.partner or order.website module. They are simply sub-packages within the order module. Your declaration of them as named interfaces does not change that.

Okay, thanks for the explanation !


How to compile the debian bullseye image？

I compile the image and modify the iot2050-debian.conf
...
require  conf/distro/debian-bullseye.conf
...

and fail
ERROR: buildchroot-host-1.0-r0 do_rootfs_install: Error executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:do_rootfs_install(d)
     0003:
File: '/work/isar/meta/classes/rootfs.bbclass', lineno: 182, function: do_rootfs_install
     0178:                                     shared=True)
     0179:
     0180:        bb.build.exec_func(cmd, d)
     0181:
 *** 0182:        if (d.getVarFlag(cmd, 'isar-apt-lock') or "") == "release-after":
     0183:            bb.utils.unlockfile(lock)
     0184:    progress_reporter.finish()
     0185:}
     0186:addtask rootfs_install before do_rootfs_postprocess after do_unpack
File: '/work/isar/bitbake/lib/bb/build.py', lineno: 251, function: exec_func
     0247:    with bb.utils.fileslocked(lockfiles):
     0248:        if ispython:
     0249:            exec_func_python(func, d, runfile, cwd=adir)
     0250:        else:
 *** 0251:            exec_func_shell(func, d, runfile, cwd=adir)
     0252:
     0253:    try:
     0254:        curcwd = os.getcwd()
     0255:    except:
File: '/work/isar/bitbake/lib/bb/build.py', lineno: 452, function: exec_func_shell
     0448:    with open(fifopath, 'r+b', buffering=0) as fifo:
     0449:        try:
     0450:            bb.debug(2, "Executing shell function %s" % func)
     0451:            with open(os.devnull, 'r+') as stdin, logfile:
 *** 0452:                bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)])
     0453:        finally:
     0454:            os.unlink(fifopath)
     0455:
     0456:    bb.debug(2, "Shell function %s finished" % func)
File: '/work/isar/bitbake/lib/bb/process.py', lineno: 182, function: run
     0178:        if not stderr is None:
     0179:            stderr = stderr.decode("utf-8")
     0180:
     0181:    if pipe.returncode != 0:
 *** 0182:        raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
     0183:    return stdout, stderr
Exception: bb.process.ExecutionError: Execution of '/build/tmp/work/iot2050-debian-arm64/buildchroot-host/1.0-r0/temp/run.rootfs_install_pkgs_download.152' failed with exit code 100:
Reading package lists...
Building dependency tree...
Package debhelper is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libdebhelper-perl

Package make is a virtual package provided by:
  make-guile 4.3-4.1 [Not candidate version]

Package automake is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package devscripts is a virtual package provided by:
  devscripts:arm64 2.21.2 [Not candidate version]

Package autotools-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package crossbuild-essential-arm64 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package equivs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package docbook-to-man is a virtual package provided by:
  docbook-to-man:arm64 1:2.0.0-45 [Not candidate version]

Package libc6:arm64 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libcrypt1 libcrypt1:arm64 libnss-nisplus:arm64 libnss-nis:arm64 libc6
  libdb1-compat:arm64 libdb1-compat libnss-nis libnss-nisplus

E: Package 'make' has no installation candidate
E: Package 'debhelper' has no installation candidate
E: Package 'autotools-dev' has no installation candidate
E: Package 'docbook-to-man' has no installation candidate
E: Package 'automake' has no installation candidate
E: Package 'devscripts' has no installation candidate
E: Package 'equivs' has no installation candidate
E: Package 'libc6:arm64' has no installation candidate
E: Package 'crossbuild-essential-arm64' has no installation candidate
WARNING: exit code 100 from a shell command.

ERROR: Logfile of failure stored in: /build/tmp/work/iot2050-debian-arm64/buildchroot-host/1.0-r0/temp/log.do_rootfs_install.152
ERROR: Task (/work/isar/meta/recipes-devtools/buildchroot/buildchroot-host.bb:do_rootfs_install) failed with exit code '1'
ERROR: buildchroot-target-1.0-r0 do_rootfs_install: Error executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:do_rootfs_install(d)
     0003:
File: '/work/isar/meta/classes/rootfs.bbclass', lineno: 182, function: do_rootfs_install
     0178:                                     shared=True)
     0179:
     0180:        bb.build.exec_func(cmd, d)
     0181:
 *** 0182:        if (d.getVarFlag(cmd, 'isar-apt-lock') or "") == "release-after":
     0183:            bb.utils.unlockfile(lock)
     0184:    progress_reporter.finish()
     0185:}
     0186:addtask rootfs_install before do_rootfs_postprocess after do_unpack
File: '/work/isar/bitbake/lib/bb/build.py', lineno: 251, function: exec_func
     0247:    with bb.utils.fileslocked(lockfiles):
     0248:        if ispython:
     0249:            exec_func_python(func, d, runfile, cwd=adir)
     0250:        else:
 *** 0251:            exec_func_shell(func, d, runfile, cwd=adir)
     0252:
     0253:    try:
     0254:        curcwd = os.getcwd()
     0255:    except:
File: '/work/isar/bitbake/lib/bb/build.py', lineno: 452, function: exec_func_shell
     0448:    with open(fifopath, 'r+b', buffering=0) as fifo:
     0449:        try:
     0450:            bb.debug(2, "Executing shell function %s" % func)
     0451:            with open(os.devnull, 'r+') as stdin, logfile:
 *** 0452:                bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)])
     0453:        finally:
     0454:            os.unlink(fifopath)
     0455:
     0456:    bb.debug(2, "Shell function %s finished" % func)
File: '/work/isar/bitbake/lib/bb/process.py', lineno: 182, function: run
     0178:        if not stderr is None:
     0179:            stderr = stderr.decode("utf-8")
     0180:
     0181:    if pipe.returncode != 0:
 *** 0182:        raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
     0183:    return stdout, stderr
Exception: bb.process.ExecutionError: Execution of '/build/tmp/work/iot2050-debian-arm64/buildchroot-target/1.0-r0/temp/run.rootfs_install_pkgs_download.151' failed with exit code 100:
Reading package lists...
Building dependency tree...
Package build-essential is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package debhelper is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libdebhelper-perl

Package make is a virtual package provided by:
  make-guile 4.3-4.1 [Not candidate version]

Package gcc is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  gcc-doc

Package automake is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package devscripts is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  licensecheck dput

Package autotools-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package equivs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package docbook-to-man is not available, but is referred to by another package.

ERROR: Logfile of failure stored in: /build/tmp/work/iot2050-debian-arm64/buildchroot-target/1.0-r0/temp/log.do_rootfs_install.151
ERROR: Task (/work/isar/meta/recipes-devtools/buildchroot/buildchroot-target.bb:do_rootfs_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 78 tasks of which 76 didn't need to be rerun and 2 failed.

how to fix it ?

Good point, we should become ready for that. I've just hacked up this change:
diff --git a/conf/distro/iot2050-debian.conf b/conf/distro/iot2050-debian.conf
index 7b2be88..04ae721 100644
--- a/conf/distro/iot2050-debian.conf
+++ b/conf/distro/iot2050-debian.conf
@@ -1,14 +1,15 @@
 #
-# Copyright (c) Siemens AG, 2019
+# Copyright (c) Siemens AG, 2019-2021
 #
 # Authors:
 #  Le Jin<EMAIL_ADDRESS>+#  Jan Kiszka<EMAIL_ADDRESS> #
 # This file is subject to the terms and conditions of the MIT License.  See
 # COPYING.MIT file in the top-level directory.
 #

-require conf/distro/debian-buster.conf
+require conf/distro/debian-bullseye.conf

 DISTRO_NAME = "IOT2050 Debian System"

@@ -29,18 +30,6 @@ OVERRIDES .= ':${PACKAGES_SELECTION}'
 # packages-snapshot: Use the snapshot debian packages
 PACKAGES_SELECTION ?= "packages-mainline"

-DISTRO_APT_SOURCES = " \
-    conf/distro/debian-buster.list \
-    conf/distro/debian-buster-backports.list \
-    conf/distro/debian-bullseye.list \
-    "
-
-DISTRO_APT_PREFERENCES = "conf/distro/preferences.npm-backport"
-DISTRO_APT_PREFERENCES += "conf/distro/preferences.modemmanager-backport"
-
-HOST_DISTRO_APT_SOURCES = "${DISTRO_APT_SOURCES}"
-HOST_DISTRO_APT_PREFERENCES = "${DISTRO_APT_PREFERENCES}"
-
 DISTRO_APT_SOURCES_MAINLINE_LIST := "${DISTRO_APT_SOURCES}"
 DISTRO_APT_SOURCES_SNAPSHOT_LIST ?= "conf/distro/debian-snapshot.list"

@@ -53,9 +42,6 @@ HOST_DISTRO_APT_SOURCES_remove_packages-snapshot = "${DISTRO_APT_SOURCES_MAINLIN
 # Required as long as openssl is not rebuilt for the host arch
 HOST_DISTRO_APT_PREFERENCES += "conf/distro/preferences.upstream-libssl"

-# ModemManager buster-backports
-HOST_DISTRO_APT_PREFERENCES += "conf/distro/preferences.modemmanager-backport"
-
 SDK_INSTALL += "linux-headers-${KERNEL_NAME} mraa"
 SDK_PREINSTALL += "zlib1g-dev:${DISTRO_ARCH} libjson-c-dev:${DISTRO_ARCH}"

diff --git a/conf/machine/iot2050.conf b/conf/machine/iot2050.conf
index 0aed652..34ea821 100644
--- a/conf/machine/iot2050.conf
+++ b/conf/machine/iot2050.conf
@@ -10,8 +10,6 @@

 DISTRO_ARCH ?= "arm64"

-HOST_DISTRO ?= "debian-buster"
-
 PREFERRED_PROVIDER_u-boot-${MACHINE} = "u-boot-iot2050"

 KERNEL_NAME ?= "iot2050"

Unfortunately, its newer compiler breaks the kernel build for 4.19. Possibly, :kas/opt/upstream.yml will build. But that kernel will need a firmware update first which was not yet officially released. You could build and flash what we are currently testing (via kas-iot2050-boot.yml, but you should be ready for https://github.com/siemens/meta-iot2050/tree/master/recipes-bsp/u-boot#recovering-a-bricked-device in case something goes wrong.
Update: There are also changes to the mraa recipe needed, possibly to more. Will take some more effort that I can invest right now. Maybe that kernel build issue can also be fixed later. Will keep you posted on updates.

@jan-kiszka
I just try the bullseye version to update the version of nodejs. Now I get a new method to update nodejs - apt perference. I'll try first. Thank you for reply.

May not work if that means recompiling mraa against it. I've resolved related issues in https://github.com/siemens/meta-iot2050/commits/jan/bullseye.

@jan-kiszka
we checkout the jan/bullseye branch, and get the image. Thank you for your hard work!

When trying to compile this image. Seems like the eclipse/tcf.agent repo doesn't exist anymore.

Just rebased that branch over master, should resolve it.

master now has been updated to bullseye, so close this issue.
If anything new found, please file an new issue.


[CVE5274] Bump protobuf to 3.25.5 for 3.7

Bump protobuf to 3.25.5 for 3.7

The failed test does not relate to the changes.