Flexible nested navigation

Imagine the following navigation pattern:
/screen1/:id1
/screen1/:id1/:childId1
/screen1/:id1/:childId1/subchildId1
...
And I want all these paths to be routed to a single screen (it's like going down a filesystem).
I've tried doing
screen1/* - this catches all these navigations but doesn't give me parameters
screen1/*/:id - doesn't work
:id - doesn't work for nested navigations either
Hence I'm taking a temporary solution of forking the library and making RouteInformation.matchedPath public to analyze it in code (which is not the best way to solve this, of course).
What do you think would be the proper way to support this (fairly common I guess) scenario?
Thanks!

Also it looks like each route can be fired only once, subsequent catches don't result in a screen change for some reason. So currently a single route can't handle nested navigation.

This is actually something matchedPath should help with in the future. However it's currently an internal property due to lack of testing. I have not yet tested whether it always returns what I want 😄
You can achieve similar behaviour without needing access to it the property:
struct FileExplorerRoot: View {
	@EnvironmentObject private var navigator: Navigator

	var body: some View {
		Route { route in
			let pathComponents = String(navigator.path[route.path.endIndex...]).split(separator: "/")
			FileExplorer(path: pathComponents)
		}
	}
}

Note this only works if FileExplorerRoot is somewhere inside another Route. If it's not and it's directly inside the Router instead, you can just use let pathComponents = navigator.path.split(separator: "/") instead 😄
Regardless, there's probably not a better way than using .split(separator: "/") on the path. It's your best bet at the moment.
The view should also always re-render when the path changes.

Thank you for the explanation!


how to change the styles?

Can someone please tell me how I can change the style?

You can pass option cssImport with value false and then you can add your own style. In new version you will have this option set to false by default.

Thanks man! You should add this to the read me.

[ts]
Type '{ multiple: true; theme: string; containerCssClass: string; dropdownCssClass: string; cssImport: ...' is not assignable to type 'Select2Options'.
Object literal may only specify known properties, and 'cssImport' does not exist in type 'Select2Options'.
Hey @NejcZdovc I am seeing this now

It's already in readme, under section options

@jaronwright which version are you using?

@NejcZdovc Thanks!


loading numpy array directly when using "inpainting demo.py"

Hi! I was wondering if it is possible to read data directly from memory? I mean, for example  when inpainting a image by using "inpainting demo" it can only load the image from local files. I want to combine inpainting and other functions parts like image segmentation. So it is really help if i can save the "imwrite" and "imread" operations and just pass a numpy array to inpinting part as input.
looking forward to your replay!

Generally speaking, you can implement your own dataset class.

Closing due to inactivity, please reopen if there are any further problems.


Make it easier to only specify off flag

Hi, I couldn’t find a way to easily get click to support having only a verbose on-flag and a verbose and short off-flag.
@option('--warnings/--no-warnings', '/-w', default=True)

this will not work as intended. I want to see the following help string:
--warnings / -w, --no-warnings

:bow: thanks!


Fixed #30548 - Improved exception when expression contains mixed types.

Will fix aggregation.tests.AggregateTestCase.test_combine_different_types and commit

@CruxBox Thanks!

@CruxBox Thanks!

Thank you for being patient! :P


Fixes #420

nth-prime: simplify example implementation

I am not able to figure out why the CI checks are failing. Can someone help ?

Sorry, I'm not sure either. I tried restarting it but that didn't help. @jtigger @stkent any ideas?

No idea, sorry!

On it.

gak.  Not sure of the root cause, but I see that the latest version of Trackler is not playing well with the corresponding version of x-api.  I'm still digging...

Found it... I'll submit a PR and explain there what the defect was.

See #431 for details.  I'll keep an eye on it.

I didn't see this PR's build automatically kick.  I wonder if that had anything to do with the fact that it's based of master and not a separate branch.  Does anyone know the deets on how that works in GitHub?
p.s. I manually rekicked the build, hoping it would incorporate #431.

Thanks, @jtigger!
And thanks, @ajayboseac, change looks great; merging!

Thanks  @jtigger and @stkent


Running the pre-release script from a fork produces an incorrect install command

What
Our pre-release script pushes up a branch which can be used in place of the Frontend npm package to trial changes in other repos. In my testing the script can be run from a fork (which is something an external contributor might want to do) and the branch is pushed to the fork.
The problem is that the install command produced by the script is incorrect as it hardcodes the org and repo name in:
To install the pushed branch release run 'npm install --save alphagov/govuk-frontend#78b51333

We could investigate if it's possible to detect the name of a fork and replace it in the above command that is outputted. I did a really quick bit of investigation and didn't see an obvious way of doing this.
However we should firstly decide if this is something we want to support.
Why
Supporting external contributors to run the pre-release script from a fork would allow them to run the script themselves when they make a change, instead of requesting our team to do this when there is a change.
Who needs to know about this
Developer, technical writer
Done when

[ ] We've decided if this is something we want to support - if we do, we should also carry out the below actions

Done when - see above

[ ] We've fixed the script to output the correct command
[ ] We've changed the https://github.com/alphagov/govuk-frontend/blob/master/docs/releasing/publishing-a-pre-release.md to explain that contributors can run the pre-release script themselves instead of asking the Design System team to do it on their behalf

Following a team discussion, we decided that right now we're comfortable with asking external contributors to contact us to create pre-releases (which is what our documentation already states). However, if we get sufficient evidence to show that we should make it possible for contributors to do this themselves we can re-open this issue.
We also still have a card to make the relevant documentation more visible to external contributors by including it in the Community section of the Design System: https://github.com/alphagov/govuk-design-system/issues/1425


chore: update vuln snyk in ci

Codecov Report

Merging #113 (6c5b92a) into develop (4526b0c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #113   +/-   ##
========================================
  Coverage    58.15%   58.15%
========================================
  Files           30       30
  Lines         1281     1281
========================================
  Hits           745      745
  Misses         536      536

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 6ff7b00...6c5b92a. Read the comment docs.

:tada: This PR is included in version 1.5.0-develop.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Build error: index.html not found

Hi there, I am trying to run ExtJS over React, as our organization is committed to React development. I worked before with ExtJS, so wanted to promote the power of ExtJS in combination to React. But I couldn't make it work yet.
#What I have done so far:

Downloaded the ExtJS 6 zip and unzipped into a folder "ext" - as suggested in readme.md.
When I run the build, it gives me the following error message

The directory structure looks like following:

Is the a problem addressed before, or I am just doing it wrong?

Try updating to the latest release of Sencha Cmd, v6.2.1.  I am able to build the boilerplate on that version just fine.

Upgrade to 6.2.1 resolved the issue http://stackoverflow.com/a/42207350/1768843


e2e: rework the upgrade procedure of elemental-operator

At the end the way to upgrade the elemental operator will be through Rancher Manager marketplace. But we need a way to test it manually/in CI to be sure that the upgrade from Stable to Dev/Staging version is working as expected before releasing it.

Linked to https://github.com/rancher/elemental/issues/695.

Also related to https://github.com/rancher/elemental-operator/issues/329.


Video page background

The background on the video page should be a color other than white, maybe #404040

Resolved in commit 07d3313.


[question] one job at a time

I run a batched ETL with luigi. none of my tier 1 tasks depend on each other.
but I have five tasks that can't run at the same time, no matter what, because of resource constraints on the host boxes.
I was thinking there'd be a way for me to define a BigTask and then tell luigi to only run these one at a time (order irrelevant).
does this exist already in some way?

update. discovered the resources feature. I think this actually is exactly what I want. I created a resource called "big_task_mutex=1" and my BigTask just asks for it.
amazing.


Async request

Hi,
I'm trying to do a few http requests on the onTurnBegin, I was able to do this but one request at a time.
I was thinking about using promises to send all the requests at the same time but as far as I understand I cannot simply block until the promises resolves.
I there anyway of doing this? Has anyone tryed something similar?

In general you should not be accessing external state inside your game logic.
What are you trying to achieve? Maybe you're looking for a callback on the client that's triggered on the beginning of a turn rather than using onTurnBegin, which is also called on the server?

It's a game for learning new languages, I have a list of the most common nouns and I use an external service to translate the words and show as options.
When the turn begins, I get 5 random words and translate using a rest service. These translations will be shown as options to the player to guess the right translation.
The prototype is working and can be found at boardgame-server in the branch language-game.
Currently I'm using the sync-request package.

I'm afraid this use-case doesn't map very well to the way this framework is designed (which expects all the game state to be available, rather than being queried during play).  Feel free to continue to discussion on Gitter.


iex warning in Function example fixed

This is for issue #985
The iex showed a warning while running the example in Basics/Functions without the parentheses in phrase private function.
I fixed the issue for the translations too.
https://github.com/doomspork/elixir-school/commit/ac05b98fd094c47e37ccd259f63cbd711438254b

@dodosiz it appears a bunch of other commits got pulled into this - could you make sure you have a proper master that you branched off of and re-open with just the changes for the warning + translation updates?

@dodosiz you don't need a new PR but could you please rebase your branch?

@dodosiz I am going to close your PR for the time being.  As this PR is receiving notifications about this PR for every change to master.  Could you please update your PR and ensure it targets master?
Please let me know if there's anything you need help with 👍


Missing comma in k8s_audit_rules.yaml

A comma is missing in the list "allowed_kube_namespace_image_list"

Without the comma, yaml parsing will be incorrect and may combine two items into one.

The comma should be present at line 291 (after "k8s.gcr.io/addon-resizer")
Environment

Falco version:
Falco Helm charts 1.17.4 (latest)
System info:
irrelevant

@eelkonio do you mind to create a quick fix for this problem ?


Add support for private Route53 zones

This adds functionality to the route53_zone resource type to manage private
Route53 zones. Previously, only public zones could be created and destroyed,
and there were no properties to manage. This also adds properties to discovery
and management, including which VPCs to associate with private zones.
Without these changes, only 100 zones could be managed. This updates the
discovery API call to handle pagination to remove this limitation.
The shared code to discover a VPC name by ID is changed to also allow discovery
of a VPC ID by name. Internal structure is changed, but method parameters and
returns retain previous functionality.
Existing Route53 Zone tests are updated for these changes.

TravisCI is having problems today, but the tests pass locally.

This work looks good to me.  Thanks for putting in the effort!  Anyone else here want to chime in?

Yep, still looks good to me.  Merging.


Add deadlines extension

Description

This extension allows you to keep track of deadlines. In actuality, it's really similar to "Year in Progress" by @thomaspaulmann However, I find that the original extension doesn't convey properly that you can keep track of something else besides Year/Month/Week. I've also added a few quality-of-life improvements, like the ability to change what deadline shows inline in Raycast and removed "%" from the Menu Bar item and moved it to a tooltip, so it would look cleaner and take up less space.
Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Thank you for a feedback!
I'll look into those issues


View refresh delay while switching or deleting branches.

@Nageswari-droid -- Issue has been resolved with #32


ADD: singleton-pattern translation

fixes #15

@all-contributors please add @cengizcmataraci for translation


Install won't work

I try to run steps from Install Linux & Mac OS X:
go get github.com/go-opencv/go-opencv
cd $GOPATH/src/github.com/go-opencv/go-opencv/samples
go run hellocv.go

And I have this error:
go run hellocv.go
# pkg-config --cflags  -- opencv
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found
pkg-config: exit status 1

cat /etc/os-release

NAME="Ubuntu"
VERSION="18.04.2 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.2 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

Moreover I've already installed all from this link:
# [compiler]
apt-get install build-essential
# [required]
apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
# [optional]
apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev

Same issue here, didn't find a solution for this


Issue #3874: Fix aggregate javadoc generation

This change re-enables generation of aggregate javadocs that should be published to staging directory accessible from https://azuresdkartifacts.blob.core.windows.net/azure-sdk-for-java/index.html
This change fixes the issue reported in #3874
The generation of aggregate javadocs was broken from a couple of previous changes:

pom restructuring
upgraded javadoc plugin version from 3.0.1 to 3.1.0.

Wildcards are not supported for filepaths. I will file a feature request for this.


Fixed scripted plugin descriptor to reside in sbt package

Mark, please update the resource. The scripted plugin is broken now with error message:
[error] java.lang.ClassNotFoundException: ScriptedPlugin$

+1. this fixes #255.


Features/ EBS CSI driver add-on, ALB ingressClass and Kubevious add-on

Description of changes:

New EBS CSI Driver add-on
Modification of the existing AWS ALB add-on:

Upgrade ALB version from 1.2.3 to 1.3.3 as the old version does not allow creating an IngressClass using the the Helm values. (See issue 612 in the ALB repo)
Added props to explicitly indicate to the user the creation of the ingressClass

New Kubevious add-on (ported from the workshop)

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

Close PR since it has been replaced by PRs 289, 290 and 291


[Action/SCI] Metrics for Emissions factor (I) for Falco

SCI = (E * I) + M per R
Carbon emission intensity per geographical region.
Acceptance Criteria

Identify the electricity grid of the Equinix geo we are using
Choose which API to use as a data source e.g. Electricity Maps or WattTime
Identify an interval to scrape the carbon intensity of the geo
Replace carbon coefficient in Kepler's dashboard with the Equinix-specific one

I'd love to help with this one :)

Hi @nikimanoledaki @raymundovr,
for the dynamic emissions factor I'd like to suggest using the grid-intensity-go tool that @mrchrisadams and I maintain. https://github.com/thegreenwebfoundation/grid-intensity-go
It has a prometheus exporter that integrates with the Electricity Maps API free tier. It provides this carbon intensity metric we could use in the dashboard.
curl -s http://localhost:8000/metrics | grep grid_intensity_carbon_average
# HELP grid_intensity_carbon_average Average carbon intensity for the electricity grid in this location.
# TYPE grid_intensity_carbon_average gauge
grid_intensity_carbon_average{location="FR",node="kind-control-plane",provider="ElectricityMap",region="",units="gCO2e per kWh"} 39

We have a little bit of work to do as we need to push the container image and helm chart to a registry. We should be able to add that pretty quickly if we want to use grid-intensity-go for this. WDYT?

@raymundovr My thinking was to use the IEA average carbon intensity figure for France. As I thought this was a common approach.
However looking at their site it looks more complex :( They have both paid and free datasets and I can't see a way to access the data. https://www.iea.org/data-and-statistics/data-product/emissions-factors-2022
In grid-intensity-go we embed a dataset from Ember Climate from 2021 as they publish data with a CC-BY-SA 4.0 license. https://ember-climate.org/ we could follow a similar approach.
@mrchrisadams it would be great to get your thoughts on this.

hi @rossf7, annual data, the easiet option I can think of might be to use the helpfully formatted data we have in CO2.js. I've linked to the json file below:
https://github.com/thegreenwebfoundation/co2.js/blob/main/data/output/average-intensities.json#L422-L427
These are updated every month on a cronjob from Ember, to reflect any changes to their methodology, and represent the most up-to-date, easy to use open data that I can find.
The changes are also checked by fershad Irani (@fershad) and myself to catch anything and query them upstream. You can see the most recent example below:
https://github.com/thegreenwebfoundation/co2.js/pull/190

Thank you @mrchrisadams using the value you have in CO2.js makes sense to me but I will defer to @nikimanoledaki and @raymundovr as they are driving this one!
I'm working on the embodied emissions factor for #40 using Boavizta's dataset.

Thank you @mrchrisadams and @rossf7 for the great resources, really appreciated!
Linking the script that generates the json for reference: https://github.com/thegreenwebfoundation/co2.js/blob/main/data/functions/generate_average_co2.js
It seems reasonable to me to set this value for France in the board, at least to start with. What do you think @nikimanoledaki ?

Thank you @raymundovr @rossf7 @mrchrisadams :)
(I) is in the dashboard + docs have been added. Marking as completed! 🎉


textDocument/publishDiagnostics and textDocument/codeAction relationship

Given that textDocument/codeAction commands:

are typically code fixes to either fix problems or to beautify/refactor code.

And that there is a CodeAction.diagnostics property. It implies that diagnostics are going to be computed before code actions. However, textDocument/publishDiagnostics is a notification from server to client while textDocument/codeAction is a request from client to server for a given range.
There's a strong relationship there but seems to be some incompatibility or clarification needed on the order of these. Should clients only send textDocument/codeAction after receiving textDocument/publishDiagnostics?

public interface Person {
}

public class Student implements Person {
    private String firstName;
    public String getFirstName() {
        return this.firstName;
    }
}

@bmewburn If I were to select the getFirstName() method inside the Student Java class, it is possible that the language server may want to suggest I extract out the method and add it to the Person interface. In such a case, there is no diagnostic information being processed.
Given the above, I would not say it is hard requirement that clients only send textDocument/codeAction after receiving textDocument/publishDiagnostics. In fact, I feel like textDocument/codeAction usually happens after some action by the user (opening the context menu with the cursor on said method in the above scenario).

@rcjsuen , good point. There doesn't have to be diagnostics involved. My concern was that if I had a language server that did several passes over the code (with a debounce) is there a possibility that some code actions would be cancelled and never show because they depended on a diagnostics pass.

documentChange
pass 1
pass 2
pass 3 (diagnostics with debounce or even on save).
resolve textDocument/codeAction

@bmewburn Unfortunately, I don't quite follow what you are saying. Can you provide a more concrete example with some sample code that would be in the opened text editor and what exactly the user is doing (or not doing)?

Actually in the API (not the spec) I have:
	/**
	 * An array of diagnostics known on the client side overlapping the range provided to the
	 * `textDocument/codeAction` request. They are provied so that the server knows which
	 * errors are currently presented to the user for the given range. There is no guarantee
	 * that these accurately reflect the error state of the resource. The primary parameter
	 * to compute code actions is the provided range.
	 */

Since text documents are versions and the LSP guarantees the order of change events I think a server can always find out of the diagnostics might be outdated or not.
I will add the above comment to the spec as well.
Objections to close ?

I updated 3.15 of the spec.


Helm chart: AZURE_CLIENT_SECRET is not loaded from a secret

Cilium operator credentials for Azure are stored in a plain env variable and not loaded from a secret like it's done for AWS or Alibaba: https://github.com/cilium/cilium/blob/v1.10.4/install/kubernetes/cilium/templates/cilium-operator-deployment.yaml#:~:text={{- if .Values.azure.clientSecret,{{- end }}
Can this be replaced with something like:
{{- if .Values.alibabacloud.enabled }}
- name: AZURE_CLIENT_ID
valueFrom:
secretKeyRef:
key: AZURE_CLIENT_ID
name: cilium-azure
optional: true
- name: AZURE_CLIENT_SECRET
valueFrom:
secretKeyRef:
key: AZURE_CLIENT_SECRET
name: cilium-azure
optional: true
{{- end }}

@alkarp Would you like to submit a PR with those changes?


sqoop version support

When i use sqoop in version 1.99.7, i found that the restful api "/v1/connectors" has not been supported. But hue is using it to get connectors so that i got "get connectors error".
Can hue add support to sqoop's new version?

@romainr

i found the docs[https://sqoop.apache.org/docs/1.99.7/dev/RESTAPI.html#v1-connectors-get-get-all-connectors]

As soon as Sqoop2 becomes GA, Hue will support it fully


Added Mobikwik and Freecharge to list of UPI apps

Thanks for showing interest in making this package better by adding Mobikwik and Freecharge and correcting my silly mistake in Readme. But I don't think package name of MiPay has changed.

This is the link to MiPay app, you can see that its in.wallet not wallet.in unless i have the wrong app.
https://play.google.com/store/apps/details?id=com.mipay.in.wallet&hl=en_IN

The play store version isn't supported in my device and the one I have came pre-installed with MIUI 11 in my Redmi Note 4 and is being updated from GetApps. Perhaps both have different package name.

Oh yes, I did not know about the pre-installed app. Not sure how to approach this.


Update Posts “rich-content-with-mdx”

Automatically generated by Netlify CMS

👷 Deploy Preview for relaxed-paprenjak-d58870 processing.

Name
Link

🔨 Latest commit
44d290f4717aba814f7cf5fc720ae2a52e56caf3

🔍 Latest deploy log
https://app.netlify.com/sites/relaxed-paprenjak-d58870/deploys/6458f8d827cf840008ed591b


api.retrieve variable "elec" currently returns "co2" data

Running the code:

Results in:

This also means that the "co2i" variable results in an AssertionError in src/gridemissions/eia_api.py column_name_to_ba at line 162.

This was not a bug but the unintended result of a change to the API that this bit of code is making calls to. I changed the API very recently to reflect the refactoring changes I am making in #5 .
Apologies if this caused confusion and/or issues on your end. I will make merging #5 more of a priority. I want to propagate the changes I started there to the rest of the package, but this should not interfere with the api module, so it can wait. I'll close this issue when I merge #5 as the issue seems to be resolved there.
If you switch to branch jac-dev you should get the behavior below using a slightly modified version of your script to reflect the changes. The two changes below are to the variable parameter that I renamed to dataset (I have multiple datasets per variable, so this made more sense) and to the ba parameter that I renamed region. ba stood for balancing area, which I think is not as clear as "region".
I also just updated the API to be stricter in what it accepts - so executing your script should now return a 400 error.
from gridemissions import api

co2 = api.retrieve(dataset="co2", region="CISO", start="20190101", end="20200101", field="D")
elec = api.retrieve(dataset="elec", region="CISO", start="20190101", end="20200101", field="D")
print(co2)
print(elec)

co2i = api.retrieve(dataset="co2i", region="CISO", start="20190101", end="20200101", field="D")
print(co2i)

                             CO2_CISO_D
2019-01-01 00:00:00+00:00  5.578992e+06
2019-01-01 01:00:00+00:00  7.265524e+06
2019-01-01 02:00:00+00:00  7.655497e+06
2019-01-01 03:00:00+00:00  7.368712e+06
2019-01-01 04:00:00+00:00  7.200278e+06
...                                 ...
2019-12-31 20:00:00+00:00  4.126468e+06
2019-12-31 21:00:00+00:00  3.968577e+06
2019-12-31 22:00:00+00:00  4.067027e+06
2019-12-31 23:00:00+00:00  4.407957e+06
2020-01-01 00:00:00+00:00  5.216647e+06

[8761 rows x 1 columns]
                           EBA.CISO-ALL.D.H
2019-01-01 00:00:00+00:00      22537.708903
2019-01-01 01:00:00+00:00      25692.192549
2019-01-01 02:00:00+00:00      27369.421665
2019-01-01 03:00:00+00:00      27033.501617
2019-01-01 04:00:00+00:00      26422.278882
...                                     ...
2019-12-31 20:00:00+00:00      21965.866279
2019-12-31 21:00:00+00:00      22089.316440
2019-12-31 22:00:00+00:00      21622.904639
2019-12-31 23:00:00+00:00      21451.754324
2020-01-01 00:00:00+00:00      20438.049380

[8761 rows x 1 columns]
                           CO2i_CISO_D
2019-01-01 00:00:00+00:00   247.540335
2019-01-01 01:00:00+00:00   282.791111
2019-01-01 02:00:00+00:00   279.709857
2019-01-01 03:00:00+00:00   272.577030
2019-01-01 04:00:00+00:00   272.507839
...                                ...
2019-12-31 20:00:00+00:00   187.858187
2019-12-31 21:00:00+00:00   179.660493
2019-12-31 22:00:00+00:00   188.088854
2019-12-31 23:00:00+00:00   205.482367
2020-01-01 00:00:00+00:00   255.241913

[8761 rows x 1 columns]

No problem, I'll check out the jac-dev branch. Thanks!


Problem using pyvsc with cython pyx testcase file

I looked at the documentation, discussion, and issues but did not see any comments about using cython compiled tests with pyvsc (nor anything saying your could not) so I thought I'd open an issue describing a problem we see using them.  If I missed something in the documentation please feel free to let me know and close this issue if appropriate.
We have pyvsc tests working with regular .py python files but have a cython pyx file which is trying to use the covergroup decorator on a class and gets the following error:
  File "test_calc1.pyx", line 20, in init test_calc1
    @vsc.covergroup
  File "/afs/ThisCell/data/vlsi/eclipz/common/verif/cocotb_python/lib/python3.9/site-packages/vsc/coverage.py", line 273, in covergroup
    lineno = inspect.getsourcelines(T)[1]
  File "/afs/ThisCell/data/vlsi/eclipz/common/verif/cocotb_python/lib/python3.9/inspect.py", line 1006, in getsourcelines
    lines, lnum = findsource(object)
  File "/afs/ThisCell/data/vlsi/eclipz/common/verif/cocotb_python/lib/python3.9/inspect.py", line 827, in findsource
    raise OSError('source code not available')

I assume this is because the module file is not a .py text file but rather a compiled .so file but am not sure.

Hi @walt3k, Interesting usecase. And, honestly, one I hadn't considered.
Given Cython's restrictions/limitations, I'm surprised that it handles the decorator 'magic' that PyVSC employs. The good news, I suppose, is that the error is related to obtaining source information via the 'inspect' module.
I'll do a bit of digging to see if there is a simple way to detect whether source is available. Worst case, I can probably catch and ignore the exception.
Thanks for raising this, and I'll get back to you in the next couple of days.

Wow! Thx for the lightning fast response.  :-)  I also opened a discussion which you can close/delete if it is not useful.
Thx again! w.

Okay, I did a bit of poking around and it seems there are a few hints that PyVSC can utilize to avoid asking the wrong questions about source information. I've put in a fix for the specific issue you ran into above. That's available in the just-out 0.6.7 release.
Please try that out when you have a chance, and respond back here on the results. I wouldn't be too surprised if there were other issues so I'll leave this open for now.

It looks like you've fixed it.  We have a team member in India doing more testing and if all looks good will close this issue tomorrow.
Thanks the for the amazingly quick response.  This really helped us keep our momentum going... :-)

This problem was resolved with the 0.6.7 release as stated.  Thanks!

Hi again!  We still seem to have a problem.  When we call
get_coverage_report()
we get an error ending in
File "/afs/ThisCell/data/vlsi/eclipz/common/verif/cocotb_python/lib/python3.9/site-packages/vsc/visitors/coverage_save_visitor.py", line 152, in visit_coverpoint
cp_bin = cp_scope.createBin(
TypeError: createBin() takes 6 positional arguments but 7 were given

Looking at the changes here
https://github.com/fvutils/pyucis/commit/55928806a9880906698d55e4ea0987c3ae3afa51
it looks like an update added and arg but when I did a pip install for pyvsc it seems it did not install the correct one.
When I do a pip3 list1 I see
pyucis                            <IP_ADDRESS>11020.1
pyvsc                             <IP_ADDRESS>2877175

Is this a user error on my part or is the pyvsc package for the 0.6.7 version not including the correct ucis version?
thx! w.

Hi @walt3k,
All indications are that you have the correct version of PyUCIS installed. The commit you pointed to (thanks, BTW!) updated the PyUCIS version to 0.0.5, and you have version 0.0.5 installed.
I'm guessing you're seeing the failure in simulation. Is is possible that a different Python installation is being picked up during simulation?
I just did a fresh virtual environment install of PyVSC (and the PyUCIS it picked up). I confirmed that the installed versions match what you see above. I ran the following small testcase successfully. Maybe try running the same with your Python installation?
import vsc
import ucis

@vsc.covergroup
class cg(object):

    def __init__(self):
        self.with_sample(
                a=vsc.uint32_t()
                )
        self.a_cp = vsc.coverpoint(self.a)

c = cg()
c.sample(0)
c.sample(1)

vsc.get_coverage_report()

Sorry, looks like my novice pip/install skills hosed us.  We are running ok now.  thx!


THRIFT-4305 Doc comments in dlang output

Thrift IDL supports documentation comments. D supports doc comments.
So let's copy them over!
Future directions: add function parameter docs. ddoc expects them in
a particular format.

Manually inspecting the result in a sandbox.


Deploying from a network installation

My "response" to you below relates to your article ``Create a network installation of Visual Studio 2017''1

A complete Visual Studio 2017 layout requires at least 35 GB of disk space

No, guys, your 15.8.4 complete set snapshot takes up to 43 GB (!) because you put there everything you could imagined.
But that was not a problem. The real issue is:

Deploying from a network installation
Users can install by running:
\\server\products\VS2017\vs_enterprise.exe

No!!! :rage: User can not!!! I have downloaded f## 43 GB, moved that s##t to an offline machine and run vs_community.exe there. And what do you think has happened? Your f### installer decided to download something more from the Internet! Of course it failed and installation terminated. :rage: And don't tell me about your dummy option --noWeb! It does not change anything.
I wonder who has made that stuff? Did you test that itself, on offline machines? :angry: Time passes, but you, MSFT, does not change. All you can do is draining other people's resources. I really tired of you.  It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ff556dcf-4de1-8483-702a-73699062be1f
Version Independent ID: cba846ae-6af4-af49-b194-28b546169426
Content: Create a network-based installation of Visual Studio - Visual Studio
Content Source: docs/install/create-a-network-installation-of-visual-studio.md
Product: visual-studio-dev15
GitHub Login: @TerryGLee
Microsoft Alias: tglee

Same problem here. Download 50 Gb for offline installation but vs installer still tries to load packages from web. Need help

@eico1013

Download 50 Gb

:finnadie: I thought it's unable to beat my "record" of 43 GB!

but vs installer still tries to load packages from web

In my cases VS 2017 was installed first from the Internet (online installer); that is it appeared on a PC when that machine has Internet connection. It was a long time ago -- when VS 2017 got its first release. After that the machine became completely offline system. When I had tried to update that instance of VS from the offline snapshot, I failed. Because the offline installer tried to get packages from the Internet (I believe because VS instance was firstly "built" from ``online'' packages). To be able to update/install VS 2017 from offline snapshot, I had to uninstall VS 2017 first, and then install it from the snapshot. But MSFT doc does not say anything about such "scenario". :rage3:
Hope this can help you. G'luck!

We ran into this same problem on my team.  There is a folder in the layout that says some along the lines of certificates or vscertificates. (Sorry, I'm not at work and don't have the files in front of me).  Install the certificates in that folder to the local store and the installation should work fine.

@TerryGLee  Well, this is how msft works? They just silently close tickets giving no explanations. Well done, msft, well done! :+1: :kissing:

The offline installer doesn't work for community and enterprise edition on Nov 20.
I tried python only layout:
vs_community.exe --layout vs2017offline.python.15.8    ^
 --add Microsoft.VisualStudio.Workload.CoreEditor      ^
 --add Microsoft.VisualStudio.Workload.Python          ^
 --includeRecommended --passive --norestart --wait     ^
 --lang en-US

and
vs_community.exe --noWeb
It didn't work as it tries to download packages.
 It would be nice if you guys unplug one machine from the network and try to test the offline install. It doesn't seem a really complex test setup.

@ruslangaripov and @akochepasov Sorry for all of the inconvenience. Just to verify, are you both running the vs_community.exe that is being saved in the offline layout?
e.g.
vs_community.exe --layout C:\layout --add Microsoft.VisualStudio.Workload.CoreEditor
C:\layout\vs_community.exe --noWeb
The vs_community.exe saved in the layout will instruct the installer to install from the layout. Without running that the installer will run without knowing there is a layout on the system, attempting to download from the web.
If this is still an issue, please file an issue using the Report a Problem tool from the installer. This will allow us to track the issue and get further diagnostic information to accurately diagnose the root cause.

Hi Tyler,

@ruslangaripov and @akochepasov Sorry for all of the inconvenience. Just to verify, are you both running the vs_community.exe that is being saved in the offline layout?
e.g.
vs_community.exe --layout C:\layout --add Microsoft.VisualStudio.Workload.CoreEditor
C:\layout\vs_community.exe --noWeb

Yes, I run the binary, saved inside the layout. I didn't think it may be useful to copy the layout over and copy vs_community.exe additionally.

Install from offline layouts simply don't work anymore.  This is extremely frustrating.  I did a completely fresh layout to a network share and tried installing from that share using the same path on a freshly installed Windows 10 machine.   Same result as my other machines - with the --noWeb option the installer craps out complaining about downloading a manifest and without noWeb it ignores the local layout and downloads everything from the web.  Again.

Very frustrating installation issue. I removed my offline VS2017 as it didn't work and didn't allow to update itself to a version with an apparent offline installation fix. After uninstalling, Windows died completely to the blue screen with 0xc0000145 error code. I had to reinstall all the Windows, programs and settings.

It appears that the bootstrappers are no longer acknowledging the response.json when accessed via a UNC path. I have a specific partial layout created to ease install for our team with a slightly customized response.json to passively install the required components. This is not picked up when launching the bootstrapper from File Explorer via a UNC share.
If I copy the offline layout down to the machine I'm installing on, launching the bootstrapper works as expected by picking up the response.json.
Perhaps this is similar to what others are seeing.

Hi @gregnorz ,
Thanks for reporting this issue.  Can you please 'Report a problem' in our Developer Community website? (https://developercommunity.visualstudio.com/)
We can help you with this issue there.
thanks
toby

Hi @akochepasov
Thanks for reporting this issue. Can you please 'Report a problem' in our Developer Community website? (https://developercommunity.visualstudio.com/)
We can help you with this issue there.
thanks
toby

Hi @bjmacdonald
Thanks for reporting this issue. Can you please 'Report a problem' in our Developer Community website? (https://developercommunity.visualstudio.com/)
We can help you with this issue there.
thanks
toby

Wow. Wish I had read this thread before attempting this at all.
Even created a post on StackOverFlow ...
https://stackoverflow.com/questions/55024224/visual-studio-2017-create-an-installation-through-network-share-and-ansible
Since Microsoft chose to not provide an ISO, but instead have an offline installer for VS2017, this is a rather huge problem. I understand now that I'm not far off with my setup, but the problem is that it's not currently possible to do an installation from a network share.

Replying here before logging an official issue just in case someone stumbles upon this (or others in this thread have interest)...
I finally got around to performing some testing with different permutations of a network installation. The bottom line is that I can't, under ANY circumstances, get a network-based installation of VS2017 installed using a layout with a custom response.json. I've tried a VM not on a domain, a VM on a domain, UNC paths, mapped network drives, and installation via File Explorer as well as command line. The only way a layout will install with the response.json is if I copy the layout folder locally and run the bootstrapper from within the VM.
I am seeing this error in the bootstrapper's log file:
VisualStudio Bootstrapper:3/13/2019 11:59:28 AM: Caught Exception: Type = CampaignTrackingParseException, Message = Failed to parse id from parent process, StackTrace =    at Microsoft.VisualStudio.Setup.Bootstrapper.Telemetry.CampaignTracking.GetCampaignId(String parentProcessPath, String& exeName, String& parentProductVersion, String& campaignId)    at Microsoft.VisualStudio.Setup.Bootstrapper.Program.Parse(String[] args, IServiceProvider serviceProvider, String entryAssemblyProcessName, String entryAssemblyProcessFullName) InnerException:Type = FileNotFoundException, Message = V:\vs_setup.exe, StackTrace =    at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)    at Microsoft.VisualStudio.Setup.Bootstrapper.Telemetry.CampaignTracking.GetCampaignId(String parentProcessPath, String& exeName, String& parentProductVersion, String& campaignId) VisualStudio Bootstrapper:3/13/2019 11:59:28 AM: Failed parsing the campaign ID.
Somehow these lines of code don't like working with a network drive or UNC share. This error appears regardless of how the machine itself is configured; if the layout is over the network, the bootstrapper throws this exception.
I will also report this on the Developer Community with my log files. Hopefully that will get someone what they need to fix this.

I just wanted to say thank you to those comment prior to now - I'm just about to take a stab at setting this up, and it looks like it's essentially broken. I'll see what happens for us and report back one way or another.

For those interested, here is my thread over on Developer Community:
https://developercommunity.visualstudio.com/content/problem/488652/vs-2017-bootstrapper-will-not-use-responsejson-whe.html

@ruslangaripov
With respect to the size of a full layout, https://github.com/MicrosoftDocs/visualstudio-docs/issues/1555 is the closed issue I had raised last year, pointing out that "at least 35GB" is a less than useful figure.  It was closed, apparently based on the fact that "at least 35GB" is pedantically correct, because 41.5GB is greater than 35GB.  By that reasoning, "at least 1 byte" is also correct, although obviously an even less useful figure.
Now, it's a minimum of 43.3GB for an English-only full layout of Ent. 15.9.10, and 43.2GB for the corresponding Pro. layout.  Anyone who has a 64GB memory stick with 38GB free, and is thinking, "Good, there is plenty of space for a full layout plus a couple of non-English localizations", is in for a rude surprise.
Upon reading that response from @TerryGLee, I simply gave up attempting to offer anything beyond necessary corrections to the TFS areas of MS online docs.

@TASlavens  Of course, I agree with you -- size of the installation set is too much big.  Too much.  And reaction of Microsoft to your ticket just makes me speachless.  @TerryGLee must be removed from Microsoft support just for such answers and for that strange "habit" to close a ticket without having any reason for that.
It's sad to know that one has to download and store almost 45 GB of the installation set.  But what's the real pain is a need to copy that huge set to a target client machine to be able to install Visual Studio 2017.  I believe that Microsoft will not fix either the documentation set (#1555), or this issue.  Sooner or later @TerryGLee will close this PR again without having any explanation for that.

@ruslangaripov
To be clear, my complaint was only about the documented minimum size of layouts.  I'm OK with the size of the download itself - the product supports a huge set of capabilities.
I just read through all of the comments, and it's clear several individuals have had problems which I have not experienced.  I have recently performed two clean installations of VS 2017 15.9.9 Ent. from a mapped network drive, and two updates of existing installations which had been originally installed from the web.  In the latter cases, I believe the existing installations were 15.8.2, but I don't recall now.  In all cases, the installation targets were Win2012R2 VMs which host TFS agents.  We also perform clean installations from layouts I occasionally put on a few USB sticks for new developers/laptops - it's faster than the web installation here due to bandwidth limitations in the office.  So, I have a few suggestions:
0.)  If the layout size is a problem, consider specifying only the workloads you need (especially skip the mobile development workload, which includes huge emulators, if you can) and specifying only the languages you need (the difference between just en-US and all languages is several GBs).  You could do it at component granularity, too, but there are a lot of them.  I've done this to produce a layout which includes only the components necessary for profiling (plus the shell; it seems we can't get away from that), so I know it works.  That layout is only 619MB, though about 25% more on disk due to file system allocation unit size.
1.)  Always download the most recent bootstrapper EXEs from the links above.  The VS Com. link is missing starting with 15.9.11, but you can copy one of the other links and modify it appropriately.  Why do this every time?  Back around 15.4.x, I noticed that an "old enough" bootstrapper would often produce a broken layout, or fail partway through.  Maybe that has been fixed more recently, but I always get the latest one to avoid wasting time.  Be careful about downloading these from other pages; the links for VS 2019 on at least one other MS page still point to the RCs.
2.)  Unfortunately, you need to create a separate layout for each edition (Ent., Pro., or Com.) you want to install.  You can't drop vs_Professional.exe into a layout created with the vs_Enterprise.exe bootstrapper and expect it to work.  Ask me how I know...
3.)  As @DylanQuitsGum noted, if you don't acquire the necessary certificates, the installer will download those at installation time.  There is (or was) documentation for that somewhere around here, but I cannot find it now.  If you have them available in the layout and specify the arguments in the next note, the installer will not attempt to download them.
4.)  In addition to acquiring the certs, you also need to specify both --noWeb and --noUpdateInstaller.  The former prevents downloading updated workloads, components, and so on.  The latter prevents the installer from self-updating from the web.
5.)  If you do a test installation on a disposable VM and install the minimum set of workloads and components you need, you can subsequently use the VSSetup PowerShell module to retrieve the list of workload and component IDs, and then transform them into the "add" section of a custom Response.json file.  Put that file into your layout (overwrite or rename the default Response.json), so the installation/update can use it.  Also a bit of a warning:  If you're selecting specific components within that initial installation used to generate a custom Response.json, closely review the component tree on the right-hand side.  Some components selected in the main list don't always end up selected in the component tree, and you don't want to go through all of that more than once - trust me.  What does this get you?  Your own standard installation for build servers or a baseline which can reduce how much additional customization (if any) your devs need to do for their specific work needs.  Oh, and another warning:  Beware of Unicode vs. ASCII encoding of the Response.json file, depending on what your preferred editor does with it.  Only Notepad is available on our servers, and I didn't notice that it had changed the encoding, which had me banging my head against a wall trying to determine why things were not working.
A few caveats about the prior notes:  First, all of that applies only to VS 2017; I haven't tried a VS 2019 layout yet (maybe this Friday).  Second, I limit updates to our TFS agent VMs for stability, and sometimes VS updates come very quickly, so I have not deployed every patch of VS 2017 from layouts, maybe only half.  You might be unlucky enough to have created layouts from a patch versions which are broken.  Third, client installations here have always been clean (the devs use the web to keep up to date), and only on Win7 and Win10 laptops - there is no Win8.x here for devs.  Finally, the server installations/upgrades I do have only been on Win2012R2 and Win2016.
Perhaps some of this will be of help to you and others who might come looking.  Good luck!

@gregnorz Microsoft closed your bug report as an external (Windows) problem 😞
I've created a batch script that allows the installation from a network share. You can find it here: https://gist.github.com/cremor/ff21d9f3f4cf7da36eef1558e714c90b

Has anyone found a workaround for this yet? We just tried to create a network installation of 2019 and when we go to install it on the clients. I pops up with the verifying files window for about a minute before the windows disappears and thats the end of it. We created multiple layouts and haven't been able to install any of them.

I have no problems with the script that I linked in my last comment. I'm using it for each VS2019 update.

@cremor thank you for replying. For your script is it for installation after the network installation layouts have been created? If so I tried your script and had the same issue with the different layouts we have.

Yes, the script installs an previously downloaded layout.
I've never encountered the problem you describe. The problem discussed in this issue is that the network layout just isn't used (and everything is downloaded again during the setup). If the installer doesn't even start, there is something else wrong with it.

The installer starts and I get the screen that has "Just a moment ... fetching your files" and under it is Verifying and Installing. The verifying bar is at 100% and installing just stays at 0%. Then the window just closes. I am able to install this same layout from the network share on a Virtual Box that is connected to the internet so it would seem that the layout is not the issue, it is just trying to connect to the internet to verify the files when it shouldn't need to.

I guess the documentation is wrong. I also downloaded the complete vs enterprise "layout" just for nothing and I am not amused..

I skimmed through the comments and didn't notice that the following was noted. The following is how I install it from an offline source on a non-internet connected computer. I believe you need the "--noweb" and "--noUpdateInstaller". From my understanding the "--noweb" is not truely needed for the install to work. It is for disabling the automatic update check once it is installed. The "--layout" option is only needed for the initial download from the internet. Obviously add whatever Workloads or Components that you need [().]https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-professional?vs-2019&view=vs-2019 This is also without modifying the .json files. I also use "--quiet", but left that out below.

In powershell, I CD to the directory where the vs_professional.exe is located.
Install the certificates located in the "Certificates" folder
.\vs_professional.exe --productkey  --norestart --noUpdateInstaller --noweb --add Microsoft.VisualStudio.Workload.CoreEditor --add Microsoft.VisualStudio.Workload.Universal --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Workload.NativeCrossPlat --add Microsoft.VisualStudio.Component.VC.CLI.Support --add Microsoft.VisualStudio.Component.VC.140 --includeRecommended

Thanks to all who have participated in this discussion! Based on your feedback, over the preceding months we've expanded the documentation with a network install troubleshooting guide, we’ve improved the guidance on creating a local install cache, and we’ve updated this page, Create a network installation of Visual Studio, with improved information about:

download size
--noWeb command-line parameter
how to modify the response.json file

For those who want download and then install on the same computer, we added a “Download, then install” feature. In addition, we’re working on additional features to ease deployment in enterprise scenarios, including the ability to update a local cache with updated packages. When we release those features, we’ll announce them on the Visual Studio Blog and in the release notes. So again, thank you for your feedback to improve the documentation, and Visual Studio.
If you encounter further issues when installing or using Visual Studio, please use Report a Problem, which provides our development team with setup and other logs needed to diagnose your issue. If you find an error in the documentation, please use the feedback link at the bottom of a Docs page to report the issue. You can also submit a pull request with a suggested documentation fix by using the edit button at the top of a Docs page.
In addition, we’d like provide some context to a few issues raised in this thread.
Why don’t we provide an ISO? Quite simply, it’s become too big. It’s too big to burn on a DVD, and too big to reliably download.  Instead, the best solution if someone is looking for an ISO is for them to just create their own offline layout.
How large is a local cache of Visual Studio? For version 16.7 (the latest version as of writing, a local cache for the Community edition in en-US is about 32 GB and Enterprise is 42 GB. Including additional locales increases the size by about half a GB per locale.
Why is a Visual Studio local install cache so large? Visual Studio supports a lot of different development scenarios. One of our goals is to make it easier for developers to get started with development without needing to search for the tools, SDKs, and other resources they need to be productive. However, each SDK, each development language we support adds to the size of Visual Studio. This doesn’t mean you need to download all of these tools, nor even install them. We’ve constructed the Installer to give you control over how many, or how few of these SDKs and tools you want to install along with Visual Studio. As some examples, amongst other tools and SDKs, a full local cache of the latest Visual Studio includes:

8 .NET SDKs, plus additional targeting packs
SQL Data Tools
Clang Compiler
8 C++ toolsets, for x86/X64, ARM, and ARM64, and MFC and ATL tools for these toolsets
2 versions of Python, in 32-bit and 64-bit
Google Android Emulator
Android SDK
5 Windows SDKs
Language packs for all of our tools and SDKs so that you can use Visual Studio in the language of your choice

How can I reduce the size of the local cache or my install? Download or install just the tools, SDKs, and resources that you’ll use. For example, If you aren’t planning to use the C++ v141 toolset or .NET Framework 3.5, there’s no need to include it in the local cache, or install it. You can always modify your cache or install to include it later. The Command-line parameter page will help you restrict the cache to just those workloads and components you need.
Why does Visual Studio setup sometimes attempt to install components from the web even though I’m using a local cache? A few of the tools and SDKs you can install by using Visual Studio aren’t in the local cache because they include third-party packages. So while Visual Studio Installer will download the third-party installer into the local cache on your behalf, we are unable to also download the third-party packages referenced by those installers.
Finally, we’d like to note our Microsoft Open Source Code of Conduct page, which outlines the expectations for community interactions for docs.microsoft.com and is designed to help us provide a welcoming and inspiring community for all.

I've followed https://docs.microsoft.com/en-us/visualstudio/install/create-a-network-installation-of-visual-studio?view=vs-2022#install-visual-studio-onto-a-client-machine-from-a-network-installation to create a layout that I've xcopy'ed over to a network location on a network not connected to internet. I used vs_Community.exe --layout C:\VSLayout --add Microsoft.VisualStudio.Component.CoreEditor --add Microsoft.VisualStudio.Workload.Data --add Microsoft.VisualStudio.Workload.DataScience --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.Python --includeRecommended --includeOptional --lang en-US to create the layout. On a client on the network, I want to install from the layout, so I ran \\server\products\VS\vs_enterprise.exe --noweb. I added the --noweb option here, and not in the command for creating the layout as the --noweb option was introduced in the chapter "Install Visual Studio onto a client machine from a network installation" in the documentation (after all the info about creating a layout). The installation quit after some minutes with an error message about not having internet connection. Did I read the documentation wrong? Should the --noweb option be added when creating the layout?

@rra88 This issue is closed; please consider creating a new issue or using one of the following resources for help:

We offer an installation chat (English only) support option for installation-related issues.
Report product issues to us via the Report a Problem tool that appears both in the Visual Studio Installer and in the Visual Studio IDE. If you're an IT Administrator and don't have Visual Studio installed, you can submit IT Admin feedback here.
Suggest a feature, track product issues, and find answers in the Visual Studio Developer Community.


.length() as function call is not properly themed

https://github.com/Microsoft/TypeScript-TmLanguage/issues/730

Fixed via https://github.com/Microsoft/TypeScript-TmLanguage/commit/f48a73d581758bafefad2be9216e3421fd8e5d51 🎉


[BUG]: Default plugin order prevents some custom keymaps

I'm submitting a

[ ] Regression (a behavior that used to work and stopped working in a new release)
[X] Bug report
[ ] Enhancement
[X] Feature request
[ ] Documentation issue or request

Description
For reference: https://github.com/sibiraj-s/ngx-editor/blob/e6a080d6c3e498a6b56801774ca0cc892a859c70/projects/ngx-editor/src/lib/Editor.ts#L117
The default plugins are added to the plugins array before the plugins provided in options. This works fine in most non-conflicting cases, but prevents creating custom keymaps for i.e. the Enter key, or using other ProseMirror plugins that use such keymaps. The default plugins add keymap bindings earlier in the pipeline that return true preventing further keymaps from being invoked. As far as I can tell, the only way around this currently is to set keyboardShortcuts: false in the options, and re-create the default keymap plugin by copying the getKeyboardShortcuts code (since that function is not exported). I've tried editing the views plugin array after creation and that breaks things without giving an error to the console. Copying the getKeyboardShortcuts method works okay, but then you lose the ability to benefit from community improvements and bugfixes to that code with npm updates.
I wasn't quite sure whether to call this a bug report or a feature request, as it's somewhat both. As this excellent library was thoughtfully designed to be flexible and extensible, I would imagine that not being able to override keymaps by default would be an unintended bug. But at the same time, changing the order to put the default plugins last would be a breaking change, so I'm proposing a new config option to work around this issue.
I'd be happy to submit a PR with whichever solution below you feel is best, or if you have any other ideas on how to solve this problem.
Proposed Solution
Changing the order to put default plugins last (so that custom keymaps are evaluated first) would possibly be a breaking change, although if you wanted to go that route that would be fine by me.
Instead, I'd like to propose a new Options interface property of preDefaultPlugins?: Plugin[];. (Naming things is hard, I'm open to other name suggestions.) The default value for this new property in the DEFAULT_OPTIONS object would be an empty array.
A new line would be added below https://github.com/sibiraj-s/ngx-editor/blob/e6a080d6c3e498a6b56801774ca0cc892a859c70/projects/ngx-editor/src/lib/Editor.ts#L104:
const preDefaultPlugins: Plugin[] = options.preDefaultPlugins ?? [];

And then the line up above spreading the plugin array would become:
plugins: [...preDefaultPlugins, ...defaultPlugins, ...plugins],

Alternate Solution 1
Export the getDefaultPlugins, getKeyboardShortcuts, etc methods in the public API via public_api.ts. This would allow users that need custom keymaps to come first to set keyboardShortcuts: false, call getKeyboardShortcuts themselves, and add that to the array manually in whatever order they need. I think I'd prefer my proposed solution, as that doesn't have to disable and then re-enable defaults.
Alternate Solution 2
Allow for providing a callback function to build the plugins array. For example:
export type PluginsBuilder = (defaultPlugins: Plugin[]) => Plugin[];

// add to Options interface: pluginsBuilder?: PluginsBuilder

// in Editor.createEditor, something like:

    const plugins: Plugin[] = options.plugins ?? [];
    const pluginsBuilder: PluginsBuilder = options.pluginsBuilder ?? p => p;
    const attributes: Record<string, string> = options.attributes ?? {};

    const defaultPlugins = [...getDefaultPlugins(schema, {
      history,
      keyboardShortcuts,
      inputRules
    }), ...plugins];

    this.view = new EditorView(null, {
      state: EditorState.create({
        doc,
        schema,
        plugins: pluginsBuilder(defaultPlugins),
      }),
      nodeViews,
      dispatchTransaction: this.handleTransactions.bind(this),
      attributes
    });

Version Information
ngx-editor: 12.0.0
angular: 13.0.3

Browser
N/A

I'd be happy to submit a PR with whichever solution below you feel is best.

Thanks ❤
I am slightly busy atm. Let's just do Solution 1 as a short fix. It will be just 2-3 line changes. I will release this first once the changes are done. This issue can stay open until solution 2 or any other proper fix is implemented.

Thanks @github-actions bot for the reminder 😄


IPv6 unspecified address is not accepted

:: is the equivalent to <IP_ADDRESS> and used to specify to which IPv6 a server is bound.
The validator should accept that address.
cf. https://tools.ietf.org/html/rfc4291#section-2.5.2

ref #239


Fast Hands?

I'm using your Rebalancing mod. When I leveled to 3rd, I had Astarion take the Thief subclass; but the button for Fast Hands never appeared. It's not on my character sheet, nor in my inventory, nor anywhere else.

BG3 made Thiefs get an extra Bonus Action instead
Fast Hands is not yet implementend on the mod as it's not listed on the Features section


User32.SendInput not working

Summary
I'm trying to send a mouse event, but nothing happens
let inputs = [ INPUT {
            r#type: INPUT_MOUSE,
            Anonymous: INPUT_0 {
                mi: MOUSEINPUT{
                    dx: 10,
                    dy: 0,
                    mouseData: 0,
                    time: 0,
                    dwFlags: MOUSEEVENTF_MOVE,
                    dwExtraInfo: 0
                }
            }
        }];
SendInput(&inputs, std::mem::size_of::<INPUT> as i32);

Crate manifest
windows = "0.53.0"

Crate code
No response

changed
SendInput(&inputs, std::mem::size_of:: as i32);
to
SendInput(&inputs, std::mem::size_of::() as i32);


Redux broke NavBar

Steps to reproduce:
Pull master
npm install
npm start
Try changing pages. NavBar doesn't activate correctly.
Steps to tapefix:
Remove redux from NavBar.

Fixed in https://github.com/OhtuGrappa2/front-grappa2/commit/bdbb3190212f9e5db41a232d3ee7839d4787b236


Release WZDx v4.1

The PR marks the release of version 4.1 of the WZDx specification.
Noteworthy documentation changes are that the two feeds that WZDx defines are renamed:

Rename the "SwzDeviceFeed" to "DeviceFeed" or "WZDx Device Feed"
Rename the "WZDxFeed" to "WorkZoneFeed" or "WZDx Work Zone Feed"

Changes to the specification are listed below:
New Functionality

Add is_moving boolean property to the FieldDeviceCoreDetails to allow indicating if any field device is moving as part of a mobile operation.
Add road_direction property to the FieldDeviceCoreDetails to allow providing the direction of the roadway that a field device is associated with.
Recommend using Universally Unique Identifiers (UUID) for the id property of the RoadEventFeature, FieldDeviceFeature, and FeedDataSource, noting that a UUID may be required in the next major release.
Add name property to RoadEvenCoreDetails to allow providing a human-friendly name for a road event.
Add the following values to the MarkedLocationType enumerated type:

personal-device
ramp-closure
road-closure
delineator

Add the following values to the Direction enumerated type:

undefined
unknown

Add no-passing to the RestrictionType enumerated type.
Add a sign_text property to the FlashingBeacon object.
Add a TrafficSignal object to allow represent temporary traffic signals in a WZDx Device Feed.
Add two-way-center-turn-lane to the LaneType enumerated type to replace the existing center-left-turn-lane with a more generic value.

Refactoring

Deprecate is_moving property on the ArrowBoard; use the new is_moving on the FieldDeviceCoreDetails instead.
Change the conformance of the road_event_id property on the TrafficSensorLaneData from "Required" to "Optional" to allow providing lane-level data without a defined road event.
Deprecate the road_event_feed_info property on the [WorkZoneFeed] object; use the new feed_info property instead.
Add is_start_position_verified and is_end_position_verified boolean properties to the WorkZoneRoadEvent to allow indiciating if the start and end positions are verified and clarify what verified means; these properties replace beginning_accuracy and ending_accuracy.
Deprecate the beginning_accuracy and ending_accuracy properties on the WorkZoneRoadEvent object; use the new is_start_position_verified and is_end_position_verified properties instead.
Add is_start_date_verified and is_end_date_verified boolean properties to the WorkZoneRoadEvent to allow indiciating if the start and end date and times are verified and clarify what verified means; these properties replace start_date_accuracy and end_date_accuracy.
Deprecate the start_date_accuracy and end_date_accuracy properties on the WorkZoneRoadEvent object; use the new is_start_date_verified and is_end_date_verified properties instead.
Deprecate the event_status property on the WorkZoneRoadEvent object.
Change the conformance of the road_names property on the FieldDeviceCoreDetails from "Required" to "Optional".
Deprecate the traffic-signal value in the [MarkedLocationType] enumerated type; use the new [TrafficSignal] object instead.
Deprecate the center-left-turn-lane value in the LaneType enumerated type; use the new two-way-center-turn-lane instead.
Add a related_road_events property (and new supporting object RelatedRoadEvent and enumerated type RelatedRoadEventType) to the RoadEventCoreDetails to allow explicitly defining relationships/connections between road events; this replaces the Relationship object/concept.
Deprecate the relationship property on the RoadEventCoreDetails; use the new related_road_events property instead.

Cleanup

Change the type of the average_speed_kph, volume_vph, and occupancy_percent properties on the TrafficSensor and TrafficSensorLaneData object from "Integer" to "Number"
Change the allowed minimum value for average_speed_kph on TrafficSensorLaneData from 1 to 0.
Add a feed_info property to the WorkZoneFeed object to replace the road_event_feed_info.
Expand the description of the update_date property on the RoadEventCoreDetails and FieldDeviceCoreDetails to clarify what the value represents.
Remove the RoadRestrictionFeed (it moved to usdot-jpo-ode/TDx).

edited by @j-d-b

Once @j-d-b, @sknick-iastate, and @jlarsonOmahaNE review and approve, this can be merged to release v4.1.

@mark-mockett, @sknick-iastate, @jlarsonOmahaNE released! I'll tag the commit and add the release notes to "Releases".


[ Question ] Game State Module

Is your question related to a problem? Please describe.
I am unable to load the game state plugin with either the gameID or the Summoner name
Describe alternatives you've considered
attemped changing the Api Key and rebooting the system, reinstalling the toolkit, none of which seemed to work
Additional context

I primarily notice the following error with code 403, I don't know if it's from my end or if there is a bug

I can load the matchid without issue, 403 indicates an issue with your key. Make sure your key is valid and is configured correctly. The config should look like this:
"plugin-webapi": {
    "apiKey": "RGAPI-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx",
    "server": "EUW1"
  },

would you be kind enough to inform me of the specific location of the Config file?

It's in ...\prod-toolkit\modules\plugin-config\config.json


tsp, code-model to include x-ms-original-file

Emm... it's local path, if run tsp-client update.
+    /*
+     * x-ms-original-file:
+     * file:///C:/github/azure-sdk-for-java/sdk/standbypool/azure-resourcemanager-standbypool/TempTypeSpecFiles/
+     * StandbyPool.Management/examples/2023-12-01-preview/StandbyVirtualMachinePools_Update.json
+     */

I may need to load the tsp-location for the directory to make it e.g.
specification/standbypool/StandbyPool.Management/examples/2023-12-01-preview/StandbyVirtualMachinePools_Update.json

samples-automation would need another process to map it to the JSON that refers from Swagger, e.g.
specification/standbypool/StandbyPool.Management/examples/2023-12-01-preview/StandbyVirtualMachinePools_Update.json

(as mslearn still parse Swagger, not TypeSpec)


Enable git-lfs and add 256_tets.npz

Do we need to instruct the users on how to download this file?

Absolutely. Just updated the commit, including an instruction in installation.md.


not working  with  windows 2012

please help i have problem  with installing on windows server 2012. when i add line
extension=php_browserext.dll

please help

You must copy all dll's from binaries\win32\Qt directory to С:\windows\system32.

i did  that . but still not working

Try to copy this dll's to bin directory of your web server (where the httpd.exe is located, If you use apache).

Or try to register copied dll's in command line with:
regsvr32 “name.dll”
command
read this http://fix4dll.com/how_to_install_dll_files


tRNA/rRNA-production

If you want to have some t/rRNAs, we would need for these two species new classes including the properties you need.

So you mean the translation group should specify the classes? It's probably best if transcription and translation discuss this face to face tomorrow morning.


[New Idea][Figma][React] Want to work on making a browser interface(React)?

There is a project under progress to migrate OMRChecker into the browser(currently in a private repository). It shall eradicate the need of having to install python or opencv on user's device.
Contact the developer to get access and updates. Tech Stack: React, Redux, Saga
Note: this issue is marked with the hacktoberfest label. Follow #hacktoberfest-discussions on Discord for further details .

Hi @Udayraj123 Can we discuss this? I am willing to work on this

Hi @asi309, sure. Can we connect on discord? We can discuss this in the #general-ideas-discussion channel for a start. If it takes some shape I'll create a new channel.

Looking for Figma designers/Illustrators to create a design for this.
Discussion in #general-ideas-discussion: https://discord.com/channels/590134763784896514/1025078685105127464/1026035290143465522

One more browser idea: implementing this via webcam integration
https://www.youtube.com/watch?v=OyZVtN9PVOA

Excuse me for less quality. Original images from the discord message can be accessed here, here and here

Hi @asi309, shall I let others work on this issue?

Hello @Udayraj123 , is this react application have a github repo? I would like to work on that

Hi @PedroAugustoRamalhoDuarte, not at the moment. Which part of the features are you interested to work on? Also possible to connect over discord? I may miss notifications on github

Hello, yes i will connect over discord. My goal feature is to build something to make easier to config new templates

when will this tool be released ?

Hi @fisipro2, I understand your concern. This is a heavily requested feature but can't seem to get enough bandwidth for it. Still waiting for folks to pick it up dedicatedly. Hopefully this year 😅

Dumping more ideas around making an interesting GUI:
https://docs.pmnd.rs/react-three-fiber/getting-started/installation
https://github.com/pmndrs/leva
https://codesandbox.io/p/sandbox/gifted-varahamihira-rrppl0y8l4
https://codesandbox.io/p/sandbox/image-gallery-lx2h8


Git height is not working as expected

Hello,
I'm pretty sure I'm missing something obvious right now, because I've used this amazing library in a couple of projects already.
But right now I can't seem to get sensible git height values.

I have a version.txt file, set it's content to 2.0.1908, and commit it.

I then commit some changes to some other files.
The above command then returns a, as expected, git height of 2, all great and perfect.
But now, if I go into the version.txt file, change it's content to 2.0.1911, and commit that, stuff is getting weird.
 Even tho I changed it's content and the height should have reset.
Another commit to another file, and now the git height will be 4.

Reproduced here: https://github.com/haefele/NbgvHeightConfusion/commits/master
When I run nbgv get-version -v VersionHeight at this commit, I expect the git height to be 1, but it is 4 instead.
At first I thought something was broken with using a version.txt file, but the error still persisted even when using a version.json file.
I have version 2.3.183 of the nbgv dotnet global tool installed.
Any help would be greatly appreciated.
Thanks!

I went on a little debugging hunt this evening to see what is going wrong and why, and maybe if there is a way for me to work around it.
Turns out, the issue is fixed in master.
I also searched for the commit that fixed the behavior, turns out it's this one here: https://github.com/AArnott/Nerdbank.GitVersioning/commit/65e486dd39ed772d457333acc583c547f92ca4d3
And well... it works correctly if I use the 3.0.19-beta version of the nbgv global tool.
I will just use that version for now :smile:


[DOC] Observability plugin Integration → Dashboards

What do you want to do?

[X] Request a change to existing documentation
[ ] Add new documentation
[ ] Report a technical problem with the documentation
[ ] Other

Tell us about your request. Provide a summary of the request and all versions that are affected.
with the change in navigational patterns, we will need to highlight the availability of observability and other plugin features in the main dashboards area documentation.
What other resources are available? Provide links to related issues, POCs, steps for testing, etc.
https://github.com/opensearch-project/OpenSearch-Dashboards/issues/1866

Duplicate issue; see #2203


Add SRF to live tv

Please add SRF Tv to the live section. May only show it if channel is reachable (User in Switzerland)
https://www.srf.ch/play/tv/live

Thank you very much for your feedback!
This is a duplicate of #2 and currently out of scope. I am very sorry.


[HackaDoc] Updates to landing page

changed some of the instructions for creating a workspace

Hi @alex-frankel, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;


Use of #ref object inside multipart request triggers validation error

Description
I have a OA3 YAML with a API which involves file upload. Together with the file, there is a JSON also as next form-parameter. The OA3 definition uses a #ref for this and the type is object.  In the rest_services.src.connexion_ext.custom_validator.coerce_type function , the call to
def cast_leaves(d, schema):

               if type(d) is not dict:
                   try:
                       return make_type(d, schema['type'])
                   except (ValueError, TypeError):
                       return d
               for k, v in d.items():
                   if k in schema['properties']:
                       d[k] = cast_leaves(v, schema['properties'][k])
               return d

creates a problem , because schema['type'] is object in OA3 , but request its considered as string inside form. So the validation fails and string is not an object kind of message is thrown
Expected behaviour
OA3 definition is only for formalizing the data-structure, so form-param-value must be respected is my opinion.
Actual behaviour
I tried forced loading of JSON to dict, it made things clear here, but broke in the routing end.
Steps to reproduce
Create a OA3 spec , with a request body similar to this,
requestBody:
        description: "Request contents to be passed"
        content:
          multipart/form-data:
            schema:
              required:
                - info
                - document
              type: object
              properties:
                document:
                  type: string
                  format: binary
                  description: "The digital Identification of customer. Supported formats PDF/Images"
                info:
                  $ref: '#/components/schemas/CustomerInfo'

If you bind this to a method, it will fail.
Additional info:
Output of the commands:

Python 3.7.4
 2.4.0

This sounds like it's related to #971


Refactor charts to use Helm Tags and Condition fields

Currently some Workflow components such as minio are conditionally disabled by enclosing all their manifest templates in {{ if }} blocks, because that was the only way to have Helm avoid installing a sub-chart. This is ugly and feels wrong when considering that most component sub-charts are also meant to stand alone.
Now Helm supports tags and conditions in requirements.yaml, a much cleaner way to accomplish this functionality. If it can be done in a backward-compatible way, we should refactor all relevant sub-charts to use this mechanism, and require Workflow users to install with helm v2.2.1 or later.
See related discussion at https://github.com/deis/router/pull/316#discussion_r104589994.

For lots of the components we check if the field is either the string "on-cluster" or "off-cluster". That may be hard to work around since the conditional fields are supposed to be booleans.

I ran into the same problem https://github.com/deis/router/pull/316#discussion_r104589994 when I first drafted the chart. Luckily I was able to restructure the values so that we could use a bool
But to be honest it would be nice if helm supported conditional inclusions based on more than just bools. I think a string compare (or even regex!) would fit in nicely.


Add guidelines/docs to use git based working

Like how to contribute
remotes, PRs, linking of issue.
milestones, projects

Added as git commands - https://github.com/datakaveri/iudx-deployment/blob/master/docs/git-commands.md and linked in contribution section https://github.com/datakaveri/iudx-deployment#contributing


Allow multiprocessing on OS X

multiprocessing.Queue.qsize() raises NotImplementedError on OS X, and the maximum queue size is already being set when the queue is constructed in the multiprocessing case, so skip the qsize() test if pickle_safe is True.

and the maximum queue size is already being set when the queue is constructed in the multiprocessing case,

Can you expand on this?

multiprocessing.Queue.qsize() raises NotImplementedError on OS X,

multiprocessing is a built-in Python module. What do you mean by "on OSX": the Python 2 version that comes by default with OSX?

Note that this may raise NotImplementedError on Unix platforms like Mac OS X where sem_getvalue() is not implemented.

https://docs.python.org/3.5/library/multiprocessing.html#multiprocessing.Queue.qsize


Interview display overhaul

Dont PR until tests added.

Tests added.

Thanks GH, it looks good! However, with this implementation, the display will only be generated by select command right? Do you think it will be good if other commands that modifies an IA will display it too? Like in Add/Edit/Interview, as that was my original consideration.

Add and Edit already displays the interview. Forgot about interview.

No problem then, as its my command I can fix that. Then shall I merge this PR?

Sure


trackStyle and thumbStyle

Please add trackStyle and thumbStyle so that we can control the style of track and thumb

Dears!
Let me close this as a duplicate of #40.


Relation onDelete : "violate the required relation"

Hi, when I try to delete anode A or B, it returns me an error. I saw that the onDelete: SET_NULL is not required, but I think this is an issue. Have you an idea about this ?
MODEL :
type Article {
    user: User! @relation(name: "MyArticles", onDelete: SET_NULL)
}

type User {
    article: [Article !]! @relation(name: "MyArticles", onDelete: SET_NULL)
}

MUTATION :
deleteArticle(id: ID!): Article!

return ctx.db.mutation.deleteArticle({ where: { id } });

The change you are trying to make would violate the required relation 'MyArticles' between Article and User

Have you tried to do onDelete: CASCADE instead?
Here is more information about the behaviour of cascading deletes: https://www.prisma.io/forum/t/help-with-cascading-deletes/3878/2?u=nilan.

Nop, the thing is that I don't want to delete anything.

Can you share a reproduction according to the bug report template? This looks like unexpected behaviour.

Well, my bad, I had a "not null" condition on my relationnal node. See #1795


fix broken JobCreateCommandTest in Jenkins

The logic in JobCreateCommand for setting job metadata based on the
environment variables present in the JVM has the side effect of breaking
if the unit test is run by Jenkins which is passing the GIT_COMMIT
value to the test itself.
Since it is not simple to mock out a call to System.getenv(), refactor
the "get the environment variables" logic to use a Supplier which can
be passed in in the JobCreateCommandTest.
This test was broken in #667.

@davidxia @gimaker

:+1:


[infra] Upgrade Cherry-pick workflow to latest

MUI X has built a workflow action to handle this, one that is more versatile. I believe we can simply adopt it. I only had to do https://github.com/mui/mui-public/pull/244 to support all the https://github.com/mui repositories.
The initial version was #41742. More details on how this new one works: https://github.com/mui/mui-public/issues/221.
cc @aarongarciah for awareness.

Alright, let's see how this one goes 🤞


Not converging on custom dataset

I have a very small dataset and need to only detect 1 class.
I don't really care about results at this point, this is just a sanity check and it's failing.
Annotations are PASCAL VOC created by labelimg tool and then converted to JSON. Verified correctness of the annotations.
Running on Titan V, Ubuntu 18.04, docker container. AP is ibarely ~ 0.01. Tried varying available hyperparameters (batch, scale, lr, backbone) - no effect. The implementation at https://github.com/fizyr/keras-retinanet works great.

Is your class labelled as id=1 or id=0? What sizes are your images? What size are the objects you are trying to detect?

Tried with id=1 and id=0 - doesn't appear to make a difference
Images are 1280x720 (tried different resizing options). Also tried on images 800x500 - same results
Objects range from fairly large to small
The alternative implementation does fine in these settings.

I can share the dataset and annotations. It's a small dataset.

Yes, please send me your dataset.

Here: https://www.dropbox.com/s/phz5jngaewxfaok/dataset.zip?dl=0

Your dataset is so small that any computer vision model will just be memorising the data. Different implementations may do this more readily, for example if they use less regularisation, or other differences in the optimiser.
Your project looks very interesting and I'm sure would have wide commercial applicability. If you collect more data I am certain that you will be able to train an accurate model. Please reopen this issue if you have no luck with a larger dataset.

Hello, I am also failed to training my custom dataset with a single class. It shows mAP 0.01, too.
If I test the trained model, the range of (x,y) of the bbox exceeds the (width,height) of the test images.
I tested with pretrained models, then it's predicted bbox were within the (width,height) of the test images, but if I tested with my model, it exceeds.
I attached the trained model.
https://www.dropbox.com/s/kq4tp3jufdtljzx/5.pth?dl=0
I hope it would be helpful just to check whether the predicted bbox outbound the test images.
Thank you.


204 improvements

Fixes #10

Return 204 on nil error responses
Allow void view action by passing empty map[string]interface{}{} to view Handler

This looks great @theEyeD! Do you mind adding a test for "Allow void view action by passing empty map[string]interface{}{} to view Handler"?
Then I think this one is good to go!

Hey @theEyeD, let me know if you don't have time to wrap this up. I don't want this to get stale.

@matthewmueller got the original test passing. It required adding bud.NodeModules["svelte"] = version.Svelte, which I saw from some other test examples, but I'm not 100% why that's needed. Let me know if that isn't what you were thinking.

Excellent thank you Alex!
The Svelte version is needed because it starts off with a fresh node_modules directory every test run and this test depends on Svelte.


Stopped working in new MS Edge

Version
5.3.4
Browser and OS info
Edge 96.0.1054.29 / Windows 11 x64
Steps to reproduce
install vue js devtools from chrome store (because there is no version on https://microsoftedge.microsoft.com/addons/category/Developer-Tools) and try to access any url with vue code in dev mode.
What is expected?
Expect to see inspect vue in rightclick menu, also to see vue tab in dev tools, or at least option to enable tab if it is hidden.
What is actually happening?
No Vue tab (Edge has new "ActivityBar" instead tabs) and also no Vue choice on clicking the "+" to enable hidden tabs. Also the rightclick menu is not displayed

also missing the extension in  MS Edge addons site, https://microsoftedge.microsoft.com/addons/category/Developer-Tools
For now, solution is to use Chrome, but at work i like to use Edge, which is also Chromium based, to separate private and work browsers

I'm having the same issue with Edge 96.0.1054.29 on Windows 10
I have found you can get the Vue devtools working again by disabling the new "Focus mode" experiment in Edge Dev Tools:
https://docs.microsoft.com/en-gb/microsoft-edge/devtools-guide-chromium/whats-new/2021/11/devtools#new-devtools-ui-available-in-preview

@huume-pk thank you, can confirm, turning off focus mode helped, just add its found under settings in developer tools, not in main browser settings. thanks a lot

I'm having the same issue with Edge 96.0.1054.29 on Windows 10
I have found you can get the Vue devtools working again by disabling the new "Focus mode" experiment in Edge Dev Tools:
https://docs.microsoft.com/en-gb/microsoft-edge/devtools-guide-chromium/whats-new/2021/11/devtools#new-devtools-ui-available-in-preview

I can also confirm that this resolved the issue. Thanks.


Authentication flow for AADU w/MFA do not match SSMS and VS and are wonky

Issue Type: Bug
Choosing  "Azure AD - Universal with MFA" in this program does not allow me to type in a user name. Instead it puts me thought the devicelogin auth workflow like I have to do for remote CLI programs.
If you want to use that path you should be doing so in the program and giving me a list of accounts to pick from the program and not make me shell out to something else to pick, and have to click "yes open external site".
Its more clicks and interactions than I had to do with SSMS. This program should always be at least equal or better.

@aaomidi do you know if any of the upcoming auth changes will address this issue?  I think we'll still be opening an external web page, but the user will have the option to provide a username\password with on of the new AAD options.  Is that correct?

This should get fixed-ish, but we should come back to it once the changes are in.

Closing this as resolved, as ADS supports account selection from list of added accounts.


Create share-type only if it doesn't exist

Second run of testsetup on the virtual cloud fails with "share-type already exists" error.

+1

+1


invites don't tell you what room you are being invited to

this may be a corrupt invite, but i think i just got an invite to a room (the email notif from synapse says so and gives me the alias of the room), but riot/ios just says 'invite from Foo' rather than the name of the room itself

This looks to be a regression from when we switched from v1 to v2 API - see https://github.com/matrix-org/matrix-doc/pull/1568 and https://github.com/vector-im/riot-web/issues/7229

just need to look at event.unsigned.invite_room_state rather than event.invite_room-state.


[FR] Save Tabs Position

Every time I open the Atom IDE again.
The tabs of the juno packages are somewhere else and not where I left them.
It would be great if they stay in the place of the last session. Because it is very annoying to fix the workplace every time.

We already have an option to do that.
Go and remove the checkmark under julia-client -> UI Options -> Layout


How to generate GL3D gl3d_gt_pairs file for evaluation?

Hello,
I have downloaded your gl3d_gt_pairs file for evaluation from the mirror project, and also, I have downloaded the GL3D ground truth datasets of common_track.txt and mesh_overlap.txt.
However, I do not understand how you generate the weight of the gl3d_gt_pairs file. I read your paper and think the process may be different from what you describe in your paper.
For example, the first test dataset is 584ad76bfe3cb463906ce6dc, in this dataset, the 0 4 weight of the gl3d_gt_pairs file is 0.706303523876, the 0 4 weight of common_track.txt is 0.205568, the 0 4 weight of mesh_overlap.txt is 0.36.
Thanks a lot for your help.

I also have this problem.Have you solved it?

I also have this problem.Have you solved it?


contribute to the repository

Detection issue:
During learning Mythril, although there are lots of comments, I found it‘s laborious to totally understand the source code and symbolic analysis mechanism.
Description:
I documented some details when I learned the source code and after learning I wrote a document about how Mythril and Laser works and what the symbolic analysis in Mythril is. I just want to contribute this document to repository even if it doesn't help. I'm glad to share my document and If you want to, please reply me or provide me with your email address.
Thanks a lot!

@KennyFood awesome that you'd like to contribute. Maybe we can add this to our wiki.
Could you do a pull request with the document vs sending it via email? That would make discussion and review a lot more easy

@JoranHonig I can send this document to you directly via email however I didn't find your email address in personal information.
I'm glad to share this with you and others. After learning Mythril, I summarized my understanding of source code execution including concolic execution. Although this document is not particularly refined, I think it might slightly help others who want in-depth understanding of Mythril.

@KennyFood that would be quite helpful for the people who want to understand mythril. You can put a PR with the document or you can  put the content in google docs and share it in this thread with permissions such that we can drop comments on it, we can have easier discussions in this way over the email.

@norhh @JoranHonig I create a new public repository and upload this document. This is URL: https://github.com/KennyFood/Mythril-Mechanism-Analysis.git. :blush::blush:
I think we can have some discussion since I don't know if this document is helpful. 😛

@KennyFood In markdown put the link name first in square brackets and then the parenthesis . Like this Mythril-Mechanism-Analysis. You had the link name first.

@KennyFood I think a Medium article would be the right format for this. Maybe with the title "Mythril Internals: How Symbolic Execution Works" or something similar. We'll be happy to share it on Gitter
/ Telegram / Twitter.

@b-mueller Also it would be good if we can place it in 'for contributors section' in wiki. And mention it in ReadMe, as those two are the main sections which new contributors see first.

@b-mueller thanks for your reply.
I have changed the title and If there is something wrong with this document or whatever else, just let me know.  Thanks 😄

I've had a quick look and you have put in great effort! :+1: One thing to note is that there is a lot going on around implementation for laser.
One example is the restructuring of functionality in separate modules.
Another is the fact that svm.py isn't using a giant loop anymore but we're now using a worklist and search strategies.
Even more awesome is the multi-transactional analysis that we're now getting started on, which would allow us to do more accurate analysis (atm we need to overestimate some symbols)

@KennyFood I'm closing this issue for now. Please convert you content to a Medium post and let us know the link, and we'll create a new Wiki page to link to your article (and other Mythril-related articles).


ERC721 contracts no longer initialize their parents.

This fixes the issue with diamonds in the ERC721 inheritance tree (namely, having to pass name and symbol multiple times to MetadataMintable). Initializer for all parents have to be manually called (the mocks are an example of this).
Since we'll be providing a metadata, enumerable, mintable and pausable standalone ERC721 as part of our EVM package, this shouldn't be too bad, thought I'm not thrilled that initializers forced us to go this way.
I've also added some initialization safety checks in the style of #27.

Pull Request Test Coverage Report for Build 76

8 of 9 (88.89%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.8%) to 98.91%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

contracts/token/ERC721/ERC721Enumerable.sol
1
2
50.0%

Totals

Change from base Build 75:
-0.8%

Covered Lines:
565

Relevant Lines:
566

💛  - Coveralls


UI changes of Donation Account screen.

[XD link]
https://xd.adobe.com/view/f11ac530-31c1-477d-adf4-22524b8b7ed3-a449/screen/be874862-08da-4bd0-9d51-7163441ee8f7/
[Issues to be handled -
all except -6
1 & 4  need to be checked with developer as it is a common change screens.]

@cakesoft-swati Could we get a more higher-resolution image attached to this issue? I'm having trouble reading many of the items and seeing what exactly they refer to.

Regarding 7: Whether or not we want to implement this in addition to #2269 seems to be undecided (@antuz123, @Arpanjainson @AliMeer).
#2346 should address the remaining points.

-Verified these changes on Dev app v1.4.1(193)

-Verified these changes on Dev app v1.4.1(193)


Switch to pyproject.toml

For reasons we should switch from setup.py to pyproject.toml

Closed with https://github.com/experimental-design/bofire/pull/193


[Bug] " in String literal become the part of string

Problem you meet
We let:
s = "Hello"

Value of s is "Hello"
Error Log
@b = global [50 x i8] c"\22\E4\BD\A0\E5\A5\BD\E4\B8\96\E7\95\8C\EF\BC\8C\E6\88\91\E6\83\B3\E7\9F\A5\E9\81\93elz\E8\83\BD\E4\B8\8D\E8\83\BD\E7\94\A8\E4\B8\AD\E6\96\87\22"

\22 is "