text1
stringlengths
0
536k
text2
stringlengths
0
536k
label
int64
0
1
<p dir="auto">Users are confused by this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" if not index._verify_integrity(): dups = index.get_duplicates() err_msg = 'Tried columns 1-X as index but found duplicates %s' raise Exception(err_msg % str(dups))"><pre class="notranslate"><code class="notranslate"> if not index._verify_integrity(): dups = index.get_duplicates() err_msg = 'Tried columns 1-X as index but found duplicates %s' raise Exception(err_msg % str(dups)) </code></pre></div> <p dir="auto">this was added as I recall to give a somewhat better error message when INFERENCE (fewer column labels than columns of data) but this error message is also getting raised when there are duplicates in an explicitly specified <code class="notranslate">index_col</code></p> <p dir="auto">see: <a href="http://stackoverflow.com/questions/9556892/pandas-dataframe-desired-index-has-duplicate-values" rel="nofollow">http://stackoverflow.com/questions/9556892/pandas-dataframe-desired-index-has-duplicate-values</a></p>
<p dir="auto"><code class="notranslate">tslib.get_value_box</code> seems out of place. The only place it is used is in <code class="notranslate">base.index</code>. Meanwhile <code class="notranslate">_libs.index.get_value_at</code> looks very similar but is never used. (It also looks similar to a chunk of code in <code class="notranslate">IndexEngine.get_value</code></p> <p dir="auto">Is it possible that <code class="notranslate">index.get_value_at</code> was intended to replace <code class="notranslate">tslib.get_value_box</code>?</p>
0
<h1 dir="auto"><g-emoji class="g-emoji" alias="rocket" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f680.png">🚀</g-emoji> Feature request</h1> <p dir="auto">Pytorch supports mimicking quantization errors while training the models.<br> Here is the <a href="https://pytorch.org/tutorials/recipes/quantization.html#quantization-aware-training" rel="nofollow">tutorial</a> on this. For our NLP transformers, it requires a "fake quantization" operation to be done on the embeddings. I found this <a href="https://github.com/IntelLabs/nlp-architect/blob/0f00215dcaf81f8a9b296035834310d77015f085/nlp_architect/models/transformers/quantized_bert.py">repository</a> converting BERT to support this.</p> <h2 dir="auto">Motivation</h2> <p dir="auto">I think quantization aware fine-tuning (if it works) will help a lot of use-cases where dynamic quantization alone doesn't suffice in maintaining the performance of the quantized model. Supporting it out of the box will remove the duplication of model code in end use cases.</p> <h2 dir="auto">Your contribution</h2> <p dir="auto">I can work on this ASAP. Would appreciate initial thoughts on what a the MVP for it would be, any thoughts on the API (should we take in a "qat" boolean in config?), any pitfalls that I should be aware of, etc.</p>
<h2 dir="auto">Environment info</h2> <ul dir="auto"> <li><code class="notranslate">transformers</code> version: 4.17.0.dev0</li> <li>Platform: Linux-5.13.0-27-generic-x86_64-with-glibc2.10</li> <li>Python version: 3.8.0</li> <li>PyTorch version (GPU?): 1.10.1 (True)</li> <li>Tensorflow version (GPU?): not installed (NA)</li> <li>Flax version (CPU?/GPU?/TPU?): not installed (NA)</li> <li>Jax version: not installed</li> <li>JaxLib version: not installed</li> <li>Using GPU in script?: yes</li> <li>Using distributed or parallel set-up in script?: yes (deepspeed)</li> <li>Note: I installed DeepSpeed from source</li> </ul> <h3 dir="auto">Who can help</h3> <p dir="auto">Models:<br> (I'm actually trying to use T0pp but T5 is close enough)</p> <ul dir="auto"> <li>T5, BART, Marian, Pegasus, EncoderDecoder: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/patrickvonplaten/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/patrickvonplaten">@patrickvonplaten</a></li> </ul> <p dir="auto">Library:</p> <ul dir="auto"> <li>Deepspeed: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/stas00/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/stas00">@stas00</a></li> <li>Text generation: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/patrickvonplaten/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/patrickvonplaten">@patrickvonplaten</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Narsil/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Narsil">@Narsil</a></li> </ul> <h2 dir="auto">Information</h2> <p dir="auto">Model I am using (Bert, XLNet ...): T0pp / T0_3B</p> <p dir="auto">The problem arises when using:</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> the official example scripts: (give details below)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> my own modified scripts: (give details below)</li> </ul> <p dir="auto">The tasks I am working on is:</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> an official GLUE/SQUaD task: (give the name)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> my own task or dataset: (give details below)</li> </ul> <h2 dir="auto">To reproduce</h2> <p dir="auto">I want to load T0pp across 2 24GB GPUs and only run inference. I know Deepspeed wit zeRO stage 3 is the way to go for this from reading documentation. I am following the HuggingFace example <a href="https://huggingface.co/docs/transformers/v4.16.1/en/main_classes/deepspeed#deepspeed-non-trainer-integration" rel="nofollow">here</a> to use Deepspeed without a <code class="notranslate">Trainer</code> object.</p> <p dir="auto">The error I get is</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[2022-01-28 18:36:41,193] [INFO] [partition_parameters.py:456:__exit__] finished initializing model with 2.85B parameters Traceback (most recent call last): File &quot;multi_gpu_T0pp.py&quot;, line 26, in &lt;module&gt; engine = deepspeed.initialize(model=model, config_params=ds_config) AttributeError: module 'transformers.deepspeed' has no attribute 'initialize'"><pre class="notranslate"><code class="notranslate">[2022-01-28 18:36:41,193] [INFO] [partition_parameters.py:456:__exit__] finished initializing model with 2.85B parameters Traceback (most recent call last): File "multi_gpu_T0pp.py", line 26, in &lt;module&gt; engine = deepspeed.initialize(model=model, config_params=ds_config) AttributeError: module 'transformers.deepspeed' has no attribute 'initialize' </code></pre></div> <p dir="auto">My code:</p> <p dir="auto">Run with <code class="notranslate">CUDA_VISIBLE_DEVICES="0,1" deepspeed &lt;script.py&gt;</code></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&quot;&quot;&quot; Example code to load a PyTorch model across GPUs &quot;&quot;&quot; from transformers import AutoTokenizer, AutoModelForSeq2SeqLM from transformers.deepspeed import HfDeepSpeedConfig from transformers import deepspeed import pandas as pd import torch import pdb import os seed = 42 torch.manual_seed(seed) ds_config = { &quot;fp16&quot;: { &quot;enabled&quot;: &quot;auto&quot;, &quot;loss_scale&quot;: 0, &quot;loss_scale_window&quot;: 1000, &quot;initial_scale_power&quot;: 16, &quot;hysteresis&quot;: 2, &quot;min_loss_scale&quot;: 1 }, &quot;zero_optimization&quot;: { &quot;stage&quot;: 3, &quot;overlap_comm&quot;: true, &quot;contiguous_gradients&quot;: true, &quot;sub_group_size&quot;: 1e9, &quot;reduce_bucket_size&quot;: &quot;auto&quot;, &quot;stage3_prefetch_bucket_size&quot;: &quot;auto&quot;, &quot;stage3_param_persistence_threshold&quot;: &quot;auto&quot;, &quot;stage3_max_live_parameters&quot;: 1e9, &quot;stage3_max_reuse_distance&quot;: 1e9, &quot;stage3_gather_fp16_weights_on_model_save&quot;: true }, &quot;gradient_accumulation_steps&quot;: 1, &quot;gradient_clipping&quot;: 0, &quot;steps_per_print&quot;: 2000, &quot;train_batch_size&quot;: 2, &quot;train_micro_batch_size_per_gpu&quot;: 1, &quot;wall_clock_breakdown&quot;: false } if __name__ == &quot;__main__&quot;: # must run before instantiating the model # ds_config is deepspeed config object or path to the file dschf = HfDeepSpeedConfig(ds_config) # keep this object alive model_name = &quot;bigscience/T0_3B&quot; tokenizer = AutoTokenizer.from_pretrained(model_name) model = AutoModelForSeq2SeqLM.from_pretrained(model_name) engine = deepspeed.initialize(model=model, config_params=ds_config) inputs = tokenizer.encode( &quot;Is this review positive or negative? Review: this is the best cast iron skillet you will ever buy&quot;, return_tensors=&quot;pt&quot;) outputs = model.generate(inputs) print(tokenizer.decode(outputs[0]))"><pre class="notranslate"><span class="pl-s">"""</span> <span class="pl-s">Example code to load a PyTorch model across GPUs</span> <span class="pl-s">"""</span> <span class="pl-k">from</span> <span class="pl-s1">transformers</span> <span class="pl-k">import</span> <span class="pl-v">AutoTokenizer</span>, <span class="pl-v">AutoModelForSeq2SeqLM</span> <span class="pl-k">from</span> <span class="pl-s1">transformers</span>.<span class="pl-s1">deepspeed</span> <span class="pl-k">import</span> <span class="pl-v">HfDeepSpeedConfig</span> <span class="pl-k">from</span> <span class="pl-s1">transformers</span> <span class="pl-k">import</span> <span class="pl-s1">deepspeed</span> <span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span> <span class="pl-k">import</span> <span class="pl-s1">torch</span> <span class="pl-k">import</span> <span class="pl-s1">pdb</span> <span class="pl-k">import</span> <span class="pl-s1">os</span> <span class="pl-s1">seed</span> <span class="pl-c1">=</span> <span class="pl-c1">42</span> <span class="pl-s1">torch</span>.<span class="pl-en">manual_seed</span>(<span class="pl-s1">seed</span>) <span class="pl-s1">ds_config</span> <span class="pl-c1">=</span> { <span class="pl-s">"fp16"</span>: { <span class="pl-s">"enabled"</span>: <span class="pl-s">"auto"</span>, <span class="pl-s">"loss_scale"</span>: <span class="pl-c1">0</span>, <span class="pl-s">"loss_scale_window"</span>: <span class="pl-c1">1000</span>, <span class="pl-s">"initial_scale_power"</span>: <span class="pl-c1">16</span>, <span class="pl-s">"hysteresis"</span>: <span class="pl-c1">2</span>, <span class="pl-s">"min_loss_scale"</span>: <span class="pl-c1">1</span> }, <span class="pl-s">"zero_optimization"</span>: { <span class="pl-s">"stage"</span>: <span class="pl-c1">3</span>, <span class="pl-s">"overlap_comm"</span>: <span class="pl-s1">true</span>, <span class="pl-s">"contiguous_gradients"</span>: <span class="pl-s1">true</span>, <span class="pl-s">"sub_group_size"</span>: <span class="pl-c1">1e9</span>, <span class="pl-s">"reduce_bucket_size"</span>: <span class="pl-s">"auto"</span>, <span class="pl-s">"stage3_prefetch_bucket_size"</span>: <span class="pl-s">"auto"</span>, <span class="pl-s">"stage3_param_persistence_threshold"</span>: <span class="pl-s">"auto"</span>, <span class="pl-s">"stage3_max_live_parameters"</span>: <span class="pl-c1">1e9</span>, <span class="pl-s">"stage3_max_reuse_distance"</span>: <span class="pl-c1">1e9</span>, <span class="pl-s">"stage3_gather_fp16_weights_on_model_save"</span>: <span class="pl-s1">true</span> }, <span class="pl-s">"gradient_accumulation_steps"</span>: <span class="pl-c1">1</span>, <span class="pl-s">"gradient_clipping"</span>: <span class="pl-c1">0</span>, <span class="pl-s">"steps_per_print"</span>: <span class="pl-c1">2000</span>, <span class="pl-s">"train_batch_size"</span>: <span class="pl-c1">2</span>, <span class="pl-s">"train_micro_batch_size_per_gpu"</span>: <span class="pl-c1">1</span>, <span class="pl-s">"wall_clock_breakdown"</span>: <span class="pl-s1">false</span> } <span class="pl-k">if</span> <span class="pl-s1">__name__</span> <span class="pl-c1">==</span> <span class="pl-s">"__main__"</span>: <span class="pl-c"># must run before instantiating the model</span> <span class="pl-c"># ds_config is deepspeed config object or path to the file</span> <span class="pl-s1">dschf</span> <span class="pl-c1">=</span> <span class="pl-v">HfDeepSpeedConfig</span>(<span class="pl-s1">ds_config</span>) <span class="pl-c"># keep this object alive</span> <span class="pl-s1">model_name</span> <span class="pl-c1">=</span> <span class="pl-s">"bigscience/T0_3B"</span> <span class="pl-s1">tokenizer</span> <span class="pl-c1">=</span> <span class="pl-v">AutoTokenizer</span>.<span class="pl-en">from_pretrained</span>(<span class="pl-s1">model_name</span>) <span class="pl-s1">model</span> <span class="pl-c1">=</span> <span class="pl-v">AutoModelForSeq2SeqLM</span>.<span class="pl-en">from_pretrained</span>(<span class="pl-s1">model_name</span>) <span class="pl-s1">engine</span> <span class="pl-c1">=</span> <span class="pl-s1">deepspeed</span>.<span class="pl-en">initialize</span>(<span class="pl-s1">model</span><span class="pl-c1">=</span><span class="pl-s1">model</span>, <span class="pl-s1">config_params</span><span class="pl-c1">=</span><span class="pl-s1">ds_config</span>) <span class="pl-s1">inputs</span> <span class="pl-c1">=</span> <span class="pl-s1">tokenizer</span>.<span class="pl-en">encode</span>( <span class="pl-s">"Is this review positive or negative? Review: this is the best cast iron skillet you will ever buy"</span>, <span class="pl-s1">return_tensors</span><span class="pl-c1">=</span><span class="pl-s">"pt"</span>) <span class="pl-s1">outputs</span> <span class="pl-c1">=</span> <span class="pl-s1">model</span>.<span class="pl-en">generate</span>(<span class="pl-s1">inputs</span>) <span class="pl-en">print</span>(<span class="pl-s1">tokenizer</span>.<span class="pl-en">decode</span>(<span class="pl-s1">outputs</span>[<span class="pl-c1">0</span>]))</pre></div> <h2 dir="auto">Expected behavior</h2> <p dir="auto">T0pp (or T0_3B) to load across 2 GPUs, generate an answer, and then quit.</p>
0
<p dir="auto">TL;DR: The versioned API types should be self-contained package. For example, the file "pkg/api/v1beta3/types.go" is not self contained and contains tendrils to other internal types (see below). This is somewhat cruddy for other clients wanting to import minimal source from k8s just to call its APIs. It'd be nice to have a single package to import to get the API object definitions (i.e. for json unmarshalling, etc).</p> <p dir="auto">Observed outside of package depencies in "pkg/api/v1beta3/types.go":</p> <p dir="auto">"pkg/runtime" - The "List" type contains a field "Items []runtime.RawExtension". "RawExtension" is a trivial struct containing only a "[]byte".</p> <p dir="auto">"pkg/types" - Various places uses the "types.UID" struct, which is an alias to "string".</p> <p dir="auto">"pkg/util" - Two types from this package are used: "util.Time" and "util.IntOrString". The former is a wrapper on Go's Time object, with extra functions for custom JSON serialization (RFC3339 compliant) in "pkg/util/time.go". "IntOrString" is the dual-mode struct holding an int value or a string ("pkg/util/util.go").</p> <p dir="auto">"pkg/api/resource" - The "ResourceList" object is a map whose keys are "resource.Quantity" objects. The "Quantity" object contains a field to "inf.Dec", which is an infinite precision decimal package imported from "speter.net/go/exp/math/dec/inf". This is the only package which is external to k8s.</p> <p dir="auto">I know that some of the json annotations added are to support swagger, but the go-&gt;swagger-&gt;go thing seems like an unnecessary complexity.</p>
<p dir="auto">Hi all</p> <p dir="auto">The logs on the gci master 1.3 beta image are not being rolled. Just lost my master because <code class="notranslate">/var/log</code> was filled up :( Are we using logrotate? Because it is not configured.</p> <p dir="auto">The cluster is a multi az cluster running on gce, using the default master. Cluster was created using <code class="notranslate">kube-up.sh</code>.</p> <p dir="auto">Master version info.</p> <div class="highlight highlight-text-shell-session notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="clove@kubernetes-master /etc $ cat /proc/version Linux version 4.4.4+ (chrome-bot@build297-m2) (gcc version 4.9.x 20150123 (prerelease) (4.9.2_cos_gg_a2bc87a_4.9.2-r128) ) #1 SMP Fri Jun 17 14:27:45 PDT 2016"><pre class="notranslate"><span class="pl-e">clove@kubernetes-master /etc</span> $ <span class="pl-s1">cat /proc/version</span> <span class="pl-c1">Linux version 4.4.4+ (chrome-bot@build297-m2) (gcc version 4.9.x 20150123 (prerelease) (4.9.2_cos_gg_a2bc87a_4.9.2-r128) ) #1 SMP Fri Jun 17 14:27:45 PDT 2016</span></pre></div> <p dir="auto">K8s Version info:</p> <div class="highlight highlight-text-shell-session notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Client Version: version.Info{Major:&quot;1&quot;, Minor:&quot;3+&quot;, GitVersion:&quot;v1.3.0-beta.1&quot;, GitCommit:&quot;1c7855093eb999c8f3cedb19d3467cd7b691e35e&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2016-06-17T00:58:51Z&quot;, GoVersion:&quot;go1.6.2&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;} Server Version: version.Info{Major:&quot;1&quot;, Minor:&quot;3+&quot;, GitVersion:&quot;v1.3.0-beta.1&quot;, GitCommit:&quot;1c7855093eb999c8f3cedb19d3467cd7b691e35e&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2016-06-17T00:53:24Z&quot;, GoVersion:&quot;go1.6.2&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}"><pre class="notranslate"><span class="pl-c1">Client Version: version.Info{Major:"1", Minor:"3+", GitVersion:"v1.3.0-beta.1", GitCommit:"1c7855093eb999c8f3cedb19d3467cd7b691e35e", GitTreeState:"clean", BuildDate:"2016-06-17T00:58:51Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"linux/amd64"}</span> <span class="pl-c1">Server Version: version.Info{Major:"1", Minor:"3+", GitVersion:"v1.3.0-beta.1", GitCommit:"1c7855093eb999c8f3cedb19d3467cd7b691e35e", GitTreeState:"clean", BuildDate:"2016-06-17T00:53:24Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"linux/amd64"}</span></pre></div> <p dir="auto">cc: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bgrant0607/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bgrant0607">@bgrant0607</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/andyzheng0831/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andyzheng0831">@andyzheng0831</a> <a class="team-mention js-team-mention notranslate" data-error-text="Failed to load team members" data-id="2015565" data-permission-text="Team members are private" data-url="/orgs/kubernetes/teams/goog-image/members" data-hovercard-type="team" data-hovercard-url="/orgs/kubernetes/teams/goog-image/hovercard" href="https://github.com/orgs/kubernetes/teams/goog-image">@kubernetes/goog-image</a></p>
0
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: [v1.34]</li> <li>Programming Language: Java</li> <li>Operating System: Mac os 12.2</li> <li>Browser: Chromium 114.0.5735.133 (Official Build) (arm64)</li> <li>Other info:</li> </ul> <p dir="auto"><strong>Steps</strong></p> <ul dir="auto"> <li>Launch the Chromium instance through playwright</li> <li>Launch any site(google.com) or open Developer Tools</li> </ul> <p dir="auto"><strong>Expected</strong><br> Launched Site or Developer Tools should open quickly as like as opening in normal chrome browser</p> <p dir="auto"><strong>Actual</strong><br> Compared to normal chrome instance. Page load time is 5X slower in playwright chromium instance and also developer tools takes so much time to load.</p> <p dir="auto">Note: We are facing this issue only in MAC. Working fine in Windows and LINUX<br> <strong>Steps Already checked</strong><br> I have deleted the old ms.playwright folder from caches folder and updated the playwright version to 1.34. With the new driver also facing the same slowness</p>
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: [1.31.2]</li> <li>Operating System: [Windows 11]</li> <li>Browser: [Chromium, Firefox,]</li> <li>node.js versions [16.14.2, 18.11.0, 19.7.0]</li> </ul> <h3 dir="auto">Source code</h3> <p dir="auto">I can't share source code. It is an subject of confidantial.</p> <p dir="auto">My tests runs until playwright version 1.28.2. In version 1.29.1 I hat to set the viewport in configuration to null. In version 1.31.2 this is not possible.</p> <p dir="auto">this.context=await this.browser.newContext({<br> viewport:null<br> })</p> <p dir="auto">With webkit my tests run in all playwright versions. In chromium und firefox they dosn't run headed correctly.<br> In attached files you can see the difference between webkit and chromium. It contains config-files for webkit and chromium, a video for webkit and chromium and a screenshot for chromium.<br> <a href="https://github.com/microsoft/playwright/files/10967411/BugReport.zip">BugReport.zip</a></p>
0
<p dir="auto">I am trying to get integration <code class="notranslate">webpack-hot-middleware</code> working, and I'm hitting the issue where when accessing a non-root path, I get a <code class="notranslate">404</code> as webpack tries to get the generated <code class="notranslate">.json</code> file from a relative path. The solutions I've found indicate that configuring <code class="notranslate">webpack</code> with:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="output: path: target.dir filename: 'all.js' publicPath: '/'"><pre class="notranslate"><code class="notranslate">output: path: target.dir filename: 'all.js' publicPath: '/' </code></pre></div> <p dir="auto">... and <code class="notranslate">webpack-dev-middleware</code> with the same <code class="notranslate">publicPath: '/'</code> should resolve the issue.</p> <p dir="auto">However, none of my files are served properly with this configuration as <code class="notranslate">webpack</code> seems to be stripping out the entire host for some reason. So I get the following request:</p> <p dir="auto"><code class="notranslate">GET http://all.js</code></p> <p dir="auto">Then when I try to add the full host as some other solutions recommend using <code class="notranslate">publicPath: http://192.168.0.101:3001</code>, webpack sends:</p> <p dir="auto"><code class="notranslate">GET http://192.168.0.101:3001/http://192.168.101:3001/all.js</code></p> <p dir="auto">Here's my full config:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" config = bail: true context: paths.app.dir devtool: 'cheap-module-sourcemap' entry: [ 'webpack-hot-middleware/client?path=/__webpack_hmr', './index' ] output: path: target.dir filename: 'all.js' publicPath: '/' resolve: extensions: [ '', '.js', '.coffee' ] modulesDirectories: [ &quot;#{ paths.main.dir }/node_modules&quot; &quot;#{ paths.root.dir }/node_modules&quot; ] resolveLoader: modulesDirectories: [ &quot;#{ paths.tasks.dir }/node_modules&quot; ] module: loaders: [ { test: /\.coffee$/, loaders: [ 'react-hot', 'coffee', 'cjsx' ] } { test: /\.styl$/, loaders: [ 'style', 'css', 'stylus' ] } ] plugins: [ new $.webpack.optimize.OccurenceOrderPlugin() new $.webpack.NoErrorsPlugin() new $.webpack.HotModuleReplacementPlugin() new $.htmlWebpackPlugin { filename: 'index.html' inject: false template: &quot;#{ paths.app.dir }/index.ejs&quot; } new $.webpack.DefinePlugin { 'process.env': NODE_ENV: JSON.stringify(env.name) POLLINATE_API_URL: JSON.stringify(&quot;http://#{ ports.host }:#{ ports.api }&quot;) } ]"><pre class="notranslate"><code class="notranslate"> config = bail: true context: paths.app.dir devtool: 'cheap-module-sourcemap' entry: [ 'webpack-hot-middleware/client?path=/__webpack_hmr', './index' ] output: path: target.dir filename: 'all.js' publicPath: '/' resolve: extensions: [ '', '.js', '.coffee' ] modulesDirectories: [ "#{ paths.main.dir }/node_modules" "#{ paths.root.dir }/node_modules" ] resolveLoader: modulesDirectories: [ "#{ paths.tasks.dir }/node_modules" ] module: loaders: [ { test: /\.coffee$/, loaders: [ 'react-hot', 'coffee', 'cjsx' ] } { test: /\.styl$/, loaders: [ 'style', 'css', 'stylus' ] } ] plugins: [ new $.webpack.optimize.OccurenceOrderPlugin() new $.webpack.NoErrorsPlugin() new $.webpack.HotModuleReplacementPlugin() new $.htmlWebpackPlugin { filename: 'index.html' inject: false template: "#{ paths.app.dir }/index.ejs" } new $.webpack.DefinePlugin { 'process.env': NODE_ENV: JSON.stringify(env.name) POLLINATE_API_URL: JSON.stringify("http://#{ ports.host }:#{ ports.api }") } ] </code></pre></div> <p dir="auto">Am I doing something wrong here? It seems like the expected behavior of <code class="notranslate">publicPath: '/'</code> would solve my problem but it's not working in my case.</p> <p dir="auto">In case it's relevant, here's the middleware:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" middleware = [ $.connectHistoryApiFallback() ] if inDevMode middleware.push($.webpackDevMiddleware(compiler, { noInfo: true })) middleware.push($.webpackHotMiddleware(compiler, { path: '/__webpack_hmr', heartbeat: 10 * 1000 })) $.connect.server host: argv.host || ports.host port: argv.port || project.port root: target.dir middleware: -&gt; middleware"><pre class="notranslate"><code class="notranslate"> middleware = [ $.connectHistoryApiFallback() ] if inDevMode middleware.push($.webpackDevMiddleware(compiler, { noInfo: true })) middleware.push($.webpackHotMiddleware(compiler, { path: '/__webpack_hmr', heartbeat: 10 * 1000 })) $.connect.server host: argv.host || ports.host port: argv.port || project.port root: target.dir middleware: -&gt; middleware </code></pre></div>
<p dir="auto">Hello team,</p> <p dir="auto">After updating to webpack 3 the build breaks and i get the following error and</p> <p dir="auto">C:\git\app\node_modules\webpack\lib\webpack.js:19<br> throw new WebpackOptionsValidationError(webpackOptionsValidation<br> Errors);<br> ^<br> WebpackOptionsValidationError: Invalid configuration object. Webpack has been in<br> itialised using a configuration object that does not match the API schema.</p> <ul dir="auto"> <li>configuration.node should be one of these:<br> false | object { Buffer?, __dirname?, __filename?, console?, global?, process<br> ?, ... }<br> Include polyfills or mocks for various node stuff.<br> Details: <ul dir="auto"> <li>configuration.node should be false</li> <li>configuration.node.global should be a boolean.</li> </ul> </li> </ul> <p dir="auto">i am using gulp and webpack.</p> <p dir="auto">heres is my webpack.make.js</p> <p dir="auto">'use strict';<br> /<em>eslint-env node</em>/<br> var webpack = require('webpack');<br> var autoprefixer = require('autoprefixer');<br> var HtmlWebpackPlugin = require('html-webpack-plugin');<br> var HtmlWebpackHarddiskPlugin = require('html-webpack-harddisk-plugin');<br> var ExtractTextPlugin = require('extract-text-webpack-plugin');<br> var CommonsChunkPlugin = webpack.optimize.CommonsChunkPlugin;<br> var fs = require('fs');<br> var path = require('path');<br> var ForkCheckerPlugin = require('awesome-typescript-loader').ForkCheckerPlugin;<br> var BowerWebpackPlugin = require("bower-webpack-plugin");</p> <p dir="auto">module.exports = function makeWebpackConfig(options) {<br> /**<br> * Environment type<br> * BUILD is for generating minified builds<br> * TEST is for generating test builds<br> */<br> var BUILD = !!options.BUILD;<br> var TEST = !!options.TEST;<br> var E2E = !!options.E2E;<br> var DEV = !!options.DEV;</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/** * Config * Reference: http://webpack.github.io/docs/configuration.html * This is the object where all configuration gets set */ var config = {}; /** * Entry * Reference: http://webpack.github.io/docs/configuration.html#entry * Should be an empty object if it's generating a test build * Karma will set this when it's a test build */ if(TEST) { config.entry = {}; } else { config.entry = { app: './client/app/app.ts', polyfills: './client/polyfills.ts', vendor: [ 'angular', 'angular-animate', 'angular-aria', 'angular-cookies', 'angular-resource', 'angular-route', 'angular-sanitize', 'angular-socket-io', 'angular-ui-bootstrap', //'jquery', 'arrive', //'bootstrap-material-design', 'lodash' ] }; } /** * Output * Reference: http://webpack.github.io/docs/configuration.html#output * Should be an empty object if it's generating a test build * Karma will handle setting it up for you when it's a test build */ if(TEST) { config.output = {}; } else { config.output = { // Absolute output directory path: BUILD ? path.join(__dirname, '/dist/client/') : path.join(__dirname, '/.tmp/'), // Output path from the view of the page // Uses webpack-dev-server in development publicPath: BUILD || DEV || E2E ? '/' : `http://localhost:${8080}/`, //publicPath: BUILD ? '/' : 'http://localhost:' + env.port + '/', // Filename for entry points // Only adds hash in build mode filename: BUILD ? '[name].[hash].js' : '[name].bundle.js', // Filename for non-entry points // Only adds hash in build mode chunkFilename: BUILD ? '[name].[hash].js' : '[name].bundle.js' }; } config.resolve = { modules: ['node_modules'], extensions: ['.js', '.ts'], enforceExtension: false, descriptionFiles: [&quot;package.json&quot;, &quot;bower.json&quot;], }; if(TEST) { config.resolve = { modules: [ 'node_modules' ], extensions: [ '.js', '.ts'], enforceExtension: false }; } /** * Devtool * Reference: http://webpack.github.io/docs/configuration.html#devtool * Type of sourcemap to use per build type */ if(TEST) { config.devtool = 'inline-source-map'; } else if(BUILD || DEV) { config.devtool = 'source-map'; } else { config.devtool = 'eval'; } /** * Loaders * Reference: http://webpack.github.io/docs/configuration.html#module-loaders * List: http://webpack.github.io/docs/list-of-loaders.html * This handles most of the magic responsible for converting modules */ // Initialize module config.module = { rules : [ { // JS LOADER // Reference: https://github.com/babel/babel-loader // Transpile .js files using babel-loader // Compiles ES6 and ES7 into ES5 code test: /\.js$/, loader : 'babel-loader', include: [ path.resolve(__dirname, 'client/'), path.resolve(__dirname, 'node_modules/lodash-es/') ] }, { //Angular Loader test: /[\/]angular\.js$/, exclude: ['/bower_components/'], loader: 'exports-loader', options : {angular:true} }, { // TS LOADER // Reference: https://github.com/s-panferov/awesome-typescript-loader // Transpile .ts files using awesome-typescript-loader test: /\.ts$/, loader: 'awesome-typescript-loader', options: { tsconfig: path.resolve(__dirname, 'tsconfig.client.json') }, include: [ path.resolve(__dirname, 'client/') ] }, { // ASSET LOADER // Reference: https://github.com/webpack/file-loader // Copy png, jpg, jpeg, gif, svg, woff, woff2, ttf, eot files to output // Rename the file using the asset hash // Pass along the updated reference to your code // You can add here any file extension you want to get copied to your output test: /\.(png|jpg|jpeg|gif|svg|woff|woff2|ttf|eot)([\?]?.*)$/, loader: 'file-loader' }, { // HTML LOADER // Reference: https://github.com/webpack/raw-loader // Allow loading html through js test: /\.html$/, loader: 'raw-loader' }, { // CSS LOADER // Reference: https://github.com/webpack/css-loader // Allow loading css through js // // Reference: https://github.com/postcss/postcss-loader // Postprocess your css with PostCSS plugins test: /\.css$/, loader: !TEST // Reference: https://github.com/webpack/extract-text-webpack-plugin // Extract css files in production builds // // Reference: https://github.com/webpack/style-loader // Use style-loader in development for hot-loading ? ExtractTextPlugin.extract({ fallback : 'style-loader', use : [ 'css-loader?sourceMap', 'postcss-loader' ] }) // Reference: https://github.com/webpack/null-loader // Skip loading css in test mode : 'null' }, { // PostLoaders test: /\.ts$/, loader: 'ng-annotate-loader?single_quotes' }] }; /** * Plugins * Reference: http://webpack.github.io/docs/configuration.html#plugins * List: http://webpack.github.io/docs/list-of-plugins.html */ config.plugins = [ //plugin bower /*new BowerWebpackPlugin({ excludes: ['node_modules'] }),*/ //plugin jquery new webpack.ProvidePlugin({ $: &quot;jquery&quot;, jQuery: &quot;jquery&quot; }), /* * Plugin: ForkCheckerPlugin * Description: Do type checking in a separate process, so webpack don't need to wait. * * See: https://github.com/s-panferov/awesome-typescript-loader#forkchecker-boolean-defaultfalse */ //new ForkCheckerPlugin(), // Reference: https://github.com/webpack/extract-text-webpack-plugin // Extract css files // Disabled when in test mode or not in build mode new ExtractTextPlugin({ filename :'[name].[hash].css', disable: !BUILD || TEST }), function() { this.plugin(&quot;done&quot;, function(stats) { if (stats.compilation.errors &amp;&amp; stats.compilation.errors.length &amp;&amp; process.argv.indexOf('--watch') == -1) { console.log(stats.compilation.errors); process.exit(1); // or throw new Error('webpack build failed.'); } // ... }); } ]; if(!TEST) { config.plugins.push(new CommonsChunkPlugin({ name: 'vendor', // filename: &quot;vendor.js&quot; // (Give the chunk a different name) minChunks: Infinity // (with more entries, this ensures that no other module // goes into the vendor chunk) })); } // Skip rendering index.html in test mode // Reference: https://github.com/ampedandwired/html-webpack-plugin // Render index.html let htmlConfig = { template: 'client/_index.html', filename: '../client/index.html', alwaysWriteToDisk: true } config.plugins.push( new HtmlWebpackPlugin(htmlConfig), new HtmlWebpackHarddiskPlugin() ); // Add build specific plugins if(BUILD) { config.plugins.push( // Reference: http://webpack.github.io/docs/list-of-plugins.html#noerrorsplugin // Only emit files when there are no errors new webpack.NoErrorsPlugin(), // Reference: http://webpack.github.io/docs/list-of-plugins.html#dedupeplugin // Dedupe modules in the output new webpack.optimize.DedupePlugin(), // Reference: http://webpack.github.io/docs/list-of-plugins.html#uglifyjsplugin // Minify all javascript, switch loaders to minimizing mode new webpack.optimize.UglifyJsPlugin({ mangle: false, output: { comments: false }, compress: { warnings: false } }), // Reference: https://webpack.github.io/docs/list-of-plugins.html#defineplugin // Define free global variables new webpack.DefinePlugin({ 'process.env': { NODE_ENV: '&quot;production&quot;' } }) ); } if(DEV) { config.plugins.push( // Reference: https://webpack.github.io/docs/list-of-plugins.html#defineplugin // Define free global variables new webpack.DefinePlugin({ 'process.env': { NODE_ENV: '&quot;development&quot;' } }) ); } config.cache = DEV; if(TEST) { config.stats = { colors: true, reasons: true },{ plugins: [ new webpack.LoaderOptionsPlugin({ debug: true }) ] } } /** * Dev server configuration * Reference: http://webpack.github.io/docs/configuration.html#devserver * Reference: http://webpack.github.io/docs/webpack-dev-server.html */ config.devServer = { contentBase: './client/', stats: { modules: false, cached: false, colors: true, chunk: false } }; **config.node = { global: 'window', process: true, crypto: 'empty', clearImmediate: false, setImmediate: false };** return config;"><pre class="notranslate"><code class="notranslate">/** * Config * Reference: http://webpack.github.io/docs/configuration.html * This is the object where all configuration gets set */ var config = {}; /** * Entry * Reference: http://webpack.github.io/docs/configuration.html#entry * Should be an empty object if it's generating a test build * Karma will set this when it's a test build */ if(TEST) { config.entry = {}; } else { config.entry = { app: './client/app/app.ts', polyfills: './client/polyfills.ts', vendor: [ 'angular', 'angular-animate', 'angular-aria', 'angular-cookies', 'angular-resource', 'angular-route', 'angular-sanitize', 'angular-socket-io', 'angular-ui-bootstrap', //'jquery', 'arrive', //'bootstrap-material-design', 'lodash' ] }; } /** * Output * Reference: http://webpack.github.io/docs/configuration.html#output * Should be an empty object if it's generating a test build * Karma will handle setting it up for you when it's a test build */ if(TEST) { config.output = {}; } else { config.output = { // Absolute output directory path: BUILD ? path.join(__dirname, '/dist/client/') : path.join(__dirname, '/.tmp/'), // Output path from the view of the page // Uses webpack-dev-server in development publicPath: BUILD || DEV || E2E ? '/' : `http://localhost:${8080}/`, //publicPath: BUILD ? '/' : 'http://localhost:' + env.port + '/', // Filename for entry points // Only adds hash in build mode filename: BUILD ? '[name].[hash].js' : '[name].bundle.js', // Filename for non-entry points // Only adds hash in build mode chunkFilename: BUILD ? '[name].[hash].js' : '[name].bundle.js' }; } config.resolve = { modules: ['node_modules'], extensions: ['.js', '.ts'], enforceExtension: false, descriptionFiles: ["package.json", "bower.json"], }; if(TEST) { config.resolve = { modules: [ 'node_modules' ], extensions: [ '.js', '.ts'], enforceExtension: false }; } /** * Devtool * Reference: http://webpack.github.io/docs/configuration.html#devtool * Type of sourcemap to use per build type */ if(TEST) { config.devtool = 'inline-source-map'; } else if(BUILD || DEV) { config.devtool = 'source-map'; } else { config.devtool = 'eval'; } /** * Loaders * Reference: http://webpack.github.io/docs/configuration.html#module-loaders * List: http://webpack.github.io/docs/list-of-loaders.html * This handles most of the magic responsible for converting modules */ // Initialize module config.module = { rules : [ { // JS LOADER // Reference: https://github.com/babel/babel-loader // Transpile .js files using babel-loader // Compiles ES6 and ES7 into ES5 code test: /\.js$/, loader : 'babel-loader', include: [ path.resolve(__dirname, 'client/'), path.resolve(__dirname, 'node_modules/lodash-es/') ] }, { //Angular Loader test: /[\/]angular\.js$/, exclude: ['/bower_components/'], loader: 'exports-loader', options : {angular:true} }, { // TS LOADER // Reference: https://github.com/s-panferov/awesome-typescript-loader // Transpile .ts files using awesome-typescript-loader test: /\.ts$/, loader: 'awesome-typescript-loader', options: { tsconfig: path.resolve(__dirname, 'tsconfig.client.json') }, include: [ path.resolve(__dirname, 'client/') ] }, { // ASSET LOADER // Reference: https://github.com/webpack/file-loader // Copy png, jpg, jpeg, gif, svg, woff, woff2, ttf, eot files to output // Rename the file using the asset hash // Pass along the updated reference to your code // You can add here any file extension you want to get copied to your output test: /\.(png|jpg|jpeg|gif|svg|woff|woff2|ttf|eot)([\?]?.*)$/, loader: 'file-loader' }, { // HTML LOADER // Reference: https://github.com/webpack/raw-loader // Allow loading html through js test: /\.html$/, loader: 'raw-loader' }, { // CSS LOADER // Reference: https://github.com/webpack/css-loader // Allow loading css through js // // Reference: https://github.com/postcss/postcss-loader // Postprocess your css with PostCSS plugins test: /\.css$/, loader: !TEST // Reference: https://github.com/webpack/extract-text-webpack-plugin // Extract css files in production builds // // Reference: https://github.com/webpack/style-loader // Use style-loader in development for hot-loading ? ExtractTextPlugin.extract({ fallback : 'style-loader', use : [ 'css-loader?sourceMap', 'postcss-loader' ] }) // Reference: https://github.com/webpack/null-loader // Skip loading css in test mode : 'null' }, { // PostLoaders test: /\.ts$/, loader: 'ng-annotate-loader?single_quotes' }] }; /** * Plugins * Reference: http://webpack.github.io/docs/configuration.html#plugins * List: http://webpack.github.io/docs/list-of-plugins.html */ config.plugins = [ //plugin bower /*new BowerWebpackPlugin({ excludes: ['node_modules'] }),*/ //plugin jquery new webpack.ProvidePlugin({ $: "jquery", jQuery: "jquery" }), /* * Plugin: ForkCheckerPlugin * Description: Do type checking in a separate process, so webpack don't need to wait. * * See: https://github.com/s-panferov/awesome-typescript-loader#forkchecker-boolean-defaultfalse */ //new ForkCheckerPlugin(), // Reference: https://github.com/webpack/extract-text-webpack-plugin // Extract css files // Disabled when in test mode or not in build mode new ExtractTextPlugin({ filename :'[name].[hash].css', disable: !BUILD || TEST }), function() { this.plugin("done", function(stats) { if (stats.compilation.errors &amp;&amp; stats.compilation.errors.length &amp;&amp; process.argv.indexOf('--watch') == -1) { console.log(stats.compilation.errors); process.exit(1); // or throw new Error('webpack build failed.'); } // ... }); } ]; if(!TEST) { config.plugins.push(new CommonsChunkPlugin({ name: 'vendor', // filename: "vendor.js" // (Give the chunk a different name) minChunks: Infinity // (with more entries, this ensures that no other module // goes into the vendor chunk) })); } // Skip rendering index.html in test mode // Reference: https://github.com/ampedandwired/html-webpack-plugin // Render index.html let htmlConfig = { template: 'client/_index.html', filename: '../client/index.html', alwaysWriteToDisk: true } config.plugins.push( new HtmlWebpackPlugin(htmlConfig), new HtmlWebpackHarddiskPlugin() ); // Add build specific plugins if(BUILD) { config.plugins.push( // Reference: http://webpack.github.io/docs/list-of-plugins.html#noerrorsplugin // Only emit files when there are no errors new webpack.NoErrorsPlugin(), // Reference: http://webpack.github.io/docs/list-of-plugins.html#dedupeplugin // Dedupe modules in the output new webpack.optimize.DedupePlugin(), // Reference: http://webpack.github.io/docs/list-of-plugins.html#uglifyjsplugin // Minify all javascript, switch loaders to minimizing mode new webpack.optimize.UglifyJsPlugin({ mangle: false, output: { comments: false }, compress: { warnings: false } }), // Reference: https://webpack.github.io/docs/list-of-plugins.html#defineplugin // Define free global variables new webpack.DefinePlugin({ 'process.env': { NODE_ENV: '"production"' } }) ); } if(DEV) { config.plugins.push( // Reference: https://webpack.github.io/docs/list-of-plugins.html#defineplugin // Define free global variables new webpack.DefinePlugin({ 'process.env': { NODE_ENV: '"development"' } }) ); } config.cache = DEV; if(TEST) { config.stats = { colors: true, reasons: true },{ plugins: [ new webpack.LoaderOptionsPlugin({ debug: true }) ] } } /** * Dev server configuration * Reference: http://webpack.github.io/docs/configuration.html#devserver * Reference: http://webpack.github.io/docs/webpack-dev-server.html */ config.devServer = { contentBase: './client/', stats: { modules: false, cached: false, colors: true, chunk: false } }; **config.node = { global: 'window', process: true, crypto: 'empty', clearImmediate: false, setImmediate: false };** return config; </code></pre></div> <p dir="auto">};</p> <p dir="auto">here is the result of npm list to see all packages version</p> <p dir="auto">[email protected] C:\Users\jacompi\test\git\jamath<br> +-- @angular/[email protected]<br> | <code class="notranslate">-- [email protected] +-- @angular/[email protected] (git://github.com/angular/cdk-builds.git#021d75c70b98dbc39b24d4bc1abdcd5517050954) +-- @angular/[email protected] +-- @angular/[email protected] +-- @angular/[email protected] (git://github.com/angular/material2-builds.git#03079f3c16609a27fb8dd32f7f47f82a607b5116) +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | +-- [email protected]<br> | | | | | <code class="notranslate">-- [email protected] | | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | | </code>-- [email protected]<br> | | | +-- [email protected]<br> | | | | +-- [email protected]<br> | | | | | <code class="notranslate">-- [email protected] | | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | +-- [email protected]<br> | | | | | +-- [email protected]<br> | | | | | | +-- [email protected]<br> | | | | | | +-- [email protected]<br> | | | | | | | <code class="notranslate">-- [email protected] | | | | | | </code>-- [email protected]<br> | | | | | +-- [email protected]<br> | | | | | | <code class="notranslate">-- [email protected] | | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | </code>-- [email protected]<br> | | | | | <code class="notranslate">-- [email protected] | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | | </code>-- [email protected]<br> | | | | | | <code class="notranslate">-- [email protected] | | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | </code>-- [email protected]<br> | | | | | +-- [email protected]<br> | | | | | | <code class="notranslate">-- [email protected] | | | | | | </code>-- [email protected]<br> | | | | | <code class="notranslate">-- [email protected] | | | | | +-- [email protected] | | | | | </code>-- [email protected]<br> | | | | | <code class="notranslate">-- [email protected] | | | | | </code>-- [email protected]<br> | | | | +-- [email protected]<br> | | | | | <code class="notranslate">-- [email protected] | | | | | </code>-- [email protected]<br> | | | | +-- [email protected]<br> | | | | | <code class="notranslate">-- [email protected] | | | | +-- [email protected] | | | | | </code>-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | | </code>-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | | </code>-- [email protected]<br> | | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | +-- [email protected]<br> | | | | | <code class="notranslate">-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | <code class="notranslate">-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> +-- [email protected] extraneous<br> +-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- UNMET OPTIONAL DEPENDENCY fsevents@^1.0.0<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | | </code>-- [email protected]<br> | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> +-- [email protected]<br> +-- [email protected]<br> +-- [email protected]<br> | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> | +-- [email protected]<br> | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] +-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | </code>-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | | </code>-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | +-- [email protected]<br> | | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | +-- [email protected]<br> | | | | +-- [email protected]<br> | | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | +-- [email protected]<br> | | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] +-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] | +-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] +-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | +-- [email protected]<br> | | | | | <code class="notranslate">-- [email protected] | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | | +-- [email protected] | | | | | | </code>-- [email protected]<br> | | | | | +-- [email protected]<br> | | | | | | +-- [email protected]<br> | | | | | | +-- [email protected]<br> | | | | | | +-- [email protected]<br> | | | | | | | +-- [email protected]<br> | | | | | | | | <code class="notranslate">-- [email protected] | | | | | | | +-- [email protected] | | | | | | | </code>-- [email protected]<br> | | | | | | +-- [email protected]<br> | | | | | | | <code class="notranslate">-- [email protected] | | | | | | | </code>-- [email protected]<br> | | | | | | +-- [email protected]<br> | | | | | | | <code class="notranslate">-- [email protected] | | | | | | | </code>-- [email protected]<br> | | | | | | <code class="notranslate">-- [email protected] | | | | | | </code>-- [email protected]<br> | | | | | +-- [email protected]<br> | | | | | | +-- [email protected]<br> | | | | | | +-- [email protected]<br> | | | | | | +-- [email protected]<br> | | | | | | | <code class="notranslate">-- [email protected] | | | | | | +-- [email protected] | | | | | | | </code>-- [email protected]<br> | | | | | | | <code class="notranslate">-- [email protected] | | | | | | </code>-- [email protected]<br> | | | | | | <code class="notranslate">-- [email protected] | | | | | +-- [email protected] | | | | | | +-- [email protected] | | | | | | +-- [email protected] | | | | | | +-- [email protected] | | | | | | | </code>-- [email protected]<br> | | | | | | | <code class="notranslate">-- [email protected] | | | | | | </code>-- [email protected]<br> | | | | | | <code class="notranslate">-- [email protected] | | | | | +-- [email protected] | | | | | | +-- [email protected] | | | | | | +-- [email protected] | | | | | | +-- [email protected] | | | | | | </code>-- [email protected]<br> | | | | | | <code class="notranslate">-- [email protected] | | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | | </code>-- [email protected]<br> | | | | | <code class="notranslate">-- [email protected] | | | | | +-- [email protected] | | | | | | +-- [email protected] | | | | | | +-- [email protected] | | | | | | | </code>-- [email protected]<br> | | | | | | | <code class="notranslate">-- [email protected] | | | | | | +-- [email protected] | | | | | | +-- [email protected] | | | | | | | </code>-- [email protected]<br> | | | | | | | <code class="notranslate">-- [email protected] | | | | | | </code>-- [email protected]<br> | | | | | +-- [email protected]<br> | | | | | +-- [email protected]<br> | | | | | <code class="notranslate">-- [email protected] | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | | +-- [email protected] | | | | | | </code>-- [email protected]<br> | | | | | +-- [email protected]<br> | | | | | | +-- [email protected]<br> | | | | | | +-- [email protected]<br> | | | | | | <code class="notranslate">-- [email protected] | | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | | +-- [email protected] | | | | | | | +-- [email protected] | | | | | | | +-- [email protected] | | | | | | | | </code>-- [email protected]<br> | | | | | | | | <code class="notranslate">-- [email protected] | | | | | | | +-- [email protected] | | | | | | | +-- [email protected] | | | | | | | | </code>-- [email protected]<br> | | | | | | | | <code class="notranslate">-- [email protected] | | | | | | | </code>-- [email protected]<br> | | | | | | <code class="notranslate">-- [email protected] | | | | | </code>-- [email protected]<br> | | | | | <code class="notranslate">-- [email protected] | | | | | </code>-- [email protected]<br> | | | | +-- [email protected]<br> | | | | | +-- [email protected]<br> | | | | | <code class="notranslate">-- [email protected] | | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | | </code>-- [email protected]<br> | | | | | <code class="notranslate">-- [email protected] | | | | | +-- [email protected] | | | | | | </code>-- [email protected]<br> | | | | | <code class="notranslate">-- [email protected] | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | | </code>-- [email protected]<br> | | | | | | +-- [email protected]<br> | | | | | | | +-- [email protected]<br> | | | | | | | | <code class="notranslate">-- [email protected] | | | | | | | </code>-- [email protected]<br> | | | | | | <code class="notranslate">-- [email protected] | | | | | +-- [email protected] | | | | | </code>-- [email protected]<br> | | | | +-- [email protected]<br> | | | | | <code class="notranslate">-- [email protected] | | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | </code>-- [email protected]<br> | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | </code>-- [email protected]<br> | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | | </code>-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | <code class="notranslate">-- [email protected] | +-- @types/[email protected] | +-- @types/[email protected] | +-- @types/[email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] | +-- @gulp-sourcemaps/[email protected] | | </code>-- [email protected]<br> | +-- @gulp-sourcemaps/[email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | +-- [email protected]<br> | | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | <code class="notranslate">-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | <code class="notranslate">-- [email protected] | +-- [email protected] | | </code>-- UNMET OPTIONAL DEPENDENCY fsevents@^1.0.0<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | <code class="notranslate">-- [email protected] | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> | +-- @types/[email protected]<br> | +-- @types/[email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> +-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | | </code>-- [email protected]<br> | | | | | +-- [email protected]<br> | | | | | <code class="notranslate">-- [email protected] | | | | </code>-- [email protected]<br> | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> +-- [email protected]<br> +-- [email protected]<br> +-- [email protected]<br> +-- [email protected]<br> +-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | <code class="notranslate">-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> +-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | +-- [email protected]<br> | | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | <code class="notranslate">-- [email protected] | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] | +-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | </code>-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] +-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> +-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | <code class="notranslate">-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | </code>-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] | +-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | +-- [email protected]<br> | | | | +-- [email protected]<br> | | | | +-- [email protected]<br> | | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | | </code>-- [email protected]<br> | | | | +-- [email protected]<br> | | | | | <code class="notranslate">-- [email protected] | | | | </code>-- [email protected]<br> | | | +-- [email protected]<br> | | | | +-- [email protected]<br> | | | | +-- [email protected]<br> | | | | +-- [email protected]<br> | | | | | +-- [email protected]<br> | | | | | +-- [email protected]<br> | | | | | | <code class="notranslate">-- [email protected] | | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | </code>-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | | </code>-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | +-- [email protected]<br> | | | | +-- [email protected]<br> | | | | | <code class="notranslate">-- [email protected] | | | | </code>-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | +-- [email protected]<br> | | | | +-- [email protected]<br> | | | | <code class="notranslate">-- [email protected] | | | +-- [email protected] | | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> +-- [email protected]<br> | <code class="notranslate">-- [email protected] +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | </code>-- [email protected]<br> | +-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | </code>-- [email protected]<br> | | +-- [email protected]<br> | | | <code class="notranslate">-- [email protected] | | </code>-- [email protected]<br> | +-- [email protected]<br> | | <code class="notranslate">-- [email protected] | </code>-- [email protected]<br> | <code class="notranslate">-- [email protected] </code>-- [email protected]</p> <p dir="auto">There was a chage in the config node schema between webpack v2 and v3</p> <p dir="auto">Thank you for your help.</p>
0
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; :3.4.6:</li> <li>Operating System / Platform =&gt; :Windows 64 Bit:</li> <li>Compiler =&gt; :python:</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">Unable to Generate a config file after transfer Learning for ssd_mobilenet_v1_fpn_coco tensorflow model</p> <p dir="auto">1、Modified category<br> 2、Modified batch size 16</p> <h5 dir="auto">Steps to reproduce</h5> <p dir="auto">H:\data\object_detection&gt; python tf_text_graph_ssd.py --input model/frozen_inference_graph.pb --config model/pipeline<br> .config --output data/graph.pbtxt<br> Levels: [3-7]<br> Anchor scale: 4.000000<br> Scales per octave: 2<br> Aspect ratios: [1.0, 2.0, 0.5]<br> Number of classes: 10<br> Number of layers: 5<br> box predictor: weight_shared_convolutional<br> Input image size: 640x640<br> graph_def.node[0].op:Add<br> Traceback (most recent call last):<br> File "tf_text_graph_ssd.py", line 368, in <br> createSSDGraph(args.input, args.config, args.output)<br> File "tf_text_graph_ssd.py", line 233, in createSSDGraph<br> assert(graph_def.node[0].op == 'Placeholder')<br> AssertionError</p>
<p dir="auto">Transferred from <a href="http://code.opencv.org/issues/2844" rel="nofollow">http://code.opencv.org/issues/2844</a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="|| Boris Mansencal on 2013-02-28 15:54 || Priority: Normal || Affected: branch 'master' (2.4.9) || Category: gpu (cuda) || Tracker: Bug || Difficulty: None || PR: || Platform: None / None"><pre class="notranslate"><code class="notranslate">|| Boris Mansencal on 2013-02-28 15:54 || Priority: Normal || Affected: branch 'master' (2.4.9) || Category: gpu (cuda) || Tracker: Bug || Difficulty: None || PR: || Platform: None / None </code></pre></div> <h2 dir="auto">build with CUDA 5.0 on macosx</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="I am trying to build current head version of OpenCV (02/28/2013) on a 2008 MacBook Pro with CUDA 5.0 enabled. The configuration is : Mac Book Pro 15&quot; (end 2008) with Intel Core 2 Duo 2.53GHz Mac OS X 10.7.5 clang 4.1 NVIDIA GeForce 9600M GT512MB CUDA 5.0 (V0.2.1221) make VERBOSE=1 gives me the following error : [ 23%] Building NVCC (Device) object modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_matrix_operations.cu.o cd /Users/mansencal/tools/opencv_git/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda &amp;&amp; &quot;/Applications/CMake 2.8-10.app/Contents/bin/cmake&quot; -E make_directory /Users/mansencal/tools/opencv_git/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/. cd /Users/mansencal/tools/opencv_git/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda &amp;&amp; &quot;/Applications/CMake 2.8-10.app/Contents/bin/cmake&quot; -D verbose:BOOL=1 -D build_configuration:STRING=Release -D generated_file:STRING=/Users/mansencal/tools/opencv_git/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_matrix_operations.cu.o -D generated_cubin_file:STRING=/Users/mansencal/tools/opencv_git/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_matrix_operations.cu.o.cubin.txt -P /Users/mansencal/tools/opencv_git/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_matrix_operations.cu.o.cmake -- Removing /Users/mansencal/tools/opencv_git/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_matrix_operations.cu.o &quot;/Applications/CMake 2.8-10.app/Contents/bin/cmake&quot; -E remove /Users/mansencal/tools/opencv_git/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_matrix_operations.cu.o -- Generating dependency file: /Users/mansencal/tools/opencv_git/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_matrix_operations.cu.o.NVCC-depend /usr/local/cuda/bin/nvcc -M -D__CUDACC__ /Users/mansencal/tools/opencv_git/modules/core/src/cuda/matrix_operations.cu -o /Users/mansencal/tools/opencv_git/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_matrix_operations.cu.o NVCC-depend -ccbin /usr/bin/cc -m64 -DHAVE_CVCONFIG_H -DHAVE_ALLOCA -DHAVE_ALLOCA_H -DHAVE_LIBPTHREAD -DHAVE_UNISTD_H -Xcompiler ,\&quot;-O3\&quot;,\&quot;-DNDEBUG\&quot; -gencode arch=compute_11,code=sm_11 -gencode arch=compute_12,code=sm_12 -gencode arch=compute_13,code=sm_13 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_20,code=sm_21 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_20,code=compute_20 -gencode arch=compute_30,code=compute_30 -Xcompiler -DCVAPI_EXPORTS -Xcompiler -fPIC -Xcompiler -fno-finite-math-only -DNVCC -I/usr/local/cuda/include -I/Users/mansencal/tools/opencv_git/modules/gpu/include -I/Users/mansencal/tools/opencv_git/build/3rdparty/zlib -I/Users/mansencal/tools/opencv_git/3rdparty/zlib -I/Users/mansencal/tools/opencv_git/build/modules/core -I/Users/mansencal/tools/opencv_git/modules/core/src -I/Users/mansencal/tools/opencv_git/modules/core/include -I/Users/mansencal/tools/opencv_git/build -I/Users/mansencal/tools/tbb41_20130116oss/include -I/Users/mansencal/tools/eigen-3.1.2 -I/usr/local/cuda/include clang: error: unsupported option '-dumpspecs' clang: error: no input files CMake Error at cuda_compile_generated_matrix_operations.cu.o.cmake:206 (message): Error generating /Users/mansencal/tools/opencv_git/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_matrix_operations.cu.o make[2]: *** [modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_matrix_operations.cu.o] Error 1 make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Error 2 make: *** [all] Error 2"><pre class="notranslate"><code class="notranslate">I am trying to build current head version of OpenCV (02/28/2013) on a 2008 MacBook Pro with CUDA 5.0 enabled. The configuration is : Mac Book Pro 15" (end 2008) with Intel Core 2 Duo 2.53GHz Mac OS X 10.7.5 clang 4.1 NVIDIA GeForce 9600M GT512MB CUDA 5.0 (V0.2.1221) make VERBOSE=1 gives me the following error : [ 23%] Building NVCC (Device) object modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_matrix_operations.cu.o cd /Users/mansencal/tools/opencv_git/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda &amp;&amp; "/Applications/CMake 2.8-10.app/Contents/bin/cmake" -E make_directory /Users/mansencal/tools/opencv_git/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/. cd /Users/mansencal/tools/opencv_git/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda &amp;&amp; "/Applications/CMake 2.8-10.app/Contents/bin/cmake" -D verbose:BOOL=1 -D build_configuration:STRING=Release -D generated_file:STRING=/Users/mansencal/tools/opencv_git/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_matrix_operations.cu.o -D generated_cubin_file:STRING=/Users/mansencal/tools/opencv_git/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_matrix_operations.cu.o.cubin.txt -P /Users/mansencal/tools/opencv_git/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_matrix_operations.cu.o.cmake -- Removing /Users/mansencal/tools/opencv_git/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_matrix_operations.cu.o "/Applications/CMake 2.8-10.app/Contents/bin/cmake" -E remove /Users/mansencal/tools/opencv_git/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_matrix_operations.cu.o -- Generating dependency file: /Users/mansencal/tools/opencv_git/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_matrix_operations.cu.o.NVCC-depend /usr/local/cuda/bin/nvcc -M -D__CUDACC__ /Users/mansencal/tools/opencv_git/modules/core/src/cuda/matrix_operations.cu -o /Users/mansencal/tools/opencv_git/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_matrix_operations.cu.o NVCC-depend -ccbin /usr/bin/cc -m64 -DHAVE_CVCONFIG_H -DHAVE_ALLOCA -DHAVE_ALLOCA_H -DHAVE_LIBPTHREAD -DHAVE_UNISTD_H -Xcompiler ,\"-O3\",\"-DNDEBUG\" -gencode arch=compute_11,code=sm_11 -gencode arch=compute_12,code=sm_12 -gencode arch=compute_13,code=sm_13 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_20,code=sm_21 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_20,code=compute_20 -gencode arch=compute_30,code=compute_30 -Xcompiler -DCVAPI_EXPORTS -Xcompiler -fPIC -Xcompiler -fno-finite-math-only -DNVCC -I/usr/local/cuda/include -I/Users/mansencal/tools/opencv_git/modules/gpu/include -I/Users/mansencal/tools/opencv_git/build/3rdparty/zlib -I/Users/mansencal/tools/opencv_git/3rdparty/zlib -I/Users/mansencal/tools/opencv_git/build/modules/core -I/Users/mansencal/tools/opencv_git/modules/core/src -I/Users/mansencal/tools/opencv_git/modules/core/include -I/Users/mansencal/tools/opencv_git/build -I/Users/mansencal/tools/tbb41_20130116oss/include -I/Users/mansencal/tools/eigen-3.1.2 -I/usr/local/cuda/include clang: error: unsupported option '-dumpspecs' clang: error: no input files CMake Error at cuda_compile_generated_matrix_operations.cu.o.cmake:206 (message): Error generating /Users/mansencal/tools/opencv_git/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_matrix_operations.cu.o make[2]: *** [modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_matrix_operations.cu.o] Error 1 make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Error 2 make: *** [all] Error 2 </code></pre></div> <h2 dir="auto">History</h2> <h5 dir="auto">Marina Kolpakova on 2013-03-01 08:33</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- Assignee set to Marina Kolpakova - Category set to gpu (cuda)"><pre class="notranslate"><code class="notranslate">- Assignee set to Marina Kolpakova - Category set to gpu (cuda) </code></pre></div> <h5 dir="auto">Boris Mansencal on 2013-03-13 17:29</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="It seems this is the same bug than Bug #2504. So it is not solved. It is related to the fact that -ccbin /usr/bin/cc is specified and /usr/bin/cc is a link to clang on recent MacOS X versions. It seems that it is FindCUDA.cmake, available with CMake 2.8.10, that sets CUDA_HOST_COMPILER to /usr/bin/cc."><pre class="notranslate"><code class="notranslate">It seems this is the same bug than Bug #2504. So it is not solved. It is related to the fact that -ccbin /usr/bin/cc is specified and /usr/bin/cc is a link to clang on recent MacOS X versions. It seems that it is FindCUDA.cmake, available with CMake 2.8.10, that sets CUDA_HOST_COMPILER to /usr/bin/cc. </code></pre></div> <h5 dir="auto">Marina Kolpakova on 2013-04-05 23:30</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- Assignee deleted (Marina Kolpakova)"><pre class="notranslate"><code class="notranslate">- Assignee deleted (Marina Kolpakova) </code></pre></div>
0
<p dir="auto">When I try to start the "Get Started with Free Code Camp" Waypoint, I keep getting this error "Oops! Something went wrong. Please try again later" making me unable to finish the waypoint.</p>
<p dir="auto">Login to FreeCodeCamp and go to the first way point for "Getting started with Free Code Camp"</p> <p dir="auto">I get a message "Oops Something went wrong. Please try again later"</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/11634760/10229200/dd1938a6-6844-11e5-8cf1-ee9811d4007b.png"><img src="https://cloud.githubusercontent.com/assets/11634760/10229200/dd1938a6-6844-11e5-8cf1-ee9811d4007b.png" alt="image" style="max-width: 100%;"></a></p>
1
<p dir="auto">Currently, Deno only sorts the imported and exported names from import and export specifiers. The goal is to also sort the import and export specifiers in a certain sort function.</p> <p dir="auto">Usually, I sort those specifiers in Node in this way,</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import 'style.css' // might be side effects module if JS import fs from 'fs' // default import import * as path from 'path' // namespace import import { ref } from 'vue' // normal named import // typed imports import type TypeC from 'abc' import type * as TypeC from 'abc' import type { TypeC } from 'abc'"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s">'style.css'</span> <span class="pl-c">// might be side effects module if JS</span> <span class="pl-k">import</span> <span class="pl-s1">fs</span> <span class="pl-k">from</span> <span class="pl-s">'fs'</span> <span class="pl-c">// default import</span> <span class="pl-k">import</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-s1">path</span> <span class="pl-k">from</span> <span class="pl-s">'path'</span> <span class="pl-c">// namespace import</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">ref</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'vue'</span> <span class="pl-c">// normal named import</span> <span class="pl-c">// typed imports</span> <span class="pl-k">import</span> <span class="pl-k">type</span> <span class="pl-smi">TypeC</span> <span class="pl-k">from</span> <span class="pl-s">'abc'</span> <span class="pl-k">import</span> <span class="pl-k">type</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-smi">TypeC</span> <span class="pl-k">from</span> <span class="pl-s">'abc'</span> <span class="pl-k">import</span> <span class="pl-k">type</span> <span class="pl-kos">{</span> <span class="pl-smi">TypeC</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'abc'</span></pre></div> <p dir="auto">Exports are also sorted in that way as well.</p> <p dir="auto">For Deno, I am thinking to sort like,</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import 'style.css' // might be side effects module if JS import fs from 'fs' // default import import * as path from 'path' // namespace import import { ref } from 'vue' // normal named import // url imports go into one section import fs from 'https://deno.land/std/node/fs.ts' /// ... the rest of imports // typed imports import type TypeC from 'abc' import type * as TypeC from 'abc' import type { TypeC } from 'abc' // type imports from url here import type { Colors } from 'https://deno.land/std/colors.ts'"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s">'style.css'</span> <span class="pl-c">// might be side effects module if JS</span> <span class="pl-k">import</span> <span class="pl-s1">fs</span> <span class="pl-k">from</span> <span class="pl-s">'fs'</span> <span class="pl-c">// default import</span> <span class="pl-k">import</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-s1">path</span> <span class="pl-k">from</span> <span class="pl-s">'path'</span> <span class="pl-c">// namespace import</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">ref</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'vue'</span> <span class="pl-c">// normal named import</span> <span class="pl-c">// url imports go into one section</span> <span class="pl-k">import</span> <span class="pl-s1">fs</span> <span class="pl-k">from</span> <span class="pl-s">'https://deno.land/std/node/fs.ts'</span> <span class="pl-c">/// ... the rest of imports</span> <span class="pl-c">// typed imports</span> <span class="pl-k">import</span> <span class="pl-k">type</span> <span class="pl-smi">TypeC</span> <span class="pl-k">from</span> <span class="pl-s">'abc'</span> <span class="pl-k">import</span> <span class="pl-k">type</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-smi">TypeC</span> <span class="pl-k">from</span> <span class="pl-s">'abc'</span> <span class="pl-k">import</span> <span class="pl-k">type</span> <span class="pl-kos">{</span> <span class="pl-smi">TypeC</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'abc'</span> <span class="pl-c">// type imports from url here</span> <span class="pl-k">import</span> <span class="pl-k">type</span> <span class="pl-kos">{</span> <span class="pl-smi">Colors</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'https://deno.land/std/colors.ts'</span></pre></div> <p dir="auto">I have checked that <code class="notranslate">dprint</code> can sort the import and export specifiers. But, Deno hasn't enabled them. I am not familiar with the code base, so I will let the core team decide the preferred way of sorting.</p> <p dir="auto">Some unresolved questions are how should <code class="notranslate">deno fmt</code> handle side effect imports? Should they be left as it is and let the users sort (since they will become one section after other imports are sorted)?</p> <p dir="auto">Thanks!</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { x, y } from &quot;./alphabet.ts&quot; import { foo, bar } from &quot;std/foo/bar.ts&quot; import { z } from &quot;./blah.ts&quot;"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">x</span><span class="pl-kos">,</span> <span class="pl-s1">y</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"./alphabet.ts"</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">foo</span><span class="pl-kos">,</span> <span class="pl-s1">bar</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"std/foo/bar.ts"</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">z</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"./blah.ts"</span></pre></div> <p dir="auto">imo would look better as</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { x, y } from &quot;./alphabet.ts&quot; import { z } from &quot;./blah.ts&quot; import { foo, bar } from &quot;std/foo/bar.ts&quot;"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">x</span><span class="pl-kos">,</span> <span class="pl-s1">y</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"./alphabet.ts"</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">z</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"./blah.ts"</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">foo</span><span class="pl-kos">,</span> <span class="pl-s1">bar</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"std/foo/bar.ts"</span></pre></div>
1
<h2 dir="auto">Feature request</h2> <p dir="auto">When outputting content targeting the <code class="notranslate">web</code> platform, it would be nice to have the option to output an es module for modern browsers. (I don't believe there is currently a way to do this - if there is it needs better documentation :P).</p> <p dir="auto"><strong>What is the expected behavior?</strong><br> Ideally, I would like to be able to have webpack output two entry files, an esmodule as well as what it currently outputs.<br> Then in the <code class="notranslate">index.html</code> file, both files can be loaded like this:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;head&gt; &lt;script nomodule src=&quot;bundle.js&quot; async&gt;&lt;/script&gt; &lt;script type=&quot;module&quot; src=&quot;bundle.mjs&quot; async&gt;&lt;/script&gt; &lt;/head&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">head</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">script</span> <span class="pl-c1">nomodule</span> <span class="pl-c1">src</span>="<span class="pl-s">bundle.js</span>" <span class="pl-c1">async</span><span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">script</span> <span class="pl-c1">type</span>="<span class="pl-s">module</span>" <span class="pl-c1">src</span>="<span class="pl-s">bundle.mjs</span>" <span class="pl-c1">async</span><span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">head</span><span class="pl-kos">&gt;</span></pre></div> <p dir="auto"><strong>What is motivation or use case for adding/changing the behavior?</strong><br> Supporting the modern web.</p> <p dir="auto"><strong>How should this be implemented in your opinion?</strong><br> Maybe something like this:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// webpack.config.js const config = { //... }; const webConfig = Object.assign({}, config, { target: 'web', //... }); const webModuleConfig = Object.assign({}, config, { target: 'web-module', //... }); module.exports = [ webConfig, webModuleConfig, ];"><pre class="notranslate"><span class="pl-c">// webpack.config.js</span> <span class="pl-k">const</span> <span class="pl-s1">config</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c">//...</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">webConfig</span> <span class="pl-c1">=</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">assign</span><span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-s1">config</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">target</span>: <span class="pl-s">'web'</span><span class="pl-kos">,</span> <span class="pl-c">//...</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">webModuleConfig</span> <span class="pl-c1">=</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">assign</span><span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-s1">config</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">target</span>: <span class="pl-s">'web-module'</span><span class="pl-kos">,</span> <span class="pl-c">//...</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">module</span><span class="pl-kos">.</span><span class="pl-c1">exports</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span> <span class="pl-s1">webConfig</span><span class="pl-kos">,</span> <span class="pl-s1">webModuleConfig</span><span class="pl-kos">,</span> <span class="pl-kos">]</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Are you willing to work on this yourself?</strong><br> Maybe but probably not. I'm still a novice when it comes to the webpack eco-system so I'd probably be at a loss on how to implement this.</p>
<p dir="auto"><strong>I'm submitting a feature request</strong></p> <p dir="auto">It would be nice, if <a href="https://github.com/webpack/docs/wiki/Configuration#outputlibrarytarget"><code class="notranslate">output.libraryTarget</code></a> could support the ES2015 module format.</p> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong></p> <p dir="auto">Say I develop a fancy component called <code class="notranslate">fancy-component</code> with webpack. I use a very custom config with specific loader settings e.g. for inlining images and stuff like that. My module exports <code class="notranslate">FancyComponent</code> and <code class="notranslate">BigFancyComponent</code>.</p> <p dir="auto">A friend develops a single page application and uses rollup to do that. He knows nothing about webpack, but wants to use my <code class="notranslate">FancyComponent</code>, but not <code class="notranslate">BigFancyComponent</code>. He installs <code class="notranslate">fancy-component</code> and imports <code class="notranslate">FancyComponent</code>. <code class="notranslate">BigFancyComponent</code> should not be included in the build (because of tree shaking).</p> <p dir="auto"><em>As far as I know</em> this is currently not possible. My friend would need <code class="notranslate">fancy-component</code> in a format using ES2015 modules. But currently these include webpack specific loader logic. I really need to publish <code class="notranslate">fancy-component</code> <em>without</em> webpack specific logic, but with ES2015 modules.</p>
1
<h3 dir="auto">First Check</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I added a very descriptive title to this issue.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I used the GitHub search to find a similar issue and didn't find it.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I searched the FastAPI documentation, with the integrated search.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already searched in Google "How to X in FastAPI" and didn't find any information.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already read and followed all the tutorial in the docs and didn't find an answer.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/samuelcolvin/pydantic">Pydantic</a>.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/swagger-api/swagger-ui">Swagger UI</a>.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/Redocly/redoc">ReDoc</a>.</li> </ul> <h3 dir="auto">Commit to Help</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I commit to help with one of those options 👆</li> </ul> <h3 dir="auto">Example Code</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from fastapi import FastAPI from pydantic import BaseModel, confloat app = FastAPI() LngLat = Tuple[confloat(ge=-180.0, le=180.0), confloat(ge=-90, le=90)] class Viewport(BaseModel): sw: LngLat ne: LngLat @app.get('/viewport', response_model=Viewport) def get_viewport(): return Viewport(sw=[-93, 36], ne=[-92, 37])"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">fastapi</span> <span class="pl-k">import</span> <span class="pl-v">FastAPI</span> <span class="pl-k">from</span> <span class="pl-s1">pydantic</span> <span class="pl-k">import</span> <span class="pl-v">BaseModel</span>, <span class="pl-s1">confloat</span> <span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-v">FastAPI</span>() <span class="pl-v">LngLat</span> <span class="pl-c1">=</span> <span class="pl-v">Tuple</span>[<span class="pl-en">confloat</span>(<span class="pl-s1">ge</span><span class="pl-c1">=</span><span class="pl-c1">-</span><span class="pl-c1">180.0</span>, <span class="pl-s1">le</span><span class="pl-c1">=</span><span class="pl-c1">180.0</span>), <span class="pl-en">confloat</span>(<span class="pl-s1">ge</span><span class="pl-c1">=</span><span class="pl-c1">-</span><span class="pl-c1">90</span>, <span class="pl-s1">le</span><span class="pl-c1">=</span><span class="pl-c1">90</span>)] <span class="pl-k">class</span> <span class="pl-v">Viewport</span>(<span class="pl-v">BaseModel</span>): <span class="pl-s1">sw</span>: <span class="pl-v">LngLat</span> <span class="pl-s1">ne</span>: <span class="pl-v">LngLat</span> <span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">get</span>(<span class="pl-s">'/viewport'</span>, <span class="pl-s1">response_model</span><span class="pl-c1">=</span><span class="pl-v">Viewport</span>)</span> <span class="pl-k">def</span> <span class="pl-en">get_viewport</span>(): <span class="pl-k">return</span> <span class="pl-v">Viewport</span>(<span class="pl-s1">sw</span><span class="pl-c1">=</span>[<span class="pl-c1">-</span><span class="pl-c1">93</span>, <span class="pl-c1">36</span>], <span class="pl-s1">ne</span><span class="pl-c1">=</span>[<span class="pl-c1">-</span><span class="pl-c1">92</span>, <span class="pl-c1">37</span>])</pre></div> <h3 dir="auto">Description</h3> <p dir="auto">The example code I've provided causes the openapi docs page to crash, with the following error displayed:</p> <blockquote> <p dir="auto"><strong>Failed to load API definition.</strong><br> <strong>Errors<br> Fetch error</strong><br> Internal Server Error /openapi.json</p> </blockquote> <p dir="auto">Due to the following stack trace:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" File &quot;/Users/hansbrende/miniconda3/envs/facade-api/lib/python3.8/site-packages/fastapi/applications.py&quot;, line 161, in openapi return JSONResponse(self.openapi()) File &quot;/Users/hansbrende/miniconda3/envs/facade-api/lib/python3.8/site-packages/fastapi/applications.py&quot;, line 136, in openapi self.openapi_schema = get_openapi( File &quot;/Users/hansbrende/miniconda3/envs/facade-api/lib/python3.8/site-packages/fastapi/openapi/utils.py&quot;, line 411, in get_openapi return jsonable_encoder(OpenAPI(**output), by_alias=True, exclude_none=True) # type: ignore File &quot;pydantic/main.py&quot;, line 406, in pydantic.main.BaseModel.__init__ pydantic.error_wrappers.ValidationError: 3 validation errors for OpenAPI components -&gt; schemas -&gt; Viewport -&gt; properties -&gt; sw -&gt; items value is not a valid dict (type=type_error.dict) components -&gt; schemas -&gt; Viewport -&gt; properties -&gt; ne -&gt; items value is not a valid dict (type=type_error.dict) components -&gt; schemas -&gt; Viewport -&gt; $ref field required (type=value_error.missing)"><pre class="notranslate"><code class="notranslate"> File "/Users/hansbrende/miniconda3/envs/facade-api/lib/python3.8/site-packages/fastapi/applications.py", line 161, in openapi return JSONResponse(self.openapi()) File "/Users/hansbrende/miniconda3/envs/facade-api/lib/python3.8/site-packages/fastapi/applications.py", line 136, in openapi self.openapi_schema = get_openapi( File "/Users/hansbrende/miniconda3/envs/facade-api/lib/python3.8/site-packages/fastapi/openapi/utils.py", line 411, in get_openapi return jsonable_encoder(OpenAPI(**output), by_alias=True, exclude_none=True) # type: ignore File "pydantic/main.py", line 406, in pydantic.main.BaseModel.__init__ pydantic.error_wrappers.ValidationError: 3 validation errors for OpenAPI components -&gt; schemas -&gt; Viewport -&gt; properties -&gt; sw -&gt; items value is not a valid dict (type=type_error.dict) components -&gt; schemas -&gt; Viewport -&gt; properties -&gt; ne -&gt; items value is not a valid dict (type=type_error.dict) components -&gt; schemas -&gt; Viewport -&gt; $ref field required (type=value_error.missing) </code></pre></div> <h3 dir="auto">Operating System</h3> <p dir="auto">macOS</p> <h3 dir="auto">Operating System Details</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">FastAPI Version</h3> <p dir="auto">0.68.0</p> <h3 dir="auto">Python Version</h3> <p dir="auto">Python 3.8.10</p> <h3 dir="auto">Additional Context</h3> <p dir="auto"><em>No response</em></p>
<h3 dir="auto">First Check</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I added a very descriptive title to this issue.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I used the GitHub search to find a similar issue and didn't find it.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I searched the FastAPI documentation, with the integrated search.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already searched in Google "How to X in FastAPI" and didn't find any information.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already read and followed all the tutorial in the docs and didn't find an answer.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/samuelcolvin/pydantic">Pydantic</a>.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/swagger-api/swagger-ui">Swagger UI</a>.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/Redocly/redoc">ReDoc</a>.</li> </ul> <h3 dir="auto">Commit to Help</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I commit to help with one of those options <g-emoji class="g-emoji" alias="point_up_2" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f446.png">👆</g-emoji></li> </ul> <h3 dir="auto">Example Code</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# main.py import uvicorn from fastapi import FastAPI, Form app = FastAPI() @app.post(&quot;/&quot;) def hello(arg: tuple[int, int] = Form(...)) -&gt; str: pass if __name__ == &quot;__main__&quot;: uvicorn.run(&quot;main:app&quot;, port=8080)"><pre class="notranslate"><span class="pl-c"># main.py</span> <span class="pl-k">import</span> <span class="pl-s1">uvicorn</span> <span class="pl-k">from</span> <span class="pl-s1">fastapi</span> <span class="pl-k">import</span> <span class="pl-v">FastAPI</span>, <span class="pl-v">Form</span> <span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-v">FastAPI</span>() <span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">post</span>(<span class="pl-s">"/"</span>)</span> <span class="pl-k">def</span> <span class="pl-en">hello</span>(<span class="pl-s1">arg</span>: <span class="pl-s1">tuple</span>[<span class="pl-s1">int</span>, <span class="pl-s1">int</span>] <span class="pl-c1">=</span> <span class="pl-v">Form</span>(...)) <span class="pl-c1">-&gt;</span> <span class="pl-s1">str</span>: <span class="pl-k">pass</span> <span class="pl-k">if</span> <span class="pl-s1">__name__</span> <span class="pl-c1">==</span> <span class="pl-s">"__main__"</span>: <span class="pl-s1">uvicorn</span>.<span class="pl-en">run</span>(<span class="pl-s">"main:app"</span>, <span class="pl-s1">port</span><span class="pl-c1">=</span><span class="pl-c1">8080</span>)</pre></div> <h3 dir="auto">Description</h3> <ol dir="auto"> <li>Run <code class="notranslate">pip install uvicorn fastapi==0.68.0</code>.</li> <li>Run <code class="notranslate">python ./main.py</code></li> <li>Hit <code class="notranslate">localhost:8080/docs</code>, observe internal server error with below validation errors:</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pydantic.error_wrappers.ValidationError: 2 validation errors for OpenAPI components -&gt; schemas -&gt; Body_hello__post -&gt; properties -&gt; arg -&gt; items value is not a valid dict (type=type_error.dict) components -&gt; schemas -&gt; Body_hello__post -&gt; $ref field required (type=value_error.missing)"><pre class="notranslate"><code class="notranslate">pydantic.error_wrappers.ValidationError: 2 validation errors for OpenAPI components -&gt; schemas -&gt; Body_hello__post -&gt; properties -&gt; arg -&gt; items value is not a valid dict (type=type_error.dict) components -&gt; schemas -&gt; Body_hello__post -&gt; $ref field required (type=value_error.missing) </code></pre></div> <ol start="4" dir="auto"> <li>Run <code class="notranslate">pip install fastapi==0.67.0</code></li> <li>Hit <code class="notranslate">localhost:8080/docs</code>, observe that endpoint documentation is successfully generated.</li> </ol> <h3 dir="auto">Operating System</h3> <p dir="auto">Linux</p> <h3 dir="auto">Operating System Details</h3> <p dir="auto">Ubuntu 20.04</p> <h3 dir="auto">FastAPI Version</h3> <p dir="auto">0.68.0 has bug, 0.67.0 does not have bug.</p> <h3 dir="auto">Python Version</h3> <p dir="auto">3.9</p> <h3 dir="auto">Additional Context</h3> <p dir="auto">Any use of <code class="notranslate">tuple</code> in an input (<code class="notranslate">Form</code>, and <code class="notranslate">BaseModel</code> as JSON) or output (<code class="notranslate">BaseModel</code> as JSON) results in above error.</p>
1
<p dir="auto"><a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.cov.html" rel="nofollow">https://docs.scipy.org/doc/numpy/reference/generated/numpy.cov.html</a></p> <p dir="auto">The ddof definition in the above link is incorrect. ddof should be 1 instead of 9.</p>
<p dir="auto">Documentation in <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.var.html#numpy.var" rel="nofollow">https://docs.scipy.org/doc/numpy/reference/generated/numpy.var.html#numpy.var</a> contains this statement</p> <blockquote> <p dir="auto">The variance is the average of the squared deviations from the mean, i.e., var = mean(abs(x - x.mean())**2).</p> <p dir="auto">The mean is normally calculated as x.sum() / N, where N = len(x). If, however, ddof is specified, the divisor N - ddof is used instead.</p> </blockquote> <p dir="auto">It is not clear which mean is calculated using <code class="notranslate">N - ddof</code> instead of <code class="notranslate">N</code>, and the first part of the second sentence suggests (to me, at least) that it's the inner mean - which is not the case (and rightly so).</p> <p dir="auto">Suggested (IMHO clearer) rewording:</p> <blockquote> <p dir="auto">The outer mean is normally calculated as t.sum() / N, where N = len(x). If, however, ddof is specified, the divisor N - ddof is used instead.</p> </blockquote> <p dir="auto">The same problem is present in the documentation for <code class="notranslate">nanvar</code>, <code class="notranslate">std</code> and <code class="notranslate">nanstd</code>. Similar rewording should make it clearer.</p>
1
<ol dir="auto"> <li>Use</li> </ol> <p dir="auto">pip3 install <a href="https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.10.1-py3-none-any.whl" rel="nofollow">https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.10.1-py3-none-any.whl</a></p> <p dir="auto">to install</p> <ol start="2" dir="auto"> <li>just run a hello-world:</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="File &quot;tf_beginner.py&quot;, line 2, in &lt;module&gt; import tensorflow as tf File &quot;/Users/ /Desktop/dev/AI/TF_ENV/lib/python3.7/site-packages/tensorflow/__init__.py&quot;, line 22, in &lt;module&gt; from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import File &quot;/Users/ /Desktop/dev/AI/TF_ENV/lib/python3.7/site-packages/tensorflow/python/__init__.py&quot;, line 49, in &lt;module&gt; from tensorflow.python import pywrap_tensorflow File &quot;/Users/ /Desktop/dev/AI/TF_ENV/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow.py&quot;, line 58, in &lt;module&gt; from tensorflow.python.pywrap_tensorflow_internal import * File &quot;/Users/ /Desktop/dev/AI/TF_ENV/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py&quot;, line 114 def TFE_ContextOptionsSetAsync(arg1, async): ^ SyntaxError: invalid syntax "><pre class="notranslate"><code class="notranslate">File "tf_beginner.py", line 2, in &lt;module&gt; import tensorflow as tf File "/Users/ /Desktop/dev/AI/TF_ENV/lib/python3.7/site-packages/tensorflow/__init__.py", line 22, in &lt;module&gt; from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import File "/Users/ /Desktop/dev/AI/TF_ENV/lib/python3.7/site-packages/tensorflow/python/__init__.py", line 49, in &lt;module&gt; from tensorflow.python import pywrap_tensorflow File "/Users/ /Desktop/dev/AI/TF_ENV/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in &lt;module&gt; from tensorflow.python.pywrap_tensorflow_internal import * File "/Users/ /Desktop/dev/AI/TF_ENV/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 114 def TFE_ContextOptionsSetAsync(arg1, async): ^ SyntaxError: invalid syntax </code></pre></div>
<p dir="auto">I'm sure developers are working hard to catch up with Python 3.7.<br> Is there any timeline?</p> <p dir="auto">pip3 install tensorflow - apparently does not work, building from source:</p> <p dir="auto">OS Platform and Distribution: Mac OS X 10.13.5<br> Python: Python 3.7.0 (Homebrew)<br> TensorFlow installed from: source (<a href="https://github.com/tensorflow/tensorflow.git">https://github.com/tensorflow/tensorflow.git</a>)<br> TensorFlow version: TensorFlow 1.9.0-rc2<br> Bazel version:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Build label: 0.15.0-homebrew Build target: bazel-out/darwin-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Tue Jun 26 12:42:27 2018 (1530016947) Build timestamp: 1530016947 Build timestamp as int: 1530016947"><pre class="notranslate"><code class="notranslate">Build label: 0.15.0-homebrew Build target: bazel-out/darwin-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Tue Jun 26 12:42:27 2018 (1530016947) Build timestamp: 1530016947 Build timestamp as int: 1530016947 </code></pre></div> <p dir="auto">CUDA/cuDNN version: None<br> GPU model and memory: None<br> Exact command to reproduce:<br> <code class="notranslate">bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package</code></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Starting local Bazel server and connecting to it... ........................... WARNING: /private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/grpc/BUILD:1992:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_common.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in /private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/grpc/bazel/grpc_build_system.bzl:172:12 WARNING: /private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/grpc/BUILD:1992:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_decode.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in /private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/grpc/bazel/grpc_build_system.bzl:172:12 WARNING: /private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/grpc/BUILD:1992:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_encode.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in /private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/grpc/bazel/grpc_build_system.bzl:172:12 WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:exporter': No longer supported. Switch to SavedModel immediately. WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:gc': No longer supported. Switch to SavedModel immediately. WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/timeseries/python/timeseries/BUILD:356:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries:ar_model: target '//tensorflow/contrib/timeseries/python/timeseries:ar_model' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`. WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:73:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`. WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:230:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`. WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/bayesflow/BUILD:17:1: in py_library rule //tensorflow/contrib/bayesflow:bayesflow_py: target '//tensorflow/contrib/bayesflow:bayesflow_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`. WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/seq2seq/BUILD:23:1: in py_library rule //tensorflow/contrib/seq2seq:seq2seq_py: target '//tensorflow/contrib/seq2seq:seq2seq_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`. WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/kfac/python/ops/BUILD:80:1: in py_library rule //tensorflow/contrib/kfac/python/ops:loss_functions: target '//tensorflow/contrib/kfac/python/ops:loss_functions' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`. WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/BUILD:14:1: in py_library rule //tensorflow/contrib:contrib_py: target '//tensorflow/contrib:contrib_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`. INFO: Analysed target //tensorflow/tools/pip_package:build_pip_package (303 packages loaded). INFO: Found 1 target... INFO: From Linking external/grpc/libgrpc_base_c.a [for host]: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(endpoint_pair_uv.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(endpoint_pair_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(ev_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(fork_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(gethostname_fallback.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(gethostname_host_name_max.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(iocp_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(iomgr_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(pollset_set_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(pollset_uv.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(pollset_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(resolve_address_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(socket_utils_linux.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(socket_utils_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(socket_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(tcp_client_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(tcp_server_utils_posix_noifaddrs.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(tcp_server_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(tcp_uv.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(tcp_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(timer_uv.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(unix_sockets_posix_noop.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(wakeup_fd_eventfd.o) has no symbols INFO: From Linking external/grpc/libalts_util.a [for host]: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libalts_util.a(check_gcp_environment_linux.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libalts_util.a(check_gcp_environment_windows.o) has no symbols INFO: From Linking external/grpc/libtsi.a [for host]: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libtsi.a(ssl_session_openssl.o) has no symbols INFO: From Linking external/grpc/libgrpc++_base.a [for host]: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc++_base.a(rpc_method.o) has no symbols INFO: From Linking external/grpc/libgpr_base.a [for host]: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(cpu_iphone.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(cpu_linux.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(cpu_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(env_linux.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(env_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(log_android.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(log_linux.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(log_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(string_util_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(string_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(sync_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(time_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(tls_pthread.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(tmpfile_msys.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(tmpfile_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(wrap_memcpy.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(thd_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(stap_timers.o) has no symbols INFO: From Linking external/grpc/third_party/address_sorting/libaddress_sorting.a [for host]: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/third_party/address_sorting/libaddress_sorting.a(address_sorting_windows.o) has no symbols ERROR: /Users/zardoz/Projects/tensorflow/tensorflow/python/BUILD:5315:1: Executing genrule //tensorflow/python:framework/fast_tensor_util.pyx_cython_translation failed (Exit 1) Traceback (most recent call last): File &quot;/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/execroot/org_tensorflow/bazel-out/host/bin/external/cython/cython_binary.runfiles/cython/cython.py&quot;, line 17, in &lt;module&gt; main(command_line = 1) File &quot;/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/Main.py&quot;, line 720, in main result = compile(sources, options) File &quot;/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/Main.py&quot;, line 695, in compile return compile_multiple(source, options) File &quot;/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/Main.py&quot;, line 666, in compile_multiple context = options.create_context() File &quot;/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/Main.py&quot;, line 590, in create_context self.cplus, self.language_level, options=self) File &quot;/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/Main.py&quot;, line 75, in __init__ from . import Builtin, CythonScope File &quot;/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/CythonScope.py&quot;, line 5, in &lt;module&gt; from .UtilityCode import CythonUtilityCode File &quot;/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/UtilityCode.py&quot;, line 3, in &lt;module&gt; from .TreeFragment import parse_from_strings, StringParseContext File &quot;/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/TreeFragment.py&quot;, line 17, in &lt;module&gt; from .Visitor import VisitorTransform File &quot;/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/Visitor.py&quot;, line 15, in &lt;module&gt; from . import ExprNodes File &quot;/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/ExprNodes.py&quot;, line 2875 await = None ^ SyntaxError: invalid syntax Target //tensorflow/tools/pip_package:build_pip_package failed to build Use --verbose_failures to see the command lines of failed build steps. INFO: Elapsed time: 179.318s, Critical Path: 6.38s INFO: 413 processes: 413 local. FAILED: Build did NOT complete successfully"><pre class="notranslate"><code class="notranslate">Starting local Bazel server and connecting to it... ........................... WARNING: /private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/grpc/BUILD:1992:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_common.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in /private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/grpc/bazel/grpc_build_system.bzl:172:12 WARNING: /private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/grpc/BUILD:1992:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_decode.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in /private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/grpc/bazel/grpc_build_system.bzl:172:12 WARNING: /private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/grpc/BUILD:1992:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_encode.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in /private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/grpc/bazel/grpc_build_system.bzl:172:12 WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:exporter': No longer supported. Switch to SavedModel immediately. WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:gc': No longer supported. Switch to SavedModel immediately. WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/timeseries/python/timeseries/BUILD:356:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries:ar_model: target '//tensorflow/contrib/timeseries/python/timeseries:ar_model' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`. WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:73:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`. WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:230:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`. WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/bayesflow/BUILD:17:1: in py_library rule //tensorflow/contrib/bayesflow:bayesflow_py: target '//tensorflow/contrib/bayesflow:bayesflow_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`. WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/seq2seq/BUILD:23:1: in py_library rule //tensorflow/contrib/seq2seq:seq2seq_py: target '//tensorflow/contrib/seq2seq:seq2seq_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`. WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/kfac/python/ops/BUILD:80:1: in py_library rule //tensorflow/contrib/kfac/python/ops:loss_functions: target '//tensorflow/contrib/kfac/python/ops:loss_functions' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`. WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/BUILD:14:1: in py_library rule //tensorflow/contrib:contrib_py: target '//tensorflow/contrib:contrib_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`. INFO: Analysed target //tensorflow/tools/pip_package:build_pip_package (303 packages loaded). INFO: Found 1 target... INFO: From Linking external/grpc/libgrpc_base_c.a [for host]: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(endpoint_pair_uv.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(endpoint_pair_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(ev_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(fork_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(gethostname_fallback.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(gethostname_host_name_max.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(iocp_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(iomgr_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(pollset_set_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(pollset_uv.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(pollset_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(resolve_address_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(socket_utils_linux.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(socket_utils_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(socket_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(tcp_client_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(tcp_server_utils_posix_noifaddrs.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(tcp_server_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(tcp_uv.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(tcp_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(timer_uv.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(unix_sockets_posix_noop.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(wakeup_fd_eventfd.o) has no symbols INFO: From Linking external/grpc/libalts_util.a [for host]: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libalts_util.a(check_gcp_environment_linux.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libalts_util.a(check_gcp_environment_windows.o) has no symbols INFO: From Linking external/grpc/libtsi.a [for host]: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libtsi.a(ssl_session_openssl.o) has no symbols INFO: From Linking external/grpc/libgrpc++_base.a [for host]: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc++_base.a(rpc_method.o) has no symbols INFO: From Linking external/grpc/libgpr_base.a [for host]: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(cpu_iphone.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(cpu_linux.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(cpu_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(env_linux.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(env_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(log_android.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(log_linux.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(log_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(string_util_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(string_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(sync_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(time_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(tls_pthread.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(tmpfile_msys.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(tmpfile_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(wrap_memcpy.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(thd_windows.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(stap_timers.o) has no symbols INFO: From Linking external/grpc/third_party/address_sorting/libaddress_sorting.a [for host]: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/third_party/address_sorting/libaddress_sorting.a(address_sorting_windows.o) has no symbols ERROR: /Users/zardoz/Projects/tensorflow/tensorflow/python/BUILD:5315:1: Executing genrule //tensorflow/python:framework/fast_tensor_util.pyx_cython_translation failed (Exit 1) Traceback (most recent call last): File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/execroot/org_tensorflow/bazel-out/host/bin/external/cython/cython_binary.runfiles/cython/cython.py", line 17, in &lt;module&gt; main(command_line = 1) File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/Main.py", line 720, in main result = compile(sources, options) File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/Main.py", line 695, in compile return compile_multiple(source, options) File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/Main.py", line 666, in compile_multiple context = options.create_context() File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/Main.py", line 590, in create_context self.cplus, self.language_level, options=self) File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/Main.py", line 75, in __init__ from . import Builtin, CythonScope File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/CythonScope.py", line 5, in &lt;module&gt; from .UtilityCode import CythonUtilityCode File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/UtilityCode.py", line 3, in &lt;module&gt; from .TreeFragment import parse_from_strings, StringParseContext File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/TreeFragment.py", line 17, in &lt;module&gt; from .Visitor import VisitorTransform File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/Visitor.py", line 15, in &lt;module&gt; from . import ExprNodes File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/ExprNodes.py", line 2875 await = None ^ SyntaxError: invalid syntax Target //tensorflow/tools/pip_package:build_pip_package failed to build Use --verbose_failures to see the command lines of failed build steps. INFO: Elapsed time: 179.318s, Critical Path: 6.38s INFO: 413 processes: 413 local. FAILED: Build did NOT complete successfully </code></pre></div>
1
<h3 dir="auto">System information</h3> <ul dir="auto"> <li><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>: No</li> <li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: Ubuntu 16.04 LTS</li> <li><strong>TensorFlow installed from (source or binary)</strong>: source</li> <li><strong>TensorFlow version (use command below)</strong>: 1.1 (latest master)</li> <li><strong>Bazel version (if compiling from source)</strong>: 0.4.5</li> <li><strong>CUDA/cuDNN version</strong>: 8.0/5.1</li> <li><strong>GPU model and memory</strong>: Tegra X1</li> <li><strong>Exact command to reproduce</strong>:<br> bazel build --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package</li> </ul> <h3 dir="auto">Describe the problem</h3> <p dir="auto">Using the bazel build command above, I am unable to find a valid toolchain to support the aarch64 architecture in the Jetson TX1. However, by removing the <code class="notranslate">--config=cuda</code> option, the error is gone, although I am still unable to finish building the pip file (probably due to the fact that I configured TF for GPU using <code class="notranslate">./configure</code>).</p> <p dir="auto">Note: I changed the bazel files as seen in this guide: <a href="http://zhiyisun.github.io/2017/02/15/Running-Google-Machine-Learning-Library-Tensorflow-On-ARM-64-bit-Platform.html" rel="nofollow">http://zhiyisun.github.io/2017/02/15/Running-Google-Machine-Learning-Library-Tensorflow-On-ARM-64-bit-Platform.html</a> , in order to get bazel to build for aarch64.</p> <p dir="auto">Is there anything more that I have to change? using the suggested command of <code class="notranslate">bazel build -c opt --copt="-funsafe-math-optimizations" --copt="-ftree-vectorize" --copt="-fomit-frame-pointer" --verbose_failures tensorflow/tools/pip_package:build_pip_package</code> I get the same error too.</p> <p dir="auto">I saw this issue over here: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="179924041" data-permission-text="Title is private" data-url="https://github.com/bazelbuild/bazel/issues/1855" data-hovercard-type="issue" data-hovercard-url="/bazelbuild/bazel/issues/1855/hovercard" href="https://github.com/bazelbuild/bazel/issues/1855">bazelbuild/bazel#1855</a><br> and it says it has something related to the cuda crosstool. Is there a way to fix this to configure TensorFlow-GPU on the Jetson TX1?</p> <p dir="auto">Thank you for your help. :D</p> <h3 dir="auto">Source code / logs</h3> <p dir="auto">Here is the error I got:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ubuntu@tegra-ubuntu:~/tensorflow$ bazel build --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package WARNING: Sandboxed execution is not supported on your system and thus hermeticity of actions cannot be guaranteed. See http://bazel.build/docs/bazel-user-manual.html#sandboxing for more information. You can turn off this warning via --ignore_unsupported_sandboxing. ERROR: No toolchain found for cpu 'aarch64'. Valid cpus are: [ k8, piii, arm, darwin, ppc, ]. INFO: Elapsed time: 1.589s "><pre class="notranslate"><code class="notranslate">ubuntu@tegra-ubuntu:~/tensorflow$ bazel build --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package WARNING: Sandboxed execution is not supported on your system and thus hermeticity of actions cannot be guaranteed. See http://bazel.build/docs/bazel-user-manual.html#sandboxing for more information. You can turn off this warning via --ignore_unsupported_sandboxing. ERROR: No toolchain found for cpu 'aarch64'. Valid cpus are: [ k8, piii, arm, darwin, ppc, ]. INFO: Elapsed time: 1.589s </code></pre></div>
<h3 dir="auto">System information</h3> <ul dir="auto"> <li>OS Platform and Distribution: Linux Ubuntu 16.4</li> <li>Bazel version (if compiling from source): 0.4.4</li> <li>CUDA/cuDNN version: cuda-8.0</li> </ul> <h3 dir="auto">Describe the problem</h3> <p dir="auto">I want to install tensorflow 1.0.0 in Nvidia TX1. I am following <a href="http://www.yuthon.com/2017/03/10/TensorFlow-r1-0-on-TX1/" rel="nofollow">this</a> so as to install version 1.0.0. But while installing bazel-0.4.4... I am getting this error</p> <h3 dir="auto">Logs</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="INFO: You can skip this first step by providing a path to the bazel binary as second argument: INFO: ./compile.sh compile /path/to/bazel 🍃 Building Bazel from scratch....... 🍃 Building Bazel with Bazel. .WARNING: /tmp/bazel_OpcCR2sk/out/external/bazel_tools/WORKSPACE:1: Workspace name in /tmp/bazel_OpcCR2sk/out/external/bazel_tools/WORKSPACE (@io_bazel) does not match the name given in the repository's definition (@bazel_tools); this will cause a build error in future versions. ERROR: No toolchain found for cpu 'unknown'. Valid cpus are: [ arm, armeabi-v7a, x64_windows_msvc, s390x, ]. INFO: Elapsed time: 6.533s ERROR: Could not build Bazel cp: cannot stat 'output/bazel': No such file or directory"><pre class="notranslate"><code class="notranslate">INFO: You can skip this first step by providing a path to the bazel binary as second argument: INFO: ./compile.sh compile /path/to/bazel 🍃 Building Bazel from scratch....... 🍃 Building Bazel with Bazel. .WARNING: /tmp/bazel_OpcCR2sk/out/external/bazel_tools/WORKSPACE:1: Workspace name in /tmp/bazel_OpcCR2sk/out/external/bazel_tools/WORKSPACE (@io_bazel) does not match the name given in the repository's definition (@bazel_tools); this will cause a build error in future versions. ERROR: No toolchain found for cpu 'unknown'. Valid cpus are: [ arm, armeabi-v7a, x64_windows_msvc, s390x, ]. INFO: Elapsed time: 6.533s ERROR: Could not build Bazel cp: cannot stat 'output/bazel': No such file or directory </code></pre></div> <p dir="auto">Any suggestion on this, why this is happing, really helpful.</p> <p dir="auto">Thanks,</p>
1
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong><br> This probably is a feature request since the root of this is considering the build tooling and questions on how to proceed with my efforts.</p> <p dir="auto"><strong>What is the current behavior?</strong><br> No native ecmascript module output and the current build tools don't easily allow adding a native ecmascript module build target.</p> <p dir="auto">While investigating a workflow using a native ecmascript module version of React (and ReactDOM) in browsers I found no implementation which outputs native ecmascript modules.<br> One can use a wrapped version of the transpiled versions with added export statements but transpiling would not be necessary for browsers supporting ecmascript modules natively.<br> Even spread operators are supported by these browsers although they're not fully supported by AST generators or other tools due to the fact that the spec for that isn't finalised.</p> <p dir="auto">After some test projects and different build tools I built a simple proof of concept which outputs ecmascript modules that can be used in modern browsers.<br> The challenge (and question I have) is that the tools and settings used in the POC contradict the current build settings and tools.<br> So I am wondering if this is something that can be added as a build target or that this is something that is better suitable for an external repo for the time being...</p> <p dir="auto">I would love to make this happen but I would like to hear if this is something that is deemed worth while and if so in what would be the preferred way of implementing this.<br> During my investigation I did not find an easy way of doing so without changing a considerable amount of code and build tooling. Making this a relatively high risk endeavour.<br> Webpack vs Rollup, different settings needed for Babel, and named exports instead of CommonJS module.exports pattern to name a few, and all the effects those have on the build process make this somewhat complex.</p> <p dir="auto">To clarify some things, these are links to the POC's:<br> repo which outputs native ecmascript modules for React and ReactDOM: <a href="https://github.com/wearespindle/react-ecmascript">https://github.com/wearespindle/react-ecmascript</a><br> repo with a minimal setup to test if a working app can be made these modules in a browser: <a href="https://github.com/PM5544/module-test">https://github.com/PM5544/module-test</a></p> <p dir="auto"><strong>What is the expected behavior?</strong><br> Preferably a build target for native ecmascript modules.</p> <p dir="auto"><strong>Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?</strong><br> not relevant</p>
<p dir="auto">Currently we only ship CommonJS versions of all packages. However we might want to ship them as ESM in the future (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="237665439" data-permission-text="Title is private" data-url="https://github.com/facebook/react/issues/10021" data-hovercard-type="issue" data-hovercard-url="/facebook/react/issues/10021/hovercard" href="https://github.com/facebook/react/issues/10021">#10021</a>).</p> <p dir="auto">We can't quite easily do this because we haven't really decided on what top-level ES exports would look like from each package. For example, does <code class="notranslate">react</code> have a bunch of named exports, but also a default export called <code class="notranslate">React</code>? Should we encourage people to <code class="notranslate">import *</code> for better tree shaking? What about <code class="notranslate">react-test-renderer/shallow</code> that currently exports a class (and thus would start failing in Node were it converted to be a default export)?</p>
1
<p dir="auto">I can get the following on Julia 1.6.1:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia&gt; foo() = ===(0) foo (generic function with 1 method) julia&gt; foo() Internal error: encountered unexpected error in runtime: BoundsError(a=Array{Any, (2,)}[ Main.:(===), 0], i=(3,)) jl_bounds_error_ints at /buildworker/worker/package_linux64/build/src/rtutils.c:186"><pre class="notranslate"><code class="notranslate">julia&gt; foo() = ===(0) foo (generic function with 1 method) julia&gt; foo() Internal error: encountered unexpected error in runtime: BoundsError(a=Array{Any, (2,)}[ Main.:(===), 0], i=(3,)) jl_bounds_error_ints at /buildworker/worker/package_linux64/build/src/rtutils.c:186 </code></pre></div> <p dir="auto">The syntax may indeed be invalid, but it doesn't produce a friendly error.</p>
<p dir="auto">This needs to be implemented in <code class="notranslate">task.c</code>. After copying all the fields of the <code class="notranslate">jl_task_t</code>, the following extra changes are needed:</p> <ul dir="auto"> <li>deepcopy <code class="notranslate">tls</code></li> <li>set <code class="notranslate">consumers</code> to <code class="notranslate">jl_nothing</code></li> <li>set <code class="notranslate">donenotify</code> to <code class="notranslate">jl_nothing</code></li> <li>allocate with <code class="notranslate">allocb</code> a copy of <code class="notranslate">stkbuf</code>, which is <code class="notranslate">bufsz</code> bytes</li> </ul> <p dir="auto">I think there is a chance that will work.</p>
0
<p dir="auto">With Wn=2 I correctly got the message</p> <p dir="auto"><code class="notranslate">ValueError: Digital filter critical frequencies must be 0 &lt; Wn &lt; 1</code></p> <p dir="auto">But actually Wm=1 is accepted without error. The message should be changed to <code class="notranslate">0 &lt; Wn &lt;= 1</code> if 1 is allowed.</p>
<p dir="auto">When using <code class="notranslate">scipy.singal.iirfilter</code> (or any other related filter design method), it is possible to trigger the error <code class="notranslate">Digital filter critical frequencies must be 0 &lt; Wn &lt; 1</code>:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from scipy.signal import iirfilter iirfilter(2, Wn=5, btype='low')"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">scipy</span>.<span class="pl-s1">signal</span> <span class="pl-k">import</span> <span class="pl-s1">iirfilter</span> <span class="pl-en">iirfilter</span>(<span class="pl-c1">2</span>, <span class="pl-v">Wn</span><span class="pl-c1">=</span><span class="pl-c1">5</span>, <span class="pl-s1">btype</span><span class="pl-c1">=</span><span class="pl-s">'low'</span>)</pre></div> <p dir="auto">This error message is correct and helpful in the default case, but when the newish <code class="notranslate">fs</code> parameter is used, the error message is misleading/wrong:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from scipy.signal import iirfilter iirfilter(2, Wn=600, fs=1000, btype='low') # Error message iirfilter(2, Wn=300, fs=1000, btype='low') # No Error message"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">scipy</span>.<span class="pl-s1">signal</span> <span class="pl-k">import</span> <span class="pl-s1">iirfilter</span> <span class="pl-en">iirfilter</span>(<span class="pl-c1">2</span>, <span class="pl-v">Wn</span><span class="pl-c1">=</span><span class="pl-c1">600</span>, <span class="pl-s1">fs</span><span class="pl-c1">=</span><span class="pl-c1">1000</span>, <span class="pl-s1">btype</span><span class="pl-c1">=</span><span class="pl-s">'low'</span>) <span class="pl-c"># Error message</span> <span class="pl-en">iirfilter</span>(<span class="pl-c1">2</span>, <span class="pl-v">Wn</span><span class="pl-c1">=</span><span class="pl-c1">300</span>, <span class="pl-s1">fs</span><span class="pl-c1">=</span><span class="pl-c1">1000</span>, <span class="pl-s1">btype</span><span class="pl-c1">=</span><span class="pl-s">'low'</span>) <span class="pl-c"># No Error message</span></pre></div> <p dir="auto">This error message is generated in <a href="https://github.com/scipy/scipy/blob/b3a2071ce3952748c5e98ef7328d2b8eab77b2dc/scipy/signal/filter_design.py#L2346">this line</a>:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="if not analog: if numpy.any(Wn &lt;= 0) or numpy.any(Wn &gt;= 1): raise ValueError(&quot;Digital filter critical frequencies &quot; &quot;must be 0 &lt; Wn &lt; 1&quot;)"><pre class="notranslate"><span class="pl-k">if</span> <span class="pl-c1">not</span> <span class="pl-s1">analog</span>: <span class="pl-k">if</span> <span class="pl-s1">numpy</span>.<span class="pl-en">any</span>(<span class="pl-v">Wn</span> <span class="pl-c1">&lt;=</span> <span class="pl-c1">0</span>) <span class="pl-c1">or</span> <span class="pl-s1">numpy</span>.<span class="pl-en">any</span>(<span class="pl-v">Wn</span> <span class="pl-c1">&gt;=</span> <span class="pl-c1">1</span>): <span class="pl-k">raise</span> <span class="pl-v">ValueError</span>(<span class="pl-s">"Digital filter critical frequencies "</span> <span class="pl-s">"must be 0 &lt; Wn &lt; 1"</span>)</pre></div> <p dir="auto">I would suggest to change it to:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="if not analog: if numpy.any(Wn &lt;= 0) or numpy.any(Wn &gt;= 1): if fs is not None: raise ValueError(&quot;Digital filter critical frequencies &quot; &quot;must be 0 &lt; Wn &lt; fs/2 (fs={})&quot;.format(fs)) raise ValueError(&quot;Digital filter critical frequencies &quot; &quot;must be 0 &lt; Wn &lt; 1&quot;)"><pre class="notranslate"><span class="pl-k">if</span> <span class="pl-c1">not</span> <span class="pl-s1">analog</span>: <span class="pl-k">if</span> <span class="pl-s1">numpy</span>.<span class="pl-en">any</span>(<span class="pl-v">Wn</span> <span class="pl-c1">&lt;=</span> <span class="pl-c1">0</span>) <span class="pl-c1">or</span> <span class="pl-s1">numpy</span>.<span class="pl-en">any</span>(<span class="pl-v">Wn</span> <span class="pl-c1">&gt;=</span> <span class="pl-c1">1</span>): <span class="pl-k">if</span> <span class="pl-s1">fs</span> <span class="pl-c1">is</span> <span class="pl-c1">not</span> <span class="pl-c1">None</span>: <span class="pl-k">raise</span> <span class="pl-v">ValueError</span>(<span class="pl-s">"Digital filter critical frequencies "</span> <span class="pl-s">"must be 0 &lt; Wn &lt; fs/2 (fs={})"</span>.<span class="pl-en">format</span>(<span class="pl-s1">fs</span>)) <span class="pl-k">raise</span> <span class="pl-v">ValueError</span>(<span class="pl-s">"Digital filter critical frequencies "</span> <span class="pl-s">"must be 0 &lt; Wn &lt; 1"</span>)</pre></div> <p dir="auto">If this is ok, I would start a pull request with this change</p>
1
<h3 dir="auto">Preflight Checklist</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li> </ul> <h3 dir="auto">Issue Details</h3> <ul dir="auto"> <li><strong>Electron Version:</strong> <ul dir="auto"> <li>v2.0.18</li> <li>macOS 10.15.1</li> </ul> </li> <li><strong>Last Known Working Electron version:</strong> <ul dir="auto"> <li> </li> </ul> </li> </ul> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">Login input fields should not show the LastPass Chrome extension icon.</p> <h3 dir="auto">Actual Behavior</h3> <p dir="auto">I see the LastPass icon in the login fields.</p> <h3 dir="auto">To Reproduce</h3> <p dir="auto">Create a login form using Bootstrap and install the LastPass Chrome extension in the Chrome app.</p> <h3 dir="auto">Screenshots</h3> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/44813512/70196176-c13ec300-16bc-11ea-9c35-15f707b30701.png"><img src="https://user-images.githubusercontent.com/44813512/70196176-c13ec300-16bc-11ea-9c35-15f707b30701.png" alt="image" style="max-width: 100%;"></a></p> <h3 dir="auto">Additional Information</h3>
<h3 dir="auto">Preflight Checklist</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://www.github.com/electron/electron/issues">issue tracker</a> for a feature request that matches the one I want to file, without success.</li> </ul> <h3 dir="auto">Electron Version</h3> <p dir="auto">12^</p> <h3 dir="auto">Operating System Version</h3> <p dir="auto">Windows 10 v19042</p> <h3 dir="auto">What arch are you using?</h3> <p dir="auto">x64</p> <h3 dir="auto">Last Known Working Electron version</h3> <p dir="auto">11 downwards</p> <h3 dir="auto">Expected Behavior (Electron 11 and older)</h3> <p dir="auto">notifications would close after timeout, not appearing the windows 10 notification center. (and thus not duplicating)</p> <blockquote> <p dir="auto">In the gist with v11 you can see it logs "notification closed" when it timeout</p> </blockquote> <h3 dir="auto">Actual Behavior (Electron 12 and newer)</h3> <p dir="auto">After the notification timeout - it moves to the notification center without closing and also <strong>can't be closed programmatically</strong><br> (notification.close doesn't do anything IF it has already timeout and moved to notification center)</p> <p dir="auto">which can result in a spam of notifications in notification center</p> <blockquote> <p dir="auto">In the gist with v12/13 you can see the notification doesn't close on timeout + <code class="notranslate">oldNotification.close()</code> only works if the old notification hasn't timed out yet</p> </blockquote> <h3 dir="auto">Testcase Gist URL</h3> <p dir="auto"><a href="https://gist.github.com/a1c1ac4c057370540be18e0b5aeefb89">https://gist.github.com/a1c1ac4c057370540be18e0b5aeefb89</a></p> <h3 dir="auto">Additional Information</h3> <p dir="auto">I found no documentation or breaking change that indicate any modifications in notification API</p> <p dir="auto">reported at <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="912670740" data-permission-text="Title is private" data-url="https://github.com/th-ch/youtube-music/issues/312" data-hovercard-type="issue" data-hovercard-url="/th-ch/youtube-music/issues/312/hovercard" href="https://github.com/th-ch/youtube-music/issues/312">th-ch/youtube-music#312</a><br> tested by me on multiple versions of electron 11, 12 and 13 - including latest releases</p> <p dir="auto">if this doesn't get directly fixed - there should atleast be an option "close on timeout" that allows using that functionality and avoid spamming the notification center</p>
0
<p dir="auto">I propose including the SourceFile being emitted in the emit callback.</p> <p dir="auto"><strong>TypeScript Version:</strong></p> <p dir="auto">1.7.5 / 1.8.0-beta / nightly (1.9.0-dev.20160217)</p> <p dir="auto"><strong>Code</strong></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import * as ts from 'typescript'; import * as fs from 'fs'; import * as fse from 'fse'; const fileName = 'index.ts'; const fileNames = [fileName]; class LocalHost implements ts.LanguageServiceHost { getCompilationSettings(): ts.CompilerOptions { return { experimentalDecorators: true, modules: ts.ModuleKind.CommonJS, target: ts.ScriptTarget.ES5 }; } getProjectVersion(): string { return &quot;1&quot;;} getScriptFileNames(): string[] { return fileNames; } getScriptVersion(fileName: string): string { return &quot;1&quot;; } getCurrentDirectory(): string { return dir; } getScriptSnapshot(fileName: string): ts.IScriptSnapshot { const filteredName = nameFilter(fileName); if (fs.existsSync(filteredName)) return ts.ScriptSnapshot.fromString(fs.readFileSync(filteredName, 'utf8')); } getDefaultLibFileName(options: ts.CompilerOptions): string { return './node_modules/typescript/lib/lib.es7.d.ts'; } } const host = new LocalHost(); const ls = ts.createLanguageService(host); const program = ls.getProgram(); const emitResult = program.emit(undefined, (absoluteFilePath, fileContent, sourceFile) =&gt; { console.log('emitting', absoluteFilePath, 'for', sourceFile.fileName); fse.mkdirsSync(path.dirname(absoluteFilePath)); fs.writeFileSync(absoluteFilePath, this.fixSourceMapSources(fileContent), { encoding: 'utf-8' }); });"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-s1">ts</span> <span class="pl-k">from</span> <span class="pl-s">'typescript'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-s1">fs</span> <span class="pl-k">from</span> <span class="pl-s">'fs'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-s1">fse</span> <span class="pl-k">from</span> <span class="pl-s">'fse'</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">fileName</span> <span class="pl-c1">=</span> <span class="pl-s">'index.ts'</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">fileNames</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-s1">fileName</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-k">class</span> <span class="pl-smi">LocalHost</span> <span class="pl-k">implements</span> <span class="pl-s1">ts</span><span class="pl-kos">.</span><span class="pl-smi">LanguageServiceHost</span> <span class="pl-kos">{</span> <span class="pl-en">getCompilationSettings</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-s1">ts</span><span class="pl-kos">.</span><span class="pl-smi">CompilerOptions</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-kos">{</span> <span class="pl-c1">experimentalDecorators</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c1">modules</span>: <span class="pl-s1">ts</span><span class="pl-kos">.</span><span class="pl-c1">ModuleKind</span><span class="pl-kos">.</span><span class="pl-c1">CommonJS</span><span class="pl-kos">,</span> <span class="pl-c1">target</span>: <span class="pl-s1">ts</span><span class="pl-kos">.</span><span class="pl-c1">ScriptTarget</span><span class="pl-kos">.</span><span class="pl-c1">ES5</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">getProjectVersion</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-smi">string</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-s">"1"</span><span class="pl-kos">;</span><span class="pl-kos">}</span> <span class="pl-en">getScriptFileNames</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-smi">string</span><span class="pl-kos">[</span><span class="pl-kos">]</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-s1">fileNames</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">getScriptVersion</span><span class="pl-kos">(</span><span class="pl-s1">fileName</span>: <span class="pl-smi">string</span><span class="pl-kos">)</span>: <span class="pl-smi">string</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-s">"1"</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">getCurrentDirectory</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-smi">string</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-s1">dir</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">getScriptSnapshot</span><span class="pl-kos">(</span><span class="pl-s1">fileName</span>: <span class="pl-smi">string</span><span class="pl-kos">)</span>: <span class="pl-s1">ts</span><span class="pl-kos">.</span><span class="pl-smi">IScriptSnapshot</span> <span class="pl-kos">{</span> <span class="pl-k">const</span> <span class="pl-s1">filteredName</span> <span class="pl-c1">=</span> <span class="pl-en">nameFilter</span><span class="pl-kos">(</span><span class="pl-s1">fileName</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">fs</span><span class="pl-kos">.</span><span class="pl-en">existsSync</span><span class="pl-kos">(</span><span class="pl-s1">filteredName</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-k">return</span> <span class="pl-s1">ts</span><span class="pl-kos">.</span><span class="pl-c1">ScriptSnapshot</span><span class="pl-kos">.</span><span class="pl-en">fromString</span><span class="pl-kos">(</span><span class="pl-s1">fs</span><span class="pl-kos">.</span><span class="pl-en">readFileSync</span><span class="pl-kos">(</span><span class="pl-s1">filteredName</span><span class="pl-kos">,</span> <span class="pl-s">'utf8'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">getDefaultLibFileName</span><span class="pl-kos">(</span><span class="pl-s1">options</span>: <span class="pl-s1">ts</span><span class="pl-kos">.</span><span class="pl-smi">CompilerOptions</span><span class="pl-kos">)</span>: <span class="pl-smi">string</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-s">'./node_modules/typescript/lib/lib.es7.d.ts'</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-k">const</span> <span class="pl-s1">host</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-smi">LocalHost</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">ls</span> <span class="pl-c1">=</span> <span class="pl-s1">ts</span><span class="pl-kos">.</span><span class="pl-en">createLanguageService</span><span class="pl-kos">(</span><span class="pl-s1">host</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">program</span> <span class="pl-c1">=</span> <span class="pl-s1">ls</span><span class="pl-kos">.</span><span class="pl-en">getProgram</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">emitResult</span> <span class="pl-c1">=</span> <span class="pl-s1">program</span><span class="pl-kos">.</span><span class="pl-en">emit</span><span class="pl-kos">(</span><span class="pl-c1">undefined</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-s1">absoluteFilePath</span><span class="pl-kos">,</span> <span class="pl-s1">fileContent</span><span class="pl-kos">,</span> <span class="pl-s1">sourceFile</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'emitting'</span><span class="pl-kos">,</span> <span class="pl-s1">absoluteFilePath</span><span class="pl-kos">,</span> <span class="pl-s">'for'</span><span class="pl-kos">,</span> <span class="pl-s1">sourceFile</span><span class="pl-kos">.</span><span class="pl-c1">fileName</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">fse</span><span class="pl-kos">.</span><span class="pl-en">mkdirsSync</span><span class="pl-kos">(</span><span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">dirname</span><span class="pl-kos">(</span><span class="pl-s1">absoluteFilePath</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">fs</span><span class="pl-kos">.</span><span class="pl-en">writeFileSync</span><span class="pl-kos">(</span><span class="pl-s1">absoluteFilePath</span><span class="pl-kos">,</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">fixSourceMapSources</span><span class="pl-kos">(</span><span class="pl-s1">fileContent</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">encoding</span>: <span class="pl-s">'utf-8'</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Expected behavior:</strong><br> If this proposal is taken then the <code class="notranslate">sourceFile</code> parameter above will contain the <code class="notranslate">SourceFile</code> instance emit currently emitting the file <code class="notranslate">absoluteFilePath</code> on behalf of.</p> <p dir="auto"><strong>Justification:</strong><br> <code class="notranslate">.d.ts</code> files do not contain information about the decorators used in the <code class="notranslate">.ts</code> files, nor can it. However, these decorators often contain valuable information that other processors might need, such as, in our case, the Angular 2 offline compiler and the Angular 2 language service. To preserve this information we emit a <code class="notranslate">.metadata.json</code> file for each <code class="notranslate">.d.ts</code> file emitted if the corresponding module contains classes with decorators.</p> <p dir="auto">We use <code class="notranslate">program.emit()</code> in our build process and use the callback to trigger the emit of the <code class="notranslate">.metadata.json</code> file but we must make an educated guess as to which <code class="notranslate">SourceFile</code> the <code class="notranslate">.d.ts</code> file is being emitted for. It would be more straight forward for the <code class="notranslate">SourceFile</code> to passed into the callback to <code class="notranslate">emit</code>.</p>
<p dir="auto">I'm just reading <a href="https://github.com/Microsoft/TypeScript/blob/master/src/compiler/scanner.ts">scanner code</a> and find some unicode characters are duplicate in <code class="notranslate">unicodeES5IdentifierStart</code> array:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="var unicodeES5IdentifierStart = [170, 170, 181, 181, ..., 748, 748..."><pre class="notranslate"><code class="notranslate">var unicodeES5IdentifierStart = [170, 170, 181, 181, ..., 748, 748... </code></pre></div> <p dir="auto">Any reason?</p>
0
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Context</h2> <p dir="auto">I initially found the HOC pattern to be confusing, since (as a consumer) you can't explicitly see what prop(s) are being added.</p> <p dir="auto"><em>(Also, it seems weird to create a component that can't stand on it's own, and then wrap it into something that can.)</em></p> <p dir="auto">Here is an explanation of the render-props pattern, which solves that (first) problem to offer a better Developer eXperience:</p> <p dir="auto"><a href="https://cdb.reacttraining.com/use-a-render-prop-50de598f11ce" rel="nofollow">https://cdb.reacttraining.com/use-a-render-prop-50de598f11ce</a></p>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <p dir="auto">This is related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="185403597" data-permission-text="Title is private" data-url="https://github.com/vercel/next.js/issues/88" data-hovercard-type="issue" data-hovercard-url="/vercel/next.js/issues/88/hovercard" href="https://github.com/vercel/next.js/issues/88">#88</a>, but not quite the same. In this case, we are routing between the same page (/user.js), not different pages. Something weird is happening with the normal react lifecycle hooks for ALL page child components (all the way down the tree) that makes it impossible to prevent something from re-rendering.</p> <p dir="auto">Essentially, this means that on every route change (even if you are routing between the same page) every single component on the page is forced to re-render, and there is no way to stop it.</p> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">shouldComponentUpdate should be triggered as normal on the page component, and its child components.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">shouldComponentUpdate is skipped on the page component, and its child components.</p> <h2 dir="auto">Steps to Reproduce</h2> <p dir="auto">I have created an example that reproduces the issue in an isolated environment. It includes instructions for running, and seeing what's going on. It also includes a link to an animated gif for you lazy folks out there :).</p> <p dir="auto"><a href="https://github.com/stoplightio/nextjs-router-bug">https://github.com/stoplightio/nextjs-router-bug</a></p> <h2 dir="auto">Context</h2> <p dir="auto">We have complicated inner components and not being able to prevent them from re-rendering is a problem.</p>
0
<p dir="auto"><em>From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/atcq1/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/atcq1">@atcq1</a> on March 25, 2016 13:11</em></p> <ul dir="auto"> <li>VSCode Version:0.10.11</li> <li>OS Version:ubuntu 14.04 x64</li> </ul> <p dir="auto">Intellisense\autocomplete not work to call methods and property through this.methodName () / this.propertyName.</p> <p dir="auto">Steps to Reproduce:</p> <ol dir="auto"> <li>Create route:</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import Ember from 'ember'; export default Ember.Route.extend({ property1: 'text', model(params) { return {}; }, firstMethod() { //test1 }, secondMethod() { //test2 }, thirdMethod() { //Intellisense secondMethod(); //work this.secondMethod(); //do not work //Autocomplete property1; //work this.property1; //do not work } });"><pre class="notranslate"><code class="notranslate">import Ember from 'ember'; export default Ember.Route.extend({ property1: 'text', model(params) { return {}; }, firstMethod() { //test1 }, secondMethod() { //test2 }, thirdMethod() { //Intellisense secondMethod(); //work this.secondMethod(); //do not work //Autocomplete property1; //work this.property1; //do not work } }); </code></pre></div> <p dir="auto">2 Enter <code class="notranslate">this.second</code> or <code class="notranslate">this.prop</code> in <code class="notranslate">thirdMethod(){}</code>:</p> <p dir="auto"><em>Copied from original issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="143495788" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/4671" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/4671/hovercard" href="https://github.com/microsoft/vscode/issues/4671">microsoft/vscode#4671</a></em></p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let o = { f: function () { this./**/ } }"><pre class="notranslate"><span class="pl-k">let</span> <span class="pl-s1">o</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-en">f</span>: <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c">/**/</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">Expected: Intellisense shows 'f' in the list<br> Actual: Intellisense shows nothing because <code class="notranslate">this: any</code>.</p> <p dir="auto">Note that this similar code already works:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let o = { f() { this./**/ } }"><pre class="notranslate"><span class="pl-k">let</span> <span class="pl-s1">o</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-en">f</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c">/**/</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div>
1
1
<p dir="auto">Something wrong with keyboard modifiers processing?</p> <p dir="auto">We have wrong processing of keyboard input with modifiers... For example:</p> <div class="highlight highlight-source-cs notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="using System; namespace ConsoleApp1 { class Program { static void Main(string[] args) { ConsoleKeyInfo cki; do { cki = Console.ReadKey(); Console.Write(&quot; --- You pressed &quot;); if ((cki.Modifiers &amp; ConsoleModifiers.Alt) != 0) { Console.Write(&quot;ALT+&quot;); } if ((cki.Modifiers &amp; ConsoleModifiers.Shift) != 0) { Console.Write(&quot;SHIFT+&quot;); } if ((cki.Modifiers &amp; ConsoleModifiers.Control) != 0) { Console.Write(&quot;CTL+&quot;); } Console.WriteLine(cki.Key.ToString()); } while (cki.Key != ConsoleKey.Escape); } } }"><pre class="notranslate"><span class="pl-k">using</span> System<span class="pl-kos">;</span> <span class="pl-k">namespace</span> <span class="pl-v">ConsoleApp1</span> <span class="pl-kos">{</span> <span class="pl-k">class</span> <span class="pl-smi">Program</span> <span class="pl-kos">{</span> <span class="pl-k"><span class="pl-k">static</span></span> <span class="pl-smi">void</span> <span class="pl-en">Main</span><span class="pl-kos">(</span><span class="pl-smi">string</span><span class="pl-kos">[</span><span class="pl-kos">]</span> <span class="pl-s1">args</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">ConsoleKeyInfo</span> <span class="pl-s1">cki</span><span class="pl-kos">;</span> <span class="pl-k">do</span> <span class="pl-kos">{</span> <span class="pl-s1">cki</span> <span class="pl-c1">=</span> Console<span class="pl-kos">.</span><span class="pl-en">ReadKey</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> Console<span class="pl-kos">.</span><span class="pl-en">Write</span><span class="pl-kos">(</span><span class="pl-s"><span class="pl-s">"</span> --- You pressed <span class="pl-s">"</span></span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-kos">(</span>cki<span class="pl-kos">.</span>Modifiers <span class="pl-c1">&amp;</span> ConsoleModifiers<span class="pl-kos">.</span>Alt<span class="pl-kos">)</span> <span class="pl-c1">!=</span> <span class="pl-c1">0</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> Console<span class="pl-kos">.</span><span class="pl-en">Write</span><span class="pl-kos">(</span><span class="pl-s"><span class="pl-s">"</span>ALT+<span class="pl-s">"</span></span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-kos">(</span>cki<span class="pl-kos">.</span>Modifiers <span class="pl-c1">&amp;</span> ConsoleModifiers<span class="pl-kos">.</span>Shift<span class="pl-kos">)</span> <span class="pl-c1">!=</span> <span class="pl-c1">0</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> Console<span class="pl-kos">.</span><span class="pl-en">Write</span><span class="pl-kos">(</span><span class="pl-s"><span class="pl-s">"</span>SHIFT+<span class="pl-s">"</span></span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-kos">(</span>cki<span class="pl-kos">.</span>Modifiers <span class="pl-c1">&amp;</span> ConsoleModifiers<span class="pl-kos">.</span>Control<span class="pl-kos">)</span> <span class="pl-c1">!=</span> <span class="pl-c1">0</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> Console<span class="pl-kos">.</span><span class="pl-en">Write</span><span class="pl-kos">(</span><span class="pl-s"><span class="pl-s">"</span>CTL+<span class="pl-s">"</span></span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> Console<span class="pl-kos">.</span><span class="pl-en">WriteLine</span><span class="pl-kos">(</span>cki<span class="pl-kos">.</span>Key<span class="pl-kos">.</span><span class="pl-en">ToString</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">while</span> <span class="pl-kos">(</span>cki<span class="pl-kos">.</span>Key <span class="pl-c1">!=</span> ConsoleKey<span class="pl-kos">.</span>Escape<span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">Same keys sequence is pressed... <kbd>1</kbd> <kbd>2</kbd> ... <kbd>0</kbd> <kbd>RCtrl</kbd>+<kbd>1</kbd> <kbd>RCtrl</kbd>+<kbd>2</kbd> <kbd>RCtrl</kbd>+<kbd>3</kbd>... <kbd>RCtrl</kbd>+<kbd>0</kbd><br> <kbd>LCtrl</kbd>+<kbd>1</kbd> <kbd>LCtrl</kbd>+<kbd>2</kbd> <kbd>LCtrl</kbd>+<kbd>3</kbd> <kbd>LCtrl</kbd>+<kbd>4</kbd></p> <p dir="auto">We have some, but also wrong result only for <kbd>Ctrl</kbd>+<kbd>2</kbd>... Shift modifier added.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1778999/60325129-392af380-998f-11e9-962b-354f7c755531.png"><img src="https://user-images.githubusercontent.com/1778999/60325129-392af380-998f-11e9-962b-354f7c755531.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">Same behaviour also with more complicated software - "Far Manager" for example (in this situation problem not with simple Console.ReadKey but with keyboard events processing. In this example we don't see any reactions of software on pressing <kbd>Ctrl</kbd> like we can see in old console. So problems also with keyboard modifiers).</p>
<p dir="auto"><strong>Your Windows build number:</strong><br> 10.0.18362.86</p> <p dir="auto"><strong>What you're doing and what's happening:</strong><br> Trying to enter the <code class="notranslate">@</code> sign on a Swedish keyboard in a PowerShell console using <code class="notranslate">Alt Gr</code> + <code class="notranslate">2</code>.<br> See animated gif:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/357872/57315225-7099c400-70f3-11e9-803f-4d60d11feef5.gif"><img src="https://user-images.githubusercontent.com/357872/57315225-7099c400-70f3-11e9-803f-4d60d11feef5.gif" alt="terminal" data-animated-image="" style="max-width: 100%;"></a></p> <p dir="auto"><strong>What's wrong / what should be happening instead:</strong><br> Windows terminal shows <code class="notranslate">digit-argument</code> instead of outputting the <code class="notranslate">@</code> sign as expected.</p> <p dir="auto">It's possible this is a PEBKAC error somehow but the problem doesn't show up in the normal PowerShell console... 😓</p>
1
<p dir="auto"><a href="https://gist.github.com/stevejmason/2fab8149460a5565ef388f92cd2e478e">https://gist.github.com/stevejmason/2fab8149460a5565ef388f92cd2e478e</a></p> <p dir="auto">When running the above gist with Deno, the process crashes with <code class="notranslate">BorrowMutError</code>, see Actual text below. I believe this is caused by the mutable borrow calls within the async blocks on <code class="notranslate">cli/ops/net.rs:144</code> and <code class="notranslate">cli/ops/net.rs:212</code>.</p> <p dir="auto">Perhaps we can use <code class="notranslate">tokio::net::udpsocket split()</code> and update <code class="notranslate">UdpSocketResource</code> to have a send/recv half contained in <code class="notranslate">Arc&lt;Mutex&lt;&gt;&gt;</code>, borrow state immutably on the main thread, clone the Arc container and use this from the async block? I have a working version to push, but would like some feedback on this approach as I'm fairly new to Rust.</p> <p dir="auto">(<strong>sidenote</strong>, the gist is unlikely to run on master due to the new NetAddr/UnixAddr interfaces, I've been playing with types to add generics to <code class="notranslate">DatagramImpl</code> which i'll follow up with).</p> <h3 dir="auto">Actual output</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="thread 'main' panicked at 'already borrowed: BorrowMutError', /rustc/b8cedc00407a4c56a3bda1ed605c6fc166655447/src/libcore/cell.rs:878:9 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace"><pre class="notranslate"><code class="notranslate">thread 'main' panicked at 'already borrowed: BorrowMutError', /rustc/b8cedc00407a4c56a3bda1ed605c6fc166655447/src/libcore/cell.rs:878:9 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace </code></pre></div> <h3 dir="auto">Expected output (duplicate lines removed)</h3> <p dir="auto">Using fork - <a href="https://github.com/stevejmason/deno/tree/async-udp">https://github.com/stevejmason/deno/tree/async-udp</a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TEST SOCKET RECV (1): hello world ! from [127.0.0.1:44444] TEST SOCKET RECV (...10): hello world ! from [127.0.0.1:44444] Received: [This is a response for message (1)] from (127.0.0.1:25262) Received: [This is a response for message (...10)] from (127.0.0.1:25262)"><pre class="notranslate"><code class="notranslate">TEST SOCKET RECV (1): hello world ! from [127.0.0.1:44444] TEST SOCKET RECV (...10): hello world ! from [127.0.0.1:44444] Received: [This is a response for message (1)] from (127.0.0.1:25262) Received: [This is a response for message (...10)] from (127.0.0.1:25262) </code></pre></div> <h3 dir="auto">Deno version (also <code class="notranslate">master#2874664</code>)</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="deno 0.36.0 v8 8.1.310 typescript 3.8.3"><pre class="notranslate"><code class="notranslate">deno 0.36.0 v8 8.1.310 typescript 3.8.3 </code></pre></div>
<h4 dir="auto"><a href="http://server01/a.jsx" rel="nofollow">http://server01/a.jsx</a></h4> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import React from &quot;http://server01/react.js&quot;; ..."><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-v">React</span> <span class="pl-k">from</span> <span class="pl-s">"http://server01/react.js"</span><span class="pl-kos">;</span> ...</pre></div> <h4 dir="auto"><a href="http://server02/b.jsx" rel="nofollow">http://server02/b.jsx</a></h4> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import React from &quot;http://server02/react.js&quot;; ..."><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-v">React</span> <span class="pl-k">from</span> <span class="pl-s">"http://server02/react.js"</span><span class="pl-kos">;</span> ...</pre></div> <h4 dir="auto">main.jsx</h4> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import {A} from &quot;http://server01/a.jsx&quot;; import {B} from &quot;http://server02/b.jsx&quot;; ... return &lt;div&gt; &lt;A/&gt; &lt;B/&gt; &lt;/div&gt; ... "><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span><span class="pl-v">A</span><span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"http://server01/a.jsx"</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-kos">{</span><span class="pl-v">B</span><span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"http://server02/b.jsx"</span><span class="pl-kos">;</span> ... <span class="pl-k">return</span> <span class="pl-c1">&lt;</span><span class="pl-ent">div</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-ent">A</span><span class="pl-c1">/</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-ent">B</span><span class="pl-c1">/</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">&gt;</span> <span class="pl-kos">.</span><span class="pl-kos">.</span><span class="pl-kos">.</span> </pre></div>
0
<h3 dir="auto">Version</h3> <p dir="auto">2.5.20</p> <h3 dir="auto">Reproduction link</h3> <p dir="auto"><a href="https://codepen.io/ludengdeng/pen/jOYyERr" rel="nofollow">codepen.io</a></p> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto">When I'm on the same page or component,“v-for” multiple times using the same array, "Duplicate keys detected. This may cause an update error." will be reported on the page,But the key of V-for is not repeated</p> <h3 dir="auto">What is expected?</h3> <p dir="auto">In a page, using an array to render V-for multiple times will not report an error</p> <h3 dir="auto">What is actually happening?</h3> <p dir="auto">In a page, use an array to render V-for multiple times and report errors</p>
<h3 dir="auto">Version</h3> <p dir="auto">2.6.10</p> <h3 dir="auto">Reproduction link</h3> <p dir="auto"><a href="https://codesandbox.io/s/elated-sun-8npx9?file=/src/App.vue" rel="nofollow">https://codesandbox.io/s/elated-sun-8npx9?file=/src/App.vue</a></p> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto">Error message displays immediately when viewing repro.</p> <h3 dir="auto">What is expected?</h3> <p dir="auto">Vue should recognize that the given <code class="notranslate">v-slot</code> is attached to a component, because the element has the <code class="notranslate">is="hello-world"</code> attribute set.</p> <h3 dir="auto">What is actually happening?</h3> <p dir="auto">Vue sees the <code class="notranslate">v-slot</code> attribute on a <code class="notranslate">section</code> element, and assumes it is an error.</p> <hr> <p dir="auto">Ordinarily I'd just rewrite my code to directly reference the component (without the <code class="notranslate">is=</code> attribute) but I'm rehydrating server-rendered content and need the wrapper to be semantic.</p>
0
<p dir="auto">Attention models get more popular. In many of my experiments with attention, I end up using Softmax over multiple dimensions.</p> <p dir="auto">tf.nn.softmax() supports only one dimension. It would be nice to expand the API with another argument, softmax_dim, for softmax over multiple dimension, say over 2 (images) or 3 (CT-scans, videos)</p> <p dir="auto">I;d like to here what you think? DO more people end up writing softmax code themselves?</p>
<p dir="auto"><strong>System information</strong></p> <ul dir="auto"> <li>Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes</li> <li>OS Platform and Distribution (e.g., Linux Ubuntu 16.04): macOS</li> <li>Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: iPhone 7 simulator</li> <li>TensorFlow installed from (source or binary): source</li> <li>TensorFlow version (use command below): master</li> <li>Python version: 2.7</li> <li>Bazel version (if compiling from source): 0.15.0</li> <li>GCC/Compiler version (if compiling from source): None</li> <li>CUDA/cuDNN version: None</li> <li>GPU model and memory: None</li> </ul> <p dir="auto"><strong>Describe the current behavior</strong><br> I convert the TF model to TFLite model by tflite_convert command with float inference_type, and input_shapes set to 1,W,H,3; when I run the model with input shape W*H, <strong>it works well</strong>; However, when I <strong>change</strong> the input shapes to different values, it would give error like "tensorflow/contrib/lite/kernels/kernel_util.cc:125 d1 == d2 || d1 == 1 || d2 == 1 was not true; Node number xx (ADD) failed to prepare" for tf.add op. Similar errors appear for other ops like CONCAT and RESHAPE. When I set breakpoints in tflite codes, it seems to always check/use the tensor shapes when converting the model, even the input shape has changed.</p> <p dir="auto">Part of the codes are like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="int input = interpreter-&gt;inputs()[0]; interpreter-&gt;ResizeInputTensor(input, new_input_sizes); if (interpreter-&gt;AllocateTensors() != kTfLiteOk) { NSLog(@&quot;Failed to allocate tensors for model.&quot;); exit(-1); }"><pre class="notranslate"><code class="notranslate">int input = interpreter-&gt;inputs()[0]; interpreter-&gt;ResizeInputTensor(input, new_input_sizes); if (interpreter-&gt;AllocateTensors() != kTfLiteOk) { NSLog(@"Failed to allocate tensors for model."); exit(-1); } </code></pre></div>
0
<p dir="auto">I just got an ICE while working on a testcase for another issue.</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="enum SomeEnum { Something(i8), SomethingElse([u8]) } fn some_function(arg: &amp;SomeEnum) -&gt; () { () } fn main() { some_function(&amp;SomeEnum::Something(1)); }"><pre class="notranslate"><span class="pl-k">enum</span> <span class="pl-smi">SomeEnum</span> <span class="pl-kos">{</span> <span class="pl-v">Something</span><span class="pl-kos">(</span><span class="pl-smi">i8</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-v">SomethingElse</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-smi">u8</span><span class="pl-kos">]</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-k">fn</span> <span class="pl-en">some_function</span><span class="pl-kos">(</span><span class="pl-s1">arg</span><span class="pl-kos">:</span> <span class="pl-c1">&amp;</span><span class="pl-smi">SomeEnum</span><span class="pl-kos">)</span> -&gt; <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-en">some_function</span><span class="pl-kos">(</span><span class="pl-c1">&amp;</span><span class="pl-smi">SomeEnum</span><span class="pl-kos">::</span><span class="pl-v">Something</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;anon&gt;:3:5: 3:24 warning: variant is never used: `SomethingElse`, #[warn(dead_code)] on by default &lt;anon&gt;:3 SomethingElse([u8]) ^~~~~~~~~~~~~~~~~~~ &lt;anon&gt;:6:18: 6:21 warning: unused variable: `arg`, #[warn(unused_variables)] on by default &lt;anon&gt;:6 fn some_function(arg: &amp;SomeEnum) -&gt; () { ^~~ error: internal compiler error: unexpected panic note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports note: run with `RUST_BACKTRACE=1` for a backtrace thread 'rustc' panicked at 'unsized_part_of_type failed even though ty is unsized', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/librustc_trans/trans/common.rs:168 playpen: application terminated with error code 101"><pre class="notranslate"><code class="notranslate">&lt;anon&gt;:3:5: 3:24 warning: variant is never used: `SomethingElse`, #[warn(dead_code)] on by default &lt;anon&gt;:3 SomethingElse([u8]) ^~~~~~~~~~~~~~~~~~~ &lt;anon&gt;:6:18: 6:21 warning: unused variable: `arg`, #[warn(unused_variables)] on by default &lt;anon&gt;:6 fn some_function(arg: &amp;SomeEnum) -&gt; () { ^~~ error: internal compiler error: unexpected panic note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports note: run with `RUST_BACKTRACE=1` for a backtrace thread 'rustc' panicked at 'unsized_part_of_type failed even though ty is unsized', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/librustc_trans/trans/common.rs:168 playpen: application terminated with error code 101 </code></pre></div> <p dir="auto"><a href="http://is.gd/qkbk29" rel="nofollow">http://is.gd/qkbk29</a></p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="enum Foo { Bar(int, [int]), } fn main() { // Either of these lines can cause the ICE let _x: &amp;(int, [int]); let _y: &amp;Foo; }"><pre class="notranslate"><span class="pl-k">enum</span> <span class="pl-smi">Foo</span> <span class="pl-kos">{</span> <span class="pl-v">Bar</span><span class="pl-kos">(</span><span class="pl-smi">int</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-smi">int</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-kos">}</span> <span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">// Either of these lines can cause the ICE</span> <span class="pl-k">let</span> _x<span class="pl-kos">:</span> <span class="pl-c1">&amp;</span><span class="pl-kos">(</span><span class="pl-smi">int</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-smi">int</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">let</span> _y<span class="pl-kos">:</span> <span class="pl-c1">&amp;</span><span class="pl-smi">Foo</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">Backtrace:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" 1: 0x7f2a127e8580 - rt::backtrace::imp::write::h0180e7ded76a3ff2c0q 2: 0x7f2a127eb770 - failure::on_fail::h3f169393c89b5f90Tlr 3: 0x7f2a12fd24f0 - unwind::begin_unwind_inner::haeb9517b5061bc86Zie 4: 0x7f2a133ad670 - unwind::begin_unwind::h17017358962417336117 5: 0x7f2a13803a20 - middle::ty::unsized_part_of_type::h8eae6d239e9b7af3tnG 6: 0x7f2a138037c0 - middle::trans::type_of::type_of::type_of_unsize_info::h67819f63aa2acfb5Xh9 7: 0x7f2a1377b050 - middle::trans::type_of::type_of::h3c89a1738d384c45Ih9 8: 0x7f2a1377b050 - middle::trans::type_of::type_of::h3c89a1738d384c45Ih9 9: 0x7f2a137b0860 - middle::trans::base::alloc_ty::h5485998eeb61d023mTd 10: 0x7f2a13859870 - middle::trans::_match::mk_binding_alloca::h11628361498234501597 11: 0x7f2a1385bdf0 - middle::trans::_match::store_local::create_dummy_locals::closure.119283 12: 0x7f2a13681560 - middle::pat_util::pat_bindings::closure.112016 13: 0x7f2a0ea1ccb0 - ast_util::walk_pat::hc858153057fb5965oRB 14: 0x7f2a138205f0 - middle::trans::_match::store_local::h9195017fe21b4124A2h 15: 0x7f2a13772d10 - middle::trans::base::init_local::h5e8a493dc2ae05b1WFd 16: 0x7f2a13772220 - middle::trans::controlflow::trans_stmt::hf26d5cee55a6056blhY 17: 0x7f2a13773c40 - middle::trans::controlflow::trans_block::h004dea36138a75c8wmY 18: 0x7f2a13829560 - middle::trans::base::trans_closure::h655acfc433ac13fevye 19: 0x7f2a13764670 - middle::trans::base::trans_fn::hf0a444fa9ff43aebiKe 20: 0x7f2a1375f9b0 - middle::trans::base::trans_item::hda4d4160cb2b58dfi2e 21: 0x7f2a138341f0 - middle::trans::base::trans_crate::hff0f87c98e6356c8JWf 22: 0x7f2a13c058d0 - driver::driver::phase_4_translate_to_llvm::h8223ee9d7ab4951cpzy 23: 0x7f2a13bfd280 - driver::driver::compile_input::hfa4fd95c9e6a2ceeQby 24: 0x7f2a13c8f0a0 - driver::run_compiler::h32bdccca6ed9465cJIB 25: 0x7f2a13c8efb0 - driver::main_args::closure.138206 26: 0x7f2a13ca1240 - task::TaskBuilder&lt;S&gt;::try_future::closure.139324 27: 0x7f2a13ca1040 - task::TaskBuilder&lt;S&gt;::spawn_internal::closure.139301 28: 0x7f2a146dcf10 - task::spawn_opts::closure.8369 29: 0x7f2a1302af90 - rust_try_inner 30: 0x7f2a1302af80 - rust_try 31: 0x7f2a12fcfb20 - unwind::try::h03d8d1d4cb0de0c1f7d 32: 0x7f2a12fcf8e0 - task::Task::run::hafab6bcab45e61e5zdd 33: 0x7f2a146dcc70 - task::spawn_opts::closure.8315 34: 0x7f2a12fd16e0 - thread::thread_start::hba588af1f803bb5blCd 35: 0x7f2a1227f0c0 - start_thread 36: 0x7f2a12c99359 - __clone 37: 0x0 - &lt;unknown&gt;"><pre class="notranslate"><code class="notranslate"> 1: 0x7f2a127e8580 - rt::backtrace::imp::write::h0180e7ded76a3ff2c0q 2: 0x7f2a127eb770 - failure::on_fail::h3f169393c89b5f90Tlr 3: 0x7f2a12fd24f0 - unwind::begin_unwind_inner::haeb9517b5061bc86Zie 4: 0x7f2a133ad670 - unwind::begin_unwind::h17017358962417336117 5: 0x7f2a13803a20 - middle::ty::unsized_part_of_type::h8eae6d239e9b7af3tnG 6: 0x7f2a138037c0 - middle::trans::type_of::type_of::type_of_unsize_info::h67819f63aa2acfb5Xh9 7: 0x7f2a1377b050 - middle::trans::type_of::type_of::h3c89a1738d384c45Ih9 8: 0x7f2a1377b050 - middle::trans::type_of::type_of::h3c89a1738d384c45Ih9 9: 0x7f2a137b0860 - middle::trans::base::alloc_ty::h5485998eeb61d023mTd 10: 0x7f2a13859870 - middle::trans::_match::mk_binding_alloca::h11628361498234501597 11: 0x7f2a1385bdf0 - middle::trans::_match::store_local::create_dummy_locals::closure.119283 12: 0x7f2a13681560 - middle::pat_util::pat_bindings::closure.112016 13: 0x7f2a0ea1ccb0 - ast_util::walk_pat::hc858153057fb5965oRB 14: 0x7f2a138205f0 - middle::trans::_match::store_local::h9195017fe21b4124A2h 15: 0x7f2a13772d10 - middle::trans::base::init_local::h5e8a493dc2ae05b1WFd 16: 0x7f2a13772220 - middle::trans::controlflow::trans_stmt::hf26d5cee55a6056blhY 17: 0x7f2a13773c40 - middle::trans::controlflow::trans_block::h004dea36138a75c8wmY 18: 0x7f2a13829560 - middle::trans::base::trans_closure::h655acfc433ac13fevye 19: 0x7f2a13764670 - middle::trans::base::trans_fn::hf0a444fa9ff43aebiKe 20: 0x7f2a1375f9b0 - middle::trans::base::trans_item::hda4d4160cb2b58dfi2e 21: 0x7f2a138341f0 - middle::trans::base::trans_crate::hff0f87c98e6356c8JWf 22: 0x7f2a13c058d0 - driver::driver::phase_4_translate_to_llvm::h8223ee9d7ab4951cpzy 23: 0x7f2a13bfd280 - driver::driver::compile_input::hfa4fd95c9e6a2ceeQby 24: 0x7f2a13c8f0a0 - driver::run_compiler::h32bdccca6ed9465cJIB 25: 0x7f2a13c8efb0 - driver::main_args::closure.138206 26: 0x7f2a13ca1240 - task::TaskBuilder&lt;S&gt;::try_future::closure.139324 27: 0x7f2a13ca1040 - task::TaskBuilder&lt;S&gt;::spawn_internal::closure.139301 28: 0x7f2a146dcf10 - task::spawn_opts::closure.8369 29: 0x7f2a1302af90 - rust_try_inner 30: 0x7f2a1302af80 - rust_try 31: 0x7f2a12fcfb20 - unwind::try::h03d8d1d4cb0de0c1f7d 32: 0x7f2a12fcf8e0 - task::Task::run::hafab6bcab45e61e5zdd 33: 0x7f2a146dcc70 - task::spawn_opts::closure.8315 34: 0x7f2a12fd16e0 - thread::thread_start::hba588af1f803bb5blCd 35: 0x7f2a1227f0c0 - start_thread 36: 0x7f2a12c99359 - __clone 37: 0x0 - &lt;unknown&gt; </code></pre></div> <p dir="auto">This seems to occur when using a non-struct type that contains an unsized type. This is probably because <a href="https://github.com/rust-lang/rust/blob/7932b719ec2b65acfa8c3e74aad29346d47ee992/src/librustc/middle/ty.rs#L2938-L2956"><code class="notranslate">unsized_part_of_type</code></a> only handles <code class="notranslate">ty_struct</code> and the base unsized types. This should be extended to handle enums and tuples as well.</p>
1
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1377169/3757336/b2614670-1837-11e4-982c-6aadf80ac12a.png"><img src="https://cloud.githubusercontent.com/assets/1377169/3757336/b2614670-1837-11e4-982c-6aadf80ac12a.png" alt="screen shot 2014-07-30 at 5 13 05 pm" style="max-width: 100%;"></a></p> <p dir="auto">h1, h2, h3 tags within panel-headings are set with margin-top: 20px; margin-bottom: 10px;<br> h4, h5, h6 are at 10px; 10px;</p> <p dir="auto">Gives an undesirable look. So, create another rule for these headings?<br> Or is this not being used enough to warrant?</p>
<p dir="auto">In the example there is are panel headers with and without a title being shown. There is a height inconsistency among them, as shown on the image bellow:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/106633/3708366/19804a26-1442-11e4-91f7-18c2eed8154b.png"><img src="https://cloud.githubusercontent.com/assets/106633/3708366/19804a26-1442-11e4-91f7-18c2eed8154b.png" alt="heading-error" style="max-width: 100%;"></a></p> <p dir="auto">Should both of them be 40px or is this inconsistency expected?</p>
1
<p dir="auto">i update atom to v0.189.0, then open a file with chinese code, and it's messy</p>
<p dir="auto">Text:</p> <blockquote> <p dir="auto">这上面的夜的天空,奇怪而高,我生平没有见过这样奇怪而高的天空。他仿佛要离开人间而去,使人们仰面不再看见。然而现在却非常之蓝,闪闪地睒着几十个星星的眼,冷眼。他的口角上现出微笑,似乎自以为大有深意,而将繁霜洒在我的园里的野花草上。</p> </blockquote> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/49931/6959354/a30f8266-d94a-11e4-9167-35ea308a5ad2.png"><img src="https://cloud.githubusercontent.com/assets/49931/6959354/a30f8266-d94a-11e4-9167-35ea308a5ad2.png" alt="3" style="max-width: 100%;"></a></p> <p dir="auto">It happen after update to 0.189.0, and it's normal in 0.188.0 .</p> <p dir="auto">I try disabled all community packages or star with <code class="notranslate">--safe</code> mode, still happen.</p> <p dir="auto">Update: Ubuntu 14.04</p>
1
<h1 dir="auto">Summary of the new feature/enhancement</h1> <p dir="auto">As had been an issue with later versions of the WSL terminal, also in the new windows terminal selecting and copying multiple lines does not preserve newline characters, but instead is filled up with trailing whitespace to match the terminal width.</p> <h1 dir="auto">Proposed technical implementation details (optional)</h1> <p dir="auto">Separate lines should result in clipboard text <em>with</em> newlines, wrapped lines without.</p> <h1 dir="auto">Example</h1> <p dir="auto">Copying some output from the terminal and pasting here:</p> <p dir="auto">Expected behavior:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ll /usr/lib total 206M lrwxrwxrwx 1 root root 23 Oct 8 2012 libqimageblitz.so.4 -&gt; libqimageblitz.so.4.0.0 -rw-r--r-- 1 root root 99K Oct 8 2012 libqimageblitz.so.4.0.0 -rw-r--r-- 1 root root 6.0K Feb 2 2013 libporttime.so.0.0.0 lrwxrwxrwx 1 root root 20 Feb 2 2013 libporttime.so.0 -&gt; libporttime.so.0.0.0 -rw-r--r-- 1 root root 36K Feb 2 2013 libportmidi.so.0.0.0 lrwxrwxrwx 1 root root 20 Feb 2 2013 libportmidi.so.0 -&gt; libportmidi.so.0.0.0 lrwxrwxrwx 1 root root 20 Jan 4 2014 libmsgpackc.so.2 -&gt; libmsgpackc.so.2.0.0 -rw-r--r-- 1 root root 23K Jan 4 2014 libmsgpackc.so.2.0.0 lrwxrwxrwx 1 root root 15 Feb 28 2014 libfam.so.0 -&gt; libfam.so.0.0.0 -rw-r--r-- 1 root root 35K Feb 28 2014 libfam.so.0.0.0 ..."><pre class="notranslate"><code class="notranslate">$ ll /usr/lib total 206M lrwxrwxrwx 1 root root 23 Oct 8 2012 libqimageblitz.so.4 -&gt; libqimageblitz.so.4.0.0 -rw-r--r-- 1 root root 99K Oct 8 2012 libqimageblitz.so.4.0.0 -rw-r--r-- 1 root root 6.0K Feb 2 2013 libporttime.so.0.0.0 lrwxrwxrwx 1 root root 20 Feb 2 2013 libporttime.so.0 -&gt; libporttime.so.0.0.0 -rw-r--r-- 1 root root 36K Feb 2 2013 libportmidi.so.0.0.0 lrwxrwxrwx 1 root root 20 Feb 2 2013 libportmidi.so.0 -&gt; libportmidi.so.0.0.0 lrwxrwxrwx 1 root root 20 Jan 4 2014 libmsgpackc.so.2 -&gt; libmsgpackc.so.2.0.0 -rw-r--r-- 1 root root 23K Jan 4 2014 libmsgpackc.so.2.0.0 lrwxrwxrwx 1 root root 15 Feb 28 2014 libfam.so.0 -&gt; libfam.so.0.0.0 -rw-r--r-- 1 root root 35K Feb 28 2014 libfam.so.0.0.0 ... </code></pre></div> <p dir="auto">Actual behavior:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ll /usr/lib total 206M lrwxrwxrwx 1 root root 23 Oct 8 2012 libqimageblitz.so.4 -&gt; libqimageblitz.so.4.0.0 -rw-r--r-- 1 root root 99K Oct 8 2012 libqimageblitz.so.4.0.0 -rw-r--r-- 1 root root 6.0K Feb 2 2013 libporttime.so.0.0.0 lrwxrwxrwx 1 root root 20 Feb 2 2013 libporttime.so.0 -&gt; libporttime.so.0.0.0 -rw-r--r-- 1 root root 36K Feb 2 2013 libportmidi.so.0.0.0 lrwxrwxrwx 1 root root 20 Feb 2 2013 libportmidi.so.0 -&gt; libportmidi.so.0.0.0 lrwxrwxrwx 1 root root 20 Jan 4 2014 libmsgpackc.so.2 -&gt; libmsgpackc.so.2.0.0 -rw-r--r-- 1 root root 23K Jan 4 2014 libmsgpackc.so.2.0.0 lrwxrwxrwx 1 root root 15 Feb 28 2014 libfam.so.0 -&gt; libfam.so.0.0.0 -rw-r--r-- 1 root root 35K Feb 28 2014 libfam.so.0.0.0 "><pre class="notranslate"><code class="notranslate">$ ll /usr/lib total 206M lrwxrwxrwx 1 root root 23 Oct 8 2012 libqimageblitz.so.4 -&gt; libqimageblitz.so.4.0.0 -rw-r--r-- 1 root root 99K Oct 8 2012 libqimageblitz.so.4.0.0 -rw-r--r-- 1 root root 6.0K Feb 2 2013 libporttime.so.0.0.0 lrwxrwxrwx 1 root root 20 Feb 2 2013 libporttime.so.0 -&gt; libporttime.so.0.0.0 -rw-r--r-- 1 root root 36K Feb 2 2013 libportmidi.so.0.0.0 lrwxrwxrwx 1 root root 20 Feb 2 2013 libportmidi.so.0 -&gt; libportmidi.so.0.0.0 lrwxrwxrwx 1 root root 20 Jan 4 2014 libmsgpackc.so.2 -&gt; libmsgpackc.so.2.0.0 -rw-r--r-- 1 root root 23K Jan 4 2014 libmsgpackc.so.2.0.0 lrwxrwxrwx 1 root root 15 Feb 28 2014 libfam.so.0 -&gt; libfam.so.0.0.0 -rw-r--r-- 1 root root 35K Feb 28 2014 libfam.so.0.0.0 </code></pre></div>
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: 10.0.18362.116 Windows Terminal version (if applicable): 71e19cd + changing toolset to v142 and SDK version"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: 10.0.18362.116 Windows Terminal version (if applicable): 71e19cd + changing toolset to v142 and SDK version </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <ol dir="auto"> <li>Clone, build, package, install and launch <em>Windows Terminal (DevBuild)</em>.</li> <li>Execute <code class="notranslate">docker run --rm -it mcr.microsoft.com/windows/nanoserver:1903</code></li> <li>Select multiple lines and right click.</li> <li>Paste in any text editor. I used VSCode.</li> </ol> <h1 dir="auto">Expected behavior</h1> <p dir="auto">I expected to see the same thing I saw in the terminal - specifically multiple lines.</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">One line with lots of space.</p> <h1 dir="auto">Notes</h1> <p dir="auto">This is different from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="296768813" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/65" data-hovercard-type="issue" data-hovercard-url="/microsoft/terminal/issues/65/hovercard" href="https://github.com/microsoft/terminal/issues/65">#65</a> since it was about conhost and I'm talking about the new terminal, and I didn't have Shift pressed.</p>
1
<h5 dir="auto">ISSUE TYPE</h5> <p dir="auto">Feature Request</p> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">core</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="I just built from stable-2.1 branch ansible 2.1.1.0 config file = /mnt/c/Users/james/Dropbox/aftermath/ansible-repo/ansible.cfg configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">I just built from stable-2.1 branch ansible 2.1.1.0 config file = /mnt/c/Users/james/Dropbox/aftermath/ansible-repo/ansible.cfg configured module search path = Default w/o overrides </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">N/A</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">Host patterns that include intersections end up applying the intersection onto all patterns.</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <p dir="auto">Applicable groups:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[backend] lana [preagg] akira [dev-network] lana [cassandra_live_dcs] akira"><pre class="notranslate"><code class="notranslate">[backend] lana [preagg] akira [dev-network] lana [cassandra_live_dcs] akira </code></pre></div> <p dir="auto">Hosts from affected play</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- hosts: - backend:&amp;cassandra_live_dcs:&amp;dev-network - preagg"><pre class="notranslate"><code class="notranslate">- hosts: - backend:&amp;cassandra_live_dcs:&amp;dev-network - preagg </code></pre></div> <p dir="auto">Even though <code class="notranslate">preagg</code> is it's own pattern, it's being intersected with the groups from the first pattern. If I comment out the first hosts pattern, then <code class="notranslate">akira</code> is correctly run. Since <code class="notranslate">akira</code> is also in <code class="notranslate">cassandra_live_dcs</code>, if I remove <code class="notranslate">:&amp;dev-network</code> then it works correctly.</p> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">Since <code class="notranslate">akira</code> is in <code class="notranslate">preagg</code> I would expect it to have the play run on it.</p> <h5 dir="auto">ACTUAL RESULTS</h5> <p dir="auto">Output from <code class="notranslate">--list-hosts</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(backend:&amp;cassandra_live_dcs:&amp;dev-network,preagg): backend:&amp;cassandra_live_dcs:&amp;dev-network,preagg TAGS: [analyticsapi-preagg] pattern: [u'backend:&amp;cassandra_live_dcs:&amp;dev-network', u'preagg'] hosts (1): lana"><pre class="notranslate"><code class="notranslate">(backend:&amp;cassandra_live_dcs:&amp;dev-network,preagg): backend:&amp;cassandra_live_dcs:&amp;dev-network,preagg TAGS: [analyticsapi-preagg] pattern: [u'backend:&amp;cassandra_live_dcs:&amp;dev-network', u'preagg'] hosts (1): lana </code></pre></div>
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">rabbitmq_exchange</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.3.1.0 config file = configured module search path = Default w/o overrides python version = 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609] "><pre class="notranslate"><code class="notranslate">ansible 2.3.1.0 config file = configured module search path = Default w/o overrides python version = 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609] </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <p dir="auto">plain</p> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">xenial 64bit localhost</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">rabbitmq_exchange after creating an exchange the HTTP response is <code class="notranslate">201</code> and is interpreted as an error.</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <ol dir="auto"> <li>install rabbitmq 3.6.10</li> <li>run an ansible local on using a playbook like this</li> </ol> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="- name: creating test exchanges become: yes rabbitmq_exchange: name: test"><pre class="notranslate">- <span class="pl-ent">name</span>: <span class="pl-s">creating test exchanges</span> <span class="pl-ent">become</span>: <span class="pl-s">yes</span> <span class="pl-ent">rabbitmq_exchange</span>: <span class="pl-ent">name</span>: <span class="pl-s">test</span></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">creating an exchange.</p> <h5 dir="auto">ACTUAL RESULTS</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fatal: [rabbitmq-1]: FAILED! =&gt; {&quot;changed&quot;: false, &quot;details&quot;: &quot;&quot;, &quot;failed&quot;: true, &quot;msg&quot;: &quot;Error creating exchange&quot;, &quot;status&quot;: 201} "><pre class="notranslate"><code class="notranslate">fatal: [rabbitmq-1]: FAILED! =&gt; {"changed": false, "details": "", "failed": true, "msg": "Error creating exchange", "status": 201} </code></pre></div> <h3 dir="auto">SOLUTION</h3> <p dir="auto">actually the exchange is created need to be replaced the check with <code class="notranslate">201</code> instead of 201</p> <p dir="auto">probably it is required to do both due to the fact of backward compatibility of precedent version of RabbitMQ.</p>
0
<p dir="auto">I would love to start using Babel to develop apps but I really need AMD support. Everything works great until I want to use the <code class="notranslate">--optional runtime</code> flag on my build.</p> <p dir="auto">Here is a sample file.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import Foo from 'foo'; export default &quot;bar&quot;;"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-v">Foo</span> <span class="pl-k">from</span> <span class="pl-s">'foo'</span><span class="pl-kos">;</span> <span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-s">"bar"</span><span class="pl-kos">;</span></pre></div> <p dir="auto">And the compiled output.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&quot;use strict&quot;; define([&quot;exports&quot;, &quot;module&quot;, &quot;foo&quot;, &quot;babel-runtime/helpers&quot;], function (exports, module, _foo, _babelRuntimeHelpers) { var _babelHelpers = _babelRuntimeHelpers[&quot;default&quot;]; var Foo = _babelHelpers.interopRequire(_foo); module.exports = &quot;bar&quot;; });"><pre class="notranslate"><span class="pl-s">"use strict"</span><span class="pl-kos">;</span> <span class="pl-en">define</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-s">"exports"</span><span class="pl-kos">,</span> <span class="pl-s">"module"</span><span class="pl-kos">,</span> <span class="pl-s">"foo"</span><span class="pl-kos">,</span> <span class="pl-s">"babel-runtime/helpers"</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">exports</span><span class="pl-kos">,</span> <span class="pl-s1">module</span><span class="pl-kos">,</span> <span class="pl-s1">_foo</span><span class="pl-kos">,</span> <span class="pl-s1">_babelRuntimeHelpers</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">var</span> <span class="pl-s1">_babelHelpers</span> <span class="pl-c1">=</span> <span class="pl-s1">_babelRuntimeHelpers</span><span class="pl-kos">[</span><span class="pl-s">"default"</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-v">Foo</span> <span class="pl-c1">=</span> <span class="pl-s1">_babelHelpers</span><span class="pl-kos">.</span><span class="pl-en">interopRequire</span><span class="pl-kos">(</span><span class="pl-s1">_foo</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">module</span><span class="pl-kos">.</span><span class="pl-c1">exports</span> <span class="pl-c1">=</span> <span class="pl-s">"bar"</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">This all looks good and everything loads fine once I add a package called <code class="notranslate">babel-runtime</code> to my config.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" var dojoConfig = { packages: [ { name: 'babel-runtime', location: '/node_modules/babel-runtime' } ] };"><pre class="notranslate"> <span class="pl-k">var</span> <span class="pl-s1">dojoConfig</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">packages</span>: <span class="pl-kos">[</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'babel-runtime'</span><span class="pl-kos">,</span> <span class="pl-c1">location</span>: <span class="pl-s">'/node_modules/babel-runtime'</span> <span class="pl-kos">}</span> <span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div> <p dir="auto">But none of the runtime modules are actually AMD modules so they cant be loaded. For example helpers.js looks like this.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&quot;use strict&quot;; var _core = require(&quot;babel-runtime/core-js&quot;)[&quot;default&quot;]; var helpers = exports[&quot;default&quot;] = {}; exports.__esModule = true;"><pre class="notranslate"><span class="pl-s">"use strict"</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">_core</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">"babel-runtime/core-js"</span><span class="pl-kos">)</span><span class="pl-kos">[</span><span class="pl-s">"default"</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">helpers</span> <span class="pl-c1">=</span> <span class="pl-s1">exports</span><span class="pl-kos">[</span><span class="pl-s">"default"</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-s1">exports</span><span class="pl-kos">.</span><span class="pl-c1">__esModule</span> <span class="pl-c1">=</span> <span class="pl-c1">true</span><span class="pl-kos">;</span></pre></div> <p dir="auto">Would it be possible to convert the runtime files to UMD so they could support AMD loaders and build systems?</p>
<p dir="auto">requirejs does not work using the option <code class="notranslate">--modules amd --optional selfContained</code>. The <code class="notranslate">6to5-runtime/helpers</code> file does not export the helpers functions using the amd syntax, it can be used only in a nodejs/browserify environment.<br> There should be a way to avoid the following output using the amd modules option</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="define(&quot;myModule&quot;, [&quot;exports&quot;, &quot;module&quot;, &quot;6to5-runtime/helpers&quot;],function(6to5Helpers){ var _6to5helpers = 6to5Helpers; });"><pre class="notranslate"><span class="pl-en">define</span><span class="pl-kos">(</span><span class="pl-s">"myModule"</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-s">"exports"</span><span class="pl-kos">,</span> <span class="pl-s">"module"</span><span class="pl-kos">,</span> <span class="pl-s">"6to5-runtime/helpers"</span><span class="pl-kos">]</span><span class="pl-kos">,</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-c1">6</span><span class="pl-s1">to5Helpers</span><span class="pl-kos">)</span><span class="pl-kos">{</span> <span class="pl-k">var</span> <span class="pl-s1">_6to5helpers</span> <span class="pl-c1">=</span> <span class="pl-c1">6</span><span class="pl-s1">to5Helpers</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">The output should be similar to something like this:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="define(&quot;myModule&quot;, [&quot;exports&quot;, &quot;module&quot;],function(){ var _6to5helpers = global.6to5Helpers; });"><pre class="notranslate"><span class="pl-en">define</span><span class="pl-kos">(</span><span class="pl-s">"myModule"</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-s">"exports"</span><span class="pl-kos">,</span> <span class="pl-s">"module"</span><span class="pl-kos">]</span><span class="pl-kos">,</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">{</span> <span class="pl-k">var</span> <span class="pl-s1">_6to5helpers</span> <span class="pl-c1">=</span> <span class="pl-s1">global</span><span class="pl-c1">.6</span><span class="pl-s1">to5Helpers</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
1
<p dir="auto">In the readme there is not a single mention of compatibility with windows. Is it possible? I am trying to install the library but I get the following error when installing:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" C:\Users\Omar\Downloads\jax-master&gt;python build/build.py --enable_cuda _ _ __ __ | | / \ \ \/ / _ | |/ _ \ \ / | |_| / ___ \/ \ \___/_/ \/_/\_\ Bazel binary path: C:\path_apps\bazel.EXE Python binary path: C:\Program Files\Python36\python.exe MKL-DNN enabled: yes -march=native: no CUDA enabled: yes CUDA toolkit path: /usr/local/cuda CUDNN library path: /usr/local/cuda Building XLA and installing it in the jaxlib source tree... ERROR: python_path must be an absolute path when it is set. INFO: Elapsed time: 0.123s INFO: 0 processes. FAILED: Build did NOT complete successfully (0 packages loaded) FAILED: Build did NOT complete successfully (0 packages loaded) Traceback (most recent call last): File &quot;build/build.py&quot;, line 317, in &lt;module&gt; File &quot;build/build.py&quot;, line 313, in main File &quot;build/build.py&quot;, line 50, in shell File &quot;C:\Program Files\Python36\lib\subprocess.py&quot;, line 356, in check_output **kwargs).stdout File &quot;C:\Program Files\Python36\lib\subprocess.py&quot;, line 438, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['C:\\path_apps\\bazel.EXE', 'run', '--verbose_failures=true', '--config=mkl_open_source_only', '--config=cuda', ':install_xla_in_source_tree', 'C:\\Users\\Omar\\Downloads\\jax-master\\build']' returned non-zero exit status 2. "><pre class="notranslate"><code class="notranslate"> C:\Users\Omar\Downloads\jax-master&gt;python build/build.py --enable_cuda _ _ __ __ | | / \ \ \/ / _ | |/ _ \ \ / | |_| / ___ \/ \ \___/_/ \/_/\_\ Bazel binary path: C:\path_apps\bazel.EXE Python binary path: C:\Program Files\Python36\python.exe MKL-DNN enabled: yes -march=native: no CUDA enabled: yes CUDA toolkit path: /usr/local/cuda CUDNN library path: /usr/local/cuda Building XLA and installing it in the jaxlib source tree... ERROR: python_path must be an absolute path when it is set. INFO: Elapsed time: 0.123s INFO: 0 processes. FAILED: Build did NOT complete successfully (0 packages loaded) FAILED: Build did NOT complete successfully (0 packages loaded) Traceback (most recent call last): File "build/build.py", line 317, in &lt;module&gt; File "build/build.py", line 313, in main File "build/build.py", line 50, in shell File "C:\Program Files\Python36\lib\subprocess.py", line 356, in check_output **kwargs).stdout File "C:\Program Files\Python36\lib\subprocess.py", line 438, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['C:\\path_apps\\bazel.EXE', 'run', '--verbose_failures=true', '--config=mkl_open_source_only', '--config=cuda', ':install_xla_in_source_tree', 'C:\\Users\\Omar\\Downloads\\jax-master\\build']' returned non-zero exit status 2. </code></pre></div>
<p dir="auto">I failed to build jax from source with(similar with <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="400123466" data-permission-text="Title is private" data-url="https://github.com/google/jax/issues/253" data-hovercard-type="issue" data-hovercard-url="/google/jax/issues/253/hovercard" href="https://github.com/google/jax/issues/253">#253</a>, but my system is win):<br> Traceback (most recent call last):<br> File "build/build.py", line 308, in <br> main()<br> File "build/build.py", line 304, in main<br> [":install_xla_in_source_tree", os.getcwd()])<br> File "build/build.py", line 50, in shell<br> output = subprocess.check_output(cmd)<br> File "C:\Users\wangd\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 336, in check_output<br> **kwargs).stdout<br> File "C:\Users\wangd\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 418, in run<br> output=stdout, stderr=stderr)<br> subprocess.CalledProcessError: Command '['C:\bazel\bazel.EXE', 'run', '--verbose_failures=true', '--config=mkl_open_source_only', ':install_xla_in_source_tree', 'C:\Users\wangd\jax\build']' returned non-zero exit status 2.</p>
1
<p dir="auto">Using lmplot, the legend is not outside of the current figure. If I turn off the legend and try to do it manually through Python, the figure looks squeezed in some way.</p> <p dir="auto">I have updated Seaborn, Notebook, etc.</p> <p dir="auto"><code class="notranslate">g = seaborn.lmplot( x="rmsd", y="score_rank", data=ranks, fit_reg=True, hue='experiment-neat', legend_out=True)</code></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3290052/43615988-fbef1310-967f-11e8-8380-eab243da4f0c.png"><img src="https://user-images.githubusercontent.com/3290052/43615988-fbef1310-967f-11e8-8380-eab243da4f0c.png" alt="normal_rank_vs_rmsd_swapped_together" style="max-width: 100%;"></a></p> <p dir="auto">Seaborn Version: .9<br> Matplotlib Version: 2.2.2<br> Jupyter Notebook Version: 5.6; ipython 5.8</p>
<p dir="auto">They'll be hidden when the window pops up, but will appear if you drag it to adjust the size.</p> <p dir="auto">Not a problem with a qt5 gui window (or in the notebook backends).</p> <p dir="auto">Also not a problem if saved to png.</p>
1
<h2 dir="auto">Environment info</h2> <ul dir="auto"> <li><code class="notranslate">transformers</code> version: 4.10.0 (currently master)</li> <li>Platform: TPU VM3.8 -- Ubuntu 20.04.2 LTS</li> <li>Python version: 3.8.10</li> <li>PyTorch version (GPU?): XLA - 1.8.1</li> <li>Tensorflow version (GPU?): None</li> <li>Using GPU in script?: None</li> <li>Using distributed or parallel set-up in script?: Using <code class="notranslate">examples/pytorch/language-modeling/run_mlm_no_trainer.py</code> which is using Accelerator</li> </ul> <h3 dir="auto">Who can help</h3> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sgugger/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sgugger">@sgugger</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/patil-suraj/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/patil-suraj">@patil-suraj</a></p> <h2 dir="auto">Information</h2> <p dir="auto">Model I am using (Bert, XLNet ...):</p> <p dir="auto">The problem arises when using:</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> the official example scripts: (give details below)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> my own modified scripts: (give details below)</li> </ul> <p dir="auto">I have modified small things in <code class="notranslate">examples/pytorch/language-modeling/run_mlm_no_trainer.py</code> and changes as follow (can be reached at <a href="https://github.com/akalieren/transformers-master">https://github.com/akalieren/transformers-master</a>)</p> <ol dir="auto"> <li>Defined mp_fn to training script.</li> <li>Added <code class="notranslate">streaming_data=True</code> to Dataset Class</li> <li>Deleted <code class="notranslate">tpu_num_cores argument</code> from xla_spawn.py sys.args since it throw arrow.</li> </ol> <p dir="auto">The tasks I am working on is:</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> an official GLUE/SQUaD task: (give the name) Training MLM from scratch</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> my own task or dataset: (give details below)</li> </ul> <h2 dir="auto">To reproduce</h2> <p dir="auto">Steps to reproduce the behavior:</p> <ol dir="auto"> <li>Clone modified script<br> <code class="notranslate">git clone https://github.com/akalieren/transformers-master</code></li> <li><code class="notranslate">export XRT_TPU_CONFIG="localservice;0;localhost:51011"</code></li> <li>Install required libraries (I did not add extra installments to requirements.txt to highlight they are not stated in official example)</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pip install transformers-master pip install . pip install -r examples/pytorch/language-modeling/requirements.txt pip install accelerate pip install datasets[streaming]"><pre class="notranslate"><code class="notranslate">pip install transformers-master pip install . pip install -r examples/pytorch/language-modeling/requirements.txt pip install accelerate pip install datasets[streaming] </code></pre></div> <ol start="4" dir="auto"> <li>Run command</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="python3 examples/pytorch/xla_spawn.py --num_cores 8 examples/pytorch/language-modeling/run_mlm_no_trainer.py --model_type &quot;roberta&quot; --per_device_eval_batch_size 512 --per_device_train_batch_size 512 --max_train_steps 1000000 --preprocessing_num_workers 50 --pad_to_max_length --tokenizer_name &quot;./tokenizers/Roberta/&quot; --dataset_name='oscar' --dataset_config_name='unshuffled_deduplicated_fr' --data_streaming=True --max_seq_length 512 --line_by_line=True"><pre class="notranslate"><code class="notranslate">python3 examples/pytorch/xla_spawn.py --num_cores 8 examples/pytorch/language-modeling/run_mlm_no_trainer.py --model_type "roberta" --per_device_eval_batch_size 512 --per_device_train_batch_size 512 --max_train_steps 1000000 --preprocessing_num_workers 50 --pad_to_max_length --tokenizer_name "./tokenizers/Roberta/" --dataset_name='oscar' --dataset_config_name='unshuffled_deduplicated_fr' --data_streaming=True --max_seq_length 512 --line_by_line=True </code></pre></div> <p dir="auto">Note: Without xla_spawn, Accelerator use only one cores. Thats why I changed, with 1 core it is running but slow</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2021-07-26 00:30:54.355600: E tensorflow/core/framework/op_kernel.cc:1693] OpKernel ('op: &quot;TPURoundRobin&quot; device_type: &quot;CPU&quot;') for unknown op: TPURoundRobin 2021-07-26 00:30:54.355659: E tensorflow/core/framework/op_kernel.cc:1693] OpKernel ('op: &quot;TpuHandleToProtoKey&quot; device_type: &quot;CPU&quot;') for unknown op: TpuHandleToProtoKey 07/26/2021 00:31:13 - INFO - run_mlm_no_trainer - Distributed environment: TPU Num processes: 8 Process index: 0 Local process index: 0 Device: xla:1 Use FP16 precision: False Downloading and preparing dataset oscar/unshuffled_deduplicated_tr (download: 9.68 GiB, generated: 26.43 GiB, post-processed: Unknown size, total: 36.10 GiB) to /home/akali/.cache/huggingface/datasets/oscar/unshuffled_deduplicated_tr/1.0.0/84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2... 07/26/2021 00:31:20 - INFO - run_mlm_no_trainer - Distributed environment: TPU Num processes: 8 Process index: 1 Local process index: 1 Device: xla:0 Use FP16 precision: False 07/26/2021 00:31:20 - INFO - run_mlm_no_trainer - Distributed environment: TPU Num processes: 8 Process index: 5 Local process index: 5 Device: xla:0 Use FP16 precision: False 07/26/2021 00:31:20 - INFO - run_mlm_no_trainer - Distributed environment: TPU Num processes: 8 Process index: 7 Local process index: 7 Device: xla:0 Use FP16 precision: False 07/26/2021 00:31:20 - INFO - run_mlm_no_trainer - Distributed environment: TPU Num processes: 8 Process index: 6 Local process index: 6 Device: xla:0 Use FP16 precision: False 07/26/2021 00:31:21 - INFO - run_mlm_no_trainer - Distributed environment: TPU Num processes: 8 Process index: 2 Local process index: 2 Device: xla:0 Use FP16 precision: False 07/26/2021 00:31:21 - INFO - run_mlm_no_trainer - Distributed environment: TPU Num processes: 8 Process index: 4 Local process index: 4 Device: xla:0 Use FP16 precision: False 07/26/2021 00:31:23 - INFO - run_mlm_no_trainer - Distributed environment: TPU Num processes: 8 Process index: 3 Local process index: 3 Device: xla:0 Use FP16 precision: False 0 examples [00:00, ? examples/s]07/26/2021 00:31:44 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/657d72dc352d822d0496bb9f519cf0de87b87064d56024d9d1ac5585568125b1 718146 examples [00:48, 14431.60 examples/s]07/26/2021 00:32:32 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/f9b566f31181a53d426a2dc982a1b1de06cc92541de83cee688e5c57f4874300 1471415 examples [01:36, 13302.22 examples/s]07/26/2021 00:33:21 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/21f0672cc841442e067c7ea57471788dbd350f889acbd8028e75edb9efcacddb 2229278 examples [02:24, 16466.88 examples/s]07/26/2021 00:34:09 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/c027123c743fb1e0079bcd3be75f0ba6be89c6997f6b000e97c33f9c3d9c2742 2997743 examples [03:13, 18057.68 examples/s]07/26/2021 00:34:58 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/d7cc7a7389a8187b043cf359794e6fdc7783d5d0b6e7d737381e89d34c25e441 3772944 examples [04:02, 15671.97 examples/s]07/26/2021 00:35:46 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/a0175299b2eb4767f27e4f73c6848609be453fa5eb8d36dd6f8ecfd2c60a1e01 4569497 examples [04:51, 18017.92 examples/s]07/26/2021 00:36:35 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/6b432b7a552ccc65da0810808506bb7570162447776507b2b47319a230b48aa3 5356241 examples [05:39, 16205.13 examples/s]07/26/2021 00:37:24 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/ef34899af5cac3b75a798286fad2be831177c0833dab12c19c139b694d8c3544 6151458 examples [06:29, 11766.89 examples/s]07/26/2021 00:38:14 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/9926c88e0b8a2013f57aaef129cb9978ff129b8bfb3408c1194852c806249f9d 6957212 examples [07:18, 18684.33 examples/s]07/26/2021 00:39:03 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/aae79457ef2f44cd9ef24584b894c033d9099e6bc8e15b661a349cc185a230d7 7763558 examples [08:07, 16309.71 examples/s]07/26/2021 00:39:52 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/0274c31e96e2728161263b15aa4da982825eec91c7b0693756a890e76d1167c4 8565051 examples [08:57, 17289.47 examples/s]07/26/2021 00:40:41 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/f6423f5486261f771097352c7e2ae07643ad0f2fcf5f5d68c6a9921f8bd1e6a3 9397678 examples [09:46, 16643.61 examples/s]07/26/2021 00:41:30 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/2edc5ca535c1ea46aaacebf7f68a3553aa5d92b70e574f05709fa02dc52b5f4e 10231465 examples [10:36, 12871.41 examples/s]07/26/2021 00:42:20 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/3a06d248b02355ecdcf097df97a9e670db72c42456df9d04b15d4187933263ed 11075179 examples [11:26, 16567.73 examples/s]07/26/2021 00:43:11 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/0e3af1310ea118f4a5e8c13b40a561ae20ba209ae196d633a68155af35ec049c Dataset oscar downloaded and prepared to /home/akali/.cache/huggingface/datasets/oscar/unshuffled_deduplicated_tr/1.0.0/84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2. Subsequent calls will reuse this data. 07/26/2021 00:43:42 - WARNING - datasets.builder - Reusing dataset oscar (/home/akali/.cache/huggingface/datasets/oscar/unshuffled_deduplicated_tr/1.0.0/84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2) 07/26/2021 00:43:42 - WARNING - run_mlm_no_trainer - You are instantiating a new config instance from scratch. loading configuration file ./tokenizers/Roberta/config.json Model config RobertaConfig { &quot;architectures&quot;: [ &quot;RobertaForMaskedLM&quot; ], &quot;attention_probs_dropout_prob&quot;: 0.1, &quot;bos_token_id&quot;: 0, &quot;eos_token_id&quot;: 2, &quot;gradient_checkpointing&quot;: false, &quot;hidden_act&quot;: &quot;gelu&quot;, &quot;hidden_dropout_prob&quot;: 0.1, &quot;hidden_size&quot;: 768, &quot;initializer_range&quot;: 0.02, &quot;intermediate_size&quot;: 3072, &quot;layer_norm_eps&quot;: 1e-05, &quot;max_position_embeddings&quot;: 514, &quot;model_type&quot;: &quot;roberta&quot;, &quot;num_attention_heads&quot;: 12, &quot;num_hidden_layers&quot;: 12, &quot;pad_token_id&quot;: 1, &quot;position_embedding_type&quot;: &quot;absolute&quot;, &quot;transformers_version&quot;: &quot;4.10.0.dev0&quot;, &quot;type_vocab_size&quot;: 1, &quot;use_cache&quot;: true, &quot;vocab_size&quot;: 52000 } Didn't find file ./tokenizers/Roberta/tokenizer.json. We won't load it. Didn't find file ./tokenizers/Roberta/added_tokens.json. We won't load it. loading file ./tokenizers/Roberta/vocab.json loading file ./tokenizers/Roberta/merges.txt loading file None loading file None loading file ./tokenizers/Roberta/special_tokens_map.json loading file ./tokenizers/Roberta/tokenizer_config.json loading configuration file ./tokenizers/Roberta/config.json Model config RobertaConfig { &quot;architectures&quot;: [ &quot;RobertaForMaskedLM&quot; ], &quot;attention_probs_dropout_prob&quot;: 0.1, &quot;bos_token_id&quot;: 0, &quot;eos_token_id&quot;: 2, &quot;gradient_checkpointing&quot;: false, &quot;hidden_act&quot;: &quot;gelu&quot;, &quot;hidden_dropout_prob&quot;: 0.1, &quot;hidden_size&quot;: 768, &quot;initializer_range&quot;: 0.02, &quot;intermediate_size&quot;: 3072, &quot;layer_norm_eps&quot;: 1e-05, &quot;max_position_embeddings&quot;: 514, &quot;model_type&quot;: &quot;roberta&quot;, &quot;num_attention_heads&quot;: 12, &quot;num_hidden_layers&quot;: 12, &quot;pad_token_id&quot;: 1, &quot;position_embedding_type&quot;: &quot;absolute&quot;, &quot;transformers_version&quot;: &quot;4.10.0.dev0&quot;, &quot;type_vocab_size&quot;: 1, &quot;use_cache&quot;: true, &quot;vocab_size&quot;: 52000 } loading configuration file ./tokenizers/Roberta/config.json Model config RobertaConfig { &quot;architectures&quot;: [ &quot;RobertaForMaskedLM&quot; ], &quot;attention_probs_dropout_prob&quot;: 0.1, &quot;bos_token_id&quot;: 0, &quot;eos_token_id&quot;: 2, &quot;gradient_checkpointing&quot;: false, &quot;hidden_act&quot;: &quot;gelu&quot;, &quot;hidden_dropout_prob&quot;: 0.1, &quot;hidden_size&quot;: 768, &quot;initializer_range&quot;: 0.02, &quot;intermediate_size&quot;: 3072, &quot;layer_norm_eps&quot;: 1e-05, &quot;max_position_embeddings&quot;: 514, &quot;model_type&quot;: &quot;roberta&quot;, &quot;num_attention_heads&quot;: 12, &quot;num_hidden_layers&quot;: 12, &quot;pad_token_id&quot;: 1, &quot;position_embedding_type&quot;: &quot;absolute&quot;, &quot;transformers_version&quot;: &quot;4.10.0.dev0&quot;, &quot;type_vocab_size&quot;: 1, &quot;use_cache&quot;: true, &quot;vocab_size&quot;: 52000 } # AFTER THIS POINT: Script started to print tqdm process multiple times like that: ----&gt; LOOK HERE Running tokenizer on dataset line_by_line #43: 19%|███████████████████████▏ | 43/221 [12:20&lt;51:05, 17.22s/ba] Running tokenizer on dataset line_by_line #36: 19%|███████████████████████▏ | 43/221 [12:24&lt;51:20, 17.30s/ba] Running tokenizer on dataset line_by_line #29: 19%|███████████████████████▏ | 43/221 [12:28&lt;51:37, 17.40s/ba] Running tokenizer on dataset line_by_line #38: 19%|███████████████████████▏ | 43/221 [12:22&lt;51:15, 17.28s/ba] Running tokenizer on dataset line_by_line #5: 18%|█████████████████████▏ | 39/221 [12:33&lt;58:34, 19.31s/ba] Running tokenizer on dataset line_by_line #21: 19%|███████████████████████▏ | 43/221 [12:30&lt;51:45, 17.45s/ba] Running tokenizer on dataset line_by_line #46: 19%|███████████████████████▏ | 43/221 [12:19&lt;51:01, 17.20s/ba] Running tokenizer on dataset line_by_line #38: 19%|███████████████████████▏ | 43/221 [12:25&lt;51:25, 17.34s/ba] Running tokenizer on dataset line_by_line #42: 19%|███████████████████████▏ | 43/221 [12:23&lt;51:19, 17.30s/ba] Running tokenizer on dataset line_by_line #35: 19%|███████████████████████▏ | 43/221 [12:26&lt;51:31, 17.37s/ba] Running tokenizer on dataset line_by_line #21: 19%|███████████████████████▏ | 43/221 [12:30&lt;51:48, 17.46s/ba] Running tokenizer on dataset line_by_line #45: 19%|███████████████████████▏ | 43/221 [12:23&lt;51:17, 17.29s/ba] Running tokenizer on dataset line_by_line #35: 19%|███████████████████████▏ | 43/221 [12:27&lt;51:34, 17.38s/ba] ----&gt; AND HERE Running tokenizer on dataset line_by_line #43: 18%|█████████████████████ As it can be seen processor 43 printed 2 times but their percentage is inconsistent. Since it can't be decreased, I think it is preprocessing in for each core."><pre class="notranslate"><code class="notranslate">2021-07-26 00:30:54.355600: E tensorflow/core/framework/op_kernel.cc:1693] OpKernel ('op: "TPURoundRobin" device_type: "CPU"') for unknown op: TPURoundRobin 2021-07-26 00:30:54.355659: E tensorflow/core/framework/op_kernel.cc:1693] OpKernel ('op: "TpuHandleToProtoKey" device_type: "CPU"') for unknown op: TpuHandleToProtoKey 07/26/2021 00:31:13 - INFO - run_mlm_no_trainer - Distributed environment: TPU Num processes: 8 Process index: 0 Local process index: 0 Device: xla:1 Use FP16 precision: False Downloading and preparing dataset oscar/unshuffled_deduplicated_tr (download: 9.68 GiB, generated: 26.43 GiB, post-processed: Unknown size, total: 36.10 GiB) to /home/akali/.cache/huggingface/datasets/oscar/unshuffled_deduplicated_tr/1.0.0/84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2... 07/26/2021 00:31:20 - INFO - run_mlm_no_trainer - Distributed environment: TPU Num processes: 8 Process index: 1 Local process index: 1 Device: xla:0 Use FP16 precision: False 07/26/2021 00:31:20 - INFO - run_mlm_no_trainer - Distributed environment: TPU Num processes: 8 Process index: 5 Local process index: 5 Device: xla:0 Use FP16 precision: False 07/26/2021 00:31:20 - INFO - run_mlm_no_trainer - Distributed environment: TPU Num processes: 8 Process index: 7 Local process index: 7 Device: xla:0 Use FP16 precision: False 07/26/2021 00:31:20 - INFO - run_mlm_no_trainer - Distributed environment: TPU Num processes: 8 Process index: 6 Local process index: 6 Device: xla:0 Use FP16 precision: False 07/26/2021 00:31:21 - INFO - run_mlm_no_trainer - Distributed environment: TPU Num processes: 8 Process index: 2 Local process index: 2 Device: xla:0 Use FP16 precision: False 07/26/2021 00:31:21 - INFO - run_mlm_no_trainer - Distributed environment: TPU Num processes: 8 Process index: 4 Local process index: 4 Device: xla:0 Use FP16 precision: False 07/26/2021 00:31:23 - INFO - run_mlm_no_trainer - Distributed environment: TPU Num processes: 8 Process index: 3 Local process index: 3 Device: xla:0 Use FP16 precision: False 0 examples [00:00, ? examples/s]07/26/2021 00:31:44 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/657d72dc352d822d0496bb9f519cf0de87b87064d56024d9d1ac5585568125b1 718146 examples [00:48, 14431.60 examples/s]07/26/2021 00:32:32 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/f9b566f31181a53d426a2dc982a1b1de06cc92541de83cee688e5c57f4874300 1471415 examples [01:36, 13302.22 examples/s]07/26/2021 00:33:21 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/21f0672cc841442e067c7ea57471788dbd350f889acbd8028e75edb9efcacddb 2229278 examples [02:24, 16466.88 examples/s]07/26/2021 00:34:09 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/c027123c743fb1e0079bcd3be75f0ba6be89c6997f6b000e97c33f9c3d9c2742 2997743 examples [03:13, 18057.68 examples/s]07/26/2021 00:34:58 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/d7cc7a7389a8187b043cf359794e6fdc7783d5d0b6e7d737381e89d34c25e441 3772944 examples [04:02, 15671.97 examples/s]07/26/2021 00:35:46 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/a0175299b2eb4767f27e4f73c6848609be453fa5eb8d36dd6f8ecfd2c60a1e01 4569497 examples [04:51, 18017.92 examples/s]07/26/2021 00:36:35 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/6b432b7a552ccc65da0810808506bb7570162447776507b2b47319a230b48aa3 5356241 examples [05:39, 16205.13 examples/s]07/26/2021 00:37:24 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/ef34899af5cac3b75a798286fad2be831177c0833dab12c19c139b694d8c3544 6151458 examples [06:29, 11766.89 examples/s]07/26/2021 00:38:14 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/9926c88e0b8a2013f57aaef129cb9978ff129b8bfb3408c1194852c806249f9d 6957212 examples [07:18, 18684.33 examples/s]07/26/2021 00:39:03 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/aae79457ef2f44cd9ef24584b894c033d9099e6bc8e15b661a349cc185a230d7 7763558 examples [08:07, 16309.71 examples/s]07/26/2021 00:39:52 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/0274c31e96e2728161263b15aa4da982825eec91c7b0693756a890e76d1167c4 8565051 examples [08:57, 17289.47 examples/s]07/26/2021 00:40:41 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/f6423f5486261f771097352c7e2ae07643ad0f2fcf5f5d68c6a9921f8bd1e6a3 9397678 examples [09:46, 16643.61 examples/s]07/26/2021 00:41:30 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/2edc5ca535c1ea46aaacebf7f68a3553aa5d92b70e574f05709fa02dc52b5f4e 10231465 examples [10:36, 12871.41 examples/s]07/26/2021 00:42:20 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/3a06d248b02355ecdcf097df97a9e670db72c42456df9d04b15d4187933263ed 11075179 examples [11:26, 16567.73 examples/s]07/26/2021 00:43:11 - INFO - datasets_modules.datasets.oscar.84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2.oscar - generating examples from = /home/akali/.cache/huggingface/datasets/downloads/0e3af1310ea118f4a5e8c13b40a561ae20ba209ae196d633a68155af35ec049c Dataset oscar downloaded and prepared to /home/akali/.cache/huggingface/datasets/oscar/unshuffled_deduplicated_tr/1.0.0/84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2. Subsequent calls will reuse this data. 07/26/2021 00:43:42 - WARNING - datasets.builder - Reusing dataset oscar (/home/akali/.cache/huggingface/datasets/oscar/unshuffled_deduplicated_tr/1.0.0/84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2) 07/26/2021 00:43:42 - WARNING - run_mlm_no_trainer - You are instantiating a new config instance from scratch. loading configuration file ./tokenizers/Roberta/config.json Model config RobertaConfig { "architectures": [ "RobertaForMaskedLM" ], "attention_probs_dropout_prob": 0.1, "bos_token_id": 0, "eos_token_id": 2, "gradient_checkpointing": false, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "initializer_range": 0.02, "intermediate_size": 3072, "layer_norm_eps": 1e-05, "max_position_embeddings": 514, "model_type": "roberta", "num_attention_heads": 12, "num_hidden_layers": 12, "pad_token_id": 1, "position_embedding_type": "absolute", "transformers_version": "4.10.0.dev0", "type_vocab_size": 1, "use_cache": true, "vocab_size": 52000 } Didn't find file ./tokenizers/Roberta/tokenizer.json. We won't load it. Didn't find file ./tokenizers/Roberta/added_tokens.json. We won't load it. loading file ./tokenizers/Roberta/vocab.json loading file ./tokenizers/Roberta/merges.txt loading file None loading file None loading file ./tokenizers/Roberta/special_tokens_map.json loading file ./tokenizers/Roberta/tokenizer_config.json loading configuration file ./tokenizers/Roberta/config.json Model config RobertaConfig { "architectures": [ "RobertaForMaskedLM" ], "attention_probs_dropout_prob": 0.1, "bos_token_id": 0, "eos_token_id": 2, "gradient_checkpointing": false, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "initializer_range": 0.02, "intermediate_size": 3072, "layer_norm_eps": 1e-05, "max_position_embeddings": 514, "model_type": "roberta", "num_attention_heads": 12, "num_hidden_layers": 12, "pad_token_id": 1, "position_embedding_type": "absolute", "transformers_version": "4.10.0.dev0", "type_vocab_size": 1, "use_cache": true, "vocab_size": 52000 } loading configuration file ./tokenizers/Roberta/config.json Model config RobertaConfig { "architectures": [ "RobertaForMaskedLM" ], "attention_probs_dropout_prob": 0.1, "bos_token_id": 0, "eos_token_id": 2, "gradient_checkpointing": false, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "initializer_range": 0.02, "intermediate_size": 3072, "layer_norm_eps": 1e-05, "max_position_embeddings": 514, "model_type": "roberta", "num_attention_heads": 12, "num_hidden_layers": 12, "pad_token_id": 1, "position_embedding_type": "absolute", "transformers_version": "4.10.0.dev0", "type_vocab_size": 1, "use_cache": true, "vocab_size": 52000 } # AFTER THIS POINT: Script started to print tqdm process multiple times like that: ----&gt; LOOK HERE Running tokenizer on dataset line_by_line #43: 19%|███████████████████████▏ | 43/221 [12:20&lt;51:05, 17.22s/ba] Running tokenizer on dataset line_by_line #36: 19%|███████████████████████▏ | 43/221 [12:24&lt;51:20, 17.30s/ba] Running tokenizer on dataset line_by_line #29: 19%|███████████████████████▏ | 43/221 [12:28&lt;51:37, 17.40s/ba] Running tokenizer on dataset line_by_line #38: 19%|███████████████████████▏ | 43/221 [12:22&lt;51:15, 17.28s/ba] Running tokenizer on dataset line_by_line #5: 18%|█████████████████████▏ | 39/221 [12:33&lt;58:34, 19.31s/ba] Running tokenizer on dataset line_by_line #21: 19%|███████████████████████▏ | 43/221 [12:30&lt;51:45, 17.45s/ba] Running tokenizer on dataset line_by_line #46: 19%|███████████████████████▏ | 43/221 [12:19&lt;51:01, 17.20s/ba] Running tokenizer on dataset line_by_line #38: 19%|███████████████████████▏ | 43/221 [12:25&lt;51:25, 17.34s/ba] Running tokenizer on dataset line_by_line #42: 19%|███████████████████████▏ | 43/221 [12:23&lt;51:19, 17.30s/ba] Running tokenizer on dataset line_by_line #35: 19%|███████████████████████▏ | 43/221 [12:26&lt;51:31, 17.37s/ba] Running tokenizer on dataset line_by_line #21: 19%|███████████████████████▏ | 43/221 [12:30&lt;51:48, 17.46s/ba] Running tokenizer on dataset line_by_line #45: 19%|███████████████████████▏ | 43/221 [12:23&lt;51:17, 17.29s/ba] Running tokenizer on dataset line_by_line #35: 19%|███████████████████████▏ | 43/221 [12:27&lt;51:34, 17.38s/ba] ----&gt; AND HERE Running tokenizer on dataset line_by_line #43: 18%|█████████████████████ As it can be seen processor 43 printed 2 times but their percentage is inconsistent. Since it can't be decreased, I think it is preprocessing in for each core. </code></pre></div> <h2 dir="auto">Expected behavior</h2> <p dir="auto">I expected to run training script with 8 cores with normal speed. But it is stoped at this point and not continue from here even without small changes.</p>
<p dir="auto">Hello,</p> <p dir="auto">Suppose that I have two GPT2DoubleHeadsModel (let’s call it model A and B).<br> Is there any way that I can:</p> <ol dir="auto"> <li>take the hidden state of a given input at the n-th layer of the model A and feed it directly into the output layer of model B to compute output</li> </ol> <p dir="auto">AND</p> <ol start="2" dir="auto"> <li>Take the output obtained from 1. and calculate the loss based on an appropriate label</li> </ol> <p dir="auto">Some coding example would be a great help.</p> <p dir="auto">Thank you,</p>
0
<p dir="auto">Trying to create a simple Cube with MutiMaterial and it keeps giving an error</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Uncaught TypeError: Cannot read property 'visible' of undefined"><pre class="notranslate"><code class="notranslate">Uncaught TypeError: Cannot read property 'visible' of undefined </code></pre></div> <p dir="auto">I traced it back to line 22548</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="if ( groupMaterial.visible === true ) {"><pre class="notranslate"><code class="notranslate">if ( groupMaterial.visible === true ) { </code></pre></div> <p dir="auto">Here is my code</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="var scene = new THREE.Scene(); var camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); var renderer = new THREE.WebGLRenderer({ antialias: true }); renderer.setSize(window.innerWidth, window.innerHeight); $('body').append(renderer.domElement); var manager = new THREE.LoadingManager(); manager.onProgress = function(item, loaded, total) { console.log(item, loaded, total); }; manager.onLoad = function() { render(); } var skin; var loader = new THREE.TextureLoader(manager); loader.load('assets/sam.png', function(texture) { skin = texture; var mats = []; front_texture = skin.clone(); front_texture.minFilter = THREE.LinearMipMapLinearFilter; front_texture.magFilter = THREE.NearestFilter; front_texture.offset.x = (1 / 64) * 8; front_texture.offset.y = (1 / 64) * 48; front_texture.repeat.x = (1 / 64) * 8; front_texture.repeat.y = (1 / 64) * 8; front_texture.needsUpdate = true; var front_material = new THREE.MeshBasicMaterial({ map: front_texture }); mats.push(front_material); var geometry = new THREE.BoxGeometry((1/16)*8, (1/16)*8, (1/16)*8); cube = new THREE.Mesh(geometry, new THREE.MultiMaterial(mats)); scene.add(cube); }); camera.position.z = 5; var render = function() { window.requestAnimationFrame(render); renderer.render(scene, camera); };"><pre class="notranslate"><code class="notranslate">var scene = new THREE.Scene(); var camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); var renderer = new THREE.WebGLRenderer({ antialias: true }); renderer.setSize(window.innerWidth, window.innerHeight); $('body').append(renderer.domElement); var manager = new THREE.LoadingManager(); manager.onProgress = function(item, loaded, total) { console.log(item, loaded, total); }; manager.onLoad = function() { render(); } var skin; var loader = new THREE.TextureLoader(manager); loader.load('assets/sam.png', function(texture) { skin = texture; var mats = []; front_texture = skin.clone(); front_texture.minFilter = THREE.LinearMipMapLinearFilter; front_texture.magFilter = THREE.NearestFilter; front_texture.offset.x = (1 / 64) * 8; front_texture.offset.y = (1 / 64) * 48; front_texture.repeat.x = (1 / 64) * 8; front_texture.repeat.y = (1 / 64) * 8; front_texture.needsUpdate = true; var front_material = new THREE.MeshBasicMaterial({ map: front_texture }); mats.push(front_material); var geometry = new THREE.BoxGeometry((1/16)*8, (1/16)*8, (1/16)*8); cube = new THREE.Mesh(geometry, new THREE.MultiMaterial(mats)); scene.add(cube); }); camera.position.z = 5; var render = function() { window.requestAnimationFrame(render); renderer.render(scene, camera); }; </code></pre></div>
<p dir="auto">Was just wondering about this...</p> <p dir="auto"><code class="notranslate">Mesh</code> seems to be confusing to some people as for them that's what what we call <code class="notranslate">Geometry</code>. Maybe <code class="notranslate">Object</code> could be a better name for it. However, <code class="notranslate">Object3D</code> would then be even more confusing. In such case, what could <code class="notranslate">Object3D</code> be renamed to?</p> <ul dir="auto"> <li>Entity</li> <li>Node</li> <li>SceneNode</li> <li>...</li> </ul>
0
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">unarchive</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible --version ansible 2.4.0 (devel 5741712a09) last updated 2017/05/18 16:08:41 (GMT +200) config file = configured module search path = [u'/home/pvdputte/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /home/pvdputte/VC/vendor/ansible-master/lib/ansible executable location = /home/pvdputte/VC/vendor/ansible-master/bin/ansible python version = 2.7.6 (default, Oct 26 2016, 20:30:19) [GCC 4.8.4] "><pre class="notranslate"><code class="notranslate">$ ansible --version ansible 2.4.0 (devel 5741712a09) last updated 2017/05/18 16:08:41 (GMT +200) config file = configured module search path = [u'/home/pvdputte/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /home/pvdputte/VC/vendor/ansible-master/lib/ansible executable location = /home/pvdputte/VC/vendor/ansible-master/bin/ansible python version = 2.7.6 (default, Oct 26 2016, 20:30:19) [GCC 4.8.4] </code></pre></div> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">Ubuntu 14.04 'Trusty', managing Debian 7.0 'Wheezy'</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">unarchive in current master won't work with remote files anymore. Simply copying lib/ansible/plugins/action/unarchive.py and lib/ansible/modules/files/unarchive.py from ansible 2.3 makes it work again.</p> <p dir="auto">Perhaps also check out <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="170039309" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/17009" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible/issues/17009/hovercard" href="https://github.com/ansible/ansible/issues/17009">#17009</a></p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="- name: &quot;install AWStats&quot; unarchive: remote_src: &quot;yes&quot; src: &quot;http://netix.dl.sourceforge.net/project/awstats/AWStats/7.5/awstats-7.5.tar.gz&quot; dest: &quot;/tmp&quot; owner: &quot;root&quot; group: &quot;root&quot; keep_newer: &quot;yes&quot; creates: &quot;/tmp/awstats-7.5&quot;"><pre class="notranslate">- <span class="pl-ent">name</span>: <span class="pl-s"><span class="pl-pds">"</span>install AWStats<span class="pl-pds">"</span></span> <span class="pl-ent">unarchive</span>: <span class="pl-ent">remote_src</span>: <span class="pl-s"><span class="pl-pds">"</span>yes<span class="pl-pds">"</span></span> <span class="pl-ent">src</span>: <span class="pl-s"><span class="pl-pds">"</span>http://netix.dl.sourceforge.net/project/awstats/AWStats/7.5/awstats-7.5.tar.gz<span class="pl-pds">"</span></span> <span class="pl-ent">dest</span>: <span class="pl-s"><span class="pl-pds">"</span>/tmp<span class="pl-pds">"</span></span> <span class="pl-ent">owner</span>: <span class="pl-s"><span class="pl-pds">"</span>root<span class="pl-pds">"</span></span> <span class="pl-ent">group</span>: <span class="pl-s"><span class="pl-pds">"</span>root<span class="pl-pds">"</span></span> <span class="pl-ent">keep_newer</span>: <span class="pl-s"><span class="pl-pds">"</span>yes<span class="pl-pds">"</span></span> <span class="pl-ent">creates</span>: <span class="pl-s"><span class="pl-pds">"</span>/tmp/awstats-7.5<span class="pl-pds">"</span></span></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">It is expected that the file will be properly downloaded and extracted to the destination directory.</p> <h5 dir="auto">ACTUAL RESULTS</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK [hclwrk-init : install AWStats] ******************************************* fatal: [com-dhclwrk001.srv.combell-ops.net]: FAILED! =&gt; {&quot;changed&quot;: false, &quot;failed&quot;: true, &quot;msg&quot;: &quot;Source 'http://netix.dl.sourceforge.net/project/awstats/AWStats/7.5/awstats-7.5.tar.gz' failed to transfer&quot;}"><pre class="notranslate"><code class="notranslate">TASK [hclwrk-init : install AWStats] ******************************************* fatal: [com-dhclwrk001.srv.combell-ops.net]: FAILED! =&gt; {"changed": false, "failed": true, "msg": "Source 'http://netix.dl.sourceforge.net/project/awstats/AWStats/7.5/awstats-7.5.tar.gz' failed to transfer"} </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"> </code></pre></div>
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">unarchive</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible --version ansible 2.4.0 (devel 313591f8b8) last updated 2017/04/13 21:20:44 (GMT +200) config file = configured module search path = [u'/home/pvdputte/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /home/pvdputte/VC/vendor/ansible-master/lib/ansible executable location = /home/pvdputte/VC/vendor/ansible-master/bin/ansible python version = 2.7.6 (default, Oct 26 2016, 20:30:19) [GCC 4.8.4]"><pre class="notranslate"><code class="notranslate">$ ansible --version ansible 2.4.0 (devel 313591f8b8) last updated 2017/04/13 21:20:44 (GMT +200) config file = configured module search path = [u'/home/pvdputte/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /home/pvdputte/VC/vendor/ansible-master/lib/ansible executable location = /home/pvdputte/VC/vendor/ansible-master/bin/ansible python version = 2.7.6 (default, Oct 26 2016, 20:30:19) [GCC 4.8.4] </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <p dir="auto">Default</p> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">Running from ubuntu 14.04LTS<br> Managing ubuntu 17.04 (only python 3 after base install)</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">Attempting to run the unarchive task to download and extract an http URL yields an error "Source '<a href="http://cdn01.downloads.smartbear.com/soapui/5.3.0/SoapUI-5.3.0-linux-bin.tar.gz" rel="nofollow">http://cdn01.downloads.smartbear.com/soapui/5.3.0/SoapUI-5.3.0-linux-bin.tar.gz</a>' failed to transfer"</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ ansible-d targethost -e 'ansible_python_interpreter=/usr/bin/python3' -m unarchive -a &quot;src=http://cdn01.downloads.smartbear.com/soapui/5.3.0/SoapUI-5.3.0-linux-bin.tar.gz dest=/tmp remote_src=true&quot;"><pre class="notranslate"><span class="pl-s">$ ansible-d targethost -e 'ansible_python_interpreter=/usr/bin/python3' -m unarchive -a "src=http://cdn01.downloads.smartbear.com/soapui/5.3.0/SoapUI-5.3.0-linux-bin.tar.gz dest=/tmp remote_src=true"</span></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">tar.gz file is fetched and extracted in the expected location. E.g. with python 2:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible-d targethost -m unarchive -a &quot;src=http://cdn01.downloads.smartbear.com/soapui/5.3.0/SoapUI-5.3.0-linux-bin.tar.gz dest=/tmp remote_src=true&quot; targethost | SUCCESS =&gt; { &quot;changed&quot;: true, &quot;dest&quot;: &quot;/tmp&quot;, &quot;extract_results&quot;: { &quot;cmd&quot;: [ &quot;/bin/tar&quot;, &quot;--extract&quot;, &quot;-C&quot;, &quot;/tmp&quot;, &quot;-z&quot;, &quot;-f&quot;, &quot;/tmp/ansible_3W9Kei/SoapUI-5.3.0-linux-bin.tar.gz&quot; ], &quot;err&quot;: &quot;&quot;, &quot;out&quot;: &quot;&quot;, &quot;rc&quot;: 0 }, &quot;gid&quot;: 0, &quot;group&quot;: &quot;root&quot;, &quot;handler&quot;: &quot;TgzArchive&quot;, &quot;mode&quot;: &quot;01777&quot;, &quot;owner&quot;: &quot;root&quot;, &quot;size&quot;: 4096, &quot;src&quot;: &quot;/tmp/ansible_3W9Kei/SoapUI-5.3.0-linux-bin.tar.gz&quot;, &quot;state&quot;: &quot;directory&quot;, &quot;uid&quot;: 0 }"><pre class="notranslate"><code class="notranslate">$ ansible-d targethost -m unarchive -a "src=http://cdn01.downloads.smartbear.com/soapui/5.3.0/SoapUI-5.3.0-linux-bin.tar.gz dest=/tmp remote_src=true" targethost | SUCCESS =&gt; { "changed": true, "dest": "/tmp", "extract_results": { "cmd": [ "/bin/tar", "--extract", "-C", "/tmp", "-z", "-f", "/tmp/ansible_3W9Kei/SoapUI-5.3.0-linux-bin.tar.gz" ], "err": "", "out": "", "rc": 0 }, "gid": 0, "group": "root", "handler": "TgzArchive", "mode": "01777", "owner": "root", "size": 4096, "src": "/tmp/ansible_3W9Kei/SoapUI-5.3.0-linux-bin.tar.gz", "state": "directory", "uid": 0 } </code></pre></div> <h5 dir="auto">ACTUAL RESULTS</h5> <p dir="auto">ansible 2.3:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="targethost | FAILED! =&gt; { &quot;changed&quot;: false, &quot;failed&quot;: true, &quot;invocation&quot;: { &quot;module_args&quot;: { &quot;attributes&quot;: null, &quot;backup&quot;: null, &quot;content&quot;: null, &quot;copy&quot;: true, &quot;creates&quot;: null, &quot;delimiter&quot;: null, &quot;dest&quot;: &quot;/tmp&quot;, &quot;directory_mode&quot;: null, &quot;exclude&quot;: [], &quot;extra_opts&quot;: [], &quot;follow&quot;: false, &quot;force&quot;: null, &quot;group&quot;: null, &quot;keep_newer&quot;: false, &quot;list_files&quot;: false, &quot;mode&quot;: null, &quot;original_basename&quot;: &quot;SoapUI-5.3.0-linux-bin.tar.gz&quot;, &quot;owner&quot;: null, &quot;regexp&quot;: null, &quot;remote_src&quot;: true, &quot;selevel&quot;: null, &quot;serole&quot;: null, &quot;setype&quot;: null, &quot;seuser&quot;: null, &quot;src&quot;: &quot;http://cdn01.downloads.smartbear.com/soapui/5.3.0/SoapUI-5.3.0-linux-bin.tar.gz&quot;, &quot;unsafe_writes&quot;: null, &quot;validate_certs&quot;: true } }, &quot;msg&quot;: &quot;Failure downloading http://cdn01.downloads.smartbear.com/soapui/5.3.0/SoapUI-5.3.0-linux-bin.tar.gz, write() argument must be str, not bytes&quot; }"><pre class="notranslate"><code class="notranslate">targethost | FAILED! =&gt; { "changed": false, "failed": true, "invocation": { "module_args": { "attributes": null, "backup": null, "content": null, "copy": true, "creates": null, "delimiter": null, "dest": "/tmp", "directory_mode": null, "exclude": [], "extra_opts": [], "follow": false, "force": null, "group": null, "keep_newer": false, "list_files": false, "mode": null, "original_basename": "SoapUI-5.3.0-linux-bin.tar.gz", "owner": null, "regexp": null, "remote_src": true, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "http://cdn01.downloads.smartbear.com/soapui/5.3.0/SoapUI-5.3.0-linux-bin.tar.gz", "unsafe_writes": null, "validate_certs": true } }, "msg": "Failure downloading http://cdn01.downloads.smartbear.com/soapui/5.3.0/SoapUI-5.3.0-linux-bin.tar.gz, write() argument must be str, not bytes" } </code></pre></div> <p dir="auto">ansible 2.4:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="targethost | FAILED! =&gt; { &quot;changed&quot;: false, &quot;failed&quot;: true, &quot;invocation&quot;: { &quot;module_args&quot;: { &quot;attributes&quot;: null, &quot;backup&quot;: null, &quot;content&quot;: null, &quot;copy&quot;: true, &quot;creates&quot;: null, &quot;delimiter&quot;: null, &quot;dest&quot;: &quot;/usr/local&quot;, &quot;directory_mode&quot;: null, &quot;exclude&quot;: [], &quot;extra_opts&quot;: [], &quot;follow&quot;: false, &quot;force&quot;: null, &quot;group&quot;: null, &quot;keep_newer&quot;: false, &quot;list_files&quot;: false, &quot;mode&quot;: null, &quot;original_basename&quot;: &quot;SoapUI-5.3.0-linux-bin.tar.gz&quot;, &quot;owner&quot;: null, &quot;regexp&quot;: null, &quot;remote_src&quot;: false, &quot;selevel&quot;: null, &quot;serole&quot;: null, &quot;setype&quot;: null, &quot;seuser&quot;: null, &quot;src&quot;: &quot;http://cdn01.downloads.smartbear.com/soapui/5.3.0/SoapUI-5.3.0-linux-bin.tar.gz&quot;, &quot;unsafe_writes&quot;: null, &quot;validate_certs&quot;: true } }, &quot;msg&quot;: &quot;Source 'http://cdn01.downloads.smartbear.com/soapui/5.3.0/SoapUI-5.3.0-linux-bin.tar.gz' failed to transfer&quot; }"><pre class="notranslate"><code class="notranslate">targethost | FAILED! =&gt; { "changed": false, "failed": true, "invocation": { "module_args": { "attributes": null, "backup": null, "content": null, "copy": true, "creates": null, "delimiter": null, "dest": "/usr/local", "directory_mode": null, "exclude": [], "extra_opts": [], "follow": false, "force": null, "group": null, "keep_newer": false, "list_files": false, "mode": null, "original_basename": "SoapUI-5.3.0-linux-bin.tar.gz", "owner": null, "regexp": null, "remote_src": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "http://cdn01.downloads.smartbear.com/soapui/5.3.0/SoapUI-5.3.0-linux-bin.tar.gz", "unsafe_writes": null, "validate_certs": true } }, "msg": "Source 'http://cdn01.downloads.smartbear.com/soapui/5.3.0/SoapUI-5.3.0-linux-bin.tar.gz' failed to transfer" } </code></pre></div> <p dir="auto">Using ansible + python 2 to download on the target system works fine.</p> <p dir="auto">At first I thought it would be similar to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="197835438" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/19710" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible/issues/19710/hovercard" href="https://github.com/ansible/ansible/issues/19710">#19710</a>, but apparently something related has already changed in master, as the 2.4 output looks different.</p>
1
<h3 dir="auto">Apache Airflow version</h3> <p dir="auto">2.3.0</p> <h3 dir="auto">What happened</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from datetime import datetime from airflow import DAG from airflow.decorators import task from typing import List, Dict from airflow.operators.dummy import DummyOperator from airflow.operators.python import PythonOperator from airflow.utils.trigger_rule import TriggerRule def end_function(name): print(f&quot;Calling end {name}&quot;) with DAG(dag_id=&quot;not_simple_mapping&quot;, start_date=datetime(2022, 6, 7), schedule_interval=None) as dag: @task() def show(x: dict): print(f&quot;x={x}&quot;) x_list: List[Dict] = [{}] end_list: list = [] for i in range(0, 5): x_list.append({ 'i': i, 'i_plus_one': i+1 }) end_list.append(f'Task{i}') start_region_job_task = DummyOperator( task_id='Start_Region', trigger_rule=TriggerRule.ALL_DONE ) main_run = show.expand(x=x_list) end_run = PythonOperator.partial(task_id='End_Region', python_callable=end_function, do_xcom_push=False).expand( op_kwargs = [{'name': 'Task1'}, {'name': 'Task2'}] ) start_region_job_task &gt;&gt; main_run &gt;&gt; end_run "><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">datetime</span> <span class="pl-k">import</span> <span class="pl-s1">datetime</span> <span class="pl-k">from</span> <span class="pl-s1">airflow</span> <span class="pl-k">import</span> <span class="pl-v">DAG</span> <span class="pl-k">from</span> <span class="pl-s1">airflow</span>.<span class="pl-s1">decorators</span> <span class="pl-k">import</span> <span class="pl-s1">task</span> <span class="pl-k">from</span> <span class="pl-s1">typing</span> <span class="pl-k">import</span> <span class="pl-v">List</span>, <span class="pl-v">Dict</span> <span class="pl-k">from</span> <span class="pl-s1">airflow</span>.<span class="pl-s1">operators</span>.<span class="pl-s1">dummy</span> <span class="pl-k">import</span> <span class="pl-v">DummyOperator</span> <span class="pl-k">from</span> <span class="pl-s1">airflow</span>.<span class="pl-s1">operators</span>.<span class="pl-s1">python</span> <span class="pl-k">import</span> <span class="pl-v">PythonOperator</span> <span class="pl-k">from</span> <span class="pl-s1">airflow</span>.<span class="pl-s1">utils</span>.<span class="pl-s1">trigger_rule</span> <span class="pl-k">import</span> <span class="pl-v">TriggerRule</span> <span class="pl-k">def</span> <span class="pl-en">end_function</span>(<span class="pl-s1">name</span>): <span class="pl-en">print</span>(<span class="pl-s">f"Calling end <span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">name</span><span class="pl-kos">}</span></span>"</span>) <span class="pl-k">with</span> <span class="pl-v">DAG</span>(<span class="pl-s1">dag_id</span><span class="pl-c1">=</span><span class="pl-s">"not_simple_mapping"</span>, <span class="pl-s1">start_date</span><span class="pl-c1">=</span><span class="pl-en">datetime</span>(<span class="pl-c1">2022</span>, <span class="pl-c1">6</span>, <span class="pl-c1">7</span>), <span class="pl-s1">schedule_interval</span><span class="pl-c1">=</span><span class="pl-c1">None</span>) <span class="pl-k">as</span> <span class="pl-s1">dag</span>: <span class="pl-en">@<span class="pl-en">task</span>()</span> <span class="pl-k">def</span> <span class="pl-en">show</span>(<span class="pl-s1">x</span>: <span class="pl-s1">dict</span>): <span class="pl-en">print</span>(<span class="pl-s">f"x=<span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">x</span><span class="pl-kos">}</span></span>"</span>) <span class="pl-s1">x_list</span>: <span class="pl-v">List</span>[<span class="pl-v">Dict</span>] <span class="pl-c1">=</span> [{}] <span class="pl-s1">end_list</span>: <span class="pl-s1">list</span> <span class="pl-c1">=</span> [] <span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">0</span>, <span class="pl-c1">5</span>): <span class="pl-s1">x_list</span>.<span class="pl-en">append</span>({ <span class="pl-s">'i'</span>: <span class="pl-s1">i</span>, <span class="pl-s">'i_plus_one'</span>: <span class="pl-s1">i</span><span class="pl-c1">+</span><span class="pl-c1">1</span> }) <span class="pl-s1">end_list</span>.<span class="pl-en">append</span>(<span class="pl-s">f'Task<span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">i</span><span class="pl-kos">}</span></span>'</span>) <span class="pl-s1">start_region_job_task</span> <span class="pl-c1">=</span> <span class="pl-v">DummyOperator</span>( <span class="pl-s1">task_id</span><span class="pl-c1">=</span><span class="pl-s">'Start_Region'</span>, <span class="pl-s1">trigger_rule</span><span class="pl-c1">=</span><span class="pl-v">TriggerRule</span>.<span class="pl-v">ALL_DONE</span> ) <span class="pl-s1">main_run</span> <span class="pl-c1">=</span> <span class="pl-s1">show</span>.<span class="pl-en">expand</span>(<span class="pl-s1">x</span><span class="pl-c1">=</span><span class="pl-s1">x_list</span>) <span class="pl-s1">end_run</span> <span class="pl-c1">=</span> <span class="pl-v">PythonOperator</span>.<span class="pl-en">partial</span>(<span class="pl-s1">task_id</span><span class="pl-c1">=</span><span class="pl-s">'End_Region'</span>, <span class="pl-s1">python_callable</span><span class="pl-c1">=</span><span class="pl-s1">end_function</span>, <span class="pl-s1">do_xcom_push</span><span class="pl-c1">=</span><span class="pl-c1">False</span>).<span class="pl-en">expand</span>( <span class="pl-s1">op_kwargs</span> <span class="pl-c1">=</span> [{<span class="pl-s">'name'</span>: <span class="pl-s">'Task1'</span>}, {<span class="pl-s">'name'</span>: <span class="pl-s">'Task2'</span>}] ) <span class="pl-s1">start_region_job_task</span> <span class="pl-c1">&gt;&gt;</span> <span class="pl-s1">main_run</span> <span class="pl-c1">&gt;&gt;</span> <span class="pl-s1">end_run</span> </pre></div> <p dir="auto">Could not works because of passing list of kwargs</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" File &quot;/home/sang/airflow-dm-dev/venv/lib/python3.10/site-packages/airflow/serialization/serialized_objects.py&quot;, line 343, in _serialize return SerializedBaseOperator.serialize_mapped_operator(var) File &quot;/home/sang/airflow-dm-dev/venv/lib/python3.10/site-packages/airflow/serialization/serialized_objects.py&quot;, line 608, in serialize_mapped_operator assert op_kwargs[Encoding.TYPE] == DAT.DICT TypeError: list indices must be integers or slices, not Encoding During handling of the above exception, another exception occurred: Traceback (most recent call last): File &quot;/home/sang/airflow-dm-dev/venv/lib/python3.10/site-packages/airflow/serialization/serialized_objects.py&quot;, line 1105, in to_dict json_dict = {&quot;__version&quot;: cls.SERIALIZER_VERSION, &quot;dag&quot;: cls.serialize_dag(var)} File &quot;/home/sang/airflow-dm-dev/venv/lib/python3.10/site-packages/airflow/serialization/serialized_objects.py&quot;, line 1013, in serialize_dag raise SerializationError(f'Failed to serialize DAG {dag.dag_id!r}: {e}') airflow.exceptions.SerializationError: Failed to serialize DAG 'not_simple_mapping': list indices must be integers or slices, not Encoding"><pre class="notranslate"> File <span class="pl-s"><span class="pl-pds">"</span>/home/sang/airflow-dm-dev/venv/lib/python3.10/site-packages/airflow/serialization/serialized_objects.py<span class="pl-pds">"</span></span>, line 343, <span class="pl-k">in</span> _serialize <span class="pl-k">return</span> SerializedBaseOperator.serialize_mapped_operator(var) File <span class="pl-s"><span class="pl-pds">"</span>/home/sang/airflow-dm-dev/venv/lib/python3.10/site-packages/airflow/serialization/serialized_objects.py<span class="pl-pds">"</span></span>, line 608, <span class="pl-k">in</span> serialize_mapped_operator assert op_kwargs[Encoding.TYPE] == DAT.DICT TypeError: list indices must be integers or slices, not Encoding During handling of the above exception, another exception occurred: Traceback (most recent call last): File <span class="pl-s"><span class="pl-pds">"</span>/home/sang/airflow-dm-dev/venv/lib/python3.10/site-packages/airflow/serialization/serialized_objects.py<span class="pl-pds">"</span></span>, line 1105, <span class="pl-k">in</span> to_dict json_dict = {<span class="pl-s"><span class="pl-pds">"</span>__version<span class="pl-pds">"</span></span>: cls.SERIALIZER_VERSION, <span class="pl-s"><span class="pl-pds">"</span>dag<span class="pl-pds">"</span></span>: cls.serialize_dag(var)} File <span class="pl-s"><span class="pl-pds">"</span>/home/sang/airflow-dm-dev/venv/lib/python3.10/site-packages/airflow/serialization/serialized_objects.py<span class="pl-pds">"</span></span>, line 1013, <span class="pl-k">in</span> serialize_dag raise SerializationError(f<span class="pl-s"><span class="pl-pds">'</span>Failed to serialize DAG {dag.dag_id!r}: {e}<span class="pl-pds">'</span></span>) airflow.exceptions.SerializationError: Failed to serialize DAG <span class="pl-s"><span class="pl-pds">'</span>not_simple_mapping<span class="pl-pds">'</span></span>: list indices must be integers or slices, not Encoding</pre></div> <h3 dir="auto">What you think should happen instead</h3> <p dir="auto">It's should accept a list of kwargs to trigger dynamic mapping instead of one kwargs</p> <h3 dir="auto">How to reproduce</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Operating System</h3> <p dir="auto">Ubuntu 22.04</p> <h3 dir="auto">Versions of Apache Airflow Providers</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Deployment</h3> <p dir="auto">Virtualenv installation</p> <h3 dir="auto">Deployment details</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Anything else</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Are you willing to submit PR?</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Yes I am willing to submit a PR!</li> </ul> <h3 dir="auto">Code of Conduct</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li> </ul>
<h3 dir="auto">Apache Airflow version</h3> <p dir="auto">2.3.0 (latest released)</p> <h3 dir="auto">What happened</h3> <p dir="auto">The following DAG was written and expected to generate 3 tasks (one for each string in the list)</p> <p dir="auto"><strong>dag_code</strong></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import logging from airflow.decorators import dag, task from airflow.operators.python import PythonOperator from airflow.utils.dates import datetime def log_strings_operator(string, *args, **kwargs): logging.info(&quot;we've made it into the method&quot;) logging.info(f&quot;operator log - {string}&quot;) @dag( dag_id='dynamic_dag_test', schedule_interval=None, start_date=datetime(2021, 1, 1), catchup=False, tags=['example', 'dynamic_tasks'] ) def tutorial_taskflow_api_etl(): op2 = (PythonOperator .partial(task_id=&quot;logging_with_operator_task&quot;, python_callable=log_strings_operator) .expand(op_kwargs=[{&quot;string&quot;: &quot;a&quot;}, {&quot;string&quot;: &quot;b&quot;}, {&quot;string&quot;: &quot;c&quot;}])) return op2 tutorial_etl_dag = tutorial_taskflow_api_etl()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">logging</span> <span class="pl-k">from</span> <span class="pl-s1">airflow</span>.<span class="pl-s1">decorators</span> <span class="pl-k">import</span> <span class="pl-s1">dag</span>, <span class="pl-s1">task</span> <span class="pl-k">from</span> <span class="pl-s1">airflow</span>.<span class="pl-s1">operators</span>.<span class="pl-s1">python</span> <span class="pl-k">import</span> <span class="pl-v">PythonOperator</span> <span class="pl-k">from</span> <span class="pl-s1">airflow</span>.<span class="pl-s1">utils</span>.<span class="pl-s1">dates</span> <span class="pl-k">import</span> <span class="pl-s1">datetime</span> <span class="pl-k">def</span> <span class="pl-en">log_strings_operator</span>(<span class="pl-s1">string</span>, <span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>): <span class="pl-s1">logging</span>.<span class="pl-en">info</span>(<span class="pl-s">"we've made it into the method"</span>) <span class="pl-s1">logging</span>.<span class="pl-en">info</span>(<span class="pl-s">f"operator log - <span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">string</span><span class="pl-kos">}</span></span>"</span>) <span class="pl-en">@<span class="pl-en">dag</span>(</span> <span class="pl-en"> <span class="pl-s1">dag_id</span><span class="pl-c1">=</span><span class="pl-s">'dynamic_dag_test'</span>,</span> <span class="pl-en"> <span class="pl-s1">schedule_interval</span><span class="pl-c1">=</span><span class="pl-c1">None</span>,</span> <span class="pl-en"> <span class="pl-s1">start_date</span><span class="pl-c1">=</span><span class="pl-en">datetime</span>(<span class="pl-c1">2021</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>),</span> <span class="pl-en"> <span class="pl-s1">catchup</span><span class="pl-c1">=</span><span class="pl-c1">False</span>,</span> <span class="pl-en"> <span class="pl-s1">tags</span><span class="pl-c1">=</span>[<span class="pl-s">'example'</span>, <span class="pl-s">'dynamic_tasks'</span>]</span> <span class="pl-en">)</span> <span class="pl-k">def</span> <span class="pl-en">tutorial_taskflow_api_etl</span>(): <span class="pl-s1">op2</span> <span class="pl-c1">=</span> (<span class="pl-v">PythonOperator</span> .<span class="pl-en">partial</span>(<span class="pl-s1">task_id</span><span class="pl-c1">=</span><span class="pl-s">"logging_with_operator_task"</span>, <span class="pl-s1">python_callable</span><span class="pl-c1">=</span><span class="pl-s1">log_strings_operator</span>) .<span class="pl-en">expand</span>(<span class="pl-s1">op_kwargs</span><span class="pl-c1">=</span>[{<span class="pl-s">"string"</span>: <span class="pl-s">"a"</span>}, {<span class="pl-s">"string"</span>: <span class="pl-s">"b"</span>}, {<span class="pl-s">"string"</span>: <span class="pl-s">"c"</span>}])) <span class="pl-k">return</span> <span class="pl-s1">op2</span> <span class="pl-s1">tutorial_etl_dag</span> <span class="pl-c1">=</span> <span class="pl-en">tutorial_taskflow_api_etl</span>()</pre></div> <p dir="auto"><strong>error message</strong></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Broken DAG: [/usr/local/airflow/dags/dynamic_dag_test.py] Traceback (most recent call last): File &quot;/usr/local/lib/python3.9/site-packages/airflow/serialization/serialized_objects.py&quot;, line 343, in _serialize return SerializedBaseOperator.serialize_mapped_operator(var) File &quot;/usr/local/lib/python3.9/site-packages/airflow/serialization/serialized_objects.py&quot;, line 608, in serialize_mapped_operator assert op_kwargs[Encoding.TYPE] == DAT.DICT TypeError: list indices must be integers or slices, not Encoding During handling of the above exception, another exception occurred: Traceback (most recent call last): File &quot;/usr/local/lib/python3.9/site-packages/airflow/serialization/serialized_objects.py&quot;, line 1105, in to_dict json_dict = {&quot;__version&quot;: cls.SERIALIZER_VERSION, &quot;dag&quot;: cls.serialize_dag(var)} File &quot;/usr/local/lib/python3.9/site-packages/airflow/serialization/serialized_objects.py&quot;, line 1013, in serialize_dag raise SerializationError(f'Failed to serialize DAG {dag.dag_id!r}: {e}') airflow.exceptions.SerializationError: Failed to serialize DAG 'dynamic_dag_test': list indices must be integers or slices, not Encoding"><pre class="notranslate"><span class="pl-v">Broken</span> <span class="pl-v">DAG</span>: [<span class="pl-c1">/</span><span class="pl-s1">usr</span><span class="pl-c1">/</span><span class="pl-s1">local</span><span class="pl-c1">/</span><span class="pl-s1">airflow</span><span class="pl-c1">/</span><span class="pl-s1">dags</span><span class="pl-c1">/</span><span class="pl-s1">dynamic_dag_test</span>.<span class="pl-s1">py</span>] <span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>): <span class="pl-v">File</span> <span class="pl-s">"/usr/local/lib/python3.9/site-packages/airflow/serialization/serialized_objects.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">343</span>, <span class="pl-c1">in</span> <span class="pl-s1">_serialize</span> <span class="pl-k">return</span> <span class="pl-v">SerializedBaseOperator</span>.<span class="pl-en">serialize_mapped_operator</span>(<span class="pl-s1">var</span>) <span class="pl-v">File</span> <span class="pl-s">"/usr/local/lib/python3.9/site-packages/airflow/serialization/serialized_objects.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">608</span>, <span class="pl-s1">in</span> <span class="pl-s1">serialize_mapped_operator</span> <span class="pl-k">assert</span> <span class="pl-s1">op_kwargs</span>[<span class="pl-v">Encoding</span>.<span class="pl-v">TYPE</span>] <span class="pl-c1">==</span> <span class="pl-v">DAT</span>.<span class="pl-v">DICT</span> <span class="pl-v">TypeError</span>: <span class="pl-s1">list</span> <span class="pl-s1">indices</span> <span class="pl-s1">must</span> <span class="pl-s1">be</span> <span class="pl-s1">integers</span> <span class="pl-c1">or</span> <span class="pl-s1">slices</span>, <span class="pl-c1">not</span> <span class="pl-v">Encoding</span> <span class="pl-v">During</span> <span class="pl-s1">handling</span> <span class="pl-s1">of</span> <span class="pl-s1">the</span> <span class="pl-s1">above</span> <span class="pl-s1">exception</span>, <span class="pl-s1">another</span> <span class="pl-s1">exception</span> <span class="pl-s1">occurred</span>: <span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>): <span class="pl-v">File</span> <span class="pl-s">"/usr/local/lib/python3.9/site-packages/airflow/serialization/serialized_objects.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1105</span>, <span class="pl-s1">in</span> <span class="pl-s1">to_dict</span> <span class="pl-s1">json_dict</span> <span class="pl-c1">=</span> {<span class="pl-s">"__version"</span>: <span class="pl-s1">cls</span>.<span class="pl-v">SERIALIZER_VERSION</span>, <span class="pl-s">"dag"</span>: <span class="pl-s1">cls</span>.<span class="pl-en">serialize_dag</span>(<span class="pl-s1">var</span>)} <span class="pl-v">File</span> <span class="pl-s">"/usr/local/lib/python3.9/site-packages/airflow/serialization/serialized_objects.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1013</span>, <span class="pl-s1">in</span> <span class="pl-s1">serialize_dag</span> <span class="pl-k">raise</span> <span class="pl-v">SerializationError</span>(<span class="pl-s">f'Failed to serialize DAG <span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">dag</span>.<span class="pl-s1">dag_id</span>!r<span class="pl-kos">}</span></span>: <span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">e</span><span class="pl-kos">}</span></span>'</span>) <span class="pl-s1">airflow</span>.<span class="pl-s1">exceptions</span>.<span class="pl-v">SerializationError</span>: <span class="pl-v">Failed</span> <span class="pl-s1">to</span> <span class="pl-s1">serialize</span> <span class="pl-v">DAG</span> <span class="pl-s">'dynamic_dag_test'</span>: <span class="pl-s1">list</span> <span class="pl-s1">indices</span> <span class="pl-s1">must</span> <span class="pl-s1">be</span> <span class="pl-s1">integers</span> <span class="pl-c1">or</span> <span class="pl-s1">slices</span>, <span class="pl-c1">not</span> <span class="pl-v">Encoding</span></pre></div> <h3 dir="auto">What you think should happen instead</h3> <p dir="auto">Dag should contain 1 task <code class="notranslate">logging_with_operator_task</code> that contains 3 indices</p> <h3 dir="auto">How to reproduce</h3> <p dir="auto">copy/paste dag code into a dag file and run on airflow 2.3.0. Airflow UI will flag the error</p> <h3 dir="auto">Operating System</h3> <p dir="auto">Debian</p> <h3 dir="auto">Versions of Apache Airflow Providers</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Deployment</h3> <p dir="auto">Astronomer</p> <h3 dir="auto">Deployment details</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Anything else</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Are you willing to submit PR?</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Yes I am willing to submit a PR!</li> </ul> <h3 dir="auto">Code of Conduct</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li> </ul>
1
<p dir="auto">After I got the update to Version 0.10.10 (0.10.10) for OSX, the Javascript "let" keyword is now white (used to be blue, recognized as a reserved word).</p> <p dir="auto">I tried adding back the jsconfig.json (which I understand is no longer needed to enable ES6) and the colorization is still no good.</p> <p dir="auto">I wonder if other keywords are being colorized incorrectly.</p>
<p dir="auto">0.10.10 (Feburary build) has a regression is that the following JavaScript keywords are no longer highlighted in the Dark Visual Studio &amp; Light Visual Studio themes:<br> <code class="notranslate">var</code> <code class="notranslate">let</code> <code class="notranslate">const</code> <code class="notranslate">function</code> <code class="notranslate">get</code> <code class="notranslate">set</code> <code class="notranslate">class</code> <code class="notranslate">interface</code> <code class="notranslate">module</code> <code class="notranslate">namespace</code></p> <p dir="auto">This only affects JavaScript (not TypeScript).<br> The workaround if to switch to the Dark+ Default and Light+ theme.</p> <p dir="auto">Note that there are other colorizing issues open, not caused by this regression: e.g. 'import' and 'from'. See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="125145725" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript-TmLanguage/issues/37" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript-TmLanguage/issues/37/hovercard" href="https://github.com/microsoft/TypeScript-TmLanguage/issues/37">microsoft/TypeScript-TmLanguage#37</a></p>
1
<p dir="auto">upon DataFrame.insert option allow_duplicates works, but only only once.<br> When i have 2 columns with same name, additon of third throws</p> <blockquote> <p dir="auto">ValueError: Wrong number of items passed 2, placement implies 1</p> </blockquote> <h4 dir="auto">Code Sample, a copy-pastable example if possible</h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="a = pd.DataFrame() a.insert(0, &quot;qwe&quot;, [1,2,3,4], allow_duplicates=True) a.insert(0, &quot;qwe&quot;, [1,2,3,4], allow_duplicates=True) a.insert(0, &quot;qwe&quot;, [1,2,3,4], allow_duplicates=True)"><pre class="notranslate"><code class="notranslate">a = pd.DataFrame() a.insert(0, "qwe", [1,2,3,4], allow_duplicates=True) a.insert(0, "qwe", [1,2,3,4], allow_duplicates=True) a.insert(0, "qwe", [1,2,3,4], allow_duplicates=True) </code></pre></div> <h4 dir="auto">Expected Output</h4> <p dir="auto">zxc qwe qwe<br> 0 1 1 1<br> 1 2 2 2<br> 2 3 3 3<br> 3 4 4 4</p> <h4 dir="auto">output of <code class="notranslate">pd.show_versions()</code></h4> <details> ## INSTALLED VERSIONS <p dir="auto">commit: None<br> python: 2.7.12.final.0<br> python-bits: 64<br> OS: Windows<br> OS-release: 7<br> machine: AMD64<br> processor: Intel64 Family 6 Model 58 Stepping 9, GenuineIntel<br> byteorder: little<br> LC_ALL: None<br> LANG: ru_RU</p> <p dir="auto">pandas: 0.18.1<br> nose: 1.3.7<br> pip: 8.1.2<br> setuptools: 25.1.6<br> Cython: 0.24.1<br> numpy: 1.11.1<br> scipy: 0.18.0<br> statsmodels: 0.6.1<br> xarray: None<br> IPython: 5.1.0<br> sphinx: 1.4.6<br> patsy: 0.4.1<br> dateutil: 2.5.3<br> pytz: 2016.6.1<br> blosc: None<br> bottleneck: 1.0.0<br> tables: 3.2.2<br> numexpr: 2.6.1<br> matplotlib: 1.5.3<br> openpyxl: 2.3.2<br> xlrd: 1.0.0<br> xlwt: 1.1.2<br> xlsxwriter: 0.9.2<br> lxml: 3.6.4<br> bs4: 4.4.1<br> html5lib: None<br> httplib2: None<br> apiclient: None<br> sqlalchemy: 1.0.13<br> pymysql: 0.7.6.None<br> psycopg2: None<br> jinja2: 2.8<br> boto: 2.40.0<br> pandas_datareader: None<br> &lt;\details&gt;</p></details>
<p dir="auto">We have a check for whether <code class="notranslate">format == '%Y%m%d'</code>, but this actually seems to be slower:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [86]: s = pd.Series(['20120101']*1000000) In [87]: %timeit pd.to_datetime(s) 229 ms ± 12.5 ms per loop (mean ± std. dev. of 7 runs, 1 loop each) In [88]: %timeit pd.to_datetime(s, format='%Y%m%d') 749 ms ± 67.4 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">86</span>]: <span class="pl-s1">s</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">Series</span>([<span class="pl-s">'20120101'</span>]<span class="pl-c1">*</span><span class="pl-c1">1000000</span>) <span class="pl-v">In</span> [<span class="pl-c1">87</span>]: <span class="pl-c1">%</span><span class="pl-s1">timeit</span> <span class="pl-s1">pd</span>.<span class="pl-en">to_datetime</span>(<span class="pl-s1">s</span>) <span class="pl-c1">229</span> <span class="pl-s1">ms</span> ± <span class="pl-c1">12.5</span> <span class="pl-s1">ms</span> <span class="pl-s1">per</span> <span class="pl-en">loop</span> (<span class="pl-s1">mean</span> ± <span class="pl-s1">std</span>. <span class="pl-s1">dev</span>. <span class="pl-s1">of</span> <span class="pl-c1">7</span> <span class="pl-s1">runs</span>, <span class="pl-c1">1</span> <span class="pl-s1">loop</span> <span class="pl-s1">each</span>) <span class="pl-v">In</span> [<span class="pl-c1">88</span>]: <span class="pl-c1">%</span><span class="pl-s1">timeit</span> <span class="pl-s1">pd</span>.<span class="pl-en">to_datetime</span>(<span class="pl-s1">s</span>, <span class="pl-s1">format</span><span class="pl-c1">=</span><span class="pl-s">'%Y%m%d'</span>) <span class="pl-c1">749</span> <span class="pl-s1">ms</span> ± <span class="pl-c1">67.4</span> <span class="pl-s1">ms</span> <span class="pl-s1">per</span> <span class="pl-en">loop</span> (<span class="pl-s1">mean</span> ± <span class="pl-s1">std</span>. <span class="pl-s1">dev</span>. <span class="pl-s1">of</span> <span class="pl-c1">7</span> <span class="pl-s1">runs</span>, <span class="pl-c1">1</span> <span class="pl-s1">loop</span> <span class="pl-s1">each</span>)</pre></div>
0
<p dir="auto">By default I see that</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;initialCols&quot;: 120, &quot;initialRows&quot;: 30,"><pre class="notranslate"><code class="notranslate">"initialCols": 120, "initialRows": 30, </code></pre></div> <p dir="auto">but truly they are cols=129, rows=28. See<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/35931460/65856786-cc930c80-e362-11e9-9673-5d1dd6fa7be2.png"><img src="https://user-images.githubusercontent.com/35931460/65856786-cc930c80-e362-11e9-9673-5d1dd6fa7be2.png" alt="wrong-init-rows-cols" style="max-width: 100%;"></a> I tested this also with the original <code class="notranslate">profile.json</code>.</p> <p dir="auto">May be you intend to include also the tabs row etc. but I think it is wrong. When one sets those parameters in Command prompt (that comes with Windows) the number of rows and columns is respected. See<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/35931460/65857212-ac178200-e363-11e9-9bdd-47c2a0780bd7.png"><img src="https://user-images.githubusercontent.com/35931460/65857212-ac178200-e363-11e9-9bdd-47c2a0780bd7.png" alt="cmd-init-rows-cols" style="max-width: 100%;"></a></p>
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: [run &quot;ver&quot; at a command prompt] 10.0.18362.239 Windows Terminal version (if applicable): the first version of ms store Any other software? None"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: [run "ver" at a command prompt] 10.0.18362.239 Windows Terminal version (if applicable): the first version of ms store Any other software? None </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">when run some heavy process, the terminal will disappear(It seems the process is still running I found from the task manager)!</p> <p dir="auto">The first time is I query large data from mysql, when it output the result, it quit!<br> Another time is I run elasticsearch and logstash, it costs lots of memory, and then the terminal disappear! But the service elasticsearch and logstash is still alive!</p> <p dir="auto">I'm not sure this will happen everytime! It just sometimes do!</p>
0
<p dir="auto">On Ubuntu 12.04</p> <p dir="auto">python -c "import sklearn; sklearn.test()"<br> Running unit tests and doctests for sklearn<br> /usr/local/lib/python2.7/dist-packages/nose/util.py:14: DeprecationWarning: The compiler package is deprecated and removed in Python 3.x.<br> from compiler.consts import CO_GENERATOR<br> NumPy version 1.6.1<br> NumPy is installed in /usr/lib/python2.7/dist-packages/numpy<br> Python version 2.7.3 (default, Aug 1 2012, 05:16:07) [GCC 4.6.3]<br> nose version 1.2.1<br> I: Seeding RNGs with 756615311<br> ......................................................S.2.17927109077 55.4082834902<br> ........None<br> ..............EE..SS........................................................S.......................................................SEE....................................................../usr/local/lib/python2.7/dist-packages/sklearn/externals/joblib/test/test_func_inspect.py:122: UserWarning: Cannot inspect object &lt;functools.partial object at 0xaf2cfcc&gt;, ignore list will not work.<br> nose.tools.assert_equal(filter_args(ff, ['y'], (1, )),<br> .........................................................................................________________________________________________________________________________<br> test_memory setup</p> <hr> <hr> <p dir="auto">test_memory teardown</p> <hr> <p dir="auto">..________________________________________________________________________________<br> test_memory setup</p> <hr> <p dir="auto">..........................................................................................................................________________________________________________________________________________<br> test_memory teardown</p> <hr> <p dir="auto">.________________________________________________________________________________<br> setup numpy_pickle</p> <hr> <p dir="auto">.....................................Exception AttributeError: AttributeError("'NoneType' object has no attribute 'tell'",) in &lt;bound method memmap.<strong>del</strong> of memmap(1.7066903169e-313)&gt; ignored<br> Exception AttributeError: AttributeError("'NoneType' object has no attribute 'tell'",) in &lt;bound method memmap.<strong>del</strong> of memmap(1.7065495094e-313)&gt; ignored<br> /usr/local/lib/python2.7/dist-packages/sklearn/externals/joblib/test/test_numpy_pickle.py:182: Warning: file "/tmp/tmpevHBa9/test.pkl30" appears to be a zip, ignoring mmap_mode "r" flag passed<br> numpy_pickle.load(this_filename, mmap_mode='r')<br> Exception AttributeError: AttributeError("'NoneType' object has no attribute 'tell'",) in &lt;bound method memmap.<strong>del</strong> of memmap(1.7065550512e-313)&gt; ignored<br> .....________________________________________________________________________________<br> teardown numpy_pickle</p> <hr> <p dir="auto">............An unexpected error occurred while tokenizing input<br> The following traceback may be corrupted or invalid<br> The error message is: ('EOF in multi-line statement', (39, 0))</p> <p dir="auto">......................................................................................................EE........S........................---</p> <h1 dir="auto">.........................................................................................................................................................................................................................................................................................................................................................................EEE.................FE............................................................................................................SSS....S....S............................................................................................EE</h1> <h2 dir="auto">ERROR: Doctest: sklearn.datasets.base.load_sample_image</h2> <p dir="auto">Traceback (most recent call last):<br> File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown<br> delattr(builtin_mod, self._result_var)<br> AttributeError: _</p> <h1 dir="auto"></h1> <h2 dir="auto">ERROR: Doctest: sklearn.datasets.base.load_sample_images</h2> <p dir="auto">Traceback (most recent call last):<br> File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown<br> delattr(builtin_mod, self._result_var)<br> AttributeError: _</p> <h1 dir="auto"></h1> <h2 dir="auto">ERROR: Doctest: sklearn.ensemble.gradient_boosting.GradientBoostingClassifier</h2> <p dir="auto">Traceback (most recent call last):<br> File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown<br> delattr(builtin_mod, self._result_var)<br> AttributeError: _</p> <h1 dir="auto"></h1> <h2 dir="auto">ERROR: Doctest: sklearn.ensemble.gradient_boosting.GradientBoostingRegressor</h2> <p dir="auto">Traceback (most recent call last):<br> File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown<br> delattr(builtin_mod, self._result_var)<br> AttributeError: _</p> <h1 dir="auto"></h1> <h2 dir="auto">ERROR: Doctest: sklearn.linear_model.randomized_l1.RandomizedLasso</h2> <p dir="auto">Traceback (most recent call last):<br> File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown<br> delattr(builtin_mod, self._result_var)<br> AttributeError: _</p> <h1 dir="auto"></h1> <h2 dir="auto">ERROR: Doctest: sklearn.linear_model.randomized_l1.RandomizedLogisticRegression</h2> <p dir="auto">Traceback (most recent call last):<br> File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown<br> delattr(builtin_mod, self._result_var)<br> AttributeError: _</p> <h1 dir="auto"></h1> <h2 dir="auto">ERROR: Doctest: sklearn.tree.tree.DecisionTreeClassifier</h2> <p dir="auto">Traceback (most recent call last):<br> File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown<br> delattr(builtin_mod, self._result_var)<br> AttributeError: _</p> <h1 dir="auto"></h1> <h2 dir="auto">ERROR: Doctest: sklearn.tree.tree.DecisionTreeRegressor</h2> <p dir="auto">Traceback (most recent call last):<br> File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown<br> delattr(builtin_mod, self._result_var)<br> AttributeError: _</p> <h1 dir="auto"></h1> <h2 dir="auto">ERROR: Doctest: sklearn.tree.tree.export_graphviz</h2> <p dir="auto">Traceback (most recent call last):<br> File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown<br> delattr(builtin_mod, self._result_var)<br> AttributeError: _</p> <h1 dir="auto"></h1> <h2 dir="auto">ERROR: Doctest: sklearn.utils.extmath.pinvh</h2> <p dir="auto">Traceback (most recent call last):<br> File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown<br> delattr(builtin_mod, self._result_var)<br> AttributeError: _</p> <h1 dir="auto"></h1> <h2 dir="auto">ERROR: Doctest: sklearn._NoseTester.test</h2> <p dir="auto">Traceback (most recent call last):<br> File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown<br> delattr(builtin_mod, self._result_var)<br> AttributeError: _</p> <h1 dir="auto"></h1> <h2 dir="auto">ERROR: Doctest: sklearn.test</h2> <p dir="auto">Traceback (most recent call last):<br> File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown<br> delattr(builtin_mod, self._result_var)<br> AttributeError: _</p> <h1 dir="auto"></h1> <h2 dir="auto">FAIL: Doctest: sklearn.utils.extmath.pinvh</h2> <p dir="auto">Traceback (most recent call last):<br> File "/usr/lib/python2.7/doctest.py", line 2201, in runTest<br> raise self.failureException(self.format_failure(new.getvalue()))<br> AssertionError: Failed doctest test for sklearn.utils.extmath.pinvh<br> File "/usr/local/lib/python2.7/dist-packages/sklearn/utils/extmath.py", line 302, in pinvh</p> <hr> <p dir="auto">File "/usr/local/lib/python2.7/dist-packages/sklearn/utils/extmath.py", line 336, in sklearn.utils.extmath.pinvh<br> Failed example:<br> B = pinvh(a)<br> Exception raised:<br> Traceback (most recent call last):<br> File "/usr/lib/python2.7/doctest.py", line 1289, in __run<br> compileflags, 1) in test.globs<br> File "&lt;doctest sklearn.utils.extmath.pinvh[3]&gt;", line 1, in <br> B = pinvh(a)</p> <h2 dir="auto">NameError: name 'pinvh' is not defined</h2> <p dir="auto">File "/usr/local/lib/python2.7/dist-packages/sklearn/utils/extmath.py", line 337, in sklearn.utils.extmath.pinvh<br> Failed example:<br> allclose(a, dot(a, dot(B, a)))<br> Exception raised:<br> Traceback (most recent call last):<br> File "/usr/lib/python2.7/doctest.py", line 1289, in __run<br> compileflags, 1) in test.globs<br> File "&lt;doctest sklearn.utils.extmath.pinvh[4]&gt;", line 1, in <br> allclose(a, dot(a, dot(B, a)))</p> <h2 dir="auto">NameError: name 'B' is not defined</h2> <p dir="auto">File "/usr/local/lib/python2.7/dist-packages/sklearn/utils/extmath.py", line 339, in sklearn.utils.extmath.pinvh<br> Failed example:<br> allclose(B, dot(B, dot(a, B)))<br> Exception raised:<br> Traceback (most recent call last):<br> File "/usr/lib/python2.7/doctest.py", line 1289, in __run<br> compileflags, 1) in test.globs<br> File "&lt;doctest sklearn.utils.extmath.pinvh[5]&gt;", line 1, in <br> allclose(B, dot(B, dot(a, B)))<br> NameError: name 'B' is not defined</p> <hr> <p dir="auto">Ran 1255 tests in 85.175s</p> <p dir="auto">FAILED (SKIP=11, errors=12, failures=1)</p>
<p dir="auto">On Ubuntu 12.04</p> <pre class="notranslate"> python -c "import sklearn; sklearn.test()" Running unit tests and doctests for sklearn /usr/local/lib/python2.7/dist-packages/nose/util.py:14: DeprecationWarning: The compiler package is deprecated and removed in Python 3.x. from compiler.consts import CO_GENERATOR NumPy version 1.6.1 NumPy is installed in /usr/lib/python2.7/dist-packages/numpy Python version 2.7.3 (default, Aug 1 2012, 05:16:07) [GCC 4.6.3] nose version 1.2.1 I: Seeding RNGs with 756615311 ......................................................S.2.17927109077 55.4082834902 ........None ..............EE..SS........................................................S.......................................................SEE....................................................../usr/local/lib/python2.7/dist-packages/sklearn/externals/joblib/test/test_func_inspect.py:122: UserWarning: Cannot inspect object , ignore list will not work. nose.tools.assert_equal(filter_args(ff, ['y'], (1, )), .........................................................................................________________________________________________________________________________ test_memory setup ________________________________________________________________________________ ________________________________________________________________________________ test_memory teardown ________________________________________________________________________________ ..________________________________________________________________________________ test_memory setup ________________________________________________________________________________ ..........................................................................................................................________________________________________________________________________________ test_memory teardown ________________________________________________________________________________ .________________________________________________________________________________ setup numpy_pickle ________________________________________________________________________________ .....................................Exception AttributeError: AttributeError("'NoneType' object has no attribute 'tell'",) in ignored Exception AttributeError: AttributeError("'NoneType' object has no attribute 'tell'",) in ignored /usr/local/lib/python2.7/dist-packages/sklearn/externals/joblib/test/test_numpy_pickle.py:182: Warning: file "/tmp/tmpevHBa9/test.pkl30" appears to be a zip, ignoring mmap_mode "r" flag passed numpy_pickle.load(this_filename, mmap_mode='r') Exception AttributeError: AttributeError("'NoneType' object has no attribute 'tell'",) in ignored .....________________________________________________________________________________ teardown numpy_pickle ________________________________________________________________________________ ............An unexpected error occurred while tokenizing input The following traceback may be corrupted or invalid The error message is: ('EOF in multi-line statement', (39, 0)) ......................................................................................................EE........S........................--- .........................................................................................................................................................................................................................................................................................................................................................................EEE.................FE............................................................................................................SSS....S....S............................................................................................EE ====================================================================== ERROR: Doctest: sklearn.datasets.base.load_sample_image ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown delattr(builtin_mod, self._result_var) AttributeError: _ ====================================================================== ERROR: Doctest: sklearn.datasets.base.load_sample_images ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown delattr(builtin_mod, self._result_var) AttributeError: _ ====================================================================== ERROR: Doctest: sklearn.ensemble.gradient_boosting.GradientBoostingClassifier ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown delattr(builtin_mod, self._result_var) AttributeError: _ ====================================================================== ERROR: Doctest: sklearn.ensemble.gradient_boosting.GradientBoostingRegressor ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown delattr(builtin_mod, self._result_var) AttributeError: _ ====================================================================== ERROR: Doctest: sklearn.linear_model.randomized_l1.RandomizedLasso ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown delattr(builtin_mod, self._result_var) AttributeError: _ ====================================================================== ERROR: Doctest: sklearn.linear_model.randomized_l1.RandomizedLogisticRegression ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown delattr(builtin_mod, self._result_var) AttributeError: _ ====================================================================== ERROR: Doctest: sklearn.tree.tree.DecisionTreeClassifier ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown delattr(builtin_mod, self._result_var) AttributeError: _ ====================================================================== ERROR: Doctest: sklearn.tree.tree.DecisionTreeRegressor ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown delattr(builtin_mod, self._result_var) AttributeError: _ ====================================================================== ERROR: Doctest: sklearn.tree.tree.export_graphviz ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown delattr(builtin_mod, self._result_var) AttributeError: _ ====================================================================== ERROR: Doctest: sklearn.utils.extmath.pinvh ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown delattr(builtin_mod, self._result_var) AttributeError: _ ====================================================================== ERROR: Doctest: sklearn._NoseTester.test ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown delattr(builtin_mod, self._result_var) AttributeError: _ ====================================================================== ERROR: Doctest: sklearn.test ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/nose/plugins/doctests.py", line 419, in tearDown delattr(builtin_mod, self._result_var) AttributeError: _ ====================================================================== FAIL: Doctest: sklearn.utils.extmath.pinvh ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/doctest.py", line 2201, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for sklearn.utils.extmath.pinvh File "/usr/local/lib/python2.7/dist-packages/sklearn/utils/extmath.py", line 302, in pinvh ---------------------------------------------------------------------- File "/usr/local/lib/python2.7/dist-packages/sklearn/utils/extmath.py", line 336, in sklearn.utils.extmath.pinvh Failed example: B = pinvh(a) Exception raised: Traceback (most recent call last): File "/usr/lib/python2.7/doctest.py", line 1289, in __run compileflags, 1) in test.globs File "", line 1, in B = pinvh(a) NameError: name 'pinvh' is not defined ---------------------------------------------------------------------- File "/usr/local/lib/python2.7/dist-packages/sklearn/utils/extmath.py", line 337, in sklearn.utils.extmath.pinvh Failed example: allclose(a, dot(a, dot(B, a))) Exception raised: Traceback (most recent call last): File "/usr/lib/python2.7/doctest.py", line 1289, in __run compileflags, 1) in test.globs File "", line 1, in allclose(a, dot(a, dot(B, a))) NameError: name 'B' is not defined ---------------------------------------------------------------------- File "/usr/local/lib/python2.7/dist-packages/sklearn/utils/extmath.py", line 339, in sklearn.utils.extmath.pinvh Failed example: allclose(B, dot(B, dot(a, B))) Exception raised: Traceback (most recent call last): File "/usr/lib/python2.7/doctest.py", line 1289, in __run compileflags, 1) in test.globs File "", line 1, in allclose(B, dot(B, dot(a, B))) NameError: name 'B' is not defined ---------------------------------------------------------------------- Ran 1255 tests in 85.175s FAILED (SKIP=11, errors=12, failures=1) </pre>
1
<p dir="auto">If a cluster is shutdown (all nodes at once), while there is a process running to increase the number of replicas, the index stays in a <code class="notranslate">UNASSIGNED</code> state with no messages in the logs.<br> If the number of replica is changed again the index comes back.</p> <p dir="auto">Steps to reproduce:</p> <ol dir="auto"> <li>spin up a cluster with at least 3 nodes</li> <li>Index some data (should be enough data for the replicas assignment to take some time)</li> <li>Change replicas to 0 <code class="notranslate">curl -XPUT 'localhost:9200/_settings' -d '{ "index" : {"number_of_replicas" : 0 }}'</code></li> <li>Raise number of replicas <code class="notranslate">curl -XPUT 'localhost:9200/_settings' -d '{ "index" : {"number_of_replicas" : 1 }}'</code> and shut down all nodes before the replicas have been fully assigned.</li> <li>Start all nodes again</li> <li>The Index will stay in an <code class="notranslate">UNASSIGNED</code> state, but there is nothing in the logs on why this is the case.</li> <li>Changing the number of replicas to 0 again, will bring back the index into a <code class="notranslate">STARTED</code> state.</li> </ol> <p dir="auto">Reproduced on 2.0 and 2.1.</p>
<p dir="auto">Persist allocation IDs of active shards in cluster state and use them to recover correct shards upon cluster restart (i.e., we can recover with only one copy and we make sure we recover the right ones and not a stale copy left around).</p> <p dir="auto">Relates to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="116243337" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14671" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/14671/hovercard" href="https://github.com/elastic/elasticsearch/issues/14671">#14671</a></p> <h2 dir="auto">Steps</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Persist allocation ID with shard state metadata on nodes (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="117587084" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14831" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/14831/hovercard" href="https://github.com/elastic/elasticsearch/pull/14831">#14831</a>).</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Persist currently started allocation IDs to index metadata (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118600739" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14964" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/14964/hovercard" href="https://github.com/elastic/elasticsearch/pull/14964">#14964</a>).</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Add allocation IDs to TransportNodesListGatewayStartedShards action. Use the above to assign a primary shard on recovery. In particular, don't assign a stale copy (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="120785950" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15281" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15281/hovercard" href="https://github.com/elastic/elasticsearch/pull/15281">#15281</a>).</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Extend reroute with an option to force assign a stale copy. This is only relevant for primaries (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="124329872" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15708" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15708/hovercard" href="https://github.com/elastic/elasticsearch/pull/15708">#15708</a>).</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Prioritize old primaries when choosing out existing <em>and</em> previously active allocationIds (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="127488612" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/16096" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/16096/hovercard" href="https://github.com/elastic/elasticsearch/pull/16096">#16096</a>).</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Persist shard state immediately and not only on shard activation. This will help solving a race condition on primary relocation where the master has activated the target shard (removing old copy from the active set list) but the cluster crashes before the target node persisted the shard state (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="133183768" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/16625" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/16625/hovercard" href="https://github.com/elastic/elasticsearch/pull/16625">#16625</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Remove version from ShardRouting (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="128881686" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/16243" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/16243/hovercard" href="https://github.com/elastic/elasticsearch/pull/16243">#16243</a>).</li> </ul>
1
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.7.5</li> <li>Operating System version: win10</li> <li>Java version: 1.8</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>create a simple app with dubbo</li> <li>create dubbo.properties file which contains <code class="notranslate">dubbo.config-center.address=zookeeper://127.0.0.1:2181</code></li> <li>start app with springContainer</li> <li>invoke<code class="notranslate">ApplicationModel.getConfigManager().getConfigCenters()</code></li> </ol> <h3 dir="auto">Expected Result</h3> <p dir="auto"><code class="notranslate">ApplicationModel.getConfigManager().getConfigCenters()</code> return a non-empty list, it contains an instance of <code class="notranslate">ConfigCenterConfig</code></p> <h3 dir="auto">Actual Result</h3> <p dir="auto"><code class="notranslate">ApplicationModel.getConfigManager().getConfigCenters()</code> return a empty list</p> <h3 dir="auto">Other</h3> <p dir="auto">I just want test new API <code class="notranslate">DubboBootstrap</code> in 2.7.5, so the app is very simple. It does not contain any services.<br> And <code class="notranslate">dubbo.properties</code>is simple too :</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="dubbo.config-center.address=zookeeper://127.0.0.1:2181 dubbo.application.name=test dubbo.protocol.name=dubbo dubbo.protocol.port=20880"><pre class="notranslate"><code class="notranslate">dubbo.config-center.address=zookeeper://127.0.0.1:2181 dubbo.application.name=test dubbo.protocol.name=dubbo dubbo.protocol.port=20880 </code></pre></div> <p dir="auto">After dubbo starts, <code class="notranslate">DubboBootstarp.getApplication()</code> a returned the correct instance of <code class="notranslate">ApplicationConfig</code>, should <code class="notranslate">ApplicationModel.getConfigManager().getConfigCenters()</code> return a non-empty list?</p>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.7.1</li> <li>Operating System version: macOS mojave 10.14.5</li> <li>Java version: 1.8.0_191</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>provider consumer 均没有配置全局超时时间和重试次数</li> <li>在PersonRelTempletServiceImpl 上配置的方法级别的超时时间 <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/service/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/service">@service</a>(methods = {<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/method/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/method">@method</a>(name = "getAllRelTempletList", timeout = 35000, retries = 2)})<br> 3.使用2.6.6 版本不会报超时错误<br> 4.在2.7.1 会报如下错误<br> org.apache.dubbo.remoting.TimeoutException: Waiting server-side response timeout. start time: 2019-08-15 16:21:46.234, end time: 2019-08-15 16:21:47.239, client elapsed: 1 ms, server elapsed: 1004 ms, timeout: 1000 ms, request: Request [id=2, version=2.0.2, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=getAllRelTempletList, parameterTypes=[], arguments=[], attachments={path=com.hudong.microservices.service.PersonRelTempletService, interface=com.hudong.microservices.service.PersonRelTempletService, version=0.0.0}]], channel: /127.0.0.1:53556 -&gt; /127.0.0.1:20881</li> </ol>
0
<ul dir="auto"> <li>VSCode Version: Feb release + March Insiders</li> <li>OS Version: Mac OS X Yosemite</li> </ul> <p dir="auto">Steps to Reproduce:</p> <ol dir="auto"> <li>Enter the following code</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="it('Hello', () =&gt; { });"><pre class="notranslate"><code class="notranslate">it('Hello', () =&gt; { }); </code></pre></div> <ol start="2" dir="auto"> <li>Put your cursor after Hello but within the string and type comma then space, the intellisense will kick in (even though you are inside a string literal)</li> </ol>
<p dir="auto">I'm trying to fix <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118952199" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode-go/issues/103" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode-go/issues/103/hovercard" href="https://github.com/microsoft/vscode-go/issues/103">microsoft/vscode-go#103</a>, but as far as I can tell this isn't possible currently without tokenizing the whole file again in my extension and manually checking whether I'm in a comment to suprress providing results.</p> <p dir="auto">It would be nice if the <code class="notranslate">CompletionItemProvider</code> provided a setting to suppress it's results when in certain tokens/scopes.</p> <p dir="auto">The implementation of the <a href="https://github.com/Microsoft/vscode/blob/497788c0bcd20859f736d585b49c208af8dd518f/extensions/typescript/src/features/completionItemProvider.ts#L62">TypeScript completion provider</a> has an <code class="notranslate">excludeTokens</code> which seems to play this role but I can't get that to work in my own extension.</p>
1
<p dir="auto">Sample code in question:</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="struct MyStruct { x: i32, } fn foo(v: &amp;Vec&lt;i32&gt;, s: &amp;MyStruct) { } fn main() { let v1 = vec![]; let v2 = vec![]; foo(&amp;v1, &amp;v2); }"><pre class="notranslate"><span class="pl-k">struct</span> <span class="pl-smi">MyStruct</span> <span class="pl-kos">{</span> <span class="pl-c1">x</span><span class="pl-kos">:</span> <span class="pl-smi">i32</span><span class="pl-kos">,</span> <span class="pl-kos">}</span> <span class="pl-k">fn</span> <span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-s1">v</span><span class="pl-kos">:</span> <span class="pl-c1">&amp;</span><span class="pl-smi">Vec</span><span class="pl-kos">&lt;</span><span class="pl-smi">i32</span><span class="pl-kos">&gt;</span><span class="pl-kos">,</span> <span class="pl-s1">s</span><span class="pl-kos">:</span> <span class="pl-c1">&amp;</span><span class="pl-smi">MyStruct</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span> <span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> v1 = <span class="pl-en">vec</span><span class="pl-en">!</span><span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-k">let</span> v2 = <span class="pl-en">vec</span><span class="pl-en">!</span><span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-c1">&amp;</span>v1<span class="pl-kos">,</span> <span class="pl-c1">&amp;</span>v2<span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">rustc correctly complains about the type of the second argument in the call to foo(), but then panics.</p> <p dir="auto">Backtrace:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="thread 'rustc' panicked at 'index out of bounds: the len is 16 but the index is 18', ../src/libcollections\vec.rs:1362 stack backtrace: 1: 0x66139105 - sys::backtrace::write::h2345dffb6069c92cLAs 2: 0x661428ac - rt::unwind::register::heb8429a612e0fecdqfw 3: 0x6610561f - rt::unwind::begin_unwind_inner::h3f101c489f219c5fzcw 4: 0x66105f9a - rt::unwind::begin_unwind_fmt::he6ac4cfedf51005fFbw 5: 0x661422c3 - rust_begin_unwind 6: 0x6615ecd9 - panicking::panic_fmt::h99704e91012c930eH8B 7: 0x6615a26c - panicking::panic_bounds_check::h8d3de3daf2e596c2N7B 8: 0x65a5e907 - middle::infer::freshen::TypeFreshener&lt;'a, 'tcx&gt;.TypeFolder&lt;'tcx&gt;::fold_ty::hbca5c887c3745f43b5z 9: 0x65a5fb4b - middle::infer::unify_key::ast..FloatTy.ToType&lt;'tcx&gt;::to_type::hb65f703f4a4fad8c7FA 10: 0x659d3791 - middle::traits::select::SelectionContext&lt;'cx, 'tcx&gt;::select::hb3b2b18dad173700hkT 11: 0x65aca7a7 - middle::traits::fulfill::FulfillmentContext&lt;'tcx&gt;::select_new_obligations::h12b24e6749072c24d8Q 12: 0x65ac969c - middle::traits::fulfill::FulfillmentContext&lt;'tcx&gt;::select_where_possible::haaf097f39f0be13fM8Q 13: 0x54d8aa - check::check_intrinsic_type::h3e6dfe9da166ee14yEt 14: 0x5407aa - check::check_item_types::hd1042841d741e347tKn 15: 0x53e7b6 - check::check_item_body::hc6836ce7ef602161ydo 16: 0x540404 - check::check_item_types::hd1042841d741e347tKn 17: 0x5f9752 - check_crate::h93d1a9d819c9d1819fD 18: 0x6efa8ac9 - driver::assign_node_ids_and_map::h05e579775eaf79194Da 19: 0x6efa6f14 - driver::assign_node_ids_and_map::h05e579775eaf79194Da 20: 0x6efa1409 - driver::assign_node_ids_and_map::h05e579775eaf79194Da 21: 0x6ef82a66 - driver::compile_input::hd2fb89b180675596Tba 22: 0x6f06460d - run_compiler::h282bf3c3999ca505x7b 23: 0x6f062295 - run::h1c01070ec49f4ed0d7b 24: 0x6f061bd9 - run::h1c01070ec49f4ed0d7b 25: 0x6617d82c - rust_try 26: 0x6617d809 - rust_try 27: 0x6612d4d5 - rt::unwind::try::inner_try::h75b7bddb15a6c10cs8v 28: 0x6f061d97 - run::h1c01070ec49f4ed0d7b 29: 0x66140404 - sys::process::Command::cwd::heb9c93936e48371awUu 30: 0x7ffb846b13d2 - BaseThreadInitThunk"><pre class="notranslate"><code class="notranslate">thread 'rustc' panicked at 'index out of bounds: the len is 16 but the index is 18', ../src/libcollections\vec.rs:1362 stack backtrace: 1: 0x66139105 - sys::backtrace::write::h2345dffb6069c92cLAs 2: 0x661428ac - rt::unwind::register::heb8429a612e0fecdqfw 3: 0x6610561f - rt::unwind::begin_unwind_inner::h3f101c489f219c5fzcw 4: 0x66105f9a - rt::unwind::begin_unwind_fmt::he6ac4cfedf51005fFbw 5: 0x661422c3 - rust_begin_unwind 6: 0x6615ecd9 - panicking::panic_fmt::h99704e91012c930eH8B 7: 0x6615a26c - panicking::panic_bounds_check::h8d3de3daf2e596c2N7B 8: 0x65a5e907 - middle::infer::freshen::TypeFreshener&lt;'a, 'tcx&gt;.TypeFolder&lt;'tcx&gt;::fold_ty::hbca5c887c3745f43b5z 9: 0x65a5fb4b - middle::infer::unify_key::ast..FloatTy.ToType&lt;'tcx&gt;::to_type::hb65f703f4a4fad8c7FA 10: 0x659d3791 - middle::traits::select::SelectionContext&lt;'cx, 'tcx&gt;::select::hb3b2b18dad173700hkT 11: 0x65aca7a7 - middle::traits::fulfill::FulfillmentContext&lt;'tcx&gt;::select_new_obligations::h12b24e6749072c24d8Q 12: 0x65ac969c - middle::traits::fulfill::FulfillmentContext&lt;'tcx&gt;::select_where_possible::haaf097f39f0be13fM8Q 13: 0x54d8aa - check::check_intrinsic_type::h3e6dfe9da166ee14yEt 14: 0x5407aa - check::check_item_types::hd1042841d741e347tKn 15: 0x53e7b6 - check::check_item_body::hc6836ce7ef602161ydo 16: 0x540404 - check::check_item_types::hd1042841d741e347tKn 17: 0x5f9752 - check_crate::h93d1a9d819c9d1819fD 18: 0x6efa8ac9 - driver::assign_node_ids_and_map::h05e579775eaf79194Da 19: 0x6efa6f14 - driver::assign_node_ids_and_map::h05e579775eaf79194Da 20: 0x6efa1409 - driver::assign_node_ids_and_map::h05e579775eaf79194Da 21: 0x6ef82a66 - driver::compile_input::hd2fb89b180675596Tba 22: 0x6f06460d - run_compiler::h282bf3c3999ca505x7b 23: 0x6f062295 - run::h1c01070ec49f4ed0d7b 24: 0x6f061bd9 - run::h1c01070ec49f4ed0d7b 25: 0x6617d82c - rust_try 26: 0x6617d809 - rust_try 27: 0x6612d4d5 - rt::unwind::try::inner_try::h75b7bddb15a6c10cs8v 28: 0x6f061d97 - run::h1c01070ec49f4ed0d7b 29: 0x66140404 - sys::process::Command::cwd::heb9c93936e48371awUu 30: 0x7ffb846b13d2 - BaseThreadInitThunk </code></pre></div> <p dir="auto">Version:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="rustc 1.2.0 (082e47636 2015-08-03) binary: rustc commit-hash: 082e4763615bdbe7b4dd3dfd6fc2210b7773edf5 commit-date: 2015-08-03 host: x86_64-pc-windows-gnu release: 1.2.0"><pre class="notranslate"><code class="notranslate">rustc 1.2.0 (082e47636 2015-08-03) binary: rustc commit-hash: 082e4763615bdbe7b4dd3dfd6fc2210b7773edf5 commit-date: 2015-08-03 host: x86_64-pc-windows-gnu release: 1.2.0 </code></pre></div>
<p dir="auto">Playpen link: <a href="http://is.gd/LITiE8" rel="nofollow">http://is.gd/LITiE8</a><br> Example:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="use std::collections::HashSet; fn main() { let mut v = Vec::new(); foo(&amp;mut v); } fn foo(h: &amp;mut HashSet&lt;u32&gt;) { }"><pre class="notranslate"><code class="notranslate">use std::collections::HashSet; fn main() { let mut v = Vec::new(); foo(&amp;mut v); } fn foo(h: &amp;mut HashSet&lt;u32&gt;) { } </code></pre></div> <p dir="auto">Output from playpen:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;anon&gt;:5:9: 5:15 error: mismatched types: expected `&amp;mut std::collections::hash::set::HashSet&lt;u32&gt;`, found `&amp;mut collections::vec::Vec&lt;_&gt;` (expected struct `std::collections::hash::set::HashSet`, found struct `collections::vec::Vec`) [E0308] &lt;anon&gt;:5 foo(&amp;mut v); ^~~~~~ error: internal compiler error: unexpected panic note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports note: run with `RUST_BACKTRACE=1` for a backtrace thread 'rustc' panicked at 'index out of bounds: the len is 3 but the index is 3', /home/rustbuild/src/rust-buildbot/slave/beta-dist-rustc-linux/build/src/libcollections/vec.rs:1358 playpen: application terminated with error code 101 Program ended."><pre class="notranslate"><code class="notranslate">&lt;anon&gt;:5:9: 5:15 error: mismatched types: expected `&amp;mut std::collections::hash::set::HashSet&lt;u32&gt;`, found `&amp;mut collections::vec::Vec&lt;_&gt;` (expected struct `std::collections::hash::set::HashSet`, found struct `collections::vec::Vec`) [E0308] &lt;anon&gt;:5 foo(&amp;mut v); ^~~~~~ error: internal compiler error: unexpected panic note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports note: run with `RUST_BACKTRACE=1` for a backtrace thread 'rustc' panicked at 'index out of bounds: the len is 3 but the index is 3', /home/rustbuild/src/rust-buildbot/slave/beta-dist-rustc-linux/build/src/libcollections/vec.rs:1358 playpen: application terminated with error code 101 Program ended. </code></pre></div> <p dir="auto">Happens for me on <code class="notranslate">rustc 1.1.0-nightly (f9e53c7f2 2015-04-24) (built 2015-04-25)</code>, and playpen is using beta, so it happens on that as well.</p>
1
<p dir="auto">A Visual Studio Developer Command Prompt can be accessed by opening a cmd prompt in Windows and then running the appropriate vcvarsall.bat command file.</p> <p dir="auto">Is it possible to create a cmd profile that will execute that bat file automatically?</p>
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Microsoft Windows [Version 10.0.18362.239] Windows Terminal version (if applicable): 0.2.1831.0 Any other software?"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.18362.239] Windows Terminal version (if applicable): 0.2.1831.0 Any other software? </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">Using two displays with different resolutions (1366x768 and 2560x1440), maximize the terminal window in the smaller display/resolution.</p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">A maximized window should be the exact display/resolution size.</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">The terminal window resizes about 20 pixels outside the display area when maximized on the smaller display. Maybe its a little bit more on the left side.</p>
0
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x ] bug report =&gt; search github for a similar issue or PR before submitting [ ] feature request [ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[x ] bug report =&gt; search github for a similar issue or PR before submitting [ ] feature request [ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question </code></pre></div> <p dir="auto"><strong>Current behavior</strong><br> Consider the following minimal router set up</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ path: '', component: Component1, children: [ { path: 'route1', loadChildren:() =&gt; Module1 }, ] } ]"><pre lang="const" class="notranslate"><code class="notranslate">{ path: '', component: Component1, children: [ { path: 'route1', loadChildren:() =&gt; Module1 }, ] } ] </code></pre></div> <p dir="auto">The JIT compiler fails at <strong>angular/core/bundles/core.umd.js line 2049</strong> because arrow functions do not have the prototype property.</p> <p dir="auto">Changing the lazy loading to use the es5 function syntax solves the problem</p> <p dir="auto"><strong>Expected behavior</strong><br> Should be able to use es6 arrow function for lazy loading a module</p> <p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></p> <ul dir="auto"> <li>Create an angular project using version 2.4.10</li> <li>Add a router config that includes loadChildren using arrow function</li> <li>Run <code class="notranslate">npm start</code></li> </ul> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br> Since angular supports es6, we should be allowed to take advantage of arrow function definition for lazy loading</p> <p dir="auto"><strong>Please tell us about your environment:</strong></p> <ul dir="auto"> <li>OS - Windows 8</li> <li>IDE: Visual Stidio Code</li> <li>Package Manager: npm</li> <li>HTTP server: lite-sever(dev)</li> </ul> <p dir="auto"><strong>Angular version:</strong> 2.4.10</p> <p dir="auto"><strong>Browser:</strong> [ Chrome Latest ]</p> <p dir="auto"><strong>Language:</strong> [TypeScript]</p> <p dir="auto"><strong>Node (for AoT issues):</strong> = 4.2.6</p>
<p dir="auto">If I set something like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;red&gt;This component should have the 'red' css class&lt;/red&gt; @Component({ selector: 'red', template : `&lt;div [ngClass]=&quot;getClasses()&quot;&gt;&lt;ng-content&gt;&lt;/ng-content&gt;&lt;/div&gt;` }) export class RedComponent { getClasses() { return { 'red' : true }; } }"><pre class="notranslate"><code class="notranslate">&lt;red&gt;This component should have the 'red' css class&lt;/red&gt; @Component({ selector: 'red', template : `&lt;div [ngClass]="getClasses()"&gt;&lt;ng-content&gt;&lt;/ng-content&gt;&lt;/div&gt;` }) export class RedComponent { getClasses() { return { 'red' : true }; } } </code></pre></div> <p dir="auto">This is working during the first "digest", but the second (Dev mode) is removing the class.</p> <p dir="auto">If I do something like this, this is working.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Component({ selector: 'red', template : `&lt;div [ngClass]=&quot;getClasses()&quot;&gt;&lt;ng-content&gt;&lt;/ng-content&gt;&lt;/div&gt;` }) export class RedComponent { classes: { 'red' : true }; getClasses() { return classes; } }"><pre class="notranslate"><code class="notranslate">@Component({ selector: 'red', template : `&lt;div [ngClass]="getClasses()"&gt;&lt;ng-content&gt;&lt;/ng-content&gt;&lt;/div&gt;` }) export class RedComponent { classes: { 'red' : true }; getClasses() { return classes; } } </code></pre></div> <p dir="auto">I think this is a bug, because dev mode shouldn't impact the resulting output.</p>
0
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=lisak" rel="nofollow">Josef Vychtrle</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-8601?redirect=false" rel="nofollow">SPR-8601</a></strong> and commented</p> <p dir="auto">There are two major means of data binding initialization, but there is a drawback in the oldschool xml one.</p> <p dir="auto">In short, you can do this :</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@InitBinder(&quot;order&quot;) public void initBinder(WebDataBinder binder) { binder.setAllowedFields(allowedFields.split(&quot;,&quot;)); }"><pre class="notranslate"><code class="notranslate">@InitBinder("order") public void initBinder(WebDataBinder binder) { binder.setAllowedFields(allowedFields.split(",")); } </code></pre></div> <p dir="auto">but it can't be done with ConfigurableWebBindingInitializer. First off, the binder instance is created in AnnotationMethodHandlerAdapter and initializer is passed the binder instance somewhere in HandlerMethodInvoker so it can't be set up... :</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;bean id=&quot;webBindingInitializer&quot; class=&quot;org.springframework.web.bind.support.ConfigurableWebBindingInitializer&quot;&gt; &lt;property name=&quot;messageCodesResolver&quot; ref=&quot;codesResolver&quot; /&gt; &lt;!-- missing allowed / disallowed / required properties --&gt; &lt;/bean&gt;"><pre class="notranslate"><code class="notranslate">&lt;bean id="webBindingInitializer" class="org.springframework.web.bind.support.ConfigurableWebBindingInitializer"&gt; &lt;property name="messageCodesResolver" ref="codesResolver" /&gt; &lt;!-- missing allowed / disallowed / required properties --&gt; &lt;/bean&gt; </code></pre></div> <p dir="auto">FIX :</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="public void initBinder(WebDataBinder binder, WebRequest request) { if(this.allowedFields != null) { binder.setAllowedFields(allowedFields); } if(this.disallowedFields != null) { binder.setDisallowedFields(disallowedFields); } if(this.allowedFields != null) { binder.setRequiredFields(requiredFields); } if (this.directFieldAccess) { binder.initDirectFieldAccess(); } if (this.messageCodesResolver != null) { binder.setMessageCodesResolver(this.messageCodesResolver); } if (this.bindingErrorProcessor != null) { binder.setBindingErrorProcessor(this.bindingErrorProcessor); } if (this.validator != null &amp;&amp; binder.getTarget() != null &amp;&amp; this.validator.supports(binder.getTarget().getClass())) { binder.setValidator(this.validator); } if (this.conversionService != null) { binder.setConversionService(this.conversionService); } if (this.propertyEditorRegistrars != null) { for (PropertyEditorRegistrar propertyEditorRegistrar : this.propertyEditorRegistrars) { propertyEditorRegistrar.registerCustomEditors(binder); } } }"><pre class="notranslate"><code class="notranslate">public void initBinder(WebDataBinder binder, WebRequest request) { if(this.allowedFields != null) { binder.setAllowedFields(allowedFields); } if(this.disallowedFields != null) { binder.setDisallowedFields(disallowedFields); } if(this.allowedFields != null) { binder.setRequiredFields(requiredFields); } if (this.directFieldAccess) { binder.initDirectFieldAccess(); } if (this.messageCodesResolver != null) { binder.setMessageCodesResolver(this.messageCodesResolver); } if (this.bindingErrorProcessor != null) { binder.setBindingErrorProcessor(this.bindingErrorProcessor); } if (this.validator != null &amp;&amp; binder.getTarget() != null &amp;&amp; this.validator.supports(binder.getTarget().getClass())) { binder.setValidator(this.validator); } if (this.conversionService != null) { binder.setConversionService(this.conversionService); } if (this.propertyEditorRegistrars != null) { for (PropertyEditorRegistrar propertyEditorRegistrar : this.propertyEditorRegistrars) { propertyEditorRegistrar.registerCustomEditors(binder); } } } </code></pre></div> <hr> <p dir="auto"><strong>Affects:</strong> 3.1 M2</p> <p dir="auto"><strong>Issue Links:</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398113977" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13244" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13244/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13244">#13244</a> ConfigurableWebBindingInitializer should have allowed / disallowed / required fields for DataBinder initialization (<em><strong>"duplicates"</strong></em>)</li> </ul>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=pmularien" rel="nofollow">Peter Mularien</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-3695?redirect=false" rel="nofollow">SPR-3695</a></strong> and commented</p> <p dir="auto">A very common issue with new adopters of Spring MVC is confusion over how to get JSTL working in their application server. Although the Spring docs can't possibly cover every application server, since I try to help out newbies on the forums, I've noticed a few common problems/pitfalls that might be worthwhile to document in section 14.2 of the documentation.</p> <p dir="auto">The basis for some of this is that for a lot of people, when using Spring MVC, they are also attempting to use JSTL for the first time. So although some of the blame for these common issues falls on Sun, I think it would be worthwhile to cover some of them in the Spring docs, because people ultimately come to the Spring Web forums to get them solved (thinking that they are Spring problems).</p> <p dir="auto">Here's a few suggestions, feel free to document some or all of them.</p> <p dir="auto">The most common problem is people trying to use JSTL without declaring their web application as a servlet 2.4 (or higher) web app. In compliant application servers (most commonly reported is Tomcat), this will disable JSTL 2.0 evaluation. The documentation should provide an example web.xml snippet illustrating where the webapp version is set, and indicate the minimum required version to get JSTL 2.0 evaluation (a list of app servers supporting this would be nice, too ;) ).</p> <p dir="auto">There are many, many threads in the Spring Web forum regarding this confusion. Do a search with the terms "+jstl +version". Examples:<br> <a href="http://forum.springframework.org/showthread.php?t=35085&amp;highlight=jstl+version" rel="nofollow">http://forum.springframework.org/showthread.php?t=35085&amp;highlight=jstl+version</a><br> <a href="http://forum.springframework.org/showthread.php?t=38850&amp;highlight=jstl+version" rel="nofollow">http://forum.springframework.org/showthread.php?t=38850&amp;highlight=jstl+version</a><br> <a href="http://forum.springframework.org/showthread.php?t=27858&amp;highlight=jstl+version" rel="nofollow">http://forum.springframework.org/showthread.php?t=27858&amp;highlight=jstl+version</a><br> ... etc.</p> <p dir="auto">Another common problem is people being confused over which JSTL taglib declaration to use, and how to reference JSTL within the page.</p> <p dir="auto">More documentation on how to set up JSTL with MessageSourceAccessors, along with an example.</p> <p dir="auto">I can't think of anything else at the moment, but I'd suggest reviewing some of the recent forum postings for ideas on additional topics. I always found it kind of odd that the documentation for how to use Spring with FreeMarker is more dense than the docs for Spring + JSP/JSTL :)</p> <p dir="auto">Part of the problem (I think) is that the only MVC tutorial that's on the web site (step-by-step) is extremely outdated. It would be great if we could put together an example that is as simple, while being updated for Spring 2.x (but that's the topic of another JIRA).</p> <p dir="auto">Let me know if I can help at all with this effort.</p> <hr> <p dir="auto"><strong>Affects:</strong> 2.0.6</p> <p dir="auto"><strong>Referenced from:</strong> commits <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/89d997a5bcc396d1bf666ccc8d7b11e092e32b75/hovercard" href="https://github.com/spring-projects/spring-framework/commit/89d997a5bcc396d1bf666ccc8d7b11e092e32b75"><tt>89d997a</tt></a></p> <p dir="auto">4 votes, 5 watchers</p>
0
<p dir="auto">So I have structure of app like this</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="index.ts package.json"><pre class="notranslate">index.ts package.json</pre></div> <p dir="auto"><strong>package.json</strong></p> <p dir="auto">worked</p> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;scripts&quot;: { &quot;test&quot;: &quot;deno run index.ts&quot; } }"><pre class="notranslate">{ <span class="pl-ent">"scripts"</span>: { <span class="pl-ent">"test"</span>: <span class="pl-s"><span class="pl-pds">"</span>deno run index.ts<span class="pl-pds">"</span></span> } }</pre></div> <p dir="auto">not working</p> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;scripts&quot;: { &quot;test&quot;: &quot;deno run index.ts&quot; } }"><pre class="notranslate">{ <span class="pl-ent">"scripts"</span>: { <span class="pl-ent">"test"</span>: <span class="pl-s"><span class="pl-pds">"</span>deno run index.ts<span class="pl-pds">"</span></span> } }</pre></div> <p dir="auto">I am not sure that whether or not <code class="notranslate">deno</code> will support execute script without extension name in the future.</p>
<p dir="auto">Hi guys! First of all let me say big thanks for all the job you already done! Deno looks extremely promising even before release.</p> <p dir="auto">Right now I am trying to get a bit more familiar with it and just spotted some kind of issue (I think this is issue but may be I am wrong) when importing my own typescript module.</p> <p dir="auto">Let's say we have this code</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { Timer } from &quot;./serivce&quot;; const id = new Timer().start();"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-smi">Timer</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"./serivce"</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">id</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-smi">Timer</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">start</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">It looks OK, but Deno will refuse to run it because it expects to see extension of the file:</p> <div class="highlight highlight-source-batchfile notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Uncaught NotFound: Cannot resolve module &quot;./serivce&quot;"><pre class="notranslate">Uncaught NotFound: Cannot resolve module <span class="pl-s"><span class="pl-pds">"</span>./serivce<span class="pl-pds">"</span></span></pre></div> <p dir="auto">If I will change statement to use extension, as Deno expect, two bad things happens.</p> <ul dir="auto"> <li> <p dir="auto">VsCode starts showing next error:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/8222114/59343990-b7439500-8d15-11e9-8224-729376e4d665.png"><img src="https://user-images.githubusercontent.com/8222114/59343990-b7439500-8d15-11e9-8224-729376e4d665.png" alt="image" style="max-width: 100%;"></a></p> </li> <li> <p dir="auto">No IntelliSense provided because Timer starts to be "any" - typed</p> </li> </ul> <p dir="auto">The first issue can be partially fixed using //<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ts-ignore/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ts-ignore">@ts-ignore</a>. But then, I have to add this every time, and that's a bit annoying. And the second issue seems not fixable for me (again, may be just not found the solution)</p> <p dir="auto">So my question: Is it possible to make Deno and Ts more friendly and get rid of this //<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ts-ignore/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ts-ignore">@ts-ignore</a>?</p>
1
<p dir="auto">actually there are 4 tabs, but only 3 tabs are displayed in the title bar!!!<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/28834785/64071571-8721e780-ccaf-11e9-93cd-9371b52e3dd3.png"><img src="https://user-images.githubusercontent.com/28834785/64071571-8721e780-ccaf-11e9-93cd-9371b52e3dd3.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">This bug-tracker is monitored by Windows Console development team and other technical types. <strong>We like detail!</strong></p> <p dir="auto">Please use this form and describe your issue, concisely but precisely, with as much detail as possible</p> <ul dir="auto"> <li> <p dir="auto">Your Windows build number: (Type <code class="notranslate">ver</code> at a Windows Command Prompt)<br> <strong>Microsoft Windows [Version 10.0.18898.1000]</strong></p> </li> <li> <p dir="auto">What you're doing and what's happening: (Copy &amp; paste specific commands and their output, or include screen shots)<br> <a href="https://youtu.be/SL61SMN4baI" rel="nofollow">Video demonstration of both issues below</a></p> <ul dir="auto"> <li>A newly created tab doesn't scroll the tab bar to the end - could possibly be a config variable</li> <li>When using tabs in the title bar and creating a new partially hidden tab, the tab gets cut off.</li> </ul> </li> <li> <p dir="auto">What's wrong / what should be happening instead:</p> <ul dir="auto"> <li>The tab should not be cut off.</li> </ul> </li> </ul>
1
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Add <code class="notranslate">__inverse__</code> to Index.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Change duplicated to return np.array (PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="52548801" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/9112" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/9112/hovercard" href="https://github.com/pandas-dev/pandas/pull/9112">#9112</a>)</li> </ul> <p dir="auto">Related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="39909905" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/7979" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/7979/hovercard" href="https://github.com/pandas-dev/pandas/pull/7979">#7979</a></p> <p dir="auto">Because <code class="notranslate">Index</code> is no more the subclass of <code class="notranslate">np.array</code>, <code class="notranslate">Index.duplicated</code> returns <code class="notranslate">Index</code> with <code class="notranslate">dtype=object</code>. And <code class="notranslate">Index</code> don't accepts logical not.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="idx = pd.Index([1, 2, 1, 3]) idx.duplicated() # Index([False, False, True, False], dtype='object') ~idx.duplicated() # TypeError: bad operand type for unary ~: 'Index'"><pre class="notranslate"><code class="notranslate">idx = pd.Index([1, 2, 1, 3]) idx.duplicated() # Index([False, False, True, False], dtype='object') ~idx.duplicated() # TypeError: bad operand type for unary ~: 'Index' </code></pre></div> <p dir="auto">As a result, it is impossible to drop data which have duplicated index using expression like <code class="notranslate">df[~df.index.duplicated()]</code>. This expression was worked at the timing of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="39909905" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/7979" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/7979/hovercard" href="https://github.com/pandas-dev/pandas/pull/7979">#7979</a>.</p> <p dir="auto">Does <code class="notranslate">Index.duplicated</code> should return <code class="notranslate">np.array</code> with <code class="notranslate">dtype=bool</code>? Or <code class="notranslate">Index</code> should accept logical not?</p>
<p dir="auto">after <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="27737098" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6380" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6380/hovercard" href="https://github.com/pandas-dev/pandas/pull/6380">#6380</a>, ability to pretty easily move ops over to the mix-in</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <code class="notranslate">date/time</code> (added in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="27737098" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6380" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6380/hovercard" href="https://github.com/pandas-dev/pandas/pull/6380">#6380</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> more periods ops? <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="20918891" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/5202" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/5202/hovercard" href="https://github.com/pandas-dev/pandas/issues/5202">#5202</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> additional field accessor (<code class="notranslate">is_beg_year</code>), <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="19366462" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/4823" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/4823/hovercard" href="https://github.com/pandas-dev/pandas/pull/4823">#4823</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> validate <code class="notranslate">argmin/max</code>, (PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="39349111" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/7904" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/7904/hovercard" href="https://github.com/pandas-dev/pandas/issues/7904">#7904</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> StringMethods, e.g. <code class="notranslate">str</code> for <code class="notranslate">Index</code> (not for sub-classes though), <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="51834672" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/9068" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/9068/hovercard" href="https://github.com/pandas-dev/pandas/issues/9068">#9068</a></li> </ul> <p dir="auto">(this turns out to be quite tricky, as sometimes construction depends on the existence of a <code class="notranslate">tz</code> attribute)</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">freq,frestr,inferred_freq</code></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <code class="notranslate">is_monotonic</code> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="157767200" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/13336" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/13336/hovercard" href="https://github.com/pandas-dev/pandas/pull/13336">#13336</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <code class="notranslate">pd.infer_freq()</code>, related <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="27867645" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6407" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/6407/hovercard" href="https://github.com/pandas-dev/pandas/issues/6407">#6407</a>,<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="27872946" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6408" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6408/hovercard" href="https://github.com/pandas-dev/pandas/pull/6408">#6408</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">is_unique,lexsort_depth,nlevels</code></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <code class="notranslate">nunique()</code>,<code class="notranslate">unique()</code>,<code class="notranslate">value_counts()</code>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="30440590" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6734" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6734/hovercard" href="https://github.com/pandas-dev/pandas/pull/6734">#6734</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <code class="notranslate">factorize()</code> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="33231411" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/7090" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/7090/hovercard" href="https://github.com/pandas-dev/pandas/pull/7090">#7090</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">get_loc/find</code> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="18302926" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/4616" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/4616/hovercard" href="https://github.com/pandas-dev/pandas/issues/4616">#4616</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">__invert__</code> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="49769148" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/8875" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/8875/hovercard" href="https://github.com/pandas-dev/pandas/issues/8875">#8875</a></li> </ul> <p dir="auto">These are related in that they are generic.py functions as they have to compute something then set the axis with the result.</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">normalize</code> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22567385" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/5502" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/5502/hovercard" href="https://github.com/pandas-dev/pandas/issues/5502">#5502</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">tz_convert/tz_localize</code> (though this requires a bit of wrapping as they have an axis parm,<br> but should be possible), see also here: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="39391827" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/7915" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/7915/hovercard" href="https://github.com/pandas-dev/pandas/pull/7915">#7915</a> (currently implemented only on <code class="notranslate">DatetimeIndex</code>, <code class="notranslate">PeriodIndex</code> has these as not implemented (and delegating from <code class="notranslate">NDFrame</code> is in <code class="notranslate">core/generic</code>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <code class="notranslate">duplicated/drop_duplicates</code> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="16102603" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/4060" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/4060/hovercard" href="https://github.com/pandas-dev/pandas/issues/4060">#4060</a>, (PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="39909905" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/7979" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/7979/hovercard" href="https://github.com/pandas-dev/pandas/pull/7979">#7979</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">has_duplicates</code> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="51937288" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/9077" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/9077/hovercard" href="https://github.com/pandas-dev/pandas/pull/9077">#9077</a></li> </ul>
0
<p dir="auto">We are using piprot in our security build. recently our build is getting failed because of the following risk given by piprot.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="python-piprot medium urllib3 Module is one or more minor versions out of date Upgrade to v1.25.2 (Current: v1.24.2)"><pre class="notranslate"><code class="notranslate">python-piprot medium urllib3 Module is one or more minor versions out of date Upgrade to v1.25.2 (Current: v1.24.2) </code></pre></div> <p dir="auto">could you please let us know whether there is version upgrade possible in any time soon</p> <p dir="auto">Thanks in advance</p>
<p dir="auto">Support for <code class="notranslate">urllib3</code> <a href="https://github.com/urllib3/urllib3/releases/tag/1.25">v1.25</a> (released today/yesterday). The usual yada-yada "my CI is broken".</p> <p dir="auto">Multiple packages that we depend on (eg <code class="notranslate">google.cloud.storage</code>, <code class="notranslate">azure.storage</code>) have strict version-check on <code class="notranslate">requests</code> using <code class="notranslate">pkg_resources.require('requests &gt;= 2.18.0')</code>. Any unmet dependencies in the chain below and including <code class="notranslate">requests</code> will cause the check to fail and raise an exception. <code class="notranslate">urllib3&lt;1.25</code> is currently one such dependency.</p> <h2 dir="auto">Expected Result</h2> <p dir="auto">No exception raised on import</p> <h2 dir="auto">Actual Result</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pkg_resources.ContextualVersionConflict: (urllib3 1.25 (/usr/local/lib/python3.6/dist-packages), Requirement.parse('urllib3&lt;1.25,&gt;=1.21.1'), {'requests'}) The above exception was the direct cause of the following exception: ImportError: ``requests &gt;= 2.18.0`` is required by the ``google.resumable_media.requests`` subpackage. It can be installed via pip install google-resumable-media[requests]."><pre class="notranslate"><code class="notranslate">pkg_resources.ContextualVersionConflict: (urllib3 1.25 (/usr/local/lib/python3.6/dist-packages), Requirement.parse('urllib3&lt;1.25,&gt;=1.21.1'), {'requests'}) The above exception was the direct cause of the following exception: ImportError: ``requests &gt;= 2.18.0`` is required by the ``google.resumable_media.requests`` subpackage. It can be installed via pip install google-resumable-media[requests]. </code></pre></div> <h2 dir="auto">Reproduction Steps</h2> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="pip3 install sentry-sdk google-cloud-storage"><pre class="notranslate">pip3 install sentry-sdk google-cloud-storage</pre></div> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; from google.cloud import storage"><pre class="notranslate"><span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-k">from</span> <span class="pl-s1">google</span>.<span class="pl-s1">cloud</span> <span class="pl-k">import</span> <span class="pl-s1">storage</span></pre></div> <h2 dir="auto">System Information</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/home/laurie/env-tmp/lib/python3.6/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.25) or chardet (3.0.4) doesn't match a supported version! RequestsDependencyWarning) { &quot;chardet&quot;: { &quot;version&quot;: &quot;3.0.4&quot; }, &quot;cryptography&quot;: { &quot;version&quot;: &quot;&quot; }, &quot;idna&quot;: { &quot;version&quot;: &quot;2.8&quot; }, &quot;implementation&quot;: { &quot;name&quot;: &quot;CPython&quot;, &quot;version&quot;: &quot;3.6.7&quot; }, &quot;platform&quot;: { &quot;release&quot;: &quot;4.18.0-17-generic&quot;, &quot;system&quot;: &quot;Linux&quot; }, &quot;pyOpenSSL&quot;: { &quot;openssl_version&quot;: &quot;&quot;, &quot;version&quot;: null }, &quot;requests&quot;: { &quot;version&quot;: &quot;2.21.0&quot; }, &quot;system_ssl&quot;: { &quot;version&quot;: &quot;1010100f&quot; }, &quot;urllib3&quot;: { &quot;version&quot;: &quot;1.25&quot; }, &quot;using_pyopenssl&quot;: false }"><pre class="notranslate"><code class="notranslate">/home/laurie/env-tmp/lib/python3.6/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.25) or chardet (3.0.4) doesn't match a supported version! RequestsDependencyWarning) { "chardet": { "version": "3.0.4" }, "cryptography": { "version": "" }, "idna": { "version": "2.8" }, "implementation": { "name": "CPython", "version": "3.6.7" }, "platform": { "release": "4.18.0-17-generic", "system": "Linux" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.21.0" }, "system_ssl": { "version": "1010100f" }, "urllib3": { "version": "1.25" }, "using_pyopenssl": false } </code></pre></div>
1
<p dir="auto">Hi,</p> <p dir="auto">I have been running into a recurring issue with the test code below (I am just quoting the most minimal version but the issue manifests itself every time pyplot is invoked). I have been running matplotlib 3.4.3 on Visual Studio Code (which freezes and needs manual restart) and jupyter-lab ("The kernel appears to have died. It will restart automatically").</p> <p dir="auto">import matplotlib.pyplot as plt<br> plt.plot([1,2,3], [1,2,3])<br> plt.show()</p> <p dir="auto">On jupyter-lab, the above code also generates a deluge of runtime warnings (which I am happy to send them in a separate file).<br> I have tried removing and reinstalling matplotlib (multiple times) but the issue reproduces itself.<br> I am really not sure how to approach this. The code was working fine until a few weeks ago, at which point I am not sure what changed. I am running this on a Windows machine (arm64 architecture).</p> <p dir="auto">Thanks for any help, advice, or insight!</p>
<p dir="auto">If you assign any of the text fields in the figure options dialog to a "color-like" string, it changes into a color field the next time you open the dialog. This happens even in some not-so-obvious cases, like the letter 'y' (which you'd think you'd be able to use for a y axis label). This would be a little difficult to fix since the form dialog code is pretty complex, but a quick solution would be to only consider #ffffff style strings as colors, and add a helper function to convert the color properties to this format. a better solution would be to either wrap the color properties in an object, or add some kind of disambiguation parameter to the form parser (as an optional third entry in each tuple, i.e. "('Color', line.get_color(), 'color')").</p>
0
<h1 dir="auto">Bug report</h1> <h2 dir="auto">Describe the bug</h2> <p dir="auto">Next.js fails to compile</p> <h2 dir="auto">To Reproduce</h2> <p dir="auto">Steps to reproduce the behavior, please provide code snippets or a repository:</p> <ol dir="auto"> <li>run <code class="notranslate">npm run dev</code> on <a href="https://github.com/voluntarily/vly2">http://github.com/voluntarily/vly2</a></li> <li>watch the logs</li> </ol> <p dir="auto">Logs return</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ error ] ./node_modules/next/dist/client/next-dev.js 36:6 Module parse failed: Unexpected token (36:6) You may need an appropriate loader to handle this file type. | | &gt; import('./noop'); // Support EventSource on Internet Explorer 11 | | if (!window.EventSource) { mongodb connected at: mongodb://localhost/vly2 Voluntari.ly running on http://localhost:3122/ Be Awesome (node:81825) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'issuer' of null at findEntryModule (/Users/walt/dev/vly2/node_modules/next/dist/server/hot-reloader.js:60:16) at erroredPages (/Users/walt/dev/vly2/node_modules/next/dist/server/hot-reloader.js:68:29) at HotReloader.getCompilationErrors (/Users/walt/dev/vly2/node_modules/next/dist/server/hot-reloader.js:308:33) at processTicksAndRejections (internal/process/next_tick.js:81:5) (node:81825) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:81825) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. (node:81825) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'issuer' of null at findEntryModule (/Users/walt/dev/vly2/node_modules/next/dist/server/hot-reloader.js:60:16) at erroredPages (/Users/walt/dev/vly2/node_modules/next/dist/server/hot-reloader.js:68:29) at HotReloader.getCompilationErrors (/Users/walt/dev/vly2/node_modules/next/dist/server/hot-reloader.js:308:33) at processTicksAndRejections (internal/process/next_tick.js:81:5) (node:81825) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) "><pre class="notranslate"><code class="notranslate">[ error ] ./node_modules/next/dist/client/next-dev.js 36:6 Module parse failed: Unexpected token (36:6) You may need an appropriate loader to handle this file type. | | &gt; import('./noop'); // Support EventSource on Internet Explorer 11 | | if (!window.EventSource) { mongodb connected at: mongodb://localhost/vly2 Voluntari.ly running on http://localhost:3122/ Be Awesome (node:81825) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'issuer' of null at findEntryModule (/Users/walt/dev/vly2/node_modules/next/dist/server/hot-reloader.js:60:16) at erroredPages (/Users/walt/dev/vly2/node_modules/next/dist/server/hot-reloader.js:68:29) at HotReloader.getCompilationErrors (/Users/walt/dev/vly2/node_modules/next/dist/server/hot-reloader.js:308:33) at processTicksAndRejections (internal/process/next_tick.js:81:5) (node:81825) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:81825) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. (node:81825) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'issuer' of null at findEntryModule (/Users/walt/dev/vly2/node_modules/next/dist/server/hot-reloader.js:60:16) at erroredPages (/Users/walt/dev/vly2/node_modules/next/dist/server/hot-reloader.js:68:29) at HotReloader.getCompilationErrors (/Users/walt/dev/vly2/node_modules/next/dist/server/hot-reloader.js:308:33) at processTicksAndRejections (internal/process/next_tick.js:81:5) (node:81825) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) </code></pre></div> <h2 dir="auto">Expected behavior</h2> <p dir="auto">I expect the site to render</p>
<h1 dir="auto">Bug report</h1> <p dir="auto">Just upgraded to 8.0.0 and I'm really excited! I've run into an issue though that is preventing my project from compiling</p> <h2 dir="auto">Describe the bug</h2> <p dir="auto">So when I run <code class="notranslate">dev</code> I am getting the following issue</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="You may need an appropriate loader to handle this file type. | | &gt; import('./noop'); | var _window = window, | assetPrefix = _window.__NEXT_DATA__.assetPrefix;"><pre class="notranslate"><code class="notranslate">You may need an appropriate loader to handle this file type. | | &gt; import('./noop'); | var _window = window, | assetPrefix = _window.__NEXT_DATA__.assetPrefix; </code></pre></div> <p dir="auto">It seems to be coming from <code class="notranslate">webpack 4.29.0</code> (<a href="https://github.com/webpack/webpack/issues/8656#issuecomment-456713191" data-hovercard-type="issue" data-hovercard-url="/webpack/webpack/issues/8656/hovercard">see here</a>).</p> <p dir="auto">It looks like the issue was fixed with <a href="https://github.com/zeit/next.js/pull/6137" data-hovercard-type="pull_request" data-hovercard-url="/vercel/next.js/pull/6137/hovercard">this</a> which declared <code class="notranslate">acorn": "^6.0.5</code> as a dependency but the change doesn't seem to be present on <a href="https://github.com/zeit/next.js/blob/master/packages/next/package.json">master</a></p> <p dir="auto">Maybe I upgraded too soon?</p>
1
<h3 dir="auto">Bug summary</h3> <p dir="auto">2D arrays with more than about 8.000.000 columns are truncated on the right side.</p> <h3 dir="auto">Code for reproduction</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np from matplotlib import pyplot for length in range(6000000,10000000,500000): s = .5 * np.sin(np.linspace(0,6*np.pi,length)) pyplot.plot(s) pyplot.imshow(s.reshape((1,len(s))),aspect='auto',cmap='seismic') pyplot.show()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span> <span class="pl-k">from</span> <span class="pl-s1">matplotlib</span> <span class="pl-k">import</span> <span class="pl-s1">pyplot</span> <span class="pl-k">for</span> <span class="pl-s1">length</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">6000000</span>,<span class="pl-c1">10000000</span>,<span class="pl-c1">500000</span>): <span class="pl-s1">s</span> <span class="pl-c1">=</span> <span class="pl-c1">.5</span> <span class="pl-c1">*</span> <span class="pl-s1">np</span>.<span class="pl-en">sin</span>(<span class="pl-s1">np</span>.<span class="pl-en">linspace</span>(<span class="pl-c1">0</span>,<span class="pl-c1">6</span><span class="pl-c1">*</span><span class="pl-s1">np</span>.<span class="pl-s1">pi</span>,<span class="pl-s1">length</span>)) <span class="pl-s1">pyplot</span>.<span class="pl-en">plot</span>(<span class="pl-s1">s</span>) <span class="pl-s1">pyplot</span>.<span class="pl-en">imshow</span>(<span class="pl-s1">s</span>.<span class="pl-en">reshape</span>((<span class="pl-c1">1</span>,<span class="pl-en">len</span>(<span class="pl-s1">s</span>))),<span class="pl-s1">aspect</span><span class="pl-c1">=</span><span class="pl-s">'auto'</span>,<span class="pl-s1">cmap</span><span class="pl-c1">=</span><span class="pl-s">'seismic'</span>) <span class="pl-s1">pyplot</span>.<span class="pl-en">show</span>()</pre></div> <h3 dir="auto">Actual outcome</h3> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/20534033/227931365-bcabad57-5ec4-4591-8980-320da4740fea.png"><img src="https://user-images.githubusercontent.com/20534033/227931365-bcabad57-5ec4-4591-8980-320da4740fea.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">Image truncated on the right if length &gt; 8000000.</p> <h3 dir="auto">Expected outcome</h3> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/20534033/227930731-4b3744d2-05d4-4a9e-9f0c-9beb4b5872f3.png"><img src="https://user-images.githubusercontent.com/20534033/227930731-4b3744d2-05d4-4a9e-9f0c-9beb4b5872f3.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">Expected same outcome independent of length.</p> <h3 dir="auto">Additional information</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Operating system</h3> <p dir="auto">Windows 10</p> <h3 dir="auto">Matplotlib Version</h3> <p dir="auto">3.1.0</p> <h3 dir="auto">Matplotlib Backend</h3> <p dir="auto">module://ipykernel.pylab.backend_inline</p> <h3 dir="auto">Python version</h3> <p dir="auto">3.7.3</p> <h3 dir="auto">Jupyter version</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Installation</h3> <p dir="auto">pip</p>
<h3 dir="auto">Bug report</h3> <p dir="auto"><strong>Bug summary</strong></p> <p dir="auto">Hello, I am using <code class="notranslate">plt.imshow</code> to plot a very large array (~ 1 row x 150 million columns), and have noticed that the colors are not displayed properly.</p> <p dir="auto"><strong>Code for reproduction</strong></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np import matplotlib.pyplot as plt # Very large array = np.zeros(150000000, dtype=np.uint8) array[len(array) // 2:] = 1 fig, ax = plt.subplots(figsize=(10, 3)) im = ax.imshow(array.reshape(1, -1), vmin=0, vmax=1, aspect='auto') fig.colorbar(im, ax=ax) # 10x smaller array = np.zeros(15000000, dtype=np.uint8) array[len(array) // 2:] = 1 fig, ax = plt.subplots(figsize=(10, 3)) im = ax.imshow(array.reshape(1, -1), vmin=0, vmax=1, aspect='auto') fig.colorbar(im, ax=ax)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span> <span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span> <span class="pl-c"># Very large</span> <span class="pl-s1">array</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">zeros</span>(<span class="pl-c1">150000000</span>, <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-s1">uint8</span>) <span class="pl-s1">array</span>[<span class="pl-en">len</span>(<span class="pl-s1">array</span>) <span class="pl-c1">//</span> <span class="pl-c1">2</span>:] <span class="pl-c1">=</span> <span class="pl-c1">1</span> <span class="pl-s1">fig</span>, <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>(<span class="pl-s1">figsize</span><span class="pl-c1">=</span>(<span class="pl-c1">10</span>, <span class="pl-c1">3</span>)) <span class="pl-s1">im</span> <span class="pl-c1">=</span> <span class="pl-s1">ax</span>.<span class="pl-en">imshow</span>(<span class="pl-s1">array</span>.<span class="pl-en">reshape</span>(<span class="pl-c1">1</span>, <span class="pl-c1">-</span><span class="pl-c1">1</span>), <span class="pl-s1">vmin</span><span class="pl-c1">=</span><span class="pl-c1">0</span>, <span class="pl-s1">vmax</span><span class="pl-c1">=</span><span class="pl-c1">1</span>, <span class="pl-s1">aspect</span><span class="pl-c1">=</span><span class="pl-s">'auto'</span>) <span class="pl-s1">fig</span>.<span class="pl-en">colorbar</span>(<span class="pl-s1">im</span>, <span class="pl-s1">ax</span><span class="pl-c1">=</span><span class="pl-s1">ax</span>) <span class="pl-c"># 10x smaller</span> <span class="pl-s1">array</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">zeros</span>(<span class="pl-c1">15000000</span>, <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-s1">uint8</span>) <span class="pl-s1">array</span>[<span class="pl-en">len</span>(<span class="pl-s1">array</span>) <span class="pl-c1">//</span> <span class="pl-c1">2</span>:] <span class="pl-c1">=</span> <span class="pl-c1">1</span> <span class="pl-s1">fig</span>, <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>(<span class="pl-s1">figsize</span><span class="pl-c1">=</span>(<span class="pl-c1">10</span>, <span class="pl-c1">3</span>)) <span class="pl-s1">im</span> <span class="pl-c1">=</span> <span class="pl-s1">ax</span>.<span class="pl-en">imshow</span>(<span class="pl-s1">array</span>.<span class="pl-en">reshape</span>(<span class="pl-c1">1</span>, <span class="pl-c1">-</span><span class="pl-c1">1</span>), <span class="pl-s1">vmin</span><span class="pl-c1">=</span><span class="pl-c1">0</span>, <span class="pl-s1">vmax</span><span class="pl-c1">=</span><span class="pl-c1">1</span>, <span class="pl-s1">aspect</span><span class="pl-c1">=</span><span class="pl-s">'auto'</span>) <span class="pl-s1">fig</span>.<span class="pl-en">colorbar</span>(<span class="pl-s1">im</span>, <span class="pl-s1">ax</span><span class="pl-c1">=</span><span class="pl-s1">ax</span>)</pre></div> <p dir="auto"><strong>Actual outcome</strong><br> Very large<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1281521/104198905-cd836c80-53f4-11eb-8b31-932a30da23db.png"><img src="https://user-images.githubusercontent.com/1281521/104198905-cd836c80-53f4-11eb-8b31-932a30da23db.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">10x smaller<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1281521/104198876-c4929b00-53f4-11eb-93ba-a1e6b45dcd54.png"><img src="https://user-images.githubusercontent.com/1281521/104198876-c4929b00-53f4-11eb-93ba-a1e6b45dcd54.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Expected outcome</strong><br> Since we set the later half of the array to 1 (and the rest is 0), we expect the image to change color at 75 million, but we see that all pixels are colored as 0.</p> <p dir="auto"><strong>Matplotlib version</strong></p> <ul dir="auto"> <li>Operating system: Ubuntu 20.04</li> <li>Matplotlib version: 3.3.2 (also tested on 3.3.3)</li> <li>Matplotlib backend: module://ipykernel.pylab.backend_inline</li> <li>Python version: 3.8.3 (also tested on 3.6.9)</li> <li>Jupyter version (if applicable):</li> <li>Other libraries:</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ipython 7.18.1 ipython-genutils 0.2.0 jupyter 1.0.0 jupyter-client 6.1.7 jupyter-console 6.2.0 jupyter-core 4.6.3 jupyterlab 2.2.8 jupyterlab-pygments 0.1.1 jupyterlab-server 1.2.0"><pre class="notranslate"><code class="notranslate">ipython 7.18.1 ipython-genutils 0.2.0 jupyter 1.0.0 jupyter-client 6.1.7 jupyter-console 6.2.0 jupyter-core 4.6.3 jupyterlab 2.2.8 jupyterlab-pygments 0.1.1 jupyterlab-server 1.2.0 </code></pre></div> <p dir="auto">Python installed via miniconda, but matplotlib was installed via pip.</p>
1
<p dir="auto">Consider the following function <code class="notranslate">f</code>:</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function f() if rand(Bool) idxs = [[1,2],[1,2,3]] else idxs = [[1,2],[1,2,3]] end return idxs end"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">f</span>() <span class="pl-k">if</span> <span class="pl-c1">rand</span>(Bool) idxs <span class="pl-k">=</span> [[<span class="pl-c1">1</span>,<span class="pl-c1">2</span>],[<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>]] <span class="pl-k">else</span> idxs <span class="pl-k">=</span> [[<span class="pl-c1">1</span>,<span class="pl-c1">2</span>],[<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>]] <span class="pl-k">end</span> <span class="pl-k">return</span> idxs <span class="pl-k">end</span></pre></div> <p dir="auto">As well as the functionally identical variation <code class="notranslate">g</code>:</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function g() if rand(Bool) idxs = [[1,2],[1,2,3]] else idxs = [[1,2],[1,2,3]] end [idxs[j] for j in 1:length(idxs)] return idxs end"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">g</span>() <span class="pl-k">if</span> <span class="pl-c1">rand</span>(Bool) idxs <span class="pl-k">=</span> [[<span class="pl-c1">1</span>,<span class="pl-c1">2</span>],[<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>]] <span class="pl-k">else</span> idxs <span class="pl-k">=</span> [[<span class="pl-c1">1</span>,<span class="pl-c1">2</span>],[<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>]] <span class="pl-k">end</span> [idxs[j] <span class="pl-k">for</span> j <span class="pl-k">in</span> <span class="pl-c1">1</span><span class="pl-k">:</span><span class="pl-c1">length</span>(idxs)] <span class="pl-k">return</span> idxs <span class="pl-k">end</span></pre></div> <p dir="auto">Here, <code class="notranslate">f</code> will infer perfectly fine - but adding an iterator over <code class="notranslate">idxs</code> in <code class="notranslate">g</code> (which, notably, is not used for anything) will cause inference to give up, inferring <code class="notranslate">Any</code> as return value. Effectively, using the iterator poisons everything.</p> <p dir="auto">Defining and using variables this way is definitely an anti-pattern (and can be avoided in several ways) but since<code class="notranslate">f</code> works just fine (and e.g., is not disallowed) it struck me as unintended that <code class="notranslate">g</code> does not.</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="using Images: realtype function ifi{T&lt;:Real,K,N}(img::AbstractArray{T,N}, kern::AbstractArray{K,N}, border::AbstractString, value) if border == &quot;circular&quot; &amp;&amp; size(img) == size(kern) out = real(ifftshift(ifft(fft(img).*fft(kern)))) elseif border != &quot;inner&quot; prepad = [div(size(kern,i)-1, 2) for i = 1:N] postpad = [div(size(kern,i), 2) for i = 1:N] fullpad = [nextprod([2,3], size(img,i) + prepad[i] + postpad[i]) - size(img, i) - prepad[i] for i = 1:N] A = padarray(img, prepad, fullpad, border, convert(T, value)) krn = zeros(typeof(one(T)*one(K)), size(A)) indexesK = ntuple(d-&gt;[size(krn,d)-prepad[d]+1:size(krn,d);1:size(kern,d)-prepad[d]], N)::NTuple{N,Vector{Int}} AF = ifft(fft(A).*fft(krn)) out = Array(realtype(eltype(AF)), size(img)) end out end"><pre class="notranslate"><span class="pl-k">using</span> Images<span class="pl-k">:</span> realtype <span class="pl-k">function</span> <span class="pl-en">ifi</span><span class="pl-c1">{T&lt;:Real,K,N}</span>(img<span class="pl-k">::</span><span class="pl-c1">AbstractArray{T,N}</span>, kern<span class="pl-k">::</span><span class="pl-c1">AbstractArray{K,N}</span>, border<span class="pl-k">::</span><span class="pl-c1">AbstractString</span>, value) <span class="pl-k">if</span> border <span class="pl-k">==</span> <span class="pl-s"><span class="pl-pds">"</span>circular<span class="pl-pds">"</span></span> <span class="pl-k">&amp;&amp;</span> <span class="pl-c1">size</span>(img) <span class="pl-k">==</span> <span class="pl-c1">size</span>(kern) out <span class="pl-k">=</span> <span class="pl-c1">real</span>(<span class="pl-c1">ifftshift</span>(<span class="pl-c1">ifft</span>(<span class="pl-c1">fft</span>(img)<span class="pl-k">.*</span><span class="pl-c1">fft</span>(kern)))) <span class="pl-k">elseif</span> border <span class="pl-k">!=</span> <span class="pl-s"><span class="pl-pds">"</span>inner<span class="pl-pds">"</span></span> prepad <span class="pl-k">=</span> [<span class="pl-c1">div</span>(<span class="pl-c1">size</span>(kern,i)<span class="pl-k">-</span><span class="pl-c1">1</span>, <span class="pl-c1">2</span>) <span class="pl-k">for</span> i <span class="pl-k">=</span> <span class="pl-c1">1</span><span class="pl-k">:</span>N] postpad <span class="pl-k">=</span> [<span class="pl-c1">div</span>(<span class="pl-c1">size</span>(kern,i), <span class="pl-c1">2</span>) <span class="pl-k">for</span> i <span class="pl-k">=</span> <span class="pl-c1">1</span><span class="pl-k">:</span>N] fullpad <span class="pl-k">=</span> [<span class="pl-c1">nextprod</span>([<span class="pl-c1">2</span>,<span class="pl-c1">3</span>], <span class="pl-c1">size</span>(img,i) <span class="pl-k">+</span> prepad[i] <span class="pl-k">+</span> postpad[i]) <span class="pl-k">-</span> <span class="pl-c1">size</span>(img, i) <span class="pl-k">-</span> prepad[i] <span class="pl-k">for</span> i <span class="pl-k">=</span> <span class="pl-c1">1</span><span class="pl-k">:</span>N] A <span class="pl-k">=</span> <span class="pl-c1">padarray</span>(img, prepad, fullpad, border, <span class="pl-c1">convert</span>(T, value)) krn <span class="pl-k">=</span> <span class="pl-c1">zeros</span>(<span class="pl-c1">typeof</span>(<span class="pl-c1">one</span>(T)<span class="pl-k">*</span><span class="pl-c1">one</span>(K)), <span class="pl-c1">size</span>(A)) indexesK <span class="pl-k">=</span> <span class="pl-c1">ntuple</span>(d<span class="pl-k">-&gt;</span>[<span class="pl-c1">size</span>(krn,d)<span class="pl-k">-</span>prepad[d]<span class="pl-k">+</span><span class="pl-c1">1</span><span class="pl-k">:</span><span class="pl-c1">size</span>(krn,d);<span class="pl-c1">1</span><span class="pl-k">:</span><span class="pl-c1">size</span>(kern,d)<span class="pl-k">-</span>prepad[d]], N)<span class="pl-k">::</span><span class="pl-c1">NTuple{N,Vector{Int}}</span> AF <span class="pl-k">=</span> <span class="pl-c1">ifft</span>(<span class="pl-c1">fft</span>(A)<span class="pl-k">.*</span><span class="pl-c1">fft</span>(krn)) out <span class="pl-k">=</span> <span class="pl-c1">Array</span>(<span class="pl-c1">realtype</span>(<span class="pl-c1">eltype</span>(AF)), <span class="pl-c1">size</span>(img)) <span class="pl-k">end</span> out <span class="pl-k">end</span></pre></div> <p dir="auto">Test:</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; @code_warntype ifi(rand(3,3), rand(3,3), &quot;replicate&quot;, 0) Variables: #self#::#ifi img::Array{Float64,2} kern::Array{Float64,2} border::ASCIIString value::Int64 prepad::Box ..."><pre class="notranslate">julia<span class="pl-k">&gt;</span> <span class="pl-c1">@code_warntype</span> <span class="pl-c1">ifi</span>(<span class="pl-c1">rand</span>(<span class="pl-c1">3</span>,<span class="pl-c1">3</span>), <span class="pl-c1">rand</span>(<span class="pl-c1">3</span>,<span class="pl-c1">3</span>), <span class="pl-s"><span class="pl-pds">"</span>replicate<span class="pl-pds">"</span></span>, <span class="pl-c1">0</span>) Variables<span class="pl-k">:</span> <span class="pl-c"><span class="pl-c">#</span>self#::#ifi</span> img<span class="pl-k">::</span><span class="pl-c1">Array{Float64,2}</span> kern<span class="pl-k">::</span><span class="pl-c1">Array{Float64,2}</span> border<span class="pl-k">::</span><span class="pl-c1">ASCIIString</span> value<span class="pl-k">::</span><span class="pl-c1">Int64</span> prepad<span class="pl-k">::</span><span class="pl-c1">Box</span> <span class="pl-k">...</span></pre></div> <p dir="auto">Now comment out the <code class="notranslate">indexesK = ...</code> line (the output of which is not used at all). Suddenly <code class="notranslate">prepad</code> is inferred as <code class="notranslate">Array{Int, 1}</code>.</p>
1
<p dir="auto">The text has turned red, but I'm still not allowed to proceed.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/21963939/18406389/4519ea7e-76ca-11e6-9257-58b39c3b5309.png"><img src="https://cloud.githubusercontent.com/assets/21963939/18406389/4519ea7e-76ca-11e6-9257-58b39c3b5309.png" alt="screen shot 2016-09-09 at 8 15 41 pm" style="max-width: 100%;"></a></p>
<p dir="auto">Challenge <a href="https://www.freecodecamp.com/en/challenges/jquery/change-the-css-of-an-element-using-jquery" rel="nofollow">change-the-css-of-an-element-using-jquery</a> has an issue.<br> User Agent is: <code class="notranslate">Mozilla/5.0 (X11; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0</code>.<br> Please describe how to reproduce this issue, and include links to screenshots if possible.</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" &lt;script&gt; $(document).ready(function() { $(&quot;#target1&quot;).css(&quot;color&quot;,&quot;red&quot;); }); &lt;/script&gt; &lt;!-- Only change code above this line. --&gt; &lt;div class=&quot;container-fluid&quot;&gt; &lt;h3 class=&quot;text-primary text-center&quot;&gt;jQuery Playground&lt;/h3&gt; &lt;div class=&quot;row&quot;&gt; &lt;div class=&quot;col-xs-6&quot;&gt; &lt;h4&gt;#left-well&lt;/h4&gt; &lt;div class=&quot;well&quot; id=&quot;left-well&quot;&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target1&quot;&gt;#target1&lt;/button&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target2&quot;&gt;#target2&lt;/button&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target3&quot;&gt;#target3&lt;/button&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class=&quot;col-xs-6&quot;&gt; &lt;h4&gt;#right-well&lt;/h4&gt; &lt;div class=&quot;well&quot; id=&quot;right-well&quot;&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target4&quot;&gt;#target4&lt;/button&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target5&quot;&gt;#target5&lt;/button&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target6&quot;&gt;#target6&lt;/button&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; ``` even though it worksalright,an error shows up andi can't continue "><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-smi">document</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">ready</span><span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">css</span><span class="pl-kos">(</span><span class="pl-s">"color"</span><span class="pl-kos">,</span><span class="pl-s">"red"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span> <span class="pl-c">&lt;!-- Only change code above this line. --&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">container-fluid</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">h3</span> <span class="pl-c1">class</span>="<span class="pl-s">text-primary text-center</span>"<span class="pl-kos">&gt;</span>jQuery Playground<span class="pl-kos">&lt;/</span><span class="pl-ent">h3</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">row</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">h4</span><span class="pl-kos">&gt;</span>#left-well<span class="pl-kos">&lt;/</span><span class="pl-ent">h4</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">left-well</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target1</span>"<span class="pl-kos">&gt;</span>#target1<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target2</span>"<span class="pl-kos">&gt;</span>#target2<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target3</span>"<span class="pl-kos">&gt;</span>#target3<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">h4</span><span class="pl-kos">&gt;</span>#right-well<span class="pl-kos">&lt;/</span><span class="pl-ent">h4</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">right-well</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target4</span>"<span class="pl-kos">&gt;</span>#target4<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target5</span>"<span class="pl-kos">&gt;</span>#target5<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target6</span>"<span class="pl-kos">&gt;</span>#target6<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> ``` even though it worksalright,an error shows up andi can't continue</pre></div>
1
<p dir="auto">It would be awesome if we had the dimensions while resizing zones.</p>
<h1 dir="auto">Summary of the new feature/enhancement</h1> <p dir="auto">I would like to map a key to send a left-mouse-click. Is there any technical obstacles that would forbid this?</p> <h1 dir="auto">Proposed technical implementation details</h1> <p dir="auto">Allow to map a key to issue mouse interaction (click left, middle, right, x-button)</p>
0
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: [v1.25]</li> <li>Operating System: [All, Windows]</li> <li>Browser: [All,]</li> <li>Other info:</li> </ul> <h3 dir="auto">Source code</h3> <p dir="auto">for (const page of context.pages())<br> await page.close();<br> await context.tracing.stop({ path: 'trace.zip' });<br> await context.close();</p> <p dir="auto"><strong>Link to the GitHub repository with the repro</strong></p> <p dir="auto">[https://github.com/<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1711833267" data-permission-text="Title is private" data-url="https://github.com/microsoft/playwright/issues/23045" data-hovercard-type="issue" data-hovercard-url="/microsoft/playwright/issues/23045/hovercard" href="https://github.com/microsoft/playwright/issues/23045">/issues/23045</a>]</p> <p dir="auto"><strong>Test file (self-contained)</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="for (const page of context.pages()) await page.close(); await context.tracing.stop({ path: 'trace.zip' }); await context.close();"><pre class="notranslate"><span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">const</span> <span class="pl-s1">page</span> <span class="pl-k">of</span> <span class="pl-s1">context</span><span class="pl-kos">.</span><span class="pl-en">pages</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">close</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-s1">context</span><span class="pl-kos">.</span><span class="pl-c1">tracing</span><span class="pl-kos">.</span><span class="pl-en">stop</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">path</span>: <span class="pl-s">'trace.zip'</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-s1">context</span><span class="pl-kos">.</span><span class="pl-en">close</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Steps</strong></p> <ul dir="auto"> <li>[Run the test]</li> </ul> <p dir="auto"><strong>Expected</strong></p> <p dir="auto">[Describe expected behavior]<br> Based on previous answers.I closes all pages, all network request should be aborted, and then saves the trace:</p> <p dir="auto"><strong>Actual</strong></p> <p dir="auto">[Describe actual behavior]<br> But the actual situation is not like this<br> I still cannot collect requests that are still pending when the page is closed in the trace<br> Perhaps this is a bug</p>
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: v1.32.3</li> <li>Operating System: macOS 13.2</li> <li>Browser: Firefox</li> <li>Other info:</li> </ul> <h3 dir="auto">Source code</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I provided exact source code that allows reproducing the issue locally.</li> </ul> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const playwright = require(&quot;playwright&quot;); (async () =&gt; { const browser = await playwright.firefox.launch({ headless: false, permissions: [&quot;geolocation&quot;], }); const context = await browser.newContext({ ignoreHTTPSErrors: true, }); // Open new page const page = await context.newPage(); await page.goto( &quot;https://chrisdavidmills.github.io/location-finder-permissions-api/&quot; ); await browser.close(); })();"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">playwright</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">"playwright"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">(</span><span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">const</span> <span class="pl-s1">browser</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">playwright</span><span class="pl-kos">.</span><span class="pl-c1">firefox</span><span class="pl-kos">.</span><span class="pl-en">launch</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">headless</span>: <span class="pl-c1">false</span><span class="pl-kos">,</span> <span class="pl-c1">permissions</span>: <span class="pl-kos">[</span><span class="pl-s">"geolocation"</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">context</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">browser</span><span class="pl-kos">.</span><span class="pl-en">newContext</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">ignoreHTTPSErrors</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Open new page</span> <span class="pl-k">const</span> <span class="pl-s1">page</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">context</span><span class="pl-kos">.</span><span class="pl-en">newPage</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">goto</span><span class="pl-kos">(</span> <span class="pl-s">"https://chrisdavidmills.github.io/location-finder-permissions-api/"</span> <span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-s1">browser</span><span class="pl-kos">.</span><span class="pl-en">close</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Steps</strong></p> <ul dir="auto"> <li>Execute the script</li> </ul> <p dir="auto"><strong>Expected</strong></p> <p dir="auto">Firefox shouldn't prompt for geolocation permissions</p> <p dir="auto"><strong>Actual</strong></p> <p dir="auto">I get the geolocation message</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2198466/231526746-3d519912-d20c-495e-b8b9-2fca238d9fbb.png"><img width="659" alt="image" src="https://user-images.githubusercontent.com/2198466/231526746-3d519912-d20c-495e-b8b9-2fca238d9fbb.png" style="max-width: 100%;"></a></p> <p dir="auto">Geolocation should be available in Firefox. At least it is mentioned <a href="https://github.com/microsoft/playwright/issues/13037#issuecomment-1184698467" data-hovercard-type="issue" data-hovercard-url="/microsoft/playwright/issues/13037/hovercard">here</a>.</p> <h2 dir="auto">Update</h2> <p dir="auto">I found that the <code class="notranslate">permissions</code> option in the <code class="notranslate">newContext</code> does work. Shouldn't <code class="notranslate">newContext</code> inherit that option?</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const browser = await playwright.firefox.launch({ headless: false, }); const context = await browser.newContext({ permissions: [&quot;geolocation&quot;], ignoreHTTPSErrors: true, });"><pre class="notranslate"><code class="notranslate">const browser = await playwright.firefox.launch({ headless: false, }); const context = await browser.newContext({ permissions: ["geolocation"], ignoreHTTPSErrors: true, }); </code></pre></div>
0
<p dir="auto">Hi</p> <p dir="auto">When pool_block=True on an HTTPAdapter is used and the connection fails<br> this one seems not return to the pool.</p> <p dir="auto">To reproduce:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# python &gt;&gt;&gt; import requests &gt;&gt;&gt; a = requests.adapters.HTTPAdapter(pool_maxsize=1, pool_block=True) &gt;&gt;&gt; s = requests.Session() &gt;&gt;&gt; s.mount(&quot;http://&quot;, a) &gt;&gt;&gt; s.get(&quot;http://localhost:12345&quot;) Traceback (most recent call last): File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt; File &quot;/usr/local/lib/python2.7/dist-packages/requests/sessions.py&quot;, line 477, in get return self.request('GET', url, **kwargs) File &quot;/usr/local/lib/python2.7/dist-packages/requests/sessions.py&quot;, line 465, in request resp = self.send(prep, **send_kwargs) File &quot;/usr/local/lib/python2.7/dist-packages/requests/sessions.py&quot;, line 573, in send r = adapter.send(request, **kwargs) File &quot;/usr/local/lib/python2.7/dist-packages/requests/adapters.py&quot;, line 413, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', error(111, 'Connection refused')) &gt;&gt;&gt; s.get(&quot;http://localhost:12345&quot;) # here the session objects is stuck."><pre class="notranslate"><code class="notranslate"># python &gt;&gt;&gt; import requests &gt;&gt;&gt; a = requests.adapters.HTTPAdapter(pool_maxsize=1, pool_block=True) &gt;&gt;&gt; s = requests.Session() &gt;&gt;&gt; s.mount("http://", a) &gt;&gt;&gt; s.get("http://localhost:12345") Traceback (most recent call last): File "&lt;stdin&gt;", line 1, in &lt;module&gt; File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 477, in get return self.request('GET', url, **kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 465, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 573, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 413, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', error(111, 'Connection refused')) &gt;&gt;&gt; s.get("http://localhost:12345") # here the session objects is stuck. </code></pre></div> <p dir="auto">Cheers,</p>
<p dir="auto">Requests with <code class="notranslate">Content-Type: multipart/form-data</code> need to also have a <code class="notranslate">; boundary=someUniqueString</code> in that header. I think this is actually true for all <code class="notranslate">multipart/*</code> MIME types.</p> <p dir="auto"><a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#multipartform-data" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#multipartform-data</a></p> <p dir="auto">This is how curl works, if you pass <code class="notranslate">Content-Type: multipart/form-data</code> it'll still add a boundary because users shouldn't need to know how all the HTTP headers work, that's the library's job. We are running into this issue when trying to convert curl commands into requests code <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="757369472" data-permission-text="Title is private" data-url="https://github.com/curlconverter/curlconverter/issues/248" data-hovercard-type="issue" data-hovercard-url="/curlconverter/curlconverter/issues/248/hovercard" href="https://github.com/curlconverter/curlconverter/issues/248">curlconverter/curlconverter#248</a> and it would be convenient if Requests did the same thing as curl.</p> <p dir="auto">I don't see why anyone would ever want to pass <code class="notranslate">Content-Type: multipart/form-data</code> without a <code class="notranslate">boundary</code>, unless they just don't know about it. If you do actually need to not have a boundary you would have to explicitly add an empty one <code class="notranslate">; boundary=</code> to your header. But I can also see how it might surprise users that even if they pass a header manually it gets modified.</p> <h2 dir="auto">Expected Result</h2> <p dir="auto">Requests still adds a <code class="notranslate">boundary</code> to my header if I don't, i.e. when I pass <code class="notranslate">headers={'Content-Type': 'multipart/form-data'}</code> and <code class="notranslate">files=</code></p> <h2 dir="auto">Actual Result</h2> <p dir="auto">Requests uses the header as-is and the request fails.</p> <h2 dir="auto">Reproduction Steps</h2> <div class="highlight highlight-text-python-console notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; import requests &gt;&gt;&gt; &gt;&gt;&gt; files = { ... 'hello': (None, 'world'), ... } &gt;&gt;&gt; requests.post('http://example.com', files=files).request.headers['Content-Type'] 'multipart/form-data; boundary=498931185311c522b8ca559425b2b965' &gt;&gt;&gt; &gt;&gt;&gt; headers = { ... 'Content-Type': 'multipart/form-data', ... } &gt;&gt;&gt; &gt;&gt;&gt; requests.post('http://example.com', headers=headers, files=files).request.headers['Content-Type'] 'multipart/form-data'"><pre class="notranslate">&gt;&gt;&gt; <span class="pl-k">import</span> requests &gt;&gt;&gt; &gt;&gt;&gt; files <span class="pl-k">=</span> { ... <span class="pl-s"><span class="pl-pds">'</span>hello<span class="pl-pds">'</span></span>: (<span class="pl-c1">None</span>, <span class="pl-s"><span class="pl-pds">'</span>world<span class="pl-pds">'</span></span>), ... } &gt;&gt;&gt; requests.post(<span class="pl-s"><span class="pl-pds">'</span>http://example.com<span class="pl-pds">'</span></span>, <span class="pl-v">files</span><span class="pl-k">=</span>files).request.headers[<span class="pl-s"><span class="pl-pds">'</span>Content-Type<span class="pl-pds">'</span></span>] 'multipart/form-data; boundary=498931185311c522b8ca559425b2b965' &gt;&gt;&gt; &gt;&gt;&gt; headers <span class="pl-k">=</span> { ... <span class="pl-s"><span class="pl-pds">'</span>Content-Type<span class="pl-pds">'</span></span>: <span class="pl-s"><span class="pl-pds">'</span>multipart/form-data<span class="pl-pds">'</span></span>, ... } &gt;&gt;&gt; &gt;&gt;&gt; requests.post(<span class="pl-s"><span class="pl-pds">'</span>http://example.com<span class="pl-pds">'</span></span>, <span class="pl-v">headers</span><span class="pl-k">=</span>headers, <span class="pl-v">files</span><span class="pl-k">=</span>files).request.headers[<span class="pl-s"><span class="pl-pds">'</span>Content-Type<span class="pl-pds">'</span></span>] 'multipart/form-data'</pre></div> <p dir="auto">Compare with curl:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ curl -vvv example.com -H &quot;Content-Type: multipart/form-data&quot; -F &quot;hello=world&quot; [...] &gt; Content-Type: multipart/form-data; boundary=------------------------ff92aa2ea98d6cc3"><pre class="notranslate">$ curl -vvv example.com -H <span class="pl-s"><span class="pl-pds">"</span>Content-Type: multipart/form-data<span class="pl-pds">"</span></span> -F <span class="pl-s"><span class="pl-pds">"</span>hello=world<span class="pl-pds">"</span></span> [...] <span class="pl-k">&gt;</span> Content-Type: multipart/form-data<span class="pl-k">;</span> boundary=------------------------ff92aa2ea98d6cc3</pre></div>
0
<p dir="auto">ICE (panic) when compiling following code, adding lifetime to ValuesIter (as in commented line) fixes the crash</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="trait Data { fn values_iter(&amp;self) -&gt; Values; } struct Values&lt;'a&gt; { iter: Box&lt;Iterator&lt;Item=&amp;'a Data&gt;&gt; } type ValuesIter&lt;'a&gt; = Box&lt;Iterator&lt;Item=&amp;'a Data&gt;&gt;; impl &lt;'a&gt; Values&lt;'a&gt; { // fn use_iter(consume_iter: ValuesIter&lt;'a&gt;) -&gt; Values { // non cashing version fn use_iter(consume_iter: ValuesIter) -&gt; Values { Values { iter: consume_iter } } } fn main() { }"><pre class="notranslate"><span class="pl-k">trait</span> <span class="pl-smi">Data</span> <span class="pl-kos">{</span> <span class="pl-k">fn</span> <span class="pl-en">values_iter</span><span class="pl-kos">(</span><span class="pl-c1">&amp;</span><span class="pl-smi">self</span><span class="pl-kos">)</span> -&gt; <span class="pl-smi">Values</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">struct</span> <span class="pl-smi">Values</span><span class="pl-kos">&lt;</span><span class="pl-c1">'</span><span class="pl-ent">a</span><span class="pl-kos">&gt;</span> <span class="pl-kos">{</span> <span class="pl-c1">iter</span><span class="pl-kos">:</span> <span class="pl-smi">Box</span><span class="pl-kos">&lt;</span><span class="pl-smi">Iterator</span><span class="pl-kos">&lt;</span><span class="pl-smi">Item</span>=<span class="pl-c1">&amp;</span><span class="pl-c1">'</span><span class="pl-ent">a</span> <span class="pl-smi">Data</span><span class="pl-kos">&gt;</span><span class="pl-kos">&gt;</span> <span class="pl-kos">}</span> <span class="pl-k">type</span> <span class="pl-smi">ValuesIter</span><span class="pl-kos">&lt;</span><span class="pl-c1">'</span><span class="pl-ent">a</span><span class="pl-kos">&gt;</span> = <span class="pl-smi">Box</span><span class="pl-kos">&lt;</span><span class="pl-smi">Iterator</span><span class="pl-kos">&lt;</span><span class="pl-smi">Item</span>=<span class="pl-c1">&amp;</span><span class="pl-c1">'</span><span class="pl-ent">a</span> <span class="pl-smi">Data</span><span class="pl-kos">&gt;</span><span class="pl-kos">&gt;</span><span class="pl-kos">;</span> <span class="pl-k">impl</span> <span class="pl-kos">&lt;</span><span class="pl-c1">'</span><span class="pl-ent">a</span><span class="pl-kos">&gt;</span> <span class="pl-smi">Values</span><span class="pl-kos">&lt;</span><span class="pl-c1">'</span><span class="pl-ent">a</span><span class="pl-kos">&gt;</span> <span class="pl-kos">{</span> <span class="pl-c">// fn use_iter(consume_iter: ValuesIter&lt;'a&gt;) -&gt; Values { // non cashing version</span> <span class="pl-k">fn</span> <span class="pl-en">use_iter</span><span class="pl-kos">(</span><span class="pl-s1">consume_iter</span><span class="pl-kos">:</span> <span class="pl-smi">ValuesIter</span><span class="pl-kos">)</span> -&gt; <span class="pl-smi">Values</span> <span class="pl-kos">{</span> <span class="pl-smi">Values</span> <span class="pl-kos">{</span> <span class="pl-c1">iter</span><span class="pl-kos">:</span> consume_iter <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span></pre></div> <h2 dir="auto">meta</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="rustc --version --verbose rustc 1.0.0-nightly (b47aebe3f 2015-02-26) (built 2015-02-26) binary: rustc commit-hash: b47aebe3fc2da06c760fd8ea19f84cbc41d34831 commit-date: 2015-02-26 build-date: 2015-02-26 host: x86_64-apple-darwin release: 1.0.0-nightly"><pre class="notranslate"><code class="notranslate">rustc --version --verbose rustc 1.0.0-nightly (b47aebe3f 2015-02-26) (built 2015-02-26) binary: rustc commit-hash: b47aebe3fc2da06c760fd8ea19f84cbc41d34831 commit-date: 2015-02-26 build-date: 2015-02-26 host: x86_64-apple-darwin release: 1.0.0-nightly </code></pre></div> <p dir="auto">Backtrace</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error: internal compiler error: unexpected panic note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports note: run with `RUST_BACKTRACE=1` for a backtrace thread 'rustc' panicked at 'assertion failed: !self.has_escaping_regions()', /Users/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-mac/build/src/librustc/middle/ty.rs:1964 stack backtrace: 1: 0x849d0f3 - sys::backtrace::write::h0c33dfca8f99823a7hA 2: 0x84ca075 - panicking::on_panic::h63c237d7347b7375J0I 3: 0x83f3888 - rt::unwind::begin_unwind_inner::h6bff9e2dc073eba1FJI 4: 0x5184995 - rt::unwind::begin_unwind::h5603377685902845039 5: 0x553bff0 - middle::traits::util::predicate_for_trait_ref::hc8b0e37ad45b6f00foT 6: 0x54f4e9e - middle::traits::util::predicate_for_builtin_bound::h062017d79fea07a3ppT 7: 0x537bd92 - middle::traits::fulfill::FulfillmentContext&lt;'tcx&gt;::register_builtin_bound::hfa096c6e6360d4a1sJN 8: 0x4cf17a0 - check::FnCtxt&lt;'a, 'tcx&gt;::register_builtin_bound::h65b7bd738a5caf6cOJo 9: 0x4d927c5 - check::check_fn::hcd6c5b82200e8b638kn 10: 0x4dadbe1 - check::check_bare_fn::h15cf7ff47fb8abd6Oan 11: 0x4db1984 - check::check_method_body::h2c61d934ba5574ddnIn 12: 0x4da7305 - check::check_item::hdf505d0347935dc1stn 13: 0x4e76fc3 - check_crate::closure.36015 14: 0x4e72351 - check_crate::hcb2bf169ea38b50bEXB 15: 0x47f58fb - driver::phase_3_run_analysis_passes::ha7dff75b48821bd6wFa 16: 0x47daf31 - driver::compile_input::hae2a48b9668b0aa2Hba 17: 0x48af037 - run_compiler::h299009668b50e3c8E5b 18: 0x48ac4b1 - thunk::F.Invoke&lt;A, R&gt;::invoke::h1418038354819973823 19: 0x48ab110 - rt::unwind::try::try_fn::h5455690823431792689 20: 0x8542e29 - rust_try_inner 21: 0x8542e16 - rust_try 22: 0x48ab875 - thunk::F.Invoke&lt;A, R&gt;::invoke::h5089518861878639055 23: 0x84b3453 - sys::thread::thread_start::h15d3d9d95ad88a69NDE 24: 0x917db268 - _pthread_body 25: 0x917db1e5 - _pthread_body "><pre class="notranslate"><code class="notranslate">error: internal compiler error: unexpected panic note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports note: run with `RUST_BACKTRACE=1` for a backtrace thread 'rustc' panicked at 'assertion failed: !self.has_escaping_regions()', /Users/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-mac/build/src/librustc/middle/ty.rs:1964 stack backtrace: 1: 0x849d0f3 - sys::backtrace::write::h0c33dfca8f99823a7hA 2: 0x84ca075 - panicking::on_panic::h63c237d7347b7375J0I 3: 0x83f3888 - rt::unwind::begin_unwind_inner::h6bff9e2dc073eba1FJI 4: 0x5184995 - rt::unwind::begin_unwind::h5603377685902845039 5: 0x553bff0 - middle::traits::util::predicate_for_trait_ref::hc8b0e37ad45b6f00foT 6: 0x54f4e9e - middle::traits::util::predicate_for_builtin_bound::h062017d79fea07a3ppT 7: 0x537bd92 - middle::traits::fulfill::FulfillmentContext&lt;'tcx&gt;::register_builtin_bound::hfa096c6e6360d4a1sJN 8: 0x4cf17a0 - check::FnCtxt&lt;'a, 'tcx&gt;::register_builtin_bound::h65b7bd738a5caf6cOJo 9: 0x4d927c5 - check::check_fn::hcd6c5b82200e8b638kn 10: 0x4dadbe1 - check::check_bare_fn::h15cf7ff47fb8abd6Oan 11: 0x4db1984 - check::check_method_body::h2c61d934ba5574ddnIn 12: 0x4da7305 - check::check_item::hdf505d0347935dc1stn 13: 0x4e76fc3 - check_crate::closure.36015 14: 0x4e72351 - check_crate::hcb2bf169ea38b50bEXB 15: 0x47f58fb - driver::phase_3_run_analysis_passes::ha7dff75b48821bd6wFa 16: 0x47daf31 - driver::compile_input::hae2a48b9668b0aa2Hba 17: 0x48af037 - run_compiler::h299009668b50e3c8E5b 18: 0x48ac4b1 - thunk::F.Invoke&lt;A, R&gt;::invoke::h1418038354819973823 19: 0x48ab110 - rt::unwind::try::try_fn::h5455690823431792689 20: 0x8542e29 - rust_try_inner 21: 0x8542e16 - rust_try 22: 0x48ab875 - thunk::F.Invoke&lt;A, R&gt;::invoke::h5089518861878639055 23: 0x84b3453 - sys::thread::thread_start::h15d3d9d95ad88a69NDE 24: 0x917db268 - _pthread_body 25: 0x917db1e5 - _pthread_body </code></pre></div>
<p dir="auto">Compiler panic. Found an ealier issue in the same file that had been closed because the problem had gone away in later compiles. This is the stable 1.1 though.</p> <p dir="auto"><b>Version info</b><br> rustc 1.1.0 (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/rust-lang/rust/commit/35ceea3997c79a3b7562e89b462ab76af5b86b22/hovercard" href="https://github.com/rust-lang/rust/commit/35ceea3997c79a3b7562e89b462ab76af5b86b22"><tt>35ceea3</tt></a> 2015-06-19)<br> binary: rustc<br> commit-hash: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/rust-lang/rust/commit/35ceea3997c79a3b7562e89b462ab76af5b86b22/hovercard" href="https://github.com/rust-lang/rust/commit/35ceea3997c79a3b7562e89b462ab76af5b86b22"><tt>35ceea3</tt></a><br> commit-date: 2015-06-19<br> host: x86_64-pc-windows-gnu<br> release: 1.1.0</p> <p dir="auto"><b>RUST_BACKTRACE=1 rustc --verbose src/main.rs</b><br> error: internal compiler error: unexpected panic<br> note: the compiler unexpectedly panicked. this is a bug.<br> note: we would appreciate a bug report: <a href="https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports">https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports</a><br> note: run with <code class="notranslate">RUST_BACKTRACE=1</code> for a backtrace<br> thread 'rustc' panicked at 'assertion failed: !self.has_escaping_regions()', C:/bot/slave/stable-dist-rustc-win-gnu-64/build/src/librustc\middle\ty.rs:2123</p> <p dir="auto">stack backtrace:<br> 1: 0x6f138a02 - sys::backtrace::write::hb142593d131303b10fs<br> 2: 0x6f141e76 - rt::unwind::register::h2f2891f465b0e536sNv<br> 3: 0x6f1053c0 - rt::unwind::begin_unwind_inner::he5d025d7f655ecaaCKv<br> 4: 0x6d08989e - middle::astencode::rbml..Doc&lt;'a&gt;.doc_decoder_helpers::opt_child::hd6aba4d7b00f0fc9UKb<br> 5: 0x6d1c0773 - middle::traits::fulfill::FulfillmentContext&lt;'tcx&gt;::register_builtin_bound::h1fba927ecfad50a9DEO<br> 6: 0x6a93c978 - check::FnCtxt&lt;'a, 'tcx&gt;.mc..Typer&lt;'tcx&gt;::is_method_call::hb206e83d494db5a0Akn<br> 7: 0x6a948ac8 - check::FnCtxt&lt;'a, 'tcx&gt;.AstConv&lt;'tcx&gt;::projected_ty::he778b71de0699925wAo<br> 8: 0x6a95effc - check::CheckItemBodiesVisitor&lt;'a, 'tcx&gt;.Visitor&lt;'tcx&gt;::visit_item::h49b5aaa3aec9c80dWrn<br> 9: 0x6a95d1df - check::CheckItemBodiesVisitor&lt;'a, 'tcx&gt;.Visitor&lt;'tcx&gt;::visit_item::h49b5aaa3aec9c80dWrn<br> 10: 0x6aa187ab - check_crate::hf98f1f239eb0b1afsJC<br> 11: 0x6aa11f75 - check_crate::hf98f1f239eb0b1afsJC<br> 12: 0x6701f3dd - driver::phase_3_run_analysis_passes::h5d9dbc988e0fcdbatGa<br> 13: 0x67002b40 - driver::compile_input::h66ba80b489f2ef28Qba<br> 14: 0x670b5913 - run_compiler::hf1308c7d75cfa1a775b<br> 15: 0x670b349f - run::h99d8d2bce2d42189N5b<br> 16: 0x670b2a59 - run::h99d8d2bce2d42189N5b<br> 17: 0x6f17b5bc - rust_try<br> 18: 0x6f17b599 - rust_try<br> 19: 0x670b2cd5 - run::h99d8d2bce2d42189N5b<br> 20: 0x6f140134 - sys::process::Command::cwd::hecbd2393e1ca7c52luu<br> 21: 0x776659cd - BaseThreadInitThunk</p>
1
<p dir="auto">On <code class="notranslate">2012.12.18</code> the AWS region us-east-1 experienced an outage affecting service of the DescribeInstances and DescribeTags APIs. This is turn brought our two independent clusters operating in the region, as <a href="https://github.com/kubernetes/kubernetes/blob/7069a811164f68473dd1b94ee2b2abc169e35d81/pkg/cloudprovider/providers/aws/aws.go#L2100-L2119">the Kubelet AWS clustering mechanisms</a> rely on the DescribeInstances API. Networking was unaffected - master and nodes could still communicate without problem.</p> <p dir="auto">I propose that this AWS failure should not bring down a cluster.</p> <p dir="auto">The relevant Kubelet log message:</p> <blockquote> <p dir="auto">Error updating node status, will retry: failed to get node address from cloud provider: no instances found for name: ip-<em>-</em>-<em>-</em>.ec2.internal</p> </blockquote> <p dir="auto">There are several issues that relate to this functionality. I am filing this issue to ensure that Kubernetes is not needlessly vulnerable to this type of outage.</p> <p dir="auto"><em>Possibly Related</em><br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118356679" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/17643" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/17643/hovercard" href="https://github.com/kubernetes/kubernetes/pull/17643">#17643</a> use private ip instead of local hostname for AWS<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="121563578" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/18525" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/18525/hovercard" href="https://github.com/kubernetes/kubernetes/issues/18525">#18525</a> We shouldn't use node names as addresses</p> <p dir="auto">Incident details from <a href="http://status.aws.amazon.com/" rel="nofollow">http://status.aws.amazon.com/</a></p> <blockquote> <p dir="auto">1:02 PM PST We are investigating elevated latencies and error rates for the DescribeInstances and DescribeTags APIs in the us-east-1 region. Customers may observe elevated error rates or missing tags for instances in the AWS Management Console.<br> 1:44 PM PST We have identified the root cause of elevated latencies and error rates for the DescribeInstances and DescribeTags APIs and are currently working to resolve. Customers may observe elevated error rates or missing tags for instances in the AWS Management Console.<br> 3:03 PM PST Between 12:30 PM and 2:44 PM PST, we experienced elevated latencies and error rates for the DescribeInstances and DescribeTags APIs. During this period, customers may have observed elevated error rates and missing tags for instances in the AWS Management Console. During this event, instances continued running normally. Tags requested during this period are now visible. This issue has been resolved and the service is operating normally.</p> </blockquote>
<p dir="auto">Generate a UUID when you kube-up.sh a cluster.</p> <p dir="auto">One use case is for associating credentials with multiple clusters.</p> <ul dir="auto"> <li>.kubernetes_auth format could have sections for each cluster UUID. So, if you start an e2e cluster it won't clobber your creds for your dev cluster. A flag to kubectl could let you set what UUID you are talking to. <ul dir="auto"> <li>e.g.: <code class="notranslate">{"UUID": "123-...", "BearerToken": "abc"}\n { "UUID": "456-...", "User": "foo", "Password":"bar"}</code></li> </ul> </li> <li>more generally, if you have clusters in several regions. You don't want to identify by master IP since that might change. And you don't want to rely on DNS because you don't always have a DNS mapping from cluster-name to master IPs.</li> <li>when we want to name resources that are unique to a cluster using an URL that is portable across clusters. <ul dir="auto"> <li>E.g: <code class="notranslate">kubernetes:123-456-789-234234-567567/api/v1beta1/ns/mynamespace/pods/mypodname</code></li> </ul> </li> </ul> <p dir="auto">Garbage collection of old UUIDs in the <code class="notranslate">.kubernetes_auth</code> is left as an exercise to the user.</p>
0
<h3 dir="auto">Apache Airflow version</h3> <p dir="auto">2.2.2rc1 (release candidate)</p> <h3 dir="auto">Operating System</h3> <p dir="auto">debian (docker)</p> <h3 dir="auto">Versions of Apache Airflow Providers</h3> <p dir="auto">n/a</p> <h3 dir="auto">Deployment</h3> <p dir="auto">Astronomer</p> <h3 dir="auto">Deployment details</h3> <p dir="auto">Dockerfile:</p> <p dir="auto"><code class="notranslate">astro dev start</code></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="FROM quay.io/astronomer/ap-airflow-dev:2.2.2-onbuild-48058"><pre class="notranslate"><code class="notranslate">FROM quay.io/astronomer/ap-airflow-dev:2.2.2-onbuild-48058 </code></pre></div> <p dir="auto">Two dags:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# one.py @task def a(): print(&quot;a&quot;) @dag(schedule_interval=None, start_date=days_ago(2)) def my_dag(): a() dag = my_dag()"><pre class="notranslate"><code class="notranslate"># one.py @task def a(): print("a") @dag(schedule_interval=None, start_date=days_ago(2)) def my_dag(): a() dag = my_dag() </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# two.py @task def b(): print(&quot;b&quot;) @dag(schedule_interval=None, start_date=days_ago(2)) def my_dag(): b() dag = my_dag()"><pre class="notranslate"><code class="notranslate"># two.py @task def b(): print("b") @dag(schedule_interval=None, start_date=days_ago(2)) def my_dag(): b() dag = my_dag() </code></pre></div> <p dir="auto">Note that they share the same dag_id: <code class="notranslate">my_dag</code></p> <h3 dir="auto">What happened</h3> <p dir="auto">Only one DAG appeared. In the tree-view, I would refresh the page and see the task change between:</p> <ul dir="auto"> <li>task_id: a</li> <li>task_id: b</li> </ul> <p dir="auto">seemingly at random.</p> <h3 dir="auto">What you expected to happen</h3> <p dir="auto">At least, I expected a warning to appear. It seems that we used to have this: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="854429211" data-permission-text="Title is private" data-url="https://github.com/apache/airflow/issues/15302" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/15302/hovercard" href="https://github.com/apache/airflow/pull/15302">#15302</a></p> <p dir="auto">I think that in the presence of a dag_id collision, we should either:</p> <ul dir="auto"> <li>refuse to run that dag at all until the collision is resolved</li> <li>resolve it deterministically</li> </ul> <h3 dir="auto">How to reproduce</h3> <p dir="auto">Include the two dags above and observe the "DAGs" view. Notice that there's only one DAG and it's not clear which one it is.</p> <h3 dir="auto">Anything else</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Are you willing to submit PR?</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Yes I am willing to submit a PR!</li> </ul> <h3 dir="auto">Code of Conduct</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li> </ul>
<h3 dir="auto">Airflow 2.2.1rc2 testing</h3> <p dir="auto">We have a kind request for all the contributors to the latest <a href="https://pypi.org/project/apache-airflow/2.2.1rc2/" rel="nofollow">Apache Airflow RC 2.2.1rc2</a>.</p> <p dir="auto">Could you please help us to test the RC versions of Airflow?</p> <p dir="auto">Please let us know in the comment if the issue is addressed in the latest RC.</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/18644" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/18644/hovercard">Document changes related to PR #16634 (#18644)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Jorricks/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Jorricks">@Jorricks</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/18745" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/18745/hovercard">Don't install SQLAlchemy/Pendulum adapters for other DBs (#18745)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JavierLopezT/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JavierLopezT">@JavierLopezT</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ashb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ashb">@ashb</a><br> Linked issues: <ul dir="auto"> <li><a href="https://github.com/apache/airflow/issues/17546" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/17546/hovercard">ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: cannot allocate memory in static TLS block (#17546)</a></li> </ul> </li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/18772" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/18772/hovercard">Don't bake ENV and _cmd into tmp config for non-sudo (#18772)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ashb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ashb">@ashb</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/khalidmammadov/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/khalidmammadov">@khalidmammadov</a><br> Linked issues: <ul dir="auto"> <li><a href="https://github.com/apache/airflow/pull/18723" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/18723/hovercard">Remove duplicate line of code for configuration copy (#18723)</a></li> </ul> </li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/18842" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/18842/hovercard">Add Callbacks Section to Logging &amp; Monitoring (#18842)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/john-jac/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/john-jac">@john-jac</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/18850" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/18850/hovercard">Add information about keepalives for managed Postgres (#18850)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/hpatel-higi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/hpatel-higi">@hpatel-higi</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a><br> Linked issues: <ul dir="auto"> <li><a href="https://github.com/apache/airflow/issues/18846" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/18846/hovercard">Scheduler stops running: psycopg2.OperationalError: SSL SYSCALL error: EOF detected (#18846)</a></li> </ul> </li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/18857" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/18857/hovercard">Fix occassional deadlock on MSSQL test DagMaker cleanup (#18857)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/18885" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/18885/hovercard">Group PATCH DAGrun together with other DAGRun endpoints (#18885)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/BasPH/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/BasPH">@BasPH</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/18897" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/18897/hovercard">Fix catchup by limiting queued dagrun creation using max_active_runs (#18897)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ephraimbuddy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ephraimbuddy">@ephraimbuddy</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/18926" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/18926/hovercard">Check python version before starting triggerer (#18926)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jedcunningham/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jedcunningham">@jedcunningham</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/18953" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/18953/hovercard">Try to move "dangling" rows in upgradedb (#18953)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/uranusjr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/uranusjr">@uranusjr</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sbialkowski-pixel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sbialkowski-pixel">@sbialkowski-pixel</a><br> Linked issues: <ul dir="auto"> <li><a href="https://github.com/apache/airflow/issues/18894" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/18894/hovercard">Migrate from 2.1.4 to 2.2.0 (#18894)</a></li> </ul> </li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/18956" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/18956/hovercard">Fix XCom.delete error in Airflow 2.2.0 (#18956)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jordanjeremy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jordanjeremy">@jordanjeremy</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/18975" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/18975/hovercard">Row lock TI query in SchedulerJob._process_executor_events (#18975)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ephraimbuddy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ephraimbuddy">@ephraimbuddy</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/18979" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/18979/hovercard">Fixes #18943 null execution date on insert to task_fail violating NOT NULL (#18979)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/robinedwards/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/robinedwards">@robinedwards</a><br> Linked issues: <ul dir="auto"> <li><a href="https://github.com/apache/airflow/issues/18943" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/18943/hovercard">IntegrityError inserting into task_fail table with null execution_date from TI.handle_failure_with_callback (#18943)</a></li> </ul> </li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/18980" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/18980/hovercard">Sentry before send fallback (#18980)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/leonsmith/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/leonsmith">@leonsmith</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/joshzana/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/joshzana">@joshzana</a><br> Linked issues: <ul dir="auto"> <li><a href="https://github.com/apache/airflow/issues/18963" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/18963/hovercard">Missing value for new before_send config causes airflow.exceptions.AirflowConfigException: section/key [sentry/before_send] not found in config (#18963)</a></li> </ul> </li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/18986" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/18986/hovercard">Upgrade old DAG/task param format when deserializing from the DB (#18986)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ashb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ashb">@ashb</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/18994" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/18994/hovercard">fail backfill command before loading DAGs if missing args (#18994)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/SamWheating/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/SamWheating">@SamWheating</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/19010" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/19010/hovercard">Workaround libstdcpp TLS error (#19010)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/19034" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/19034/hovercard">Allow Param to support a default value of <code class="notranslate">None</code> (#19034)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jedcunningham/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jedcunningham">@jedcunningham</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/19060" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/19060/hovercard">Warn about unsupported Python 3.10 (#19060)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mik-laj/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mik-laj">@mik-laj</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/19061" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/19061/hovercard">Rename trigger page label to Logical Date (#19061)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/uranusjr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/uranusjr">@uranusjr</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/19065" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/19065/hovercard">Remove incorrect type comment in Swagger2Specification._set_defaults classmethod (#19065)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/brain-buster/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/brain-buster">@brain-buster</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/19087" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/19087/hovercard">Relax packaging requirement (#19087)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/uranusjr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/uranusjr">@uranusjr</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/andrewgodwin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andrewgodwin">@andrewgodwin</a><br> Linked issues: <ul dir="auto"> <li><a href="https://github.com/apache/airflow/pull/18122" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/18122/hovercard">Add "packaging" to core requirements (#18122)</a></li> </ul> </li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/19088" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/19088/hovercard">Change <code class="notranslate">ds</code>, <code class="notranslate">ts</code>, etc. back to use logical date (#19088)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/uranusjr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/uranusjr">@uranusjr</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/19095" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/19095/hovercard">Ensure task state doesn't change when marked as failed/success/skipped (#19095)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ephraimbuddy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ephraimbuddy">@ephraimbuddy</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/19097" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/19097/hovercard">add detailed information to logging when a dag or a task finishes. (#19097)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/steveyz-astro/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/steveyz-astro">@steveyz-astro</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/19112" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/19112/hovercard">Hide tooltip when next run is none (#19112)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bbovenzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bbovenzi">@bbovenzi</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/19113" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/19113/hovercard">Prevent scheduler crash when serialized dag is missing (#19113)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ephraimbuddy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ephraimbuddy">@ephraimbuddy</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/19130" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/19130/hovercard">Fix queued dag runs changes catchup=False behaviour (#19130)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/robinedwards/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/robinedwards">@robinedwards</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/19145" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/19145/hovercard">Add test for interval timetable catchup=False (#19145)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/uranusjr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/uranusjr">@uranusjr</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/robinedwards/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/robinedwards">@robinedwards</a><br> Linked issues: <ul dir="auto"> <li><a href="https://github.com/apache/airflow/pull/19130" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/19130/hovercard">Fix queued dag runs changes catchup=False behaviour (#19130)</a></li> </ul> </li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/19148" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/19148/hovercard">Crerate TI context with data interval compat layer (#19148)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/uranusjr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/uranusjr">@uranusjr</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/andreychernih/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andreychernih">@andreychernih</a><br> Linked issues: <ul dir="auto"> <li><a href="https://github.com/apache/airflow/issues/19143" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/19143/hovercard">TypeError: unsupported operand type(s) for +=: 'NoneType' and 'datetime.timedelta' (#19143)</a></li> </ul> </li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/19166" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/19166/hovercard">Faster db migration to Airflow 2.2 (#19166)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jedcunningham/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jedcunningham">@jedcunningham</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/19179" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/19179/hovercard">Add TriggererJob to jobs check command (#19179)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mik-laj/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mik-laj">@mik-laj</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/19183" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/19183/hovercard">Clearing ti.next_method and ti.next_kwargs on task finish. (#19183)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ReadytoRocc/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ReadytoRocc">@ReadytoRocc</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jedcunningham/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jedcunningham">@jedcunningham</a><br> Linked issues: <ul dir="auto"> <li><a href="https://github.com/apache/airflow/issues/19120" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/19120/hovercard">Deferred TI's <code class="notranslate">next_method</code> is not cleared when Clearing a Successful Task (#19120)</a></li> <li><a href="https://github.com/apache/airflow/issues/18146" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/18146/hovercard">Deferred TI's <code class="notranslate">next_method</code> and <code class="notranslate">next_kwargs</code> not cleared on retries (#18146)</a></li> </ul> </li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/19185" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/19185/hovercard">Fix airflow jobs check cmd for TriggererJob (#19185)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mik-laj/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mik-laj">@mik-laj</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/19198" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/19198/hovercard">Add DagRun.logical_date as a property (#19198)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/uranusjr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/uranusjr">@uranusjr</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/19213" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/19213/hovercard">Fix Unexpected commit error in schedulerjob (#19213)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ephraimbuddy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ephraimbuddy">@ephraimbuddy</a><br> Linked issues: <ul dir="auto"> <li><a href="https://github.com/apache/airflow/pull/19095" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/19095/hovercard">Ensure task state doesn't change when marked as failed/success/skipped (#19095)</a></li> </ul> </li> </ul> <p dir="auto">Thanks to all who contributed to the release (probably not a complete list!):<br> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ephraimbuddy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ephraimbuddy">@ephraimbuddy</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JavierLopezT/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JavierLopezT">@JavierLopezT</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jedcunningham/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jedcunningham">@jedcunningham</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sbialkowski-pixel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sbialkowski-pixel">@sbialkowski-pixel</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Jorricks/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Jorricks">@Jorricks</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/khalidmammadov/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/khalidmammadov">@khalidmammadov</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/john-jac/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/john-jac">@john-jac</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/brain-buster/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/brain-buster">@brain-buster</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/andrewgodwin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andrewgodwin">@andrewgodwin</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/joshzana/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/joshzana">@joshzana</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/SamWheating/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/SamWheating">@SamWheating</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mik-laj/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mik-laj">@mik-laj</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/leonsmith/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/leonsmith">@leonsmith</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ReadytoRocc/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ReadytoRocc">@ReadytoRocc</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ashb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ashb">@ashb</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/robinedwards/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/robinedwards">@robinedwards</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bbovenzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bbovenzi">@bbovenzi</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jordanjeremy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jordanjeremy">@jordanjeremy</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/steveyz-astro/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/steveyz-astro">@steveyz-astro</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/BasPH/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/BasPH">@BasPH</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/hpatel-higi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/hpatel-higi">@hpatel-higi</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/uranusjr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/uranusjr">@uranusjr</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/andreychernih/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andreychernih">@andreychernih</a></p> <h3 dir="auto">Committer</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I acknowledge that I am a maintainer/committer of the Apache Airflow project.</li> </ul>
0
<p dir="auto"><code class="notranslate">rustc 1.0.0-dev (00b112c45 2015-01-08 18:40:04 +0000)</code></p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="struct JSVal(u8); fn main() { let mut jsval = JSVal(0); let p: *mut JSVal = &amp;mut jsval; unsafe { let _v = *p; } }"><pre class="notranslate"><span class="pl-k">struct</span> <span class="pl-smi">JSVal</span><span class="pl-kos">(</span><span class="pl-smi">u8</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> <span class="pl-k">mut</span> jsval = <span class="pl-v">JSVal</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">let</span> p<span class="pl-kos">:</span> <span class="pl-c1">*</span><span class="pl-k">mut</span> <span class="pl-smi">JSVal</span> = <span class="pl-c1">&amp;</span><span class="pl-k">mut</span> jsval<span class="pl-kos">;</span> <span class="pl-k">unsafe</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> _v = <span class="pl-c1">*</span>p<span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="godot2:servo jdm$ ./mach rustc /tmp/badmove.rs /tmp/badmove.rs:7:18: 7:20 error: internal compiler error: this path should not cause illegal move /tmp/badmove.rs:7 let _v = *p; ^~ note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace thread 'rustc' panicked at 'Box&lt;Any&gt;', /Users/larsberg/rust/src/libsyntax/diagnostic.rs:123"><pre class="notranslate"><code class="notranslate">godot2:servo jdm$ ./mach rustc /tmp/badmove.rs /tmp/badmove.rs:7:18: 7:20 error: internal compiler error: this path should not cause illegal move /tmp/badmove.rs:7 let _v = *p; ^~ note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace thread 'rustc' panicked at 'Box&lt;Any&gt;', /Users/larsberg/rust/src/libsyntax/diagnostic.rs:123 </code></pre></div>
<p dir="auto">Input:</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="struct T(u8); fn t() -&gt; *mut T { unsafe { 0u8 as *mut T } } fn main() { let a = unsafe { *t() }; }"><pre class="notranslate"><span class="pl-k">struct</span> <span class="pl-smi">T</span><span class="pl-kos">(</span><span class="pl-smi">u8</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">fn</span> <span class="pl-en">t</span><span class="pl-kos">(</span><span class="pl-kos">)</span> -&gt; <span class="pl-c1">*</span><span class="pl-k">mut</span> <span class="pl-smi">T</span> <span class="pl-kos">{</span> <span class="pl-k">unsafe</span> <span class="pl-kos">{</span> <span class="pl-c1">0u8</span> <span class="pl-k">as</span> <span class="pl-c1">*</span><span class="pl-k">mut</span> <span class="pl-smi">T</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> a = <span class="pl-k">unsafe</span> <span class="pl-kos">{</span> <span class="pl-c1">*</span><span class="pl-en">t</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">Output:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ rustc ../test.rs ../test.rs:9:19: 9:23 error: internal compiler error: this path should not cause illegal move ../test.rs:9 let a = unsafe { *t() }; ^~~~ note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace thread 'rustc' panicked at 'Box&lt;Any&gt;', /Users/John/Documents/dev/rust/src/libsyntax/diagnostic.rs:123 stack backtrace: 1: 0x10f825b75 - sys::backtrace::write::h757d4037fec4513elCt 2: 0x10f84800f - failure::on_fail::he99e1d2cd81a67a80Hz 3: 0x10f7b3c8a - rt::unwind::begin_unwind_inner::hede15ebc165353e0Qpz 4: 0x10d508707 - rt::unwind::begin_unwind::h5150449308391082809 5: 0x10d50869c - diagnostic::SpanHandler::span_bug::h1cc7aa850b4525b9nQF 6: 0x10c93bc1d - session::Session::span_bug::h9dff6f0c981e0b95mRq 7: 0x10c547999 - borrowck::build_borrowck_dataflow_data::hbfab9f3785e58ec8QRe 8: 0x10c5432fb - borrowck::borrowck_fn::h9d4d5a57ec1e26a2cPe 9: 0x10c5440f2 - borrowck::borrowck_item::hd3de64f0b51b624a9Ne 10: 0x10c54461f - borrowck::check_crate::hab49ad1d67fb67e9ZIe 11: 0x10c09e8aa - driver::phase_3_run_analysis_passes::h3bf5eb3f470c8788gwa 12: 0x10c082d90 - driver::compile_input::h63293298907e332cxba 13: 0x10c14e7ba - monitor::unboxed_closure.22558 14: 0x10c14cf15 - thunk::F.Invoke&lt;A, R&gt;::invoke::h15985566512806182469 15: 0x10c14bcf0 - rt::unwind::try::try_fn::h5957420952141477940 16: 0x10f8b1189 - rust_try_inner 17: 0x10f8b1176 - rust_try 18: 0x10c14c3ec - thunk::F.Invoke&lt;A, R&gt;::invoke::h12578415658120090831 19: 0x10f835814 - sys::thread::thread_start::he6c5dcba45c95bf2drw 20: 0x7fff933e22fc - _pthread_body 21: 0x7fff933e2279 - _pthread_body"><pre class="notranslate"><code class="notranslate">$ rustc ../test.rs ../test.rs:9:19: 9:23 error: internal compiler error: this path should not cause illegal move ../test.rs:9 let a = unsafe { *t() }; ^~~~ note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace thread 'rustc' panicked at 'Box&lt;Any&gt;', /Users/John/Documents/dev/rust/src/libsyntax/diagnostic.rs:123 stack backtrace: 1: 0x10f825b75 - sys::backtrace::write::h757d4037fec4513elCt 2: 0x10f84800f - failure::on_fail::he99e1d2cd81a67a80Hz 3: 0x10f7b3c8a - rt::unwind::begin_unwind_inner::hede15ebc165353e0Qpz 4: 0x10d508707 - rt::unwind::begin_unwind::h5150449308391082809 5: 0x10d50869c - diagnostic::SpanHandler::span_bug::h1cc7aa850b4525b9nQF 6: 0x10c93bc1d - session::Session::span_bug::h9dff6f0c981e0b95mRq 7: 0x10c547999 - borrowck::build_borrowck_dataflow_data::hbfab9f3785e58ec8QRe 8: 0x10c5432fb - borrowck::borrowck_fn::h9d4d5a57ec1e26a2cPe 9: 0x10c5440f2 - borrowck::borrowck_item::hd3de64f0b51b624a9Ne 10: 0x10c54461f - borrowck::check_crate::hab49ad1d67fb67e9ZIe 11: 0x10c09e8aa - driver::phase_3_run_analysis_passes::h3bf5eb3f470c8788gwa 12: 0x10c082d90 - driver::compile_input::h63293298907e332cxba 13: 0x10c14e7ba - monitor::unboxed_closure.22558 14: 0x10c14cf15 - thunk::F.Invoke&lt;A, R&gt;::invoke::h15985566512806182469 15: 0x10c14bcf0 - rt::unwind::try::try_fn::h5957420952141477940 16: 0x10f8b1189 - rust_try_inner 17: 0x10f8b1176 - rust_try 18: 0x10c14c3ec - thunk::F.Invoke&lt;A, R&gt;::invoke::h12578415658120090831 19: 0x10f835814 - sys::thread::thread_start::he6c5dcba45c95bf2drw 20: 0x7fff933e22fc - _pthread_body 21: 0x7fff933e2279 - _pthread_body </code></pre></div>
1
<p dir="auto"><strong><a href="https://jira.spring.io/secure/[email protected]" rel="nofollow">John Hao</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-9352?redirect=false" rel="nofollow">SPR-9352</a></strong> and commented</p> <hr> <p dir="auto">No further details from <a href="https://jira.spring.io/browse/SPR-9352?redirect=false" rel="nofollow">SPR-9352</a></p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/[email protected]" rel="nofollow">John Hao</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-9353?redirect=false" rel="nofollow">SPR-9353</a></strong> and commented</p> <p dir="auto">When we configure struts action bean into Spring, we have to move action configuration sentences from Struts_configure.xml into Spring xml. I have an ideal to simplify this step as below described.</p> <ol dir="auto"> <li> <p dir="auto">Add a new Name space xmlns:struts=<a href="http://www.springframework.org/schema/struts" rel="nofollow">http://www.springframework.org/schema/struts</a></p> </li> <li> <p dir="auto">Add a new command into Spring configuration<br> &lt;structs:import resource="Struts Configuration Location" /&gt;</p> </li> </ol> <p dir="auto">Resource: Location Struts configuration file and support Ant file Pattern.</p> <ol start="3" dir="auto"> <li>Add a new schema resolver handle into spring.handlers under META-INF</li> </ol> <p dir="auto">http://www.springframework.org/schema/struts=org.springframework.web.struts.beans.factory.xml.StrutsNamespaceHandler</p> <ol start="4" dir="auto"> <li>StrutsNamespaceHandler is implemented to parse struts configuration xml and put bean definition into bean factory IOC container.</li> </ol> <p dir="auto">Bean name: action path<br> Bean class: action type</p> <hr> <p dir="auto">No further details from <a href="https://jira.spring.io/browse/SPR-9353?redirect=false" rel="nofollow">SPR-9353</a></p>
1
<p dir="auto">I have had this insert-pointer-issue throughout the challenges, but I am stuck on challenge 80(Style Text Inputs as Form Controls). I can't insert the pointer to the part of the page I need to add code.</p> <h4 dir="auto">Challenge Name</h4> <h4 dir="auto">Issue Description</h4> <h4 dir="auto">Browser Information</h4> <ul dir="auto"> <li>Browser Name, Version:</li> <li>Operating System:</li> <li>Mobile, Desktop, or Tablet:</li> </ul> <h4 dir="auto">Your Code</h4> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" "><pre class="notranslate"></pre></div> <h4 dir="auto">Screenshot</h4>
<p dir="auto">In all the exercises, we the users are forced to press the enter key before writing any code.</p> <hr> <h4 dir="auto">Update:</h4> <p dir="auto">We have locked the conversation temporarily on this thread to collaborators only, this has been resolved in staging, and will be live soon.</p> <p dir="auto">The fix can be confirmed on the beta website.</p> <p dir="auto">The workaround currently on production website is:<br> Press the <kbd>Enter</kbd> key on the challenge editor and then proceed with the challenge.</p> <p dir="auto">Apologies for the inconvenience meanwhile.</p> <p dir="auto">Reach us in the chat room if you need any assistance.</p>
1
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.7.1</li> <li>Operating System version: win7</li> <li>Java version: 8</li> </ul> <p dir="auto">Reference has the property url, so we can connect to the provider directly, can you support it as a global config in consumer?</p>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.5.10</li> <li>Operating System version: windows7</li> <li>Java version: jdk1.8</li> </ul> <p dir="auto">use dubbo-2.5.x and dubbo-2.6.x, it is need to exclude dubbo-common , otherwise, boot log output</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Duplicate class com/alibaba/dubbo/common/Version.class in 2 jar"><pre class="notranslate"><code class="notranslate">Duplicate class com/alibaba/dubbo/common/Version.class in 2 jar </code></pre></div> <p dir="auto">and then i do this</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;dependency&gt; &lt;groupId&gt;com.alibaba&lt;/groupId&gt; &lt;artifactId&gt;dubbo&lt;/artifactId&gt; &lt;scope&gt;system&lt;/scope&gt; &lt;version&gt;${alibaba.dubbo.version}&lt;/version&gt; &lt;systemPath&gt;${basedir}/lib/dubbo-2.5.10.jar&lt;/systemPath&gt; &lt;exclusions&gt; &lt;exclusion&gt; &lt;groupId&gt;com.alibaba&lt;/groupId&gt; &lt;artifactId&gt;dubbo-common&lt;/artifactId&gt; &lt;/exclusion&gt; &lt;/exclusions&gt; &lt;/dependency&gt;"><pre class="notranslate"><code class="notranslate">&lt;dependency&gt; &lt;groupId&gt;com.alibaba&lt;/groupId&gt; &lt;artifactId&gt;dubbo&lt;/artifactId&gt; &lt;scope&gt;system&lt;/scope&gt; &lt;version&gt;${alibaba.dubbo.version}&lt;/version&gt; &lt;systemPath&gt;${basedir}/lib/dubbo-2.5.10.jar&lt;/systemPath&gt; &lt;exclusions&gt; &lt;exclusion&gt; &lt;groupId&gt;com.alibaba&lt;/groupId&gt; &lt;artifactId&gt;dubbo-common&lt;/artifactId&gt; &lt;/exclusion&gt; &lt;/exclusions&gt; &lt;/dependency&gt; </code></pre></div> <p dir="auto">but when i include kryo , i need to repeat that ,just like</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;dependency&gt; &lt;groupId&gt;com.alibaba&lt;/groupId&gt; &lt;artifactId&gt;dubbo-serialization-kryo&lt;/artifactId&gt; &lt;version&gt;2.6.2&lt;/version&gt; &lt;exclusions&gt; &lt;exclusion&gt; &lt;groupId&gt;com.alibaba&lt;/groupId&gt; &lt;artifactId&gt;dubbo-common&lt;/artifactId&gt; &lt;/exclusion&gt; &lt;/exclusions&gt; &lt;/dependency&gt;"><pre class="notranslate"><code class="notranslate">&lt;dependency&gt; &lt;groupId&gt;com.alibaba&lt;/groupId&gt; &lt;artifactId&gt;dubbo-serialization-kryo&lt;/artifactId&gt; &lt;version&gt;2.6.2&lt;/version&gt; &lt;exclusions&gt; &lt;exclusion&gt; &lt;groupId&gt;com.alibaba&lt;/groupId&gt; &lt;artifactId&gt;dubbo-common&lt;/artifactId&gt; &lt;/exclusion&gt; &lt;/exclusions&gt; &lt;/dependency&gt; </code></pre></div> <p dir="auto">but this Dependency transfer problem is not appear in <a href="https://github.com/dangdangdotcom/dubbox">https://github.com/dangdangdotcom/dubbox</a>,<br> can fix it ?</p>
0
<p dir="auto">Hi<br> I have a problem with "async" in babel and node js that i couldn't solve for days... the error bellow:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: C:\BOOSTACKSTICK\BOOSTACK\node_modules\@babel\runtime\helpers\esm\asyncToGenerator.js [1] require() of ES modules is not supported. [1] require() of C:\BOOSTACKSTICK\BOOSTACK\node_modules\@babel\runtime\helpers\esm\asyncToGenerator.js from C:\BOOSTACKSTICK\BOOSTACK\prod-server\api\auth\auth-controller.js is an ES module file as it is a .js file whose nearest parent package.json contains &quot;type&quot;: &quot;module&quot; which defines all .js files in that package scope as ES modules. [1] Instead rename asyncToGenerator.js to end in .cjs, change the requiring code to use import(), or remove &quot;type&quot;: &quot;module&quot; from C:\BOOSTACKSTICK\BOOSTACK\node_modules\@babel\runtime\helpers\esm\package.json."><pre class="notranslate"><code class="notranslate">Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: C:\BOOSTACKSTICK\BOOSTACK\node_modules\@babel\runtime\helpers\esm\asyncToGenerator.js [1] require() of ES modules is not supported. [1] require() of C:\BOOSTACKSTICK\BOOSTACK\node_modules\@babel\runtime\helpers\esm\asyncToGenerator.js from C:\BOOSTACKSTICK\BOOSTACK\prod-server\api\auth\auth-controller.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules. [1] Instead rename asyncToGenerator.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from C:\BOOSTACKSTICK\BOOSTACK\node_modules\@babel\runtime\helpers\esm\package.json. </code></pre></div> <p dir="auto">I compile my dev-server folder to a prod-server with config bellow<br> <strong>package.json</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;scripts&quot;: { &quot;serve&quot;: &quot;vue-cli-service serve&quot;, &quot;build&quot;: &quot;babel dev-server --out-dir prod-server &amp;&amp; vue-cli-service build&quot;, &quot;lint&quot;: &quot;vue-cli-service lint&quot;, &quot;dev&quot;: &quot;concurrently \&quot;babel dev-server --out-dir prod-server --watch\&quot; \&quot;nodemon prod-server/index.js\&quot; \&quot;npm run serve\&quot; &quot; },"><pre class="notranslate"><code class="notranslate">"scripts": { "serve": "vue-cli-service serve", "build": "babel dev-server --out-dir prod-server &amp;&amp; vue-cli-service build", "lint": "vue-cli-service lint", "dev": "concurrently \"babel dev-server --out-dir prod-server --watch\" \"nodemon prod-server/index.js\" \"npm run serve\" " }, </code></pre></div> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&quot;devDependencies&quot;: { &quot;@babel/cli&quot;: &quot;^7.12.1&quot;, &quot;@babel/core&quot;: &quot;^7.12.3&quot;, &quot;@babel/node&quot;: &quot;^7.12.1&quot;, &quot;@babel/plugin-transform-async-to-generator&quot;: &quot;^7.12.1&quot;, &quot;@babel/plugin-transform-runtime&quot;: &quot;^7.12.1&quot;, &quot;@babel/preset-env&quot;: &quot;^7.12.1&quot;, &quot;@babel/runtime-corejs3&quot;: &quot;^7.12.1&quot;, &quot;@vue/cli-plugin-babel&quot;: &quot;^4.5.8&quot;, &quot;@vue/cli-plugin-eslint&quot;: &quot;^4.5.8&quot;, &quot;@vue/cli-service&quot;: &quot;^4.5.8&quot;, &quot;babel-eslint&quot;: &quot;^10.1.0&quot;, &quot;compass-mixins&quot;: &quot;^0.12.10&quot;, &quot;concurrently&quot;: &quot;^5.3.0&quot;, &quot;core-js&quot;: &quot;^3.6.5&quot;, &quot;css-loader&quot;: &quot;^3.6.0&quot;, &quot;eslint&quot;: &quot;^5.16.0&quot;, },"><pre class="notranslate"><span class="pl-s">"devDependencies"</span>: <span class="pl-kos">{</span> <span class="pl-s">"@babel/cli"</span>: <span class="pl-s">"^7.12.1"</span><span class="pl-kos">,</span> <span class="pl-s">"@babel/core"</span>: <span class="pl-s">"^7.12.3"</span><span class="pl-kos">,</span> <span class="pl-s">"@babel/node"</span>: <span class="pl-s">"^7.12.1"</span><span class="pl-kos">,</span> <span class="pl-s">"@babel/plugin-transform-async-to-generator"</span>: <span class="pl-s">"^7.12.1"</span><span class="pl-kos">,</span> <span class="pl-s">"@babel/plugin-transform-runtime"</span>: <span class="pl-s">"^7.12.1"</span><span class="pl-kos">,</span> <span class="pl-s">"@babel/preset-env"</span>: <span class="pl-s">"^7.12.1"</span><span class="pl-kos">,</span> <span class="pl-s">"@babel/runtime-corejs3"</span>: <span class="pl-s">"^7.12.1"</span><span class="pl-kos">,</span> <span class="pl-s">"@vue/cli-plugin-babel"</span>: <span class="pl-s">"^4.5.8"</span><span class="pl-kos">,</span> <span class="pl-s">"@vue/cli-plugin-eslint"</span>: <span class="pl-s">"^4.5.8"</span><span class="pl-kos">,</span> <span class="pl-s">"@vue/cli-service"</span>: <span class="pl-s">"^4.5.8"</span><span class="pl-kos">,</span> <span class="pl-s">"babel-eslint"</span>: <span class="pl-s">"^10.1.0"</span><span class="pl-kos">,</span> <span class="pl-s">"compass-mixins"</span>: <span class="pl-s">"^0.12.10"</span><span class="pl-kos">,</span> <span class="pl-s">"concurrently"</span>: <span class="pl-s">"^5.3.0"</span><span class="pl-kos">,</span> <span class="pl-s">"core-js"</span>: <span class="pl-s">"^3.6.5"</span><span class="pl-kos">,</span> <span class="pl-s">"css-loader"</span>: <span class="pl-s">"^3.6.0"</span><span class="pl-kos">,</span> <span class="pl-s">"eslint"</span>: <span class="pl-s">"^5.16.0"</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span></pre></div> <p dir="auto"><strong>.babelrc</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;presets&quot;: [ [ &quot;@babel/preset-env&quot;, { &quot;useBuiltIns&quot;: &quot;usage&quot;, // or &quot;entry&quot; &quot;corejs&quot;: 3, &quot;targets&quot;: { &quot;node&quot;: &quot;current&quot; } } ] ], &quot;plugins&quot;: [ [ &quot;@babel/plugin-transform-runtime&quot;, { &quot;corejs&quot;: 3 } ], [&quot;@babel/plugin-proposal-class-properties&quot;] ] }"><pre class="notranslate"><span class="pl-kos">{</span> <span class="pl-s">"presets"</span>: <span class="pl-kos">[</span> <span class="pl-kos">[</span> <span class="pl-s">"@babel/preset-env"</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-s">"useBuiltIns"</span>: <span class="pl-s">"usage"</span><span class="pl-kos">,</span> <span class="pl-c">// or "entry"</span> <span class="pl-s">"corejs"</span>: <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-s">"targets"</span>: <span class="pl-kos">{</span> <span class="pl-s">"node"</span>: <span class="pl-s">"current"</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-kos">]</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s">"plugins"</span>: <span class="pl-kos">[</span> <span class="pl-kos">[</span> <span class="pl-s">"@babel/plugin-transform-runtime"</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-s">"corejs"</span>: <span class="pl-c1">3</span> <span class="pl-kos">}</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-s">"@babel/plugin-proposal-class-properties"</span><span class="pl-kos">]</span> <span class="pl-kos">]</span> <span class="pl-kos">}</span></pre></div> <p dir="auto"><strong>Environment</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Node: v12.16.3 Babel: 7.12.3"><pre class="notranslate"><code class="notranslate">Node: v12.16.3 Babel: 7.12.3 </code></pre></div> <p dir="auto">Simple code with "async" that causing a problem</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="//Check And Validate Request (LOGIN METHODE) export async function index(req, res) { return res.status(200).json({ user: &quot;user&quot; }); }"><pre class="notranslate"><code class="notranslate">//Check And Validate Request (LOGIN METHODE) export async function index(req, res) { return res.status(200).json({ user: "user" }); } </code></pre></div> <p dir="auto">** OutPut Babel**</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;use strict&quot;; var _interopRequireDefault = require(&quot;C:/BOOSTACKSTICK/BOOSTACK/node_modules/@babel/runtime/helpers/interopRequireDefault&quot;); var _Object$defineProperty = require(&quot;@babel/runtime-corejs3/core-js-stable/object/define-property&quot;); _Object$defineProperty(exports, &quot;__esModule&quot;, { value: true }); exports.index = index; var _regenerator = _interopRequireDefault(require(&quot;@babel/runtime-corejs3/regenerator&quot;)); require(&quot;regenerator-runtime/runtime&quot;); var _asyncToGenerator2 = _interopRequireDefault(require(&quot;C:/BOOSTACKSTICK/BOOSTACK/node_modules/@babel/runtime/helpers/esm/asyncToGenerator&quot;)); //Check And Validate Request (LOGIN METHODE) function index(_x, _x2) { return _index.apply(this, arguments); } function _index() { _index = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(req, res) { return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: return _context.abrupt(&quot;return&quot;, res.status(200).json({ user: &quot;user&quot; })); case 1: case &quot;end&quot;: return _context.stop(); } } }, _callee); })); return _index.apply(this, arguments); }"><pre class="notranslate"><code class="notranslate">"use strict"; var _interopRequireDefault = require("C:/BOOSTACKSTICK/BOOSTACK/node_modules/@babel/runtime/helpers/interopRequireDefault"); var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property"); _Object$defineProperty(exports, "__esModule", { value: true }); exports.index = index; var _regenerator = _interopRequireDefault(require("@babel/runtime-corejs3/regenerator")); require("regenerator-runtime/runtime"); var _asyncToGenerator2 = _interopRequireDefault(require("C:/BOOSTACKSTICK/BOOSTACK/node_modules/@babel/runtime/helpers/esm/asyncToGenerator")); //Check And Validate Request (LOGIN METHODE) function index(_x, _x2) { return _index.apply(this, arguments); } function _index() { _index = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(req, res) { return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", res.status(200).json({ user: "user" })); case 1: case "end": return _context.stop(); } } }, _callee); })); return _index.apply(this, arguments); } </code></pre></div> <p dir="auto"><strong>Possible Solution</strong><br> the only workaround i tested to avoid this error is to modify manually the <code class="notranslate">node_modules\@babel\runtime\helpers\esm\package.json</code> to remove <code class="notranslate">"type": module</code> and remove <code class="notranslate">import</code> from <code class="notranslate">node_modules\@babel\runtime\helpers\esm\asyncToGenerator.js</code></p> <p dir="auto">is it a bug or i'm doing something wrong?</p> <p dir="auto">Thank you in advance for your reply.</p>
<blockquote> <p dir="auto">Issue originally reported by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/aweary/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/aweary">@aweary</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="222245450" data-permission-text="Title is private" data-url="https://github.com/babel/babel-preset-env/issues/294" data-hovercard-type="issue" data-hovercard-url="/babel/babel-preset-env/issues/294/hovercard" href="https://github.com/babel/babel-preset-env/issues/294">babel/babel-preset-env#294</a></p> </blockquote> <p dir="auto">This started from a conversation stemming from this tweet: <a href="https://twitter.com/aweary/status/853771117894545408" rel="nofollow">https://twitter.com/aweary/status/853771117894545408</a></p> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/hzoo/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/hzoo">@hzoo</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JakeChampion/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JakeChampion">@JakeChampion</a> and I met today and had a quick discussion about how we could make <code class="notranslate">babel-preset-env</code> integrate with <a href="https://polyfill.io/" rel="nofollow">https://polyfill.io/</a>. The rough plan we agreed upon was:</p> <ol dir="auto"> <li>Move the <a href="https://github.com/babel/babel-preset-env/blob/2.0/src/use-built-ins-plugin.js">use-built-ins plugin</a> into a standalone package</li> <li>Expose an option to write the list of features requiring a polyfill to disk, instead of including the default <code class="notranslate">core-js</code> imports.</li> </ol> <p dir="auto">This would allow users to read the feature list at build time and include the appropriate polyfill.io link, which uses a query string to communicate which polyfills should be included.</p> <p dir="auto">This approach makes polyfill.io integration very easy, but it will also open up new ways for community build tools to fulfill polyfill requirements at build time.</p>
0
<p dir="auto">Do you have any clue for passing a native WebGLTexture to one Shader in a Three material?</p> <p dir="auto">We are sharing the Three gl context to do a series of calculations and stuff on the GPU, but the main purpose is to render the final data with three, so I need to put my output texture (WebGLTexture) as a Sampler2D uniform in a THREE.RawShaderMaterial. I don't know if this is possible using the available API of the engine.</p> <p dir="auto">Thanks in advance and keep up the great work!</p>
<p dir="auto">Moved the discussion from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="51043523" data-permission-text="Title is private" data-url="https://github.com/mrdoob/three.js/issues/5728" data-hovercard-type="issue" data-hovercard-url="/mrdoob/three.js/issues/5728/hovercard" href="https://github.com/mrdoob/three.js/issues/5728">#5728</a> to a separate issue.</p> <p dir="auto">The idea is to add <code class="notranslate">THREE.Image</code> as an additional class which is used by <code class="notranslate">THREE.Texture</code>. An instance of <code class="notranslate">THREE.Image</code> is directly mapped to an instance of <code class="notranslate">WebGLTexture</code> (the raw WebGL texture object). That means multiple textures can refer to the same instance of <code class="notranslate">THREE.Image</code> and not causing redundant texture uploads anymore (related issues <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="51043523" data-permission-text="Title is private" data-url="https://github.com/mrdoob/three.js/issues/5728" data-hovercard-type="issue" data-hovercard-url="/mrdoob/three.js/issues/5728/hovercard" href="https://github.com/mrdoob/three.js/issues/5728">#5728</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="52951011" data-permission-text="Title is private" data-url="https://github.com/mrdoob/three.js/issues/5821" data-hovercard-type="issue" data-hovercard-url="/mrdoob/three.js/issues/5821/hovercard" href="https://github.com/mrdoob/three.js/issues/5821">#5821</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="107932567" data-permission-text="Title is private" data-url="https://github.com/mrdoob/three.js/issues/7223" data-hovercard-type="issue" data-hovercard-url="/mrdoob/three.js/issues/7223/hovercard" href="https://github.com/mrdoob/three.js/issues/7223">#7223</a>)</p> <p dir="auto">Ideally, <code class="notranslate">THREE.Image</code> will make the handling of image objects transparent (e.g. the difference in <code class="notranslate">HTMLImageElement</code>, <code class="notranslate">ImageBitmap</code> or the image stub in <code class="notranslate">DataTexture</code> is encapsulated in this new class).</p>
1
<p dir="auto">In mui 0.x, I could limit the number of secondary text lines in a <code class="notranslate">&lt;ListItem&gt;</code>. With <code class="notranslate">&lt;ListItemText&gt;</code>, I can't do that anymore.</p> <p dir="auto">As a consequence, the following design, which was supported by mui 0.9, isn't possible with 1.0.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/99944/33123948-e040ee52-cf7b-11e7-8ad9-b08279be9317.png"><img src="https://user-images.githubusercontent.com/99944/33123948-e040ee52-cf7b-11e7-8ad9-b08279be9317.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">Besides, limiting lines in CSS is <a href="https://stackoverflow.com/questions/3922739/limit-text-length-to-n-lines-using-css" rel="nofollow">notably difficult</a>.</p> <p dir="auto">Is adding back the max lines support in the plan, or is it definitely out of the API, and I have to find another solution?</p> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>Material-UI</td> <td>next</td> </tr> <tr> <td>React</td> <td>16</td> </tr> <tr> <td>browser</td> <td>Chrome</td> </tr> </tbody> </table>
<p dir="auto">After upgrading from 1.0.0-beta.16 to beta.17, I run the tests and even though they all pass, I get a very large number of warnings like the following:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="console.error node_modules/warning/warning.js:51 Warning: [JSS] CSS.escape polyfill in DEV mode is required in this browser, check out https://github.com/mathiasbynens/CSS.escape"><pre class="notranslate"><code class="notranslate">console.error node_modules/warning/warning.js:51 Warning: [JSS] CSS.escape polyfill in DEV mode is required in this browser, check out https://github.com/mathiasbynens/CSS.escape </code></pre></div> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/callemall/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">This warning should not appear while running tests.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">The warning message above appears a very large number of times in the console while running all the tests.</p> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>Material-UI</td> <td>1.0.0-beta.17</td> </tr> <tr> <td>React</td> <td>16.0.0</td> </tr> <tr> <td>browser</td> <td>jest</td> </tr> </tbody> </table>
0
<p dir="auto">Rust now supports <code class="notranslate">[]</code> in macro invocations, with a driving use case being able to write <code class="notranslate">vec![0, 0, 0]</code> as analogy to the fixed sized vector syntax <code class="notranslate">[0, 0, 0]</code>.</p> <p dir="auto">However, there is no analogy to the <code class="notranslate">[0, ..n]</code> repeat syntax for it: <code class="notranslate">vec![0, ..n]</code> does not work.</p> <p dir="auto"><del>For it to be added, <code class="notranslate">vec!</code> would either need to become a procedural macro, or something like <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="34133114" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rfcs/issues/88" data-hovercard-type="pull_request" data-hovercard-url="/rust-lang/rfcs/pull/88/hovercard" href="https://github.com/rust-lang/rfcs/pull/88">rust-lang/rfcs#88</a> needs to be implemented.</del></p>
<p dir="auto">Currently, changing the cname will cause duplicate glue to be generated in trans. It should pay attention to struct only.</p>
0
<p dir="auto">The new <code class="notranslate">ansible_ssh_common_args</code> lets me add a <code class="notranslate">ProxyCommand</code><br> argument to the <code class="notranslate">ssh</code> invocation for entire inventory groups, which<br> simplifies use of an ssh jump host.</p> <p dir="auto">My understanding (from reading tickets) is that this was implemented<br> to permit use of ProxyCommand: (1) without having to override the<br> whole <code class="notranslate">ssh_args</code>, or alternatively (2) without needing to use the<br> <code class="notranslate">.ssh/config</code> of the invoking user.</p> <p dir="auto">However, when using <code class="notranslate">ProxyCommand</code> this way, the control socket<br> in the filesystem is keyed off the far hop (inner tunnel) of the jump,<br> which means the near hop does <em>not</em> use a persistent socket. If<br> another host needs to be reached via the jump gate, an entirely<br> new socket will be set up, even though we could reuse it for the<br> inner portion (first hop) of the jump. If reaching 1000 remote hosts<br> via a jump gate, we will make 1000 separate ssh invocations, each<br> with its own control socket, and no re-use (it only reuses if same<br> far-host is destination)</p> <p dir="auto">This could be optimized by using ControlPath to describe only the<br> near hop, and then use <em>another</em> ssh with ControlPath on the far<br> side. I don't know if this is a real issue or not, but thought it was<br> worth submitting a ticket for. I think it would involve making a<br> jump-host scenario a "first class" connection property that was<br> implemented in code that could then be "nested" and duplicated<br> on the remote end (rather than just a string-append to ssh args).</p> <p dir="auto">If this is just totally crazy, by all means close ticket. I think it could<br> help some scenarios though, it would avoid doing the first-half of the<br> jump circuit 999 times in the case of 1000 jump targets on the far<br> side. So it would have to do only 1001 total ssh setups, rather than<br> 2000, which could really be a big win...</p>
<p dir="auto">While running an Ansible playbook, it will intermittently hang during a yum install. It doesn't happen all the time, but it happens somewhat frequently. It looks like it is waiting on a socket response that never comes.</p> <p dir="auto">The environment is</p> <p dir="auto">Boot2Docker version 1.7.0, build master : 7960f90<br> Docker version 1.7.0, build 0baf609<br> Container is based on centos:centos6<br> Ansible version is 1.9.2</p> <p dir="auto">When I go into the actual box that Ansible is trying to install on, this is what I see:<br> [root@um-apache tmp]# ps -efL | grep repoquery<br> root 637 512 637 0 2 21:17 pts/0 00:00:00 /usr/bin/python -tt /usr/bin/repoquery --show-duplicates --plugins --quiet -q --disablerepo --enablerepo --qf %{name}-%{version}-%{release}.%{arch} unzip<br> root 637 512 638 0 2 21:17 pts/0 00:00:00 /usr/bin/python -tt /usr/bin/repoquery --show-duplicates --plugins --quiet -q --disablerepo --enablerepo --qf %{name}-%{version}-%{release}.%{arch} unzip</p> <p dir="auto">That just sits around forever unless I manually kill it.</p> <p dir="auto">When trying to debug the problem, first I was checking to see if repoquery might be conflicted over a lock, and this is what I see:</p> <p dir="auto">[root@um-apache tmp]# lsof | grep 637<br> repoquery 637 root cwd DIR 0,66 4096 206 /home/callidus<br> repoquery 637 root rtd DIR 0,66 4096 2 /<br> repoquery 637 root txt REG 0,66 4864 236 /usr/bin/python<br> repoquery 637 root mem REG 0,66 27424 186 /lib64/libnss_dns-2.12.so<br> repoquery 637 root mem REG 0,66 50280 661 /usr/lib64/python2.6/lib-dynload/pyexpat.so<br> repoquery 637 root mem REG 0,66 165264 656 /lib64/libexpat.so.1.5.2<br> repoquery 637 root mem REG 0,66 42392 653 /usr/lib64/python2.6/lib-dynload/_elementtree.so<br> repoquery 637 root mem REG 0,66 25160 565 /usr/lib64/python2.6/lib-dynload/termios.so<br> repoquery 637 root mem REG 0,66 1382496 558 /usr/lib64/libxml2.so.2.7.6<br> repoquery 637 root mem REG 0,66 1140496 556 /lib64/libglib-2.0.so.0.2800.8<br> repoquery 637 root mem REG 0,66 45320 271 /usr/lib64/python2.6/site-packages/_sqlitecache.so<br> repoquery 637 root mem REG 0,66 77104 554 /usr/lib64/python2.6/lib-dynload/_sqlite3.so<br> repoquery 637 root mem REG 0,66 81256 553 /usr/lib64/python2.6/lib-dynload/datetime.so<br> repoquery 637 root mem REG 0,66 7208 546 /usr/lib64/python2.6/lib-dynload/_weakref.so<br> repoquery 637 root mem REG 0,66 9080 527 /usr/lib64/python2.6/lib-dynload/grpmodule.so<br> repoquery 637 root mem REG 0,66 14288 512 /lib64/libgpg-error.so.0.5.0<br> repoquery 637 root mem REG 0,66 197792 510 /usr/lib64/libgpgme.so.11.6.6<br> repoquery 637 root mem REG 0,66 78016 508 /usr/lib64/python2.6/site-packages/gpgme/_gpgme.so<br> repoquery 637 root mem REG 0,66 35696 503 /usr/lib64/python2.6/lib-dynload/bz2.so<br> repoquery 637 root mem REG 0,66 23784 496 /usr/lib64/python2.6/lib-dynload/zlibmodule.so<br> repoquery 637 root mem REG 0,66 10312 144 /lib64/libfreebl3.so<br> repoquery 637 root mem REG 0,66 40400 131 /lib64/libcrypt-2.12.so<br> repoquery 637 root mem REG 0,66 106160 465 /usr/lib64/libsasl2.so.2.0.23<br> repoquery 637 root mem REG 0,66 60512 463 /lib64/liblber-2.4.so.2.10.3<br> repoquery 637 root mem REG 0,66 161856 461 /usr/lib64/libssh2.so.1.0.1<br> repoquery 637 root mem REG 0,66 181176 459 /usr/lib64/libsmime3.so<br> repoquery 637 root mem REG 0,66 254328 458 /usr/lib64/libssl3.so<br> repoquery 637 root mem REG 0,66 326768 457 /lib64/libldap-2.4.so.2.10.3<br> repoquery 637 root mem REG 0,66 206672 455 /lib64/libidn.so.11.6.1<br> repoquery 637 root mem REG 0,66 347536 453 /usr/lib64/libcurl.so.4.1.1<br> repoquery 637 root mem REG 0,66 69504 268 /usr/lib64/python2.6/site-packages/pycurl.so<br> repoquery 637 root mem REG 0,66 9872 451 /usr/lib64/python2.6/lib-dynload/_bisectmodule.so<br> repoquery 637 root mem REG 0,66 41408 444 /usr/lib64/python2.6/lib-dynload/arraymodule.so<br> repoquery 637 root mem REG 0,66 15432 441 /usr/lib64/python2.6/lib-dynload/_hashlib.so<br> repoquery 637 root mem REG 0,66 14632 402 /usr/lib64/python2.6/lib-dynload/fcntlmodule.so<br> repoquery 637 root mem REG 0,66 12680 401 /usr/lib64/python2.6/lib-dynload/_randommodule.so<br> repoquery 637 root mem REG 0,66 20976 400 /usr/lib64/python2.6/lib-dynload/binascii.so<br> repoquery 637 root mem REG 0,66 26408 399 /usr/lib64/python2.6/lib-dynload/mathmodule.so<br> repoquery 637 root mem REG 0,66 24432 392 /usr/lib64/python2.6/lib-dynload/selectmodule.so<br> repoquery 637 root mem REG 0,66 75664 386 /usr/lib64/python2.6/lib-dynload/cPickle.so<br> repoquery 637 root mem REG 0,66 110960 133 /lib64/libresolv-2.12.so<br> repoquery 637 root mem REG 0,66 10192 148 /lib64/libkeyutils.so.1.3<br> repoquery 637 root mem REG 0,66 43728 146 /lib64/libkrb5support.so.0.1<br> repoquery 637 root mem REG 0,66 174840 139 /lib64/libk5crypto.so.3.1<br> repoquery 637 root mem REG 0,66 14664 141 /lib64/libcom_err.so.2.1<br> repoquery 637 root mem REG 0,66 946048 137 /lib64/libkrb5.so.3.3<br> repoquery 637 root mem REG 0,66 277704 135 /lib64/libgssapi_krb5.so.2.2<br> repoquery 637 root mem REG 0,66 1963296 123 /usr/lib64/libcrypto.so.1.0.1e<br> repoquery 637 root mem REG 0,66 441256 385 /usr/lib64/libssl.so.1.0.1e<br> repoquery 637 root mem REG 0,66 34112 383 /usr/lib64/python2.6/lib-dynload/_ssl.so<br> repoquery 637 root mem REG 0,66 60752 382 /usr/lib64/python2.6/lib-dynload/_socketmodule.so<br> repoquery 637 root mem REG 0,66 115768 339 /usr/lib64/libmagic.so.1.0.0<br> repoquery 637 root mem REG 0,66 155344 337 /usr/lib64/librpmbuild.so.1.0.0<br> repoquery 637 root mem REG 0,66 12560 335 /usr/lib64/python2.6/site-packages/rpm/_rpmbmodule.so<br> repoquery 637 root mem REG 0,66 477712 211 /lib64/libfreeblpriv3.so<br> repoquery 637 root mem REG 0,66 583552 320 /usr/lib64/libsqlite3.so.0.8.6<br> repoquery 637 root mem REG 0,66 262168 318 /usr/lib64/libsoftokn3.so<br> repoquery 637 root mem REG 0,66 65928 37 /lib64/libnss_files-2.12.so<br> repoquery 637 root mem REG 0,66 244624 151 /lib64/libnspr4.so<br> repoquery 637 root mem REG 0,66 14560 150 /lib64/libplds4.so<br> repoquery 637 root mem REG 0,66 18720 143 /lib64/libplc4.so<br> repoquery 637 root mem REG 0,66 179416 149 /usr/lib64/libnssutil3.so<br> repoquery 637 root mem REG 0,66 90880 108 /lib64/libgcc_s-4.4.7-20120601.so.1<br> repoquery 637 root mem REG 0,66 18712 231 /lib64/libattr.so.1.1.0<br> repoquery 637 root mem REG 0,66 43880 106 /lib64/librt-2.12.so<br> repoquery 637 root mem REG 0,66 183920 317 /usr/lib64/liblua-5.1.so<br> repoquery 637 root mem REG 0,66 134920 316 /usr/lib64/liblzma.so.0.0.0<br> repoquery 637 root mem REG 0,66 36360 314 /lib64/libpopt.so.0.0.0<br> repoquery 637 root mem REG 0,66 88440 312 /usr/lib64/libelf-0.161.so<br> repoquery 637 root mem REG 0,66 88600 127 /lib64/libz.so.1.2.3<br> repoquery 637 root mem REG 0,66 67592 310 /lib64/libbz2.so.1.0.4<br> repoquery 637 root mem REG 0,66 1300048 142 /usr/lib64/libnss3.so<br> repoquery 637 root mem REG 0,66 183968 308 /usr/lib64/librpmio.so.1.0.0<br> repoquery 637 root mem REG 0,66 1523064 306 /lib64/libdb-4.7.so<br> repoquery 637 root mem REG 0,66 31280 229 /lib64/libacl.so.1.1.0<br> repoquery 637 root mem REG 0,66 16600 305 /lib64/libcap.so.2.16<br> repoquery 637 root mem REG 0,66 122040 152 /lib64/libselinux.so.1<br> repoquery 637 root mem REG 0,66 435400 303 /usr/lib64/librpm.so.1.0.0<br> repoquery 637 root mem REG 0,66 92872 301 /usr/lib64/python2.6/site-packages/rpm/_rpmmodule.so<br> repoquery 637 root mem REG 0,66 19248 359 /usr/lib64/python2.6/lib-dynload/cStringIO.so<br> repoquery 637 root mem REG 0,66 37840 389 /usr/lib64/python2.6/lib-dynload/_struct.so<br> repoquery 637 root mem REG 0,66 21608 410 /usr/lib64/python2.6/lib-dynload/_localemodule.so<br> repoquery 637 root mem REG 0,66 12256 366 /usr/lib64/python2.6/lib-dynload/_functoolsmodule.so<br> repoquery 637 root mem REG 0,66 25288 358 /usr/lib64/python2.6/lib-dynload/stropmodule.so<br> repoquery 637 root mem REG 0,66 54896 373 /usr/lib64/python2.6/lib-dynload/itertoolsmodule.so<br> repoquery 637 root mem REG 0,66 38608 370 /usr/lib64/python2.6/lib-dynload/operator.so<br> repoquery 637 root mem REG 0,66 28112 369 /usr/lib64/python2.6/lib-dynload/_collectionsmodule.so<br> repoquery 637 root mem REG 0,66 20328 348 /usr/lib64/python2.6/lib-dynload/timemodule.so<br> repoquery 637 root mem REG 0,66 1920896 32 /lib64/libc-2.12.so<br> repoquery 637 root mem REG 0,66 596272 239 /lib64/libm-2.12.so<br> repoquery 637 root mem REG 0,66 14584 125 /lib64/libutil-2.12.so<br> repoquery 637 root mem REG 0,66 19536 30 /lib64/libdl-2.12.so<br> repoquery 637 root mem REG 0,66 142640 110 /lib64/libpthread-2.12.so<br> repoquery 637 root mem REG 0,66 1669840 237 /usr/lib64/libpython2.6.so.1.0<br> repoquery 637 root mem REG 0,66 154664 25 /lib64/ld-2.12.so<br> repoquery 637 root 0u CHR 136,0 0t0 3 /dev/pts/0<br> repoquery 637 root 1w FIFO 0,8 0t0 261194 pipe<br> repoquery 637 root 2w FIFO 0,8 0t0 261195 pipe<br> repoquery 637 root 3w REG 0,66 2531 628 /var/log/yum.log<br> repoquery 637 root 4u sock 0,6 0t0 261197 can't identify protocol<br> repoquery 637 root 7u sock 0,6 0t0 258410 can't identify protocol</p> <p dir="auto">When I look at what the process is actually doing at that moment, this is what I see<br> [root@um-apache tmp]# strace -p 637<br> Process 637 attached<br> futex(0x12410c0, FUTEX_WAIT_PRIVATE, 0, NULL</p> <p dir="auto">^CProcess 637 detached<br> &lt;detached ...&gt;<br> [root@um-apache tmp]# strace -p 638<br> Process 638 attached<br> recvmsg(7, ^CProcess 638 detached<br> &lt;detached ...&gt;</p>
0
<h3 dir="auto">Describe your issue.</h3> <p dir="auto">I cannot extrapolate with neither <code class="notranslate">scipy.interpolate.interp2d</code> nor <code class="notranslate">RectBivariateSpline</code>. Both return values clamped to the domain if values for coordinates outside of the domain are requested, instead of extrapolating, even though the docs state for both that for coordinates outside of the domain the value is extrapolated (<a href="https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.interp2d.html" rel="nofollow">https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.interp2d.html</a> and <a href="https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.RectBivariateSpline.html" rel="nofollow">https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.RectBivariateSpline.html</a>).</p> <h3 dir="auto">Reproducing Code Example</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="a = [-1, 1] b = [-1, 1] c = [[-5, 5], [-10, 0]] i = scipy.interpolate.interp2d(a, b, c) i(1, -2) i(2, -2) i(2, 2) i(-2, 2) i(-2, -2)"><pre class="notranslate"><span class="pl-s1">a</span> <span class="pl-c1">=</span> [<span class="pl-c1">-</span><span class="pl-c1">1</span>, <span class="pl-c1">1</span>] <span class="pl-s1">b</span> <span class="pl-c1">=</span> [<span class="pl-c1">-</span><span class="pl-c1">1</span>, <span class="pl-c1">1</span>] <span class="pl-s1">c</span> <span class="pl-c1">=</span> [[<span class="pl-c1">-</span><span class="pl-c1">5</span>, <span class="pl-c1">5</span>], [<span class="pl-c1">-</span><span class="pl-c1">10</span>, <span class="pl-c1">0</span>]] <span class="pl-s1">i</span> <span class="pl-c1">=</span> <span class="pl-s1">scipy</span>.<span class="pl-s1">interpolate</span>.<span class="pl-en">interp2d</span>(<span class="pl-s1">a</span>, <span class="pl-s1">b</span>, <span class="pl-s1">c</span>) <span class="pl-en">i</span>(<span class="pl-c1">1</span>, <span class="pl-c1">-</span><span class="pl-c1">2</span>) <span class="pl-en">i</span>(<span class="pl-c1">2</span>, <span class="pl-c1">-</span><span class="pl-c1">2</span>) <span class="pl-en">i</span>(<span class="pl-c1">2</span>, <span class="pl-c1">2</span>) <span class="pl-en">i</span>(<span class="pl-c1">-</span><span class="pl-c1">2</span>, <span class="pl-c1">2</span>) <span class="pl-en">i</span>(<span class="pl-c1">-</span><span class="pl-c1">2</span>, <span class="pl-c1">-</span><span class="pl-c1">2</span>)</pre></div> <h3 dir="auto">Error message</h3> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="None"><pre class="notranslate">None</pre></div> <h3 dir="auto">SciPy/NumPy/Python version information</h3> <p dir="auto"><code class="notranslate">1.9.1 1.21.2 sys.version_info(major=3, minor=8, micro=10, releaselevel='final', serial=0)</code></p>
<p dir="auto">The documentation for interp2d [0] says that when fill_value is left as default, values outside the domain are extrapolated. It seems to just copy the nearest neighbor.</p> <p dir="auto">[0] <a href="https://docs.scipy.org/doc/scipy-0.19.1/reference/generated/scipy.interpolate.interp2d.html" rel="nofollow">https://docs.scipy.org/doc/scipy-0.19.1/reference/generated/scipy.interpolate.interp2d.html</a></p> <h3 dir="auto">Reproducing code example:</h3> <p dir="auto"><a href="https://gist.github.com/ddasilva/1a020ff09e6fef688dd1c9acf5659f50">https://gist.github.com/ddasilva/1a020ff09e6fef688dd1c9acf5659f50</a></p> <h3 dir="auto">Error message:</h3> <p dir="auto">No error message occurs.</p> <h3 dir="auto">Scipy/Numpy/Python version information:</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="('0.19.1', '1.13.1', sys.version_info(major=2, minor=7, micro=13, releaselevel='final', serial=0)) In [60]:"><pre class="notranslate"><code class="notranslate">('0.19.1', '1.13.1', sys.version_info(major=2, minor=7, micro=13, releaselevel='final', serial=0)) In [60]: </code></pre></div>
1
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/zipline-use-the-twitch.tv-json-api" rel="nofollow">http://www.freecodecamp.com/challenges/zipline-use-the-twitch.tv-json-api</a> has an issue. Please describe how to reproduce it, and include links to screen shots if possible.</p> <p dir="auto">Step <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="53941829" data-permission-text="Title is private" data-url="https://github.com/freeCodeCamp/freeCodeCamp/issues/13" data-hovercard-type="pull_request" data-hovercard-url="/freeCodeCamp/freeCodeCamp/pull/13/hovercard" href="https://github.com/freeCodeCamp/freeCodeCamp/pull/13">#13</a>: "Remember to use RSAP if you get stuck. Try using jQuery's $.getJSON() to consume APIs."<br> ...links incorrectly to this url: <a href="http://api.jquery.com/jquery.each/" rel="nofollow">http://api.jquery.com/jquery.each/</a></p> <p dir="auto">It should link to: <a href="http://api.jquery.com/jquery.getjson/" rel="nofollow">http://api.jquery.com/jquery.getjson/</a></p> <p dir="auto">Unless that misdirection is meant to be tricky for the student ;)</p>
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/zipline-build-a-random-quote-machine" rel="nofollow">http://www.freecodecamp.com/challenges/zipline-build-a-random-quote-machine</a> has an issue. Please describe how to reproduce it, and include links to screen shots if possible.</p> <p dir="auto">Item 8 in the list. There is a link titled "jQuery.getJSON()" but it links to the method "jQuery.each()". Not sure if that's intended or not, but it seems like a minor bug.</p>
1
<p dir="auto"><strong>Bug summary</strong></p> <ul dir="auto"> <li>When switching the axes scaling to 'log' the ticklabel font changes to a different font.</li> </ul> <p dir="auto"><strong>Code for reproduction</strong></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="logscale = True # create test data nPoints = 200 xValues = np.logspace(-14, -4, nPoints) yValues = [x / (1.0e-9 + x) for x in xValues] # set up figure f, ax1 = plt.subplots(1) # plot data ax1.plot(xValues, yValues) # set range and scale ax1.set_xlim(1.0e-14, 1.0e-4) if (logscale): ax1.set_xscale('log') ax1.set_ylim(-0.03, 1.03) # save to file using pdf backend f.savefig('minimal.pdf')"><pre class="notranslate"><span class="pl-s1">logscale</span> <span class="pl-c1">=</span> <span class="pl-c1">True</span> <span class="pl-c"># create test data</span> <span class="pl-s1">nPoints</span> <span class="pl-c1">=</span> <span class="pl-c1">200</span> <span class="pl-s1">xValues</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">logspace</span>(<span class="pl-c1">-</span><span class="pl-c1">14</span>, <span class="pl-c1">-</span><span class="pl-c1">4</span>, <span class="pl-s1">nPoints</span>) <span class="pl-s1">yValues</span> <span class="pl-c1">=</span> [<span class="pl-s1">x</span> <span class="pl-c1">/</span> (<span class="pl-c1">1.0e-9</span> <span class="pl-c1">+</span> <span class="pl-s1">x</span>) <span class="pl-k">for</span> <span class="pl-s1">x</span> <span class="pl-c1">in</span> <span class="pl-s1">xValues</span>] <span class="pl-c"># set up figure</span> <span class="pl-s1">f</span>, <span class="pl-s1">ax1</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>(<span class="pl-c1">1</span>) <span class="pl-c"># plot data </span> <span class="pl-s1">ax1</span>.<span class="pl-en">plot</span>(<span class="pl-s1">xValues</span>, <span class="pl-s1">yValues</span>) <span class="pl-c"># set range and scale</span> <span class="pl-s1">ax1</span>.<span class="pl-en">set_xlim</span>(<span class="pl-c1">1.0e-14</span>, <span class="pl-c1">1.0e-4</span>) <span class="pl-k">if</span> (<span class="pl-s1">logscale</span>): <span class="pl-s1">ax1</span>.<span class="pl-en">set_xscale</span>(<span class="pl-s">'log'</span>) <span class="pl-s1">ax1</span>.<span class="pl-en">set_ylim</span>(<span class="pl-c1">-</span><span class="pl-c1">0.03</span>, <span class="pl-c1">1.03</span>) <span class="pl-c"># save to file using pdf backend</span> <span class="pl-s1">f</span>.<span class="pl-en">savefig</span>(<span class="pl-s">'minimal.pdf'</span>)</pre></div> <p dir="auto"><strong>Actual outcome</strong></p> <p dir="auto"><a href="https://github.com/matplotlib/matplotlib/files/819448/minimal.pdf">minimal.pdf</a></p> <p dir="auto"><strong>Matplotlib version</strong></p> <p dir="auto">This used to work for me in matplotlib version 1.5.1<br> I am currently using mpl version 2.0.0 on OSX 10.11.6.<br> My python version is 2.7.13<br> I am using homebrew provided python and installed matplotlib with pip.</p>
<h3 dir="auto">Bug report</h3> <p dir="auto"><strong>Bug summary</strong></p> <p dir="auto">Setting the font family through <code class="notranslate">rcParams</code> doesn't impact tick labels if the axis is log-scaled. The size of the font can be changed, but not the family (e.g. using the serif font).</p> <p dir="auto"><strong>Code for reproduction</strong></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt from matplotlib import rcParams rcParams['font.family'] = 'serif' rcParams['font.size'] = 16 x = [0, 1, 2] y = [1, 100, 10000] plt.plot(x, y) plt.yscale('log') plt.savefig('logscaled.png') plt.clf() plt.plot(x, y) plt.savefig('not-logscaled.png')"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span> <span class="pl-k">from</span> <span class="pl-s1">matplotlib</span> <span class="pl-k">import</span> <span class="pl-s1">rcParams</span> <span class="pl-s1">rcParams</span>[<span class="pl-s">'font.family'</span>] <span class="pl-c1">=</span> <span class="pl-s">'serif'</span> <span class="pl-s1">rcParams</span>[<span class="pl-s">'font.size'</span>] <span class="pl-c1">=</span> <span class="pl-c1">16</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> [<span class="pl-c1">0</span>, <span class="pl-c1">1</span>, <span class="pl-c1">2</span>] <span class="pl-s1">y</span> <span class="pl-c1">=</span> [<span class="pl-c1">1</span>, <span class="pl-c1">100</span>, <span class="pl-c1">10000</span>] <span class="pl-s1">plt</span>.<span class="pl-en">plot</span>(<span class="pl-s1">x</span>, <span class="pl-s1">y</span>) <span class="pl-s1">plt</span>.<span class="pl-en">yscale</span>(<span class="pl-s">'log'</span>) <span class="pl-s1">plt</span>.<span class="pl-en">savefig</span>(<span class="pl-s">'logscaled.png'</span>) <span class="pl-s1">plt</span>.<span class="pl-en">clf</span>() <span class="pl-s1">plt</span>.<span class="pl-en">plot</span>(<span class="pl-s1">x</span>, <span class="pl-s1">y</span>) <span class="pl-s1">plt</span>.<span class="pl-en">savefig</span>(<span class="pl-s">'not-logscaled.png'</span>)</pre></div> <p dir="auto"><strong>Actual outcome</strong></p> <p dir="auto">As seen in this screenshot, the linear-scaled y-axis on the left has a serif font while the log-scaled y-axis on the right still has the default sans-serif font. In both cases the font size is set appropriately to 16. It's just the font family that doesn't change. (Pardon the 'shadow' between the two images, that's my Mac, not matplotlib).</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/15069804/22612861/b6e4ed96-ea30-11e6-8df6-4c192ca0de51.png"><img src="https://cloud.githubusercontent.com/assets/15069804/22612861/b6e4ed96-ea30-11e6-8df6-4c192ca0de51.png" alt="issue" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Expected outcome</strong></p> <p dir="auto">The code should produce tick labels on log-scaled axes with the specified font family.</p> <p dir="auto"><strong>Matplotlib version</strong></p> <ul dir="auto"> <li>Mac OS X 10.10.5</li> <li>python 3.5, installed from a <a href="https://www.python.org/downloads/mac-osx/" rel="nofollow">Mac installer pkg</a></li> <li>matplotlib 2.0.0 - upgraded February 3 with <code class="notranslate">python3 -m pip install --upgrade matplotlib</code></li> </ul>
1
<p dir="auto">In 0.9.x queryGranularity when represented as string was defaulting to use DurationGranularity. Now after the changes in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="200848367" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/3850" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/3850/hovercard" href="https://github.com/apache/druid/pull/3850">#3850</a>, it is now defaulted to use PeriodGranularity instead. This change is incompatible w.r.t timezone as both implementations behave differently based on the user timezone.</p> <p dir="auto">Sample code -</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" DateTimeZone.setDefault(DateTimeZone.forOffsetHours(5)); PeriodGranularity periodGranularity = new PeriodGranularity(new Period(&quot;P2D&quot;), null, null); DurationGranularity durationGranularity = new DurationGranularity(86400000, 0); System.out.println(jsonMapper.writeValueAsString(periodGranularity)); System.out.println(jsonMapper.writeValueAsString(durationGranularity));"><pre class="notranslate"><code class="notranslate"> DateTimeZone.setDefault(DateTimeZone.forOffsetHours(5)); PeriodGranularity periodGranularity = new PeriodGranularity(new Period("P2D"), null, null); DurationGranularity durationGranularity = new DurationGranularity(86400000, 0); System.out.println(jsonMapper.writeValueAsString(periodGranularity)); System.out.println(jsonMapper.writeValueAsString(durationGranularity)); </code></pre></div> <p dir="auto">output -</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{&quot;type&quot;:&quot;period&quot;,&quot;period&quot;:&quot;P2D&quot;,&quot;timeZone&quot;:&quot;UTC&quot;,&quot;origin&quot;:null} {&quot;type&quot;:&quot;duration&quot;,&quot;duration&quot;:86400000,&quot;origin&quot;:&quot;1970-01-01T05:00:00.000+05:00&quot;}"><pre class="notranslate"><code class="notranslate">{"type":"period","period":"P2D","timeZone":"UTC","origin":null} {"type":"duration","duration":86400000,"origin":"1970-01-01T05:00:00.000+05:00"} </code></pre></div> <p dir="auto">Notice the origin in both the versions, PeriodGranularity defaults to UTC timezone if no timezone is specified explicitly while DurationGranularity defaults to the user timezone.</p>
<p dir="auto">In doc Period Granularities are described as:</p> <ol dir="auto"> <li>They support specifying a time zone which determines where period boundaries start</li> <li>as well as the timezone of the returned timestamps</li> </ol> <p dir="auto">I run druid in UTC time. In my timeseries query,<br> This is intervals <code class="notranslate">"intervals":["2017-05-14T00:00:00.000+08:00/2017-05-16T00:00:00.000+08:00"]</code>, this is granularity <code class="notranslate">"granularity":{"period":"P1D","timeZone":"Asia/Shanghai","type":"period"}</code>,<br> And this is what I got</p> <blockquote> <p dir="auto">[<br> {<br> "timestamp": "2017-05-13T16:00:00.000Z",<br> "result": {<br> "error_count": 6154866,<br> "sum_count": 353336733<br> }<br> },<br> {<br> "timestamp": "2017-05-14T16:00:00.000Z",<br> "result": {<br> "error_count": 6115738,<br> "sum_count": 357000114<br> }<br> }<br> ]</p> </blockquote> <p dir="auto">The result is correct according to the first description as it start the time bucket from UTC 16:00:00, but according to second description, the timestamp in result are supposed to <code class="notranslate">2017-05-14T00:00:00.000+08:00</code> and <code class="notranslate">2017-05-15T00:00:00.000+08:00</code> and they are in 0.9.2.</p> <p dir="auto">So, is it a bug to fix?</p>
1
<h3 dir="auto">Problem description</h3> <p dir="auto">Warnings after upgrade to latest React (currently 15.3.0)</p> <h3 dir="auto">Steps to reproduce</h3> <ol dir="auto"> <li>Remove <code class="notranslate">node_modules</code> folder, run <code class="notranslate">npm install</code> to install the latest React</li> <li>Run docs site</li> <li>See a lot of messages in console like this:</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="webpack:///../~/fbjs/lib/warning.js?:44 Warning: You are manually calling a React.PropTypes validation function for the `valueLink` prop on `_class`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."><pre class="notranslate"><code class="notranslate">webpack:///../~/fbjs/lib/warning.js?:44 Warning: You are manually calling a React.PropTypes validation function for the `valueLink` prop on `_class`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details. </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="webpack:///../~/fbjs/lib/warning.js?:44 Warning: Unknown prop `openImmediately` on &lt;div&gt; tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop"><pre class="notranslate"><code class="notranslate">webpack:///../~/fbjs/lib/warning.js?:44 Warning: Unknown prop `openImmediately` on &lt;div&gt; tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop </code></pre></div> <h3 dir="auto">Versions</h3> <ul dir="auto"> <li>Material-UI: 0.15.2</li> <li>React: 15.3.0</li> <li>Browser: Chrome 51</li> </ul>
<h3 dir="auto">Problem description</h3> <p dir="auto">I was updating my app to React 15.3.0 and got a lot of warnings.</p> <p dir="auto">See below for the logs.</p> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto">Just update to React 15.3.0</p> <h3 dir="auto">Versions</h3> <ul dir="auto"> <li>Material-UI: 0.15.2</li> <li>React: 15.3.0</li> <li>Browser: Brave 0.11.1</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ReactDOM.js:75Download the React DevTools for a better development experience: https://fb.me/react-devtools ReactDOM.js:66Download the React DevTools for a better development experience: https://fb.me/react-devtools warning.js:44Warning: You are manually calling a React.PropTypes validation function for the `onEnterKeyDown` prop on `TextField`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187Login.render @ Login.tsx:40allowStateChanges @ mobx.js:600(anonymous function) @ index.js:124trackDerivedFunction @ mobx.js:836Reaction.track @ mobx.js:1040reactiveRender @ index.js:121initialRender @ index.js:115_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountComponentIntoNode @ ReactMount.js:105perform @ Transaction.js:138batchedMountComponentIntoNode @ ReactMount.js:126perform @ Transaction.js:138batchedUpdates @ ReactDefaultBatchingStrategy.js:63batchedUpdates @ ReactUpdates.js:98_renderNewRootComponent @ ReactMount.js:285_renderSubtreeIntoContainer @ ReactMount.js:371render @ ReactMount.js:392(anonymous function) @ Index.tsx:87__webpack_require__ @ bootstrap a2cac05…:555fn @ bootstrap a2cac05…:86(anonymous function) @ bootstrap a2cac05…:578__webpack_require__ @ bootstrap a2cac05…:555(anonymous function) @ bootstrap a2cac05…:578(anonymous function) @ bootstrap a2cac05…:578 warning.js:44Warning: You are manually calling a React.PropTypes validation function for the `linkButton` prop on `EnhancedButton`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187render @ RaisedButton.js:318_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountComponentIntoNode @ ReactMount.js:105perform @ Transaction.js:138batchedMountComponentIntoNode @ ReactMount.js:126perform @ Transaction.js:138batchedUpdates @ ReactDefaultBatchingStrategy.js:63batchedUpdates @ ReactUpdates.js:98_renderNewRootComponent @ ReactMount.js:285_renderSubtreeIntoContainer @ ReactMount.js:371render @ ReactMount.js:392(anonymous function) @ Index.tsx:87__webpack_require__ @ bootstrap a2cac05…:555fn @ bootstrap a2cac05…:86(anonymous function) @ bootstrap a2cac05…:578__webpack_require__ @ bootstrap a2cac05…:555(anonymous function) @ bootstrap a2cac05…:578(anonymous function) @ bootstrap a2cac05…:578 client.js:55[HMR] connected warning.js:44 Warning: You are manually calling a React.PropTypes validation function for the `animated` prop on `Menu`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187render @ IconMenu.js:202_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47_updateRenderedComponent @ ReactCompositeComponent.js:800_performComponentUpdate @ ReactCompositeComponent.js:753updateComponent @ ReactCompositeComponent.js:670receiveComponent @ ReactCompositeComponent.js:564receiveComponent @ ReactReconciler.js:129_updateRenderedComponent @ ReactCompositeComponent.js:784_performComponentUpdate @ ReactCompositeComponent.js:753updateComponent @ ReactCompositeComponent.js:670performUpdateIfNecessary @ ReactCompositeComponent.js:578performUpdateIfNecessary @ ReactReconciler.js:163runBatchedUpdates @ ReactUpdates.js:151perform @ Transaction.js:138perform @ Transaction.js:138perform @ ReactUpdates.js:90flushBatchedUpdates @ ReactUpdates.js:173closeAll @ Transaction.js:204perform @ Transaction.js:151batchedUpdates @ ReactDefaultBatchingStrategy.js:63enqueueUpdate @ ReactUpdates.js:201enqueueUpdate @ ReactUpdateQueue.js:25enqueueSetState @ ReactUpdateQueue.js:210ReactComponent.setState @ ReactComponent.js:64(anonymous function) @ Router.js:129(anonymous function) @ createTransitionManager.js:289(anonymous function) @ createTransitionManager.js:118done @ AsyncUtils.js:79(anonymous function) @ AsyncUtils.js:85getComponentsForRoute @ getComponents.js:15(anonymous function) @ getComponents.js:41(anonymous function) @ AsyncUtils.js:84mapAsync @ AsyncUtils.js:83getComponents @ getComponents.js:40finishEnterHooks @ createTransitionManager.js:112next @ AsyncUtils.js:52loopAsync @ AsyncUtils.js:56runTransitionHooks @ TransitionUtils.js:70runEnterHooks @ TransitionUtils.js:93(anonymous function) @ createTransitionManager.js:105runTransitionHooks @ TransitionUtils.js:50runChangeHooks @ TransitionUtils.js:110finishMatch @ createTransitionManager.js:102(anonymous function) @ createTransitionManager.js:78next @ AsyncUtils.js:46loopAsync @ AsyncUtils.js:56matchRoutes @ matchRoutes.js:241match @ createTransitionManager.js:74(anonymous function) @ createTransitionManager.js:283(anonymous function) @ useQueries.js:109(anonymous function) @ useBasename.js:99(anonymous function) @ createHistory.js:96updateLocation @ createHistory.js:95(anonymous function) @ createHistory.js:157(anonymous function) @ createHistory.js:133next @ AsyncUtils.js:53loopAsync @ AsyncUtils.js:57confirmTransitionTo @ createHistory.js:119transitionTo @ createHistory.js:145push @ createHistory.js:168push @ useBasename.js:105push @ useQueries.js:115Cmd_1.Cmd.to @ pushHistory.ts:5Cmd.baseFunc @ Cmd.ts:14Cmd.exec @ Cmd.ts:31(anonymous function) @ api.ts:63 warning.js:44 Warning: You are manually calling a React.PropTypes validation function for the `openDirection` prop on `Menu`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187render @ IconMenu.js:202_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47_updateRenderedComponent @ ReactCompositeComponent.js:800_performComponentUpdate @ ReactCompositeComponent.js:753updateComponent @ ReactCompositeComponent.js:670receiveComponent @ ReactCompositeComponent.js:564receiveComponent @ ReactReconciler.js:129_updateRenderedComponent @ ReactCompositeComponent.js:784_performComponentUpdate @ ReactCompositeComponent.js:753updateComponent @ ReactCompositeComponent.js:670performUpdateIfNecessary @ ReactCompositeComponent.js:578performUpdateIfNecessary @ ReactReconciler.js:163runBatchedUpdates @ ReactUpdates.js:151perform @ Transaction.js:138perform @ Transaction.js:138perform @ ReactUpdates.js:90flushBatchedUpdates @ ReactUpdates.js:173closeAll @ Transaction.js:204perform @ Transaction.js:151batchedUpdates @ ReactDefaultBatchingStrategy.js:63enqueueUpdate @ ReactUpdates.js:201enqueueUpdate @ ReactUpdateQueue.js:25enqueueSetState @ ReactUpdateQueue.js:210ReactComponent.setState @ ReactComponent.js:64(anonymous function) @ Router.js:129(anonymous function) @ createTransitionManager.js:289(anonymous function) @ createTransitionManager.js:118done @ AsyncUtils.js:79(anonymous function) @ AsyncUtils.js:85getComponentsForRoute @ getComponents.js:15(anonymous function) @ getComponents.js:41(anonymous function) @ AsyncUtils.js:84mapAsync @ AsyncUtils.js:83getComponents @ getComponents.js:40finishEnterHooks @ createTransitionManager.js:112next @ AsyncUtils.js:52loopAsync @ AsyncUtils.js:56runTransitionHooks @ TransitionUtils.js:70runEnterHooks @ TransitionUtils.js:93(anonymous function) @ createTransitionManager.js:105runTransitionHooks @ TransitionUtils.js:50runChangeHooks @ TransitionUtils.js:110finishMatch @ createTransitionManager.js:102(anonymous function) @ createTransitionManager.js:78next @ AsyncUtils.js:46loopAsync @ AsyncUtils.js:56matchRoutes @ matchRoutes.js:241match @ createTransitionManager.js:74(anonymous function) @ createTransitionManager.js:283(anonymous function) @ useQueries.js:109(anonymous function) @ useBasename.js:99(anonymous function) @ createHistory.js:96updateLocation @ createHistory.js:95(anonymous function) @ createHistory.js:157(anonymous function) @ createHistory.js:133next @ AsyncUtils.js:53loopAsync @ AsyncUtils.js:57confirmTransitionTo @ createHistory.js:119transitionTo @ createHistory.js:145push @ createHistory.js:168push @ useBasename.js:105push @ useQueries.js:115Cmd_1.Cmd.to @ pushHistory.ts:5Cmd.baseFunc @ Cmd.ts:14Cmd.exec @ Cmd.ts:31(anonymous function) @ api.ts:63 warning.js:44 Warning: You are manually calling a React.PropTypes validation function for the `insetSubheader` prop on `List`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187render @ Menu.js:531_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountComponentIntoNode @ ReactMount.js:105perform @ Transaction.js:138batchedMountComponentIntoNode @ ReactMount.js:126batchedUpdates @ ReactDefaultBatchingStrategy.js:61batchedUpdates @ ReactUpdates.js:98_renderNewRootComponent @ ReactMount.js:285_renderSubtreeIntoContainer @ ReactMount.js:371renderSubtreeIntoContainer @ ReactMount.js:313renderLayer @ RenderToLayer.js:156componentDidUpdate @ RenderToLayer.js:75invokeComponentDidUpdateWithTimer @ ReactCompositeComponent.js:71notifyAll @ CallbackQueue.js:67close @ ReactReconcileTransaction.js:81closeAll @ Transaction.js:204perform @ Transaction.js:151perform @ Transaction.js:138perform @ ReactUpdates.js:90flushBatchedUpdates @ ReactUpdates.js:173closeAll @ Transaction.js:204perform @ Transaction.js:151batchedUpdates @ ReactDefaultBatchingStrategy.js:63batchedUpdates @ ReactUpdates.js:98dispatchEvent @ ReactEventListener.js:150 warning.js:44 Warning: You are manually calling a React.PropTypes validation function for the `subheader` prop on `List`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187render @ Menu.js:531_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountComponentIntoNode @ ReactMount.js:105perform @ Transaction.js:138batchedMountComponentIntoNode @ ReactMount.js:126batchedUpdates @ ReactDefaultBatchingStrategy.js:61batchedUpdates @ ReactUpdates.js:98_renderNewRootComponent @ ReactMount.js:285_renderSubtreeIntoContainer @ ReactMount.js:371renderSubtreeIntoContainer @ ReactMount.js:313renderLayer @ RenderToLayer.js:156componentDidUpdate @ RenderToLayer.js:75invokeComponentDidUpdateWithTimer @ ReactCompositeComponent.js:71notifyAll @ CallbackQueue.js:67close @ ReactReconcileTransaction.js:81closeAll @ Transaction.js:204perform @ Transaction.js:151perform @ Transaction.js:138perform @ ReactUpdates.js:90flushBatchedUpdates @ ReactUpdates.js:173closeAll @ Transaction.js:204perform @ Transaction.js:151batchedUpdates @ ReactDefaultBatchingStrategy.js:63batchedUpdates @ ReactUpdates.js:98dispatchEvent @ ReactEventListener.js:150 warning.js:44 Warning: You are manually calling a React.PropTypes validation function for the `subheaderStyle` prop on `List`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187render @ Menu.js:531_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountComponentIntoNode @ ReactMount.js:105perform @ Transaction.js:138batchedMountComponentIntoNode @ ReactMount.js:126batchedUpdates @ ReactDefaultBatchingStrategy.js:61batchedUpdates @ ReactUpdates.js:98_renderNewRootComponent @ ReactMount.js:285_renderSubtreeIntoContainer @ ReactMount.js:371renderSubtreeIntoContainer @ ReactMount.js:313renderLayer @ RenderToLayer.js:156componentDidUpdate @ RenderToLayer.js:75invokeComponentDidUpdateWithTimer @ ReactCompositeComponent.js:71notifyAll @ CallbackQueue.js:67close @ ReactReconcileTransaction.js:81closeAll @ Transaction.js:204perform @ Transaction.js:151perform @ Transaction.js:138perform @ ReactUpdates.js:90flushBatchedUpdates @ ReactUpdates.js:173closeAll @ Transaction.js:204perform @ Transaction.js:151batchedUpdates @ ReactDefaultBatchingStrategy.js:63batchedUpdates @ ReactUpdates.js:98dispatchEvent @ ReactEventListener.js:150"><pre class="notranslate"><code class="notranslate">ReactDOM.js:75Download the React DevTools for a better development experience: https://fb.me/react-devtools ReactDOM.js:66Download the React DevTools for a better development experience: https://fb.me/react-devtools warning.js:44Warning: You are manually calling a React.PropTypes validation function for the `onEnterKeyDown` prop on `TextField`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187Login.render @ Login.tsx:40allowStateChanges @ mobx.js:600(anonymous function) @ index.js:124trackDerivedFunction @ mobx.js:836Reaction.track @ mobx.js:1040reactiveRender @ index.js:121initialRender @ index.js:115_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountComponentIntoNode @ ReactMount.js:105perform @ Transaction.js:138batchedMountComponentIntoNode @ ReactMount.js:126perform @ Transaction.js:138batchedUpdates @ ReactDefaultBatchingStrategy.js:63batchedUpdates @ ReactUpdates.js:98_renderNewRootComponent @ ReactMount.js:285_renderSubtreeIntoContainer @ ReactMount.js:371render @ ReactMount.js:392(anonymous function) @ Index.tsx:87__webpack_require__ @ bootstrap a2cac05…:555fn @ bootstrap a2cac05…:86(anonymous function) @ bootstrap a2cac05…:578__webpack_require__ @ bootstrap a2cac05…:555(anonymous function) @ bootstrap a2cac05…:578(anonymous function) @ bootstrap a2cac05…:578 warning.js:44Warning: You are manually calling a React.PropTypes validation function for the `linkButton` prop on `EnhancedButton`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187render @ RaisedButton.js:318_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountComponentIntoNode @ ReactMount.js:105perform @ Transaction.js:138batchedMountComponentIntoNode @ ReactMount.js:126perform @ Transaction.js:138batchedUpdates @ ReactDefaultBatchingStrategy.js:63batchedUpdates @ ReactUpdates.js:98_renderNewRootComponent @ ReactMount.js:285_renderSubtreeIntoContainer @ ReactMount.js:371render @ ReactMount.js:392(anonymous function) @ Index.tsx:87__webpack_require__ @ bootstrap a2cac05…:555fn @ bootstrap a2cac05…:86(anonymous function) @ bootstrap a2cac05…:578__webpack_require__ @ bootstrap a2cac05…:555(anonymous function) @ bootstrap a2cac05…:578(anonymous function) @ bootstrap a2cac05…:578 client.js:55[HMR] connected warning.js:44 Warning: You are manually calling a React.PropTypes validation function for the `animated` prop on `Menu`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187render @ IconMenu.js:202_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47_updateRenderedComponent @ ReactCompositeComponent.js:800_performComponentUpdate @ ReactCompositeComponent.js:753updateComponent @ ReactCompositeComponent.js:670receiveComponent @ ReactCompositeComponent.js:564receiveComponent @ ReactReconciler.js:129_updateRenderedComponent @ ReactCompositeComponent.js:784_performComponentUpdate @ ReactCompositeComponent.js:753updateComponent @ ReactCompositeComponent.js:670performUpdateIfNecessary @ ReactCompositeComponent.js:578performUpdateIfNecessary @ ReactReconciler.js:163runBatchedUpdates @ ReactUpdates.js:151perform @ Transaction.js:138perform @ Transaction.js:138perform @ ReactUpdates.js:90flushBatchedUpdates @ ReactUpdates.js:173closeAll @ Transaction.js:204perform @ Transaction.js:151batchedUpdates @ ReactDefaultBatchingStrategy.js:63enqueueUpdate @ ReactUpdates.js:201enqueueUpdate @ ReactUpdateQueue.js:25enqueueSetState @ ReactUpdateQueue.js:210ReactComponent.setState @ ReactComponent.js:64(anonymous function) @ Router.js:129(anonymous function) @ createTransitionManager.js:289(anonymous function) @ createTransitionManager.js:118done @ AsyncUtils.js:79(anonymous function) @ AsyncUtils.js:85getComponentsForRoute @ getComponents.js:15(anonymous function) @ getComponents.js:41(anonymous function) @ AsyncUtils.js:84mapAsync @ AsyncUtils.js:83getComponents @ getComponents.js:40finishEnterHooks @ createTransitionManager.js:112next @ AsyncUtils.js:52loopAsync @ AsyncUtils.js:56runTransitionHooks @ TransitionUtils.js:70runEnterHooks @ TransitionUtils.js:93(anonymous function) @ createTransitionManager.js:105runTransitionHooks @ TransitionUtils.js:50runChangeHooks @ TransitionUtils.js:110finishMatch @ createTransitionManager.js:102(anonymous function) @ createTransitionManager.js:78next @ AsyncUtils.js:46loopAsync @ AsyncUtils.js:56matchRoutes @ matchRoutes.js:241match @ createTransitionManager.js:74(anonymous function) @ createTransitionManager.js:283(anonymous function) @ useQueries.js:109(anonymous function) @ useBasename.js:99(anonymous function) @ createHistory.js:96updateLocation @ createHistory.js:95(anonymous function) @ createHistory.js:157(anonymous function) @ createHistory.js:133next @ AsyncUtils.js:53loopAsync @ AsyncUtils.js:57confirmTransitionTo @ createHistory.js:119transitionTo @ createHistory.js:145push @ createHistory.js:168push @ useBasename.js:105push @ useQueries.js:115Cmd_1.Cmd.to @ pushHistory.ts:5Cmd.baseFunc @ Cmd.ts:14Cmd.exec @ Cmd.ts:31(anonymous function) @ api.ts:63 warning.js:44 Warning: You are manually calling a React.PropTypes validation function for the `openDirection` prop on `Menu`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187render @ IconMenu.js:202_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47_updateRenderedComponent @ ReactCompositeComponent.js:800_performComponentUpdate @ ReactCompositeComponent.js:753updateComponent @ ReactCompositeComponent.js:670receiveComponent @ ReactCompositeComponent.js:564receiveComponent @ ReactReconciler.js:129_updateRenderedComponent @ ReactCompositeComponent.js:784_performComponentUpdate @ ReactCompositeComponent.js:753updateComponent @ ReactCompositeComponent.js:670performUpdateIfNecessary @ ReactCompositeComponent.js:578performUpdateIfNecessary @ ReactReconciler.js:163runBatchedUpdates @ ReactUpdates.js:151perform @ Transaction.js:138perform @ Transaction.js:138perform @ ReactUpdates.js:90flushBatchedUpdates @ ReactUpdates.js:173closeAll @ Transaction.js:204perform @ Transaction.js:151batchedUpdates @ ReactDefaultBatchingStrategy.js:63enqueueUpdate @ ReactUpdates.js:201enqueueUpdate @ ReactUpdateQueue.js:25enqueueSetState @ ReactUpdateQueue.js:210ReactComponent.setState @ ReactComponent.js:64(anonymous function) @ Router.js:129(anonymous function) @ createTransitionManager.js:289(anonymous function) @ createTransitionManager.js:118done @ AsyncUtils.js:79(anonymous function) @ AsyncUtils.js:85getComponentsForRoute @ getComponents.js:15(anonymous function) @ getComponents.js:41(anonymous function) @ AsyncUtils.js:84mapAsync @ AsyncUtils.js:83getComponents @ getComponents.js:40finishEnterHooks @ createTransitionManager.js:112next @ AsyncUtils.js:52loopAsync @ AsyncUtils.js:56runTransitionHooks @ TransitionUtils.js:70runEnterHooks @ TransitionUtils.js:93(anonymous function) @ createTransitionManager.js:105runTransitionHooks @ TransitionUtils.js:50runChangeHooks @ TransitionUtils.js:110finishMatch @ createTransitionManager.js:102(anonymous function) @ createTransitionManager.js:78next @ AsyncUtils.js:46loopAsync @ AsyncUtils.js:56matchRoutes @ matchRoutes.js:241match @ createTransitionManager.js:74(anonymous function) @ createTransitionManager.js:283(anonymous function) @ useQueries.js:109(anonymous function) @ useBasename.js:99(anonymous function) @ createHistory.js:96updateLocation @ createHistory.js:95(anonymous function) @ createHistory.js:157(anonymous function) @ createHistory.js:133next @ AsyncUtils.js:53loopAsync @ AsyncUtils.js:57confirmTransitionTo @ createHistory.js:119transitionTo @ createHistory.js:145push @ createHistory.js:168push @ useBasename.js:105push @ useQueries.js:115Cmd_1.Cmd.to @ pushHistory.ts:5Cmd.baseFunc @ Cmd.ts:14Cmd.exec @ Cmd.ts:31(anonymous function) @ api.ts:63 warning.js:44 Warning: You are manually calling a React.PropTypes validation function for the `insetSubheader` prop on `List`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187render @ Menu.js:531_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountComponentIntoNode @ ReactMount.js:105perform @ Transaction.js:138batchedMountComponentIntoNode @ ReactMount.js:126batchedUpdates @ ReactDefaultBatchingStrategy.js:61batchedUpdates @ ReactUpdates.js:98_renderNewRootComponent @ ReactMount.js:285_renderSubtreeIntoContainer @ ReactMount.js:371renderSubtreeIntoContainer @ ReactMount.js:313renderLayer @ RenderToLayer.js:156componentDidUpdate @ RenderToLayer.js:75invokeComponentDidUpdateWithTimer @ ReactCompositeComponent.js:71notifyAll @ CallbackQueue.js:67close @ ReactReconcileTransaction.js:81closeAll @ Transaction.js:204perform @ Transaction.js:151perform @ Transaction.js:138perform @ ReactUpdates.js:90flushBatchedUpdates @ ReactUpdates.js:173closeAll @ Transaction.js:204perform @ Transaction.js:151batchedUpdates @ ReactDefaultBatchingStrategy.js:63batchedUpdates @ ReactUpdates.js:98dispatchEvent @ ReactEventListener.js:150 warning.js:44 Warning: You are manually calling a React.PropTypes validation function for the `subheader` prop on `List`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187render @ Menu.js:531_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountComponentIntoNode @ ReactMount.js:105perform @ Transaction.js:138batchedMountComponentIntoNode @ ReactMount.js:126batchedUpdates @ ReactDefaultBatchingStrategy.js:61batchedUpdates @ ReactUpdates.js:98_renderNewRootComponent @ ReactMount.js:285_renderSubtreeIntoContainer @ ReactMount.js:371renderSubtreeIntoContainer @ ReactMount.js:313renderLayer @ RenderToLayer.js:156componentDidUpdate @ RenderToLayer.js:75invokeComponentDidUpdateWithTimer @ ReactCompositeComponent.js:71notifyAll @ CallbackQueue.js:67close @ ReactReconcileTransaction.js:81closeAll @ Transaction.js:204perform @ Transaction.js:151perform @ Transaction.js:138perform @ ReactUpdates.js:90flushBatchedUpdates @ ReactUpdates.js:173closeAll @ Transaction.js:204perform @ Transaction.js:151batchedUpdates @ ReactDefaultBatchingStrategy.js:63batchedUpdates @ ReactUpdates.js:98dispatchEvent @ ReactEventListener.js:150 warning.js:44 Warning: You are manually calling a React.PropTypes validation function for the `subheaderStyle` prop on `List`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187render @ Menu.js:531_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountComponentIntoNode @ ReactMount.js:105perform @ Transaction.js:138batchedMountComponentIntoNode @ ReactMount.js:126batchedUpdates @ ReactDefaultBatchingStrategy.js:61batchedUpdates @ ReactUpdates.js:98_renderNewRootComponent @ ReactMount.js:285_renderSubtreeIntoContainer @ ReactMount.js:371renderSubtreeIntoContainer @ ReactMount.js:313renderLayer @ RenderToLayer.js:156componentDidUpdate @ RenderToLayer.js:75invokeComponentDidUpdateWithTimer @ ReactCompositeComponent.js:71notifyAll @ CallbackQueue.js:67close @ ReactReconcileTransaction.js:81closeAll @ Transaction.js:204perform @ Transaction.js:151perform @ Transaction.js:138perform @ ReactUpdates.js:90flushBatchedUpdates @ ReactUpdates.js:173closeAll @ Transaction.js:204perform @ Transaction.js:151batchedUpdates @ ReactDefaultBatchingStrategy.js:63batchedUpdates @ ReactUpdates.js:98dispatchEvent @ ReactEventListener.js:150 </code></pre></div>
1
<h3 dir="auto">What problem does this feature solve?</h3> <p dir="auto">I often find myself writing code like this:</p> <p dir="auto"><code class="notranslate">&lt;component :data='data' :name='name' :email='email'&gt;&lt;/component&gt;</code></p> <p dir="auto">This code is redundant and isn't fun to write.</p> <h3 dir="auto">What does the proposed API look like?</h3> <p dir="auto">Using es6 <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer" rel="nofollow">Object Literal Shorthand</a> as inspiration, the component could instead be written like this:</p> <p dir="auto"><code class="notranslate">&lt;component :data :name :email&gt;&lt;/component&gt;</code></p>
<blockquote> <p dir="auto">如果在VUE组件中使用继承了Array的子类<br> 只要改对象赋值进入VUE组件中 VUE会把该对象改为VUE能够监听的对象</p> </blockquote> <ol dir="auto"> <li>list类 继承 Array<br> <code class="notranslate">export class List extends Array {</code><br> <code class="notranslate">constructor(){</code><br> <code class="notranslate">super()</code><br> <code class="notranslate">}</code><br> <code class="notranslate">test()</code><br> <code class="notranslate">}</code><br> <code class="notranslate">}</code></li> </ol> <p dir="auto">2.某个VUE组件中<br> <code class="notranslate">import { List } from './list'</code><br> <code class="notranslate">export default {</code><br> <code class="notranslate">data () {</code><br> <code class="notranslate">return {</code><br> <code class="notranslate">list: null</code><br> <code class="notranslate"> }</code><br> <code class="notranslate">},</code><br> <code class="notranslate">created () {</code><br> <code class="notranslate">this.list = new List()</code><br> <code class="notranslate">console.log(new List().test) // =&gt; function....</code><br> <code class="notranslate">console.log(this.list.test) // =&gt; undefined</code><br> <code class="notranslate">}</code><br> <code class="notranslate">}</code></p>
0
<p dir="auto">Sometimes we want to use aggregations to understand the details of how certain entities are connected:</p> <ul dir="auto"> <li>When did these IP addresses talk to each other?</li> <li>How much money was sent per day between a selection of bank accounts?</li> </ul> <p dir="auto">Right now we can structure this with an agg tree as follows:</p> <ul dir="auto"> <li>query terms [A,B,C] with <code class="notranslate">min_should_match:2</code></li> <li>terms agg 1 with <code class="notranslate">include: [A,B,C]</code> <ul dir="auto"> <li>terms agg 2 with <code class="notranslate">include [A,B,C]</code> <ul dir="auto"> <li>detail aggs eg <code class="notranslate">date_histogram</code> or <code class="notranslate">sum</code>...</li> </ul> </li> </ul> </li> </ul> <p dir="auto">This will generate leaf aggregations for all of the possible connections but <em>will generate too many of them.</em> If the number of terms is N the number of leaf buckets created in a worst-case scenario is N² when it need only be (N²-N)/2. We don't want duplicate results for both A-&gt;B and B-&gt;A buckets. Similarly, we don't want A-&gt;A buckets. This trimming can be achieved if <code class="notranslate">terms agg 2</code> only collects terms that are less than the parent bucket's term in <code class="notranslate">terms agg 1</code>. (We could use "greater than" as the filter but the choice is immaterial).</p> <p dir="auto">We could implement this by either:</p> <ol dir="auto"> <li>Adding extra parameters to existing <code class="notranslate">terms</code> aggs or</li> <li>Creating a new dedicated <code class="notranslate">adjacency</code> aggregation</li> </ol> <p dir="auto">Option 1 feels clumsy and introduces a need for changes in the agg framework to allow a child to see the keys used by the parent bucket.<br> The advantage of option 2 is that clients would only need to specify the list of terms once as a parameter and it could provide a more compact results format.</p> <p dir="auto">Would appreciate your thoughts <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/colings86/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/colings86">@colings86</a> and <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jpountz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jpountz">@jpountz</a></p>
<p dir="auto"><strong>Elasticsearch version</strong>: 2.4.1</p> <p dir="auto">After upgrading to the said version from 2.3 we were greeted with a nasty surprise. Templates are now validated upfront, as if they were <em>complete</em> objects, which they are certainly <strong>not</strong>. This design error implemented in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="51177669" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/8802" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/8802/hovercard" href="https://github.com/elastic/elasticsearch/pull/8802">#8802</a> is also cooked for 5.0.</p> <p dir="auto">When a new index is created, all templates are scanned for a match between their pattern and the index name. All applicable templates are then merged in the order indicated by the <code class="notranslate">order</code> property and it's the resulting settings and mappings that are applied to the new index.</p> <p dir="auto">Then why validate templates for completeness?! It's plain silly, and <em>not even documented</em>.</p> <p dir="auto"><strong>Example:</strong><br> All analyzers are defined in a common template that has pattern <code class="notranslate">*</code> and order <code class="notranslate">0</code>. These analyzers can used throughout all indices and it's up to the higher order templates to make actual use of them.<br> This arrangement is now impossible, as you're using the same validator for templates as for an index mapping (which rightfully checks that all referred anlyzers are present).</p> <p dir="auto">The mapping validation code should be more insightful and refrain from such checks when working on templates.</p>
0
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-remove-an-element-using-jquery" rel="nofollow">http://www.freecodecamp.com/challenges/waypoint-remove-an-element-using-jquery</a> has an issue. The instructions on screen</p> <p dir="auto">for this challenge are not clear. They read:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/2212251/9528958/84178d54-4cef-11e5-988a-c2246bce8091.png"><img width="299" alt="screen shot 2015-08-27 at 19 11 50" src="https://cloud.githubusercontent.com/assets/2212251/9528958/84178d54-4cef-11e5-988a-c2246bce8091.png" style="max-width: 100%;"></a><br> "Now let's remove an HTML element from your page using jQuery. jQuery has a function called .remove() that will remove an HTML element entirely."</p> <p dir="auto">However, the instructions don't tell you which element to remove. Only by running the sample code and inspecting the errors can you get details</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/3732268/8272795/471abc26-1849-11e5-81da-0bb597ddf019.PNG"><img src="https://cloud.githubusercontent.com/assets/3732268/8272795/471abc26-1849-11e5-81da-0bb597ddf019.PNG" alt="capture32" style="max-width: 100%;"></a></p> <p dir="auto"><a href="http://www.freecodecamp.com/challenges/bonfire-convert-html-entities" rel="nofollow">http://www.freecodecamp.com/challenges/bonfire-convert-html-entities</a></p> <p dir="auto">the test never passes because it's not calling the Convert() function</p>
0
<p dir="auto">Please:</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Check for duplicate requests.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Describe your goal, and if possible provide a code snippet with a motivating example.</li> </ul> <p dir="auto">Using 16-bit (half-precision) floating point numbers reduces memory usage and can make the program run faster, compared to f.ex. 32-bit. My program is working with complex numbers and I'd like to take advantage of the 16-bit speed-up, but JAX only support <code class="notranslate">complex64</code>.</p> <p dir="auto">Can we add support for half-precision complex numbers (<code class="notranslate">complex32</code>)?</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import jax.numpy as jnp f32 = jnp.array([1, 2, 3], dtype=&quot;float32&quot;) print(f32.size * f32.itemsize) # 12 (bytes) f16 = jnp.array([1, 2, 3], dtype=&quot;bfloat16&quot;) print(f16.size * f16.itemsize) # 6 (bytes) c64 = jnp.array([1, 2, 3], dtype=&quot;complex64&quot;) print(c64.size * c64.itemsize) # 24 (bytes) c32 = jnp.array([1, 2, 3], dtype=&quot;complex32&quot;) print(c32.size * c32.itemsize) # 12 (bytes) &lt;- I want this, but complex32 is not supported"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">jax</span>.<span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">jnp</span> <span class="pl-s1">f32</span> <span class="pl-c1">=</span> <span class="pl-s1">jnp</span>.<span class="pl-en">array</span>([<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s">"float32"</span>) <span class="pl-en">print</span>(<span class="pl-s1">f32</span>.<span class="pl-s1">size</span> <span class="pl-c1">*</span> <span class="pl-s1">f32</span>.<span class="pl-s1">itemsize</span>) <span class="pl-c"># 12 (bytes)</span> <span class="pl-s1">f16</span> <span class="pl-c1">=</span> <span class="pl-s1">jnp</span>.<span class="pl-en">array</span>([<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s">"bfloat16"</span>) <span class="pl-en">print</span>(<span class="pl-s1">f16</span>.<span class="pl-s1">size</span> <span class="pl-c1">*</span> <span class="pl-s1">f16</span>.<span class="pl-s1">itemsize</span>) <span class="pl-c"># 6 (bytes)</span> <span class="pl-s1">c64</span> <span class="pl-c1">=</span> <span class="pl-s1">jnp</span>.<span class="pl-en">array</span>([<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s">"complex64"</span>) <span class="pl-en">print</span>(<span class="pl-s1">c64</span>.<span class="pl-s1">size</span> <span class="pl-c1">*</span> <span class="pl-s1">c64</span>.<span class="pl-s1">itemsize</span>) <span class="pl-c"># 24 (bytes)</span> <span class="pl-s1">c32</span> <span class="pl-c1">=</span> <span class="pl-s1">jnp</span>.<span class="pl-en">array</span>([<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s">"complex32"</span>) <span class="pl-en">print</span>(<span class="pl-s1">c32</span>.<span class="pl-s1">size</span> <span class="pl-c1">*</span> <span class="pl-s1">c32</span>.<span class="pl-s1">itemsize</span>) <span class="pl-c"># 12 (bytes) &lt;- I want this, but complex32 is not supported</span></pre></div> <p dir="auto">If not, is there anything that stops me from making JAX work with half-precision complex numbers today (f.ex. by creating a class that has two fields: <code class="notranslate">real &lt;bfloat16&gt;</code> and <code class="notranslate">imag &lt;bfloat16&gt;</code>)?</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from typing import NamedTuple import jax.numpy as jnp class Complex32(NamedTuple): real: jnp.ndarray imag: jnp.ndarray c32 = Complex32( jnp.array([1, 2, 3], dtype=&quot;bfloat16&quot;), jnp.array([4, 5, 6], dtype=&quot;bfloat16&quot;), ) jnp.abs(c32) # TypeError: absolute requires ndarray or scalar arguments, got &lt;class '__main__.Complex32'&gt; at position 0."><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">typing</span> <span class="pl-k">import</span> <span class="pl-v">NamedTuple</span> <span class="pl-k">import</span> <span class="pl-s1">jax</span>.<span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">jnp</span> <span class="pl-k">class</span> <span class="pl-v">Complex32</span>(<span class="pl-v">NamedTuple</span>): <span class="pl-s1">real</span>: <span class="pl-s1">jnp</span>.<span class="pl-s1">ndarray</span> <span class="pl-s1">imag</span>: <span class="pl-s1">jnp</span>.<span class="pl-s1">ndarray</span> <span class="pl-s1">c32</span> <span class="pl-c1">=</span> <span class="pl-v">Complex32</span>( <span class="pl-s1">jnp</span>.<span class="pl-en">array</span>([<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s">"bfloat16"</span>), <span class="pl-s1">jnp</span>.<span class="pl-en">array</span>([<span class="pl-c1">4</span>, <span class="pl-c1">5</span>, <span class="pl-c1">6</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s">"bfloat16"</span>), ) <span class="pl-s1">jnp</span>.<span class="pl-en">abs</span>(<span class="pl-s1">c32</span>) <span class="pl-c"># TypeError: absolute requires ndarray or scalar arguments, got &lt;class '__main__.Complex32'&gt; at position 0.</span></pre></div> <p dir="auto">Related issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="397819991" data-permission-text="Title is private" data-url="https://github.com/google/jax/issues/216" data-hovercard-type="issue" data-hovercard-url="/google/jax/issues/216/hovercard" href="https://github.com/google/jax/issues/216">#216</a></p> <p dir="auto">Thanks!</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/hawkinsp/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/hawkinsp">@hawkinsp</a> when generating HLO with many reductions, JAX duplicates reduction computations. Despite that not affecting codegen much, the resulting HLO dumps get overly huge and hard to work with due to such computations. Similarly to tf2xla it would be very difficult if JAX could deduplicate such computations.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/348959/129822274-a74cb97d-474f-41d4-98ee-c2829c7c3d87.png"><img src="https://user-images.githubusercontent.com/348959/129822274-a74cb97d-474f-41d4-98ee-c2829c7c3d87.png" alt="unnamed" style="max-width: 100%;"></a></p>
0
<h1 dir="auto">Summary of the new feature/enhancement</h1> <p dir="auto">Add the ability to resize a photo to multiple target resolutions in Image Resizer</p> <p dir="auto">UI for this could be replacing the radio buttons with checkboxes</p>
<h1 dir="auto">Summary of the new feature/enhancement</h1> <p dir="auto">I currently have a subscription to Techsmith Snagit. The reason I have it is because I find 'Snip &amp; Sketch' is missing a couple of key features. It would be great if PowerToys could make a screenshot and screen recording tool for Power Users.</p> <h1 dir="auto">Proposed technical implementation details (optional)</h1> <ul dir="auto"> <li>Ability to copy selected area to clipboard and save as an image in a single button press.</li> <li>Image files can be named with RegEx</li> <li>Can create separate profiles for screenshots, screen recording and assign keyboard shortcuts to each.</li> </ul>
0
<h3 dir="auto">Playwright version</h3> <p dir="auto">1.12.3</p> <h3 dir="auto">Operating system</h3> <p dir="auto">MacOS</p> <h3 dir="auto">What browsers are you seeing the problem on?</h3> <p dir="auto">Firefox</p> <h3 dir="auto">Other information</h3> <p dir="auto">Node: v14.17.0<br> Mac OS: 11.4<br> Firefox: 89</p> <h3 dir="auto">What happened? / Describe the bug</h3> <p dir="auto">When i try to download file in Firefox, i get a 'openFile / saveToDisk' dialog box. Same code works fine in Chrome and Webkit without prompting to open / save the file.</p> <p dir="auto">I followed the documentation mentioned <a href="https://playwright.dev/docs/downloads" rel="nofollow">here</a> to download file.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/22808594/126113203-eaac3380-ef4d-442a-9117-4492a1f2b6ac.png"><img width="377" alt="firefox-download" src="https://user-images.githubusercontent.com/22808594/126113203-eaac3380-ef4d-442a-9117-4492a1f2b6ac.png" style="max-width: 100%;"></a></p> <p dir="auto">I can share the actual code privately if it helps you to troubleshoot the issue</p> <h3 dir="auto">Code snippet to reproduce your bug</h3> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="playwright.config.js ==================== use: { browserName: 'firefox', launchOptions: { downloadsPath: path.join(__dirname, 'downloads'), }, acceptDownloads: true, } example.spec.js =============== let elmFrame = page.frames().find(frame =&gt; frame.name() === 'submainframe'); const [download] = await Promise.all([ page.waitForEvent('download'), // wait for download to start elmFrame.click('css=tr &gt; td &gt;&gt; text=PlaywrightTest &gt;&gt; xpath=parent::td/parent::tr &gt;&gt; td &gt;&gt; css=img[alt=&quot;Download&quot;]'), ]); let downloadPath; downloadPath = await download.path(); console.log(downloadPath);"><pre class="notranslate">playwright.config.js ==================== use: { browserName: <span class="pl-s"><span class="pl-pds">'</span>firefox<span class="pl-pds">'</span></span>, launchOptions: { downloadsPath: path.join(__dirname, <span class="pl-s"><span class="pl-pds">'</span>downloads<span class="pl-pds">'</span></span>), }, acceptDownloads: true, } example.spec.js =============== <span class="pl-c1">let</span> elmFrame = <span class="pl-en">page.frames</span>().find(frame =<span class="pl-k">&gt;</span> <span class="pl-en">frame.name</span>() === <span class="pl-s"><span class="pl-pds">'</span>submainframe<span class="pl-pds">'</span></span>); const [download] = await Promise.all([ page.waitForEvent(<span class="pl-s"><span class="pl-pds">'</span>download<span class="pl-pds">'</span></span>), // <span class="pl-c1">wait</span> <span class="pl-k">for</span> download to start elmFrame.click(<span class="pl-s"><span class="pl-pds">'</span>css=tr &gt; td &gt;&gt; text=PlaywrightTest &gt;&gt; xpath=parent::td/parent::tr &gt;&gt; td &gt;&gt; css=img[alt="Download"]<span class="pl-pds">'</span></span>), ])<span class="pl-k">;</span> <span class="pl-c1">let</span> downloadPath<span class="pl-k">;</span> downloadPath = await <span class="pl-en">download.path</span>(); console.log(downloadPath)<span class="pl-k">;</span></pre></div> <h3 dir="auto">Relevant log output</h3> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="n/a"><pre class="notranslate">n/a</pre></div>
<h3 dir="auto">Playwright version</h3> <p dir="auto">1.13.0</p> <h3 dir="auto">Operating system</h3> <p dir="auto">MacOS</p> <h3 dir="auto">What browsers are you seeing the problem on?</h3> <p dir="auto">Firefox</p> <h3 dir="auto">Other information</h3> <p dir="auto">Node.js v14.15.3</p> <h3 dir="auto">What happened? / Describe the bug</h3> <p dir="auto">Hello!<br> I’m having trouble with the file uploading. The following snippet works OK in Chromium, but fails in the Firefox.<br> Filechooser window appears in FF (Juggler) by clicking on browseForFilesLink if page.waitForEvent('filechooser') is removed.<br> Filechooser window does not appear if page.waitForEvent('filechooser') exists.<br> Unfortunately, I cannot share a website link since it's private.</p> <h3 dir="auto">Code snippet to reproduce your bug</h3> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const frame: Frame = await this.getFrame(); const [fileChooser] = await Promise.all([ page.waitForEvent('filechooser'), frame.click(this.browseForFilesLink), ]); await fileChooser.setFiles(path);"><pre class="notranslate">const frame: Frame = await <span class="pl-en">this.getFrame</span>(); const [fileChooser] = await Promise.all([ page.waitForEvent(<span class="pl-s"><span class="pl-pds">'</span>filechooser<span class="pl-pds">'</span></span>), frame.click(this.browseForFilesLink), ])<span class="pl-k">;</span> await fileChooser.setFiles(path)<span class="pl-k">;</span></pre></div> <h3 dir="auto">Relevant log output</h3> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="● FIREFOX_ItemImport_ › Item_is_imported_successfully_and_found_via_search page.waitForEvent: Timeout while waiting for event &quot;filechooser&quot; =========================== logs =========================== waiting for event &quot;filechooser&quot; ============================================================ 220 | async uploadFile(path: string): Promise&lt;void&gt; { 221 | const [fileChooser] = await Promise.all([ &gt; 222 | page.waitForEvent('filechooser'), | ^ 223 | this.waitAndClick(this.browseForFilesLink), 224 | ]); 225 | await fileChooser.setFiles(path); at GeneralPopup.&lt;anonymous&gt; (src/pages/generalPopup.ts:222:18) at step (src/pages/generalPopup.ts:48:23) at Object.next (src/pages/generalPopup.ts:29:53) at src/pages/generalPopup.ts:23:71 at Object.&lt;anonymous&gt;.__awaiter (src/pages/generalPopup.ts:19:12) at GeneralPopup.Object.&lt;anonymous&gt;.GeneralPopup.uploadFile (src/pages/generalPopup.ts:489:16) at src/Tests/ItemSourcing/ItemImport.test.ts:42:28 at step (src/Tests/ItemSourcing/ItemImport.test.ts:33:23) at Object.next (src/Tests/ItemSourcing/ItemImport.test.ts:14:53) at fulfilled (src/Tests/ItemSourcing/ItemImport.test.ts:5:58)"><pre class="notranslate">● FIREFOX_ItemImport_ › Item_is_imported_successfully_and_found_via_search page.waitForEvent: Timeout <span class="pl-k">while</span> waiting <span class="pl-k">for</span> event <span class="pl-s"><span class="pl-pds">"</span>filechooser<span class="pl-pds">"</span></span> =========================== logs =========================== waiting <span class="pl-k">for</span> event <span class="pl-s"><span class="pl-pds">"</span>filechooser<span class="pl-pds">"</span></span> ============================================================ 220 <span class="pl-k">|</span> async uploadFile(path: string): Promise<span class="pl-k">&lt;</span>void<span class="pl-k">&gt;</span> { 221 <span class="pl-k">|</span> const [fileChooser] = await Promise.all([ <span class="pl-k">&gt;</span> 222 <span class="pl-k">|</span> page.waitForEvent(<span class="pl-s"><span class="pl-pds">'</span>filechooser<span class="pl-pds">'</span></span>), <span class="pl-k">|</span> ^ 223 <span class="pl-k">|</span> this.waitAndClick(this.browseForFilesLink), 224 <span class="pl-k">|</span> ])<span class="pl-k">;</span> 225 <span class="pl-k">|</span> await fileChooser.setFiles(path)<span class="pl-k">;</span> at GeneralPopup.<span class="pl-k">&lt;</span>anonymous<span class="pl-k">&gt;</span> (src/pages/generalPopup.ts:222:18) at step (src/pages/generalPopup.ts:48:23) at Object.next (src/pages/generalPopup.ts:29:53) at src/pages/generalPopup.ts:23:71 at Object.<span class="pl-k">&lt;</span>anonymous<span class="pl-k">&gt;</span>.__awaiter (src/pages/generalPopup.ts:19:12) at GeneralPopup.Object.<span class="pl-k">&lt;</span>anonymous<span class="pl-k">&gt;</span>.GeneralPopup.uploadFile (src/pages/generalPopup.ts:489:16) at src/Tests/ItemSourcing/ItemImport.test.ts:42:28 at step (src/Tests/ItemSourcing/ItemImport.test.ts:33:23) at Object.next (src/Tests/ItemSourcing/ItemImport.test.ts:14:53) at fulfilled (src/Tests/ItemSourcing/ItemImport.test.ts:5:58)</pre></div>
1
<p dir="auto"><strong>Context:</strong></p> <ul dir="auto"> <li>Playwright Version: 1.28.1</li> <li>Operating System: Mac</li> <li>Node.js version: 18.10</li> <li>Visual Studio Code version: 1.73.1</li> <li>Playwright for VSCode extension version: 1.0.1</li> <li>Browser: Chromium</li> </ul> <p dir="auto"><strong>Describe the bug</strong></p> <p dir="auto">When I click on "record at cursor" in one of my tests, the browser is opened but the page never loads. I'm stuck on <code class="notranslate">about:blank</code>.</p> <details open="" class="details-reset border rounded-2"> <summary class="px-3 py-2"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-device-camera-video"> <path d="M16 3.75v8.5a.75.75 0 0 1-1.136.643L11 10.575v.675A1.75 1.75 0 0 1 9.25 13h-7.5A1.75 1.75 0 0 1 0 11.25v-6.5C0 3.784.784 3 1.75 3h7.5c.966 0 1.75.784 1.75 1.75v.675l3.864-2.318A.75.75 0 0 1 16 3.75Zm-6.5 1a.25.25 0 0 0-.25-.25h-7.5a.25.25 0 0 0-.25.25v6.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-6.5ZM11 8.825l3.5 2.1v-5.85l-3.5 2.1Z"></path> </svg> <span aria-label="Video description Enregistrement.de.l.ecran.2022-11-30.a.13.55.24.mov" class="m-1">Enregistrement.de.l.ecran.2022-11-30.a.13.55.24.mov</span> <span class="dropdown-caret"></span> </summary> <video src="https://user-images.githubusercontent.com/1194749/204802738-9e01e524-7776-4cc7-be3d-a5686c7a0618.mov" data-canonical-src="https://user-images.githubusercontent.com/1194749/204802738-9e01e524-7776-4cc7-be3d-a5686c7a0618.mov" controls="controls" muted="muted" class="d-block rounded-bottom-2 border-top width-fit" style="max-height:640px; min-height: 200px"> </video> </details>
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: 1.36.0-next</li> <li>Operating System: Ubuntu 22.04</li> <li>Browser: All</li> <li>Other info: running the latest docker image mcr.microsoft.com/playwright:v1.36.0-alpha-jun-16-2023, but it also happens in other environments</li> </ul> <h3 dir="auto">Source code</h3> <p dir="auto">Default example suite can be used.</p> <p dir="auto"><strong>Steps</strong></p> <ul dir="auto"> <li>run the tests in ui mode with a host + port provided e.g. <code class="notranslate">npx playwright test --ui --ui-host=127.0.0.1 --ui-port=8007</code></li> <li>using Chrome or firefox browser visit the host + port e.g. <a href="http://127.0.0.1:8007" rel="nofollow">http://127.0.0.1:8007</a> to access the web ui</li> <li>the path gets redirected to a to the trace view, with a randomly generated hahs identifier in the url. I.e. <code class="notranslate">/trace/uiMode.html?ws=&lt;random hash id&gt;</code></li> <li>restart the server</li> <li>visit the root path <code class="notranslate">/</code> again in the browser</li> </ul> <p dir="auto"><strong>Expected</strong></p> <p dir="auto">The web ui should load the (example) tests</p> <p dir="auto"><strong>Actual</strong></p> <p dir="auto">The ui doesn't load and some errors are thrown in the console.</p> <p dir="auto">I pinned this down to the redirect <a href="https://github.com/microsoft/playwright/blob/main/packages/playwright-core/src/server/trace/viewer/traceViewer.ts#L128">here</a> using a 301 status code.</p> <p dir="auto">This means the browser will cache the redirect indefinitely.</p> <p dir="auto">The effect is that the browser will now keep redirecting to the trace id of the initial run. Which in turn causes an error when the app tries to connect to the ws interface using that stale identifier.</p> <p dir="auto">Current workaround is to use the browser devtools and disable caching in the network tab, but that is not ideal.</p> <p dir="auto">Proposed solution is to use a 307 redirect, which would not be cached indefinitely.</p>
0
<h5 dir="auto">Issue Type:</h5> <p dir="auto">Bug Report</p> <h5 dir="auto">Ansible Version:</h5> <p dir="auto">ansible 1.7 (devel <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/ansible/ansible/commit/ee82681d142c9f06c9d4c1db811f6f83b399b007/hovercard" href="https://github.com/ansible/ansible/commit/ee82681d142c9f06c9d4c1db811f6f83b399b007"><tt>ee82681</tt></a>) last updated 2014/05/23 10:56:18 (GMT +200)</p> <h5 dir="auto">Environment:</h5> <p dir="auto">Ubuntu 14.04</p> <h5 dir="auto">Summary:</h5> <p dir="auto">Using <code class="notranslate">group_by</code> with <code class="notranslate">with_items</code>, host-specific variables seem to be resolved only for the first host.</p> <h5 dir="auto">Steps To Reproduce:</h5> <p dir="auto">hosts:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[group] host1 host2"><pre class="notranslate"><code class="notranslate">[group] host1 host2 </code></pre></div> <p dir="auto">playbook:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- hosts: all connection: local gather_facts: no tasks: - debug: var=inventory_hostname - group_by: key={{ item }} with_items: - &quot;{{ inventory_hostname }}&quot; - debug: var=group_names"><pre class="notranslate"><code class="notranslate">- hosts: all connection: local gather_facts: no tasks: - debug: var=inventory_hostname - group_by: key={{ item }} with_items: - "{{ inventory_hostname }}" - debug: var=group_names </code></pre></div> <p dir="auto">Run <code class="notranslate">ansible-playbook</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible-playbook -i hosts test.yml"><pre class="notranslate"><code class="notranslate">$ ansible-playbook -i hosts test.yml </code></pre></div> <h5 dir="auto">Expected Results:</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PLAY [all] ******************************************************************** TASK: [debug var=inventory_hostname] ****************************************** ok: [host1] =&gt; { &quot;inventory_hostname&quot;: &quot;host1&quot; } ok: [host2] =&gt; { &quot;inventory_hostname&quot;: &quot;host2&quot; } TASK: [group_by key={{item}}] ************************************************* changed: [host1] =&gt; (item=host1) changed: [host2] =&gt; (item=host2) TASK: [debug var=group_names] ************************************************* ok: [host1] =&gt; { &quot;group_names&quot;: [ &quot;group&quot;, &quot;host1&quot; ] } ok: [host2] =&gt; { &quot;group_names&quot;: [ &quot;group&quot;, &quot;host2&quot; ] } PLAY RECAP ******************************************************************** host1 : ok=3 changed=1 unreachable=0 failed=0 host2 : ok=3 changed=1 unreachable=0 failed=0 "><pre class="notranslate"><code class="notranslate">PLAY [all] ******************************************************************** TASK: [debug var=inventory_hostname] ****************************************** ok: [host1] =&gt; { "inventory_hostname": "host1" } ok: [host2] =&gt; { "inventory_hostname": "host2" } TASK: [group_by key={{item}}] ************************************************* changed: [host1] =&gt; (item=host1) changed: [host2] =&gt; (item=host2) TASK: [debug var=group_names] ************************************************* ok: [host1] =&gt; { "group_names": [ "group", "host1" ] } ok: [host2] =&gt; { "group_names": [ "group", "host2" ] } PLAY RECAP ******************************************************************** host1 : ok=3 changed=1 unreachable=0 failed=0 host2 : ok=3 changed=1 unreachable=0 failed=0 </code></pre></div> <h5 dir="auto">Actual Results:</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PLAY [all] ******************************************************************** TASK: [debug var=inventory_hostname] ****************************************** ok: [host1] =&gt; { &quot;inventory_hostname&quot;: &quot;host1&quot; } ok: [host2] =&gt; { &quot;inventory_hostname&quot;: &quot;host2&quot; } TASK: [group_by key={{item}}] ************************************************* changed: [host1] =&gt; (item=host1) TASK: [debug var=group_names] ************************************************* ok: [host1] =&gt; { &quot;group_names&quot;: [ &quot;group&quot;, &quot;host1&quot; ] } ok: [host2] =&gt; { &quot;group_names&quot;: [ &quot;group&quot;, &quot;host1&quot; ] } PLAY RECAP ******************************************************************** host1 : ok=3 changed=1 unreachable=0 failed=0 host2 : ok=3 changed=1 unreachable=0 failed=0 "><pre class="notranslate"><code class="notranslate">PLAY [all] ******************************************************************** TASK: [debug var=inventory_hostname] ****************************************** ok: [host1] =&gt; { "inventory_hostname": "host1" } ok: [host2] =&gt; { "inventory_hostname": "host2" } TASK: [group_by key={{item}}] ************************************************* changed: [host1] =&gt; (item=host1) TASK: [debug var=group_names] ************************************************* ok: [host1] =&gt; { "group_names": [ "group", "host1" ] } ok: [host2] =&gt; { "group_names": [ "group", "host1" ] } PLAY RECAP ******************************************************************** host1 : ok=3 changed=1 unreachable=0 failed=0 host2 : ok=3 changed=1 unreachable=0 failed=0 </code></pre></div> <h5 dir="auto">Differences:</h5> <p dir="auto">Note two things:</p> <ol dir="auto"> <li><code class="notranslate">host2</code> is in group <code class="notranslate">host1</code> instead of <code class="notranslate">host2</code>.</li> <li>(cosmetic) There is only one status line for the <code class="notranslate">group_by</code> task.</li> </ol> <h5 dir="auto">Further info:</h5> <p dir="auto">Using <code class="notranslate">with_items</code> without host-specific variables does work, but still only shows status lines for the first host:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- hosts: all connection: local gather_facts: no tasks: - debug: var=inventory_hostname - group_by: key={{ item }} with_items: - test1 - test2 - test3 - debug: var=group_names"><pre class="notranslate"><code class="notranslate">- hosts: all connection: local gather_facts: no tasks: - debug: var=inventory_hostname - group_by: key={{ item }} with_items: - test1 - test2 - test3 - debug: var=group_names </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PLAY [all] ******************************************************************** TASK: [debug var=inventory_hostname] ****************************************** ok: [host2] =&gt; { &quot;inventory_hostname&quot;: &quot;host2&quot; } ok: [host1] =&gt; { &quot;inventory_hostname&quot;: &quot;host1&quot; } TASK: [group_by key={{item}}] ************************************************* changed: [host1] =&gt; (item=test1) changed: [host1] =&gt; (item=test2) changed: [host1] =&gt; (item=test3) TASK: [debug var=group_names] ************************************************* ok: [host1] =&gt; { &quot;group_names&quot;: [ &quot;group&quot;, &quot;test1&quot;, &quot;test2&quot;, &quot;test3&quot; ] } ok: [host2] =&gt; { &quot;group_names&quot;: [ &quot;group&quot;, &quot;test1&quot;, &quot;test2&quot;, &quot;test3&quot; ] } PLAY RECAP ******************************************************************** host1 : ok=3 changed=1 unreachable=0 failed=0 host2 : ok=3 changed=1 unreachable=0 failed=0 "><pre class="notranslate"><code class="notranslate">PLAY [all] ******************************************************************** TASK: [debug var=inventory_hostname] ****************************************** ok: [host2] =&gt; { "inventory_hostname": "host2" } ok: [host1] =&gt; { "inventory_hostname": "host1" } TASK: [group_by key={{item}}] ************************************************* changed: [host1] =&gt; (item=test1) changed: [host1] =&gt; (item=test2) changed: [host1] =&gt; (item=test3) TASK: [debug var=group_names] ************************************************* ok: [host1] =&gt; { "group_names": [ "group", "test1", "test2", "test3" ] } ok: [host2] =&gt; { "group_names": [ "group", "test1", "test2", "test3" ] } PLAY RECAP ******************************************************************** host1 : ok=3 changed=1 unreachable=0 failed=0 host2 : ok=3 changed=1 unreachable=0 failed=0 </code></pre></div> <p dir="auto">Using a host-specific variable is in itself also not a problem:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- hosts: all connection: local gather_facts: no tasks: - debug: var=inventory_hostname - group_by: key={{ inventory_hostname }} - debug: var=group_names"><pre class="notranslate"><code class="notranslate">- hosts: all connection: local gather_facts: no tasks: - debug: var=inventory_hostname - group_by: key={{ inventory_hostname }} - debug: var=group_names </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PLAY [all] ******************************************************************** TASK: [debug var=inventory_hostname] ****************************************** ok: [host1] =&gt; { &quot;inventory_hostname&quot;: &quot;host1&quot; } ok: [host2] =&gt; { &quot;inventory_hostname&quot;: &quot;host2&quot; } TASK: [group_by key={{inventory_hostname}}] *********************************** changed: [host1] TASK: [debug var=group_names] ************************************************* ok: [host1] =&gt; { &quot;group_names&quot;: [ &quot;group&quot;, &quot;host1&quot; ] } ok: [host2] =&gt; { &quot;group_names&quot;: [ &quot;group&quot;, &quot;host2&quot; ] } PLAY RECAP ******************************************************************** host1 : ok=3 changed=1 unreachable=0 failed=0 host2 : ok=3 changed=1 unreachable=0 failed=0 "><pre class="notranslate"><code class="notranslate">PLAY [all] ******************************************************************** TASK: [debug var=inventory_hostname] ****************************************** ok: [host1] =&gt; { "inventory_hostname": "host1" } ok: [host2] =&gt; { "inventory_hostname": "host2" } TASK: [group_by key={{inventory_hostname}}] *********************************** changed: [host1] TASK: [debug var=group_names] ************************************************* ok: [host1] =&gt; { "group_names": [ "group", "host1" ] } ok: [host2] =&gt; { "group_names": [ "group", "host2" ] } PLAY RECAP ******************************************************************** host1 : ok=3 changed=1 unreachable=0 failed=0 host2 : ok=3 changed=1 unreachable=0 failed=0 </code></pre></div>
<h5 dir="auto">Issue Type:</h5> <p dir="auto">Bug Report</p> <h5 dir="auto">Ansible Version:</h5> <p dir="auto">ansible 1.5.4</p> <h5 dir="auto">Environment:</h5> <p dir="auto">Ubuntu 12.04 x64 running Ansible, managing 13.10 x64 hosts</p> <h5 dir="auto">Summary:</h5> <ul dir="auto"> <li>Attempting to use 'group_by:' with 'when:'.</li> <li>Two hosts; one in group <em><strong>dbnodes</strong></em>, one in group <em><strong>webnodes</strong></em>, both also a member of ec2_hosts.</li> <li>One host satisfies the when clause, one does not.</li> <li>Flipping group membership doesn't flip which host is grouped...just skips the task altogether.</li> </ul> <h5 dir="auto">Steps To Reproduce:</h5> <p dir="auto">See gist: <a href="https://gist.github.com/mark-casey/11386608">https://gist.github.com/mark-casey/11386608</a><br> One provided inventory works for me, one doesn't.</p> <h5 dir="auto">Expected Results:</h5> <p dir="auto">The host which is a member of 'dbnodes' should be added to the 'Debian' group, for either of the two inventory files provided.</p> <h5 dir="auto">Actual Results:</h5> <p dir="auto">One of the inventory files sees no hosts added to the 'Debian' group.</p> <p dir="auto">Also interesting, either of the two inventories will work if you entirely remove the ec2_hosts group and change site.yml's play to use this host selector instead:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" hosts: dbnodes:webnodes"><pre class="notranslate"><code class="notranslate"> hosts: dbnodes:webnodes </code></pre></div>
1
<p dir="auto">Device: Nexus4<br> Browser: Chrome32</p> <p dir="auto">To replicate:</p> <ul dir="auto"> <li>Open <a href="http://getbootstrap.com/2.3.2/" rel="nofollow">http://getbootstrap.com/2.3.2/</a> in Android Chrome</li> <li>Click on menu button on the top right of the page to open the menu, all links display properly.</li> <li>Close the menu by clicking on the menu button.</li> <li>Now, opens the menu the SECOND time. All links will disappear.</li> </ul>
<p dir="auto">How to reproduce:</p> <ol dir="auto"> <li>Open bootstrap [ http://getbootstrap.com/2.3.2/ ] or any website using bootstrap in chrome on mobile android in portrait mode.</li> <li>then click on menu to open, then close &amp; then click again to open</li> <li>this time the navigation is coming blank even thought the links are there and can be clicked but can't be seen</li> </ol> <p dir="auto">Works fine in landscape mode.</p> <p dir="auto">Screenshot:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/adc8bb29943f163678f2bf820b8dd2c91d7b39f130ed5e9a23912a7c55be87c4/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353731303835302f313335333132332f66356332323736652d333734302d313165332d393739662d3162646162663163336362632e6a7067"><img src="https://camo.githubusercontent.com/adc8bb29943f163678f2bf820b8dd2c91d7b39f130ed5e9a23912a7c55be87c4/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353731303835302f313335333132332f66356332323736652d333734302d313165332d393739662d3162646162663163336362632e6a7067" alt="r858" data-canonical-src="https://f.cloud.github.com/assets/5710850/1353123/f5c2276e-3740-11e3-979f-1bdabf1c3cbc.jpg" style="max-width: 100%;"></a></p>
1
<p dir="auto">xref <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="46855603" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/8640" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/8640/hovercard" href="https://github.com/pandas-dev/pandas/issues/8640">#8640</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="142872513" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/12699" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/12699/hovercard" href="https://github.com/pandas-dev/pandas/issues/12699">#12699</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="158501831" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/13361" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/13361/hovercard" href="https://github.com/pandas-dev/pandas/pull/13361">#13361</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="159399596" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/13410" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/13410/hovercard" href="https://github.com/pandas-dev/pandas/issues/13410">#13410</a></p> <p dir="auto">There's been discussion of a few overlapping uses of <code class="notranslate">Categorical</code>:</p> <ol dir="auto"> <li>as 'true' categorical data with a known set of values</li> <li>as 'lazy' categorical data which adds new categories as needed</li> <li>as an interned string data type, with no particular categorical interpretation</li> </ol> <p dir="auto">Option 1 is currently well-supported. Option 2 can be achieved explicitly by <code class="notranslate">union_categorical</code>, see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="158501831" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/13361" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/13361/hovercard" href="https://github.com/pandas-dev/pandas/pull/13361">#13361</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="159399596" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/13410" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/13410/hovercard" href="https://github.com/pandas-dev/pandas/issues/13410">#13410</a>, but will not happen automatically e.g. when setting values or concatenating, see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="142872513" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/12699" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/12699/hovercard" href="https://github.com/pandas-dev/pandas/issues/12699">#12699</a>. Option 3 is similar to 2, and has been discussed as a new <code class="notranslate">String</code> type, see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="46855603" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/8640" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/8640/hovercard" href="https://github.com/pandas-dev/pandas/issues/8640">#8640</a>, but may have different semantics to 2.</p> <p dir="auto">While I completely agree that option 1 should be the default, I'd like to see more support for option 2 if possible; there are cases where I really do want to work with categorical data, but I don't yet know what the categories are, e.g. when concatenating a table together from several different source files.</p> <p dir="auto">One option would be to mimic Matlab's 'protected' flag for categorical data. By default, a <code class="notranslate">Categorical</code> would be created protected, and throw errors when performing actions which implicitly change the category set. However, the user could choose to declare a <code class="notranslate">Categorical</code> as unprotected, in which case these operations would be performed as intended.</p> <p dir="auto">While this behaviour could be achieved with the proposed <code class="notranslate">String</code> type, it's unclear whether that type would share the <code class="notranslate">Categorical</code> API, or be efficiently convertible to <code class="notranslate">Categorical</code>. Having the behaviour as part of <code class="notranslate">Categorical</code> would allow the user to build up a <code class="notranslate">Categorical</code> iteratively, from multiple sources, and then quickly mark it protected once the category set is known.</p>
<p dir="auto">Currently, Categorical serves two main purposes</p> <ol dir="auto"> <li>A type for expressing data from a fixed set of categories</li> <li>A memory efficient storage format for low-cardinality objects</li> </ol> <p dir="auto">This proposal is to add a new extension type (let's call it <code class="notranslate">DictEncodedArray</code><br> for now) for the second use case. The storage format would be the same as<br> Categorical: an Index of the unique "keys" (categories) and an array of codes.<br> Much of the implementation would be shared. But they would have different<br> semantics on operations</p> <ul dir="auto"> <li>concat (union by default)</li> <li>groupby (unobserved categories would be dropped by default)</li> <li>value_counts (unobserved categories would be dropped by default)</li> </ul> <p dir="auto">This is most useful for strings, but could even be useful for storing a large<br> array of 64-bit precision items (store the 64-bit items once, then use an int16<br> or int32 array for the codes).</p>
1
<p dir="auto">This code:</p> <pre class="notranslate">enum Command { Create{qname:~str}, Help, Unknown, } fn main() { let val = Unknown; match val{ Create{qname: qname} =&gt; { print(fmt!("Create %?", qname)); } Help =&gt; { print(~"Help"); } _ =&gt; { print(~"Other"); } } } </pre> <p dir="auto">Gives segmentation fault in runtime.</p>
<p dir="auto">Running this <code class="notranslate">test.rs</code> causes a segfault on Ubuntu 12.10 (compiled with incoming <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/rust-lang/rust/commit/bda4dd3c911ba54e342de2ff1b59e371442e58dd/hovercard" href="https://github.com/rust-lang/rust/commit/bda4dd3c911ba54e342de2ff1b59e371442e58dd"><tt>bda4dd3</tt></a>):</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="enum Foo { Bar, Baz {a: uint} } impl Foo { fn equals(&amp;self, other: &amp;Foo) -&gt; bool { match *self { Bar =&gt; match *other { Bar =&gt; true, _ =&gt; false }, Baz {a: ref sa} =&gt; match *other { Baz {a: ref oa} =&gt; sa == oa, _ =&gt; false } } } } pub fn main() { let x = Baz {a: 4}; let y = Bar; x.equals(&amp;y); }"><pre class="notranslate"><span class="pl-k">enum</span> <span class="pl-smi">Foo</span> <span class="pl-kos">{</span> <span class="pl-v">Bar</span><span class="pl-kos">,</span> <span class="pl-v">Baz</span> <span class="pl-kos">{</span><span class="pl-c1">a</span><span class="pl-kos">:</span> <span class="pl-smi">uint</span><span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-k">impl</span> <span class="pl-smi">Foo</span> <span class="pl-kos">{</span> <span class="pl-k">fn</span> <span class="pl-en">equals</span><span class="pl-kos">(</span><span class="pl-c1">&amp;</span><span class="pl-smi">self</span><span class="pl-kos">,</span> <span class="pl-s1">other</span><span class="pl-kos">:</span> <span class="pl-c1">&amp;</span><span class="pl-smi">Foo</span><span class="pl-kos">)</span> -&gt; <span class="pl-smi">bool</span> <span class="pl-kos">{</span> <span class="pl-k">match</span> <span class="pl-c1">*</span><span class="pl-smi">self</span> <span class="pl-kos">{</span> <span class="pl-v">Bar</span> =&gt; <span class="pl-k">match</span> <span class="pl-c1">*</span>other <span class="pl-kos">{</span> <span class="pl-v">Bar</span> =&gt; <span class="pl-c1">true</span><span class="pl-kos">,</span> _ =&gt; <span class="pl-c1">false</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-smi">Baz</span> <span class="pl-kos">{</span><span class="pl-c1">a</span><span class="pl-kos">:</span> <span class="pl-k">ref</span> sa<span class="pl-kos">}</span> =&gt; <span class="pl-k">match</span> <span class="pl-c1">*</span>other <span class="pl-kos">{</span> <span class="pl-smi">Baz</span> <span class="pl-kos">{</span><span class="pl-c1">a</span><span class="pl-kos">:</span> <span class="pl-k">ref</span> oa<span class="pl-kos">}</span> =&gt; sa == oa<span class="pl-kos">,</span> _ =&gt; <span class="pl-c1">false</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-k">pub</span> <span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> x = <span class="pl-smi">Baz</span> <span class="pl-kos">{</span><span class="pl-c1">a</span><span class="pl-kos">:</span> <span class="pl-c1">4</span><span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-k">let</span> y = <span class="pl-v">Bar</span><span class="pl-kos">;</span> x<span class="pl-kos">.</span><span class="pl-en">equals</span><span class="pl-kos">(</span><span class="pl-c1">&amp;</span>y<span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">Valgrind says this about it:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="==16637== Thread 2: ==16637== Use of uninitialised value of size 8 ==16637== at 0x400AE8: uint::__extensions__::meth_2509::eq::_693b4a7b2ad824e5::_00 (test.rs:1) ==16637== by 0x400A9D: ptr::__extensions__::eq_2502::_37b8589111841e1::_00 (test.rs:1) ==16637== by 0x400A3B: __extensions__::meth_2459::equals::_e3a12daf95a36916::_00 (test.rs:11) ==16637== by 0x400B68: main::_6706ae2286769fe::_00 (test.rs:21) ==16637== by 0x400B9D: _rust_main (test.rs:12) ==16637== by 0x535E4C3: task_start_wrapper(spawn_args*) (rust_task.cpp:162) ==16637== ==16637== Invalid read of size 8 ==16637== at 0x400AE8: uint::__extensions__::meth_2509::eq::_693b4a7b2ad824e5::_00 (test.rs:1) ==16637== by 0x400A9D: ptr::__extensions__::eq_2502::_37b8589111841e1::_00 (test.rs:1) ==16637== by 0x400A3B: __extensions__::meth_2459::equals::_e3a12daf95a36916::_00 (test.rs:11) ==16637== by 0x400B68: main::_6706ae2286769fe::_00 (test.rs:21) ==16637== by 0x400B9D: _rust_main (test.rs:12) ==16637== by 0x535E4C3: task_start_wrapper(spawn_args*) (rust_task.cpp:162) ==16637== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==16637== ==16637== ==16637== Process terminating with default action of signal 11 (SIGSEGV) ==16637== Access not within mapped region at address 0x0 ==16637== at 0x400AE8: uint::__extensions__::meth_2509::eq::_693b4a7b2ad824e5::_00 (test.rs:1) ==16637== by 0x400A9D: ptr::__extensions__::eq_2502::_37b8589111841e1::_00 (test.rs:1) ==16637== by 0x400A3B: __extensions__::meth_2459::equals::_e3a12daf95a36916::_00 (test.rs:11) ==16637== by 0x400B68: main::_6706ae2286769fe::_00 (test.rs:21) ==16637== by 0x400B9D: _rust_main (test.rs:12) ==16637== by 0x535E4C3: task_start_wrapper(spawn_args*) (rust_task.cpp:162)"><pre class="notranslate"><code class="notranslate">==16637== Thread 2: ==16637== Use of uninitialised value of size 8 ==16637== at 0x400AE8: uint::__extensions__::meth_2509::eq::_693b4a7b2ad824e5::_00 (test.rs:1) ==16637== by 0x400A9D: ptr::__extensions__::eq_2502::_37b8589111841e1::_00 (test.rs:1) ==16637== by 0x400A3B: __extensions__::meth_2459::equals::_e3a12daf95a36916::_00 (test.rs:11) ==16637== by 0x400B68: main::_6706ae2286769fe::_00 (test.rs:21) ==16637== by 0x400B9D: _rust_main (test.rs:12) ==16637== by 0x535E4C3: task_start_wrapper(spawn_args*) (rust_task.cpp:162) ==16637== ==16637== Invalid read of size 8 ==16637== at 0x400AE8: uint::__extensions__::meth_2509::eq::_693b4a7b2ad824e5::_00 (test.rs:1) ==16637== by 0x400A9D: ptr::__extensions__::eq_2502::_37b8589111841e1::_00 (test.rs:1) ==16637== by 0x400A3B: __extensions__::meth_2459::equals::_e3a12daf95a36916::_00 (test.rs:11) ==16637== by 0x400B68: main::_6706ae2286769fe::_00 (test.rs:21) ==16637== by 0x400B9D: _rust_main (test.rs:12) ==16637== by 0x535E4C3: task_start_wrapper(spawn_args*) (rust_task.cpp:162) ==16637== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==16637== ==16637== ==16637== Process terminating with default action of signal 11 (SIGSEGV) ==16637== Access not within mapped region at address 0x0 ==16637== at 0x400AE8: uint::__extensions__::meth_2509::eq::_693b4a7b2ad824e5::_00 (test.rs:1) ==16637== by 0x400A9D: ptr::__extensions__::eq_2502::_37b8589111841e1::_00 (test.rs:1) ==16637== by 0x400A3B: __extensions__::meth_2459::equals::_e3a12daf95a36916::_00 (test.rs:11) ==16637== by 0x400B68: main::_6706ae2286769fe::_00 (test.rs:21) ==16637== by 0x400B9D: _rust_main (test.rs:12) ==16637== by 0x535E4C3: task_start_wrapper(spawn_args*) (rust_task.cpp:162) </code></pre></div> <p dir="auto">Note that the following variants of the last line of <code class="notranslate">main</code> do <em>not</em> cause a segfault:</p> <ul dir="auto"> <li><code class="notranslate">x.equals(&amp;x);</code></li> <li><code class="notranslate">y.equals(&amp;y);</code></li> <li><code class="notranslate">y.equals(&amp;x);</code></li> </ul>
1
<h2 dir="auto">Question</h2> <p dir="auto"><strong>For English only</strong>, other languages will not accept.</p> <p dir="auto">Before asking a question, make sure you have:</p> <ul dir="auto"> <li>Googled your question.</li> <li>Searched open and closed <a href="https://github.com/apache/shardingsphere/issues">GitHub issues</a>.</li> <li>Read documentation: <a href="https://shardingsphere.apache.org/document/current/en/overview" rel="nofollow">ShardingSphere Doc</a>.</li> </ul> <p dir="auto">Please pay attention on issues you submitted, because we maybe need more details.<br> If no response anymore and we cannot reproduce it on current information, we will <strong>close it</strong>.</p> <ul dir="auto"> <li> <p dir="auto">In the current <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-proxy/distsql/syntax/rdl/resource-definition/" rel="nofollow">https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-proxy/distsql/syntax/rdl/resource-definition/</a>, which requires <code class="notranslate">Before adding resources, please confirm that a distributed database has been created, and execute the use command to successfully select a database;</code>. This means to people that when starting <code class="notranslate">ShardingSphere Proxy</code>, not only does the <code class="notranslate">server.yaml</code> need to exist, but at least one <code class="notranslate">config-*.yaml</code> needs to be created to define at least one data source.</p> </li> <li> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/20187731/194799249-cd40c6ac-5c27-4586-b569-0ad7a7a752b2.png"><img src="https://user-images.githubusercontent.com/20187731/194799249-cd40c6ac-5c27-4586-b569-0ad7a7a752b2.png" alt="image" style="max-width: 100%;"></a></p> </li> <li> <p dir="auto">When using the Docker Image of <a href="https://github.com/apache/shardingsphere/pkgs/container/shardingsphere-proxy/44714726?tag=f4080b1b3ddcaa9eb15e87e50a6fb0d2fe2baa7f">https://github.com/apache/shardingsphere/pkgs/container/shardingsphere-proxy/44714726?tag=f4080b1b3ddcaa9eb15e87e50a6fb0d2fe2baa7f</a>, if the RDL is directly executed, the following exception will appear on the server.</p> </li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ERROR] 2022-10-10 04:20:53.273 [Connection-1-ThreadExecutor] o.a.s.p.f.c.CommandExecutorTask - Exception occur: org.apache.calcite.runtime.CalciteContextException: At line 0, column 0: Object 'proc' not found within 'mysql' at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at jdk.internal.reflect.GeneratedConstructorAccessor29.newInstance(Unknown Source) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) at org.apache.calcite.runtime.Resources$ExInstWithCause.ex(Resources.java:505) at org.apache.calcite.sql.SqlUtil.newContextException(SqlUtil.java:932) at org.apache.calcite.sql.SqlUtil.newContextException(SqlUtil.java:917) at org.apache.calcite.sql.validate.SqlValidatorImpl.newValidationError(SqlValidatorImpl.java:5362) at org.apache.calcite.sql.validate.IdentifierNamespace.resolveImpl(IdentifierNamespace.java:138) at org.apache.calcite.sql.validate.IdentifierNamespace.validateImpl(IdentifierNamespace.java:188) at org.apache.calcite.sql.validate.AbstractNamespace.validate(AbstractNamespace.java:89) at org.apache.calcite.sql.validate.SqlValidatorImpl.validateNamespace(SqlValidatorImpl.java:1107) at org.apache.calcite.sql.validate.SqlValidatorImpl.validateFrom(SqlValidatorImpl.java:3381) at org.apache.calcite.sql.validate.SqlValidatorImpl.validateQuery(SqlValidatorImpl.java:1078) at org.apache.calcite.sql.validate.SqlValidatorImpl.validateFrom(SqlValidatorImpl.java:3360) at org.apache.calcite.sql.validate.SqlValidatorImpl.validateSelect(SqlValidatorImpl.java:3697) at org.apache.calcite.sql.validate.SelectNamespace.validateImpl(SelectNamespace.java:64) at org.apache.calcite.sql.SqlSelect.validate(SqlSelect.java:248) at org.apache.calcite.sql.validate.SqlValidatorImpl.validate(SqlValidatorImpl.java:759) at org.apache.shardingsphere.sqlfederation.advanced.AdvancedSQLFederationExecutor.executeQuery(AdvancedSQLFederationExecutor.java:110) at org.apache.shardingsphere.proxy.backend.communication.jdbc.JDBCDatabaseCommunicationEngine.doExecuteFederation(JDBCDatabaseCommunicationEngine.java:163) at org.apache.shardingsphere.sqlfederation.advanced.AdvancedSQLFederationExecutor.execute(AdvancedSQLFederationExecutor.java:141) at org.apache.shardingsphere.sqlfederation.optimizer.SQLOptimizeEngine.optimize(SQLOptimizeEngine.java:50) at org.apache.calcite.sql2rel.SqlToRelConverter.convertQuery(SqlToRelConverter.java:592) at org.apache.calcite.sql.validate.SqlValidatorImpl.validateScopedExpression(SqlValidatorImpl.java:1053) at org.apache.shardingsphere.proxy.backend.communication.jdbc.JDBCDatabaseCommunicationEngine.execute(JDBCDatabaseCommunicationEngine.java:121) at org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.executeCommand(CommandExecutorTask.java:111) at org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor.execute(MySQLComQueryPacketExecutor.java:94) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.run(CommandExecutorTask.java:78) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833)"><pre class="notranslate"><code class="notranslate">[ERROR] 2022-10-10 04:20:53.273 [Connection-1-ThreadExecutor] o.a.s.p.f.c.CommandExecutorTask - Exception occur: org.apache.calcite.runtime.CalciteContextException: At line 0, column 0: Object 'proc' not found within 'mysql' at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at jdk.internal.reflect.GeneratedConstructorAccessor29.newInstance(Unknown Source) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) at org.apache.calcite.runtime.Resources$ExInstWithCause.ex(Resources.java:505) at org.apache.calcite.sql.SqlUtil.newContextException(SqlUtil.java:932) at org.apache.calcite.sql.SqlUtil.newContextException(SqlUtil.java:917) at org.apache.calcite.sql.validate.SqlValidatorImpl.newValidationError(SqlValidatorImpl.java:5362) at org.apache.calcite.sql.validate.IdentifierNamespace.resolveImpl(IdentifierNamespace.java:138) at org.apache.calcite.sql.validate.IdentifierNamespace.validateImpl(IdentifierNamespace.java:188) at org.apache.calcite.sql.validate.AbstractNamespace.validate(AbstractNamespace.java:89) at org.apache.calcite.sql.validate.SqlValidatorImpl.validateNamespace(SqlValidatorImpl.java:1107) at org.apache.calcite.sql.validate.SqlValidatorImpl.validateFrom(SqlValidatorImpl.java:3381) at org.apache.calcite.sql.validate.SqlValidatorImpl.validateQuery(SqlValidatorImpl.java:1078) at org.apache.calcite.sql.validate.SqlValidatorImpl.validateFrom(SqlValidatorImpl.java:3360) at org.apache.calcite.sql.validate.SqlValidatorImpl.validateSelect(SqlValidatorImpl.java:3697) at org.apache.calcite.sql.validate.SelectNamespace.validateImpl(SelectNamespace.java:64) at org.apache.calcite.sql.SqlSelect.validate(SqlSelect.java:248) at org.apache.calcite.sql.validate.SqlValidatorImpl.validate(SqlValidatorImpl.java:759) at org.apache.shardingsphere.sqlfederation.advanced.AdvancedSQLFederationExecutor.executeQuery(AdvancedSQLFederationExecutor.java:110) at org.apache.shardingsphere.proxy.backend.communication.jdbc.JDBCDatabaseCommunicationEngine.doExecuteFederation(JDBCDatabaseCommunicationEngine.java:163) at org.apache.shardingsphere.sqlfederation.advanced.AdvancedSQLFederationExecutor.execute(AdvancedSQLFederationExecutor.java:141) at org.apache.shardingsphere.sqlfederation.optimizer.SQLOptimizeEngine.optimize(SQLOptimizeEngine.java:50) at org.apache.calcite.sql2rel.SqlToRelConverter.convertQuery(SqlToRelConverter.java:592) at org.apache.calcite.sql.validate.SqlValidatorImpl.validateScopedExpression(SqlValidatorImpl.java:1053) at org.apache.shardingsphere.proxy.backend.communication.jdbc.JDBCDatabaseCommunicationEngine.execute(JDBCDatabaseCommunicationEngine.java:121) at org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.executeCommand(CommandExecutorTask.java:111) at org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor.execute(MySQLComQueryPacketExecutor.java:94) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.run(CommandExecutorTask.java:78) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) </code></pre></div> <ul dir="auto"> <li>I'm not quite sure if this is an expected behavior.</li> </ul>
<h2 dir="auto">Bug Report</h2> <h3 dir="auto">Which version of ShardingSphere did you use?</h3> <p dir="auto">master branch, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/apache/shardingsphere/commit/0b41852bc93129f480989b33bda929fedc739199/hovercard" href="https://github.com/apache/shardingsphere/commit/0b41852bc93129f480989b33bda929fedc739199"><tt>0b41852</tt></a></p> <h3 dir="auto">Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?</h3> <p dir="auto">Proxy</p> <h3 dir="auto">Expected behavior</h3> <p dir="auto">XA transaction won't be started.</p> <h3 dir="auto">Actual behavior</h3> <p dir="auto">It started.</p> <h3 dir="auto">Reason analyze (If you can)</h3> <p dir="auto">In GlobalRulesBuilder:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/42492540/177501542-ca95718b-eb17-4b45-bcf0-fc986e12d8e0.png"><img width="1176" alt="WX20220706-152940@2x" src="https://user-images.githubusercontent.com/42492540/177501542-ca95718b-eb17-4b45-bcf0-fc986e12d8e0.png" style="max-width: 100%;"></a></p> <p dir="auto">In XAShardingSphereTransactionManager:<br> Since AtomikosTransactionManagerProvider is the default impl of XATransactionManagerProvider, <code class="notranslate">XATransactionManagerProviderFactory.getInstance(null)</code> in <code class="notranslate">XAShardingSphereTransactionManager.init</code> return AtomikosTransactionManagerProvider instance.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/42492540/177502052-f409bb37-0707-4a58-bc7b-3d055d1fdb99.png"><img width="1252" alt="图片" src="https://user-images.githubusercontent.com/42492540/177502052-f409bb37-0707-4a58-bc7b-3d055d1fdb99.png" style="max-width: 100%;"></a></p> <h3 dir="auto">Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.</h3> <p dir="auto"><code class="notranslate">server.yaml</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="mode: type: Cluster repository: type: ZooKeeper props: namespace: mysql server-lists: localhost:2181 retryIntervalMilliseconds: 500 timeToLiveSeconds: 60 maxRetries: 3 operationTimeoutMilliseconds: 500 overwrite: false rules: - !AUTHORITY users: - root@%:root - sharding@:sharding provider: type: ALL_PERMITTED # - !TRANSACTION # defaultType: XA # providerType: Atomikos - !SQL_PARSER sqlCommentParseEnabled: true sqlStatementCache: initialCapacity: 2000 maximumSize: 65535 parseTreeCache: initialCapacity: 128 maximumSize: 1024"><pre class="notranslate"><code class="notranslate">mode: type: Cluster repository: type: ZooKeeper props: namespace: mysql server-lists: localhost:2181 retryIntervalMilliseconds: 500 timeToLiveSeconds: 60 maxRetries: 3 operationTimeoutMilliseconds: 500 overwrite: false rules: - !AUTHORITY users: - root@%:root - sharding@:sharding provider: type: ALL_PERMITTED # - !TRANSACTION # defaultType: XA # providerType: Atomikos - !SQL_PARSER sqlCommentParseEnabled: true sqlStatementCache: initialCapacity: 2000 maximumSize: 65535 parseTreeCache: initialCapacity: 128 maximumSize: 1024 </code></pre></div> <p dir="auto">Global rules in ZK after Proxy 3307 started:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- !AUTHORITY provider: type: ALL_PERMITTED users: - root@%:root - sharding@%:sharding - !SQL_PARSER parseTreeCache: initialCapacity: 128 maximumSize: 1024 sqlCommentParseEnabled: true sqlStatementCache: initialCapacity: 2000 maximumSize: 65535"><pre class="notranslate"><code class="notranslate">- !AUTHORITY provider: type: ALL_PERMITTED users: - root@%:root - sharding@%:sharding - !SQL_PARSER parseTreeCache: initialCapacity: 128 maximumSize: 1024 sqlCommentParseEnabled: true sqlStatementCache: initialCapacity: 2000 maximumSize: 65535 </code></pre></div> <p dir="auto">1, Start Proxy with 3307 port</p> <p dir="auto">2, Start another Proxy with 3308 port</p> <p dir="auto">The second one will start failed with exception:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ERROR] 2022-07-06 15:16:50.805 [main] c.a.persistence.imp.LogFileLock - The specified log seems to be in use already: xa_tx in ./logs/. Make sure that no other instance is running, or kill any pending process if needed. Exception in thread &quot;main&quot; com.atomikos.icatch.SysException: Error in init: The specified log seems to be in use already: xa_tx in ./logs/. Make sure that no other instance is running, or kill any pending process if needed. at com.atomikos.icatch.provider.imp.AssemblerImp.createRepository(AssemblerImp.java:200) at com.atomikos.icatch.provider.imp.AssemblerImp.assembleTransactionService(AssemblerImp.java:170) at com.atomikos.icatch.config.Configuration.assembleSystemComponents(Configuration.java:424) at com.atomikos.icatch.config.Configuration.init(Configuration.java:390) at com.atomikos.icatch.config.UserTransactionServiceImp.initialize(UserTransactionServiceImp.java:100) at com.atomikos.icatch.config.UserTransactionServiceImp.init(UserTransactionServiceImp.java:189) at org.apache.shardingsphere.transaction.xa.atomikos.manager.AtomikosTransactionManagerProvider.init(AtomikosTransactionManagerProvider.java:46) at org.apache.shardingsphere.transaction.xa.XAShardingSphereTransactionManager.init(XAShardingSphereTransactionManager.java:55) at org.apache.shardingsphere.transaction.ShardingSphereTransactionManagerEngine.lambda$init$0(ShardingSphereTransactionManagerEngine.java:66) at java.util.Map.forEach(Map.java:630) at org.apache.shardingsphere.transaction.ShardingSphereTransactionManagerEngine.init(ShardingSphereTransactionManagerEngine.java:66) at org.apache.shardingsphere.transaction.rule.TransactionRule.createTransactionManagerEngine(TransactionRule.java:75) at org.apache.shardingsphere.transaction.rule.TransactionRule.createTransactionManagerEngines(TransactionRule.java:67) at org.apache.shardingsphere.transaction.rule.TransactionRule.&lt;init&gt;(TransactionRule.java:61) at org.apache.shardingsphere.transaction.rule.builder.TransactionRuleBuilder.build(TransactionRuleBuilder.java:36) at org.apache.shardingsphere.transaction.rule.builder.TransactionRuleBuilder.build(TransactionRuleBuilder.java:32) at org.apache.shardingsphere.infra.rule.builder.global.GlobalRulesBuilder.buildRules(GlobalRulesBuilder.java:53) at org.apache.shardingsphere.mode.manager.cluster.ClusterContextManagerBuilder.buildMetaDataContexts(ClusterContextManagerBuilder.java:91) at org.apache.shardingsphere.mode.manager.cluster.ClusterContextManagerBuilder.build(ClusterContextManagerBuilder.java:69) at org.apache.shardingsphere.proxy.initializer.BootstrapInitializer.createContextManager(BootstrapInitializer.java:66) at org.apache.shardingsphere.proxy.initializer.BootstrapInitializer.init(BootstrapInitializer.java:55) at org.apache.shardingsphere.proxy.Bootstrap.main(Bootstrap.java:50) Caused by: com.atomikos.recovery.LogException: The specified log seems to be in use already: xa_tx in ./logs/. Make sure that no other instance is running, or kill any pending process if needed. at com.atomikos.persistence.imp.LogFileLock.acquireLock(LogFileLock.java:60) at com.atomikos.recovery.fs.FileSystemRepository.init(FileSystemRepository.java:53) at com.atomikos.icatch.provider.imp.AssemblerImp.createCoordinatorLogEntryRepository(AssemblerImp.java:248) at com.atomikos.icatch.provider.imp.AssemblerImp.createRepository(AssemblerImp.java:198) ... 21 more"><pre class="notranslate"><code class="notranslate">[ERROR] 2022-07-06 15:16:50.805 [main] c.a.persistence.imp.LogFileLock - The specified log seems to be in use already: xa_tx in ./logs/. Make sure that no other instance is running, or kill any pending process if needed. Exception in thread "main" com.atomikos.icatch.SysException: Error in init: The specified log seems to be in use already: xa_tx in ./logs/. Make sure that no other instance is running, or kill any pending process if needed. at com.atomikos.icatch.provider.imp.AssemblerImp.createRepository(AssemblerImp.java:200) at com.atomikos.icatch.provider.imp.AssemblerImp.assembleTransactionService(AssemblerImp.java:170) at com.atomikos.icatch.config.Configuration.assembleSystemComponents(Configuration.java:424) at com.atomikos.icatch.config.Configuration.init(Configuration.java:390) at com.atomikos.icatch.config.UserTransactionServiceImp.initialize(UserTransactionServiceImp.java:100) at com.atomikos.icatch.config.UserTransactionServiceImp.init(UserTransactionServiceImp.java:189) at org.apache.shardingsphere.transaction.xa.atomikos.manager.AtomikosTransactionManagerProvider.init(AtomikosTransactionManagerProvider.java:46) at org.apache.shardingsphere.transaction.xa.XAShardingSphereTransactionManager.init(XAShardingSphereTransactionManager.java:55) at org.apache.shardingsphere.transaction.ShardingSphereTransactionManagerEngine.lambda$init$0(ShardingSphereTransactionManagerEngine.java:66) at java.util.Map.forEach(Map.java:630) at org.apache.shardingsphere.transaction.ShardingSphereTransactionManagerEngine.init(ShardingSphereTransactionManagerEngine.java:66) at org.apache.shardingsphere.transaction.rule.TransactionRule.createTransactionManagerEngine(TransactionRule.java:75) at org.apache.shardingsphere.transaction.rule.TransactionRule.createTransactionManagerEngines(TransactionRule.java:67) at org.apache.shardingsphere.transaction.rule.TransactionRule.&lt;init&gt;(TransactionRule.java:61) at org.apache.shardingsphere.transaction.rule.builder.TransactionRuleBuilder.build(TransactionRuleBuilder.java:36) at org.apache.shardingsphere.transaction.rule.builder.TransactionRuleBuilder.build(TransactionRuleBuilder.java:32) at org.apache.shardingsphere.infra.rule.builder.global.GlobalRulesBuilder.buildRules(GlobalRulesBuilder.java:53) at org.apache.shardingsphere.mode.manager.cluster.ClusterContextManagerBuilder.buildMetaDataContexts(ClusterContextManagerBuilder.java:91) at org.apache.shardingsphere.mode.manager.cluster.ClusterContextManagerBuilder.build(ClusterContextManagerBuilder.java:69) at org.apache.shardingsphere.proxy.initializer.BootstrapInitializer.createContextManager(BootstrapInitializer.java:66) at org.apache.shardingsphere.proxy.initializer.BootstrapInitializer.init(BootstrapInitializer.java:55) at org.apache.shardingsphere.proxy.Bootstrap.main(Bootstrap.java:50) Caused by: com.atomikos.recovery.LogException: The specified log seems to be in use already: xa_tx in ./logs/. Make sure that no other instance is running, or kill any pending process if needed. at com.atomikos.persistence.imp.LogFileLock.acquireLock(LogFileLock.java:60) at com.atomikos.recovery.fs.FileSystemRepository.init(FileSystemRepository.java:53) at com.atomikos.icatch.provider.imp.AssemblerImp.createCoordinatorLogEntryRepository(AssemblerImp.java:248) at com.atomikos.icatch.provider.imp.AssemblerImp.createRepository(AssemblerImp.java:198) ... 21 more </code></pre></div> <h3 dir="auto">Example codes for reproduce this issue (such as a github link).</h3>
1
<p dir="auto">I was wondering how it's the best way to render server-side (without rendering this on the client) AND handle the state changes. What I mean here is how to get the HTML from a server component that has a state changing.</p> <p dir="auto">Example:</p> <ol dir="auto"> <li>A server gets a requests to generate an HTML</li> <li>The server 'requires' a react component, passing some props</li> <li>The react component renders in the server, but it has to do an Ajax/Socket query to get some info. The event is sent and the response comes later.</li> <li>The react component changes the state, changing the output</li> <li>The HMTL generated is ready and with the latest state changes.</li> </ol> <p dir="auto">What's happening here is that ReactDOM.renderToStaticMarkup(), as expected, doesn't wait for the component to finish the state changes (in this case, wait for the data and re-render).</p> <p dir="auto">How can I achieve this? Doing all the queries first and passing all the data as props? Is this the only way?</p> <p dir="auto">Thanks!</p>
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong></p> <p dir="auto">Bug.</p> <p dir="auto"><strong>What is the current behavior?</strong></p> <p dir="auto">render() runs immediately only when provided unique props or on initial, main-parent rendering component, in v. 16.4.0.</p> <p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Paste the link to your JSFiddle (<a href="https://jsfiddle.net/Luktwrdm/" rel="nofollow">https://jsfiddle.net/Luktwrdm/</a>) or CodeSandbox (<a href="https://codesandbox.io/s/new" rel="nofollow">https://codesandbox.io/s/new</a>) example below:</strong></p> <p dir="auto">When render() executed immediately after being called, it followed a code path through shouldComponentUpdate(), and when it has delayed execution because of non-unique props, it followed a code path through componentWillMount().</p> <p dir="auto">When it worked: shouldComponentUpdate() immediately ran after calling ReactDOM.render(childcomponent, parentcomponent);.</p> <p dir="auto">When it didn't work: componentWillMount() ran after the current function of the parentcomponent had finished executing.</p> <p dir="auto">Please let me know if this is insufficient info.</p> <p dir="auto"><strong>What is the expected behavior?</strong></p> <p dir="auto">In ReactJS, 15.6.2, render() always runs, and runs immediately, whether its props are unique or not.</p> <p dir="auto"><strong>Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?</strong></p> <p dir="auto">This was last working in 15.6.2. It is not working in 16.4.0.</p>
0
<p dir="auto">Hi,<br> sorry to bother again. In order to save some space I would like to quantize my graph, but everytime I run quantize_graph, it becomes unusable in android app later on. I would like to generally ask, how is this facility meant to be used. What I have done:</p> <ol dir="auto"> <li>retrained graph (works fine)</li> <li>optimized it using optimize_for_inference (works fine)</li> <li>bazel-bin/tensorflow/tools/quantization/quantize_graph <br> --input=/tmp/optimized.pb <br> --output=/tmp/eightbit.pb <br> --output_node_names="final_result_a,final_result_b" <br> --mode=eightbit</li> </ol> <p dir="auto">Then it threws on android following (excerpt):</p> <p dir="auto"><code class="notranslate">I/native: tensorflow_inference_jni.cc:85 Creating new session variables for 635cce3c13fa1ff4 I/native: tensorflow_inference_jni.cc:113 Loading Tensorflow. I/native: tensorflow_inference_jni.cc:120 Session created. I/native: tensorflow_inference_jni.cc:126 Acquired AssetManager. I/native: tensorflow_inference_jni.cc:128 Reading file to proto: file:///android_asset/eightbit.pb I/native: jni_utils.cc:111 Opening asset eightbit.pb from disk with zero-copy. I/native: tensorflow_inference_jni.cc:132 GraphDef loaded from file:///android_asset/eightbit.pb with 1345 nodes. I/native: stat_summarizer.cc:38 StatSummarizer found 1345 nodes I/native: tensorflow_inference_jni.cc:139 Creating TensorFlow graph from GraphDef. I/native: tensorflow_inference_jni.cc:151 Initialization done in 234.141ms </code><br> Which I suppose is correct</p> <p dir="auto">But then:</p> <p dir="auto"><code class="notranslate">I/native: tensorflow_inference_jni.cc:228 End computing. Ran in 2665ms (2665ms avg over 1 runs) A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0xb95eb000 in tid 31217 (inference) Application terminated.</code><br> Would you please once again help? Thanks</p>
<h3 dir="auto">System information</h3> <ul dir="auto"> <li><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>: Yes</li> <li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: Linux Ubuntu 16.04.4 LTS</li> <li><strong>Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device</strong>: No</li> <li><strong>TensorFlow installed from (source or binary)</strong>: binary</li> <li><strong>TensorFlow version (use command below)</strong>: 1.10.0-rc1 and nightly</li> <li><strong>Python version</strong>: Python 3.5.2</li> <li><strong>Bazel version (if compiling from source)</strong>: No</li> <li><strong>GCC/Compiler version (if compiling from source)</strong>: No</li> <li><strong>CUDA/cuDNN version</strong>: 9.0.176</li> <li><strong>GPU model and memory</strong>: Tesla V100 16152MiB</li> <li><strong>Exact command to reproduce</strong>: Save the snippet in test.py and run "python test.py"</li> </ul> <h3 dir="auto">Describe the problem</h3> <p dir="auto">Using the distribute strategy (OneDeviceStrategy) I have a crash with train_and_evaluate method of the estimator.<br> The code below works with train and evaluate as separeted functions, but it doesn't work with train_and_evaluate.<br> I have attached a snipped with train, evaluate and train_and_evaluate methods togheter to gather the behaviour differences. At the end I've put the output error log.<br> Note: it works with tensorflow 1.9.0 and codalab</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from tensorflow import keras as ks import numpy as np import tensorflow as tf from tensorflow.python.estimator import keras as keras_lib tf.logging.set_verbosity(tf.logging.INFO) def input_fn(): x = np.random.random((1024, 10)) y = np.random.randint(2, size=(1024, 1)) x = tf.cast(x, tf.float32) dataset = tf.data.Dataset.from_tensor_slices((x, y)) dataset = dataset.repeat(100) dataset = dataset.batch(1) return dataset model = ks.Sequential() model.add(ks.layers.Dense(16, activation='relu', input_shape=(10,))) model.add(ks.layers.Dense(1, activation='sigmoid')) optimizer = tf.train.GradientDescentOptimizer(0.2) model.compile(loss='binary_crossentropy', optimizer=optimizer) strategy = tf.contrib.distribute.OneDeviceStrategy(&quot;device:GPU:0&quot;) config = tf.estimator.RunConfig(train_distribute=strategy) keras_estimator = keras_lib.model_to_estimator( keras_model=model, config=config) keras_estimator.train(input_fn=input_fn, steps=10) keras_estimator.evaluate(input_fn=input_fn, steps=3) train_spec = tf.estimator.TrainSpec( input_fn=input_fn, max_steps=20) eval_spec = tf.estimator.EvalSpec( input_fn=input_fn, steps=3) tf.estimator.train_and_evaluate(keras_estimator, train_spec, eval_spec)"><pre class="notranslate"><code class="notranslate">from tensorflow import keras as ks import numpy as np import tensorflow as tf from tensorflow.python.estimator import keras as keras_lib tf.logging.set_verbosity(tf.logging.INFO) def input_fn(): x = np.random.random((1024, 10)) y = np.random.randint(2, size=(1024, 1)) x = tf.cast(x, tf.float32) dataset = tf.data.Dataset.from_tensor_slices((x, y)) dataset = dataset.repeat(100) dataset = dataset.batch(1) return dataset model = ks.Sequential() model.add(ks.layers.Dense(16, activation='relu', input_shape=(10,))) model.add(ks.layers.Dense(1, activation='sigmoid')) optimizer = tf.train.GradientDescentOptimizer(0.2) model.compile(loss='binary_crossentropy', optimizer=optimizer) strategy = tf.contrib.distribute.OneDeviceStrategy("device:GPU:0") config = tf.estimator.RunConfig(train_distribute=strategy) keras_estimator = keras_lib.model_to_estimator( keras_model=model, config=config) keras_estimator.train(input_fn=input_fn, steps=10) keras_estimator.evaluate(input_fn=input_fn, steps=3) train_spec = tf.estimator.TrainSpec( input_fn=input_fn, max_steps=20) eval_spec = tf.estimator.EvalSpec( input_fn=input_fn, steps=3) tf.estimator.train_and_evaluate(keras_estimator, train_spec, eval_spec) </code></pre></div> <h3 dir="auto">Source code / logs</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="INFO:tensorflow:Using the Keras model provided. WARNING:tensorflow:Using temporary folder as model directory: /tmp/tmp_xh7nsci INFO:tensorflow:Using config: {'_num_ps_replicas': 0, '_tf_random_seed': None, '_master': '', '_keep_checkpoint_every_n_hours': 10000, '_global_id_in_cluster': 0, '_task_type': 'worker', '_session_config': None, '_is_chief': True, '_evaluation_master': '', '_log_step_count_steps': 100, '_model_dir': '/tmp/tmp_xh7nsci', '_save_checkpoints_secs': 600, '_save_summary_steps': 100, '_service': None, '_save_checkpoints_steps': None, '_task_id': 0, '_cluster_spec': &lt;tensorflow.python.training.server_lib.ClusterSpec object at 0x7f9a715b1240&gt;, '_device_fn': None, '_keep_checkpoint_max': 5, '_num_worker_replicas': 1, '_train_distribute': &lt;tensorflow.contrib.distribute.python.one_device_strategy.OneDeviceStrategy object at 0x7f9a630426d8&gt;} 2018-08-06 11:45:02.557498: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2018-08-06 11:45:02.679737: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:897] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2018-08-06 11:45:02.680248: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1404] Found device 0 with properties: name: Tesla V100-SXM2-16GB major: 7 minor: 0 memoryClockRate(GHz): 1.53 pciBusID: 0000:00:1e.0 totalMemory: 15.77GiB freeMemory: 15.36GiB 2018-08-06 11:45:02.680294: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1483] Adding visible gpu devices: 0 2018-08-06 11:45:03.032268: I tensorflow/core/common_runtime/gpu/gpu_device.cc:964] Device interconnect StreamExecutor with strength 1 edge matrix: 2018-08-06 11:45:03.032321: I tensorflow/core/common_runtime/gpu/gpu_device.cc:970] 0 2018-08-06 11:45:03.032339: I tensorflow/core/common_runtime/gpu/gpu_device.cc:983] 0: N 2018-08-06 11:45:03.032678: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1096] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 14856 MB memory) -&gt; physical GPU (device: 0, name: Tesla V100-SXM2-16GB, pci bus id: 0000:00:1e.0, compute capability: 7.0) 2018-08-06 11:45:03.032984: E tensorflow/core/common_runtime/gpu/gpu_device.cc:228] Illegal GPUOptions.experimental.num_dev_to_dev_copy_streams=0 set to 1 instead. 2018-08-06 11:45:03.353069: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1483] Adding visible gpu devices: 0 2018-08-06 11:45:03.353135: I tensorflow/core/common_runtime/gpu/gpu_device.cc:964] Device interconnect StreamExecutor with strength 1 edge matrix: 2018-08-06 11:45:03.353154: I tensorflow/core/common_runtime/gpu/gpu_device.cc:970] 0 2018-08-06 11:45:03.353162: I tensorflow/core/common_runtime/gpu/gpu_device.cc:983] 0: N 2018-08-06 11:45:03.353297: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1096] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 14856 MB memory) -&gt; physical GPU (device: 0, name: Tesla V100-SXM2-16GB, pci bus id: 0000:00:1e.0, compute capability: 7.0) INFO:tensorflow:Calling model_fn. INFO:tensorflow:Done calling model_fn. INFO:tensorflow:Create CheckpointSaverHook. INFO:tensorflow:Graph was finalized. 2018-08-06 11:45:04.042046: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1483] Adding visible gpu devices: 0 2018-08-06 11:45:04.042111: I tensorflow/core/common_runtime/gpu/gpu_device.cc:964] Device interconnect StreamExecutor with strength 1 edge matrix: 2018-08-06 11:45:04.042128: I tensorflow/core/common_runtime/gpu/gpu_device.cc:970] 0 2018-08-06 11:45:04.042148: I tensorflow/core/common_runtime/gpu/gpu_device.cc:983] 0: N 2018-08-06 11:45:04.042305: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1096] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 14856 MB memory) -&gt; physical GPU (device: 0, name: Tesla V100-SXM2-16GB, pci bus id: 0000:00:1e.0, compute capability: 7.0) INFO:tensorflow:Restoring parameters from /tmp/tmp_xh7nsci/keras_model.ckpt INFO:tensorflow:Running local_init_op. INFO:tensorflow:Done running local_init_op. INFO:tensorflow:Saving checkpoints for 0 into /tmp/tmp_xh7nsci/model.ckpt. INFO:tensorflow:loss = 0.6695193, step = 0 INFO:tensorflow:Saving checkpoints for 10 into /tmp/tmp_xh7nsci/model.ckpt. INFO:tensorflow:Loss for final step: 0.3536753. INFO:tensorflow:Calling model_fn. INFO:tensorflow:Done calling model_fn. INFO:tensorflow:Starting evaluation at 2018-08-06-11:45:04 INFO:tensorflow:Graph was finalized. 2018-08-06 11:45:04.822515: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1483] Adding visible gpu devices: 0 2018-08-06 11:45:04.822570: I tensorflow/core/common_runtime/gpu/gpu_device.cc:964] Device interconnect StreamExecutor with strength 1 edge matrix: 2018-08-06 11:45:04.822594: I tensorflow/core/common_runtime/gpu/gpu_device.cc:970] 0 2018-08-06 11:45:04.822613: I tensorflow/core/common_runtime/gpu/gpu_device.cc:983] 0: N 2018-08-06 11:45:04.822780: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1096] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 14856 MB memory) -&gt; physical GPU (device: 0, name: Tesla V100-SXM2-16GB, pci bus id: 0000:00:1e.0, compute capability: 7.0) INFO:tensorflow:Restoring parameters from /tmp/tmp_xh7nsci/model.ckpt-10 INFO:tensorflow:Running local_init_op. INFO:tensorflow:Done running local_init_op. INFO:tensorflow:Evaluation [1/3] INFO:tensorflow:Evaluation [2/3] INFO:tensorflow:Evaluation [3/3] INFO:tensorflow:Finished evaluation at 2018-08-06-11:45:04 INFO:tensorflow:Saving dict for global step 10: global_step = 10, loss = 0.1408012 INFO:tensorflow:Saving 'checkpoint_path' summary for global step 10: /tmp/tmp_xh7nsci/model.ckpt-10 INFO:tensorflow:Running training and evaluation locally (non-distributed). INFO:tensorflow:Start train and evaluate loop. The evaluate will happen after every checkpoint. Checkpoint frequency is determined based on RunConfig arguments: save_checkpoints_steps None or save_checkpoints_secs 600. INFO:tensorflow:Calling model_fn. INFO:tensorflow:Done calling model_fn. INFO:tensorflow:Create CheckpointSaverHook. INFO:tensorflow:Graph was finalized. 2018-08-06 11:45:05.220540: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1483] Adding visible gpu devices: 0 2018-08-06 11:45:05.220581: I tensorflow/core/common_runtime/gpu/gpu_device.cc:964] Device interconnect StreamExecutor with strength 1 edge matrix: 2018-08-06 11:45:05.220600: I tensorflow/core/common_runtime/gpu/gpu_device.cc:970] 0 2018-08-06 11:45:05.220615: I tensorflow/core/common_runtime/gpu/gpu_device.cc:983] 0: N 2018-08-06 11:45:05.220760: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1096] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 14856 MB memory) -&gt; physical GPU (device: 0, name: Tesla V100-SXM2-16GB, pci bus id: 0000:00:1e.0, compute capability: 7.0) INFO:tensorflow:Restoring parameters from /tmp/tmp_xh7nsci/model.ckpt-10 INFO:tensorflow:Running local_init_op. INFO:tensorflow:Done running local_init_op. INFO:tensorflow:Saving checkpoints for 10 into /tmp/tmp_xh7nsci/model.ckpt. INFO:tensorflow:loss = 1.5840994, step = 10 INFO:tensorflow:Saving checkpoints for 20 into /tmp/tmp_xh7nsci/model.ckpt. INFO:tensorflow:Calling model_fn. INFO:tensorflow:Done calling model_fn. Traceback (most recent call last): File &quot;test2.py&quot;, line 45, in &lt;module&gt; tf.estimator.train_and_evaluate(keras_estimator, train_spec, eval_spec) File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/training.py&quot;, line 451, in train_and_evaluate return executor.run() File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/training.py&quot;, line 590, in run return self.run_local() File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/training.py&quot;, line 691, in run_local saving_listeners=saving_listeners) File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/estimator.py&quot;, line 376, in train loss = self._train_model(input_fn, hooks, saving_listeners) File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/estimator.py&quot;, line 1143, in _train_model return self._train_model_distributed(input_fn, hooks, saving_listeners) File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/estimator.py&quot;, line 1368, in _train_model_distributed saving_listeners) File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/estimator.py&quot;, line 1451, in _train_with_estimator_spec _, loss = mon_sess.run([estimator_spec.train_op, estimator_spec.loss]) File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/monitored_session.py&quot;, line 695, in __exit__ self._close_internal(exception_type) File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/monitored_session.py&quot;, line 727, in _close_internal h.end(self._coordinated_creator.tf_sess) File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/basic_session_run_hooks.py&quot;, line 470, in end self._save(session, last_step) File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/basic_session_run_hooks.py&quot;, line 489, in _save if l.after_save(session, step): File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/training.py&quot;, line 497, in after_save self._evaluate(global_step_value) # updates self.eval_result File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/training.py&quot;, line 517, in _evaluate self._evaluator.evaluate_and_export()) File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/training.py&quot;, line 884, in evaluate_and_export hooks=self._eval_spec.hooks) File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/estimator.py&quot;, line 463, in evaluate input_fn, hooks, checkpoint_path) File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/estimator.py&quot;, line 1474, in _evaluate_build_graph model_fn_lib.LOSS_METRIC_KEY] = metrics_lib.mean(estimator_spec.loss) File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/metrics_impl.py&quot;, line 376, in mean mean_t = distribute_lib.get_tower_context().merge_call( AttributeError: 'NoneType' object has no attribute 'merge_call' "><pre class="notranslate"><code class="notranslate">INFO:tensorflow:Using the Keras model provided. WARNING:tensorflow:Using temporary folder as model directory: /tmp/tmp_xh7nsci INFO:tensorflow:Using config: {'_num_ps_replicas': 0, '_tf_random_seed': None, '_master': '', '_keep_checkpoint_every_n_hours': 10000, '_global_id_in_cluster': 0, '_task_type': 'worker', '_session_config': None, '_is_chief': True, '_evaluation_master': '', '_log_step_count_steps': 100, '_model_dir': '/tmp/tmp_xh7nsci', '_save_checkpoints_secs': 600, '_save_summary_steps': 100, '_service': None, '_save_checkpoints_steps': None, '_task_id': 0, '_cluster_spec': &lt;tensorflow.python.training.server_lib.ClusterSpec object at 0x7f9a715b1240&gt;, '_device_fn': None, '_keep_checkpoint_max': 5, '_num_worker_replicas': 1, '_train_distribute': &lt;tensorflow.contrib.distribute.python.one_device_strategy.OneDeviceStrategy object at 0x7f9a630426d8&gt;} 2018-08-06 11:45:02.557498: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2018-08-06 11:45:02.679737: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:897] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2018-08-06 11:45:02.680248: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1404] Found device 0 with properties: name: Tesla V100-SXM2-16GB major: 7 minor: 0 memoryClockRate(GHz): 1.53 pciBusID: 0000:00:1e.0 totalMemory: 15.77GiB freeMemory: 15.36GiB 2018-08-06 11:45:02.680294: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1483] Adding visible gpu devices: 0 2018-08-06 11:45:03.032268: I tensorflow/core/common_runtime/gpu/gpu_device.cc:964] Device interconnect StreamExecutor with strength 1 edge matrix: 2018-08-06 11:45:03.032321: I tensorflow/core/common_runtime/gpu/gpu_device.cc:970] 0 2018-08-06 11:45:03.032339: I tensorflow/core/common_runtime/gpu/gpu_device.cc:983] 0: N 2018-08-06 11:45:03.032678: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1096] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 14856 MB memory) -&gt; physical GPU (device: 0, name: Tesla V100-SXM2-16GB, pci bus id: 0000:00:1e.0, compute capability: 7.0) 2018-08-06 11:45:03.032984: E tensorflow/core/common_runtime/gpu/gpu_device.cc:228] Illegal GPUOptions.experimental.num_dev_to_dev_copy_streams=0 set to 1 instead. 2018-08-06 11:45:03.353069: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1483] Adding visible gpu devices: 0 2018-08-06 11:45:03.353135: I tensorflow/core/common_runtime/gpu/gpu_device.cc:964] Device interconnect StreamExecutor with strength 1 edge matrix: 2018-08-06 11:45:03.353154: I tensorflow/core/common_runtime/gpu/gpu_device.cc:970] 0 2018-08-06 11:45:03.353162: I tensorflow/core/common_runtime/gpu/gpu_device.cc:983] 0: N 2018-08-06 11:45:03.353297: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1096] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 14856 MB memory) -&gt; physical GPU (device: 0, name: Tesla V100-SXM2-16GB, pci bus id: 0000:00:1e.0, compute capability: 7.0) INFO:tensorflow:Calling model_fn. INFO:tensorflow:Done calling model_fn. INFO:tensorflow:Create CheckpointSaverHook. INFO:tensorflow:Graph was finalized. 2018-08-06 11:45:04.042046: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1483] Adding visible gpu devices: 0 2018-08-06 11:45:04.042111: I tensorflow/core/common_runtime/gpu/gpu_device.cc:964] Device interconnect StreamExecutor with strength 1 edge matrix: 2018-08-06 11:45:04.042128: I tensorflow/core/common_runtime/gpu/gpu_device.cc:970] 0 2018-08-06 11:45:04.042148: I tensorflow/core/common_runtime/gpu/gpu_device.cc:983] 0: N 2018-08-06 11:45:04.042305: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1096] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 14856 MB memory) -&gt; physical GPU (device: 0, name: Tesla V100-SXM2-16GB, pci bus id: 0000:00:1e.0, compute capability: 7.0) INFO:tensorflow:Restoring parameters from /tmp/tmp_xh7nsci/keras_model.ckpt INFO:tensorflow:Running local_init_op. INFO:tensorflow:Done running local_init_op. INFO:tensorflow:Saving checkpoints for 0 into /tmp/tmp_xh7nsci/model.ckpt. INFO:tensorflow:loss = 0.6695193, step = 0 INFO:tensorflow:Saving checkpoints for 10 into /tmp/tmp_xh7nsci/model.ckpt. INFO:tensorflow:Loss for final step: 0.3536753. INFO:tensorflow:Calling model_fn. INFO:tensorflow:Done calling model_fn. INFO:tensorflow:Starting evaluation at 2018-08-06-11:45:04 INFO:tensorflow:Graph was finalized. 2018-08-06 11:45:04.822515: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1483] Adding visible gpu devices: 0 2018-08-06 11:45:04.822570: I tensorflow/core/common_runtime/gpu/gpu_device.cc:964] Device interconnect StreamExecutor with strength 1 edge matrix: 2018-08-06 11:45:04.822594: I tensorflow/core/common_runtime/gpu/gpu_device.cc:970] 0 2018-08-06 11:45:04.822613: I tensorflow/core/common_runtime/gpu/gpu_device.cc:983] 0: N 2018-08-06 11:45:04.822780: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1096] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 14856 MB memory) -&gt; physical GPU (device: 0, name: Tesla V100-SXM2-16GB, pci bus id: 0000:00:1e.0, compute capability: 7.0) INFO:tensorflow:Restoring parameters from /tmp/tmp_xh7nsci/model.ckpt-10 INFO:tensorflow:Running local_init_op. INFO:tensorflow:Done running local_init_op. INFO:tensorflow:Evaluation [1/3] INFO:tensorflow:Evaluation [2/3] INFO:tensorflow:Evaluation [3/3] INFO:tensorflow:Finished evaluation at 2018-08-06-11:45:04 INFO:tensorflow:Saving dict for global step 10: global_step = 10, loss = 0.1408012 INFO:tensorflow:Saving 'checkpoint_path' summary for global step 10: /tmp/tmp_xh7nsci/model.ckpt-10 INFO:tensorflow:Running training and evaluation locally (non-distributed). INFO:tensorflow:Start train and evaluate loop. The evaluate will happen after every checkpoint. Checkpoint frequency is determined based on RunConfig arguments: save_checkpoints_steps None or save_checkpoints_secs 600. INFO:tensorflow:Calling model_fn. INFO:tensorflow:Done calling model_fn. INFO:tensorflow:Create CheckpointSaverHook. INFO:tensorflow:Graph was finalized. 2018-08-06 11:45:05.220540: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1483] Adding visible gpu devices: 0 2018-08-06 11:45:05.220581: I tensorflow/core/common_runtime/gpu/gpu_device.cc:964] Device interconnect StreamExecutor with strength 1 edge matrix: 2018-08-06 11:45:05.220600: I tensorflow/core/common_runtime/gpu/gpu_device.cc:970] 0 2018-08-06 11:45:05.220615: I tensorflow/core/common_runtime/gpu/gpu_device.cc:983] 0: N 2018-08-06 11:45:05.220760: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1096] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 14856 MB memory) -&gt; physical GPU (device: 0, name: Tesla V100-SXM2-16GB, pci bus id: 0000:00:1e.0, compute capability: 7.0) INFO:tensorflow:Restoring parameters from /tmp/tmp_xh7nsci/model.ckpt-10 INFO:tensorflow:Running local_init_op. INFO:tensorflow:Done running local_init_op. INFO:tensorflow:Saving checkpoints for 10 into /tmp/tmp_xh7nsci/model.ckpt. INFO:tensorflow:loss = 1.5840994, step = 10 INFO:tensorflow:Saving checkpoints for 20 into /tmp/tmp_xh7nsci/model.ckpt. INFO:tensorflow:Calling model_fn. INFO:tensorflow:Done calling model_fn. Traceback (most recent call last): File "test2.py", line 45, in &lt;module&gt; tf.estimator.train_and_evaluate(keras_estimator, train_spec, eval_spec) File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/training.py", line 451, in train_and_evaluate return executor.run() File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/training.py", line 590, in run return self.run_local() File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/training.py", line 691, in run_local saving_listeners=saving_listeners) File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/estimator.py", line 376, in train loss = self._train_model(input_fn, hooks, saving_listeners) File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/estimator.py", line 1143, in _train_model return self._train_model_distributed(input_fn, hooks, saving_listeners) File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/estimator.py", line 1368, in _train_model_distributed saving_listeners) File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/estimator.py", line 1451, in _train_with_estimator_spec _, loss = mon_sess.run([estimator_spec.train_op, estimator_spec.loss]) File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/monitored_session.py", line 695, in __exit__ self._close_internal(exception_type) File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/monitored_session.py", line 727, in _close_internal h.end(self._coordinated_creator.tf_sess) File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/basic_session_run_hooks.py", line 470, in end self._save(session, last_step) File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/basic_session_run_hooks.py", line 489, in _save if l.after_save(session, step): File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/training.py", line 497, in after_save self._evaluate(global_step_value) # updates self.eval_result File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/training.py", line 517, in _evaluate self._evaluator.evaluate_and_export()) File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/training.py", line 884, in evaluate_and_export hooks=self._eval_spec.hooks) File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/estimator.py", line 463, in evaluate input_fn, hooks, checkpoint_path) File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/estimator.py", line 1474, in _evaluate_build_graph model_fn_lib.LOSS_METRIC_KEY] = metrics_lib.mean(estimator_spec.loss) File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/metrics_impl.py", line 376, in mean mean_t = distribute_lib.get_tower_context().merge_call( AttributeError: 'NoneType' object has no attribute 'merge_call' </code></pre></div>
0
<p dir="auto">Deno bundle is awesome, I can drop countless NPM tooling for a non-deno specific project.</p> <p dir="auto">One question is how to generate typescript definition files from the bundler, as that would provide the interfaces to code against the es module file generated by the bundle command.</p> <p dir="auto">It seems that specifying a config as below has no effect.</p> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;compilerOptions&quot;: { &quot;declaration&quot;: true, &quot;sourceMap&quot;: true } }"><pre class="notranslate">{ <span class="pl-ent">"compilerOptions"</span>: { <span class="pl-ent">"declaration"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"sourceMap"</span>: <span class="pl-c1">true</span> } }</pre></div>
<p dir="auto">With <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="523264961" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/3352" data-hovercard-type="pull_request" data-hovercard-url="/denoland/deno/pull/3352/hovercard" href="https://github.com/denoland/deno/pull/3352">#3352</a>, bundles are going to be a mechanism to distribute "libraries" in Deno. It is logical that someone might want to use a distribution bundle in another Deno workload (or consume it in other runtimes) and would want to have type safe consumption of those files, therefore we should generate the declarations along with a bundle.</p> <p dir="auto">Related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="453754839" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/2475" data-hovercard-type="issue" data-hovercard-url="/denoland/deno/issues/2475/hovercard" href="https://github.com/denoland/deno/issues/2475">#2475</a>.</p>
1
<p dir="auto">It seems that if you're conditionally rendering between two elements then they can't have a different root node, for example switching between an input and a div. In order to get around the issue you have to wrap everything in a common container element for React to be able to handle it.</p> <p dir="auto">Sample plunkr is <a href="http://plnkr.co/edit/uXXZCctefi4IH22SCtPA?p=preview" rel="nofollow">here</a> which demonstrates the behavior. I'd expect in this case it to switch between showing 'Test' and 'Test 2' when activating the checkbox, instead it ends up duplicating the node.</p> <p dir="auto">Interestingly I don't get any errors in this simplified test case, in a more complex app React complains about two unrelated nodes sharing the same React id after activating the checkbox.</p>
<p dir="auto">Hi,</p> <p dir="auto">I am pretty new to react, and I am trying to build a DIV that requests an image-scaling service on the backend for images in specific resolutions, to do this I need to use CSS image-set, this CSS value need vendor prefixes, but the CSS key does not, my problem is that I can't have duplicate keys in the style object. I ended up manually setting the style attribute in componentDidUpdate, but it is a hack to get around the system. I suggest that you could perhaps also expect an array of key value pairs, then I could do like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[{backgroundImage : 'value1'}, {backgroundImage : 'value 2'}]"><pre class="notranslate"><code class="notranslate">[{backgroundImage : 'value1'}, {backgroundImage : 'value 2'}] </code></pre></div> <p dir="auto">a specific example of the css I am trying to modify can be found here.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="height : 818px; width : 1440px; background-size : cover; background-image : url(https://images.blockbuster.dk/movie/divergent?width=1440&amp;height=818); background-image : -webkit-image-set(url(https://images.blockbuster.dk/movie/divergent?width=1440&amp;height=818) 1.0x, url(https://images.blockbuster.dk/movie/divergent?width=2880&amp;height=1636) 2.0x); background-image : -moz-image-set(url(https://images.blockbuster.dk/movie/divergent?width=1440&amp;height=818) 1.0x, url(https://images.blockbuster.dk/movie/divergent?width=2880&amp;height=1636) 2.0x); background-image : -ms-image-set(url(https://images.blockbuster.dk/movie/divergent?width=1440&amp;height=818) 1.0x, url(https://images.blockbuster.dk/movie/divergent?width=2880&amp;height=1636) 2.0x); background-image : -o-image-set(url(https://images.blockbuster.dk/movie/divergent?width=1440&amp;height=818) 1.0x, url(https://images.blockbuster.dk/movie/divergent?width=2880&amp;height=1636) 2.0x)"><pre class="notranslate"><code class="notranslate">height : 818px; width : 1440px; background-size : cover; background-image : url(https://images.blockbuster.dk/movie/divergent?width=1440&amp;height=818); background-image : -webkit-image-set(url(https://images.blockbuster.dk/movie/divergent?width=1440&amp;height=818) 1.0x, url(https://images.blockbuster.dk/movie/divergent?width=2880&amp;height=1636) 2.0x); background-image : -moz-image-set(url(https://images.blockbuster.dk/movie/divergent?width=1440&amp;height=818) 1.0x, url(https://images.blockbuster.dk/movie/divergent?width=2880&amp;height=1636) 2.0x); background-image : -ms-image-set(url(https://images.blockbuster.dk/movie/divergent?width=1440&amp;height=818) 1.0x, url(https://images.blockbuster.dk/movie/divergent?width=2880&amp;height=1636) 2.0x); background-image : -o-image-set(url(https://images.blockbuster.dk/movie/divergent?width=1440&amp;height=818) 1.0x, url(https://images.blockbuster.dk/movie/divergent?width=2880&amp;height=1636) 2.0x) </code></pre></div>
0
<p dir="auto">Today <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/shoyer/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/shoyer">@shoyer</a> and I were talking about a new "protocol" that will let us sidestep the whole macro / method chaining issue. The basic idea is that pandas objects define a <code class="notranslate">pipe</code> method (ideally other libraries will implement this to, assuming this is useful).</p> <p dir="auto">Based on the discussions below, we're leaning towards a method like</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="def pipe(self, func, *args, **kwargs): pipe_func = getattr(func, '__pipe_func__', func) return pipe_func(self, *args, **kwargs)"><pre class="notranslate"><span class="pl-k">def</span> <span class="pl-en">pipe</span>(<span class="pl-s1">self</span>, <span class="pl-s1">func</span>, <span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>): <span class="pl-s1">pipe_func</span> <span class="pl-c1">=</span> <span class="pl-en">getattr</span>(<span class="pl-s1">func</span>, <span class="pl-s">'__pipe_func__'</span>, <span class="pl-s1">func</span>) <span class="pl-k">return</span> <span class="pl-en">pipe_func</span>(<span class="pl-s1">self</span>, <span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)</pre></div> <p dir="auto">That's it. This lets you write code like:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import seaborn as sns (sns.load_dataset('iris') .query(&quot;sepal_length &gt; 5&quot;) .assign(sepal_ratio = lambda df: df.sepal_length / df.sepal_width) .pipe(lambda df: sns.violinplot(x='species', y='sepal_ratio', data=df)) )"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">seaborn</span> <span class="pl-k">as</span> <span class="pl-s1">sns</span> (<span class="pl-s1">sns</span>.<span class="pl-en">load_dataset</span>(<span class="pl-s">'iris'</span>) .<span class="pl-en">query</span>(<span class="pl-s">"sepal_length &gt; 5"</span>) .<span class="pl-en">assign</span>(<span class="pl-s1">sepal_ratio</span> <span class="pl-c1">=</span> <span class="pl-k">lambda</span> <span class="pl-s1">df</span>: <span class="pl-s1">df</span>.<span class="pl-s1">sepal_length</span> <span class="pl-c1">/</span> <span class="pl-s1">df</span>.<span class="pl-s1">sepal_width</span>) .<span class="pl-en">pipe</span>(<span class="pl-k">lambda</span> <span class="pl-s1">df</span>: <span class="pl-s1">sns</span>.<span class="pl-en">violinplot</span>(<span class="pl-s1">x</span><span class="pl-c1">=</span><span class="pl-s">'species'</span>, <span class="pl-s1">y</span><span class="pl-c1">=</span><span class="pl-s">'sepal_ratio'</span>, <span class="pl-s1">data</span><span class="pl-c1">=</span><span class="pl-s1">df</span>)) )</pre></div> <p dir="auto">seaborn didn't have to do anything! If the DataFrame is the first argument to the function, things are even simpler:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="def f(x): return x / 2 df['sepal_length'].pipe(f)"><pre class="notranslate"><span class="pl-k">def</span> <span class="pl-en">f</span>(<span class="pl-s1">x</span>): <span class="pl-k">return</span> <span class="pl-s1">x</span> <span class="pl-c1">/</span> <span class="pl-c1">2</span> <span class="pl-s1">df</span>[<span class="pl-s">'sepal_length'</span>].<span class="pl-en">pipe</span>(<span class="pl-s1">f</span>)</pre></div> <p dir="auto">Users or libraries can work around the need for the (somewhat ugly) <code class="notranslate">lambda _:</code>, by using the <code class="notranslate">__pipe_func__</code> attribute of the function being <code class="notranslate">pipe</code>d in. This is where a protocol (de facto or official) would be useful, since libraries that know nothing else about each other can rely on it. As an example, consider seaborn's violin plot, which expects a DataFrame as its fourth argument, <code class="notranslate">data</code>. Seaborn can define a simple decorator to attach a <code class="notranslate">__pipe_func__</code> attribute, allowing <em>it</em> to define how it expects to be <code class="notranslate">pipe</code>d to.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="def pipeable(func): def pipe_func(data, *args, **kwargs): return func(*args, data=data, **kwargs) func.__pipe_func__ = pipe_func return func # now we decorate all the Seaborn methods as pipeable @pipeable def violinplot(x=None, y=None, hue=None, data=None, ...): # ... "><pre class="notranslate"><span class="pl-k">def</span> <span class="pl-en">pipeable</span>(<span class="pl-s1">func</span>): <span class="pl-k">def</span> <span class="pl-en">pipe_func</span>(<span class="pl-s1">data</span>, <span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>): <span class="pl-k">return</span> <span class="pl-en">func</span>(<span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-s1">data</span><span class="pl-c1">=</span><span class="pl-s1">data</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>) <span class="pl-s1">func</span>.<span class="pl-s1">__pipe_func__</span> <span class="pl-c1">=</span> <span class="pl-s1">pipe_func</span> <span class="pl-k">return</span> <span class="pl-s1">func</span> <span class="pl-c"># now we decorate all the Seaborn methods as pipeable</span> <span class="pl-en">@<span class="pl-s1">pipeable</span></span> <span class="pl-k">def</span> <span class="pl-en">violinplot</span>(<span class="pl-s1">x</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">y</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">hue</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">data</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, ...): <span class="pl-c"># ... </span></pre></div> <p dir="auto">And users write</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="(sns.load_dataset('iris') .query(&quot;sepal_length &gt; 5&quot;) .assign(sepal_ratio = lambda x: x.sepal_length / x.sepal_width) .pipe(sns.violinplot, x='species', y='sepal_ratio') )"><pre class="notranslate">(<span class="pl-s1">sns</span>.<span class="pl-en">load_dataset</span>(<span class="pl-s">'iris'</span>) .<span class="pl-en">query</span>(<span class="pl-s">"sepal_length &gt; 5"</span>) .<span class="pl-en">assign</span>(<span class="pl-s1">sepal_ratio</span> <span class="pl-c1">=</span> <span class="pl-k">lambda</span> <span class="pl-s1">x</span>: <span class="pl-s1">x</span>.<span class="pl-s1">sepal_length</span> <span class="pl-c1">/</span> <span class="pl-s1">x</span>.<span class="pl-s1">sepal_width</span>) .<span class="pl-en">pipe</span>(<span class="pl-s1">sns</span>.<span class="pl-s1">violinplot</span>, <span class="pl-s1">x</span><span class="pl-c1">=</span><span class="pl-s">'species'</span>, <span class="pl-s1">y</span><span class="pl-c1">=</span><span class="pl-s">'sepal_ratio'</span>) )</pre></div> <h3 dir="auto">Why?</h3> <p dir="auto">Heavily nested function calls are bad. They're hard to read, and can easily introduce bugs. Consider:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# f, g, and h are functions that take and receive a DataFrame result = f(g(h(df), arg1=1), arg2=2, arg3=3)"><pre class="notranslate"><span class="pl-c"># f, g, and h are functions that take and receive a DataFrame</span> <span class="pl-s1">result</span> <span class="pl-c1">=</span> <span class="pl-en">f</span>(<span class="pl-en">g</span>(<span class="pl-en">h</span>(<span class="pl-s1">df</span>), <span class="pl-s1">arg1</span><span class="pl-c1">=</span><span class="pl-c1">1</span>), <span class="pl-s1">arg2</span><span class="pl-c1">=</span><span class="pl-c1">2</span>, <span class="pl-s1">arg3</span><span class="pl-c1">=</span><span class="pl-c1">3</span>)</pre></div> <p dir="auto">For pandas, the approach has been to add <code class="notranslate">f</code>, <code class="notranslate">g</code>, and <code class="notranslate">h</code> as methods to (say) <code class="notranslate">DataFrame</code></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="(df.h() .g(arg1=1) .f(arg2=2, arg3=3) )"><pre class="notranslate">(<span class="pl-s1">df</span>.<span class="pl-en">h</span>() .<span class="pl-en">g</span>(<span class="pl-s1">arg1</span><span class="pl-c1">=</span><span class="pl-c1">1</span>) .<span class="pl-en">f</span>(<span class="pl-s1">arg2</span><span class="pl-c1">=</span><span class="pl-c1">2</span>, <span class="pl-s1">arg3</span><span class="pl-c1">=</span><span class="pl-c1">3</span>) )</pre></div> <p dir="auto">The code is certainly cleaner. It reads and flows top to bottom instead of inside-out. The function arguments are next to the function calls. But there's a hidden cost. DataFrame has something like 200+ methods, which is crazy. It's less flexible for users since it's hard to get their own functions into pipelines (short of monkey-patching). With <code class="notranslate">.pipe</code>, we can</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="(df.pipe(h) .pipe(g, arg1=1) .pipe(f, arg2=2, arg3=3) )"><pre class="notranslate">(<span class="pl-s1">df</span>.<span class="pl-en">pipe</span>(<span class="pl-s1">h</span>) .<span class="pl-en">pipe</span>(<span class="pl-s1">g</span>, <span class="pl-s1">arg1</span><span class="pl-c1">=</span><span class="pl-c1">1</span>) .<span class="pl-en">pipe</span>(<span class="pl-s1">f</span>, <span class="pl-s1">arg2</span><span class="pl-c1">=</span><span class="pl-c1">2</span>, <span class="pl-s1">arg3</span><span class="pl-c1">=</span><span class="pl-c1">3</span>) )</pre></div> <p dir="auto">The other way around the nested calls is using temporary variables:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="r1 = h(df) r2 = g(r1, arg1=1) r3 = f(r2, arg2=2, arg3=3)"><pre class="notranslate"><span class="pl-s1">r1</span> <span class="pl-c1">=</span> <span class="pl-en">h</span>(<span class="pl-s1">df</span>) <span class="pl-s1">r2</span> <span class="pl-c1">=</span> <span class="pl-en">g</span>(<span class="pl-s1">r1</span>, <span class="pl-s1">arg1</span><span class="pl-c1">=</span><span class="pl-c1">1</span>) <span class="pl-s1">r3</span> <span class="pl-c1">=</span> <span class="pl-en">f</span>(<span class="pl-s1">r2</span>, <span class="pl-s1">arg2</span><span class="pl-c1">=</span><span class="pl-c1">2</span>, <span class="pl-s1">arg3</span><span class="pl-c1">=</span><span class="pl-c1">3</span>)</pre></div> <p dir="auto">Which is better, but not as good as the <code class="notranslate">.pipe</code> solution.</p> <hr> <p dir="auto">A relevant thread on python-ideas, started by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mrocklin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mrocklin">@mrocklin</a>: <a href="https://mail.python.org/pipermail/python-ideas/2015-March/032745.html" rel="nofollow">https://mail.python.org/pipermail/python-ideas/2015-March/032745.html</a></p> <p dir="auto">This doesn't achieve everything macros could. We still can't do things like <code class="notranslate">df.plot(x=x_col, y=y_col)</code> where <code class="notranslate">x_col</code> and <code class="notranslate">y_col</code> are captured by <code class="notranslate">df</code>'s namespace. But it may be good enough.</p> <p dir="auto">Going to cc a bunch of people here, who've had interest in the past.</p> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/shoyer/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/shoyer">@shoyer</a><br> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mrocklin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mrocklin">@mrocklin</a><br> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/datnamer/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/datnamer">@datnamer</a><br> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dalejung/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dalejung">@dalejung</a></p>
<p dir="auto">I mentioned this originally on <a href="https://groups.google.com/forum/#!topic/pydata/woxbB8na3C8" rel="nofollow">https://groups.google.com/forum/#!topic/pydata/woxbB8na3C8</a>.</p> <p dir="auto">ewma() simply ignores missing values, effectively calculating the exponentially weighted moving average on the compacted series without the missing values. I think this is incorrect, and that values should be weighted based on their absolute location.</p> <p dir="auto">In the code below, I reproduce the ewma() calculation using "wrong" weights, and then show what I believe the correct result should be using the "right" weights.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [1]: from pandas import Series, ewma In [2]: def simple_wma(x, w): ...: return x.multiply(w).cumsum() / w.cumsum() ...: In [3]: s = Series([0, None, 100]) In [4]: com = 2 In [5]: alpha = 1/(1+com) In [6]: wrong_weights_adjust_false = Series([(1-alpha), None, alpha]) In [7]: wrong_weights_adjust_true = Series([(1-alpha), None, 1]) In [8]: right_weights_adjust_false = Series([(1-alpha)**2, None, alpha]) In [9]: right_weights_adjust_true = Series([(1-alpha)**2, None, 1]) In [10]: ewma(s, com=com, adjust=False) Out[10]: 0 0.000000 1 0.000000 2 33.333333 dtype: float64 In [11]: simple_wma(s, wrong_weights_adjust_false) Out[11]: 0 0.000000 1 NaN 2 33.333333 dtype: float64 In [12]: simple_wma(s, right_weights_adjust_false) Out[12]: 0 0.000000 1 NaN 2 42.857143 dtype: float64 In [13]: ewma(s, com=com, adjust=True) Out[13]: 0 0 1 0 2 60 dtype: float64 In [14]: simple_wma(s, wrong_weights_adjust_true) Out[14]: 0 0 1 NaN 2 60 dtype: float64 In [15]: simple_wma(s, right_weights_adjust_true) Out[15]: 0 0.000000 1 NaN 2 69.230769 dtype: float64 In [16]: s2 = Series([0, 100]) In [17]: ewma(s2, com=com, adjust=False) Out[17]: 0 0.000000 1 33.333333 dtype: float64 In [18]: ewma(s2, com=com, adjust=True) Out[18]: 0 0 1 60 dtype: float64"><pre class="notranslate"><code class="notranslate">In [1]: from pandas import Series, ewma In [2]: def simple_wma(x, w): ...: return x.multiply(w).cumsum() / w.cumsum() ...: In [3]: s = Series([0, None, 100]) In [4]: com = 2 In [5]: alpha = 1/(1+com) In [6]: wrong_weights_adjust_false = Series([(1-alpha), None, alpha]) In [7]: wrong_weights_adjust_true = Series([(1-alpha), None, 1]) In [8]: right_weights_adjust_false = Series([(1-alpha)**2, None, alpha]) In [9]: right_weights_adjust_true = Series([(1-alpha)**2, None, 1]) In [10]: ewma(s, com=com, adjust=False) Out[10]: 0 0.000000 1 0.000000 2 33.333333 dtype: float64 In [11]: simple_wma(s, wrong_weights_adjust_false) Out[11]: 0 0.000000 1 NaN 2 33.333333 dtype: float64 In [12]: simple_wma(s, right_weights_adjust_false) Out[12]: 0 0.000000 1 NaN 2 42.857143 dtype: float64 In [13]: ewma(s, com=com, adjust=True) Out[13]: 0 0 1 0 2 60 dtype: float64 In [14]: simple_wma(s, wrong_weights_adjust_true) Out[14]: 0 0 1 NaN 2 60 dtype: float64 In [15]: simple_wma(s, right_weights_adjust_true) Out[15]: 0 0.000000 1 NaN 2 69.230769 dtype: float64 In [16]: s2 = Series([0, 100]) In [17]: ewma(s2, com=com, adjust=False) Out[17]: 0 0.000000 1 33.333333 dtype: float64 In [18]: ewma(s2, com=com, adjust=True) Out[18]: 0 0 1 60 dtype: float64 </code></pre></div>
0
<p dir="auto">If i am trying to change the font size with CMD + in the React Editor, my console is opening and i am getting the following error:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5446019/2941364/7f4a9a68-d9a1-11e3-9f80-44ad92ab2b30.png"><img src="https://cloud.githubusercontent.com/assets/5446019/2941364/7f4a9a68-d9a1-11e3-9f80-44ad92ab2b30.png" alt="bildschirmfoto 2014-05-12 um 08 48 13" style="max-width: 100%;"></a></p> <p dir="auto">I also get into an endless loop and so i can't close the console and have to restart the wohle editor.</p>
<p dir="auto">Changing font size (or any font property, really) in the settings page on Mac 10.9.2 causes a crash with React enabled (doesn't happen with React disabled).</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/931368/2898325/03cb3812-d59a-11e3-8fe6-aa6dfe824f2b.gif"><img src="https://cloud.githubusercontent.com/assets/931368/2898325/03cb3812-d59a-11e3-8fe6-aa6dfe824f2b.gif" alt="atom-crash" data-animated-image="" style="max-width: 100%;"></a></p> <p dir="auto">The dev tools can't be closed (will pop open again) and can't change the devtools tab (jumps back to <code class="notranslate">console</code>).</p> <p dir="auto">It looks like it has something to do with the cursor blink.</p> <p dir="auto">Message: <code class="notranslate">Uncaught Error: You must assign a non-zero lineHeight before calling ::getVisibleRowRange()</code></p> <p dir="auto">Stack:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Uncaught Error: You must assign a non-zero lineHeight before calling ::getVisibleRowRange() /Applications/Atom.app/Contents/Resources/app/src/display-buffer.js:350 module.exports.DisplayBuffer.getVisibleRowRange /Applications/Atom.app/Contents/Resources/app/src/display-buffer.js:350 module.exports.DisplayBuffer.intersectsVisibleRowRange /Applications/Atom.app/Contents/Resources/app/src/display-buffer.js:360 module.exports.DisplayBuffer.selectionIntersectsVisibleRowRange /Applications/Atom.app/Contents/Resources/app/src/display-buffer.js:367 module.exports.Editor.selectionIntersectsVisibleRowRange /Applications/Atom.app/Contents/Resources/app/src/editor.js:2006 (anonymous function) /Applications/Atom.app/Contents/Resources/app/src/cursors-component.js:31 module.exports.React.createClass.render /Applications/Atom.app/Contents/Resources/app/src/cursors-component.js:44 (anonymous function) /Applications/Atom.app/Contents/Resources/app/node_modules/react/lib/ReactCompositeComponent.js:1394 (anonymous function) /Applications/Atom.app/Contents/Resources/app/node_modules/react/lib/ReactCompositeComponent.js:1326 ReactCompositeComponentMixin._performComponentUpdate /Applications/Atom.app/Contents/Resources/app/node_modules/react/lib/ReactCompositeComponent.js:1264 ReactCompositeComponentMixin._performUpdateIfNecessary /Applications/Atom.app/Contents/Resources/app/node_modules/react/lib/ReactCompositeComponent.js:1207 Mixin.perform /Applications/Atom.app/Contents/Resources/app/node_modules/react/lib/Transaction.js:159 ReactComponent.Mixin.performUpdateIfNecessary /Applications/Atom.app/Contents/Resources/app/node_modules/react/lib/ReactComponent.js:478 ReactCompositeComponentMixin.performUpdateIfNecessary /Applications/Atom.app/Contents/Resources/app/node_modules/react/lib/ReactCompositeComponent.js:1157 enqueueUpdate /Applications/Atom.app/Contents/Resources/app/node_modules/react/lib/ReactUpdates.js:107 ReactCompositeComponentMixin.replaceState /Applications/Atom.app/Contents/Resources/app/node_modules/react/lib/ReactCompositeComponent.js:1041 ReactCompositeComponentMixin.setState /Applications/Atom.app/Contents/Resources/app/node_modules/react/lib/ReactCompositeComponent.js:1020 module.exports.React.createClass.toggleCursorBlink /Applications/Atom.app/Contents/Resources/app/src/cursors-component.js:71 boundMethod /Applications/Atom.app/Contents/Resources/app/node_modules/react/lib/ReactCompositeComponent.js:1434"><pre class="notranslate"><code class="notranslate">Uncaught Error: You must assign a non-zero lineHeight before calling ::getVisibleRowRange() /Applications/Atom.app/Contents/Resources/app/src/display-buffer.js:350 module.exports.DisplayBuffer.getVisibleRowRange /Applications/Atom.app/Contents/Resources/app/src/display-buffer.js:350 module.exports.DisplayBuffer.intersectsVisibleRowRange /Applications/Atom.app/Contents/Resources/app/src/display-buffer.js:360 module.exports.DisplayBuffer.selectionIntersectsVisibleRowRange /Applications/Atom.app/Contents/Resources/app/src/display-buffer.js:367 module.exports.Editor.selectionIntersectsVisibleRowRange /Applications/Atom.app/Contents/Resources/app/src/editor.js:2006 (anonymous function) /Applications/Atom.app/Contents/Resources/app/src/cursors-component.js:31 module.exports.React.createClass.render /Applications/Atom.app/Contents/Resources/app/src/cursors-component.js:44 (anonymous function) /Applications/Atom.app/Contents/Resources/app/node_modules/react/lib/ReactCompositeComponent.js:1394 (anonymous function) /Applications/Atom.app/Contents/Resources/app/node_modules/react/lib/ReactCompositeComponent.js:1326 ReactCompositeComponentMixin._performComponentUpdate /Applications/Atom.app/Contents/Resources/app/node_modules/react/lib/ReactCompositeComponent.js:1264 ReactCompositeComponentMixin._performUpdateIfNecessary /Applications/Atom.app/Contents/Resources/app/node_modules/react/lib/ReactCompositeComponent.js:1207 Mixin.perform /Applications/Atom.app/Contents/Resources/app/node_modules/react/lib/Transaction.js:159 ReactComponent.Mixin.performUpdateIfNecessary /Applications/Atom.app/Contents/Resources/app/node_modules/react/lib/ReactComponent.js:478 ReactCompositeComponentMixin.performUpdateIfNecessary /Applications/Atom.app/Contents/Resources/app/node_modules/react/lib/ReactCompositeComponent.js:1157 enqueueUpdate /Applications/Atom.app/Contents/Resources/app/node_modules/react/lib/ReactUpdates.js:107 ReactCompositeComponentMixin.replaceState /Applications/Atom.app/Contents/Resources/app/node_modules/react/lib/ReactCompositeComponent.js:1041 ReactCompositeComponentMixin.setState /Applications/Atom.app/Contents/Resources/app/node_modules/react/lib/ReactCompositeComponent.js:1020 module.exports.React.createClass.toggleCursorBlink /Applications/Atom.app/Contents/Resources/app/src/cursors-component.js:71 boundMethod /Applications/Atom.app/Contents/Resources/app/node_modules/react/lib/ReactCompositeComponent.js:1434 </code></pre></div>
1
<p dir="auto">As seen in the screen shot, there are tabs getting cut off (on the right) or are not shown in the tab bar so you can only reach them with keyboard short cuts.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/56618/3954873/bf427be8-26fb-11e4-855e-c62f052b7fed.png"><img src="https://cloud.githubusercontent.com/assets/56618/3954873/bf427be8-26fb-11e4-855e-c62f052b7fed.png" alt="screen shot 2014-08-18 at 19 18 46" style="max-width: 100%;"></a></p> <p dir="auto">It would be great if you could scroll tabs too.</p>
<p dir="auto">Windows 7, Atom version 0.115.0</p> <p dir="auto">Opening a large number of files (21 &lt;) causes new tabs to be opened off screen.</p> <p dir="auto">Ctrl + Tabbing through opened tabs does not bring the current tab on screen.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1620641/3574814/1735eeec-0b82-11e4-9384-5291d385bb47.Gif"><img src="https://cloud.githubusercontent.com/assets/1620641/3574814/1735eeec-0b82-11e4-9384-5291d385bb47.Gif" alt="croppercapture 2" data-animated-image="" style="max-width: 100%;"></a></p>
1
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Win32NT 10.0.18362.0 Microsoft Windows NT 10.0.18362.0 Windows Terminal version (if applicable): 0.6.2951.0"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Win32NT 10.0.18362.0 Microsoft Windows NT 10.0.18362.0 Windows Terminal version (if applicable): 0.6.2951.0 </code></pre></div> <p dir="auto">Feedback Hub link:<br> <a href="https://aka.ms/AA6gvsu" rel="nofollow">https://aka.ms/AA6gvsu</a></p> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">Open Windows Terminal in one screen then move the window to another screen, the app will crash.</p> <p dir="auto">Here's the error log from the Event Viewer:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Faulting application name: WindowsTerminal.exe, version: 1.0.1910.22001, time stamp: 0x5daf7ab2 Faulting module name: Windows.UI.Xaml.dll, version: 10.0.18362.449, time stamp: 0xb90db728 Exception code: 0xc000027b Fault offset: 0x0000000000712ec0 Faulting process id: 0x3f4c Faulting application start time: 0x01d59330b1915a64 Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_0.6.2951.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe Faulting module path: C:\Windows\System32\Windows.UI.Xaml.dll Report Id: 135f8f3c-f6b8-4100-a6a8-448f12eb7247 Faulting package full name: Microsoft.WindowsTerminal_0.6.2951.0_x64__8wekyb3d8bbwe Faulting package-relative application ID: App"><pre class="notranslate"><code class="notranslate">Faulting application name: WindowsTerminal.exe, version: 1.0.1910.22001, time stamp: 0x5daf7ab2 Faulting module name: Windows.UI.Xaml.dll, version: 10.0.18362.449, time stamp: 0xb90db728 Exception code: 0xc000027b Fault offset: 0x0000000000712ec0 Faulting process id: 0x3f4c Faulting application start time: 0x01d59330b1915a64 Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_0.6.2951.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe Faulting module path: C:\Windows\System32\Windows.UI.Xaml.dll Report Id: 135f8f3c-f6b8-4100-a6a8-448f12eb7247 Faulting package full name: Microsoft.WindowsTerminal_0.6.2951.0_x64__8wekyb3d8bbwe Faulting package-relative application ID: App </code></pre></div>
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Microsoft Windows [version10.0.18362.175] Windows Terminal version (if applicable): Version: 0.2.1831.0 Any other software? Anaconda"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [version10.0.18362.175] Windows Terminal version (if applicable): Version: 0.2.1831.0 Any other software? Anaconda </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <ol dir="auto"> <li>open terminal</li> <li>input-&gt; "conda activate python3.6" (my conda environment name which use python3.6.8 )</li> <li>input-&gt;"python"</li> <li>the env is base (use python3.7) rather than python3.6</li> </ol> <h1 dir="auto">Expected behavior</h1> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/22129824/60701517-99410d00-9f2e-11e9-903f-6b8cb416cd81.png"><img src="https://user-images.githubusercontent.com/22129824/60701517-99410d00-9f2e-11e9-903f-6b8cb416cd81.png" alt="image" style="max-width: 100%;"></a><br> use cmd:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/22129824/60701504-88909700-9f2e-11e9-9d59-a5fa0e270668.png"><img src="https://user-images.githubusercontent.com/22129824/60701504-88909700-9f2e-11e9-9d59-a5fa0e270668.png" alt="image" style="max-width: 100%;"></a></p> <h1 dir="auto">Actual behavior</h1>
0
<p dir="auto">Hi,</p> <p dir="auto">I'm building some experiment with chrome canary and everything is fine. But when I tried with chrome 20.0.1132.57 I was surprised to have something like 1 frame per second. Commenting the texture.needsUpdate made everything run again at a comfortable 60fps so I created a jsfiddle to make sure this is what was causing the slowdown.</p> <p dir="auto">The jsfiddle confirmed that it was this line which was causing the problem, but I find it strange that is has so much impact. Firefox too doesn't seem to like the needsUpdate flag.</p> <p dir="auto"><a href="http://jsfiddle.net/sDUZ5/3/" rel="nofollow">http://jsfiddle.net/sDUZ5/3/</a><br> You can simply set the first line to true to enable the needsUpdate. On my machine this cause the framerate to go from 60fps to 9fps.</p> <p dir="auto">Is there anything wrong with my code? Any idea if maybe the next three.js release would help in this scenario?</p>
<p dir="auto">Just sharing a change I made in <a href="https://Clara.io" rel="nofollow">https://Clara.io</a>. I killed our support for Lambert materials a few months ago. Instead I just tell people to create Phong materials with the specular color black to reproduce the behavior of Lambert.</p> <p dir="auto">I'd suggest doing the same change in Three.JS. Having two shaders with tons of duplicated code is a bit of a pain when really there is almost no difference between the two.</p>
0
<h3 dir="auto">Bug summary</h3> <p dir="auto">There are two problems here. They might be related so I put them both in the bug report.</p> <p dir="auto">1: I want to write <math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="e08f9990c56e13bd65090ac6548082e0">$\sigma_{-}^{asdf}$</math-renderer> with asdf as superscript and - as subscript in the legend. When I use font size larger than 25, i.e. from 26 and upwards, the - sign disappears.</p> <p dir="auto">2: Also, when I write <math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="e08f9990c56e13bd65090ac6548082e0">$\sigma_{-}$</math-renderer> the lowest part of the \sigma symbol does not show in the legend for font sizes larger than 23, i.e. from 24 and upwards.</p> <h3 dir="auto">Code for reproduction</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt plt.rc('font', size=26) # set font size in plots fig, ax = plt.subplots(figsize=(12, 12)) x = [1,2,3,4] y = [1,2,3,4] ax.plot(x, y, label=r'$\sigma^{asdf}$') ax.plot(x, y, label=r'$\sigma_{-}$') ax.plot(x, y, label=r'$\sigma_{-}^{asdf}$') ax.plot(x, y, label=r'$\sigma_{+}^{asdf}$') ax.legend() plt.show()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span> <span class="pl-s1">plt</span>.<span class="pl-en">rc</span>(<span class="pl-s">'font'</span>, <span class="pl-s1">size</span><span class="pl-c1">=</span><span class="pl-c1">26</span>) <span class="pl-c"># set font size in plots</span> <span class="pl-s1">fig</span>, <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>(<span class="pl-s1">figsize</span><span class="pl-c1">=</span>(<span class="pl-c1">12</span>, <span class="pl-c1">12</span>)) <span class="pl-s1">x</span> <span class="pl-c1">=</span> [<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>,<span class="pl-c1">4</span>] <span class="pl-s1">y</span> <span class="pl-c1">=</span> [<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>,<span class="pl-c1">4</span>] <span class="pl-s1">ax</span>.<span class="pl-en">plot</span>(<span class="pl-s1">x</span>, <span class="pl-s1">y</span>, <span class="pl-s1">label</span><span class="pl-c1">=</span><span class="pl-s">r'$\sigma^{asdf}$'</span>) <span class="pl-s1">ax</span>.<span class="pl-en">plot</span>(<span class="pl-s1">x</span>, <span class="pl-s1">y</span>, <span class="pl-s1">label</span><span class="pl-c1">=</span><span class="pl-s">r'$\sigma_{-}$'</span>) <span class="pl-s1">ax</span>.<span class="pl-en">plot</span>(<span class="pl-s1">x</span>, <span class="pl-s1">y</span>, <span class="pl-s1">label</span><span class="pl-c1">=</span><span class="pl-s">r'$\sigma_{-}^{asdf}$'</span>) <span class="pl-s1">ax</span>.<span class="pl-en">plot</span>(<span class="pl-s1">x</span>, <span class="pl-s1">y</span>, <span class="pl-s1">label</span><span class="pl-c1">=</span><span class="pl-s">r'$\sigma_{+}^{asdf}$'</span>) <span class="pl-s1">ax</span>.<span class="pl-en">legend</span>() <span class="pl-s1">plt</span>.<span class="pl-en">show</span>()</pre></div> <h3 dir="auto">Actual outcome</h3> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/65549701/142730918-6ab0b6e4-3584-4813-85ef-1297741cd579.png"><img src="https://user-images.githubusercontent.com/65549701/142730918-6ab0b6e4-3584-4813-85ef-1297741cd579.png" alt="fig" style="max-width: 100%;"></a></p> <h3 dir="auto">Expected outcome</h3> <ol dir="auto"> <li>Both superscript and - subscript shows for larger font sizes (up to a sensible value).</li> <li>Entire math symbol shows for larger font sizes (up to a sensible value).</li> </ol> <h3 dir="auto">Additional information</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Operating system</h3> <p dir="auto">Windows 10</p> <h3 dir="auto">Matplotlib Version</h3> <p dir="auto">3.4.3</p> <h3 dir="auto">Matplotlib Backend</h3> <p dir="auto">module://matplotlib_inline.backend_inline</p> <h3 dir="auto">Python version</h3> <p dir="auto">3.8.12</p> <h3 dir="auto">Jupyter version</h3> <p dir="auto">6.4.6</p> <h3 dir="auto">Installation</h3> <p dir="auto">conda</p>
<h3 dir="auto">Bug report</h3> <p dir="auto"><strong>Bug summary</strong></p> <p dir="auto">When using the star (*) symbol in a <code class="notranslate">text</code> box, it cuts off the bottom of the text when saved (<code class="notranslate">savefig</code>). This is only the case when <code class="notranslate">usetex=False</code> in <code class="notranslate">rcParams</code>.</p> <p dir="auto"><strong>Code for reproduction</strong></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import matplotlib import matplotlib.pyplot as plt from matplotlib import rc rc('text', usetex=False) fig, ax = plt.subplots(1,1) ax.text(0.5, 0.5, '$S_{*} M^{ath}$ and some not math', transform=ax.transAxes) plt.savefig('test1.png', bbox_inches='tight')"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">matplotlib</span> <span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span> <span class="pl-k">from</span> <span class="pl-s1">matplotlib</span> <span class="pl-k">import</span> <span class="pl-s1">rc</span> <span class="pl-en">rc</span>(<span class="pl-s">'text'</span>, <span class="pl-s1">usetex</span><span class="pl-c1">=</span><span class="pl-c1">False</span>) <span class="pl-s1">fig</span>, <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>(<span class="pl-c1">1</span>,<span class="pl-c1">1</span>) <span class="pl-s1">ax</span>.<span class="pl-en">text</span>(<span class="pl-c1">0.5</span>, <span class="pl-c1">0.5</span>, <span class="pl-s">'$S_{*} M^{ath}$ and some not math'</span>, <span class="pl-s1">transform</span><span class="pl-c1">=</span><span class="pl-s1">ax</span>.<span class="pl-s1">transAxes</span>) <span class="pl-s1">plt</span>.<span class="pl-en">savefig</span>(<span class="pl-s">'test1.png'</span>, <span class="pl-s1">bbox_inches</span><span class="pl-c1">=</span><span class="pl-s">'tight'</span>)</pre></div> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4648092/65336879-07f14680-dbbf-11e9-9a0f-43fc495b20cc.png"><img src="https://user-images.githubusercontent.com/4648092/65336879-07f14680-dbbf-11e9-9a0f-43fc495b20cc.png" alt="test2" style="max-width: 100%;"></a></p> <p dir="auto">You can see the bottom of the text box is cut off. Whereas this plots fine:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="fig, ax = plt.subplots(1,1) ax.text(0.5, 0.5, '$S_{ome} M^{ath}$ and some not math', transform=ax.transAxes) plt.savefig('test1.png', bbox_inches='tight')"><pre class="notranslate"><span class="pl-s1">fig</span>, <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>(<span class="pl-c1">1</span>,<span class="pl-c1">1</span>) <span class="pl-s1">ax</span>.<span class="pl-en">text</span>(<span class="pl-c1">0.5</span>, <span class="pl-c1">0.5</span>, <span class="pl-s">'$S_{ome} M^{ath}$ and some not math'</span>, <span class="pl-s1">transform</span><span class="pl-c1">=</span><span class="pl-s1">ax</span>.<span class="pl-s1">transAxes</span>) <span class="pl-s1">plt</span>.<span class="pl-en">savefig</span>(<span class="pl-s">'test1.png'</span>, <span class="pl-s1">bbox_inches</span><span class="pl-c1">=</span><span class="pl-s">'tight'</span>)</pre></div> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4648092/65336976-32db9a80-dbbf-11e9-98bf-306e5166ad9b.png"><img src="https://user-images.githubusercontent.com/4648092/65336976-32db9a80-dbbf-11e9-98bf-306e5166ad9b.png" alt="test1" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Matplotlib version</strong></p> <ul dir="auto"> <li>Operating system: Unix</li> <li>Matplotlib version: 3.1.1</li> <li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>): TkAgg</li> <li>Python version: Python 3.6.8 (default, Apr 25 2019, 21:02:35)</li> </ul> <p dir="auto">matplotlib installed from pip</p> <ul dir="auto"> <li>Other libraries:</li> </ul> <p dir="auto">cycler==0.10.0<br> kiwisolver==1.1.0<br> numpy==1.17.2<br> pyparsing==2.4.2<br> python-dateutil==2.8.0<br> six==1.12.0</p>
1
<p dir="auto">Default text cursor is too short (at least on iOS). See images.</p> <p dir="auto">Flutter:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1539812/44215436-d19ef780-a172-11e8-96fc-fdf884063e73.png"><img width="322" alt="screen shot 2018-08-16 at 4 36 20 pm" src="https://user-images.githubusercontent.com/1539812/44215436-d19ef780-a172-11e8-96fc-fdf884063e73.png" style="max-width: 100%;"></a></p> <p dir="auto">Other iOS apps:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1539812/44215457-dcf22300-a172-11e8-860e-352d9829506d.png"><img width="246" alt="screen shot 2018-08-16 at 4 36 53 pm" src="https://user-images.githubusercontent.com/1539812/44215457-dcf22300-a172-11e8-860e-352d9829506d.png" style="max-width: 100%;"></a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (Channel master, v0.5.9-pre.60, on Mac OS X 10.13.5 17F77, locale en-US) • Flutter version 0.5.9-pre.60 at /Users/vik/Projects/flutter • Framework revision 26ba937846 (3 hours ago), 2018-08-16 13:59:27 +0200 • Engine revision e3687f70c7 • Dart version 2.1.0-dev.0.0.flutter-be6309690f [!] Android toolchain - develop for Android devices (Android SDK 27.0.3) • Android SDK at /Users/vik/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-27, build-tools 27.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08) ✗ Android license status unknown. [✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.4.1, Build version 9F2000 • ios-deploy 1.9.2 • CocoaPods version 1.5.3 [✓] Android Studio (version 3.0) • Android Studio at /Applications/Android Studio.app/Contents ✗ Flutter plugin not installed; this adds Flutter specific functionality. • Dart plugin version 171.4424 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08) [✓] Android Studio (version 2.3) • Android Studio at /Applications/Android Studio - old.app/Contents ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06) [✓] IntelliJ IDEA Community Edition (version 2017.2.5) • IntelliJ at /Applications/IntelliJ IDEA CE.app • Flutter plugin version 21.2.2 • Dart plugin version 172.4343.25 [✓] Connected devices (1 available) • iPhone SE • 8D312AD9-51E0-4381-A2AF-FC2E997E5EBD • ios • iOS 11.4 (simulator) ! Doctor found issues in 1 category."><pre class="notranslate"><code class="notranslate">[✓] Flutter (Channel master, v0.5.9-pre.60, on Mac OS X 10.13.5 17F77, locale en-US) • Flutter version 0.5.9-pre.60 at /Users/vik/Projects/flutter • Framework revision 26ba937846 (3 hours ago), 2018-08-16 13:59:27 +0200 • Engine revision e3687f70c7 • Dart version 2.1.0-dev.0.0.flutter-be6309690f [!] Android toolchain - develop for Android devices (Android SDK 27.0.3) • Android SDK at /Users/vik/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-27, build-tools 27.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08) ✗ Android license status unknown. [✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.4.1, Build version 9F2000 • ios-deploy 1.9.2 • CocoaPods version 1.5.3 [✓] Android Studio (version 3.0) • Android Studio at /Applications/Android Studio.app/Contents ✗ Flutter plugin not installed; this adds Flutter specific functionality. • Dart plugin version 171.4424 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08) [✓] Android Studio (version 2.3) • Android Studio at /Applications/Android Studio - old.app/Contents ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06) [✓] IntelliJ IDEA Community Edition (version 2017.2.5) • IntelliJ at /Applications/IntelliJ IDEA CE.app • Flutter plugin version 21.2.2 • Dart plugin version 172.4343.25 [✓] Connected devices (1 available) • iPhone SE • 8D312AD9-51E0-4381-A2AF-FC2E997E5EBD • ios • iOS 11.4 (simulator) ! Doctor found issues in 1 category. </code></pre></div>
<p dir="auto">We list our fonts in flutter.yaml under a <code class="notranslate">fonts</code> section. However, we're also required to list the font file under the <code class="notranslate">assets</code> section of that file. This is duplicate information.</p> <p dir="auto">Can we require the user to add the font file <em>once</em> , under <code class="notranslate">fonts</code>, and omit the declaration under <code class="notranslate">assets</code> ?</p>
0