text1
stringlengths
0
536k
text2
stringlengths
0
536k
label
int64
0
1
<p dir="auto">I already have LLVM installed. I'd rather not download, configure, compile, and install a duplicate LLVM, wasting several hours. I realize that it's an incredible help to do this automatically for Julia users, but for those that already have LLVM version Whatever, could the Makefiles be modified to only install LLVM if it's not already on the system? E.g. <code class="notranslate">which llvm-gcc</code>.</p>
<p dir="auto">Currently, you can only access global variables by a combination of <code class="notranslate">dlsym</code> and <code class="notranslate">dlopen</code>: <code class="notranslate">convert(Ptr{T}, dlsym(dlopen("libname"), "varname"))</code>. Not only is this ugly, but it will also make things difficult for future static compilation (where we would like to directly link any needed shared libraries with <code class="notranslate">ld</code>, rather than requiring them to be dlopened at runtime).</p> <p dir="auto">I'd like to suggest a <code class="notranslate">cglobal(symbol, T=Void)</code> intrinsic, returning a <code class="notranslate">Ptr{T}</code>, that mirrors <code class="notranslate">ccall(symbol, ...)</code>. That is, the <code class="notranslate">symbol</code> argument could be a symbol, a <code class="notranslate">(symbol,library)</code> pair, or a pointer returned by <code class="notranslate">dlsym</code> (although in that case cglobal wouldn't do much, just a typecast).</p> <p dir="auto">(See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5207689" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/961" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/961/hovercard" href="https://github.com/JuliaLang/julia/issues/961">#961</a> for some pre-history of this problem.)</p>
0
<p dir="auto">I accidentally left the "Use Regex" option for "Find in Project" on and searched for a string that resulted in an invalid regular expression, and the resulting exception bubbled to the top of the stack:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Uncaught SyntaxError: Invalid regular expression: /.run (DsEvent/: Unterminated group - results-model.coffee:180"><pre class="notranslate"><code class="notranslate">Uncaught SyntaxError: Invalid regular expression: /.run (DsEvent/: Unterminated group - results-model.coffee:180 </code></pre></div> <p dir="auto">I'd be happy to address this, but I'm not sure what the desired end behavior is.</p>
<p dir="auto">When trying to create a new file or a new folder from the right-click menu, Atom crashes.</p> <p dir="auto">The bug remains even when Atom is launched with <code class="notranslate">atom --safe</code>.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/769237/5664252/dd385d78-9746-11e4-8d41-0151f5761e3a.jpg"><img src="https://cloud.githubusercontent.com/assets/769237/5664252/dd385d78-9746-11e4-8d41-0151f5761e3a.jpg" alt="crash" style="max-width: 100%;"></a></p> <p dir="auto">OS: Windows 8.1 x64<br> Atom Version: 0.168.0</p>
0
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=rherrick" rel="nofollow">Rick Herrick</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-1439?redirect=false" rel="nofollow">SPR-1439</a></strong> and commented</p> <p dir="auto">Our system is a mish-mash of various mailing systems, including sendmail, JavaMail, KanaMail, and some others. I'd like to be able to collect all of these different message types in a list and do a batch send. The problem is that the base MailSender.send() method takes a SimpleMailMessage class instead of the base MailMessage interface. The problem is that I'm also submitting MimeMailMessages, which don't extend SimpleMailMessage. So I can't just pass in a generic MailMessage object (which could be a SimpleMailMessage or a MimeMailMessage or one of the other MailMessage-derived types I've created) into send().</p> <p dir="auto">This is obviously done because MailMessage doesn't have any getter methods and these are necessary. I'd suggest adding the getters to the base MailMessage interface. That lets generic sender and message code work on these base methods, while letting us develop the necessary code to support special functionality elsewhere. So the two steps I'm suggesting are:</p> <ol dir="auto"> <li>Add getters to MailMessage interface.</li> <li>Change the send() methods in MailSender to take MailMessage instead of SimpleMailMessage.</li> </ol> <hr> <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="398066116" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/6711" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/6711/hovercard" href="https://github.com/spring-projects/spring-framework/issues/6711">#6711</a> MailSender should use interface instead of class SimpleMailMessage (<em><strong>"is duplicated by"</strong></em>)</li> </ul> <p dir="auto">1 votes, 2 watchers</p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=den.orlov" rel="nofollow">Den Orlov</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-5079?redirect=false" rel="nofollow">SPR-5079</a></strong> and commented</p> <h4 dir="auto">Background</h4> <p dir="auto">I have integration tests that:</p> <ol dir="auto"> <li>put some test data into database using Hibernate</li> <li>wait some time, so DB stored procedures triggered by scheduler will process my data</li> <li>retrieve from db some data and check its correctness, again using Hibernate</li> </ol> <p dir="auto">When I used Spring's "JUnit 3.8 legacy support" all of these three steps were organized in one test method using the protected <code class="notranslate">endTransaction()</code> and <code class="notranslate">startNewTransaction()</code> methods in <code class="notranslate">AbstractTransactionalSpringContextTests</code> between steps <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="586320" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/1" data-hovercard-type="pull_request" data-hovercard-url="/spring-projects/spring-framework/pull/1/hovercard" href="https://github.com/spring-projects/spring-framework/pull/1">#1</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1575150" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/2" data-hovercard-type="pull_request" data-hovercard-url="/spring-projects/spring-framework/pull/2/hovercard" href="https://github.com/spring-projects/spring-framework/pull/2">#2</a>.</p> <hr> <h4 dir="auto">Status Quo</h4> <p dir="auto">Now I am migrating my code to use the <em>Spring TestContext Framework</em> (TCF), but it doesn't provide support for programmatically starting or stopping the test-managed transaction.</p> <hr> <h4 dir="auto">Deliverables</h4> <p dir="auto">The term <em>test-manged</em> means a transaction managed by the TCF, either declaratively or programmatically.</p> <p dir="auto">See also "<em>Design Considerations</em>" below.</p> <ol class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Introduce a mechanism in the TCF that supports the following features: <ol class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> end the current test-managed transaction</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> start a new test-managed transaction</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> configure the current test-managed transaction to be <em>committed</em> once the test completes</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> configure the current test-managed transaction to be <em>rolled back</em> once the test completes</li> </ol> </li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Refactor <code class="notranslate">TransactionalTestExecutionListener</code> to use this new mechanism internally.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Consider introducing a JUnit <code class="notranslate">TestRule</code> that simplifies the programming model (e.g., by delegating to the proposed <code class="notranslate">TestTransaction</code> façade).</li> </ol> <hr> <h4 dir="auto">Design Considerations</h4> <p dir="auto">Introduce a <code class="notranslate">TestTransaction</code> class that acts as a <em>façade</em> to the functionality previously available in <code class="notranslate">TransactionalTestExecutionListener</code>. For example, <code class="notranslate">TestTransaction</code> could define methods that could provide the following API:</p> <ul dir="auto"> <li><code class="notranslate">TestTransaction.start()</code></li> <li><code class="notranslate">TestTransaction.end()</code></li> <li><code class="notranslate">TestTransaction.rollback(boolean)</code></li> </ul> <h5 dir="auto">Options for Interacting with the Test Transaction</h5> <h6 dir="auto">Dependency Injection of TestTransaction</h6> <p dir="auto">Ideally, we would like to be able to have the <code class="notranslate">TestTransaction</code> injected into our test instance. However, since the <code class="notranslate">DependencyInjectionTestExecutionListener</code> must come before the <code class="notranslate">TransactionalTestExecutionListener</code> in the chain of listeners, dependency injection would only be possible by introducing yet another "transactional" <code class="notranslate">TestExecutionListener</code> that creates a proxy bean or bean of type <code class="notranslate">ObjectFactory</code> in the <code class="notranslate">ApplicationContext</code>. Such a <em>proxy</em> bean would serve as a placeholder for dependency injection into the test instance, and the <code class="notranslate">TransactionalTestExecutionListener</code> could later set a value either directly in the proxy/<code class="notranslate">ObjectFactory</code> or via a <code class="notranslate">ThreadLocal</code>.</p> <p dir="auto">But we would like to avoid having two (2) <code class="notranslate">TestExecutionListener</code> implementations for transactional support. Plus, the placeholder-bean approach could present more problems than it solves.</p> <h6 dir="auto">Dependency Injection of TestContext</h6> <p dir="auto">A second option would be to inject the <code class="notranslate">TestContext</code> into test instances (see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398112117" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12947" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12947/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12947">#12947</a>) and provide access to the <code class="notranslate">TestTransaction</code> as an attribute (note that <code class="notranslate">TestContext</code> implements <code class="notranslate">AttributeAccessor</code>), but this would open up use of the <code class="notranslate">TestContext</code> within test classes (i.e., no longer limited to the <code class="notranslate">TestExecutionListener</code> API). In addition, developers would be forced to navigate the <code class="notranslate">TestContext</code> to obtain the <code class="notranslate">TestTransaction</code>, thus making the programming model less intuitive.</p> <h6 dir="auto">Purely ThreadLocal Approach</h6> <p dir="auto">The final option is to follow a purely <code class="notranslate">ThreadLocal</code>-based approach with <code class="notranslate">TestTransaction</code> encapsulating the details and providing static methods instead of instance methods.</p> <hr> <h4 dir="auto">Related Resources</h4> <ul dir="auto"> <li><a href="http://springframework.cvs.sourceforge.net/viewvc/springframework/spring/tiger/mock/org/springframework/test/context/transaction/TransactionalTestExecutionListener.java?r1=1.11&amp;r2=1.12" rel="nofollow">Diff for TransactionalTestExecutionListener</a>. This commit introduced caching of the <code class="notranslate">TransactionContext</code> keyed by <code class="notranslate">Method</code> and removed the previous support for the <code class="notranslate">transactionFlaggedForCommit</code> functionality. <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398086830" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/9315" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/9315/hovercard" href="https://github.com/spring-projects/spring-framework/issues/9315">#9315</a></li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398086086" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/9218" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/9218/hovercard" href="https://github.com/spring-projects/spring-framework/issues/9218">#9218</a></li> </ul> </li> </ul> <hr> <p dir="auto"><strong>Affects:</strong> 2.5.6</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="398169541" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/16558" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/16558/hovercard" href="https://github.com/spring-projects/spring-framework/issues/16558">#16558</a> Document programmatic test transaction management support (<em><strong>"is depended on by"</strong></em>)</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398095939" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10548" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10548/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10548">#10548</a> Provide support in TestContext framework equivalent to AbstractTransactionalSpringContextTests (<em><strong>"is duplicated by"</strong></em>)</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398086830" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/9315" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/9315/hovercard" href="https://github.com/spring-projects/spring-framework/issues/9315">#9315</a> TransactionalTestExecutionListener uses cached TransactionManager (TM), even after ApplicationContext that created the TM has been marked 'dirty' and closed.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398112117" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12947" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12947/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12947">#12947</a> Introduce autowiring support for the current TestContext</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398086086" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/9218" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/9218/hovercard" href="https://github.com/spring-projects/spring-framework/issues/9218">#9218</a> Transactional JUnit test with timeout does not create a transaction</li> </ul> <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/bdceaa481bfeff2785676ada7b75d03635c19a0d/hovercard" href="https://github.com/spring-projects/spring-framework/commit/bdceaa481bfeff2785676ada7b75d03635c19a0d"><tt>bdceaa4</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/f667e43ca2fc3ffdc4f80fa604fb798b22b64dad/hovercard" href="https://github.com/spring-projects/spring-framework/commit/f667e43ca2fc3ffdc4f80fa604fb798b22b64dad"><tt>f667e43</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/90f0d14c8e441d52b5a5cb2c56c15e4d57592065/hovercard" href="https://github.com/spring-projects/spring-framework/commit/90f0d14c8e441d52b5a5cb2c56c15e4d57592065"><tt>90f0d14</tt></a></p> <p dir="auto">30 votes, 22 watchers</p>
0
<p dir="auto"><a href="https://github.com/GrosSacASac/worka/blob/master/example-deno/file_usage.js">example-deno/file_usage.js</a><br> <a href="https://github.com/GrosSacASac/worka/blob/master/example-deno/sort_worka.js">example-deno/sort_worka.js</a></p>
<p dir="auto">The most widely available global is <code class="notranslate">self</code> as it is in both workers and in the main window in browsers.</p> <p dir="auto">It would be very useful to define this global for cross-platform support.</p> <p dir="auto">As a further point it could even be worth having it replace <code class="notranslate">window</code> since <code class="notranslate">typeof window</code> is typically done for an <code class="notranslate">isBrowser</code> detection, while the same cannot necessarily be said of <code class="notranslate">self</code>.</p>
1
<p dir="auto"><a href="http://@googlemaps.com" rel="nofollow">8329381051</a></p> <blockquote> <p dir="auto">#@</p><div class="Box Box--condensed my-2"> <div class="Box-header f6"> <p class="mb-0 text-bold"> <a href="https://github.com/huggingface/transformers/blob/fe861e578f50dc9c06de33cd361d2f625017e624/src/transformers/utils/hub.py#L734">transformers/src/transformers/utils/hub.py</a> </p> <p class="mb-0 color-fg-muted"> Line 734 in <a data-pjax="true" class="commit-tease-sha" href="/huggingface/transformers/commit/fe861e578f50dc9c06de33cd361d2f625017e624">fe861e5</a> </p> </div> <div itemprop="text" class="Box-body p-0 blob-wrapper blob-wrapper-embedded data"> <table class="highlight tab-size mb-0 js-file-line-container" data-tab-size="8" data-paste-markdown-skip=""> <tbody><tr class="border-0"> <td id="L734" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="734"></td> <td id="LC734" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">def</span> <span class="pl-en">push_to_hub</span>( </td> </tr> </tbody></table> </div> </div> <p></p> </blockquote> <p dir="auto">/<br> ```python`<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1719676839" data-permission-text="Title is private" data-url="https://github.com/huggingface/transformers/issues/23655" data-hovercard-type="pull_request" data-hovercard-url="/huggingface/transformers/pull/23655/hovercard" href="https://github.com/huggingface/transformers/pull/23655">#23655</a> [WlP] add transfer script</p>
<h1 dir="auto"><g-emoji class="g-emoji" alias="star2" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f31f.png">🌟</g-emoji> New model addition</h1> <h2 dir="auto">Model description</h2> <p dir="auto">Facebook AI is introducing,<br> M2M-100<br> the first multilingual machine translation (MMT) model that translates between any pair of 100 languages without relying on English data.</p> <h2 dir="auto">Open source status</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> the model implementation is available: (give details) <a href="https://github.com/pytorch/fairseq/tree/master/examples/m2m_100?fbclid=IwAR2Oqew-PAwZpTmHMrq_yiXN2dwdzzbTMZ-4HfbNKfdoZ_M5TpQiPY3dYFo">https://github.com/pytorch/fairseq/tree/master/examples/m2m_100?fbclid=IwAR2Oqew-PAwZpTmHMrq_yiXN2dwdzzbTMZ-4HfbNKfdoZ_M5TpQiPY3dYFo</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> the model weights are available: (give details) <a href="https://dl.fbaipublicfiles.com/m2m_100/12b_last_checkpoint.pt" rel="nofollow">https://dl.fbaipublicfiles.com/m2m_100/12b_last_checkpoint.pt</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> who are the authors: (mention them, if possible by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gh-username/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gh-username">@gh-username</a>)</li> </ul>
0
<h1 dir="auto">Normalize string / No interpolation</h1> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Replace <code class="notranslate">interpolate1 = "" "${componentName0 == null ? "" : componentName0}" ""</code> with <code class="notranslate">interpolate1 = " " + stringify(componentName0) + " ";</code> NOTE: will require import of <code class="notranslate">stringify</code> method. I think <code class="notranslate">${}</code> creates extra unneeded checks, so simple string concat <code class="notranslate">+</code> should be better in this case.</li> </ul> <h1 dir="auto">Inline assignments</h1> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> take advantage of multiple assignments per line.</li> </ul> <p dir="auto">``` Dart``<br> _componentName0 = _gen.ChangeDetectionUtil.uninitialized();<br> _interpolate1 = _gen.ChangeDetectionUtil.uninitialized();<br> _directive_1_0 = _gen.ChangeDetectionUtil.uninitialized();<br> _directive_2_0 = _gen.ChangeDetectionUtil.uninitialized();</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" becomes: ``` Dart _componentName0 = _interpolate1 = _directive_1_0 = _directive_2_0 = _gen.ChangeDetectionUtil.uninitialized;"><pre class="notranslate"><code class="notranslate"> becomes: ``` Dart _componentName0 = _interpolate1 = _directive_1_0 = _directive_2_0 = _gen.ChangeDetectionUtil.uninitialized; </code></pre></div> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Also call <code class="notranslate">dehydrateDirectives()</code> from constructor so that we don't have to duplicate the code in the constructor.</li> </ul> <h1 dir="auto">Inline assignments and usages</h1> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> inline where ever possible.</li> </ul> <div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" _dispatcher.notifyOnBinding(currentProto.bindingRecord, interpolate1); _interpolate1 = interpolate1;"><pre class="notranslate"> _dispatcher.<span class="pl-en">notifyOnBinding</span>(currentProto.bindingRecord, interpolate1); _interpolate1 <span class="pl-k">=</span> interpolate1;</pre></div> <p dir="auto">becomes</p> <div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" _dispatcher.notifyOnBinding(currentProto.bindingRecord, _interpolate1 = interpolate1);"><pre class="notranslate"> _dispatcher.<span class="pl-en">notifyOnBinding</span>(currentProto.bindingRecord, _interpolate1 <span class="pl-k">=</span> interpolate1);</pre></div> <h1 dir="auto">have <code class="notranslate">notifyOnBinding</code> helper</h1> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> create <code class="notranslate">viewSet</code> in super. Notice that <code class="notranslate">_dispatcher</code> is always a View. This code is no longer abstract so we should use concrete names.</li> </ul> <div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="currentProto = _protos[1] ... change_interpolate1 = true; _dispatcher.notifyOnBinding(currentProto.bindingRecord, interpolate1); _interpolate1 = interpolate1;"><pre class="notranslate">currentProto <span class="pl-k">=</span> _protos[<span class="pl-c1">1</span>] ... change_interpolate1 <span class="pl-k">=</span> <span class="pl-c1">true</span>; _dispatcher.<span class="pl-en">notifyOnBinding</span>(currentProto.bindingRecord, interpolate1); _interpolate1 <span class="pl-k">=</span> interpolate1;</pre></div> <p dir="auto">becomes</p> <div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" change_interpolate1 = viewSet(1, _interpolate1 = interpolate1);"><pre class="notranslate"> change_interpolate1 <span class="pl-k">=</span> <span class="pl-en">viewSet</span>(<span class="pl-c1">1</span>, _interpolate1 <span class="pl-k">=</span> interpolate1);</pre></div> <p dir="auto">which requires this method on superclass</p> <div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" boolean viewSet(int index, dynamic value) { _view.notifyOnBinding(protos[index].bindingRecord, value); return true; }"><pre class="notranslate"> boolean <span class="pl-en">viewSet</span>(<span class="pl-c1">int</span> index, <span class="pl-c1">dynamic</span> value) { _view.<span class="pl-en">notifyOnBinding</span>(protos[index].bindingRecord, value); <span class="pl-k">return</span> <span class="pl-c1">true</span>; }</pre></div> <h1 dir="auto"><code class="notranslate">looseNotIdentical</code></h1> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> have <code class="notranslate">loseNotIdentical</code> which will allow us to change <code class="notranslate">if (!_gen.looseIdentical(...))</code> to <code class="notranslate">if (_gen.looseNotIdentical(...))</code>. (its only one char, but it is everywhere)</li> </ul> <h1 dir="auto">inline context assignment</h1> <div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" var context = null; context = _context;"><pre class="notranslate"> <span class="pl-k">var</span> context <span class="pl-k">=</span> <span class="pl-c1">null</span>; context <span class="pl-k">=</span> _context;</pre></div> <p dir="auto">should be</p> <div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" var context = _context;"><pre class="notranslate"> <span class="pl-k">var</span> context <span class="pl-k">=</span> _context;</pre></div> <h1 dir="auto">Unused <code class="notranslate">change_context</code></h1> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> the code is never used in output</li> </ul> <div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var change_context = false;"><pre class="notranslate"><span class="pl-k">var</span> change_context <span class="pl-k">=</span> <span class="pl-c1">false</span>;</pre></div> <p dir="auto">but is never read.</p> <h1 dir="auto">change <code class="notranslate">uninitialized()</code> method call to <code class="notranslate">uninitialized</code> static field</h1> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> should save some chars</li> </ul>
<p dir="auto"><strong>I'm submitting a ...</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[X] bug report"><pre class="notranslate"><code class="notranslate">[X] bug report </code></pre></div> <p dir="auto"><strong>Current behavior</strong></p> <p dir="auto">I have some routes like:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const routes = [ { path: &quot;&quot;, component: HomeComponent, pathMatch: &quot;full&quot; }, { path: &quot;profile&quot;, component: ProfileComponent }, { path: &quot;menu&quot;, component: MenuComponent, outlet: &quot;sidebar&quot; }, ];"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">routes</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span> <span class="pl-kos">{</span> <span class="pl-c1">path</span>: <span class="pl-s">""</span><span class="pl-kos">,</span> <span class="pl-c1">component</span>: <span class="pl-smi">HomeComponent</span><span class="pl-kos">,</span> <span class="pl-c1">pathMatch</span>: <span class="pl-s">"full"</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">path</span>: <span class="pl-s">"profile"</span><span class="pl-kos">,</span> <span class="pl-c1">component</span>: <span class="pl-smi">ProfileComponent</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">path</span>: <span class="pl-s">"menu"</span><span class="pl-kos">,</span> <span class="pl-c1">component</span>: <span class="pl-smi">MenuComponent</span><span class="pl-kos">,</span> <span class="pl-c1">outlet</span>: <span class="pl-s">"sidebar"</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">When the route <code class="notranslate">http://localhost/(sidebar:menu)</code> is open, then I'm able to remove the named outlet and go to <code class="notranslate">http://localhost/</code> by clicking an anchor like the following:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;a [routerLink]=&quot;['', {outlets: {sidebar: null}}]&quot;&gt; Close &lt;/a&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">a</span> <span class="pl-c1">[routerLink]</span>="<span class="pl-s">['', {outlets: {sidebar: null}}]</span>"<span class="pl-kos">&gt;</span> Close <span class="pl-kos">&lt;/</span><span class="pl-ent">a</span><span class="pl-kos">&gt;</span></pre></div> <p dir="auto">What doesn't work is navigating away from the sidebar <strong>and also</strong> going to another route like <code class="notranslate">http://localhost/profile</code>.</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;a [routerLink]=&quot;['/profile', {outlets: {sidebar: null}}]&quot;&gt; Close &lt;/a&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">a</span> <span class="pl-c1">[routerLink]</span>="<span class="pl-s">['/profile', {outlets: {sidebar: null}}]</span>"<span class="pl-kos">&gt;</span> Close <span class="pl-kos">&lt;/</span><span class="pl-ent">a</span><span class="pl-kos">&gt;</span></pre></div> <p dir="auto">The link that is rendered is <code class="notranslate">http://localhost:3971/profile(sidebar:menu)</code></p> <p dir="auto"><strong>Expected behavior</strong></p> <p dir="auto">The link that should be rendered is <code class="notranslate">http://localhost:3971/profile</code>.</p> <p dir="auto"><strong>Repro</strong></p> <p dir="auto"><a href="https://github.com/tinchou/router-repro">https://github.com/tinchou/router-repro</a></p> <p dir="auto"><strong>Please tell us about your environment:</strong></p> <p dir="auto">Windows 10, Visual Studio 2017</p> <ul dir="auto"> <li> <p dir="auto"><strong>Angular version:</strong> 2.3.1 (didn't work with 2.1.0 either)</p> </li> <li> <p dir="auto"><strong>Browser:</strong> all</p> </li> <li> <p dir="auto"><strong>Language:</strong> TypeScript 2.0.10</p> </li> </ul>
0
<p dir="auto">Drag and drop .bat file to Windows PowerShell/CMD and start execution of script. This will make running of .bat scripts much more convenient.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/17230877/65967191-8375b200-e461-11e9-8f21-68acaef84b98.gif"><img src="https://user-images.githubusercontent.com/17230877/65967191-8375b200-e461-11e9-8f21-68acaef84b98.gif" alt="DropScript" data-animated-image="" style="max-width: 100%;"></a></p>
<p dir="auto">Hi Guys.</p> <p dir="auto">I have an profile with ssh.exe which connects to one of my linux boxes. All works fine but i would like to adjust it a little bit.</p> <p dir="auto">My problem is that when i connect to that linux box then tab title is automatically changed to 'OpenSSH SSH client". I would like to to keep it as i named it "My linux box".</p> <p dir="auto">I tried to use:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" &quot;name&quot; : &quot;My linux box&quot;, &quot;tabTitle&quot; : &quot;My Linux Box&quot;,"><pre class="notranslate"><code class="notranslate"> "name" : "My linux box", "tabTitle" : "My Linux Box", </code></pre></div> <p dir="auto">in profile config but tab title still changes.</p> <p dir="auto">Is there any way of getting rid off dynamically changed tab titles or setting up static tab title which never changes?</p> <p dir="auto">Thank you.</p>
0
<h2 dir="auto">Bug Report</h2> <p dir="auto"><strong>Current Behavior</strong><br> Using webpack + preset-env with useBuiltIns: usage + corejs3 does not work on IE11 without additional configuration of webpack entries.</p> <p dir="auto">The generated code currently fails with "Unhandled promise rejection TypeError: Target is not iterable" raised from core-js/internal/iterate.js.</p> <p dir="auto">To make it work I have to manually add 'core-js/modules/es.array.iterator' to my webpack entry:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="entry: [ 'core-js/modules/es.array.iterator', path.join(__dirname, 'src', 'index.js') ],"><pre class="notranslate"><code class="notranslate">entry: [ 'core-js/modules/es.array.iterator', path.join(__dirname, 'src', 'index.js') ], </code></pre></div> <p dir="auto"><strong>Input Code</strong><br> A repro project can be found here:<br> <a href="https://github.com/sarod/bugs-repro/tree/master/babel-bugs/dynamic-import-ie11">https://github.com/sarod/bugs-repro/tree/master/babel-bugs/dynamic-import-ie11</a></p> <p dir="auto">Run <code class="notranslate">yarn install &amp;&amp; yarn serve </code> and access localhost:8080 using ie11.</p> <p dir="auto"><strong>Expected behavior/code</strong><br> According to <a href="https://github.com/babel/babel/issues/7402#issuecomment-484382486" data-hovercard-type="issue" data-hovercard-url="/babel/babel/issues/7402/hovercard">@zloirock</a> with core-js3 + useBuiltins:usage this should work without additional configuration.</p> <p dir="auto"><strong>Babel Configuration (.babelrc, package.json, cli command)</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ presets: [ [ '@babel/preset-env', { &quot;modules&quot;: false, &quot;useBuiltIns&quot;: &quot;usage&quot;, &quot;corejs&quot;: { version: 3 } } ] ], plugins: ['@babel/plugin-syntax-dynamic-import'] }"><pre class="notranslate"><span class="pl-kos">{</span> <span class="pl-c1">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">"modules"</span>: <span class="pl-c1">false</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-s">"corejs"</span>: <span class="pl-kos">{</span> <span class="pl-c1">version</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-kos">,</span> <span class="pl-c1">plugins</span>: <span class="pl-kos">[</span><span class="pl-s">'@babel/plugin-syntax-dynamic-import'</span><span class="pl-kos">]</span> <span class="pl-kos">}</span></pre></div> <p dir="auto"><strong>Environment</strong></p> <ul dir="auto"> <li>Babel version(s): [e.g. v7.4.3]</li> <li>Node/yarn version: [e.g. Node 8.12.0/yarn 1.15.2]</li> <li>OS: [e.g. Ubuntu 18.04]</li> <li>Monorepo: [e.g. no]</li> <li>How you are using Babel: <code class="notranslate">loader</code></li> </ul> <p dir="auto"><strong>Possible Solution</strong><br> It looks like webpack is using Promise.all which requires Promise to be iterable.</p> <p dir="auto">So preset-env should probably import "core-js/modules/es.array.iterator"<br> in addition to "core-js/modules/es.object.to-string" and "core-js/modules/es.promise" when finding a dynamic import statement.</p>
<h2 dir="auto">Bug Report</h2> <p dir="auto"><strong>Current Behavior</strong><br> Dynamic imports are not working in IE10. The following error is shown in the console: "Unhandled promise rejectionTypeError: Target is not iterable". @babel/preset-env is used with core-js@3. <code class="notranslate">.browserslistrc</code> contains <code class="notranslate">ie &lt;= 10</code>.</p> <p dir="auto"><strong>Input Code</strong><br> <a href="https://github.com/jorenvanhee/dynamic-imports-with-preset-env-test">https://github.com/jorenvanhee/dynamic-imports-with-preset-env-test</a></p> <p dir="auto">Run <code class="notranslate">npm i &amp;&amp; npm run build</code> and visit <code class="notranslate">/index.html</code> in IE10.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import('./answer').then((module) =&gt; { console.log(module.default); });"><pre class="notranslate"><code class="notranslate">import('./answer').then((module) =&gt; { console.log(module.default); }); </code></pre></div> <p dir="auto"><strong>Expected behavior/code</strong><br> <code class="notranslate">42</code> should be logged in the console.</p> <p dir="auto"><strong>Babel Configuration (.babelrc, package.json, cli command)</strong></p> <p dir="auto"><a href="https://github.com/jorenvanhee/dynamic-imports-with-preset-env-test">https://github.com/jorenvanhee/dynamic-imports-with-preset-env-test</a></p> <p dir="auto"><strong>Environment</strong></p> <ul dir="auto"> <li>Babel version(s): 7.4.3</li> <li>Node/npm version: Node 10.15.1/npm 6.5</li> <li>How you are using Babel: loader</li> </ul> <p dir="auto"><strong>Additional context/Screenshots</strong></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/231202/56349093-24c8be80-61c8-11e9-9559-598d452cdcc7.png"><img src="https://user-images.githubusercontent.com/231202/56349093-24c8be80-61c8-11e9-9559-598d452cdcc7.png" alt="Screenshot 2019-04-16 at 17 08 48" style="max-width: 100%;"></a></p>
1
<ul dir="auto"> <li>[x ] I have searched the <a href="https://github.com/mui-org/material-ui/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 want to inline style Dialog's Backdrop and Paper (actually only Paper but same question can be posed for Backdrop).</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;Dialog open={this.state.open} onRequestClose={this.handleClose} fullWidth={true} style={{...some style...}} &gt; &lt;/Dialog&gt; "><pre class="notranslate"><code class="notranslate">&lt;Dialog open={this.state.open} onRequestClose={this.handleClose} fullWidth={true} style={{...some style...}} &gt; &lt;/Dialog&gt; </code></pre></div> <p dir="auto">But setting style sets the Dialogue root element's style. Can I inline set style of Backdrop and Paper?</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>v1.0.0-beta.21</td> </tr> </tbody> </table>
<h3 dir="auto">Problem description</h3> <p dir="auto">When switching a LinearProgress's mode, the indeterminate mode is not indeterminate anymore but instead acts as determinate progress bar that is fully filled.</p> <h3 dir="auto">Link to minimal working code that reproduces the issue</h3> <p dir="auto"><a href="https://www.webpackbin.com/bins/-KgQZpihdEJ0etZArvl9" rel="nofollow">https://www.webpackbin.com/bins/-KgQZpihdEJ0etZArvl9</a><br> This switches mode every 5 seconds. You can see that the initial indeterminate mode works correctly, but gets stuck after being called again (after 10 seconds).</p> <h3 dir="auto">Versions</h3> <ul dir="auto"> <li>Material-UI: 0.17.1</li> <li>React: 15.4.2</li> <li>Browser: Opera (same engine as Chrome)</li> </ul> <p dir="auto">Essentially a duplicate of the stale issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="179178640" data-permission-text="Title is private" data-url="https://github.com/mui/material-ui/issues/5252" data-hovercard-type="issue" data-hovercard-url="/mui/material-ui/issues/5252/hovercard" href="https://github.com/mui/material-ui/issues/5252">#5252</a> as it seems, but this time with a working live demo half a year later.</p>
0
<p dir="auto">Docker 1.12 is going to be relased in a week and it will contain feature "The option --dns and --net=host should not be mutually exclusive" (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="151798040" data-permission-text="Title is private" data-url="https://github.com/moby/moby/issues/22408" data-hovercard-type="pull_request" data-hovercard-url="/moby/moby/pull/22408/hovercard" href="https://github.com/moby/moby/pull/22408">moby/moby#22408</a>)<br> Let's enable using this functionality in kubelet. For now in case of "hostNetwork: true" set all dns settings are ignored if any.</p>
<p dir="auto">With 1.1, we allow pods to be created with hostNetwork = true.<br> These pods should be allowed to use Cluster DNS, if the pod spec says so.</p> <p dir="auto">We have already wired the kube-proxy to support traffic from the host machine to be directed to kube-services. We should similarly allow cluster dns names to be looked up by pods with hostNetwork=true.</p> <p dir="auto">This way, pods can use hostNetwork = true and still leverage kubernetes' service discovery mechanisms.</p> <p dir="auto">I currently have a use case, where I am writing a GCE Firewall pod, that configures iptables on the nodes. This pod needs to run with hostNetwork=true to configure iptables and the same time needs to look up a kubernetes pod service to read some metadata.<br> Refer to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="117484732" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/17405" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/17405/hovercard" href="https://github.com/kubernetes/kubernetes/pull/17405">#17405</a><br> <a href="https://github.com/ArtfulCoder/kubernetes/blob/prototype2/contrib/gce-firewall/client.yaml#L19">https://github.com/ArtfulCoder/kubernetes/blob/prototype2/contrib/gce-firewall/client.yaml#L19</a></p> <p dir="auto">Currently, I have hard-coded a Kubernetes service-ip since we dont have cluster dns for hostNetworked-pods. This is hardly a workable solution.</p> <p dir="auto">I would imagine that third-party network plugins would also face similar issues if they try to do a clean implementation.</p> <p dir="auto">Option 2:<br> The other option is to query API server to do service discovery. But this doesn't seem like a clean solution, especially since we have put in so much effort into our DNS based service discovery approach.</p>
1
<p dir="auto">It works in class component but in the hooks the val function calling infinity times<br> can any one have solution for this...........<br> import React, { useState } from 'react'</p> <p dir="auto">function Inhook(props) {<br> const initialState = 0;<br> const [records, setRecords] = useState([]);<br> const [count, setCount] = useState(initialState);<br> const [show, setShow] = useState(false);<br> const [store, setStore] = useState(initialState);<br> const [store1, setStore1] = useState(initialState);<br> setRecords(props.records);</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="function val(e) { debugger; console.log(&quot;hhh&quot;, e); setStore(e); if (store === store1) { if (count == 0) { setShow(true); } else { setShow(false); } } else { setShow(true); setCount(0); } setCount(count + 1); // console.log(count,'counttt'); setStore1(e); } return ( &lt;div&gt; &lt;React.Fragment&gt; &lt;br /&gt; &lt;div className=&quot;Tree&quot;&gt; &lt;h1 style={{ textAlign: &quot;center&quot; }}&gt;Employee Tree&lt;/h1&gt; &lt;h3&gt;Test Case 1&lt;/h3&gt; &lt;h4&gt;Employee Tree&lt;/h4&gt; { records.sort((x, y) =&gt; (x.empName.toLowerCase() &gt; y.empName.toLowerCase()) * 2 - 1), records.map(empId =&gt; { return empId.managerId === 0 ? &lt;ul key={empId.id} &gt; &lt;li style={{ fontWeight: &quot;Bold&quot; }}&gt;{empId.empName.toLowerCase()} &lt;p&gt;Employees of : {empId.empName.toLowerCase()}&lt;/p&gt; &lt;ul&gt; {records.map((s) =&gt; (s.managerId === empId.id ? &lt;li type=&quot;square&quot; key={s.id}&gt;{s.empName.toLowerCase()} { empId.managerId === s.id ? &lt;p&gt;Employees of : {s.empName.toLowerCase()}&lt;/p&gt; : &lt;p&gt;&lt;/p&gt; } {records.map((e) =&gt; (e.managerId === s.id ? &lt;div&gt; { e.managerId === s.id ? &lt;p &gt;{val(s.id)}&lt;/p&gt; : &lt;p&gt;&lt;/p&gt; } { show ? &lt;p &gt;Employees of : {s.empName.toLowerCase()}&lt;/p&gt; : &lt;p&gt;&lt;/p&gt; } &lt;li key={e.id} type=&quot;disc&quot; style={{ marginLeft: '120px' }}&gt;{e.empName.toLowerCase()} &lt;/li&gt;&lt;/div&gt; : &quot;&quot; ))} &lt;/li&gt; : &quot;&quot; ))} &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt; : &quot;&quot; })} &lt;/div&gt; &lt;/React.Fragment&gt; &lt;/div&gt; )"><pre class="notranslate"><code class="notranslate">function val(e) { debugger; console.log("hhh", e); setStore(e); if (store === store1) { if (count == 0) { setShow(true); } else { setShow(false); } } else { setShow(true); setCount(0); } setCount(count + 1); // console.log(count,'counttt'); setStore1(e); } return ( &lt;div&gt; &lt;React.Fragment&gt; &lt;br /&gt; &lt;div className="Tree"&gt; &lt;h1 style={{ textAlign: "center" }}&gt;Employee Tree&lt;/h1&gt; &lt;h3&gt;Test Case 1&lt;/h3&gt; &lt;h4&gt;Employee Tree&lt;/h4&gt; { records.sort((x, y) =&gt; (x.empName.toLowerCase() &gt; y.empName.toLowerCase()) * 2 - 1), records.map(empId =&gt; { return empId.managerId === 0 ? &lt;ul key={empId.id} &gt; &lt;li style={{ fontWeight: "Bold" }}&gt;{empId.empName.toLowerCase()} &lt;p&gt;Employees of : {empId.empName.toLowerCase()}&lt;/p&gt; &lt;ul&gt; {records.map((s) =&gt; (s.managerId === empId.id ? &lt;li type="square" key={s.id}&gt;{s.empName.toLowerCase()} { empId.managerId === s.id ? &lt;p&gt;Employees of : {s.empName.toLowerCase()}&lt;/p&gt; : &lt;p&gt;&lt;/p&gt; } {records.map((e) =&gt; (e.managerId === s.id ? &lt;div&gt; { e.managerId === s.id ? &lt;p &gt;{val(s.id)}&lt;/p&gt; : &lt;p&gt;&lt;/p&gt; } { show ? &lt;p &gt;Employees of : {s.empName.toLowerCase()}&lt;/p&gt; : &lt;p&gt;&lt;/p&gt; } &lt;li key={e.id} type="disc" style={{ marginLeft: '120px' }}&gt;{e.empName.toLowerCase()} &lt;/li&gt;&lt;/div&gt; : "" ))} &lt;/li&gt; : "" ))} &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt; : "" })} &lt;/div&gt; &lt;/React.Fragment&gt; &lt;/div&gt; ) </code></pre></div> <p dir="auto">}<br> export default Inhook</p>
<p dir="auto">Hello,</p> <p dir="auto">I have an error regarding hooks in a lerna architecture project where we import a ux lib made of style component inside a react project.<br> If component are host in the same app, error is not thrown.</p> <p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong><br> Report a bug</p> <p dir="auto"><strong>What is the current behavior?</strong></p> <p dir="auto">An error is thrown:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Invariant Violation: Hooks can only be called inside the body of a function component. (https://fb.me/react-invalid-hook-call) at invariant (http://localhost/static/js/main.chunk.js:121537:23) at resolveDispatcher (http://localhost/static/js/main.chunk.js:122922:36) at useRef (http://localhost/static/js/main.chunk.js:122956:28) at useStateWithGetter (http://localhost/static/js/main.chunk.js:39121:71) at useField (http://localhost/static/js/main.chunk.js:39161:35) at http://localhost/static/js/main.chunk.js:39417:27 at renderWithHooks (http://localhost/static/js/0.chunk.js:70682:22) at mountIndeterminateComponent (http://localhost/static/js/0.chunk.js:72686:17) at beginWork (http://localhost/static/js/0.chunk.js:73237:20) at performUnitOfWork (http://localhost/static/js/0.chunk.js:77166:16) at workLoop (http://localhost/static/js/0.chunk.js:77207:28) at renderRoot (http://localhost/static/js/0.chunk.js:77287:11) at performWorkOnRoot (http://localhost/static/js/0.chunk.js:78232:11) at performWork (http://localhost/static/js/0.chunk.js:78142:11) at performSyncWork (http://localhost/static/js/0.chunk.js:78116:7) at requestWork (http://localhost/static/js/0.chunk.js:77971:9) at scheduleWork (http://localhost/static/js/0.chunk.js:77778:9) at scheduleRootUpdate (http://localhost/static/js/0.chunk.js:78482:7) at updateContainerAtExpirationTime (http://localhost/static/js/0.chunk.js:78508:14) at updateContainer (http://localhost/static/js/0.chunk.js:78576:14) at ReactRoot.push../node_modules/react-dom/cjs/react-dom.development.js.ReactRoot.render (http://localhost/static/js/0.chunk.js:78889:7) at http://localhost/static/js/0.chunk.js:79041:18 at unbatchedUpdates (http://localhost/static/js/0.chunk.js:78359:14) at legacyRenderSubtreeIntoContainer (http://localhost/static/js/0.chunk.js:79037:9) at Object.render (http://localhost/static/js/0.chunk.js:79112:16) at boot (http://localhost/static/js/main.chunk.js:207505:52) at http://localhost/static/js/main.chunk.js:207517:10"><pre class="notranslate"><code class="notranslate">Invariant Violation: Hooks can only be called inside the body of a function component. (https://fb.me/react-invalid-hook-call) at invariant (http://localhost/static/js/main.chunk.js:121537:23) at resolveDispatcher (http://localhost/static/js/main.chunk.js:122922:36) at useRef (http://localhost/static/js/main.chunk.js:122956:28) at useStateWithGetter (http://localhost/static/js/main.chunk.js:39121:71) at useField (http://localhost/static/js/main.chunk.js:39161:35) at http://localhost/static/js/main.chunk.js:39417:27 at renderWithHooks (http://localhost/static/js/0.chunk.js:70682:22) at mountIndeterminateComponent (http://localhost/static/js/0.chunk.js:72686:17) at beginWork (http://localhost/static/js/0.chunk.js:73237:20) at performUnitOfWork (http://localhost/static/js/0.chunk.js:77166:16) at workLoop (http://localhost/static/js/0.chunk.js:77207:28) at renderRoot (http://localhost/static/js/0.chunk.js:77287:11) at performWorkOnRoot (http://localhost/static/js/0.chunk.js:78232:11) at performWork (http://localhost/static/js/0.chunk.js:78142:11) at performSyncWork (http://localhost/static/js/0.chunk.js:78116:7) at requestWork (http://localhost/static/js/0.chunk.js:77971:9) at scheduleWork (http://localhost/static/js/0.chunk.js:77778:9) at scheduleRootUpdate (http://localhost/static/js/0.chunk.js:78482:7) at updateContainerAtExpirationTime (http://localhost/static/js/0.chunk.js:78508:14) at updateContainer (http://localhost/static/js/0.chunk.js:78576:14) at ReactRoot.push../node_modules/react-dom/cjs/react-dom.development.js.ReactRoot.render (http://localhost/static/js/0.chunk.js:78889:7) at http://localhost/static/js/0.chunk.js:79041:18 at unbatchedUpdates (http://localhost/static/js/0.chunk.js:78359:14) at legacyRenderSubtreeIntoContainer (http://localhost/static/js/0.chunk.js:79037:9) at Object.render (http://localhost/static/js/0.chunk.js:79112:16) at boot (http://localhost/static/js/main.chunk.js:207505:52) at http://localhost/static/js/main.chunk.js:207517:10 </code></pre></div> <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><br> Use this <a href="https://github.com/ppinel/test-informed-hooks">public repo</a> and follow the readme.<br> It's a good representation of our project's architecture.<br> You will experience the error.</p> <p dir="auto"><strong>What is the expected behavior?</strong><br> Not throwing an error about hooks and displaying a working form.</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> Well, didn't tested before 16.8.0. But using <a href="https://github.com/react-tools/react-form">react-form</a> instead of <a href="https://github.com/joepuzzo/informed">informed</a> works.<br> An <a href="https://github.com/joepuzzo/informed/issues/167">issue</a> has been open on informed repository.<br> II have the feeling that it's more related to React than informed itself.</p> <p dir="auto">I am aware of <a href="https://reactjs.org/warnings/invalid-hook-call-warning.html" rel="nofollow">this page</a> but nothing worked.</p>
0
<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: 3.7.6</li> <li>Operating System version: Mac os</li> <li>Java version: java8<br> nacos1.1.4</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>同一个nacos下,配置了多个namespace</li> <li>dubbo配置多注册中心后,项目启动后只注册到一个namespace下</li> <li>另外一个namespace没有任何provider,配置如下<br> dubbo:<br> registries:<br> test1:<br> address: nacos://127.0.0.1:8848?namespace=3d064614-057d-4298-a6ce-34ed39e053e1<br> test2:<br> address: nacos://127.0.0.1:8848?namespace=1ca1de39-870c-497f-9ac2-f67bb3665691<br> default: true</li> </ol> <p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p> <h3 dir="auto">Expected Result</h3> <p dir="auto">What do you expected from the above steps?<br> 希望能分别注册到2个namespace下。另外经过实验 当两个address配置的ip:port不一样时是可以成功注册到2个namespace下,是不是dubbo注册时认为ip+port一样就是相同的注册中心</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">What actually happens?</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/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: xxx</li> <li>Java version: 1.8</li> </ul> <p dir="auto">dubbo 2.7.5+nacos 1.1.4启动应用会在nacos配置列表中用服务命创建配置,一个服务会创建一个配置<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/26211950/83252563-06602f80-a1de-11ea-999d-9d724ca7d606.png"><img src="https://user-images.githubusercontent.com/26211950/83252563-06602f80-a1de-11ea-999d-9d724ca7d606.png" alt="image" style="max-width: 100%;"></a><br> 在nacos logs/config.log日志中发现发布配置的日志:<br> INFO [main :config.NacosConfigService] [addr-hz-internal.edas.aliyun.com-c1d6921b-00bd-4f3f-b46e-3a44b407c036] [publish-single] ok, dataId=edas-provider, group=mapping-com.zfxf.app.dubbo.service.DemoService, tenant=c1d6921b-00bd-4f3f-b46e-3a44b407c036, config=1590738418788</p> <p dir="auto">把dubbo 2.7.5降到2.7.3不会出现创建配置的问题,测试了2.7.6和2.7.5都会出现创建配置的情况。<br> 这个应该是个bug吧。</p>
0
<p dir="auto">Hi! While installing <code class="notranslate">jaxlib</code> from sources on macos 11.2.2. by following docs the installation fails with <code class="notranslate">ld: 2 duplicate symbols</code> error that points to output in <code class="notranslate">bazel-out/</code>. The log below is taken from rerunning <code class="notranslate">python3 build/build.py</code> (fails with same error). Thank you for any tips what I can be missing!</p> <p dir="auto">Following the <code class="notranslate">install from sources instructions</code>:</p> <ol dir="auto"> <li><code class="notranslate">git clone https://github.com/google/jax; cd jax</code></li> <li>running installation (without cuda): <code class="notranslate">python3 build/build.py</code></li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ python3 build/build.py _ _ __ __ | | / \ \ \/ / _ | |/ _ \ \ / | |_| / ___ \/ \ \___/_/ \/_/\_\ Bazel binary path: ./bazel-3.7.2-darwin-x86_64 Python binary path: /usr/local/opt/python@3.8/bin/python3.8 Python version: 3.8 MKL-DNN enabled: yes Target CPU features: release CUDA enabled: no ROCm enabled: no Building XLA and installing it in the jaxlib source tree... ./bazel-3.7.2-darwin-x86_64 run --verbose_failures=true --config=short_logs --config=avx_posix --config=mkl_open_source_only :build_wheel -- --output_path=/Users/mateusz/PycharmProjects/jax/dist INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /Users/mateusz/PycharmProjects/jax/.bazelrc: Inherited 'common' options: --experimental_repo_remote_exec INFO: Reading rc options for 'run' from /Users/mateusz/PycharmProjects/jax/.bazelrc: Inherited 'build' options: --repo_env PYTHON_BIN_PATH=/usr/local/opt/python@3.8/bin/python3.8 --action_env=PYENV_ROOT --python_path=/usr/local/opt/python@3.8/bin/python3.8 --repo_env TF_NEED_CUDA=0 --action_env TF_CUDA_COMPUTE_CAPABILITIES=3.5,5.2,6.0,6.1,7.0 --repo_env TF_NEED_ROCM=0 --action_env TF_ROCM_AMDGPU_TARGETS=gfx803,gfx900,gfx906,gfx1010 --distinct_host_configuration=false -c opt --apple_platform_type=macos --macos_minimum_os=10.9 --announce_rc --define open_source_build=true --define=no_kafka_support=true --define=no_ignite_support=true --define=grpc_no_ares=true --spawn_strategy=standalone --strategy=Genrule=standalone --enable_platform_specific_config --define=with_tpu_support=true INFO: Found applicable config definition build:short_logs in file /Users/mateusz/PycharmProjects/jax/.bazelrc: --output_filter=DONT_MATCH_ANYTHING INFO: Found applicable config definition build:avx_posix in file /Users/mateusz/PycharmProjects/jax/.bazelrc: --copt=-mavx --host_copt=-mavx INFO: Found applicable config definition build:mkl_open_source_only in file /Users/mateusz/PycharmProjects/jax/.bazelrc: --define=tensorflow_mkldnn_contraction_kernel=1 INFO: Found applicable config definition build:macos in file /Users/mateusz/PycharmProjects/jax/.bazelrc: --config=posix INFO: Found applicable config definition build:posix in file /Users/mateusz/PycharmProjects/jax/.bazelrc: --copt=-Wno-sign-compare --define=no_aws_support=true --define=no_gcp_support=true --define=no_hdfs_support=true --cxxopt=-std=c++14 --host_cxxopt=-std=c++14 Loading: Loading: 0 packages loaded Analyzing: target //build:build_wheel (0 packages loaded, 0 targets configured) INFO: Analyzed target //build:build_wheel (0 packages loaded, 0 targets configured). INFO: Found 1 target... [0 / 2] [Prepa] BazelWorkspaceStatusAction stable-status.txt [1 / 2] Linking external/org_tensorflow/tensorflow/compiler/xla/python/xla_extension.so; 1s local ERROR: /private/var/tmp/_bazel_mateusz/b6eb44f2f011bbc7a8c2a6afe83ceb88/external/org_tensorflow/tensorflow/compiler/xla/python/BUILD:496:17: Linking of rule '@org_tensorflow//tensorflow/compiler/xla/python:xla_extension.so' failed (Exit 1): cc_wrapper.sh failed: error executing command (cd /private/var/tmp/_bazel_mateusz/b6eb44f2f011bbc7a8c2a6afe83ceb88/execroot/__main__ &amp;&amp; \ exec env - \ PATH=/usr/local/opt/python@3.8/bin:/Users/mateusz/.jenv/shims:/Users/mateusz/.jenv/bin:/usr/local/sbin:/usr/local/texlive/2016basic/bin/x86_64-darwin:/Users/mateusz/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin \ PWD=/proc/self/cwd \ TF_CUDA_COMPUTE_CAPABILITIES=3.5,5.2,6.0,6.1,7.0 \ TF_ROCM_AMDGPU_TARGETS=gfx803,gfx900,gfx906,gfx1010 \ external/local_config_cc/cc_wrapper.sh -shared -o bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/xla_extension.so bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/_objs/xla_extension.so/xla.pic.o bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/libdlpack.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/libpmap_lib.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/libjax_jit.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/libops.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/lib/liblu_decomposition.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/lib/libqr.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/lib/libself_adjoint_eig.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/lib/libsorting.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/lib/libsvd.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/libprofiler.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/internal/cpu/libhost_tracer.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/internal/cpu/libhost_tracer_utils.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/utils/libparse_annotation.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/internal/tpu/libtpu_tracer.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/tpu/libtpu_api_dlsym_initializer.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/rpc/libprofiler_server_impl.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/rpc/libprofiler_service_impl.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/lib/libprofiler_session_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/lib/libprofiler_factory_impl.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/lib/libprofiler_lock.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/convert/libpost_process_single_host_xplane.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/utils/libderived_timeline.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/utils/libgroup_events.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/utils/libxplane_schema.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/utils/libtf_op_utils.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/utils/libxplane_utils.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/utils/libxplane_builder.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/utils/libxplane_visitor.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/libprofiler_service_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/libprofiler_service_monitor_result_proto_cc_impl.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/libpytree.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/libpy_traceback.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/liboutfeed_receiver_py.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/liboutfeed_receiver.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/libxla_compiler.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/libpy_client.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/libtraceback.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/libpython_ref_manager.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/libprotos_all_cc_impl.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/libtypes.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/libcpu_device.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libcpu_compiler.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libbuffer_info_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libconv_canonicalization.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libcpu_executable.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libxla_debug_info_manager.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libcpu_instruction_fusion.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libinstruction_fusion.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libcpu_layout_assignment.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libir_emitter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libir_function.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libparallel_loop_emitter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/llvm_ir/libalias_analysis.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/llvm_ir/libbuffer_assignment_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libparallel_task_assignment.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libdot_op_emitter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libmlir_emitter.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/mlir/xla/libhlo_utils.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/mlir/hlo/libhlo.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/mlir/hlo/libinfer_fusibility_op_interface.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/mlir/hlo/libconvert_op_folder.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/mlir/hlo/liblhlo.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/mlir/hlo/libhlo_ops_base_enums.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/mlir/hlo/libhlo_ops_base_structs.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libTargetLLVMIR.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLLVMAVX512ToLLVMIRTranslation.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLLVMArmNeonToLLVMIRTranslation.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLLVMArmSVEToLLVMIRTranslation.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLLVMToLLVMIRTranslation.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libOpenMPToLLVMIRTranslation.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libROCDLToLLVMIRTranslation.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libTranslation.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libtiled_dot_emitter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libir_emission_utils.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libshape_partition.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/llvm_ir/libdynamic_update_slice_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/llvm_ir/libfused_ir_emitter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/llvm_ir/libtuple_ops.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libfusion_node_indexing_evaluation.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libelemental_ir_emitter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/gpu/libparallel_loop_emitter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/gpu/liblaunch_dimensions.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/gpu/libtarget_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/llvm_ir/libkernel_support_library.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/llvm_ir/libloop_emitter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/llvm_ir/libllvm_loop.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/llvm_ir/libir_array.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libsimple_orc_jit.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libcompiler_functor.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libllvm_ir_runtime.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libvector_support_library.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/llvm_ir/libmath_ops.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/liborc_jit_memory_mapper.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libruntime_fp16.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libruntime_pow.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libruntime_conv2d_mkl.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libruntime_conv2d.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libruntime_fft.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libruntime_fork_join.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libruntime_key_value_sort.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libruntime_topk.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libruntime_matmul.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libruntime_matmul_mkl.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libruntime_single_threaded_conv2d.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libruntime_single_threaded_fft.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libOrcJIT.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libExecutionEngine.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libJITLink.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libOrcTargetProcess.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libOrcShared.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libPasses.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libCoroutines.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libObjCARC.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libRuntimeDyld.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libtarget_machine_features.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libAffineTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libAsyncTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libComplexToLLVM.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSCFToOpenMP.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libTosaToLinalg.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libGPUToGPURuntimeTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libAsyncToLLVM.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libNVVMToLLVMIRTranslation.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libNVPTXCodeGen.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libIPO.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libIRReader.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libLinker.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libNVPTXDesc.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libNVPTXInfo.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libVectorize.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libGPUToNVVMTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libGPUToROCDLTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libGPUCommonTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libGPUToSPIRV.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSCFToSPIRV.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libGPUToVulkanTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSPIRVSerialization.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSPIRVBinaryUtils.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLinalgToLLVM.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLinalgToSPIRV.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLinalgToStandard.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLinalgTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libAffineUtils.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libMathTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libNVVMDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libOpenACCDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libOpenMPToLLVM.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSCFToGPUPass.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libComplexDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSCFToGPU.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libAffineToStandard.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libGPUTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSCFToStandard.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSCFTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSDBM.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSPIRVToLLVM.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSPIRVTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libShapeToStandard.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libShapeTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libShape.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libStandardToSPIRV.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSPIRVUtils.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libTensorTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libAsync.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libTosaDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libQuantOps.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libVectorToLLVM.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libAVX512ToLLVM.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libAVX512.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libArmNeonToLLVM.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libArmNeon.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libArmSVEToLLVM.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libArmSVE.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLLVMAVX512.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLLVMArmNeon.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLLVMArmSVE.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libTargetLLVMIRModuleTranslation.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLLVMIRTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libOpenMPDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libFrontendOpenMP.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libVectorToROCDL.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libGPUDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libROCDLDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libVectorToSCF.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libStandardToLLVM.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libMathDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libStandardOpsTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libVectorToSPIRV.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSPIRVConversion.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSPIRVDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libTransformUtils.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libRewrite.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libPDLToPDLInterp.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libPDLInterpDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libPDLDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libInferTypeOpInterface.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLLVMDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libAsmParser.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libVectorOps.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libAnalysis.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLinalgOps.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libCopyOpInterface.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLinalgInterfaces.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libAffine.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libParser.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSCFDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLoopLikeInterface.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libPass.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libStandardOps.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libCallOpInterfaces.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libEDSC.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libTensorDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libCastOpInterfaces.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libControlFlowInterfaces.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSideEffectInterfaces.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libVectorInterfaces.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libViewLikeInterface.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libIR.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSupport.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/liball_gather_decomposer.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/liball_to_all_decomposer.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libcopy_insertion.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/graphcycles/libgraphcycles.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libtopk_rewriter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/librng_bit_generator_expander.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libtree_reduction_rewriter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libconditional_canonicalizer.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libconditional_to_select.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libslow_operation_alarm.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libscatter_expander.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libslice_sinker.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/liboperand_upcaster.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/liblogistic_expander.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libbatch_dot_simplification.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libbatchnorm_expander.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libconditional_simplifier.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libconvolution_group_converter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libdot_decomposer.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libdynamic_padder.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_element_type_converter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_memory_scheduler.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libindexed_array_analysis.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libllvm_compiler.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libgather_expander.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/librng_expander.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/lib/libprng.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libsort_simplifier.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libtranspose_folding.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libwhile_loop_constant_sinking.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libwhile_loop_invariant_code_motion.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libzero_sized_hlo_elimination.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libX86CodeGen.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libAsmPrinter.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libDebugInfoDWARF.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libCFGuard.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libGlobalISel.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libSelectionDAG.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libCodeGen.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libBitWriter.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libInstrumentation.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libScalar.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libAggressiveInstCombine.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libInstCombine.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libX86Desc.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libMCDisassembler.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libX86Info.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libcpu_transfer_manager.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libcpu_runtime.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libcollective_ops_utils.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_parser.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_lexer.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/llvm_ir/libllvm_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libcpu_options.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libTarget.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libTransformUtils.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libAnalysis.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libObject.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libBitReader.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libMCParser.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libMC.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libDebugInfoCodeView.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libDebugInfoMSF.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libTextAPI.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libProfileData.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libCore.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libBinaryFormat.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libRemarks.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libBitstreamReader.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/libinterpreter_device.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/interpreter/libcompiler.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/interpreter/libexecutable.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/interpreter/libexecutable_base.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libalgebraic_simplifier.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libcholesky_expander.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libcomparison_expander.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libcustom_call_target_registry.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libdynamic_index_splitter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libflatten_call_graph.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_constant_folding.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_cse.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_domain_map.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_pass_pipeline.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libcompilation_stats.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_subcomputation_unification.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/liblayout_assignment.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libtuple_simplifier.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libmap_inliner.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libqr_expander.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libreshape_mover.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libtriangular_solve_expander.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libop_expander_pass.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/lib/libmath.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/lib/libloops.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/lib/libmatrix.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/lib/libslicing.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/lib/libarithmetic.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libwhile_loop_simplifier.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libwhile_loop_analysis.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/interpreter/libinterpreter_transfer_manager.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libgeneric_transfer_manager.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/interpreter/libplatform.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/interpreter/libexecutor.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/interpreter/libplatform_id.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/libgpu_device.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/common_runtime/libbfc_allocator.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/common_runtime/device/libdevice_id_impl.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libtf_allocator_adapter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/libtpu_client.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/libpjrt_stream_executor_client.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/libpjrt_client.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/libutils.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libcpu_function_runtime.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/gpu/libgpu_executable_run_options.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/libtracked_device_buffer.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/liblocal_device_state.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/libevent_pool.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/libsemaphore.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/libworker_thread.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/libclient_library.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/libcompile_only_client.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/liblocal_client.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/libclient.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/libglobal_data.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libSupport.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libDemangle.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libcompile_only_service.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/liblocal_service.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libservice.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/liballocation_tracker.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libchannel_tracker.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libcompilation_cache.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libexecution_tracker.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libbackend.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_evaluator.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libdynamic_dimension_inference.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libdynamic_window_utils.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libwhile_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libcall_inliner.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_dce.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_creation_utils.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/lib/libcomparators.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/lib/libconstants.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/libxla_builder.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/libpadding.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/libsharding_builder.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libtuple_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_query.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libruntime_single_threaded_matmul.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/kernels/libeigen_contraction_kernel_with_mkl.pic.a bazel-out/darwin-opt/bin/external/mkl_dnn_v1/libdnnl_single_threaded.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_module_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/libexecutable_build_options.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libexecution_options_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/libxla_computation.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libplatform_util.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/tpu/libtpu_executor_dlsym_initializer.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/tpu/libtpu_initializer_helper.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/tpu/libtpu_on_demand_compiler.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/tpu/libtpu_executable_interface.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/tpu/libtpu_transfer_manager.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/tpu/libtpu_executor.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/tpu/libtpu_transfer_manager_base.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/tpu/libtpu_executor_base.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/tpu/libc_api_conversions.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/c/libtf_status_helper.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/tpu/libtpu_transfer_manager_interface.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libtransfer_manager.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libcompiler.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libexecutable.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libdump.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_proto_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libbuffer_assignment.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libmemory_space_assignment.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libmemory_space_assignment_utils.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libheap_simulator.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_live_range.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_alias_analysis.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_buffer.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_ordering.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_reachability.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libtuple_points_to_analysis.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_dataflow_analysis.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_phi_graph.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libcall_graph.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_value.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/liblogical_buffer_analysis.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/liblogical_buffer.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libbuffer_value.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_verifier.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_module_group.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libshape_inference.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_graph_dumper.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_execution_profile.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_cost_analysis.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_execution_profile_data_cc_impl.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_profile_printer.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_profile_printer_data_cc_impl.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhuman_readable_profile_builder.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libmetric_table_report.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_module_config.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libcomputation_layout.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libcomputation_placer.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libtpu_computation_placer.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libglobal_device_id.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/tpu/libtpu_platform_interface.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/tpu/libtpu_platform_id.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/tpu/libtpu_topology_external.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/tpu/libtpu_api.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/tpu/libtpu_executor_api.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/tpu/libproto_helper.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/c/libtf_status.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libshape_layout.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libname_uniquer.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libcomparison_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/libhuman_readable_json.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libliteral_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libwindow_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libstream_pool.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libdebug_options_flags.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libparse_flags_from_env.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libxla_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/libframework_internal_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/example/libfeature_util.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/util/libversion_info.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libcommon_shape_fns.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libkernel_shape_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libnode_properties.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libop.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libop_def_builder.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libshape_inference.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libnode_def_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libop_def_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libattr_value_util.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libattr_value_proto_text.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/internal/cpu/libannotation_stack_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/internal/cpu/libtraceme_recorder_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/utils/libtime_utils_impl.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/util/libeinsum_op_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/util/libpadding.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/util/libport.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/util/libstats_calculator_portable.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/util/libtensor_format.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libtensor.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/liballocator.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/liballocator_registry_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libbfloat16.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libresource_handle.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libtensor_shape.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/jit/libcommon.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libexecutable_run_options.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libmaybe_owning_device_memory.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libshaped_buffer.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libliteral.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libarray.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libshape_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libpermutation_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libprotobuf_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libscratch_allocator.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/cuda/libcuda_platform_id.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/host/libhost_platform.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/host/libhost_gpu_executor.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/host/libhost_stream.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/host/libhost_timer.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libstream_executor_pimpl.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libevent.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/librng.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libtemporary_memory_manager.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libtemporary_device_memory.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libtimer.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libstream_executor_internal.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libdevice_description.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libkernel.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libkernel_spec.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libplugin_registry.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libblas.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libdnn.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libexecutor_cache.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libmulti_platform_manager.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/host/libhost_platform_id.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/platform/default/libdso_loader.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/rocm/librocm_platform_id.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libplatform.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libplugin.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/liballocator_stats.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/flags/libflag.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/flags/libflag_internal.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/flags/libregistry.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/flags/libconfig.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/flags/libprogram_name.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/flags/libmarshalling.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/status/libstatus.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/distributed/libdistributed.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/distributed/libclient.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/distributed/libservice.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/distributed/libkey_value_store.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/distributed/libprotocol_proto_cc_impl.pic.lo bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc++.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc++_base.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libcensus.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_lb_policy_pick_first.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_lb_policy_round_robin.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_client_idle_filter.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_max_age_filter.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_message_size_filter.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_resolver_dns_ares.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/third_party/address_sorting/libaddress_sorting.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_resolver_dns_native.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_resolver_dns_selection.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_resolver_sockaddr.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_transport_chttp2_server_insecure.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_transport_inproc.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_workaround_cronet_compression_filter.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_server_backward_compatibility.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_lb_policy_cds_secure.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_lb_policy_grpclb_secure.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_lb_upb.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_resolver_fake.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_lb_policy_xds_secure.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_resolver_xds_secure.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_xds_client_secure.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libenvoy_ads_upb.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libenvoy_core_upb.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libenvoy_type_upb.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_transport_chttp2_client_secure.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_transport_chttp2_server_secure.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_transport_chttp2_server.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc++_codegen_base_src.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_secure.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libtsi.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libalts_frame_protector.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libalts_util.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libalts_upb.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_transport_chttp2_client_insecure.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_transport_chttp2_client_connector.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_client_channel.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libenvoy_orca_upb.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libproto_gen_validate_upb.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgoogle_api_upb.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_client_authority_filter.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_deadline_filter.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_health_upb.pic.a bazel-out/darwin-opt/bin/external/upb/libupb.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_transport_chttp2.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_http_filters.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_base.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_base_c.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_transport_chttp2_alpn.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libtsi_interface.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_trace.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgpr_base.pic.a bazel-out/darwin-opt/bin/external/boringssl/libssl.pic.a bazel-out/darwin-opt/bin/external/boringssl/libcrypto.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libutil.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libstatus_macros.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/lib/liblib.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libxla_data_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/liblib_internal_impl.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/core/libarena.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/core/libbitmap.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/libinputbuffer.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/librecord_reader.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/libbuffered_inputstream.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/librandom_inputstream.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/librecord_writer.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/libcompression.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/snappy/libsnappy_inputbuffer.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/snappy/libsnappy_inputstream.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/snappy/libsnappy_outputbuffer.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/libtable.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/libblock.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/hash/libcrc32c.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/libcache.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/libiterator.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/libzlib_inputstream.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/libinputstream_interface.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/libzlib_outputbuffer.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/libzlib_compression_options.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/wav/libwav_io.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/monitoring/libpercentile_sampler.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/monitoring/libsampler.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/monitoring/libcollection_registry.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/histogram/libhistogram.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/librandom.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/random/libweighted_picker.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/random/libphilox.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/strings/libordered_code.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/strings/libproto_serialization.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/strings/libproto_text_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libbase64.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libcpu_feature_guard.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/liblogger.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/libnet.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libplatform_strings.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/libresource.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/libstacktrace_handler.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/libsubprocess.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libtensor_coding.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libcoding.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/libunbounded_work_queue.pic.a bazel-out/darwin-opt/bin/external/gif/libgif.pic.a bazel-out/darwin-opt/bin/external/libjpeg_turbo/libjpeg.pic.a bazel-out/darwin-opt/bin/external/libjpeg_turbo/libsimd_none.pic.a bazel-out/darwin-opt/bin/external/farmhash_archive/libfarmhash.pic.a bazel-out/darwin-opt/bin/external/fft2d/libfft2d.pic.a bazel-out/darwin-opt/bin/external/highwayhash/libsip_hash.pic.a bazel-out/darwin-opt/bin/external/highwayhash/libarch_specific.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/util/libenv_var.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/util/libreporter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/libenv_impl.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/libenv.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libdenormal.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/liberror.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/libload_library.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libpath.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libscanner.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/libplatform_port.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/profile_utils/libprofile_utils_cpu_utils.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libprotobuf.pic.a bazel-out/darwin-opt/bin/external/com_googlesource_code_re2/libre2.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/hash/libhash.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/hash/libcity.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/types/libbad_variant_access.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/container/libraw_hash_set.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/container/libhashtablez_sampler.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/base/libexponential_biased.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/synchronization/libsynchronization.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/synchronization/libgraphcycles_internal.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/debugging/libstacktrace.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/debugging/libsymbolize.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/debugging/libdebugging_internal.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/debugging/libdemangle_internal.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/base/libmalloc_internal.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libsetround.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/libtracing.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libhash.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/time/libtime.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/time/internal/cctz/libtime_zone.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/time/internal/cctz/libcivil_time.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/types/libbad_optional_access.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libstatus.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libabi.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libstrcat.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libnumbers.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libstringprintf.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libstr_util.pic.a bazel-out/darwin-opt/bin/external/snappy/libsnappy.pic.a bazel-out/darwin-opt/bin/external/double_conversion/libdouble-conversion.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/protobuf/libautotuning_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/protobuf/libconv_autotuning_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libdnn_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/example/libexample_protos_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/example/libexample_parser_configuration_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/core/liberror_codes_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/util/libevent_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/util/libsaved_tensor_slice_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/util/libmemmapped_file_system_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/util/libtest_log_proto_impl_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/grappler/costs/libop_performance_data_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/protobuf/libfor_core_protos_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/protobuf/liberror_codes_proto_impl_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libapi_def_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libcost_graph_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libdevice_attributes_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libgraph_transfer_info_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libkernel_def_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/liblog_memory_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libmodel_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libdataset_options_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libreader_base_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libremote_fused_graph_execute_info_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libgraph_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libfunction_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libnode_def_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libop_def_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libattr_value_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libstep_stats_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libsummary_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libtensor_description_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/liballocation_description_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libtensor_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libresource_handle_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libtensor_shape_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libtensor_slice_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libtypes_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libvariable_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libversions_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/protobuf/libxplane_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/libprofiler_options_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/com_google_protobuf/libprotobuf.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/com_google_protobuf/libprotobuf_lite.pic.lo bazel-out/darwin-opt/bin/external/zlib/libzlib.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/python/lib/core/libbfloat16_lib.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/python/lib/core/libnumpy_lib.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/liblogging.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/libenv_time.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/libmutex.pic.a bazel-out/darwin-opt/bin/external/nsync/libnsync_cpp.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/strings/libcord.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/strings/libstr_format_internal.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/strings/libstrings.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/strings/libinternal.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/base/libbase.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/base/libdynamic_annotations.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/base/libspinlock_wait.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/base/libthrow_delegate.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/base/libraw_logging_internal.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/base/liblog_severity.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/numeric/libint128.pic.a -Wl,-rpath,@loader_path/,-rpath,@loader_path/..,-rpath,@loader_path/../..,-rpath,@loader_path/../../.. -Wl,-rename_section,__TEXT,text_env,__TEXT,__text -Wl,-w -Wl,-exported_symbols_list,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/xla_extension-exported-symbols.lds -lm -lpthread -framework IOKit -ldl -ldl -lm -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -framework CoreFoundation -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -ldl -lpthread -lm -pthread -pthread -lm -lpthread -lm -lpthread -lm -pthread -undefined dynamic_lookup -headerpad_max_install_names -lstdc++ -lm) Execution platform: @local_execution_config_platform//:platform duplicate symbol 'tensorflow::tpu::InitializeTpuLibrary(void*)' in: bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/tpu/libtpu_api_dlsym_initializer.pic.lo(tpu_api_dlsym_initializer.pic.o) bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/tpu/libtpu_executor_dlsym_initializer.pic.lo(tpu_executor_dlsym_initializer.pic.o) duplicate symbol 'tensorflow::tpu::FindAndLoadTpuLibrary()' in: bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/tpu/libtpu_api_dlsym_initializer.pic.lo(tpu_api_dlsym_initializer.pic.o) bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/tpu/libtpu_executor_dlsym_initializer.pic.lo(tpu_executor_dlsym_initializer.pic.o) ld: 2 duplicate symbols for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) Target //build:build_wheel failed to build INFO: Elapsed time: 3.424s, Critical Path: 2.82s INFO: 2 processes: 2 internal. FAILED: Build did NOT complete successfully ERROR: Build failed. Not running target FAILED: Build did NOT complete successfully Traceback (most recent call last): File &quot;build/build.py&quot;, line 516, in &lt;module&gt; main() File &quot;build/build.py&quot;, line 511, in main shell(command) File &quot;build/build.py&quot;, line 51, in shell output = subprocess.check_output(cmd) File &quot;/usr/local/Cellar/python@3.8/3.8.8/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py&quot;, line 415, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File &quot;/usr/local/Cellar/python@3.8/3.8.8/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py&quot;, line 516, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['./bazel-3.7.2-darwin-x86_64', 'run', '--verbose_failures=true', '--config=short_logs', '--config=avx_posix', '--config=mkl_open_source_only', ':build_wheel', '--', '--output_path=/Users/mateusz/PycharmProjects/jax/dist']' returned non-zero exit status 1."><pre class="notranslate"><code class="notranslate">$ python3 build/build.py _ _ __ __ | | / \ \ \/ / _ | |/ _ \ \ / | |_| / ___ \/ \ \___/_/ \/_/\_\ Bazel binary path: ./bazel-3.7.2-darwin-x86_64 Python binary path: /usr/local/opt/python@3.8/bin/python3.8 Python version: 3.8 MKL-DNN enabled: yes Target CPU features: release CUDA enabled: no ROCm enabled: no Building XLA and installing it in the jaxlib source tree... ./bazel-3.7.2-darwin-x86_64 run --verbose_failures=true --config=short_logs --config=avx_posix --config=mkl_open_source_only :build_wheel -- --output_path=/Users/mateusz/PycharmProjects/jax/dist INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /Users/mateusz/PycharmProjects/jax/.bazelrc: Inherited 'common' options: --experimental_repo_remote_exec INFO: Reading rc options for 'run' from /Users/mateusz/PycharmProjects/jax/.bazelrc: Inherited 'build' options: --repo_env PYTHON_BIN_PATH=/usr/local/opt/python@3.8/bin/python3.8 --action_env=PYENV_ROOT --python_path=/usr/local/opt/python@3.8/bin/python3.8 --repo_env TF_NEED_CUDA=0 --action_env TF_CUDA_COMPUTE_CAPABILITIES=3.5,5.2,6.0,6.1,7.0 --repo_env TF_NEED_ROCM=0 --action_env TF_ROCM_AMDGPU_TARGETS=gfx803,gfx900,gfx906,gfx1010 --distinct_host_configuration=false -c opt --apple_platform_type=macos --macos_minimum_os=10.9 --announce_rc --define open_source_build=true --define=no_kafka_support=true --define=no_ignite_support=true --define=grpc_no_ares=true --spawn_strategy=standalone --strategy=Genrule=standalone --enable_platform_specific_config --define=with_tpu_support=true INFO: Found applicable config definition build:short_logs in file /Users/mateusz/PycharmProjects/jax/.bazelrc: --output_filter=DONT_MATCH_ANYTHING INFO: Found applicable config definition build:avx_posix in file /Users/mateusz/PycharmProjects/jax/.bazelrc: --copt=-mavx --host_copt=-mavx INFO: Found applicable config definition build:mkl_open_source_only in file /Users/mateusz/PycharmProjects/jax/.bazelrc: --define=tensorflow_mkldnn_contraction_kernel=1 INFO: Found applicable config definition build:macos in file /Users/mateusz/PycharmProjects/jax/.bazelrc: --config=posix INFO: Found applicable config definition build:posix in file /Users/mateusz/PycharmProjects/jax/.bazelrc: --copt=-Wno-sign-compare --define=no_aws_support=true --define=no_gcp_support=true --define=no_hdfs_support=true --cxxopt=-std=c++14 --host_cxxopt=-std=c++14 Loading: Loading: 0 packages loaded Analyzing: target //build:build_wheel (0 packages loaded, 0 targets configured) INFO: Analyzed target //build:build_wheel (0 packages loaded, 0 targets configured). INFO: Found 1 target... [0 / 2] [Prepa] BazelWorkspaceStatusAction stable-status.txt [1 / 2] Linking external/org_tensorflow/tensorflow/compiler/xla/python/xla_extension.so; 1s local ERROR: /private/var/tmp/_bazel_mateusz/b6eb44f2f011bbc7a8c2a6afe83ceb88/external/org_tensorflow/tensorflow/compiler/xla/python/BUILD:496:17: Linking of rule '@org_tensorflow//tensorflow/compiler/xla/python:xla_extension.so' failed (Exit 1): cc_wrapper.sh failed: error executing command (cd /private/var/tmp/_bazel_mateusz/b6eb44f2f011bbc7a8c2a6afe83ceb88/execroot/__main__ &amp;&amp; \ exec env - \ PATH=/usr/local/opt/python@3.8/bin:/Users/mateusz/.jenv/shims:/Users/mateusz/.jenv/bin:/usr/local/sbin:/usr/local/texlive/2016basic/bin/x86_64-darwin:/Users/mateusz/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin \ PWD=/proc/self/cwd \ TF_CUDA_COMPUTE_CAPABILITIES=3.5,5.2,6.0,6.1,7.0 \ TF_ROCM_AMDGPU_TARGETS=gfx803,gfx900,gfx906,gfx1010 \ external/local_config_cc/cc_wrapper.sh -shared -o bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/xla_extension.so bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/_objs/xla_extension.so/xla.pic.o bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/libdlpack.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/libpmap_lib.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/libjax_jit.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/libops.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/lib/liblu_decomposition.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/lib/libqr.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/lib/libself_adjoint_eig.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/lib/libsorting.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/lib/libsvd.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/libprofiler.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/internal/cpu/libhost_tracer.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/internal/cpu/libhost_tracer_utils.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/utils/libparse_annotation.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/internal/tpu/libtpu_tracer.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/tpu/libtpu_api_dlsym_initializer.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/rpc/libprofiler_server_impl.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/rpc/libprofiler_service_impl.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/lib/libprofiler_session_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/lib/libprofiler_factory_impl.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/lib/libprofiler_lock.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/convert/libpost_process_single_host_xplane.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/utils/libderived_timeline.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/utils/libgroup_events.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/utils/libxplane_schema.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/utils/libtf_op_utils.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/utils/libxplane_utils.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/utils/libxplane_builder.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/utils/libxplane_visitor.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/libprofiler_service_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/libprofiler_service_monitor_result_proto_cc_impl.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/libpytree.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/libpy_traceback.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/liboutfeed_receiver_py.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/liboutfeed_receiver.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/libxla_compiler.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/libpy_client.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/libtraceback.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/libpython_ref_manager.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/libprotos_all_cc_impl.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/libtypes.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/libcpu_device.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libcpu_compiler.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libbuffer_info_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libconv_canonicalization.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libcpu_executable.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libxla_debug_info_manager.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libcpu_instruction_fusion.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libinstruction_fusion.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libcpu_layout_assignment.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libir_emitter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libir_function.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libparallel_loop_emitter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/llvm_ir/libalias_analysis.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/llvm_ir/libbuffer_assignment_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libparallel_task_assignment.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libdot_op_emitter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libmlir_emitter.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/mlir/xla/libhlo_utils.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/mlir/hlo/libhlo.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/mlir/hlo/libinfer_fusibility_op_interface.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/mlir/hlo/libconvert_op_folder.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/mlir/hlo/liblhlo.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/mlir/hlo/libhlo_ops_base_enums.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/mlir/hlo/libhlo_ops_base_structs.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libTargetLLVMIR.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLLVMAVX512ToLLVMIRTranslation.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLLVMArmNeonToLLVMIRTranslation.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLLVMArmSVEToLLVMIRTranslation.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLLVMToLLVMIRTranslation.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libOpenMPToLLVMIRTranslation.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libROCDLToLLVMIRTranslation.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libTranslation.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libtiled_dot_emitter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libir_emission_utils.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libshape_partition.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/llvm_ir/libdynamic_update_slice_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/llvm_ir/libfused_ir_emitter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/llvm_ir/libtuple_ops.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libfusion_node_indexing_evaluation.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libelemental_ir_emitter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/gpu/libparallel_loop_emitter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/gpu/liblaunch_dimensions.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/gpu/libtarget_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/llvm_ir/libkernel_support_library.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/llvm_ir/libloop_emitter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/llvm_ir/libllvm_loop.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/llvm_ir/libir_array.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libsimple_orc_jit.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libcompiler_functor.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libllvm_ir_runtime.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libvector_support_library.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/llvm_ir/libmath_ops.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/liborc_jit_memory_mapper.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libruntime_fp16.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libruntime_pow.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libruntime_conv2d_mkl.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libruntime_conv2d.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libruntime_fft.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libruntime_fork_join.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libruntime_key_value_sort.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libruntime_topk.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libruntime_matmul.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libruntime_matmul_mkl.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libruntime_single_threaded_conv2d.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libruntime_single_threaded_fft.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libOrcJIT.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libExecutionEngine.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libJITLink.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libOrcTargetProcess.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libOrcShared.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libPasses.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libCoroutines.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libObjCARC.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libRuntimeDyld.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libtarget_machine_features.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libAffineTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libAsyncTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libComplexToLLVM.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSCFToOpenMP.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libTosaToLinalg.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libGPUToGPURuntimeTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libAsyncToLLVM.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libNVVMToLLVMIRTranslation.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libNVPTXCodeGen.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libIPO.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libIRReader.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libLinker.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libNVPTXDesc.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libNVPTXInfo.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libVectorize.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libGPUToNVVMTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libGPUToROCDLTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libGPUCommonTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libGPUToSPIRV.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSCFToSPIRV.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libGPUToVulkanTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSPIRVSerialization.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSPIRVBinaryUtils.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLinalgToLLVM.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLinalgToSPIRV.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLinalgToStandard.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLinalgTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libAffineUtils.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libMathTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libNVVMDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libOpenACCDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libOpenMPToLLVM.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSCFToGPUPass.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libComplexDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSCFToGPU.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libAffineToStandard.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libGPUTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSCFToStandard.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSCFTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSDBM.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSPIRVToLLVM.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSPIRVTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libShapeToStandard.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libShapeTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libShape.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libStandardToSPIRV.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSPIRVUtils.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libTensorTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libAsync.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libTosaDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libQuantOps.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libVectorToLLVM.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libAVX512ToLLVM.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libAVX512.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libArmNeonToLLVM.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libArmNeon.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libArmSVEToLLVM.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libArmSVE.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLLVMAVX512.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLLVMArmNeon.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLLVMArmSVE.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libTargetLLVMIRModuleTranslation.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLLVMIRTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libOpenMPDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libFrontendOpenMP.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libVectorToROCDL.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libGPUDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libROCDLDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libVectorToSCF.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libStandardToLLVM.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libMathDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libStandardOpsTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libVectorToSPIRV.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSPIRVConversion.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSPIRVDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libTransforms.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libTransformUtils.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libRewrite.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libPDLToPDLInterp.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libPDLInterpDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libPDLDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libInferTypeOpInterface.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLLVMDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libAsmParser.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libVectorOps.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libAnalysis.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLinalgOps.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libCopyOpInterface.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLinalgInterfaces.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libAffine.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libParser.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSCFDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libLoopLikeInterface.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libPass.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libStandardOps.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libCallOpInterfaces.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libEDSC.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libTensorDialect.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libCastOpInterfaces.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libControlFlowInterfaces.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSideEffectInterfaces.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libVectorInterfaces.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libViewLikeInterface.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libIR.pic.a bazel-out/darwin-opt/bin/external/llvm-project/mlir/libSupport.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/liball_gather_decomposer.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/liball_to_all_decomposer.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libcopy_insertion.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/graphcycles/libgraphcycles.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libtopk_rewriter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/librng_bit_generator_expander.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libtree_reduction_rewriter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libconditional_canonicalizer.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libconditional_to_select.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libslow_operation_alarm.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libscatter_expander.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libslice_sinker.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/liboperand_upcaster.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/liblogistic_expander.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libbatch_dot_simplification.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libbatchnorm_expander.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libconditional_simplifier.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libconvolution_group_converter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libdot_decomposer.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libdynamic_padder.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_element_type_converter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_memory_scheduler.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libindexed_array_analysis.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libllvm_compiler.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libgather_expander.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/librng_expander.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/lib/libprng.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libsort_simplifier.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libtranspose_folding.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libwhile_loop_constant_sinking.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libwhile_loop_invariant_code_motion.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libzero_sized_hlo_elimination.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libX86CodeGen.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libAsmPrinter.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libDebugInfoDWARF.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libCFGuard.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libGlobalISel.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libSelectionDAG.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libCodeGen.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libBitWriter.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libInstrumentation.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libScalar.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libAggressiveInstCombine.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libInstCombine.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libX86Desc.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libMCDisassembler.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libX86Info.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libcpu_transfer_manager.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libcpu_runtime.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libcollective_ops_utils.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_parser.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_lexer.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/llvm_ir/libllvm_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libcpu_options.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libTarget.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libTransformUtils.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libAnalysis.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libObject.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libBitReader.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libMCParser.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libMC.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libDebugInfoCodeView.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libDebugInfoMSF.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libTextAPI.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libProfileData.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libCore.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libBinaryFormat.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libRemarks.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libBitstreamReader.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/libinterpreter_device.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/interpreter/libcompiler.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/interpreter/libexecutable.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/interpreter/libexecutable_base.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libalgebraic_simplifier.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libcholesky_expander.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libcomparison_expander.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libcustom_call_target_registry.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libdynamic_index_splitter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libflatten_call_graph.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_constant_folding.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_cse.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_domain_map.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_pass_pipeline.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libcompilation_stats.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_subcomputation_unification.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/liblayout_assignment.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libtuple_simplifier.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libmap_inliner.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libqr_expander.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libreshape_mover.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libtriangular_solve_expander.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libop_expander_pass.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/lib/libmath.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/lib/libloops.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/lib/libmatrix.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/lib/libslicing.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/lib/libarithmetic.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libwhile_loop_simplifier.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libwhile_loop_analysis.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/interpreter/libinterpreter_transfer_manager.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libgeneric_transfer_manager.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/interpreter/libplatform.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/interpreter/libexecutor.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/interpreter/libplatform_id.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/libgpu_device.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/common_runtime/libbfc_allocator.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/common_runtime/device/libdevice_id_impl.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libtf_allocator_adapter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/libtpu_client.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/libpjrt_stream_executor_client.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/libpjrt_client.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/libutils.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libcpu_function_runtime.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/gpu/libgpu_executable_run_options.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/libtracked_device_buffer.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/liblocal_device_state.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/libevent_pool.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/libsemaphore.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/libworker_thread.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/libclient_library.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/libcompile_only_client.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/liblocal_client.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/libclient.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/libglobal_data.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libSupport.pic.a bazel-out/darwin-opt/bin/external/llvm-project/llvm/libDemangle.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libcompile_only_service.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/liblocal_service.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libservice.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/liballocation_tracker.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libchannel_tracker.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libcompilation_cache.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libexecution_tracker.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libbackend.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_evaluator.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libdynamic_dimension_inference.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libdynamic_window_utils.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libwhile_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libcall_inliner.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_dce.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_creation_utils.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/lib/libcomparators.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/lib/libconstants.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/libxla_builder.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/libpadding.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/libsharding_builder.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libtuple_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_query.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/libruntime_single_threaded_matmul.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/kernels/libeigen_contraction_kernel_with_mkl.pic.a bazel-out/darwin-opt/bin/external/mkl_dnn_v1/libdnnl_single_threaded.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_module_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/libexecutable_build_options.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libexecution_options_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/client/libxla_computation.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libplatform_util.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/tpu/libtpu_executor_dlsym_initializer.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/tpu/libtpu_initializer_helper.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/tpu/libtpu_on_demand_compiler.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/tpu/libtpu_executable_interface.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/tpu/libtpu_transfer_manager.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/tpu/libtpu_executor.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/tpu/libtpu_transfer_manager_base.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/tpu/libtpu_executor_base.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/tpu/libc_api_conversions.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/c/libtf_status_helper.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/tpu/libtpu_transfer_manager_interface.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libtransfer_manager.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libcompiler.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libexecutable.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libdump.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_proto_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libbuffer_assignment.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libmemory_space_assignment.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libmemory_space_assignment_utils.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libheap_simulator.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_live_range.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_alias_analysis.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_buffer.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_ordering.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_reachability.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libtuple_points_to_analysis.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_dataflow_analysis.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_phi_graph.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libcall_graph.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_value.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/liblogical_buffer_analysis.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/liblogical_buffer.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libbuffer_value.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_verifier.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_module_group.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libshape_inference.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_graph_dumper.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_execution_profile.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_cost_analysis.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_execution_profile_data_cc_impl.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_profile_printer.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_profile_printer_data_cc_impl.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhuman_readable_profile_builder.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libmetric_table_report.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_module_config.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libcomputation_layout.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libcomputation_placer.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libtpu_computation_placer.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libglobal_device_id.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/tpu/libtpu_platform_interface.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/tpu/libtpu_platform_id.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/tpu/libtpu_topology_external.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/tpu/libtpu_api.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/tpu/libtpu_executor_api.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/tpu/libproto_helper.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/c/libtf_status.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libshape_layout.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libname_uniquer.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libcomparison_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/libhuman_readable_json.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libliteral_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libwindow_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libstream_pool.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libdebug_options_flags.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libparse_flags_from_env.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libxla_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libhlo_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/libframework_internal_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/example/libfeature_util.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/util/libversion_info.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libcommon_shape_fns.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libkernel_shape_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libnode_properties.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libop.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libop_def_builder.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libshape_inference.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libnode_def_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libop_def_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libattr_value_util.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libattr_value_proto_text.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/internal/cpu/libannotation_stack_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/internal/cpu/libtraceme_recorder_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/utils/libtime_utils_impl.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/util/libeinsum_op_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/util/libpadding.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/util/libport.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/util/libstats_calculator_portable.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/util/libtensor_format.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libtensor.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/liballocator.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/liballocator_registry_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libbfloat16.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libresource_handle.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libtensor_shape.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/jit/libcommon.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libexecutable_run_options.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libmaybe_owning_device_memory.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/libshaped_buffer.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libliteral.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libarray.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libshape_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libpermutation_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libprotobuf_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libscratch_allocator.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/cuda/libcuda_platform_id.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/host/libhost_platform.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/host/libhost_gpu_executor.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/host/libhost_stream.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/host/libhost_timer.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libstream_executor_pimpl.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libevent.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/librng.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libtemporary_memory_manager.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libtemporary_device_memory.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libtimer.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libstream_executor_internal.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libdevice_description.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libkernel.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libkernel_spec.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libplugin_registry.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libblas.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libdnn.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libexecutor_cache.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libmulti_platform_manager.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/host/libhost_platform_id.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/platform/default/libdso_loader.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/rocm/librocm_platform_id.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libplatform.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libplugin.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/liballocator_stats.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/flags/libflag.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/flags/libflag_internal.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/flags/libregistry.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/flags/libconfig.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/flags/libprogram_name.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/flags/libmarshalling.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/status/libstatus.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/distributed/libdistributed.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/distributed/libclient.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/distributed/libservice.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/distributed/libkey_value_store.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/pjrt/distributed/libprotocol_proto_cc_impl.pic.lo bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc++.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc++_base.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libcensus.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_lb_policy_pick_first.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_lb_policy_round_robin.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_client_idle_filter.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_max_age_filter.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_message_size_filter.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_resolver_dns_ares.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/third_party/address_sorting/libaddress_sorting.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_resolver_dns_native.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_resolver_dns_selection.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_resolver_sockaddr.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_transport_chttp2_server_insecure.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_transport_inproc.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_workaround_cronet_compression_filter.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_server_backward_compatibility.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_lb_policy_cds_secure.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_lb_policy_grpclb_secure.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_lb_upb.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_resolver_fake.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_lb_policy_xds_secure.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_resolver_xds_secure.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_xds_client_secure.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libenvoy_ads_upb.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libenvoy_core_upb.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libenvoy_type_upb.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_transport_chttp2_client_secure.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_transport_chttp2_server_secure.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_transport_chttp2_server.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc++_codegen_base_src.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_secure.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libtsi.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libalts_frame_protector.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libalts_util.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libalts_upb.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_transport_chttp2_client_insecure.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_transport_chttp2_client_connector.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_client_channel.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libenvoy_orca_upb.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libproto_gen_validate_upb.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgoogle_api_upb.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_client_authority_filter.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_deadline_filter.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_health_upb.pic.a bazel-out/darwin-opt/bin/external/upb/libupb.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_transport_chttp2.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_http_filters.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_base.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_base_c.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_transport_chttp2_alpn.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libtsi_interface.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgrpc_trace.pic.a bazel-out/darwin-opt/bin/external/com_github_grpc_grpc/libgpr_base.pic.a bazel-out/darwin-opt/bin/external/boringssl/libssl.pic.a bazel-out/darwin-opt/bin/external/boringssl/libcrypto.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libutil.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libstatus_macros.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/lib/liblib.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/libxla_data_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/liblib_internal_impl.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/core/libarena.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/core/libbitmap.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/libinputbuffer.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/librecord_reader.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/libbuffered_inputstream.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/librandom_inputstream.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/librecord_writer.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/libcompression.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/snappy/libsnappy_inputbuffer.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/snappy/libsnappy_inputstream.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/snappy/libsnappy_outputbuffer.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/libtable.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/libblock.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/hash/libcrc32c.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/libcache.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/libiterator.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/libzlib_inputstream.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/libinputstream_interface.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/libzlib_outputbuffer.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/io/libzlib_compression_options.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/wav/libwav_io.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/monitoring/libpercentile_sampler.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/monitoring/libsampler.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/monitoring/libcollection_registry.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/histogram/libhistogram.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/librandom.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/random/libweighted_picker.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/random/libphilox.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/strings/libordered_code.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/strings/libproto_serialization.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/strings/libproto_text_util.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libbase64.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libcpu_feature_guard.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/liblogger.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/libnet.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libplatform_strings.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/libresource.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/libstacktrace_handler.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/libsubprocess.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libtensor_coding.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libcoding.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/libunbounded_work_queue.pic.a bazel-out/darwin-opt/bin/external/gif/libgif.pic.a bazel-out/darwin-opt/bin/external/libjpeg_turbo/libjpeg.pic.a bazel-out/darwin-opt/bin/external/libjpeg_turbo/libsimd_none.pic.a bazel-out/darwin-opt/bin/external/farmhash_archive/libfarmhash.pic.a bazel-out/darwin-opt/bin/external/fft2d/libfft2d.pic.a bazel-out/darwin-opt/bin/external/highwayhash/libsip_hash.pic.a bazel-out/darwin-opt/bin/external/highwayhash/libarch_specific.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/util/libenv_var.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/util/libreporter.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/libenv_impl.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/libenv.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libdenormal.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/liberror.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/libload_library.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libpath.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libscanner.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/libplatform_port.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/profile_utils/libprofile_utils_cpu_utils.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libprotobuf.pic.a bazel-out/darwin-opt/bin/external/com_googlesource_code_re2/libre2.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/hash/libhash.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/hash/libcity.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/types/libbad_variant_access.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/container/libraw_hash_set.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/container/libhashtablez_sampler.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/base/libexponential_biased.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/synchronization/libsynchronization.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/synchronization/libgraphcycles_internal.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/debugging/libstacktrace.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/debugging/libsymbolize.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/debugging/libdebugging_internal.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/debugging/libdemangle_internal.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/base/libmalloc_internal.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libsetround.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/libtracing.pic.lo bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libhash.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/time/libtime.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/time/internal/cctz/libtime_zone.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/time/internal/cctz/libcivil_time.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/types/libbad_optional_access.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libstatus.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libabi.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libstrcat.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libnumbers.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libstringprintf.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/libstr_util.pic.a bazel-out/darwin-opt/bin/external/snappy/libsnappy.pic.a bazel-out/darwin-opt/bin/external/double_conversion/libdouble-conversion.pic.a -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/protobuf/libautotuning_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/protobuf/libconv_autotuning_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/stream_executor/libdnn_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/example/libexample_protos_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/example/libexample_parser_configuration_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/lib/core/liberror_codes_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/util/libevent_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/util/libsaved_tensor_slice_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/util/libmemmapped_file_system_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/util/libtest_log_proto_impl_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/grappler/costs/libop_performance_data_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/protobuf/libfor_core_protos_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/protobuf/liberror_codes_proto_impl_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libapi_def_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libcost_graph_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libdevice_attributes_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libgraph_transfer_info_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libkernel_def_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/liblog_memory_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libmodel_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libdataset_options_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libreader_base_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libremote_fused_graph_execute_info_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libgraph_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libfunction_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libnode_def_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libop_def_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libattr_value_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libstep_stats_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libsummary_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libtensor_description_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/liballocation_description_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libtensor_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libresource_handle_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libtensor_shape_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libtensor_slice_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libtypes_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libvariable_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/framework/libversions_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/protobuf/libxplane_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/profiler/libprofiler_options_proto_cc_impl.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/com_google_protobuf/libprotobuf.pic.lo -Wl,-force_load,bazel-out/darwin-opt/bin/external/com_google_protobuf/libprotobuf_lite.pic.lo bazel-out/darwin-opt/bin/external/zlib/libzlib.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/python/lib/core/libbfloat16_lib.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/python/lib/core/libnumpy_lib.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/liblogging.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/libenv_time.pic.a bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/platform/default/libmutex.pic.a bazel-out/darwin-opt/bin/external/nsync/libnsync_cpp.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/strings/libcord.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/strings/libstr_format_internal.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/strings/libstrings.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/strings/libinternal.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/base/libbase.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/base/libdynamic_annotations.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/base/libspinlock_wait.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/base/libthrow_delegate.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/base/libraw_logging_internal.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/base/liblog_severity.pic.a bazel-out/darwin-opt/bin/external/com_google_absl/absl/numeric/libint128.pic.a -Wl,-rpath,@loader_path/,-rpath,@loader_path/..,-rpath,@loader_path/../..,-rpath,@loader_path/../../.. -Wl,-rename_section,__TEXT,text_env,__TEXT,__text -Wl,-w -Wl,-exported_symbols_list,bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/python/xla_extension-exported-symbols.lds -lm -lpthread -framework IOKit -ldl -ldl -lm -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -framework CoreFoundation -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -ldl -lpthread -lm -pthread -pthread -lm -lpthread -lm -lpthread -lm -pthread -undefined dynamic_lookup -headerpad_max_install_names -lstdc++ -lm) Execution platform: @local_execution_config_platform//:platform duplicate symbol 'tensorflow::tpu::InitializeTpuLibrary(void*)' in: bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/tpu/libtpu_api_dlsym_initializer.pic.lo(tpu_api_dlsym_initializer.pic.o) bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/tpu/libtpu_executor_dlsym_initializer.pic.lo(tpu_executor_dlsym_initializer.pic.o) duplicate symbol 'tensorflow::tpu::FindAndLoadTpuLibrary()' in: bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/tpu/libtpu_api_dlsym_initializer.pic.lo(tpu_api_dlsym_initializer.pic.o) bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/core/tpu/libtpu_executor_dlsym_initializer.pic.lo(tpu_executor_dlsym_initializer.pic.o) ld: 2 duplicate symbols for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) Target //build:build_wheel failed to build INFO: Elapsed time: 3.424s, Critical Path: 2.82s INFO: 2 processes: 2 internal. FAILED: Build did NOT complete successfully ERROR: Build failed. Not running target FAILED: Build did NOT complete successfully Traceback (most recent call last): File "build/build.py", line 516, in &lt;module&gt; main() File "build/build.py", line 511, in main shell(command) File "build/build.py", line 51, in shell output = subprocess.check_output(cmd) File "/usr/local/Cellar/python@3.8/3.8.8/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py", line 415, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/local/Cellar/python@3.8/3.8.8/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py", line 516, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['./bazel-3.7.2-darwin-x86_64', 'run', '--verbose_failures=true', '--config=short_logs', '--config=avx_posix', '--config=mkl_open_source_only', ':build_wheel', '--', '--output_path=/Users/mateusz/PycharmProjects/jax/dist']' returned non-zero exit status 1. </code></pre></div>
<h3 dir="auto">Description</h3> <p dir="auto">The difference operation between two <code class="notranslate">BCOO</code> sparse matrices implicitly removes zeros. The behaviour is different from the one observed for the addition. Consider the example below.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import jax.experimental.sparse as jsp import jax.numpy as jnp a = jsp.BCOO((jnp.array([1.0]), jnp.array([[0, 0]])), shape=(3, 3)) b_values = jnp.array([0.0, 1.0, 0.0]) b_indices = jnp.array([[0, 0], [1, 1], [2, 2]]) b = jsp.BCOO((b_values, b_indices), shape=(3, 3)) print(&quot;Difference\n&quot;, (a - b).indices) print(&quot;Addition\n&quot;, (a + b).indices)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">jax</span>.<span class="pl-s1">experimental</span>.<span class="pl-s1">sparse</span> <span class="pl-k">as</span> <span class="pl-s1">jsp</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-s1">a</span> <span class="pl-c1">=</span> <span class="pl-s1">jsp</span>.<span class="pl-v">BCOO</span>((<span class="pl-s1">jnp</span>.<span class="pl-en">array</span>([<span class="pl-c1">1.0</span>]), <span class="pl-s1">jnp</span>.<span class="pl-en">array</span>([[<span class="pl-c1">0</span>, <span class="pl-c1">0</span>]])), <span class="pl-s1">shape</span><span class="pl-c1">=</span>(<span class="pl-c1">3</span>, <span class="pl-c1">3</span>)) <span class="pl-s1">b_values</span> <span class="pl-c1">=</span> <span class="pl-s1">jnp</span>.<span class="pl-en">array</span>([<span class="pl-c1">0.0</span>, <span class="pl-c1">1.0</span>, <span class="pl-c1">0.0</span>]) <span class="pl-s1">b_indices</span> <span class="pl-c1">=</span> <span class="pl-s1">jnp</span>.<span class="pl-en">array</span>([[<span class="pl-c1">0</span>, <span class="pl-c1">0</span>], [<span class="pl-c1">1</span>, <span class="pl-c1">1</span>], [<span class="pl-c1">2</span>, <span class="pl-c1">2</span>]]) <span class="pl-s1">b</span> <span class="pl-c1">=</span> <span class="pl-s1">jsp</span>.<span class="pl-v">BCOO</span>((<span class="pl-s1">b_values</span>, <span class="pl-s1">b_indices</span>), <span class="pl-s1">shape</span><span class="pl-c1">=</span>(<span class="pl-c1">3</span>, <span class="pl-c1">3</span>)) <span class="pl-en">print</span>(<span class="pl-s">"Difference<span class="pl-cce">\n</span>"</span>, (<span class="pl-s1">a</span> <span class="pl-c1">-</span> <span class="pl-s1">b</span>).<span class="pl-s1">indices</span>) <span class="pl-en">print</span>(<span class="pl-s">"Addition<span class="pl-cce">\n</span>"</span>, (<span class="pl-s1">a</span> <span class="pl-c1">+</span> <span class="pl-s1">b</span>).<span class="pl-s1">indices</span>)</pre></div> <p dir="auto">The output is</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Difference [[0 0] [1 1] [3 3] [3 3]] Addition [[0 0] [0 0] [1 1] [2 2]]"><pre class="notranslate"><code class="notranslate">Difference [[0 0] [1 1] [3 3] [3 3]] Addition [[0 0] [0 0] [1 1] [2 2]] </code></pre></div> <p dir="auto">As you can see, in the difference operation the indices associated to null values in <code class="notranslate">a</code> or <code class="notranslate">b</code> have disappeared and they have been replaced with the out-of-bounds index <code class="notranslate">[3,3]</code>.</p> <p dir="auto">The expected behaviour can be obtained using <code class="notranslate">a + (-1)*b</code>.</p> <h3 dir="auto">What jax/jaxlib version are you using?</h3> <p dir="auto">jax v0.3.25, jaxlib v.0.3.25</p> <h3 dir="auto">Which accelerator(s) are you using?</h3> <p dir="auto">CPU/GPU</p> <h3 dir="auto">Additional system info</h3> <p dir="auto">Python 3.10.8, ArchLinux</p> <h3 dir="auto">NVIDIA GPU info</h3> <p dir="auto">NVIDIA-SMI 520.56.06 Driver Version: 520.56.06 CUDA Version: 11.8</p>
0
<p dir="auto">We have an Electron app which launches a new window containing a Flash application from the main window. We set <code class="notranslate">plugins</code> to <code class="notranslate">true</code> in the <code class="notranslate">BrowserWindow</code> options and away it goes. All good.</p> <p dir="auto">However, the Flash app itself then launches another window containing a Flash component. The Flash component fails because it cannot find the Flash plugin.</p> <p dir="auto">This child app works fine if we just launch it directly in a browser OR if we launch it directly from Electron with <code class="notranslate">plugins</code> set to <code class="notranslate">true</code>.</p> <p dir="auto">Could Electron be modified to either:<br> a) allow these child windows to inherit the options of the parent window, or...<br> b) allow option defaults to be specified for these child windows</p> <p dir="auto">or have I missed something and there's an easy way to currently do this?</p> <p dir="auto">Thanks.</p>
<p dir="auto">If we initialize a browser window with <code class="notranslate">{ show: false }</code>, but the browser window runs JS code that opens a javascript window, then a new browser window will open, regardless of <code class="notranslate">{ show: false }</code></p> <p dir="auto">Here's an example:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var app = require('app') var BrowserWindow = require('browser-window'); app.on('ready', function() { win = new BrowserWindow({ show: false }); win.webContents.loadUrl('http://output.jsbin.com/cekonip/1'); win.webContents.once('did-finish-load', function() { console.log('loaded!'); }) })"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'app'</span><span class="pl-kos">)</span> <span class="pl-k">var</span> <span class="pl-v">BrowserWindow</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'browser-window'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">app</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">'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-s1">win</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">BrowserWindow</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">show</span>: <span class="pl-c1">false</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">win</span><span class="pl-kos">.</span><span class="pl-c1">webContents</span><span class="pl-kos">.</span><span class="pl-en">loadUrl</span><span class="pl-kos">(</span><span class="pl-s">'http://output.jsbin.com/cekonip/1'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">win</span><span class="pl-kos">.</span><span class="pl-c1">webContents</span><span class="pl-kos">.</span><span class="pl-en">once</span><span class="pl-kos">(</span><span class="pl-s">'did-finish-load'</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-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'loaded!'</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">The jsbin runs the following code:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="window.open('http://google.com')"><pre class="notranslate"><span class="pl-smi">window</span><span class="pl-kos">.</span><span class="pl-en">open</span><span class="pl-kos">(</span><span class="pl-s">'http://google.com'</span><span class="pl-kos">)</span></pre></div>
1
<p dir="auto">When I plot a heatmap and want to show the given values on top of the cells, only the cell at the bottom/left of the heatmap gets annotated.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import numpy as np import seaborn as sns import matplotlib.pyplot as plt m = np.array([[1, 2, 3], [4, 5, 6], [7, 8 ,9]]) sns.heatmap(m, annot=True, fmt='d') plt.show()"><pre class="notranslate"><code class="notranslate">import numpy as np import seaborn as sns import matplotlib.pyplot as plt m = np.array([[1, 2, 3], [4, 5, 6], [7, 8 ,9]]) sns.heatmap(m, annot=True, fmt='d') plt.show() </code></pre></div> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1626936/9305444/c84bc45a-44f1-11e5-8356-24951f955862.png"><img src="https://cloud.githubusercontent.com/assets/1626936/9305444/c84bc45a-44f1-11e5-8356-24951f955862.png" alt="heatmap_bug2" style="max-width: 100%;"></a></p> <p dir="auto">Another problem is that the text color is poorly chosen, like in this example:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="m = np.array([[50000, 50000, 50000], [50000, 50000, 50000], [1, 50000, 50000]]) sns.heatmap(m, annot=True, fmt='d') plt.show()"><pre class="notranslate"><code class="notranslate">m = np.array([[50000, 50000, 50000], [50000, 50000, 50000], [1, 50000, 50000]]) sns.heatmap(m, annot=True, fmt='d') plt.show() </code></pre></div> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1626936/9305455/cfc8d9ca-44f1-11e5-9633-fad1397c6fda.png"><img src="https://cloud.githubusercontent.com/assets/1626936/9305455/cfc8d9ca-44f1-11e5-9633-fad1397c6fda.png" alt="heatmap_light_bug" style="max-width: 100%;"></a></p> <p dir="auto">I'm using seaborn 0.6.0 with Python 3.4.3 (tried with Python 2.7.9 too, and I have the same bug)</p>
<p dir="auto">In version 0.6.0, annotations do not show up on the heatmap (for me at least). Here is a minimal example to reproduce the problem:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np import seaborn import matplotlib.pyplot as plt data = np.random.random((5, 5)) seaborn.heatmap(data, annot=True) plt.savefig(&quot;test.png&quot;)"><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">seaborn</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-s1">data</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">random</span>((<span class="pl-c1">5</span>, <span class="pl-c1">5</span>)) <span class="pl-s1">seaborn</span>.<span class="pl-en">heatmap</span>(<span class="pl-s1">data</span>, <span class="pl-s1">annot</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-s1">plt</span>.<span class="pl-en">savefig</span>(<span class="pl-s">"test.png"</span>)</pre></div> <p dir="auto">Resulting in the following image:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/864275/8461869/981a5db4-1ffd-11e5-98ac-41562eccc080.png"><img src="https://cloud.githubusercontent.com/assets/864275/8461869/981a5db4-1ffd-11e5-98ac-41562eccc080.png" alt="test" style="max-width: 100%;"></a></p> <p dir="auto">From what I understand, <code class="notranslate">annot=True</code> should write the matrix entries on the heatmap, like symmatplot used to do (and as shown in the documentation). Interestingly, there seems to be only one value in the bottom left corner.</p>
1
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 4.1.0</li> <li>Operating System / Platform =&gt; Ubuntu 5.4.0-6ubuntu1~16.04.10</li> <li>Compiler =&gt; Java</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">I use jdk1.8 and opencv410 to read webp picture,I can open and write webp format from file with no problem, but I can't decode from memory. The code (at the end) returns:</p> <p dir="auto">imdecode_(''): can't read data: OpenCV(4.1.0) /home/yuxiaoyang/repo_test/xmss_3rdparty/opencv-4.1.0-imsize/modules/imgcodecs/src/grfmt_webp.cpp:164: error: (-215:Assertion failed) data.rows == 1 in function 'readData'</p> <p dir="auto">However, it works with opencv 3.1.0</p> <p dir="auto"><strong>Code:</strong>,<br> System.loadLibrary(Core.NATIVE_LIBRARY_NAME);<br> String rotate6 = "/tmp/webp.webp";<br> Mat imdecode = Imgcodecs.imdecode(new MatOfByte(FileUtils.readFileToByteArray(new File(rotate6))), Imgcodecs.IMREAD_UNCHANGED);<br> System.out.println("imdecode width=" + imdecode.width());<br> System.out.println("imdecode height=" + imdecode.height());</p> <p dir="auto"><strong>Code Return:</strong><br> imdecode_(''): can't read data: OpenCV(4.1.0) /home/yuxiaoyang/repo_test/xmss_3rdparty/opencv-4.1.0-imsize/modules/imgcodecs/src/grfmt_webp.cpp:164: error: (-215:Assertion failed) data.rows == 1 in function 'readData'</p> <p dir="auto">imdecode width=0<br> imdecode height=0</p> <h5 dir="auto">Steps to reproduce</h5>
<p dir="auto">Python 3.7.3<br> opencv-python 4.1.0.25 from pip install opencv-python<br> I can open and write webp format from file with no problem, but I can't decode from memory. The code (at the end) returns:</p> <blockquote> <p dir="auto">imdecode_(''): can't read data: OpenCV(4.1.0) /io/opencv/modules/imgcodecs/src/grfmt_webp.cpp:164: error: (-215:Assertion failed) data.rows == 1 in function 'readData'<br> However, it works with opencv 3.4.2 from conda install opencv.<br> Also, Kaggle kernel environment (Python 3.6.6 and opencv-python 4.1.0.25) just returns None object without throwing an error.</p> </blockquote> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="img = cv2.imread(file) retval, buf = cv2.imencode(&quot;.webp&quot;, img, [cv2.IMWRITE_WEBP_QUALITY, 100]) img = cv2.imdecode(buf, 1)"><pre class="notranslate"><code class="notranslate">img = cv2.imread(file) retval, buf = cv2.imencode(".webp", img, [cv2.IMWRITE_WEBP_QUALITY, 100]) img = cv2.imdecode(buf, 1) </code></pre></div>
1
<h3 dir="auto">Which version of ShardingSphere did you use?</h3> <p dir="auto">5.3.0</p> <h3 dir="auto">Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?</h3> <p dir="auto">ShardingSphere-JDBC</p> <h3 dir="auto">Expected behavior</h3> <p dir="auto">When I use DruidDatasource, shardingjdbc can be loaded successfully.</p> <h3 dir="auto">Actual behavior</h3> <p dir="auto">Throw an Exception, Message is 'url not set'.</p> <h3 dir="auto">Reason analyze (If you can)</h3> <p dir="auto">When I use 'jdbcUrl' ,it doesn't work,but change to 'url' can work.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="dataSources: ds-0: dataSourceClassName: com.alibaba.druid.pool.DruidDataSource driverClassName: com.mysql.jdbc.Driver jdbcUrl: jdbc:mysql://xxxx:xxx/xxxxx. ##url: jdbc:mysql://xxxx:xxx/xxxxx username: root password:"><pre class="notranslate"><code class="notranslate">dataSources: ds-0: dataSourceClassName: com.alibaba.druid.pool.DruidDataSource driverClassName: com.mysql.jdbc.Driver jdbcUrl: jdbc:mysql://xxxx:xxx/xxxxx. ##url: jdbc:mysql://xxxx:xxx/xxxxx username: root password: </code></pre></div>
<h2 dir="auto">Bug Report</h2> <h3 dir="auto">Which version of ShardingSphere did you use?</h3> <p dir="auto">5.1.1</p> <h3 dir="auto">Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?</h3> <p dir="auto">ShardingSphere-JDBC</p> <h3 dir="auto">Expected behavior</h3> <p dir="auto">Execute a simple sql statement</p> <h3 dir="auto">Actual behavior</h3> <p dir="auto">Throw a Exception</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shardingSphereDataSource' defined in class path resource [org/apache/shardingsphere/spring/boot/ShardingSphereAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'shardingSphereDataSource' threw exception; nested exception is java.lang.IllegalArgumentException: url not set"><pre class="notranslate"><code class="notranslate">org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shardingSphereDataSource' defined in class path resource [org/apache/shardingsphere/spring/boot/ShardingSphereAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'shardingSphereDataSource' threw exception; nested exception is java.lang.IllegalArgumentException: url not set </code></pre></div> <h3 dir="auto">Reason analyze (If you can)</h3> <p dir="auto">There may be a problem in reading the configuration of sharding</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">The environment is <code class="notranslate">SpringBoot:2.6.7 + Durid:1.29 + Mybatis-Plus:3.5.1</code> .</p> <p dir="auto">The configuration of shardingsphere</p> <div class="highlight highlight-source-ini notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="spring.shardingsphere.datasource.names=write-ds,read-ds spring.shardingsphere.datasource.write-ds.type=com.alibaba.druid.pool.DruidDataSource spring.shardingsphere.datasource.write-ds.driver-class-name=com.mysql.jdbc.Driver spring.shardingsphere.datasource.write-ds.jdbc-url=jdbc:mysql://192.168.200.130:3307/user_db?serverTimezone=UTC&amp;useSSL=false&amp;useUnicode=true&amp;characterEncoding=UTF-8 spring.shardingsphere.datasource.write-ds.username=root spring.shardingsphere.datasource.write-ds.password=root spring.shardingsphere.datasource.read-ds.type=com.alibaba.druid.pool.DruidDataSource spring.shardingsphere.datasource.read-ds.driver-class-name=com.mysql.cj.jdbc.Driver spring.shardingsphere.datasource.read-ds.jdbc-url=jdbc:mysql://192.168.200.130:3308/user_db?serverTimezone=UTC&amp;useSSL=false&amp;useUnicode=true&amp;characterEncoding=UTF-8 spring.shardingsphere.datasource.read-ds.username=root spring.shardingsphere.datasource.read-ds.password=root spring.shardingsphere.rules.sharding.tables.t_user.actual-data-nodes=readwrite_ds.t_user spring.shardingsphere.props.sql-show=true spring.shardingsphere.rules.readwrite-splitting.data-sources.readwrite_ds.type=Static spring.shardingsphere.rules.readwrite-splitting.data-sources.readwrite_ds.props.write-data-source-name=write-ds spring.shardingsphere.rules.readwrite-splitting.data-sources.readwrite_ds.props.read-data-source-names=read-ds spring.shardingsphere.rules.readwrite-splitting.data-sources.readwrite_ds.load-balancer-name=round_robin spring.shardingsphere.rules.readwrite-splitting.load-balancers.round_robin.type=ROUND_ROBIN"><pre class="notranslate"><span class="pl-k">spring.shardingsphere.datasource.names</span>=write-ds,read-ds <span class="pl-k">spring.shardingsphere.datasource.write-ds.type</span>=com.alibaba.druid.pool.DruidDataSource <span class="pl-k">spring.shardingsphere.datasource.write-ds.driver-class-name</span>=com.mysql.jdbc.Driver <span class="pl-k">spring.shardingsphere.datasource.write-ds.jdbc-url</span>=jdbc:mysql://192.168.200.130:3307/user_db?<span class="pl-k">serverTimezone</span>=UTC&amp;<span class="pl-k">useSSL</span>=false&amp;<span class="pl-k">useUnicode</span>=true&amp;<span class="pl-k">characterEncoding</span>=UTF-8 <span class="pl-k">spring.shardingsphere.datasource.write-ds.username</span>=root <span class="pl-k">spring.shardingsphere.datasource.write-ds.password</span>=root <span class="pl-k">spring.shardingsphere.datasource.read-ds.type</span>=com.alibaba.druid.pool.DruidDataSource <span class="pl-k">spring.shardingsphere.datasource.read-ds.driver-class-name</span>=com.mysql.cj.jdbc.Driver <span class="pl-k">spring.shardingsphere.datasource.read-ds.jdbc-url</span>=jdbc:mysql://192.168.200.130:3308/user_db?<span class="pl-k">serverTimezone</span>=UTC&amp;<span class="pl-k">useSSL</span>=false&amp;<span class="pl-k">useUnicode</span>=true&amp;<span class="pl-k">characterEncoding</span>=UTF-8 <span class="pl-k">spring.shardingsphere.datasource.read-ds.username</span>=root <span class="pl-k">spring.shardingsphere.datasource.read-ds.password</span>=root <span class="pl-k">spring.shardingsphere.rules.sharding.tables.t_user.actual-data-nodes</span>=readwrite_ds.t_user <span class="pl-k">spring.shardingsphere.props.sql-show</span>=true <span class="pl-k">spring.shardingsphere.rules.readwrite-splitting.data-sources.readwrite_ds.type</span>=Static <span class="pl-k">spring.shardingsphere.rules.readwrite-splitting.data-sources.readwrite_ds.props.write-data-source-name</span>=write-ds <span class="pl-k">spring.shardingsphere.rules.readwrite-splitting.data-sources.readwrite_ds.props.read-data-source-names</span>=read-ds <span class="pl-k">spring.shardingsphere.rules.readwrite-splitting.data-sources.readwrite_ds.load-balancer-name</span>=round_robin <span class="pl-k">spring.shardingsphere.rules.readwrite-splitting.load-balancers.round_robin.type</span>=ROUND_ROBIN</pre></div> <p dir="auto">I call the selectById() method provided by Mybatis-Plus. For example:</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Test public void select() { User user = userMapper.selectById(43242324L); System.out.println(user); }"><pre class="notranslate"><span class="pl-c1">@</span><span class="pl-c1">Test</span> <span class="pl-k">public</span> <span class="pl-smi">void</span> <span class="pl-s1">select</span>() { <span class="pl-smi">User</span> <span class="pl-s1">user</span> = <span class="pl-s1">userMapper</span>.<span class="pl-en">selectById</span>(<span class="pl-c1">43242324L</span>); <span class="pl-smi">System</span>.<span class="pl-s1">out</span>.<span class="pl-en">println</span>(<span class="pl-s1">user</span>); }</pre></div> <hr> <p dir="auto">When I change the datasource configuration as follows:</p> <div class="highlight highlight-source-ini notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# change 'jdbc-url' to 'url' spring.shardingsphere.datasource.write-ds.url=jdbc:mysql://192.168.200.130:3307/user_db? spring.shardingsphere.datasource.read-ds.url=jdbc:mysql://192.168.200.130:3308/user_db?"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> change 'jdbc-url' to 'url'</span> <span class="pl-k">spring.shardingsphere.datasource.write-ds.url</span>=jdbc:mysql://192.168.200.130:3307/user_db? <span class="pl-k">spring.shardingsphere.datasource.read-ds.url</span>=jdbc:mysql://192.168.200.130:3308/user_db?</pre></div> <p dir="auto">It works well.<br> If I use HikariCP connection poll, either 'jdbc-url' or 'url' will work well.</p> <h3 dir="auto">Example codes for reproduce this issue (such as a github link).</h3>
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="This route, based on Closed Issue https://github.com/tiangolo/fastapi/issues/131#issuecomment-1177187775, works, and shows how one can alias a path parameter. @router.get(&quot;/api/users/{id}/profile/&quot;) def user_profile(user_id: int = Path(None, alias=&quot;id&quot;)): return { &quot;id&quot;: user_id, &quot;username&quot;: &quot;johndoe&quot; }"><pre class="notranslate"><span class="pl-v">This</span> <span class="pl-s1">route</span>, <span class="pl-s1">based</span> <span class="pl-s1">on</span> <span class="pl-v">Closed</span> <span class="pl-v">Issue</span> <span class="pl-s1">https</span>:<span class="pl-c1">//</span><span class="pl-s1">github</span>.<span class="pl-s1">com</span><span class="pl-c1">/</span><span class="pl-s1">tiangolo</span><span class="pl-c1">/</span><span class="pl-s1">fastapi</span><span class="pl-c1">/</span><span class="pl-s1">issues</span><span class="pl-c1">/</span><span class="pl-c1">131</span><span class="pl-c">#issuecomment-1177187775, works, and shows how one can alias a path parameter.</span> <span class="pl-en">@<span class="pl-s1">router</span>.<span class="pl-en">get</span>(<span class="pl-s">"/api/users/{id}/profile/"</span>)</span> <span class="pl-k">def</span> <span class="pl-en">user_profile</span>(<span class="pl-s1">user_id</span>: <span class="pl-s1">int</span> <span class="pl-c1">=</span> <span class="pl-v">Path</span>(<span class="pl-c1">None</span>, <span class="pl-s1">alias</span><span class="pl-c1">=</span><span class="pl-s">"id"</span>)): <span class="pl-k">return</span> { <span class="pl-s">"id"</span>: <span class="pl-s1">user_id</span>, <span class="pl-s">"username"</span>: <span class="pl-s">"johndoe"</span> }</pre></div> <p dir="auto">This route, using <code class="notranslate">"user-id"</code> instead of <code class="notranslate">"id"</code> as the alias, does not work.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@router.get(&quot;/api/users1/{user-id}/profile/&quot;) def user_profile(user_id: int = Path(None, alias=&quot;user-id&quot;)): return { &quot;id&quot;: user_id, &quot;username&quot;: &quot;johndoe&quot; }"><pre class="notranslate"><code class="notranslate">@router.get("/api/users1/{user-id}/profile/") def user_profile(user_id: int = Path(None, alias="user-id")): return { "id": user_id, "username": "johndoe" } </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" ### Description Both `Query()` and `Path()` have an `alias` feature. `Query()` aliases can contain hyphens, but `Path()` aliases cannot. This appears to be a bug, as the [doc](https://fastapi.tiangolo.com/tutorial/path-params-numeric-validations/#declare-metadata) says about Path metadata &gt; You can declare all the same parameters as for Query. ### Operating System Linux ### Operating System Details Amazon Linux 2 ### FastAPI Version 0.86.0 ### Python Version 3.9.13 ### Additional Context Swagger UI showing working route: &lt;img width=&quot;801&quot; alt=&quot;path_alias_working&quot; src=&quot;https://user-images.githubusercontent.com/79278744/201563302-a0539e26-af29-4785-b2f5-ec970f3233f1.png&quot;&gt; Swagger UI showing hyphenated alias Not Found: &lt;img width=&quot;803&quot; alt=&quot;page_alias_with_hyphen_issue&quot; src=&quot;https://user-images.githubusercontent.com/79278744/201563374-dc3f2198-ca49-42eb-974b-557f3a3a9559.png&quot;&gt;"><pre class="notranslate"><code class="notranslate"> ### Description Both `Query()` and `Path()` have an `alias` feature. `Query()` aliases can contain hyphens, but `Path()` aliases cannot. This appears to be a bug, as the [doc](https://fastapi.tiangolo.com/tutorial/path-params-numeric-validations/#declare-metadata) says about Path metadata &gt; You can declare all the same parameters as for Query. ### Operating System Linux ### Operating System Details Amazon Linux 2 ### FastAPI Version 0.86.0 ### Python Version 3.9.13 ### Additional Context Swagger UI showing working route: &lt;img width="801" alt="path_alias_working" src="https://user-images.githubusercontent.com/79278744/201563302-a0539e26-af29-4785-b2f5-ec970f3233f1.png"&gt; Swagger UI showing hyphenated alias Not Found: &lt;img width="803" alt="page_alias_with_hyphen_issue" src="https://user-images.githubusercontent.com/79278744/201563374-dc3f2198-ca49-42eb-974b-557f3a3a9559.png"&gt; </code></pre></div>
<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="from fastapi import FastAPI, Path app = FastAPI() @app.get(&quot;/{my-id}/list&quot;) def list_items( my_id: str = Path(alias=&quot;my-id&quot;) ): return {&quot;aa&quot;: my_id}"><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-v">Path</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">get</span>(<span class="pl-s">"/{my-id}/list"</span>)</span> <span class="pl-k">def</span> <span class="pl-en">list_items</span>( <span class="pl-s1">my_id</span>: <span class="pl-s1">str</span> <span class="pl-c1">=</span> <span class="pl-v">Path</span>(<span class="pl-s1">alias</span><span class="pl-c1">=</span><span class="pl-s">"my-id"</span>) ): <span class="pl-k">return</span> {<span class="pl-s">"aa"</span>: <span class="pl-s1">my_id</span>}</pre></div> <h3 dir="auto">Description</h3> <p dir="auto">On hitting</p> <div class="highlight highlight-source-batchfile notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="curl -X 'GET' \ 'http://localhost:8000/sample/list' \ -H 'accept: application/json'"><pre class="notranslate">curl -X 'GET' \ 'http://localhost:8000/sample/list' \ -H 'accept: application/json'</pre></div> <p dir="auto">I get 404 error</p> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;detail&quot;: &quot;Not Found&quot; }"><pre class="notranslate">{ <span class="pl-ent">"detail"</span>: <span class="pl-s"><span class="pl-pds">"</span>Not Found<span class="pl-pds">"</span></span> }</pre></div> <h3 dir="auto">Operating System</h3> <p dir="auto">Windows</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.79.0</p> <h3 dir="auto">Python Version</h3> <p dir="auto">3.9.10</p> <h3 dir="auto">Additional Context</h3> <p dir="auto">This behaviour is working fine with Query param alias but not with Path param alias</p>
1
<p dir="auto">Hi,<br> I'm working on node.js with npm. I've written a TS library and I want to use it in another project by doing npm install.<br> I'm not sure what will should be the contents in my npm package:<br> should it be only .js, only .ts, or .js with additional declaration files (d.ts)?</p> <p dir="auto">Furthermore if I'm using the third option, what exactly am I writing in the definition file? how exactly am I using it?I'm not sure what's the connection between d.ts and the actual javascript.<br> I see a lot of different answers but most them didn't help me.</p> <p dir="auto">Thanks,<br> Omer</p>
<p dir="auto"><strong>TypeScript Version:</strong></p> <p dir="auto">1.8.0</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="interface Class&lt;T&gt; { new(): T; } declare function create1&lt;T&gt;(ctor: Class&lt;T&gt;): T; declare function create2&lt;T, C extends Class&lt;T&gt;&gt;(ctor: C): T; class A {} let a1 = create1(A); // a: A --&gt; OK let a2 = create2(A); // a: {} --&gt; Should be A"><pre class="notranslate"><span class="pl-k">interface</span> <span class="pl-smi">Class</span><span class="pl-c1">&lt;</span><span class="pl-smi">T</span><span class="pl-c1">&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">new</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-smi">T</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">declare</span> <span class="pl-k">function</span> <span class="pl-s1">create1</span><span class="pl-c1">&lt;</span><span class="pl-smi">T</span><span class="pl-c1">&gt;</span><span class="pl-kos">(</span><span class="pl-s1">ctor</span>: <span class="pl-smi">Class</span><span class="pl-kos">&lt;</span><span class="pl-smi">T</span><span class="pl-kos">&gt;</span><span class="pl-kos">)</span>: <span class="pl-smi">T</span><span class="pl-kos">;</span> <span class="pl-k">declare</span> <span class="pl-k">function</span> <span class="pl-s1">create2</span><span class="pl-c1">&lt;</span><span class="pl-smi">T</span><span class="pl-kos">,</span> <span class="pl-smi">C</span> <span class="pl-k">extends</span> <span class="pl-smi">Class</span><span class="pl-kos">&lt;</span><span class="pl-smi">T</span><span class="pl-kos">&gt;</span><span class="pl-c1">&gt;</span><span class="pl-kos">(</span><span class="pl-s1">ctor</span>: <span class="pl-smi">C</span><span class="pl-kos">)</span>: <span class="pl-smi">T</span><span class="pl-kos">;</span> <span class="pl-k">class</span> <span class="pl-smi">A</span> <span class="pl-kos">{</span><span class="pl-kos">}</span> <span class="pl-k">let</span> <span class="pl-s1">a1</span> <span class="pl-c1">=</span> <span class="pl-en">create1</span><span class="pl-kos">(</span><span class="pl-smi">A</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// a: A --&gt; OK</span> <span class="pl-k">let</span> <span class="pl-s1">a2</span> <span class="pl-c1">=</span> <span class="pl-en">create2</span><span class="pl-kos">(</span><span class="pl-smi">A</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// a: {} --&gt; Should be A</span></pre></div> <p dir="auto"><strong>Context</strong></p> <p dir="auto">The example above is simplified to illustrate the difference between <code class="notranslate">create1</code> and <code class="notranslate">create2</code>. I need both type parameters for the use case I have in mind (React) because it returns a type which is parameterized by both <code class="notranslate">T</code> and <code class="notranslate">C</code>:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="declare function createElement&lt;T, C extends Class&lt;T&gt;&gt;(type: C): Element&lt;T, C&gt;; var e = createElement(A); // e: Element&lt;{}, typeof A&gt; --&gt; Should be Element&lt;A, typeof A&gt; declare function render&lt;T&gt;(e: Element&lt;T, any&gt;): T; var a = render(e); // a: {} --&gt; Should be A"><pre class="notranslate"><span class="pl-k">declare</span> <span class="pl-k">function</span> <span class="pl-s1">createElement</span><span class="pl-c1">&lt;</span><span class="pl-smi">T</span><span class="pl-kos">,</span> <span class="pl-smi">C</span> <span class="pl-k">extends</span> <span class="pl-smi">Class</span><span class="pl-kos">&lt;</span><span class="pl-smi">T</span><span class="pl-kos">&gt;</span><span class="pl-c1">&gt;</span><span class="pl-kos">(</span><span class="pl-s1">type</span>: <span class="pl-smi">C</span><span class="pl-kos">)</span>: <span class="pl-smi">Element</span><span class="pl-kos">&lt;</span><span class="pl-smi">T</span><span class="pl-kos">,</span> <span class="pl-smi">C</span><span class="pl-kos">&gt;</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">e</span> <span class="pl-c1">=</span> <span class="pl-en">createElement</span><span class="pl-kos">(</span><span class="pl-smi">A</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// e: Element&lt;{}, typeof A&gt; --&gt; Should be Element&lt;A, typeof A&gt;</span> <span class="pl-k">declare</span> <span class="pl-k">function</span> <span class="pl-s1">render</span><span class="pl-c1">&lt;</span><span class="pl-smi">T</span><span class="pl-c1">&gt;</span><span class="pl-kos">(</span><span class="pl-s1">e</span>: <span class="pl-smi">Element</span><span class="pl-kos">&lt;</span><span class="pl-smi">T</span><span class="pl-kos">,</span> <span class="pl-smi">any</span><span class="pl-kos">&gt;</span><span class="pl-kos">)</span>: <span class="pl-smi">T</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-en">render</span><span class="pl-kos">(</span><span class="pl-s1">e</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// a: {} --&gt; Should be A</span></pre></div> <p dir="auto">Again, this is simplified, but the motivation is to improve the return type inference of <code class="notranslate">ReactDOM.render</code>.</p>
0
<h3 dir="auto">Bug report</h3> <p dir="auto"><strong>Bug summary</strong></p> <p dir="auto">Histogram missing in Matplotlib 2.1.0. See the following figures, one is from 2.1.0 and the other is from 2.0.2.</p> <p dir="auto"><strong>Code for reproduction</strong></p> <p dir="auto">This code is exactly the same code we are using except the data is changed to random one. I suppose it will be minimal enough?</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#!/usr/bin/env python3 import numpy as np import matplotlib import matplotlib.pyplot as plt import matplotlib.ticker as ticker import collections def plot_figure(distribution): percentile = [95, 99] percentile_color = 'yg' mean_color = 'c' bins = 100 legend_handle = [] legend_title = [] fig, (ax0, ax1) = plt.subplots(2, sharex=True) fig.subplots_adjust(hspace=0) mu, sigma = 100, 15 xs_downstream = mu + sigma*np.random.randn(10000) xs_upstream = mu + sigma*np.random.randn(10000) xmin = min(np.min(xs_downstream), np.min(xs_upstream)) xmax = max(np.max(xs_downstream), np.max(xs_upstream)) hist0 = ax0.hist(xs_downstream, bins=bins, range=(xmin, xmax), color='red', label='{} workload with Proxy'.format(distribution.capitalize())) handles, labels = ax0.get_legend_handles_labels() line = ax0.axvline(x=np.mean(xs_downstream), color=mean_color, linewidth=1) legend_title.append('Mean') legend_handle.append(line) for percent, color in zip(percentile, percentile_color): line = ax0.axvline(x=xs_downstream[int(percent / 100 * len(xs_downstream))], color=color, linewidth=1) legend_title.append('{}th percentile'.format(percent)) legend_handle.append(line) ax0.set_yscale('log') legend_title += labels legend_handle += handles hist1 = ax1.hist(xs_upstream, bins=bins, range=(xmin, xmax), color='blue', label='{} workload without Proxy'.format(distribution.capitalize())) handles, labels = ax1.get_legend_handles_labels() legend_title += labels legend_handle += handles ax1.axvline(x=np.mean(xs_upstream), color=mean_color, linewidth=1) for percent, color in zip(percentile, percentile_color): ax1.axvline(x=xs_upstream[int(percent / 100 * len(xs_upstream))], color=color, linewidth=1) ax1.set_yscale('log') ax0.legend(legend_handle, legend_title) ax1.set_xlabel('latency (ms)') fig.savefig('latency-{}.pdf'.format(distribution)) def main(): plot_figure('zipf') plot_figure('uniform') if __name__ == '__main__': main() "><pre class="notranslate"><span class="pl-c">#!/usr/bin/env python3</span> <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-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">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">ticker</span> <span class="pl-k">as</span> <span class="pl-s1">ticker</span> <span class="pl-k">import</span> <span class="pl-s1">collections</span> <span class="pl-k">def</span> <span class="pl-en">plot_figure</span>(<span class="pl-s1">distribution</span>): <span class="pl-s1">percentile</span> <span class="pl-c1">=</span> [<span class="pl-c1">95</span>, <span class="pl-c1">99</span>] <span class="pl-s1">percentile_color</span> <span class="pl-c1">=</span> <span class="pl-s">'yg'</span> <span class="pl-s1">mean_color</span> <span class="pl-c1">=</span> <span class="pl-s">'c'</span> <span class="pl-s1">bins</span> <span class="pl-c1">=</span> <span class="pl-c1">100</span> <span class="pl-s1">legend_handle</span> <span class="pl-c1">=</span> [] <span class="pl-s1">legend_title</span> <span class="pl-c1">=</span> [] <span class="pl-s1">fig</span>, (<span class="pl-s1">ax0</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">2</span>, <span class="pl-s1">sharex</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-s1">fig</span>.<span class="pl-en">subplots_adjust</span>(<span class="pl-s1">hspace</span><span class="pl-c1">=</span><span class="pl-c1">0</span>) <span class="pl-s1">mu</span>, <span class="pl-s1">sigma</span> <span class="pl-c1">=</span> <span class="pl-c1">100</span>, <span class="pl-c1">15</span> <span class="pl-s1">xs_downstream</span> <span class="pl-c1">=</span> <span class="pl-s1">mu</span> <span class="pl-c1">+</span> <span class="pl-s1">sigma</span><span class="pl-c1">*</span><span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">randn</span>(<span class="pl-c1">10000</span>) <span class="pl-s1">xs_upstream</span> <span class="pl-c1">=</span> <span class="pl-s1">mu</span> <span class="pl-c1">+</span> <span class="pl-s1">sigma</span><span class="pl-c1">*</span><span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">randn</span>(<span class="pl-c1">10000</span>) <span class="pl-s1">xmin</span> <span class="pl-c1">=</span> <span class="pl-en">min</span>(<span class="pl-s1">np</span>.<span class="pl-en">min</span>(<span class="pl-s1">xs_downstream</span>), <span class="pl-s1">np</span>.<span class="pl-en">min</span>(<span class="pl-s1">xs_upstream</span>)) <span class="pl-s1">xmax</span> <span class="pl-c1">=</span> <span class="pl-en">max</span>(<span class="pl-s1">np</span>.<span class="pl-en">max</span>(<span class="pl-s1">xs_downstream</span>), <span class="pl-s1">np</span>.<span class="pl-en">max</span>(<span class="pl-s1">xs_upstream</span>)) <span class="pl-s1">hist0</span> <span class="pl-c1">=</span> <span class="pl-s1">ax0</span>.<span class="pl-en">hist</span>(<span class="pl-s1">xs_downstream</span>, <span class="pl-s1">bins</span><span class="pl-c1">=</span><span class="pl-s1">bins</span>, <span class="pl-s1">range</span><span class="pl-c1">=</span>(<span class="pl-s1">xmin</span>, <span class="pl-s1">xmax</span>), <span class="pl-s1">color</span><span class="pl-c1">=</span><span class="pl-s">'red'</span>, <span class="pl-s1">label</span><span class="pl-c1">=</span><span class="pl-s">'{} workload with Proxy'</span>.<span class="pl-en">format</span>(<span class="pl-s1">distribution</span>.<span class="pl-en">capitalize</span>())) <span class="pl-s1">handles</span>, <span class="pl-s1">labels</span> <span class="pl-c1">=</span> <span class="pl-s1">ax0</span>.<span class="pl-en">get_legend_handles_labels</span>() <span class="pl-s1">line</span> <span class="pl-c1">=</span> <span class="pl-s1">ax0</span>.<span class="pl-en">axvline</span>(<span class="pl-s1">x</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-en">mean</span>(<span class="pl-s1">xs_downstream</span>), <span class="pl-s1">color</span><span class="pl-c1">=</span><span class="pl-s1">mean_color</span>, <span class="pl-s1">linewidth</span><span class="pl-c1">=</span><span class="pl-c1">1</span>) <span class="pl-s1">legend_title</span>.<span class="pl-en">append</span>(<span class="pl-s">'Mean'</span>) <span class="pl-s1">legend_handle</span>.<span class="pl-en">append</span>(<span class="pl-s1">line</span>) <span class="pl-k">for</span> <span class="pl-s1">percent</span>, <span class="pl-s1">color</span> <span class="pl-c1">in</span> <span class="pl-en">zip</span>(<span class="pl-s1">percentile</span>, <span class="pl-s1">percentile_color</span>): <span class="pl-s1">line</span> <span class="pl-c1">=</span> <span class="pl-s1">ax0</span>.<span class="pl-en">axvline</span>(<span class="pl-s1">x</span><span class="pl-c1">=</span><span class="pl-s1">xs_downstream</span>[<span class="pl-en">int</span>(<span class="pl-s1">percent</span> <span class="pl-c1">/</span> <span class="pl-c1">100</span> <span class="pl-c1">*</span> <span class="pl-en">len</span>(<span class="pl-s1">xs_downstream</span>))], <span class="pl-s1">color</span><span class="pl-c1">=</span><span class="pl-s1">color</span>, <span class="pl-s1">linewidth</span><span class="pl-c1">=</span><span class="pl-c1">1</span>) <span class="pl-s1">legend_title</span>.<span class="pl-en">append</span>(<span class="pl-s">'{}th percentile'</span>.<span class="pl-en">format</span>(<span class="pl-s1">percent</span>)) <span class="pl-s1">legend_handle</span>.<span class="pl-en">append</span>(<span class="pl-s1">line</span>) <span class="pl-s1">ax0</span>.<span class="pl-en">set_yscale</span>(<span class="pl-s">'log'</span>) <span class="pl-s1">legend_title</span> <span class="pl-c1">+=</span> <span class="pl-s1">labels</span> <span class="pl-s1">legend_handle</span> <span class="pl-c1">+=</span> <span class="pl-s1">handles</span> <span class="pl-s1">hist1</span> <span class="pl-c1">=</span> <span class="pl-s1">ax1</span>.<span class="pl-en">hist</span>(<span class="pl-s1">xs_upstream</span>, <span class="pl-s1">bins</span><span class="pl-c1">=</span><span class="pl-s1">bins</span>, <span class="pl-s1">range</span><span class="pl-c1">=</span>(<span class="pl-s1">xmin</span>, <span class="pl-s1">xmax</span>), <span class="pl-s1">color</span><span class="pl-c1">=</span><span class="pl-s">'blue'</span>, <span class="pl-s1">label</span><span class="pl-c1">=</span><span class="pl-s">'{} workload without Proxy'</span>.<span class="pl-en">format</span>(<span class="pl-s1">distribution</span>.<span class="pl-en">capitalize</span>())) <span class="pl-s1">handles</span>, <span class="pl-s1">labels</span> <span class="pl-c1">=</span> <span class="pl-s1">ax1</span>.<span class="pl-en">get_legend_handles_labels</span>() <span class="pl-s1">legend_title</span> <span class="pl-c1">+=</span> <span class="pl-s1">labels</span> <span class="pl-s1">legend_handle</span> <span class="pl-c1">+=</span> <span class="pl-s1">handles</span> <span class="pl-s1">ax1</span>.<span class="pl-en">axvline</span>(<span class="pl-s1">x</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-en">mean</span>(<span class="pl-s1">xs_upstream</span>), <span class="pl-s1">color</span><span class="pl-c1">=</span><span class="pl-s1">mean_color</span>, <span class="pl-s1">linewidth</span><span class="pl-c1">=</span><span class="pl-c1">1</span>) <span class="pl-k">for</span> <span class="pl-s1">percent</span>, <span class="pl-s1">color</span> <span class="pl-c1">in</span> <span class="pl-en">zip</span>(<span class="pl-s1">percentile</span>, <span class="pl-s1">percentile_color</span>): <span class="pl-s1">ax1</span>.<span class="pl-en">axvline</span>(<span class="pl-s1">x</span><span class="pl-c1">=</span><span class="pl-s1">xs_upstream</span>[<span class="pl-en">int</span>(<span class="pl-s1">percent</span> <span class="pl-c1">/</span> <span class="pl-c1">100</span> <span class="pl-c1">*</span> <span class="pl-en">len</span>(<span class="pl-s1">xs_upstream</span>))], <span class="pl-s1">color</span><span class="pl-c1">=</span><span class="pl-s1">color</span>, <span class="pl-s1">linewidth</span><span class="pl-c1">=</span><span class="pl-c1">1</span>) <span class="pl-s1">ax1</span>.<span class="pl-en">set_yscale</span>(<span class="pl-s">'log'</span>) <span class="pl-s1">ax0</span>.<span class="pl-en">legend</span>(<span class="pl-s1">legend_handle</span>, <span class="pl-s1">legend_title</span>) <span class="pl-s1">ax1</span>.<span class="pl-en">set_xlabel</span>(<span class="pl-s">'latency (ms)'</span>) <span class="pl-s1">fig</span>.<span class="pl-en">savefig</span>(<span class="pl-s">'latency-{}.pdf'</span>.<span class="pl-en">format</span>(<span class="pl-s1">distribution</span>)) <span class="pl-k">def</span> <span class="pl-en">main</span>(): <span class="pl-en">plot_figure</span>(<span class="pl-s">'zipf'</span>) <span class="pl-en">plot_figure</span>(<span class="pl-s">'uniform'</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-en">main</span>()</pre></div> <p dir="auto"><strong>Actual outcome</strong></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2470081/32174680-e8f9d1ba-bd58-11e7-86a7-b6b13041aea9.png"><img width="890" alt="qq20171030-095657 2x" src="https://user-images.githubusercontent.com/2470081/32174680-e8f9d1ba-bd58-11e7-86a7-b6b13041aea9.png" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Expected outcome</strong></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2470081/32174688-ebe0f0b6-bd58-11e7-9835-24679b787c75.png"><img width="890" alt="qq20171030-095722 2x" src="https://user-images.githubusercontent.com/2470081/32174688-ebe0f0b6-bd58-11e7-9835-24679b787c75.png" style="max-width: 100%;"></a></p> <p dir="auto">Works well in 2.0.2.</p> <p dir="auto"><strong>Matplotlib version</strong></p> <ul dir="auto"> <li>Operating system: Both macOS High Sierra and Ubuntu 17.10</li> <li>Matplotlib version: 2.1.0</li> <li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>): <code class="notranslate">MacOSX</code></li> <li>Python version: <code class="notranslate">3.6.3</code></li> <li>Jupyter version (if applicable):</li> <li>Other libraries:</li> </ul> <p dir="auto">Installed using <code class="notranslate">pip3</code></p> <p dir="auto">Thanks!</p>
<h3 dir="auto">Bug report</h3> <p dir="auto"><strong>Bug summary</strong></p> <p dir="auto">Setting a logarithmic y-axis with <code class="notranslate">ax.set_yscale('log')</code> causes histograms to disappear from the axis. This occurs in <a href="https://github.com/matplotlib/matplotlib/releases/tag/v2.1.0">2.1.0</a> but not in 2.0.2.</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 matplotlib.use('Agg') import matplotlib.pyplot as plt import numpy as np xs = np.random.normal(size=int(1e6)) fig, (ax1, ax2) = plt.subplots(1, 2) ax1.hist(xs, range=(-5, 5), bins=100) ax2.hist(xs, range=(-5, 5), bins=100) ax2.set_ylim(ymin=1) ax2.set_yscale('log') fig.savefig('histogram.png')"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">matplotlib</span> <span class="pl-s1">matplotlib</span>.<span class="pl-en">use</span>(<span class="pl-s">'Agg'</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">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span> <span class="pl-s1">xs</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">normal</span>(<span class="pl-s1">size</span><span class="pl-c1">=</span><span class="pl-en">int</span>(<span class="pl-c1">1e6</span>)) <span class="pl-s1">fig</span>, (<span class="pl-s1">ax1</span>, <span class="pl-s1">ax2</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">2</span>) <span class="pl-s1">ax1</span>.<span class="pl-en">hist</span>(<span class="pl-s1">xs</span>, <span class="pl-s1">range</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-s1">bins</span><span class="pl-c1">=</span><span class="pl-c1">100</span>) <span class="pl-s1">ax2</span>.<span class="pl-en">hist</span>(<span class="pl-s1">xs</span>, <span class="pl-s1">range</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-s1">bins</span><span class="pl-c1">=</span><span class="pl-c1">100</span>) <span class="pl-s1">ax2</span>.<span class="pl-en">set_ylim</span>(<span class="pl-s1">ymin</span><span class="pl-c1">=</span><span class="pl-c1">1</span>) <span class="pl-s1">ax2</span>.<span class="pl-en">set_yscale</span>(<span class="pl-s">'log'</span>) <span class="pl-s1">fig</span>.<span class="pl-en">savefig</span>(<span class="pl-s">'histogram.png'</span>)</pre></div> <p dir="auto"><strong>Actual outcome</strong></p> <p dir="auto">With <strong>2.1.0</strong>:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/540853/31249955-9632ab66-aa19-11e7-8aab-c6a7ccac306f.png"><img src="https://user-images.githubusercontent.com/540853/31249955-9632ab66-aa19-11e7-8aab-c6a7ccac306f.png" alt="2.1.0" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Expected outcome</strong></p> <p dir="auto">I expect to see a logarithm y-axis <em>and</em> the histogram, but I only see the former. With <strong>2.0.2</strong> I see this:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/540853/31249924-795ab998-aa19-11e7-8c3f-f205ea54e817.png"><img src="https://user-images.githubusercontent.com/540853/31249924-795ab998-aa19-11e7-8c3f-f205ea54e817.png" alt="2.0.2" style="max-width: 100%;"></a></p>
1
<p dir="auto">Uncaught Error: spawn pyflakes ENOENT</p> <p dir="auto"><strong>Atom Version</strong>: 0.154.0<br> <strong>System</strong>: Mac OS X 10.10.1<br> <strong>Thrown From</strong>: Atom Core</p> <h3 dir="auto">Steps To Reproduce</h3> <ol dir="auto"> <li><code class="notranslate">apm install linter linter-pyflakes</code></li> <li>Open any Python file</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ pyflakes --version 0.8.1"><pre class="notranslate"><code class="notranslate">$ pyflakes --version 0.8.1 </code></pre></div> <h3 dir="auto">Stack Trace</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At events.js:85 Error: spawn pyflakes ENOENT at exports._errnoException (util.js:742:11) at Process.ChildProcess._handle.onexit (child_process.js:1051:32) at child_process.js:1142:20 at process._tickCallback (node.js:378:11) "><pre class="notranslate"><code class="notranslate">At events.js:85 Error: spawn pyflakes ENOENT at exports._errnoException (util.js:742:11) at Process.ChildProcess._handle.onexit (child_process.js:1051:32) at child_process.js:1142:20 at process._tickCallback (node.js:378:11) </code></pre></div>
<p dir="auto">Uncaught Error: spawn pyflakes ENOENT</p> <p dir="auto"><strong>Atom Version</strong>: 0.154.0<br> <strong>System</strong>: Mac OS X 10.9.5<br> <strong>Thrown From</strong>: Atom Core</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ pyflakes --version 0.8.1"><pre class="notranslate"><code class="notranslate">$ pyflakes --version 0.8.1 </code></pre></div> <p dir="auto">Linter 0.8.0, Linter Python Pyflakes 0.1.0 (bsnux)</p> <h3 dir="auto">Steps To Reproduce</h3> <ol dir="auto"> <li>Started atom in a (mostly python) project with the following storage file:<br> <a href="https://gist.github.com/jagill/833eac508959d3f1cf1b">https://gist.github.com/jagill/833eac508959d3f1cf1b</a></li> <li>Split pane vertically.</li> <li>Saw error which told me to report it.</li> <li>Possibly of note: The shell session which launched atom was also running under a python virtualenv.</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ which python /Users/jag/euler/venv/bin/python $ which pyflakes /usr/local/bin/pyflakes"><pre class="notranslate"><code class="notranslate">$ which python /Users/jag/euler/venv/bin/python $ which pyflakes /usr/local/bin/pyflakes </code></pre></div> <h3 dir="auto">Stack Trace</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At events.js:85 Error: spawn pyflakes ENOENT at exports._errnoException (util.js:742:11) at Process.ChildProcess._handle.onexit (child_process.js:1051:32) at child_process.js:1142:20 at process._tickCallback (node.js:378:11) "><pre class="notranslate"><code class="notranslate">At events.js:85 Error: spawn pyflakes ENOENT at exports._errnoException (util.js:742:11) at Process.ChildProcess._handle.onexit (child_process.js:1051:32) at child_process.js:1142:20 at process._tickCallback (node.js:378:11) </code></pre></div>
1
<p dir="auto">hi,<br> here is my site<br> richer-poorer.com/devsite.<br> its in magento. magento use prototype.js file. but with that file included my reponsive menu only work one time. after that clicking on collapse button does nothing.<br> I cant remove the prototype.js because that causes magento to stop.<br> Can anyone help about it?<br> I have tried both (Placing jquery file before prototype as well as in the footer) but result is same.</p>
<p dir="auto">Hi everyone,<br> i'm using Prototype and bootstrap. So i have to use jQuery <strong>noConflict</strong>.<br> The Problem: Responsive Navbar doesn't work correctly. It works one time and than it get height:0px and display:none. When i delete noConflict it works fine (except prototype). I've tried to load jquery and bootstrap in head or before body end with same result. Replace $ to other variable in bootstrap.js doesn't work too.</p> <p dir="auto">Can anybody help?</p>
1
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6039305/44960959-01872280-af09-11e8-80d1-a5a5bca24675.PNG"><img src="https://user-images.githubusercontent.com/6039305/44960959-01872280-af09-11e8-80d1-a5a5bca24675.PNG" alt="1" style="max-width: 100%;"></a></p> <p dir="auto">I want to place this error message to center. This is not possible with currently. I tried almost every approach.</p> <ul dir="auto"> <li>textAlign: TextAlign.center,</li> </ul> <p dir="auto">is not helping to move error message to center. It moves the input text and placeholder to center not an error message</p> <p dir="auto">We need this in our current design spec. It would be good if you fix it as early as possible.</p> <p dir="auto">Thanks.</p>
<p dir="auto">When used with the <code class="notranslate">TextField</code> the <code class="notranslate">InputDecorator</code> 'errorText' uses the <code class="notranslate">TextField</code>'s <code class="notranslate">textAlign</code> property (I suspect).</p> <p dir="auto">This is a problem when the <code class="notranslate">TextField</code> is used to show numerical values in which case the value should be right-aligned but the error message should be left-aligned.</p>
1
<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="[ ] bug report [x] 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">[ ] bug report [x] 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> Due to script tags being stripped from component templates, there is no way to implement JSON-LD tags.<br> Further discussion on this topic can be found <a href="http://stackoverflow.com/questions/38088996/adding-script-tags-in-angular2-component-template" rel="nofollow">here</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="91831807" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/2766" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/2766/hovercard" href="https://github.com/angular/angular/issues/2766">#2766</a></p> <p dir="auto"><strong>Expected/desired behavior</strong><br> Using angular-universal and on sites implementing pure client side rendering, there needs to be a way for users of angular2 to implement JSON-LD tags for SEO purposes. At the moment this is not possible.</p> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br> Google recommend JSON-LD for structured data. The alternative of using micro data is also not a very good idea as this data would be disseminated throughout the templates of many, if not all components.</p>
<h2 dir="auto">I'm submitting a...</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" [x] Bug report [x] Feature request"><pre class="notranslate"><code class="notranslate"> [x] Bug report [x] Feature request </code></pre></div> <h2 dir="auto">Background</h2> <p dir="auto">Imagine you have the following webcomponent:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;expression&gt; &lt;script type='text/plain'&gt; If(var1 &lt; var2, Sum([Field 1]) , Sum([Field 2]) ) &lt;/script&gt; &lt;/expression&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">expression</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">text/plain</span>'<span class="pl-kos">&gt;</span> <span class="pl-v">If</span><span class="pl-kos">(</span><span class="pl-s1">var1</span> <span class="pl-c1">&lt;</span> <span class="pl-s1">var2</span><span class="pl-kos">,</span> <span class="pl-v">Sum</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-v">Field</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-v">Sum</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-v">Field</span> <span class="pl-c1">2</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-kos">&lt;/</span><span class="pl-ent">expression</span><span class="pl-kos">&gt;</span></pre></div> <p dir="auto">The component reads the text inside the script tag and sends it to a server which evaluates the result.</p> <p dir="auto">The webcomponent should be embedded in an Angular App. It is no Angular component and should just rendered as is.</p> <p dir="auto">It has to contain a script tag because <code class="notranslate">'text/plain'</code> allows it not to be parsed as HTML and like this, it is possible for expressions to contain characters like <code class="notranslate">&lt;</code> as in <code class="notranslate">var1 &lt; var2</code> without being recognized as the beginning of a html tag.</p> <h2 dir="auto">Current behavior</h2> <p dir="auto">Angular deletes all script tags inside templates, also those with text/plain. I read, that this is because you shouldn't mix JavaScript with Angular Templates, but this is just plain text.</p> <h2 dir="auto">Expected behavior</h2> <p dir="auto"><code class="notranslate">&lt;script type="text/plain"</code> should not be deleted. It is the only way to integrate text without having to escape all html characters.</p> <h2 dir="auto">Minimal reproduction of the problem with instructions</h2> <p dir="auto">Insert the following code into a template and see if it will be deleted.</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;script type='text/plain'&gt; If(var1 &lt; var2, Sum([Field 1]) , Sum([Field 2]) ) &lt;/script&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">script</span> <span class="pl-c1">type</span>='<span class="pl-s">text/plain</span>'<span class="pl-kos">&gt;</span> <span class="pl-v">If</span><span class="pl-kos">(</span><span class="pl-s1">var1</span> <span class="pl-c1">&lt;</span> <span class="pl-s1">var2</span><span class="pl-kos">,</span> <span class="pl-v">Sum</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-v">Field</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-v">Sum</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-v">Field</span> <span class="pl-c1">2</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></pre></div> <h2 dir="auto">What is the motivation / use case for changing the behavior?</h2> <p dir="auto">If <code class="notranslate">&lt;script type="text/plain"</code> would not be deleted it is possible to insert everything which is not html without having to escape it. HTML 5 supports it and as far as I know there is no alternative. Also it isn't a security vulnerability.</p> <h2 dir="auto">Environment</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" Angular version: 6.1.0 Browser: - [x] Chrome (desktop) version 69"><pre class="notranslate"><code class="notranslate"> Angular version: 6.1.0 Browser: - [x] Chrome (desktop) version 69 </code></pre></div>
1
<p dir="auto">if the PC has<br> "helvetica" font,<br> and<br> css sais<br> font-family: "helvetica";<br> IE 9&amp;10 can not display anything.</p> <p dir="auto">so I think it is important,<br> "helvetica" should be removed from defolt "font-family".</p> <p dir="auto">thank you.</p>
<p dir="auto">as a developer I got helvetica Neue install in my win7.<br> ie8 are okay<br> in ie9/ie10 it just show a blank page, even official bootstrap webpage<br> possibly due to<br> <a href="http://bobbyjoneswebdesign.blogspot.hk/2011/12/internet-explorer-9-type-1-font-bug.html" rel="nofollow">http://bobbyjoneswebdesign.blogspot.hk/2011/12/internet-explorer-9-type-1-font-bug.html</a><br> currently I am override font setting with</p> <p dir="auto">body, input,<br> button,<br> select ,.navbar-search .search-query {<br> font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;<br> }</p> <p dir="auto">to fix the issue</p>
1
<p dir="auto">As <a href="https://groups.google.com/d/msg/julia-users/V-wS9a6OHlM/J1ZwR_P4BKEJ" rel="nofollow">discussed on the mailing list</a>, adding type information to an array of tuples actually slows down Julia. This doesn't seem right:</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="f = rand(Float64,10^6) i = rand(Int,10^6) v1 = collect(zip(f,i)) # Vector{(Float64,Int64)} v2 = convert(Vector{Any}, v1) @time sort(v1); @time sort(v2);"><pre class="notranslate">f <span class="pl-k">=</span> <span class="pl-c1">rand</span>(Float64,<span class="pl-c1">10</span><span class="pl-k">^</span><span class="pl-c1">6</span>) i <span class="pl-k">=</span> <span class="pl-c1">rand</span>(Int,<span class="pl-c1">10</span><span class="pl-k">^</span><span class="pl-c1">6</span>) v1 <span class="pl-k">=</span> <span class="pl-c1">collect</span>(<span class="pl-c1">zip</span>(f,i)) <span class="pl-c"><span class="pl-c">#</span> Vector{(Float64,Int64)}</span> v2 <span class="pl-k">=</span> <span class="pl-c1">convert</span>(Vector{Any}, v1) <span class="pl-c1">@time</span> <span class="pl-c1">sort</span>(v1); <span class="pl-c1">@time</span> <span class="pl-c1">sort</span>(v2);</pre></div> <p dir="auto">gives 23sec for the typed array and 9sec for the untyped array (with Julia 0.4).</p> <p dir="auto">cc: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/StefanKarpinski/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/StefanKarpinski">@StefanKarpinski</a></p>
<p dir="auto">Hi all,</p> <p dir="auto">The following code seems to allocate a lot of memory:</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function test!(arr::Array{(Int, Int)}) for i = 1:10_000_000 arr[1] = arr[2] end end a = [(1, 1), (2, 2)] test!(a)"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">test!</span>(arr<span class="pl-k">::</span><span class="pl-c1">Array{(Int, Int)}</span>) <span class="pl-k">for</span> i <span class="pl-k">=</span> <span class="pl-c1">1</span><span class="pl-k">:</span><span class="pl-c1">10_000_000</span> arr[<span class="pl-c1">1</span>] <span class="pl-k">=</span> arr[<span class="pl-c1">2</span>] <span class="pl-k">end</span> <span class="pl-k">end</span> a <span class="pl-k">=</span> [(<span class="pl-c1">1</span>, <span class="pl-c1">1</span>), (<span class="pl-c1">2</span>, <span class="pl-c1">2</span>)] <span class="pl-c1">test!</span>(a)</pre></div> <p dir="auto">Here are the results of <code class="notranslate">@time test!(a)</code> (using HEAD on the master branch, commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/JuliaLang/julia/commit/ce29d785098564b61af0c65113595b1af7ba0acb/hovercard" href="https://github.com/JuliaLang/julia/commit/ce29d785098564b61af0c65113595b1af7ba0acb"><tt>ce29d78</tt></a>) :</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="elapsed time: 0.439144953 seconds (320013808 bytes allocated, 40.35% gc time)"><pre class="notranslate"><code class="notranslate">elapsed time: 0.439144953 seconds (320013808 bytes allocated, 40.35% gc time) </code></pre></div> <p dir="auto">On the other hand, using a composite type works as expected:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="immutable Pair{T1, T2} a::T1 b::T2 end function test!(arr::Array{Pair{Int, Int}}) for i = 1:10_000_000 arr[1] = arr[2] end end a = [Pair(1, 1), Pair(2, 2)] test!(a)"><pre class="notranslate"><code class="notranslate">immutable Pair{T1, T2} a::T1 b::T2 end function test!(arr::Array{Pair{Int, Int}}) for i = 1:10_000_000 arr[1] = arr[2] end end a = [Pair(1, 1), Pair(2, 2)] test!(a) </code></pre></div> <p dir="auto">Here <code class="notranslate">@time test!(a)</code> yields</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="elapsed time: 0.022649237 seconds (80 bytes allocated)"><pre class="notranslate"><code class="notranslate">elapsed time: 0.022649237 seconds (80 bytes allocated) </code></pre></div> <p dir="auto">Am I missing something obvious? It seems that each assignment triggers an allocation in the case of tuples (adding <code class="notranslate">@time</code> before the assignment suggests a 32 bytes allocation). Why is that? Is this documented somewhere?</p> <p dir="auto">(I ran into this problem when trying to use a heap to extract the top <code class="notranslate">n</code> elements from a list of tuples without sorting it first, as done in Python's <code class="notranslate">heapq.nlargest</code> method)</p>
1
<p dir="auto">There are a lot of duplicated code <code class="notranslate">EncryptSQLRewriterParameterizedTest</code>, <code class="notranslate">MixSQLRewriterParameterizedTest</code> and <code class="notranslate">ShardingSQLRewriterParameterizedTest</code>, It could be a template implementation.</p>
<h2 dir="auto">Bug Report</h2> <p dir="auto"><strong>For English only</strong>, other languages will not accept.</p> <p dir="auto">Before report a bug, make sure you have:</p> <ul dir="auto"> <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> <p dir="auto">Please answer these questions before submitting your issue. Thanks!</p> <h3 dir="auto">Which version of ShardingSphere did you use?</h3> <p dir="auto">5.0.0.beta</p> <h3 dir="auto">Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?</h3> <p dir="auto">ShardingSphere-JDBC</p> <h3 dir="auto">Expected behavior</h3> <p dir="auto">抛出异常</p> <h3 dir="auto">Actual behavior</h3> <p dir="auto">没有任何异常</p> <h3 dir="auto">Reason analyze (If you can)</h3> <p dir="auto">没看源码</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">很简单,库里一张表某个字段设成非空,然后在insert一条数据,非空字段不传值,正常要报异常,但是在5.0.0beta版本上,没有异常抛出,正常返回,只不过返回值是-1,我退回到4.1.1版本会抛异常</p> <h3 dir="auto">Example codes for reproduce this issue (such as a github link).</h3>
0
<h2 dir="auto">Steps to Reproduce</h2> <p dir="auto">Playing <a href="https://github.com/flutter/game">Space Blast</a> on my iPhone6+ for under five minutes leads to app crashing, followed by app being stuck in black screen of death.</p> <h2 dir="auto">Flutter Doctor</h2> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ flutter doctor [✓] Flutter (on Mac OS, channel master) • Flutter at /Users/brettmorgan/github/flutter • Framework revision 5b8677d15d (3 days ago), engine revision 7fab0c350b [✓] Android toolchain - develop for Android devices (Android SDK 23.0.2) • Android SDK at /Users/brettmorgan/android-sdk-macosx • Platform android-23, build-tools 23.0.2 • Java(TM) SE Runtime Environment (build 1.8.0_91-b14) [✓] iOS toolchain - develop for iOS devices (Xcode 7.3.1) • XCode at /Applications/Xcode.app/Contents/Developer • Xcode 7.3.1, Build version 7D1014 [✓] Atom - a lightweight development environment for Flutter • Atom installed; Flutter plugin version 0.2.2"><pre class="notranslate">$ flutter doctor [✓] Flutter (on Mac OS, channel master) • Flutter at /Users/brettmorgan/github/flutter • Framework revision 5b8677d15d (3 days ago), engine revision 7fab0c350b [✓] Android toolchain - develop <span class="pl-k">for</span> Android devices (Android SDK 23.0.2) • Android SDK at /Users/brettmorgan/android-sdk-macosx • Platform android-23, build-tools 23.0.2 • Java(TM) SE Runtime Environment (build 1.8.0_91-b14) [✓] iOS toolchain - develop <span class="pl-k">for</span> iOS devices (Xcode 7.3.1) • XCode at /Applications/Xcode.app/Contents/Developer • Xcode 7.3.1, Build version 7D1014 [✓] Atom - a lightweight development environment <span class="pl-k">for</span> Flutter • Atom installed<span class="pl-k">;</span> Flutter plugin version 0.2.2</pre></div> <h2 dir="auto">Logs and Crash Reports</h2> <p dir="auto">I'd love suggestions on how to get crashlogs out of iPhone for this. (I'm too used to Xcode doing all the hard stuff for me)</p>
<p dir="auto">Code is here: <a href="https://drive.google.com/open?id=0B-w2rH1ryIJdekEzZjREdVpTakE" rel="nofollow">https://drive.google.com/open?id=0B-w2rH1ryIJdekEzZjREdVpTakE</a></p> <p dir="auto">This app runs on Android, but crashes on my iPod running 9.2.1 iOS when I tap the floating action button.</p> <p dir="auto">Output of <code class="notranslate">flutter log</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Unable to connect to the Observatory at port 16193. Showing iPod touch logs: Apr 19 15:25:20 iPod-touch Runner[1056] &lt;Notice&gt;: [INFO:FlutterDynamicServiceLoader.mm(106)] 0 custom service definitions registered Apr 19 15:25:20 iPod-touch Runner[1056] &lt;Alert&gt;: Observatory listening on http://127.0.0.1:50713 Apr 19 15:25:20 iPod-touch Runner[1056] &lt;Error&gt;: CGAffineTransformInvert: singular matrix. Apr 19 15:25:20 iPod-touch Runner[1056] &lt;Notice&gt;: Apr 19 15:25:20 Runner[1056] &lt;Error&gt;: CGAffineTransformInvert: singular matrix. Apr 19 15:26:25 iPod-touch installd[47] &lt;Notice&gt;: 0x16e087000 -[MIClientConnection installPath:withOptions:completion:]: Install of &quot;/var/mobile/Media/PublicStaging/Runner.app&quot; type Developer (LSInstallType = (null)) requested by mobile_installation_proxy (pid 394) Apr 19 15:26:47 iPod-touch Runner[1058] &lt;Notice&gt;: [INFO:FlutterDynamicServiceLoader.mm(106)] 0 custom service definitions registered Apr 19 15:26:47 iPod-touch Runner[1058] &lt;Alert&gt;: Observatory listening on http://127.0.0.1:50794 Apr 19 15:26:47 iPod-touch Runner[1058] &lt;Error&gt;: CGAffineTransformInvert: singular matrix. Apr 19 15:26:47 iPod-touch Runner[1058] &lt;Notice&gt;: Apr 19 15:26:47 Runner[1058] &lt;Error&gt;: CGAffineTransformInvert: singular matrix. Apr 19 15:27:38 iPod-touch installd[47] &lt;Notice&gt;: 0x16e087000 -[MIClientConnection installPath:withOptions:completion:]: Install of &quot;/var/mobile/Media/PublicStaging/Runner.app&quot; type Developer (LSInstallType = (null)) requested by mobile_installation_proxy (pid 394) Apr 19 15:27:42 iPod-touch Runner[1061] &lt;Notice&gt;: [INFO:FlutterDynamicServiceLoader.mm(106)] 0 custom service definitions registered Apr 19 15:27:42 iPod-touch Runner[1061] &lt;Alert&gt;: Observatory listening on http://127.0.0.1:50858 Apr 19 15:27:43 iPod-touch Runner[1061] &lt;Error&gt;: CGAffineTransformInvert: singular matrix. Apr 19 15:27:43 iPod-touch Runner[1061] &lt;Notice&gt;: Apr 19 15:27:43 Runner[1061] &lt;Error&gt;: CGAffineTransformInvert: singular matrix. Apr 19 15:27:44 iPod-touch ReportCrash[1062] &lt;Notice&gt;: Formulating report for corpse[1061] Runner Apr 19 15:27:44 iPod-touch ReportCrash[1062] &lt;Warning&gt;: saved type '109_Runner' report (5 of max 25) as /var/mobile/Library/Logs/CrashReporter/Runner_2016-04-19-152744_iPod-touch.ips Apr 19 15:35:47 iPod-touch installd[47] &lt;Notice&gt;: 0x16e1bb000 -[MIClientConnection installPath:withOptions:completion:]: Install of &quot;/var/mobile/Media/PublicStaging/Runner.app&quot; type Developer (LSInstallType = (null)) requested by mobile_installation_proxy (pid 394) Apr 19 15:38:58 iPod-touch installd[47] &lt;Notice&gt;: 0x16e087000 -[MIClientConnection installPath:withOptions:completion:]: Install of &quot;/var/mobile/Media/PublicStaging/Runner.app&quot; type Developer (LSInstallType = (null)) requested by mobile_installation_proxy (pid 394) Apr 19 15:40:10 iPod-touch Runner[1067] &lt;Notice&gt;: [INFO:FlutterDynamicServiceLoader.mm(106)] 0 custom service definitions registered Apr 19 15:40:10 iPod-touch Runner[1067] &lt;Alert&gt;: Observatory listening on http://127.0.0.1:51316 Apr 19 15:40:10 iPod-touch Runner[1067] &lt;Error&gt;: CGAffineTransformInvert: singular matrix. Apr 19 15:40:10 iPod-touch Runner[1067] &lt;Notice&gt;: Apr 19 15:40:10 Runner[1067] &lt;Error&gt;: CGAffineTransformInvert: singular matrix. Apr 19 15:40:15 iPod-touch ReportCrash[1068] &lt;Notice&gt;: Formulating report for corpse[1067] Runner Apr 19 15:40:15 iPod-touch ReportCrash[1068] &lt;Warning&gt;: saved type '109_Runner' report (6 of max 25) as /var/mobile/Library/Logs/CrashReporter/Runner_2016-04-19-154015_iPod-touch.ips"><pre class="notranslate"><code class="notranslate">Unable to connect to the Observatory at port 16193. Showing iPod touch logs: Apr 19 15:25:20 iPod-touch Runner[1056] &lt;Notice&gt;: [INFO:FlutterDynamicServiceLoader.mm(106)] 0 custom service definitions registered Apr 19 15:25:20 iPod-touch Runner[1056] &lt;Alert&gt;: Observatory listening on http://127.0.0.1:50713 Apr 19 15:25:20 iPod-touch Runner[1056] &lt;Error&gt;: CGAffineTransformInvert: singular matrix. Apr 19 15:25:20 iPod-touch Runner[1056] &lt;Notice&gt;: Apr 19 15:25:20 Runner[1056] &lt;Error&gt;: CGAffineTransformInvert: singular matrix. Apr 19 15:26:25 iPod-touch installd[47] &lt;Notice&gt;: 0x16e087000 -[MIClientConnection installPath:withOptions:completion:]: Install of "/var/mobile/Media/PublicStaging/Runner.app" type Developer (LSInstallType = (null)) requested by mobile_installation_proxy (pid 394) Apr 19 15:26:47 iPod-touch Runner[1058] &lt;Notice&gt;: [INFO:FlutterDynamicServiceLoader.mm(106)] 0 custom service definitions registered Apr 19 15:26:47 iPod-touch Runner[1058] &lt;Alert&gt;: Observatory listening on http://127.0.0.1:50794 Apr 19 15:26:47 iPod-touch Runner[1058] &lt;Error&gt;: CGAffineTransformInvert: singular matrix. Apr 19 15:26:47 iPod-touch Runner[1058] &lt;Notice&gt;: Apr 19 15:26:47 Runner[1058] &lt;Error&gt;: CGAffineTransformInvert: singular matrix. Apr 19 15:27:38 iPod-touch installd[47] &lt;Notice&gt;: 0x16e087000 -[MIClientConnection installPath:withOptions:completion:]: Install of "/var/mobile/Media/PublicStaging/Runner.app" type Developer (LSInstallType = (null)) requested by mobile_installation_proxy (pid 394) Apr 19 15:27:42 iPod-touch Runner[1061] &lt;Notice&gt;: [INFO:FlutterDynamicServiceLoader.mm(106)] 0 custom service definitions registered Apr 19 15:27:42 iPod-touch Runner[1061] &lt;Alert&gt;: Observatory listening on http://127.0.0.1:50858 Apr 19 15:27:43 iPod-touch Runner[1061] &lt;Error&gt;: CGAffineTransformInvert: singular matrix. Apr 19 15:27:43 iPod-touch Runner[1061] &lt;Notice&gt;: Apr 19 15:27:43 Runner[1061] &lt;Error&gt;: CGAffineTransformInvert: singular matrix. Apr 19 15:27:44 iPod-touch ReportCrash[1062] &lt;Notice&gt;: Formulating report for corpse[1061] Runner Apr 19 15:27:44 iPod-touch ReportCrash[1062] &lt;Warning&gt;: saved type '109_Runner' report (5 of max 25) as /var/mobile/Library/Logs/CrashReporter/Runner_2016-04-19-152744_iPod-touch.ips Apr 19 15:35:47 iPod-touch installd[47] &lt;Notice&gt;: 0x16e1bb000 -[MIClientConnection installPath:withOptions:completion:]: Install of "/var/mobile/Media/PublicStaging/Runner.app" type Developer (LSInstallType = (null)) requested by mobile_installation_proxy (pid 394) Apr 19 15:38:58 iPod-touch installd[47] &lt;Notice&gt;: 0x16e087000 -[MIClientConnection installPath:withOptions:completion:]: Install of "/var/mobile/Media/PublicStaging/Runner.app" type Developer (LSInstallType = (null)) requested by mobile_installation_proxy (pid 394) Apr 19 15:40:10 iPod-touch Runner[1067] &lt;Notice&gt;: [INFO:FlutterDynamicServiceLoader.mm(106)] 0 custom service definitions registered Apr 19 15:40:10 iPod-touch Runner[1067] &lt;Alert&gt;: Observatory listening on http://127.0.0.1:51316 Apr 19 15:40:10 iPod-touch Runner[1067] &lt;Error&gt;: CGAffineTransformInvert: singular matrix. Apr 19 15:40:10 iPod-touch Runner[1067] &lt;Notice&gt;: Apr 19 15:40:10 Runner[1067] &lt;Error&gt;: CGAffineTransformInvert: singular matrix. Apr 19 15:40:15 iPod-touch ReportCrash[1068] &lt;Notice&gt;: Formulating report for corpse[1067] Runner Apr 19 15:40:15 iPod-touch ReportCrash[1068] &lt;Warning&gt;: saved type '109_Runner' report (6 of max 25) as /var/mobile/Library/Logs/CrashReporter/Runner_2016-04-19-154015_iPod-touch.ips </code></pre></div>
1
<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> Multiple inheritance from one class leads to multiple/shared metadata when the base class has an annotation.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import 'reflect-metadata'; import { Injectable, Inject } from '@angular/core'; class A {} class B {} class C {} // Enabling this decorator leads to same log output for booth classes //@Injectable() class BaseClass { constructor(protected a : A) {} } @Injectable() class Cls1 extends BaseClass { constructor(@Inject(B) protected b : B, @Inject(A) a : A) { super(a); } } @Injectable() class Cls2 extends BaseClass { constructor(@Inject(C) protected c : C, @Inject(A) a : A) { super(a); } } console.log(Reflect.getMetadata('parameters', Cls1)) console.log(Reflect.getMetadata('parameters', Cls2))"><pre class="notranslate"><code class="notranslate">import 'reflect-metadata'; import { Injectable, Inject } from '@angular/core'; class A {} class B {} class C {} // Enabling this decorator leads to same log output for booth classes //@Injectable() class BaseClass { constructor(protected a : A) {} } @Injectable() class Cls1 extends BaseClass { constructor(@Inject(B) protected b : B, @Inject(A) a : A) { super(a); } } @Injectable() class Cls2 extends BaseClass { constructor(@Inject(C) protected c : C, @Inject(A) a : A) { super(a); } } console.log(Reflect.getMetadata('parameters', Cls1)) console.log(Reflect.getMetadata('parameters', Cls2)) </code></pre></div> <p dir="auto"><strong>Expected behavior</strong><br> The DI/Typescript-Metadata should affect only the classes where they are present.</p> <p dir="auto"><strong>Reproduction of the problem</strong><br> Simple example project: <a href="https://github.com/draconisNoctis/angular2_di_issue">https://github.com/draconisNoctis/angular2_di_issue</a></p> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br> Any larger project needs inheritance of components/services etc.</p> <ul dir="auto"> <li><strong>Angular version:</strong> 2.0.0-final</li> <li><strong>Browser:</strong> all &amp; nodejs</li> <li><strong>Language:</strong> all | ES5</li> </ul>
<p dir="auto">Dependency Injection not working for Components/Directives inherited from Angular2 Components/Directives if using TypeScript Compiler instead of Angular Template Compiler.</p> <p dir="auto"><strong>Steps to reproduce and a minimal demo of the problem</strong></p> <ol dir="auto"> <li>Define DatePicker directive inherited from DefaultValueAccessor.</li> <li>Add any additional parameter to DatePicker constructor (e.g. <code class="notranslate">logger: Logger</code>).</li> <li>Compile source code with TypeScript Compiler.</li> <li>Run application.</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Injectable() class Logger {} @Directive({ selector: '[datePicker]' }) class DatePicker extends DefaultValueAccessor { constructor(renderer: Renderer, element: ElementRef, logger: Logger) { super(renderer, element); if (!logger) { console.error('Logger is undefined'); } else { console.info('Logger is defined'); } } }"><pre class="notranslate"><code class="notranslate">@Injectable() class Logger {} @Directive({ selector: '[datePicker]' }) class DatePicker extends DefaultValueAccessor { constructor(renderer: Renderer, element: ElementRef, logger: Logger) { super(renderer, element); if (!logger) { console.error('Logger is undefined'); } else { console.info('Logger is defined'); } } } </code></pre></div> <p dir="auto">Minimal demo: <a href="http://plnkr.co/edit/UIybCDlayhXRO7x0Y7Lk?p=preview" rel="nofollow">http://plnkr.co/edit/UIybCDlayhXRO7x0Y7Lk?p=preview</a></p> <p dir="auto"><strong>Current behavior</strong><br> DatePicker resolved using ctorParameters from DefaultValueAccessor (renderer, element) instead of metadata from DatePicker constructor (renderer, element, logger).<br> (see <code class="notranslate">ReflectionCapabilities.parameters(typeOrFunc: Type): any[][]</code> implementation for details)</p> <p dir="auto"><strong>Expected/desired behavior</strong><br> DatePicker resolved using parameters from its constructor metadata (renderer, element, logger).</p> <p dir="auto"><strong>Other information</strong><br> Current implementation of <code class="notranslate">ReflectionCapabilities.parameters(typeOrFunc: Type): any[][]</code> work properly only if code was compiled using Angular Template Compiler, otherwise it will never check metadata, because ctorParameters decorator data inherited from parent hides it.</p>
1
<h4 dir="auto">Challenge Name</h4> <p dir="auto"><a href="https://www.freecodecamp.com/challenges/call-out-optional-actions-with-button-info" rel="nofollow">https://www.freecodecamp.com/challenges/call-out-optional-actions-with-button-info</a><br> Many challenges before and after.</p> <h4 dir="auto">Issue Description</h4> <p dir="auto">The type cursor doesn't always end up where clicked by the mouse cursor. In some areas of text, you can't click anywhere within it. When it is possible to place the type cursor, it will automatically move to a random area within the text browser once provided with input from the keyboard.</p> <h4 dir="auto">Browser Information</h4> <ul dir="auto"> <li>Browser Name, Version: Version 52.0.2743.82 m</li> <li>Operating System: Windows 10 Pro x64</li> <li>Mobile, Desktop, or Tablet: Desktop</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">Not applicable.</p>
<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
<p dir="auto">This issue can be quite easily understood from the source of the carousel's pause method. It is the this.cycle() that is the problem. Since that is run without any argument, it sets this.paused to false, effectively undoing what was just set a few lines before. Then the next time cycle fires with an event, like mouseexit, it will actually start cycling. So, this.cycle needs to be called with some argument.<br> pause: function (e) {<br> if (!e) this.paused = true<br> if (this.$element.find('.next, .prev').length &amp;&amp; $.support.transition.end) {<br> this.$element.trigger($.support.transition.end)<br> this.cycle()<br> }<br> clearInterval(this.interval)<br> this.interval = null<br> return this<br> }</p>
<p dir="auto"><a href="http://twitter.github.com/bootstrap/javascript.html#carousel">carousels example</a><br> I thought this one was fixed with the clearInterval() function, but its not.. =/</p> <p dir="auto">go to the carousel example and click on one of the indicators, and stay on the image or indicators.. the carousel doesnt stay paused, it keeps cycling through the images event if you're still hovering on top of them..</p>
1
<p dir="auto">the bug is described at <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="223226628" data-permission-text="Title is private" data-url="https://github.com/pytorch/examples/issues/148" data-hovercard-type="issue" data-hovercard-url="/pytorch/examples/issues/148/hovercard" href="https://github.com/pytorch/examples/issues/148">pytorch/examples#148</a>. I just wonder if this is a bug in PyTorch itself, as the example code looks clean to me. Also, I wonder if this is related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="217418696" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/1120" data-hovercard-type="issue" data-hovercard-url="/pytorch/pytorch/issues/1120/hovercard" href="https://github.com/pytorch/pytorch/issues/1120">#1120</a>.</p>
<h2 dir="auto">🚀 Feature</h2> <p dir="auto">Add sparse tensor support for torch.blkdiag.</p> <h2 dir="auto">Motivation</h2> <p dir="auto">Dense matrix support was implemented for issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="546587908" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/31932" data-hovercard-type="issue" data-hovercard-url="/pytorch/pytorch/issues/31932/hovercard" href="https://github.com/pytorch/pytorch/issues/31932">#31932</a>, but we need sparse as well.</p> <h2 dir="auto">Pitch</h2> <p dir="auto">See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="546587908" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/31932" data-hovercard-type="issue" data-hovercard-url="/pytorch/pytorch/issues/31932/hovercard" href="https://github.com/pytorch/pytorch/issues/31932">#31932</a></p> <h2 dir="auto">Alternatives</h2> <p dir="auto">See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="546587908" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/31932" data-hovercard-type="issue" data-hovercard-url="/pytorch/pytorch/issues/31932/hovercard" href="https://github.com/pytorch/pytorch/issues/31932">#31932</a></p> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vincentqb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vincentqb">@vincentqb</a></p>
0
<h3 dir="auto">Problem description</h3> <p dir="auto">With 0.18.3 version my TextFields lose custom colors. After downgrading to 0.18.2 colors work as expected.<br> As I see, it's related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="233906100" data-permission-text="Title is private" data-url="https://github.com/mui/material-ui/issues/7065" data-hovercard-type="pull_request" data-hovercard-url="/mui/material-ui/pull/7065/hovercard" href="https://github.com/mui/material-ui/pull/7065">#7065</a></p> <h3 dir="auto">Link to minimal working code that reproduces the issue</h3> <p dir="auto"><a href="https://www.webpackbin.com/bins/-KnEbDVKdLKisHPScLox" rel="nofollow">https://www.webpackbin.com/bins/-KnEbDVKdLKisHPScLox</a></p> <h3 dir="auto">Versions</h3> <ul dir="auto"> <li>Material-UI: 0.18.3</li> <li>React: 15.5.4</li> <li>Browser: Chrome 58.0.3029.110 (64-bit) (windows 10)</li> </ul>
<p dir="auto">Material UI versions: 0.18.1 and 0.18.3. (I didn't test 0.18.2)</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" &lt;TextField className=&quot;app-bar-searchbar&quot; hintStyle={{ color: grey300, fontSize: '12px' }} inputStyle={{ color: white, fontSize: '12px' }} underlineFocusStyle={{ borderColor: tealA400 }} underlineStyle={{ borderColor: tealA400 }} onChange={this.handleInputChange} onKeyPress={this.handleKeyPress} value={this.state.search} errorText={this.state.searchErrorText} hintText=&quot;Suche...&quot; /&gt;"><pre class="notranslate"> <span class="pl-c1">&lt;</span><span class="pl-ent">TextField</span> <span class="pl-c1">className</span><span class="pl-c1">=</span><span class="pl-s">"app-bar-searchbar"</span> <span class="pl-c1">hintStyle</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-kos">{</span> <span class="pl-c1">color</span>: <span class="pl-s1">grey300</span><span class="pl-kos">,</span> <span class="pl-c1">fontSize</span>: <span class="pl-s">'12px'</span> <span class="pl-kos">}</span><span class="pl-kos">}</span> <span class="pl-c1">inputStyle</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-kos">{</span> <span class="pl-c1">color</span>: <span class="pl-s1">white</span><span class="pl-kos">,</span> <span class="pl-c1">fontSize</span>: <span class="pl-s">'12px'</span> <span class="pl-kos">}</span><span class="pl-kos">}</span> <span class="pl-c1">underlineFocusStyle</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-kos">{</span> <span class="pl-c1">borderColor</span>: <span class="pl-s1">tealA400</span> <span class="pl-kos">}</span><span class="pl-kos">}</span> <span class="pl-c1">underlineStyle</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-kos">{</span> <span class="pl-c1">borderColor</span>: <span class="pl-s1">tealA400</span> <span class="pl-kos">}</span><span class="pl-kos">}</span> <span class="pl-c1">onChange</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">handleInputChange</span><span class="pl-kos">}</span> <span class="pl-c1">onKeyPress</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">handleKeyPress</span><span class="pl-kos">}</span> <span class="pl-c1">value</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">state</span><span class="pl-kos">.</span><span class="pl-c1">search</span><span class="pl-kos">}</span> <span class="pl-c1">errorText</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">state</span><span class="pl-kos">.</span><span class="pl-c1">searchErrorText</span><span class="pl-kos">}</span> <span class="pl-c1">hintText</span><span class="pl-c1">=</span><span class="pl-s">"Suche..."</span> <span class="pl-c1">/</span><span class="pl-c1">&gt;</span></pre></div> <p dir="auto">The text color is black instead of white.</p>
1
<p dir="auto">I've a component whose <code class="notranslate">render</code> method looks like</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="render() { const {condition} = this.state; if (!condition) { return null; } return &lt;div onClick={() =&gt; { doSomething(); }} &gt; ... &lt;/div&gt; }"><pre class="notranslate"><span class="pl-en">render</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-kos">{</span>condition<span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">state</span><span class="pl-kos">;</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-c1">!</span><span class="pl-s1">condition</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-c1">null</span><span class="pl-kos">;</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">onClick</span><span class="pl-c1">=</span><span class="pl-kos">{</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-en">doSomething</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-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></pre></div> <p dir="auto">When the state changes and <code class="notranslate">condition</code> changes from <code class="notranslate">true</code> to <code class="notranslate">false</code>, this triggers the error</p> <p dir="auto"><code class="notranslate">EventListener.js:37 Uncaught TypeError: Cannot read property 'addEventListener' of null</code><br> Here is the trace if that helps:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" EventListener.listen @ EventListener.js:37 SimpleEventPlugin.didPutListener @ SimpleEventPlugin.js:612 EventPluginHub.putListener @ EventPluginHub.js:113 putListener @ ReactDOMComponent.js:175 _assign.notifyAll @ CallbackQueue.js:66 ON_DOM_READY_QUEUEING.close @ ReactReconcileTransaction.js:79 Mixin.closeAll @ Transaction.js:202 Mixin.perform @ Transaction.js:149 Mixin.perform @ Transaction.js:136 _assign.perform @ ReactUpdates.js:89 flushBatchedUpdates @ ReactUpdates.js:165 ReactUpdates_flushBatchedUpdates @ ReactPerf.js:66 Mixin.closeAll @ Transaction.js:202 Mixin.perform @ Transaction.js:149 ReactDefaultBatchingStrategy.batchedUpdates @ ReactDefaultBatchingStrategy.js:63 batchedUpdates @ ReactUpdates.js:97 ReactEventListener.dispatchEvent @ ReactEventListener.js:150"><pre class="notranslate"><code class="notranslate"> EventListener.listen @ EventListener.js:37 SimpleEventPlugin.didPutListener @ SimpleEventPlugin.js:612 EventPluginHub.putListener @ EventPluginHub.js:113 putListener @ ReactDOMComponent.js:175 _assign.notifyAll @ CallbackQueue.js:66 ON_DOM_READY_QUEUEING.close @ ReactReconcileTransaction.js:79 Mixin.closeAll @ Transaction.js:202 Mixin.perform @ Transaction.js:149 Mixin.perform @ Transaction.js:136 _assign.perform @ ReactUpdates.js:89 flushBatchedUpdates @ ReactUpdates.js:165 ReactUpdates_flushBatchedUpdates @ ReactPerf.js:66 Mixin.closeAll @ Transaction.js:202 Mixin.perform @ Transaction.js:149 ReactDefaultBatchingStrategy.batchedUpdates @ ReactDefaultBatchingStrategy.js:63 batchedUpdates @ ReactUpdates.js:97 ReactEventListener.dispatchEvent @ ReactEventListener.js:150 </code></pre></div> <p dir="auto">Returning an empty div instead of null fixes the issue:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="render() { const {condition} = this.state; if (!condition) { return &lt;div&gt;&lt;/div&gt;; } return &lt;div onClick={() =&gt; { doSomething(); }} &gt; ... &lt;/div&gt; }"><pre class="notranslate"><span class="pl-en">render</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-kos">{</span>condition<span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">state</span><span class="pl-kos">;</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-c1">!</span><span class="pl-s1">condition</span><span class="pl-kos">)</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-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-k">return</span> <span class="pl-c1">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">onClick</span><span class="pl-c1">=</span><span class="pl-kos">{</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-en">doSomething</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-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></pre></div>
<p dir="auto">Hello,</p> <p dir="auto">After updating to React 15.0.1, we are getting the following error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Uncaught TypeError: Cannot read property 'addEventListener' of null"><pre class="notranslate"><code class="notranslate">Uncaught TypeError: Cannot read property 'addEventListener' of null </code></pre></div> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/4996164/14602577/5bb4e9f2-0571-11e6-9aa1-98de49f50d76.png"><img src="https://cloud.githubusercontent.com/assets/4996164/14602577/5bb4e9f2-0571-11e6-9aa1-98de49f50d76.png" alt="image" style="max-width: 100%;"></a></p>
1
<h1 dir="auto">Summary of the new feature/enhancement</h1> <p dir="auto">I usually have hundreds and sometimes thousands of files with maybe 10 or 20 different naming variations and I always have to select all files, right click, open PowerRename, write regex, apply changes, select all files again, right click, open PowerRename, write regex, apply changes, and repeat, over and over again.</p> <p dir="auto">It would be awesome to have an option to NOT close PowerTools window after renaming files. After renaming, the window would refresh with the new names, and let me change once again the parameters with ease.</p> <p dir="auto">It is unfeasible to use a single regex (I tried but if left me with a monster of more than 600 chars) because there are so many different variations and with every delivery it changes again. There are many different areas that would appreciate such option.</p> <h1 dir="auto">Proposed technical implementation details (optional)</h1> <p dir="auto">Add a checkbox option to "Keep window open after applying changes" or a setting under PowerTools settings.</p>
<h1 dir="auto">Summary of the new feature/enhancement</h1> <p dir="auto">Clicking on Window toolbars requires a needless degree of precision when all you're trying to do is move a window (or resize with respect to the corner). In Linux you can use ALT+Left Mouse to move a Window so long as the cursor is anywhere within the window and use ALT+Right Mouse to resize a window if the cursor is within it. This is such a great productivity booster and I don't understand why it isn't a built-in feature of Windows already considering it's been in Linux for at least 20 years.</p> <p dir="auto">There's already a deprecated Windows program that does it, but a native and supported implementation would be much better.<br> <a href="https://stefansundin.github.io/altdrag/" rel="nofollow">https://stefansundin.github.io/altdrag/</a></p> <h1 dir="auto">Proposed technical implementation details (optional)</h1> <p dir="auto">See this site.<br> <a href="https://stefansundin.github.io/altdrag/" rel="nofollow">https://stefansundin.github.io/altdrag/</a></p>
0
<p dir="auto">MaxPool gradient of a gradient is not supported as determined in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="195147813" data-permission-text="Title is private" data-url="https://github.com/keras-team/keras/issues/4694" data-hovercard-type="issue" data-hovercard-url="/keras-team/keras/issues/4694/hovercard" href="https://github.com/keras-team/keras/issues/4694">keras-team/keras#4694</a>, which means that examples work in keras with the theano backend but not with the TensorFlow backend. I believe the relevant place where the op is registered is at <a href="https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/ops/nn_grad.cc#L153">https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/ops/nn_grad.cc#L153</a>.</p> <p dir="auto">From the keras issue:</p> <p dir="auto">I successfully ran <code class="notranslate">python mnist_cnn.py</code> from <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/keras-team/keras/commit/7e2e7a5e5a43443122df0b497f88dd77fd3bfc7c/hovercard" href="https://github.com/keras-team/keras/commit/7e2e7a5e5a43443122df0b497f88dd77fd3bfc7c">keras-team/keras@<tt>7e2e7a5</tt></a> on my GTX1080 with a TensorFlow R0.12rc0 backend. I then ran python <a href="https://github.com/fchollet/keras/blob/7e2e7a5e5a43443122df0b497f88dd77fd3bfc7c/examples/mnist_swwae.py">mnist_swwae.py</a> and got the following failure:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="~/src/keras/examples on master ± python mnist_swwae.py Using TensorFlow backend. I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcublas.so.8.0 locally I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcudnn.so.5 locally I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcufft.so.8.0 locally I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcuda.so.1 locally I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcurand.so.8.0 locally X_train shape: (60000, 1, 28, 28) 60000 train samples 10000 test samples Traceback (most recent call last): File &quot;mnist_swwae.py&quot;, line 136, in &lt;module&gt; y = MaxPooling2D(pool_size=(pool_sizes[i], pool_sizes[i]))(y_prepool) File &quot;/usr/local/lib/python2.7/dist-packages/Keras-1.1.2-py2.7.egg/keras/engine/topology.py&quot;, line 517, in __call__ self.add_inbound_node(inbound_layers, node_indices, tensor_indices) File &quot;/usr/local/lib/python2.7/dist-packages/Keras-1.1.2-py2.7.egg/keras/engine/topology.py&quot;, line 571, in add_inbound_node Node.create_node(self, inbound_layers, node_indices, tensor_indices) File &quot;/usr/local/lib/python2.7/dist-packages/Keras-1.1.2-py2.7.egg/keras/engine/topology.py&quot;, line 155, in create_node output_tensors = to_list(outbound_layer.call(input_tensors[0], mask=input_masks[0])) File &quot;/usr/local/lib/python2.7/dist-packages/Keras-1.1.2-py2.7.egg/keras/layers/pooling.py&quot;, line 158, in call dim_ordering=self.dim_ordering) File &quot;/usr/local/lib/python2.7/dist-packages/Keras-1.1.2-py2.7.egg/keras/layers/pooling.py&quot;, line 207, in _pooling_function border_mode, dim_ordering, pool_mode='max') File &quot;/usr/local/lib/python2.7/dist-packages/Keras-1.1.2-py2.7.egg/keras/backend/tensorflow_backend.py&quot;, line 1853, in pool2d x = tf.nn.max_pool(x, pool_size, strides, padding=padding) File &quot;/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/nn_ops.py&quot;, line 1617, in max_pool name=name) File &quot;/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_nn_ops.py&quot;, line 1598, in _max_pool data_format=data_format, name=name) File &quot;/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py&quot;, line 759, in apply_op op_def=op_def) File &quot;/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py&quot;, line 2242, in create_op set_shapes_for_outputs(ret) File &quot;/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py&quot;, line 1617, in set_shapes_for_outputs shapes = shape_func(op) File &quot;/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py&quot;, line 1568, in call_with_requiring return call_cpp_shape_fn(op, require_shape_fn=True) File &quot;/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/common_shapes.py&quot;, line 610, in call_cpp_shape_fn debug_python_shape_fn, require_shape_fn) File &quot;/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/common_shapes.py&quot;, line 675, in _call_cpp_shape_fn_impl raise ValueError(err.message) ValueError: Negative dimension size caused by subtracting 2 from 1 for 'MaxPool' (op: 'MaxPool') with input shapes: [?,1,32,8]. -&gt; [1]"><pre class="notranslate"><span class="pl-k">~</span>/src/keras/examples on master ± python mnist_swwae.py Using TensorFlow backend. I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcublas.so.8.0 locally I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcudnn.so.5 locally I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcufft.so.8.0 locally I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcuda.so.1 locally I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcurand.so.8.0 locally X_train shape: (60000, 1, 28, 28) 60000 train samples 10000 <span class="pl-c1">test</span> samples Traceback (most recent call last): File <span class="pl-s"><span class="pl-pds">"</span>mnist_swwae.py<span class="pl-pds">"</span></span>, line 136, <span class="pl-k">in</span> <span class="pl-k">&lt;</span>module<span class="pl-k">&gt;</span> y = MaxPooling2D(pool_size=(pool_sizes[i], pool_sizes[i]))(y_prepool) File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/lib/python2.7/dist-packages/Keras-1.1.2-py2.7.egg/keras/engine/topology.py<span class="pl-pds">"</span></span>, line 517, <span class="pl-k">in</span> __call__ self.add_inbound_node(inbound_layers, node_indices, tensor_indices) File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/lib/python2.7/dist-packages/Keras-1.1.2-py2.7.egg/keras/engine/topology.py<span class="pl-pds">"</span></span>, line 571, <span class="pl-k">in</span> add_inbound_node Node.create_node(self, inbound_layers, node_indices, tensor_indices) File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/lib/python2.7/dist-packages/Keras-1.1.2-py2.7.egg/keras/engine/topology.py<span class="pl-pds">"</span></span>, line 155, <span class="pl-k">in</span> create_node output_tensors = to_list(outbound_layer.call(input_tensors[0], mask=input_masks[0])) File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/lib/python2.7/dist-packages/Keras-1.1.2-py2.7.egg/keras/layers/pooling.py<span class="pl-pds">"</span></span>, line 158, <span class="pl-k">in</span> call dim_ordering=self.dim_ordering) File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/lib/python2.7/dist-packages/Keras-1.1.2-py2.7.egg/keras/layers/pooling.py<span class="pl-pds">"</span></span>, line 207, <span class="pl-k">in</span> _pooling_function border_mode, dim_ordering, pool_mode=<span class="pl-s"><span class="pl-pds">'</span>max<span class="pl-pds">'</span></span>) File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/lib/python2.7/dist-packages/Keras-1.1.2-py2.7.egg/keras/backend/tensorflow_backend.py<span class="pl-pds">"</span></span>, line 1853, <span class="pl-k">in</span> pool2d x = tf.nn.max_pool(x, pool_size, strides, padding=padding) File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/nn_ops.py<span class="pl-pds">"</span></span>, line 1617, <span class="pl-k">in</span> max_pool name=name) File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_nn_ops.py<span class="pl-pds">"</span></span>, line 1598, <span class="pl-k">in</span> _max_pool data_format=data_format, name=name) File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py<span class="pl-pds">"</span></span>, line 759, <span class="pl-k">in</span> apply_op op_def=op_def) File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py<span class="pl-pds">"</span></span>, line 2242, <span class="pl-k">in</span> create_op set_shapes_for_outputs(ret) File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py<span class="pl-pds">"</span></span>, line 1617, <span class="pl-k">in</span> set_shapes_for_outputs shapes = shape_func(op) File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py<span class="pl-pds">"</span></span>, line 1568, <span class="pl-k">in</span> call_with_requiring <span class="pl-k">return</span> call_cpp_shape_fn(op, require_shape_fn=True) File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/common_shapes.py<span class="pl-pds">"</span></span>, line 610, <span class="pl-k">in</span> call_cpp_shape_fn debug_python_shape_fn, require_shape_fn) File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/common_shapes.py<span class="pl-pds">"</span></span>, line 675, <span class="pl-k">in</span> _call_cpp_shape_fn_impl raise ValueError(err.message) ValueError: Negative dimension size caused by subtracting 2 from 1 <span class="pl-k">for</span> <span class="pl-s"><span class="pl-pds">'</span>MaxPool<span class="pl-pds">'</span></span> (op: <span class="pl-s"><span class="pl-pds">'</span>MaxPool<span class="pl-pds">'</span></span>) with input shapes: [<span class="pl-k">?</span>,1,32,8]. -<span class="pl-k">&gt;</span> [1]</pre></div>
<p dir="auto">Currently, neither <code class="notranslate">tf.nn.avg_pool</code> or <code class="notranslate">tf.nn.max_pool</code> support automatically taking second derivatives, making it difficult to experiment with second-order methods on neural networks that use any sort of pooling (which unfortunately includes most modern networks). Trying to take a second derivative gives a <code class="notranslate">LookupError</code>, e.g., <code class="notranslate">LookupError: No gradient defined for operation 'gradients_4...AvgPoolGrad' (op type: AvgPoolGrad)</code>.</p> <p dir="auto">Do you have any plans for implementing second derivatives for pooling operations, or any suggested workarounds like rewriting the pooling operations in terms of elementary functions that have second derivatives defined? Thank you!</p>
1
<h3 dir="auto"><g-emoji class="g-emoji" alias="computer" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4bb.png">💻</g-emoji></h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Would you like to work on a fix?</li> </ul> <h3 dir="auto">How are you using Babel?</h3> <p dir="auto">Other (Next.js, Gatsby, vue-cli, ...)</p> <h3 dir="auto">Input code</h3> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var [ x , x ] = [ 0 , , ] ;"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-kos">[</span> <span class="pl-s1">x</span> <span class="pl-kos">,</span> <span class="pl-s1">x</span> <span class="pl-kos">]</span> <span class="pl-c1">=</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-kos">]</span> <span class="pl-kos">;</span></pre></div> <h3 dir="auto">Configuration file name</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Configuration</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Current and expected behavior</h3> <p dir="auto"><code class="notranslate">x</code> is expected to be <code class="notranslate">undefined</code> but it is <code class="notranslate">0</code> in the transpiled code.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// transpiled code &quot;use strict&quot;; var x = 0, x;"><pre class="notranslate"><span class="pl-c">// transpiled code</span> <span class="pl-s">"use strict"</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-s1">x</span><span class="pl-kos">;</span></pre></div> <h3 dir="auto">Environment</h3> <p dir="auto"><a href="https://babeljs.io/repl#?browsers=since%202105&amp;build=&amp;builtIns=false&amp;corejs=3.21&amp;spec=false&amp;loose=false&amp;code_lz=G4QwTgBA2hAeEBo4QLoQLzQgBkXtA3EA&amp;debug=false&amp;forceAllTransforms=false&amp;shippedProposals=false&amp;circleciRepo=&amp;evaluate=false&amp;fileSize=false&amp;timeTravel=false&amp;sourceType=module&amp;lineWrap=true&amp;presets=env%2Creact%2Cstage-2&amp;prettier=true&amp;targets=&amp;version=7.19.3&amp;externalPlugins=&amp;assumptions=%7B%7D" rel="nofollow">Reproduction on Babel's own REPL</a></p> <h3 dir="auto">Possible solution</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Additional context</h3> <p dir="auto"><em>No response</em></p>
<p dir="auto">I followed the instructions for typescript on this page: <a href="https://babeljs.io/docs/en/babel-preset-typescript" rel="nofollow">https://babeljs.io/docs/en/babel-preset-typescript</a></p> <p dir="auto">And ended up with a .babelrc file:</p> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;presets&quot;: [&quot;@babel/preset-typescript&quot;], &quot;isTSX&quot;: true, &quot;allExtensions&quot;: true }"><pre class="notranslate">{ <span class="pl-ent">"presets"</span>: [<span class="pl-s"><span class="pl-pds">"</span>@babel/preset-typescript<span class="pl-pds">"</span></span>], <span class="pl-ent">"isTSX"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"allExtensions"</span>: <span class="pl-c1">true</span> }</pre></div> <p dir="auto">babel setup (inside gatsby):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="─ @babel/cli@7.4.4 ├─ @babel/code-frame@7.0.0 ├─ @babel/core@7.4.5 ├─ @babel/generator@7.4.4 ├─ @babel/helper-annotate-as-pure@7.0.0 ├─ @babel/helper-builder-binary-assignment-operator-visitor@7.1.0 ├─ @babel/helper-builder-react-jsx@7.3.0 ├─ @babel/helper-call-delegate@7.4.4 ├─ @babel/helper-create-class-features-plugin@7.4.4 ├─ @babel/helper-define-map@7.4.4 ├─ @babel/helper-explode-assignable-expression@7.1.0 ├─ @babel/helper-function-name@7.1.0 ├─ @babel/helper-get-function-arity@7.0.0 ├─ @babel/helper-hoist-variables@7.4.4 ├─ @babel/helper-member-expression-to-functions@7.0.0 ├─ @babel/helper-module-imports@7.0.0 ├─ @babel/helper-module-transforms@7.4.4 ├─ @babel/helper-optimise-call-expression@7.0.0 ├─ @babel/helper-plugin-utils@7.0.0 ├─ @babel/helper-regex@7.4.4 ├─ @babel/helper-remap-async-to-generator@7.1.0 ├─ @babel/helper-replace-supers@7.4.4 ├─ @babel/helper-simple-access@7.1.0 ├─ @babel/helper-split-export-declaration@7.4.4 ├─ @babel/helper-wrap-function@7.2.0 ├─ @babel/helpers@7.4.4 ├─ @babel/highlight@7.0.0 ├─ @babel/node@7.4.5 ├─ @babel/parser@7.4.5 ├─ @babel/plugin-proposal-async-generator-functions@7.2.0 ├─ @babel/plugin-proposal-class-properties@7.4.4 ├─ @babel/plugin-proposal-json-strings@7.2.0 ├─ @babel/plugin-proposal-object-rest-spread@7.4.4 ├─ @babel/plugin-proposal-optional-catch-binding@7.2.0 ├─ @babel/plugin-proposal-unicode-property-regex@7.4.4 ├─ @babel/plugin-syntax-async-generators@7.2.0 ├─ @babel/plugin-syntax-class-properties@7.2.0 ├─ @babel/plugin-syntax-dynamic-import@7.2.0 ├─ @babel/plugin-syntax-flow@7.2.0 ├─ @babel/plugin-syntax-json-strings@7.2.0 ├─ @babel/plugin-syntax-jsx@7.2.0 ├─ @babel/plugin-syntax-object-rest-spread@7.2.0 ├─ @babel/plugin-syntax-optional-catch-binding@7.2.0 ├─ @babel/plugin-syntax-typescript@7.3.3 ├─ @babel/plugin-transform-arrow-functions@7.2.0 ├─ @babel/plugin-transform-async-to-generator@7.4.4 ├─ @babel/plugin-transform-block-scoped-functions@7.2.0 ├─ @babel/plugin-transform-block-scoping@7.4.4 ├─ @babel/plugin-transform-classes@7.4.4 ├─ @babel/plugin-transform-computed-properties@7.2.0 ├─ @babel/plugin-transform-destructuring@7.4.4 ├─ @babel/plugin-transform-dotall-regex@7.4.4 ├─ @babel/plugin-transform-duplicate-keys@7.2.0 ├─ @babel/plugin-transform-exponentiation-operator@7.2.0 ├─ @babel/plugin-transform-flow-strip-types@7.4.4 ├─ @babel/plugin-transform-for-of@7.4.4 ├─ @babel/plugin-transform-function-name@7.4.4 ├─ @babel/plugin-transform-literals@7.2.0 ├─ @babel/plugin-transform-member-expression-literals@7.2.0 ├─ @babel/plugin-transform-modules-amd@7.2.0 ├─ @babel/plugin-transform-modules-commonjs@7.4.4 ├─ @babel/plugin-transform-modules-systemjs@7.4.4 ├─ @babel/plugin-transform-modules-umd@7.2.0 ├─ @babel/plugin-transform-named-capturing-groups-regex@7.4.5 ├─ @babel/plugin-transform-new-target@7.4.4 ├─ @babel/plugin-transform-object-super@7.2.0 ├─ @babel/plugin-transform-parameters@7.4.4 ├─ @babel/plugin-transform-property-literals@7.2.0 ├─ @babel/plugin-transform-react-display-name@7.2.0 ├─ @babel/plugin-transform-react-jsx-self@7.2.0 ├─ @babel/plugin-transform-react-jsx-source@7.2.0 ├─ @babel/plugin-transform-react-jsx@7.3.0 ├─ @babel/plugin-transform-regenerator@7.4.5 ├─ @babel/plugin-transform-reserved-words@7.2.0 ├─ @babel/plugin-transform-runtime@7.4.4 ├─ @babel/plugin-transform-shorthand-properties@7.2.0 ├─ @babel/plugin-transform-spread@7.2.2 ├─ @babel/plugin-transform-sticky-regex@7.2.0 ├─ @babel/plugin-transform-template-literals@7.4.4 ├─ @babel/plugin-transform-typeof-symbol@7.2.0 ├─ @babel/plugin-transform-typescript@7.4.5 ├─ @babel/plugin-transform-unicode-regex@7.4.4 ├─ @babel/polyfill@7.4.4 ├─ @babel/preset-env@7.4.5 ├─ @babel/preset-react@7.0.0 ├─ @babel/preset-typescript@7.3.3 ├─ @babel/register@7.4.4 ├─ @babel/runtime@7.4.5 ├─ @babel/template@7.4.4 ├─ @babel/traverse@7.4.5 └─ @babel/types@7.4.4"><pre class="notranslate"><code class="notranslate">─ @babel/cli@7.4.4 ├─ @babel/code-frame@7.0.0 ├─ @babel/core@7.4.5 ├─ @babel/generator@7.4.4 ├─ @babel/helper-annotate-as-pure@7.0.0 ├─ @babel/helper-builder-binary-assignment-operator-visitor@7.1.0 ├─ @babel/helper-builder-react-jsx@7.3.0 ├─ @babel/helper-call-delegate@7.4.4 ├─ @babel/helper-create-class-features-plugin@7.4.4 ├─ @babel/helper-define-map@7.4.4 ├─ @babel/helper-explode-assignable-expression@7.1.0 ├─ @babel/helper-function-name@7.1.0 ├─ @babel/helper-get-function-arity@7.0.0 ├─ @babel/helper-hoist-variables@7.4.4 ├─ @babel/helper-member-expression-to-functions@7.0.0 ├─ @babel/helper-module-imports@7.0.0 ├─ @babel/helper-module-transforms@7.4.4 ├─ @babel/helper-optimise-call-expression@7.0.0 ├─ @babel/helper-plugin-utils@7.0.0 ├─ @babel/helper-regex@7.4.4 ├─ @babel/helper-remap-async-to-generator@7.1.0 ├─ @babel/helper-replace-supers@7.4.4 ├─ @babel/helper-simple-access@7.1.0 ├─ @babel/helper-split-export-declaration@7.4.4 ├─ @babel/helper-wrap-function@7.2.0 ├─ @babel/helpers@7.4.4 ├─ @babel/highlight@7.0.0 ├─ @babel/node@7.4.5 ├─ @babel/parser@7.4.5 ├─ @babel/plugin-proposal-async-generator-functions@7.2.0 ├─ @babel/plugin-proposal-class-properties@7.4.4 ├─ @babel/plugin-proposal-json-strings@7.2.0 ├─ @babel/plugin-proposal-object-rest-spread@7.4.4 ├─ @babel/plugin-proposal-optional-catch-binding@7.2.0 ├─ @babel/plugin-proposal-unicode-property-regex@7.4.4 ├─ @babel/plugin-syntax-async-generators@7.2.0 ├─ @babel/plugin-syntax-class-properties@7.2.0 ├─ @babel/plugin-syntax-dynamic-import@7.2.0 ├─ @babel/plugin-syntax-flow@7.2.0 ├─ @babel/plugin-syntax-json-strings@7.2.0 ├─ @babel/plugin-syntax-jsx@7.2.0 ├─ @babel/plugin-syntax-object-rest-spread@7.2.0 ├─ @babel/plugin-syntax-optional-catch-binding@7.2.0 ├─ @babel/plugin-syntax-typescript@7.3.3 ├─ @babel/plugin-transform-arrow-functions@7.2.0 ├─ @babel/plugin-transform-async-to-generator@7.4.4 ├─ @babel/plugin-transform-block-scoped-functions@7.2.0 ├─ @babel/plugin-transform-block-scoping@7.4.4 ├─ @babel/plugin-transform-classes@7.4.4 ├─ @babel/plugin-transform-computed-properties@7.2.0 ├─ @babel/plugin-transform-destructuring@7.4.4 ├─ @babel/plugin-transform-dotall-regex@7.4.4 ├─ @babel/plugin-transform-duplicate-keys@7.2.0 ├─ @babel/plugin-transform-exponentiation-operator@7.2.0 ├─ @babel/plugin-transform-flow-strip-types@7.4.4 ├─ @babel/plugin-transform-for-of@7.4.4 ├─ @babel/plugin-transform-function-name@7.4.4 ├─ @babel/plugin-transform-literals@7.2.0 ├─ @babel/plugin-transform-member-expression-literals@7.2.0 ├─ @babel/plugin-transform-modules-amd@7.2.0 ├─ @babel/plugin-transform-modules-commonjs@7.4.4 ├─ @babel/plugin-transform-modules-systemjs@7.4.4 ├─ @babel/plugin-transform-modules-umd@7.2.0 ├─ @babel/plugin-transform-named-capturing-groups-regex@7.4.5 ├─ @babel/plugin-transform-new-target@7.4.4 ├─ @babel/plugin-transform-object-super@7.2.0 ├─ @babel/plugin-transform-parameters@7.4.4 ├─ @babel/plugin-transform-property-literals@7.2.0 ├─ @babel/plugin-transform-react-display-name@7.2.0 ├─ @babel/plugin-transform-react-jsx-self@7.2.0 ├─ @babel/plugin-transform-react-jsx-source@7.2.0 ├─ @babel/plugin-transform-react-jsx@7.3.0 ├─ @babel/plugin-transform-regenerator@7.4.5 ├─ @babel/plugin-transform-reserved-words@7.2.0 ├─ @babel/plugin-transform-runtime@7.4.4 ├─ @babel/plugin-transform-shorthand-properties@7.2.0 ├─ @babel/plugin-transform-spread@7.2.2 ├─ @babel/plugin-transform-sticky-regex@7.2.0 ├─ @babel/plugin-transform-template-literals@7.4.4 ├─ @babel/plugin-transform-typeof-symbol@7.2.0 ├─ @babel/plugin-transform-typescript@7.4.5 ├─ @babel/plugin-transform-unicode-regex@7.4.4 ├─ @babel/polyfill@7.4.4 ├─ @babel/preset-env@7.4.5 ├─ @babel/preset-react@7.0.0 ├─ @babel/preset-typescript@7.3.3 ├─ @babel/register@7.4.4 ├─ @babel/runtime@7.4.5 ├─ @babel/template@7.4.4 ├─ @babel/traverse@7.4.5 └─ @babel/types@7.4.4 </code></pre></div> <p dir="auto">Error Message:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error There was a problem parsing component ReferenceError: Unknown option: .isTSX. Chec k out https://babeljs.io/docs/en/babel-core/ #options for more information about options. - options.js:123 throwUnknownError [components-documentation]/[@babel]/core/l ib/config/validation/options.js:123:11 - options.js:107 Object.keys.forEach.key [components-documentation]/[@babel]/core/l ib/config/validation/options.js:107:5 - Array.forEach - options.js:83 validateNested [components-documentation]/[@babel]/core/l ib/config/validation/options.js:83:21 - options.js:74 validate [components-documentation]/[@babel]/core/l ib/config/validation/options.js:74:10 - config-chain.js:174 file [components-documentation]/[@babel]/core/l ib/config/config-chain.js:174:34 - caching.js:33 cachedFunction [components-documentation]/[@babel]/core/l ib/config/caching.js:33:19 - config-chain.js:120 buildRootChain [components-documentation]/[@babel]/core/l ib/config/config-chain.js:120:36 - partial.js:85 loadPrivatePartialConfig [components-documentation]/[@babel]/core/l ib/config/partial.js:85:55 - partial.js:110 Object.loadPartialConfig [components-documentation]/[@babel]/core/l ib/config/partial.js:110:18 - babelParser.js:44 buildOptions [components-documentation]/[react-docgen]/ dist/babelParser.js:44:31 - babelParser.js:62 buildParse [components-documentation]/[react-docgen]/"><pre class="notranslate"><code class="notranslate">error There was a problem parsing component ReferenceError: Unknown option: .isTSX. Chec k out https://babeljs.io/docs/en/babel-core/ #options for more information about options. - options.js:123 throwUnknownError [components-documentation]/[@babel]/core/l ib/config/validation/options.js:123:11 - options.js:107 Object.keys.forEach.key [components-documentation]/[@babel]/core/l ib/config/validation/options.js:107:5 - Array.forEach - options.js:83 validateNested [components-documentation]/[@babel]/core/l ib/config/validation/options.js:83:21 - options.js:74 validate [components-documentation]/[@babel]/core/l ib/config/validation/options.js:74:10 - config-chain.js:174 file [components-documentation]/[@babel]/core/l ib/config/config-chain.js:174:34 - caching.js:33 cachedFunction [components-documentation]/[@babel]/core/l ib/config/caching.js:33:19 - config-chain.js:120 buildRootChain [components-documentation]/[@babel]/core/l ib/config/config-chain.js:120:36 - partial.js:85 loadPrivatePartialConfig [components-documentation]/[@babel]/core/l ib/config/partial.js:85:55 - partial.js:110 Object.loadPartialConfig [components-documentation]/[@babel]/core/l ib/config/partial.js:110:18 - babelParser.js:44 buildOptions [components-documentation]/[react-docgen]/ dist/babelParser.js:44:31 - babelParser.js:62 buildParse [components-documentation]/[react-docgen]/ </code></pre></div> <p dir="auto">Techstack:</p> <ul dir="auto"> <li><code class="notranslate">gatsby-transformer-react-docgen</code></li> <li><code class="notranslate">react-docgen</code></li> <li><code class="notranslate">@babel/*</code></li> </ul>
0
<p dir="auto">Integrated terminal master issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="117735786" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/143" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/143/hovercard" href="https://github.com/microsoft/vscode/issues/143">#143</a></p> <p dir="auto">Steps to Reproduce:</p> <ol dir="auto"> <li>Toggle terminal</li> <li>Launch vim (color scheme changes)</li> <li>Exit vim (vim's changed color scheme remains)</li> </ol>
1
<p dir="auto">There seems to have been a recent regression in the placement of the cursor and end-of-line marker on lines with accented characters. For example</p> <p dir="auto">ὤὤὤὤὤὤὤὤὤὤ</p> <p dir="auto">Has ten <em>characters</em> but if you ctrl-E to the end of the line the cursor is in the wrong place:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/24426/6658154/54d492a6-cb37-11e4-88da-f370ee0b9d59.png"><img src="https://cloud.githubusercontent.com/assets/24426/6658154/54d492a6-cb37-11e4-88da-f370ee0b9d59.png" alt="screen shot 2015-03-15 at 5 18 12 pm" style="max-width: 100%;"></a></p> <p dir="auto">This may seem obscure but is making it very difficult to use Atom for natural language processing applications with non-ASCII character sets. It worked fairly recently so is likely a recent regression.</p>
<p dir="auto">Halp ticket:</p> <ul dir="auto"> <li>support/e61e5074bc3011e396a434cf997499c3</li> </ul> <blockquote> <p dir="auto">Support for Unicode is incomplete. Unicode characters are shown, but the cursor get stuck, and the navigation with the keyboard arrows stop working.</p> </blockquote> <p dir="auto">The user was using this string as an example <code class="notranslate">ג׳ג׳ג׳dwdwdww</code></p> <p dir="auto">Here's a GIF of me pressing just the right arrow key to get from the beginning of the string to the end:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/38924/2644705/38820a02-bf2b-11e3-8c5c-917400a391d1.gif"><img src="https://cloud.githubusercontent.com/assets/38924/2644705/38820a02-bf2b-11e3-8c5c-917400a391d1.gif" alt="test1006" data-animated-image="" style="max-width: 100%;"></a></p>
1
<ul dir="auto"> <li>Electron version: v1.7.0</li> <li>Operating system: Linux Mint 18 x64</li> </ul> <p dir="auto">I tried to debug an electron with visual studio code. But I got an error so I tried to start electron with the same arguments in the shell: "electron --debug-brk", which produces an segmentation fault immediately. Also using "electron --debug" produces this result. Whether I specify a port "electron --debug=9999" does not matter, still the same result.</p>
<ul dir="auto"> <li>Electron version: 1.7.0</li> <li>Operating system: macOS</li> </ul> <h3 dir="auto">Expected behavior</h3> <p dir="auto">Electron works with <code class="notranslate">--debug</code> or <code class="notranslate">-debug</code> argument</p> <h3 dir="auto">Actual behavior</h3> <p dir="auto">Electron won't run with arguments above.</p> <h3 dir="auto">How to reproduce</h3> <p dir="auto">I've tried the standalone .app and the npm modules:</p> <ul dir="auto"> <li> <p dir="auto">for standalone .app it shows an error and returns a non-zero<br> (with "IOVARendererID property not found" the welcome window appears and I've manually close it)<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/3816900/25955449/e4d09a72-369b-11e7-894b-415231293022.png"><img src="https://cloud.githubusercontent.com/assets/3816900/25955449/e4d09a72-369b-11e7-894b-415231293022.png" alt="image" style="max-width: 100%;"></a></p> </li> <li> <p dir="auto">for npm module it just won't start and no error returns<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/3816900/25955695/84b36dee-369c-11e7-9d19-6014f13d9a50.png"><img src="https://cloud.githubusercontent.com/assets/3816900/25955695/84b36dee-369c-11e7-9d19-6014f13d9a50.png" alt="image" style="max-width: 100%;"></a></p> </li> </ul> <p dir="auto">I can confirm the <code class="notranslate">--debug</code> works with previous versions including 1.6.9 beta</p>
1
<h1 dir="auto">Checklist</h1> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> This has already been asked to the <a href="https://groups.google.com/forum/#!forum/celery-users" rel="nofollow">discussion group</a> first.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the relevant section in the<br> <a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br> on reporting bugs.</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/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br> for similar or identical bug reports.</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/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br> for existing proposed fixes.</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/celery/celery/commits/master">commit log</a><br> to find out if the bug was already fixed in the master branch.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues<br> in this issue (If there are none, check this box anyway).</li> </ul> <h2 dir="auto">Mandatory Debugging Information</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br> (if you are not able to do this, then at least specify the Celery<br> version affected).</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all the versions of all the external dependencies required<br> to reproduce this bug.</li> </ul> <h2 dir="auto">Optional Debugging Information</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one Python version<br> and/or implementation.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one message broker and/or<br> result backend.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one version of the message<br> broker and/or result backend.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one operating system.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one workers pool.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue with autoscaling, retries,<br> ETA/Countdown &amp; rate limits disabled.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue after downgrading<br> and/or upgrading Celery and its dependencies.</li> </ul> <h2 dir="auto">Related Issues and Possible Duplicates</h2> <h4 dir="auto">Related Issues</h4> <ul dir="auto"> <li>None</li> </ul> <h4 dir="auto">Possible Duplicates</h4> <ul dir="auto"> <li>None</li> </ul> <h2 dir="auto">Environment &amp; Settings</h2> <p dir="auto"><strong>Celery version</strong>: 5.1.2</p> <details> <summary><b><code class="notranslate">celery report</code> Output:</b></summary> <p dir="auto"> </p><p dir="auto"><a href="mailto:celery@Guan-Johns-MacBook.local">celery@Guan-Johns-MacBook.local</a> v5.1.2 (sun-harmonics)</p> <p dir="auto">macOS-10.15.7-x86_64-i386-64bit 2021-07-20 16:30:46</p> <p dir="auto">[config]<br> .&gt; app: tasks:0x10ccc9f40<br> .&gt; transport: redis://localhost:6379//<br> .&gt; results: disabled://<br> .&gt; concurrency: 1 (prefork)<br> .&gt; task events: ON</p> <p dir="auto">[queues]<br> .&gt; celery exchange=celery(direct) key=celery</p> <p dir="auto">[tasks]<br> . tasks.add</p> <p dir="auto">[2021-07-20 16:30:46,948: INFO/MainProcess] Connected to redis://localhost:6379//<br> [2021-07-20 16:30:46,957: INFO/MainProcess] mingle: searching for neighbors<br> [2021-07-20 16:30:47,994: INFO/MainProcess] mingle: all alone<br> [2021-07-20 16:30:48,014: INFO/MainProcess] <a href="mailto:celery@Guan-Johns-MacBook.local">celery@Guan-Johns-MacBook.local</a> ready.</p> <p dir="auto"></p> </details> <h1 dir="auto">Steps to Reproduce</h1> <h2 dir="auto">Required Dependencies</h2> <ul dir="auto"> <li><strong>Minimal Python Version</strong>: 3.8.5</li> <li><strong>Minimal Celery Version</strong>: 5.1.2</li> <li><strong>Minimal Kombu Version</strong>: 5.1.0</li> <li><strong>Minimal Broker Version</strong>: Redis 6.2.4</li> <li><strong>Minimal Result Backend Version</strong>: N/A or Unknown</li> <li><strong>Minimal OS and/or Kernel Version</strong>: macOS-10.15.7</li> <li><strong>Minimal Broker Client Version</strong>: N/A or Unknown</li> <li><strong>Minimal Result Backend Client Version</strong>: N/A or Unknown</li> </ul> <h3 dir="auto">Python Packages</h3> <details> <summary><b><code class="notranslate">pip freeze</code> Output:</b></summary> <p dir="auto"> </p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"></code></pre></div> <p dir="auto"></p> </details> <h3 dir="auto">Other Dependencies</h3> <details> <p dir="auto"> N/A </p> </details> <h2 dir="auto">Minimally Reproducible Test Case</h2> <details> <p dir="auto"> </p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from celery import Celery app = Celery('tasks', broker='redis://localhost', broker_transport_options = {'visibility_timeout': 0}, task_acks_late=True, task_acks_on_failure_or_timeout=False, ) print(app.conf['task_acks_on_failure_or_timeout']) "><pre class="notranslate"><code class="notranslate">from celery import Celery app = Celery('tasks', broker='redis://localhost', broker_transport_options = {'visibility_timeout': 0}, task_acks_late=True, task_acks_on_failure_or_timeout=False, ) print(app.conf['task_acks_on_failure_or_timeout']) </code></pre></div> <p dir="auto"></p> </details> <h1 dir="auto">Expected Behavior</h1> <p dir="auto">expected 'False' output.</p> <h1 dir="auto">Actual Behavior</h1> <p dir="auto">but 'True' output. I can not set task_acks_on_failure_or_timeout to False (default:True)</p> <p dir="auto">I think the reason is __autoset(), 'if value' will filter out all False value.<br> <a href="https://github.com/celery/celery/blob/master/celery/app/base.py#L325">https://github.com/celery/celery/blob/master/celery/app/base.py#L325</a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" def __autoset(self, key, value): if value: self._preconf[key] = value self._preconf_set_by_auto.add(key)"><pre class="notranslate"><code class="notranslate"> def __autoset(self, key, value): if value: self._preconf[key] = value self._preconf_set_by_auto.add(key) </code></pre></div>
<h1 dir="auto">Checklist</h1> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> This has already been asked to the <a href="https://groups.google.com/forum/#!forum/celery-users" rel="nofollow">discussion group</a> first.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have read the relevant section in the<br> <a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br> on reporting bugs.</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/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br> for similar or identical bug reports.</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/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br> for existing proposed fixes.</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/celery/celery/commits/master">commit log</a><br> to find out if the bug was already fixed in the master branch.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included all related issues and possible duplicate issues<br> in this issue (If there are none, check this box anyway).</li> </ul> <h2 dir="auto">Mandatory Debugging Information</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li> </ul> <h2 dir="auto">Optional Debugging Information</h2> <p dir="auto"><code class="notranslate">isAlive</code> was deprecated and removed in Python 3.9 . Celery has the deprecation warning that will become error in Python 3.9 .</p> <p dir="auto"><a href="https://travis-ci.org/celery/celery/jobs/628813003#L3262-L3263" rel="nofollow">https://travis-ci.org/celery/celery/jobs/628813003#L3262-L3263</a></p> <p dir="auto">Relevant CPython PR : <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="479667253" data-permission-text="Title is private" data-url="https://github.com/python/cpython/issues/15225" data-hovercard-type="pull_request" data-hovercard-url="/python/cpython/pull/15225/hovercard" href="https://github.com/python/cpython/pull/15225">python/cpython#15225</a></p>
0
<p dir="auto">Hello, could it be possible to add one or two additional variables to the onResourceReady callback, which states whether the image was downloaded or loaded from cache?</p> <p dir="auto">For example:</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="//final int FROM_INTERNET=0; //final int FROM_CACHE=1; //final int FROM_EXTERNAL=2; Glide.with(c).load(url).listener(new RequestListener&lt;Drawable&gt;(){ @Override public boolean onLoadFailed(@Nullable GlideException e, Object model, Target&lt;Drawable&gt; target, boolean isFirstResource) { return false; } @Override public boolean onResourceReady(Drawable resource, Object model, Target&lt;Drawable&gt; target, DataSource dataSource, boolean isFirstResource, int loadedFrom, String loadPath) { Log.d(&quot;MainActivity&quot;,&quot;loadedFrom: &quot;+loadedFrom+&quot;, loadPath: &quot;+loadPath); // loadedFrom could return: 0 (downloaded), 1 (from cache), 2 (from external storage?), etc. // loadPath could return: url (for 0), path to cache (for 1), path to external location (for 2), etc. return false; } })"><pre class="notranslate"><span class="pl-c">//final int FROM_INTERNET=0;</span> <span class="pl-c">//final int FROM_CACHE=1;</span> <span class="pl-c">//final int FROM_EXTERNAL=2;</span> <span class="pl-smi">Glide</span>.<span class="pl-en">with</span>(<span class="pl-s1">c</span>).<span class="pl-en">load</span>(<span class="pl-s1">url</span>).<span class="pl-en">listener</span>(<span class="pl-k">new</span> <span class="pl-smi">RequestListener</span>&lt;<span class="pl-smi">Drawable</span>&gt;(){ <span class="pl-c1">@</span><span class="pl-c1">Override</span> <span class="pl-k">public</span> <span class="pl-smi">boolean</span> <span class="pl-en">onLoadFailed</span>(<span class="pl-c1">@</span><span class="pl-c1">Nullable</span> <span class="pl-smi">GlideException</span> <span class="pl-s1">e</span>, <span class="pl-smi">Object</span> <span class="pl-s1">model</span>, <span class="pl-smi">Target</span>&lt;<span class="pl-smi">Drawable</span>&gt; <span class="pl-s1">target</span>, <span class="pl-smi">boolean</span> <span class="pl-s1">isFirstResource</span>) { <span class="pl-k">return</span> <span class="pl-c1">false</span>; } <span class="pl-c1">@</span><span class="pl-c1">Override</span> <span class="pl-k">public</span> <span class="pl-smi">boolean</span> <span class="pl-en">onResourceReady</span>(<span class="pl-smi">Drawable</span> <span class="pl-s1">resource</span>, <span class="pl-smi">Object</span> <span class="pl-s1">model</span>, <span class="pl-smi">Target</span>&lt;<span class="pl-smi">Drawable</span>&gt; <span class="pl-s1">target</span>, <span class="pl-smi">DataSource</span> <span class="pl-s1">dataSource</span>, <span class="pl-smi">boolean</span> <span class="pl-s1">isFirstResource</span>, <span class="pl-smi">int</span> <span class="pl-s1">loadedFrom</span>, <span class="pl-smi">String</span> <span class="pl-s1">loadPath</span>) { <span class="pl-smi">Log</span>.<span class="pl-en">d</span>(<span class="pl-s">"MainActivity"</span>,<span class="pl-s">"loadedFrom: "</span>+<span class="pl-s1">loadedFrom</span>+<span class="pl-s">", loadPath: "</span>+<span class="pl-s1">loadPath</span>); <span class="pl-c">// loadedFrom could return: 0 (downloaded), 1 (from cache), 2 (from external storage?), etc.</span> <span class="pl-c">// loadPath could return: url (for 0), path to cache (for 1), path to external location (for 2), etc.</span> <span class="pl-k">return</span> <span class="pl-c1">false</span>; } })</pre></div> <p dir="auto">Glide version: 4.11.0</p> <p dir="auto">Integration: Okhttp3</p> <p dir="auto">Device: Xiaomi MA 1A, Android 8.1.0</p> <p dir="auto">Why: I simply want to know whether an image has been downloaded or fetched from cache when loaded. I've read and tried to implement onlyRetrieveFromCache(true) with custom target and listener, and it's not reliable, convenient, or efficient for checking it.</p>
<p dir="auto">I have a ViewPager with 3 fragments inside. Each fragment is a list to retrieve some exercises from a remote server. The 3 fragments are in order: "explore", "favorite", "recent".</p> <p dir="auto">In "explore" list, all images correctly appear. unfortunately in the "favorite" no image appears (just place holder thumbnail).</p> <p dir="auto">This is my common adapter:</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Override public View getView(int position, View convertView, ViewGroup parent) { final T item = getItem(position); .... Glide.with(getContext()) .load(UIUtils.getThumbnailImageUrl(item.images)) .placeholder(R.drawable.default_thumbnail_picture) .crossFade() .listener(new RequestListener&lt;String, GlideDrawable&gt;() { @Override public boolean onException(Exception e, String model, Target&lt;GlideDrawable&gt; target, boolean isFirstResource) { return false; } @Override public boolean onResourceReady(GlideDrawable resource, String model, Target&lt;GlideDrawable&gt; target, boolean isFromMemoryCache, boolean isFirstResource) { return false; } }) .into(viewHolder.mExerciseImageView); return convertView; }"><pre class="notranslate"><span class="pl-c1">@</span><span class="pl-c1">Override</span> <span class="pl-k">public</span> <span class="pl-smi">View</span> <span class="pl-s1">getView</span>(<span class="pl-smi">int</span> <span class="pl-s1">position</span>, <span class="pl-smi">View</span> <span class="pl-s1">convertView</span>, <span class="pl-smi">ViewGroup</span> <span class="pl-s1">parent</span>) { <span class="pl-k">final</span> <span class="pl-smi">T</span> <span class="pl-s1">item</span> = <span class="pl-en">getItem</span>(<span class="pl-s1">position</span>); .... <span class="pl-smi">Glide</span>.<span class="pl-en">with</span>(<span class="pl-en">getContext</span>()) .<span class="pl-en">load</span>(<span class="pl-smi">UIUtils</span>.<span class="pl-en">getThumbnailImageUrl</span>(<span class="pl-s1">item</span>.<span class="pl-s1">images</span>)) .<span class="pl-en">placeholder</span>(<span class="pl-smi">R</span>.<span class="pl-s1">drawable</span>.<span class="pl-s1">default_thumbnail_picture</span>) .<span class="pl-en">crossFade</span>() .<span class="pl-en">listener</span>(<span class="pl-k">new</span> <span class="pl-smi">RequestListener</span>&lt;<span class="pl-smi">String</span>, <span class="pl-smi">GlideDrawable</span>&gt;() { <span class="pl-c1">@</span><span class="pl-c1">Override</span> <span class="pl-k">public</span> <span class="pl-smi">boolean</span> <span class="pl-en">onException</span>(<span class="pl-smi">Exception</span> <span class="pl-s1">e</span>, <span class="pl-smi">String</span> <span class="pl-s1">model</span>, <span class="pl-smi">Target</span>&lt;<span class="pl-smi">GlideDrawable</span>&gt; <span class="pl-s1">target</span>, <span class="pl-smi">boolean</span> <span class="pl-s1">isFirstResource</span>) { <span class="pl-k">return</span> <span class="pl-c1">false</span>; } <span class="pl-c1">@</span><span class="pl-c1">Override</span> <span class="pl-k">public</span> <span class="pl-smi">boolean</span> <span class="pl-en">onResourceReady</span>(<span class="pl-smi">GlideDrawable</span> <span class="pl-s1">resource</span>, <span class="pl-smi">String</span> <span class="pl-s1">model</span>, <span class="pl-smi">Target</span>&lt;<span class="pl-smi">GlideDrawable</span>&gt; <span class="pl-s1">target</span>, <span class="pl-smi">boolean</span> <span class="pl-s1">isFromMemoryCache</span>, <span class="pl-smi">boolean</span> <span class="pl-s1">isFirstResource</span>) { <span class="pl-k">return</span> <span class="pl-c1">false</span>; } }) .<span class="pl-en">into</span>(<span class="pl-s1">viewHolder</span>.<span class="pl-s1">mExerciseImageView</span>); <span class="pl-k">return</span> <span class="pl-s1">convertView</span>; }</pre></div> <p dir="auto">I put a breakpoint in "onException()" function, and there are several break. Unfortunately, exception is always equal at null...</p> <p dir="auto">Could you help me guys?</p> <p dir="auto">Thank you very much!</p>
0
<p dir="auto">When using the openblas based pypi package for numpy on windows, a simply import allocates a lot (25-30MB/core) of committed memory per CPU core by default. This leads to MemoryErrors due to memory exhaustion, when all memory of a machine is committed used up. This can easily happen when using multiprocessing or other multi process architectures on a server with many cpu cores. Basically kills the server, unless you have at least (core*core)*30MB of RAM free.</p> <p dir="auto">This is made worse by packages that simply import numpy for functionality unrelated to openblas, like <code class="notranslate">openpyxl</code> that only import some type definitions from numpy, so the memory usage comes as a big surprise.</p> <p dir="auto">The problem why this happens is OpenBLAS usage of VirtualAlloc to allocate buffers on init. Using the MEMORY_COMMIT flag right away to emulate Linux mmap behaviour, instead of using only MEMORY_RESERVE and a later MEMORY_COMMIT on first actual use of the buffers, so forcing the reservation of physical (commited) memory instead of just virtual memory.</p> <p dir="auto">Setting the OPENBLAS_NUM_THREADS=1 envvar fixes the memory allocation, but i did not see any direct mention of it related to memory usage, only to threading behaviour.</p> <p dir="auto">It would be nice if just importing the module did not allocate and commit all that memory.</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="import numpy"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span></pre></div> <p dir="auto">Check the memory usage with sysinternal vmmap.<br> <a href="https://docs.microsoft.com/en-us/sysinternals/downloads/vmmap" rel="nofollow">https://docs.microsoft.com/en-us/sysinternals/downloads/vmmap</a></p> <p dir="auto">The usage in the 'private data' section (private bytes in process explorer) grows by megabytes, proportional to the number of CPU cores.</p> <p dir="auto">This can be reduced to zero growth when <code class="notranslate">OPENBLAS_NUM_THREADS</code> is set to 1 before the import.</p> <h3 dir="auto">Numpy/Python version information:</h3> <blockquote> <blockquote> <blockquote> <p dir="auto">print(numpy.<strong>version</strong>, sys.version)<br> ('1.16.2', '2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)]')</p> </blockquote> </blockquote> </blockquote>
<p dir="auto">Related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="907717829" data-permission-text="Title is private" data-url="https://github.com/vscode-restructuredtext/snooty-parser/issues/24" data-hovercard-type="issue" data-hovercard-url="/vscode-restructuredtext/snooty-parser/issues/24/hovercard" href="https://github.com/vscode-restructuredtext/snooty-parser/issues/24">vscode-restructuredtext/snooty-parser#24</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="907722755" data-permission-text="Title is private" data-url="https://github.com/networkx/networkx/issues/4857" data-hovercard-type="issue" data-hovercard-url="/networkx/networkx/issues/4857/hovercard" href="https://github.com/networkx/networkx/issues/4857">networkx/networkx#4857</a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1829149/120243452-77d12480-c21c-11eb-82ab-a8d7f160e4b9.png"><img src="https://user-images.githubusercontent.com/1829149/120243452-77d12480-c21c-11eb-82ab-a8d7f160e4b9.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">I expect <code class="notranslate">import numpy</code> to commit close to 0 memory.</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="import numpy as np"><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></pre></div> <h3 dir="auto">Error message:</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" File &quot;C:\Users\Ark\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy\__init__.py&quot;, line 153, in &lt;module&gt; from . import ma File &quot;C:\Users\Ark\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy\ma\__init__.py&quot;, line 42, in &lt;module&gt; from . import core File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 983, in _find_and_load File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 967, in _find_and_load_unlocked File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 677, in _load_unlocked File &quot;&lt;frozen importlib._bootstrap_external&gt;&quot;, line 724, in exec_module File &quot;&lt;frozen importlib._bootstrap_external&gt;&quot;, line 818, in get_code File &quot;&lt;frozen importlib._bootstrap_external&gt;&quot;, line 917, in get_data MemoryError"><pre class="notranslate"><code class="notranslate"> File "C:\Users\Ark\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy\__init__.py", line 153, in &lt;module&gt; from . import ma File "C:\Users\Ark\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy\ma\__init__.py", line 42, in &lt;module&gt; from . import core File "&lt;frozen importlib._bootstrap&gt;", line 983, in _find_and_load File "&lt;frozen importlib._bootstrap&gt;", line 967, in _find_and_load_unlocked File "&lt;frozen importlib._bootstrap&gt;", line 677, in _load_unlocked File "&lt;frozen importlib._bootstrap_external&gt;", line 724, in exec_module File "&lt;frozen importlib._bootstrap_external&gt;", line 818, in get_code File "&lt;frozen importlib._bootstrap_external&gt;", line 917, in get_data MemoryError </code></pre></div> <h3 dir="auto">NumPy/Python version information:</h3> <p dir="auto">1.19.5 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)]</p>
1
<p dir="auto">As part of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="180557319" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33900" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/33900/hovercard" href="https://github.com/kubernetes/kubernetes/pull/33900">#33900</a> and also long running desires to clean up some incomplete abstractions, we need to normalize and resolve the status of <code class="notranslate">pkg/api/unversioned</code> (which is versioned) by moving it to a versioned package.</p> <ol dir="auto"> <li>All "common" server logic will be in <code class="notranslate">pkg/apis/meta/v1</code>, or associated with that package.</li> <li>Any internal versions of those objects will be in <code class="notranslate">pkg/apis/meta/internalversion</code></li> <li>All other objects (versioned or internal) will directly reference the types in <code class="notranslate">pkg/apis/meta/v1</code></li> <li>Any interfaces or abstractions that deal with ObjectMeta in its "v1" form will be located in that package (like unstructured and the ListAccessor interfaces)</li> <li>Types in other groups that duplicate these objects will be removed (eg. v1.ListOptions)</li> <li>External and internal group versions will call a <code class="notranslate">AddToGroupVersion</code> method from <code class="notranslate">pkg/apis/meta/v1</code> that registers common types, and other group versions will stop directly registering <code class="notranslate">*Options</code> and other reusable types.</li> <li>'pkg/watch/versioned' is part of this interface and should be folded in to <code class="notranslate">pkg/apis/meta/v1</code></li> </ol> <p dir="auto">Refactors to perform:</p> <ol dir="auto"> <li><strong>Move</strong> <code class="notranslate">pkg/api/unversioned</code> to <code class="notranslate">pkg/apis/meta/v1</code> and use <code class="notranslate">metav1</code> to reference it<br> This identifies that these types are "versioned" and will be part of the "meta.k8s.io" API group in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="180557319" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33900" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/33900/hovercard" href="https://github.com/kubernetes/kubernetes/pull/33900">#33900</a>. This group composes all of our common, cross group reusable bits. We use <code class="notranslate">metav1</code> to reference it internally to be consistent with our other versioned API package names.</li> <li><strong>Move</strong> <code class="notranslate">pkg/watch/versioned</code> into <code class="notranslate">pkg/apis/meta/v1</code>, and move the decoder/encoder in that package into <code class="notranslate">pkg/client/restclient/watch</code><br> The watch event is versioned and has minor conversion logic. The decoders and encoders are used only be <code class="notranslate">pkg/apiserver</code> and <code class="notranslate">pkg/client/restclient</code>.</li> <li><strong>Move</strong> <code class="notranslate">pkg/runtime/unstructured*.go</code> into <code class="notranslate">pkg/apis/meta/v1/unstructured</code><br> The unstructured types implicitly depend on the metav1 schema (they cannot be used against any other type) and should be identified as versioned locked. In the future, we could introduce abstractions that let us pick the appropriate unstructured type.</li> <li><strong>Move</strong> <code class="notranslate">pkg/api/types.go#ListOptions|ExportOptions|DeleteOptions</code> to <code class="notranslate">pkg/apis/meta</code><br> These are internal types deserialized from client input and used by client libraries and <code class="notranslate">pkg/apiserver</code>.</li> <li><strong>Move</strong> <code class="notranslate">ObjectMeta</code> into <code class="notranslate">pkg/apis/meta/v1</code> and remove the internal <code class="notranslate">ObjectMeta</code><br> ObjectMeta is part of the metav1 api (used by unstructured) and so should not be represented differently. All internal code should be adapted to use this field.</li> <li><strong>Remove</strong> <code class="notranslate">pkg/api/meta/metatypes</code> and use <code class="notranslate">pkg/apis/meta/v1</code> instead</li> <li><strong>Remove</strong> most methods from <code class="notranslate">pkg/api/meta</code> in favor of methods in <code class="notranslate">pkg/apis/meta/v1</code>.</li> <li><strong>Copy</strong> a temporary version of <code class="notranslate">pkg/api/unversioned</code> as required by <code class="notranslate">heapster/metrics/v1alpha</code> temporarily to preserve internal code until we can update heapster to use the new package.</li> </ol>
<p dir="auto">Forked from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="45532851" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/1743" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/1743/hovercard" href="https://github.com/kubernetes/kubernetes/issues/1743">#1743</a></p> <p dir="auto">One of the critical features we're lacking on the configuration front is template parameterization. We should decide on what approach we want to take.</p> <p dir="auto">Working list of requirements:</p> <ul dir="auto"> <li>It should be schema-respecting, not arbitrary textual transformation, in order to facilitate schema validation and independent substitution/decoration passes.</li> <li>Input parameters should be clearly declared, such as to facilitate form generation, as discussed in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="56786189" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/4210" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/4210/hovercard" href="https://github.com/kubernetes/kubernetes/issues/4210">#4210</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="66715189" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/6487" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/6487/hovercard" href="https://github.com/kubernetes/kubernetes/issues/6487">#6487</a>.</li> <li>Substitution should be independent of reconciliation, as per <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ghodss/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ghodss">@ghodss</a>'s comment.</li> </ul>
0
<p dir="auto">I have some code that deadlocks, I think during some phase of code generation. Here's a little test case. Not quite the same context as my code, but I think the same bug:</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Threads.@threads for i in 1:1 end no_such_function()"><pre class="notranslate">Threads<span class="pl-k">.</span><span class="pl-c1">@threads</span> <span class="pl-k">for</span> i <span class="pl-k">in</span> <span class="pl-c1">1</span><span class="pl-k">:</span><span class="pl-c1">1</span> <span class="pl-k">end</span> <span class="pl-c1">no_such_function</span>()</pre></div> <p dir="auto">This should give an error of course, because <code class="notranslate">no_such_function</code> is undefined. That's what it does on julia 1.1 regardless of the number of threads, but it deadlocks for me on master if &gt;1 threads are specified. I ran a bisect which implicated this commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/JuliaLang/julia/commit/0136fa10d5ba6782465ea68de37acefcb548bd9c/hovercard" href="https://github.com/JuliaLang/julia/commit/0136fa10d5ba6782465ea68de37acefcb548bd9c"><tt>0136fa1</tt></a></p>
<p dir="auto">Totally confused by the segmentation fault I'm getting on dev branch. Started seeing it perhaps a couple weeks back but had a hard time getting a small test case that would reliably trigger the error.</p> <p dir="auto">The following snippet works fine if threads are off and works v1.1 with threads on or off. For some reason importing PyCall seems important but I have no idea why (BTW: I have PyCall v1.91.2).</p> <p dir="auto">Can anybody else reproduce this?</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Threads.nthreads() # &lt;-- 4 import PyCall abstract type Flat end struct X{P&lt;:Flat, T&lt;:Real} t::Array{T,1} end function foo(x::X{P,T}) where {P&lt;:Flat, T&lt;:Real} v = zeros(T, size(x.t)) Threads.@threads for i=1:length(x.t) v[i] = x.t[i]^2 + sin(x.t[i]) - cos(x.t[i]) end return v end T = Float64 x = X{Flat,T}(rand(T,1000)) @time foo(x) #&lt;--- Segmentation fault"><pre class="notranslate"><code class="notranslate">Threads.nthreads() # &lt;-- 4 import PyCall abstract type Flat end struct X{P&lt;:Flat, T&lt;:Real} t::Array{T,1} end function foo(x::X{P,T}) where {P&lt;:Flat, T&lt;:Real} v = zeros(T, size(x.t)) Threads.@threads for i=1:length(x.t) v[i] = x.t[i]^2 + sin(x.t[i]) - cos(x.t[i]) end return v end T = Float64 x = X{Flat,T}(rand(T,1000)) @time foo(x) #&lt;--- Segmentation fault </code></pre></div> <p dir="auto">Here is the error I get</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia&gt; @time foo(x) #&lt;--- Segmentation fault fatal: error thrown and no exception handler available. ErrorException(&quot;concurrency violation detected&quot;) 0.203108rec_backtrace at /Users/ethananderes/Software/juliaMaster/src/stackwalk.c:94 record_backtrace at /Users/ethananderes/Software/juliaMaster/src/task.c:210 jl_throw at /Users/ethananderes/Software/juliaMaster/src/task.c:417 seconds (error at ./error.jl:33 assert_havelock at ./condition.jl:20 [inlined] assert_havelock at ./condition.jl:43 [inlined] assert_havelock at ./condition.jl:67 [inlined] notify at ./condition.jl:118 #notify#463 at ./condition.jl:116 [inlined] notify at ./condition.jl:116 [inlined] notify at ./condition.jl:116 [inlined] readcb_specialized at ./stream.jl:558 jfptr_readcb_specialized_4955 at /Users/ethananderes/Software/juliaMaster/usr/lib/julia/sys.dylib (unknown line) 528.70uv_readcb at ./stream.jl:599 kunknown function (ip: 0x1119208a4) allocations: 26.948 MiB, 3.00% gc time)jlcapi_uv_readcb_4173_gfthunk at /Users/ethananderes/Software/juliaMaster/usr/lib/julia/sys.dylib (unknown line) jlcapi_uv_readcb_4173 at /Users/ethananderes/Software/juliaMaster/usr/lib/julia/sys.dylib (unknown line) uv__read at /workspace/srcdir/libuv/src/unix/stream.c:1179 uv__stream_io at /workspace/srcdir/libuv/src/unix/stream.c:1339 uv__io_poll at /workspace/srcdir/libuv/src/unix/kqueue.c:311 uv_run at /workspace/srcdir/libuv/src/unix/core.c:361 jl_task_get_next at /Users/ethananderes/Software/juliaMaster/src/partr.c:303 poptaskref at ./task.jl:564 wait at ./task.jl:591 task_done_hook at ./task.jl:327 jl_apply at /Users/ethananderes/Software/juliaMaster/src/./julia.h:1604 [inlined] jl_finish_task at /Users/ethananderes/Software/juliaMaster/src/task.c:167 start_task at /Users/ethananderes/Software/juliaMaster/src/task.c:593 1000-element Array{Float64,1}: signal (11): Segmentation fault: 11 in expression starting at REPL[8]:0 Segmentation fault: 11 "><pre class="notranslate"><code class="notranslate">julia&gt; @time foo(x) #&lt;--- Segmentation fault fatal: error thrown and no exception handler available. ErrorException("concurrency violation detected") 0.203108rec_backtrace at /Users/ethananderes/Software/juliaMaster/src/stackwalk.c:94 record_backtrace at /Users/ethananderes/Software/juliaMaster/src/task.c:210 jl_throw at /Users/ethananderes/Software/juliaMaster/src/task.c:417 seconds (error at ./error.jl:33 assert_havelock at ./condition.jl:20 [inlined] assert_havelock at ./condition.jl:43 [inlined] assert_havelock at ./condition.jl:67 [inlined] notify at ./condition.jl:118 #notify#463 at ./condition.jl:116 [inlined] notify at ./condition.jl:116 [inlined] notify at ./condition.jl:116 [inlined] readcb_specialized at ./stream.jl:558 jfptr_readcb_specialized_4955 at /Users/ethananderes/Software/juliaMaster/usr/lib/julia/sys.dylib (unknown line) 528.70uv_readcb at ./stream.jl:599 kunknown function (ip: 0x1119208a4) allocations: 26.948 MiB, 3.00% gc time)jlcapi_uv_readcb_4173_gfthunk at /Users/ethananderes/Software/juliaMaster/usr/lib/julia/sys.dylib (unknown line) jlcapi_uv_readcb_4173 at /Users/ethananderes/Software/juliaMaster/usr/lib/julia/sys.dylib (unknown line) uv__read at /workspace/srcdir/libuv/src/unix/stream.c:1179 uv__stream_io at /workspace/srcdir/libuv/src/unix/stream.c:1339 uv__io_poll at /workspace/srcdir/libuv/src/unix/kqueue.c:311 uv_run at /workspace/srcdir/libuv/src/unix/core.c:361 jl_task_get_next at /Users/ethananderes/Software/juliaMaster/src/partr.c:303 poptaskref at ./task.jl:564 wait at ./task.jl:591 task_done_hook at ./task.jl:327 jl_apply at /Users/ethananderes/Software/juliaMaster/src/./julia.h:1604 [inlined] jl_finish_task at /Users/ethananderes/Software/juliaMaster/src/task.c:167 start_task at /Users/ethananderes/Software/juliaMaster/src/task.c:593 1000-element Array{Float64,1}: signal (11): Segmentation fault: 11 in expression starting at REPL[8]:0 Segmentation fault: 11 </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia&gt; versioninfo() Julia Version 1.3.0-DEV.8 Commit 20834c3176* (2019-04-12 07:18 UTC) Platform Info: OS: macOS (x86_64-apple-darwin18.5.0) CPU: Intel(R) Core(TM) i7-8559U CPU @ 2.70GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-6.0.1 (ORCJIT, skylake) Environment: JULIA_NUM_THREADS = 4 JULIA_FFTW_PROVIDER = MKL"><pre class="notranslate"><code class="notranslate">julia&gt; versioninfo() Julia Version 1.3.0-DEV.8 Commit 20834c3176* (2019-04-12 07:18 UTC) Platform Info: OS: macOS (x86_64-apple-darwin18.5.0) CPU: Intel(R) Core(TM) i7-8559U CPU @ 2.70GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-6.0.1 (ORCJIT, skylake) Environment: JULIA_NUM_THREADS = 4 JULIA_FFTW_PROVIDER = MKL </code></pre></div>
1
<h3 dir="auto">Vue.js version</h3> <p dir="auto">1.0.21</p> <h3 dir="auto">Reproduction Link</h3> <p dir="auto"><a href="http://matkovsky.com/vue-svg/" rel="nofollow">http://matkovsky.com/vue-svg/</a><br> (The left icon is inside a <code class="notranslate">&lt;template&gt;</code> block, the right one is not.)</p> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto">Put an <code class="notranslate">&lt;svg&gt;</code> tag with an external svg file (with symbols) inside a <code class="notranslate">&lt;template v-if="foo === bar"&gt;</code> block.</p> <h3 dir="auto">What is Expected?</h3> <p dir="auto">The SVG should be there. (And it is there in Safari, Firefox, Opera, but not in Chrome.)</p> <h3 dir="auto">What is actually happening?</h3> <p dir="auto">The SVG is not loaded. Not even if the same symbol is already used on the site elsewhere.</p> <hr> <p dir="auto">I'm not entirely sure whether this is a Chrome bug or a Vue bug.</p>
<h3 dir="auto">Vue.js version</h3> <p dir="auto">1.0.16</p> <h3 dir="auto">Reproduction Link</h3> <p dir="auto"><a href="https://github.com/asakurayoh/vuejs-svg-bug/tree/master">https://github.com/asakurayoh/vuejs-svg-bug/tree/master</a></p> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto">Only load the index.html in a webserver.</p> <h3 dir="auto">What is Expected?</h3> <p dir="auto">The svg icon should be display event if in a . </p><h3 dir="auto">What is actually happening?</h3> <p dir="auto">The svg do not seam to be rendered in chrome, but work in Firefox and Safari. Bug of VueJS or Chrome?</p><p></p>
1
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" {(char*)&quot;stride&quot;, (getter)getTupleAttr&lt;ConvForward, std::vector&lt;int&gt;, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:82:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getTupleAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:180:30: error: address of overloaded function 'getTupleAttr' does not match required type '_object *(_object *, void *)' {(char*)&quot;padding&quot;, (getter)getTupleAttr&lt;ConvForward, std::vector&lt;int&gt;, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:82:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getTupleAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:182:31: error: address of overloaded function 'getTupleAttr' does not match required type '_object *(_object *, void *)' {(char*)&quot;dilation&quot;, (getter)getTupleAttr&lt;ConvForward, std::vector&lt;int&gt;, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:82:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getTupleAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:186:37: error: address of overloaded function 'getTupleAttr' does not match required type '_object *(_object *, void *)' {(char*)&quot;output_padding&quot;, (getter)getTupleAttr&lt;ConvForward, std::vector&lt;int&gt;, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:82:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getTupleAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:188:29: error: address of overloaded function 'getValueAttr' does not match required type '_object *(_object *, void *)' {(char*)&quot;groups&quot;, (getter)getValueAttr&lt;ConvForward, int, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:99:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getValueAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:195:29: error: address of overloaded function 'getTupleAttr' does not match required type '_object *(_object *, void *)' {(char*)&quot;stride&quot;, (getter)getTupleAttr&lt;ConvBackward, std::vector&lt;int&gt;, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:82:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getTupleAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:197:30: error: address of overloaded function 'getTupleAttr' does not match required type '_object *(_object *, void *)' {(char*)&quot;padding&quot;, (getter)getTupleAttr&lt;ConvBackward, std::vector&lt;int&gt;, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:82:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getTupleAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:199:31: error: address of overloaded function 'getTupleAttr' does not match required type '_object *(_object *, void *)' {(char*)&quot;dilation&quot;, (getter)getTupleAttr&lt;ConvBackward, std::vector&lt;int&gt;, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:82:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getTupleAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:203:37: error: address of overloaded function 'getTupleAttr' does not match required type '_object *(_object *, void *)' {(char*)&quot;output_padding&quot;, (getter)getTupleAttr&lt;ConvBackward, std::vector&lt;int&gt;, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:82:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getTupleAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:205:29: error: address of overloaded function 'getValueAttr' does not match required type '_object *(_object *, void *)' {(char*)&quot;groups&quot;, (getter)getValueAttr&lt;ConvBackward, int, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:99:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getValueAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:212:29: error: address of overloaded function 'getTupleAttr' does not match required type '_object *(_object *, void *)' {(char*)&quot;stride&quot;, (getter)getTupleAttr&lt;ConvBackwardBackward, std::vector&lt;int&gt;, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:82:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getTupleAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:214:30: error: address of overloaded function 'getTupleAttr' does not match required type '_object *(_object *, void *)' {(char*)&quot;padding&quot;, (getter)getTupleAttr&lt;ConvBackwardBackward, std::vector&lt;int&gt;, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:82:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getTupleAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:216:31: error: address of overloaded function 'getTupleAttr' does not match required type '_object *(_object *, void *)' {(char*)&quot;dilation&quot;, (getter)getTupleAttr&lt;ConvBackwardBackward, std::vector&lt;int&gt;, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:82:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getTupleAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:220:37: error: address of overloaded function 'getTupleAttr' does not match required type '_object *(_object *, void *)' {(char*)&quot;output_padding&quot;, (getter)getTupleAttr&lt;ConvBackwardBackward, std::vector&lt;int&gt;, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:82:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getTupleAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:222:29: error: address of overloaded function 'getValueAttr' does not match required type '_object *(_object *, void *)' {(char*)&quot;groups&quot;, (getter)getValueAttr&lt;ConvBackwardBackward, int, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:99:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getValueAttr(PyObject* obj, void* _unused) ^ 15 errors generated.```"><pre lang="torch/csrc/autograd/functions/init.cpp:178:29:" class="notranslate"><code class="notranslate"> {(char*)"stride", (getter)getTupleAttr&lt;ConvForward, std::vector&lt;int&gt;, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:82:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getTupleAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:180:30: error: address of overloaded function 'getTupleAttr' does not match required type '_object *(_object *, void *)' {(char*)"padding", (getter)getTupleAttr&lt;ConvForward, std::vector&lt;int&gt;, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:82:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getTupleAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:182:31: error: address of overloaded function 'getTupleAttr' does not match required type '_object *(_object *, void *)' {(char*)"dilation", (getter)getTupleAttr&lt;ConvForward, std::vector&lt;int&gt;, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:82:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getTupleAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:186:37: error: address of overloaded function 'getTupleAttr' does not match required type '_object *(_object *, void *)' {(char*)"output_padding", (getter)getTupleAttr&lt;ConvForward, std::vector&lt;int&gt;, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:82:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getTupleAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:188:29: error: address of overloaded function 'getValueAttr' does not match required type '_object *(_object *, void *)' {(char*)"groups", (getter)getValueAttr&lt;ConvForward, int, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:99:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getValueAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:195:29: error: address of overloaded function 'getTupleAttr' does not match required type '_object *(_object *, void *)' {(char*)"stride", (getter)getTupleAttr&lt;ConvBackward, std::vector&lt;int&gt;, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:82:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getTupleAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:197:30: error: address of overloaded function 'getTupleAttr' does not match required type '_object *(_object *, void *)' {(char*)"padding", (getter)getTupleAttr&lt;ConvBackward, std::vector&lt;int&gt;, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:82:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getTupleAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:199:31: error: address of overloaded function 'getTupleAttr' does not match required type '_object *(_object *, void *)' {(char*)"dilation", (getter)getTupleAttr&lt;ConvBackward, std::vector&lt;int&gt;, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:82:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getTupleAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:203:37: error: address of overloaded function 'getTupleAttr' does not match required type '_object *(_object *, void *)' {(char*)"output_padding", (getter)getTupleAttr&lt;ConvBackward, std::vector&lt;int&gt;, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:82:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getTupleAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:205:29: error: address of overloaded function 'getValueAttr' does not match required type '_object *(_object *, void *)' {(char*)"groups", (getter)getValueAttr&lt;ConvBackward, int, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:99:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getValueAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:212:29: error: address of overloaded function 'getTupleAttr' does not match required type '_object *(_object *, void *)' {(char*)"stride", (getter)getTupleAttr&lt;ConvBackwardBackward, std::vector&lt;int&gt;, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:82:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getTupleAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:214:30: error: address of overloaded function 'getTupleAttr' does not match required type '_object *(_object *, void *)' {(char*)"padding", (getter)getTupleAttr&lt;ConvBackwardBackward, std::vector&lt;int&gt;, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:82:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getTupleAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:216:31: error: address of overloaded function 'getTupleAttr' does not match required type '_object *(_object *, void *)' {(char*)"dilation", (getter)getTupleAttr&lt;ConvBackwardBackward, std::vector&lt;int&gt;, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:82:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getTupleAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:220:37: error: address of overloaded function 'getTupleAttr' does not match required type '_object *(_object *, void *)' {(char*)"output_padding", (getter)getTupleAttr&lt;ConvBackwardBackward, std::vector&lt;int&gt;, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:82:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getTupleAttr(PyObject* obj, void* _unused) ^ torch/csrc/autograd/functions/init.cpp:222:29: error: address of overloaded function 'getValueAttr' does not match required type '_object *(_object *, void *)' {(char*)"groups", (getter)getValueAttr&lt;ConvBackwardBackward, int, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:99:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getValueAttr(PyObject* obj, void* _unused) ^ 15 errors generated.``` </code></pre></div>
<p dir="auto">One representative error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="torch/csrc/autograd/functions/init.cpp:220:37: error: address of overloaded function 'getTupleAttr' does not match required type '_object *(_object *, void *)' {(char*)&quot;output_padding&quot;, (getter)getTupleAttr&lt;ConvBackwardBackward, std::vector&lt;int&gt;, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:82:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getTupleAttr(PyObject* obj, void* _unused)"><pre class="notranslate"><code class="notranslate">torch/csrc/autograd/functions/init.cpp:220:37: error: address of overloaded function 'getTupleAttr' does not match required type '_object *(_object *, void *)' {(char*)"output_padding", (getter)getTupleAttr&lt;ConvBackwardBackward, std::vector&lt;int&gt;, ConvParams, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torch/csrc/autograd/functions/init.cpp:82:11: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Convert' PyObject* getTupleAttr(PyObject* obj, void* _unused) </code></pre></div> <p dir="auto">The cause of the problem is <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/aa911939a328eff55c9b28b39ed3c43507ba8a2a/hovercard" href="https://github.com/pytorch/pytorch/commit/aa911939a328eff55c9b28b39ed3c43507ba8a2a"><tt>aa91193</tt></a>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" {(char*)&quot;output_padding&quot;, (getter)getTupleAttr&lt;ConvForward, std::vector&lt;int&gt;, ConvParams, - &amp;ConvParams::output_padding, long, PyInt_FromLong&gt;, NULL, NULL, NULL}, + &amp;ConvParams::output_padding, int64_t, PyInt_FromLong&gt;, NULL, NULL, NULL},"><pre class="notranslate"><code class="notranslate"> {(char*)"output_padding", (getter)getTupleAttr&lt;ConvForward, std::vector&lt;int&gt;, ConvParams, - &amp;ConvParams::output_padding, long, PyInt_FromLong&gt;, NULL, NULL, NULL}, + &amp;ConvParams::output_padding, int64_t, PyInt_FromLong&gt;, NULL, NULL, NULL}, </code></pre></div> <p dir="auto">It seems that on clang, changing the type parameter here is sufficient to cause template instantiation to fail.</p> <p dir="auto">Maybe the easiest way to fix this is to write a more portable version of PyInt_FromLong (and friends) which always returns <code class="notranslate">int64_t</code>.</p>
1
<p dir="auto">Slider does not update self state value if min, max, value props are changed together, so slider gets out of the page layout.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/19636070/33079030-8d53c3cc-cee5-11e7-990b-fb9cb107b95d.png"><img src="https://user-images.githubusercontent.com/19636070/33079030-8d53c3cc-cee5-11e7-990b-fb9cb107b95d.png" alt="2017-11-21 17 57 58" style="max-width: 100%;"></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/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">When I change the slider props, I believe that the slider accepts new props, updates its state and re renders properly.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">If I change min, max, value props together, slider does not update value.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/19636070/33079999-0cd3799c-cee8-11e7-9b11-2b1c99f77901.png"><img src="https://user-images.githubusercontent.com/19636070/33079999-0cd3799c-cee8-11e7-9b11-2b1c99f77901.png" alt="2017-11-21 17 51 01" style="max-width: 100%;"></a></p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <p dir="auto">Bug demo: <a href="https://codesandbox.io/s/xrl2j6936o" rel="nofollow">https://codesandbox.io/s/xrl2j6936o</a> (Press "Do a bug" button)</p> <ol dir="auto"> <li>Set slider props - value: 5, minValue: 1, maxValue: 10, step: 1</li> <li>Change slider props to - minValue: 25, maxValue: 30, value: 27</li> <li>See that slider's value did not change</li> </ol> <h2 dir="auto">Context</h2> <p dir="auto">I've got slider as a part of big component, that present a service calculator. User can switch different mode, so the slider must change it props.</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>0.19.4</td> </tr> <tr> <td>React</td> <td>tried with 15.4.0 and 16.0.0</td> </tr> <tr> <td>browser</td> <td>Google Chrome 62.0.3202.94, Firefox 57, IE11, EDGE and others</td> </tr> </tbody> </table>
<p dir="auto">Below you can see two problems with SelectField - one is the wrong position and the second is that hintText is present even if the value is selected.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/4790217/8746480/145a329e-2c8a-11e5-9996-714235dd6453.png"><img src="https://cloud.githubusercontent.com/assets/4790217/8746480/145a329e-2c8a-11e5-9996-714235dd6453.png" alt="hint" style="max-width: 100%;"></a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/4790217/8746481/146247d6-2c8a-11e5-9d3e-eecc02ef9dc7.png"><img src="https://cloud.githubusercontent.com/assets/4790217/8746481/146247d6-2c8a-11e5-9d3e-eecc02ef9dc7.png" alt="position" style="max-width: 100%;"></a></p> <p dir="auto">also I think that SelectField needs some more methods: getValue() setValue() clearValue()</p>
0
<p dir="auto">Whenever suggest widget (e.g. a completion list) is summoned (by a configured trigger character, e.g. <code class="notranslate">.</code> or <code class="notranslate">&gt;</code>), both Tab and Enter are valid for selection by default. More than once I've accidentally accepted the suggestion rather than doing a line break as intended.</p> <p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="137978665" data-permission-text="Title is private" data-url="https://github.com/mitaki28/vscode-clang/issues/8" data-hovercard-type="issue" data-hovercard-url="/mitaki28/vscode-clang/issues/8/hovercard" href="https://github.com/mitaki28/vscode-clang/issues/8">mitaki28/vscode-clang#8</a> is a good example of this where a <code class="notranslate">completionProvider</code> is configured and triggered by <code class="notranslate">&gt;</code>, causing issues when trying to do a line break:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1016104/13473657/4b754dec-e088-11e5-8aa3-35e09aee946a.png"><img src="https://cloud.githubusercontent.com/assets/1016104/13473657/4b754dec-e088-11e5-8aa3-35e09aee946a.png" alt="" style="max-width: 100%;"></a></p> <p dir="auto">At first I thought I'd suggest that the default should be only Tab to avoid all of this. But then I came to think that perhaps more ideally this should be configurable by the extension that registers a provider with <code class="notranslate">triggerCharacters</code>. What do you think?</p>
<p dir="auto">Don't try to content assist / perform intellisense when writing a comment. Really really annoying, when every other word pops up suggestions. Don't want it.</p> <p dir="auto">Dupe of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118561162" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/538" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/538/hovercard" href="https://github.com/microsoft/vscode/issues/538">#538</a> that got closed but not fixed really though.</p>
1
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=youngsoul" rel="nofollow">Patrick Ryan</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-1719?redirect=false" rel="nofollow">SPR-1719</a></strong> and commented</p> <p dir="auto">I described this in the forum at: <a href="http://forum.springframework.org/showthread.php?t=22377" rel="nofollow">http://forum.springframework.org/showthread.php?t=22377</a></p> <p dir="auto">I have recently tried the 2.0 M2 Spring.jar and immediately found that what was<br> working for PropertyPlaceholderConfigurer is suddenly not working in 2.0.</p> <p dir="auto">I have a bean with a property like: &lt;property<br> name="readQueueName"&gt;&lt;value&gt;${queue.routerQueue}&lt;/value&gt;&lt;/property&gt;</p> <p dir="auto">and a property file like: queue.routerQueue=routerQueue1</p> <p dir="auto">but what is set in the bean, is ${queue.routerQueue} and not the substituted<br> value. I am pretty certain that the PropertyPlaceholderConfigurer bean is able<br> to read the value - I have set breakpoints and extended the class to provide JMX<br> viewing of the properties and they are correct. However, when I set a breakpoint at the 'setReadQueueName' method, the value passed in is ${queue.routerQueue}.</p> <p dir="auto">I have many, many properties set in my config files, and some get replaced and others do not. I cannot actually track down a pattern just yet. Even though some properties get replaced and some dont, it is very consistent when it decides not to replace a property. That property is never replaced, but I dont know why it decides to replace some but not others.</p> <p dir="auto">I would be happy to provide files and I will also look into this more over the weekend.</p> <hr> <p dir="auto"><strong>Affects:</strong> 2.0 M2</p> <p dir="auto"><strong>Attachments:</strong></p> <ul dir="auto"> <li><a href="https://jira.spring.io/secure/attachment/11468/propertyplaceholdertestcase.zip" rel="nofollow">propertyplaceholdertestcase.zip</a> (<em>1.61 kB</em>)</li> </ul> <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="398063614" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/6415" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/6415/hovercard" href="https://github.com/spring-projects/spring-framework/issues/6415">#6415</a> External properties setting fail with abstract beans (<em><strong>"duplicates"</strong></em>)</li> </ul> <p dir="auto">1 votes, 1 watchers</p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=candrews" rel="nofollow">Craig</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-8604?redirect=false" rel="nofollow">SPR-8604</a></strong> and commented</p> <p dir="auto">I'm attempting to use RestTemplate.execute() and it takes a RequestCallback instance and a ResponseExtractor instance as parameters. It seems that I should be able to use (via direct instantiation or inheritance) the really useful RestTemplate implementations of these interfaces, but they're all marked private. Can they please be marked public?</p> <hr> <p dir="auto"><strong>Affects:</strong> 5.0.4</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/79e809be24157b621ba8f8d569269c3c9fb3783f/hovercard" href="https://github.com/spring-projects/spring-framework/commit/79e809be24157b621ba8f8d569269c3c9fb3783f"><tt>79e809b</tt></a></p> <p dir="auto">3 votes, 6 watchers</p>
0
<p dir="auto">Hi,</p> <p dir="auto">Since yesterday I am facing problem with creation new deployments and pods assigned to those deployments. Due to some reason RC creates a lot of pods and right after terminates them. My pod require to have volume attached in AWS so I assume that is not possible to attach/detach volume more than several times within one minute.</p> <p dir="auto">Output from get pods command:<br> xxx-20150918-15-852712-3444524503-0b7z6 0/5 Terminating 0 38s<br> xxx-20150918-15-852712-3444524503-1jb57 4/5 Terminating 0 1m<br> xxx-20150918-15-852712-3444524503-1r94w 0/5 Terminating 0 1m<br> xxx-20150918-15-852712-3444524503-4kvwz 0/5 Terminating 0 1m<br> xxx-20150918-15-852712-3444524503-5aua3 0/5 Terminating 0 1m<br> xxx-20150918-15-852712-3444524503-7ae6n 0/5 Terminating 0 1m<br> xxx-20150918-15-852712-3444524503-feay6 0/5 Terminating 0 40s<br> xxx-20150918-15-852712-3444524503-g8opf 0/5 Terminating 0 1m<br> xxx-20150918-15-852712-3444524503-i9msv 0/5 ContainerCreating 0 37s<br> xxx-20150918-15-852712-3444524503-j1zjo 0/5 Terminating 0 1m<br> xxx-20150918-15-852712-3444524503-kbkm5 0/5 Terminating 0 1m<br> xxx-20150918-15-852712-3444524503-n70tx 0/5 Terminating 0 39s<br> xxx-20150918-15-852712-3444524503-ntmmz 0/5 Terminating 0 1m<br> xxx-20150918-15-852712-3444524503-nyuwp 0/5 Terminating 0 39s<br> xxx-20150918-15-852712-3444524503-po9kn 0/5 Terminating 0 1m<br> xxx-20150918-15-852712-3444524503-somw3 0/5 Terminating 0 1m<br> xxx-20150918-15-852712-3444524503-wpd4t 0/5 Terminating 0 38s<br> xxx-20150918-15-852712-3444524503-x2yip 0/5 Terminating 0 1m</p> <p dir="auto">When i execute describe pod method for any of those pods I have only mentioned that pod has been successfully assigned to the node.</p> <p dir="auto">My versions:<br> Client Version: version.Info{Major:"1", Minor:"3", GitVersion:"v1.3.4", GitCommit:"dd6b458ef8dbf24aff55795baa68f83383c9b3a9", GitTreeState:"clean", BuildDate:"2016-08-01T16:45:16Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"linux/amd64"}<br> Server Version: version.Info{Major:"1", Minor:"3", GitVersion:"v1.3.4+coreos.0", GitCommit:"be9bf3e842a90537e48361aded2872e389e902e7", GitTreeState:"clean", BuildDate:"2016-08-02T00:54:53Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"linux/amd64"}</p> <p dir="auto">Thanks for help in advance,<br> Adam</p>
<p dir="auto">In the document, <code class="notranslate">expose</code> should take rc and service as input. I tried <code class="notranslate">kubectl expose po nginx --port=80 --target-port=8080</code> and <code class="notranslate">kubectl expose -f pod-nginx.yaml ...</code>, they all worked (when pod has labels).</p> <p dir="auto">Another thing is, in <code class="notranslate">expose</code> command, service name is duplicated from input resource name(when <code class="notranslate">--name</code> is not specified), if service with same name already exsits, it will return an error. Can we give the service a unique name as rc does to the pods it manages.</p> <p dir="auto">@kubernetes/kubectl <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/feihujiang/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/feihujiang">@feihujiang</a></p>
0
<h3 dir="auto">action:</h3> <p dir="auto">deno run --allow-read --allow-net xxx.ts</p> <h3 dir="auto">result:</h3> <p dir="auto"><strong>Check</strong> file:///....../xxx.ts</p> <p dir="auto"><strong>error</strong>: TS2322 [ERROR]: Type <code class="notranslate">'import("https://deno.land/std@0.75.0/http/server.ts").ServerRequest | null'</code> is not assignable to type <code class="notranslate">'import("https://deno.land/std/http/server.ts").ServerRequest | null'</code>.</p> <p dir="auto">Type <code class="notranslate">'import("https://deno.land/std@0.75.0/http/server.ts").ServerRequest'</code> is not assignable to type <code class="notranslate">'import("https://deno.land/std/http/server.ts").ServerRequest'</code>.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Types have separate declarations of a private property '_contentLength'. request = await readRequest(conn, reader); ~~~~~~~ at https://deno.land/std/http/server.ts:147:9"><pre class="notranslate"><code class="notranslate">Types have separate declarations of a private property '_contentLength'. request = await readRequest(conn, reader); ~~~~~~~ at https://deno.land/std/http/server.ts:147:9 </code></pre></div>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// main.ts import { serve } from &quot;https://deno.land/std/http/server.ts&quot;;"><pre class="notranslate"><span class="pl-c">// main.ts</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">serve</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"https://deno.land/std/http/server.ts"</span><span class="pl-kos">;</span></pre></div> <h4 dir="auto">1.4.6</h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="❯❯❯ rm -rf $DENO_DIR ❯❯❯ deno1.4.6 run -A --reload main.ts Download https://deno.land/std/http/server.ts Warning Implicitly using latest version (0.75.0) for https://deno.land/std/http/server.ts (snip) Check file:///mnt/f9/Projects/github.com/denoland/deno/main.ts"><pre class="notranslate"><code class="notranslate">❯❯❯ rm -rf $DENO_DIR ❯❯❯ deno1.4.6 run -A --reload main.ts Download https://deno.land/std/http/server.ts Warning Implicitly using latest version (0.75.0) for https://deno.land/std/http/server.ts (snip) Check file:///mnt/f9/Projects/github.com/denoland/deno/main.ts </code></pre></div> <h4 dir="auto">1.5.0</h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="❯❯❯ rm -rf $DENO_DIR ❯❯❯ deno1.5.0 run -A --reload main.ts Download https://deno.land/std/http/server.ts Warning Implicitly using latest version (0.75.0) for https://deno.land/std/http/server.ts (snip) Check file:///mnt/f9/Projects/github.com/denoland/deno/main.ts error: TS2322 [ERROR]: Type 'import(&quot;https://deno.land/std@0.75.0/http/server.ts&quot;).ServerRequest | null' is not assignable to type 'import(&quot;https://deno.land/std/http/server.ts&quot;).ServerRequest | null'. Type 'import(&quot;https://deno.land/std@0.75.0/http/server.ts&quot;).ServerRequest' is not assignable to type 'import(&quot;https://deno.land/std/http/server.ts&quot;).ServerRequest'. Types have separate declarations of a private property '_contentLength'. request = await readRequest(conn, reader); ~~~~~~~ at https://deno.land/std/http/server.ts:147:9"><pre class="notranslate"><code class="notranslate">❯❯❯ rm -rf $DENO_DIR ❯❯❯ deno1.5.0 run -A --reload main.ts Download https://deno.land/std/http/server.ts Warning Implicitly using latest version (0.75.0) for https://deno.land/std/http/server.ts (snip) Check file:///mnt/f9/Projects/github.com/denoland/deno/main.ts error: TS2322 [ERROR]: Type 'import("https://deno.land/std@0.75.0/http/server.ts").ServerRequest | null' is not assignable to type 'import("https://deno.land/std/http/server.ts").ServerRequest | null'. Type 'import("https://deno.land/std@0.75.0/http/server.ts").ServerRequest' is not assignable to type 'import("https://deno.land/std/http/server.ts").ServerRequest'. Types have separate declarations of a private property '_contentLength'. request = await readRequest(conn, reader); ~~~~~~~ at https://deno.land/std/http/server.ts:147:9 </code></pre></div> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kitsonk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kitsonk">@kitsonk</a></p> <hr> <p dir="auto">For anyone looking at this issue now, we are planning to do a 1.5.1 hot fix release tomorrow with a bug fix.</p>
1
<p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/add-placeholder-text-to-a-text-field#?solution=%0A%3Clink%20href%3D%22https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DLobster%22%20rel%3D%22stylesheet%22%20type%3D%22text%2Fcss%22%3E%0A%3Cstyle%3E%0A%20%20.red-text%20%7B%0A%20%20%20%20color%3A%20red%3B%0A%20%20%7D%0A%0A%20%20h2%20%7B%0A%20%20%20%20font-family%3A%20Lobster%2C%20Monospace%3B%0A%20%20%7D%0A%0A%20%20p%20%7B%0A%20%20%20%20font-size%3A%2016px%3B%0A%20%20%20%20font-family%3A%20Monospace%3B%0A%20%20%7D%0A%0A%20%20.thick-green-border%20%7B%0A%20%20%20%20border-color%3A%20green%3B%0A%20%20%20%20border-width%3A%2010px%3B%0A%20%20%20%20border-style%3A%20solid%3B%0A%20%20%20%20border-radius%3A%2050%25%3B%0A%20%20%7D%0A%0A%20%20.smaller-image%20%7B%0A%20%20%20%20width%3A%20100px%3B%0A%20%20%7D%0A%3C%2Fstyle%3E%0A%0A%3Ch2%20class%3D%22red-text%22%3ECatPhotoApp%3C%2Fh2%3E%0A%0A%3Cp%3EClick%20here%20for%20%3Ca%20href%3D%22%23%22%3Ecat%20photos%3C%2Fa%3E.%3C%2Fp%3E%0A%0A%3Ca%20href%3D%22%23%22%3E%3Cimg%20class%3D%22smaller-image%20thick-green-border%22%20alt%3D%22A%20cute%20orange%20cat%20lying%20on%20its%20back%22%20src%3D%22https%3A%2F%2Fbit.ly%2Ffcc-relaxing-cat%22%3E%3C%2Fa%3E%0A%0A%3Cp%3EThings%20cats%20love%3A%3C%2Fp%3E%0A%3Cul%3E%0A%20%20%3Cli%3Ecat%20nip%3C%2Fli%3E%0A%20%20%3Cli%3Elaser%20pointers%3C%2Fli%3E%0A%20%20%3Cli%3Elasagna%3C%2Fli%3E%0A%3C%2Ful%3E%0A%3Cp%3ETop%203%20things%20cats%20hate%3A%3C%2Fp%3E%0A%3Col%3E%0A%20%20%3Cli%3Eflea%20treatment%3C%2Fli%3E%0A%20%20%3Cli%3Ethunder%3C%2Fli%3E%0A%20%20%3Cli%3Eother%20cats%3C%2Fli%3E%0A%3C%2Fol%3E%0A%3Cinput%20type%3D%22text%22%3E%0A" rel="nofollow">Add Placeholder Text to a Text Field</a> has an issue.<br> User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36</code>.<br> Please describe how to reproduce this issue, and include links to screenshots if possible.</p> <p dir="auto">My code:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" &lt;link href=&quot;https://fonts.googleapis.com/css?family=Lobster&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;&gt; &lt;style&gt; .red-text { color: red; } h2 { font-family: Lobster, Monospace; } p { font-size: 16px; font-family: Monospace; } .thick-green-border { border-color: green; border-width: 10px; border-style: solid; border-radius: 50%; } .smaller-image { width: 100px; } &lt;/style&gt; &lt;h2 class=&quot;red-text&quot;&gt;CatPhotoApp&lt;/h2&gt; &lt;p&gt;Click here for &lt;a href=&quot;#&quot;&gt;cat photos&lt;/a&gt;.&lt;/p&gt; &lt;a href=&quot;#&quot;&gt;&lt;img class=&quot;smaller-image thick-green-border&quot; alt=&quot;A cute orange cat lying on its back&quot; src=&quot;https://bit.ly/fcc-relaxing-cat&quot;&gt;&lt;/a&gt; &lt;p&gt;Things cats love:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;cat nip&lt;/li&gt; &lt;li&gt;laser pointers&lt;/li&gt; &lt;li&gt;lasagna&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;Top 3 things cats hate:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;flea treatment&lt;/li&gt; &lt;li&gt;thunder&lt;/li&gt; &lt;li&gt;other cats&lt;/li&gt; &lt;/ol&gt; &lt;input type=&quot;text&quot;&gt; "><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">link</span> <span class="pl-c1">href</span>="<span class="pl-s">https://fonts.googleapis.com/css?family=Lobster</span>" <span class="pl-c1">rel</span>="<span class="pl-s">stylesheet</span>" <span class="pl-c1">type</span>="<span class="pl-s">text/css</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">style</span><span class="pl-kos">&gt;</span> .<span class="pl-c1">red-text</span> { <span class="pl-c1">color</span><span class="pl-kos">:</span> red; } <span class="pl-ent">h2</span> { <span class="pl-c1">font-family</span><span class="pl-kos">:</span> Lobster<span class="pl-kos">,</span> Monospace; } <span class="pl-ent">p</span> { <span class="pl-c1">font-size</span><span class="pl-kos">:</span> <span class="pl-c1">16<span class="pl-smi">px</span></span>; <span class="pl-c1">font-family</span><span class="pl-kos">:</span> Monospace; } .<span class="pl-c1">thick-green-border</span> { <span class="pl-c1">border-color</span><span class="pl-kos">:</span> green; <span class="pl-c1">border-width</span><span class="pl-kos">:</span> <span class="pl-c1">10<span class="pl-smi">px</span></span>; <span class="pl-c1">border-style</span><span class="pl-kos">:</span> solid; <span class="pl-c1">border-radius</span><span class="pl-kos">:</span> <span class="pl-c1">50<span class="pl-smi">%</span></span>; } .<span class="pl-c1">smaller-image</span> { <span class="pl-c1">width</span><span class="pl-kos">:</span> <span class="pl-c1">100<span class="pl-smi">px</span></span>; } <span class="pl-kos">&lt;/</span><span class="pl-ent">style</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">h2</span> <span class="pl-c1">class</span>="<span class="pl-s">red-text</span>"<span class="pl-kos">&gt;</span>CatPhotoApp<span class="pl-kos">&lt;/</span><span class="pl-ent">h2</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">p</span><span class="pl-kos">&gt;</span>Click here for <span class="pl-kos">&lt;</span><span class="pl-ent">a</span> <span class="pl-c1">href</span>="<span class="pl-s">#</span>"<span class="pl-kos">&gt;</span>cat photos<span class="pl-kos">&lt;/</span><span class="pl-ent">a</span><span class="pl-kos">&gt;</span>.<span class="pl-kos">&lt;/</span><span class="pl-ent">p</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">a</span> <span class="pl-c1">href</span>="<span class="pl-s">#</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;</span><span class="pl-ent">img</span> <span class="pl-c1">class</span>="<span class="pl-s">smaller-image thick-green-border</span>" <span class="pl-c1">alt</span>="<span class="pl-s">A cute orange cat lying on its back</span>" <span class="pl-c1">src</span>="<span class="pl-s">https://bit.ly/fcc-relaxing-cat</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">a</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">p</span><span class="pl-kos">&gt;</span>Things cats love:<span class="pl-kos">&lt;/</span><span class="pl-ent">p</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">ul</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span>cat nip<span class="pl-kos">&lt;/</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span>laser pointers<span class="pl-kos">&lt;/</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span>lasagna<span class="pl-kos">&lt;/</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">ul</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">p</span><span class="pl-kos">&gt;</span>Top 3 things cats hate:<span class="pl-kos">&lt;/</span><span class="pl-ent">p</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">ol</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span>flea treatment<span class="pl-kos">&lt;/</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span>thunder<span class="pl-kos">&lt;/</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span>other cats<span class="pl-kos">&lt;/</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">ol</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">text</span>"<span class="pl-kos">&gt;</span></pre></div>
<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
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [1]: import numpy as np In [2]: np.append([], (unichr(0))) Out[2]: array([u''], dtype='&lt;U32') In [3]: np.append([], (unichr(1))) Out[3]: array([u'\x01'], dtype='&lt;U32') In [4]: np.unique(unichr(0)) Out[4]: array([u''], dtype='&lt;U1') In [5]: np.unique(unichr(1)) Out[5]: array([u'\x01'], dtype='&lt;U1') In [6]: np.array([unichr(0)]) Out[6]: array([u''], dtype='&lt;U1') In [7]: np.array([unichr(1)]) Out[7]: array([u'\x01'], dtype='&lt;U1') In [8]: np.array([unichr(0), unichr(1)]) Out[8]: array([u'', u'\x01'], dtype='&lt;U1') In [9]: [unichr(0)] Out[9]: [u'\x00']"><pre class="notranslate"><code class="notranslate">In [1]: import numpy as np In [2]: np.append([], (unichr(0))) Out[2]: array([u''], dtype='&lt;U32') In [3]: np.append([], (unichr(1))) Out[3]: array([u'\x01'], dtype='&lt;U32') In [4]: np.unique(unichr(0)) Out[4]: array([u''], dtype='&lt;U1') In [5]: np.unique(unichr(1)) Out[5]: array([u'\x01'], dtype='&lt;U1') In [6]: np.array([unichr(0)]) Out[6]: array([u''], dtype='&lt;U1') In [7]: np.array([unichr(1)]) Out[7]: array([u'\x01'], dtype='&lt;U1') In [8]: np.array([unichr(0), unichr(1)]) Out[8]: array([u'', u'\x01'], dtype='&lt;U1') In [9]: [unichr(0)] Out[9]: [u'\x00'] </code></pre></div>
<h3 dir="auto">Describe the issue:</h3> <p dir="auto">On osx-arm64, running the following</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np Sigma = np.full((5, 5), 0.7) np.fill_diagonal(Sigma, 1) rng = np.random.default_rng(12) X = rng.multivariate_normal(np.zeros(5), Sigma, 1) print(X)"><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-v">Sigma</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">full</span>((<span class="pl-c1">5</span>, <span class="pl-c1">5</span>), <span class="pl-c1">0.7</span>) <span class="pl-s1">np</span>.<span class="pl-en">fill_diagonal</span>(<span class="pl-v">Sigma</span>, <span class="pl-c1">1</span>) <span class="pl-s1">rng</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">default_rng</span>(<span class="pl-c1">12</span>) <span class="pl-v">X</span> <span class="pl-c1">=</span> <span class="pl-s1">rng</span>.<span class="pl-en">multivariate_normal</span>(<span class="pl-s1">np</span>.<span class="pl-en">zeros</span>(<span class="pl-c1">5</span>), <span class="pl-v">Sigma</span>, <span class="pl-c1">1</span>) <span class="pl-en">print</span>(<span class="pl-v">X</span>)</pre></div> <p dir="auto">prints</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[[ 0.7989866 0.26512508 -0.43169361 -0.72572551 0.12306469]]"><pre class="notranslate"><code class="notranslate">[[ 0.7989866 0.26512508 -0.43169361 -0.72572551 0.12306469]] </code></pre></div> <p dir="auto">Running the same code on linux64 prints</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[[ 0.36925409 0.06273453 -0.92231155 -0.1340844 0.65416457]]"><pre class="notranslate"><code class="notranslate">[[ 0.36925409 0.06273453 -0.92231155 -0.1340844 0.65416457]] </code></pre></div> <p dir="auto">This is equally an issue for scipy:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from scipy.stats import multivariate_normal X = multivariate_normal(mean=np.zeros(5), cov=Sigma, seed=12).rvs(1) print(X)"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">scipy</span>.<span class="pl-s1">stats</span> <span class="pl-k">import</span> <span class="pl-s1">multivariate_normal</span> <span class="pl-v">X</span> <span class="pl-c1">=</span> <span class="pl-en">multivariate_normal</span>(<span class="pl-s1">mean</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-en">zeros</span>(<span class="pl-c1">5</span>), <span class="pl-s1">cov</span><span class="pl-c1">=</span><span class="pl-v">Sigma</span>, <span class="pl-s1">seed</span><span class="pl-c1">=</span><span class="pl-c1">12</span>).<span class="pl-en">rvs</span>(<span class="pl-c1">1</span>) <span class="pl-en">print</span>(<span class="pl-v">X</span>)</pre></div> <p dir="auto">prints</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[-0.04337636 -1.19324783 0.23303855 -0.47834447 -0.57976733]"><pre class="notranslate"><code class="notranslate">[-0.04337636 -1.19324783 0.23303855 -0.47834447 -0.57976733] </code></pre></div> <p dir="auto">on osx-arm64 and</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[-0.29356888 -0.19370035 -0.7717682 0.30701745 -1.10967747]"><pre class="notranslate"><code class="notranslate">[-0.29356888 -0.19370035 -0.7717682 0.30701745 -1.10967747] </code></pre></div> <p dir="auto">on linux-64.</p> <details> <p dir="auto">Output of <code class="notranslate">conda list</code> on osx-arm64:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# packages in environment at /Users/mlondschien/mambaforge/envs/numpy: # # Name Version Build Channel bzip2 1.0.8 h3422bc3_4 conda-forge ca-certificates 2022.12.7 h4653dfc_0 conda-forge libblas 3.9.0 16_osxarm64_openblas conda-forge libcblas 3.9.0 16_osxarm64_openblas conda-forge libcxx 14.0.6 h2692d47_0 conda-forge libffi 3.4.2 h3422bc3_5 conda-forge libgfortran 5.0.0 11_3_0_hd922786_27 conda-forge libgfortran5 11.3.0 hdaf2cc0_27 conda-forge liblapack 3.9.0 16_osxarm64_openblas conda-forge libopenblas 0.3.21 openmp_hc731615_3 conda-forge libsqlite 3.40.0 h76d750c_0 conda-forge libzlib 1.2.13 h03a7124_4 conda-forge llvm-openmp 15.0.6 h7cfbb63_0 conda-forge ncurses 6.3 h07bb92c_1 conda-forge numpy 1.24.0 py311ha92fb03_0 conda-forge openssl 3.0.7 h03a7124_1 conda-forge pip 22.3.1 pyhd8ed1ab_0 conda-forge python 3.11.0 h93c2e33_0_cpython conda-forge python_abi 3.11 3_cp311 conda-forge readline 8.1.2 h46ed386_0 conda-forge scipy 1.9.3 py311h0bcca16_2 conda-forge setuptools 65.6.3 pyhd8ed1ab_0 conda-forge tk 8.6.12 he1e0b03_0 conda-forge tzdata 2022g h191b570_0 conda-forge wheel 0.38.4 pyhd8ed1ab_0 conda-forge xz 5.2.6 h57fd34a_0 conda-forge"><pre class="notranslate"><code class="notranslate"># packages in environment at /Users/mlondschien/mambaforge/envs/numpy: # # Name Version Build Channel bzip2 1.0.8 h3422bc3_4 conda-forge ca-certificates 2022.12.7 h4653dfc_0 conda-forge libblas 3.9.0 16_osxarm64_openblas conda-forge libcblas 3.9.0 16_osxarm64_openblas conda-forge libcxx 14.0.6 h2692d47_0 conda-forge libffi 3.4.2 h3422bc3_5 conda-forge libgfortran 5.0.0 11_3_0_hd922786_27 conda-forge libgfortran5 11.3.0 hdaf2cc0_27 conda-forge liblapack 3.9.0 16_osxarm64_openblas conda-forge libopenblas 0.3.21 openmp_hc731615_3 conda-forge libsqlite 3.40.0 h76d750c_0 conda-forge libzlib 1.2.13 h03a7124_4 conda-forge llvm-openmp 15.0.6 h7cfbb63_0 conda-forge ncurses 6.3 h07bb92c_1 conda-forge numpy 1.24.0 py311ha92fb03_0 conda-forge openssl 3.0.7 h03a7124_1 conda-forge pip 22.3.1 pyhd8ed1ab_0 conda-forge python 3.11.0 h93c2e33_0_cpython conda-forge python_abi 3.11 3_cp311 conda-forge readline 8.1.2 h46ed386_0 conda-forge scipy 1.9.3 py311h0bcca16_2 conda-forge setuptools 65.6.3 pyhd8ed1ab_0 conda-forge tk 8.6.12 he1e0b03_0 conda-forge tzdata 2022g h191b570_0 conda-forge wheel 0.38.4 pyhd8ed1ab_0 conda-forge xz 5.2.6 h57fd34a_0 conda-forge </code></pre></div> <p dir="auto">Output of <code class="notranslate">conda list</code> on linux-64:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# packages in environment at /home/mlondschien/miniforge3/envs/numpy: # # Name Version Build Channel _libgcc_mutex 0.1 conda_forge conda-forge _openmp_mutex 4.5 2_gnu conda-forge bzip2 1.0.8 h7f98852_4 conda-forge ca-certificates 2022.12.7 ha878542_0 conda-forge ld_impl_linux-64 2.39 hcc3a1bd_1 conda-forge libblas 3.9.0 16_linux64_openblas conda-forge libcblas 3.9.0 16_linux64_openblas conda-forge libffi 3.4.2 h7f98852_5 conda-forge libgcc-ng 12.2.0 h65d4601_19 conda-forge libgfortran-ng 12.2.0 h69a702a_19 conda-forge libgfortran5 12.2.0 h337968e_19 conda-forge libgomp 12.2.0 h65d4601_19 conda-forge liblapack 3.9.0 16_linux64_openblas conda-forge libnsl 2.0.0 h7f98852_0 conda-forge libopenblas 0.3.21 pthreads_h78a6416_3 conda-forge libsqlite 3.40.0 h753d276_0 conda-forge libstdcxx-ng 12.2.0 h46fd767_19 conda-forge libuuid 2.32.1 h7f98852_1000 conda-forge libzlib 1.2.13 h166bdaf_4 conda-forge ncurses 6.3 h27087fc_1 conda-forge numpy 1.24.0 pypi_0 pypi openssl 3.0.7 h0b41bf4_1 conda-forge pip 22.3.1 pyhd8ed1ab_0 conda-forge python 3.11.0 ha86cf86_0_cpython conda-forge python_abi 3.11 3_cp311 conda-forge readline 8.1.2 h0f457ee_0 conda-forge scipy 1.9.3 pypi_0 pypi setuptools 65.6.3 pyhd8ed1ab_0 conda-forge tk 8.6.12 h27826a3_0 conda-forge tzdata 2022g h191b570_0 conda-forge wheel 0.38.4 pyhd8ed1ab_0 conda-forge xz 5.2.6 h166bdaf_0 conda-forge"><pre class="notranslate"><code class="notranslate"># packages in environment at /home/mlondschien/miniforge3/envs/numpy: # # Name Version Build Channel _libgcc_mutex 0.1 conda_forge conda-forge _openmp_mutex 4.5 2_gnu conda-forge bzip2 1.0.8 h7f98852_4 conda-forge ca-certificates 2022.12.7 ha878542_0 conda-forge ld_impl_linux-64 2.39 hcc3a1bd_1 conda-forge libblas 3.9.0 16_linux64_openblas conda-forge libcblas 3.9.0 16_linux64_openblas conda-forge libffi 3.4.2 h7f98852_5 conda-forge libgcc-ng 12.2.0 h65d4601_19 conda-forge libgfortran-ng 12.2.0 h69a702a_19 conda-forge libgfortran5 12.2.0 h337968e_19 conda-forge libgomp 12.2.0 h65d4601_19 conda-forge liblapack 3.9.0 16_linux64_openblas conda-forge libnsl 2.0.0 h7f98852_0 conda-forge libopenblas 0.3.21 pthreads_h78a6416_3 conda-forge libsqlite 3.40.0 h753d276_0 conda-forge libstdcxx-ng 12.2.0 h46fd767_19 conda-forge libuuid 2.32.1 h7f98852_1000 conda-forge libzlib 1.2.13 h166bdaf_4 conda-forge ncurses 6.3 h27087fc_1 conda-forge numpy 1.24.0 pypi_0 pypi openssl 3.0.7 h0b41bf4_1 conda-forge pip 22.3.1 pyhd8ed1ab_0 conda-forge python 3.11.0 ha86cf86_0_cpython conda-forge python_abi 3.11 3_cp311 conda-forge readline 8.1.2 h0f457ee_0 conda-forge scipy 1.9.3 pypi_0 pypi setuptools 65.6.3 pyhd8ed1ab_0 conda-forge tk 8.6.12 h27826a3_0 conda-forge tzdata 2022g h191b570_0 conda-forge wheel 0.38.4 pyhd8ed1ab_0 conda-forge xz 5.2.6 h166bdaf_0 conda-forge </code></pre></div> </details> <h3 dir="auto">Reproduce the code example:</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np Sigma = np.full((5, 5), 0.7) np.fill_diagonal(Sigma, 1) rng = np.random.default_rng(12) X = rng.multivariate_normal(np.zeros(5), Sigma, 1) print(X) from scipy.stats import multivariate_normal X = multivariate_normal(mean=np.zeros(5), cov=Sigma, seed=12).rvs(1) print(X)"><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-v">Sigma</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">full</span>((<span class="pl-c1">5</span>, <span class="pl-c1">5</span>), <span class="pl-c1">0.7</span>) <span class="pl-s1">np</span>.<span class="pl-en">fill_diagonal</span>(<span class="pl-v">Sigma</span>, <span class="pl-c1">1</span>) <span class="pl-s1">rng</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">default_rng</span>(<span class="pl-c1">12</span>) <span class="pl-v">X</span> <span class="pl-c1">=</span> <span class="pl-s1">rng</span>.<span class="pl-en">multivariate_normal</span>(<span class="pl-s1">np</span>.<span class="pl-en">zeros</span>(<span class="pl-c1">5</span>), <span class="pl-v">Sigma</span>, <span class="pl-c1">1</span>) <span class="pl-en">print</span>(<span class="pl-v">X</span>) <span class="pl-k">from</span> <span class="pl-s1">scipy</span>.<span class="pl-s1">stats</span> <span class="pl-k">import</span> <span class="pl-s1">multivariate_normal</span> <span class="pl-v">X</span> <span class="pl-c1">=</span> <span class="pl-en">multivariate_normal</span>(<span class="pl-s1">mean</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-en">zeros</span>(<span class="pl-c1">5</span>), <span class="pl-s1">cov</span><span class="pl-c1">=</span><span class="pl-v">Sigma</span>, <span class="pl-s1">seed</span><span class="pl-c1">=</span><span class="pl-c1">12</span>).<span class="pl-en">rvs</span>(<span class="pl-c1">1</span>) <span class="pl-en">print</span>(<span class="pl-v">X</span>)</pre></div> <h3 dir="auto">Error message:</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Runtime information:</h3> <p dir="auto">On osx-arm64:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Python 3.11.0 | packaged by conda-forge | (main, Oct 25 2022, 06:21:25) [Clang 14.0.4 ] on darwin Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information. &gt;&gt;&gt; import sys, numpy; print(numpy.__version__); print(sys.version) 1.24.0 3.11.0 | packaged by conda-forge | (main, Oct 25 2022, 06:21:25) [Clang 14.0.4 ] &gt;&gt;&gt; print(numpy.show_runtime()) [{'simd_extensions': {'baseline': ['NEON', 'NEON_FP16', 'NEON_VFPV4', 'ASIMD'], 'found': ['ASIMDHP', 'ASIMDDP'], 'not_found': ['ASIMDFHM']}}, {'architecture': 'VORTEX', 'filepath': '/Users/mlondschien/mambaforge/envs/numpy/lib/libopenblas.0.dylib', 'internal_api': 'openblas', 'num_threads': 10, 'prefix': 'libopenblas', 'threading_layer': 'openmp', 'user_api': 'blas', 'version': '0.3.21'}, {'filepath': '/Users/mlondschien/mambaforge/envs/numpy/lib/libomp.dylib', 'internal_api': 'openmp', 'num_threads': 10, 'prefix': 'libomp', 'user_api': 'openmp', 'version': None}] None"><pre class="notranslate"><code class="notranslate">Python 3.11.0 | packaged by conda-forge | (main, Oct 25 2022, 06:21:25) [Clang 14.0.4 ] on darwin Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; import sys, numpy; print(numpy.__version__); print(sys.version) 1.24.0 3.11.0 | packaged by conda-forge | (main, Oct 25 2022, 06:21:25) [Clang 14.0.4 ] &gt;&gt;&gt; print(numpy.show_runtime()) [{'simd_extensions': {'baseline': ['NEON', 'NEON_FP16', 'NEON_VFPV4', 'ASIMD'], 'found': ['ASIMDHP', 'ASIMDDP'], 'not_found': ['ASIMDFHM']}}, {'architecture': 'VORTEX', 'filepath': '/Users/mlondschien/mambaforge/envs/numpy/lib/libopenblas.0.dylib', 'internal_api': 'openblas', 'num_threads': 10, 'prefix': 'libopenblas', 'threading_layer': 'openmp', 'user_api': 'blas', 'version': '0.3.21'}, {'filepath': '/Users/mlondschien/mambaforge/envs/numpy/lib/libomp.dylib', 'internal_api': 'openmp', 'num_threads': 10, 'prefix': 'libomp', 'user_api': 'openmp', 'version': None}] None </code></pre></div> <p dir="auto">(I needed to install <code class="notranslate">threadpoolctl</code> for the second result. This did not change the original issue.)</p> <p dir="auto">On linux-64:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Python 3.11.0 | packaged by conda-forge | (main, Oct 25 2022, 06:24:40) [GCC 10.4.0] on linux Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information. &gt;&gt;&gt; import sys, numpy &gt;&gt;&gt; print(numpy.__version__); print(sys.version) 1.24.0 3.11.0 | packaged by conda-forge | (main, Oct 25 2022, 06:24:40) [GCC 10.4.0] &gt;&gt; print(numpy.show_runtime()) [{'simd_extensions': {'baseline': ['SSE', 'SSE2', 'SSE3'], 'found': ['SSSE3', 'SSE41', 'POPCNT', 'SSE42', 'AVX', 'F16C', 'FMA3', 'AVX2'], 'not_found': ['AVX512F', 'AVX512CD', 'AVX512_KNL', 'AVX512_KNM', 'AVX512_SKX', 'AVX512_CLX', 'AVX512_CNL', 'AVX512_ICL']}}, {'architecture': 'Haswell', 'filepath': '/home/mlondschien/miniforge3/envs/numpy/lib/libopenblasp-r0.3.21.so', 'internal_api': 'openblas', 'num_threads': 8, 'prefix': 'libopenblas', 'threading_layer': 'pthreads', 'user_api': 'blas', 'version': '0.3.21'}] None"><pre class="notranslate"><code class="notranslate">Python 3.11.0 | packaged by conda-forge | (main, Oct 25 2022, 06:24:40) [GCC 10.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; import sys, numpy &gt;&gt;&gt; print(numpy.__version__); print(sys.version) 1.24.0 3.11.0 | packaged by conda-forge | (main, Oct 25 2022, 06:24:40) [GCC 10.4.0] &gt;&gt; print(numpy.show_runtime()) [{'simd_extensions': {'baseline': ['SSE', 'SSE2', 'SSE3'], 'found': ['SSSE3', 'SSE41', 'POPCNT', 'SSE42', 'AVX', 'F16C', 'FMA3', 'AVX2'], 'not_found': ['AVX512F', 'AVX512CD', 'AVX512_KNL', 'AVX512_KNM', 'AVX512_SKX', 'AVX512_CLX', 'AVX512_CNL', 'AVX512_ICL']}}, {'architecture': 'Haswell', 'filepath': '/home/mlondschien/miniforge3/envs/numpy/lib/libopenblasp-r0.3.21.so', 'internal_api': 'openblas', 'num_threads': 8, 'prefix': 'libopenblas', 'threading_layer': 'pthreads', 'user_api': 'blas', 'version': '0.3.21'}] None </code></pre></div> <p dir="auto">(Also after installing <code class="notranslate">threadpoolctl</code>)</p> <h3 dir="auto">Context for the issue:</h3> <p dir="auto">Reproducibility is extremely important for scientific research.</p>
0
<h5 dir="auto">Description of the problem</h5> <p dir="auto">When using BasisTextureLoaded with a ShaderPass, the texture will only be used properly if the uniform value is set after the instantiation of the ShaderPass.</p> <blockquote> <p dir="auto">let shaderPass = new ShaderPass( {</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="vertexShader: vertexShader, fragmentShader: fragmentShader, uniforms: { 'tDiffuse': { value: null }, 'tTexture': { value: texture } }"><pre class="notranslate"><code class="notranslate">vertexShader: vertexShader, fragmentShader: fragmentShader, uniforms: { 'tDiffuse': { value: null }, 'tTexture': { value: texture } } </code></pre></div> <p dir="auto">} );</p> <p dir="auto">//Will only work if you add this line.<br> shaderPass.uniforms[ "tTexture" ].value = texture;</p> </blockquote> <p dir="auto">Without this line, the texture2D( tTexture, vUv) will be return vec4( 0., 0., 0., 0. )</p> <p dir="auto">I couldn't create a fiddle.<br> I don't know it it's due to webworkers or to webassembly, or some path issues, but it was a mess.<br> So I created a github repository.<br> <a href="https://github.com/Horsetopus/threejs-basistexturelaoder-shaderpass-issue">https://github.com/Horsetopus/threejs-basistexturelaoder-shaderpass-issue</a></p> <h5 dir="auto">Three.js version</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Dev</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r113</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> ...</li> </ul> <h5 dir="auto">Browser</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Chrome</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Firefox</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Edge</li> <li>Internet Explorer ? just won't work.</li> </ul> <h5 dir="auto">OS</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> All of them</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Windows</li> <li>[?] macOS</li> <li>[?] Linux</li> <li>[?] Android</li> <li>[?] iOS</li> </ul>
<p dir="auto">UniformsUtils.merge use the clone method that does not seem to clone by reference. So uniforms variables are not update into the shader</p> <p dir="auto">So this, is not working:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="uniforms = { time: { type: &quot;f&quot;, value: 1.0 }, }; var material = new THREE.ShaderMaterial( { uniforms: THREE.UniformsUtils.merge( [ THREE.UniformsLib[ &quot;common&quot; ], uniforms ] ), ... ... uniforms.time.value ++;"><pre class="notranslate"><span class="pl-s1">uniforms</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">time</span>: <span class="pl-kos">{</span> <span class="pl-c1">type</span>: <span class="pl-s">"f"</span><span class="pl-kos">,</span> <span class="pl-c1">value</span>: <span class="pl-c1">1.0</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">var</span> <span class="pl-s1">material</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-c1">THREE</span><span class="pl-kos">.</span><span class="pl-c1">ShaderMaterial</span><span class="pl-kos">(</span> <span class="pl-kos">{</span> <span class="pl-c1">uniforms</span>: <span class="pl-c1">THREE</span><span class="pl-kos">.</span><span class="pl-c1">UniformsUtils</span><span class="pl-kos">.</span><span class="pl-en">merge</span><span class="pl-kos">(</span> <span class="pl-kos">[</span> <span class="pl-c1">THREE</span><span class="pl-kos">.</span><span class="pl-c1">UniformsLib</span><span class="pl-kos">[</span> <span class="pl-s">"common"</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s1">uniforms</span> <span class="pl-kos">]</span> <span class="pl-kos">)</span><span class="pl-kos">,</span> ... ... <span class="pl-s1">uniforms</span><span class="pl-kos">.</span><span class="pl-c1">time</span><span class="pl-kos">.</span><span class="pl-c1">value</span> <span class="pl-c1">++</span><span class="pl-kos">;</span></pre></div> <p dir="auto">Here my workaround</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="uniforms = THREE.UniformsUtils.merge([ THREE.UniformsLib[ &quot;common&quot; ], myuniforms ]); uniforms.time={ type: &quot;f&quot;, value: 1.0 }; var groundMaterial = new THREE.ShaderMaterial( { uniforms: uniforms, ... ... uniforms.time.value ++;"><pre class="notranslate"><span class="pl-s1">uniforms</span> <span class="pl-c1">=</span> <span class="pl-c1">THREE</span><span class="pl-kos">.</span><span class="pl-c1">UniformsUtils</span><span class="pl-kos">.</span><span class="pl-en">merge</span><span class="pl-kos">(</span><span class="pl-kos">[</span> <span class="pl-c1">THREE</span><span class="pl-kos">.</span><span class="pl-c1">UniformsLib</span><span class="pl-kos">[</span> <span class="pl-s">"common"</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s1">myuniforms</span> <span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">uniforms</span><span class="pl-kos">.</span><span class="pl-c1">time</span><span class="pl-c1">=</span><span class="pl-kos">{</span> <span class="pl-c1">type</span>: <span class="pl-s">"f"</span><span class="pl-kos">,</span> <span class="pl-c1">value</span>: <span class="pl-c1">1.0</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">groundMaterial</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-c1">THREE</span><span class="pl-kos">.</span><span class="pl-c1">ShaderMaterial</span><span class="pl-kos">(</span> <span class="pl-kos">{</span> <span class="pl-c1">uniforms</span>: <span class="pl-s1">uniforms</span><span class="pl-kos">,</span> ... ... <span class="pl-s1">uniforms</span><span class="pl-kos">.</span><span class="pl-c1">time</span><span class="pl-kos">.</span><span class="pl-c1">value</span> <span class="pl-c1">++</span><span class="pl-kos">;</span></pre></div> <p dir="auto">[r71]</p>
1
<p dir="auto">I'm using IntelliJ CE 2017.2.3 EAP and I get missing plugin warnings in <code class="notranslate">flutter doctor</code> when it seems like everything is installed properly and I have no issues building.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3614291/30086432-0acb906e-9269-11e7-8ae3-b2caca9fba16.png"><img width="1134" alt="screen shot 2017-09-05 at 6 35 37 pm" src="https://user-images.githubusercontent.com/3614291/30086432-0acb906e-9269-11e7-8ae3-b2caca9fba16.png" style="max-width: 100%;"></a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3614291/30086483-3b576ca8-9269-11e7-8c89-7cdf0d7fef3e.png"><img width="1134" alt="screen shot 2017-09-05 at 6 36 43 pm" src="https://user-images.githubusercontent.com/3614291/30086483-3b576ca8-9269-11e7-8c89-7cdf0d7fef3e.png" style="max-width: 100%;"></a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3614291/30086434-0cc628f2-9269-11e7-8695-87b3e74ed9f7.png"><img width="1134" alt="screen shot 2017-09-05 at 6 35 28 pm" src="https://user-images.githubusercontent.com/3614291/30086434-0cc628f2-9269-11e7-8695-87b3e74ed9f7.png" style="max-width: 100%;"></a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3614291/30086486-404288f6-9269-11e7-9458-f363055ef2cd.png"><img width="1134" alt="screen shot 2017-09-05 at 6 36 56 pm" src="https://user-images.githubusercontent.com/3614291/30086486-404288f6-9269-11e7-9458-f363055ef2cd.png" style="max-width: 100%;"></a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="☆ flutter doctor [✓] Flutter (on Mac OS X 10.12.6 16G29, locale en-US, channel master) • Flutter at /Users/albertlardizabal/dev/flutter • Framework revision 321b80961f (85 minutes ago), 2017-09-05 17:00:42 -0400 • Engine revision 29e0c1c281 • Tools Dart version 1.25.0-dev.11.0 [✓] Android toolchain - develop for Android devices (Android SDK 26.0.0) • Android SDK at /Users/albertlardizabal/Library/Android/sdk • Platform android-26, build-tools 26.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06) [✓] iOS toolchain - develop for iOS devices (Xcode 8.3.3) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 8.3.3, Build version 8E3004b • ios-deploy 1.9.0 • CocoaPods version 1.3.1 [✓] Android Studio • Android Studio at /Applications/Android Studio 3.0 Preview.app/Contents • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01) [✓] Android Studio (version 2.3) • Android Studio at /Applications/Android Studio.app/Contents • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06) [-] IntelliJ IDEA Community Edition (version EAP IC-172.3968.1) ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. • For information about installing plugins, see https://flutter.io/intellij-setup/#installing-the-plugins [✓] Connected devices • Pixel • FA71A0302167 • android-arm • Android 7.1.2 (API 25) • SM G930V • a674c503 • android-arm • Android 6.0.1 (API 23) • Albert Lardizabal's iPhone 6 • c0e109b7e55a826627aa0f3e79af8931534f3554 • ios • iOS 11.0 • iPhone • 2cb36c18cfeec63f6a68b3192f094aaf35a626d0 • ios • iOS 10.0.2"><pre class="notranslate"><code class="notranslate">☆ flutter doctor [✓] Flutter (on Mac OS X 10.12.6 16G29, locale en-US, channel master) • Flutter at /Users/albertlardizabal/dev/flutter • Framework revision 321b80961f (85 minutes ago), 2017-09-05 17:00:42 -0400 • Engine revision 29e0c1c281 • Tools Dart version 1.25.0-dev.11.0 [✓] Android toolchain - develop for Android devices (Android SDK 26.0.0) • Android SDK at /Users/albertlardizabal/Library/Android/sdk • Platform android-26, build-tools 26.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06) [✓] iOS toolchain - develop for iOS devices (Xcode 8.3.3) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 8.3.3, Build version 8E3004b • ios-deploy 1.9.0 • CocoaPods version 1.3.1 [✓] Android Studio • Android Studio at /Applications/Android Studio 3.0 Preview.app/Contents • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01) [✓] Android Studio (version 2.3) • Android Studio at /Applications/Android Studio.app/Contents • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06) [-] IntelliJ IDEA Community Edition (version EAP IC-172.3968.1) ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. • For information about installing plugins, see https://flutter.io/intellij-setup/#installing-the-plugins [✓] Connected devices • Pixel • FA71A0302167 • android-arm • Android 7.1.2 (API 25) • SM G930V • a674c503 • android-arm • Android 6.0.1 (API 23) • Albert Lardizabal's iPhone 6 • c0e109b7e55a826627aa0f3e79af8931534f3554 • ios • iOS 11.0 • iPhone • 2cb36c18cfeec63f6a68b3192f094aaf35a626d0 • ios • iOS 10.0.2 </code></pre></div>
<p dir="auto">Hi,</p> <p dir="auto">I have two local instances of Android Studio: 3.3 and 3.4 Preview. Both have the latest available Flutter and Dart plugins installed.</p> <p dir="auto">When I run <code class="notranslate">flutter doctor</code>, it consistently fails to detect the plugins in the second instance.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="flutter doctor -v [✓] Flutter (Channel beta, v1.0.0, on Mac OS X 10.14.2 18C54, locale en-US) • Flutter version 1.0.0 at /Users/julien.cayzac/github/flutter/flutter • Framework revision 5391447fae (8 weeks ago), 2018-11-29 19:41:26 -0800 • Engine revision 7375a0f414 • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297) [✓] Android toolchain - develop for Android devices (Android SDK 28.0.3) • Android SDK at /Users/julien.cayzac/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-28, build-tools 28.0.3 • ANDROID_HOME = /Users/julien.cayzac/Library/Android/sdk • 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-1248-b01) • All Android licenses accepted. [✓] iOS toolchain - develop for iOS devices (Xcode 10.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 10.1, Build version 10B61 • ios-deploy 1.9.4 • CocoaPods version 1.5.3 [✓] Android Studio • Android Studio at /Applications/Android Studio 3.4 Preview.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_152-release-1248-b22) [✓] Android Studio (version 3.3) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 31.3.3 • Dart plugin version 182.5124 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01) [✓] IntelliJ IDEA Community Edition (version 2018.3.2) • IntelliJ at /Applications/IntelliJ IDEA CE.app • Flutter plugin version 31.3.4 • Dart plugin version 183.4886.3 [!] Connected device ! No devices available ! Doctor found issues in 1 category."><pre class="notranslate"><code class="notranslate">flutter doctor -v [✓] Flutter (Channel beta, v1.0.0, on Mac OS X 10.14.2 18C54, locale en-US) • Flutter version 1.0.0 at /Users/julien.cayzac/github/flutter/flutter • Framework revision 5391447fae (8 weeks ago), 2018-11-29 19:41:26 -0800 • Engine revision 7375a0f414 • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297) [✓] Android toolchain - develop for Android devices (Android SDK 28.0.3) • Android SDK at /Users/julien.cayzac/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-28, build-tools 28.0.3 • ANDROID_HOME = /Users/julien.cayzac/Library/Android/sdk • 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-1248-b01) • All Android licenses accepted. [✓] iOS toolchain - develop for iOS devices (Xcode 10.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 10.1, Build version 10B61 • ios-deploy 1.9.4 • CocoaPods version 1.5.3 [✓] Android Studio • Android Studio at /Applications/Android Studio 3.4 Preview.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_152-release-1248-b22) [✓] Android Studio (version 3.3) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 31.3.3 • Dart plugin version 182.5124 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01) [✓] IntelliJ IDEA Community Edition (version 2018.3.2) • IntelliJ at /Applications/IntelliJ IDEA CE.app • Flutter plugin version 31.3.4 • Dart plugin version 183.4886.3 [!] Connected device ! No devices available ! Doctor found issues in 1 category. </code></pre></div>
1
<p dir="auto">Some code:</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#![crate_type=&quot;lib&quot;] pub mod variant0 { pub enum A { A(()) } pub static B: A = A(()); pub fn main() { } } #[cfg(variant1)] pub mod variant1 { pub enum A { A(()) } pub static B: A = A(()); // &lt;-- error here ... // /tmp/s.rs:6:23: 6:28 error: unsupported constant expr // /tmp/s.rs:6 pub static B: A = A(()); // ^~~~~ pub fn main() { match A(()) { B =&gt; (), // ... introduced by use of `B` here _ =&gt; (), } } } #[cfg(variant2)] pub mod variant2 { pub enum C { D=3, E=4 } pub static F : C = D; pub fn main() { match D { F =&gt; (), _ =&gt; (), } } } pub mod variant3 { pub enum C { D=3, E=4 } pub static F : int = 3; pub fn main() { match D as int { F =&gt; (), _ =&gt; (), } } }"><pre class="notranslate"><span class="pl-c1">#!<span class="pl-kos">[</span>crate_type=<span class="pl-s">"lib"</span><span class="pl-kos">]</span></span> <span class="pl-k">pub</span> <span class="pl-k">mod</span> variant0 <span class="pl-kos">{</span> <span class="pl-k">pub</span> <span class="pl-k">enum</span> <span class="pl-smi">A</span> <span class="pl-kos">{</span> <span class="pl-v">A</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">pub</span> <span class="pl-k">static</span> <span class="pl-v">B</span><span class="pl-kos">:</span> <span class="pl-smi">A</span> = <span class="pl-v">A</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">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-kos">}</span> <span class="pl-kos">}</span> <span class="pl-c1">#<span class="pl-kos">[</span>cfg<span class="pl-kos">(</span>variant1<span class="pl-kos">)</span><span class="pl-kos">]</span></span> <span class="pl-k">pub</span> <span class="pl-k">mod</span> variant1 <span class="pl-kos">{</span> <span class="pl-k">pub</span> <span class="pl-k">enum</span> <span class="pl-smi">A</span> <span class="pl-kos">{</span> <span class="pl-v">A</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">pub</span> <span class="pl-k">static</span> <span class="pl-v">B</span><span class="pl-kos">:</span> <span class="pl-smi">A</span> = <span class="pl-v">A</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-c">// &lt;-- error here ...</span> <span class="pl-c">// /tmp/s.rs:6:23: 6:28 error: unsupported constant expr</span> <span class="pl-c">// /tmp/s.rs:6 pub static B: A = A(());</span> <span class="pl-c">// ^~~~~</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">match</span> <span class="pl-v">A</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-v">B</span> =&gt; <span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-c">// ... introduced by use of `B` here</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-c1">#<span class="pl-kos">[</span>cfg<span class="pl-kos">(</span>variant2<span class="pl-kos">)</span><span class="pl-kos">]</span></span> <span class="pl-k">pub</span> <span class="pl-k">mod</span> variant2 <span class="pl-kos">{</span> <span class="pl-k">pub</span> <span class="pl-k">enum</span> <span class="pl-smi">C</span> <span class="pl-kos">{</span> <span class="pl-v">D</span>=<span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-v">E</span>=<span class="pl-c1">4</span> <span class="pl-kos">}</span> <span class="pl-k">pub</span> <span class="pl-k">static</span> <span class="pl-v">F</span> <span class="pl-kos">:</span> <span class="pl-smi">C</span> = <span class="pl-v">D</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">match</span> <span class="pl-v">D</span> <span class="pl-kos">{</span> <span class="pl-v">F</span> =&gt; <span class="pl-kos">(</span><span class="pl-kos">)</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">pub</span> <span class="pl-k">mod</span> variant3 <span class="pl-kos">{</span> <span class="pl-k">pub</span> <span class="pl-k">enum</span> <span class="pl-smi">C</span> <span class="pl-kos">{</span> <span class="pl-v">D</span>=<span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-v">E</span>=<span class="pl-c1">4</span> <span class="pl-kos">}</span> <span class="pl-k">pub</span> <span class="pl-k">static</span> <span class="pl-v">F</span> <span class="pl-kos">:</span> <span class="pl-smi">int</span> = <span class="pl-c1">3</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">match</span> <span class="pl-v">D</span> <span class="pl-k">as</span> <span class="pl-smi">int</span> <span class="pl-kos">{</span> <span class="pl-v">F</span> =&gt; <span class="pl-kos">(</span><span class="pl-kos">)</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></pre></div> <p dir="auto">Some funkiness:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="% rustc /tmp/s.rs % rustc --cfg variant1 /tmp/s.rs /tmp/s.rs:14:23: 14:28 error: unsupported constant expr /tmp/s.rs:14 pub static B: A = A(()); // &lt;-- error here ... ^~~~~ % rustc --cfg variant2 /tmp/s.rs error: internal compiler error: only scalars and strings supported in compare_values note: the compiler hit an unexpected failure path. this is a bug. note: we would appreciate a bug report: http://static.rust-lang.org/doc/master/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace task 'rustc' failed at '~Any', /Users/fklock/Dev/Mozilla/rust.git/src/libsyntax/diagnostic.rs:155 % "><pre class="notranslate"><code class="notranslate">% rustc /tmp/s.rs % rustc --cfg variant1 /tmp/s.rs /tmp/s.rs:14:23: 14:28 error: unsupported constant expr /tmp/s.rs:14 pub static B: A = A(()); // &lt;-- error here ... ^~~~~ % rustc --cfg variant2 /tmp/s.rs error: internal compiler error: only scalars and strings supported in compare_values note: the compiler hit an unexpected failure path. this is a bug. note: we would appreciate a bug report: http://static.rust-lang.org/doc/master/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace task 'rustc' failed at '~Any', /Users/fklock/Dev/Mozilla/rust.git/src/libsyntax/diagnostic.rs:155 % </code></pre></div> <p dir="auto">The oddity in variant1, as noted in the comments, is that the use of <code class="notranslate">B</code> in a match pattern is causing the compiler to complain about its definition as a static item.</p> <p dir="auto">The oddity in variant2 is that we hit an ICE. :)</p>
<p dir="auto">When compiling</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="static val: [u8, ..1] = [0]; fn main() { match [1] { val =&gt; (), _ =&gt; () } }"><pre class="notranslate"><code class="notranslate">static val: [u8, ..1] = [0]; fn main() { match [1] { val =&gt; (), _ =&gt; () } } </code></pre></div> <p dir="auto">The error message</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ rustc errormsg.rs errormsg.rs:1:25: 1:28 error: unsupported constant expr errormsg.rs:1 static val: [u8, ..1] = [0]; ^~~"><pre class="notranslate"><code class="notranslate">$ rustc errormsg.rs errormsg.rs:1:25: 1:28 error: unsupported constant expr errormsg.rs:1 static val: [u8, ..1] = [0]; ^~~ </code></pre></div> <p dir="auto">points towards the definition of the constant and not the match statement which is misleading because the definition of the static value is perfectly fine but not its usage inside the match.</p> <p dir="auto">I am using rust 0.10.</p>
1
<p dir="auto"><strong>Migrated issue, originally created by Anonymous</strong></p> <p dir="auto">I tried to redefine some of my classes and mappers using the declarative extension in 0.4.5, but I couldn't see how to set the schema argument on the table. At runtime, schema==None, which won't work for this application.</p> <p dir="auto">Looking at the code, it appears only "autoload" is honored, and other Table args are ignored.</p> <p dir="auto">Perhaps we could recognize a <strong>schema</strong> attribute on a declarative class?</p>
<p dir="auto"><strong>Migrated issue, originally created by Michael Bayer (<a href="https://github.com/zzzeek">@zzzeek</a>)</strong></p> <p dir="auto">consolidating <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="384616635" data-permission-text="Title is private" data-url="https://github.com/sqlalchemy/sqlalchemy/issues/1328" data-hovercard-type="issue" data-hovercard-url="/sqlalchemy/sqlalchemy/issues/1328/hovercard" href="https://github.com/sqlalchemy/sqlalchemy/issues/1328">#1328</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="384628315" data-permission-text="Title is private" data-url="https://github.com/sqlalchemy/sqlalchemy/issues/2797" data-hovercard-type="issue" data-hovercard-url="/sqlalchemy/sqlalchemy/issues/2797/hovercard" href="https://github.com/sqlalchemy/sqlalchemy/issues/2797">#2797</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="384628720" data-permission-text="Title is private" data-url="https://github.com/sqlalchemy/sqlalchemy/issues/2845" data-hovercard-type="issue" data-hovercard-url="/sqlalchemy/sqlalchemy/issues/2845/hovercard" href="https://github.com/sqlalchemy/sqlalchemy/issues/2845">#2845</a> as these are all dealing with the same thing from different angles.</p> <p dir="auto">SomeClass.some_m2o, which refers to OtherEntity as a many-to-one, would be interpreted:</p> <ol dir="auto"> <li> <p dir="auto">for <code class="notranslate">sess.query(SomeClass.some_m2o)</code> as <code class="notranslate">sess.query(OtherEntity)</code></p> </li> <li> <p dir="auto">for <code class="notranslate">sess.query(SomeClass).filter(SomeClass.some_m2o == OtherEntity)</code> as <code class="notranslate">filter(SomeClass.other_entity_id == OtherEntity.id)</code></p> </li> <li> <p dir="auto">for <code class="notranslate">sess.query(SomeClass).order_by(SomeClass.some_m2o), group_by(SomeClass.some_m2o)</code>, as <code class="notranslate">order_by/group_by SomeClass.other_entity_id</code></p> </li> <li> <p dir="auto">as is currently the case, <code class="notranslate">sess.query(SomeClass).filter(SomeClass.some_m2o == other_entity)</code> compares to other_entity.id</p> </li> </ol> <p dir="auto">any other <code class="notranslate">query.something(SomeClass.m2o..something)</code> type requests should get put here.</p>
0
<p dir="auto">The <code class="notranslate">@gridColumns</code>, <code class="notranslate">@gridColumnWidth</code>, and <code class="notranslate">@gridGutterWidth</code> options previously available on the Bootstrap 2 custom compile page seem to be missing from <a href="http://getbootstrap.com/customize/" rel="nofollow">http://getbootstrap.com/customize/</a>.</p>
<p dir="auto">See:</p> <ul dir="auto"> <li><a href="http://www.paulirish.com/2012/box-sizing-border-box-ftw/" rel="nofollow">http://www.paulirish.com/2012/box-sizing-border-box-ftw/</a></li> <li><a href="http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/" rel="nofollow">http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/</a></li> </ul> <p dir="auto">box-sizing: border-box is currently implemented with a note on avoiding conflicts with third party components:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// Heads up! This reset may cause conflicts with some third-party widgets. // For recommendations on resolving such conflicts, see // http://getbootstrap.com/getting-started/#third-box-sizing * { .box-sizing(border-box); } *:before, *:after { .box-sizing(border-box); }"><pre class="notranslate"><code class="notranslate">// Heads up! This reset may cause conflicts with some third-party widgets. // For recommendations on resolving such conflicts, see // http://getbootstrap.com/getting-started/#third-box-sizing * { .box-sizing(border-box); } *:before, *:after { .box-sizing(border-box); } </code></pre></div> <p dir="auto">Updating the implementation to the following will make it easier to reset box-sizing within components:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; }"><pre class="notranslate"><code class="notranslate">html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; } </code></pre></div> <p dir="auto">Components could simply reset like this and have all their descendant elements inherit correct box-sizing, something that wouldn't work with the current <code class="notranslate">* { box-sizing: border-box }</code> implementation:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=".component { box-sizing: content-box; }"><pre class="notranslate"><code class="notranslate">.component { box-sizing: content-box; } </code></pre></div>
0
<p dir="auto">When using <code class="notranslate">read_excel</code> to read excel files, I have to install <code class="notranslate">xlrd.</code><br> <code class="notranslate">read_excel</code> has parameter <code class="notranslate">engine,</code> but its value only can be <code class="notranslate">None</code> or <code class="notranslate">xlrd.</code><br> <code class="notranslate">ExcelWrite</code> can use <code class="notranslate">openpyxl</code> as <code class="notranslate">engine.</code></p> <p dir="auto">Why we cannot use <code class="notranslate">openpyxl</code> to read excel files in <code class="notranslate">pandas</code>? Or whether I can or not?</p>
<p dir="auto">I took a brief look at the existing code for importing files with xlrd but it looks tightly coupled with that library and not particularly straightforward to adapt.</p> <p dir="auto">I think that the read-only mode of openpyxl would be a good fit for Pandas and would like to work with you to provide the necessary API to go from rows to a dataframe. Data is stored by row so this is the only sensible approach. We will be adding read-support for NumPy types, ie. when passed them, but probably not when reading Excel files.</p>
1
<p dir="auto">If the user waits for few minutes before giving pageoffset to get more results then user is getting duplicated results .This happens as the pageoffset we use for pagination becomes invalid due to merging of druid segments and search starts from offset 0 in new segment. Is there any way to know the pageoffset is valid or not</p>
<p dir="auto">How should I handle the below query in Druid?</p> <p dir="auto">In classic sql, it would be a simple sub-query &amp; a JOIN. (Don't worry, I understand the reasons we don't support JOINs in Druid explained in the spec doc) So I'm wondering, for those experienced with Druid and faced with this problem, what would you do?</p> <h3 dir="auto">Desired Query: For each active user, what is their total purchase amount?</h3> <h3 dir="auto">Data Sources</h3> <p dir="auto"><strong>user_purchases</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="first_name last_name purchase_amount -------------------------------------- james smith 1234 kate johnson 444"><pre class="notranslate"><code class="notranslate">first_name last_name purchase_amount -------------------------------------- james smith 1234 kate johnson 444 </code></pre></div> <p dir="auto"><strong>user_events</strong> (an active user is one with a "sign_up", but no "deactivate" event.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="first_name last_name event -------------------------------------- james smith sign_up kate johson sign_up james smith deactivate"><pre class="notranslate"><code class="notranslate">first_name last_name event -------------------------------------- james smith sign_up kate johson sign_up james smith deactivate </code></pre></div> <h3 dir="auto">Queries:</h3> <p dir="auto">Here is the sloppy way I would currently do it:</p> <ol dir="auto"> <li>Get all "first_name" + "last_name" combinations from user_events that do NOT have a deactivate event.</li> <li>Use some code and turn the resulting (first_name, last_name) pairs into a giant filter clause, possibly with 1000's of conditions. Then do a query on <code class="notranslate">user_purchases</code> using this filter clause.</li> </ol>
0
<p dir="auto">I'm seeing lots of inconsistencies with JSX highlighting in 0.10.5:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/941075/11912828/5f282f1c-a636-11e5-8d46-ffa7ad560741.png"><img src="https://cloud.githubusercontent.com/assets/941075/11912828/5f282f1c-a636-11e5-8d46-ffa7ad560741.png" alt="image" style="max-width: 100%;"></a></p> <ul dir="auto"> <li><code class="notranslate">export</code> and <code class="notranslate">default</code> are keywords and should be colored accordingly</li> <li>A class should be colored too</li> <li><code class="notranslate">render</code> is a method and should be colored accordingly</li> <li><code class="notranslate">const</code> is a keyword and should be colored accordingly</li> <li><code class="notranslate">{'this is a string and has to be colored accordingly'}</code></li> <li>string interpolation should work inside jsx parameters</li> </ul>
<p dir="auto">I've upgraded from 0.10.3 to 0.10.5, and the javascript syntax highlighting doesn't work as well as before (OSX El Capitan):</p> <p dir="auto">from this:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/120693/11912441/d67bc7b2-a63c-11e5-9ab1-05bfc22ee527.png"><img width="264" alt="screen shot 2015-12-19 at 10 36 26" src="https://cloud.githubusercontent.com/assets/120693/11912441/d67bc7b2-a63c-11e5-9ab1-05bfc22ee527.png" style="max-width: 100%;"></a></p> <p dir="auto">to this:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/120693/11912442/d9c21f2a-a63c-11e5-9a76-2e90f76c8b41.png"><img width="230" alt="screen shot 2015-12-19 at 10 38 59" src="https://cloud.githubusercontent.com/assets/120693/11912442/d9c21f2a-a63c-11e5-9a76-2e90f76c8b41.png" style="max-width: 100%;"></a></p> <p dir="auto">I also removed any extension I've installed, but it didn't fix it...</p>
1
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=rgregorie" rel="nofollow">Romeo Gregorie</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-3176?redirect=false" rel="nofollow">SPR-3176</a></strong> and commented</p> <p dir="auto">I was exploring Spring remoting with the jpetstore sample from 2.0.2 release and wasted half a day trying to figure "...table not found..." errors and additionally created hsql database files ending with the \r char.</p> <p dir="auto">It turned out the shell script has DOS line ending. Unfortunately, I did not search here first. Issue SRP-305 reported in 2004 !? addresses the same issue.</p> <p dir="auto">Could someone please fix this issue, so nobody wastes time on it any more. And while you are at it, why not remove the DOS characters all together, from the code too. I doubt they are needed even on the win platform.</p> <hr> <p dir="auto"><strong>Affects:</strong> 2.0.2</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="398051153" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/5035" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/5035/hovercard" href="https://github.com/spring-projects/spring-framework/issues/5035">#5035</a> shell scripts in samples should not have DOS line delimiters (<em><strong>"duplicates"</strong></em>)</li> </ul> <p dir="auto">2 votes, 1 watchers</p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=chrisdutz" rel="nofollow">Christofer Dutz</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-9246?redirect=false" rel="nofollow">SPR-9246</a></strong> and commented</p> <p dir="auto">I implemented a custom PersistenceUnitManager to allow easy merging of persistence-contexts. Unfortunately I cannot use this with Spring 3.1 anymore. Unfortunately the class is implemented in a way, that makes it impossible to extend it in a sensible way.</p> <p dir="auto">Here a link to my custom implementation and it's description:<br> <a href="https://dev.c-ware.de/confluence/display/PUBLIC/Multiple+persistence.xml+in+a+multi-module+application" rel="nofollow">https://dev.c-ware.de/confluence/display/PUBLIC/Multiple+persistence.xml+in+a+multi-module+application</a></p> <p dir="auto">The problem is that the method: preparePersistenceUnitInfos is throwing an IllegalStateException because of multiple persistence-contexts with the same name. Because persistenceUnitInfoNames and persistenceUnitInfos are private, I have no way of overriding the functionality of that class without cloning the entire class, which would be really ugly.</p> <hr> <p dir="auto"><strong>Affects:</strong> 3.1 GA</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="398116044" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13565" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13565/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13565">#13565</a> DefaultPersistenceUnitManager must not reject multiple PersistenceUnits with the same name eagerly (<em><strong>"duplicates"</strong></em>)</li> </ul>
0
<ul dir="auto"> <li>VSCode Version:1.2.0</li> <li>OS Version:Windows 10</li> </ul> <p dir="auto">Steps to Reproduce:</p> <ol dir="auto"> <li>selected text from terminal</li> <li>tried right click. no context menu open</li> </ol>
<ul dir="auto"> <li>VSCode Version: 1.1.1</li> <li>OS Version: Windows 10 Enterprise</li> </ul> <p dir="auto">Steps to Reproduce:</p> <ol dir="auto"> <li>Create a new file and add a few lines of text, separated by newlines</li> <li>Open find dialog, enable regex, use regex "\n"</li> <li>No matches will be found. Expected behavior would be to find the newlines. Also does not work with replace, so you cannot find and replace newlines.</li> </ol>
0
<p dir="auto"><strong>Migrated issue, originally created by Raphaël Slinckx</strong></p> <p dir="auto">Here is a test case yielding different results between sqlalchemy 0.9.9 and 1.0+</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import json from sqlalchemy import create_engine, Column from sqlalchemy.types import TypeDecorator, UnicodeText, Integer from sqlalchemy.ext.mutable import MutableDict from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import Session class JSONDictType(TypeDecorator): impl = UnicodeText def process_bind_param(self, value, dialect): if value is not None: value = unicode(json.dumps(value)) return value def process_result_value(self, value, dialect): if value is not None: value = json.loads(value) return value def JSON(): return MutableDict.as_mutable(JSONDictType) Base = declarative_base() class MyDataClass(Base): __tablename__ = 'my_data' id = Column(Integer, primary_key=True) data = Column(JSON(), default={}, nullable=False) session = Session(create_engine(&quot;sqlite:///:memory:&quot;, echo=True)) Base.metadata.create_all(session.bind) m1 = MyDataClass() session.add(m1) session.flush() # Note: without this, the m1.data is None on sqlalchemy 1.0 m1.data[&quot;test&quot;] = 1 session.commit() m2 = MyDataClass() session.add(m2) session.commit() assert m1.data == {'test': 1} assert m2.data == {} # With sqlalchemy 1.0 this results in # m1.data == {} # m2.data == {'test': 1}"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">json</span> <span class="pl-k">from</span> <span class="pl-s1">sqlalchemy</span> <span class="pl-k">import</span> <span class="pl-s1">create_engine</span>, <span class="pl-v">Column</span> <span class="pl-k">from</span> <span class="pl-s1">sqlalchemy</span>.<span class="pl-s1">types</span> <span class="pl-k">import</span> <span class="pl-v">TypeDecorator</span>, <span class="pl-v">UnicodeText</span>, <span class="pl-v">Integer</span> <span class="pl-k">from</span> <span class="pl-s1">sqlalchemy</span>.<span class="pl-s1">ext</span>.<span class="pl-s1">mutable</span> <span class="pl-k">import</span> <span class="pl-v">MutableDict</span> <span class="pl-k">from</span> <span class="pl-s1">sqlalchemy</span>.<span class="pl-s1">ext</span>.<span class="pl-s1">declarative</span> <span class="pl-k">import</span> <span class="pl-s1">declarative_base</span> <span class="pl-k">from</span> <span class="pl-s1">sqlalchemy</span>.<span class="pl-s1">orm</span> <span class="pl-k">import</span> <span class="pl-v">Session</span> <span class="pl-k">class</span> <span class="pl-v">JSONDictType</span>(<span class="pl-v">TypeDecorator</span>): <span class="pl-s1">impl</span> <span class="pl-c1">=</span> <span class="pl-v">UnicodeText</span> <span class="pl-k">def</span> <span class="pl-en">process_bind_param</span>(<span class="pl-s1">self</span>, <span class="pl-s1">value</span>, <span class="pl-s1">dialect</span>): <span class="pl-k">if</span> <span class="pl-s1">value</span> <span class="pl-c1">is</span> <span class="pl-c1">not</span> <span class="pl-c1">None</span>: <span class="pl-s1">value</span> <span class="pl-c1">=</span> <span class="pl-en">unicode</span>(<span class="pl-s1">json</span>.<span class="pl-en">dumps</span>(<span class="pl-s1">value</span>)) <span class="pl-k">return</span> <span class="pl-s1">value</span> <span class="pl-k">def</span> <span class="pl-en">process_result_value</span>(<span class="pl-s1">self</span>, <span class="pl-s1">value</span>, <span class="pl-s1">dialect</span>): <span class="pl-k">if</span> <span class="pl-s1">value</span> <span class="pl-c1">is</span> <span class="pl-c1">not</span> <span class="pl-c1">None</span>: <span class="pl-s1">value</span> <span class="pl-c1">=</span> <span class="pl-s1">json</span>.<span class="pl-en">loads</span>(<span class="pl-s1">value</span>) <span class="pl-k">return</span> <span class="pl-s1">value</span> <span class="pl-k">def</span> <span class="pl-v">JSON</span>(): <span class="pl-k">return</span> <span class="pl-v">MutableDict</span>.<span class="pl-en">as_mutable</span>(<span class="pl-v">JSONDictType</span>) <span class="pl-v">Base</span> <span class="pl-c1">=</span> <span class="pl-en">declarative_base</span>() <span class="pl-k">class</span> <span class="pl-v">MyDataClass</span>(<span class="pl-v">Base</span>): <span class="pl-s1">__tablename__</span> <span class="pl-c1">=</span> <span class="pl-s">'my_data'</span> <span class="pl-s1">id</span> <span class="pl-c1">=</span> <span class="pl-v">Column</span>(<span class="pl-v">Integer</span>, <span class="pl-s1">primary_key</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-s1">data</span> <span class="pl-c1">=</span> <span class="pl-v">Column</span>(<span class="pl-v">JSON</span>(), <span class="pl-s1">default</span><span class="pl-c1">=</span>{}, <span class="pl-s1">nullable</span><span class="pl-c1">=</span><span class="pl-c1">False</span>) <span class="pl-s1">session</span> <span class="pl-c1">=</span> <span class="pl-v">Session</span>(<span class="pl-en">create_engine</span>(<span class="pl-s">"sqlite:///:memory:"</span>, <span class="pl-s1">echo</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)) <span class="pl-v">Base</span>.<span class="pl-s1">metadata</span>.<span class="pl-en">create_all</span>(<span class="pl-s1">session</span>.<span class="pl-s1">bind</span>) <span class="pl-s1">m1</span> <span class="pl-c1">=</span> <span class="pl-v">MyDataClass</span>() <span class="pl-s1">session</span>.<span class="pl-en">add</span>(<span class="pl-s1">m1</span>) <span class="pl-s1">session</span>.<span class="pl-en">flush</span>() <span class="pl-c"># Note: without this, the m1.data is None on sqlalchemy 1.0</span> <span class="pl-s1">m1</span>.<span class="pl-s1">data</span>[<span class="pl-s">"test"</span>] <span class="pl-c1">=</span> <span class="pl-c1">1</span> <span class="pl-s1">session</span>.<span class="pl-en">commit</span>() <span class="pl-s1">m2</span> <span class="pl-c1">=</span> <span class="pl-v">MyDataClass</span>() <span class="pl-s1">session</span>.<span class="pl-en">add</span>(<span class="pl-s1">m2</span>) <span class="pl-s1">session</span>.<span class="pl-en">commit</span>() <span class="pl-k">assert</span> <span class="pl-s1">m1</span>.<span class="pl-s1">data</span> <span class="pl-c1">==</span> {<span class="pl-s">'test'</span>: <span class="pl-c1">1</span>} <span class="pl-k">assert</span> <span class="pl-s1">m2</span>.<span class="pl-s1">data</span> <span class="pl-c1">==</span> {} <span class="pl-c"># With sqlalchemy 1.0 this results in</span> <span class="pl-c"># m1.data == {}</span> <span class="pl-c"># m2.data == {'test': 1}</span></pre></div> <p dir="auto">As you can see the default={} seemed to work previously (also the m1.data['test'] = 1 worked without the session.flush() just above)</p> <p dir="auto">With the latest version, the dict provided as default seems to be used and re-used resulting in a process-wide globally shared default dict which can lead to catastrophic leaks in a webapp for example. Also the object needs to be flushed before m1.data is populated.</p> <p dir="auto">Maybe this usage was not expected or even discouraged, but I didn't find anything in the docs about this. The closest thing I identified is the change discussed here: <a href="http://docs.sqlalchemy.org/en/latest/changelog/migration_10.html#changes-to-attribute-events-and-other-operations-regarding-attributes-that-have-no-pre-existing-value" rel="nofollow">http://docs.sqlalchemy.org/en/latest/changelog/migration_10.html#changes-to-attribute-events-and-other-operations-regarding-attributes-that-have-no-pre-existing-value</a> and possibly the new default handling.</p> <p dir="auto">What is the expected behavior as of 1.0 ? And how do I get the old behavior using the latest version ?</p>
<p dir="auto"><strong>Migrated issue, originally created by Anonymous</strong></p> <p dir="auto">If I create a join object and then use it as a parameter for relation's <strong>primaryjoin</strong>, the mapper will compile without complaining, but accessing the property that maps to such a relation generates illegal SQL and throws ProgrammingError.</p> <p dir="auto">Ie.:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="class_mapper(Class).add_property('property', relation(OtherClass, primaryjoin=Class.other_id==OtherClass.id)))"><pre class="notranslate"><code class="notranslate">class_mapper(Class).add_property('property', relation(OtherClass, primaryjoin=Class.other_id==OtherClass.id))) </code></pre></div> <p dir="auto">works fine but:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="myjoin=join(Class, OtherCalss, Class.other_id==OtherClass.id) class_mapper(Class).add_property('property', relation(OtherClass, primaryjoin=myjoin))"><pre class="notranslate"><code class="notranslate">myjoin=join(Class, OtherCalss, Class.other_id==OtherClass.id) class_mapper(Class).add_property('property', relation(OtherClass, primaryjoin=myjoin)) </code></pre></div> <p dir="auto">Compiles but throws ProgrammingError on accessing Class.property.</p> <p dir="auto">If a join cannot be used to specify <strong>primaryjoin</strong> then the mapper should complain right away; otherwise, SQLA should somehow extract the join clause from the join when it's used in this way.</p> <p dir="auto">This issue may be related to changeset <a href="5325">5325</a>.</p> <p dir="auto">I've attached a test case that's maybe a little more complicated than necessary but demonstrates the issue clearly.</p> <hr> <p dir="auto">Attachments: <a href="../wiki/imported_issue_attachments/1622/join_as_primaryjoin.py">join_as_primaryjoin.py</a></p>
0
<ul dir="auto"> <li><strong>Electron Version:</strong> <ul dir="auto"> <li>4.0.7</li> </ul> </li> <li><strong>Operating System:</strong> <ul dir="auto"> <li>Linux x86_64 4.20.x</li> </ul> </li> <li><strong>Last Known Working Electron version:</strong>: <ul dir="auto"> <li>3.0.9 (not tested afterwards)</li> </ul> </li> </ul> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">When calling <code class="notranslate">webContents.print</code> and cancelling the native print dialog the callback should be called directly.</p> <h3 dir="auto">Actual Behavior</h3> <p dir="auto">The callback is called after (during?) the window is closed/destroyed.</p> <h3 dir="auto">To Reproduce</h3> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const win = ... win.webContents.print({ printBackground: true }, () =&gt; { log('Printing finished') // ... })"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">win</span> <span class="pl-c1">=</span> ... <span class="pl-s1">win</span><span class="pl-kos">.</span><span class="pl-c1">webContents</span><span class="pl-kos">.</span><span class="pl-en">print</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">printBackground</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-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'Printing finished'</span><span class="pl-kos">)</span> <span class="pl-c">// ...</span> <span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div> <h3 dir="auto">Screenshots</h3> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/22716132/53985690-98cd6c80-411c-11e9-9623-7dbfc0543b58.gif"><img src="https://user-images.githubusercontent.com/22716132/53985690-98cd6c80-411c-11e9-9623-7dbfc0543b58.gif" alt="print_callback" data-animated-image="" style="max-width: 100%;"></a></p> <p dir="auto">The crash in the example happened because the window is destroyed and the callback is called, which normally removes stuff from the window.</p>
<ul dir="auto"> <li>Electron version: 3.0.10</li> <li>Operating System: macOS Mojave and Window 10</li> </ul> <p dir="auto"><strong>Expected Behavior</strong><br> When we cancel the printing (button cancel in the print dialog) after a call to <code class="notranslate">win.webContents.print()</code>, the callback should return something.</p> <p dir="auto"><strong>Actual behavior</strong><br> When we cancel the printing (button cancel in the print dialog) after a call to <code class="notranslate">win.webContents.print()</code>, the callback does return nothing.</p> <p dir="auto"><strong>To Reproduce</strong></p> <p dir="auto">I want to print an HTML page generated by my electron application and saved to a file. The problem with the following code is : when the cancel button is clicked on the print dialog, the newly created window (<code class="notranslate">win</code>) is not closed because the <code class="notranslate">print()</code> callback is not called.</p> <p dir="auto">As it is an hidden window (the user cannot see the window which is still open and close it), each print make a new "ghost" window. Then when the application is closed (quit) on Windows 10, the "ghost" Windows are not closed and the application cannot be launch again (I use <code class="notranslate">app.requestSingleInstanceLock()</code>) without restart the computer or kill each "ghost windows" in the Windows task manager.. This part works fine on macOS as all the "ghost" windows are closed on quit (but this is still an issue since after 50 printing cancelled, we have 50 "ghost" windows)..</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// code on the renderer process import path from 'path' import fs from 'fs' import { remote } from 'electron' print () { const BrowserWindow = remote.BrowserWindow const app = remote.app const htmlFilePath = path.join(app.getPath('temp'), 'print-test.html') const htmlContent = '&lt;!doctype html&gt;&lt;html lang=&quot;fr&quot;&gt;&lt;head&gt;&lt;meta charset=&quot;utf-8&quot;&gt;&lt;title&gt;Page title&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;div id=&quot;app&quot;&gt;&lt;h1&gt;Hello&lt;/h1&gt;&lt;p&gt;Lorem ipsum dolor sit amet, nec ne ferri voluptatum. Paulo omnes vituperata qui ex. Ut dicat mediocrem signiferumque pri. Ad mel alterum tincidunt, vero alterum ei usu. Sit te semper consequuntur, alii quot omittam ea mei, in cum stet pertinacia maiestatis.&lt;/p&gt;&lt;p&gt;Ne mel alii hinc phaedrum. Mel cu ullum philosophia, numquam reprehendunt et mel. Ne pro deleniti torquatos, duo modus omnium ei, mollis expetenda an quo. Minimum accusamus pro eu. No tota pertinax duo, ad pri torquatos mediocritatem.&lt;/p&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;' fs.writeFileSync(htmlFilePath, htmlContent) let win = new BrowserWindow({ width: 800, height: 600, show: false }) // note that this is an hidden window ! win.loadURL('file://' + htmlFilePath) win.on('closed', () =&gt; { win = null }) win.webContents.on('did-finish-load', function () { win.webContents.print({}, function (success) { if (success) { console.log('print success') } // this is not called if the print is canceled (click on the cancel button in the print dialog) win.close() }) }) }"><pre class="notranslate"><span class="pl-c">// code on the renderer process</span> <span class="pl-k">import</span> <span class="pl-s1">path</span> <span class="pl-k">from</span> <span class="pl-s">'path'</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-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">remote</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'electron'</span> <span class="pl-en">print</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-v">BrowserWindow</span> <span class="pl-c1">=</span> <span class="pl-s1">remote</span><span class="pl-kos">.</span><span class="pl-c1">BrowserWindow</span> <span class="pl-k">const</span> <span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-s1">remote</span><span class="pl-kos">.</span><span class="pl-c1">app</span> <span class="pl-k">const</span> <span class="pl-s1">htmlFilePath</span> <span class="pl-c1">=</span> <span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">join</span><span class="pl-kos">(</span><span class="pl-s1">app</span><span class="pl-kos">.</span><span class="pl-en">getPath</span><span class="pl-kos">(</span><span class="pl-s">'temp'</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-s">'print-test.html'</span><span class="pl-kos">)</span> <span class="pl-k">const</span> <span class="pl-s1">htmlContent</span> <span class="pl-c1">=</span> <span class="pl-s">'&lt;!doctype html&gt;&lt;html lang="fr"&gt;&lt;head&gt;&lt;meta charset="utf-8"&gt;&lt;title&gt;Page title&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;div id="app"&gt;&lt;h1&gt;Hello&lt;/h1&gt;&lt;p&gt;Lorem ipsum dolor sit amet, nec ne ferri voluptatum. Paulo omnes vituperata qui ex. Ut dicat mediocrem signiferumque pri. Ad mel alterum tincidunt, vero alterum ei usu. Sit te semper consequuntur, alii quot omittam ea mei, in cum stet pertinacia maiestatis.&lt;/p&gt;&lt;p&gt;Ne mel alii hinc phaedrum. Mel cu ullum philosophia, numquam reprehendunt et mel. Ne pro deleniti torquatos, duo modus omnium ei, mollis expetenda an quo. Minimum accusamus pro eu. No tota pertinax duo, ad pri torquatos mediocritatem.&lt;/p&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;'</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">htmlFilePath</span><span class="pl-kos">,</span> <span class="pl-s1">htmlContent</span><span class="pl-kos">)</span> <span class="pl-k">let</span> <span class="pl-s1">win</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">BrowserWindow</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">width</span>: <span class="pl-c1">800</span><span class="pl-kos">,</span> <span class="pl-c1">height</span>: <span class="pl-c1">600</span><span class="pl-kos">,</span> <span class="pl-c1">show</span>: <span class="pl-c1">false</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c">// note that this is an hidden window !</span> <span class="pl-s1">win</span><span class="pl-kos">.</span><span class="pl-en">loadURL</span><span class="pl-kos">(</span><span class="pl-s">'file://'</span> <span class="pl-c1">+</span> <span class="pl-s1">htmlFilePath</span><span class="pl-kos">)</span> <span class="pl-s1">win</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">'closed'</span><span class="pl-kos">,</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-s1">win</span> <span class="pl-c1">=</span> <span class="pl-c1">null</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-s1">win</span><span class="pl-kos">.</span><span class="pl-c1">webContents</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">'did-finish-load'</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-s1">win</span><span class="pl-kos">.</span><span class="pl-c1">webContents</span><span class="pl-kos">.</span><span class="pl-en">print</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">function</span> <span class="pl-kos">(</span><span class="pl-s1">success</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">success</span><span class="pl-kos">)</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">'print success'</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-c">// this is not called if the print is canceled (click on the cancel button in the print dialog)</span> <span class="pl-s1">win</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></pre></div> <p dir="auto">So I have no idea of how to close the window after a print cancel. Is it a bug that the callback is not called ? How can I workaround this problem ? Thanks</p> <p dir="auto">--<br> It could be linked with this issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="377425791" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/15568" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/15568/hovercard" href="https://github.com/electron/electron/issues/15568">#15568</a>.</p>
1
<h4 dir="auto">Description</h4> <p dir="auto">According to documentation in <a href="http://scikit-learn.org/stable/modules/label_propagation.html" rel="nofollow">http://scikit-learn.org/stable/modules/label_propagation.html</a>, when the alpha parameter, clamping factor, is 1, the algorithm performs hard clamping, which does not allow the labels to change cluster. However this is not the case in the following case. I copied and slightly changed the example found in <a href="http://scikit-learn.org/stable/modules/generated/sklearn.semi_supervised.LabelPropagation.html#sklearn.semi_supervised.LabelPropagation" rel="nofollow">http://scikit-learn.org/stable/modules/generated/sklearn.semi_supervised.LabelPropagation.html#sklearn.semi_supervised.LabelPropagation</a></p> <h4 dir="auto">Steps/Code to Reproduce</h4> <p dir="auto">from sklearn import datasets<br> from sklearn.semi_supervised import LabelPropagation<br> import numpy as np</p> <p dir="auto">np.random.seed(1) # fix random seed</p> <p dir="auto">label_prop_model = LabelPropagation()<br> iris = datasets.load_iris()</p> <p dir="auto">inds = np.random.randint(0, 2,size=len(iris.target))</p> <p dir="auto">random_unlabeled_points = np.where(inds)<br> random_labeleled_points = np.where(inds == 0)<br> labels = np.copy(iris.target)<br> labels[random_unlabeled_points] = -1<br> label_prop_model.fit(iris.data, labels)<br> ypred = label_prop_model.transduction_</p> <p dir="auto">fracunchanged = sum(iris.target[random_labeleled_points] == ypred[random_labeleled_points])/len(iris.target[random_labeleled_points])<br> print(fracunchanged)</p> <h4 dir="auto">Expected Results</h4> <p dir="auto">If for alpha = 1, the algorithm performs hard clamping, I was expecting the transduction labels of the labelled data to be unchanged and equal to the initial labels, therefore the printed fraction should be 1. Any deviation from 1 indicates something is wrong.</p> <h4 dir="auto">Actual Results</h4> <p dir="auto">Actually, I am getting 0.985294117647, indicating some initial labels changed during transduction.</p> <h4 dir="auto">Versions</h4> <p dir="auto">sklearn version: '0.18.1'<br> numpy version: '1.11.2'</p>
<p dir="auto">In some cases the labels don't stay clamped in <code class="notranslate">LabelPropagation</code>. For example:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from sklearn.semi_supervised import LabelPropagation import numpy as np lp = LabelPropagation(kernel = 'knn', n_neighbors = 2) X = np.array([[1.,1.],[1.,0.],[0.,1.]]) y = np.array([1.,0.,-1.]) lp.fit(X,y) print lp print y print lp.transduction_ # Produces: LabelPropagation(alpha=1, gamma=20, kernel='knn', max_iter=30, n_neighbors=2, tol=0.001) [ 1. 0. -1.] [ 0. 0. 1.]"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">semi_supervised</span> <span class="pl-k">import</span> <span class="pl-v">LabelPropagation</span> <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-s1">lp</span> <span class="pl-c1">=</span> <span class="pl-v">LabelPropagation</span>(<span class="pl-s1">kernel</span> <span class="pl-c1">=</span> <span class="pl-s">'knn'</span>, <span class="pl-s1">n_neighbors</span> <span class="pl-c1">=</span> <span class="pl-c1">2</span>) <span class="pl-v">X</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([[<span class="pl-c1">1.</span>,<span class="pl-c1">1.</span>],[<span class="pl-c1">1.</span>,<span class="pl-c1">0.</span>],[<span class="pl-c1">0.</span>,<span class="pl-c1">1.</span>]]) <span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-c1">1.</span>,<span class="pl-c1">0.</span>,<span class="pl-c1">-</span><span class="pl-c1">1.</span>]) <span class="pl-s1">lp</span>.<span class="pl-en">fit</span>(<span class="pl-v">X</span>,<span class="pl-s1">y</span>) <span class="pl-k">print</span> <span class="pl-s1">lp</span> <span class="pl-k">print</span> <span class="pl-s1">y</span> <span class="pl-k">print</span> <span class="pl-s1">lp</span>.<span class="pl-s1">transduction_</span> <span class="pl-c"># Produces:</span> <span class="pl-v">LabelPropagation</span>(<span class="pl-s1">alpha</span><span class="pl-c1">=</span><span class="pl-c1">1</span>, <span class="pl-s1">gamma</span><span class="pl-c1">=</span><span class="pl-c1">20</span>, <span class="pl-s1">kernel</span><span class="pl-c1">=</span><span class="pl-s">'knn'</span>, <span class="pl-s1">max_iter</span><span class="pl-c1">=</span><span class="pl-c1">30</span>, <span class="pl-s1">n_neighbors</span><span class="pl-c1">=</span><span class="pl-c1">2</span>, <span class="pl-s1">tol</span><span class="pl-c1">=</span><span class="pl-c1">0.001</span>) [ <span class="pl-c1">1.</span> <span class="pl-c1">0.</span> <span class="pl-c1">-</span><span class="pl-c1">1.</span>] [ <span class="pl-c1">0.</span> <span class="pl-c1">0.</span> <span class="pl-c1">1.</span>]</pre></div> <p dir="auto">I think the problem occurs in <a href="https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/semi_supervised/label_propagation.py">label_propagation.py</a> at <a href="https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/semi_supervised/label_propagation.py#L235">line 235</a> and <a href="https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/semi_supervised/label_propagation.py#L249">line 249</a>. When <code class="notranslate">alpha</code> is equal to 1, <code class="notranslate">y_static</code> is set to 0 in <a href="https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/semi_supervised/label_propagation.py#L235">line 235</a>, and then <a href="https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/semi_supervised/label_propagation.py#L249">line 249</a> doesn't change <code class="notranslate">self.label_distributions_</code>, whereas it should clamp the values of the labelled data points.</p> <p dir="auto">My understanding from the <a href="http://scikit-learn.org/stable/modules/label_propagation.html" rel="nofollow">documentation</a> is that for <code class="notranslate">LabelPropagation</code> it is always supposed to do hard clamping, and thus it should be completely independent of <code class="notranslate">alpha</code>. I'm not actually sure what the intention was here since the same <code class="notranslate">fit</code> method is used for <code class="notranslate">LabelSpreading</code>.</p>
1
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Microsoft Windows [Version 10.0.18362.239]"><pre lang="none" class="notranslate"><code class="notranslate">Microsoft Windows [Version 10.0.18362.239] </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">Sorry, I don't figure out clearly but this step always make cmd.exe hang. At present, the method that can be reliably reproduced is to start vim.exe at the bottom line of cmd.exe.</p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">Do not hang.</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">Hang.</p> <p dir="auto">FYI, I tried to run this code, but not reproduce.</p> <div class="highlight highlight-source-c notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#include &lt;windows.h&gt; int main(int argc, char* argv[]) { HANDLE h = GetStdHandle(STD_OUTPUT_HANDLE); COORD coord; coord.X = 80; coord.Y = 300; SetConsoleScreenBufferSize(h, coord); return 0; }"><pre class="notranslate"><span class="pl-k">#include</span> <span class="pl-s">&lt;windows.h&gt;</span> <span class="pl-smi">int</span> <span class="pl-en">main</span>(<span class="pl-smi">int</span> <span class="pl-s1">argc</span>, <span class="pl-smi">char</span><span class="pl-c1">*</span> <span class="pl-s1">argv</span>[]) { <span class="pl-smi">HANDLE</span> <span class="pl-s1">h</span> <span class="pl-c1">=</span> <span class="pl-en">GetStdHandle</span>(<span class="pl-c1">STD_OUTPUT_HANDLE</span>); <span class="pl-smi">COORD</span> <span class="pl-s1">coord</span>; <span class="pl-s1">coord</span>.<span class="pl-c1">X</span> <span class="pl-c1">=</span> <span class="pl-c1">80</span>; <span class="pl-s1">coord</span>.<span class="pl-c1">Y</span> <span class="pl-c1">=</span> <span class="pl-c1">300</span>; <span class="pl-en">SetConsoleScreenBufferSize</span>(<span class="pl-s1">h</span>, <span class="pl-s1">coord</span>); <span class="pl-k">return</span> <span class="pl-c1">0</span>; }</pre></div>
<p dir="auto">There is a new feature that appears to automatically generate profiles based on existing WSL distributions.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6083371/65738178-e1f50600-e0d8-11e9-8ecf-6342fccd7be5.png"><img src="https://user-images.githubusercontent.com/6083371/65738178-e1f50600-e0d8-11e9-8ecf-6342fccd7be5.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">I tried messing around with these automatically-generated profiles, and it looks like you can add additional parameters to them, but if you change the GUID, they are regenerated automatically, so I assume there is a hidden GUID associated with each WSL installation.</p> <p dir="auto">However, when I used the wsl.exe -h, I couldn't find a way to verbosely print the GUID, although I assume it's stored somewhere in the registry.</p> <p dir="auto">This "Source" feature as well as the specific profile generator "Windows.Terminal.Wsl" should probably be documented.</p> <p dir="auto">For instance, I would like to be able to pass the <code class="notranslate">~</code> parameter, which tells wsl to launch in the Linux user's $HOME. Is there a way to pass that parameter to the profile generator? Can we build our own profile generators?</p>
0
<p dir="auto"><strong>Is this a request for help?</strong> (If yes, you should use our troubleshooting guide and community support channels, see <a href="http://kubernetes.io/docs/troubleshooting/" rel="nofollow">http://kubernetes.io/docs/troubleshooting/</a>.):<br> yes</p> <p dir="auto"><strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.):</p> <h2 dir="auto">kubectl yaml mapping values are not allowed in this context</h2> <p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one):</p> <p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):<br> v1.2</p> <p dir="auto"><strong>Environment</strong>:</p> <ul dir="auto"> <li><strong>Cloud provider or hardware configuration</strong>:</li> <li><strong>OS</strong> (e.g. from /etc/os-release):<br> CentOS 7</li> <li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>):<br> 3.10</li> <li><strong>Install tools</strong>:<br> yum install</li> <li><strong>Others</strong>:</li> </ul> <p dir="auto"><strong>What happened</strong>:<br> When I execute kubectl create -f X.yaml or kubectl get nodes, I get "error: yaml: line 2: mapping values are not allowed in this context". This is a serious problem. I cannot use kubernetes to manage my cluster.</p> <p dir="auto"><strong>What you expected to happen</strong>:<br> Who can help me to repair this problem.</p> <p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):</p> <p dir="auto"><strong>Anything else do we need to know</strong>:</p>
<p dir="auto">kubernetes-soak-continuous-e2e-gce-1.1 is timeout since Jan 18:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="11:49:43 Kubelet regular resource usage tracking 11:49:43 over 30m0s with 0 pods per node. 11:49:43 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:129 11:49:43 [BeforeEach] Kubelet 11:49:43 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework.go:51 11:49:43 STEP: Creating a kubernetes client 11:49:43 &gt;&gt;&gt; testContext.KubeConfig: /var/lib/jenkins/jobs/kubernetes-soak-weekly-deploy-gce-1.1/workspace/.kube/config 11:49:43 STEP: Building a namespace api object 11:49:43 Jan 18 11:49:43.357: INFO: Waiting up to 2m0s for service account default to be provisioned in ns e2e-tests-kubelet-perf-v1ajy 11:49:43 Jan 18 11:49:43.360: INFO: Get service account default in ns e2e-tests-kubelet-perf-v1ajy failed, ignoring for 2s: serviceaccounts &quot;default&quot; not found 11:49:45 Jan 18 11:49:45.368: INFO: Service account default in ns e2e-tests-kubelet-perf-v1ajy with secrets found. (2.010351595s) 11:49:45 STEP: Waiting for a default service account to be provisioned in namespace 11:49:45 Jan 18 11:49:45.368: INFO: Waiting up to 2m0s for service account default to be provisioned in ns e2e-tests-kubelet-perf-v1ajy 11:49:45 Jan 18 11:49:45.370: INFO: Service account default in ns e2e-tests-kubelet-perf-v1ajy with secrets found. (2.358283ms) 11:49:45 [BeforeEach] Kubelet 11:49:45 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:115 11:49:45 [It] over 30m0s with 0 pods per node. 11:49:45 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:129 11:49:45 STEP: Creating a RC of 0 pods and wait until all pods of this RC are running 11:49:45 STEP: creating replication controller resource0-9fd1ca51-be1c-11e5-b569-42010af01555 in namespace e2e-tests-kubelet-perf-v1ajy 11:49:45 Jan 18 11:49:45.513: INFO: Error getting container info on &quot;gce-soak-weekly-1-1-minion-v8hi&quot;, err: unexpected end of JSON input 11:49:45 Jan 18 11:49:45.522: INFO: Created replication controller with name: resource0-9fd1ca51-be1c-11e5-b569-42010af01555, namespace: e2e-tests-kubelet-perf-v1ajy, replica count: 0 11:49:45 Jan 18 11:49:45.522: INFO: Resource usage on node &quot;gce-soak-weekly-1-1-minion-foyg&quot; is not ready yet 11:49:45 Jan 18 11:49:45.522: INFO: Resource usage on node &quot;gce-soak-weekly-1-1-minion-h26u&quot; is not ready yet 11:49:45 Jan 18 11:49:45.522: INFO: Resource usage on node &quot;gce-soak-weekly-1-1-minion-v8hi&quot; is not ready yet 11:49:45 STEP: Start monitoring resource usage 11:49:45 Jan 18 11:49:45.522: INFO: Still running...29m59.999999254s left 11:49:46 Jan 18 11:49:46.517: INFO: Error getting container info on &quot;gce-soak-weekly-1-1-minion-v8hi&quot;, err: unexpected end of JSON input 11:49:47 Jan 18 11:49:47.523: INFO: Error getting container info on &quot;gce-soak-weekly-1-1-minion-v8hi&quot;, err: unexpected end of JSON input 11:49:48 Jan 18 11:49:48.528: INFO: Error getting container info on &quot;gce-soak-weekly-1-1-minion-v8hi&quot;, err: unexpected end of JSON input 11:49:49 Jan 18 11:49:49.532: INFO: Error getting container info on &quot;gce-soak-weekly-1-1-minion-v8hi&quot;, err: unexpected end of JSON input 11:49:50 Jan 18 11:49:50.537: INFO: Error getting container info on &quot;gce-soak-weekly-1-1-minion-v8hi&quot;, err: unexpected end of JSON input 11:49:51 Jan 18 11:49:51.543: INFO: Error getting container info on &quot;gce-soak-weekly-1-1-minion-v8hi&quot;, err: unexpected end of JSON input 11:49:52 Jan 18 11:49:52.548: INFO: Error getting container info on &quot;gce-soak-weekly-1-1-minion-v8hi&quot;, err: unexpected end of JSON input 11:49:53 Jan 18 11:49:53.552: INFO: Error getting container info on &quot;gce-soak-weekly-1-1-minion-v8hi&quot;, err: unexpected end of JSON input 11:49:54 Jan 18 11:49:54.558: INFO: Error getting container info on &quot;gce-soak-weekly-1-1-minion-v8hi&quot;, err: unexpected end of JSON input 11:49:55 Jan 18 11:49:55.563: INFO: Error getting container info on &quot;gce-soak-weekly-1-1-minion-v8hi&quot;, err: unexpected end of JSON input 11:49:56 Jan 18 11:49:56.568: INFO: Error getting container info on &quot;gce-soak-weekly-1-1-minion-v8hi&quot;, err: unexpected end of JSON input 11:49:57 Jan 18 11:49:57.573: INFO: Error getting container info on &quot;gce-soak-weekly-1-1-minion-v8hi&quot;, err: unexpected end of JSON input 11:49:58 Jan 18 11:49:58.579: INFO: Error getting container info on &quot;gce-soak-weekly-1-1-minion-v8hi&quot;, err: unexpected end of JSON input 11:49:59 Jan 18 11:49:59.584: INFO: Error getting container info on &quot;gce-soak-weekly-1-1-minion-v8hi&quot;, err: unexpected end of JSON input 11:50:00 Jan 18 11:50:00.590: INFO: Error getting container info on &quot;gce-soak-weekly-1-1-minion-v8hi&quot;, err: unexpected end of JSON input 11:50:01 Jan 18 11:50:01.595: INFO: Error getting container info on &quot;gce-soak-weekly-1-1-minion-v8hi&quot;, err: unexpected end of JSON input 11:50:02 Jan 18 11:50:02.599: INFO: Error getting container info on &quot;gce-soak-weekly-1-1-minion-v8hi&quot;, err: unexpected end of JSON input 11:50:03 Jan 18 11:50:03.604: INFO: Error getting container info on &quot;gce-soak-weekly-1-1-minion-v8hi&quot;, err: unexpected end of JSON input"><pre class="notranslate"><code class="notranslate">11:49:43 Kubelet regular resource usage tracking 11:49:43 over 30m0s with 0 pods per node. 11:49:43 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:129 11:49:43 [BeforeEach] Kubelet 11:49:43 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework.go:51 11:49:43 STEP: Creating a kubernetes client 11:49:43 &gt;&gt;&gt; testContext.KubeConfig: /var/lib/jenkins/jobs/kubernetes-soak-weekly-deploy-gce-1.1/workspace/.kube/config 11:49:43 STEP: Building a namespace api object 11:49:43 Jan 18 11:49:43.357: INFO: Waiting up to 2m0s for service account default to be provisioned in ns e2e-tests-kubelet-perf-v1ajy 11:49:43 Jan 18 11:49:43.360: INFO: Get service account default in ns e2e-tests-kubelet-perf-v1ajy failed, ignoring for 2s: serviceaccounts "default" not found 11:49:45 Jan 18 11:49:45.368: INFO: Service account default in ns e2e-tests-kubelet-perf-v1ajy with secrets found. (2.010351595s) 11:49:45 STEP: Waiting for a default service account to be provisioned in namespace 11:49:45 Jan 18 11:49:45.368: INFO: Waiting up to 2m0s for service account default to be provisioned in ns e2e-tests-kubelet-perf-v1ajy 11:49:45 Jan 18 11:49:45.370: INFO: Service account default in ns e2e-tests-kubelet-perf-v1ajy with secrets found. (2.358283ms) 11:49:45 [BeforeEach] Kubelet 11:49:45 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:115 11:49:45 [It] over 30m0s with 0 pods per node. 11:49:45 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:129 11:49:45 STEP: Creating a RC of 0 pods and wait until all pods of this RC are running 11:49:45 STEP: creating replication controller resource0-9fd1ca51-be1c-11e5-b569-42010af01555 in namespace e2e-tests-kubelet-perf-v1ajy 11:49:45 Jan 18 11:49:45.513: INFO: Error getting container info on "gce-soak-weekly-1-1-minion-v8hi", err: unexpected end of JSON input 11:49:45 Jan 18 11:49:45.522: INFO: Created replication controller with name: resource0-9fd1ca51-be1c-11e5-b569-42010af01555, namespace: e2e-tests-kubelet-perf-v1ajy, replica count: 0 11:49:45 Jan 18 11:49:45.522: INFO: Resource usage on node "gce-soak-weekly-1-1-minion-foyg" is not ready yet 11:49:45 Jan 18 11:49:45.522: INFO: Resource usage on node "gce-soak-weekly-1-1-minion-h26u" is not ready yet 11:49:45 Jan 18 11:49:45.522: INFO: Resource usage on node "gce-soak-weekly-1-1-minion-v8hi" is not ready yet 11:49:45 STEP: Start monitoring resource usage 11:49:45 Jan 18 11:49:45.522: INFO: Still running...29m59.999999254s left 11:49:46 Jan 18 11:49:46.517: INFO: Error getting container info on "gce-soak-weekly-1-1-minion-v8hi", err: unexpected end of JSON input 11:49:47 Jan 18 11:49:47.523: INFO: Error getting container info on "gce-soak-weekly-1-1-minion-v8hi", err: unexpected end of JSON input 11:49:48 Jan 18 11:49:48.528: INFO: Error getting container info on "gce-soak-weekly-1-1-minion-v8hi", err: unexpected end of JSON input 11:49:49 Jan 18 11:49:49.532: INFO: Error getting container info on "gce-soak-weekly-1-1-minion-v8hi", err: unexpected end of JSON input 11:49:50 Jan 18 11:49:50.537: INFO: Error getting container info on "gce-soak-weekly-1-1-minion-v8hi", err: unexpected end of JSON input 11:49:51 Jan 18 11:49:51.543: INFO: Error getting container info on "gce-soak-weekly-1-1-minion-v8hi", err: unexpected end of JSON input 11:49:52 Jan 18 11:49:52.548: INFO: Error getting container info on "gce-soak-weekly-1-1-minion-v8hi", err: unexpected end of JSON input 11:49:53 Jan 18 11:49:53.552: INFO: Error getting container info on "gce-soak-weekly-1-1-minion-v8hi", err: unexpected end of JSON input 11:49:54 Jan 18 11:49:54.558: INFO: Error getting container info on "gce-soak-weekly-1-1-minion-v8hi", err: unexpected end of JSON input 11:49:55 Jan 18 11:49:55.563: INFO: Error getting container info on "gce-soak-weekly-1-1-minion-v8hi", err: unexpected end of JSON input 11:49:56 Jan 18 11:49:56.568: INFO: Error getting container info on "gce-soak-weekly-1-1-minion-v8hi", err: unexpected end of JSON input 11:49:57 Jan 18 11:49:57.573: INFO: Error getting container info on "gce-soak-weekly-1-1-minion-v8hi", err: unexpected end of JSON input 11:49:58 Jan 18 11:49:58.579: INFO: Error getting container info on "gce-soak-weekly-1-1-minion-v8hi", err: unexpected end of JSON input 11:49:59 Jan 18 11:49:59.584: INFO: Error getting container info on "gce-soak-weekly-1-1-minion-v8hi", err: unexpected end of JSON input 11:50:00 Jan 18 11:50:00.590: INFO: Error getting container info on "gce-soak-weekly-1-1-minion-v8hi", err: unexpected end of JSON input 11:50:01 Jan 18 11:50:01.595: INFO: Error getting container info on "gce-soak-weekly-1-1-minion-v8hi", err: unexpected end of JSON input 11:50:02 Jan 18 11:50:02.599: INFO: Error getting container info on "gce-soak-weekly-1-1-minion-v8hi", err: unexpected end of JSON input 11:50:03 Jan 18 11:50:03.604: INFO: Error getting container info on "gce-soak-weekly-1-1-minion-v8hi", err: unexpected end of JSON input </code></pre></div>
0
<p dir="auto">Seems like getgrouplist is slightly different on darwin.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ man getgrouplist GETGROUPLIST(3) BSD Library Functions Manual GETGROUPLIST(3) NAME getgrouplist -- calculate partial group access list LIBRARY Standard system libraries. SYNOPSIS #include &lt;unistd.h&gt; int getgrouplist(const char *name, int basegid, int *groups, int *ngroups);"><pre class="notranslate"><code class="notranslate">$ man getgrouplist GETGROUPLIST(3) BSD Library Functions Manual GETGROUPLIST(3) NAME getgrouplist -- calculate partial group access list LIBRARY Standard system libraries. SYNOPSIS #include &lt;unistd.h&gt; int getgrouplist(const char *name, int basegid, int *groups, int *ngroups); </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# os/user os/user/lookup_unix.go:43:35: warning: passing 'gid_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/unistd.h:653:43: note: passing argument to parameter here"><pre class="notranslate"><code class="notranslate"># os/user os/user/lookup_unix.go:43:35: warning: passing 'gid_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/unistd.h:653:43: note: passing argument to parameter here </code></pre></div>
<p dir="auto">Please answer these questions before submitting your issue. Thanks!</p> <ol dir="auto"> <li>What version of Go are you using (<code class="notranslate">go version</code>)?</li> </ol> <p dir="auto">go version devel +8969ab8 Mon Mar 7 22:41:22 2016 +0000 darwin/amd64</p> <ol dir="auto"> <li>What operating system and processor architecture are you using (<code class="notranslate">go env</code>)?</li> </ol> <p dir="auto">mac osx 10.11.3</p> <p dir="auto">gcc --version<br> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/c++/4.2.1<br> Apple LLVM version 7.0.0 (clang-700.0.72)<br> Target: x86_64-apple-darwin15.3.0<br> Thread model: posix</p> <ol dir="auto"> <li>What did you do?</li> </ol> <p dir="auto">./make.bash. I am now seeing</p> <p dir="auto">os/user/lookup_unix.go:43:35: warning: passing 'gid_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]<br> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/unistd.h:653:43: note: passing argument to parameter here</p>
1
<p dir="auto">For historic reasons, scan implementation returns first the count, and then the hits in subsequent requests. While scrolling with regular search returns the first N results immediately.</p> <p dir="auto">It would be nice if SCAN behaved the same as regular scrolling? Maybe even automatically execute in "scan" mode if sort is set to an empty array or something like that, and scan search type is just a flavor on that?</p>
<p dir="auto">Scrolling with the search_type scan have a different initial response compared with scrolling without scan. Scans do not return documents in the initial response, but regular scrolling does. This can be a bit confusing for end users. According to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kimchy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kimchy">@kimchy</a>, this difference is no longer required by the implementation, but is maintained for backwards compatibility. It would be nice if at some point in the future we could do away with this difference.</p>
1
<p dir="auto">Please consider adding an automation language for Visual Studio Code, so that common operations, such as installing many extensions, performing search &amp; replaces, opening folders / files, Git operations, etc. can be streamlined.</p> <p dir="auto">Not a priority, but certainly something that would be helpful and make VSCode much more powerful.</p> <p dir="auto">Cheers,<br> <strong>Trevor Sullivan</strong><br> Microsoft MVP: Cloud &amp; Data Center Management<br> <a href="https://trevorsullivan.net" rel="nofollow">https://trevorsullivan.net</a><br> <a href="https://twitter.com/pcgeek86" rel="nofollow">https://twitter.com/pcgeek86</a></p>
<p dir="auto">Need VIM Mode,Thanks</p>
0
<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"> 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"> 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"> 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> <p dir="auto">As screenshot, electron sends out a http request to get dictionary even if spellcheck is disabled.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2561486/89850546-2b4d2780-dbbd-11ea-804b-e6b6c984d8e3.png"><img src="https://user-images.githubusercontent.com/2561486/89850546-2b4d2780-dbbd-11ea-804b-e6b6c984d8e3.png" alt="image" style="max-width: 100%;"></a></p> <ul dir="auto"> <li><strong>Electron Version:</strong> <ul dir="auto"> <li>9.0.5</li> </ul> </li> <li><strong>Operating System:</strong> <ul dir="auto"> <li> </li> </ul> </li> <li><strong>Last Known Working Electron version:</strong> <ul dir="auto"> <li>latest</li> </ul> </li> </ul> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">There is no any request out if spellcheck is disabled</p> <h3 dir="auto">Actual Behavior</h3> <h3 dir="auto">To Reproduce</h3> <h3 dir="auto">Screenshots</h3> <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 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>11.2.0</li> </ul> </li> <li><strong>Operating System:</strong> <ul dir="auto"> <li>macOS10.14.6</li> </ul> </li> <li><strong>Last Known Working Electron version:</strong> <ul dir="auto"> <li>N/A</li> </ul> </li> </ul> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">I should be able to serve content from multiple protocols. i.e. using the standard <code class="notranslate">file://</code> as well as my custom protocol <code class="notranslate">foo://</code>.</p> <h3 dir="auto">Actual Behavior</h3> <p dir="auto">If I use <code class="notranslate">win.loadFile('index.html')</code> and stay within <code class="notranslate">file://</code>, there is no crash.<br> If I use <code class="notranslate">win.loadURL('foo://abc/deep.htm')</code> and stay within <code class="notranslate">foo://</code>, there is no crash.<br> If index.html has an href-link to <code class="notranslate">foo://....</code> then Electron crashes.</p> <h3 dir="auto">To Reproduce</h3> <p dir="auto">A very simple commit provided on the electron-quick-start: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nkavian/electron-quick-start/commit/7b49ad9f2b3e98205b876c21ce3c859ea6c16877/hovercard" href="https://github.com/nkavian/electron-quick-start/commit/7b49ad9f2b3e98205b876c21ce3c859ea6c16877">nkavian/electron-quick-start@<tt>7b49ad9</tt></a></p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ git clone git@github.com:nkavian/electron-quick-start.git $ cd electron-quick-start $ npm install $ npm start"><pre class="notranslate">$ git clone git@github.com:nkavian/electron-quick-start.git $ <span class="pl-c1">cd</span> electron-quick-start $ npm install $ npm start</pre></div>
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> When running <code class="notranslate">ngc</code> while some modules have default exports:</p> <p dir="auto"><code class="notranslate">some-module.ts</code></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export default { foo, bar };"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-kos">{</span> foo<span class="pl-kos">,</span> bar <span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><code class="notranslate">another-module.ts</code></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import someModule from &quot;./some-module&quot;;"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">someModule</span> <span class="pl-k">from</span> <span class="pl-s">"./some-module"</span><span class="pl-kos">;</span></pre></div> <p dir="auto">The compiler fails to find <code class="notranslate">someModule</code> inside <code class="notranslate">some-module.ts</code> with the following error:</p> <p dir="auto"><code class="notranslate">can't resolve module .some-module from D:/path/to/another-module.ts</code><br> <code class="notranslate">Error: can't find symbol undefined exported from module D:/path/to/some-module.ts</code></p> <p dir="auto">If changed to explicitly-named exports:</p> <p dir="auto"><code class="notranslate">some-module.ts</code></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export var someModule = { foo, bar };"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">var</span> <span class="pl-s1">someModule</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> foo<span class="pl-kos">,</span> bar <span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><code class="notranslate">another-module.ts</code></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { someModule } from &quot;./some-module&quot;;"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">someModule</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"./some-module"</span><span class="pl-kos">;</span></pre></div> <p dir="auto">It now works fine. Obviously, the code does not handle the case of an unnamed default export.</p> <p dir="auto"><strong>Expected behavior</strong><br> The default export should also work.</p> <p dir="auto"><strong>Reproduction of the problem</strong><br> See above example.</p> <p dir="auto"><strong>Please tell us about your environment:</strong><br> Windows 10.</p> <ul dir="auto"> <li><strong>Angular version:</strong> 2.0.0</li> <li><strong>Browser:</strong> all</li> <li><strong>Language:</strong> all</li> <li><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> = v4.3.1</li> </ul>
<p dir="auto"><strong>I'm submitting a ...</strong></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"><pre class="notranslate"><code class="notranslate">[x] bug report =&gt; search github for a similar issue or PR before submitting </code></pre></div> <p dir="auto"><strong>Current behavior</strong><br> To allow a module to be loaded lazily, I define its route like so:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ path: 'report', loadChildren: '/app/report/report.module' }"><pre class="notranslate"><code class="notranslate">{ path: 'report', loadChildren: '/app/report/report.module' } </code></pre></div> <p dir="auto">And I declare it as the default class in <em>report.module.ts</em> so the router will know what to load:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export default class ReportModule {}"><pre class="notranslate"><code class="notranslate">export default class ReportModule {} </code></pre></div> <p dir="auto">Using <code class="notranslate">export default class ReportModule {}</code> instead of <code class="notranslate">export class ReportModule {}</code> when declaring modules breaks <code class="notranslate">ngc</code>. During compilation I get error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="can't resolve module C:/path/to/report.module.ts from C:/path/to/report.module.ts Error: can't find symbol ReportModule exported from module C:/path/to/report.module.ts at ReflectorHost.findDeclaration (C:\path\to\@angular\compiler-cli\src\reflector_host.js:174:23) at _loop_1 (C:\path\to\@angular\compiler-cli\src\codegen.js:52:51) ... Compilation failed"><pre class="notranslate"><code class="notranslate">can't resolve module C:/path/to/report.module.ts from C:/path/to/report.module.ts Error: can't find symbol ReportModule exported from module C:/path/to/report.module.ts at ReflectorHost.findDeclaration (C:\path\to\@angular\compiler-cli\src\reflector_host.js:174:23) at _loop_1 (C:\path\to\@angular\compiler-cli\src\codegen.js:52:51) ... Compilation failed </code></pre></div> <p dir="auto">I left the orientation of the slashes (forward <code class="notranslate">/</code> and back <code class="notranslate">\</code>) as they appear in the console</p> <p dir="auto"><strong>Expected/desired behavior</strong></p> <p dir="auto">An earlier version of <a href="https://angular.io/docs/ts/latest/guide/ngmodule.html" rel="nofollow">the docs</a> on <code class="notranslate">ngModule</code> suggested using <code class="notranslate">export default</code> to expose lazy-loaded modules. This works well with Just-in-Time compilation. So I expected the AoT compiler to be able to parse them as well</p> <p dir="auto"><strong>Reproduction of the problem</strong></p> <p dir="auto">Try compiling an application with a module declared with <code class="notranslate">export default</code></p> <p dir="auto"><strong>Please tell us about your environment:</strong></p> <ul dir="auto"> <li><strong>Angular version:</strong> 2.0.0-rc.6</li> <li><strong>Browser:</strong> [all]</li> <li><strong>Language:</strong> [TypeScript 2]</li> </ul>
1
<p dir="auto">Uncaught Error: spawn pep8 ENOENT</p> <p dir="auto"><strong>Atom Version</strong>: 0.155.0<br> <strong>System</strong>: Mac OS X 10.10.1<br> <strong>Thrown From</strong>: Atom Core</p> <h3 dir="auto">Steps To Reproduce</h3> <ol dir="auto"> <li>...</li> <li>...</li> </ol> <h3 dir="auto">Stack Trace</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At events.js:85 Error: spawn pep8 ENOENT at exports._errnoException (util.js:742:11) at Process.ChildProcess._handle.onexit (child_process.js:1051:32) at child_process.js:1142:20 at process._tickCallback (node.js:378:11) "><pre class="notranslate"><code class="notranslate">At events.js:85 Error: spawn pep8 ENOENT at exports._errnoException (util.js:742:11) at Process.ChildProcess._handle.onexit (child_process.js:1051:32) at child_process.js:1142:20 at process._tickCallback (node.js:378:11) </code></pre></div>
<p dir="auto">Uncaught Error: spawn pep8 ENOENT</p> <p dir="auto"><strong>Atom Version</strong>: 0.153.0<br> <strong>System</strong>: linux 3.13.0-39-generic<br> <strong>Thrown From</strong>: Atom Core</p>
1
<h5 dir="auto">Description of the problem</h5> <p dir="auto">This form is for three.js bug reports and feature requests only.</p> <p dir="auto">This is NOT a help site. Do not ask help questions here.<br> If you need help, please use the <a href="https://discourse.threejs.org/" rel="nofollow">forum</a> or <a href="http://stackoverflow.com/questions/tagged/three.js" rel="nofollow">stackoverflow</a>.</p> <p dir="auto">Describe the bug or feature request in detail.</p> <p dir="auto"><strong>Are there any plans to port the three.js library to WebGL 2.0?</strong></p> <p dir="auto">Always include a code snippet, screenshots, and any relevant models or textures to help us understand your issue.</p> <p dir="auto">Please also include a live example if possible. You can start from these templates:</p> <ul dir="auto"> <li><a href="https://jsfiddle.net/3foLr7sn/" rel="nofollow">jsfiddle</a> (latest release branch)</li> <li><a href="https://jsfiddle.net/qgu17w5o/" rel="nofollow">jsfiddle</a> (dev branch)</li> <li><a href="https://codepen.io/anon/pen/aEBKxR" rel="nofollow">codepen</a> (latest release branch)</li> <li><a href="https://codepen.io/anon/pen/BJWzaN" rel="nofollow">codepen</a> (dev branch)</li> </ul> <h5 dir="auto">Three.js version</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Dev</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r97</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> ...</li> </ul> <h5 dir="auto">Browser</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Chrome</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Firefox</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Internet Explorer</li> </ul> <h5 dir="auto">OS</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Windows</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> macOS</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Linux</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Android</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> iOS</li> </ul> <h5 dir="auto">Hardware Requirements (graphics card, VR Device, ...)</h5> <p dir="auto"><strong>Are there any plans to port the three.js library to WebGL 2.0?</strong></p>
<p dir="auto">This week <a href="https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/VAEv-MUFGC8" rel="nofollow">Chrome announced their intent to ship WebGL 2.0</a> so I guess it's about time to start adding support!</p> <p dir="auto">There are already some PRs that add support to <code class="notranslate">WebGLRenderer</code> for some of the new features but, somehow, it didn't feel it was good idea to make <code class="notranslate">WebGLRenderer</code> support both <code class="notranslate">webgl</code> and <code class="notranslate">webgl2</code>.</p> <p dir="auto">Say hello to <code class="notranslate">WebGL2Renderer</code>! <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/mrdoob/three.js/commit/2ff9d410753b72a5e43b211dc3be26f0f0ab8a0e/hovercard" href="https://github.com/mrdoob/three.js/commit/2ff9d410753b72a5e43b211dc3be26f0f0ab8a0e"><tt>2ff9d41</tt></a> <g-emoji class="g-emoji" alias="wave" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44b.png">👋</g-emoji></p> <p dir="auto">A new renderer not only will save us from tons of conditionals but also will give us the chance of cleaning things up; starting with only supporting <code class="notranslate">BufferGeometry</code> <g-emoji class="g-emoji" alias="v" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/270c.png">✌️</g-emoji></p> <p dir="auto">Sorry for all the people which PRs didn't got merged because of my indecision! <g-emoji class="g-emoji" alias="pensive" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f614.png">😔</g-emoji></p>
1
<p dir="auto">The use case:</p> <p dir="auto">I'm running FastAPI behind a nginx reverse proxy, at the path <code class="notranslate">http://localhost/api/</code>. The documentation front ends (swagger and redoc) are expecting <code class="notranslate">openapi.json</code> at <code class="notranslate">http://localhost/openapi.json</code> but it's actually routed at <code class="notranslate">http://localhost/api/openapi.json</code>.</p> <p dir="auto">Setting <code class="notranslate">openapi_url</code> to <code class="notranslate">/api/openapi.json</code> also changes the <code class="notranslate">openapi.json</code> path, so now it's looking for (through the proxy) <code class="notranslate">http://localhost/api/api/openapi.json</code>.</p> <p dir="auto">Ideally, it'd be great if we could specify the "public path" for the api. That's how e.g. vue does it</p>
<p dir="auto">I have a model that include an ID field, which I return in responses. However, in requests (when POSTing new instances), I don't want the user to be able to specify the ID.</p> <p dir="auto">Similarly to how we can include/exclude fields in the response, we should be able to exclude fields in the request. Declaring more classes just to exclude specific fields is a bit cumbersome, and making the property optional is semantically wrong, since I don't want to let the user specify it at all.</p>
0
<p dir="auto">It is very common to read random rows in a large csv file, typically for testing with a small dataset, or fit the limit of memory. The parameter <code class="notranslate">nrows</code> is used for read the first n lines, but I didn't find any feature to read random lines. Such parameter might be named <code class="notranslate">keeprows</code> (opposite to <code class="notranslate">skiprows</code>), which supports:</p> <ul dir="auto"> <li>int, e.g. <code class="notranslate">keeprows=100</code> means keep 100 random lines (uniformly)</li> <li>float in (0, 1), e.g. <code class="notranslate">keeprows=0.05</code> means keep 5% of total lines</li> <li>list of int(or iterable), e.g. <code class="notranslate">keeprows=[1, 3, 8]</code> mean to keep line 1, 3, and 8</li> </ul>
<p dir="auto">propose an option, <code class="notranslate">sample</code> or <code class="notranslate">keeprows</code> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="178797807" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/14285" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/14285/hovercard" href="https://github.com/pandas-dev/pandas/issues/14285">#14285</a>)</p> <p dir="auto">maybe taking a callable, for really just something like <code class="notranslate">sample=10</code></p> <p dir="auto">to return you every 10th row</p> <p dir="auto">if it takes a callbale couuld use something like: <code class="notranslate">lambda x: x % 10</code></p> <p dir="auto">easy way to get a <code class="notranslate">sample</code> of the csv file</p> <p dir="auto">useful to avoid specifying <code class="notranslate">skiprows</code> with a big list</p> <p dir="auto">and to solve an issue like this:</p> <p dir="auto"><a href="http://stackoverflow.com/questions/15555005/get-inferred-dataframe-types-iteratively-using-chunksize" rel="nofollow">http://stackoverflow.com/questions/15555005/get-inferred-dataframe-types-iteratively-using-chunksize</a></p>
1
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">include and include_tasks</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.4.3.0 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /bin/ansible python version = 2.7.5 (default, Aug 4 2017, 00:39:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]"><pre class="notranslate"><code class="notranslate">ansible 2.4.3.0 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /bin/ansible python version = 2.7.5 (default, Aug 4 2017, 00:39:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <p dir="auto">No change</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">If I run a playbook importing many tasks with "include_tasks" (ansible-loop_include_tasks.tar.gz), it hangs with the error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="OSError: [Errno 12] Cannot allocate memory"><pre class="notranslate"><code class="notranslate">OSError: [Errno 12] Cannot allocate memory </code></pre></div> <p dir="auto">However, if I run the same playbook with "include" (ansible-loop_include.tar.gz) instead of "include_tasks", it finishes successfully.</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <p dir="auto">Attached the following playbooks to replicate this:</p> <ul dir="auto"> <li> <p dir="auto">Using "include_tasks":<br> <a href="https://github.com/ansible/ansible/files/1717114/ansible-loop_include_tasks.tar.gz">ansible-loop_include_tasks.tar.gz</a></p> </li> <li> <p dir="auto">Using "include":<br> <a href="https://github.com/ansible/ansible/files/1717113/ansible-loop_include.tar.gz">ansible-loop_include.tar.gz</a></p> </li> </ul> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">Both of playbooks finishes correctly.</p> <h5 dir="auto">ACTUAL RESULTS</h5> <p dir="auto">When I ran the playbook with "include_tasks" (ansible-loop_include_tasks.tar.gz), I am getting the following error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK [loop : Hello Message] ****************************************************************************************************************************************************************** task path: /home/vagrant/ansible-projects/ansible-loop/loop/tasks/hello-world-32.yml:2 ERROR! Unexpected Exception, this is probably a bug: [Errno 12] Cannot allocate memory the full traceback was: Traceback (most recent call last): File &quot;/bin/ansible-playbook&quot;, line 106, in &lt;module&gt; exit_code = cli.run() File &quot;/usr/lib/python2.7/site-packages/ansible/cli/playbook.py&quot;, line 122, in run results = pbex.run() File &quot;/usr/lib/python2.7/site-packages/ansible/executor/playbook_executor.py&quot;, line 154, in run result = self._tqm.run(play=play) File &quot;/usr/lib/python2.7/site-packages/ansible/executor/task_queue_manager.py&quot;, line 290, in run play_return = strategy.run(iterator, play_context) File &quot;/usr/lib/python2.7/site-packages/ansible/plugins/strategy/linear.py&quot;, line 277, in run self._queue_task(host, task, task_vars, play_context) File &quot;/usr/lib/python2.7/site-packages/ansible/plugins/strategy/__init__.py&quot;, line 254, in _queue_task worker_prc.start() File &quot;/usr/lib64/python2.7/multiprocessing/process.py&quot;, line 130, in start self._popen = Popen(self) File &quot;/usr/lib64/python2.7/multiprocessing/forking.py&quot;, line 121, in __init__ self.pid = os.fork() OSError: [Errno 12] Cannot allocate memory"><pre class="notranslate"><code class="notranslate">TASK [loop : Hello Message] ****************************************************************************************************************************************************************** task path: /home/vagrant/ansible-projects/ansible-loop/loop/tasks/hello-world-32.yml:2 ERROR! Unexpected Exception, this is probably a bug: [Errno 12] Cannot allocate memory the full traceback was: Traceback (most recent call last): File "/bin/ansible-playbook", line 106, in &lt;module&gt; exit_code = cli.run() File "/usr/lib/python2.7/site-packages/ansible/cli/playbook.py", line 122, in run results = pbex.run() File "/usr/lib/python2.7/site-packages/ansible/executor/playbook_executor.py", line 154, in run result = self._tqm.run(play=play) File "/usr/lib/python2.7/site-packages/ansible/executor/task_queue_manager.py", line 290, in run play_return = strategy.run(iterator, play_context) File "/usr/lib/python2.7/site-packages/ansible/plugins/strategy/linear.py", line 277, in run self._queue_task(host, task, task_vars, play_context) File "/usr/lib/python2.7/site-packages/ansible/plugins/strategy/__init__.py", line 254, in _queue_task worker_prc.start() File "/usr/lib64/python2.7/multiprocessing/process.py", line 130, in start self._popen = Popen(self) File "/usr/lib64/python2.7/multiprocessing/forking.py", line 121, in __init__ self.pid = os.fork() OSError: [Errno 12] Cannot allocate memory </code></pre></div>
<p dir="auto">Relative to the setup dir, ansible should treat the following paths just like they were in vars_files:</p> <p dir="auto">./groups/groupname.yml<br> ./vars/hostname.yml</p> <p dir="auto">This will allow people to not have to explicitly duplicate this kind of magic in each playbook, and will give the INI format users a very good way to have complex per-group or per-host data (lists and hashes) if they need it.</p> <p dir="auto">This is step 1 of 2 in allowing us to deprecate the YAML inventory format -- step 2 is to write a migration script.</p>
0
<p dir="auto">Seems to be caused at the model merge stage:</p> <p dir="auto"><a href="https://github.com/keras-team/keras/blob/45c838cc7a0a5830c0a54a2f58f48fc61950eb68/keras/utils/training_utils.py#L172_L177">https://github.com/keras-team/keras/blob/45c838cc7a0a5830c0a54a2f58f48fc61950eb68/keras/utils/training_utils.py#L172_L177</a></p> <p dir="auto">Reproduction of the issue here along with possible change that would suffix the model names running on the GPUs uniquely by index:<br> <a href="https://gist.github.com/BAXTER001/5b2bb9e65b587f893298f09102436ca1">https://gist.github.com/BAXTER001/5b2bb9e65b587f893298f09102436ca1</a><br> <a class="commit-link" href="https://github.com/keras-team/keras/compare/master...BAXTER001:patch-1"><tt>master...BAXTER001:patch-1</tt></a></p>
<p dir="auto">Hi,</p> <p dir="auto">I am using Keras to segment images to road and background pixels. As you can imagine percentage of road pixels are much lower than that of background pixels. Hence, I want to use class_weight= {0:0.05, 1:0.95} while fitting the model so that cnn won't predict every pixel as background. But, when I do this I got the following error:</p> <p dir="auto">File "/usr/local/lib/python2.7/dist-packages/keras/models.py", line 597, in fit<br> sample_weight=sample_weight)<br> File "/usr/local/lib/python2.7/dist-packages/keras/engine/training.py", line 1035, in fit<br> batch_size=batch_size)<br> File "/usr/local/lib/python2.7/dist-packages/keras/engine/training.py", line 973, in _standardize_user_data<br> in zip(y, sample_weights, class_weights, self.sample_weight_modes)]<br> File "/usr/local/lib/python2.7/dist-packages/keras/engine/training.py", line 387, in standardize_weights<br> raise Exception('class_weight not supported for '<br> Exception: class_weight not supported for 3+ dimensional targets.</p> <p dir="auto">My training labels are in this form: (number_of_training_samples=10000, number_of_pixels_in_patch=16384, number_of_classes=2). How can I weight the classes in Keras?</p> <p dir="auto">Thanks in advance.</p>
0
<p dir="auto">I've encountered a very severe bug (Atom 0.198.0) where if you attempt to close a window with tabs with unsaved changes, and you hit cancel in the warning dialog that appears, it closes the window anyway (presumably <em>without</em> saving).</p>
<p dir="auto">It looks like the same issue as <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="32947935" data-permission-text="Title is private" data-url="https://github.com/atom/atom/issues/1989" data-hovercard-type="issue" data-hovercard-url="/atom/atom/issues/1989/hovercard" href="https://github.com/atom/atom/issues/1989">#1989</a>.</p> <p dir="auto">I'm runing 0.142.0 on Windows 7.</p> <p dir="auto">I've tracked it down to three 'beforeunload' handlers being called, one of them honoring the Cancel request but only to have its result flag trampled by the third handler. Could not go further for now.</p> <p dir="auto">It behaves as if "Don't Save" was chosen. <g-emoji class="g-emoji" alias="scream" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f631.png">😱</g-emoji></p> <p dir="auto">(Dismissing the dialog using the close icon does the same, as you would expect.)</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/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <p dir="auto">I wanted to move styled-jsx code to a dedicated variable and then inject it into the <code class="notranslate">render()</code> method like this:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const divstyle = ( &lt;style jsx&gt;{` div { color: red; } `} &lt;/style&gt; );"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">divstyle</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span> <span class="pl-c1">&lt;</span><span class="pl-ent">style</span> <span class="pl-c1">jsx</span><span class="pl-c1">&gt;</span><span class="pl-kos">{</span><span class="pl-s">`</span> <span class="pl-s"> div {</span> <span class="pl-s"> color: red;</span> <span class="pl-s"> }</span> <span class="pl-s"> `</span><span class="pl-kos">}</span> <span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">style</span><span class="pl-c1">&gt;</span> <span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="return ( &lt;div&gt; &lt;div&gt;foo&lt;/div&gt; {divstyle} &lt;/div&gt; );"><pre class="notranslate"><span class="pl-k">return</span> <span class="pl-kos">(</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">div</span><span class="pl-c1">&gt;</span>foo<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-s1">divstyle</span><span class="pl-kos">}</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></pre></div> <p dir="auto">This will inject the style into the DOM but not scoped. In console I see this error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Warning: Received `true` for a non-boolean attribute `jsx`. If you want to write it to the DOM, pass a string instead: jsx=&quot;true&quot; or jsx={value.toString()}."><pre class="notranslate"><code class="notranslate">Warning: Received `true` for a non-boolean attribute `jsx`. If you want to write it to the DOM, pass a string instead: jsx="true" or jsx={value.toString()}. </code></pre></div> <p dir="auto">If I move the <code class="notranslate">&lt;style jsx&gt;</code> part from the variable back into the render method, everything works perfectly.</p> <p dir="auto">What's wrong? Isn't it possible to to use styled-jsx outside of <code class="notranslate">render()</code> ?</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">I'm struggling to make the isomorphic routing work with an express server.<br> The routing works just fine on the server, but when I try to do client side routing via the Link tag I get the flashing 404 and then the page.</p> <p dir="auto">I've read all about the 404 flashing issue in other tickets (like this <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="252066238" data-permission-text="Title is private" data-url="https://github.com/vercel/next.js/issues/2833" data-hovercard-type="issue" data-hovercard-url="/vercel/next.js/issues/2833/hovercard" href="https://github.com/vercel/next.js/issues/2833">#2833</a>), nothing have worked for me.</p> <p dir="auto">I'm wondering if isomorphic routing is possible with express router or I need to use NextJs default router for that?</p> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>next</td> <td>4.1.4</td> </tr> <tr> <td>node</td> <td>8.6.0</td> </tr> <tr> <td>OS</td> <td>HighSierra</td> </tr> <tr> <td>browser</td> <td>Chrome 62</td> </tr> <tr> <td>Express</td> <td>4.15.3</td> </tr> </tbody> </table> <p dir="auto">Thanks!!!</p>
0
<h3 dir="auto">Problem description</h3> <p dir="auto">If there is already an issue concerning this topic, feel free to close.</p> <p dir="auto">When inserting text into the text input component, the IE11 and Edge show a (very large) reset X. Other browsers don't show the x. The size of the x is also not appropriate to the rest of the text(input). It just looks weird.</p> <h3 dir="auto">IE 11</h3> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/2070820/23554706/85727254-0026-11e7-9ea0-adca73460caa.png"><img src="https://cloud.githubusercontent.com/assets/2070820/23554706/85727254-0026-11e7-9ea0-adca73460caa.png" alt="image" style="max-width: 100%;"></a></p> <h3 dir="auto">Edge</h3> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/2070820/23554985/768a47de-0027-11e7-989d-f7ef69c46c26.png"><img src="https://cloud.githubusercontent.com/assets/2070820/23554985/768a47de-0027-11e7-989d-f7ef69c46c26.png" alt="image" style="max-width: 100%;"></a></p> <h3 dir="auto">Link to minimally-working code that reproduces the issue</h3> <p dir="auto"><a href="http://www.material-ui.com/#/components/text-field" rel="nofollow">http://www.material-ui.com/#/components/text-field</a></p> <h3 dir="auto">Versions</h3> <ul dir="auto"> <li>Material-UI: 0.17.0</li> <li>React: 15.4.2</li> <li>Browser: Internet Explorer 11</li> <li>OS: Windows 10</li> </ul>
<h3 dir="auto">Problem description</h3> <p dir="auto">Single-line <code class="notranslate">TextField</code> components render a large 'X', floated to the right, on IE 11 when the field is focused and the code was built with <code class="notranslate">'process.env.NODE_ENV': JSON.stringify('production')</code>.</p> <p dir="auto">In my project:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1571918/17904002/674b9094-6922-11e6-9623-2c5bb1ff373e.png"><img width="817" alt="x" src="https://cloud.githubusercontent.com/assets/1571918/17904002/674b9094-6922-11e6-9623-2c5bb1ff373e.png" style="max-width: 100%;"></a></p> <p dir="auto">In the documentation site:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1571918/17904382/f639dbc0-6923-11e6-82ce-23dcae649e8d.png"><img width="385" alt="x_docs" src="https://cloud.githubusercontent.com/assets/1571918/17904382/f639dbc0-6923-11e6-82ce-23dcae649e8d.png" style="max-width: 100%;"></a></p> ### Steps to reproduce <p dir="auto">In an IE 11 browser, go to <a href="http://www.material-ui.com/#/components/text-field" rel="nofollow">http://www.material-ui.com/#/components/text-field</a> and select the 3rd example (the one with text "Default Value").</p> <h3 dir="auto">Versions</h3> <ul dir="auto"> <li>Material-UI: 0.15.4</li> <li>React: 15.3.1</li> <li>Browser: IE 11, Windows 8.1, in VMWare Fusion on OS X</li> </ul> <h3 dir="auto">Note</h3> <p dir="auto">The 'X' is not present in builds with a <code class="notranslate">JSON.stringify('development')</code> value. It's also not present when setting the <code class="notranslate">multiLine</code> prop. It seems to only present in very specific situations.</p> <p dir="auto">I'm not sure if IE 11 is officially supported by material-ui. In the case it's not, I would still find it valuable to have a discussion of how those of us who wish to support it can monkey-patch our own builds.</p>
1
<h2 dir="auto">Proposal</h2> <p dir="auto">Allow projects to specify list of recommended/required extensions.</p> <h3 dir="auto">Proposed solution</h3> <p dir="auto">For example, vscode may have in the <code class="notranslate">.vscode/settings.json</code></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ &quot;extensions.extendedConfigurations&quot;: { &quot;chrome.debugger&quot;: { &quot;required&quot;: True } } }"><pre class="notranslate"><code class="notranslate">{ "extensions.extendedConfigurations": { "chrome.debugger": { "required": True } } } </code></pre></div> <p dir="auto">When user will open this project - he will see a message if extension has not been installed</p> <blockquote> <p dir="auto">Current project recommend you to install chrome.debugger extension (tasks, debugger or syntax may depend on this extension). Do you want to install it?</p> </blockquote>
<p dir="auto">Similar to what atom provides in the project explorer:</p> <ol dir="auto"> <li>New files are displayed green.</li> <li>Modified are displayed yellow/orange.</li> <li>Ignored files are displayed transparent-ish.</li> </ol> <p dir="auto">Thanks</p>
0
<p dir="auto">Hi, I'm using camera plugin to capture video. I changed multiple lines, but the problem exists in the sample as well. I'm using an <strong>Oneplus 2</strong> (real device) and the quality of the saved video is way to bad.<br> I get 1MB for 10 seconds of video recording. The resolution is fine (1080x1440) but i think the bitrate is not high enough.</p> <p dir="auto">Is there a way to change it?<br> In the CameraPlugin there is this line:</p> <p dir="auto"><code class="notranslate">mediaRecorder.setVideoEncodingBitRate(1024 * 1000);</code></p> <p dir="auto">Or am i the only person facing this problem?</p> <p dir="auto">Question 2: The recorded video has an aspect ratio of 0.75 ( according to the resolution 1080x1440 ).<br> Is there a way to make a portrait video (full height 16 / 9)).</p> <p dir="auto">Greetings Markus</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[√] Flutter (Channel dev, v0.7.0, on Microsoft Windows [Version 10.0.17134.228], locale de-DE) • Flutter version 0.7.0 at C:\src\flutter • Framework revision 09fe34708f (2 days ago), 2018-08-22 10:20:51 -0700 • Engine revision 4b271b2e02 • Dart version 2.1.0-dev.1.0.flutter-69fce633b7 [√] Android toolchain - develop for Android devices (Android SDK 28.0.2) • Android SDK at C:\Users\marku\AppData\Local\Android\sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-28, build-tools 28.0.2 • Java binary at: C:\src\android-studio3.3C6\jre\bin\java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06) • All Android licenses accepted. [√] Android Studio (version 3.2) • Android Studio at C:\Program Files (x86)\android-studio X Flutter plugin not installed; this adds Flutter specific functionality. X Dart plugin not installed; this adds Dart specific functionality. • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02) [√] Android Studio (version 3.3) • Android Studio at C:\src\android-studio3.3C6 X Flutter plugin not installed; this adds Flutter specific functionality. X Dart plugin not installed; this adds Dart specific functionality. • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06) [√] Connected devices (1 available) • ONE A2003 • 500fbec4 • android-arm64 • Android 8.1.0 (API 27) • No issues found!"><pre class="notranslate"><code class="notranslate">[√] Flutter (Channel dev, v0.7.0, on Microsoft Windows [Version 10.0.17134.228], locale de-DE) • Flutter version 0.7.0 at C:\src\flutter • Framework revision 09fe34708f (2 days ago), 2018-08-22 10:20:51 -0700 • Engine revision 4b271b2e02 • Dart version 2.1.0-dev.1.0.flutter-69fce633b7 [√] Android toolchain - develop for Android devices (Android SDK 28.0.2) • Android SDK at C:\Users\marku\AppData\Local\Android\sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-28, build-tools 28.0.2 • Java binary at: C:\src\android-studio3.3C6\jre\bin\java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06) • All Android licenses accepted. [√] Android Studio (version 3.2) • Android Studio at C:\Program Files (x86)\android-studio X Flutter plugin not installed; this adds Flutter specific functionality. X Dart plugin not installed; this adds Dart specific functionality. • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02) [√] Android Studio (version 3.3) • Android Studio at C:\src\android-studio3.3C6 X Flutter plugin not installed; this adds Flutter specific functionality. X Dart plugin not installed; this adds Dart specific functionality. • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06) [√] Connected devices (1 available) • ONE A2003 • 500fbec4 • android-arm64 • Android 8.1.0 (API 27) • No issues found! </code></pre></div>
<p dir="auto">I have a TextFormField with attribute <code class="notranslate">textAlign: TextAlign.right</code>, but when i run the app, the cursor indicator is on the left only if contains 1 character, for more character the cursor go to right<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/14947820/41515107-dae159ba-7282-11e8-8c59-4fd8d778a5a2.PNG"><img src="https://user-images.githubusercontent.com/14947820/41515107-dae159ba-7282-11e8-8c59-4fd8d778a5a2.PNG" alt="capturar" style="max-width: 100%;"></a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/14947820/41515134-f5ae38d0-7282-11e8-9a65-2f46f1ab4b48.PNG"><img src="https://user-images.githubusercontent.com/14947820/41515134-f5ae38d0-7282-11e8-9a65-2f46f1ab4b48.PNG" alt="capturar" style="max-width: 100%;"></a></p>
0
<p dir="auto">I think there is a bug in the method predict of the class _PLS. More specifically, if I choose to scale the dataset during training (scale=True), then the method "predict" does not seem to reverse the scaling operation:</p> <blockquote> <p dir="auto">return Ypred + self.y_mean_</p> </blockquote> <p dir="auto">(line 435 of the source code available at <a href="https://github.com/scikit-learn/scikit-learn/blob/c957249/sklearn/cross_decomposition/pls_.py#L437">https://github.com/scikit-learn/scikit-learn/blob/c957249/sklearn/cross_decomposition/pls_.py#L437</a>)</p> <p dir="auto">I believe that the we should first reverse the scaling operation in each column of Ypred (by using the corresponding component of self.y_std_) :</p> <blockquote> <p dir="auto">return Ypred * self.y_std_ + self.y_mean_</p> </blockquote> <p dir="auto">Am I missing anything here?</p>
<p dir="auto">I am trying to fit some spectral data using PLS, and am having difficulties with the module.</p> <p dir="auto">Essentially, when I use the default value of <code class="notranslate">scale=False</code>, I get a prediction, BUT all my predictions are scaled, and I just cannot figure out how to convert back to my original data space. The same is true for the example code. As you see, the scaled prediction is just off. I assumed that I should be able to revert back to the "unscaled" data using <code class="notranslate">pls_scaled.y_mean_</code> and <code class="notranslate">pls_scaled.y_std_</code>, but that doesn't seem to work for me. Any suggestions would be highly appreciated.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Y = np.array([[0.1, -0.2], [0.9, 1.1], [6.2, 5.9], [11.9, 12.3]]) X = np.array([[0., 0., 1.], [1.,0.,0.], [2.,2.,2.], [2.,5.,4.]]) pls_not_scaled=PLSRegression(n_components=2, scale=False) pls_scaled=PLSRegression(n_components=2, scale=True) pls_not_scaled.fit(X,Y) Out[]: PLSRegression(copy=True, max_iter=500, n_components=2, scale=False, tol=1e-06) pls_scaled.fit(X,Y) Out[]: PLSRegression(copy=True, max_iter=500, n_components=2, scale=True, tol=1e-06) Out[]: PLSRegression(copy=True, max_iter=500, n_components=2, scale=False, tol=1e-06) Y_not_scaled_pred = pls_not_scaled.predict(X) Y_scaled_pred = pls_scaled.predict(X) print(Y) [[ 0.1 -0.2] [ 0.9 1.1] [ 6.2 5.9] [ 11.9 12.3]] print(Y_not_scaled_pred) [[ 0.11029323 -0.09323388] [ 0.86825958 0.77077371] [ 6.24049125 6.31999396] [ 11.88095594 12.1024662 ]] print(Y_scaled_pred) [[ 1.52568016 1.47577156] [ 2.43367318 2.3584298 ] [ 6.25638942 6.26638408] [ 8.88425724 8.99941456]]"><pre class="notranslate"><code class="notranslate">Y = np.array([[0.1, -0.2], [0.9, 1.1], [6.2, 5.9], [11.9, 12.3]]) X = np.array([[0., 0., 1.], [1.,0.,0.], [2.,2.,2.], [2.,5.,4.]]) pls_not_scaled=PLSRegression(n_components=2, scale=False) pls_scaled=PLSRegression(n_components=2, scale=True) pls_not_scaled.fit(X,Y) Out[]: PLSRegression(copy=True, max_iter=500, n_components=2, scale=False, tol=1e-06) pls_scaled.fit(X,Y) Out[]: PLSRegression(copy=True, max_iter=500, n_components=2, scale=True, tol=1e-06) Out[]: PLSRegression(copy=True, max_iter=500, n_components=2, scale=False, tol=1e-06) Y_not_scaled_pred = pls_not_scaled.predict(X) Y_scaled_pred = pls_scaled.predict(X) print(Y) [[ 0.1 -0.2] [ 0.9 1.1] [ 6.2 5.9] [ 11.9 12.3]] print(Y_not_scaled_pred) [[ 0.11029323 -0.09323388] [ 0.86825958 0.77077371] [ 6.24049125 6.31999396] [ 11.88095594 12.1024662 ]] print(Y_scaled_pred) [[ 1.52568016 1.47577156] [ 2.43367318 2.3584298 ] [ 6.25638942 6.26638408] [ 8.88425724 8.99941456]] </code></pre></div> <p dir="auto">For those with a more visual bend:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="plt.grid('on') plt.scatter(Y[:, 0], Y_not_scaled_pred[:, 0], color='blue') plt.scatter(Y[:, 0], Y_scaled_pred[:, 0], color='red') plt.xlabel('Predicted') plt.ylabel('Measured') plt.legend(['not_scaled','scaled'],'lower right')"><pre class="notranslate"><code class="notranslate">plt.grid('on') plt.scatter(Y[:, 0], Y_not_scaled_pred[:, 0], color='blue') plt.scatter(Y[:, 0], Y_scaled_pred[:, 0], color='red') plt.xlabel('Predicted') plt.ylabel('Measured') plt.legend(['not_scaled','scaled'],'lower right') </code></pre></div> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/13950307/11730049/a1fcfa66-9f60-11e5-960f-90fa260eef6a.png"><img src="https://cloud.githubusercontent.com/assets/13950307/11730049/a1fcfa66-9f60-11e5-960f-90fa260eef6a.png" alt="figure_1" style="max-width: 100%;"></a></p>
1
<h1 dir="auto">Description of the new feature/enhancement</h1> <p dir="auto">settings/preference gui please</p> <h1 dir="auto">Proposed technical implementation details (optional)</h1> <p dir="auto">i want gui settings</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 [Versión 10.0.18362.295] Windows Terminal version: 0.4.2382.0"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Versión 10.0.18362.295] Windows Terminal version: 0.4.2382.0 </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <ol dir="auto"> <li>Set the <code class="notranslate">initialRows</code> value to something like 30 rows (a value that makes the openned window has less rows than the maximized window should have).</li> <li>Maximize the window.</li> <li>Run some command with a lot of output (like <code class="notranslate">ps</code>, <code class="notranslate">ls</code>or <code class="notranslate">dir</code>).</li> </ol> <h1 dir="auto">Expected behavior</h1> <ul dir="auto"> <li>The buffersize setted with <code class="notranslate">initialRows</code> gets updated after window size changes.</li> <li>Behavior on PowerShell.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/12416901/64070190-a6763180-cc29-11e9-892d-8ffa4d3f9e24.png"><img src="https://user-images.githubusercontent.com/12416901/64070190-a6763180-cc29-11e9-892d-8ffa4d3f9e24.png" alt="image" style="max-width: 100%;"></a></li> </ul> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/12416901/64070158-146e2900-cc29-11e9-9c70-903fbe72662c.png"><img src="https://user-images.githubusercontent.com/12416901/64070158-146e2900-cc29-11e9-9c70-903fbe72662c.png" alt="image" style="max-width: 100%;"></a></p> <h1 dir="auto">Actual behavior</h1> <ul dir="auto"> <li>After maximizing the window and running <code class="notranslate">ps</code> the buffer size setted with the <code class="notranslate">initialRows</code> value doesn't get updated after the window size changes.</li> </ul> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/12416901/64070198-d7566680-cc29-11e9-8278-8b4fe5c8b138.png"><img src="https://user-images.githubusercontent.com/12416901/64070198-d7566680-cc29-11e9-8278-8b4fe5c8b138.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/12416901/64070205-e3dabf00-cc29-11e9-88f4-45e3500f15b2.png"><img src="https://user-images.githubusercontent.com/12416901/64070205-e3dabf00-cc29-11e9-88f4-45e3500f15b2.png" alt="image" style="max-width: 100%;"></a></p> <ul dir="auto"> <li>The problem gets solved if I open a new tab and run the command again.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/12416901/64070208-f1904480-cc29-11e9-9705-5ebc57e0b609.png"><img src="https://user-images.githubusercontent.com/12416901/64070208-f1904480-cc29-11e9-9705-5ebc57e0b609.png" alt="image" style="max-width: 100%;"></a></li> </ul>
0
<ol dir="auto"> <li>How to convert from given Flask to FastAPI:</li> <li>Will I get better performance doing so in this Kakfa context?</li> </ol> <p dir="auto">producer.py:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from flask import Flask, request, jsonify from kafka import KafkaProducer import json app = Flask(__name__) producer = KafkaProducer(bootstrap_servers='kafka:9092') topic_name = 'messages' @app.route('/', methods=[&quot;POST&quot;]) def send(): app.logger.info(&quot;received message&quot;) content = request.get_json() jd = json.dumps(content).encode('utf-8') producer.send(topic_name, jd) app.logger.info(&quot;sent message&quot;) return jsonify({&quot;status&quot;:&quot;ok&quot;}) if __name__ == '__main__': app.logger.info('Starting server...') app.run(host='0.0.0.0', port=8080)"><pre class="notranslate"><code class="notranslate">from flask import Flask, request, jsonify from kafka import KafkaProducer import json app = Flask(__name__) producer = KafkaProducer(bootstrap_servers='kafka:9092') topic_name = 'messages' @app.route('/', methods=["POST"]) def send(): app.logger.info("received message") content = request.get_json() jd = json.dumps(content).encode('utf-8') producer.send(topic_name, jd) app.logger.info("sent message") return jsonify({"status":"ok"}) if __name__ == '__main__': app.logger.info('Starting server...') app.run(host='0.0.0.0', port=8080) </code></pre></div> <p dir="auto">consumer.py:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from kafka import KafkaConsumer topic_name = 'messages' if __name__ == '__main__': print('Starting consumer...') consumer = KafkaConsumer(topic_name, bootstrap_servers='kafka:9092') print('receiving messages...') for message in consumer: print(f'received message {message}') print('exiting...')"><pre class="notranslate"><code class="notranslate">from kafka import KafkaConsumer topic_name = 'messages' if __name__ == '__main__': print('Starting consumer...') consumer = KafkaConsumer(topic_name, bootstrap_servers='kafka:9092') print('receiving messages...') for message in consumer: print(f'received message {message}') print('exiting...') </code></pre></div> <p dir="auto">producer/okteto.yml:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="name: producer labels: stack.okteto.com/service: producer command: bash environment: - FLASK_DEBUG=1 volumes: - /root/.cache/pip sync: - .:/usr/src/app forward: - 8080:8080 reverse: - 9000:9000 resources: limits: cpu: &quot;1&quot; memory: 2Gi"><pre class="notranslate"><code class="notranslate">name: producer labels: stack.okteto.com/service: producer command: bash environment: - FLASK_DEBUG=1 volumes: - /root/.cache/pip sync: - .:/usr/src/app forward: - 8080:8080 reverse: - 9000:9000 resources: limits: cpu: "1" memory: 2Gi </code></pre></div> <p dir="auto">producer/Dockerfile:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="FROM okteto/python:3 ENV PYTHONUNBUFFERED=1 WORKDIR /usr/src/app COPY requirements.txt requirements.txt RUN pip install -r requirements.txt COPY app.py app.py EXPOSE 8080 CMD [&quot;python&quot;, &quot;app.py&quot; ] "><pre class="notranslate"><code class="notranslate">FROM okteto/python:3 ENV PYTHONUNBUFFERED=1 WORKDIR /usr/src/app COPY requirements.txt requirements.txt RUN pip install -r requirements.txt COPY app.py app.py EXPOSE 8080 CMD ["python", "app.py" ] </code></pre></div> <p dir="auto">consumer/okteto.yml:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="name: consumer labels: stack.okteto.com/service: consumer command: bash volumes: - /root/.cache/pip sync: - .:/usr/src/app reverse: - 9000:9000 resources: limits: cpu: &quot;1&quot; memory: 2Gi"><pre class="notranslate"><code class="notranslate">name: consumer labels: stack.okteto.com/service: consumer command: bash volumes: - /root/.cache/pip sync: - .:/usr/src/app reverse: - 9000:9000 resources: limits: cpu: "1" memory: 2Gi </code></pre></div> <p dir="auto">consumer/Dockerfile:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="FROM okteto/python:3 ENV PYTHONUNBUFFERED=1 WORKDIR /usr/src/app COPY requirements.txt requirements.txt RUN pip install -r requirements.txt COPY app.py app.py EXPOSE 8080 CMD [&quot;python&quot;, &quot;app.py&quot; ]"><pre class="notranslate"><code class="notranslate">FROM okteto/python:3 ENV PYTHONUNBUFFERED=1 WORKDIR /usr/src/app COPY requirements.txt requirements.txt RUN pip install -r requirements.txt COPY app.py app.py EXPOSE 8080 CMD ["python", "app.py" ] </code></pre></div> <p dir="auto">requirements.txt:</p> <p dir="auto">kafka-python<br> Flask==1.1.1</p>
<p dir="auto">After upgrading from 0.55.1 to 0.60.1 all of my endpoints containing an optional trailing slash in the path regex (like "/?") now result in 404 Not Found.</p> <p dir="auto">Example to reproduce in 0.60.1:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from fastapi import FastAPI app = FastAPI() @app.get(&quot;/items/{item_id}/?&quot;) async def read_item(item_id): return {&quot;item_id&quot;: item_id}"><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-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">get</span>(<span class="pl-s">"/items/{item_id}/?"</span>)</span> <span class="pl-k">async</span> <span class="pl-k">def</span> <span class="pl-en">read_item</span>(<span class="pl-s1">item_id</span>): <span class="pl-k">return</span> {<span class="pl-s">"item_id"</span>: <span class="pl-s1">item_id</span>}</pre></div> <h3 dir="auto">Description</h3> <p dir="auto">In 0.55.1 the above code works fine, allowing the optional trailing slash as expected. In 0.60.1 this behavior is now resulting in 404 Not Found with or without the trailing slash.</p> <p dir="auto">Reproduce By:</p> <ul dir="auto"> <li>Open the browser and call the endpoint <code class="notranslate">/items/1/</code> or <code class="notranslate">/items/1</code>.</li> <li>It returns 404 Not Found but expected is {"item_id": 1}</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>OS: Reproduced on Windows 10 and Ubuntu</li> <li>FastAPI Version: 0.60.1 (upgraded from 0.55.1)</li> <li>Python version: 3.6</li> </ul>
0
<p dir="auto">when using x.nest.land, which <strong>redirects</strong> to the arweave URL</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/28438021/97530340-e674a800-19d7-11eb-8dea-cc7b635be274.png"><img src="https://user-images.githubusercontent.com/28438021/97530340-e674a800-19d7-11eb-8dea-cc7b635be274.png" alt="image" style="max-width: 100%;"></a></p> <details><summary>full error</summary> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="error: TS2345 [ERROR]: Argument of type 'import(&quot;https://x.nest.land/std@0.74.0/log/logger.ts&quot;).LogRecord' is not assignable to parameter of type 'import(&quot;https://nghbeaead2s4n5znqogrk627qxhfdfterapmd3orofnyqlfusora.arweave.net/aY4SAIAepcb3LYONFXtfhc5RlmSIHsHt0XFbiCy0k6I/log/logger.ts&quot;).LogRecord'. Property '#args' in type 'LogRecord' refers to a different member that cannot be accessed from within type 'LogRecord'. handler.handle(record); ~~~~~~ at https://x.nest.land/std@0.74.0/log/logger.ts:116:22 TS2416 [ERROR]: Property 'format' in type 'ConsoleHandler' is not assignable to the same property in base type 'BaseHandler'. Type '(logRecord: import(&quot;https://x.nest.land/std@0.74.0/log/logger.ts&quot;).LogRecord) =&gt; string' is not assignable to type '(logRecord: import(&quot;https://nghbeaead2s4n5znqogrk627qxhfdfterapmd3orofnyqlfusora.arweave.net/aY4SAIAepcb3LYONFXtfhc5RlmSIHsHt0XFbiCy0k6I/log/logger.ts&quot;).LogRecord) =&gt; string'. Types of parameters 'logRecord' and 'logRecord' are incompatible. Type 'import(&quot;https://nghbeaead2s4n5znqogrk627qxhfdfterapmd3orofnyqlfusora.arweave.net/aY4SAIAepcb3LYONFXtfhc5RlmSIHsHt0XFbiCy0k6I/log/logger.ts&quot;).LogRecord' is not assignable to type 'import(&quot;https://x.nest.land/std@0.74.0/log/logger.ts&quot;).LogRecord'. Property '#args' in type 'LogRecord' refers to a different member that cannot be accessed from within type 'LogRecord'. format(logRecord: LogRecord): string { ~~~~~~ at file:///C:/Users/maela/code/gh/nestdotland/eggs/src/utilities/log.ts:35:3 TS2416 [ERROR]: Property 'format' in type 'FileHandler' is not assignable to the same property in base type 'BaseHandler'. Type '(logRecord: import(&quot;https://x.nest.land/std@0.74.0/log/logger.ts&quot;).LogRecord) =&gt; string' is not assignable to type '(logRecord: import(&quot;https://nghbeaead2s4n5znqogrk627qxhfdfterapmd3orofnyqlfusora.arweave.net/aY4SAIAepcb3LYONFXtfhc5RlmSIHsHt0XFbiCy0k6I/log/logger.ts&quot;).LogRecord) =&gt; string'. Types of parameters 'logRecord' and 'logRecord' are incompatible. Type 'import(&quot;https://nghbeaead2s4n5znqogrk627qxhfdfterapmd3orofnyqlfusora.arweave.net/aY4SAIAepcb3LYONFXtfhc5RlmSIHsHt0XFbiCy0k6I/log/logger.ts&quot;).LogRecord' is not assignable to type 'import(&quot;https://x.nest.land/std@0.74.0/log/logger.ts&quot;).LogRecord'. format(logRecord: LogRecord): string { ~~~~~~ at file:///C:/Users/maela/code/gh/nestdotland/eggs/src/utilities/log.ts:77:3 TS2322 [ERROR]: Type 'ConsoleHandler' is not assignable to type 'BaseHandler'. Types of property 'format' are incompatible. Type '(logRecord: import(&quot;https://x.nest.land/std@0.74.0/log/logger.ts&quot;).LogRecord) =&gt; string' is not assignable to type '(logRecord: import(&quot;https://nghbeaead2s4n5znqogrk627qxhfdfterapmd3orofnyqlfusora.arweave.net/aY4SAIAepcb3LYONFXtfhc5RlmSIHsHt0XFbiCy0k6I/log/logger.ts&quot;).LogRecord) =&gt; string'. Types of parameters 'logRecord' and 'logRecord' are incompatible. Type 'import(&quot;https://nghbeaead2s4n5znqogrk627qxhfdfterapmd3orofnyqlfusora.arweave.net/aY4SAIAepcb3LYONFXtfhc5RlmSIHsHt0XFbiCy0k6I/log/logger.ts&quot;).LogRecord' is not assignable to type 'import(&quot;https://x.nest.land/std@0.74.0/log/logger.ts&quot;).LogRecord'. console: new ConsoleHandler(debugEnabled ? &quot;DEBUG&quot; : &quot;INFO&quot;), ~~~~~~~ at file:///C:/Users/maela/code/gh/nestdotland/eggs/src/utilities/log.ts:122:7 TS2322 [ERROR]: Type 'FileHandler' is not assignable to type 'BaseHandler'. Types of property 'format' are incompatible. Type '(logRecord: import(&quot;https://x.nest.land/std@0.74.0/log/logger.ts&quot;).LogRecord) =&gt; string' is not assignable to type '(logRecord: import(&quot;https://nghbeaead2s4n5znqogrk627qxhfdfterapmd3orofnyqlfusora.arweave.net/aY4SAIAepcb3LYONFXtfhc5RlmSIHsHt0XFbiCy0k6I/log/logger.ts&quot;).LogRecord) =&gt; string'. Types of parameters 'logRecord' and 'logRecord' are incompatible. Type 'import(&quot;https://nghbeaead2s4n5znqogrk627qxhfdfterapmd3orofnyqlfusora.arweave.net/aY4SAIAepcb3LYONFXtfhc5RlmSIHsHt0XFbiCy0k6I/log/logger.ts&quot;).LogRecord' is not assignable to type 'import(&quot;https://x.nest.land/std@0.74.0/log/logger.ts&quot;).LogRecord'. file: new FileHandler(&quot;DEBUG&quot;), ~~~~ at file:///C:/Users/maela/code/gh/nestdotland/eggs/src/utilities/log.ts:123:7 Found 5 errors."><pre class="notranslate">error: <span class="pl-smi">TS2345</span> <span class="pl-kos">[</span><span class="pl-smi">ERROR</span><span class="pl-kos">]</span>: <span class="pl-smi">Argument</span> <span class="pl-k">of</span> <span class="pl-k">type</span> <span class="pl-s">'import("https://x.nest.land/std@0.74.0/log/logger.ts").LogRecord'</span> <span class="pl-s1">is</span> <span class="pl-s1">not</span> <span class="pl-s1">assignable</span> <span class="pl-s1">to</span> <span class="pl-s1">parameter</span> <span class="pl-s1">of</span> <span class="pl-k">type</span> <span class="pl-s">'import("https://nghbeaead2s4n5znqogrk627qxhfdfterapmd3orofnyqlfusora.arweave.net/aY4SAIAepcb3LYONFXtfhc5RlmSIHsHt0XFbiCy0k6I/log/logger.ts").LogRecord'</span><span class="pl-kos">.</span> <span class="pl-c1">Property</span><span class="pl-kos"></span> <span class="pl-s">'#args'</span> <span class="pl-k">in</span> <span class="pl-k">type</span> <span class="pl-s">'LogRecord'</span> <span class="pl-s1">refers</span> <span class="pl-s1">to</span> <span class="pl-s1">a</span> <span class="pl-s1">different</span> <span class="pl-s1">member</span> <span class="pl-s1">that</span> <span class="pl-s1">cannot</span> <span class="pl-s1">be</span> <span class="pl-s1">accessed</span> <span class="pl-s1">from</span> <span class="pl-s1">within</span> <span class="pl-s1">type</span> <span class="pl-s">'LogRecord'</span><span class="pl-kos">.</span> <span class="pl-c1">handler</span><span class="pl-kos">.</span><span class="pl-en">handle</span><span class="pl-kos">(</span><span class="pl-s1">record</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c1">~</span><span class="pl-c1">~</span><span class="pl-c1">~</span><span class="pl-c1">~</span><span class="pl-c1">~</span><span class="pl-c1">~</span> <span class="pl-s1">at</span> <span class="pl-s1">https</span>:<span class="pl-c">//x.nest.land/std@0.74.0/log/logger.ts:116:22</span> <span class="pl-smi">TS2416</span> <span class="pl-kos">[</span><span class="pl-smi">ERROR</span><span class="pl-kos">]</span>: <span class="pl-smi">Property</span> <span class="pl-s">'format'</span> <span class="pl-k">in</span> <span class="pl-k">type</span> <span class="pl-s">'ConsoleHandler'</span> <span class="pl-s1">is</span> <span class="pl-s1">not</span> <span class="pl-s1">assignable</span> <span class="pl-s1">to</span> <span class="pl-s1">the</span> <span class="pl-s1">same</span> <span class="pl-s1">property</span> <span class="pl-k">in</span> <span class="pl-s1">base</span> <span class="pl-s1">type</span> <span class="pl-s">'BaseHandler'</span><span class="pl-kos">.</span> <span class="pl-c1">Type</span> <span class="pl-s">'(logRecord: import("https://x.nest.land/std@0.74.0/log/logger.ts").LogRecord) =&gt; string'</span> <span class="pl-s1">is</span> <span class="pl-s1">not</span> <span class="pl-s1">assignable</span> <span class="pl-s1">to</span> <span class="pl-s1">type</span> <span class="pl-s">'(logRecord: import("https://nghbeaead2s4n5znqogrk627qxhfdfterapmd3orofnyqlfusora.arweave.net/aY4SAIAepcb3LYONFXtfhc5RlmSIHsHt0XFbiCy0k6I/log/logger.ts").LogRecord) =&gt; string'</span><span class="pl-kos">.</span> <span class="pl-c1">Types</span> <span class="pl-k">of</span> <span class="pl-s1">parameters</span> <span class="pl-s">'logRecord'</span> <span class="pl-s1">and</span> <span class="pl-s">'logRecord'</span> <span class="pl-s1">are</span> <span class="pl-s1">incompatible</span><span class="pl-kos">.</span> <span class="pl-c1">Type</span> <span class="pl-s">'import("https://nghbeaead2s4n5znqogrk627qxhfdfterapmd3orofnyqlfusora.arweave.net/aY4SAIAepcb3LYONFXtfhc5RlmSIHsHt0XFbiCy0k6I/log/logger.ts").LogRecord'</span> <span class="pl-s1">is</span> <span class="pl-s1">not</span> <span class="pl-s1">assignable</span> <span class="pl-s1">to</span> <span class="pl-s1">type</span> <span class="pl-s">'import("https://x.nest.land/std@0.74.0/log/logger.ts").LogRecord'</span><span class="pl-kos">.</span> <span class="pl-c1">Property</span><span class="pl-kos"></span> <span class="pl-s">'#args'</span> <span class="pl-k">in</span> <span class="pl-k">type</span> <span class="pl-s">'LogRecord'</span> <span class="pl-s1">refers</span> <span class="pl-s1">to</span> <span class="pl-s1">a</span> <span class="pl-s1">different</span> <span class="pl-s1">member</span> <span class="pl-s1">that</span> <span class="pl-s1">cannot</span> <span class="pl-s1">be</span> <span class="pl-s1">accessed</span> <span class="pl-s1">from</span> <span class="pl-s1">within</span> <span class="pl-s1">type</span> <span class="pl-s">'LogRecord'</span><span class="pl-kos">.</span> <span class="pl-en">format</span><span class="pl-kos">(</span><span class="pl-s1">logRecord</span>: <span class="pl-smi">LogRecord</span><span class="pl-kos">)</span>: string <span class="pl-kos">{</span> <span class="pl-c1">~</span><span class="pl-c1">~</span><span class="pl-c1">~</span><span class="pl-c1">~</span><span class="pl-c1">~</span><span class="pl-c1">~</span> <span class="pl-s1">at</span> <span class="pl-s1">file</span>:<span class="pl-c">///C:/Users/maela/code/gh/nestdotland/eggs/src/utilities/log.ts:35:3</span> <span class="pl-smi">TS2416</span> <span class="pl-kos">[</span><span class="pl-smi">ERROR</span><span class="pl-kos">]</span>: <span class="pl-smi">Property</span> <span class="pl-s">'format'</span> <span class="pl-k">in</span> <span class="pl-k">type</span> <span class="pl-s">'FileHandler'</span> <span class="pl-s1">is</span> <span class="pl-s1">not</span> <span class="pl-s1">assignable</span> <span class="pl-s1">to</span> <span class="pl-s1">the</span> <span class="pl-s1">same</span> <span class="pl-s1">property</span> <span class="pl-k">in</span> <span class="pl-s1">base</span> <span class="pl-s1">type</span> <span class="pl-s">'BaseHandler'</span><span class="pl-kos">.</span> <span class="pl-c1">Type</span> <span class="pl-s">'(logRecord: import("https://x.nest.land/std@0.74.0/log/logger.ts").LogRecord) =&gt; string'</span> <span class="pl-s1">is</span> <span class="pl-s1">not</span> <span class="pl-s1">assignable</span> <span class="pl-s1">to</span> <span class="pl-s1">type</span> <span class="pl-s">'(logRecord: import("https://nghbeaead2s4n5znqogrk627qxhfdfterapmd3orofnyqlfusora.arweave.net/aY4SAIAepcb3LYONFXtfhc5RlmSIHsHt0XFbiCy0k6I/log/logger.ts").LogRecord) =&gt; string'</span><span class="pl-kos">.</span> <span class="pl-c1">Types</span> <span class="pl-k">of</span> <span class="pl-s1">parameters</span> <span class="pl-s">'logRecord'</span> <span class="pl-s1">and</span> <span class="pl-s">'logRecord'</span> <span class="pl-s1">are</span> <span class="pl-s1">incompatible</span><span class="pl-kos">.</span> <span class="pl-c1">Type</span> <span class="pl-s">'import("https://nghbeaead2s4n5znqogrk627qxhfdfterapmd3orofnyqlfusora.arweave.net/aY4SAIAepcb3LYONFXtfhc5RlmSIHsHt0XFbiCy0k6I/log/logger.ts").LogRecord'</span> <span class="pl-s1">is</span> <span class="pl-s1">not</span> <span class="pl-s1">assignable</span> <span class="pl-s1">to</span> <span class="pl-s1">type</span> <span class="pl-s">'import("https://x.nest.land/std@0.74.0/log/logger.ts").LogRecord'</span><span class="pl-kos">.</span> <span class="pl-en">format</span><span class="pl-kos">(</span><span class="pl-s1">logRecord</span>: <span class="pl-smi">LogRecord</span><span class="pl-kos">)</span>: string <span class="pl-kos">{</span> <span class="pl-c1">~</span><span class="pl-c1">~</span><span class="pl-c1">~</span><span class="pl-c1">~</span><span class="pl-c1">~</span><span class="pl-c1">~</span> <span class="pl-s1">at</span> <span class="pl-s1">file</span>:<span class="pl-c">///C:/Users/maela/code/gh/nestdotland/eggs/src/utilities/log.ts:77:3</span> <span class="pl-smi">TS2322</span> <span class="pl-kos">[</span><span class="pl-smi">ERROR</span><span class="pl-kos">]</span>: <span class="pl-smi">Type</span> <span class="pl-s">'ConsoleHandler'</span> <span class="pl-s1">is</span> <span class="pl-s1">not</span> <span class="pl-s1">assignable</span> <span class="pl-s1">to</span> <span class="pl-s1">type</span> <span class="pl-s">'BaseHandler'</span><span class="pl-kos">.</span> <span class="pl-c1">Types</span> <span class="pl-k">of</span> <span class="pl-s1">property</span> <span class="pl-s">'format'</span> <span class="pl-s1">are</span> <span class="pl-s1">incompatible</span><span class="pl-kos">.</span> <span class="pl-c1">Type</span> <span class="pl-s">'(logRecord: import("https://x.nest.land/std@0.74.0/log/logger.ts").LogRecord) =&gt; string'</span> <span class="pl-s1">is</span> <span class="pl-s1">not</span> <span class="pl-s1">assignable</span> <span class="pl-s1">to</span> <span class="pl-s1">type</span> <span class="pl-s">'(logRecord: import("https://nghbeaead2s4n5znqogrk627qxhfdfterapmd3orofnyqlfusora.arweave.net/aY4SAIAepcb3LYONFXtfhc5RlmSIHsHt0XFbiCy0k6I/log/logger.ts").LogRecord) =&gt; string'</span><span class="pl-kos">.</span> <span class="pl-c1">Types</span> <span class="pl-k">of</span> <span class="pl-s1">parameters</span> <span class="pl-s">'logRecord'</span> <span class="pl-s1">and</span> <span class="pl-s">'logRecord'</span> <span class="pl-s1">are</span> <span class="pl-s1">incompatible</span><span class="pl-kos">.</span> <span class="pl-c1">Type</span> <span class="pl-s">'import("https://nghbeaead2s4n5znqogrk627qxhfdfterapmd3orofnyqlfusora.arweave.net/aY4SAIAepcb3LYONFXtfhc5RlmSIHsHt0XFbiCy0k6I/log/logger.ts").LogRecord'</span> <span class="pl-s1">is</span> <span class="pl-s1">not</span> <span class="pl-s1">assignable</span> <span class="pl-s1">to</span> <span class="pl-s1">type</span> <span class="pl-s">'import("https://x.nest.land/std@0.74.0/log/logger.ts").LogRecord'</span><span class="pl-kos">.</span> <span class="pl-c1">console</span>: <span class="pl-k">new</span> <span class="pl-smi">ConsoleHandler</span><span class="pl-kos">(</span><span class="pl-s1">debugEnabled</span> ? <span class="pl-s">"DEBUG"</span> : <span class="pl-s">"INFO"</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-c1">~</span><span class="pl-c1">~</span><span class="pl-c1">~</span><span class="pl-c1">~</span><span class="pl-c1">~</span><span class="pl-c1">~</span><span class="pl-c1">~</span> <span class="pl-s1">at</span> <span class="pl-s1">file</span>:<span class="pl-c">///C:/Users/maela/code/gh/nestdotland/eggs/src/utilities/log.ts:122:7</span> <span class="pl-smi">TS2322</span> <span class="pl-kos">[</span><span class="pl-smi">ERROR</span><span class="pl-kos">]</span>: <span class="pl-smi">Type</span> <span class="pl-s">'FileHandler'</span> <span class="pl-s1">is</span> <span class="pl-s1">not</span> <span class="pl-s1">assignable</span> <span class="pl-s1">to</span> <span class="pl-s1">type</span> <span class="pl-s">'BaseHandler'</span><span class="pl-kos">.</span> <span class="pl-c1">Types</span> <span class="pl-k">of</span> <span class="pl-s1">property</span> <span class="pl-s">'format'</span> <span class="pl-s1">are</span> <span class="pl-s1">incompatible</span><span class="pl-kos">.</span> <span class="pl-c1">Type</span> <span class="pl-s">'(logRecord: import("https://x.nest.land/std@0.74.0/log/logger.ts").LogRecord) =&gt; string'</span> <span class="pl-s1">is</span> <span class="pl-s1">not</span> <span class="pl-s1">assignable</span> <span class="pl-s1">to</span> <span class="pl-s1">type</span> <span class="pl-s">'(logRecord: import("https://nghbeaead2s4n5znqogrk627qxhfdfterapmd3orofnyqlfusora.arweave.net/aY4SAIAepcb3LYONFXtfhc5RlmSIHsHt0XFbiCy0k6I/log/logger.ts").LogRecord) =&gt; string'</span><span class="pl-kos">.</span> <span class="pl-c1">Types</span> <span class="pl-k">of</span> <span class="pl-s1">parameters</span> <span class="pl-s">'logRecord'</span> <span class="pl-s1">and</span> <span class="pl-s">'logRecord'</span> <span class="pl-s1">are</span> <span class="pl-s1">incompatible</span><span class="pl-kos">.</span> <span class="pl-c1">Type</span> <span class="pl-s">'import("https://nghbeaead2s4n5znqogrk627qxhfdfterapmd3orofnyqlfusora.arweave.net/aY4SAIAepcb3LYONFXtfhc5RlmSIHsHt0XFbiCy0k6I/log/logger.ts").LogRecord'</span> <span class="pl-s1">is</span> <span class="pl-s1">not</span> <span class="pl-s1">assignable</span> <span class="pl-s1">to</span> <span class="pl-s1">type</span> <span class="pl-s">'import("https://x.nest.land/std@0.74.0/log/logger.ts").LogRecord'</span><span class="pl-kos">.</span> <span class="pl-c1">file</span>: <span class="pl-k">new</span> <span class="pl-smi">FileHandler</span><span class="pl-kos">(</span><span class="pl-s">"DEBUG"</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-c1">~</span><span class="pl-c1">~</span><span class="pl-c1">~</span><span class="pl-c1">~</span> <span class="pl-s1">at</span> <span class="pl-s1">file</span>:<span class="pl-c">///C:/Users/maela/code/gh/nestdotland/eggs/src/utilities/log.ts:123:7</span> <span class="pl-smi">Found</span> <span class="pl-c1">5</span> <span class="pl-s1">errors</span><span class="pl-kos">.</span></pre></div> </details> <p dir="auto">when using <a href="https://envoy.now.sh" rel="nofollow">envoy</a>, which <strong>proxies</strong> to the arweave URL. note that the source is still the same as using nest.land directly.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/28438021/97530420-1de35480-19d8-11eb-9f24-dd878c9ea65f.png"><img src="https://user-images.githubusercontent.com/28438021/97530420-1de35480-19d8-11eb-9f24-dd878c9ea65f.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">this only happens in deno v1.5</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// main.ts import { serve } from &quot;https://deno.land/std/http/server.ts&quot;;"><pre class="notranslate"><span class="pl-c">// main.ts</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">serve</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"https://deno.land/std/http/server.ts"</span><span class="pl-kos">;</span></pre></div> <h4 dir="auto">1.4.6</h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="❯❯❯ rm -rf $DENO_DIR ❯❯❯ deno1.4.6 run -A --reload main.ts Download https://deno.land/std/http/server.ts Warning Implicitly using latest version (0.75.0) for https://deno.land/std/http/server.ts (snip) Check file:///mnt/f9/Projects/github.com/denoland/deno/main.ts"><pre class="notranslate"><code class="notranslate">❯❯❯ rm -rf $DENO_DIR ❯❯❯ deno1.4.6 run -A --reload main.ts Download https://deno.land/std/http/server.ts Warning Implicitly using latest version (0.75.0) for https://deno.land/std/http/server.ts (snip) Check file:///mnt/f9/Projects/github.com/denoland/deno/main.ts </code></pre></div> <h4 dir="auto">1.5.0</h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="❯❯❯ rm -rf $DENO_DIR ❯❯❯ deno1.5.0 run -A --reload main.ts Download https://deno.land/std/http/server.ts Warning Implicitly using latest version (0.75.0) for https://deno.land/std/http/server.ts (snip) Check file:///mnt/f9/Projects/github.com/denoland/deno/main.ts error: TS2322 [ERROR]: Type 'import(&quot;https://deno.land/std@0.75.0/http/server.ts&quot;).ServerRequest | null' is not assignable to type 'import(&quot;https://deno.land/std/http/server.ts&quot;).ServerRequest | null'. Type 'import(&quot;https://deno.land/std@0.75.0/http/server.ts&quot;).ServerRequest' is not assignable to type 'import(&quot;https://deno.land/std/http/server.ts&quot;).ServerRequest'. Types have separate declarations of a private property '_contentLength'. request = await readRequest(conn, reader); ~~~~~~~ at https://deno.land/std/http/server.ts:147:9"><pre class="notranslate"><code class="notranslate">❯❯❯ rm -rf $DENO_DIR ❯❯❯ deno1.5.0 run -A --reload main.ts Download https://deno.land/std/http/server.ts Warning Implicitly using latest version (0.75.0) for https://deno.land/std/http/server.ts (snip) Check file:///mnt/f9/Projects/github.com/denoland/deno/main.ts error: TS2322 [ERROR]: Type 'import("https://deno.land/std@0.75.0/http/server.ts").ServerRequest | null' is not assignable to type 'import("https://deno.land/std/http/server.ts").ServerRequest | null'. Type 'import("https://deno.land/std@0.75.0/http/server.ts").ServerRequest' is not assignable to type 'import("https://deno.land/std/http/server.ts").ServerRequest'. Types have separate declarations of a private property '_contentLength'. request = await readRequest(conn, reader); ~~~~~~~ at https://deno.land/std/http/server.ts:147:9 </code></pre></div> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kitsonk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kitsonk">@kitsonk</a></p> <hr> <p dir="auto">For anyone looking at this issue now, we are planning to do a 1.5.1 hot fix release tomorrow with a bug fix.</p>
1
<ul dir="auto"> <li>[x ] I have searched the <a href="https://github.com/callemall/material-ui/issues">issues</a> of this repository and this could be a duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="88153706" data-permission-text="Title is private" data-url="https://github.com/mui/material-ui/issues/841" data-hovercard-type="issue" data-hovercard-url="/mui/material-ui/issues/841/hovercard" href="https://github.com/mui/material-ui/issues/841">#841</a>.</li> </ul> <h2 dir="auto">Current Behavior</h2> <h2 dir="auto">Expected Behavior</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" &lt;Dialog title='Make transaction' modal={false} open={this.state.open} onRequestClose={this.handleClose} actions={&lt;RemoteSubmitButton handleClose={this.handleClose}/&gt;} contentStyle={{width: '95%', maxWidth: '1400px'}} bodyStyle={{maxHeight: '250px', overflowY: 'auto'}} style={{marginTop: '-200px', paddingTop: '100px'}}&gt; &lt;div /&gt; &lt;/Dialog&gt;"><pre class="notranslate"><code class="notranslate"> &lt;Dialog title='Make transaction' modal={false} open={this.state.open} onRequestClose={this.handleClose} actions={&lt;RemoteSubmitButton handleClose={this.handleClose}/&gt;} contentStyle={{width: '95%', maxWidth: '1400px'}} bodyStyle={{maxHeight: '250px', overflowY: 'auto'}} style={{marginTop: '-200px', paddingTop: '100px'}}&gt; &lt;div /&gt; &lt;/Dialog&gt; </code></pre></div> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/19698636/33091704-317c565a-cef8-11e7-8921-7dc0cd79bac6.png"><img src="https://user-images.githubusercontent.com/19698636/33091704-317c565a-cef8-11e7-8921-7dc0cd79bac6.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">With style attribute of Dialog I want to set the style of the root element.<br> The marginTop attribute is set but paddingTop is not, instead internal paddingTop is used and cannot be overriden with style={{}}.<br> I should be able to override the styles of dialog.</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>v0.19.4</td> </tr> </tbody> </table>
<p dir="auto">Hi Everyone,</p> <p dir="auto">I am using horizontal stepper from material UI and integrated in my react app. In all steps i am having different forms and submit button, i need to trigger next button event on form submit button click.<br> I tried various options but unable to duplicate next event on form submit button.</p> <p dir="auto">Example:-</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In step 1: &lt;form&gt; &lt;input type=text&gt; . . . &lt;button&gt;submit&lt;/button&gt; &lt;/form&gt;"><pre class="notranslate"><code class="notranslate">In step 1: &lt;form&gt; &lt;input type=text&gt; . . . &lt;button&gt;submit&lt;/button&gt; &lt;/form&gt; </code></pre></div> <p dir="auto">Same type of form in all steps.<br> (Stepper next button is outside form)</p> <p dir="auto">Can anyone help me to resolve the issue ?</p> <p dir="auto">Many Thanks in advance..</p> <p dir="auto">Regards,<br> Brajesh</p>
0
<p dir="auto">I would like to propose the addition of another method to <code class="notranslate">reflect.StructTag</code>. The proposed change is very simple, and I'm happy to produce a design document and a PR. I have filed this issue to see if there is any likelihood of this change being accepted.</p> <p dir="auto">The <code class="notranslate">reflect.StructTag</code> currently has one method, <code class="notranslate">Get</code>, which makes it easy to extract the value for the associated key from the tag. What it does not do, however, is indicate if the key exists with an empty value.</p> <p dir="auto">So in the following example, the <code class="notranslate">Get</code> method will return the same value for the <code class="notranslate">db</code> tag assocated with the <code class="notranslate">Name</code> field as for the <code class="notranslate">db</code> tag associated with the <code class="notranslate">Address</code> field, but there is a difference in the meaning.</p> <div class="highlight highlight-source-go notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="struct { Name string `db:&quot;&quot; json:&quot;-&quot;` Address string }"><pre class="notranslate"><span class="pl-k">struct</span> { <span class="pl-c1">Name</span> <span class="pl-smi">string</span> <span class="pl-s">`db:"" json:"-"`</span> <span class="pl-c1">Address</span> <span class="pl-smi">string</span> }</pre></div> <p dir="auto">It could be argued that this is a pretty simple function and should not be added to the Go standard library. I am suggesting that it should be added because any third-party implementation requires some duplication of the code for the <code class="notranslate">Get</code> method in the standard library. Duplicating the code from the Go standard library presents at least two challenges:</p> <ul dir="auto"> <li>There is an ongoing maintenance overhead of tracking any future changes to the Go standard library.</li> <li>The Go BSD license requires distributing the Go copyright notice and conditions with any redistribution of source code. Not a huge deal, but an inconvenience that can be omitted by adding <code class="notranslate">Lookup</code> to the standard libary.</li> </ul> <p dir="auto">Note also that there was a similar addition in Go 1.5 in the <code class="notranslate">os</code> package, where the <code class="notranslate">LookupEnv</code> function was introduced to complement the <code class="notranslate">GetEnv</code> function.</p> <h2 dir="auto">Proposed New Method</h2> <p dir="auto"><strong>func (StructTag) Lookup</strong></p> <div class="highlight highlight-source-go notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="func (tag StructTag) Lookup(key string) (string, bool)"><pre class="notranslate"><span class="pl-k">func</span> (<span class="pl-s1">tag</span> <span class="pl-smi">StructTag</span>) <span class="pl-en">Lookup</span>(<span class="pl-s1">key</span> <span class="pl-smi">string</span>) (<span class="pl-smi">string</span>, <span class="pl-smi">bool</span>)</pre></div> <p dir="auto">Lookup returns the value associated with key in the tag string. If the key is present in the tag the value (which may be empty) is returned and the boolean is true. Otherwise the returned value will be empty and the boolean is false. If the tag does not have the conventional format, the value returned by Lookup is unspecified.</p>
<pre class="notranslate">Before filing a bug, please check whether it has been fixed since the latest release: run "hg pull -u" and retry what you did to reproduce the problem. Thanks. What steps will reproduce the problem? Try the program: package main import "fmt" func f(ch chan int) (n int) { select { case n := &lt;-ch: fmt.Printf("n=%d\n",n) return } panic("x") } func main() { ch := make(chan int) go func(){ ch &lt;- 5 }() fmt.Printf("f=%d\n",f(ch)) } What is the expected output? What do you see instead? What you MAY expect is (see discussion below): n=5 f=5 What you see is: n=5 f=0 What is your $GOOS? $GOARCH? darwin, amd64 Which revision are you using? (hg identify) 613f36280394+ tip Please provide any additional information below. This situation has created sneaky bugs in my programs. I think that either, the correct behavior should be to output: n=5 f=5 Or, when the compiler sees the reassignment of an existing variable in "case n := &lt;-ch:", it should output a compiler error, just like it would do if you had a clause like "n := 4" in the body of f().</pre>
0
<ul dir="auto"> <li>VSCode Version: 0.10.11</li> <li>OS Version: Windows 7 Professional (x64)</li> </ul> <p dir="auto">Steps to Reproduce:</p> <ol dir="auto"> <li> <p dir="auto">Create new file with C++ language</p> </li> <li> <p dir="auto">Add the following code:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="void fn() { f(&quot;;&quot;, value); // Line must begin with at least 1 space. }"><pre class="notranslate"><code class="notranslate">void fn() { f(";", value); // Line must begin with at least 1 space. } </code></pre></div> </li> </ol> <p dir="auto">Syntax highlighting for string begins from the second double-comma<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1532557/14410590/fff3137e-ff2a-11e5-9c9c-0e560dd3f8b1.png"><img src="https://cloud.githubusercontent.com/assets/1532557/14410590/fff3137e-ff2a-11e5-9c9c-0e560dd3f8b1.png" alt="visual-studio-code_0 10 11_cpp-syntax-highlighting-bug" style="max-width: 100%;"></a></p> <p dir="auto">This was discovered when trying to view the muse-sequencer's <a href="https://github.com/muse-sequencer/muse/blob/fbd4c3f10fa780f689c4681e4ef96ddffc216629/muse3/muse/main.cpp">main.cpp</a> (line 137).</p> <p dir="auto">This is an odd bug for sure because it's so easy to trigger!</p>
<ul dir="auto"> <li>VSCode Version: 0.10.11</li> <li>OS Version: Windows 7</li> </ul> <h2 dir="auto">Issue 1:</h2> <p dir="auto">In the following code (using C++ syntax highlighting), the string literal(s) are not highlighted at all.<br> This issue is exclusive to C++ syntax highlighting and does not occur with C syntax highlighting.</p> <h4 dir="auto">Code:</h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="int main() { printf(&quot;%s\n&quot;, &quot;a string&quot;); }"><pre class="notranslate"><code class="notranslate">int main() { printf("%s\n", "a string"); } </code></pre></div> <h4 dir="auto">Result</h4> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://raw.githubusercontent.com/SE2Dev/VSCode-BugExample/master/resources/c-vs-cpp.png"><img src="https://raw.githubusercontent.com/SE2Dev/VSCode-BugExample/master/resources/c-vs-cpp.png" alt="Bug Screenshot" style="max-width: 100%;"></a></p> <h2 dir="auto">Issue 2:</h2> <p dir="auto">In custom tmLanguage based colorizers that reference source.c from within rules that begin with certain patterns, the inlined C highlighting is incorrect (this issue also applies to rules using source.c++ but does not occur in rules using source.js).</p> <h4 dir="auto">Code</h4> <p dir="auto">(See <a href="https://github.com/SE2Dev/VSCode-BugExample">https://github.com/SE2Dev/VSCode-BugExample</a>)</p> <h4 dir="auto">Result</h4> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://raw.githubusercontent.com/SE2Dev/VSCode-BugExample/master/resources/screenshot.png"><img src="https://raw.githubusercontent.com/SE2Dev/VSCode-BugExample/master/resources/screenshot.png" alt="Bug Screenshot" style="max-width: 100%;"></a></p>
1
<h4 dir="auto">Code Sample</h4> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="df = pd.DataFrame({'A':[1,2,3],'B':[4,5,6]}) df = df.stack() df.loc[0] = [0,0]"><pre class="notranslate"><span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>({<span class="pl-s">'A'</span>:[<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>],<span class="pl-s">'B'</span>:[<span class="pl-c1">4</span>,<span class="pl-c1">5</span>,<span class="pl-c1">6</span>]}) <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">df</span>.<span class="pl-en">stack</span>() <span class="pl-s1">df</span>.<span class="pl-s1">loc</span>[<span class="pl-c1">0</span>] <span class="pl-c1">=</span> [<span class="pl-c1">0</span>,<span class="pl-c1">0</span>]</pre></div> <p dir="auto">This returns</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [27]: df Out[27]: 0 A 0 B 0 1 A 2 B 5 2 A 3 B 6 dtype: int64"><pre class="notranslate"><code class="notranslate">In [27]: df Out[27]: 0 A 0 B 0 1 A 2 B 5 2 A 3 B 6 dtype: int64 </code></pre></div> <p dir="auto">Then, if I try</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="df.loc[0] = df.loc[1]"><pre class="notranslate"><code class="notranslate">df.loc[0] = df.loc[1] </code></pre></div> <p dir="auto">I get</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [29]: df Out[29]: 0 A NaN B NaN 1 A 2.0 B 5.0 2 A 3.0 B 6.0 dtype: float64"><pre class="notranslate"><code class="notranslate">In [29]: df Out[29]: 0 A NaN B NaN 1 A 2.0 B 5.0 2 A 3.0 B 6.0 dtype: float64 </code></pre></div> <h4 dir="auto">Expected Output</h4> <p dir="auto">It should either raise an exception/warning, or produce the same result with <code class="notranslate">df.loc[0] = df.loc[1].values</code>.</p>
<p dir="auto">Best shown with an example.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np, pandas as pd timestamps = map(pd.Timestamp, ['2014-01-01', '2014-02-01']) categories = ['A', 'B', 'C', 'D'] df = pd.DataFrame(index=pd.MultiIndex.from_product([timestamps, categories], names=['ts', 'cat']), columns=['Col1', 'Col2']) &gt;&gt;&gt; df Col1 Col2 ts cat 2014-01-01 A NaN NaN B NaN NaN C NaN NaN D NaN NaN 2014-02-01 A NaN NaN B NaN NaN C NaN NaN D NaN NaN"><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-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span> <span class="pl-s1">timestamps</span> <span class="pl-c1">=</span> <span class="pl-en">map</span>(<span class="pl-s1">pd</span>.<span class="pl-v">Timestamp</span>, [<span class="pl-s">'2014-01-01'</span>, <span class="pl-s">'2014-02-01'</span>]) <span class="pl-s1">categories</span> <span class="pl-c1">=</span> [<span class="pl-s">'A'</span>, <span class="pl-s">'B'</span>, <span class="pl-s">'C'</span>, <span class="pl-s">'D'</span>] <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>(<span class="pl-s1">index</span><span class="pl-c1">=</span><span class="pl-s1">pd</span>.<span class="pl-v">MultiIndex</span>.<span class="pl-en">from_product</span>([<span class="pl-s1">timestamps</span>, <span class="pl-s1">categories</span>], <span class="pl-s1">names</span><span class="pl-c1">=</span>[<span class="pl-s">'ts'</span>, <span class="pl-s">'cat'</span>]), <span class="pl-s1">columns</span><span class="pl-c1">=</span>[<span class="pl-s">'Col1'</span>, <span class="pl-s">'Col2'</span>]) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">df</span> <span class="pl-v">Col1</span> <span class="pl-v">Col2</span> <span class="pl-s1">ts</span> <span class="pl-s1">cat</span> <span class="pl-c1">2014</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-v">A</span> <span class="pl-v">NaN</span> <span class="pl-v">NaN</span> <span class="pl-v">B</span> <span class="pl-v">NaN</span> <span class="pl-v">NaN</span> <span class="pl-v">C</span> <span class="pl-v">NaN</span> <span class="pl-v">NaN</span> <span class="pl-v">D</span> <span class="pl-v">NaN</span> <span class="pl-v">NaN</span> <span class="pl-c1">2014</span><span class="pl-c1">-</span><span class="pl-c1">02</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-v">A</span> <span class="pl-v">NaN</span> <span class="pl-v">NaN</span> <span class="pl-v">B</span> <span class="pl-v">NaN</span> <span class="pl-v">NaN</span> <span class="pl-v">C</span> <span class="pl-v">NaN</span> <span class="pl-v">NaN</span> <span class="pl-v">D</span> <span class="pl-v">NaN</span> <span class="pl-v">NaN</span></pre></div> <p dir="auto">I want to set the values for all categories in a single month. These examples work just fine.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="df.loc['2014-01-01', 'Col1'] = 5 df.loc['2014-01-01', 'Col2'] = [1,2,3,4] &gt;&gt;&gt; df Col1 Col2 ts cat 2014-01-01 A 5 1 B 5 2 C 5 3 D 5 4 2014-02-01 A NaN NaN B NaN NaN C NaN NaN D NaN NaN"><pre class="notranslate"><span class="pl-s1">df</span>.<span class="pl-s1">loc</span>[<span class="pl-s">'2014-01-01'</span>, <span class="pl-s">'Col1'</span>] <span class="pl-c1">=</span> <span class="pl-c1">5</span> <span class="pl-s1">df</span>.<span class="pl-s1">loc</span>[<span class="pl-s">'2014-01-01'</span>, <span class="pl-s">'Col2'</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-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">df</span> <span class="pl-v">Col1</span> <span class="pl-v">Col2</span> <span class="pl-s1">ts</span> <span class="pl-s1">cat</span> <span class="pl-c1">2014</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-v">A</span> <span class="pl-c1">5</span> <span class="pl-c1">1</span> <span class="pl-v">B</span> <span class="pl-c1">5</span> <span class="pl-c1">2</span> <span class="pl-v">C</span> <span class="pl-c1">5</span> <span class="pl-c1">3</span> <span class="pl-v">D</span> <span class="pl-c1">5</span> <span class="pl-c1">4</span> <span class="pl-c1">2014</span><span class="pl-c1">-</span><span class="pl-c1">02</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-v">A</span> <span class="pl-v">NaN</span> <span class="pl-v">NaN</span> <span class="pl-v">B</span> <span class="pl-v">NaN</span> <span class="pl-v">NaN</span> <span class="pl-v">C</span> <span class="pl-v">NaN</span> <span class="pl-v">NaN</span> <span class="pl-v">D</span> <span class="pl-v">NaN</span> <span class="pl-v">NaN</span></pre></div> <p dir="auto">These examples don't work.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="df.loc['2014-01-01', 'Col1'] += 1 df.loc['2014-02-01', 'Col2'] = df.loc['2014-01-01', 'Col2'] &gt;&gt;&gt; df Col1 Col2 ts cat 2014-01-01 A NaN 1 B NaN 2 C NaN 3 D NaN 4 2014-02-01 A NaN NaN B NaN NaN C NaN NaN D NaN NaN"><pre class="notranslate"><span class="pl-s1">df</span>.<span class="pl-s1">loc</span>[<span class="pl-s">'2014-01-01'</span>, <span class="pl-s">'Col1'</span>] <span class="pl-c1">+=</span> <span class="pl-c1">1</span> <span class="pl-s1">df</span>.<span class="pl-s1">loc</span>[<span class="pl-s">'2014-02-01'</span>, <span class="pl-s">'Col2'</span>] <span class="pl-c1">=</span> <span class="pl-s1">df</span>.<span class="pl-s1">loc</span>[<span class="pl-s">'2014-01-01'</span>, <span class="pl-s">'Col2'</span>] <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">df</span> <span class="pl-v">Col1</span> <span class="pl-v">Col2</span> <span class="pl-s1">ts</span> <span class="pl-s1">cat</span> <span class="pl-c1">2014</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-v">A</span> <span class="pl-v">NaN</span> <span class="pl-c1">1</span> <span class="pl-v">B</span> <span class="pl-v">NaN</span> <span class="pl-c1">2</span> <span class="pl-v">C</span> <span class="pl-v">NaN</span> <span class="pl-c1">3</span> <span class="pl-v">D</span> <span class="pl-v">NaN</span> <span class="pl-c1">4</span> <span class="pl-c1">2014</span><span class="pl-c1">-</span><span class="pl-c1">02</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-v">A</span> <span class="pl-v">NaN</span> <span class="pl-v">NaN</span> <span class="pl-v">B</span> <span class="pl-v">NaN</span> <span class="pl-v">NaN</span> <span class="pl-v">C</span> <span class="pl-v">NaN</span> <span class="pl-v">NaN</span> <span class="pl-v">D</span> <span class="pl-v">NaN</span> <span class="pl-v">NaN</span></pre></div> <p dir="auto">It doesn't seem to be a "setting a value on a copy" issue. Instead, Pandas is writing the NaNs.</p> <p dir="auto">My current workaround is to unstack each column into a DataFrame with simple indexes. This works, but I have lots of columns to work with. One dataframe is much easier to work with than a pile of dataframes.</p> <p dir="auto">The computations for each month depend on the values computed in the previous month, hence why it can't be done fully vectorized on an entire column.</p>
1
<h1 dir="auto">Checklist</h1> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> This has already been asked to the <a href="https://github.com/celery/celery/discussions">discussions forum</a> first.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the relevant section in the<br> <a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br> on reporting bugs.</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/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br> for similar or identical bug reports.</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/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br> for existing proposed fixes.</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/celery/celery/commits/master">commit log</a><br> to find out if the bug was already fixed in the master branch.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues<br> in this issue (If there are none, check this box anyway).</li> </ul> <h2 dir="auto">Mandatory Debugging Information</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br> (if you are not able to do this, then at least specify the Celery<br> version affected).</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included all the versions of all the external dependencies required<br> to reproduce this bug.</li> </ul> <h2 dir="auto">Optional Debugging Information</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one Python version<br> and/or implementation.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one message broker and/or<br> result backend.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one version of the message<br> broker and/or result backend.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one operating system.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one workers pool.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue with autoscaling, retries,<br> ETA/Countdown &amp; rate limits disabled.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue after downgrading<br> and/or upgrading Celery and its dependencies.</li> </ul> <h2 dir="auto">Related Issues and Possible Duplicates</h2> <h4 dir="auto">Related Issues</h4> <ul dir="auto"> <li>None</li> </ul> <h4 dir="auto">Possible Duplicates</h4> <ul dir="auto"> <li>None</li> </ul> <h2 dir="auto">Environment &amp; Settings</h2> <p dir="auto"><strong>Celery version</strong>: 5.2.1 (dawn-chorus)</p> <details> <summary><b><code class="notranslate">celery report</code> Output:</b></summary> <p dir="auto"> </p><p dir="auto">Output from celery report</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="software -&gt; celery:5.2.1 (dawn-chorus) kombu:5.2.2 py:3.7.4 billiard:3.6.4.0 py-amqp:5.0.9 platform -&gt; system:Darwin arch:64bit kernel version:20.5.0 imp:CPython loader -&gt; celery.loaders.default.Loader settings -&gt; transport:amqp results:disabled deprecated_settings: None"><pre class="notranslate"><code class="notranslate">software -&gt; celery:5.2.1 (dawn-chorus) kombu:5.2.2 py:3.7.4 billiard:3.6.4.0 py-amqp:5.0.9 platform -&gt; system:Darwin arch:64bit kernel version:20.5.0 imp:CPython loader -&gt; celery.loaders.default.Loader settings -&gt; transport:amqp results:disabled deprecated_settings: None </code></pre></div> <p dir="auto"></p> </details> <h1 dir="auto">Steps to Reproduce</h1> <h2 dir="auto">Required Dependencies</h2> <ul dir="auto"> <li><strong>Minimal Python Version</strong>: I've been testing under multiple virtual environments of python: 3.7.4, 3.8.5, 3.9.6</li> <li><strong>Minimal Celery Version</strong>: master</li> <li><strong>Minimal Kombu Version</strong>: N/A or Unknown</li> <li><strong>Minimal Broker Version</strong>: N/A or Unknown</li> <li><strong>Minimal Result Backend Version</strong>: N/A or Unknown</li> <li><strong>Minimal OS and/or Kernel Version</strong>: MacOS Big Sur 11.4</li> <li><strong>Minimal Broker Client Version</strong>: N/A or Unknown</li> <li><strong>Minimal Result Backend Client Version</strong>: N/A or Unknown</li> </ul> <h3 dir="auto">Python Packages</h3> <details> <summary><b><code class="notranslate">pip freeze</code> Output:</b></summary> <p dir="auto"> </p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(3.7.4/envs/stellar_3_7) pinchas.lev@Pinchass-MacBook-Pro celery % pip3 freeze amqp==5.0.9 appdirs==1.4.4 asgiref==3.4.1 astroid==2.6.6 attrs==21.2.0 autopep8==1.5.7 Babel==2.9.1 backports.entry-points-selectable==1.1.1 bcrypt==3.2.0 beautifulsoup4==4.10.0 before-after==1.0.1 billiard==3.6.4.0 black==21.7b0 bleach==4.1.0 boto3==1.20.26 botocore==1.23.26 cached-property==1.5.2 cachetools==4.2.4 cairocffi==1.1.0 CairoSVG==2.5.2 cchardet==2.1.7 celery==5.2.1 celery-once==3.0.1 certifi==2021.5.30 cffi==1.14.6 cfgv==3.3.1 chardet==3.0.4 charset-normalizer==2.0.7 click==8.0.3 click-didyoumean==0.3.0 click-plugins==1.1.1 click-repl==0.2.0 colorama==0.4.3 cryptography==3.4.8 cssselect2==0.4.1 customerio==1.0 Cython==0.29.22 defusedxml==0.7.1 distlib==0.3.4 dj-database-url==0.5.0 Django==3.2.9 django-add-default-value==0.9.1 django-admin-autocomplete-filter==0.6.1 django-appconf==1.0.4 django-axes==5.2.2 django-better-admin-arrayfield==1.4.2 django-ckeditor==5.8.0 django-compressor==2.4.1 django-cryptography==1.0 django-csp==3.7 django-debug-toolbar==3.1.1 django-dirtyfields==1.7.0 django-guardian==2.4.0 django-ipware==2.1.0 django-js-asset==1.2.2 django-libsass==0.9 django-migration-linter==2.5.3 django-pglocks==1.0.4 django-polymorphic==3.0.0 django-redis==5.0.0 django-silk==4.1.0 django-storages==1.8 django-termsandconditions==2.0.9 django-user-sessions==1.7.1 django-webpack-loader==1.4.1 django-widget-tweaks==1.4.9 djangorestframework==3.11.0 djangorestframework-datatables==0.5.1 dnspython==1.16.0 docutils==0.15.2 dparse==0.5.1 elasticsearch==7.12.1 et-xmlfile==1.1.0 eventlet==0.30.2 expiringdict==1.2.1 filelock==3.4.0 flower==0.9.3 freezegun==0.3.13 future==0.18.2 fuzzywuzzy==0.18.0 geoip2==2.9.0 gevent==1.4.0 gprof2dot==2021.2.21 greenlet==1.1.0 gunicorn==20.1.0 html5lib==1.1 identify==2.4.0 idna==2.8 importlib-metadata==4.6.1 influxdb==5.2.3 iniconfig==1.1.1 isodate==0.6.0 isort==5.9.3 jdcal==1.4.1 Jinja2==3.0.1 jmespath==0.9.4 kombu==5.2.2 lazy-object-proxy==1.6.0 libsass==0.21.0 lxml==4.6.3 MarkupSafe==2.0.1 marshmallow==2.20.5 maxminddb==2.0.3 mccabe==0.6.1 mock==1.0.1 more-itertools==8.10.0 moto==2.2.19 msgpack==1.0.3 mypy-extensions==0.4.3 newrelic==7.2.4.171 nodeenv==1.6.0 numpy==1.19.5 openpyxl==3.0.3 packaging==21.0 pandas==0.25.3 paramiko==2.8.0 pathspec==0.9.0 pep8==1.7.1 phonenumbers==8.12.36 Pillow==8.3.1 platformdirs==2.4.0 pluggy==1.0.0 pre-commit==2.16.0 prompt-toolkit==3.0.24 psutil==5.8.0 psycopg2-binary==2.8.6 py==1.11.0 pycodestyle==2.5.0 pycparser==2.20 pyflakes==2.3.1 Pygments==2.9.0 pylint==2.9.6 pymongo==4.0.1 PyNaCl==1.4.0 pyparsing==2.4.7 pyphen==0.11.0 pysftp==0.2.9 pytest==6.2.5 pytest-celery==0.0.0 pytest-subtests==0.5.0 pytest-timeout==1.4.2 python-crontab==2.5.1 python-dateutil==2.8.2 python-Levenshtein==0.12.2 python3-saml==1.9.0 pytz==2021.3 pyx12==2.3.3 PyYAML==6.0 rcssmin==1.0.6 redis==3.5.3 regex==2021.8.3 requests==2.26.0 responses==0.16.0 rjsmin==1.1.0 s3transfer==0.5.0 safety==1.8.5 si-prefix==1.2.2 simplejson==3.17.5 six==1.16.0 sodapy==2.0.0 soupsieve==2.2.1 sqlparse==0.4.1 structlog==19.2.0 tblib==1.7.0 tenacity==6.2.0 tinycss2==1.0.2 toml==0.10.2 tomli==1.2.1 tornado==5.1.1 typed-ast==1.4.3 typing==3.7.4.3 typing-extensions==3.10.0.0 urllib3==1.25.7 vine==5.0.0 virtualenv==20.10.0 wcwidth==0.2.5 WeasyPrint==52.5 webencodings==0.5.1 Werkzeug==2.0.2 whitenoise==5.3.0 wrapt==1.12.1 xlrd==1.2.0 xmlsec==1.3.11 xmltodict==0.12.0 zipp==3.5.0"><pre class="notranslate"><code class="notranslate">(3.7.4/envs/stellar_3_7) pinchas.lev@Pinchass-MacBook-Pro celery % pip3 freeze amqp==5.0.9 appdirs==1.4.4 asgiref==3.4.1 astroid==2.6.6 attrs==21.2.0 autopep8==1.5.7 Babel==2.9.1 backports.entry-points-selectable==1.1.1 bcrypt==3.2.0 beautifulsoup4==4.10.0 before-after==1.0.1 billiard==3.6.4.0 black==21.7b0 bleach==4.1.0 boto3==1.20.26 botocore==1.23.26 cached-property==1.5.2 cachetools==4.2.4 cairocffi==1.1.0 CairoSVG==2.5.2 cchardet==2.1.7 celery==5.2.1 celery-once==3.0.1 certifi==2021.5.30 cffi==1.14.6 cfgv==3.3.1 chardet==3.0.4 charset-normalizer==2.0.7 click==8.0.3 click-didyoumean==0.3.0 click-plugins==1.1.1 click-repl==0.2.0 colorama==0.4.3 cryptography==3.4.8 cssselect2==0.4.1 customerio==1.0 Cython==0.29.22 defusedxml==0.7.1 distlib==0.3.4 dj-database-url==0.5.0 Django==3.2.9 django-add-default-value==0.9.1 django-admin-autocomplete-filter==0.6.1 django-appconf==1.0.4 django-axes==5.2.2 django-better-admin-arrayfield==1.4.2 django-ckeditor==5.8.0 django-compressor==2.4.1 django-cryptography==1.0 django-csp==3.7 django-debug-toolbar==3.1.1 django-dirtyfields==1.7.0 django-guardian==2.4.0 django-ipware==2.1.0 django-js-asset==1.2.2 django-libsass==0.9 django-migration-linter==2.5.3 django-pglocks==1.0.4 django-polymorphic==3.0.0 django-redis==5.0.0 django-silk==4.1.0 django-storages==1.8 django-termsandconditions==2.0.9 django-user-sessions==1.7.1 django-webpack-loader==1.4.1 django-widget-tweaks==1.4.9 djangorestframework==3.11.0 djangorestframework-datatables==0.5.1 dnspython==1.16.0 docutils==0.15.2 dparse==0.5.1 elasticsearch==7.12.1 et-xmlfile==1.1.0 eventlet==0.30.2 expiringdict==1.2.1 filelock==3.4.0 flower==0.9.3 freezegun==0.3.13 future==0.18.2 fuzzywuzzy==0.18.0 geoip2==2.9.0 gevent==1.4.0 gprof2dot==2021.2.21 greenlet==1.1.0 gunicorn==20.1.0 html5lib==1.1 identify==2.4.0 idna==2.8 importlib-metadata==4.6.1 influxdb==5.2.3 iniconfig==1.1.1 isodate==0.6.0 isort==5.9.3 jdcal==1.4.1 Jinja2==3.0.1 jmespath==0.9.4 kombu==5.2.2 lazy-object-proxy==1.6.0 libsass==0.21.0 lxml==4.6.3 MarkupSafe==2.0.1 marshmallow==2.20.5 maxminddb==2.0.3 mccabe==0.6.1 mock==1.0.1 more-itertools==8.10.0 moto==2.2.19 msgpack==1.0.3 mypy-extensions==0.4.3 newrelic==7.2.4.171 nodeenv==1.6.0 numpy==1.19.5 openpyxl==3.0.3 packaging==21.0 pandas==0.25.3 paramiko==2.8.0 pathspec==0.9.0 pep8==1.7.1 phonenumbers==8.12.36 Pillow==8.3.1 platformdirs==2.4.0 pluggy==1.0.0 pre-commit==2.16.0 prompt-toolkit==3.0.24 psutil==5.8.0 psycopg2-binary==2.8.6 py==1.11.0 pycodestyle==2.5.0 pycparser==2.20 pyflakes==2.3.1 Pygments==2.9.0 pylint==2.9.6 pymongo==4.0.1 PyNaCl==1.4.0 pyparsing==2.4.7 pyphen==0.11.0 pysftp==0.2.9 pytest==6.2.5 pytest-celery==0.0.0 pytest-subtests==0.5.0 pytest-timeout==1.4.2 python-crontab==2.5.1 python-dateutil==2.8.2 python-Levenshtein==0.12.2 python3-saml==1.9.0 pytz==2021.3 pyx12==2.3.3 PyYAML==6.0 rcssmin==1.0.6 redis==3.5.3 regex==2021.8.3 requests==2.26.0 responses==0.16.0 rjsmin==1.1.0 s3transfer==0.5.0 safety==1.8.5 si-prefix==1.2.2 simplejson==3.17.5 six==1.16.0 sodapy==2.0.0 soupsieve==2.2.1 sqlparse==0.4.1 structlog==19.2.0 tblib==1.7.0 tenacity==6.2.0 tinycss2==1.0.2 toml==0.10.2 tomli==1.2.1 tornado==5.1.1 typed-ast==1.4.3 typing==3.7.4.3 typing-extensions==3.10.0.0 urllib3==1.25.7 vine==5.0.0 virtualenv==20.10.0 wcwidth==0.2.5 WeasyPrint==52.5 webencodings==0.5.1 Werkzeug==2.0.2 whitenoise==5.3.0 wrapt==1.12.1 xlrd==1.2.0 xmlsec==1.3.11 xmltodict==0.12.0 zipp==3.5.0 </code></pre></div> <p dir="auto"></p> </details> <h3 dir="auto">Other Dependencies</h3> <details> <p dir="auto"> N/A </p> </details> <h2 dir="auto">Minimally Reproducible Test Case</h2> <details> <p dir="auto"> </p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pytest t/unit"><pre class="notranslate"><code class="notranslate">pytest t/unit </code></pre></div> <p dir="auto"></p> </details> <h1 dir="auto">Expected Behavior</h1> <p dir="auto">I expected all tests to pass</p> <h1 dir="auto">Actual Behavior</h1>
<h1 dir="auto">Checklist</h1> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> This has already been asked to the <a href="https://groups.google.com/forum/#!forum/celery-users" rel="nofollow">discussion group</a> first.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the relevant section in the<br> <a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br> on reporting bugs.</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/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br> for similar or identical bug reports.</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/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br> for existing proposed fixes.</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/celery/celery/commits/master">commit log</a><br> to find out if the bug was already fixed in the master branch.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues<br> in this issue (If there are none, check this box anyway).</li> </ul> <h2 dir="auto">Mandatory Debugging Information</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br> (if you are not able to do this, then at least specify the Celery<br> version affected).</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all the versions of all the external dependencies required<br> to reproduce this bug.</li> </ul> <h2 dir="auto">Optional Debugging Information</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one Python version<br> and/or implementation.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one message broker and/or<br> result backend.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one version of the message<br> broker and/or result backend.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have tried reproducing the issue on more than one operating system.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have tried reproducing the issue on more than one workers pool.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue with autoscaling, retries,<br> ETA/Countdown &amp; rate limits disabled.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue after downgrading<br> and/or upgrading Celery and its dependencies.</li> </ul> <h2 dir="auto">Related Issues and Possible Duplicates</h2> <h4 dir="auto">Related Issues</h4> <ul dir="auto"> <li>None</li> </ul> <h4 dir="auto">Possible Duplicates</h4> <ul dir="auto"> <li>None</li> </ul> <h2 dir="auto">Environment &amp; Settings</h2> <p dir="auto"><strong>Celery version</strong>: 4.4.0 (cliffs)</p> <details> <summary><b><code class="notranslate">celery report</code> Output:</b></summary> <p dir="auto"> </p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" software -&gt; celery:4.4.0 (cliffs) kombu:4.6.7 py:3.8.1 billiard:3.6.1.0 redis:3.3.11 platform -&gt; system:Darwin arch:64bit kernel version:18.7.0 imp:CPython loader -&gt; celery.loaders.app.AppLoader settings -&gt; transport:redis results:disabled BROKER_URL: 'redis://localhost:6379/1' CELERYD_PREFETCH_MULTIPLIER: 1 CELERY_ACCEPT_CONTENT: ['json'] CELERY_RESULT_SERIALIZER: 'json' CELERY_TASK_ACKS_LATE: True CELERY_TASK_RESULT_EXPIRES: 86400 CELERY_TASK_SERIALIZER: 'json' CELERY_TIMEZONE: 'Asia/Chongqing' CELERY_INCLUDE: ['proj.tasks']"><pre class="notranslate"><code class="notranslate"> software -&gt; celery:4.4.0 (cliffs) kombu:4.6.7 py:3.8.1 billiard:3.6.1.0 redis:3.3.11 platform -&gt; system:Darwin arch:64bit kernel version:18.7.0 imp:CPython loader -&gt; celery.loaders.app.AppLoader settings -&gt; transport:redis results:disabled BROKER_URL: 'redis://localhost:6379/1' CELERYD_PREFETCH_MULTIPLIER: 1 CELERY_ACCEPT_CONTENT: ['json'] CELERY_RESULT_SERIALIZER: 'json' CELERY_TASK_ACKS_LATE: True CELERY_TASK_RESULT_EXPIRES: 86400 CELERY_TASK_SERIALIZER: 'json' CELERY_TIMEZONE: 'Asia/Chongqing' CELERY_INCLUDE: ['proj.tasks'] </code></pre></div> <p dir="auto"></p> </details> <h1 dir="auto">Steps to Reproduce</h1> <h2 dir="auto">Required Dependencies</h2> <ul dir="auto"> <li><strong>Minimal Python Version</strong>: 3.8.1</li> <li><strong>Minimal Celery Version</strong>: 4.4.0</li> <li><strong>Minimal Kombu Version</strong>: 4.6.7</li> <li><strong>Minimal Broker Version</strong>: redis_version:4.0.10</li> <li><strong>Minimal Result Backend Version</strong>: N/A or Unknown</li> <li><strong>Minimal OS and/or Kernel Version</strong>: Mac; Centos</li> <li><strong>Minimal Broker Client Version</strong>: redis 3.3.11</li> <li><strong>Minimal Result Backend Client Version</strong>: N/A or Unknown</li> </ul> <h3 dir="auto">Python Packages</h3> <details> <summary><b><code class="notranslate">pip freeze</code> Output:</b></summary> <p dir="auto"> </p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="amqp==2.5.2 billiard==3.6.1.0 celery==4.4.0 gevent==1.4.0 greenlet==0.4.15 kombu==4.6.7 pytz==2019.3 redis==3.3.11 vine==1.3.0"><pre class="notranslate"><code class="notranslate">amqp==2.5.2 billiard==3.6.1.0 celery==4.4.0 gevent==1.4.0 greenlet==0.4.15 kombu==4.6.7 pytz==2019.3 redis==3.3.11 vine==1.3.0 </code></pre></div> <p dir="auto"></p> </details> <h3 dir="auto">Other Dependencies</h3> <details> <p dir="auto"> N/A </p> </details> <h2 dir="auto">Minimally Reproducible Test Case</h2> <details> <p dir="auto"> </p><div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"></pre></div> <p dir="auto"></p> </details> <h1 dir="auto">Expected Behavior</h1> <p dir="auto">I have many task with countdown in celery, I hope the worker can prefetch the task one by one. But worker will almost prefetch all of the tasks. This is my worker start cmd:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="celery -A proj.celery.app worker -l info -c 1"><pre class="notranslate"><code class="notranslate">celery -A proj.celery.app worker -l info -c 1 </code></pre></div> <p dir="auto">It will prefetch all of the tasks.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/17327054/72675382-da110580-3abd-11ea-96bb-8c45ff3af568.png"><img src="https://user-images.githubusercontent.com/17327054/72675382-da110580-3abd-11ea-96bb-8c45ff3af568.png" alt="image" style="max-width: 100%;"></a></p> <h1 dir="auto">Actual Behavior</h1>
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?q=is%3Aissue">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">Next.JS should successfully compile without any errors/warnings.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto"><code class="notranslate">Parse errors in imported module '../lib/Apollo/withData': Unexpected token = (24:24) import/no-named-as-default</code><br> <code class="notranslate">Parse errors in imported module '../lib/Apollo/withData': Unexpected token = (24:24) import/no-named-as-default-member</code></p> <p dir="auto">Next.JS + ESLint is outputting an error with the following message:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/74a1685c35410c6b19c7bf20af42c4cf0c42f30f18484ef992626de1e32f8743/68747470733a2f2f692e696d6775722e636f6d2f724b6f636774472e706e67"><img src="https://camo.githubusercontent.com/74a1685c35410c6b19c7bf20af42c4cf0c42f30f18484ef992626de1e32f8743/68747470733a2f2f692e696d6775722e636f6d2f724b6f636774472e706e67" alt="Error" data-canonical-src="https://i.imgur.com/rKocgtG.png" style="max-width: 100%;"></a></p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <p dir="auto">N/A</p> <h2 dir="auto">Context</h2> <p dir="auto">I am trying to get Next.JS working with the ApolloClient.. and also with the new _app.js functionality. However I am getting the following error above when I try to use <code class="notranslate">withData</code> in my <code class="notranslate">_app.js</code> file. I have researched this error and it seems to be something to do with Babel and the static properties that can only be used with ES7? However I am using the decoratorsLegacy option that I found in one of the example projects in nextjs. Does anyone know how I can fix this?</p> <p dir="auto">.babelrc</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ &quot;presets&quot;: [ &quot;next/babel&quot;, [&quot;@babel/preset-stage-0&quot;, { &quot;decoratorsLegacy&quot;: true }] ] }"><pre class="notranslate"><code class="notranslate">{ "presets": [ "next/babel", ["@babel/preset-stage-0", { "decoratorsLegacy": true }] ] } </code></pre></div> <p dir="auto">utils.js</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export function isAuthPath(path) { // Other routes can be added like /forgot-password, etc return path === '/login' || path === '/signup' }"><pre class="notranslate"><code class="notranslate">export function isAuthPath(path) { // Other routes can be added like /forgot-password, etc return path === '/login' || path === '/signup' } </code></pre></div> <p dir="auto">_app.js</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import React from 'react' import App, { Container } from 'next/app' import { isAuthPath } from '../lib/utils' import redirect from '../lib/redirect' import withData from '../lib/Apollo/withData' import checkLoggedIn from '../lib/Apollo/checkLoggedIn' class MyApp extends App { static async getInitialProps({ Component, ctx }, apolloClient) { let pageProps = {} const { loggedInUser } = await checkLoggedIn(ctx, apolloClient) // Check whether path is an &quot;authorization&quot; specific page const auth = isAuthPath(ctx.asPath) if (!loggedInUser.me) { // User is not logged in. Redirect to Login. if (!auth) redirect(ctx, '/login') } else if (auth) { // User is logged in. Redirect to Dashboard. redirect(ctx, '/') } if (Component.getInitialProps) { pageProps = await Component.getInitialProps(ctx) } return { pageProps } } componentDidCatch(error, errorInfo) { super.componentDidCatch(error, errorInfo) } render() { const { Component, pageProps } = this.props return ( &lt;Container&gt; &lt;Component {...pageProps} /&gt; &lt;/Container&gt; ) } } export default withData(MyApp)"><pre class="notranslate"><code class="notranslate">import React from 'react' import App, { Container } from 'next/app' import { isAuthPath } from '../lib/utils' import redirect from '../lib/redirect' import withData from '../lib/Apollo/withData' import checkLoggedIn from '../lib/Apollo/checkLoggedIn' class MyApp extends App { static async getInitialProps({ Component, ctx }, apolloClient) { let pageProps = {} const { loggedInUser } = await checkLoggedIn(ctx, apolloClient) // Check whether path is an "authorization" specific page const auth = isAuthPath(ctx.asPath) if (!loggedInUser.me) { // User is not logged in. Redirect to Login. if (!auth) redirect(ctx, '/login') } else if (auth) { // User is logged in. Redirect to Dashboard. redirect(ctx, '/') } if (Component.getInitialProps) { pageProps = await Component.getInitialProps(ctx) } return { pageProps } } componentDidCatch(error, errorInfo) { super.componentDidCatch(error, errorInfo) } render() { const { Component, pageProps } = this.props return ( &lt;Container&gt; &lt;Component {...pageProps} /&gt; &lt;/Container&gt; ) } } export default withData(MyApp) </code></pre></div> <p dir="auto">withData.js</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import React from 'react' import cookie from 'cookie' import PropTypes from 'prop-types' import { ApolloProvider, getDataFromTree } from 'react-apollo' import Head from 'next/head' import initApollo from './initApollo' function parseCookies(ctx = {}, options = {}) { return cookie.parse( ctx.req &amp;&amp; ctx.req.headers.cookie ? ctx.req.headers.cookie : document.cookie, options ) } function getComponentDisplayName(Component) { return Component.displayName || Component.name || 'Component' } export default ComposedComponent =&gt; class WithData extends React.Component { static displayName = `WithData(${getComponentDisplayName( ComposedComponent )})` static propTypes = { serverState: PropTypes.object.isRequired } static async getInitialProps(ctx) { let serverState = {} // Setup a server-side one-time-use apollo client for initial props and // rendering (on server) let apollo = initApollo( {}, { getToken: () =&gt; parseCookies(ctx).token } ) // Evaluate the composed component's getInitialProps() let composedInitialProps = {} if (ComposedComponent.getInitialProps) { composedInitialProps = await ComposedComponent.getInitialProps( ctx, apollo ) } // Run all graphql queries in the component tree // and extract the resulting data if (!process.browser) { if (ctx.res &amp;&amp; ctx.res.finished) { // When redirecting, the response is finished. // No point in continuing to render return } // Provide the `url` prop data in case a graphql query uses it const url = { query: ctx.query, pathname: ctx.pathname } try { // Run all GraphQL queries const app = ( &lt;ApolloProvider client={apollo}&gt; &lt;ComposedComponent url={url} {...composedInitialProps} /&gt; &lt;/ApolloProvider&gt; ) await getDataFromTree(app, { router: { query: ctx.query, pathname: ctx.pathname, asPath: ctx.asPath } }) } catch (error) { // Prevent Apollo Client GraphQL errors from crashing SSR. // Handle them in components via the data.error prop: // http://dev.apollodata.com/react/api-queries.html#graphql-query-data-error } // getDataFromTree does not call componentWillUnmount // head side effect therefore need to be cleared manually Head.rewind() // Extract query data from the Apollo's store serverState = apollo.cache.extract() } return { serverState, ...composedInitialProps } } constructor(props) { super(props) // Note: Apollo should never be used on the server side beyond the initial // render within `getInitialProps()` above (since the entire prop tree // will be initialized there), meaning the below will only ever be // executed on the client. this.apollo = initApollo(this.props.serverState, { getToken: () =&gt; parseCookies().token }) } render() { return ( &lt;ApolloProvider client={this.apollo}&gt; &lt;ComposedComponent {...this.props} /&gt; &lt;/ApolloProvider&gt; ) } }"><pre class="notranslate"><code class="notranslate">import React from 'react' import cookie from 'cookie' import PropTypes from 'prop-types' import { ApolloProvider, getDataFromTree } from 'react-apollo' import Head from 'next/head' import initApollo from './initApollo' function parseCookies(ctx = {}, options = {}) { return cookie.parse( ctx.req &amp;&amp; ctx.req.headers.cookie ? ctx.req.headers.cookie : document.cookie, options ) } function getComponentDisplayName(Component) { return Component.displayName || Component.name || 'Component' } export default ComposedComponent =&gt; class WithData extends React.Component { static displayName = `WithData(${getComponentDisplayName( ComposedComponent )})` static propTypes = { serverState: PropTypes.object.isRequired } static async getInitialProps(ctx) { let serverState = {} // Setup a server-side one-time-use apollo client for initial props and // rendering (on server) let apollo = initApollo( {}, { getToken: () =&gt; parseCookies(ctx).token } ) // Evaluate the composed component's getInitialProps() let composedInitialProps = {} if (ComposedComponent.getInitialProps) { composedInitialProps = await ComposedComponent.getInitialProps( ctx, apollo ) } // Run all graphql queries in the component tree // and extract the resulting data if (!process.browser) { if (ctx.res &amp;&amp; ctx.res.finished) { // When redirecting, the response is finished. // No point in continuing to render return } // Provide the `url` prop data in case a graphql query uses it const url = { query: ctx.query, pathname: ctx.pathname } try { // Run all GraphQL queries const app = ( &lt;ApolloProvider client={apollo}&gt; &lt;ComposedComponent url={url} {...composedInitialProps} /&gt; &lt;/ApolloProvider&gt; ) await getDataFromTree(app, { router: { query: ctx.query, pathname: ctx.pathname, asPath: ctx.asPath } }) } catch (error) { // Prevent Apollo Client GraphQL errors from crashing SSR. // Handle them in components via the data.error prop: // http://dev.apollodata.com/react/api-queries.html#graphql-query-data-error } // getDataFromTree does not call componentWillUnmount // head side effect therefore need to be cleared manually Head.rewind() // Extract query data from the Apollo's store serverState = apollo.cache.extract() } return { serverState, ...composedInitialProps } } constructor(props) { super(props) // Note: Apollo should never be used on the server side beyond the initial // render within `getInitialProps()` above (since the entire prop tree // will be initialized there), meaning the below will only ever be // executed on the client. this.apollo = initApollo(this.props.serverState, { getToken: () =&gt; parseCookies().token }) } render() { return ( &lt;ApolloProvider client={this.apollo}&gt; &lt;ComposedComponent {...this.props} /&gt; &lt;/ApolloProvider&gt; ) } } </code></pre></div> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>next</td> <td>6.0.2</td> </tr> <tr> <td>node</td> <td>9.11.1</td> </tr> <tr> <td>OS</td> <td>Windows 10</td> </tr> <tr> <td>browser</td> <td>Google Chrome</td> </tr> <tr> <td>etc</td> <td></td> </tr> </tbody> </table>
<h1 dir="auto">Bug report</h1> <h2 dir="auto">Describe the bug</h2> <p dir="auto">When running next.js in dev mode and clicking on a link, the error <code class="notranslate">Unhandled Rejection (TypeError): Cannot read property 'call' of undefined</code> until the linked page has been refreshed at least once. It seems to be related to using sass, css and typescript exports.</p> <h2 dir="auto">To Reproduce</h2> <p dir="auto">Follow the readme in this repository: <a href="https://github.com/leanovate/nextjs-hmr-bug">https://github.com/leanovate/nextjs-hmr-bug</a></p> <h2 dir="auto">Expected behavior</h2> <p dir="auto">When clicking the link, the linked page appears and no error is thrown.</p> <h2 dir="auto">Screenshots</h2> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4339283/48205373-6bd69c00-e36c-11e8-9544-dfe4a5b41f94.gif"><img src="https://user-images.githubusercontent.com/4339283/48205373-6bd69c00-e36c-11e8-9544-dfe4a5b41f94.gif" alt="hmr-bug" data-animated-image="" style="max-width: 100%;"></a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4339283/48205496-a2141b80-e36c-11e8-9adf-81b6a3adeb20.png"><img src="https://user-images.githubusercontent.com/4339283/48205496-a2141b80-e36c-11e8-9adf-81b6a3adeb20.png" alt="hmr-bug" style="max-width: 100%;"></a></p> <h2 dir="auto">System information</h2> <ul dir="auto"> <li>OS: macOs</li> <li>Browser: Chrome version 70.0.3538.77</li> <li>Version of Next.js: 7.0.2</li> </ul>
0
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import seaborn as sns"><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></pre></div> <p dir="auto">This causes:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/usr/local/lib/python3.6/dist-packages/matplotlib/__init__.py:886: MatplotlibDeprecationWarning: examples.directory is deprecated; in the future, examples will be found relative to the 'datapath' directory. &quot;found relative to the 'datapath' directory.&quot;.format(key))"><pre class="notranslate"><code class="notranslate">/usr/local/lib/python3.6/dist-packages/matplotlib/__init__.py:886: MatplotlibDeprecationWarning: examples.directory is deprecated; in the future, examples will be found relative to the 'datapath' directory. "found relative to the 'datapath' directory.".format(key)) </code></pre></div> <p dir="auto">python 3.6</p>
<p dir="auto">Seaborn triggers following <code class="notranslate">MatplotlibDeprecationWarning examples.directory is deprecated</code> on import.<br> From what I understand seaborn touches this configuration with matplotlib <code class="notranslate">rcParams</code>, which now triggers a warning.</p> <p dir="auto">I don't see any other side-effects yet, it is for not just annoying to see.</p> <p dir="auto">Installed versions:</p> <ul dir="auto"> <li>seaborn [required: Any, installed: 0.9.0]</li> <li>matplotlib [required: &gt;=1.4.3, installed: 3.0.0]</li> </ul> <p dir="auto">Steps to reproduce:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="python Python 3.7.1 (default, Oct 22 2018, 10:41:28) [GCC 8.2.1 20180831] on linux Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information. &gt;&gt;&gt; import seaborn /home/me/.local/share/virtualenvs/QbuZIpeN/lib/python3.7/site-packages/matplotlib/__init__.py:886: MatplotlibDeprecationWarning: examples.directory is deprecated; in the future, examples will be found relative to the 'datapath' directory. &quot;found relative to the 'datapath' directory.&quot;.format(key)) &gt;&gt;&gt; "><pre class="notranslate"><span class="pl-s1">python</span> <span class="pl-v">Python</span> <span class="pl-c1">3.7</span><span class="pl-c1">.1</span> (<span class="pl-s1">default</span>, <span class="pl-v">Oct</span> <span class="pl-c1">22</span> <span class="pl-c1">2018</span>, <span class="pl-c1">10</span>:<span class="pl-c1">41</span>:<span class="pl-c1">28</span>) [<span class="pl-v">GCC</span> <span class="pl-c1">8.2</span><span class="pl-c1">.1</span> <span class="pl-c1">20180831</span>] <span class="pl-s1">on</span> <span class="pl-s1">linux</span> <span class="pl-v">Type</span> <span class="pl-s">"help"</span>, <span class="pl-s">"copyright"</span>, <span class="pl-s">"credits"</span> <span class="pl-c1">or</span> <span class="pl-s">"license"</span> <span class="pl-k">for</span> <span class="pl-s1">more</span> <span class="pl-s1">information</span>. <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-k">import</span> <span class="pl-s1">seaborn</span> <span class="pl-c1">/</span><span class="pl-s1">home</span><span class="pl-c1">/</span><span class="pl-s1">me</span><span class="pl-c1">/</span>.<span class="pl-s1">local</span><span class="pl-c1">/</span><span class="pl-s1">share</span><span class="pl-c1">/</span><span class="pl-s1">virtualenvs</span><span class="pl-c1">/</span><span class="pl-v">QbuZIpeN</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python3</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">matplotlib</span><span class="pl-c1">/</span><span class="pl-s1">__init__</span>.<span class="pl-s1">py</span>:<span class="pl-c1">886</span>: <span class="pl-v">MatplotlibDeprecationWarning</span>: <span class="pl-s1">examples</span>.<span class="pl-s1">directory</span> <span class="pl-c1">is</span> <span class="pl-s1">deprecated</span>; <span class="pl-c1">in</span> <span class="pl-s1">the</span> <span class="pl-s1">future</span>, <span class="pl-s1">examples</span> <span class="pl-s1">will</span> <span class="pl-s1">be</span> <span class="pl-s1">found</span> <span class="pl-s1">relative</span> <span class="pl-s1">to</span> <span class="pl-s1">the</span> <span class="pl-s">'datapath'</span> <span class="pl-s1">directory</span>. "<span class="pl-s1">found</span> <span class="pl-s1">relative</span> <span class="pl-s1">to</span> <span class="pl-s1">the</span> <span class="pl-s">'datapath'</span> <span class="pl-s1">directory</span>.".<span class="pl-en">format</span>(<span class="pl-s1">key</span>)) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> </pre></div>
1
<p dir="auto">Currently any remote content for the modal dialogs are loaded once upon initialization of the Modal object.</p> <p dir="auto">The remote content should instead be loaded in the Modal#show method instead so that the modal contents are always the latest version available on the server.</p>
<p dir="auto">I am using the modal dialog on a Grails based application. The first time I click a link (using the &lt;a&gt; tag) my action is fired as I can see in my debugger and I'm able to operate on data. Any link clicked afterwards is no longer 'loading' the URL specified by data-remote so the same dialog from the first attempt is displayed over and over.</p> <p dir="auto">I am assuming that this would work correctly in the javascript version. Is there no way for this to work with the data api version?</p>
1
<p dir="auto">I was trying to write a unit test which relied on code that was intended to run during <code class="notranslate">ngOnChanges</code>,</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="it('should emit an event when the message has changed', injectAsync([TestComponentBuilder], (tcb) =&gt; { return tcb.createAsync(MyComponent, (fixture) =&gt; var result = fixture.componentInstance.change.first().toPromise().then((change) =&gt; { //expectations }); fixture.componentInstance.message = 'some message'; fixture.detectChanges(); return result; });"><pre class="notranslate"><span class="pl-en">it</span><span class="pl-kos">(</span><span class="pl-s">'should emit an event when the message has changed'</span><span class="pl-kos">,</span> <span class="pl-en">injectAsync</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-smi">TestComponentBuilder</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-s1">tcb</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-s1">tcb</span><span class="pl-kos">.</span><span class="pl-en">createAsync</span><span class="pl-kos">(</span><span class="pl-smi">MyComponent</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-s1">fixture</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">var</span> <span class="pl-s1">result</span> <span class="pl-c1">=</span> <span class="pl-s1">fixture</span><span class="pl-kos">.</span><span class="pl-c1">componentInstance</span><span class="pl-kos">.</span><span class="pl-c1">change</span><span class="pl-kos">.</span><span class="pl-en">first</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toPromise</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">then</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">change</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-c">//expectations</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">fixture</span><span class="pl-kos">.</span><span class="pl-c1">componentInstance</span><span class="pl-kos">.</span><span class="pl-c1">message</span> <span class="pl-c1">=</span> <span class="pl-s">'some message'</span><span class="pl-kos"></span><span class="pl-kos">;</span> <span class="pl-s1">fixture</span><span class="pl-kos">.</span><span class="pl-en">detectChanges</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">result</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">However this does nothing as the change detector will not detect that the input property has changed, since I'm modifying the value on the child component.</p> <p dir="auto">I eventually solved the issue by wrapping the test component in another component as follows:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@ng.Component({ selector: 'my-component-host' template: '&lt;my-component [message]=&quot;message&quot; (change)=&quot;onChange.emit($event)&quot;&gt;&lt;/my-component&gt; directives: [MyComponent] }) class MyComponentHost { message: string; onChange = new EventEmitter(); }"><pre class="notranslate">@<span class="pl-s1">ng</span><span class="pl-kos">.</span><span class="pl-c1">Component</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">selector</span>: <span class="pl-s">'my-component-host'</span> <span class="pl-s1">template</span>: '&lt;my-component [message]="message" (change)="onChange.emit($event)"&gt;&lt;/my-component&gt; directives: [MyComponent] }) class MyComponentHost { message: string; onChange = new EventEmitter(); }</pre></div> <p dir="auto">And then ran the test on the host component instead. However, this is needlessly cumbersome and verbose for what should be a simple unit test.</p> <p dir="auto">Would it be possible to add a method like <code class="notranslate">ComponentFixture.bindInput(input: string, toValue: any)</code> which would modify one of the component's input properties so that the change is detected during change detection?</p>
<p dir="auto">Our package.json lists many peer dependencies as just dependencies, but should be reflected as peer dependencies:</p> <ul dir="auto"> <li>reflect-metadata</li> <li>rxjs</li> <li>zone.js</li> <li>es6-shim</li> </ul> <p dir="auto">This is to make sure duplicates don't end up in bundles, and to make sure Angular is sharing the same instances of modules. This is particularly important with RxJS where importing operators has a side effect of monkey-patching the <code class="notranslate">Observable</code> imported from <code class="notranslate">rxjs/Observable</code>.</p>
0
<h2 dir="auto"><g-emoji class="g-emoji" alias="rocket" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f680.png">🚀</g-emoji> Feature</h2> <p dir="auto">If a model consists of a DDP submodule, the module cannot be torchscripted since DDP itself cannot be torchscripted.</p> <h2 dir="auto">Motivation</h2> <p dir="auto">Certain complex models (especially with model parallelism) might consist of submodules where only some of the submodules need to be replicated via DDP. Torchscripting such a complex module would fail since DDP is not torchscriptable. Supporting torchscript for DDP would allow users much more flexibility in how they build and torchscript complex models.</p> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gmagogsfm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gmagogsfm">@gmagogsfm</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pietern/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pietern">@pietern</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mrshenli/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mrshenli">@mrshenli</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pritamdamania87/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pritamdamania87">@pritamdamania87</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zhaojuanmao/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zhaojuanmao">@zhaojuanmao</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/satgera/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/satgera">@satgera</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rohan-varma/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rohan-varma">@rohan-varma</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gqchen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gqchen">@gqchen</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/aazzolini/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/aazzolini">@aazzolini</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/xush6528/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/xush6528">@xush6528</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/osalpekar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/osalpekar">@osalpekar</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jiayisuse/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jiayisuse">@jiayisuse</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/agolynski/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/agolynski">@agolynski</a></p>
<h2 dir="auto"><g-emoji class="g-emoji" alias="rocket" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f680.png">🚀</g-emoji> Feature</h2> <p dir="auto">The <a href="https://pytorch.org/docs/stable/distributed.html" rel="nofollow"><code class="notranslate">torch.distributed</code></a> package provides PyTorch support and communication primitives for multiprocess parallelism across several computation nodes running on one or more machines. It is the new basis for the <code class="notranslate">DistributedDataParallel</code> wrapper class, which provides a higher-level toolkit for performing synchronous distributed training.</p> <p dir="auto">An internal request is that we extend TorchScript to support the <code class="notranslate">torch.distributed</code> package, so that people can use the distributed communication primitives within a TorchScript program.</p> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/suo/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/suo">@suo</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gmagogsfm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gmagogsfm">@gmagogsfm</a></p>
1
<p dir="auto">Hi,<br> i'm facing an issue with the with_items option in combination with a variable to replace + a fixed string behind the variable name. The issue came up after updating from 1.9.4 to 2.0.0.2.</p> <h2 dir="auto">Environment:</h2> <p dir="auto">Ansible: 2.0.0.2-1<br> OS: Ubuntu 14.04<br> Python: 2.7.5-5ubuntu3</p> <h2 dir="auto">Steps To Reproduce:</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="site.yml --- - hosts: localhost tags: withitems roles: - { role: withitems } roles/withitems/tasks/main.yml --- - name: debug01 debug: msg={{ role_name }} - name: debug02 debug: msg=&quot;{{ role_name }}_anystring&quot; with_items: nameofrole_anystring - name: debug03 debug: msg={{ item.name }} with_items: nameofrole_anystring - name: debug04 debug: msg={{ item }} with_items: &quot;{{ role_name }}_anystring&quot; - name: debug05 debug: msg={{ item.name }} with_items: - { name: foo } - name: debug06 debug: msg={{ item.name }} with_items: &quot;{{ role_name }}_anystring&quot; roles/withitems/vars/main.yml --- role_name: nameofrole nameofrole_anystring: - { name: foo }"><pre class="notranslate"><code class="notranslate">site.yml --- - hosts: localhost tags: withitems roles: - { role: withitems } roles/withitems/tasks/main.yml --- - name: debug01 debug: msg={{ role_name }} - name: debug02 debug: msg="{{ role_name }}_anystring" with_items: nameofrole_anystring - name: debug03 debug: msg={{ item.name }} with_items: nameofrole_anystring - name: debug04 debug: msg={{ item }} with_items: "{{ role_name }}_anystring" - name: debug05 debug: msg={{ item.name }} with_items: - { name: foo } - name: debug06 debug: msg={{ item.name }} with_items: "{{ role_name }}_anystring" roles/withitems/vars/main.yml --- role_name: nameofrole nameofrole_anystring: - { name: foo } </code></pre></div> <h3 dir="auto">When executing this on Ansible 1.9.4:</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=":~ ansible --version ansible 1.9.4 configured module search path = None :~ ansible-playbook testsite.yml --tags withitems PLAY [localhost] ************************************************************** TASK: [withitems | debug01] *************************************************** ok: [localhost] =&gt; { &quot;msg&quot;: &quot;nameofrole&quot; } TASK: [withitems | debug02] *************************************************** ok: [localhost] =&gt; (item={'name': 'foo'}) =&gt; { &quot;item&quot;: { &quot;name&quot;: &quot;foo&quot; }, &quot;msg&quot;: &quot;nameofrole_anystring&quot; } TASK: [withitems | debug03] *************************************************** ok: [localhost] =&gt; (item={'name': 'foo'}) =&gt; { &quot;item&quot;: { &quot;name&quot;: &quot;foo&quot; }, &quot;msg&quot;: &quot;foo&quot; } TASK: [withitems | debug04] *************************************************** ok: [localhost] =&gt; (item={'name': 'foo'}) =&gt; { &quot;item&quot;: { &quot;name&quot;: &quot;foo&quot; }, &quot;msg&quot;: &quot;{'name':&quot; } TASK: [withitems | debug05] *************************************************** ok: [localhost] =&gt; (item={'name': 'foo'}) =&gt; { &quot;item&quot;: { &quot;name&quot;: &quot;foo&quot; }, &quot;msg&quot;: &quot;foo&quot; } TASK: [withitems | debug06] *************************************************** ok: [localhost] =&gt; (item={'name': 'foo'}) =&gt; { &quot;item&quot;: { &quot;name&quot;: &quot;foo&quot; }, &quot;msg&quot;: &quot;foo&quot; } PLAY RECAP ******************************************************************** localhost : ok=6 changed=0 unreachable=0 failed=0"><pre class="notranslate"><code class="notranslate">:~ ansible --version ansible 1.9.4 configured module search path = None :~ ansible-playbook testsite.yml --tags withitems PLAY [localhost] ************************************************************** TASK: [withitems | debug01] *************************************************** ok: [localhost] =&gt; { "msg": "nameofrole" } TASK: [withitems | debug02] *************************************************** ok: [localhost] =&gt; (item={'name': 'foo'}) =&gt; { "item": { "name": "foo" }, "msg": "nameofrole_anystring" } TASK: [withitems | debug03] *************************************************** ok: [localhost] =&gt; (item={'name': 'foo'}) =&gt; { "item": { "name": "foo" }, "msg": "foo" } TASK: [withitems | debug04] *************************************************** ok: [localhost] =&gt; (item={'name': 'foo'}) =&gt; { "item": { "name": "foo" }, "msg": "{'name':" } TASK: [withitems | debug05] *************************************************** ok: [localhost] =&gt; (item={'name': 'foo'}) =&gt; { "item": { "name": "foo" }, "msg": "foo" } TASK: [withitems | debug06] *************************************************** ok: [localhost] =&gt; (item={'name': 'foo'}) =&gt; { "item": { "name": "foo" }, "msg": "foo" } PLAY RECAP ******************************************************************** localhost : ok=6 changed=0 unreachable=0 failed=0 </code></pre></div> <h3 dir="auto">When executing this on Ansible 2.0.0.2:</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=":~ ansible --version ansible 2.0.0.2 config file = /root/ansible-test/ansible.cfg configured module search path = Default w/o overrides :~ ansible-playbook testsite.yml --tags withitems PLAY *************************************************************************** TASK [withitems : debug01] ***************************************************** ok: [localhost] =&gt; { &quot;msg&quot;: &quot;withitems&quot; } TASK [withitems : debug02] ***************************************************** ok: [localhost] =&gt; (item={u'name': u'foo'}) =&gt; { &quot;item&quot;: { &quot;name&quot;: &quot;foo&quot; }, &quot;msg&quot;: &quot;withitems_anystring&quot; } TASK [withitems : debug03] ***************************************************** ok: [localhost] =&gt; (item={u'name': u'foo'}) =&gt; { &quot;item&quot;: { &quot;name&quot;: &quot;foo&quot; }, &quot;msg&quot;: &quot;foo&quot; } TASK [withitems : debug04] ***************************************************** ok: [localhost] =&gt; (item=withitems_anystring) =&gt; { &quot;item&quot;: &quot;withitems_anystring&quot;, &quot;msg&quot;: &quot;withitems_anystring&quot; } TASK [withitems : debug05] ***************************************************** ok: [localhost] =&gt; (item={u'name': u'foo'}) =&gt; { &quot;item&quot;: { &quot;name&quot;: &quot;foo&quot; }, &quot;msg&quot;: &quot;foo&quot; } TASK [withitems : debug06] ***************************************************** fatal: [localhost]: FAILED! =&gt; {&quot;failed&quot;: true, &quot;msg&quot;: &quot;ERROR! 'unicode object' has no attribute 'name'&quot;} PLAY RECAP ********************************************************************* localhost : ok=5 changed=0 unreachable=0 failed=1"><pre class="notranslate"><code class="notranslate">:~ ansible --version ansible 2.0.0.2 config file = /root/ansible-test/ansible.cfg configured module search path = Default w/o overrides :~ ansible-playbook testsite.yml --tags withitems PLAY *************************************************************************** TASK [withitems : debug01] ***************************************************** ok: [localhost] =&gt; { "msg": "withitems" } TASK [withitems : debug02] ***************************************************** ok: [localhost] =&gt; (item={u'name': u'foo'}) =&gt; { "item": { "name": "foo" }, "msg": "withitems_anystring" } TASK [withitems : debug03] ***************************************************** ok: [localhost] =&gt; (item={u'name': u'foo'}) =&gt; { "item": { "name": "foo" }, "msg": "foo" } TASK [withitems : debug04] ***************************************************** ok: [localhost] =&gt; (item=withitems_anystring) =&gt; { "item": "withitems_anystring", "msg": "withitems_anystring" } TASK [withitems : debug05] ***************************************************** ok: [localhost] =&gt; (item={u'name': u'foo'}) =&gt; { "item": { "name": "foo" }, "msg": "foo" } TASK [withitems : debug06] ***************************************************** fatal: [localhost]: FAILED! =&gt; {"failed": true, "msg": "ERROR! 'unicode object' has no attribute 'name'"} PLAY RECAP ********************************************************************* localhost : ok=5 changed=0 unreachable=0 failed=1 </code></pre></div> <h2 dir="auto">Actual Results:</h2> <p dir="auto">Using with_items: "{{ variable_name }}_fixedstring" the playbook fails to find attributes on the item.</p> <h2 dir="auto">Expected Results:</h2> <p dir="auto">Usage of above combination is able to find attributes like it was in version &lt;2.0.</p> <p dir="auto">Let me know if i can provide further details. Thank you for your help.</p>
<h5 dir="auto">Issue Type: Bug Report/Regression</h5> <h5 dir="auto">Ansible Version:</h5> <p dir="auto">ansible 2.0.0 (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/ansible/ansible/commit/f41dd578b340b76aa706af9540fd8fab2fbb0eb6/hovercard" href="https://github.com/ansible/ansible/commit/f41dd578b340b76aa706af9540fd8fab2fbb0eb6"><tt>f41dd57</tt></a>)</p> <h5 dir="auto">Ansible Configuration:</h5> <p dir="auto">self-packaged version based on above revision</p> <h5 dir="auto">Environment:</h5> <p dir="auto">openSuSE Leap 42.1</p> <h5 dir="auto">Summary:</h5> <p dir="auto">Substituting variable names based on other variables does not work in ansible 2.0.0 but used to work in 1.9.4.</p> <p dir="auto">This should either be fixed or stated more prominently in the Changelog as it breaks existing playbooks.</p> <h5 dir="auto">Steps To Reproduce:</h5> <p dir="auto">Example playbook:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="vars: packages_install_42: - bash - zsh tasks: - name: install stuff zypper: name={{item}} state=present with_items: packages_install_{{ansible_distribution_major_version}}"><pre class="notranslate"><code class="notranslate">vars: packages_install_42: - bash - zsh tasks: - name: install stuff zypper: name={{item}} state=present with_items: packages_install_{{ansible_distribution_major_version}} </code></pre></div> <h5 dir="auto">Expected Results:</h5> <p dir="auto">Variable packages_install_42 is used, the packages bash and zsh are installed.</p> <h5 dir="auto">Actual Results:</h5> <p dir="auto">The task fails:<br> <code class="notranslate">(item=[u'packages_install_42']) =&gt; {"failed": true, "item": ["packages_install_42"], "msg": "No provider of 'packages_install_42' found.\n", "rc": 104}</code></p>
1