Adding classical wires

Context: It is apparent that Mr Mustard requires some notion of 'classical wire' to support both the new poly exp ansatz as well as measurements. Here, I introduce classical_output and classical_input (or some other name we can agree upon) into Wires that is meant to fill this role. The idea is that Wires will keep track of the modes that contain this classical information (associating it with an index and unique ID) and the representation will do the rest (in a followup PR).
Description of the Change: Wires now accepts classical_output and classical_input meant to fill the role of non-quantum wires. The behaviour (within Wires) is identical to bra and ket.
Benefits: We will now be able to link classical information between circuit components. This approach avoids the need to introduce several new Wires classes.
Possible Drawbacks: It's possible there are some use cases that may require us to reconsider this approach? Maybe it turns out we really do need separate classes (i.e ClassicalWire, QuantumWire, PolyWire).

I'm a bit late to the game here, but widgets.wires() should probably be updated to draw the classical wires as well - it can be done in another PR, not a big deal


Leadership tasks cleanup logic

When leadership was revoked from a node the singletons representing the leadership tasks maintained some state. Particularly for metrics. This PR adds a cleanup method to the LeadershipTask interface which is called when Leadership is revoked in the coordinator. All state cleanup should be done within these methods.

Coverage increased (+0.02%) to 88.883% when pulling ba7bb7e1a628ed2de5e005c1075dfc755e82318d on tgianos:3.0.x into ae15d0422f12f053b5583446e4ed596b9aa1b654 on Netflix:3.0.x.


V3.2.0/screenshot documentation

Read the Docs guide for the screenshot feature. Covers

Overview
Java or Python implementation
Installation
Configuration
Storage

@obrienben That looks good. There are just some tiny stuffs to be considered:

There is a configuration item in webapp/resources/application.properties to enable/disable the screenshot feature from webapp side:

# Screenshot settings
enableScreenshots=true

Some command lines embeded in the page (harvest-screenshot-configuration-guide.html) are presented on one line. That would be better if they can be separated to individual lines.
I can't find a hyperlink in the contens index to link to the new added page (harvest-screenshot-configuration-guide.html)
There is a section in "system-administrator-guide.html" to describe the screenshot, named "Using the screenshot". The section is not formated well, and the contents can be covered by "harvest-screenshot-configuration-guide.html". That would be good if you could get rid of the section.


Timeline Analysis improvement

As discussed and prototypically implemented in the JupyterNotebook

We call it Concept over time analysis now and it has been implemented in #390


Make the upstream repo page have larger fields

Is your feature request related to a problem? Please describe.
In the bridge,  the upstream repo page has not very wide fields making it hard to read value like the repo url field.
Describe the solution you'd like
Like to see a wider fields names as to see a larger string especially for repo url field.  This is not functional problem, more just nice to have on the cosmetic point of view.
Describe alternatives you've considered
None
Additional context
Here is screenshot showing how the repo url field cuts off the value.

Fixed with #4493


[libcurl] Update to 7.85

Updates curl from 7.84 to 7.85
Removes normaliz patch as they applied that change to their newest release.

@Cheney-W committed your suggestion, thanks.

./vcpkg x-add-version libcurl --overwrite-version

Could you please solve the conflict? Thank you!

Convert this PR to draft since there is no progress. Please ping us if this PR is ready for review again.

Closing this PR since it seems that no progress is being made. Please ping us to reopen if work is still being done.


Add Bearer token as optional security scheme for public apis

In order to start using the common jwt as authentication method for our public APIs we are going to add a security scheme to all of them to accept the Bearer token as header of the request. This scheme is optional in order to keep both auth method working (authorization and sessionToken) and also to avoid adding authentication for endpoints that do not actually need it (healtchecks for example)

Closing this PR to avoid introducing a breaking change

What was the breaking change?


Fix binding errors while open a dialog

This PR fixes the early binding errors described here #175
Related main issue in Avalonia is https://github.com/AvaloniaUI/Avalonia/pull/13970
I tested it manually and no error occurs anymore :-D
Closes #175

I close this, maybe it will resolved by Avalonia itself....


📝 Gated API: username API payload

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


fix method

Hello, When we call the getRandomString method under the
stratosphere-core/src/main/java/eu/stratosphere/util/StringUtils.java file,
the input minValue and maxValue may have opposite parameters due to no input validation,
and then this method throws java.lang.IllegalArgumentException.
We think that this method has a problem with its robustness. Either you need to add an if judgement or try catch module. Here is our test code
public class StringUtils {
public static String getRandomString(Random rnd, int minLength, int maxLength, char minValue, char maxValue) {
int len = rnd.nextInt(maxLength - minLength + 1) + minLength;
    char[] data = new char[len];
    int diff = maxValue - minValue + 1;

    for (int i = 0; i < data.length; i++) {
        data[i] = (char) (rnd.nextInt(diff) + minValue);
    }
    return new String(data);
}

public static void main(String[] args) {
    Random random = new Random();
    String randomString = StringUtils.getRandomString(random, 0, 2,'a','A');
    System.out.println(randomString);
}

}

After stratosphere is donated as the Apache Flink project, I think this repo is no longer maintained. Just be curious why you still use this distributed system?


Question about the Pooler+MLP layer in code implementation

Hi,
Firstly, thank the authors for sharing the nice work and code.
I have a question about the code implementation of the modeling part. For the 'BertForCL' model, since self.bert (BertModel) already contains a BertPooler non-linear layer, I was wondering that why we need an additional MLP layer to simulate it? Should we initialize a BertModel without the BertPooler?
And in the simcse_to_huggingface.py, the original BertPooler layer will be replaced by the MLP layer, is there any reason to do so rather than simply drop the MLP and keep the original BertPooler?
Thanks in advance!

Hi,
Thanks for your interest in our work! The reason is that we have also tried to use different poolers in our experiments, so for convenience, we separated it from the Huggingface's pooler. Although in the end we found that the original BERT pooler works well, we still kept it for extensibility.


Update say tests and standardize stepsN to spell-out

Part of #274
I've tentatively changed step1, step2, step3, and step4 to just be a single spell-out function, but since that breaks solutions for the 55 students so far that solved the exercise, I may revert that change. More importantly, tests are synced.

Alright, I'll revert the changes to step1, step2, step3, and step4 but keep the updated tests and point them to the expected function for each test


Linebreaks showing on home

/n line break characters showing on home page of webpack.js.org

@EugeneHlushko @munter Any idea about this?

I think https://github.com/webpack/webpack.js.org/pull/2026 might be causing this. But I'm so unfamiliar with the build system that I can't be sure. After the build times regressed it's impossible for me to build the docs on my home machine any more, so I can't bisect it.
I do note that the supporters are also not showing, which is what gets me thinging of https://github.com/webpack/webpack.js.org/pull/2026

Fixed in https://github.com/webpack/webpack.js.org/pull/2033, would take ~1h to be deployed.

Fixed, thanks for you report.


Docs site down

Sub pages on the docs site aren't showing.

can you open a ticket in @trykickoff/trykickoff.github.io?

BTW, I just setup siteleaf to manage the site, it appears to have done something weird..

@nicbell site fixed now btw

Looks good to me


If set rootDir in tsconfig.json which under project, the ts-loader can't handle the piping output of ts-import-plugin

In tsconfig.json, I set the rootDir option:
"compilerOptions": {
    "rootDir": "src"
}

The compiler console throw error:
File 'index.tsx' is not under 'rootDir' '/Users/XXX/Workspace/project/src'. 'rootDir' is expected to contain all source files.

Any idea on it?

the  entry of the webpack.config.js  in this project is test/fixture/index.tsx , you can not set the rootDir to src unless you change the entry to src/xxx.tsx

@Brooooooklyn not for the dev on ts-import-plugin.
I'm using it to dev a react project(generated through create-react-app project --scripts-version=react-scripts-ts).  The webpack config is ejected and I'm trying to inject ts-import-plugin for manually tree-shaking packs. Without ts-import-plugin, ts-loader read the tsconfig.json(contains rootDir) under my project well, but after adding the import syntax transforming hook, compiler print out the error message.
I suppose the upstream piped out by ts-import-plugin and is cached in memory(or some virtual file zone) cause the ts compiler failed.
Another hanging related issue for reference: https://github.com/TypeStrong/ts-loader/issues/244

close via https://github.com/TypeStrong/ts-loader/pull/598


glTF viewer registers via iCloud as a file type provider for GLB and similar files on macOS

I've verified this is the case. The issue causes the Preview app on macOS to be unable to open GLB files entirely due to the fact that the binary doesn't exist on macOS. I'm unsure why it breaks Preview.app, but it does.
The only solution is to remove the iOS app's data in iCloud entirely and to disallow it from saving any data there. Although it turns out this isn't enough as there are a few files in iCloud that macOS holds onto that you have to purge manually via the terminal.
The problem happens when the Launch Services database is rebuilt and the system is restarted.

Some of the files I had to purge from the system:
sudo rm -rf "/System/Volumes/Data/Users/brianward/Library/Application Support/CloudDocs/session/containers/iCloud.org.khronos.gltf.glTFViewer"
sudo rm -rf "/System/Volumes/Data/Users/brianward/Library/Application Support/CloudDocs/session/containers/iCloud.org.khronos.gltf.glTFViewer.plist"
sudo rm -rf "/System/Volumes/Data/Users/brianward/Library/Daemon Containers/CA53E0B0-6280-4FB7-A753-766B1F8FA006/Data/Library/Caches/Placeholders-v2.noindex/org.khronos.gltf.glTFViewer-1.0"
sudo rm -rf "/System/Volumes/Data/Users/brianward/Library/Mobile Documents/iCloud~org~khronos~gltf~glTFViewer"

You can verify that the incorrect association exists by running: /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -dump | grep -A 10 -B 10 "public.glb" on your system
To delete the bad data after purging the files I mentioned above. Make sure you've disabled on the app's ability to use iCloud from your phone. Then go into iCloud on your phone and purge all data for the app. Removing the folder will not be sufficient. There's an option to purge the data for the app in Settings... somewhere.
To reset the Launch Services database, do the following:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
qlmanage -r
qlmanage -r cache
killall Finder
killall Dock
Reboot your machine. if you've purged everything correctly, it won't show up again. It takes a couple of minutes after reboot for the issue to re-appear.

I want to emphasize that merely changing the file association back to Preview.app does not resolve the problem without performing the steps above.

It's also worth mentioning that while the bug is happening, you can see from the Console log that both Preview and Finder complain the following in the logs: Unexpected bundle class 16 declaring type public.glb


how to disable the secondary prefix : Ctrl +a ?

as at my linux shell, Ctrl + a is used to switch cursor to ahead of line.

Hello @dayDPTR 👋
Edit your .local customization file so that you run these
set -gu prefix2
unbind C-a


When the vertex stops processing the data, highlight as Not Processing instead of Not available

Describe the bug
When the vertex stop processing the data, highlight as Not Processing instead of Not available

Message from the maintainers:
Impacted by this bug? Give it a 👍. We often sort issues this way to know what to prioritize.

For quick help and support, join our slack channel.

This processing rate is coming from the daemon server based on how we track data movement based on reads. We might have to somehow distinguish not processing vs not reading. There is a tight cause/effect relationship that can get inverted in every phase of the cycle.


Fix proxy-agent reconnect issue

Signed-off-by: xuezhaojun<EMAIL_ADDRESS>

/assign @skeeey

/lgtm


Added parameters for test history

This change is required in order to save the parameters injected by a DataProvider to generate a test, so it will allow a user to check which parameters were exactly used for a test generated this way.

I will need a small change on the frontend, right?

Sure! Thanks Sasha 👍


Can't convert mobilenet v2 quantized model from tensorflow to Onnx/Pytorch

Platform (like ubuntu 16.04/win10): 16.04
Python version: 2.7
Source framework with version (like Tensorflow 1.4.1 with GPU): 1.11
Destination framework with version (like CNTK 2.3 with GPU): Onnx
Pre-trained model path (webpath or webdisk path):
model link:- http://download.tensorflow.org/models/tflite_11_05_08/mobilenet_v2_1.0_224_quant.tgz
Running scripts:
Command:- mmconvert -sf tensorflow -iw mobilenet_v2_1.0_224_quant_frozen.pb --inNodeName input --inputShape 224,224,3 --dstNodeName output -df pytorch -om generated
Error Message:-

Tensorflow has not supported operator [FakeQuantWithMinMaxVars] with name [MobilenetV2/Logits/Conv2d_1c_1x1/weights_quant/FakeQuantWithMinMaxVars] *

venvs/testenv/local/lib/python2.7/site-packages/mmdnn/conversion/tensorflow/tensorflow_frozenparser.py", line 448, in rename_UNKNOWN
assert False
AssertionError

Hi @dibya001. Thanks for your feedback. It is a new op that we will add in the future.


Installation Problem : failed to open stream

Hey, thanks for the cool player, but I'm having issues with installation
Warning: require(/var/www/html/koel/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/koel/bootstrap/autoload.php on line 17

Fatal error: require(): Failed opening required '/var/www/html/koel/bootstrap/../vendor/autoload.php' (include_path='.:/usr/share/php:/usr/share/pear:') in /var/www/html/koel/bootstrap/autoload.php on line 17

Please check your PHP environment. It doesn't look right to me.


can't extend or overwrite .gd files that have custom class_name

Hello,
I'm learning how to use mod-loader and I'm faced with this issue when moding Dome Keeper 4.1 . When extending or overwriting a file such as Tile.gd or Map.gd or MapData.gd, the following error occurs : Class "Tile" hides a global script class.
When removing "class_name Tile" from the original file, the extension works. The same issue stands for custom ressources.
Is there a way around this whithout creating conflicts with other mods?

Hi, currently there is no fix for this issue. We are in the process of creating an entirely new approach for extending scripts. You can follow the progress here.
I'm closing this as it is a duplicate of an existing issue. For Dome Keeper specific help, I recommend joining the Bippinbits Discord, and I'd be happy to chat over there.

https://github.com/GodotModding/godot-mod-loader/issues/345


prev issue 57 - 3: supervisor/user/(hypervisor?) mode alignment

Separating previous issue #57 into multiple issues for better tracking

supervisor/user/(hypervisor?) mode alignment
I think that this is already taken care of but it's worth making sure that a VM page (4k) alignment is required for the bases of each S/U mode CLIC region so that they can be mapped through the TLBs (especially on user mode)

This is a platform issue, but can be listed as a recommendation in commentary.


Unable to use upstream proxy and proxy authentification

Steps to reproduce the problem:

git clone https://github.com/mitmproxy/mitmproxy.git
cd mitmproxy
./dev.sh
. venv/bin/activate
mitmdump --proxyauth test:test -m upstream:http://<IP_ADDRESS>:8080/ --ssl-insecure

On <IP_ADDRESS>, I have a VM that runs mitmproxy :
6. mitmdump --insecure
Any other comments? What have you tried so far?
It seems that each time you have a clientdisconnect/clientconnect, you get a new prompt to login (proxyauth). Basically for each domain you have to login to the proxyauth, here test/test.
I wild guess would be that the information in the header to pass by the upstreamproxy somehow is not compatible with the header auth information
System information
HOST :
Mitmproxy version: 3.0.0 (2.0.0dev0435-0x1c6b33f)
Python version: 3.6.0
Platform: Linux-4.9.0-0.bpo.2-amd64-x86_64-with-debian-8.7
SSL version: OpenSSL 1.1.0e  16 Feb 2017
Linux distro: debian 8.7

VM (<IP_ADDRESS>):
Mitmproxy version : 2.0.0 (release version)
Python version : 3.5.2
Platform : Linux-4.4.0-75-generic-x86_64-with-Ubuntu-16.04-xenial
SSL version: OpenSSL 1.0.2g 1 Mar 2016
Linux distro: Ubuntu 16.04 xenial

Thanks for the report. This is faulty, because the mode is now upstream:..., not just upstream.

I fixed it with just a minor change, show I create a pull request ?

   return ctx.options.mode in ("regular", "upstream")

   if ctx.options.mode == "regular" or "upstream" in ctx.options.mode:

       return True

   else:

       return False

Go ahead please!


Change contextual_connect to connect to address depreciation warning

contextual_connect seems to be depreciated as per: https://docs.sqlalchemy.org/en/13/core/connections.html#sqlalchemy.engine.Engine.contextual_connect
Also it throws a bunch of warnings which pollutes my unit test output.

Already opened as: https://review.opendev.org/#/c/671040/


Add exit code 1 for Test failures

Purpose
Test failures give the exit code 0
Fixes #21762
Approach
Samples
Remarks
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

The mentioned issue no. is wrong. Can you check and link the correct issue?

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

IMO this is not the correct fix. org.ballerinalang.tool.MAin we already handle Launcherexception and exit with non zero code.

Yes. This isnt the correct fix. I think this issue is sorted out on the latest RC2 pack. I will check and close this PR if the exit code is getting set.

Closing since issue is fixed with https://github.com/ballerina-platform/ballerina-update-tool/pull/16


Unable to specify loadBalancerIp

What happened?
const ingressExternalIp = new gcp.compute.Address('ingress-external-ip', {
    addressType: 'EXTERNAL',
    purpose: 'SHARED_LOADBALANCER_VIP',
});

const ingressNginxController = new ingressNginx.IngressController('ingress-nginx-controller', {
  controller: {
      publishService: {
          enabled: true,
      },
      service: {
          loadBalancerIPs: ingressExternalIp.address,
      },
  }
})

Then I got this error:
warning: resource plugin kubernetes-ingress-nginx is expected to have version >=0.0.5, but has 0.0.1; the wrong version may be on your path, or this may be a bug in the plugin
warning: resource plugin kubernetes-ingress-nginx is expected to have version >=0.0.5, but has 0.0.1; the wrong version may be on your path, or this may be a bug in the plugin
error: Error: failed to register new resource ingress-nginx-controller [kubernetes-ingress-nginx:index:IngressController]: 2 UNKNOWN: setting args: copying input "controller": expected destination type to implement pulumi.Input or pulumi.Output, got string
at Object.registerResource (/Users/chao.yang/Private/stackbase/node_modules/@pulumi/runtime/resource.ts:293:27)
at new Resource (/Users/chao.yang/Private/stackbase/node_modules/@pulumi/resource.ts:393:13)
at new ComponentResource (/Users/chao.yang/Private/stackbase/node_modules/@pulumi/resource.ts:881:9)
at new IngressController (/Users/chao.yang/Private/stackbase/node_modules/@pulumi/ingressController.ts:62:9)
Steps to reproduce
the above code
Expected Behavior
Should be able to specify the IP address
Actual Behavior
Error when run preview
Versions used
No response
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Hi @chaoyangnz
Have you built this provider yourself? It seems there's an ambient version of the provider on your path already
if you run the command:
pulumi plugin ls then what do you see? Do you see multiple versions of the provider installed?
Paul

Can you test 0.0.6?

Confirming this issue is still present on 0.0.6 with only one version of kubernetes-ingress-nginx installed.
It occurs to me it is the same issue as https://github.com/pulumi/pulumi-kubernetes-cert-manager/issues/1

Additionally, setting a static string as displayed as a workaround in  does not work.
I believe the cause of this issue may actually be a typo (I though all properties where generated?) since the actual Helm chart expects the singular controller.service.loadBalancerIP without an 's' instead of plural controller.service.loadBalancerIPs.

For others experiencing issues with this package: I noticed more schema errors which may leave you scratching your head. I recommend using Helm.v3.Release directly like below
import * as k8s from "@pulumi/kubernetes";

const ns = new k8s.core.v1.Namespace("ingress-nginx", {}, { provider: kubernetes });
const namespace = ns.metadata.name;

const externalIp = new gcp.compute.Address('external-ip', { addressType: 'EXTERNAL' });

const ingressNginxController = new k8s.helm.v3.Release(
    "nginx-ingress",
    {
        chart: "ingress-nginx",
        version: "4.2.0",
        repositoryOpts: {
            repo: "https://kubernetes.github.io/ingress-nginx",
        },
        values: {
            controller: {
                publishService: {
                    enabled: true,
                },
                service: {
                    loadBalancerIP: externalIp.address,
                },
            },
        },
        namespace,
    },
    { provider: kubernetes }
);


Can't load local file with prefix file:/// in IOS devices

I am not able to see the local images in the zoom viewer, rather it is not showing any errors, getting the blank screen
File path:

OutPut:

I am using react native fs for storing the captured images in App's document directory and i am trying to get the path and try to use with component,
Please help

Fixed it myself
No need of
props: {
        source: require('path')
    }

url is enough

@jothikannan can you explain how did you solved it?

Putting the URI directly on the url prop (same for remote urls)


Change font size for Acknowledgment on mobile

The text of Acknowledgement is causing the text to be right justified on mobile in safari and shift the background.

Mark Changed Font of Land Acknowledgment #25


UTF-8 conversion fails with Golang 1.12.1

I am using go-charset to covert from UTF-16BE to UTF-8. but it's failing with
charset: cannot open "charsets.json": open /usr/local/lib/go-charset/datafiles/charsets.json: no such file or directory

ISO-8859-1 to UTF-8 conversion fails with following error
open /usr/local/lib/go-charset/datafiles/iso-8859-1.cp: no such file or directory

I think I found the offending code
https://github.com/paulrosania/go-charset/blob/55c9d7a5834c4d034b34bf042103dbc646887f4f/charset/local.go#L102-L104
we read charsets.json once and I am using go mod in my project so file is not found in default charDet dir /usr/local/lib/go-charset/datafiles
https://github.com/paulrosania/go-charset/blob/55c9d7a5834c4d034b34bf042103dbc646887f4f/charset/file.go#L21-L25

$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/electron/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/electron/go"
GOPROXY=""
GORACE=""
GOROOT="/snap/go/3417"
GOTMPDIR=""
GOTOOLDIR="/snap/go/3417/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/electron/<path-to-project>/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build811033579=/tmp/go-build -gno-record-gcc-switches"

Update: I added the charsets.json file at the location it's looking for and it worked.
Here is my relevant snippet from my Dockerfile
# monkey patch for https://github.com/paulrosania/go-charset/issues/5
RUN mkdir -p /usr/local/lib/go-charset/datafiles && \
    wget -qO/usr/local/lib/go-charset/datafiles/charsets.json https://raw.githubusercontent.com/paulrosania/go-charset/master/datafiles/charsets.json

I think we should be looking for charsets.json relative to .go file

including data package did the trick.
	_ "github.com/paulrosania/go-charset/data"


Unable to Move Messages

Hello,
I've been having some issues with moving or copying messages to folders. I get the following error.
Viewpoint::EWS::Errors::SoapResponseError: SOAP Error: Message: The request failed schema validation: The element 'MoveItem' in namespace 'http://schemas.microsoft.com/exchange/services/2006/messages' has invalid child element 'ReturnNewItemIds' in namespace 'http://schemas.microsoft.com/exchange/services/2006/messages'.  Code: a:ErrorSchemaValidation
This is how I'm currently trying to move the message...

cli = Viewpoint::EWSClient.new(endpoint, username, password)
inbox = cli.get_folder :inbox
new_folder = cli.get_folder_by_name 'Processed'
first_message = inbox.messages(indexed_page_item_view: {'MaxEntriesReturned' => 1, 'Offset' => 1, 'BasePoint' => 'Beginning'}).first
first_message.move!(new_folder.id)

I have also tried first_message.move(new_folder) both do not work.
This is where the error is triggered.
Is there something I'm missing?

I found that by commenting out the line in the ews_data_services.rb for both the copy_item and move_item methods it would then work. This was the line I commented out.
builder.return_new_item_ids!(return_new_ids)

See http://stackoverflow.com/a/19574710/2298386 - you need to have server version 2010 or newer and set :server_version when initialising your EWSClient instance.


Virus?

Operating system / операционная система
Windows 10 20H2
Running as service / Запуск программы как сервис
I run it as a regular program / Запускаю программу обычным образом
Describe the bug / Опишите ошибку программы
Why does virustotal.com find so many viruses here?
https://www.virustotal.com/gui/file/00a2f8b99cd817f8c7fc4c449033015f039d18af213de78cb66bf202277c0628

Additional information / Дополнительная информация
No response

@qo4on Information on VirusTotal is not a guarantee—you end up with malicious software being flagged as clean and vice versa.  The reason VirusTotal false-flagged GoodbyeDPI specifically is because it uses WinDivert (hinted at on your screenshot), which is an open-source packet manipulation driver that can absolutely be used for malicious purposes (note the ESET-NOD32 comment), even though it’s not malicious itself. It does make some sense to assume something that can intercept packets to be malicious, but then again, a lot of legitimate software manipulates packets, as well as uses WinDivert.
What’s important to understand is that GoodbyeDPI is pretty old at this point (as far as I can remember, it will be 10 years in 2027) and has tens of thousands technically inclined users across the globe that run it as a daily driver—if it had malicious code, it would’ve been found, and this repository would’ve been hidden by GitHub, which also does at least a good enough job to prevent malware on the platform.
Not to mention the fact that the maintainer is well-known and reliable, but you’ll have to trust me on that.

That's false positive for WinDivert driver. If you want it removed, you need to contact these antivirus vendors and report for false positive.

Влад ты ебаный хуесос, это майнер

Тварь ебаная чтобы вся твоя семья сдохла от ебаного вича в муках

Анимешный пидорас

В очко себе этот палец засунь тварь ебаная со своим майнером


Unable to install rally-app-builder

Hi,
I am trying to install the rally-app-builder, and it is throwing an error for phantomjs.
my node version is : 8.9.4
npm version : 5.8.0
Error : Failed at the<EMAIL_ADDRESS>install script
is there a way to get around this in case phantom is not mandatory.

I think it is because of some restriction in my office network. installed fine in my personal laptop.
thanks.


Include opponent's name in data tracked per deck

Allows for tracking performance against specific players across all decks. Useful for players vs friends and for S-Rank players.

Should include the ending turn of the game as well, allows for deck ending turn distributions, which can give you an idea of how fast/slow the deck is and inform card choices.


"Windows 32bit" + Nuitka + PySimpleGUI =  "cc1.exe: out of memory allocating 65536 bytes"

Hi,
I've been using Nuitka and PySimpleGUI for about 1 year, without any issues, using:
Win7 x86 and Win10 x64
Python 3.7.7 (3.7.8 on Win10)
Nuitka 0.6.7
PySimpleGUI 4.16.0

I just attempted to upgrade (on Win7 x86) both the above Nuitka & PySimpleGUI to the latest version, and Nuitka fails with:
cc1.exe: out of memory allocating 65536 bytes
←[0mscons: *** [module.PySimpleGUI.PySimpleGUI.o] Error 1

On the Win10 x64 computer, I was able to upgrade both Nuitka & PySimpleGUi to the latest/greatest versions:
Win10 x64
Python 3.7.8
Nuitka <IP_ADDRESS>
PySimpleGUI 4.34.0

-and I seemingly have no issues when I run Nuitka to compile my Python code.

Through trial/error, I have observed the following ("FAILS" means Nuitka had the compile error):
WORKS: (the highest versions of Nuitka & PySimpleGUI that would work)
Win7 x86 (32bit)
Python 3.7.7
Nuitka <IP_ADDRESS>
PySimpleGUI 4.26.0

STDOUT:
C:\EXE_NUITKA>python -m nuitka --standa
lone --windows-disable-console --enable-plugin=tk-inter "../xyz/abc.
py" --output-dir="../EXE_NUITKA/"
Nuitka-Plugins:INFO: tk-inter: Injecting pre-module load code for module 'tkinte
r':
Nuitka-Plugins:INFO: tk-inter:     Need to make sure we set environment variable
s for TCL.
Nuitka-Plugins:INFO: tk-inter: Injecting pre-module load code for module 'PySimp
leGUI':
Nuitka-Plugins:INFO: tk-inter:     Need to make sure we set environment variable
s for TCL.
Nuitka-Scons:INFO: Backend C compiler: C:\Program Files\mingw-w64\i686-8.1.0-pos
ix-dwarf-rt_v6-rev0\mingw32\bin\gcc.exe (gcc.exe).
←[91mNuitka-Scons:WARNING: Didn't find ccache for C level caching, follow Nuitka
 user manual description.
←[0m←[91mNuitka-Scons:WARNING: You are not using ccache.
←[0mNuitka-Plugins:INFO: tk-inter: Copied Tk libraries from C:\Python\Python37-3
2\tcl\tk8.6.
Nuitka-Plugins:INFO: tk-inter: Copied TCL libraries from C:\Python\Python37-32\t
cl\tcl8.6.

C:\EXE_NUITKA>

FAILS: (I get similar STDOUT as the below FAILS)
Win7 x86 (32bit)
Python 3.7.7
Nuitka <IP_ADDRESS>
PySimpleGUI 4.27.4 (this is the next version up from 4.26.0)

FAILS:
Win7 x86 (32bit)
Python 3.7.7
Nuitka 0.6.10 (this the next version up from 0.6.9)
PySimpleGUI 4.26.0

STDOUT:
C:\EXE_NUITKA>python -m nuitka --standa
lone --windows-disable-console --enable-plugin=tk-inter "../xyz/abc.
py" --output-dir="../EXE_NUITKA/"
Nuitka:INFO: Starting Python compilation.
Nuitka-Plugins:INFO: tk-inter: Injecting pre-module load code for module 'tkinte
r':
Nuitka-Plugins:INFO: tk-inter:     Need to make sure we set environment variable
s for TCL.
Nuitka-Plugins:INFO: tk-inter: Injecting pre-module load code for module 'PySimp
leGUI':
Nuitka-Plugins:INFO: tk-inter:     Need to make sure we set environment variable
s for TCL.
Nuitka:INFO: Completed Python level compilation and optimization.
Nuitka:INFO: Generating C source code for backend compiler.
Nuitka:INFO: Running data composer tool for optimal constant value handling.
Nuitka:INFO: Running C level backend compilation via Scons.
Nuitka-Scons:INFO: Backend C compiler: C:\Program Files\mingw-w64\i686-8.1.0-pos
ix-dwarf-rt_v6-rev0\mingw32\bin\gcc.exe (gcc.exe).
Nuitka-Scons:INFO: Slow C compilation detected, used 60s so far, this might indi
cate scalability problems.
Nuitka-Scons:INFO: Running 'C:\\Users\\abc\\AppData\\Local\\Nuitka\\Nuitka\\c
cache\\v3.7.12\\ccache.exe gcc.exe -o "module.PySimpleGUI.PySimpleGUI.o" -c -std
=c11 -fwrapv -fpartial-inlining -ftrack-macro-expansion=0 -Wno-deprecated-declar
ations -fno-var-tracking -O3 -pipe -D_WIN32_WINNT=0x0501 -D_NUITKA_STANDALONE -D
_NUITKA_WINMAIN_ENTRY_POINT -D__NUITKA_NO_ASSERT__ -D_NUITKA_CONSTANTS_FROM_RESO
URCE -D_NUITKA_FROZEN=168 -D_NUITKA_EXE -IC:\\Python\\Python37-32\\include -I. -
IC:\\Python\\PYTHON~1\\lib\\SITE-P~1\\nuitka\\build\\include -IC:\\Python\\PYTHO
N~1\\lib\\SITE-P~1\\nuitka\\build\\static_src "module.PySimpleGUI.PySimpleGUI.c"
' took 169.80 seconds
←[93m
cc1.exe: out of memory allocating 65536 bytes
←[0mscons: *** [module.PySimpleGUI.PySimpleGUI.o] Error 1

C:\EXE_NUITKA>

Also, one thing I noticed about PySimpleGUI is it installs (via "pip install PySimpleGUI") into a very large *.py file, as per example:
file: C:\Python\Python37-32\Lib\site-packages\PySimpleGUI\PySimpleGUI.py
size: 1.1MB

I also observed Nuitka creating a very large C file for PySimpleGUI, as per:
C:\EXE_NUITKA\abc.build>dir module.PySimpleGUI*
 Volume in drive C has no label.
 Volume Serial Number is 14AF-50AC

 Directory of C:\EXE_NUITKA\abc.build

02/08/2021  02:26 PM            30,854 module.PySimpleGUI-preLoad.c
02/08/2021  02:26 PM               467 module.PySimpleGUI-preLoad.const
02/08/2021  02:26 PM             8,820 module.PySimpleGUI-preLoad.o
02/08/2021  02:26 PM            26,784 module.PySimpleGUI.c
02/08/2021  02:26 PM               487 module.PySimpleGUI.const
02/08/2021  02:26 PM        19,523,648 module.PySimpleGUI.PySimpleGUI.c
02/08/2021  02:26 PM           646,303 module.PySimpleGUI.PySimpleGUI.const
               7 File(s)     20,237,363 bytes
               0 Dir(s)  22,988,148,736 bytes free

C:\EXE_NUITKA\abc.build>

In my trial and error testing, I found that module.PySimpleGUI.PySimpleGUI.c can vary to 17MB - 23MB, and the larger size does not seemingly imply failure (Nuitka compile error).

My source code to show you is a bit complicated.  I will try to "distill" it down to a simple example.  At this point, I at least wanted to give you some clues for this.
Thanks,
George H.
02/08/2021 3:57pm ET

The scalability of the C backend can be an issue, and 32 bits gcc seeingly limits the memory used. Make sure to use the latest gcc, try uninstalling your MinGW64 and let Nuitka download the v10 based one. It might be more efficient. Next step is to install Visual Studio 2019 or whatever works on the OS you use, and with that, it is using cross compilation potentially or you could make it do that, i.e. the C compiler is not limited to 2GB at compile time, which is not a lot to use for a C compilation of any size.
Otherwise you will have to sit and wait for more scalability improvements in the C backend. The 0.6.12 release will bring relatively small one only in the backend, focus was on the frontend global number of passes, but for 0.6.13 I plan to look at the worst offenders. Typically generated code is too much of everthing.


make on Windows fails for README.md

Running make for O/OE/OETIKER/Net-LDAP-SPNEGO-0.1.6.tar.gz cp lib/Net/LDAP/SPNEGO.pm blib\lib\Net\LDAP\SPNEGO.pm "C:\Progs\Perl5222\perl\bin\perl.exe" -IC:/Progs/Perl5222/cpan/build/Net-LDAP-SP NEGO-0.1.6-AVH3RF/3rd/lib/perl5 -MPod::Markdown::Github -e 'binmode(STDOUT, ":ut f8");Pod::Markdown::Github->new->filter(qlib/Net/LDAP/SPNEGO.pm)' > README.md Can't find string terminator "'" anywhere before EOF at -e line 1. dmake.exe:  Error code 130, while making 'README.md' dmake.exe:  'README.md' removed.
I think this can be written better (and Windows cmd shell conform) as:
... -e "'binmode(STDOUT, q(:utf8));Pod::Markdown::Github->new->filter(q(lib/Net/LDAP/SPNEGO.pm))"
single quotes and curlies will not play nice with the limited Windows command line

yey :) will you make a PR ?

Perhaps. First I'd have to look at how to do that and second I'd like to have the module working in the first place.
I have found and fixed another bug (will file an issue shortly) , but still cannot get the example to work under Windows. I'm still debugging.

note that I have found that one of our AD servers is also unwilling to play ball if the client is on a windows box in the same domain ...

I have found the main issue. Our AD server wants to have TLS enabled. I did that and now the connection works. But I am prompted for a password. When I give the login information my groups are shown correctly. Is this planned behaviour? I thought this should be SSO?

yes, it has the potential to be sso ... but that depends on your browser settings ... in general you have to put the server into the trusted zone of your internet configuration on windows.

It seems to work now with SSO.
could it be that the login dialog was triggered by setting debug to 3? I reset it to 0 and deleted the saved NTLM password and now it seems to work without prompt. Looks fine now.
I'll look into pull requests tomorrow.

I am not aware that the perl server side is able to influence the client as to weather it does sso or not ...

I just tried a new connection with another URL (lokal IP address instead of <IP_ADDRESS>) and got the password dialog again. I just pressed "Cancel" and did a reload and now it worked. Then I closed down the server and closed IE, restarted both and it still works. So only the first connect seems to trigger the password prompt.
Strange...

Hmm, maybe this has something to with the certificate exchange on first connect? Would this be logged in the Net::LDAP debug output?

there is no certificate exchange between webbrowser and perlmodule ...

I thought about the connection between module and LDAP server in case of a TLS connection.
I don't have the time now, but I will try to find out what causes that first dialog to appear.

there is a tls LDAP connection but it is terminated at the perl server ... the browser does not see this

Found and fixed it. The problem lies in the handshake of browser and perl used in the example as well as in Mojolicious::Plugin::SPNEGO. My IE (11) sends the Type 1 Token immediately on the first request. So there is no need for a status 'init' and a 401 response. You can proceed to 'expectType1' immediately.
I will make a PR for Mojolicious::Plugin::SPNEGO. The Net::LDAP::SPNEGO synopsis and example should be revised too.

fixed via #2


Can not prevent form submission.

i am not able to prevent form submission for an event "parsley:form:validate"
$('#form').psly().subscribe('parsley:form:validate', function(formInstance) {
formInstance.submitEvent.preventDefault();
});
showing error 'cannot read property preventDefault of undefined'
i am using Multi steps form.

Not sure why, I'd have to check why.
In the meantime, you can listen for the success or validated events and set this.validationResult to false if you want.

@marcandre Thanks man it is working...
$('#form').parsley().subscribe('parsley:form:validated', function(formInstance) {
formInstance.validationResult = false;
});

Let me keep this open, I'd like to check why submitEvent isn't defined.

Hello there :)
I am using 2.2.0-rc1 and have the same problem like @marcandre. His solution with subscribe produces a warning: i should use on/off.
But when I use the on/off handlers in a manner like:
...'form' ).parsley().on( 'form:validated', my_function );
(Which is the documented way to use the events)
, changing validationResult to false and calling submitEvent.preventDefault(); in the my_function it will submit the form, nevertheless...
I tried about 15 different ways to make this working but didn't have any success...
Can someone please give me a hint? :heart:
Thanks in advance ^^

Thanks for chiming in, makes me realise that changing validationResult doesn't work anymore... Better change that.
In the meantime, here's the recommended way to stop submission:
$('#your-form').parsley().on('form:submit', function(formInstance) {
  return false;
});

Thanks a lot for your extremely fast answer, but that doesnt work either xD...
hmmm..... :thought_balloon:

It should, see here
Did you replace the #your-form selector correctly?

I will check it tomorrow a second time when im inhouse again ^^
Have a nice evening
Von meinem Sony Xperia™-Smartphone gesendet
---- Marc-André Lafortune schrieb ----

It should, see here
Did you replace the #your-form selector correctly?
—
Reply to this email directly or view it on GitHub.￼

Okay awesome news, its absolutely working with
$('#your-form').parsley().on('form:submit', function(formInstance) {
  return false;
});

It wasn't the selector ^^, Yesterday Evening, I choosed to work on an other feature after writing my question, and therefore that other feature disabled proper code execution.
Thanks a lot for your help! :dancer:

Changing validationResult works again in master.

Cool to hear! :)


Create REACT component of the createnewpost page

Is your feature request related to a problem? Please describe.
As a user, I want a visable interface for creating a post.
Additional context
Reference to #35

Have a onSubmit prop that will be a function that takes { title, body } object as a parameter, to be called when the user presses the submit button.
The CreatePostContainer done in #38 will supply this property when it wraps your component.

The CreatePostContainer also passes a string errorMessage prop, which is not an empty string when submitting a new post returns an error.

There should form validation to check if the title and body is empty - then the submit button should be disabled and a message should appear

Update: instead of a CreatePostContainer component, we now have a withCreatePostService HOC. The errorMessage prop is now null when there is no error, rather than an empty string.

Whoops, I accidentally closed this. Reopening.

Update: the onSubmit prop is now a function that takes 2 arguments: title and body, rather than a single object { title, body }


[Feature Request] Enable parallel installation of libaray

Installation of boost is very slow, each of its sub-package is downloaded and built sequentially, which cause low cpu usage and low efficiency.
command line vcpkg install boost
Proposed solution
If vcpkg can enable package level parallel installation, use vcpkg -j8 like make -j8 to speed up package installaziton, it would be of great help

@MichaelSuen-thePointer, this is already supported, see https://github.com/microsoft/vcpkg/blob/4073d297e1b07b4ccbadd053680327bd13afd3d0/ports/boost-modular-build-helper/boost-modular-build.cmake#L197
You can enable it by setting NUMBER_OF_PROCESSORS environment variable.

@PhoebeHui The -jX option applied on b2 will only enable parallel build of one single boost module right? The bottleneck is not build time of one single module, but the sequential installation of a tons of boost modules.
So if there are mutliple boost module to be installed, the whole process is still like:
download m1-> unpack m1-> parallel build m1-> install m1-> download m2 -> unpack m2 -> parallel build m2 -> install m2
What I wanted is like vcpkg spawn multiple itself and install independent module simutanously, just like I manually started multiple vcpkg process.
Not parallel build, but parallel download, unpack and install

Hmm, in theory this is possible; let me ask the team about it :)

Apparently this is a Really Hard Problem. @ras0219 has looked into this before, and we may look back into this in the future.


GH-77, add xray_repository_config resource

Added the resource, tests, documentation, and HCL examples.
Also added the ability to disable license check (from customer's PR).

@shrajfr12, go vet on *.go files doesn't return anything.

@alexhung , fixed all comments except attribute names. Let's discuss it tomorrow.


i18n(zh-cn): add neon.mdx

Description (required)
add neon.mdx
Related issues & labels (optional)

#9602
Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

zh-cn
guides/backend/neon.mdx
Localization added, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


How to run webhook on port 80 or 443 (https) ?

Hi, I want my webhook to run on port 80/443 (https), not on a random port like 9000 etc.
i have tried it but return permission denied
any idea How to achieve this?
Thanks In Advance...

Ports 1-1023 are by default privileged ports. To bind to a privileged port, a process must be running with root permissions. Ports that are greater than 1023 are by default non-privileged.

Hi @adnanh thank you for the suggestion.
I found a method by using the Apache Reverse Proxy.
However, in Configuration at /etc/apache2/mods-available/proxy.conf it said:

If you want to use apache2 as a forward proxy, uncomment the
# 'ProxyRequests On' line and the <Proxy *> block below.
# WARNING: Be careful to restrict access inside the <Proxy *> block.
# Open proxy servers are dangerous both to your network and to the
# Internet at large.

My Question, What Condition make it dangerous when we're using Reverse Proxy?
Are we safe to use below config (Allow from all)?
ProxyRequests On
<Proxy *>
   Order Deny,Allow
   Deny from all
   Allow from all
</Proxy>


chore: log relay errors only once per app

Now we only log once instead of per subscription which bloats DD

The feedback here is noted, and will be addressed in a PR which aims to separate one-off subscriptions (as both comments refer to code in startSubscription function


Add support for 'dependsOn' for individual matrix jobs

I wanted to follow up on this comment from https://github.com/microsoft/azure-pipelines-yaml/issues/20#issuecomment-431893103.

Hmm, I need to think more about dependsOn. I thought you could "reach into" the matrix and depend on a single resulting job, but if not, then no reason to introduce that here. (In fact, this would likely be implemented as syntactic sugar on top of matrix, so we'd get the exact same level of support.)

I don't see a way to "reach into" the matrix and depend on a single resulting job. If there is a way, I'd love to hear it. If not, adding that syntactic sugar for this would be helpful.
Example pipeline:
stages:
- stage: A
  jobs:
  - job: Build
    strategy:
      matrix:
        Release:
          Configuration: Release
        Debug:
          Configuration: Debug

    steps:
    - script: |
        echo JobName = $(System.JobName)
        echo JobDisplayName = $(System.JobDisplayName)

  - job: Test
    strategy:
      matrix:
        Release:
          Configuration: Release
        Debug:
          Configuration: Debug
    # These 'dependsOn' options give a syntax error.
    # dependsOn: "BuildRelease"
    # dependsOn: "Build Release"
    # dependsOn: "Build.Release"
    # dependsOn: "A Build Release"
    # dependsOn: "Build $(System.JobName)"
    # dependsOn: "Build $(System.JobDisplayName)"

    steps:
    - script: |
        echo JobName = $(System.JobName)
        echo JobDisplayName = $(System.JobDisplayName)

Moved into Developer Community: https://developercommunity.visualstudio.com/idea/1007464/support-for-dependson-for-individual-matrix-jobs.html
Please use "Follow" button on the right to track it

+1 to this. This is an extremely useful feature, esp. when the matrix items are builds donde on different OSs, architectures, etc which can be later tested individually regardless of what happened to the rest.

+1 to this. Our pipelines would benefit in performance if this feature was available.


namespace fix

The reason for the fields error is veevalidate and vuetable-2 both make use of fields, which for whatever reason is not scoped correctly.
Not totally sure this will compile cause my local project has diverged significantly.

And cause I was curious about the root cause- I found this in a vee validate issue:

Unfortunately custom components cannot set its scope from the parent form tag, this is only available for the native HTML inputs since they have a native form attribute which can be inferred to obtain the form tag.

IMO projects should make disclaimers for these then.

@someburner  I appreciate your help. Thanks a lot!


Nessus Ansible Role Will Always Stop Nessus Service

🐛 Bug Report
Whenever a provisioner runs the nessus role the given playbook will always stop the Nessus service on the AWS instance. This would result in unnecessary downtime and delays for scans, as all in progress scans are aborted and any results are discarded if the service is stopped.
"If the Nessus instance restarts or if the service is stopped, all scan jobs will abort and the results will be discarded."
To Reproduce
Perform a Terraform apply that results in a provisioner running the nessus Ansible role.
Expected behavior
The Nessus service should only be stopped if there is no key registered, or if the key registered does not match the key to be used. That way the service is only stopped on initial instance setup or if the key is being changed.

This should be resolved by #239

Excellent work @mcdonnnj - thanks! 🎡


Comment indentation is not kept if preceding an empty block

Describe the bug
When I have the follow YAML:
---
test1:

# Comment
test2:

# Comment2
test3:
  - random_value

To Reproduce
const document = YAML.parseDocument(
  `
---
test1:

# Comment
test2:

# Comment2
test3:
  - random_value
`
)

console.log(document.toString())

It outputs:
---
test1:
 # Comment
test2:
 # Comment2
test3:
  - random_value

Expected behaviour
I would expect the comments to have no indentation, as it is the case in the original document. It looks like an empty block causes that issue. The YAML document seems to be a valid YAML document based on the linting I ran on it.
Versions (please complete the following information):
Environment:

node: v14.18.2
yaml: [2.0.0-11]

This was pretty interesting; should be now fixed on master. Effectively, the problem here is that for an empty node you can't tell that a comment doesn't belong to the node until you've found the actual next node. So there's now some special-casing around this, moving the association of empty (comment/space/newline) nodes after a blank line, if the value is also empty.

@eemeli Thanks for fixing! Is there a new release planned soon including those last commits? Thanks!

Probably not really right away, as I just released 2.0.0-11 a few days ago. Need to figure out what's really still required before I feel comfortable releasing the non-prerelease 2.0.0.


Travis master vrs

Coverage remained the same at 100.0% when pulling a38a2266af37909eb631942238e4c4a13f464bc0 on travis-master-vrs into fa0d6ed9863b87579c5ef87bf46bd0bf0c1e4399 on master.


VSCode main icon not showing (Linux/deb)

Issue Type: Bug
Try to open from the start menu or from anywhere else for that matter. The main visual studio icon isn't present.  Problem started with the latest March update.
VS Code version: Code 1.33.0 (0dd516dd412d42323fc3464531b1c715d51c4c1a, 2019-04-04T15:08:57.775Z)
OS version: Linux x64 4.15.0-46-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz (4 x 2327)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwaresurface_synchronization: enabled_onvideo_decode: unavailable_offwebgl: enabledwebgl2: enabled

Load (avg)
5, 3, 1

Memory (System)
15.44GB (12.56GB free)

Process Argv
--unity-launch

Screen Reader
no

VM
0%

Extensions (14)

Extension
Author (truncated)
Version

vscode-django
bat
0.19.0

vsc-material-theme
Equ
2.8.2

prettier-vscode
esb
1.8.1

python
ms-
2019.3.6352

cpptools
ms-
0.22.1

csharp
ms-
1.18.0

material-icon-theme
PKi
3.7.0

java
red
0.42.1

vscodeintellicode
Vis
1.1.5

vscode-java-debug
vsc
0.17.0

vscode-java-dependency
vsc
0.4.0

vscode-java-pack
vsc
0.6.0

vscode-java-test
vsc
0.15.1

vscode-maven
vsc
0.16.0

Have a look at the start menu and the bottom taskbar:

Seeing the same issue on Ubuntu 18.04.2 LTS:
Screen Shot

Can someone seeing this issue post the output of this?
cat /usr/share/applications/code.desktop
/usr/share/pixmaps | grep visualstudio

[Desktop Entry]
Name=Visual Studio Code
Comment=Code Editing. Redefined.
GenericName=Text Editor
Exec=/usr/share/code/code --unity-launch %F
Icon=com.visualstudio.code
Type=Application
StartupNotify=false
StartupWMClass=Code
Categories=Utility;TextEditor;Development;IDE;
MimeType=text/plain;inode/directory;
Actions=new-empty-window;
Keywords=vscode;

X-Desktop-File-Install-Version=0.23

[Desktop Action new-empty-window]
Name=New Empty Window
Exec=/usr/share/code/code --new-window %F
Icon=com.visualstudio.code

The second command gives an error:
bash: /usr/share/pixmaps: Is a directory

@zaid-khan doh, I meant ls /usr/share/pixmaps | grep visualstudio for the second command

com.visualstudio.code.png
Also, I updated to 1.33.1 and the issue still persists.

Can someone seeing this issue post the output of this?
cat /usr/share/applications/code.desktop
/usr/share/pixmaps | grep visualstudio

$ ls /usr/share/pixmaps | grep visualstudio
com.visualstudio.code.png

This worked for me on several machines:
Modify /usr/share/applications/code.desktop
Change:
Icon=com.visualstudio.code
to
Icon=/usr/share/pixmaps/com.visualstudio.code.png

@machinebiologist it's strange that it works on some machines but not others though, it was reported above that it happens on Ubuntu 18.04 but it definitely doesn't for me 🤔

@machinebiologist it's strange that it works on some machines but not others though, it was reported above that it happens on Ubuntu 18.04 but it definitely doesn't for me thinking

@Tyriar: indeed! I have had it occur on two machines running Ubuntu MATE 18.04. Perhaps it's related to the distribution or the desktop environment?

Strangely, on my other machine running Linux Mint 19.1 xfce, the desktop icon has changed into some generic one but the menu and taskbar (thankfully) retains the correct old one.

@zaid-khan Related behaviour on MATE: the "start menu" showed the proper icon, while the taskbar did not.

The following workaround fixed the issue for me on several machines:
Modify /usr/share/applications/code.desktop
change:
Icon=com.visualstudio.code
to
Icon=/usr/share/pixmaps/com.visualstudio.code.png

Work on Ubuntu 18.04

The work around worked for me as well, but I also got it working without using the work around.
I removing and installing vscode many times with the no luck.  But finally instead of using the dep package from the website, I switched to installing it using the Ubuntu Software's market place.  The icon has now reappeared.
This means the desktop file moves from /usr/share/applications/code.desktop to /var/lib/snapd/desktop/applications/code_code.desktop.

I've made a change to use the exact directory for the deb package, please try the insiders build tomorrow and let me know if you experience any issues https://code.visualstudio.com/insiders/

FYI the plan is to revert this change and make the .desktop executable, see https://github.com/microsoft/vscode/issues/95459


detailed usage?

Your project seems interesting, but lacks details how to use it, can you help?
My guess is

download a collection of .mid files, one-by-one by hand, and run midi2csv on them.
un 'python fully_connected_feed.py' with unknown command-line arguments

From the errors reported, it seems to expect a --train_dir directory (say 'midi') with a 'train' subdirectory. Once you put some .csv files in there, it reports an error about COMPOSERS[os.path.split(dirpath)[-1]]
Thanks!

This project was really meant as just a proof of concept, not something anyone else would necessarily find interesting! You're welcome to play around with it though, and if you want, I'd be happy to accept a pull request for better docs.
I think the error you're getting is related to not having a subdirectory under the midi directory that separates the midi files by composer.

I understand, you don't want it to become a support burden, that's fine :)
Could you give me an example of the command-line argument(s) for fully_connected_feed.py, and where csv midi files go exactly?


crash when clicking multiplayer

this does not happen on the old 1.17 version
https://crashy.net/z67440kG6BMUgmQY1omR

I can confirm this issue

Hi, I'm sorry for responding late.
It should be fixed now in the 1.3 release


The requested resource does not support http method 'GET'

Describe the issue
A clear and concise description of what the issue is.
Code Snippet
Insert the code snippet if any.
Expected behavior
A clear and concise description of what you expected to happen.
Graph SDK (please complete the following information):

Version [e.g. 22]

Call ID
Provide the list call ids that encountered this issue. Include the time in UTC/GMT when these call have occurred.
Logs
If required, please add logs from the SDK. (Please remove any PII from the logs before uploading)
Additional context
Add any other context about the problem here.

when navigating to https://domain.co.uk/calls/callid i get the below
The requested resource does not support http method 'GET'
i can navigate to logs just cal a callid of a call

when navigating to https://domain.co.uk/calls/callid i get the below
The requested resource does not support http method 'GET'
i can navigate to logs just cal a callid of a call

i assume that domain.co.uk is a placeholder for your real domain and callid is also a placeholder for your real call Id but if you don't have  a Controller Endpoint implemented that supports GET requestst for the route /calls/{callId} you will get this issue as resuslt because by default(in every project in this repos) there is a endpoint that accepts DELETE requests to remove the Bot from Calls

i assume that domain.co.uk is a placeholder for your real domain and callid is also a placeholder for your real call Id but if you don't have  a Controller Endpoint implemented that supports GET requestst for the route /calls/{callId} you will get this issue as resuslt because by default(in every project in this repos) there is a endpoint that accepts DELETE requests to remove the Bot from Calls


Remove default license headers and methodPostProcessValidator Bean

Multiple files contain netbeans autogenerated empty license headers, they need to be removed.
Bean validation will occur in JPA Hibernate automatically, remove the validator Bean from PersistenceApplicationContext configuration class and remove @ Valid and @ Validated annotations.

Yes I have also noticed it, I will fix it soon.


Disable file/dispatch-related code in Foundation for WASI

Functionality related to Dispatch, run loops, and full filesystem access (other than stdio/stderr file handles) is not available on WASI/Wasm. As a follow-up to previous Core Foundation PRs, this one updates parts of Foundation to add support for that platform.

@swift-ci please test

@swift-ci please test

Same comments here re: NSCoding.

@swift-ci please test

@millenomi I've re-enabled NSCoding-related code here, it's ready for review

@swift-ci please test

@swift-ci please test macOS platform

@MaxDesiatov I'm looking tomorrow.

@millenomi any updates?

Things slipped a little but I'm finally looking right now >.<'

I'm going to take it for right now, but I hope we can have follow-ups to re-expose write(to…) methods etc. to throw at runtime rather than be a hard compile error on use and force #if os(WASI) on clients. cc @MaxDesiatov

That makes sense, thanks!


Unreliable data import @ poloniex

Ok so I've been backtesting multiple currencies at poloniex. What I've found is that trending data over the course of months to a year on all currencies with high profit percentages are completely different from numbers gathered from watching the market in real time. For instance I watched a coin for the last 48 hours. My half year of backtesting went from 6000% yearly profit to 1000... With just 48 hours of realtime data added to the db. I've come to the conclusion that using the import data from poloniex is totally unreliable and found that creating a method with the real time data requires totally different settings to run profitably

Accidentally hit submit before I was finished. Anyways I just wanted to see if this is an issue for anyone else. Thanks!

works fine just delete db and do a fresh import. closing this issue

Ok great, if you do have think there is weird behaviour between import and live market data do let me know (as well as more detailed information to debug).


Deploy a test server running the latest version of patchew

The idea is: besides the main patchew.org site, we can deploy a mirror that runs slightly newer code (e.g. from a "next" branch) on next.patchew.org; the mirror can then be used to test out changes without impacts to the main service users and projects.
Ideally everything in the main site's DB should be mirrored but the email notification will be limited to subscribers only. What is the best way to implement this is still not clear, though.

I think even a completely new instance (initialized with the old DB data, or with a minimal set of patches just to have something to show) would be enough.

What are tricky to test locally (auto or manual) are the specifical things in the "live" patchew.org. I think they are basically the interactions between importers, testers, the server itself and the SMTP service, with real data. So we may also deploy a copy of "importer", a simple tester that perhaps fails randomly ;-), just to allow the new instance to exercise more code..

[x] next.patchew.org is up,
[ ] auto-deploy every 24 hours or every commit
[ ] add importer to next.patchew.org
[ ] add tester to next.patchew.org


Add optional delay before opening parent dropdown.

data-hover-delay="500" (Milliseconds) inizializes
Default is 0

Cameron, here is a demo of file changes if you want to preview exactly what does.
http://mediaflydesign.com/plugins/bootstrap-hover-dropdown-master/demo.html
I only added new data attribute to the button toolbar


Flutter secure storage not storing data after I closed app IOS

I am having problems storing a token with flutter secure storage!
When I close the app or hot-restart the data gets lost or returns null
Any Suggestions?
-------------------------------------------------------------------- code
class Storage {
final storage = const FlutterSecureStorage();
final String _token = 'token';
Future setToken(String token) async {
const options =
IOSOptions(accessibility: KeychainAccessibility.first_unlock);
await storage.write(key: _token, value: token, iOptions: options);
}
Future<String?> getToken() async {
const options =
IOSOptions(accessibility: KeychainAccessibility.first_unlock);
return await storage.read(key: _token, iOptions: options);
}
}

This will help https://www.youtube.com/watch?v=JogvnnaJ8TI

I'm noticing this in a specific scenario where I log out and log in of my app. So basically, we wipe the stored data, and then store a new token when logging in. After restarting/hot restart;  same behavior as @stefanoHTB described. If I login and store a token after a clean start; there is no issue upon restart.

Hello, if you do getToken a second time, will the value still be null? I encountered a strange behavior that sometimes when I start the application, the value is returned null first time. However, it returns value after a certain amount of time when I try to do getToken again. And only on iOS.

Please follow-up here by reacting to the original post, it is the same issue: https://github.com/mogol/flutter_secure_storage/issues/524

Duplicates #524 ?

Having the same problem.
Did anyone found a solution?

Having this same problem on MacOS. flutter secure storage version 9.0

@codelovercc Same issue on macOS, did not test iOS yet.
How are you all fixing this? I see no solution, at least not with an understandable explanation.
I'm beginning to think this PKG is not working well enough, pity. I will circle back to the issue later. I still need to test it on all platforms.

@rydmike Enable keychain this will help you. I've tested on macOS 12.7.1 (21G920) and Android Simulator API 34, it works.

Thanks @codelovercc for the suggestion. I have tried enabling keychain on both iOS (17.0.1 (21A342) and macOS Version 14.3 (23D56) in all modes debug/profile/release. No luck.
I also tried with synchronizable: set to both to true and false.
    mOptions: MacOsOptions(
      synchronizable: true,
      accessibility: KeychainAccessibility.first_unlock,
    ),
    iOptions: IOSOptions(
      synchronizable: true,
      accessibility: KeychainAccessibility.first_unlock,
    ),

Made no difference, if it was true or false, or if that accessibility: KeychainAccessibility.first_unlock was there or not.
The flutter_secure_storage just always reads blank data when it starts up. While running the app it sets and gets data fine in it. But close the app and start it again, and it is gone.

@rydmike Can you try it in a new flutter project?

Same problem occurring on Windows.

@codelovercc I have tried, and also tried recreating the runner on macos, by deleting it and making a new one.
I have also tried this part with the AppIdentifierPrefix

mentioned here: https://github.com/mogol/flutter_secure_storage
Which is not mentioned in the published readme here btw https://pub.dev/packages/flutter_secure_storage
All in all it did not help either.
I am a bit unsure of it should be the same as "Bundle identifier" in xcode, that is seems to put into Keychain Sharing under Keychain Groups. Xcode did that edit. Then I don't know if that should then also be used in MacOsOptions as groupId. Docs are very unclear on this, but I have tried pretty much every combo I can think of and nothing worked.
This package is a bit frustrating to use, since it seem to be close to impossible to get it to work on all platforms. Any help is of course appreciated, but I may need to come up with some alternative soonish, not urgent yet. Still not sure if there is any other good and reputable option available.

Got it working on macOS. Here is how.
When you are using key-chain-access-groups and Xcode makes one based on your app bundle name e.g. com.domain.app you do need to have this in all your  entitlements debug/profile/release as well:
	<key>keychain-access-groups</key>
	<array>
		<string>$(AppIdentifierPrefix)com.domain.app</string>
	</array>

And I did, but it was still not working.
However, do not use any groupID in your FlutterSecureStorage.mOptions:
    mOptions: MacOsOptions(
      synchronizable: true,
      accessibility: KeychainAccessibility.first_unlock,
    ),

At least for me adding any kind of groupId to MacOsOptions prevented it from working correctly. Removing it solved my issue.
    mOptions: MacOsOptions(
      groupId: 'com.domain.app', // NO NO! Did not matter what I used, any string made it not work.
      synchronizable: true,
      accessibility: KeychainAccessibility.first_unlock,
    ),

At least now it seems to work in my macOS builds as well and that is nice.
Thanks all for your input and help. Got the answer in some example usage and discussion on X/Twitter in case anybody want to dig into that, here it is https://x.com/RydMike/status/1766876648001986614?s=20

I am closing all older issues. If this issue still exists in the latest version, please let me know.


Restart problem

Be sure that autologin is disabled for the application!
Start server and open reactUI -> session starts
login with valid username and password
Restart server
-> Session expired banner appears and click
login appears
try login with valid username but wrong password
-> APPLICATION restarts?
login appears
try login with valid username and wrong password
-> no more problems
looks like a session cache problem if we press the banner?

@rjahn I can't seem to get JVx.mobile not to auto login. The option (Application.Login.autologin) in the application.xml is set to false and I removed the credentials from the config.json

Do you use config.json in your react UI? Please check if there's a username/password?

@rjahn Removing the credentials from the appication.xml seems to have done the trick. I can't really reproduce the described behavior though. The application does restart but after clicking the banner which seems to be intended. If I login with wrong credentials afterwards I just receive an error dialog for a wrong password but no restart occurs.
Would it make sense to update JVx.mobile to the latest version in case this is an issue that just recently got introduced?

The behavior in FF vs. Chrome was a bit different regarding when the error for the exit command failing would be triggered. Since it was unhandled so far it might have caused code not being executed in Chrome. Maybe try if it works now with 076f5df018fdbb79830cabc8c68a9975304a93d4

No more problems.


How to create a denylist like badbits

Hi there!
Sorry if this is not the right place to ask about this.
I have a simple Python-based HTTP proxy created to block incoming request if the CID included in the request is in the badbits denylist  (https://badbits.dwebops.pub/denylist.json).
The problem is that I don't know how to calculate the hash/multihash.
The indications in Badbits to calculate the hash is not enough for me.

The Bad Bits Denylist is a list of hashed CIDs that have been flagged for various reasons (copyright violation, malware, etc). Each entry is the hex-encoded result of applying SHA2_256 to a /<optional_path> string. This format is legacy and we are moving to support double-hashed mulihashes instead.

Please, could you help me with that?
Regards.

The line in the list is the result of sha256sum(<cid_v1>/). Any CIDv0 needs to be converted to CIDv1 and then hashed with a slash at the end.


What to de when DBLP search returns too many results

Try adding first author's name to the search?

Fixed in 3b0ab513fafb22ba49454ba59945e963ef8e5207


Ways to get the output of a certain layer?

Sorry to bother you, I have a question about getting the output of convolution or hidden layers.

I am not very familiar with lasagne/nolearn functions, it seems to me that for a given dataset which I already had a model trained on it, I can get the output of a particular layer by calling function similar to this: predict_proba = output_layer.get_output(X_batch, deterministic=True)
but how to let the network know which layer I want?
I try to count the index of the layer I want to use and do:

layer_i = self.get_all_layers()[3]
for Xb, yb in self.batch_iterator_test(X):
    out.append(layer_i.get_output(Xb,deterministic=True))

However, it give me error float argument required, not TensorVariable
Ideally, I want to write a function similar to predict_proba(self, X) which take X and layer name as input and return the output for that layer.
    def predict_proba(self, X):
        probas = []
        for Xb, yb in self.batch_iterator_test(X):
            probas.append(self.predict_iter_(Xb))
        return np.vstack(probas)

Another similar question is how to get the parameters of a convolution layer, the dataset I am working on is 1 dimensional data, however, using one layer of convolution significantly improved the performance, I would like to see how original features are interacted in the convolution layer.

Thanks in advance:)

Regarding your first question: there's an open pull request that adds a transform method that'll get you the output of a layer other than the output layer: #89.
Regarding getting the parameters of a conv layer:  Once you get hold of a layer, (use nn.layers_['<layername>']) you can call its get_params method, which will return a list of Theano shared variables, which have a get_value method.


bpf documentation updates, part 5

This concludes the initial version of the BPF / XDP ref guide writeup.
Fixes: #713

test-docs-please

test-docs-please

test-docs-please

test-docs-please

test-docs-please

test-docs-please

test-docs-please

test-docs-please

test-docs-please

test-docs-please

Thanks @joestringer for the awesome reviews, very much appreciated! I've addressed them, and am merging this in a bit for getting this deployed asap to have full doc coverage from the ref guide. Discussed previously with @aanm that we're using sort -ud for the spellcheck list going forward which this is doing here.


Deprecate ButtonBar, ButtonBarThemeData, and ThemeData.buttonBarTheme

fixes Deprecate ButtonBar
Code sample

expand to view the code sample
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        buttonBarTheme: const ButtonBarThemeData(
          alignment: MainAxisAlignment.spaceEvenly,
        ),
      ),
      home: Scaffold(
        body: ButtonBar(
          alignment: MainAxisAlignment.spaceEvenly,
          children: <Widget>[
            TextButton(
              onPressed: () {},
              child: const Text('Button 1'),
            ),
            TextButton(
              onPressed: () {},
              child: const Text('Button 2'),
            ),
            TextButton(
              onPressed: () {},
              child: const Text('Button 3'),
            ),
          ],
        ),
      ),
    );
  }
}

Data driven fix
Before executing dart fix --apply
  return MaterialApp(
      theme: ThemeData(
        buttonBarTheme: const ButtonBarThemeData(
          alignment: MainAxisAlignment.spaceEvenly,
        ),
      ),
      home: Scaffold(
        body: ButtonBar(
          alignment: MainAxisAlignment.spaceEvenly,
          children: <Widget>[
            TextButton(
              onPressed: () {},
              child: const Text('Button 1'),
            ),
            TextButton(
              onPressed: () {},
              child: const Text('Button 2'),
            ),
            TextButton(
              onPressed: () {},
              child: const Text('Button 3'),
            ),
          ],
        ),
      ),
    );

After executing dart fix --apply
    return MaterialApp(
      theme: ThemeData(

      ),
      home: Scaffold(
        body: OverflowBar(
          alignment: MainAxisAlignment.spaceEvenly,
          children: <Widget>[
            TextButton(
              onPressed: () {},
              child: const Text('Button 1'),
            ),
            TextButton(
              onPressed: () {},
              child: const Text('Button 2'),
            ),
            TextButton(
              onPressed: () {},
              child: const Text('Button 3'),
            ),
          ],
        ),
      ),
    );

Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] I followed the breaking change policy and added Data Driven Fixes where supported.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@Piinks
If you agree, I can update this PR to use OverflowBar as the underlying widget for ButtonBar and update migration guide  on Flutter website repo to only deprecate unused ButtonBarTheme properties.

Thank Taha for considering the keep-it path and the additional context. We discussed a bit more offline and it makes more sense to deprecate this. 👍  Just wanted to be extra considerate before we did so.


Filtering automation logs and adding consistent prefix to the error logs

Description

filtered the logs to be rendered in the spec PR comment
added the consistent prefix for the error logs

Screenshot of the testing PR
https://github.com/test-repo-billy/azure-rest-api-specs/pull/3391#issuecomment-2202365833

/check-enforcer override


Align terminology and concepts with 06 draft?

Having reviewed current pages and the current IETF draft (-06), it seems a lot of the terms and maybe key architectural elements have changed enough where the website is out of alignment. Is it time to review and align the site with this draft? Wait for -07 and last call and final adoption?

Yes, definitely, thanks @aj-stein-nist . Although, I'd also say we should now target the pending 07, based on what's in https://github.com/ietf-wg-scitt/draft-ietf-scitt-architecture/


Logframe: Levels with no indicators don't appear in the logframe.

I'm opening this ticket jus so it doesn't get lost in the Slack conversation.  It's possible that this is intended behavior.
When a level doesn't have any associated indicators, it doesn't appear at all in the logframe.

@jennyhavah Is this the intended behavior?

@sanjuroj No, this is not the intended behavior for the logframe.* The logframe should include all RF levels, regardless of whether or not there are indicators associated with them.
*It IS the intended behavior for the IPTT.

Ok, thanks, I'll start working in it then.

@sanjuroj To test this, I created a brand new results framework for a program still using the old levels. I created one of each tier and linked no indicators to any of them.
When I go to the logframe page, I would expect to see all the tiers, even though there are no indicators linked to any of them. But right now I'm not seeing any tiers: https://tola-activity-qa.mercycorps.org/program/455/logframe/?groupby=1
If I switch the program settings to "Group by results framework", I do see the levels. But... I don't see any reason not to also show them if you don't have that box checked. Teams will create RFs while still using the old levels.

Note that reasons this didn't pass review before may no longer be valid given the updated spec in #1315.

PASSED.
As per changes to #1315, we are no longer providing access to the logframe when programs are still using the old levels. So the issue I reported earlier is no longer relevant.
For programs using the RF to group indicators, I am consistently seeing RF levels in the Logframe, even when they have no indicators linked to them.


Development- DOCUMENTATION ACCOMPLISHED

As bittersweet as it sounds... This Official First Version of our app seems COMPLETE
GREAT JOB!
You're awesome =)
ATTENTION
This PR will not impair Production nor alter it and therefore there's no need for update on Deployed
This PR is only related to enhancing DOCUMENTATION specifically the README.md file
If you agree... please authorize MERGE to MAIN
Thank you

And... DONE!
Thank you for being a fantastic pair programming partner Gabby!


Not all tests registers if pytest-xdist is used

If pytest-xdist is used to parallelize tasks, first test in each process doesn't register in zebrunner for some reason.

Fixed


Protractor not running in Chrome browser, only Firefox

I need a help please.
I'm trying to run my tests and is occurring this error, If i change the browser to firefox it's run normally.
My tests was running at last week.
I already updated all tools but the error continue, only in chrome using directConnect, but if a use the local server, the same error occur. Could help me? Thanks!!
Bug report

Node Version: 12.9.0
Protractor Version: 5.4.2
Angular Version: 6.0
Browser(s): 77.3865.120
Operating System and Version Win 10 x64
Your protractor configuration file--------------------------------------------------------------

//------ PARÂMETROS
var date = new Date();
var Jasmine2HtmlCliReporter = require('protractor-jasmine2-html-cli-reporter');
var CONSTANTES = require('./constantes.js');
var estoria = 'Testes Regressão';                                                                                // <----- alterar a cada teste
var diretorio = '../../Evidencias/' + estoria + '/' + date.getFullYear() + ( date.getMonth() + 1 ) + date.getDate() + date.getHours() + date.getMinutes() + '/';
//------ CONFIGURAÇÕES
exports.config = {
allScriptsTimeout: 90000,
specs: [CONSTANTES.DIR_CHECKLIST_ELETRONICO_F1 + '*.js' ],
framework: 'jasmine2',
jasmineNodeOpts: {
    showColors: true,
    defaultTimeoutInterval: 300000
},
capabilities: {
    browserName: 'chrome',

},

//------ CONFIG PRÉ TESTE
onPrepare: function() {
    browser.manage().window().maximize();
    jasmine.getEnv().addReporter(new Jasmine2HtmlCliReporter({
        savePath: diretorio,
        screenshotsFolder: 'image'
        })
    );

}//end onPrepare

}

A relevant example test
Anyone

Output from running the test ----------------------------------------------------------------

C:\workspace\transformation-automationtest\E9404 - Service Transformation>protractor protractor.config.js
[13:27:57] I/launcher - Running 1 instances of WebDriver
[13:27:57] I/direct - Using ChromeDriver directly...
[13:27:59] E/launcher - Server terminated early with status<PHONE_NUMBER>
[13:27:59] E/launcher - Error: Server terminated early with status<PHONE_NUMBER>
at C:\Users\aleandr1\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\remote\index.js:252:52
at processTicksAndRejections (internal/process/task_queues.js:85:5)
From: Task: WebDriver.createSession()
at Function.createSession (C:\Users\aleandr1\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver.js:769:24)
at Function.createSession (C:\Users\aleandr1\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\chrome.js:761:15)
at Direct.getNewDriver (C:\Users\aleandr1\AppData\Roaming\npm\node_modules\protractor\built\driverProviders\direct.js:77:33)
at Runner.createBrowser (C:\Users\aleandr1\AppData\Roaming\npm\node_modules\protractor\built\runner.js:195:43)
at C:\Users\aleandr1\AppData\Roaming\npm\node_modules\protractor\built\runner.js:339:29
at _fulfilled (C:\Users\aleandr1\AppData\Roaming\npm\node_modules\protractor\node_modules\q\q.js:834:54)
at C:\Users\aleandr1\AppData\Roaming\npm\node_modules\protractor\node_modules\q\q.js:863:30
at Promise.promise.promiseDispatch (C:\Users\aleandr1\AppData\Roaming\npm\node_modules\protractor\node_modules\q\q.js:796:13)
at C:\Users\aleandr1\AppData\Roaming\npm\node_modules\protractor\node_modules\q\q.js:556:49
at runSingle (C:\Users\aleandr1\AppData\Roaming\npm\node_modules\protractor\node_modules\q\q.js:137:13)
[13:27:59] E/launcher - Process exited with error code 199

This is related to angular/webdriver-manager#420

I found the problem in my case.
I had installed ANSICON 1.31 to showning coloured output in CMD, I don't know why it was cousing a problem to webdriver.
I just delete the ansicon files and the problem was solved.
Thanks for help.


Support missing author.email in Azure DevOps commits

My dependabot script targeting an Azure DevOps repo is currently failing to create a PR due to a commit that does not contain the author.email field as below.
I don't have permissions to delete the branch containing the commit, but will continue my spike with a new repo.
This is a great product, but I've found very few resources on getting up to speed with Azure DevOps and Azure Artifacts. Keep up the good work.
- commitId: fc83...4452
  author:
    name: Project Collection Build Service (***)
    date: '2019-07-11T12:11:52Z'
  committer:
    name: Project Collection Build Service (***)
    date: '2019-07-11T12:11:52Z'
  comment: Bump ***.Core from 1.1.19144.1 to 1.1.19191.1
  commentTruncated: true
  changeCounts:
    Add: 0
    Edit: 1
    Delete: 0
  url: https://dev.azure.com/***/fd90...e97b/_apis/git/repositories/b125...b47d/commits/fc83...4452
  remoteUrl: https://dev.azure.com/***/***/_git/nugetspike/commit/fc83...4452

I'm getting the same problem in further repos. I'm currently trying to determine how to add an email to the author when dependabot creates the commit.

You need to add author_details when creating the PullRequestCreator. The relevant class is here.
More generally, if you support using Dependabot Script please open an issue there.

Thanks @greysteil, that's pretty much where I am now. It doesn't look like the author_details is being cascaded to create_commit in clients/azure.rb via pull_request_creator/azure.rb


Add a fallback for Pages to behave as in pre-1.3

The names in Pages in a @bibliography block can now again be relative to the docs/src directory, which was the 1.2.x behavior. A warning will be emitted that these should be updated.
This PR also extends the "upgrade instructions" for the 1.3.0 release in NEWS.md (which should have been in the original release)
Closes #59

@kellertuer Does this fallback and the new NEWS.md help?

Nice, makes the switch smoother :)

I'm going to release this immediately as 1.3.1, since it modifies behavior.
Other "cleanup" from the 1.3.0, such as additional warnings, are less critical, and will be released as 1.3.2 later on.


feat: Add forecast

Description
Adding a forecast line to LineChart (and AreaChart).
New properties:

forecastCategories that works like categories but for the forecast datas (Allows different label than default datas). It can also have multiple forecast lines for one data by passing an array of categories

  forecastCategories: ["Sales Forecast", "Successful Payments Forecast"] //for single forecast line by category

  forecastCategories: [["Sales Forecast Max", "Sales Forecast Min"], ["Successful Payments Forecast Max", "Successful Payments Forecast Min"]] //for two forecast lines by category

forecastLineStyle that allow you to change the style for the forecast line (solid, dashed, dotted)

Related issue(s)
#572

What kind of change does this PR introduce? (check at least one)

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New Feature (non-breaking change which adds functionality)
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
How has This been tested?
Using StoryBook

Screenshots (if appropriate):

The PR fulfills these requirements:

[x] It's submitted to the main branch
[x] When resolving a specific issue, it's referenced in the related issue section above
[x] My change requires a change to the documentation. (Managed by Tremor Team)
[ ] I have added tests to cover my changes
[x] Check the "Allow edits from maintainers" option while creating your PR.
[x] Add refs #XXX or fixes #XXX to the related issue section if your PR refers to or fixes an issue.

@severinlandolt any plans of adding this into the coming releases?

Any update on this PR? ANy plan to merge ?

Any plans to add this?


Next page button not working

When i click the button to switch to another page with the other icons, it just does nothing and its not switching pages. Any idea why?

+1 I have the same issue. It can be reproduced when showCategory={false} or showSearch={false}
it looks like the issue here in this code: https://github.com/fontIconPicker/react-fonticonpicker/blob/master/src/js/components/FontIconPicker.jsx#L110


gitlab integration?

The cookbook shows how to connect to a lookml github project.
Would it be possible to connect to to a gitlab project?

nvrmnd! Found it! :P


Defect: linking error with event post inside associate

[X] I am reporting a bug others will be able to reproduce and not asking a question or requesting a new feature.

System information including:

OpenCoarrays Version: 2.6.1-14-gb480f1d
Fortran Compiler: gfortran 9.0.1 20190318
C compiler used for building lib: gcc 9.0.1 20190318
Installation method: ./install.sh
All flags & options passed to the installer: (none)
Output of uname -a: Linux Sourcery-Institute-VM 4.15.0-46-generic #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
MPI library being used: MPICH 3.2
Machine architecture and number of physical cores: 4
Version of CMake: 3.13.4

To help us debug your issue please explain:
Compile and link a program that executes event post inside an associate block.
What happened (include command output, screenshots, logs, etc.)
Linking error.
What you expected to happen
I expected the linker to produce an executable program a.out.
Step-by-step reproduction instructions to reproduce the error/bug
$cat link-error.f90
module link_error
contains
  subroutine post_event_in_associate
    use iso_fortran_env
    type(event_type), save :: e[*]
    associate( i => 1 )
      event post(e[1])
    end associate
  end
end module
end
$caf link-error.f90
/tmp/ccApG6rc.o: In function `_caf_init.1.3907':
link-error.f90:(.text+0x4d): undefined reference to `caf_token.0.3905'
/tmp/ccApG6rc.o: In function `__link_error_MOD_post_event_in_associate':
link-error.f90:(.text+0x8b): undefined reference to `caf_token.0.3905'
collect2: error: ld returned 1 exit status
Error: comand:
   `/home/rouson/Builds/opt/gnu/9.0.1/bin/gfortran -I/home/rouson/Desktop/Builds/opt/opencoarrays/2.6.1/gnu/9.0.1/include/OpenCoarrays-2.6.1_GNU-9.0.1 -fcoarray=lib -Wl,-rpath -Wl,/home/rouson/Builds/opt/mpich/3.2/gnu/9.0.1/lib -Wl,--enable-new-dtags -L/home/rouson/Desktop/Builds/opt/mpich/3.2/gnu/9.0.1/lib link-error.f90 /home/rouson/Desktop/Builds/opt/opencoarrays/2.6.1/gnu/9.0.1/lib/libcaf_mpi.a /home/rouson/Builds/opt/mpich/3.2/gnu/9.0.1/lib/libmpifort.so /home/rouson/Builds/opt/mpich/3.2/gnu/9.0.1/lib/libmpi.so`
failed to compile.

The linking  problem goes away if the use statement and type(event_type) declaration are moved to just after the associate statement and wrapped in block/end block.

I suspect this is a gfortran error. I just submitted it to the gfortran developers as Bug report 90133 and via email 2019-04/00091.


Added "scx_bpfland" to the scx module.

:fish: What?
Added an "scx_bpfland" type to the scx module.
:fishing_pole_and_fish: Why?
(3) Fixes error:
A definition for option chaotic.scx.scheduler' is not of type one of "scx_central", "scx_flatcg", "scx_lavd", "scx_layered", "scx_nest", "scx_pair", "scx_qmap", "scx_rlfifo", "scx_rustland", "scx_rusty", "scx_simple", "scx_userland"'.

I like chocolate cake.

Maybe that was too hasty.   So that didn't work.  I only added one line ha...  Is there somewhere else I need to be looking?


WIP: Adding Login via Meetup

Added Meetup oAuth provider, DRYed up oAuth path functions, Got rid of Ruby Syntax checker warnings in user model
TODO: Handle not getting a proper email address from Meetup
Addresses #74

Branch can now get an email address from the user and confirm it by sending a link to that provided address.
Some remaining TODOs:

Think of what to do if a user enters an email address that is already associated with a user (anybody have thoughts on that?)
Add a little more test coverage
Maybe provide a way for the recipient to contest the confirmation.

@wbushey awesome work this weekend! I have been hanging out with my sick kid so it's been great to see these features rolling in. Particularly email confirmation, which is vital to Twitter login as well.
For todos:
#1: I think we can worry about this in the future, I think we are good for now.
#2: Always good, but could be future PRs, have not fully reviewed yet
#3: Good idea as well, I think worth consideration in the future as usage grows.

Thanks @pete2786, and that sounds good. I realized there is one other, I think real todo: the DB migration should set all existing users to have email_confirmed = true.

OK, I've added the migration to set email_confirmed = true for all existing users.

Tested things out locally here, looking pretty good. One thing I'd like to think about is getting rid of the user_id in the route. Couple improvements that we could make.

Do not allow that action to load if the user already has an email confirmed
Add a guid/uid to our user table, use that as the identifier for these actions OR POST to this action somehow and do not allow GET (haven't thought this through fully)
Not needed in this PR, but I realized we need a default image if the provider doesn't give us one
The sign in modal got a little messy with the new provider, going to have to make some tweaks there

Great work overall, very cool features.

Hi @pete2786, are any of the things you mentioned earlier blockers for this PR? I'd really like to see this Meetup login running on coeventer.com in time for the beginning of Geo:Code 2016 registration, which is going to start next week.

@wbushey The only issue I see as blocking is the second bullet point "Add a guid/uid to our user table, use that as the identifier for these actions OR POST to this action somehow and do not allow GET (haven't thought this through fully)". Right now, someone could 'discover' a user as the only thing needed to get to this view is the user id (browsing directly to /set_email/[:id] for any user. Let me give it a minute of thought tonight, we could merge and the immediately fix this issue too if this is urgent.

I see what you're saying; there's currently no protection on set_email. A couple of things worth noting:

set_email is following the same convention as edit: both are namespaced under /user/{user_id}/ . The big difference is that edit checks that the current user is authorized to view/edit the page, while set_email does not. I think I ended up here because I changed current_user to search within the email_confirmed scope, since now we want only users with confirmed email addresses to be able to do the things that any logged in user use to be able to do. In retrospect, changing current_user was probably the wrong thing to do; perhaps the Ability model should check for confirmed email instead.
the user table already has a uid field, and that is currently being set to be the uid provided by oAuth upon creation, both in master and in this PR. I'm pretty sure ProviderUser.uid took on the former purpose of User.uid use to be, but I'm not 100% certain.

By uid I just mean a token or something that is not guessable.

I think we have an easier solution here before going overkill with security. I think we can just render a view that you cannot get to unless you have just tried to sign in with an unconfirmed user. We can get this ready to roll.

I think we have an easier solution here before going overkill with security. I think we can just render a view that you cannot get to unless you have just tried to sign in with an unconfirmed user. We can get this ready to roll.

Have a potential solution working locally here, I'll push it tomorrow after I test.

Have a potential solution working locally here, I'll push it tomorrow after I test.

I merged this and added my changes to master in this commit, it's deployed, give it a try:
https://github.com/campuscodefest/ccf/commit/267a0337ef4c0af185fd43b7f0567a130db5e442

:thumbsup:


Add custom printer feature

Codecov Report

Merging #28 (278a5d4) into master (c9a7eae) will decrease coverage by 1.42%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##            master      #28      +/-   ##
===========================================
- Coverage   100.00%   98.57%   -1.43%
===========================================
  Files            6        6
  Lines          351      351
===========================================
- Hits           351      346       -5
- Misses           0        5       +5

Impacted Files
Coverage Δ

src/watchpoints/watch.py
100.00% <100.00%> (ø)

src/watchpoints/watch_print.py
100.00% <100.00%> (ø)

src/watchpoints/util.py
91.11% <0.00%> (-8.89%)
:arrow_down:

src/watchpoints/ast_monkey.py
94.73% <0.00%> (-5.27%)
:arrow_down:

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 c9a7eae...278a5d4. Read the comment docs.


On page refresh style reverts back to dark mode

This happens even if the page automatically refreshes due to changes in the address space.
Steps to reproduce:

Launch VV osc test server and load any json
Open webpage for control
Set webpage to light mode
Click 'Sent Path Changed' button in osc test server interface
Observe that webpage has been reset to dark mode on refresh

So this is tricky, because there's nothing stored server side that maintains the state of the page style. The only thing we can do is set a cookie in the browser, and then, on page reload, check the cookie to see if light mode should be used, and change the style. This will have the unfortunate effect of making the page "pop" from dark mode to light mode on refresh. However, it's the only way to avoid requiring the server to server dynamic html.

Implemented by c59d9d1, the user's cookie now stores the style preference.


Can we have a changelog

It would be useful if you could create a changelog for when you version up.
This is so we can see what changes have been made and if it will affect our projects.
For example Picasso provides a changelog to keep us up to date
https://github.com/square/picasso/blob/master/CHANGELOG.md

Ok. I'll add CHANGELOG.md when I version up next.

Fixed with #18

Thank you!