text1
stringlengths 0
536k
| text2
stringlengths 0
536k
| label
int64 0
1
|
---|---|---|
<h3 dir="auto">Is there an existing issue for this?</h3>
<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 existing issues</li>
</ul>
<h3 dir="auto">This issue exists in the latest npm version</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I am using the latest npm</li>
</ul>
<h3 dir="auto">Current Behavior</h3>
<p dir="auto">Create this package in an empty directory:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"name": "missing-fs-extra",
"private": true,
"description": "A simple package to reproduce missing dependencies when installing with the --production flag",
"version": "0.1.0",
"dependencies": {
"gatsby": "^4.4.0"
},
"devDependencies": {
"@storybook/react": "^6.4.9"
},
"license": "MIT",
"scripts": {
"build": "gatsby build"
}
}"><pre class="notranslate"><code class="notranslate">{
"name": "missing-fs-extra",
"private": true,
"description": "A simple package to reproduce missing dependencies when installing with the --production flag",
"version": "0.1.0",
"dependencies": {
"gatsby": "^4.4.0"
},
"devDependencies": {
"@storybook/react": "^6.4.9"
},
"license": "MIT",
"scripts": {
"build": "gatsby build"
}
}
</code></pre></div>
<p dir="auto">Then attempt to run:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="npm install --production && npm run build"><pre class="notranslate"><code class="notranslate">npm install --production && npm run build
</code></pre></div>
<p dir="auto">Notice how <code class="notranslate">fs-extra</code> which is a direct dependency of <code class="notranslate">gatsby</code> is missing from the installed node-modules. <code class="notranslate">fs-extra</code> is also a direct dependency (with a mismatched version) of <code class="notranslate">@storybook/react</code>, however <code class="notranslate">@storybook/react</code> is a <code class="notranslate">devDependency</code> so my understanding is that it should be ignored completely when installing with the <code class="notranslate">--production</code> flag.</p>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto"><code class="notranslate">fs-extra</code> should be installed in <code class="notranslate">node_modules</code> because it is a direct dependency of <code class="notranslate">gatsby</code> which is a direct dependency of the root package.</p>
<h3 dir="auto">Steps To Reproduce</h3>
<ol dir="auto">
<li>Using <code class="notranslate">npm</code> version 8.3.0</li>
<li>With this package:</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"name": "missing-fs-extra",
"private": true,
"description": "A simple package to reproduce missing dependencies when installing with the --production flag",
"version": "0.1.0",
"dependencies": {
"gatsby": "^4.4.0"
},
"devDependencies": {
"@storybook/react": "^6.4.9"
},
"license": "MIT",
"scripts": {
"build": "gatsby build"
}
}"><pre class="notranslate"><code class="notranslate">{
"name": "missing-fs-extra",
"private": true,
"description": "A simple package to reproduce missing dependencies when installing with the --production flag",
"version": "0.1.0",
"dependencies": {
"gatsby": "^4.4.0"
},
"devDependencies": {
"@storybook/react": "^6.4.9"
},
"license": "MIT",
"scripts": {
"build": "gatsby build"
}
}
</code></pre></div>
<ol start="3" dir="auto">
<li>Run <code class="notranslate">npm install --production</code></li>
<li>Notice the <code class="notranslate">fs-extra</code> module is missing from the installed modules, and when gatsby runs (<code class="notranslate">npm run build</code>) it fails to resolve the dependency.</li>
</ol>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>npm: 8.3.0</li>
<li>Node: v14.18.2</li>
<li>OS: MacOS Catalina 10.15.7 (19H1615)</li>
<li>platform: MacbookPro</li>
<li>npm config:</li>
</ul>
<div class="highlight highlight-source-ini notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="; node bin location = /Users/fernandotoledo/.nvm/versions/node/v14.18.2/bin/node
; cwd = /Users/fernandotoledo/Desktop/test
; HOME = /Users/fernandotoledo
; Run `npm config ls -l` to show all defaults."><pre class="notranslate"><span class="pl-c"><span class="pl-c">;</span> node bin location = /Users/fernandotoledo/.nvm/versions/node/v14.18.2/bin/node</span>
<span class="pl-c"><span class="pl-c">;</span> cwd = /Users/fernandotoledo/Desktop/test</span>
<span class="pl-c"><span class="pl-c">;</span> HOME = /Users/fernandotoledo</span>
<span class="pl-c"><span class="pl-c">;</span> Run `npm config ls -l` to show all defaults.</span></pre></div> | <h3 dir="auto">Is there an existing issue for this?</h3>
<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 existing issues</li>
</ul>
<h3 dir="auto">Current Behavior</h3>
<p dir="auto">If a package contains a node_modules that is symlinked then an npm install will issue the message<br>
npm WARN reify Removing non-directory ....<br>
and delete the node_modules directory.</p>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">A symlinked node_modules directory should be used as is and not recreated - many people symlink node_modules to a local filesystem so that it does not get synced to cloud storage (like Dropbox).</p>
<p dir="auto">I suspect that the npm code is just checking if any existing file object named node_modules is a directory and does not also check to see if the non-directory file object is actually a symlinked directory.</p>
<h3 dir="auto">Steps To Reproduce</h3>
<p dir="auto">cd /tmp<br>
mkdir symlinked<br>
mkdir z<br>
cd z<br>
npm init -y<br>
ln -s /tmp/symlinked node_modules .<br>
npm install lodash</p>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>OS: Ubuntu 20.04.1</li>
<li>Node: 16.7</li>
<li>npm: 7.21.0</li>
</ul> | 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/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7</li>
<li>Operating System version:</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>正常导出服务,服务提供者地址为<a href="http://169.254.71.3:8081/com.luban.mock_demo.api.HelloService?anyhost=true&application=xml-demo-provider&bean.name=com.luban.mock_demo.api.HelloService&bind.ip=169.254.71.3&bind.port=8081&default.deprecated=false&default.dynamic=false&default.register=true&deprecated=false&dubbo=2.0.2&dynamic=false&generic=false&interface=com.luban.mock_demo.api.HelloService&methods=sayHello&pid=15854&register=true&release=2.7.0&server=tomcat&side=provider&timeout=2000&timestamp=1553146018199" rel="nofollow">http://169.254.71.3:8081/com.luban.mock_demo.api.HelloService?anyhost=true&application=xml-demo-provider&bean.name=com.luban.mock_demo.api.HelloService&bind.ip=169.254.71.3&bind.port=8081&default.deprecated=false&default.dynamic=false&default.register=true&deprecated=false&dubbo=2.0.2&dynamic=false&generic=false&interface=com.luban.mock_demo.api.HelloService&methods=sayHello&pid=15854&register=true&release=2.7.0&server=tomcat&side=provider&timeout=2000&timestamp=1553146018199</a></li>
<li>修改改服务的动态配置后,服务提供者地址变为<a href="http://169.254.71.3:8081/com.luban.mock_demo.api.HelloService?anyhost=true&application=xml-demo-provider&bean.name=com.luban.mock_demo.api.HelloService&bind.ip=169.254.71.3&bind.port=8081&compatible_config=true&default.deprecated=false&default.dynamic=false&default.register=true&deprecated=false&dubbo=2.0.2&dynamic=false&generic=false&interface=com.luban.mock_demo.api.HelloService&methods=sayHello&pid=15854&register=true&release=2.7.0&server=tomcat&side=provider&timeout=6000&timestamp=1553146018199%EF%BC%8C%E8%AF%A5%E5%9C%B0%E5%9D%80%E4%B8%AD%E5%A2%9E%E5%8A%A0%E4%BA%86%E5%8F%82%E6%95%B0compatible_config=true%E3%80%82" rel="nofollow">http://169.254.71.3:8081/com.luban.mock_demo.api.HelloService?anyhost=true&application=xml-demo-provider&bean.name=com.luban.mock_demo.api.HelloService&bind.ip=169.254.71.3&bind.port=8081&compatible_config=true&default.deprecated=false&default.dynamic=false&default.register=true&deprecated=false&dubbo=2.0.2&dynamic=false&generic=false&interface=com.luban.mock_demo.api.HelloService&methods=sayHello&pid=15854&register=true&release=2.7.0&server=tomcat&side=provider&timeout=6000&timestamp=1553146018199,该地址中增加了参数compatible_config=true。</a></li>
<li>消费引用服务报找不到服务提供者地址。</li>
</ol>
<p dir="auto">问题出现的原因其实就是因为新的服务提供者地址中增加了compatible_config=true参数,消费者在引入该服务时,改地址会被过滤掉,所以找不到该服务提供者地址。<br>
而compatible_config=true该参数出现的原因是,修改了动态配置中心,所以在configurators中存在了override%3A%2F%2F0.0.0.0%2Fcom.luban.mock_demo.api.HelloService%3Fcategory%3Dconfigurators%26compatible_config%3Dtrue%26dynamic%3Dfalse%26enabled%3Dtrue%26timeout%3D6000,这个地址中有compatible_config参数,并且服务端会监听到这个地址的变化,然后去重写服务提供者地址,就导致了服务提供者地址中出现compatible_config=true参数。</p>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">消费能正常引用改服务</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">消费不能正常引用改服务<br>
What actually happens?</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here!
</code></pre></div> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Confusion</h3>
<ul dir="auto">
<li>
<p dir="auto">Are there a feature for batched rpc in dubbo?<br>
what I mean batched rpc is that the individual invocations in a batch are dispatched by a single thread in server-side in the order in which they were placed into the batch message, which guarantees the individual operations in a batched rpc are processed in order in the server.</p>
</li>
<li>
<p dir="auto">the official-site-doc says we can set up retry-timeout in an xml file and then the client will retry all the failed invocations regardless what's failing the invocation.</p>
<ul dir="auto">
<li>Does the Dubbo follow at-most-once semantics when handling failures?</li>
<li>How does Dubbo handle failed invocations in the following cases:
<ol dir="auto">
<li>A connection could not be established due to the crash of the remote physical machine (connection unreachable error)</li>
<li>A connection could not be established due to the crash of the remote process (connection refused error)</li>
<li>A connection lost due to the accident shutdown of the remote physical machine (connection unreachable error)</li>
<li>A connection lost due to the crash of the remote process (connection refused error)</li>
<li>An remote invocation timeout expired due to software bug such as thread overflowed, deadlock or high cpu loads, oom.</li>
<li>An exception occurred while sending the request</li>
<li>An exception occurred while receiving the reply</li>
<li>An exception occurred after sending the request</li>
<li>An exception occurred after receiving the reply</li>
</ol>
</li>
</ul>
</li>
</ul>
<p dir="auto">where abcde are the failure cases and fghi are the state of the system when error happens.<br>
that means we have 20 combinations that need to take into account...</p>
<p dir="auto">Regards,<br>
Thanks.</p> | 0 |
<h2 dir="auto">Problem Description</h2>
<p dir="auto">In the most recent alpha with the most recent release of <a href="https://github.com/necolas/normalize.css">normalize.css</a> (4.0.0), EnhancedButtons are styled like actual buttons.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/3111765/13961599/dd80e7d8-f022-11e5-846a-81a1990850be.png"><img src="https://cloud.githubusercontent.com/assets/3111765/13961599/dd80e7d8-f022-11e5-846a-81a1990850be.png" alt="materialuinormalizeissue" style="max-width: 100%;"></a></p>
<p dir="auto">After doing some digging, the problem is with recent changes in both projects. In material-ui, commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/mui/material-ui/commit/00b6ba1d655a1cb8d9f120bf43a07ff677f82334/hovercard" href="https://github.com/mui/material-ui/commit/00b6ba1d655a1cb8d9f120bf43a07ff677f82334"><tt>00b6ba1</tt></a> added passing the type attribute to the inner element, and in normalize.css <a href="https://github.com/necolas/normalize.css/commit/9a3b1b32f460cdac60d934aad59cf498bd515d6e">a recent commit</a> lowered the specificity of a rule giving any element with <code class="notranslate">[type=button]</code> <code class="notranslate">-webkit-appearance: button</code>. I've already opened <a href="https://github.com/necolas/normalize.css/issues/554" data-hovercard-type="issue" data-hovercard-url="/necolas/normalize.css/issues/554/hovercard">an issue in their project</a> but because type is not a valid attribute for span and because lowering the specificity is slightly more performant, they don't seem to keen on reverting those changes.</p>
<h2 dir="auto">Versions</h2>
<ul dir="auto">
<li>Material-UI: 0.15.0-alpha.2</li>
<li>React: 0.14.7</li>
<li>Browser: Google Chrome 49.0.2623.87 (64-bit)</li>
</ul> | <p dir="auto">While working on <a href="https://github.com/techniq/mui-app-container">mui-app-container</a>, I ran into an issue with <code class="notranslate">AppBar</code> that appears to only be present on Safari (it does not exhibit on Chrome or IE 11 at least) - when toggling a persistent drawer closed and then reopen it, the <code class="notranslate">AppBar</code> does not account for the width of the drawer.</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/mui-org/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">An <code class="notranslate">AppBar</code> should offset to the right by the amount of the drawer after reopening.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">After closing and reopening a persistent <code class="notranslate">Drawer</code>, the left side of <code class="notranslate">AppBar</code> is now under the Drawer instead of being shifted to the right. This is present on the v1 <a href="https://material-ui-next.com" rel="nofollow">docs</a> as of today (v1.0.0-beta.28). Notice the "Drawers" title not being present.</p>
<h2 dir="auto">Safari (problem)</h2>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/177476/35002023-461f7b34-fab6-11e7-99e8-a25f247b72f6.gif"><img src="https://user-images.githubusercontent.com/177476/35002023-461f7b34-fab6-11e7-99e8-a25f247b72f6.gif" alt="safari_20180116" data-animated-image="" style="max-width: 100%;"></a></p>
<h2 dir="auto">Chrome (no problem)</h2>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/177476/35002037-5628d318-fab6-11e7-8115-33c95f329d43.gif"><img src="https://user-images.githubusercontent.com/177476/35002037-5628d318-fab6-11e7-8115-33c95f329d43.gif" alt="chrome_20180116" data-animated-image="" style="max-width: 100%;"></a></p>
<p dir="auto">You can also see this problem when toggling the <a href="https://material-ui-next.com/demos/drawers/#persistent-drawer" rel="nofollow">persistent drawer</a> example (notice "Persistent drawer" no longer being visible when the drawer is open)<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/177476/35002100-90296e38-fab6-11e7-879f-dbf97ca3983a.gif"><img src="https://user-images.githubusercontent.com/177476/35002100-90296e38-fab6-11e7-879f-dbf97ca3983a.gif" alt="safari2_20180116" data-animated-image="" style="max-width: 100%;"></a></p>
<p dir="auto">You can also see this problem reproduced in mui-app-container's <a href="https://techniq.github.io/mui-app-container/" rel="nofollow">storybook</a> with the story source <a href="https://github.com/techniq/mui-app-container/blob/master/stories/examples.js">here</a></p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<ol dir="auto">
<li>Go to <a href="https://material-ui-next.com/demos/drawers/#persistent-drawer" rel="nofollow">persistent drawer</a> example</li>
<li>Click on menu icon to toggle drawer</li>
<li>Notice "Persistent drawer" title is hidden under drawer instead of being shifted]</li>
</ol>
<h2 dir="auto">Context</h2>
<p dir="auto">I have been working on creating a <code class="notranslate"><AppContainer></code> component to help orchestrate <code class="notranslate"><Drawer></code>, <code class="notranslate"><AppBar></code>, and content components and came across this issue.</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.28</td>
</tr>
<tr>
<td>React</td>
<td>16.1.1</td>
</tr>
<tr>
<td>browser</td>
<td>Safari 11.0.2 (desktop and iOS)</td>
</tr>
</tbody>
</table> | 0 |
<p dir="auto">This code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="m = krm.Graph()
m.add_input('x', input_shape=(10,))
m.add_node(klc.Dense(5), 'y', input='x', create_output=True)
m.compile(loss={'y': 'mse'}, optimizer='adam')
with open('test.json', 'w') as f:
f.write(m.to_json())
with open('test.json', 'r') as f:
m = krm.model_from_json(f.read())"><pre class="notranslate"><code class="notranslate">m = krm.Graph()
m.add_input('x', input_shape=(10,))
m.add_node(klc.Dense(5), 'y', input='x', create_output=True)
m.compile(loss={'y': 'mse'}, optimizer='adam')
with open('test.json', 'w') as f:
f.write(m.to_json())
with open('test.json', 'r') as f:
m = krm.model_from_json(f.read())
</code></pre></div>
<p dir="auto">crashes with the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="... models.py", line 166, in model_from_json
... models.py", line 177, in model_from_config
... layer_utils.py", line 64, in container_from_config
... containers.py", line 568, in add_output
raise Exception('Duplicate output identifier: ' + name)
Exception: Duplicate output identifier: y"><pre class="notranslate"><code class="notranslate">... models.py", line 166, in model_from_json
... models.py", line 177, in model_from_config
... layer_utils.py", line 64, in container_from_config
... containers.py", line 568, in add_output
raise Exception('Duplicate output identifier: ' + name)
Exception: Duplicate output identifier: y
</code></pre></div>
<p dir="auto">I'll see if I can fix it.</p> | <p dir="auto">This is probably a duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="187552076" data-permission-text="Title is private" data-url="https://github.com/keras-team/keras/issues/4302" data-hovercard-type="issue" data-hovercard-url="/keras-team/keras/issues/4302/hovercard" href="https://github.com/keras-team/keras/issues/4302">#4302</a> (where only tensorflow was tested).</p>
<h3 dir="auto">Problem</h3>
<p dir="auto">when using the Reshape layer it is not clear if one can use an unknown dimension (<code class="notranslate">-1</code>) like in <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.reshape.html" rel="nofollow">numpy</a>. Using it results in an error. See the following example (please bare with we that this is not a useful example, but it's just to show the actual problem):</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from keras.layers.core import Dense, Reshape
from keras.models import Sequential
import numpy as np
X = np.random.random((1000, 50))
y = np.random.random((1000, 1))
model = Sequential()
model.add(Dense(30, input_shape=(50,)))
model.add(Reshape((-1, 6)))
model.add(Reshape((30,)))
model.add(Dense(1))
model.compile(loss='mse', optimizer='sgd')
model.fit(X, y)"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">keras</span>.<span class="pl-s1">layers</span>.<span class="pl-s1">core</span> <span class="pl-k">import</span> <span class="pl-v">Dense</span>, <span class="pl-v">Reshape</span>
<span class="pl-k">from</span> <span class="pl-s1">keras</span>.<span class="pl-s1">models</span> <span class="pl-k">import</span> <span class="pl-v">Sequential</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-v">X</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">1000</span>, <span class="pl-c1">50</span>))
<span class="pl-s1">y</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">1000</span>, <span class="pl-c1">1</span>))
<span class="pl-s1">model</span> <span class="pl-c1">=</span> <span class="pl-v">Sequential</span>()
<span class="pl-s1">model</span>.<span class="pl-en">add</span>(<span class="pl-v">Dense</span>(<span class="pl-c1">30</span>, <span class="pl-s1">input_shape</span><span class="pl-c1">=</span>(<span class="pl-c1">50</span>,)))
<span class="pl-s1">model</span>.<span class="pl-en">add</span>(<span class="pl-v">Reshape</span>((<span class="pl-c1">-</span><span class="pl-c1">1</span>, <span class="pl-c1">6</span>)))
<span class="pl-s1">model</span>.<span class="pl-en">add</span>(<span class="pl-v">Reshape</span>((<span class="pl-c1">30</span>,)))
<span class="pl-s1">model</span>.<span class="pl-en">add</span>(<span class="pl-v">Dense</span>(<span class="pl-c1">1</span>))
<span class="pl-s1">model</span>.<span class="pl-en">compile</span>(<span class="pl-s1">loss</span><span class="pl-c1">=</span><span class="pl-s">'mse'</span>, <span class="pl-s1">optimizer</span><span class="pl-c1">=</span><span class="pl-s">'sgd'</span>)
<span class="pl-s1">model</span>.<span class="pl-en">fit</span>(<span class="pl-v">X</span>, <span class="pl-s1">y</span>)</pre></div>
<p dir="auto">This results in the following error (tested with Keras 1.2.0 and Theano-0.9.0.dev4)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" File "test.py", line 10, in <module>
model.add(Reshape((-1, 6)))
File "keras/models.py", line 327, in add
output_tensor = layer(self.outputs[0])
File "keras/engine/topology.py", line 569, in __call__
self.add_inbound_node(inbound_layers, node_indices, tensor_indices)
File "keras/engine/topology.py", line 632, in add_inbound_node
Node.create_node(self, inbound_layers, node_indices, tensor_indices)
File "keras/engine/topology.py", line 164, in create_node
output_tensors = to_list(outbound_layer.call(input_tensors[0], mask=input_masks[0]))
File "keras/layers/core.py", line 354, in call
return K.reshape(x, (-1,) + target_shape)
File "keras/backend/theano_backend.py", line 567, in reshape
return T.reshape(x, shape)
File "theano/tensor/basic.py", line 4722, in reshape
newshape = as_tensor_variable(newshape)
File "theano/tensor/basic.py", line 212, in as_tensor_variable
raise AsTensorError("Cannot convert %s to TensorType" % str_x, type(x))
theano.tensor.var.AsTensorError: ('Cannot convert (-1, None, 5, 6) to TensorType', <type 'tuple'>)"><pre class="notranslate"><code class="notranslate"> File "test.py", line 10, in <module>
model.add(Reshape((-1, 6)))
File "keras/models.py", line 327, in add
output_tensor = layer(self.outputs[0])
File "keras/engine/topology.py", line 569, in __call__
self.add_inbound_node(inbound_layers, node_indices, tensor_indices)
File "keras/engine/topology.py", line 632, in add_inbound_node
Node.create_node(self, inbound_layers, node_indices, tensor_indices)
File "keras/engine/topology.py", line 164, in create_node
output_tensors = to_list(outbound_layer.call(input_tensors[0], mask=input_masks[0]))
File "keras/layers/core.py", line 354, in call
return K.reshape(x, (-1,) + target_shape)
File "keras/backend/theano_backend.py", line 567, in reshape
return T.reshape(x, shape)
File "theano/tensor/basic.py", line 4722, in reshape
newshape = as_tensor_variable(newshape)
File "theano/tensor/basic.py", line 212, in as_tensor_variable
raise AsTensorError("Cannot convert %s to TensorType" % str_x, type(x))
theano.tensor.var.AsTensorError: ('Cannot convert (-1, None, 5, 6) to TensorType', <type 'tuple'>)
</code></pre></div>
<p dir="auto">where as</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="model.add(Reshape((5, 6))) "><pre class="notranslate"><span class="pl-s1">model</span>.<span class="pl-en">add</span>(<span class="pl-v">Reshape</span>((<span class="pl-c1">5</span>, <span class="pl-c1">6</span>))) </pre></div>
<p dir="auto">instead of</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="model.add(Reshape((-1, 6))) "><pre class="notranslate"><span class="pl-s1">model</span>.<span class="pl-en">add</span>(<span class="pl-v">Reshape</span>((<span class="pl-c1">-</span><span class="pl-c1">1</span>, <span class="pl-c1">6</span>))) </pre></div>
<p dir="auto">would work as expected.</p>
<p dir="auto">To me it looks like the <a href="https://github.com/fchollet/keras/blob/2a3d4722c21d99d882b2cbc2da451108147fe1c4/keras/layers/recurrent.py#L29">keras backend supports <code class="notranslate">-1</code> dims</a> so the question is why can't users access it from the reshape layer? Is there any way around it? Where should I look to implement this feature?</p>
<h3 dir="auto">Applications</h3>
<p dir="auto">Connecting the output of a 2D CNN and a RNN is difficult because the exact output shape after pooling/downsampling operations need to be known. <a href="https://github.com/fchollet/keras/blob/master/keras/applications/music_tagger_crnn.py#L122">See the the following keras builtin application</a>. If the input dimension would change or even just the pooling stride, the reshape operation would need to be adjusted manually, which could be cumbersome in a network with many layers.</p> | 0 |
<p dir="auto"><em>From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/wangyibu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/wangyibu">@wangyibu</a> on April 29, 2016 9:34</em></p>
<ul dir="auto">
<li>VSCode Version:1.0.0</li>
<li>OS Version:window7 sp1 build 7601</li>
<li>VS2015: commuity 2015 update1</li>
<li>system path: C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.7;</li>
</ul>
<p dir="auto">Steps to Reproduce:</p>
<p dir="auto">1.add two ts file and compile</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/14134768/14912855/95bd0bde-0e31-11e6-8289-36e5e878e8f2.png"><img src="https://cloud.githubusercontent.com/assets/14134768/14912855/95bd0bde-0e31-11e6-8289-36e5e878e8f2.png" alt="1" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/14134768/14912859/a0574316-0e31-11e6-94d4-174b19554a36.png"><img src="https://cloud.githubusercontent.com/assets/14134768/14912859/a0574316-0e31-11e6-94d4-174b19554a36.png" alt="2" style="max-width: 100%;"></a></p>
<p dir="auto">2.add new folder</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/14134768/14912898/e0a9252e-0e31-11e6-9908-e81c22dbb254.png"><img src="https://cloud.githubusercontent.com/assets/14134768/14912898/e0a9252e-0e31-11e6-9908-e81c22dbb254.png" alt="3" style="max-width: 100%;"></a></p>
<ol dir="auto">
<li>move all ts file and js file to new folder<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/14134768/14912921/fc6fe90a-0e31-11e6-99eb-c106f8092e52.png"><img src="https://cloud.githubusercontent.com/assets/14134768/14912921/fc6fe90a-0e31-11e6-99eb-c106f8092e52.png" alt="image" style="max-width: 100%;"></a></li>
</ol>
<p dir="auto"><em>Copied from original issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="151827637" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/5980" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/5980/hovercard" href="https://github.com/microsoft/vscode/issues/5980">microsoft/vscode#5980</a></em></p> | <p dir="auto">Using destructuring in functions signatures is a relief, but when combining it with type declarations there is a lot of duplication necessary:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function foo(
{paramA, paramB, paramC, paramD = null}
:{paramA: number, paramB: string, paramC: boolean, paramD?: Object}
) {}
function bar(
[paramA, paramB, paramC, paramD]
:[number, string, boolean, Object]
) {}"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">foo</span><span class="pl-kos">(</span>
<span class="pl-kos">{</span>paramA<span class="pl-kos">,</span> paramB<span class="pl-kos">,</span> paramC<span class="pl-kos">,</span> paramD <span class="pl-c1">=</span> <span class="pl-c1">null</span><span class="pl-kos">}</span>
:<span class="pl-kos">{</span><span class="pl-c1">paramA</span>: <span class="pl-smi">number</span><span class="pl-kos">,</span> <span class="pl-c1">paramB</span>: <span class="pl-smi">string</span><span class="pl-kos">,</span> <span class="pl-c1">paramC</span>: <span class="pl-smi">boolean</span><span class="pl-kos">,</span> <span class="pl-c1">paramD</span>?: <span class="pl-smi">Object</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-en">bar</span><span class="pl-kos">(</span>
<span class="pl-kos">[</span><span class="pl-s1">paramA</span><span class="pl-kos">,</span> <span class="pl-s1">paramB</span><span class="pl-kos">,</span> <span class="pl-s1">paramC</span><span class="pl-kos">,</span> <span class="pl-s1">paramD</span><span class="pl-kos">]</span>
:<span class="pl-kos">[</span><span class="pl-smi">number</span><span class="pl-kos">,</span> <span class="pl-smi">string</span><span class="pl-kos">,</span> <span class="pl-smi">boolean</span><span class="pl-kos">,</span> <span class="pl-smi">Object</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">Would it make sense to introduce the following syntax to reduce duplication of code?</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function foo(
{paramA as number, paramB as string, paramC as boolean, paramD? as Object}
) {}
function bar(
[paramA as number, paramB as string, paramC as boolean, paramD as Object]
) {}"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">foo</span><span class="pl-kos">(</span>
<span class="pl-kos">{</span>paramA <span class="pl-s1">as</span> number<span class="pl-kos">,</span> paramB <span class="pl-s1">as</span> string<span class="pl-kos">,</span> <span class="pl-s1">paramC</span> <span class="pl-s1">as</span> boolean<span class="pl-kos">,</span> <span class="pl-s1">paramD</span>? <span class="pl-k">as</span> Object<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-en">bar</span><span class="pl-kos">(</span>
<span class="pl-kos">[</span><span class="pl-s1">paramA</span> <span class="pl-k">as</span> <span class="pl-smi">number</span><span class="pl-kos">,</span> <span class="pl-s1">paramB</span> <span class="pl-k">as</span> <span class="pl-smi">string</span><span class="pl-kos">,</span> <span class="pl-s1">paramC</span> <span class="pl-k">as</span> <span class="pl-smi">boolean</span><span class="pl-kos">,</span> <span class="pl-s1">paramD</span> <span class="pl-k">as</span> <span class="pl-smi">Object</span><span class="pl-kos">]</span><span class="pl-c1"></span>
<span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div>
<p dir="auto">Originally I wanted to suggest to use the colon ":" instead of the "as", but since the colon is used for renaming destructured parametes, the "as" is the only option I guess.</p>
<p dir="auto">With this syntax change the following would be possible too I guess:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let {paramA as number, paramB as string, paramC as boolean, paramD as Object} = anyObject;
let {paramA: a as number, paramB: b as string, paramC: c as boolean, paramD: d as Object} = anyObject;
let [paramA as number, paramB as string, paramC as boolean, paramD as Object] = anyArray;"><pre class="notranslate"><span class="pl-k">let</span> <span class="pl-kos">{</span>paramA <span class="pl-s1">as</span> number<span class="pl-kos">,</span> paramB <span class="pl-s1">as</span> string<span class="pl-kos">,</span> <span class="pl-s1">paramC</span> <span class="pl-s1">as</span> boolean<span class="pl-kos">,</span> paramD <span class="pl-s1">as</span> <span class="pl-smi">Object</span><span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-s1">anyObject</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> <span class="pl-kos">{</span><span class="pl-c1">paramA</span>: <span class="pl-s1">a</span> <span class="pl-k">as</span> <span class="pl-smi">number</span><span class="pl-c1"></span><span class="pl-kos">,</span> <span class="pl-c1">paramB</span>: <span class="pl-s1">b</span> <span class="pl-k">as</span> <span class="pl-smi">string</span><span class="pl-c1"></span><span class="pl-kos">,</span> <span class="pl-c1">paramC</span>: <span class="pl-s1">c</span> <span class="pl-k">as</span> <span class="pl-smi">boolean</span><span class="pl-c1"></span><span class="pl-kos">,</span> <span class="pl-c1">paramD</span>: <span class="pl-s1">d</span> <span class="pl-k">as</span> <span class="pl-smi">Object</span><span class="pl-c1"></span><span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-s1">anyObject</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> <span class="pl-kos">[</span><span class="pl-s1">paramA</span> <span class="pl-k">as</span> <span class="pl-smi">number</span><span class="pl-c1"></span><span class="pl-kos">,</span> <span class="pl-s1">paramB</span> <span class="pl-k">as</span> <span class="pl-smi">string</span><span class="pl-c1"></span><span class="pl-kos">,</span> <span class="pl-s1">paramC</span> <span class="pl-k">as</span> <span class="pl-smi">boolean</span><span class="pl-c1"></span><span class="pl-kos">,</span> <span class="pl-s1">paramD</span> <span class="pl-k">as</span> <span class="pl-smi">Object</span><span class="pl-c1"></span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-s1">anyArray</span><span class="pl-kos">;</span></pre></div> | 0 |
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="//== tests/cases/compiler/conflictingMemberTypesInBases.ts (1 errors) ====
interface A {
m: string;
}
interface B extends A {
}
interface C {
m: number;
}
interface D extends C {
}
interface E extends B { } // Error here for extending B and D
//!!! Interface 'E' cannot simultaneously extend types 'B' and 'D':
//!!! Named properties 'm' of types 'B' and 'D' are not identical.
interface E extends D { } // No duplicate error here"><pre class="notranslate"><span class="pl-c">//== tests/cases/compiler/conflictingMemberTypesInBases.ts (1 errors) ====</span>
<span class="pl-k">interface</span> <span class="pl-smi">A</span> <span class="pl-kos">{</span>
<span class="pl-c1">m</span>: <span class="pl-smi">string</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">interface</span> <span class="pl-smi">B</span> <span class="pl-k">extends</span> <span class="pl-smi">A</span> <span class="pl-kos">{</span>
<span class="pl-kos">}</span>
<span class="pl-k">interface</span> <span class="pl-smi">C</span> <span class="pl-kos">{</span>
<span class="pl-c1">m</span>: <span class="pl-smi">number</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">interface</span> <span class="pl-smi">D</span> <span class="pl-k">extends</span> <span class="pl-smi">C</span> <span class="pl-kos">{</span>
<span class="pl-kos">}</span>
<span class="pl-k">interface</span> <span class="pl-smi">E</span> <span class="pl-k">extends</span> <span class="pl-smi">B</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span> <span class="pl-c">// Error here for extending B and D</span>
<span class="pl-c">//!!! Interface 'E' cannot simultaneously extend types 'B' and 'D':</span>
<span class="pl-c">//!!! Named properties 'm' of types 'B' and 'D' are not identical.</span>
<span class="pl-k">interface</span> <span class="pl-smi">E</span> <span class="pl-k">extends</span> <span class="pl-smi">D</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span> <span class="pl-c">// No duplicate error here</span></pre></div>
<p dir="auto">Expected: errors as above<br>
Actual: no errors</p> | <p dir="auto">The early discussions about generics had this feature outlined, but it never made it into the final version for some reason. Meanwhile, it would be extremely helpful in some cases. The use case that it most dear to my heart is Knockout:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="interface Observable<T> {
<U>( this: U, value: T ): U;
}
var viewModel = {
Str: ko.observable( "abc" ),
Num: ko.observable( 5 )
};
viewModel.Str( "xyz" ).Num( 10 );"><pre class="notranslate"><code class="notranslate">interface Observable<T> {
<U>( this: U, value: T ): U;
}
var viewModel = {
Str: ko.observable( "abc" ),
Num: ko.observable( 5 )
};
viewModel.Str( "xyz" ).Num( 10 );
</code></pre></div> | 0 |
<p dir="auto">Hi guys, thanks for such a wonderful library. I want a special type of image transformation.</p>
<p dir="auto">This custom transformation should scale the image down maintaining the original aspect ratio so that one dimension of the image is exactly equal to the target dimensions and the other dimension of the image is greater than the target dimensions.</p>
<p dir="auto">Can I achieve this effect using <code class="notranslate">CENTER_CROP</code> or should I write custom transformation? Please help me out.</p>
<p dir="auto">If I need to write custom transformation, please help me writing it.</p> | <p dir="auto"><strong>Glide Version/Integration library (if any)</strong>: 3.6.0<br>
<strong>Device/Android Version</strong>: any<br>
<strong>Issue details/Repro steps/Use case background</strong>:</p>
<p dir="auto">How to repo:<br>
I have a demo app with this bug here: <a href="https://github.com/yrizk/glide-centercrop-bug">https://github.com/yrizk/glide-centercrop-bug</a></p>
<p dir="auto">but essentially...<br>
no scale type declared in the xml<br>
centerCrop() when loading image into an imageview.<br>
make sure the app is cleared from memory</p>
<p dir="auto">The image will start w/o the center crop, then if you scroll past or above it, then sometimes it comes back with the correct scale type.</p>
<p dir="auto">on a separate note, the library is really good! thank you guys for building and supporting this</p> | 1 |
<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Microsoft Windows [Version 10.0.18362.476]
Windows Terminal Version: 0.6.2951.0
Any other software?: NO"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.18362.476]
Windows Terminal Version: 0.6.2951.0
Any other software?: NO
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">when i open the terminal on my surface laptop it works fine but when i try to drag the windows to another monitor, the application crashes.<br>
i have a surface laptop hooked up to surface dock which is connected to 2 monitors and the behavior appears on both of them</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">the terminal stays open and might change the size and the resolution depending on the monitor</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">the terminal window crashes and all the tabs in the windows get closed</p> | <p dir="auto"><g-emoji class="g-emoji" alias="rofl" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f923.png">🤣</g-emoji></p> | 0 |
<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke-staging/6076/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke-staging/6076/</a></p>
<p dir="auto">Failed: Horizontal pod autoscaling (scale resource: CPU) [Serial] [Slow] ReplicaSet Should scale from 1 pod to 3 pods and from 3 to 5 and verify decision stability {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/horizontal_pod_autoscaling.go:61
Jun 30 14:37:23.294: timeout waiting 10m0s for pods size to be 5"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/horizontal_pod_autoscaling.go:61
Jun 30 14:37:23.294: timeout waiting 10m0s for pods size to be 5
</code></pre></div>
<p dir="auto">Previous issues for this test: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="160068742" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27316" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27316/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27316">#27316</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="161435515" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27773" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27773/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27773">#27773</a></p> | <p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke-serial/1619/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke-serial/1619/</a></p>
<p dir="auto">Failed: [k8s.io] [HPA] Horizontal pod autoscaling (scale resource: CPU) [k8s.io] [Serial] [Slow] ReplicationController Should scale from 1 pod to 3 pods and from 3 to 5 and verify decision stability {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/horizontal_pod_autoscaling.go:70
Expected error:
<*errors.StatusError | 0xc8214e6200>: {
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {SelfLink: "", ResourceVersion: ""},
Status: "Failure",
Message: "the server has asked for the client to provide credentials (get replicationControllers rc)",
Reason: "Unauthorized",
Details: {
Name: "rc",
Group: "",
Kind: "replicationControllers",
Causes: [
{
Type: "UnexpectedServerResponse",
Message: "Unauthorized",
Field: "",
},
],
RetryAfterSeconds: 0,
},
Code: 401,
},
}
the server has asked for the client to provide credentials (get replicationControllers rc)
not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/horizontal_pod_autoscaling.go:70
Expected error:
<*errors.StatusError | 0xc8214e6200>: {
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {SelfLink: "", ResourceVersion: ""},
Status: "Failure",
Message: "the server has asked for the client to provide credentials (get replicationControllers rc)",
Reason: "Unauthorized",
Details: {
Name: "rc",
Group: "",
Kind: "replicationControllers",
Causes: [
{
Type: "UnexpectedServerResponse",
Message: "Unauthorized",
Field: "",
},
],
RetryAfterSeconds: 0,
},
Code: 401,
},
}
the server has asked for the client to provide credentials (get replicationControllers rc)
not to have occurred
</code></pre></div>
<p dir="auto">Previous issues for this test: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="160523910" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27479" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27479/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27479">#27479</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="161050392" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27675" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27675/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27675">#27675</a></p> | 1 |
<h2 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug</h2>
<p dir="auto">Hello, I’m running a GAN model with some second-order regularization. The training went well at the beginning and the loss decreased. However, after a random period of time, ranging from 3000-8000 updates, the segfault occurs and the training was terminated automatically.</p>
<h2 dir="auto">To Reproduce</h2>
<p dir="auto">It is hard for me to simplify the code and reproduce it. However, it happens every time when I include the second order gradient:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="if pl_reg:
pl_dlatents.requires_grad_(True)
pl_fake = self.G(None, dlatents=pl_dlatents) # forward the generator
pl_noise = pl_fake.new(pl_fake.shape).normal_() / 1024
pl_grads = autograd.grad(
outputs=(pl_fake * pl_noise).sum(),
inputs=pl_dlatents,
grad_outputs=None,
create_graph=True,
retain_graph=True,
only_inputs=True,
)[0]
pl_lengths = pl_grads.pow(2).sum(1).mul(1/self.G.get_num_layers()).sqrt()
return pl_lengths"><pre class="notranslate"><code class="notranslate">if pl_reg:
pl_dlatents.requires_grad_(True)
pl_fake = self.G(None, dlatents=pl_dlatents) # forward the generator
pl_noise = pl_fake.new(pl_fake.shape).normal_() / 1024
pl_grads = autograd.grad(
outputs=(pl_fake * pl_noise).sum(),
inputs=pl_dlatents,
grad_outputs=None,
create_graph=True,
retain_graph=True,
only_inputs=True,
)[0]
pl_lengths = pl_grads.pow(2).sum(1).mul(1/self.G.get_num_layers()).sqrt()
return pl_lengths
</code></pre></div>
<p dir="auto">Another major difference for my generator design is that it has convolution layers with <strong>both</strong> the input and weights calculated from other up-stream networks.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="class ModulatedConv2d(nn.Module):
def __init__(self, in_channels, out_channels, hidden_channels, kernel_size=3, stride=1, padding=1, dilation=1,
noisy=True, randomize_noise=True, up=False, demodulize=True, gain=1, lrmul=1):
super(ModulatedConv2d, self).__init__()
assert kernel_size >= 1 and kernel_size % 2 == 1
self.noisy = noisy
self.stride = stride
self.padding = padding
self.dilation = dilation
self.randomize_noise = randomize_noise
self.up = up
self.demodulize = demodulize
self.lrmul = lrmul
# Get weight.
fan_in = in_channels * kernel_size * kernel_size
self.runtime_coef = gain / math.sqrt(fan_in) * math.sqrt(lrmul)
self.weight = Parameter(torch.randn(out_channels, in_channels, kernel_size, kernel_size) / math.sqrt(lrmul), requires_grad=True) # [OIkk]
# Get bias.
self.bias = Parameter(torch.zeros(1, out_channels, 1, 1), requires_grad=True)
# Modulate layer.
self.mod = ScaleLinear(hidden_channels, in_channels, bias=True) # [BI] Transform incoming W to style.
# Noise scale.
if noisy:
self.noise_scale = Parameter(torch.zeros(1), requires_grad=True)
def forward(self, x, y, noise=None):
w = self.weight * self.runtime_coef
ww = w[np.newaxis] # [BOIkk] Introduce minibatch dimension.
# Modulate.
s = self.mod(y) + 1 # [BI] Add bias (initially 1).
ww = ww * s[:, np.newaxis, :, np.newaxis, np.newaxis] # [BOIkk] Scale input feature maps.
# Demodulate.
if self.demodulize:
d = torch.rsqrt(ww.pow(2).sum(dim=(2,3,4), keepdim=True) + 1e-8) # [BOIkk] Scaling factor.
ww = ww * d # [BOIkk] Scale output feature maps.
# Reshape/scale input.
B = y.size(0)
x = x.view(1, -1, *x.shape[2:]) # Fused [BIhw] => reshape minibatch to convolution groups [1(BI)hw].
w = ww.view(-1, *ww.shape[2:]) # [(BO)Ikk]
# Convolution with optional up/downsampling.
if self.up: x = F.interpolate(x, scale_factor=2, mode='bilinear', align_corners=False)
x = F.conv2d(x, w, None, self.stride, self.padding, self.dilation, groups=B) # [1(BO)hw]
# Reshape/scale output.
x = x.view(B, -1, *x.shape[2:]) # [BOhw]
# Apply noise and bias
if self.noisy:
if self.randomize_noise: noise = x.new_empty(B, 1, *x.shape[2:]).normal_()
x += noise * self.noise_scale
x += self.bias * self.lrmul
return x"><pre class="notranslate"><code class="notranslate">class ModulatedConv2d(nn.Module):
def __init__(self, in_channels, out_channels, hidden_channels, kernel_size=3, stride=1, padding=1, dilation=1,
noisy=True, randomize_noise=True, up=False, demodulize=True, gain=1, lrmul=1):
super(ModulatedConv2d, self).__init__()
assert kernel_size >= 1 and kernel_size % 2 == 1
self.noisy = noisy
self.stride = stride
self.padding = padding
self.dilation = dilation
self.randomize_noise = randomize_noise
self.up = up
self.demodulize = demodulize
self.lrmul = lrmul
# Get weight.
fan_in = in_channels * kernel_size * kernel_size
self.runtime_coef = gain / math.sqrt(fan_in) * math.sqrt(lrmul)
self.weight = Parameter(torch.randn(out_channels, in_channels, kernel_size, kernel_size) / math.sqrt(lrmul), requires_grad=True) # [OIkk]
# Get bias.
self.bias = Parameter(torch.zeros(1, out_channels, 1, 1), requires_grad=True)
# Modulate layer.
self.mod = ScaleLinear(hidden_channels, in_channels, bias=True) # [BI] Transform incoming W to style.
# Noise scale.
if noisy:
self.noise_scale = Parameter(torch.zeros(1), requires_grad=True)
def forward(self, x, y, noise=None):
w = self.weight * self.runtime_coef
ww = w[np.newaxis] # [BOIkk] Introduce minibatch dimension.
# Modulate.
s = self.mod(y) + 1 # [BI] Add bias (initially 1).
ww = ww * s[:, np.newaxis, :, np.newaxis, np.newaxis] # [BOIkk] Scale input feature maps.
# Demodulate.
if self.demodulize:
d = torch.rsqrt(ww.pow(2).sum(dim=(2,3,4), keepdim=True) + 1e-8) # [BOIkk] Scaling factor.
ww = ww * d # [BOIkk] Scale output feature maps.
# Reshape/scale input.
B = y.size(0)
x = x.view(1, -1, *x.shape[2:]) # Fused [BIhw] => reshape minibatch to convolution groups [1(BI)hw].
w = ww.view(-1, *ww.shape[2:]) # [(BO)Ikk]
# Convolution with optional up/downsampling.
if self.up: x = F.interpolate(x, scale_factor=2, mode='bilinear', align_corners=False)
x = F.conv2d(x, w, None, self.stride, self.padding, self.dilation, groups=B) # [1(BO)hw]
# Reshape/scale output.
x = x.view(B, -1, *x.shape[2:]) # [BOhw]
# Apply noise and bias
if self.noisy:
if self.randomize_noise: noise = x.new_empty(B, 1, *x.shape[2:]).normal_()
x += noise * self.noise_scale
x += self.bias * self.lrmul
return x
</code></pre></div>
<p dir="auto">The above code happens inside a DataParallel module and results are gathered afterward, followed by a loss to minimize pl_lengths.</p>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">After some random number of updates, around 3000-8000, the problem occurs and training was terminated.</p>
<p dir="auto">In PyTorch 1.3 it shows:</p>
<blockquote>
<p dir="auto">*** Error in `python3’: double free or corruption (fasttop): 0x00007f9e280c3fe0 ***<br>
======= Backtrace: =========<br>
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fa1793127e5]<br>
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7fa17931b37a]<br>
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fa17931f53c]<br>
/opt/conda/lib/python3.6/site-packages/torch/lib/libtorch.so(+0x39d820e)[0x7fa13bb9420e]<br>
/opt/conda/lib/python3.6/site-packages/torch/lib/libtorch.so(+0x39d82b9)[0x7fa13bb942b9]<br>
/opt/conda/lib/python3.6/site-packages/torch/lib/libtorch.so(+0x39d8435)[0x7fa13bb94435]<br>
/opt/conda/lib/python3.6/site-packages/torch/lib/libtorch.so(_ZN5torch8autograd6Engine17evaluate_functionERNS0_8NodeTaskE+0x1210)[0x7fa13bb8bb50]<br>
/opt/conda/lib/python3.6/site-packages/torch/lib/libtorch.so(_ZN5torch8autograd6Engine11thread_mainEPNS0_9GraphTaskE+0x1c4)[0x7fa13bb8da04]<br>
/opt/conda/lib/python3.6/site-packages/torch/lib/libtorch_python.so(_ZN5torch8autograd6python12PythonEngine11thread_initEi+0x2a)[0x7fa16a537eda]<br>
/opt/conda/lib/python3.6/site-packages/torch/…/…/…/libstdc++.so.6(+0xc819d)[0x7fa169ffb19d]<br>
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x7fa17966c6ba]<br>
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fa1793a241d]</p>
</blockquote>
<p dir="auto">and followed by a long memory map:</p>
<blockquote>
<p dir="auto">======= Memory map: ========<br>
200000000-200200000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
200200000-200400000 ---p 00000000 00:00 0<br>
200400000-200600000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
200600000-202600000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
202600000-205600000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
205600000-206200000 ---p 00000000 00:00 0<br>
206200000-206400000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
206400000-206600000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
206600000-206800000 rw-s 206600000 00:06 492 /dev/nvidia-uvm<br>
206800000-206a00000 ---p 00000000 00:00 0<br>
206a00000-206c00000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
206c00000-206e00000 ---p 00000000 00:00 0<br>
206e00000-207000000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
207000000-207200000 ---p 00000000 00:00 0<br>
207200000-207400000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
207400000-209400000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
209400000-20c400000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
20c400000-20d000000 ---p 00000000 00:00 0<br>
20d000000-20d200000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
20d200000-20d400000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
20d400000-20d600000 rw-s 20d400000 00:06 492 /dev/nvidia-uvm<br>
20d600000-20d800000 ---p 00000000 00:00 0<br>
20d800000-20da00000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
20da00000-20dc00000 ---p 00000000 00:00 0<br>
20dc00000-20de00000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
20de00000-20e000000 ---p 00000000 00:00 0<br>
20e000000-20e200000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
20e200000-210200000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
210200000-213200000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
213200000-213e00000 ---p 00000000 00:00 0<br>
213e00000-214000000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
214000000-214200000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
214200000-214400000 rw-s 214200000 00:06 492 /dev/nvidia-uvm<br>
214400000-214600000 ---p 00000000 00:00 0<br>
214600000-214800000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
214800000-214a00000 ---p 00000000 00:00 0<br>
214a00000-214c00000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
214c00000-214e00000 ---p 00000000 00:00 0<br>
214e00000-215000000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
215000000-217000000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
217000000-21a000000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
21a000000-21ac00000 ---p 00000000 00:00 0<br>
21ac00000-21ae00000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
21ae00000-21b000000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
21b000000-21b200000 rw-s 21b000000 00:06 492 /dev/nvidia-uvm<br>
21b200000-21b400000 ---p 00000000 00:00 0<br>
21b400000-21b600000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
21b600000-600200000 ---p 00000000 00:00 0<br>
10000000000-10810000000 ---p 00000000 00:00 0<br>
5578812bd000-557881314000 r--p 00000000 08:31 78220892 /opt/conda/bin/python3.6<br>
557881314000-5578814db000 r-xp 00057000 08:31 78220892 /opt/conda/bin/python3.6<br>
5578814db000-557881578000 r--p 0021e000 08:31 78220892 /opt/conda/bin/python3.6<br>
557881579000-55788157c000 r--p 002bb000 08:31 78220892 /opt/conda/bin/python3.6<br>
55788157c000-5578815df000 rw-p 002be000 08:31 78220892 /opt/conda/bin/python3.6<br>
5578815df000-557881610000 rw-p 00000000 00:00 0<br>
557881cc4000-5579eb27e000 rw-p 00000000 00:00 0 [heap]<br>
5579eb27e000-5579eb67e000 rw-p 00000000 00:00 0 [heap]<br>
5579eb67e000-5579ed2c1000 rw-p 00000000 00:00 0 [heap]<br>
5579ed2c1000-5579ee436000 rw-p 00000000 00:00 0 [heap]<br>
5579ee436000-5579ee491000 rw-p 00000000 00:00 0 [heap]<br>
5579ee491000-5579ef3d1000 rw-p 00000000 00:00 0 [heap]<br>
5579ef3d1000-5579effc9000 rw-p 00000000 00:00 0 [heap]<br>
7f98c0000000-7f9bc0a00000 ---p 00000000 00:00 0<br>
7f9bc0a00000-7f9bc0c00000 rw-s 00000000 00:05 1587841 /dev/zero (deleted)<br>
7f9bc0c00000-7f9c00000000 ---p 00000000 00:00 0<br>
7f9c00000000-7f9c03d1e000 rw-p 00000000 00:00 0<br>
7f9c03d1e000-7f9c04000000 ---p 00000000 00:00 0<br>
7f9c04000000-7f9c06fa0000 rw-p 00000000 00:00 0<br>
7f9c06fa0000-7f9c08000000 ---p 00000000 00:00 0<br>
7f9c08000000-7f9cd0000000 ---p 00000000 00:00 0<br>
7f9cd0000000-7f9cd2e22000 rw-p 00000000 00:00 0<br>
7f9cd2e22000-7f9cd4000000 ---p 00000000 00:00 0<br>
7f9cd6000000-7f9dd0a00000 ---p 00000000 00:00 0<br>
7f9dd0a00000-7f9dd0c00000 rw-s 00000000 00:05 1604789 /dev/zero (deleted)<br>
7f9dd0c00000-7f9dd8000000 ---p 00000000 00:00 0<br>
7f9dd8000000-7f9ddaeae000 rw-p 00000000 00:00 0<br>
7f9ddaeae000-7f9ddc000000 ---p 00000000 00:00 0<br>
7f9ddc000000-7f9ddfd11000 rw-p 00000000 00:00 0<br>
7f9ddfd11000-7f9de0000000 ---p 00000000 00:00 0<br>
7f9de0000000-7f9e18000000 ---p 00000000 00:00 0<br>
7f9e18000000-7f9e1814b000 rw-p 00000000 00:00 0<br>
7f9e1814b000-7f9e1c000000 ---p 00000000 00:00 0<br>
7f9e1c000000-7f9e1fd09000 rw-p 00000000 00:00 0<br>
7f9e1fd09000-7f9e20000000 ---p 00000000 00:00 0<br>
7f9e20000000-7f9e20150000 rw-p 00000000 00:00 0<br>
7f9e20150000-7f9e24000000 ---p 00000000 00:00 0<br>
7f9e28000000-7f9e282e5000 rw-p 00000000 00:00 0<br>
7f9e282e5000-7f9e2c000000 ---p 00000000 00:00 0<br>
7f9e2c000000-7f9e2c14b000 rw-p 00000000 00:00 0<br>
7f9e2c14b000-7f9e30000000 ---p 00000000 00:00 0<br>
7f9e30000000-7f9e30022000 rw-p 00000000 00:00 0<br>
7f9e30022000-7f9e34000000 ---p 00000000 00:00 0<br>
7f9e36000000-7f9ef8a00000 ---p 00000000 00:00 0<br>
7f9ef8a00000-7f9ef8c00000 rw-s 00000000 00:05 1582741 /dev/zero (deleted)<br>
7f9ef8c00000-7f9f00000000 ---p 00000000 00:00 0<br>
7f9f00000000-7f9f02e3a000 rw-p 00000000 00:00 0<br>
7f9f02e3a000-7f9f04000000 ---p 00000000 00:00 0<br>
7f9f05000000-7f9f05040000 rw-p 00000000 00:00 0<br>
7f9f06000000-7f9f08000000 ---p 00000000 00:00 0<br>
7f9f08000000-7f9f0bffc000 rw-p 00000000 00:00 0<br>
7f9f0bffc000-7f9f0c000000 ---p 00000000 00:00 0<br>
7f9f0c000000-7f9f0fd27000 rw-p 00000000 00:00 0<br>
7f9f0fd27000-7f9f10000000 ---p 00000000 00:00 0<br>
7f9f10000000-7f9f13ffe000 rw-p 00000000 00:00 0<br>
7f9f13ffe000-7f9f14000000 ---p 00000000 00:00 0<br>
7f9f14000000-7f9f18000000 rw-p 00000000 00:00 0<br>
7f9f18000000-7f9f1bffd000 rw-p 00000000 00:00 0<br>
7f9f1bffd000-7f9f1c000000 ---p 00000000 00:00 0<br>
7f9f1d166000-7f9f1d1a6000 rw-p 00000000 00:00 0<br>
7f9f1d266000-7f9f1d2a6000 rw-p 00000000 00:00 0<br>
7f9f1d2e5000-7f9f1d2e6000 ---p 00000000 00:00 0<br>
7f9f1d2e6000-7f9f1dae6000 rw-p 00000000 00:00 0<br>
7f9f1dae6000-7f9f1daf9000 r-xp 00000000 08:31 85822789 /opt/conda/lib/python3.6/site-packages/scipy/stats/mvn.cpython-36m-x86_64-linux-gnu.so<br>
7f9f1daf9000-7f9f1dcf8000 ---p 00013000 08:31 85822789 /opt/conda/lib/python3.6/site-packages/scipy/stats/mvn.cpython-36m-x86_64-linux-gnu.so<br>
7f9f1dcf8000-7f9f1dcfa000 rw-p 00012000 08:31 85822789 /opt/conda/lib/python3.6/site-packages/scipy/stats/mvn.cpython-36m-x86_64-linux-gnu.so<br>
7f9f1dcfa000-7f9f1ddf1000 rw-p 00000000 00:00 0<br>
7f9f1ddf1000-7f9f1ddf3000 rw-p 00015000 08:31 85822789 /opt/conda/lib/python3.6/site-packages/scipy/stats/mvn.cpython-36m-x86_64-linux-gnu.so<br>
7f9f1ddf3000-7f9f1ddfd000 r-xp 00000000 08:31 85822791 /opt/conda/lib/python3.6/site-packages/scipy/stats/statlib.cpython-36m-x86_64-linux-gnu.so<br>
7f9f1ddfd000-7f9f1dffc000 ---p 0000a000 08:31 85822791 /opt/conda/lib/python3.6/site-packages/scipy/stats/statlib.cpython-36m-x86_64-linux-gnu.so<br>
7f9f1dffc000-7f9f1dffe000 rw-p 00009000 08:31 85822791 /opt/conda/lib/python3.6/site-packages/scipy/stats/statlib.cpython-36m-x86_64-linux-gnu.so<br>
7f9f1dffe000-7f9f1e000000 rw-p 0000c000 08:31 85822791 /opt/conda/lib/python3.6/site-packages/scipy/stats/statlib.cpython-36m-x86_64-linux-gnu.so<br>
7f9f1e000000-7f9f47200000 ---p 00000000 00:00 0<br>
7f9f47200000-7f9f47400000 rw-s 00000000 00:05 1582740 /dev/zero (deleted)<br>
7f9f47400000-7f9f47e00000 ---p 00000000 00:00 0<br>
7f9f47e00000-7f9f48000000 rw-s 00000000 00:05 1590697 /dev/zero (deleted)<br>
7f9f48000000-7f9f48021000 rw-p 00000000 00:00 0<br>
7f9f48021000-7f9f4c000000 ---p 00000000 00:00 0<br>
7f9f4c021000-7f9f4c094000 r-xp 00000000 08:31 85822779 /opt/conda/lib/python3.6/site-packages/scipy/stats/_stats.cpython-36m-x86_64-linux-gnu.so<br>
7f9f4c094000-7f9f4c294000 ---p 00073000 08:31 85822779 /opt/conda/lib/python3.6/site-packages/scipy/stats/_stats.cpython-36m-x86_64-linux-gnu.so<br>
7f9f4c294000-7f9f4c29a000 rw-p 00073000 08:31 85822779 /opt/conda/lib/python3.6/site-packages/scipy/stats/_stats.cpython-36m-x86_64-linux-gnu.so<br>
7f9f4c29a000-7f9f4c29c000 rw-p 00000000 00:00 0<br>
7f9f4c29c000-7f9f4c2f0000 r-xp 00000000 08:31 85429655 /opt/conda/lib/python3.6/site-packages/scipy/interpolate/interpnd.cpython-36m-x86_64-linux-gnu.so<br>
7f9f4c2f0000-7f9f4c4f0000 ---p 00054000 08:31 85429655 /opt/conda/lib/python3.6/site-packages/scipy/interpolate/interpnd.cpython-36m-x86_64-linux-gnu.so<br>
7f9f4c4f0000-7f9f4c4f5000 rw-p 00054000 08:31 85429655 /opt/conda/lib/python3.6/site-packages/scipy/interpolate/interpnd.cpython-36m-x86_64-linux-gnu.so<br>
7f9f4c4f5000-7f9f4c4f6000 rw-p 00000000 00:00 0<br>
7f9f4c4f6000-7f9f4c546000 r-xp 00000000 08:31 85429651 /opt/conda/lib/python3.6/site-packages/scipy/interpolate/_ppoly.cpython-36m-x86_64-linux-gnu.so<br>
7f9f4c546000-7f9f4c746000 ---p 00050000 08:31 85429651 /opt/conda/lib/python3.6/site-packages/scipy/interpolate/_ppoly.cpython-36m-x86_64-linux-gnu.so<br>
7f9f4c746000-7f9f4c74c000 rw-p 00050000 08:31 85429651 /opt/conda/lib/python3.6/site-packages/scipy/interpolate/_ppoly.cpython-36m-x86_64-linux-gnu.so<br>
7f9f4c74c000-7f9f4c74d000 rw-p 00000000 00:00 0<br>
7f9f4c74d000-7f9f4c78a000 r-xp 00000000 08:31 85429645 /opt/conda/lib/python3.6/site-packages/scipy/interpolate/_bspl.cpython-36m-x86_64-linux-gnu.so<br>
7f9f4c78a000-7f9f4c989000 ---p 0003d000 08:31 85429645 /opt/conda/lib/python3.6/site-packages/scipy/interpolate/_bspl.cpython-36m-x86_64-linux-gnu.so<br>
7f9f4c989000-7f9f4c98f000 rw-p 0003c000 08:31 85429645 /opt/conda/lib/python3.6/site-packages/scipy/interpolate/_bspl.cpython-36m-x86_64-linux-gnu.so<br>
7f9f4c98f000-7f9f4c990000 rw-p 00000000 00:00 0<br>
7f9f4c990000-7f9f4c993000 rw-p 00043000 08:31 85429645 /opt/conda/lib/python3.6/site-packages/scipy/interpolate/_bspl.cpython-36m-x86_64-linux-gnu.so<br>
7f9f4c993000-7f9f50000000 rw-p 00000000 00:00 0<br>
7f9f50000000-7f9f50021000 rw-p 00000000 00:00 0<br>
7f9f50021000-7f9f54000000 ---p 00000000 00:00 0<br>
7f9f54000000-7f9f5d400000 ---p 00000000 00:00 0<br>
7f9f5d400000-7f9f5d600000 rw-s 00000000 00:05 1567619 /dev/zero (deleted)<br>
7f9f5d600000-7f9f5d800000 ---p 00000000 00:00 0<br>
7f9f5d800000-7f9f5da00000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7f9f5da00000-7f9f5dc00000 ---p 00000000 00:00 0<br>
7f9f5dc00000-7f9f5de00000 rw-s 00000000 00:05 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/1567621688d8946ed5ccfe89eefb60cda478dd70/hovercard" href="https://github.com/pytorch/pytorch/commit/1567621688d8946ed5ccfe89eefb60cda478dd70"><tt>1567621</tt></a> /dev/zero (deleted)<br>
7f9f5de00000-7f9f5e0d6000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7f9f5e0d6000-7f9f63200000 ---p 00000000 00:00 0<br>
7f9f63200000-7f9f63400000 rw-s 00000000 00:05 1598092 /dev/zero (deleted)<br>
7f9f63400000-7f9f63c00000 ---p 00000000 00:00 0<br>
7f9f63c00000-7f9f63e00000 rw-s 00000000 00:05 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/1567618e8e8e2aeee16fbd26886a9b594dbc76f9/hovercard" href="https://github.com/pytorch/pytorch/commit/1567618e8e8e2aeee16fbd26886a9b594dbc76f9"><tt>1567618</tt></a> /dev/zero (deleted)<br>
7f9f63e00000-7f9f64000000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7f9f64000000-7f9f64021000 rw-p 00000000 00:00 0<br>
7f9f64021000-7f9f68000000 ---p 00000000 00:00 0<br>
7f9f680b9000-7f9f68117000 r-xp 00000000 08:31 85429652 /opt/conda/lib/python3.6/site-packages/scipy/interpolate/dfitpack.cpython-36m-x86_64-linux-gnu.so<br>
7f9f68117000-7f9f68317000 ---p 0005e000 08:31 85429652 /opt/conda/lib/python3.6/site-packages/scipy/interpolate/dfitpack.cpython-36m-x86_64-linux-gnu.so<br>
7f9f68317000-7f9f6831e000 rw-p 0005e000 08:31 85429652 /opt/conda/lib/python3.6/site-packages/scipy/interpolate/dfitpack.cpython-36m-x86_64-linux-gnu.so<br>
7f9f6831e000-7f9f68320000 rw-p 00066000 08:31 85429652 /opt/conda/lib/python3.6/site-packages/scipy/interpolate/dfitpack.cpython-36m-x86_64-linux-gnu.so<br>
7f9f68320000-7f9f68354000 r-xp 00000000 08:31 85429648 /opt/conda/lib/python3.6/site-packages/scipy/interpolate/_fitpack.cpython-36m-x86_64-linux-gnu.so<br>
7f9f68354000-7f9f68554000 ---p 00034000 08:31 85429648 /opt/conda/lib/python3.6/site-packages/scipy/interpolate/_fitpack.cpython-36m-x86_64-linux-gnu.so<br>
7f9f68554000-7f9f68555000 rw-p 00034000 08:31 85429648 /opt/conda/lib/python3.6/site-packages/scipy/interpolate/_fitpack.cpython-36m-x86_64-linux-gnu.so<br>
7f9f68555000-7f9f68557000 rw-p 00036000 08:31 85429648 /opt/conda/lib/python3.6/site-packages/scipy/interpolate/_fitpack.cpython-36m-x86_64-linux-gnu.so<br>
7f9f68557000-7f9f68570000 r-xp 00000000 08:31 85429603 /opt/conda/lib/python3.6/site-packages/scipy/integrate/lsoda.cpython-36m-x86_64-linux-gnu.so<br>
7f9f68570000-7f9f6876f000 ---p 00019000 08:31 85429603 /opt/conda/lib/python3.6/site-packages/scipy/integrate/lsoda.cpython-36m-x86_64-linux-gnu.so<br>
7f9f6876f000-7f9f68774000 rw-p 00018000 08:31 85429603 /opt/conda/lib/python3.6/site-packages/scipy/integrate/lsoda.cpython-36m-x86_64-linux-gnu.so<br>
7f9f68774000-7f9f6878f000 r-xp 00000000 08:31 85429576 /opt/conda/lib/python3.6/site-packages/scipy/integrate/_dop.cpython-36m-x86_64-linux-gnu.so<br>
7f9f6878f000-7f9f6898e000 ---p 0001b000 08:31 85429576 /opt/conda/lib/python3.6/site-packages/scipy/integrate/_dop.cpython-36m-x86_64-linux-gnu.so<br>
7f9f6898e000-7f9f68990000 rw-p 0001a000 08:31 85429576 /opt/conda/lib/python3.6/site-packages/scipy/integrate/_dop.cpython-36m-x86_64-linux-gnu.so<br>
7f9f68990000-7f9f68993000 rw-p 0001d000 08:31 85429576 /opt/conda/lib/python3.6/site-packages/scipy/integrate/_dop.cpython-36m-x86_64-linux-gnu.so<br>
7f9f68993000-7f9f6c000000 rw-p 00000000 00:00 0<br>
7f9f6c000000-7f9f6c021000 rw-p 00000000 00:00 0<br>
7f9f6c021000-7f9f70000000 ---p 00000000 00:00 0<br>
7f9f700e8000-7f9f70128000 rw-p 00000000 00:00 0<br>
7f9f701e8000-7f9f70219000 r-xp 00000000 08:31 85429628 /opt/conda/lib/python3.6/site-packages/scipy/integrate/vode.cpython-36m-x86_64-linux-gnu.so<br>
7f9f70219000-7f9f70418000 ---p 00031000 08:31 85429628 /opt/conda/lib/python3.6/site-packages/scipy/integrate/vode.cpython-36m-x86_64-linux-gnu.so<br>
7f9f70418000-7f9f7041a000 rw-p 00030000 08:31 85429628 /opt/conda/lib/python3.6/site-packages/scipy/integrate/vode.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7041a000-7f9f7041b000 rw-p 00000000 00:00 0<br>
7f9f7041b000-7f9f7041f000 rw-p 00033000 08:31 85429628 /opt/conda/lib/python3.6/site-packages/scipy/integrate/vode.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7041f000-7f9f70439000 r-xp 00000000 08:31 85429600 /opt/conda/lib/python3.6/site-packages/scipy/integrate/_quadpack.cpython-36m-x86_64-linux-gnu.so<br>
7f9f70439000-7f9f70639000 ---p 0001a000 08:31 85429600 /opt/conda/lib/python3.6/site-packages/scipy/integrate/_quadpack.cpython-36m-x86_64-linux-gnu.so<br>
7f9f70639000-7f9f7063a000 rw-p 0001a000 08:31 85429600 /opt/conda/lib/python3.6/site-packages/scipy/integrate/_quadpack.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7063a000-7f9f7063d000 rw-p 0001c000 08:31 85429600 /opt/conda/lib/python3.6/site-packages/scipy/integrate/_quadpack.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7063d000-7f9f70653000 r-xp 00000000 08:31 85429598 /opt/conda/lib/python3.6/site-packages/scipy/integrate/_odepack.cpython-36m-x86_64-linux-gnu.so<br>
7f9f70653000-7f9f70852000 ---p 00016000 08:31 85429598 /opt/conda/lib/python3.6/site-packages/scipy/integrate/_odepack.cpython-36m-x86_64-linux-gnu.so<br>
7f9f70852000-7f9f70853000 rw-p 00015000 08:31 85429598 /opt/conda/lib/python3.6/site-packages/scipy/integrate/_odepack.cpython-36m-x86_64-linux-gnu.so<br>
7f9f70853000-7f9f70854000 rw-p 00000000 00:00 0<br>
7f9f70854000-7f9f70857000 rw-p 00017000 08:31 85429598 /opt/conda/lib/python3.6/site-packages/scipy/integrate/_odepack.cpython-36m-x86_64-linux-gnu.so<br>
7f9f70857000-7f9f7085a000 r-xp 00000000 08:31 85560786 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_lsap_module.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7085a000-7f9f70a5a000 ---p 00003000 08:31 85560786 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_lsap_module.cpython-36m-x86_64-linux-gnu.so<br>
7f9f70a5a000-7f9f70a5b000 rw-p 00003000 08:31 85560786 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_lsap_module.cpython-36m-x86_64-linux-gnu.so<br>
7f9f70a5b000-7f9f70a9d000 r-xp 00000000 08:31 85560771 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_bglu_dense.cpython-36m-x86_64-linux-gnu.so<br>
7f9f70a9d000-7f9f70c9c000 ---p 00042000 08:31 85560771 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_bglu_dense.cpython-36m-x86_64-linux-gnu.so<br>
7f9f70c9c000-7f9f70ca1000 rw-p 00041000 08:31 85560771 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_bglu_dense.cpython-36m-x86_64-linux-gnu.so<br>
7f9f70ca1000-7f9f70ca2000 rw-p 00000000 00:00 0<br>
7f9f70ca2000-7f9f70cac000 r-xp 00000000 08:31 85560810 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_nnls.cpython-36m-x86_64-linux-gnu.so<br>
7f9f70cac000-7f9f70eac000 ---p 0000a000 08:31 85560810 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_nnls.cpython-36m-x86_64-linux-gnu.so<br>
7f9f70eac000-7f9f70ead000 rw-p 0000a000 08:31 85560810 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_nnls.cpython-36m-x86_64-linux-gnu.so<br>
7f9f70ead000-7f9f70eaf000 rw-p 0000c000 08:31 85560810 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_nnls.cpython-36m-x86_64-linux-gnu.so<br>
7f9f70eaf000-7f9f70eb2000 r-xp 00000000 08:31 85560872 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_zeros.cpython-36m-x86_64-linux-gnu.so<br>
7f9f70eb2000-7f9f710b1000 ---p 00003000 08:31 85560872 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_zeros.cpython-36m-x86_64-linux-gnu.so<br>
7f9f710b1000-7f9f710b2000 rw-p 00002000 08:31 85560872 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_zeros.cpython-36m-x86_64-linux-gnu.so<br>
7f9f710b2000-7f9f710d9000 r-xp 00000000 08:31 85560802 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_lsq/givens_elimination.cpython-36m-x86_64-linux-gnu.so<br>
7f9f710d9000-7f9f712d8000 ---p 00027000 08:31 85560802 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_lsq/givens_elimination.cpython-36m-x86_64-linux-gnu.so<br>
7f9f712d8000-7f9f712dc000 rw-p 00026000 08:31 85560802 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_lsq/givens_elimination.cpython-36m-x86_64-linux-gnu.so<br>
7f9f712dc000-7f9f712fb000 r-xp 00000000 08:31 85560809 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_minpack.cpython-36m-x86_64-linux-gnu.so<br>
7f9f712fb000-7f9f714fb000 ---p 0001f000 08:31 85560809 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_minpack.cpython-36m-x86_64-linux-gnu.so<br>
7f9f714fb000-7f9f714fe000 rw-p 0001f000 08:31 85560809 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_minpack.cpython-36m-x86_64-linux-gnu.so<br>
7f9f714fe000-7f9f71516000 r-xp 00000000 08:31 85560825 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_slsqp.cpython-36m-x86_64-linux-gnu.so<br>
7f9f71516000-7f9f71715000 ---p 00018000 08:31 85560825 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_slsqp.cpython-36m-x86_64-linux-gnu.so<br>
7f9f71715000-7f9f71719000 rw-p 00017000 08:31 85560825 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_slsqp.cpython-36m-x86_64-linux-gnu.so<br>
7f9f71719000-7f9f71737000 r-xp 00000000 08:31 85560772 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_cobyla.cpython-36m-x86_64-linux-gnu.so<br>
7f9f71737000-7f9f71937000 ---p 0001e000 08:31 85560772 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_cobyla.cpython-36m-x86_64-linux-gnu.so<br>
7f9f71937000-7f9f71938000 rw-p 0001e000 08:31 85560772 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_cobyla.cpython-36m-x86_64-linux-gnu.so<br>
7f9f71938000-7f9f7193a000 rw-p 00020000 08:31 85560772 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_cobyla.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7193a000-7f9f71946000 r-xp 00000000 08:31 85560888 /opt/conda/lib/python3.6/site-packages/scipy/optimize/moduleTNC.cpython-36m-x86_64-linux-gnu.so<br>
7f9f71946000-7f9f71b45000 ---p 0000c000 08:31 85560888 /opt/conda/lib/python3.6/site-packages/scipy/optimize/moduleTNC.cpython-36m-x86_64-linux-gnu.so<br>
7f9f71b45000-7f9f71b46000 rw-p 0000b000 08:31 85560888 /opt/conda/lib/python3.6/site-packages/scipy/optimize/moduleTNC.cpython-36m-x86_64-linux-gnu.so<br>
7f9f71b46000-7f9f71b63000 r-xp 00000000 08:31 85560779 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_lbfgsb.cpython-36m-x86_64-linux-gnu.so<br>
7f9f71b63000-7f9f71d63000 ---p 0001d000 08:31 85560779 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_lbfgsb.cpython-36m-x86_64-linux-gnu.so<br>
7f9f71d63000-7f9f71d64000 rw-p 0001d000 08:31 85560779 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_lbfgsb.cpython-36m-x86_64-linux-gnu.so<br>
7f9f71d64000-7f9f71d67000 rw-p 0001f000 08:31 85560779 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_lbfgsb.cpython-36m-x86_64-linux-gnu.so<br>
7f9f71d67000-7f9f71def000 r-xp 00000000 08:31 85691771 /opt/conda/lib/python3.6/site-packages/scipy/sparse/linalg/eigen/arpack/_arpack.cpython-36m-x86_64-linux-gnu.so<br>
7f9f71def000-7f9f71fef000 ---p 00088000 08:31 85691771 /opt/conda/lib/python3.6/site-packages/scipy/sparse/linalg/eigen/arpack/_arpack.cpython-36m-x86_64-linux-gnu.so<br>
7f9f71fef000-7f9f71ffa000 rw-p 00088000 08:31 85691771 /opt/conda/lib/python3.6/site-packages/scipy/sparse/linalg/eigen/arpack/_arpack.cpython-36m-x86_64-linux-gnu.so<br>
7f9f71ffa000-7f9f71ffc000 rw-p 00000000 00:00 0<br>
7f9f71ffc000-7f9f72000000 rw-p 00094000 08:31 85691771 /opt/conda/lib/python3.6/site-packages/scipy/sparse/linalg/eigen/arpack/_arpack.cpython-36m-x86_64-linux-gnu.so<br>
7f9f72000000-7f9f7a000000 ---p 00000000 00:00 0<br>
7f9f7a00a000-7f9f7a035000 r-xp 00000000 08:31 85560777 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_group_columns.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7a035000-7f9f7a235000 ---p 0002b000 08:31 85560777 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_group_columns.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7a235000-7f9f7a238000 rw-p 0002b000 08:31 85560777 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_group_columns.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7a238000-7f9f7a239000 rw-p 00000000 00:00 0<br>
7f9f7a239000-7f9f7a286000 r-xp 00000000 08:31 85691749 /opt/conda/lib/python3.6/site-packages/scipy/sparse/linalg/dsolve/_superlu.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7a286000-7f9f7a485000 ---p 0004d000 08:31 85691749 /opt/conda/lib/python3.6/site-packages/scipy/sparse/linalg/dsolve/_superlu.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7a485000-7f9f7a487000 rw-p 0004c000 08:31 85691749 /opt/conda/lib/python3.6/site-packages/scipy/sparse/linalg/dsolve/_superlu.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7a487000-7f9f7a48a000 rw-p 0004f000 08:31 85691749 /opt/conda/lib/python3.6/site-packages/scipy/sparse/linalg/dsolve/_superlu.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7a48a000-7f9f7a4bb000 r-xp 00000000 08:31 85691809 /opt/conda/lib/python3.6/site-packages/scipy/sparse/linalg/isolve/_iterative.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7a4bb000-7f9f7a6bb000 ---p 00031000 08:31 85691809 /opt/conda/lib/python3.6/site-packages/scipy/sparse/linalg/isolve/_iterative.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7a6bb000-7f9f7a6c2000 rw-p 00031000 08:31 85691809 /opt/conda/lib/python3.6/site-packages/scipy/sparse/linalg/isolve/_iterative.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7a6c2000-7f9f7a6c4000 rw-p 00000000 00:00 0<br>
7f9f7a6c4000-7f9f7a6c7000 rw-p 00039000 08:31 85691809 /opt/conda/lib/python3.6/site-packages/scipy/sparse/linalg/isolve/_iterative.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7a6c7000-7f9f7a710000 r-xp 00000000 08:31 85560832 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_trlib/_trlib.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7a710000-7f9f7a910000 ---p 00049000 08:31 85560832 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_trlib/_trlib.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7a910000-7f9f7a914000 rw-p 00049000 08:31 85560832 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_trlib/_trlib.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7a914000-7f9f7a915000 rw-p 00000000 00:00 0<br>
7f9f7a915000-7f9f7a919000 rw-p 0004e000 08:31 85560832 /opt/conda/lib/python3.6/site-packages/scipy/optimize/_trlib/_trlib.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7a919000-7f9f7a922000 r-xp 00000000 08:31 85560887 /opt/conda/lib/python3.6/site-packages/scipy/optimize/minpack2.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7a922000-7f9f7ab22000 ---p 00009000 08:31 85560887 /opt/conda/lib/python3.6/site-packages/scipy/optimize/minpack2.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7ab22000-7f9f7ab23000 rw-p 00009000 08:31 85560887 /opt/conda/lib/python3.6/site-packages/scipy/optimize/minpack2.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7ab23000-7f9f7ab25000 rw-p 0000b000 08:31 85560887 /opt/conda/lib/python3.6/site-packages/scipy/optimize/minpack2.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7ab25000-7f9f7ab26000 ---p 00000000 00:00 0<br>
7f9f7ab26000-7f9f7e993000 rw-p 00000000 00:00 0<br>
7f9f7eb8f000-7f9f7ebd8000 r-xp 00000000 08:31 85560677 /opt/conda/lib/python3.6/site-packages/scipy/ndimage/_ni_label.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7ebd8000-7f9f7edd8000 ---p 00049000 08:31 85560677 /opt/conda/lib/python3.6/site-packages/scipy/ndimage/_ni_label.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7edd8000-7f9f7eddc000 rw-p 00049000 08:31 85560677 /opt/conda/lib/python3.6/site-packages/scipy/ndimage/_ni_label.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7eddc000-7f9f7edde000 rw-p 00000000 00:00 0<br>
7f9f7edde000-7f9f7edf9000 r-xp 00000000 08:31 85560675 /opt/conda/lib/python3.6/site-packages/scipy/ndimage/_nd_image.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7edf9000-7f9f7eff9000 ---p 0001b000 08:31 85560675 /opt/conda/lib/python3.6/site-packages/scipy/ndimage/_nd_image.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7eff9000-7f9f7effa000 rw-p 0001b000 08:31 85560675 /opt/conda/lib/python3.6/site-packages/scipy/ndimage/_nd_image.cpython-36m-x86_64-linux-gnu.so<br>
7f9f7effa000-7f9f7effb000 ---p 00000000 00:00 0<br>
7f9f7effb000-7f9f7f7fb000 rw-p 00000000 00:00 0<br>
7f9f7f7fb000-7f9f7f7fc000 ---p 00000000 00:00 0<br>
7f9f7f7fc000-7f9f7fffc000 rw-p 00000000 00:00 0<br>
7f9f7fffc000-7f9f7fffd000 ---p 00000000 00:00 0<br>
7f9f7fffd000-7f9f807fd000 rw-p 00000000 00:00 0<br>
7f9f807fd000-7f9f807fe000 ---p 00000000 00:00 0<br>
7f9f807fe000-7f9f80ffe000 rw-p 00000000 00:00 0<br>
7f9f811ff000-7f9f81200000 ---p 00000000 00:00 0<br>
7f9f81200000-7f9f81a00000 rw-p 00000000 00:00 0<br>
7f9f82000000-7f9f83400000 ---p 00000000 00:00 0<br>
7f9f83400000-7f9f83600000 rw-s 00000000 00:05 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/15799072b93f536902524747d2cd07a1f3e78182/hovercard" href="https://github.com/pytorch/pytorch/commit/15799072b93f536902524747d2cd07a1f3e78182"><tt>1579907</tt></a> /dev/zero (deleted)<br>
7f9f83600000-7f9f83800000 ---p 00000000 00:00 0<br>
7f9f83800000-7f9f83a00000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7f9f83a00000-7f9f83c00000 ---p 00000000 00:00 0<br>
7f9f83c00000-7f9f83e00000 rw-s 00000000 00:05 1579909 /dev/zero (deleted)<br>
7f9f83e00000-7f9f840d6000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7f9f840d6000-7f9f89200000 ---p 00000000 00:00 0<br>
7f9f89200000-7f9f89400000 rw-s 00000000 00:05 1603718 /dev/zero (deleted)<br>
7f9f89400000-7f9f89c00000 ---p 00000000 00:00 0<br>
7f9f89c00000-7f9f89e00000 rw-s 00000000 00:05 1579906 /dev/zero (deleted)<br>
7f9f89e00000-7f9f8a000000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7f9f8a000000-7f9f8a600000 rw-s 00000000 00:05 1595906 /dev/zero (deleted)<br>
7f9f8a600000-7f9f8ac00000 rw-s 00000000 00:05 1595908 /dev/zero (deleted)<br>
7f9f8ac00000-7f9f92400000 ---p 00000000 00:00 0<br>
7f9f92400000-7f9f92a00000 rw-s 00000000 00:05 1599848 /dev/zero (deleted)<br>
7f9f92a00000-7f9f93000000 rw-s 00000000 00:05 1579899 /dev/zero (deleted)<br>
7f9f93000000-7f9f93600000 rw-s 00000000 00:05 1579901 /dev/zero (deleted)<br>
7f9f93600000-7f9f93800000 ---p 00000000 00:00 0<br>
7f9f93800000-7f9f93e00000 rw-s 00000000 00:05 1589911 /dev/zero (deleted)<br>
7f9f93e00000-7f9f95200000 ---p 00000000 00:00 0<br>
7f9f95200000-7f9f95800000 rw-s 00000000 00:05 1599844 /dev/zero (deleted)<br>
7f9f95800000-7f9f95a00000 ---p 00000000 00:00 0<br>
7f9f95a00000-7f9f96000000 rw-s 00000000 00:05 1599846 /dev/zero (deleted)<br>
7f9f96000000-7f9f96600000 rw-s 00000000 00:05 1599843 /dev/zero (deleted)<br>
7f9f96600000-7f9f96800000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7f9f96800000-7f9f96a00000 ---p 00000000 00:00 0<br>
7f9f96a00000-7f9f97000000 rw-s 00000000 00:05 1589908 /dev/zero (deleted)<br>
7f9f97000000-7f9f97200000 rw-s 00000000 00:05 1603717 /dev/zero (deleted)<br>
7f9f97200000-7f9f974d6000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7f9f974d6000-7f9f97600000 ---p 00000000 00:00 0<br>
7f9f97600000-7f9f97c00000 rw-s 00000000 00:05 1589910 /dev/zero (deleted)<br>
7f9f97c00000-7f9f98000000 ---p 00000000 00:00 0<br>
7f9f98000000-7f9f98021000 rw-p 00000000 00:00 0<br>
7f9f98021000-7f9f9c000000 ---p 00000000 00:00 0<br>
7f9f9c109000-7f9f9c11b000 r-xp 00000000 08:31 85692000 /opt/conda/lib/python3.6/site-packages/scipy/special/_ellip_harm_2.cpython-36m-x86_64-linux-gnu.so<br>
7f9f9c11b000-7f9f9c31b000 ---p 00012000 08:31 85692000 /opt/conda/lib/python3.6/site-packages/scipy/special/_ellip_harm_2.cpython-36m-x86_64-linux-gnu.so<br>
7f9f9c31b000-7f9f9c320000 rw-p 00012000 08:31 85692000 /opt/conda/lib/python3.6/site-packages/scipy/special/_ellip_harm_2.cpython-36m-x86_64-linux-gnu.so<br>
7f9f9c320000-7f9f9c3d5000 r-xp 00000000 08:31 85692041 /opt/conda/lib/python3.6/site-packages/scipy/special/specfun.cpython-36m-x86_64-linux-gnu.so<br>
7f9f9c3d5000-7f9f9c5d5000 ---p 000b5000 08:31 85692041 /opt/conda/lib/python3.6/site-packages/scipy/special/specfun.cpython-36m-x86_64-linux-gnu.so<br>
7f9f9c5d5000-7f9f9c5de000 rw-p 000b5000 08:31 85692041 /opt/conda/lib/python3.6/site-packages/scipy/special/specfun.cpython-36m-x86_64-linux-gnu.so<br>
7f9f9c5de000-7f9f9c5fb000 r-xp 00000000 08:31 85692032 /opt/conda/lib/python3.6/site-packages/scipy/special/_ufuncs_cxx.cpython-36m-x86_64-linux-gnu.so<br>
7f9f9c5fb000-7f9f9c7fb000 ---p 0001d000 08:31 85692032 /opt/conda/lib/python3.6/site-packages/scipy/special/_ufuncs_cxx.cpython-36m-x86_64-linux-gnu.so<br>
7f9f9c7fb000-7f9f9c7fc000 rw-p 0001d000 08:31 85692032 /opt/conda/lib/python3.6/site-packages/scipy/special/_ufuncs_cxx.cpython-36m-x86_64-linux-gnu.so<br>
7f9f9c7fc000-7f9f9c7fd000 rw-p 00000000 00:00 0<br>
7f9f9c7fd000-7f9f9c7fe000 ---p 00000000 00:00 0<br>
7f9f9c7fe000-7f9f9cffe000 rw-p 00000000 00:00 0<br>
7f9f9cffe000-7f9f9cfff000 ---p 00000000 00:00 0<br>
7f9f9cfff000-7f9f9d7ff000 rw-p 00000000 00:00 0<br>
7f9f9d7ff000-7f9f9d800000 ---p 00000000 00:00 0<br>
7f9f9d800000-7f9f9e000000 rw-p 00000000 00:00 0<br>
7f9f9e000000-7f9f9e600000 rw-s 00000000 00:05 1587833 /dev/zero (deleted)<br>
7f9f9e600000-7f9f9e800000 ---p 00000000 00:00 0<br>
7f9f9e800000-7f9f9ee00000 rw-s 00000000 00:05 1599841 /dev/zero (deleted)<br>
7f9f9ee00000-7f9f9f000000 rw-s 00000000 00:05 1589158 /dev/zero (deleted)<br>
7f9f9f000000-7f9f9f200000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7f9f9f200000-7f9f9f800000 rw-s 00000000 00:05 1603715 /dev/zero (deleted)<br>
7f9f9f800000-7f9f9fa00000 rw-s 00000000 00:05 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/158915924789c52fc25171cc8a14dc302e3b079f/hovercard" href="https://github.com/pytorch/pytorch/commit/158915924789c52fc25171cc8a14dc302e3b079f"><tt>1589159</tt></a> /dev/zero (deleted)<br>
7f9f9fa00000-7f9fa0000000 ---p 00000000 00:00 0<br>
7f9fa0000000-7f9fa0600000 rw-s 00000000 00:05 1589905 /dev/zero (deleted)<br>
7f9fa0600000-7f9fa0c00000 rw-s 00000000 00:05 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/15899061e0ae426b9d90dda2c61ccdf2afd87ce1/hovercard" href="https://github.com/pytorch/pytorch/commit/15899061e0ae426b9d90dda2c61ccdf2afd87ce1"><tt>1589906</tt></a> /dev/zero (deleted)<br>
7f9fa0c00000-7f9fa1200000 rw-s 00000000 00:05 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/158915414c5efc4ee431566cef1aa94bf40c626a/hovercard" href="https://github.com/pytorch/pytorch/commit/158915414c5efc4ee431566cef1aa94bf40c626a"><tt>1589154</tt></a> /dev/zero (deleted)<br>
7f9fa1200000-7f9fa1800000 rw-s 00000000 00:05 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/1589156e1821fd2aecb8ce99f2bdc402db66ff0b/hovercard" href="https://github.com/pytorch/pytorch/commit/1589156e1821fd2aecb8ce99f2bdc402db66ff0b"><tt>1589156</tt></a> /dev/zero (deleted)<br>
7f9fa1800000-7f9fa1e00000 rw-s 00000000 00:05 1580930 /dev/zero (deleted)<br>
7f9fa1e00000-7f9fa2000000 ---p 00000000 00:00 0<br>
7f9fa2000000-7f9fa2600000 rw-s 00000000 00:05 1589895 /dev/zero (deleted)<br>
7f9fa2600000-7f9fa2c00000 rw-s 00000000 00:05 1589897 /dev/zero (deleted)<br>
7f9fa2c00000-7f9fa3200000 rw-s 00000000 00:05 1589899 /dev/zero (deleted)<br>
7f9fa3200000-7f9fa3800000 rw-s 00000000 00:05 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/15899013ebb120d51d685ceeb2aa95820354ad16/hovercard" href="https://github.com/pytorch/pytorch/commit/15899013ebb120d51d685ceeb2aa95820354ad16"><tt>1589901</tt></a> /dev/zero (deleted)<br>
7f9fa3800000-7f9fa3e00000 rw-s 00000000 00:05 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/1589903aa993f0740d3d394ce9ad3365df821916/hovercard" href="https://github.com/pytorch/pytorch/commit/1589903aa993f0740d3d394ce9ad3365df821916"><tt>1589903</tt></a> /dev/zero (deleted)<br>
7f9fa3e00000-7f9fa4000000 ---p 00000000 00:00 0<br>
7f9fa4000000-7f9fa4021000 rw-p 00000000 00:00 0<br>
7f9fa4021000-7f9fa8000000 ---p 00000000 00:00 0<br>
7f9fa800d000-7f9fa8013000 r-xp 00000000 08:31 85691998 /opt/conda/lib/python3.6/site-packages/scipy/special/_comb.cpython-36m-x86_64-linux-gnu.so<br>
7f9fa8013000-7f9fa8213000 ---p 00006000 08:31 85691998 /opt/conda/lib/python3.6/site-packages/scipy/special/_comb.cpython-36m-x86_64-linux-gnu.so<br>
7f9fa8213000-7f9fa8214000 rw-p 00006000 08:31 85691998 /opt/conda/lib/python3.6/site-packages/scipy/special/_comb.cpython-36m-x86_64-linux-gnu.so<br>
7f9fa8214000-7f9fa83b7000 r-xp 00000000 08:31 85692031 /opt/conda/lib/python3.6/site-packages/scipy/special/_ufuncs.cpython-36m-x86_64-linux-gnu.so<br>
7f9fa83b7000-7f9fa85b7000 ---p 001a3000 08:31 85692031 /opt/conda/lib/python3.6/site-packages/scipy/special/_ufuncs.cpython-36m-x86_64-linux-gnu.so<br>
7f9fa85b7000-7f9fa85c1000 rw-p 001a3000 08:31 85692031 /opt/conda/lib/python3.6/site-packages/scipy/special/_ufuncs.cpython-36m-x86_64-linux-gnu.so<br>
7f9fa85c1000-7f9fa85ca000 rw-p 00000000 00:00 0<br>
7f9fa85ca000-7f9fa85cf000 rw-p 001ae000 08:31 85692031 /opt/conda/lib/python3.6/site-packages/scipy/special/_ufuncs.cpython-36m-x86_64-linux-gnu.so<br>
7f9fa85cf000-7f9fa85f9000 r-xp 00000000 08:31 85691895 /opt/conda/lib/python3.6/site-packages/scipy/spatial/_hausdorff.cpython-36m-x86_64-linux-gnu.so<br>
7f9fa85f9000-7f9fa87f9000 ---p 0002a000 08:31 85691895 /opt/conda/lib/python3.6/site-packages/scipy/spatial/_hausdorff.cpython-36m-x86_64-linux-gnu.so<br>
7f9fa87f9000-7f9fa87fc000 rw-p 0002a000 08:31 85691895 /opt/conda/lib/python3.6/site-packages/scipy/spatial/_hausdorff.cpython-36m-x86_64-linux-gnu.so<br>
7f9fa87fc000-7f9fa87fd000 rw-p 00000000 00:00 0<br>
7f9fa87fd000-7f9fa87fe000 ---p 00000000 00:00 0<br>
7f9fa87fe000-7f9fa8ffe000 rw-p 00000000 00:00 0<br>
7f9fa8ffe000-7f9fa8fff000 ---p 00000000 00:00 0<br>
7f9fa8fff000-7f9fa97ff000 rw-p 00000000 00:00 0<br>
7f9fa97ff000-7f9fa9800000 ---p 00000000 00:00 0<br>
7f9fa9800000-7f9faa000000 rw-p 00000000 00:00 0<br>
7f9faa000000-7f9fab400000 ---p 00000000 00:00 0<br>
7f9fab400000-7f9faba00000 rw-s 00000000 00:05 1493310 /dev/zero (deleted)<br>
7f9faba00000-7f9fac000000 rw-s 00000000 00:05 1589892 /dev/zero (deleted)<br>
7f9fac000000-7f9facb90000 rw-p 00000000 00:00 0<br>
7f9facb90000-7f9fb0000000 ---p 00000000 00:00 0<br>
7f9fb0000000-7f9fb098b000 rw-p 00000000 00:00 0<br>
7f9fb098b000-7f9fb4000000 ---p 00000000 00:00 0<br>
7f9fb4000000-7f9fb444b000 rw-p 00000000 00:00 0<br>
7f9fb444b000-7f9fb8000000 ---p 00000000 00:00 0<br>
7f9fb804c000-7f9fb808c000 rw-p 00000000 00:00 0<br>
7f9fb808c000-7f9fb808d000 ---p 00000000 00:00 0<br>
7f9fb808d000-7f9fb888d000 rw-p 00000000 00:00 0<br>
7f9fb888d000-7f9fb888e000 ---p 00000000 00:00 0<br>
7f9fb888e000-7f9fb908e000 rw-p 00000000 00:00 0<br>
7f9fb908e000-7f9fba28c000 r-xp 00000000 08:31 80973568 /opt/conda/lib/libnvrtc.so.10.1.168<br>
7f9fba28c000-7f9fba48b000 ---p 011fe000 08:31 80973568 /opt/conda/lib/libnvrtc.so.10.1.168<br>
7f9fba48b000-7f9fba70e000 r--p 011fd000 08:31 80973568 /opt/conda/lib/libnvrtc.so.10.1.168<br>
7f9fba70e000-7f9fba755000 rw-p 01480000 08:31 80973568 /opt/conda/lib/libnvrtc.so.10.1.168<br>
7f9fba755000-7f9fba7fc000 rw-p 00000000 00:00 0<br>
7f9fba7fc000-7f9fba7fd000 rw-p 014c7000 08:31 80973568 /opt/conda/lib/libnvrtc.so.10.1.168<br>
7f9fba7fd000-7f9fba7fe000 ---p 00000000 00:00 0<br>
7f9fba7fe000-7f9fbaffe000 rw-p 00000000 00:00 0<br>
7f9fbaffe000-7f9fbafff000 ---p 00000000 00:00 0<br>
7f9fbafff000-7f9fbb7ff000 rw-p 00000000 00:00 0<br>
7f9fbb7ff000-7f9fbb800000 ---p 00000000 00:00 0<br>
7f9fbb800000-7f9fbc000000 rw-p 00000000 00:00 0<br>
7f9fbc000000-7f9fbc3a3000 rw-p 00000000 00:00 0<br>
7f9fbc3a3000-7f9fc0000000 ---p 00000000 00:00 0<br>
7f9fc0000000-7f9fc01eb000 rw-p 00000000 00:00 0<br>
7f9fc01eb000-7f9fc4000000 ---p 00000000 00:00 0<br>
7f9fc4000000-7f9fc4772000 rw-p 00000000 00:00 0<br>
7f9fc4772000-7f9fc8000000 ---p 00000000 00:00 0<br>
7f9fc8000000-7f9fc8722000 rw-p 00000000 00:00 0<br>
7f9fc8722000-7f9fcc000000 ---p 00000000 00:00 0<br>
7f9fcc000000-7f9fcc8ac000 rw-p 00000000 00:00 0<br>
7f9fcc8ac000-7f9fd0000000 ---p 00000000 00:00 0<br>
7f9fd0000000-7f9fd0649000 rw-p 00000000 00:00 0<br>
7f9fd0649000-7f9fd4000000 ---p 00000000 00:00 0<br>
7f9fd4000000-7f9fd467f000 rw-p 00000000 00:00 0<br>
7f9fd467f000-7f9fd8000000 ---p 00000000 00:00 0<br>
7f9fd8000000-7f9fd852f000 rw-p 00000000 00:00 0<br>
7f9fd852f000-7f9fdc000000 ---p 00000000 00:00 0<br>
7f9fdc000000-7f9fdc28d000 rw-p 00000000 00:00 0<br>
7f9fdc28d000-7f9fe0000000 ---p 00000000 00:00 0<br>
7f9fe0000000-7f9fe0ab9000 rw-p 00000000 00:00 0<br>
7f9fe0ab9000-7f9fe4000000 ---p 00000000 00:00 0<br>
7f9fe4000000-7f9fe49c6000 rw-p 00000000 00:00 0<br>
7f9fe49c6000-7f9fe8000000 ---p 00000000 00:00 0<br>
7f9fe8000000-7f9fe83db000 rw-p 00000000 00:00 0<br>
7f9fe83db000-7f9fec000000 ---p 00000000 00:00 0<br>
7f9fec000000-7f9fec917000 rw-p 00000000 00:00 0<br>
7f9fec917000-7f9ff0000000 ---p 00000000 00:00 0<br>
7f9ff0000000-7f9ff052e000 rw-p 00000000 00:00 0<br>
7f9ff052e000-7f9ff4000000 ---p 00000000 00:00 0<br>
7f9ff4000000-7f9ff7800000 ---p 00000000 00:00 0<br>
7f9ff7800000-7f9ff7e00000 rw-s 00000000 00:05 1591824 /dev/zero (deleted)<br>
7f9ff7e00000-7f9ff9600000 ---p 00000000 00:00 0<br>
7f9ff9600000-7f9ff9c00000 rw-s 00000000 00:05 1591827 /dev/zero (deleted)<br>
7f9ff9c00000-7fa002000000 ---p 00000000 00:00 0<br>
7fa00200c000-7fa00210c000 rw-p 00000000 00:00 0<br>
7fa00210c000-7fa002123000 r-xp 00000000 08:31 85691894 /opt/conda/lib/python3.6/site-packages/scipy/spatial/_distance_wrap.cpython-36m-x86_64-linux-gnu.so<br>
7fa002123000-7fa002323000 ---p 00017000 08:31 85691894 /opt/conda/lib/python3.6/site-packages/scipy/spatial/_distance_wrap.cpython-36m-x86_64-linux-gnu.so<br>
7fa002323000-7fa002324000 rw-p 00017000 08:31 85691894 /opt/conda/lib/python3.6/site-packages/scipy/spatial/_distance_wrap.cpython-36m-x86_64-linux-gnu.so<br>
7fa002324000-7fa002325000 ---p 00000000 00:00 0<br>
7fa002325000-7fa002b25000 rw-p 00000000 00:00 0<br>
7fa002b25000-7fa002b26000 ---p 00000000 00:00 0<br>
7fa002b26000-7fa006993000 rw-p 00000000 00:00 0<br>
7fa0069ac000-7fa006b16000 r-xp 00000000 08:01 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/23741301101f5ebefffbaef4653b7ecfd9da2881/hovercard" href="https://github.com/pytorch/pytorch/commit/23741301101f5ebefffbaef4653b7ecfd9da2881"><tt>2374130</tt></a> /usr/lib/x86_64-linux-gnu/libnvidia-ml.so.430.64<br>
7fa006b16000-7fa006d16000 ---p 0016a000 08:01 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/23741301101f5ebefffbaef4653b7ecfd9da2881/hovercard" href="https://github.com/pytorch/pytorch/commit/23741301101f5ebefffbaef4653b7ecfd9da2881"><tt>2374130</tt></a> /usr/lib/x86_64-linux-gnu/libnvidia-ml.so.430.64<br>
7fa006d16000-7fa006d2f000 rw-p 0016a000 08:01 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/23741301101f5ebefffbaef4653b7ecfd9da2881/hovercard" href="https://github.com/pytorch/pytorch/commit/23741301101f5ebefffbaef4653b7ecfd9da2881"><tt>2374130</tt></a> /usr/lib/x86_64-linux-gnu/libnvidia-ml.so.430.64<br>
7fa006d2f000-7fa006ffa000 rw-p 00000000 00:00 0<br>
7fa006ffa000-7fa006ffb000 ---p 00000000 00:00 0<br>
7fa006ffb000-7fa0077fb000 rw-p 00000000 00:00 0<br>
7fa0077fb000-7fa0077fc000 ---p 00000000 00:00 0<br>
7fa0077fc000-7fa007ffc000 rw-p 00000000 00:00 0<br>
7fa007ffc000-7fa007ffd000 ---p 00000000 00:00 0<br>
7fa007ffd000-7fa0087fd000 rw-p 00000000 00:00 0<br>
7fa0087fd000-7fa0087fe000 ---p 00000000 00:00 0<br>
7fa0087fe000-7fa008ffe000 rw-p 00000000 00:00 0<br>
7fa008ffe000-7fa008fff000 ---p 00000000 00:00 0<br>
7fa008fff000-7fa0097ff000 rw-p 00000000 00:00 0<br>
7fa0097ff000-7fa009800000 ---p 00000000 00:00 0<br>
7fa009800000-7fa00a000000 rw-p 00000000 00:00 0<br>
7fa00a000000-7fa011200000 ---p 00000000 00:00 0<br>
7fa011200000-7fa011400000 rw-s 00000000 00:05 1589151 /dev/zero (deleted)<br>
7fa011400000-7fa017a00000 ---p 00000000 00:00 0<br>
7fa017a00000-7fa018000000 rw-s 00000000 00:05 1427137 /dev/zero (deleted)<br>
7fa018000000-7fa01b400000 ---p 00000000 00:00 0<br>
7fa01b400000-7fa01ba00000 rw-s 00000000 00:05 1567613 /dev/zero (deleted)<br>
7fa01ba00000-7fa01c000000 rw-s 00000000 00:05 1604786 /dev/zero (deleted)<br>
7fa01c000000-7fa01c021000 rw-p 00000000 00:00 0<br>
7fa01c021000-7fa020000000 ---p 00000000 00:00 0<br>
7fa020000000-7fa020021000 rw-p 00000000 00:00 0<br>
7fa020021000-7fa024000000 ---p 00000000 00:00 0<br>
7fa024031000-7fa02405a000 r-xp 00000000 08:31 85691899 /opt/conda/lib/python3.6/site-packages/scipy/spatial/_voronoi.cpython-36m-x86_64-linux-gnu.so<br>
7fa02405a000-7fa02425a000 ---p 00029000 08:31 85691899 /opt/conda/lib/python3.6/site-packages/scipy/spatial/_voronoi.cpython-36m-x86_64-linux-gnu.so<br>
7fa02425a000-7fa02425d000 rw-p 00029000 08:31 85691899 /opt/conda/lib/python3.6/site-packages/scipy/spatial/_voronoi.cpython-36m-x86_64-linux-gnu.so<br>
7fa02425d000-7fa02425e000 rw-p 00000000 00:00 0<br>
7fa02425e000-7fa024267000 r-xp 00000000 08:31 85298773 /opt/conda/lib/python3.6/site-packages/scipy/_lib/messagestream.cpython-36m-x86_64-linux-gnu.so<br>
7fa024267000-7fa024466000 ---p 00009000 08:31 85298773 /opt/conda/lib/python3.6/site-packages/scipy/_lib/messagestream.cpython-36m-x86_64-linux-gnu.so<br>
7fa024466000-7fa024468000 rw-p 00008000 08:31 85298773 /opt/conda/lib/python3.6/site-packages/scipy/_lib/messagestream.cpython-36m-x86_64-linux-gnu.so<br>
7fa024468000-7fa026000000 rw-p 00000000 00:00 0<br>
7fa026000000-7fa026400000 ---p 00000000 00:00 0<br>
7fa026400000-7fa026600000 rw-s 00000000 00:05 1589884 /dev/zero (deleted)<br>
7fa026600000-7fa026800000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa026800000-7fa026a00000 rw-s 00000000 00:05 1589885 /dev/zero (deleted)<br>
7fa026a00000-7fa026c00000 ---p 00000000 00:00 0<br>
7fa026c00000-7fa026e00000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa026e00000-7fa027000000 ---p 00000000 00:00 0<br>
7fa027000000-7fa027200000 rw-s 00000000 00:05 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/1589887c5645b703080f1edcac25caefa2fa16f7/hovercard" href="https://github.com/pytorch/pytorch/commit/1589887c5645b703080f1edcac25caefa2fa16f7"><tt>1589887</tt></a> /dev/zero (deleted)<br>
7fa027200000-7fa0274d6000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa0274d6000-7fa027600000 ---p 00000000 00:00 0<br>
7fa027600000-7fa027c00000 rw-s 00000000 00:05 1589893 /dev/zero (deleted)<br>
7fa027c00000-7fa028000000 ---p 00000000 00:00 0<br>
7fa028000000-7fa028021000 rw-p 00000000 00:00 0<br>
7fa028021000-7fa02c000000 ---p 00000000 00:00 0<br>
7fa02c000000-7fa02c021000 rw-p 00000000 00:00 0<br>
7fa02c021000-7fa030000000 ---p 00000000 00:00 0<br>
7fa030000000-7fa030021000 rw-p 00000000 00:00 0<br>
7fa030021000-7fa034000000 ---p 00000000 00:00 0<br>
7fa034000000-7fa034021000 rw-p 00000000 00:00 0<br>
7fa034021000-7fa038000000 ---p 00000000 00:00 0<br>
7fa038000000-7fa038021000 rw-p 00000000 00:00 0<br>
7fa038021000-7fa03c000000 ---p 00000000 00:00 0<br>
7fa03c01c000-7fa03c05c000 rw-p 00000000 00:00 0<br>
7fa03c05c000-7fa03c147000 r-xp 00000000 08:31 85691903 /opt/conda/lib/python3.6/site-packages/scipy/spatial/qhull.cpython-36m-x86_64-linux-gnu.so<br>
7fa03c147000-7fa03c346000 ---p 000eb000 08:31 85691903 /opt/conda/lib/python3.6/site-packages/scipy/spatial/qhull.cpython-36m-x86_64-linux-gnu.so<br>
7fa03c346000-7fa03c34f000 rw-p 000ea000 08:31 85691903 /opt/conda/lib/python3.6/site-packages/scipy/spatial/qhull.cpython-36m-x86_64-linux-gnu.so<br>
7fa03c34f000-7fa03c352000 rw-p 00000000 00:00 0<br>
7fa03c352000-7fa03c356000 rw-p 000f4000 08:31 85691903 /opt/conda/lib/python3.6/site-packages/scipy/spatial/qhull.cpython-36m-x86_64-linux-gnu.so<br>
7fa03c356000-7fa03c406000 r-xp 00000000 08:31 85691900 /opt/conda/lib/python3.6/site-packages/scipy/spatial/ckdtree.cpython-36m-x86_64-linux-gnu.so<br>
7fa03c406000-7fa03c605000 ---p 000b0000 08:31 85691900 /opt/conda/lib/python3.6/site-packages/scipy/spatial/ckdtree.cpython-36m-x86_64-linux-gnu.so<br>
7fa03c605000-7fa03c60f000 rw-p 000af000 08:31 85691900 /opt/conda/lib/python3.6/site-packages/scipy/spatial/ckdtree.cpython-36m-x86_64-linux-gnu.so<br>
7fa03c60f000-7fa03c611000 rw-p 00000000 00:00 0<br>
7fa03c611000-7fa03c612000 ---p 00000000 00:00 0<br>
7fa03c612000-7fa03ce12000 rw-p 00000000 00:00 0<br>
7fa03ce12000-7fa03ce13000 ---p 00000000 00:00 0<br>
7fa03ce13000-7fa03d613000 rw-p 00000000 00:00 0<br>
7fa03d613000-7fa03d614000 ---p 00000000 00:00 0<br>
7fa03d614000-7fa03de14000 rw-p 00000000 00:00 0<br>
7fa03de14000-7fa03de15000 ---p 00000000 00:00 0<br>
7fa03de15000-7fa03e615000 rw-p 00000000 00:00 0<br>
7fa03e615000-7fa03edd8000 r-xp 00000000 08:01 2374115 /usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.430.64<br>
7fa03edd8000-7fa03efd7000 ---p 007c3000 08:01 2374115 /usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.430.64<br>
7fa03efd7000-7fa03eff6000 rw-p 007c2000 08:01 2374115 /usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.430.64<br>
7fa03eff6000-7fa03efff000 rw-p 00000000 00:00 0<br>
7fa03f008000-7fa03f1c8000 rw-p 00000000 00:00 0<br>
7fa03f1c8000-7fa03f1d3000 r-xp 00000000 08:31 59728427 /lib/x86_64-linux-gnu/libnss_files-2.23.so<br>
7fa03f1d3000-7fa03f3d2000 ---p 0000b000 08:31 59728427 /lib/x86_64-linux-gnu/libnss_files-2.23.so<br>
7fa03f3d2000-7fa03f3d3000 r--p 0000a000 08:31 59728427 /lib/x86_64-linux-gnu/libnss_files-2.23.so<br>
7fa03f3d3000-7fa03f3d4000 rw-p 0000b000 08:31 59728427 /lib/x86_64-linux-gnu/libnss_files-2.23.so<br>
7fa03f3d4000-7fa03f3da000 rw-p 00000000 00:00 0<br>
7fa03f3da000-7fa03f3e5000 r-xp 00000000 08:31 59728431 /lib/x86_64-linux-gnu/libnss_nis-2.23.so<br>
7fa03f3e5000-7fa03f5e4000 ---p 0000b000 08:31 59728431 /lib/x86_64-linux-gnu/libnss_nis-2.23.so<br>
7fa03f5e4000-7fa03f5e5000 r--p 0000a000 08:31 59728431 /lib/x86_64-linux-gnu/libnss_nis-2.23.so<br>
7fa03f5e5000-7fa03f5e6000 rw-p 0000b000 08:31 59728431 /lib/x86_64-linux-gnu/libnss_nis-2.23.so<br>
7fa03f5e6000-7fa03f5fc000 r-xp 00000000 08:31 59728421 /lib/x86_64-linux-gnu/libnsl-2.23.so<br>
7fa03f5fc000-7fa03f7fb000 ---p 00016000 08:31 59728421 /lib/x86_64-linux-gnu/libnsl-2.23.so<br>
7fa03f7fb000-7fa03f7fc000 r--p 00015000 08:31 59728421 /lib/x86_64-linux-gnu/libnsl-2.23.so<br>
7fa03f7fc000-7fa03f7fd000 rw-p 00016000 08:31 59728421 /lib/x86_64-linux-gnu/libnsl-2.23.so<br>
7fa03f7fd000-7fa03f7ff000 rw-p 00000000 00:00 0<br>
7fa03f7ff000-7fa03f800000 ---p 00000000 00:00 0<br>
7fa03f800000-7fa040000000 rw-p 00000000 00:00 0<br>
7fa040000000-7fa040021000 rw-p 00000000 00:00 0<br>
7fa040021000-7fa044000000 ---p 00000000 00:00 0<br>
7fa044000000-7fa044021000 rw-p 00000000 00:00 0<br>
7fa044021000-7fa048000000 ---p 00000000 00:00 0<br>
7fa048000000-7fa048021000 rw-p 00000000 00:00 0<br>
7fa048021000-7fa04c000000 ---p 00000000 00:00 0<br>
7fa04c000000-7fa04c021000 rw-p 00000000 00:00 0<br>
7fa04c021000-7fa050000000 ---p 00000000 00:00 0<br>
7fa050000000-7fa050021000 rw-p 00000000 00:00 0<br>
7fa050021000-7fa054000000 ---p 00000000 00:00 0<br>
7fa054000000-7fa054021000 rw-p 00000000 00:00 0<br>
7fa054021000-7fa058000000 ---p 00000000 00:00 0<br>
7fa058000000-7fa058021000 rw-p 00000000 00:00 0<br>
7fa058021000-7fa05c000000 ---p 00000000 00:00 0<br>
7fa05c000000-7fa05c021000 rw-p 00000000 00:00 0<br>
7fa05c021000-7fa060000000 ---p 00000000 00:00 0<br>
7fa060000000-7fa060021000 rw-p 00000000 00:00 0<br>
7fa060021000-7fa064000000 ---p 00000000 00:00 0<br>
7fa064000000-7fa064021000 rw-p 00000000 00:00 0<br>
7fa064021000-7fa068000000 ---p 00000000 00:00 0<br>
7fa068000000-7fa068021000 rw-p 00000000 00:00 0<br>
7fa068021000-7fa06c000000 ---p 00000000 00:00 0<br>
7fa06c000000-7fa06c021000 rw-p 00000000 00:00 0<br>
7fa06c021000-7fa070000000 ---p 00000000 00:00 0<br>
7fa070000000-7fa070021000 rw-p 00000000 00:00 0<br>
7fa070021000-7fa074000000 ---p 00000000 00:00 0<br>
7fa074000000-7fa074021000 rw-p 00000000 00:00 0<br>
7fa074021000-7fa078000000 ---p 00000000 00:00 0<br>
7fa078000000-7fa078021000 rw-p 00000000 00:00 0<br>
7fa078021000-7fa07c000000 ---p 00000000 00:00 0<br>
7fa07c000000-7fa07c021000 rw-p 00000000 00:00 0<br>
7fa07c021000-7fa080000000 ---p 00000000 00:00 0<br>
7fa080000000-7fa080001000 rw-s 00000000 00:06 768 /dev/nvidia4<br>
7fa080001000-7fa080002000 rw-s 00000000 00:06 768 /dev/nvidia4<br>
7fa080002000-7fa080003000 rw-s 00000000 00:06 768 /dev/nvidia4<br>
7fa080003000-7fa080004000 rw-s 00000000 00:06 768 /dev/nvidia4<br>
7fa080004000-7fa080005000 rw-s 00000000 00:06 768 /dev/nvidia4<br>
7fa080005000-7fa080006000 rw-s 00000000 00:06 768 /dev/nvidia4<br>
7fa080006000-7fa080007000 rw-s 00000000 00:06 768 /dev/nvidia4<br>
7fa080007000-7fa080008000 rw-s 00000000 00:06 768 /dev/nvidia4<br>
7fa080008000-7fa080009000 rw-s 00000000 00:06 768 /dev/nvidia4<br>
7fa080009000-7fa08000a000 rw-s 00000000 00:06 768 /dev/nvidia4<br>
7fa08000a000-7fa08000b000 rw-s 00000000 00:06 768 /dev/nvidia4<br>
7fa08000b000-7fa08000c000 rw-s 00000000 00:06 768 /dev/nvidia4<br>
7fa08000c000-7fa08000d000 rw-s 00000000 00:06 768 /dev/nvidia4<br>
7fa08000d000-7fa08000e000 rw-s 00000000 00:06 768 /dev/nvidia4<br>
7fa08000e000-7fa08000f000 rw-s 00000000 00:06 768 /dev/nvidia4<br>
7fa08000f000-7fa080010000 rw-s 00000000 00:06 768 /dev/nvidia4<br>
7fa080010000-7fa080011000 rw-s 00000000 00:06 783 /dev/nvidia5<br>
7fa080011000-7fa080012000 rw-s 00000000 00:06 783 /dev/nvidia5<br>
7fa080012000-7fa080013000 rw-s 00000000 00:06 783 /dev/nvidia5<br>
7fa080013000-7fa080014000 rw-s 00000000 00:06 783 /dev/nvidia5<br>
7fa080014000-7fa080015000 rw-s 00000000 00:06 783 /dev/nvidia5<br>
7fa080015000-7fa080016000 rw-s 00000000 00:06 783 /dev/nvidia5<br>
7fa080016000-7fa080017000 rw-s 00000000 00:06 783 /dev/nvidia5<br>
7fa080017000-7fa080018000 rw-s 00000000 00:06 783 /dev/nvidia5<br>
7fa080018000-7fa080019000 rw-s 00000000 00:06 783 /dev/nvidia5<br>
7fa080019000-7fa08001a000 rw-s 00000000 00:06 783 /dev/nvidia5<br>
7fa08001a000-7fa08001b000 rw-s 00000000 00:06 783 /dev/nvidia5<br>
7fa08001b000-7fa08001c000 rw-s 00000000 00:06 783 /dev/nvidia5<br>
7fa08001c000-7fa08001d000 rw-s 00000000 00:06 783 /dev/nvidia5<br>
7fa08001d000-7fa08001e000 rw-s 00000000 00:06 783 /dev/nvidia5<br>
7fa08001e000-7fa08001f000 rw-s 00000000 00:06 783 /dev/nvidia5<br>
7fa08001f000-7fa080020000 rw-s 00000000 00:06 783 /dev/nvidia5<br>
7fa080020000-7fa080021000 rw-s 00000000 00:06 798 /dev/nvidia6<br>
7fa080021000-7fa080022000 rw-s 00000000 00:06 798 /dev/nvidia6<br>
7fa080022000-7fa080023000 rw-s 00000000 00:06 798 /dev/nvidia6<br>
7fa080023000-7fa080024000 rw-s 00000000 00:06 798 /dev/nvidia6<br>
7fa080024000-7fa080025000 rw-s 00000000 00:06 798 /dev/nvidia6<br>
7fa080025000-7fa080026000 rw-s 00000000 00:06 798 /dev/nvidia6<br>
7fa080026000-7fa080027000 rw-s 00000000 00:06 798 /dev/nvidia6<br>
7fa080027000-7fa080028000 rw-s 00000000 00:06 798 /dev/nvidia6<br>
7fa080028000-7fa080029000 rw-s 00000000 00:06 798 /dev/nvidia6<br>
7fa080029000-7fa08002a000 rw-s 00000000 00:06 798 /dev/nvidia6<br>
7fa08002a000-7fa08002b000 rw-s 00000000 00:06 798 /dev/nvidia6<br>
7fa08002b000-7fa08002c000 rw-s 00000000 00:06 798 /dev/nvidia6<br>
7fa08002c000-7fa08002d000 rw-s 00000000 00:06 798 /dev/nvidia6<br>
7fa08002d000-7fa08002e000 rw-s 00000000 00:06 798 /dev/nvidia6<br>
7fa08002e000-7fa08002f000 rw-s 00000000 00:06 798 /dev/nvidia6<br>
7fa08002f000-7fa080030000 rw-s 00000000 00:06 798 /dev/nvidia6<br>
7fa080030000-7fa080031000 rw-s 00000000 00:06 813 /dev/nvidia7<br>
7fa080031000-7fa080032000 rw-s 00000000 00:06 813 /dev/nvidia7<br>
7fa080032000-7fa080033000 rw-s 00000000 00:06 813 /dev/nvidia7<br>
7fa080033000-7fa080034000 rw-s 00000000 00:06 813 /dev/nvidia7<br>
7fa080034000-7fa080035000 rw-s 00000000 00:06 813 /dev/nvidia7<br>
7fa080035000-7fa080036000 rw-s 00000000 00:06 813 /dev/nvidia7<br>
7fa080036000-7fa080037000 rw-s 00000000 00:06 813 /dev/nvidia7<br>
7fa080037000-7fa080038000 rw-s 00000000 00:06 813 /dev/nvidia7<br>
7fa080038000-7fa080039000 rw-s 00000000 00:06 813 /dev/nvidia7<br>
7fa080039000-7fa08003a000 rw-s 00000000 00:06 813 /dev/nvidia7<br>
7fa08003a000-7fa08003b000 rw-s 00000000 00:06 813 /dev/nvidia7<br>
7fa08003b000-7fa08003c000 rw-s 00000000 00:06 813 /dev/nvidia7<br>
7fa08003c000-7fa08003d000 rw-s 00000000 00:06 813 /dev/nvidia7<br>
7fa08003d000-7fa08003e000 rw-s 00000000 00:06 813 /dev/nvidia7<br>
7fa08003e000-7fa08003f000 rw-s 00000000 00:06 813 /dev/nvidia7<br>
7fa08003f000-7fa080040000 rw-s 00000000 00:06 813 /dev/nvidia7<br>
7fa080040000-7fa090000000 ---p 00000000 00:00 0<br>
7fa09002d000-7fa0901ed000 rw-p 00000000 00:00 0<br>
7fa0901ed000-7fa0901f5000 r-xp 00000000 08:31 59728423 /lib/x86_64-linux-gnu/libnss_compat-2.23.so<br>
7fa0901f5000-7fa0903f4000 ---p 00008000 08:31 59728423 /lib/x86_64-linux-gnu/libnss_compat-2.23.so<br>
7fa0903f4000-7fa0903f5000 r--p 00007000 08:31 59728423 /lib/x86_64-linux-gnu/libnss_compat-2.23.so<br>
7fa0903f5000-7fa0903f6000 rw-p 00008000 08:31 59728423 /lib/x86_64-linux-gnu/libnss_compat-2.23.so<br>
7fa0903f6000-7fa0903f7000 r-xp 00000000 08:31 83987909 /opt/conda/lib/python3.6/site-packages/torch/lib/libcaffe2_nvrtc.so<br>
7fa0903f7000-7fa0905f7000 ---p 00001000 08:31 83987909 /opt/conda/lib/python3.6/site-packages/torch/lib/libcaffe2_nvrtc.so<br>
7fa0905f7000-7fa0905f8000 r--p 00001000 08:31 83987909 /opt/conda/lib/python3.6/site-packages/torch/lib/libcaffe2_nvrtc.so<br>
7fa0905f8000-7fa0905f9000 rw-p 00002000 08:31 83987909 /opt/conda/lib/python3.6/site-packages/torch/lib/libcaffe2_nvrtc.so<br>
7fa0905f9000-7fa0905fa000 ---p 00000000 00:00 0<br>
7fa0905fa000-7fa090dfa000 rw-p 00000000 00:00 0<br>
7fa090dfe000-7fa090efe000 rw-p 00000000 00:00 0<br>
7fa090efe000-7fa090eff000 ---p 00000000 00:00 0<br>
7fa090eff000-7fa0916ff000 rw-p 00000000 00:00 0<br>
7fa0916ff000-7fa091700000 ---p 00000000 00:00 0<br>
7fa091700000-7fa091f00000 rw-p 00000000 00:00 0<br>
7fa091f00000-7fa091f01000 ---p 00000000 00:00 0<br>
7fa091f01000-7fa092701000 rw-p 00000000 00:00 0<br>
7fa092701000-7fa092702000 ---p 00000000 00:00 0<br>
7fa092702000-7fa092f02000 rw-p 00000000 00:00 0<br>
7fa092f02000-7fa092f03000 ---p 00000000 00:00 0<br>
7fa092f03000-7fa093703000 rw-p 00000000 00:00 0<br>
7fa093703000-7fa093704000 ---p 00000000 00:00 0<br>
7fa093704000-7fa094004000 rw-p 00000000 00:00 0<br>
7fa094004000-7fa09403f000 r-xp 00000000 08:31 85691691 /opt/conda/lib/python3.6/site-packages/scipy/sparse/csgraph/_reordering.cpython-36m-x86_64-linux-gnu.so<br>
7fa09403f000-7fa09423f000 ---p 0003b000 08:31 85691691 /opt/conda/lib/python3.6/site-packages/scipy/sparse/csgraph/_reordering.cpython-36m-x86_64-linux-gnu.so<br>
7fa09423f000-7fa094244000 rw-p 0003b000 08:31 85691691 /opt/conda/lib/python3.6/site-packages/scipy/sparse/csgraph/_reordering.cpython-36m-x86_64-linux-gnu.so<br>
7fa094244000-7fa094245000 rw-p 00000000 00:00 0<br>
7fa094245000-7fa094273000 r-xp 00000000 08:31 85691689 /opt/conda/lib/python3.6/site-packages/scipy/sparse/csgraph/_matching.cpython-36m-x86_64-linux-gnu.so<br>
7fa094273000-7fa094473000 ---p 0002e000 08:31 85691689 /opt/conda/lib/python3.6/site-packages/scipy/sparse/csgraph/_matching.cpython-36m-x86_64-linux-gnu.so<br>
7fa094473000-7fa094477000 rw-p 0002e000 08:31 85691689 /opt/conda/lib/python3.6/site-packages/scipy/sparse/csgraph/_matching.cpython-36m-x86_64-linux-gnu.so<br>
7fa094477000-7fa094478000 rw-p 00000000 00:00 0<br>
7fa094478000-7fa0944b0000 r-xp 00000000 08:31 85691687 /opt/conda/lib/python3.6/site-packages/scipy/sparse/csgraph/_flow.cpython-36m-x86_64-linux-gnu.so<br>
7fa0944b0000-7fa0946b0000 ---p 00038000 08:31 85691687 /opt/conda/lib/python3.6/site-packages/scipy/sparse/csgraph/_flow.cpython-36m-x86_64-linux-gnu.so<br>
7fa0946b0000-7fa0946b6000 rw-p 00038000 08:31 85691687 /opt/conda/lib/python3.6/site-packages/scipy/sparse/csgraph/_flow.cpython-36m-x86_64-linux-gnu.so<br>
7fa0946b6000-7fa0946b7000 rw-p 00000000 00:00 0<br>
7fa0946b7000-7fa0946e2000 r-xp 00000000 08:31 85691690 /opt/conda/lib/python3.6/site-packages/scipy/sparse/csgraph/_min_spanning_tree.cpython-36m-x86_64-linux-gnu.so<br>
7fa0946e2000-7fa0948e2000 ---p 0002b000 08:31 85691690 /opt/conda/lib/python3.6/site-packages/scipy/sparse/csgraph/_min_spanning_tree.cpython-36m-x86_64-linux-gnu.so<br>
7fa0948e2000-7fa0948e6000 rw-p 0002b000 08:31 85691690 /opt/conda/lib/python3.6/site-packages/scipy/sparse/csgraph/_min_spanning_tree.cpython-36m-x86_64-linux-gnu.so<br>
7fa0948e6000-7fa0948e7000 rw-p 00000000 00:00 0<br>
7fa0948e7000-7fa094908000 r-xp 00000000 08:31 85691694 /opt/conda/lib/python3.6/site-packages/scipy/sparse/csgraph/_traversal.cpython-36m-x86_64-linux-gnu.so<br>
7fa094908000-7fa094b07000 ---p 00021000 08:31 85691694 /opt/conda/lib/python3.6/site-packages/scipy/sparse/csgraph/_traversal.cpython-36m-x86_64-linux-gnu.so<br>
7fa094b07000-7fa094b0c000 rw-p 00020000 08:31 85691694 /opt/conda/lib/python3.6/site-packages/scipy/sparse/csgraph/_traversal.cpython-36m-x86_64-linux-gnu.so<br>
7fa094b0c000-7fa094b2e000 r-xp 00000000 08:31 85691693 /opt/conda/lib/python3.6/site-packages/scipy/sparse/csgraph/_tools.cpython-36m-x86_64-linux-gnu.so<br>
7fa094b2e000-7fa094d2e000 ---p 00022000 08:31 85691693 /opt/conda/lib/python3.6/site-packages/scipy/sparse/csgraph/_tools.cpython-36m-x86_64-linux-gnu.so<br>
7fa094d2e000-7fa094d33000 rw-p 00022000 08:31 85691693 /opt/conda/lib/python3.6/site-packages/scipy/sparse/csgraph/_tools.cpython-36m-x86_64-linux-gnu.so<br>
7fa094d33000-7fa094d34000 rw-p 00000000 00:00 0<br>
7fa094d34000-7fa094d91000 r-xp 00000000 08:31 85691692 /opt/conda/lib/python3.6/site-packages/scipy/sparse/csgraph/_shortest_path.cpython-36m-x86_64-linux-gnu.so<br>
7fa094d91000-7fa094f90000 ---p 0005d000 08:31 85691692 /opt/conda/lib/python3.6/site-packages/scipy/sparse/csgraph/_shortest_path.cpython-36m-x86_64-linux-gnu.so<br>
7fa094f90000-7fa094f99000 rw-p 0005c000 08:31 85691692 /opt/conda/lib/python3.6/site-packages/scipy/sparse/csgraph/_shortest_path.cpython-36m-x86_64-linux-gnu.so<br>
7fa094f99000-7fa094fdb000 rw-p 00000000 00:00 0<br>
7fa094fdb000-7fa095047000 r-xp 00000000 08:31 85691670 /opt/conda/lib/python3.6/site-packages/scipy/sparse/_csparsetools.cpython-36m-x86_64-linux-gnu.so<br>
7fa095047000-7fa095246000 ---p 0006c000 08:31 85691670 /opt/conda/lib/python3.6/site-packages/scipy/sparse/_csparsetools.cpython-36m-x86_64-linux-gnu.so<br>
7fa095246000-7fa09524c000 rw-p 0006b000 08:31 85691670 /opt/conda/lib/python3.6/site-packages/scipy/sparse/_csparsetools.cpython-36m-x86_64-linux-gnu.so<br>
7fa09524c000-7fa09528e000 rw-p 00000000 00:00 0<br>
7fa09528e000-7fa0955d7000 r-xp 00000000 08:31 85691673 /opt/conda/lib/python3.6/site-packages/scipy/sparse/_sparsetools.cpython-36m-x86_64-linux-gnu.so<br>
7fa0955d7000-7fa0957d7000 ---p 00349000 08:31 85691673 /opt/conda/lib/python3.6/site-packages/scipy/sparse/_sparsetools.cpython-36m-x86_64-linux-gnu.so<br>
7fa0957d7000-7fa0957d8000 rw-p 00349000 08:31 85691673 /opt/conda/lib/python3.6/site-packages/scipy/sparse/_sparsetools.cpython-36m-x86_64-linux-gnu.so<br>
7fa0957d8000-7fa095872000 r-xp 00000000 08:31 85560568 /opt/conda/lib/python3.6/site-packages/scipy/linalg/cython_lapack.cpython-36m-x86_64-linux-gnu.so<br>
7fa095872000-7fa095a71000 ---p 0009a000 08:31 85560568 /opt/conda/lib/python3.6/site-packages/scipy/linalg/cython_lapack.cpython-36m-x86_64-linux-gnu.so<br>
7fa095a71000-7fa095a75000 rw-p 00099000 08:31 85560568 /opt/conda/lib/python3.6/site-packages/scipy/linalg/cython_lapack.cpython-36m-x86_64-linux-gnu.so<br>
7fa095a75000-7fa095a8a000 rw-p 0009e000 08:31 85560568 /opt/conda/lib/python3.6/site-packages/scipy/linalg/cython_lapack.cpython-36m-x86_64-linux-gnu.so<br>
7fa095a8a000-7fa095ac3000 r-xp 00000000 08:31 85560566 /opt/conda/lib/python3.6/site-packages/scipy/linalg/cython_blas.cpython-36m-x86_64-linux-gnu.so<br>
7fa095ac3000-7fa095cc3000 ---p 00039000 08:31 85560566 /opt/conda/lib/python3.6/site-packages/scipy/linalg/cython_blas.cpython-36m-x86_64-linux-gnu.so<br>
7fa095cc3000-7fa095ccd000 rw-p 00039000 08:31 85560566 /opt/conda/lib/python3.6/site-packages/scipy/linalg/cython_blas.cpython-36m-x86_64-linux-gnu.so<br>
7fa095ccd000-7fa095d15000 r-xp 00000000 08:31 85560549 /opt/conda/lib/python3.6/site-packages/scipy/linalg/_decomp_update.cpython-36m-x86_64-linux-gnu.so<br>
7fa095d15000-7fa095f15000 ---p 00048000 08:31 85560549 /opt/conda/lib/python3.6/site-packages/scipy/linalg/_decomp_update.cpython-36m-x86_64-linux-gnu.so<br>
7fa095f15000-7fa095f1b000 rw-p 00048000 08:31 85560549 /opt/conda/lib/python3.6/site-packages/scipy/linalg/_decomp_update.cpython-36m-x86_64-linux-gnu.so<br>
7fa095f1b000-7fa0b1f1c000 rw-p 00000000 00:00 0<br>
7fa0b1f1c000-7fa0b1f50000 r-xp 00000000 08:31 85560561 /opt/conda/lib/python3.6/site-packages/scipy/linalg/_solve_toeplitz.cpython-36m-x86_64-linux-gnu.so<br>
7fa0b1f50000-7fa0b2150000 ---p 00034000 08:31 85560561 /opt/conda/lib/python3.6/site-packages/scipy/linalg/_solve_toeplitz.cpython-36m-x86_64-linux-gnu.so<br>
7fa0b2150000-7fa0b2154000 rw-p 00034000 08:31 85560561 /opt/conda/lib/python3.6/site-packages/scipy/linalg/_solve_toeplitz.cpython-36m-x86_64-linux-gnu.so<br>
7fa0b2154000-7fa0d6155000 rw-p 00000000 00:00 0<br>
7fa0d6155000-7fa0d6162000 r-xp 00000000 08:31 85560553 /opt/conda/lib/python3.6/site-packages/scipy/linalg/_flinalg.cpython-36m-x86_64-linux-gnu.so<br>
7fa0d6162000-7fa0d6362000 ---p 0000d000 08:31 85560553 /opt/conda/lib/python3.6/site-packages/scipy/linalg/_flinalg.cpython-36m-x86_64-linux-gnu.so<br>
7fa0d6362000-7fa0d6365000 rw-p 0000d000 08:31 85560553 /opt/conda/lib/python3.6/site-packages/scipy/linalg/_flinalg.cpython-36m-x86_64-linux-gnu.so<br>
7fa0d6365000-7fa0d6368000 rw-p 00011000 08:31 85560553 /opt/conda/lib/python3.6/site-packages/scipy/linalg/_flinalg.cpython-36m-x86_64-linux-gnu.so<br>
7fa0d6368000-7fa0e6368000 rw-p 00000000 00:00 0<br>
7fa0e6368000-7fa0e6486000 r-xp 00000000 08:31 85560552 /opt/conda/lib/python3.6/site-packages/scipy/linalg/_flapack.cpython-36m-x86_64-linux-gnu.so<br>
7fa0e6486000-7fa0e6685000 ---p 0011e000 08:31 85560552 /opt/conda/lib/python3.6/site-packages/scipy/linalg/_flapack.cpython-36m-x86_64-linux-gnu.so<br>
7fa0e6685000-7fa0e66ef000 rw-p 0011d000 08:31 85560552 /opt/conda/lib/python3.6/site-packages/scipy/linalg/_flapack.cpython-36m-x86_64-linux-gnu.so<br>
7fa0e66ef000-7fa0e66f0000 rw-p 00000000 00:00 0<br>
7fa0e66f0000-7fa0e66f9000 rw-p 00188000 08:31 85560552 /opt/conda/lib/python3.6/site-packages/scipy/linalg/_flapack.cpython-36m-x86_64-linux-gnu.so<br>
7fa0e66f9000-7fa0e86f9000 rw-p 00000000 00:00 0<br>
7fa0e86f9000-7fa0e86fa000 ---p 00000000 00:00 0<br>
7fa0e86fa000-7fa0e8efa000 rw-p 00000000 00:00 0<br>
7fa0e8efa000-7fa0e8efb000 ---p 00000000 00:00 0<br>
7fa0e8efb000-7fa0e96fb000 rw-p 00000000 00:00 0<br>
7fa0e96fb000-7fa0e96fc000 ---p 00000000 00:00 0<br>
7fa0e96fc000-7fa0e9efc000 rw-p 00000000 00:00 0<br>
7fa0e9efc000-7fa0e9efd000 ---p 00000000 00:00 0<br>
7fa0e9efd000-7fa0ea6fd000 rw-p 00000000 00:00 0<br>
7fa0ea735000-7fa0ea7f5000 rw-p 00000000 00:00 0<br>
7fa0ea7f5000-7fa0ea7f6000 ---p 00000000 00:00 0<br>
7fa0ea7f6000-7fa0eaff6000 rw-p 00000000 00:00 0<br>
7fa0eaff6000-7fa0eaff7000 ---p 00000000 00:00 0<br>
7fa0eaff7000-7fa0eb7f7000 rw-p 00000000 00:00 0<br>
7fa0eb7f7000-7fa0eb7f8000 ---p 00000000 00:00 0<br>
7fa0eb7f8000-7fa0ebff8000 rw-p 00000000 00:00 0<br>
7fa0ebff8000-7fa0ebff9000 ---p 00000000 00:00 0<br>
7fa0ebff9000-7fa0ec7f9000 rw-p 00000000 00:00 0<br>
7fa0ec7f9000-7fa0ec7fa000 ---p 00000000 00:00 0<br>
7fa0ec7fa000-7fa0ecffa000 rw-p 00000000 00:00 0<br>
7fa0ecffa000-7fa0ecffb000 ---p 00000000 00:00 0<br>
7fa0ecffb000-7fa0ed7fb000 rw-p 00000000 00:00 0<br>
7fa0ed7fb000-7fa0ed7fc000 ---p 00000000 00:00 0<br>
7fa0ed7fc000-7fa0edffc000 rw-p 00000000 00:00 0<br>
7fa0edffc000-7fa0edffd000 ---p 00000000 00:00 0<br>
7fa0edffd000-7fa0ee7fd000 rw-p 00000000 00:00 0<br>
7fa0ee7fd000-7fa0ee7fe000 ---p 00000000 00:00 0<br>
7fa0ee7fe000-7fa0eeffe000 rw-p 00000000 00:00 0<br>
7fa0eeffe000-7fa0eefff000 ---p 00000000 00:00 0<br>
7fa0eefff000-7fa0ef7ff000 rw-p 00000000 00:00 0<br>
7fa0ef7ff000-7fa0ef800000 ---p 00000000 00:00 0<br>
7fa0ef800000-7fa0f0000000 rw-p 00000000 00:00 0<br>
7fa0f0000000-7fa0f0021000 rw-p 00000000 00:00 0<br>
7fa0f0021000-7fa0f4000000 ---p 00000000 00:00 0<br>
7fa0f4011000-7fa0f4211000 rw-s 00000000 00:05 1567620 /dev/zero (deleted)<br>
7fa0f4211000-7fa0f4411000 rw-s 00000000 00:05 1579908 /dev/zero (deleted)<br>
7fa0f4411000-7fa0f4611000 rw-s 00000000 00:05 1589160 /dev/zero (deleted)<br>
7fa0f4611000-7fa0f4612000 ---p 00000000 00:00 0<br>
7fa0f4612000-7fa0f4e12000 rw-p 00000000 00:00 0<br>
7fa0f4e12000-7fa0f4e13000 ---p 00000000 00:00 0<br>
7fa0f4e13000-7fa0f5613000 rw-p 00000000 00:00 0<br>
7fa0f5614000-7fa0f57d4000 rw-p 00000000 00:00 0<br>
7fa0f57fb000-7fa0f58fb000 rw-p 00000000 00:00 0<br>
7fa0f58fb000-7fa0f597b000 rw-p 00000000 00:00 0<br>
7fa0f5994000-7fa0f9f14000 rw-p 00000000 00:00 0<br>
7fa0f9f32000-7fa0f9fb3000 rw-p 00000000 00:00 0<br>
7fa0f9fb3000-7fa0fa1b3000 rw-s 00000000 00:05 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/15898864a975cd31e3acaedd572e68a359ccbc75/hovercard" href="https://github.com/pytorch/pytorch/commit/15898864a975cd31e3acaedd572e68a359ccbc75"><tt>1589886</tt></a> /dev/zero (deleted)<br>
7fa0fa1b3000-7fa0fa5b3000 rw-p 00000000 00:00 0<br>
7fa0fa5b3000-7fa1005b3000 ---p 00000000 00:00 0<br>
7fa1005b3000-7fa10139c000 r-xp 00000000 08:01 1441951 /usr/lib/x86_64-linux-gnu/libcuda.so.430.64<br>
7fa10139c000-7fa10159b000 ---p 00de9000 08:01 1441951 /usr/lib/x86_64-linux-gnu/libcuda.so.430.64<br>
7fa10159b000-7fa101713000 rw-p 00de8000 08:01 1441951 /usr/lib/x86_64-linux-gnu/libcuda.so.430.64<br>
7fa101713000-7fa103723000 rw-p 00000000 00:00 0<br>
7fa103723000-7fa103724000 ---p 00000000 00:00 0<br>
7fa103724000-7fa105f24000 rw-p 00000000 00:00 0<br>
7fa105f24000-7fa105f25000 ---p 00000000 00:00 0<br>
7fa105f25000-7fa10a725000 rw-p 00000000 00:00 0<br>
7fa10a725000-7fa10a726000 r--p 00000000 08:31 78745082 /opt/conda/lib/python3.6/lib-dynload/fcntl.cpython-36m-x86_64-linux-gnu.so<br>
7fa10a726000-7fa10a728000 r-xp 00001000 08:31 78745082 /opt/conda/lib/python3.6/lib-dynload/fcntl.cpython-36m-x86_64-linux-gnu.so<br>
7fa10a728000-7fa10a729000 r--p 00003000 08:31 78745082 /opt/conda/lib/python3.6/lib-dynload/fcntl.cpython-36m-x86_64-linux-gnu.so<br>
7fa10a729000-7fa10a72a000 r--p 00003000 08:31 78745082 /opt/conda/lib/python3.6/lib-dynload/fcntl.cpython-36m-x86_64-linux-gnu.so<br>
7fa10a72a000-7fa10a72b000 rw-p 00004000 08:31 78745082 /opt/conda/lib/python3.6/lib-dynload/fcntl.cpython-36m-x86_64-linux-gnu.so<br>
7fa10a72b000-7fa10a72e000 r--p 00000000 08:31 78745095 /opt/conda/lib/python3.6/lib-dynload/termios.cpython-36m-x86_64-linux-gnu.so<br>
7fa10a72e000-7fa10a72f000 r-xp 00003000 08:31 78745095 /opt/conda/lib/python3.6/lib-dynload/termios.cpython-36m-x86_64-linux-gnu.so<br>
7fa10a72f000-7fa10a730000 r--p 00004000 08:31 78745095 /opt/conda/lib/python3.6/lib-dynload/termios.cpython-36m-x86_64-linux-gnu.so<br>
7fa10a730000-7fa10a731000 r--p 00004000 08:31 78745095 /opt/conda/lib/python3.6/lib-dynload/termios.cpython-36m-x86_64-linux-gnu.so<br>
7fa10a731000-7fa10a733000 rw-p 00005000 08:31 78745095 /opt/conda/lib/python3.6/lib-dynload/termios.cpython-36m-x86_64-linux-gnu.so<br>
7fa10a733000-7fa10a734000 rw-s 00000000 00:15 113 /dev/shm/8WILOt (deleted)<br>
7fa10a734000-7fa10a735000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a735000-7fa10a736000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a736000-7fa10a737000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a737000-7fa10a738000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a738000-7fa10a739000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a739000-7fa10a73a000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a73a000-7fa10a73b000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a73b000-7fa10a73c000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a73c000-7fa10a73d000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a73d000-7fa10a73e000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a73e000-7fa10a73f000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a73f000-7fa10a740000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a740000-7fa10a741000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a741000-7fa10a742000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a742000-7fa10a743000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a743000-7fa10a744000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a744000-7fa10a745000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a745000-7fa10a746000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a746000-7fa10a747000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a747000-7fa10a748000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a748000-7fa10a749000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a749000-7fa10a74a000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a74a000-7fa10a74b000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a74b000-7fa10a74c000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a74c000-7fa10a74d000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a74d000-7fa10a74e000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a74e000-7fa10a74f000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a74f000-7fa10a750000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a750000-7fa10a751000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a751000-7fa10a752000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a752000-7fa10a753000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a753000-7fa10a754000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a754000-7fa10a755000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a755000-7fa10a756000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a756000-7fa10a757000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a757000-7fa10a758000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa10a758000-7fa10ac18000 rw-p 00000000 00:00 0<br>
7fa10ac18000-7fa10acd8000 rw-p 00000000 00:00 0<br>
7fa10acd8000-7fa10acd9000 ---p 00000000 00:00 0<br>
7fa10acd9000-7fa10b4d9000 rw-p 00000000 00:00 0<br>
7fa10b4d9000-7fa10b520000 r-xp 00000000 08:01 2374111 /usr/lib/x86_64-linux-gnu/libnvidia-fatbinaryloader.so.430.64<br>
7fa10b520000-7fa10b720000 ---p 00047000 08:01 2374111 /usr/lib/x86_64-linux-gnu/libnvidia-fatbinaryloader.so.430.64<br>
7fa10b720000-7fa10b722000 rw-p 00047000 08:01 2374111 /usr/lib/x86_64-linux-gnu/libnvidia-fatbinaryloader.so.430.64<br>
7fa10b722000-7fa10b727000 rw-p 00000000 00:00 0<br>
7fa10b727000-7fa10b817000 r-xp 00000000 08:31 85298692 /opt/conda/lib/python3.6/site-packages/scipy/.libs/libgfortran-ed201abd.so.3.0.0<br>
7fa10b817000-7fa10ba16000 ---p 000f0000 08:31 85298692 /opt/conda/lib/python3.6/site-packages/scipy/.libs/libgfortran-ed201abd.so.3.0.0<br>
7fa10ba16000-7fa10ba18000 rw-p 000ef000 08:31 85298692 /opt/conda/lib/python3.6/site-packages/scipy/.libs/libgfortran-ed201abd.so.3.0.0<br>
7fa10ba18000-7fa10ba19000 rw-p 00000000 00:00 0<br>
7fa10ba19000-7fa10ba21000 rw-p 000f2000 08:31 85298692 /opt/conda/lib/python3.6/site-packages/scipy/.libs/libgfortran-ed201abd.so.3.0.0<br>
7fa10ba21000-7fa10d517000 r-xp 00000000 08:31 85298693 /opt/conda/lib/python3.6/site-packages/scipy/.libs/libopenblasp-r0-34a18dc3.3.7.so<br>
7fa10d517000-7fa10d716000 ---p 01af6000 08:31 85298693 /opt/conda/lib/python3.6/site-packages/scipy/.libs/libopenblasp-r0-34a18dc3.3.7.so<br>
7fa10d716000-7fa10d72f000 rw-p 01af5000 08:31 85298693 /opt/conda/lib/python3.6/site-packages/scipy/.libs/libopenblasp-r0-34a18dc3.3.7.so<br>
7fa10d72f000-7fa10d73a000 rw-p 00000000 00:00 0<br>
7fa10d73a000-7fa10d7b2000 rw-p 01be1000 08:31 85298693 /opt/conda/lib/python3.6/site-packages/scipy/.libs/libopenblasp-r0-34a18dc3.3.7.so<br>
7fa10d7b2000-7fa10d81e000 r-xp 00000000 08:31 85560551 /opt/conda/lib/python3.6/site-packages/scipy/linalg/_fblas.cpython-36m-x86_64-linux-gnu.so<br>
7fa10d81e000-7fa10da1e000 ---p 0006c000 08:31 85560551 /opt/conda/lib/python3.6/site-packages/scipy/linalg/_fblas.cpython-36m-x86_64-linux-gnu.so<br>
7fa10da1e000-7fa10da44000 rw-p 0006c000 08:31 85560551 /opt/conda/lib/python3.6/site-packages/scipy/linalg/_fblas.cpython-36m-x86_64-linux-gnu.so<br>
7fa10da44000-7fa10da48000 rw-p 00093000 08:31 85560551 /opt/conda/lib/python3.6/site-packages/scipy/linalg/_fblas.cpython-36m-x86_64-linux-gnu.so<br>
7fa10da48000-7fa10dafa000 r-xp 00000000 08:31 85298866 /opt/conda/lib/python3.6/site-packages/scipy/fft/_pocketfft/pypocketfft.cpython-36m-x86_64-linux-gnu.so<br>
7fa10dafa000-7fa10dcfa000 ---p 000b2000 08:31 85298866 /opt/conda/lib/python3.6/site-packages/scipy/fft/_pocketfft/pypocketfft.cpython-36m-x86_64-linux-gnu.so<br>
7fa10dcfa000-7fa10dcfc000 rw-p 000b2000 08:31 85298866 /opt/conda/lib/python3.6/site-packages/scipy/fft/_pocketfft/pypocketfft.cpython-36m-x86_64-linux-gnu.so<br>
7fa10dcfc000-7fa10dd00000 rw-p 00000000 00:00 0<br>
7fa10dd00000-7fa10dd09000 r-xp 00000000 08:31 85298766 /opt/conda/lib/python3.6/site-packages/scipy/_lib/_uarray/_uarray.cpython-36m-x86_64-linux-gnu.so<br>
7fa10dd09000-7fa10df09000 ---p 00009000 08:31 85298766 /opt/conda/lib/python3.6/site-packages/scipy/_lib/_uarray/_uarray.cpython-36m-x86_64-linux-gnu.so<br>
7fa10df09000-7fa10df0a000 rw-p 00009000 08:31 85298766 /opt/conda/lib/python3.6/site-packages/scipy/_lib/_uarray/_uarray.cpython-36m-x86_64-linux-gnu.so<br>
7fa10df0a000-7fa10df19000 r-xp 00000000 08:31 85298749 /opt/conda/lib/python3.6/site-packages/scipy/_lib/_ccallback_c.cpython-36m-x86_64-linux-gnu.so<br>
7fa10df19000-7fa10e119000 ---p 0000f000 08:31 85298749 /opt/conda/lib/python3.6/site-packages/scipy/_lib/_ccallback_c.cpython-36m-x86_64-linux-gnu.so<br>
7fa10e119000-7fa10e11b000 rw-p 0000f000 08:31 85298749 /opt/conda/lib/python3.6/site-packages/scipy/_lib/_ccallback_c.cpython-36m-x86_64-linux-gnu.so<br>
7fa10e11b000-7fa10e3dc000 rw-p 00000000 00:00 0<br>
7fa10e3dc000-7fa10e3e1000 r-xp 00000000 08:31 85823089 /opt/conda/lib/python3.6/site-packages/skimage/external/tifffile/_tifffile.cpython-36m-x86_64-linux-gnu.so<br>
7fa10e3e1000-7fa10e5e0000 ---p 00005000 08:31 85823089 /opt/conda/lib/python3.6/site-packages/skimage/external/tifffile/_tifffile.cpython-36m-x86_64-linux-gnu.so<br>
7fa10e5e0000-7fa10e5e1000 rw-p 00004000 08:31 85823089 /opt/conda/lib/python3.6/site-packages/skimage/external/tifffile/_tifffile.cpython-36m-x86_64-linux-gnu.so<br>
7fa10e5e1000-7fa10e5e3000 rw-p 00006000 08:31 85823089 /opt/conda/lib/python3.6/site-packages/skimage/external/tifffile/_tifffile.cpython-36m-x86_64-linux-gnu.so<br>
7fa10e5e3000-7fa10e6a3000 rw-p 00000000 00:00 0<br>
7fa10e6a3000-7fa10e6b0000 r-xp 00000000 08:31 85822855 /opt/conda/lib/python3.6/site-packages/skimage/.libs/libgomp-3300acd3.so.1.0.0<br>
7fa10e6b0000-7fa10e8b0000 ---p 0000d000 08:31 85822855 /opt/conda/lib/python3.6/site-packages/skimage/.libs/libgomp-3300acd3.so.1.0.0<br>
7fa10e8b0000-7fa10e8b3000 rw-p 0000d000 08:31 85822855 /opt/conda/lib/python3.6/site-packages/skimage/.libs/libgomp-3300acd3.so.1.0.0<br>
7fa10e8b3000-7fa10e8b6000 r-xp 00000000 08:31 85822879 /opt/conda/lib/python3.6/site-packages/skimage/_shared/geometry.cpython-36m-x86_64-linux-gnu.so<br>
7fa10e8b6000-7fa10eab6000 ---p 00003000 08:31 85822879 /opt/conda/lib/python3.6/site-packages/skimage/_shared/geometry.cpython-36m-x86_64-linux-gnu.so<br>
7fa10eab6000-7fa10eab9000 rw-p 00003000 08:31 85822879 /opt/conda/lib/python3.6/site-packages/skimage/_shared/geometry.cpython-36m-x86_64-linux-gnu.so<br>
7fa10eab9000-7fa10eacc000 r-xp 00000000 08:31 65356073 /opt/conda/lib/python3.6/site-packages/pandas/_libs/testing.cpython-36m-x86_64-linux-gnu.so<br>
7fa10eacc000-7fa10eccc000 ---p 00013000 08:31 65356073 /opt/conda/lib/python3.6/site-packages/pandas/_libs/testing.cpython-36m-x86_64-linux-gnu.so<br>
7fa10eccc000-7fa10ecce000 rw-p 00013000 08:31 65356073 /opt/conda/lib/python3.6/site-packages/pandas/_libs/testing.cpython-36m-x86_64-linux-gnu.so<br>
7fa10ecce000-7fa10ed8e000 rw-p 00000000 00:00 0<br>
7fa10ed8e000-7fa10eda4000 r-xp 00000000 08:31 66928961 /opt/conda/lib/python3.6/site-packages/pandas/io/msgpack/_unpacker.cpython-36m-x86_64-linux-gnu.so<br>
7fa10eda4000-7fa10efa4000 ---p 00016000 08:31 66928961 /opt/conda/lib/python3.6/site-packages/pandas/io/msgpack/_unpacker.cpython-36m-x86_64-linux-gnu.so<br>
7fa10efa4000-7fa10efa7000 rw-p 00016000 08:31 66928961 /opt/conda/lib/python3.6/site-packages/pandas/io/msgpack/_unpacker.cpython-36m-x86_64-linux-gnu.so<br>
7fa10efa7000-7fa10efb8000 r-xp 00000000 08:31 66928960 /opt/conda/lib/python3.6/site-packages/pandas/io/msgpack/_packer.cpython-36m-x86_64-linux-gnu.so<br>
7fa10efb8000-7fa10f1b8000 ---p 00011000 08:31 66928960 /opt/conda/lib/python3.6/site-packages/pandas/io/msgpack/_packer.cpython-36m-x86_64-linux-gnu.so<br>
7fa10f1b8000-7fa10f1ba000 rw-p 00011000 08:31 66928960 /opt/conda/lib/python3.6/site-packages/pandas/io/msgpack/_packer.cpython-36m-x86_64-linux-gnu.so<br>
7fa10f1ba000-7fa10f1bb000 r-xp 00000000 08:31 85298548 /opt/conda/lib/python3.6/site-packages/pandas/util/_move.cpython-36m-x86_64-linux-gnu.so<br>
7fa10f1bb000-7fa10f3bb000 ---p 00001000 08:31 85298548 /opt/conda/lib/python3.6/site-packages/pandas/util/_move.cpython-36m-x86_64-linux-gnu.so<br>
7fa10f3bb000-7fa10f3bc000 rw-p 00001000 08:31 85298548 /opt/conda/lib/python3.6/site-packages/pandas/util/_move.cpython-36m-x86_64-linux-gnu.so<br>
7fa10f3bc000-7fa10f3ee000 r-xp 00000000 08:31 65356076 /opt/conda/lib/python3.6/site-packages/pandas/_libs/writers.cpython-36m-x86_64-linux-gnu.so<br>
7fa10f3ee000-7fa10f5ee000 ---p 00032000 08:31 65356076 /opt/conda/lib/python3.6/site-packages/pandas/_libs/writers.cpython-36m-x86_64-linux-gnu.so<br>
7fa10f5ee000-7fa10f5f2000 rw-p 00032000 08:31 65356076 /opt/conda/lib/python3.6/site-packages/pandas/_libs/writers.cpython-36m-x86_64-linux-gnu.so<br>
7fa10f5f2000-7fa10f5f3000 rw-p 00000000 00:00 0<br>
7fa10f5f3000-7fa10f607000 r-xp 00000000 08:31 65356063 /opt/conda/lib/python3.6/site-packages/pandas/_libs/json.cpython-36m-x86_64-linux-gnu.so<br>
7fa10f607000-7fa10f807000 ---p 00014000 08:31 65356063 /opt/conda/lib/python3.6/site-packages/pandas/_libs/json.cpython-36m-x86_64-linux-gnu.so<br>
7fa10f807000-7fa10f808000 rw-p 00014000 08:31 65356063 /opt/conda/lib/python3.6/site-packages/pandas/_libs/json.cpython-36m-x86_64-linux-gnu.so<br>
7fa10f808000-7fa10f88e000 r-xp 00000000 08:31 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/653560673dc36d2ece7b96d3f2da8bb3e4e07481/hovercard" href="https://github.com/pytorch/pytorch/commit/653560673dc36d2ece7b96d3f2da8bb3e4e07481"><tt>6535606</tt></a> /opt/conda/lib/python3.6/site-packages/pandas/_libs/parsers.cpython-36m-x86_64-linux-gnu.so<br>
7fa10f88e000-7fa10fa8e000 ---p 00086000 08:31 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/653560673dc36d2ece7b96d3f2da8bb3e4e07481/hovercard" href="https://github.com/pytorch/pytorch/commit/653560673dc36d2ece7b96d3f2da8bb3e4e07481"><tt>6535606</tt></a> /opt/conda/lib/python3.6/site-packages/pandas/_libs/parsers.cpython-36m-x86_64-linux-gnu.so<br>
7fa10fa8e000-7fa10fa95000 rw-p 00086000 08:31 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/653560673dc36d2ece7b96d3f2da8bb3e4e07481/hovercard" href="https://github.com/pytorch/pytorch/commit/653560673dc36d2ece7b96d3f2da8bb3e4e07481"><tt>6535606</tt></a> /opt/conda/lib/python3.6/site-packages/pandas/_libs/parsers.cpython-36m-x86_64-linux-gnu.so<br>
7fa10fa95000-7fa10fa98000 rw-p 00000000 00:00 0<br>
7fa10fa98000-7fa10faf1000 r-xp 00000000 08:31 65356069 /opt/conda/lib/python3.6/site-packages/pandas/_libs/reduction.cpython-36m-x86_64-linux-gnu.so<br>
7fa10faf1000-7fa10fcf1000 ---p 00059000 08:31 65356069 /opt/conda/lib/python3.6/site-packages/pandas/_libs/reduction.cpython-36m-x86_64-linux-gnu.so<br>
7fa10fcf1000-7fa10fcf6000 rw-p 00059000 08:31 65356069 /opt/conda/lib/python3.6/site-packages/pandas/_libs/reduction.cpython-36m-x86_64-linux-gnu.so<br>
7fa10fcf6000-7fa10fcf8000 rw-p 00000000 00:00 0<br>
7fa10fcf8000-7fa10fdf3000 r-xp 00000000 08:31 65356055 /opt/conda/lib/python3.6/site-packages/pandas/_libs/groupby.cpython-36m-x86_64-linux-gnu.so<br>
7fa10fdf3000-7fa10fff3000 ---p 000fb000 08:31 65356055 /opt/conda/lib/python3.6/site-packages/pandas/_libs/groupby.cpython-36m-x86_64-linux-gnu.so<br>
7fa10fff3000-7fa10fffd000 rw-p 000fb000 08:31 65356055 /opt/conda/lib/python3.6/site-packages/pandas/_libs/groupby.cpython-36m-x86_64-linux-gnu.so<br>
7fa10fffd000-7fa110000000 rw-p 00000000 00:00 0<br>
7fa110000000-7fa110021000 rw-p 00000000 00:00 0<br>
7fa110021000-7fa114000000 ---p 00000000 00:00 0<br>
7fa114000000-7fa114001000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa114001000-7fa114002000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa114002000-7fa114003000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa114003000-7fa114004000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa114004000-7fa114005000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa114005000-7fa114006000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa114006000-7fa114007000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa114007000-7fa1141c7000 rw-p 00000000 00:00 0<br>
7fa1141c7000-7fa1141da000 r-xp 00000000 08:31 65356071 /opt/conda/lib/python3.6/site-packages/pandas/_libs/skiplist.cpython-36m-x86_64-linux-gnu.so<br>
7fa1141da000-7fa1143d9000 ---p 00013000 08:31 65356071 /opt/conda/lib/python3.6/site-packages/pandas/_libs/skiplist.cpython-36m-x86_64-linux-gnu.so<br>
7fa1143d9000-7fa1143db000 rw-p 00012000 08:31 65356071 /opt/conda/lib/python3.6/site-packages/pandas/_libs/skiplist.cpython-36m-x86_64-linux-gnu.so<br>
7fa1143db000-7fa114499000 r-xp 00000000 08:31 65356075 /opt/conda/lib/python3.6/site-packages/pandas/_libs/window.cpython-36m-x86_64-linux-gnu.so<br>
7fa114499000-7fa114698000 ---p 000be000 08:31 65356075 /opt/conda/lib/python3.6/site-packages/pandas/_libs/window.cpython-36m-x86_64-linux-gnu.so<br>
7fa114698000-7fa1146a0000 rw-p 000bd000 08:31 65356075 /opt/conda/lib/python3.6/site-packages/pandas/_libs/window.cpython-36m-x86_64-linux-gnu.so<br>
7fa1146a0000-7fa1147e2000 rw-p 00000000 00:00 0<br>
7fa1147e2000-7fa1147e3000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa1147e3000-7fa1147e4000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa1147e4000-7fa1147e5000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa1147e5000-7fa1147e6000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa1147e6000-7fa1147e7000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa1147e7000-7fa1147e8000 rw-s 00000000 00:15 58 /dev/shm/4DKcfO (deleted)<br>
7fa1147e8000-7fa1147e9000 rw-s 00000000 00:15 57 /dev/shm/1bsMfw (deleted)<br>
7fa1147e9000-7fa1147ea000 rw-s 00000000 00:15 56 /dev/shm/sfXmge (deleted)<br>
7fa1147ea000-7fa1147eb000 rw-s 00000000 00:15 55 /dev/shm/AtAZgW (deleted)<br>
7fa1147eb000-7fa1147ec000 rw-s 00000000 00:15 54 /dev/shm/wr57sE (deleted)<br>
7fa1147ec000-7fa1147ed000 rw-s 00000000 00:15 53 /dev/shm/QmChFm (deleted)<br>
7fa1147ed000-7fa1147ee000 rw-s 00000000 00:15 52 /dev/shm/mvltR4 (deleted)<br>
7fa1147ee000-7fa1147ef000 rw-s 00000000 00:15 51 /dev/shm/2sD5eN (deleted)<br>
7fa1147ef000-7fa1147f0000 rw-s 00000000 00:15 50 /dev/shm/o6IICv (deleted)<br>
7fa1147f0000-7fa1147f1000 rw-s 00000000 00:15 49 /dev/shm/gRZn0d (deleted)<br>
7fa1147f1000-7fa1147f2000 rw-s 00000000 00:15 48 /dev/shm/lyUyzW (deleted)<br>
7fa1147f2000-7fa1147f3000 rw-s 00000000 00:15 47 /dev/shm/LfOK8E (deleted)<br>
7fa1147f3000-7fa1147f4000 rw-s 00000000 00:15 46 /dev/shm/lCXYHn (deleted)<br>
7fa1147f4000-7fa1147f5000 rw-s 00000000 00:15 45 /dev/shm/uWMxs6 (deleted)<br>
7fa1147f5000-7fa1147f6000 rw-s 00000000 00:15 44 /dev/shm/jds7cP (deleted)<br>
7fa1147f6000-7fa1147f7000 rw-s 00000000 00:15 43 /dev/shm/QF6IXx (deleted)<br>
7fa1147f7000-7fa1147f8000 rw-s 00000000 00:15 42 /dev/shm/VFKKTg (deleted)<br>
7fa1147f8000-7fa1147f9000 rw-s 00000000 00:15 41 /dev/shm/zmfNPZ (deleted)<br>
7fa1147f9000-7fa1147fa000 rw-s 00000000 00:15 40 /dev/shm/QIFRLI (deleted)<br>
7fa1147fa000-7fa1147fb000 rw-s 00000000 00:15 39 /dev/shm/lZQuTr (deleted)<br>
7fa1147fb000-7fa1147fc000 rw-s 00000000 00:15 38 /dev/shm/vAR80a (deleted)<br>
7fa1147fc000-7fa1147fd000 rw-s 00000000 00:15 37 /dev/shm/AZUO8T (deleted)<br>
7fa1147fd000-7fa1147fe000 rw-s 00000000 00:15 36 /dev/shm/DFEgsD (deleted)<br>
7fa1147fe000-7fa1147ff000 rw-s 00000000 00:15 35 /dev/shm/0ZbJLm (deleted)<br>
7fa1147ff000-7fa114800000 rw-s 00000000 00:15 34 /dev/shm/zbGd55 (deleted)<br>
7fa114800000-7fa114801000 rw-s 00000000 00:15 33 /dev/shm/lt85zP (deleted)<br>
7fa114801000-7fa114802000 rw-s 00000000 00:15 32 /dev/shm/VsiZ4y (deleted)<br>
7fa114802000-7fa114803000 rw-s 00000000 00:15 31 /dev/shm/jOiUzi (deleted)<br>
7fa114803000-7fa114804000 rw-s 00000000 00:15 30 /dev/shm/VGLbg2 (deleted)<br>
7fa114804000-7fa114805000 rw-s 00000000 00:15 29 /dev/shm/02auWL (deleted)<br>
7fa114805000-7fa114806000 rw-s 00000000 00:15 28 /dev/shm/XzLOCv (deleted)<br>
7fa114806000-7fa114807000 rw-s 00000000 00:15 27 /dev/shm/kFmRuf (deleted)<br>
7fa114807000-7fa114808000 rw-s 00000000 00:15 26 /dev/shm/XwHUmZ (deleted)<br>
7fa114808000-7fa114809000 rw-s 00000000 00:15 25 /dev/shm/Jfc0eJ (deleted)<br>
7fa114809000-7fa11480a000 rw-s 00000000 00:15 24 /dev/shm/nqTGit (deleted)<br>
7fa11480a000-7fa11480b000 rw-s 00000000 00:15 23 /dev/shm/njpomd (deleted)<br>
7fa11480b000-7fa11480c000 rw-s 00000000 00:15 22 /dev/shm/uexcqX (deleted)<br>
7fa11480c000-7fa11480d000 rw-s 00000000 00:15 21 /dev/shm/lA9DFH (deleted)<br>
7fa11480d000-7fa11480e000 rw-s 00000000 00:15 20 /dev/shm/lQz6Ur (deleted)<br>
7fa11480e000-7fa11480f000 rw-s 00000000 00:15 19 /dev/shm/AngBac (deleted)<br>
7fa11480f000-7fa114810000 rw-s 00000000 00:15 18 /dev/shm/EtDYCW (deleted)<br>
7fa114810000-7fa114811000 rw-s 00000000 00:15 17 /dev/shm/ARVm5G (deleted)<br>
7fa114811000-7fa114812000 rw-s 00000000 00:15 16 /dev/shm/2lvNxr (deleted)<br>
7fa114812000-7fa114813000 rw-s 00000000 00:15 15 /dev/shm/usDvdc (deleted)<br>
7fa114813000-7fa114814000 rw-s 00000000 00:15 14 /dev/shm/4KJeTW (deleted)<br>
7fa114814000-7fa114815000 rw-s 00000000 00:15 13 /dev/shm/Sea0yH (deleted)<br>
7fa114815000-7fa114816000 rw-s 00000000 00:15 12 /dev/shm/EjHcss (deleted)<br>
7fa114816000-7fa114817000 rw-s 00000000 00:15 11 /dev/shm/SaZpld (deleted)<br>
7fa114817000-7fa114818000 rw-s 00000000 00:15 10 /dev/shm/0UPDeY (deleted)<br>
7fa114818000-7fa114819000 rw-s 00000000 00:15 9 /dev/shm/qkwS7I (deleted)<br>
7fa114819000-7fa11481a000 rw-s 00000000 00:15 8 /dev/shm/sdU70t (deleted)<br>
7fa11481a000-7fa11481b000 rw-s 00000000 00:15 7 /dev/shm/UjOnUe (deleted)<br>
7fa11481b000-7fa11481c000 rw-s 00000000 00:15 6 /dev/shm/MrcENZ (deleted)<br>
7fa11481c000-7fa11481d000 rw-s 00000000 00:15 5 /dev/shm/EvrVGK (deleted)<br>
7fa11481d000-7fa11481e000 rw-s 00000000 00:15 4 /dev/shm/eeAdAv (deleted)<br>
7fa11481e000-7fa11481f000 rw-s 00000000 00:15 3 /dev/shm/cbCwtg (deleted)<br>
7fa11481f000-7fa114820000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa114820000-7fa114821000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa114821000-7fa114822000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa114822000-7fa114a22000 rw-p 00000000 00:00 0<br>
7fa114a22000-7fa114a5c000 r-xp 00000000 08:31 58547880 /opt/conda/lib/python3.6/site-packages/matplotlib/_image.cpython-36m-x86_64-linux-gnu.so<br>
7fa114a5c000-7fa114c5c000 ---p 0003a000 08:31 58547880 /opt/conda/lib/python3.6/site-packages/matplotlib/_image.cpython-36m-x86_64-linux-gnu.so<br>
7fa114c5c000-7fa114c5d000 rw-p 0003a000 08:31 58547880 /opt/conda/lib/python3.6/site-packages/matplotlib/_image.cpython-36m-x86_64-linux-gnu.so<br>
7fa114c5d000-7fa114d9e000 rw-p 00000000 00:00 0<br>
7fa114d9e000-7fa114da2000 r-xp 00000000 08:31 59728475 /lib/x86_64-linux-gnu/libuuid.so.1.3.0<br>
7fa114da2000-7fa114fa1000 ---p 00004000 08:31 59728475 /lib/x86_64-linux-gnu/libuuid.so.1.3.0<br>
7fa114fa1000-7fa114fa2000 r--p 00003000 08:31 59728475 /lib/x86_64-linux-gnu/libuuid.so.1.3.0<br>
7fa114fa2000-7fa114fa3000 rw-p 00004000 08:31 59728475 /lib/x86_64-linux-gnu/libuuid.so.1.3.0<br>
7fa114fa3000-7fa115263000 rw-p 00000000 00:00 0<br>
7fa115263000-7fa115290000 r-xp 00000000 08:31 58547883 /opt/conda/lib/python3.6/site-packages/matplotlib/_path.cpython-36m-x86_64-linux-gnu.so<br>
7fa115290000-7fa115490000 ---p 0002d000 08:31 58547883 /opt/conda/lib/python3.6/site-packages/matplotlib/_path.cpython-36m-x86_64-linux-gnu.so<br>
7fa115490000-7fa115491000 rw-p 0002d000 08:31 58547883 /opt/conda/lib/python3.6/site-packages/matplotlib/_path.cpython-36m-x86_64-linux-gnu.so<br>
7fa115491000-7fa115512000 rw-p 00000000 00:00 0<br>
7fa115512000-7fa11554e000 r-xp 00000000 08:31 58547802 /opt/conda/lib/python3.6/site-packages/kiwisolver.cpython-36m-x86_64-linux-gnu.so<br>
7fa11554e000-7fa11574d000 ---p 0003c000 08:31 58547802 /opt/conda/lib/python3.6/site-packages/kiwisolver.cpython-36m-x86_64-linux-gnu.so<br>
7fa11574d000-7fa115750000 rw-p 0003b000 08:31 58547802 /opt/conda/lib/python3.6/site-packages/kiwisolver.cpython-36m-x86_64-linux-gnu.so<br>
7fa115750000-7fa115824000 r-xp 00000000 08:31 58548057 /opt/conda/lib/python3.6/site-packages/matplotlib/ft2font.cpython-36m-x86_64-linux-gnu.so<br>
7fa115824000-7fa115a24000 ---p 000d4000 08:31 58548057 /opt/conda/lib/python3.6/site-packages/matplotlib/ft2font.cpython-36m-x86_64-linux-gnu.so<br>
7fa115a24000-7fa115a2b000 rw-p 000d4000 08:31 58548057 /opt/conda/lib/python3.6/site-packages/matplotlib/ft2font.cpython-36m-x86_64-linux-gnu.so<br>
7fa115a2b000-7fa115c6c000 rw-p 00000000 00:00 0<br>
7fa115c6c000-7fa115ca9000 r-xp 00000000 08:31 65356070 /opt/conda/lib/python3.6/site-packages/pandas/_libs/reshape.cpython-36m-x86_64-linux-gnu.so<br>
7fa115ca9000-7fa115ea9000 ---p 0003d000 08:31 65356070 /opt/conda/lib/python3.6/site-packages/pandas/_libs/reshape.cpython-36m-x86_64-linux-gnu.so<br>
7fa115ea9000-7fa115eae000 rw-p 0003d000 08:31 65356070 /opt/conda/lib/python3.6/site-packages/pandas/_libs/reshape.cpython-36m-x86_64-linux-gnu.so<br>
7fa115eae000-7fa115eaf000 rw-p 00000000 00:00 0<br>
7fa115eaf000-7fa115eb1000 r--p 00000000 08:31 78745085 /opt/conda/lib/python3.6/lib-dynload/mmap.cpython-36m-x86_64-linux-gnu.so<br>
7fa115eb1000-7fa115eb4000 r-xp 00002000 08:31 78745085 /opt/conda/lib/python3.6/lib-dynload/mmap.cpython-36m-x86_64-linux-gnu.so<br>
7fa115eb4000-7fa115eb5000 r--p 00005000 08:31 78745085 /opt/conda/lib/python3.6/lib-dynload/mmap.cpython-36m-x86_64-linux-gnu.so<br>
7fa115eb5000-7fa115eb6000 ---p 00006000 08:31 78745085 /opt/conda/lib/python3.6/lib-dynload/mmap.cpython-36m-x86_64-linux-gnu.so<br>
7fa115eb6000-7fa115eb7000 r--p 00006000 08:31 78745085 /opt/conda/lib/python3.6/lib-dynload/mmap.cpython-36m-x86_64-linux-gnu.so<br>
7fa115eb7000-7fa115eb8000 rw-p 00007000 08:31 78745085 /opt/conda/lib/python3.6/lib-dynload/mmap.cpython-36m-x86_64-linux-gnu.so<br>
7fa115eb8000-7fa115ef8000 rw-p 00000000 00:00 0<br>
7fa115ef8000-7fa115efb000 r--p 00000000 08:31 78745096 /opt/conda/lib/python3.6/lib-dynload/unicodedata.cpython-36m-x86_64-linux-gnu.so<br>
7fa115efb000-7fa115f00000 r-xp 00003000 08:31 78745096 /opt/conda/lib/python3.6/lib-dynload/unicodedata.cpython-36m-x86_64-linux-gnu.so<br>
7fa115f00000-7fa115fba000 r--p 00008000 08:31 78745096 /opt/conda/lib/python3.6/lib-dynload/unicodedata.cpython-36m-x86_64-linux-gnu.so<br>
7fa115fba000-7fa115fbb000 r--p 000c1000 08:31 78745096 /opt/conda/lib/python3.6/lib-dynload/unicodedata.cpython-36m-x86_64-linux-gnu.so<br>
7fa115fbb000-7fa115fd6000 rw-p 000c2000 08:31 78745096 /opt/conda/lib/python3.6/lib-dynload/unicodedata.cpython-36m-x86_64-linux-gnu.so<br>
7fa115fd6000-7fa116016000 rw-p 00000000 00:00 0<br>
7fa116016000-7fa116056000 r-xp 00000000 08:31 65356060 /opt/conda/lib/python3.6/site-packages/pandas/_libs/internals.cpython-36m-x86_64-linux-gnu.so<br>
7fa116056000-7fa116256000 ---p 00040000 08:31 65356060 /opt/conda/lib/python3.6/site-packages/pandas/_libs/internals.cpython-36m-x86_64-linux-gnu.so<br>
7fa116256000-7fa11625b000 rw-p 00040000 08:31 65356060 /opt/conda/lib/python3.6/site-packages/pandas/_libs/internals.cpython-36m-x86_64-linux-gnu.so<br>
7fa11625b000-7fa11629c000 rw-p 00000000 00:00 0<br>
7fa11629c000-7fa1162a5000 r-xp 00000000 08:31 65356059 /opt/conda/lib/python3.6/site-packages/pandas/_libs/indexing.cpython-36m-x86_64-linux-gnu.so<br>
7fa1162a5000-7fa1164a4000 ---p 00009000 08:31 65356059 /opt/conda/lib/python3.6/site-packages/pandas/_libs/indexing.cpython-36m-x86_64-linux-gnu.so<br>
7fa1164a4000-7fa1164a6000 rw-p 00008000 08:31 65356059 /opt/conda/lib/python3.6/site-packages/pandas/_libs/indexing.cpython-36m-x86_64-linux-gnu.so<br>
7fa1164a6000-7fa116626000 rw-p 00000000 00:00 0<br>
7fa116626000-7fa116700000 r-xp 00000000 08:31 65356072 /opt/conda/lib/python3.6/site-packages/pandas/_libs/sparse.cpython-36m-x86_64-linux-gnu.so<br>
7fa116700000-7fa116900000 ---p <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/000da000f646a51b76ab56705763893490de558d/hovercard" href="https://github.com/pytorch/pytorch/commit/000da000f646a51b76ab56705763893490de558d"><tt>000da00</tt></a> 08:31 65356072 /opt/conda/lib/python3.6/site-packages/pandas/_libs/sparse.cpython-36m-x86_64-linux-gnu.so<br>
7fa116900000-7fa116907000 rw-p <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/000da000f646a51b76ab56705763893490de558d/hovercard" href="https://github.com/pytorch/pytorch/commit/000da000f646a51b76ab56705763893490de558d"><tt>000da00</tt></a> 08:31 65356072 /opt/conda/lib/python3.6/site-packages/pandas/_libs/sparse.cpython-36m-x86_64-linux-gnu.so<br>
7fa116907000-7fa1169c9000 rw-p 00000000 00:00 0<br>
7fa1169c9000-7fa116c57000 r-xp 00000000 08:31 65356062 /opt/conda/lib/python3.6/site-packages/pandas/_libs/join.cpython-36m-x86_64-linux-gnu.so<br>
7fa116c57000-7fa116e57000 ---p 0028e000 08:31 65356062 /opt/conda/lib/python3.6/site-packages/pandas/_libs/join.cpython-36m-x86_64-linux-gnu.so<br>
7fa116e57000-7fa116e60000 rw-p 0028e000 08:31 65356062 /opt/conda/lib/python3.6/site-packages/pandas/_libs/join.cpython-36m-x86_64-linux-gnu.so<br>
7fa116e60000-7fa116e66000 rw-p 00000000 00:00 0<br>
7fa116e66000-7fa116f00000 r-xp 00000000 08:31 65356058 /opt/conda/lib/python3.6/site-packages/pandas/_libs/index.cpython-36m-x86_64-linux-gnu.so<br>
7fa116f00000-7fa1170ff000 ---p 0009a000 08:31 65356058 /opt/conda/lib/python3.6/site-packages/pandas/_libs/index.cpython-36m-x86_64-linux-gnu.so<br>
7fa1170ff000-7fa117108000 rw-p 00099000 08:31 65356058 /opt/conda/lib/python3.6/site-packages/pandas/_libs/index.cpython-36m-x86_64-linux-gnu.so<br>
7fa117108000-7fa11724b000 rw-p 00000000 00:00 0<br>
7fa11724b000-7fa11727f000 r-xp 00000000 08:31 65356066 /opt/conda/lib/python3.6/site-packages/pandas/_libs/ops.cpython-36m-x86_64-linux-gnu.so<br>
7fa11727f000-7fa11747f000 ---p 00034000 08:31 65356066 /opt/conda/lib/python3.6/site-packages/pandas/_libs/ops.cpython-36m-x86_64-linux-gnu.so<br>
7fa11747f000-7fa117483000 rw-p 00034000 08:31 65356066 /opt/conda/lib/python3.6/site-packages/pandas/_libs/ops.cpython-36m-x86_64-linux-gnu.so<br>
7fa117483000-7fa1174c4000 rw-p 00000000 00:00 0<br>
7fa1174c4000-7fa1174ee000 r-xp 00000000 08:31 65356056 /opt/conda/lib/python3.6/site-packages/pandas/_libs/hashing.cpython-36m-x86_64-linux-gnu.so<br>
7fa1174ee000-7fa1176ed000 ---p 0002a000 08:31 65356056 /opt/conda/lib/python3.6/site-packages/pandas/_libs/hashing.cpython-36m-x86_64-linux-gnu.so<br>
7fa1176ed000-7fa1176f0000 rw-p 00029000 08:31 65356056 /opt/conda/lib/python3.6/site-packages/pandas/_libs/hashing.cpython-36m-x86_64-linux-gnu.so<br>
7fa1176f0000-7fa1176f1000 rw-p 00000000 00:00 0<br>
7fa1176f1000-7fa1176fe000 r-xp 00000000 08:31 65356068 /opt/conda/lib/python3.6/site-packages/pandas/_libs/properties.cpython-36m-x86_64-linux-gnu.so<br>
7fa1176fe000-7fa1178fe000 ---p 0000d000 08:31 65356068 /opt/conda/lib/python3.6/site-packages/pandas/_libs/properties.cpython-36m-x86_64-linux-gnu.so<br>
7fa1178fe000-7fa117900000 rw-p 0000d000 08:31 65356068 /opt/conda/lib/python3.6/site-packages/pandas/_libs/properties.cpython-36m-x86_64-linux-gnu.so<br>
7fa117900000-7fa117940000 rw-p 00000000 00:00 0<br>
7fa117940000-7fa117b71000 r-xp 00000000 08:31 65356061 /opt/conda/lib/python3.6/site-packages/pandas/_libs/interval.cpython-36m-x86_64-linux-gnu.so<br>
7fa117b71000-7fa117d71000 ---p 00231000 08:31 65356061 /opt/conda/lib/python3.6/site-packages/pandas/_libs/interval.cpython-36m-x86_64-linux-gnu.so<br>
7fa117d71000-7fa117d83000 rw-p 00231000 08:31 65356061 /opt/conda/lib/python3.6/site-packages/pandas/_libs/interval.cpython-36m-x86_64-linux-gnu.so<br>
7fa117d83000-7fa117dc7000 rw-p 00000000 00:00 0<br>
7fa117dc7000-7fa117f71000 r-xp 00000000 08:31 65356054 /opt/conda/lib/python3.6/site-packages/pandas/_libs/algos.cpython-36m-x86_64-linux-gnu.so<br>
7fa117f71000-7fa118170000 ---p 001aa000 08:31 65356054 /opt/conda/lib/python3.6/site-packages/pandas/_libs/algos.cpython-36m-x86_64-linux-gnu.so<br>
7fa118170000-7fa11817c000 rw-p 001a9000 08:31 65356054 /opt/conda/lib/python3.6/site-packages/pandas/_libs/algos.cpython-36m-x86_64-linux-gnu.so<br>
7fa11817c000-7fa118182000 rw-p 00000000 00:00 0<br>
7fa118182000-7fa1181d0000 r-xp 00000000 08:31 65356074 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslib.cpython-36m-x86_64-linux-gnu.so<br>
7fa1181d0000-7fa1183cf000 ---p 0004e000 08:31 65356074 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslib.cpython-36m-x86_64-linux-gnu.so<br>
7fa1183cf000-7fa1183d5000 rw-p 0004d000 08:31 65356074 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslib.cpython-36m-x86_64-linux-gnu.so<br>
7fa1183d5000-7fa118416000 rw-p 00000000 00:00 0<br>
7fa118416000-7fa1184a2000 r-xp 00000000 08:31 65356064 /opt/conda/lib/python3.6/site-packages/pandas/_libs/lib.cpython-36m-x86_64-linux-gnu.so<br>
7fa1184a2000-7fa1186a1000 ---p <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/0008c00036a2612849e4639ad5efb7c5e1ecae1f/hovercard" href="https://github.com/pytorch/pytorch/commit/0008c00036a2612849e4639ad5efb7c5e1ecae1f"><tt>0008c00</tt></a> 08:31 65356064 /opt/conda/lib/python3.6/site-packages/pandas/_libs/lib.cpython-36m-x86_64-linux-gnu.so<br>
7fa1186a1000-7fa1186ae000 rw-p 0008b000 08:31 65356064 /opt/conda/lib/python3.6/site-packages/pandas/_libs/lib.cpython-36m-x86_64-linux-gnu.so<br>
7fa1186ae000-7fa1186b1000 rw-p 00000000 00:00 0<br>
7fa1186b1000-7fa1186c3000 r-xp 00000000 08:31 65356065 /opt/conda/lib/python3.6/site-packages/pandas/_libs/missing.cpython-36m-x86_64-linux-gnu.so<br>
7fa1186c3000-7fa1188c2000 ---p 00012000 08:31 65356065 /opt/conda/lib/python3.6/site-packages/pandas/_libs/missing.cpython-36m-x86_64-linux-gnu.so<br>
7fa1188c2000-7fa1188c4000 rw-p 00011000 08:31 65356065 /opt/conda/lib/python3.6/site-packages/pandas/_libs/missing.cpython-36m-x86_64-linux-gnu.so<br>
7fa1188c4000-7fa1188c5000 rw-p 00000000 00:00 0<br>
7fa1188c5000-7fa118954000 r-xp 00000000 08:31 65356057 /opt/conda/lib/python3.6/site-packages/pandas/_libs/hashtable.cpython-36m-x86_64-linux-gnu.so<br>
7fa118954000-7fa118b53000 ---p 0008f000 08:31 65356057 /opt/conda/lib/python3.6/site-packages/pandas/_libs/hashtable.cpython-36m-x86_64-linux-gnu.so<br>
7fa118b53000-7fa118b5f000 rw-p 0008e000 08:31 65356057 /opt/conda/lib/python3.6/site-packages/pandas/_libs/hashtable.cpython-36m-x86_64-linux-gnu.so<br>
7fa118b5f000-7fa118b61000 rw-p 00000000 00:00 0<br>
7fa118b61000-7fa118b9e000 r-xp 00000000 08:31 65618804 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/resolution.cpython-36m-x86_64-linux-gnu.so<br>
7fa118b9e000-7fa118d9e000 ---p 0003d000 08:31 65618804 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/resolution.cpython-36m-x86_64-linux-gnu.so<br>
7fa118d9e000-7fa118da3000 rw-p 0003d000 08:31 65618804 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/resolution.cpython-36m-x86_64-linux-gnu.so<br>
7fa118da3000-7fa118da4000 rw-p 00000000 00:00 0<br>
7fa118da4000-7fa118dee000 r-xp 00000000 08:31 65618807 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/timestamps.cpython-36m-x86_64-linux-gnu.so<br>
7fa118dee000-7fa118fee000 ---p 0004a000 08:31 65618807 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/timestamps.cpython-36m-x86_64-linux-gnu.so<br>
7fa118fee000-7fa118ff6000 rw-p 0004a000 08:31 65618807 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/timestamps.cpython-36m-x86_64-linux-gnu.so<br>
7fa118ff6000-7fa118ff8000 rw-p 00000000 00:00 0<br>
7fa118ff8000-7fa119018000 r-xp 00000000 08:31 65618798 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/frequencies.cpython-36m-x86_64-linux-gnu.so<br>
7fa119018000-7fa119217000 ---p 00020000 08:31 65618798 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/frequencies.cpython-36m-x86_64-linux-gnu.so<br>
7fa119217000-7fa11921a000 rw-p 0001f000 08:31 65618798 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/frequencies.cpython-36m-x86_64-linux-gnu.so<br>
7fa11921a000-7fa11921b000 rw-p 00000000 00:00 0<br>
7fa11921b000-7fa11928a000 r-xp 00000000 08:31 65618803 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/period.cpython-36m-x86_64-linux-gnu.so<br>
7fa11928a000-7fa119489000 ---p 0006f000 08:31 65618803 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/period.cpython-36m-x86_64-linux-gnu.so<br>
7fa119489000-7fa119492000 rw-p 0006e000 08:31 65618803 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/period.cpython-36m-x86_64-linux-gnu.so<br>
7fa119492000-7fa1194d4000 rw-p 00000000 00:00 0<br>
7fa1194d4000-7fa11953c000 r-xp 00000000 08:31 65618802 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/parsing.cpython-36m-x86_64-linux-gnu.so<br>
7fa11953c000-7fa11973c000 ---p 00068000 08:31 65618802 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/parsing.cpython-36m-x86_64-linux-gnu.so<br>
7fa11973c000-7fa119744000 rw-p 00068000 08:31 65618802 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/parsing.cpython-36m-x86_64-linux-gnu.so<br>
7fa119744000-7fa119746000 rw-p 00000000 00:00 0<br>
7fa119746000-7fa119786000 r-xp 00000000 08:31 65618797 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/fields.cpython-36m-x86_64-linux-gnu.so<br>
7fa119786000-7fa119985000 ---p 00040000 08:31 65618797 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/fields.cpython-36m-x86_64-linux-gnu.so<br>
7fa119985000-7fa119989000 rw-p 0003f000 08:31 65618797 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/fields.cpython-36m-x86_64-linux-gnu.so<br>
7fa119989000-7fa11998b000 rw-p 00000000 00:00 0<br>
7fa11998b000-7fa1199f4000 r-xp 00000000 08:31 65618805 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/strptime.cpython-36m-x86_64-linux-gnu.so<br>
7fa1199f4000-7fa119bf3000 ---p 00069000 08:31 65618805 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/strptime.cpython-36m-x86_64-linux-gnu.so<br>
7fa119bf3000-7fa119bfb000 rw-p 00068000 08:31 65618805 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/strptime.cpython-36m-x86_64-linux-gnu.so<br>
7fa119bfb000-7fa119c3d000 rw-p 00000000 00:00 0<br>
7fa119c3d000-7fa119c4a000 r-xp 00000000 08:31 65618795 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/ccalendar.cpython-36m-x86_64-linux-gnu.so<br>
7fa119c4a000-7fa119e49000 ---p 0000d000 08:31 65618795 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/ccalendar.cpython-36m-x86_64-linux-gnu.so<br>
7fa119e49000-7fa119e4c000 rw-p 0000c000 08:31 65618795 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/ccalendar.cpython-36m-x86_64-linux-gnu.so<br>
7fa119e4c000-7fa119eb2000 r-xp 00000000 08:31 65618801 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/offsets.cpython-36m-x86_64-linux-gnu.so<br>
7fa119eb2000-7fa11a0b1000 ---p 00066000 08:31 65618801 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/offsets.cpython-36m-x86_64-linux-gnu.so<br>
7fa11a0b1000-7fa11a0ba000 rw-p <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/00065000969fc05a19712cf13243a9d9e270dd7b/hovercard" href="https://github.com/pytorch/pytorch/commit/00065000969fc05a19712cf13243a9d9e270dd7b"><tt>0006500</tt></a> 08:31 65618801 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/offsets.cpython-36m-x86_64-linux-gnu.so<br>
7fa11a0ba000-7fa11a0bd000 rw-p 00000000 00:00 0<br>
7fa11a0bd000-7fa11a133000 r-xp 00000000 08:31 65618806 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/timedeltas.cpython-36m-x86_64-linux-gnu.so<br>
7fa11a133000-7fa11a333000 ---p 00076000 08:31 65618806 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/timedeltas.cpython-36m-x86_64-linux-gnu.so<br>
7fa11a333000-7fa11a33b000 rw-p 00076000 08:31 65618806 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/timedeltas.cpython-36m-x86_64-linux-gnu.so<br>
7fa11a33b000-7fa11a33e000 rw-p 00000000 00:00 0<br>
7fa11a33e000-7fa11a38c000 r-xp 00000000 08:31 65618809 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/tzconversion.cpython-36m-x86_64-linux-gnu.so<br>
7fa11a38c000-7fa11a58b000 ---p 0004e000 08:31 65618809 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/tzconversion.cpython-36m-x86_64-linux-gnu.so<br>
7fa11a58b000-7fa11a590000 rw-p 0004d000 08:31 65618809 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/tzconversion.cpython-36m-x86_64-linux-gnu.so<br>
7fa11a590000-7fa11a5d1000 rw-p 00000000 00:00 0<br>
7fa11a5d1000-7fa11a609000 r-xp 00000000 08:31 65618808 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/timezones.cpython-36m-x86_64-linux-gnu.so<br>
7fa11a609000-7fa11a809000 ---p 00038000 08:31 65618808 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/timezones.cpython-36m-x86_64-linux-gnu.so<br>
7fa11a809000-7fa11a80d000 rw-p 00038000 08:31 65618808 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/timezones.cpython-36m-x86_64-linux-gnu.so<br>
7fa11a80d000-7fa11a80e000 rw-p 00000000 00:00 0<br>
7fa11a80e000-7fa11a819000 r-xp 00000000 08:31 65618800 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/np_datetime.cpython-36m-x86_64-linux-gnu.so<br>
7fa11a819000-7fa11aa19000 ---p 0000b000 08:31 65618800 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/np_datetime.cpython-36m-x86_64-linux-gnu.so<br>
7fa11aa19000-7fa11aa1a000 rw-p 0000b000 08:31 65618800 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/np_datetime.cpython-36m-x86_64-linux-gnu.so<br>
7fa11aa1a000-7fa11aa45000 r-xp 00000000 08:31 65618799 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/nattype.cpython-36m-x86_64-linux-gnu.so<br>
7fa11aa45000-7fa11ac45000 ---p 0002b000 08:31 65618799 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/nattype.cpython-36m-x86_64-linux-gnu.so<br>
7fa11ac45000-7fa11ac4a000 rw-p 0002b000 08:31 65618799 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/nattype.cpython-36m-x86_64-linux-gnu.so<br>
7fa11ac4a000-7fa11ac4b000 rw-p 00000000 00:00 0<br>
7fa11ac4b000-7fa11ac8c000 r-xp 00000000 08:31 65618794 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/c_timestamp.cpython-36m-x86_64-linux-gnu.so<br>
7fa11ac8c000-7fa11ae8b000 ---p 00041000 08:31 65618794 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/c_timestamp.cpython-36m-x86_64-linux-gnu.so<br>
7fa11ae8b000-7fa11ae90000 rw-p 00040000 08:31 65618794 /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/c_timestamp.cpython-36m-x86_64-linux-gnu.so<br>
7fa11ae90000-7fa11ae91000 rw-p 00000000 00:00 0<br>
7fa11ae91000-7fa11aed9000 r-xp 00000000 08:31 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/65618796788a32446a77589368c3ab7e455e1da7/hovercard" href="https://github.com/pytorch/pytorch/commit/65618796788a32446a77589368c3ab7e455e1da7"><tt>6561879</tt></a> /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/conversion.cpython-36m-x86_64-linux-gnu.so<br>
7fa11aed9000-7fa11b0d9000 ---p 00048000 08:31 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/65618796788a32446a77589368c3ab7e455e1da7/hovercard" href="https://github.com/pytorch/pytorch/commit/65618796788a32446a77589368c3ab7e455e1da7"><tt>6561879</tt></a> /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/conversion.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b0d9000-7fa11b0de000 rw-p 00048000 08:31 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/65618796788a32446a77589368c3ab7e455e1da7/hovercard" href="https://github.com/pytorch/pytorch/commit/65618796788a32446a77589368c3ab7e455e1da7"><tt>6561879</tt></a> /opt/conda/lib/python3.6/site-packages/pandas/_libs/tslibs/conversion.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b0de000-7fa11b11f000 rw-p 00000000 00:00 0<br>
7fa11b11f000-7fa11b166000 r--p 00000000 08:31 84118908 /opt/conda/lib/python3.6/site-packages/torchvision/_C.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b166000-7fa11b1c7000 r-xp 00047000 08:31 84118908 /opt/conda/lib/python3.6/site-packages/torchvision/_C.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b1c7000-7fa11b2c7000 r--p 000a8000 08:31 84118908 /opt/conda/lib/python3.6/site-packages/torchvision/_C.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b2c7000-7fa11b2c8000 r--p 001a7000 08:31 84118908 /opt/conda/lib/python3.6/site-packages/torchvision/_C.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b2c8000-7fa11b2cc000 rw-p 001a8000 08:31 84118908 /opt/conda/lib/python3.6/site-packages/torchvision/_C.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b2cc000-7fa11b30d000 rw-p 00000000 00:00 0<br>
7fa11b30d000-7fa11b30f000 r--p 00000000 08:31 78745055 /opt/conda/lib/python3.6/lib-dynload/_json.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b30f000-7fa11b31d000 r-xp 00002000 08:31 78745055 /opt/conda/lib/python3.6/lib-dynload/_json.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b31d000-7fa11b31f000 r--p 00010000 08:31 78745055 /opt/conda/lib/python3.6/lib-dynload/_json.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b31f000-7fa11b320000 r--p 00011000 08:31 78745055 /opt/conda/lib/python3.6/lib-dynload/_json.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b320000-7fa11b321000 rw-p 00012000 08:31 78745055 /opt/conda/lib/python3.6/lib-dynload/_json.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b321000-7fa11b328000 r--p 00000000 08:31 78745089 /opt/conda/lib/python3.6/lib-dynload/pyexpat.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b328000-7fa11b354000 r-xp 00007000 08:31 78745089 /opt/conda/lib/python3.6/lib-dynload/pyexpat.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b354000-7fa11b35f000 r--p 00033000 08:31 78745089 /opt/conda/lib/python3.6/lib-dynload/pyexpat.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b35f000-7fa11b362000 r--p 0003d000 08:31 78745089 /opt/conda/lib/python3.6/lib-dynload/pyexpat.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b362000-7fa11b364000 rw-p 00040000 08:31 78745089 /opt/conda/lib/python3.6/lib-dynload/pyexpat.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b364000-7fa11b368000 r--p 00000000 08:31 78745052 /opt/conda/lib/python3.6/lib-dynload/_elementtree.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b368000-7fa11b371000 r-xp 00004000 08:31 78745052 /opt/conda/lib/python3.6/lib-dynload/_elementtree.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b371000-7fa11b374000 r--p 0000d000 08:31 78745052 /opt/conda/lib/python3.6/lib-dynload/_elementtree.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b374000-7fa11b375000 r--p 0000f000 08:31 78745052 /opt/conda/lib/python3.6/lib-dynload/_elementtree.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b375000-7fa11b377000 rw-p 00010000 08:31 78745052 /opt/conda/lib/python3.6/lib-dynload/_elementtree.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b377000-7fa11b4b7000 rw-p 00000000 00:00 0<br>
7fa11b4b7000-7fa11b4c1000 r--p 00000000 08:31 78482777 /opt/conda/lib/libzstd.so.1.3.7<br>
7fa11b4c1000-7fa11b54d000 r-xp 0000a000 08:31 78482777 /opt/conda/lib/libzstd.so.1.3.7<br>
7fa11b54d000-7fa11b559000 r--p 00096000 08:31 78482777 /opt/conda/lib/libzstd.so.1.3.7<br>
7fa11b559000-7fa11b55a000 ---p 000a2000 08:31 78482777 /opt/conda/lib/libzstd.so.1.3.7<br>
7fa11b55a000-7fa11b55b000 r--p 000a2000 08:31 78482777 /opt/conda/lib/libzstd.so.1.3.7<br>
7fa11b55b000-7fa11b55c000 rw-p 000a3000 08:31 78482777 /opt/conda/lib/libzstd.so.1.3.7<br>
7fa11b55c000-7fa11b566000 r--p 00000000 08:31 80973581 /opt/conda/lib/libtiff.so.5.4.0<br>
7fa11b566000-7fa11b5a9000 r-xp 0000a000 08:31 80973581 /opt/conda/lib/libtiff.so.5.4.0<br>
7fa11b5a9000-7fa11b5d4000 r--p 0004d000 08:31 80973581 /opt/conda/lib/libtiff.so.5.4.0<br>
7fa11b5d4000-7fa11b5d5000 ---p 00078000 08:31 80973581 /opt/conda/lib/libtiff.so.5.4.0<br>
7fa11b5d5000-7fa11b5d9000 r--p 00078000 08:31 80973581 /opt/conda/lib/libtiff.so.5.4.0<br>
7fa11b5d9000-7fa11b5da000 rw-p 0007c000 08:31 80973581 /opt/conda/lib/libtiff.so.5.4.0<br>
7fa11b5da000-7fa11b615000 r-xp 00000000 08:31 80973514 /opt/conda/lib/libjpeg.so.9.2.0<br>
7fa11b615000-7fa11b814000 ---p 0003b000 08:31 80973514 /opt/conda/lib/libjpeg.so.9.2.0<br>
7fa11b814000-7fa11b815000 r--p 0003a000 08:31 80973514 /opt/conda/lib/libjpeg.so.9.2.0<br>
7fa11b815000-7fa11b816000 rw-p 0003b000 08:31 80973514 /opt/conda/lib/libjpeg.so.9.2.0<br>
7fa11b816000-7fa11b828000 r--p 00000000 08:31 82677504 /opt/conda/lib/python3.6/site-packages/PIL/_imaging.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b828000-7fa11b876000 r-xp 00012000 08:31 82677504 /opt/conda/lib/python3.6/site-packages/PIL/_imaging.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b876000-7fa11b884000 r--p 00060000 08:31 82677504 /opt/conda/lib/python3.6/site-packages/PIL/_imaging.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b884000-7fa11b885000 ---p 0006e000 08:31 82677504 /opt/conda/lib/python3.6/site-packages/PIL/_imaging.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b885000-7fa11b889000 r--p 0006e000 08:31 82677504 /opt/conda/lib/python3.6/site-packages/PIL/_imaging.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b889000-7fa11b88c000 rw-p 00072000 08:31 82677504 /opt/conda/lib/python3.6/site-packages/PIL/_imaging.cpython-36m-x86_64-linux-gnu.so<br>
7fa11b88c000-7fa11b94d000 rw-p 00000000 00:00 0<br>
7fa11b94d000-7fa11b94e000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa11b94e000-7fa11bb8e000 rw-p 00000000 00:00 0<br>
7fa11bb8e000-7fa11bbad000 r--p 00000000 08:31 78482740 /opt/conda/lib/libssl.so.1.1<br>
7fa11bbad000-7fa11bbf7000 r-xp 0001f000 08:31 78482740 /opt/conda/lib/libssl.so.1.1<br>
7fa11bbf7000-7fa11bc10000 r--p 00069000 08:31 78482740 /opt/conda/lib/libssl.so.1.1<br>
7fa11bc10000-7fa11bc11000 ---p 00082000 08:31 78482740 /opt/conda/lib/libssl.so.1.1<br>
7fa11bc11000-7fa11bc1a000 r--p 00082000 08:31 78482740 /opt/conda/lib/libssl.so.1.1<br>
7fa11bc1a000-7fa11bc1e000 rw-p 0008b000 08:31 78482740 /opt/conda/lib/libssl.so.1.1<br>
7fa11bc1e000-7fa11bc28000 r--p 00000000 08:31 78745071 /opt/conda/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so<br>
7fa11bc28000-7fa11bc33000 r-xp 0000a000 08:31 78745071 /opt/conda/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so<br>
7fa11bc33000-7fa11bc39000 r--p 00015000 08:31 78745071 /opt/conda/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so<br>
7fa11bc39000-7fa11bc3a000 ---p 0001b000 08:31 78745071 /opt/conda/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so<br>
7fa11bc3a000-7fa11bc3b000 r--p 0001b000 08:31 78745071 /opt/conda/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so<br>
7fa11bc3b000-7fa11bc40000 rw-p 0001c000 08:31 78745071 /opt/conda/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so<br>
7fa11bc40000-7fa11bd80000 rw-p 00000000 00:00 0<br>
7fa11bd80000-7fa11bd82000 r--p 00000000 08:31 78745060 /opt/conda/lib/python3.6/lib-dynload/_multiprocessing.cpython-36m-x86_64-linux-gnu.so<br>
7fa11bd82000-7fa11bd83000 r-xp 00002000 08:31 78745060 /opt/conda/lib/python3.6/lib-dynload/_multiprocessing.cpython-36m-x86_64-linux-gnu.so<br>
7fa11bd83000-7fa11bd84000 r--p 00003000 08:31 78745060 /opt/conda/lib/python3.6/lib-dynload/_multiprocessing.cpython-36m-x86_64-linux-gnu.so<br>
7fa11bd84000-7fa11bd85000 r--p 00003000 08:31 78745060 /opt/conda/lib/python3.6/lib-dynload/_multiprocessing.cpython-36m-x86_64-linux-gnu.so<br>
7fa11bd85000-7fa11bd86000 rw-p 00004000 08:31 78745060 /opt/conda/lib/python3.6/lib-dynload/_multiprocessing.cpython-36m-x86_64-linux-gnu.so<br>
7fa11bd86000-7fa11c0c6000 rw-p 00000000 00:00 0<br>
7fa11c0c6000-7fa11c0ca000 r--p 00000000 08:31 78745078 /opt/conda/lib/python3.6/lib-dynload/array.cpython-36m-x86_64-linux-gnu.so<br>
7fa11c0ca000-7fa11c0d2000 r-xp 00004000 08:31 78745078 /opt/conda/lib/python3.6/lib-dynload/array.cpython-36m-x86_64-linux-gnu.so<br>
7fa11c0d2000-7fa11c0d5000 r--p 0000c000 08:31 78745078 /opt/conda/lib/python3.6/lib-dynload/array.cpython-36m-x86_64-linux-gnu.so<br>
7fa11c0d5000-7fa11c0d6000 r--p 0000e000 08:31 78745078 /opt/conda/lib/python3.6/lib-dynload/array.cpython-36m-x86_64-linux-gnu.so<br>
7fa11c0d6000-7fa11c0d9000 rw-p 0000f000 08:31 78745078 /opt/conda/lib/python3.6/lib-dynload/array.cpython-36m-x86_64-linux-gnu.so<br>
7fa11c0d9000-7fa11c0de000 r--p 00000000 08:31 78745069 /opt/conda/lib/python3.6/lib-dynload/_socket.cpython-36m-x86_64-linux-gnu.so<br>
7fa11c0de000-7fa11c0ec000 r-xp 00005000 08:31 78745069 /opt/conda/lib/python3.6/lib-dynload/_socket.cpython-36m-x86_64-linux-gnu.so<br>
7fa11c0ec000-7fa11c0f1000 r--p 00013000 08:31 78745069 /opt/conda/lib/python3.6/lib-dynload/_socket.cpython-36m-x86_64-linux-gnu.so<br>
7fa11c0f1000-7fa11c0f2000 r--p 00017000 08:31 78745069 /opt/conda/lib/python3.6/lib-dynload/_socket.cpython-36m-x86_64-linux-gnu.so<br>
7fa11c0f2000-7fa11c0f7000 rw-p 00018000 08:31 78745069 /opt/conda/lib/python3.6/lib-dynload/_socket.cpython-36m-x86_64-linux-gnu.so<br>
7fa11c0f7000-7fa11c447000 rw-p 00000000 00:00 0<br>
7fa11c447000-7fa11e31b000 r-xp 00000000 08:31 80973485 /opt/conda/lib/libcublasLt.so.10.2.0.168<br>
7fa11e31b000-7fa11e51b000 ---p 01ed4000 08:31 80973485 /opt/conda/lib/libcublasLt.so.10.2.0.168<br>
7fa11e51b000-7fa11e58f000 rw-p 01ed4000 08:31 80973485 /opt/conda/lib/libcublasLt.so.10.2.0.168<br>
7fa11e58f000-7fa11e598000 rw-p 00000000 00:00 0<br>
7fa11e598000-7fa11e59a000 rw-p 01f48000 08:31 80973485 /opt/conda/lib/libcublasLt.so.10.2.0.168<br>
7fa11e59a000-7fa1259f5000 r-xp 00000000 08:31 80973503 /opt/conda/lib/libcusparse.so.10.1.168<br>
7fa1259f5000-7fa125bf5000 ---p 0745b000 08:31 80973503 /opt/conda/lib/libcusparse.so.10.1.168<br>
7fa125bf5000-7fa125c04000 rw-p 0745b000 08:31 80973503 /opt/conda/lib/libcusparse.so.10.1.168<br>
7fa125c04000-7fa125c0b000 rw-p 00000000 00:00 0<br>
7fa125c0b000-7fa125c11000 rw-p 0746b000 08:31 80973503 /opt/conda/lib/libcusparse.so.10.1.168<br>
7fa125c11000-7fa125c1b000 r--p 00000000 08:31 78482634 /opt/conda/lib/libgomp.so.1.0.0<br>
7fa125c1b000-7fa125c32000 r-xp 0000a000 08:31 78482634 /opt/conda/lib/libgomp.so.1.0.0<br>
7fa125c32000-7fa125c3b000 r--p 00021000 08:31 78482634 /opt/conda/lib/libgomp.so.1.0.0<br>
7fa125c3b000-7fa125c3c000 ---p 0002a000 08:31 78482634 /opt/conda/lib/libgomp.so.1.0.0<br>
7fa125c3c000-7fa125c3d000 r--p 0002a000 08:31 78482634 /opt/conda/lib/libgomp.so.1.0.0<br>
7fa125c3d000-7fa125c3e000 rw-p 0002b000 08:31 78482634 /opt/conda/lib/libgomp.so.1.0.0<br>
7fa125c3e000-7fa12979f000 r-xp 00000000 08:31 80973482 /opt/conda/lib/libcublas.so.10.2.0.168<br>
7fa12979f000-7fa12999e000 ---p 03b61000 08:31 80973482 /opt/conda/lib/libcublas.so.10.2.0.168<br>
7fa12999e000-7fa1299ac000 rw-p 03b60000 08:31 80973482 /opt/conda/lib/libcublas.so.10.2.0.168<br>
7fa1299ac000-7fa1299b6000 rw-p 00000000 00:00 0<br>
7fa1299b6000-7fa1299b9000 rw-p 03b6f000 08:31 80973482 /opt/conda/lib/libcublas.so.10.2.0.168<br>
7fa1299b9000-7fa12bef5000 r-xp 00000000 08:31 80973497 /opt/conda/lib/libcurand.so.10.1.168<br>
7fa12bef5000-7fa12c0f4000 ---p 0253c000 08:31 80973497 /opt/conda/lib/libcurand.so.10.1.168<br>
7fa12c0f4000-7fa12d4c4000 rw-p 0253b000 08:31 80973497 /opt/conda/lib/libcurand.so.10.1.168<br>
7fa12d4c4000-7fa12da1a000 rw-p 00000000 00:00 0<br>
7fa12da1a000-7fa12da1b000 rw-p 0390b000 08:31 80973497 /opt/conda/lib/libcurand.so.10.1.168<br>
7fa12da1b000-7fa135dd3000 r-xp 00000000 08:31 80973491 /opt/conda/lib/libcufft.so.10.1.168<br>
7fa135dd3000-7fa135fd3000 ---p 083b8000 08:31 80973491 /opt/conda/lib/libcufft.so.10.1.168<br>
7fa135fd3000-7fa135fe5000 rw-p 083b8000 08:31 80973491 /opt/conda/lib/libcufft.so.10.1.168<br>
7fa135fe5000-7fa13605d000 rw-p 00000000 00:00 0<br>
7fa13605d000-7fa13605f000 rw-p 083ca000 08:31 80973491 /opt/conda/lib/libcufft.so.10.1.168<br>
7fa13605f000-7fa1360d6000 r-xp 00000000 08:31 80973488 /opt/conda/lib/libcudart.so.10.1.168<br>
7fa1360d6000-7fa1362d6000 ---p 00077000 08:31 80973488 /opt/conda/lib/libcudart.so.10.1.168<br>
7fa1362d6000-7fa1362da000 rw-p 00077000 08:31 80973488 /opt/conda/lib/libcudart.so.10.1.168<br>
7fa1362da000-7fa1362db000 rw-p 00000000 00:00 0<br>
7fa1362db000-7fa1362de000 rw-p 0007c000 08:31 80973488 /opt/conda/lib/libcudart.so.10.1.168<br>
7fa1362de000-7fa1362e6000 r-xp 00000000 08:31 80973553 /opt/conda/lib/libnvToolsExt.so.1.0.0<br>
7fa1362e6000-7fa1364e6000 ---p 00008000 08:31 80973553 /opt/conda/lib/libnvToolsExt.so.1.0.0<br>
7fa1364e6000-7fa1364e7000 rw-p 00008000 08:31 80973553 /opt/conda/lib/libnvToolsExt.so.1.0.0<br>
7fa1364e7000-7fa1364e8000 rw-p 0000a000 08:31 80973553 /opt/conda/lib/libnvToolsExt.so.1.0.0<br>
7fa1364e8000-7fa136531000 r-xp 00000000 08:31 83987905 /opt/conda/lib/python3.6/site-packages/torch/lib/libc10.so<br>
7fa136531000-7fa136731000 ---p 00049000 08:31 83987905 /opt/conda/lib/python3.6/site-packages/torch/lib/libc10.so<br>
7fa136731000-7fa136732000 r--p 00049000 08:31 83987905 /opt/conda/lib/python3.6/site-packages/torch/lib/libc10.so<br>
7fa136732000-7fa136733000 rw-p 0004a000 08:31 83987905 /opt/conda/lib/python3.6/site-packages/torch/lib/libc10.so<br>
7fa136733000-7fa136734000 rw-p 00000000 00:00 0<br>
7fa136734000-7fa13673e000 rw-p 00063000 08:31 83987905 /opt/conda/lib/python3.6/site-packages/torch/lib/libc10.so<br>
7fa13673e000-7fa136764000 r-xp 00000000 08:31 83987906 /opt/conda/lib/python3.6/site-packages/torch/lib/libc10_cuda.so<br>
7fa136764000-7fa136963000 ---p 00026000 08:31 83987906 /opt/conda/lib/python3.6/site-packages/torch/lib/libc10_cuda.so<br>
7fa136963000-7fa136964000 r--p 00025000 08:31 83987906 /opt/conda/lib/python3.6/site-packages/torch/lib/libc10_cuda.so<br>
7fa136964000-7fa136969000 rw-p 00026000 08:31 83987906 /opt/conda/lib/python3.6/site-packages/torch/lib/libc10_cuda.so<br>
7fa136969000-7fa137fa1000 r-xp 00000000 08:31 78482684 /opt/conda/lib/libmkl_gnu_thread.so<br>
7fa137fa1000-7fa1381a0000 ---p 01638000 08:31 78482684 /opt/conda/lib/libmkl_gnu_thread.so<br>
7fa1381a0000-7fa1381a4000 r--p 01637000 08:31 78482684 /opt/conda/lib/libmkl_gnu_thread.so<br>
7fa1381a4000-7fa1381bc000 rw-p 0163b000 08:31 78482684 /opt/conda/lib/libmkl_gnu_thread.so<br>
7fa1381bc000-7fa169a60000 r-xp 00000000 08:31 83987912 /opt/conda/lib/python3.6/site-packages/torch/lib/libtorch.so<br>
7fa169a60000-7fa169c5f000 ---p 318a4000 08:31 83987912 /opt/conda/lib/python3.6/site-packages/torch/lib/libtorch.so<br>
7fa169c5f000-7fa169da3000 r--p 318a3000 08:31 83987912 /opt/conda/lib/python3.6/site-packages/torch/lib/libtorch.so<br>
7fa169da3000-7fa169de4000 rw-p 319e7000 08:31 83987912 /opt/conda/lib/python3.6/site-packages/torch/lib/libtorch.so<br>
7fa169de4000-7fa169f33000 rw-p 00000000 00:00 0<br>
7fa169f33000-7fa169fd5000 r--p 00000000 08:31 78482743 /opt/conda/lib/libstdc++.so.6.0.26<br>
7fa169fd5000-7fa16a054000 r-xp 000a2000 08:31 78482743 /opt/conda/lib/libstdc++.so.6.0.26<br>
7fa16a054000-7fa16a095000 r--p 00121000 08:31 78482743 /opt/conda/lib/libstdc++.so.6.0.26<br>
7fa16a095000-7fa16a0a0000 r--p 00161000 08:31 78482743 /opt/conda/lib/libstdc++.so.6.0.26<br>
7fa16a0a0000-7fa16a0a4000 rw-p <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/0016c0003af25bece974a7717c23d0b7ab0be55c/hovercard" href="https://github.com/pytorch/pytorch/commit/0016c0003af25bece974a7717c23d0b7ab0be55c"><tt>0016c00</tt></a> 08:31 78482743 /opt/conda/lib/libstdc++.so.6.0.26<br>
7fa16a0a4000-7fa16a0a7000 rw-p 00000000 00:00 0<br>
7fa16a0a7000-7fa16ab20000 r-xp 00000000 08:31 83987913 /opt/conda/lib/python3.6/site-packages/torch/lib/libtorch_python.so<br>
7fa16ab20000-7fa16ad20000 ---p 00a79000 08:31 83987913 /opt/conda/lib/python3.6/site-packages/torch/lib/libtorch_python.so<br>
7fa16ad20000-7fa16ad31000 r--p 00a79000 08:31 83987913 /opt/conda/lib/python3.6/site-packages/torch/lib/libtorch_python.so<br>
7fa16ad31000-7fa16ad4d000 rw-p 00a8a000 08:31 83987913 /opt/conda/lib/python3.6/site-packages/torch/lib/libtorch_python.so<br>
7fa16ad4d000-7fa16ad9f000 rw-p 00000000 00:00 0<br>
7fa16ad9f000-7fa16ada7000 r-xp 00000000 08:31 83987911 /opt/conda/lib/python3.6/site-packages/torch/lib/libshm.so<br>
7fa16ada7000-7fa16afa7000 ---p 00008000 08:31 83987911 /opt/conda/lib/python3.6/site-packages/torch/lib/libshm.so<br>
7fa16afa7000-7fa16afa8000 r--p 00008000 08:31 83987911 /opt/conda/lib/python3.6/site-packages/torch/lib/libshm.so<br>
7fa16afa8000-7fa16afa9000 rw-p 00009000 08:31 83987911 /opt/conda/lib/python3.6/site-packages/torch/lib/libshm.so<br>
7fa16afa9000-7fa16afaa000 r--p 00000000 08:31 83594736 /opt/conda/lib/python3.6/site-packages/torch/_C.cpython-36m-x86_64-linux-gnu.so<br>
7fa16afaa000-7fa16afab000 r-xp 00001000 08:31 83594736 /opt/conda/lib/python3.6/site-packages/torch/_C.cpython-36m-x86_64-linux-gnu.so<br>
7fa16afab000-7fa16afac000 r--p 00002000 08:31 83594736 /opt/conda/lib/python3.6/site-packages/torch/_C.cpython-36m-x86_64-linux-gnu.so<br>
7fa16afac000-7fa16afad000 r--p 00002000 08:31 83594736 /opt/conda/lib/python3.6/site-packages/torch/_C.cpython-36m-x86_64-linux-gnu.so<br>
7fa16afad000-7fa16afae000 rw-p 00003000 08:31 83594736 /opt/conda/lib/python3.6/site-packages/torch/_C.cpython-36m-x86_64-linux-gnu.so<br>
7fa16afae000-7fa16bb38000 r-xp 00000000 08:31 78482697 /opt/conda/lib/libmkl_vml_avx2.so<br>
7fa16bb38000-7fa16bd37000 ---p 00b8a000 08:31 78482697 /opt/conda/lib/libmkl_vml_avx2.so<br>
7fa16bd37000-7fa16bd3a000 r--p 00b89000 08:31 78482697 /opt/conda/lib/libmkl_vml_avx2.so<br>
7fa16bd3a000-7fa16bd4f000 rw-p 00b8c000 08:31 78482697 /opt/conda/lib/libmkl_vml_avx2.so<br>
7fa16bd4f000-7fa16bd50000 rw-p 00000000 00:00 0<br>
7fa16bd50000-7fa16f229000 r-xp 00000000 08:31 78482670 /opt/conda/lib/libmkl_avx2.so<br>
7fa16f229000-7fa16f429000 ---p 034d9000 08:31 78482670 /opt/conda/lib/libmkl_avx2.so<br>
7fa16f429000-7fa16f430000 r--p 034d9000 08:31 78482670 /opt/conda/lib/libmkl_avx2.so<br>
7fa16f430000-7fa16f43e000 rw-p 034e0000 08:31 78482670 /opt/conda/lib/libmkl_avx2.so<br>
7fa16f43e000-7fa16f445000 rw-p 00000000 00:00 0<br>
7fa16f445000-7fa16fda4000 r-xp 00000000 08:31 78482686 /opt/conda/lib/libmkl_intel_lp64.so<br>
7fa16fda4000-7fa16ffa4000 ---p 0095f000 08:31 78482686 /opt/conda/lib/libmkl_intel_lp64.so<br>
7fa16ffa4000-7fa16ffa5000 r--p 0095f000 08:31 78482686 /opt/conda/lib/libmkl_intel_lp64.so<br>
7fa16ffa5000-7fa16ffb8000 rw-p 00960000 08:31 78482686 /opt/conda/lib/libmkl_intel_lp64.so<br>
7fa16ffb8000-7fa16ffbd000 rw-p 00000000 00:00 0<br>
7fa16ffbd000-7fa172026000 r-xp 00000000 08:31 78482687 /opt/conda/lib/libmkl_intel_thread.so<br>
7fa172026000-7fa172226000 ---p 02069000 08:31 78482687 /opt/conda/lib/libmkl_intel_thread.so<br>
7fa172226000-7fa17222a000 r--p 02069000 08:31 78482687 /opt/conda/lib/libmkl_intel_thread.so<br>
7fa17222a000-7fa172490000 rw-p 0206d000 08:31 78482687 /opt/conda/lib/libmkl_intel_thread.so<br>
7fa172490000-7fa172499000 rw-p 00000000 00:00 0<br>
7fa172499000-7fa176513000 r-xp 00000000 08:31 78482680 /opt/conda/lib/libmkl_core.so<br>
7fa176513000-7fa176712000 ---p 0407a000 08:31 78482680 /opt/conda/lib/libmkl_core.so<br>
7fa176712000-7fa176719000 r--p 04079000 08:31 78482680 /opt/conda/lib/libmkl_core.so<br>
7fa176719000-7fa176747000 rw-p 04080000 08:31 78482680 /opt/conda/lib/libmkl_core.so<br>
7fa176747000-7fa1768ae000 rw-p 00000000 00:00 0<br>
7fa1768ae000-7fa1768bb000 r--p 00000000 08:31 79793411 /opt/conda/lib/python3.6/site-packages/numpy/random/generator.cpython-36m-x86_64-linux-gnu.so<br>
7fa1768bb000-7fa176914000 r-xp 0000d000 08:31 79793411 /opt/conda/lib/python3.6/site-packages/numpy/random/generator.cpython-36m-x86_64-linux-gnu.so<br>
7fa176914000-7fa176940000 r--p 00066000 08:31 79793411 /opt/conda/lib/python3.6/site-packages/numpy/random/generator.cpython-36m-x86_64-linux-gnu.so<br>
7fa176940000-7fa176941000 ---p 00092000 08:31 79793411 /opt/conda/lib/python3.6/site-packages/numpy/random/generator.cpython-36m-x86_64-linux-gnu.so<br>
7fa176941000-7fa176942000 r--p 00092000 08:31 79793411 /opt/conda/lib/python3.6/site-packages/numpy/random/generator.cpython-36m-x86_64-linux-gnu.so<br>
7fa176942000-7fa176964000 rw-p 00093000 08:31 79793411 /opt/conda/lib/python3.6/site-packages/numpy/random/generator.cpython-36m-x86_64-linux-gnu.so<br>
7fa176964000-7fa176966000 rw-p 00000000 00:00 0<br>
7fa176966000-7fa17696a000 r--p 00000000 08:31 79793418 /opt/conda/lib/python3.6/site-packages/numpy/random/sfc64.cpython-36m-x86_64-linux-gnu.so<br>
7fa17696a000-7fa176971000 r-xp 00004000 08:31 79793418 /opt/conda/lib/python3.6/site-packages/numpy/random/sfc64.cpython-36m-x86_64-linux-gnu.so<br>
7fa176971000-7fa176974000 r--p 0000b000 08:31 79793418 /opt/conda/lib/python3.6/site-packages/numpy/random/sfc64.cpython-36m-x86_64-linux-gnu.so<br>
7fa176974000-7fa176975000 r--p 0000d000 08:31 79793418 /opt/conda/lib/python3.6/site-packages/numpy/random/sfc64.cpython-36m-x86_64-linux-gnu.so<br>
7fa176975000-7fa176976000 rw-p 0000e000 08:31 79793418 /opt/conda/lib/python3.6/site-packages/numpy/random/sfc64.cpython-36m-x86_64-linux-gnu.so<br>
7fa176976000-7fa17697a000 r--p 00000000 08:31 79793415 /opt/conda/lib/python3.6/site-packages/numpy/random/pcg64.cpython-36m-x86_64-linux-gnu.so<br>
7fa17697a000-7fa176984000 r-xp 00004000 08:31 79793415 /opt/conda/lib/python3.6/site-packages/numpy/random/pcg64.cpython-36m-x86_64-linux-gnu.so<br>
7fa176984000-7fa176987000 r--p 0000e000 08:31 79793415 /opt/conda/lib/python3.6/site-packages/numpy/random/pcg64.cpython-36m-x86_64-linux-gnu.so<br>
7fa176987000-7fa176988000 r--p 00010000 08:31 79793415 /opt/conda/lib/python3.6/site-packages/numpy/random/pcg64.cpython-36m-x86_64-linux-gnu.so<br>
7fa176988000-7fa17698a000 rw-p 00011000 08:31 79793415 /opt/conda/lib/python3.6/site-packages/numpy/random/pcg64.cpython-36m-x86_64-linux-gnu.so<br>
7fa17698a000-7fa17698e000 r--p 00000000 08:31 79793416 /opt/conda/lib/python3.6/site-packages/numpy/random/philox.cpython-36m-x86_64-linux-gnu.so<br>
7fa17698e000-7fa17699b000 r-xp 00004000 08:31 79793416 /opt/conda/lib/python3.6/site-packages/numpy/random/philox.cpython-36m-x86_64-linux-gnu.so<br>
7fa17699b000-7fa17699f000 r--p 00011000 08:31 79793416 /opt/conda/lib/python3.6/site-packages/numpy/random/philox.cpython-36m-x86_64-linux-gnu.so<br>
7fa17699f000-7fa1769a0000 r--p 00014000 08:31 79793416 /opt/conda/lib/python3.6/site-packages/numpy/random/philox.cpython-36m-x86_64-linux-gnu.so<br>
7fa1769a0000-7fa1769a2000 rw-p 00015000 08:31 79793416 /opt/conda/lib/python3.6/site-packages/numpy/random/philox.cpython-36m-x86_64-linux-gnu.so<br>
7fa1769a2000-7fa1769a9000 r--p 00000000 08:31 79793410 /opt/conda/lib/python3.6/site-packages/numpy/random/entropy.cpython-36m-x86_64-linux-gnu.so<br>
7fa1769a9000-7fa1769c9000 r-xp 00007000 08:31 79793410 /opt/conda/lib/python3.6/site-packages/numpy/random/entropy.cpython-36m-x86_64-linux-gnu.so<br>
7fa1769c9000-7fa1769d0000 r--p 00027000 08:31 79793410 /opt/conda/lib/python3.6/site-packages/numpy/random/entropy.cpython-36m-x86_64-linux-gnu.so<br>
7fa1769d0000-7fa1769d1000 r--p 0002d000 08:31 79793410 /opt/conda/lib/python3.6/site-packages/numpy/random/entropy.cpython-36m-x86_64-linux-gnu.so<br>
7fa1769d1000-7fa1769d4000 rw-p 0002e000 08:31 79793410 /opt/conda/lib/python3.6/site-packages/numpy/random/entropy.cpython-36m-x86_64-linux-gnu.so<br>
7fa1769d4000-7fa1769d5000 rw-p 00000000 00:00 0<br>
7fa1769d5000-7fa1769d7000 r--p 00000000 08:31 78745064 /opt/conda/lib/python3.6/lib-dynload/_random.cpython-36m-x86_64-linux-gnu.so<br>
7fa1769d7000-7fa1769d9000 r-xp 00002000 08:31 78745064 /opt/conda/lib/python3.6/lib-dynload/_random.cpython-36m-x86_64-linux-gnu.so<br>
7fa1769d9000-7fa1769da000 r--p 00004000 08:31 78745064 /opt/conda/lib/python3.6/lib-dynload/_random.cpython-36m-x86_64-linux-gnu.so<br>
7fa1769da000-7fa1769db000 r--p 00004000 08:31 78745064 /opt/conda/lib/python3.6/lib-dynload/_random.cpython-36m-x86_64-linux-gnu.so<br>
7fa1769db000-7fa1769dc000 rw-p 00005000 08:31 78745064 /opt/conda/lib/python3.6/lib-dynload/_random.cpython-36m-x86_64-linux-gnu.so<br>
7fa1769dc000-7fa1769dd000 r--p 00000000 08:31 78745035 /opt/conda/lib/python3.6/lib-dynload/_bisect.cpython-36m-x86_64-linux-gnu.so<br>
7fa1769dd000-7fa1769de000 r-xp 00001000 08:31 78745035 /opt/conda/lib/python3.6/lib-dynload/_bisect.cpython-36m-x86_64-linux-gnu.so<br>
7fa1769de000-7fa1769df000 r--p 00002000 08:31 78745035 /opt/conda/lib/python3.6/lib-dynload/_bisect.cpython-36m-x86_64-linux-gnu.so<br>
7fa1769df000-7fa1769e0000 r--p 00002000 08:31 78745035 /opt/conda/lib/python3.6/lib-dynload/_bisect.cpython-36m-x86_64-linux-gnu.so<br>
7fa1769e0000-7fa1769e1000 rw-p 00003000 08:31 78745035 /opt/conda/lib/python3.6/lib-dynload/_bisect.cpython-36m-x86_64-linux-gnu.so<br>
7fa1769e1000-7fa1769e4000 r--p 00000000 08:31 78745067 /opt/conda/lib/python3.6/lib-dynload/_sha3.cpython-36m-x86_64-linux-gnu.so<br>
7fa1769e4000-7fa1769f7000 r-xp 00003000 08:31 78745067 /opt/conda/lib/python3.6/lib-dynload/_sha3.cpython-36m-x86_64-linux-gnu.so<br>
7fa1769f7000-7fa1769f8000 r--p 00016000 08:31 78745067 /opt/conda/lib/python3.6/lib-dynload/_sha3.cpython-36m-x86_64-linux-gnu.so<br>
7fa1769f8000-7fa1769f9000 ---p 00017000 08:31 78745067 /opt/conda/lib/python3.6/lib-dynload/_sha3.cpython-36m-x86_64-linux-gnu.so<br>
7fa1769f9000-7fa1769fa000 r--p 00017000 08:31 78745067 /opt/conda/lib/python3.6/lib-dynload/_sha3.cpython-36m-x86_64-linux-gnu.so<br>
7fa1769fa000-7fa1769fc000 rw-p 00018000 08:31 78745067 /opt/conda/lib/python3.6/lib-dynload/_sha3.cpython-36m-x86_64-linux-gnu.so<br>
7fa1769fc000-7fa1769fe000 r--p 00000000 08:31 78745036 /opt/conda/lib/python3.6/lib-dynload/_blake2.cpython-36m-x86_64-linux-gnu.so<br>
7fa1769fe000-7fa176a08000 r-xp 00002000 08:31 78745036 /opt/conda/lib/python3.6/lib-dynload/_blake2.cpython-36m-x86_64-linux-gnu.so<br>
7fa176a08000-7fa176a09000 r--p 0000c000 08:31 78745036 /opt/conda/lib/python3.6/lib-dynload/_blake2.cpython-36m-x86_64-linux-gnu.so<br>
7fa176a09000-7fa176a0a000 ---p 0000d000 08:31 78745036 /opt/conda/lib/python3.6/lib-dynload/_blake2.cpython-36m-x86_64-linux-gnu.so<br>
7fa176a0a000-7fa176a0b000 r--p 0000d000 08:31 78745036 /opt/conda/lib/python3.6/lib-dynload/_blake2.cpython-36m-x86_64-linux-gnu.so<br>
7fa176a0b000-7fa176a0c000 rw-p 0000e000 08:31 78745036 /opt/conda/lib/python3.6/lib-dynload/_blake2.cpython-36m-x86_64-linux-gnu.so<br>
7fa176a0c000-7fa176a87000 r--p 00000000 08:31 78482609 /opt/conda/lib/libcrypto.so.1.1<br>
7fa176a87000-7fa176bfd000 r-xp 0007b000 08:31 78482609 /opt/conda/lib/libcrypto.so.1.1<br>
7fa176bfd000-7fa176c88000 r--p 001f1000 08:31 78482609 /opt/conda/lib/libcrypto.so.1.1<br>
7fa176c88000-7fa176c89000 ---p 0027c000 08:31 78482609 /opt/conda/lib/libcrypto.so.1.1<br>
7fa176c89000-7fa176cb4000 r--p 0027c000 08:31 78482609 /opt/conda/lib/libcrypto.so.1.1<br>
7fa176cb4000-7fa176cb6000 rw-p 002a7000 08:31 78482609 /opt/conda/lib/libcrypto.so.1.1<br>
7fa176cb6000-7fa176cba000 rw-p 00000000 00:00 0<br>
7fa176cba000-7fa176cbc000 r--p 00000000 08:31 78745053 /opt/conda/lib/python3.6/lib-dynload/_hashlib.cpython-36m-x86_64-linux-gnu.so<br>
7fa176cbc000-7fa176cbf000 r-xp 00002000 08:31 78745053 /opt/conda/lib/python3.6/lib-dynload/_hashlib.cpython-36m-x86_64-linux-gnu.so<br>
7fa176cbf000-7fa176cc0000 r--p 00005000 08:31 78745053 /opt/conda/lib/python3.6/lib-dynload/_hashlib.cpython-36m-x86_64-linux-gnu.so<br>
7fa176cc0000-7fa176cc1000 ---p 00006000 08:31 78745053 /opt/conda/lib/python3.6/lib-dynload/_hashlib.cpython-36m-x86_64-linux-gnu.so<br>
7fa176cc1000-7fa176cc2000 r--p 00006000 08:31 78745053 /opt/conda/lib/python3.6/lib-dynload/_hashlib.cpython-36m-x86_64-linux-gnu.so<br>
7fa176cc2000-7fa176cc3000 rw-p 00007000 08:31 78745053 /opt/conda/lib/python3.6/lib-dynload/_hashlib.cpython-36m-x86_64-linux-gnu.so<br>
7fa176cc3000-7fa176cc5000 r--p 00000000 08:31 78745080 /opt/conda/lib/python3.6/lib-dynload/binascii.cpython-36m-x86_64-linux-gnu.so<br>
7fa176cc5000-7fa176cc8000 r-xp 00002000 08:31 78745080 /opt/conda/lib/python3.6/lib-dynload/binascii.cpython-36m-x86_64-linux-gnu.so<br>
7fa176cc8000-7fa176cca000 r--p 00005000 08:31 78745080 /opt/conda/lib/python3.6/lib-dynload/binascii.cpython-36m-x86_64-linux-gnu.so<br>
7fa176cca000-7fa176ccb000 r--p 00006000 08:31 78745080 /opt/conda/lib/python3.6/lib-dynload/binascii.cpython-36m-x86_64-linux-gnu.so<br>
7fa176ccb000-7fa176ccc000 rw-p 00007000 08:31 78745080 /opt/conda/lib/python3.6/lib-dynload/binascii.cpython-36m-x86_64-linux-gnu.so<br>
7fa176ccc000-7fa176cd3000 r--p 00000000 08:31 79793405 /opt/conda/lib/python3.6/site-packages/numpy/random/bit_generator.cpython-36m-x86_64-linux-gnu.so<br>
7fa176cd3000-7fa176ced000 r-xp 00007000 08:31 79793405 /opt/conda/lib/python3.6/site-packages/numpy/random/bit_generator.cpython-36m-x86_64-linux-gnu.so<br>
7fa176ced000-7fa176cf5000 r--p 00021000 08:31 79793405 /opt/conda/lib/python3.6/site-packages/numpy/random/bit_generator.cpython-36m-x86_64-linux-gnu.so<br>
7fa176cf5000-7fa176cf6000 r--p 00028000 08:31 79793405 /opt/conda/lib/python3.6/site-packages/numpy/random/bit_generator.cpython-36m-x86_64-linux-gnu.so<br>
7fa176cf6000-7fa176cfb000 rw-p 00029000 08:31 79793405 /opt/conda/lib/python3.6/site-packages/numpy/random/bit_generator.cpython-36m-x86_64-linux-gnu.so<br>
7fa176cfb000-7fa176cff000 r--p 00000000 08:31 79793413 /opt/conda/lib/python3.6/site-packages/numpy/random/mt19937.cpython-36m-x86_64-linux-gnu.so<br>
7fa176cff000-7fa176d0f000 r-xp 00004000 08:31 79793413 /opt/conda/lib/python3.6/site-packages/numpy/random/mt19937.cpython-36m-x86_64-linux-gnu.so<br>
7fa176d0f000-7fa176d17000 r--p 00014000 08:31 79793413 /opt/conda/lib/python3.6/site-packages/numpy/random/mt19937.cpython-36m-x86_64-linux-gnu.so<br>
7fa176d17000-7fa176d18000 ---p 0001c000 08:31 79793413 /opt/conda/lib/python3.6/site-packages/numpy/random/mt19937.cpython-36m-x86_64-linux-gnu.so<br>
7fa176d18000-7fa176d19000 r--p 0001c000 08:31 79793413 /opt/conda/lib/python3.6/site-packages/numpy/random/mt19937.cpython-36m-x86_64-linux-gnu.so<br>
7fa176d19000-7fa176d1b000 rw-p 0001d000 08:31 79793413 /opt/conda/lib/python3.6/site-packages/numpy/random/mt19937.cpython-36m-x86_64-linux-gnu.so<br>
7fa176d1b000-7fa176d20000 r--p 00000000 08:31 79793407 /opt/conda/lib/python3.6/site-packages/numpy/random/bounded_integers.cpython-36m-x86_64-linux-gnu.so<br>
7fa176d20000-7fa176d6c000 r-xp 00005000 08:31 79793407 /opt/conda/lib/python3.6/site-packages/numpy/random/bounded_integers.cpython-36m-x86_64-linux-gnu.so<br>
7fa176d6c000-7fa176d75000 r--p 00051000 08:31 79793407 /opt/conda/lib/python3.6/site-packages/numpy/random/bounded_integers.cpython-36m-x86_64-linux-gnu.so<br>
7fa176d75000-7fa176d76000 r--p 00059000 08:31 79793407 /opt/conda/lib/python3.6/site-packages/numpy/random/bounded_integers.cpython-36m-x86_64-linux-gnu.so<br>
7fa176d76000-7fa176d77000 rw-p 0005a000 08:31 79793407 /opt/conda/lib/python3.6/site-packages/numpy/random/bounded_integers.cpython-36m-x86_64-linux-gnu.so<br>
7fa176d77000-7fa176db8000 rw-p 00000000 00:00 0<br>
7fa176db8000-7fa176dbc000 r--p 00000000 08:31 79793408 /opt/conda/lib/python3.6/site-packages/numpy/random/common.cpython-36m-x86_64-linux-gnu.so<br>
7fa176dbc000-7fa176ded000 r-xp 00004000 08:31 79793408 /opt/conda/lib/python3.6/site-packages/numpy/random/common.cpython-36m-x86_64-linux-gnu.so<br>
7fa176ded000-7fa176df0000 r--p 00035000 08:31 79793408 /opt/conda/lib/python3.6/site-packages/numpy/random/common.cpython-36m-x86_64-linux-gnu.so<br>
7fa176df0000-7fa176df1000 ---p 00038000 08:31 79793408 /opt/conda/lib/python3.6/site-packages/numpy/random/common.cpython-36m-x86_64-linux-gnu.so<br>
7fa176df1000-7fa176df2000 r--p 00038000 08:31 79793408 /opt/conda/lib/python3.6/site-packages/numpy/random/common.cpython-36m-x86_64-linux-gnu.so<br>
7fa176df2000-7fa176df4000 rw-p 00039000 08:31 79793408 /opt/conda/lib/python3.6/site-packages/numpy/random/common.cpython-36m-x86_64-linux-gnu.so<br>
7fa176df4000-7fa176e00000 r--p 00000000 08:31 79793414 /opt/conda/lib/python3.6/site-packages/numpy/random/mtrand.cpython-36m-x86_64-linux-gnu.so<br>
7fa176e00000-7fa176e48000 r-xp 0000c000 08:31 79793414 /opt/conda/lib/python3.6/site-packages/numpy/random/mtrand.cpython-36m-x86_64-linux-gnu.so<br>
7fa176e48000-7fa176e71000 r--p 00054000 08:31 79793414 /opt/conda/lib/python3.6/site-packages/numpy/random/mtrand.cpython-36m-x86_64-linux-gnu.so<br>
7fa176e71000-7fa176e72000 ---p 0007d000 08:31 79793414 /opt/conda/lib/python3.6/site-packages/numpy/random/mtrand.cpython-36m-x86_64-linux-gnu.so<br>
7fa176e72000-7fa176e73000 r--p 0007d000 08:31 79793414 /opt/conda/lib/python3.6/site-packages/numpy/random/mtrand.cpython-36m-x86_64-linux-gnu.so<br>
7fa176e73000-7fa176e96000 rw-p 0007e000 08:31 79793414 /opt/conda/lib/python3.6/site-packages/numpy/random/mtrand.cpython-36m-x86_64-linux-gnu.so<br>
7fa176e96000-7fa176ed8000 rw-p 00000000 00:00 0<br>
7fa176ed8000-7fa176ee0000 r--p 00000000 08:31 79531601 /opt/conda/lib/python3.6/site-packages/mkl_fft/_pydfti.cpython-36m-x86_64-linux-gnu.so<br>
7fa176ee0000-7fa176f24000 r-xp 00008000 08:31 79531601 /opt/conda/lib/python3.6/site-packages/mkl_fft/_pydfti.cpython-36m-x86_64-linux-gnu.so<br>
7fa176f24000-7fa176f2a000 r--p 0004c000 08:31 79531601 /opt/conda/lib/python3.6/site-packages/mkl_fft/_pydfti.cpython-36m-x86_64-linux-gnu.so<br>
7fa176f2a000-7fa176f2b000 ---p 00052000 08:31 79531601 /opt/conda/lib/python3.6/site-packages/mkl_fft/_pydfti.cpython-36m-x86_64-linux-gnu.so<br>
7fa176f2b000-7fa176f2c000 r--p 00052000 08:31 79531601 /opt/conda/lib/python3.6/site-packages/mkl_fft/_pydfti.cpython-36m-x86_64-linux-gnu.so<br>
7fa176f2c000-7fa176f30000 rw-p 00053000 08:31 79531601 /opt/conda/lib/python3.6/site-packages/mkl_fft/_pydfti.cpython-36m-x86_64-linux-gnu.so<br>
7fa176f30000-7fa176f31000 rw-p 00000000 00:00 0<br>
7fa176f31000-7fa176f32000 r--p 00000000 08:31 79662705 /opt/conda/lib/python3.6/site-packages/numpy/fft/pocketfft_internal.cpython-36m-x86_64-linux-gnu.so<br>
7fa176f32000-7fa176f44000 r-xp 00001000 08:31 79662705 /opt/conda/lib/python3.6/site-packages/numpy/fft/pocketfft_internal.cpython-36m-x86_64-linux-gnu.so<br>
7fa176f44000-7fa176f46000 r--p 00013000 08:31 79662705 /opt/conda/lib/python3.6/site-packages/numpy/fft/pocketfft_internal.cpython-36m-x86_64-linux-gnu.so<br>
7fa176f46000-7fa176f47000 r--p 00014000 08:31 79662705 /opt/conda/lib/python3.6/site-packages/numpy/fft/pocketfft_internal.cpython-36m-x86_64-linux-gnu.so<br>
7fa176f47000-7fa176f48000 rw-p 00015000 08:31 79662705 /opt/conda/lib/python3.6/site-packages/numpy/fft/pocketfft_internal.cpython-36m-x86_64-linux-gnu.so<br>
7fa176f48000-7fa176f88000 rw-p 00000000 00:00 0<br>
7fa176f88000-7fa176f8f000 r--p 00000000 08:31 78745051 /opt/conda/lib/python3.6/lib-dynload/_decimal.cpython-36m-x86_64-linux-gnu.so<br>
7fa176f8f000-7fa176fc3000 r-xp 00007000 08:31 78745051 /opt/conda/lib/python3.6/lib-dynload/_decimal.cpython-36m-x86_64-linux-gnu.so<br>
7fa176fc3000-7fa176fcd000 r--p 0003b000 08:31 78745051 /opt/conda/lib/python3.6/lib-dynload/_decimal.cpython-36m-x86_64-linux-gnu.so<br>
7fa176fcd000-7fa176fce000 r--p 00044000 08:31 78745051 /opt/conda/lib/python3.6/lib-dynload/_decimal.cpython-36m-x86_64-linux-gnu.so<br>
7fa176fce000-7fa176fd6000 rw-p 00045000 08:31 78745051 /opt/conda/lib/python3.6/lib-dynload/_decimal.cpython-36m-x86_64-linux-gnu.so<br>
7fa176fd6000-7fa176fd8000 r--p 00000000 08:31 78745083 /opt/conda/lib/python3.6/lib-dynload/grp.cpython-36m-x86_64-linux-gnu.so<br>
7fa176fd8000-7fa176fd9000 r-xp 00002000 08:31 78745083 /opt/conda/lib/python3.6/lib-dynload/grp.cpython-36m-x86_64-linux-gnu.so<br>
7fa176fd9000-7fa176fda000 r--p 00003000 08:31 78745083 /opt/conda/lib/python3.6/lib-dynload/grp.cpython-36m-x86_64-linux-gnu.so<br>
7fa176fda000-7fa176fdb000 r--p 00003000 08:31 78745083 /opt/conda/lib/python3.6/lib-dynload/grp.cpython-36m-x86_64-linux-gnu.so<br>
7fa176fdb000-7fa176fdc000 rw-p 00004000 08:31 78745083 /opt/conda/lib/python3.6/lib-dynload/grp.cpython-36m-x86_64-linux-gnu.so<br>
7fa176fdc000-7fa177001000 r-xp 00000000 08:31 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/784826562a20668ee588675e8c30d66c5b4ecec2/hovercard" href="https://github.com/pytorch/pytorch/commit/784826562a20668ee588675e8c30d66c5b4ecec2"><tt>7848265</tt></a> /opt/conda/lib/liblzma.so.5.2.4<br>
7fa177001000-7fa177200000 ---p 00025000 08:31 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/784826562a20668ee588675e8c30d66c5b4ecec2/hovercard" href="https://github.com/pytorch/pytorch/commit/784826562a20668ee588675e8c30d66c5b4ecec2"><tt>7848265</tt></a> /opt/conda/lib/liblzma.so.5.2.4<br>
7fa177200000-7fa177201000 r--p 00024000 08:31 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/784826562a20668ee588675e8c30d66c5b4ecec2/hovercard" href="https://github.com/pytorch/pytorch/commit/784826562a20668ee588675e8c30d66c5b4ecec2"><tt>7848265</tt></a> /opt/conda/lib/liblzma.so.5.2.4<br>
7fa177201000-7fa177202000 rw-p 00025000 08:31 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/784826562a20668ee588675e8c30d66c5b4ecec2/hovercard" href="https://github.com/pytorch/pytorch/commit/784826562a20668ee588675e8c30d66c5b4ecec2"><tt>7848265</tt></a> /opt/conda/lib/liblzma.so.5.2.4<br>
7fa177202000-7fa177205000 r--p 00000000 08:31 78745057 /opt/conda/lib/python3.6/lib-dynload/_lzma.cpython-36m-x86_64-linux-gnu.so<br>
7fa177205000-7fa177209000 r-xp 00003000 08:31 78745057 /opt/conda/lib/python3.6/lib-dynload/_lzma.cpython-36m-x86_64-linux-gnu.so<br>
7fa177209000-7fa17720b000 r--p 00007000 08:31 78745057 /opt/conda/lib/python3.6/lib-dynload/_lzma.cpython-36m-x86_64-linux-gnu.so<br>
7fa17720b000-7fa17720c000 r--p 00008000 08:31 78745057 /opt/conda/lib/python3.6/lib-dynload/_lzma.cpython-36m-x86_64-linux-gnu.so<br>
7fa17720c000-7fa17720e000 rw-p 00009000 08:31 78745057 /opt/conda/lib/python3.6/lib-dynload/_lzma.cpython-36m-x86_64-linux-gnu.so<br>
7fa17720e000-7fa177211000 r--p 00000000 08:31 78745037 /opt/conda/lib/python3.6/lib-dynload/_bz2.cpython-36m-x86_64-linux-gnu.so<br>
7fa177211000-7fa177220000 r-xp 00003000 08:31 78745037 /opt/conda/lib/python3.6/lib-dynload/_bz2.cpython-36m-x86_64-linux-gnu.so<br>
7fa177220000-7fa177222000 r--p 00012000 08:31 78745037 /opt/conda/lib/python3.6/lib-dynload/_bz2.cpython-36m-x86_64-linux-gnu.so<br>
7fa177222000-7fa177223000 ---p 00014000 08:31 78745037 /opt/conda/lib/python3.6/lib-dynload/_bz2.cpython-36m-x86_64-linux-gnu.so<br>
7fa177223000-7fa177224000 r--p 00014000 08:31 78745037 /opt/conda/lib/python3.6/lib-dynload/_bz2.cpython-36m-x86_64-linux-gnu.so<br>
7fa177224000-7fa177226000 rw-p 00015000 08:31 78745037 /opt/conda/lib/python3.6/lib-dynload/_bz2.cpython-36m-x86_64-linux-gnu.so<br>
7fa177226000-7fa177229000 r--p 00000000 08:31 78482774 /opt/conda/lib/libz.so.1.2.11<br>
7fa177229000-7fa17723d000 r-xp 00003000 08:31 78482774 /opt/conda/lib/libz.so.1.2.11<br>
7fa17723d000-7fa177244000 r--p 00017000 08:31 78482774 /opt/conda/lib/libz.so.1.2.11<br>
7fa177244000-7fa177245000 r--p 0001d000 08:31 78482774 /opt/conda/lib/libz.so.1.2.11<br>
7fa177245000-7fa177246000 rw-p 0001e000 08:31 78482774 /opt/conda/lib/libz.so.1.2.11<br>
7fa177246000-7fa177248000 r--p 00000000 08:31 78745098 /opt/conda/lib/python3.6/lib-dynload/zlib.cpython-36m-x86_64-linux-gnu.so<br>
7fa177248000-7fa17724c000 r-xp 00002000 08:31 78745098 /opt/conda/lib/python3.6/lib-dynload/zlib.cpython-36m-x86_64-linux-gnu.so<br>
7fa17724c000-7fa17724d000 r--p 00006000 08:31 78745098 /opt/conda/lib/python3.6/lib-dynload/zlib.cpython-36m-x86_64-linux-gnu.so<br>
7fa17724d000-7fa17724e000 ---p 00007000 08:31 78745098 /opt/conda/lib/python3.6/lib-dynload/zlib.cpython-36m-x86_64-linux-gnu.so<br>
7fa17724e000-7fa17724f000 r--p 00007000 08:31 78745098 /opt/conda/lib/python3.6/lib-dynload/zlib.cpython-36m-x86_64-linux-gnu.so<br>
7fa17724f000-7fa177251000 rw-p 00008000 08:31 78745098 /opt/conda/lib/python3.6/lib-dynload/zlib.cpython-36m-x86_64-linux-gnu.so<br>
7fa177251000-7fa177311000 rw-p 00000000 00:00 0<br>
7fa177311000-7fa177319000 r--p 00000000 08:31 79793272 /opt/conda/lib/python3.6/site-packages/numpy/linalg/_umath_linalg.cpython-36m-x86_64-linux-gnu.so<br>
7fa177319000-7fa177334000 r-xp 00008000 08:31 79793272 /opt/conda/lib/python3.6/site-packages/numpy/linalg/_umath_linalg.cpython-36m-x86_64-linux-gnu.so<br>
7fa177334000-7fa177339000 r--p 00023000 08:31 79793272 /opt/conda/lib/python3.6/site-packages/numpy/linalg/_umath_linalg.cpython-36m-x86_64-linux-gnu.so<br>
7fa177339000-7fa17733a000 ---p 00028000 08:31 79793272 /opt/conda/lib/python3.6/site-packages/numpy/linalg/_umath_linalg.cpython-36m-x86_64-linux-gnu.so<br>
7fa17733a000-7fa17733b000 r--p 00028000 08:31 79793272 /opt/conda/lib/python3.6/site-packages/numpy/linalg/_umath_linalg.cpython-36m-x86_64-linux-gnu.so<br>
7fa17733b000-7fa17733c000 rw-p 00029000 08:31 79793272 /opt/conda/lib/python3.6/site-packages/numpy/linalg/_umath_linalg.cpython-36m-x86_64-linux-gnu.so<br>
7fa17733c000-7fa17733d000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa17733d000-7fa17733e000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa17733e000-7fa17733f000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa17733f000-7fa177340000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa177340000-7fa177341000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa177341000-7fa177342000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa177342000-7fa177344000 r--p 00000000 08:31 78745045 /opt/conda/lib/python3.6/lib-dynload/_csv.cpython-36m-x86_64-linux-gnu.so<br>
7fa177344000-7fa177348000 r-xp 00002000 08:31 78745045 /opt/conda/lib/python3.6/lib-dynload/_csv.cpython-36m-x86_64-linux-gnu.so<br>
7fa177348000-7fa177349000 r--p 00006000 08:31 78745045 /opt/conda/lib/python3.6/lib-dynload/_csv.cpython-36m-x86_64-linux-gnu.so<br>
7fa177349000-7fa17734a000 ---p 00007000 08:31 78745045 /opt/conda/lib/python3.6/lib-dynload/_csv.cpython-36m-x86_64-linux-gnu.so<br>
7fa17734a000-7fa17734b000 r--p 00007000 08:31 78745045 /opt/conda/lib/python3.6/lib-dynload/_csv.cpython-36m-x86_64-linux-gnu.so<br>
7fa17734b000-7fa17734d000 rw-p 00008000 08:31 78745045 /opt/conda/lib/python3.6/lib-dynload/_csv.cpython-36m-x86_64-linux-gnu.so<br>
7fa17734d000-7fa17740d000 rw-p 00000000 00:00 0<br>
7fa17740d000-7fa177416000 r--p 00000000 08:31 79662234 /opt/conda/lib/python3.6/site-packages/numpy/core/_multiarray_tests.cpython-36m-x86_64-linux-gnu.so<br>
7fa177416000-7fa177428000 r-xp 00009000 08:31 79662234 /opt/conda/lib/python3.6/site-packages/numpy/core/_multiarray_tests.cpython-36m-x86_64-linux-gnu.so<br>
7fa177428000-7fa17742d000 r--p 0001b000 08:31 79662234 /opt/conda/lib/python3.6/site-packages/numpy/core/_multiarray_tests.cpython-36m-x86_64-linux-gnu.so<br>
7fa17742d000-7fa17742e000 r--p 0001f000 08:31 79662234 /opt/conda/lib/python3.6/site-packages/numpy/core/_multiarray_tests.cpython-36m-x86_64-linux-gnu.so<br>
7fa17742e000-7fa17742f000 rw-p 00020000 08:31 79662234 /opt/conda/lib/python3.6/site-packages/numpy/core/_multiarray_tests.cpython-36m-x86_64-linux-gnu.so<br>
7fa17742f000-7fa17752f000 rw-p 00000000 00:00 0<br>
7fa17752f000-7fa177534000 r--p 00000000 08:31 78745062 /opt/conda/lib/python3.6/lib-dynload/_pickle.cpython-36m-x86_64-linux-gnu.so<br>
7fa177534000-7fa177547000 r-xp 00005000 08:31 78745062 /opt/conda/lib/python3.6/lib-dynload/_pickle.cpython-36m-x86_64-linux-gnu.so<br>
7fa177547000-7fa17754b000 r--p 00018000 08:31 78745062 /opt/conda/lib/python3.6/lib-dynload/_pickle.cpython-36m-x86_64-linux-gnu.so<br>
7fa17754b000-7fa17754c000 r--p 0001b000 08:31 78745062 /opt/conda/lib/python3.6/lib-dynload/_pickle.cpython-36m-x86_64-linux-gnu.so<br>
7fa17754c000-7fa17754f000 rw-p 0001c000 08:31 78745062 /opt/conda/lib/python3.6/lib-dynload/_pickle.cpython-36m-x86_64-linux-gnu.so<br>
7fa17754f000-7fa1775cf000 rw-p 00000000 00:00 0<br>
7fa1775cf000-7fa1775fa000 r--p 00000000 08:31 79662235 /opt/conda/lib/python3.6/site-packages/numpy/core/_multiarray_umath.cpython-36m-x86_64-linux-gnu.so<br>
7fa1775fa000-7fa177883000 r-xp 0002b000 08:31 79662235 /opt/conda/lib/python3.6/site-packages/numpy/core/_multiarray_umath.cpython-36m-x86_64-linux-gnu.so<br>
7fa177883000-7fa17791a000 r--p 002b4000 08:31 79662235 /opt/conda/lib/python3.6/site-packages/numpy/core/_multiarray_umath.cpython-36m-x86_64-linux-gnu.so<br>
7fa17791a000-7fa17791e000 r--p 0034a000 08:31 79662235 /opt/conda/lib/python3.6/site-packages/numpy/core/_multiarray_umath.cpython-36m-x86_64-linux-gnu.so<br>
7fa17791e000-7fa17793b000 rw-p <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/0034e000180df558cce826b60d969a37ead61f33/hovercard" href="https://github.com/pytorch/pytorch/commit/0034e000180df558cce826b60d969a37ead61f33"><tt>0034e00</tt></a> 08:31 79662235 /opt/conda/lib/python3.6/site-packages/numpy/core/_multiarray_umath.cpython-36m-x86_64-linux-gnu.so<br>
7fa17793b000-7fa17799b000 rw-p 00000000 00:00 0<br>
7fa17799b000-7fa1779a1000 r--p 00000000 08:31 79531589 /opt/conda/lib/python3.6/site-packages/mkl/_py_mkl_service.cpython-36m-x86_64-linux-gnu.so<br>
7fa1779a1000-7fa1779b6000 r-xp 00006000 08:31 79531589 /opt/conda/lib/python3.6/site-packages/mkl/_py_mkl_service.cpython-36m-x86_64-linux-gnu.so<br>
7fa1779b6000-7fa1779b9000 r--p 0001b000 08:31 79531589 /opt/conda/lib/python3.6/site-packages/mkl/_py_mkl_service.cpython-36m-x86_64-linux-gnu.so<br>
7fa1779b9000-7fa1779ba000 ---p 0001e000 08:31 79531589 /opt/conda/lib/python3.6/site-packages/mkl/_py_mkl_service.cpython-36m-x86_64-linux-gnu.so<br>
7fa1779ba000-7fa1779bb000 r--p 0001e000 08:31 79531589 /opt/conda/lib/python3.6/site-packages/mkl/_py_mkl_service.cpython-36m-x86_64-linux-gnu.so<br>
7fa1779bb000-7fa1779be000 rw-p 0001f000 08:31 79531589 /opt/conda/lib/python3.6/site-packages/mkl/_py_mkl_service.cpython-36m-x86_64-linux-gnu.so<br>
7fa1779be000-7fa1779bf000 rw-p 00000000 00:00 0<br>
7fa1779bf000-7fa1779c2000 r--p 00000000 08:31 78482628 /opt/conda/lib/libgcc_s.so.1<br>
7fa1779c2000-7fa1779ce000 r-xp 00003000 08:31 78482628 /opt/conda/lib/libgcc_s.so.1<br>
7fa1779ce000-7fa1779d1000 r--p 0000f000 08:31 78482628 /opt/conda/lib/libgcc_s.so.1<br>
7fa1779d1000-7fa1779d2000 r--p 00011000 08:31 78482628 /opt/conda/lib/libgcc_s.so.1<br>
7fa1779d2000-7fa1779d3000 rw-p 00012000 08:31 78482628 /opt/conda/lib/libgcc_s.so.1<br>
7fa1779d3000-7fa177b83000 r-xp 00000000 08:31 78482639 /opt/conda/lib/libiomp5.so<br>
7fa177b83000-7fa177d82000 ---p 001b0000 08:31 78482639 /opt/conda/lib/libiomp5.so<br>
7fa177d82000-7fa177d85000 r--p 001af000 08:31 78482639 /opt/conda/lib/libiomp5.so<br>
7fa177d85000-7fa177d8f000 rw-p 001b2000 08:31 78482639 /opt/conda/lib/libiomp5.so<br>
7fa177d8f000-7fa177dbd000 rw-p 00000000 00:00 0<br>
7fa177dbd000-7fa178288000 r-xp 00000000 08:31 78482691 /opt/conda/lib/libmkl_rt.so<br>
7fa178288000-7fa178488000 ---p 004cb000 08:31 78482691 /opt/conda/lib/libmkl_rt.so<br>
7fa178488000-7fa17848e000 r--p 004cb000 08:31 78482691 /opt/conda/lib/libmkl_rt.so<br>
7fa17848e000-7fa178490000 rw-p 004d1000 08:31 78482691 /opt/conda/lib/libmkl_rt.so<br>
7fa178490000-7fa1784a4000 rw-p 00000000 00:00 0<br>
7fa1784a4000-7fa1784ab000 r-xp 00000000 08:31 78482618 /opt/conda/lib/libffi.so.6.0.4<br>
7fa1784ab000-7fa1786ab000 ---p 00007000 08:31 78482618 /opt/conda/lib/libffi.so.6.0.4<br>
7fa1786ab000-7fa1786ac000 r--p 00007000 08:31 78482618 /opt/conda/lib/libffi.so.6.0.4<br>
7fa1786ac000-7fa1786ad000 rw-p 00008000 08:31 78482618 /opt/conda/lib/libffi.so.6.0.4<br>
7fa1786ad000-7fa1786b5000 r--p 00000000 08:31 78745046 /opt/conda/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so<br>
7fa1786b5000-7fa1786c6000 r-xp 00008000 08:31 78745046 /opt/conda/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so<br>
7fa1786c6000-7fa1786cd000 r--p 00019000 08:31 78745046 /opt/conda/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so<br>
7fa1786cd000-7fa1786ce000 r--p 0001f000 08:31 78745046 /opt/conda/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so<br>
7fa1786ce000-7fa1786d2000 rw-p 00020000 08:31 78745046 /opt/conda/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so<br>
7fa1786d2000-7fa1787d2000 rw-p 00000000 00:00 0<br>
7fa1787d2000-7fa1787d4000 r--p 00000000 08:31 78745092 /opt/conda/lib/python3.6/lib-dynload/select.cpython-36m-x86_64-linux-gnu.so<br>
7fa1787d4000-7fa1787d8000 r-xp 00002000 08:31 78745092 /opt/conda/lib/python3.6/lib-dynload/select.cpython-36m-x86_64-linux-gnu.so<br>
7fa1787d8000-7fa1787d9000 r--p 00006000 08:31 78745092 /opt/conda/lib/python3.6/lib-dynload/select.cpython-36m-x86_64-linux-gnu.so<br>
7fa1787d9000-7fa1787da000 r--p 00006000 08:31 78745092 /opt/conda/lib/python3.6/lib-dynload/select.cpython-36m-x86_64-linux-gnu.so<br>
7fa1787da000-7fa1787dc000 rw-p 00007000 08:31 78745092 /opt/conda/lib/python3.6/lib-dynload/select.cpython-36m-x86_64-linux-gnu.so<br>
7fa1787dc000-7fa1787e1000 r--p 00000000 08:31 78745050 /opt/conda/lib/python3.6/lib-dynload/_datetime.cpython-36m-x86_64-linux-gnu.so<br>
7fa1787e1000-7fa1787f1000 r-xp 00005000 08:31 78745050 /opt/conda/lib/python3.6/lib-dynload/_datetime.cpython-36m-x86_64-linux-gnu.so<br>
7fa1787f1000-7fa1787f6000 r--p 00015000 08:31 78745050 /opt/conda/lib/python3.6/lib-dynload/_datetime.cpython-36m-x86_64-linux-gnu.so<br>
7fa1787f6000-7fa1787f7000 ---p 0001a000 08:31 78745050 /opt/conda/lib/python3.6/lib-dynload/_datetime.cpython-36m-x86_64-linux-gnu.so<br>
7fa1787f7000-7fa1787f8000 r--p 0001a000 08:31 78745050 /opt/conda/lib/python3.6/lib-dynload/_datetime.cpython-36m-x86_64-linux-gnu.so<br>
7fa1787f8000-7fa1787fa000 rw-p 0001b000 08:31 78745050 /opt/conda/lib/python3.6/lib-dynload/_datetime.cpython-36m-x86_64-linux-gnu.so<br>
7fa1787fa000-7fa17883a000 rw-p 00000000 00:00 0<br>
7fa17883a000-7fa17883b000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa17883b000-7fa17883c000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa17883c000-7fa17883e000 r--p 00000000 08:31 79793274 /opt/conda/lib/python3.6/site-packages/numpy/linalg/lapack_lite.cpython-36m-x86_64-linux-gnu.so<br>
7fa17883e000-7fa178840000 r-xp 00002000 08:31 79793274 /opt/conda/lib/python3.6/site-packages/numpy/linalg/lapack_lite.cpython-36m-x86_64-linux-gnu.so<br>
7fa178840000-7fa178841000 r--p 00004000 08:31 79793274 /opt/conda/lib/python3.6/site-packages/numpy/linalg/lapack_lite.cpython-36m-x86_64-linux-gnu.so<br>
7fa178841000-7fa178842000 r--p 00004000 08:31 79793274 /opt/conda/lib/python3.6/site-packages/numpy/linalg/lapack_lite.cpython-36m-x86_64-linux-gnu.so<br>
7fa178842000-7fa178843000 rw-p 00005000 08:31 79793274 /opt/conda/lib/python3.6/site-packages/numpy/linalg/lapack_lite.cpython-36m-x86_64-linux-gnu.so<br>
7fa178843000-7fa178983000 rw-p 00000000 00:00 0<br>
7fa178983000-7fa178a8b000 r-xp 00000000 08:31 59728410 /lib/x86_64-linux-gnu/libm-2.23.so<br>
7fa178a8b000-7fa178c8a000 ---p 00108000 08:31 59728410 /lib/x86_64-linux-gnu/libm-2.23.so<br>
7fa178c8a000-7fa178c8b000 r--p 00107000 08:31 59728410 /lib/x86_64-linux-gnu/libm-2.23.so<br>
7fa178c8b000-7fa178c8c000 rw-p 00108000 08:31 59728410 /lib/x86_64-linux-gnu/libm-2.23.so<br>
7fa178c8c000-7fa178c93000 r-xp 00000000 08:31 59728452 /lib/x86_64-linux-gnu/librt-2.23.so<br>
7fa178c93000-7fa178e92000 ---p 00007000 08:31 59728452 /lib/x86_64-linux-gnu/librt-2.23.so<br>
7fa178e92000-7fa178e93000 r--p 00006000 08:31 59728452 /lib/x86_64-linux-gnu/librt-2.23.so<br>
7fa178e93000-7fa178e94000 rw-p 00007000 08:31 59728452 /lib/x86_64-linux-gnu/librt-2.23.so<br>
7fa178e94000-7fa178e96000 r-xp 00000000 08:31 59728472 /lib/x86_64-linux-gnu/libutil-2.23.so<br>
7fa178e96000-7fa179095000 ---p 00002000 08:31 59728472 /lib/x86_64-linux-gnu/libutil-2.23.so<br>
7fa179095000-7fa179096000 r--p 00001000 08:31 59728472 /lib/x86_64-linux-gnu/libutil-2.23.so<br>
7fa179096000-7fa179097000 rw-p 00002000 08:31 59728472 /lib/x86_64-linux-gnu/libutil-2.23.so<br>
7fa179097000-7fa17909a000 r-xp 00000000 08:31 59728391 /lib/x86_64-linux-gnu/libdl-2.23.so<br>
7fa17909a000-7fa179299000 ---p 00003000 08:31 59728391 /lib/x86_64-linux-gnu/libdl-2.23.so<br>
7fa179299000-7fa17929a000 r--p 00002000 08:31 59728391 /lib/x86_64-linux-gnu/libdl-2.23.so<br>
7fa17929a000-7fa17929b000 rw-p 00003000 08:31 59728391 /lib/x86_64-linux-gnu/libdl-2.23.so<br>
7fa17929b000-7fa17945b000 r-xp 00000000 08:31 59728378 /lib/x86_64-linux-gnu/libc-2.23.so<br>
7fa17945b000-7fa17965b000 ---p 001c0000 08:31 59728378 /lib/x86_64-linux-gnu/libc-2.23.so<br>
7fa17965b000-7fa17965f000 r--p 001c0000 08:31 59728378 /lib/x86_64-linux-gnu/libc-2.23.so<br>
7fa17965f000-7fa179661000 rw-p 001c4000 08:31 59728378 /lib/x86_64-linux-gnu/libc-2.23.so<br>
7fa179661000-7fa179665000 rw-p 00000000 00:00 0<br>
7fa179665000-7fa17967d000 r-xp 00000000 08:31 59728446 /lib/x86_64-linux-gnu/libpthread-2.23.so<br>
7fa17967d000-7fa17987c000 ---p 00018000 08:31 59728446 /lib/x86_64-linux-gnu/libpthread-2.23.so<br>
7fa17987c000-7fa17987d000 r--p 00017000 08:31 59728446 /lib/x86_64-linux-gnu/libpthread-2.23.so<br>
7fa17987d000-7fa17987e000 rw-p 00018000 08:31 59728446 /lib/x86_64-linux-gnu/libpthread-2.23.so<br>
7fa17987e000-7fa179882000 rw-p 00000000 00:00 0<br>
7fa179882000-7fa1798a8000 r-xp 00000000 08:31 59728358 /lib/x86_64-linux-gnu/ld-2.23.so<br>
7fa1798a8000-7fa1798a9000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa1798a9000-7fa1798aa000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa1798aa000-7fa1798ab000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa1798ab000-7fa1798ac000 r--p 00000000 08:31 79531588 /opt/conda/lib/python3.6/site-packages/mkl/_mklinit.cpython-36m-x86_64-linux-gnu.so<br>
7fa1798ac000-7fa1798ad000 r-xp 00001000 08:31 79531588 /opt/conda/lib/python3.6/site-packages/mkl/_mklinit.cpython-36m-x86_64-linux-gnu.so<br>
7fa1798ad000-7fa1798ae000 r--p 00002000 08:31 79531588 /opt/conda/lib/python3.6/site-packages/mkl/_mklinit.cpython-36m-x86_64-linux-gnu.so<br>
7fa1798ae000-7fa1798af000 r--p 00002000 08:31 79531588 /opt/conda/lib/python3.6/site-packages/mkl/_mklinit.cpython-36m-x86_64-linux-gnu.so<br>
7fa1798af000-7fa1798b0000 rw-p 00003000 08:31 79531588 /opt/conda/lib/python3.6/site-packages/mkl/_mklinit.cpython-36m-x86_64-linux-gnu.so<br>
7fa1798b0000-7fa1798b1000 r--p 00000000 08:31 78745054 /opt/conda/lib/python3.6/lib-dynload/_heapq.cpython-36m-x86_64-linux-gnu.so<br>
7fa1798b1000-7fa1798b3000 r-xp 00001000 08:31 78745054 /opt/conda/lib/python3.6/lib-dynload/_heapq.cpython-36m-x86_64-linux-gnu.so<br>
7fa1798b3000-7fa1798b4000 r--p 00003000 08:31 78745054 /opt/conda/lib/python3.6/lib-dynload/_heapq.cpython-36m-x86_64-linux-gnu.so<br>
7fa1798b4000-7fa1798b5000 r--p 00003000 08:31 78745054 /opt/conda/lib/python3.6/lib-dynload/_heapq.cpython-36m-x86_64-linux-gnu.so<br>
7fa1798b5000-7fa1798b7000 rw-p 00004000 08:31 78745054 /opt/conda/lib/python3.6/lib-dynload/_heapq.cpython-36m-x86_64-linux-gnu.so<br>
7fa1798b7000-7fa1798f7000 rw-p 00000000 00:00 0<br>
7fa1798f7000-7fa1798f8000 rw-s 00000000 00:06 493 /dev/nvidiactl<br>
7fa1798f8000-7fa1798fa000 r--p 00000000 08:31 78745063 /opt/conda/lib/python3.6/lib-dynload/_posixsubprocess.cpython-36m-x86_64-linux-gnu.so<br>
7fa1798fa000-7fa1798fc000 r-xp 00002000 08:31 78745063 /opt/conda/lib/python3.6/lib-dynload/_posixsubprocess.cpython-36m-x86_64-linux-gnu.so<br>
7fa1798fc000-7fa1798fd000 r--p 00004000 08:31 78745063 /opt/conda/lib/python3.6/lib-dynload/_posixsubprocess.cpython-36m-x86_64-linux-gnu.so<br>
7fa1798fd000-7fa1798fe000 r--p 00004000 08:31 78745063 /opt/conda/lib/python3.6/lib-dynload/_posixsubprocess.cpython-36m-x86_64-linux-gnu.so<br>
7fa1798fe000-7fa1798ff000 rw-p 00005000 08:31 78745063 /opt/conda/lib/python3.6/lib-dynload/_posixsubprocess.cpython-36m-x86_64-linux-gnu.so<br>
7fa1798ff000-7fa179902000 r--p 00000000 08:31 78745084 /opt/conda/lib/python3.6/lib-dynload/math.cpython-36m-x86_64-linux-gnu.so<br>
7fa179902000-7fa179908000 r-xp 00003000 08:31 78745084 /opt/conda/lib/python3.6/lib-dynload/math.cpython-36m-x86_64-linux-gnu.so<br>
7fa179908000-7fa17990a000 r--p 00009000 08:31 78745084 /opt/conda/lib/python3.6/lib-dynload/math.cpython-36m-x86_64-linux-gnu.so<br>
7fa17990a000-7fa17990b000 r--p 0000a000 08:31 78745084 /opt/conda/lib/python3.6/lib-dynload/math.cpython-36m-x86_64-linux-gnu.so<br>
7fa17990b000-7fa17990d000 rw-p 0000b000 08:31 78745084 /opt/conda/lib/python3.6/lib-dynload/math.cpython-36m-x86_64-linux-gnu.so<br>
7fa17990d000-7fa179910000 r--p 00000000 08:31 78745072 /opt/conda/lib/python3.6/lib-dynload/_struct.cpython-36m-x86_64-linux-gnu.so<br>
7fa179910000-7fa179916000 r-xp 00003000 08:31 78745072 /opt/conda/lib/python3.6/lib-dynload/_struct.cpython-36m-x86_64-linux-gnu.so<br>
7fa179916000-7fa179918000 r--p 00009000 08:31 78745072 /opt/conda/lib/python3.6/lib-dynload/_struct.cpython-36m-x86_64-linux-gnu.so<br>
7fa179918000-7fa179919000 ---p 0000b000 08:31 78745072 /opt/conda/lib/python3.6/lib-dynload/_struct.cpython-36m-x86_64-linux-gnu.so<br>
7fa179919000-7fa17991a000 r--p 0000b000 08:31 78745072 /opt/conda/lib/python3.6/lib-dynload/_struct.cpython-36m-x86_64-linux-gnu.so<br>
7fa17991a000-7fa17991c000 rw-p 0000c000 08:31 78745072 /opt/conda/lib/python3.6/lib-dynload/_struct.cpython-36m-x86_64-linux-gnu.so<br>
7fa17991c000-7fa179aa1000 rw-p 00000000 00:00 0<br>
7fa179aa1000-7fa179aa2000 rwxp 00000000 00:00 0<br>
7fa179aa2000-7fa179aa3000 r--p 00000000 08:31 78745061 /opt/conda/lib/python3.6/lib-dynload/_opcode.cpython-36m-x86_64-linux-gnu.so<br>
7fa179aa3000-7fa179aa4000 r-xp 00001000 08:31 78745061 /opt/conda/lib/python3.6/lib-dynload/_opcode.cpython-36m-x86_64-linux-gnu.so<br>
7fa179aa4000-7fa179aa5000 r--p 00002000 08:31 78745061 /opt/conda/lib/python3.6/lib-dynload/_opcode.cpython-36m-x86_64-linux-gnu.so<br>
7fa179aa5000-7fa179aa6000 r--p 00002000 08:31 78745061 /opt/conda/lib/python3.6/lib-dynload/_opcode.cpython-36m-x86_64-linux-gnu.so<br>
7fa179aa6000-7fa179aa7000 rw-p 00003000 08:31 78745061 /opt/conda/lib/python3.6/lib-dynload/_opcode.cpython-36m-x86_64-linux-gnu.so<br>
7fa179aa7000-7fa179aa8000 r--p 00025000 08:31 59728358 /lib/x86_64-linux-gnu/ld-2.23.so<br>
7fa179aa8000-7fa179aa9000 rw-p 00026000 08:31 59728358 /lib/x86_64-linux-gnu/ld-2.23.so<br>
7fa179aa9000-7fa179aaa000 rw-p 00000000 00:00 0<br>
7fff4fa0b000-7fff4fa2d000 rw-p 00000000 00:00 0 [stack]<br>
7fff4fb0e000-7fff4fb11000 r--p 00000000 00:00 0 [vvar]<br>
7fff4fb11000-7fff4fb13000 r-xp 00000000 00:00 0 [vdso]<br>
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]</p>
</blockquote>
<p dir="auto">In PyTorch 1.4 it shows:</p>
<blockquote>
<p dir="auto">free(): invalid pointer</p>
</blockquote>
<p dir="auto">without other information.</p>
<h2 dir="auto">Environment</h2>
<p dir="auto">I'm using the official PyTorch Docker image to run my training. I tried both 1.3-cuda10.1-cudnn7-devel and 1.4-cuda10.1-cudnn7-devel (note that PyTorch version older than 1.3 will not successfully run the second-order gradient, in which case the grad return pl_lengths always have require_grad=False for some reason.)</p>
<p dir="auto">I’m using 4 Titan x (pascal) for data-parallel training.</p>
<h2 dir="auto">Additional context</h2> | <h2 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug</h2>
<p dir="auto">Hello, I’m running a GAN model with some second-order regularization. The training went well at the beginning and the loss decreased. However, after a random period of time, ranging from 3000-8000 updates, the segfault occurs and the training was terminated automatically.</p>
<h2 dir="auto">To Reproduce</h2>
<p dir="auto">run the following script and wait, the error will finally occur. In my case it took 2 days to occur (total number fo iteration = 443298).</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import torch
from torch.utils.data import Dataset, DataLoader
import torchvision.models as models
import torch.nn as nn
import torch.autograd as autograd
import torch.nn.functional as F
class data_gpu_prefetcher():
def __init__(self, loader, stop=False):
self.original_loader = loader
self.loader = iter(loader)
self.stream = torch.cuda.Stream()
self.stop = stop
self._count = 0
self.preload()
def preload(self):
self.next_input = next(self.loader, None)
if self.next_input is None and not self.stop:
self.loader = iter(self.original_loader)
self.next_input = next(self.loader)
with torch.cuda.stream(self.stream):
if isinstance(self.next_input, list):
self.next_input = [item.cuda(non_blocking=True) for item in self.next_input]
elif self.next_input is not None:
self.next_input = self.next_input.cuda(non_blocking=True)
def next(self):
self._count += 1
torch.cuda.current_stream().wait_stream(self.stream)
input = self.next_input
self.preload()
return input
def reset_count(self):
self._count = 0
def get_count(self):
return self._count
class RandomDataset(Dataset):
def __init__(self, size, length):
self.len = length
self.data = torch.randn(length, 3, size, size)
self.label = torch.randint(0, 10, (length,))
def __getitem__(self, index):
return self.data[index], self.label[index]
def __len__(self):
return self.len
class resnet_cls(nn.Module):
def __init__(self):
super(resnet_cls, self).__init__()
self.model = models.resnet50()
self.cls = nn.Linear(1000, 10)
self._count = 0
def forward(self, im, label, r1_reg=False):
im.requires_grad_(r1_reg)
score = self.model(im)
loss = F.nll_loss(F.log_softmax(self.cls(score), dim=1), target=label, reduction='none')
if r1_reg:
gradients = autograd.grad(
outputs=score.sum(),
inputs=im,
grad_outputs=None,
create_graph=True,
retain_graph=True,
only_inputs=True,
)[0]
gradients = gradients.view(gradients.size(0), -1)
gradient_norms = gradients.pow(2).sum(1)
loss += gradient_norms * 1
return loss
rand_loader = DataLoader(dataset=RandomDataset(224, 1000),
batch_size=32, shuffle=True)
train_loader_iterator = data_gpu_prefetcher(rand_loader, stop=False)
model = resnet_cls()
model.cuda()
model_para = nn.DataParallel(model)
opt = torch.optim.Adam(model.parameters(), lr=0.001, betas=(0., 0.99))
count = 0
while True:
r1_reg = count % 2 == 0
print(r1_reg)
count += 1
imgs, labels = train_loader_iterator.next()
loss = model_para(imgs, labels, r1_reg).mean()
opt.zero_grad()
loss.backward()
opt.step()
print(loss.item(), flush=True)"><pre class="notranslate"><code class="notranslate">import torch
from torch.utils.data import Dataset, DataLoader
import torchvision.models as models
import torch.nn as nn
import torch.autograd as autograd
import torch.nn.functional as F
class data_gpu_prefetcher():
def __init__(self, loader, stop=False):
self.original_loader = loader
self.loader = iter(loader)
self.stream = torch.cuda.Stream()
self.stop = stop
self._count = 0
self.preload()
def preload(self):
self.next_input = next(self.loader, None)
if self.next_input is None and not self.stop:
self.loader = iter(self.original_loader)
self.next_input = next(self.loader)
with torch.cuda.stream(self.stream):
if isinstance(self.next_input, list):
self.next_input = [item.cuda(non_blocking=True) for item in self.next_input]
elif self.next_input is not None:
self.next_input = self.next_input.cuda(non_blocking=True)
def next(self):
self._count += 1
torch.cuda.current_stream().wait_stream(self.stream)
input = self.next_input
self.preload()
return input
def reset_count(self):
self._count = 0
def get_count(self):
return self._count
class RandomDataset(Dataset):
def __init__(self, size, length):
self.len = length
self.data = torch.randn(length, 3, size, size)
self.label = torch.randint(0, 10, (length,))
def __getitem__(self, index):
return self.data[index], self.label[index]
def __len__(self):
return self.len
class resnet_cls(nn.Module):
def __init__(self):
super(resnet_cls, self).__init__()
self.model = models.resnet50()
self.cls = nn.Linear(1000, 10)
self._count = 0
def forward(self, im, label, r1_reg=False):
im.requires_grad_(r1_reg)
score = self.model(im)
loss = F.nll_loss(F.log_softmax(self.cls(score), dim=1), target=label, reduction='none')
if r1_reg:
gradients = autograd.grad(
outputs=score.sum(),
inputs=im,
grad_outputs=None,
create_graph=True,
retain_graph=True,
only_inputs=True,
)[0]
gradients = gradients.view(gradients.size(0), -1)
gradient_norms = gradients.pow(2).sum(1)
loss += gradient_norms * 1
return loss
rand_loader = DataLoader(dataset=RandomDataset(224, 1000),
batch_size=32, shuffle=True)
train_loader_iterator = data_gpu_prefetcher(rand_loader, stop=False)
model = resnet_cls()
model.cuda()
model_para = nn.DataParallel(model)
opt = torch.optim.Adam(model.parameters(), lr=0.001, betas=(0., 0.99))
count = 0
while True:
r1_reg = count % 2 == 0
print(r1_reg)
count += 1
imgs, labels = train_loader_iterator.next()
loss = model_para(imgs, labels, r1_reg).mean()
opt.zero_grad()
loss.backward()
opt.step()
print(loss.item(), flush=True)
</code></pre></div>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">After some random number of updates, in my case 443298 iterations, the problem occurs and training was terminated.</p>
<p dir="auto">In PyTorch 1.3 it shows:</p>
<blockquote>
<p dir="auto">Segmentation fault (core dumped)</p>
</blockquote>
<p dir="auto">It prints "True" for the value of "r1_reg" for this iteration, but the loss for the forward pass didn't print out. No other information is shown.</p>
<h2 dir="auto">Environment</h2>
<p dir="auto">I'm using the official PyTorch Docker image to run my training. I used the official image 1.3-cuda10.1-cudnn7-devel.</p>
<p dir="auto">I’m using 4 Titan x (pascal) for data-parallel training.</p>
<h2 dir="auto">Additional context</h2> | 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/mui-org/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">The controlled/uncontrolled behavior is determined at the mount time.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">The controlled/uncontrolled behavior is determined at each render.</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto">Look at the source code.</p>
<h2 dir="auto">Context</h2>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kgregory/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kgregory">@kgregory</a> Raised this issue in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="282672012" data-permission-text="Title is private" data-url="https://github.com/mui/material-ui/issues/9523" data-hovercard-type="pull_request" data-hovercard-url="/mui/material-ui/pull/9523/hovercard" href="https://github.com/mui/material-ui/pull/9523">#9523</a>. It's important to notice that the <code class="notranslate">Input</code> component is the only component behaving this way. It's no the case for: <code class="notranslate">input</code>, <code class="notranslate">Checkbox</code>, <code class="notranslate">Switch</code>, <code class="notranslate">Radio</code>, <code class="notranslate">ExpansionPanel</code> and <code class="notranslate">Tooltip</code>.</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.24</td>
</tr>
<tr>
<td>React</td>
<td>v16.2.0</td>
</tr>
</tbody>
</table> | <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/mui-org/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">The GridListTile should look the same when wrapped in a component as when it's not wrapped.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">Wrapping GridListTile in a component collapses it, it does not fill out up the space it should.</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto">Here is a demo: <a href="https://stackblitz.com/edit/react-ershgc" rel="nofollow">https://stackblitz.com/edit/react-ershgc</a><br>
Output here: <a href="https://react-ershgc.stackblitz.io/" rel="nofollow">https://react-ershgc.stackblitz.io/</a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2538130/35165759-59900558-fd04-11e7-833e-e8f7d6131712.png"><img src="https://user-images.githubusercontent.com/2538130/35165759-59900558-fd04-11e7-833e-e8f7d6131712.png" alt="image" style="max-width: 100%;"></a></p>
<h2 dir="auto">Context</h2>
<ol dir="auto">
<li>
<p dir="auto">I would like to be able to have onclick pass back the id of the clicked GridListTile without using a wrapper arrow function for the GridListTile onClick prop. Using a wrapper function created a new function on every re-render of the main component, which causes an update to each GridListTile.</p>
</li>
<li>
<p dir="auto">Also having a wrapper component for GridListTile enables me to optimize renders with PureComponent/shouldComponentUpdate/onlyUpdateForKeys etc.</p>
</li>
</ol>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Material-UI</td>
<td>1.0.0-beta.29</td>
</tr>
<tr>
<td>React</td>
<td>Latest</td>
</tr>
<tr>
<td>browser</td>
<td>Chrome, Mac, latest</td>
</tr>
</tbody>
</table>
<p dir="auto">I am not sure if StackBlitz deletes demo apps after some period of time so pasting the code here too, just in case:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="/*
Experiment with moving GridListTile to it's own component.
The reason for wanting this is to avoid using anonymous functions in the
GridListTile props. Generating functions makes every GridListTile update
on every update to 'list', shouldComponent update or PureComponent will
also re-render since the passed onClick function technically differs from
the previous one.
*/
import React, {Component} from 'react';
import {render} from 'react-dom';
import GridList, {GridListTile} from 'material-ui/GridList';
const list = ['id1', 'id2', 'id3'];
class App extends Component {
handleClick = (event, id) => {
console.log('id', id);
};
render() {
return (
<GridList cellHeight={192} cols={3}>
{list.map(id => (
<GridListTile
// An anonymous event handler is needed to be able to pass
// 'id' to the actual event handler
onClick={event => this.handleClick(event, id)}
key={id}
cols={1}
style={{background: 'red'}}
>
{id}
</GridListTile>
))}
{/*
Wrapping GridListTile in a separate component solves the event
handler issue, but this does also not render as expected
*/}
{list.map(id => <MyTile key={id} id={id} onClick={this.handleClick} />)}
</GridList>
);
}
}
class MyTile extends Component {
handleClick = event => {
// Passing the id without using an anonymous function in the JSX props
this.props.onClick(event, this.props.id);
};
render() {
return (
<GridListTile cols={1} style={{background: 'green'}} onClick={this.handleClick}>
{this.props.id}
</GridListTile>
);
}
}
render(<App />, document.getElementById('root'));"><pre class="notranslate"><span class="pl-c">/*</span>
<span class="pl-c"> Experiment with moving GridListTile to it's own component.</span>
<span class="pl-c"></span>
<span class="pl-c"> The reason for wanting this is to avoid using anonymous functions in the </span>
<span class="pl-c"> GridListTile props. Generating functions makes every GridListTile update </span>
<span class="pl-c"> on every update to 'list', shouldComponent update or PureComponent will </span>
<span class="pl-c"> also re-render since the passed onClick function technically differs from </span>
<span class="pl-c"> the previous one.</span>
<span class="pl-c">*/</span>
<span class="pl-k">import</span> <span class="pl-v">React</span><span class="pl-kos">,</span> <span class="pl-kos">{</span><span class="pl-v">Component</span><span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'react'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span><span class="pl-s1">render</span><span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'react-dom'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-v">GridList</span><span class="pl-kos">,</span> <span class="pl-kos">{</span><span class="pl-v">GridListTile</span><span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'material-ui/GridList'</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">list</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-s">'id1'</span><span class="pl-kos">,</span> <span class="pl-s">'id2'</span><span class="pl-kos">,</span> <span class="pl-s">'id3'</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
<span class="pl-k">class</span> <span class="pl-v">App</span> <span class="pl-k">extends</span> <span class="pl-v">Component</span> <span class="pl-kos">{</span>
<span class="pl-c1">handleClick</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-s1">event</span><span class="pl-kos">,</span> <span class="pl-s1">id</span><span class="pl-kos">)</span> <span class="pl-c1">=></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">'id'</span><span class="pl-kos">,</span> <span class="pl-s1">id</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-en">render</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-kos">(</span>
<span class="pl-c1"><</span><span class="pl-ent">GridList</span> <span class="pl-c1">cellHeight</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-c1">192</span><span class="pl-kos">}</span> <span class="pl-c1">cols</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-c1">3</span><span class="pl-kos">}</span><span class="pl-c1">></span>
<span class="pl-kos">{</span><span class="pl-s1">list</span><span class="pl-kos">.</span><span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-s1">id</span> <span class="pl-c1">=></span> <span class="pl-kos">(</span>
<span class="pl-c1"><</span><span class="pl-ent">GridListTile</span>
<span class="pl-c">// An anonymous event handler is needed to be able to pass</span>
<span class="pl-c">// 'id' to the actual event handler</span>
<span class="pl-c1">onClick</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">event</span> <span class="pl-c1">=></span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">handleClick</span><span class="pl-kos">(</span><span class="pl-s1">event</span><span class="pl-kos">,</span> <span class="pl-s1">id</span><span class="pl-kos">)</span><span class="pl-kos">}</span>
<span class="pl-c1">key</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">id</span><span class="pl-kos">}</span>
<span class="pl-c1">cols</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-c1">1</span><span class="pl-kos">}</span>
<span class="pl-c1">style</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-kos">{</span><span class="pl-c1">background</span>: <span class="pl-s">'red'</span><span class="pl-kos">}</span><span class="pl-kos">}</span>
<span class="pl-c1">></span>
<span class="pl-kos">{</span><span class="pl-s1">id</span><span class="pl-kos">}</span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">GridListTile</span><span class="pl-c1">></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">/*</span>
<span class="pl-c"> Wrapping GridListTile in a separate component solves the event</span>
<span class="pl-c"> handler issue, but this does also not render as expected</span>
<span class="pl-c"> */</span><span class="pl-kos">}</span>
<span class="pl-kos">{</span><span class="pl-s1">list</span><span class="pl-kos">.</span><span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-s1">id</span> <span class="pl-c1">=></span> <span class="pl-c1"><</span><span class="pl-ent">MyTile</span> <span class="pl-c1">key</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">id</span><span class="pl-kos">}</span> <span class="pl-c1">id</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">id</span><span class="pl-kos">}</span> <span class="pl-c1">onClick</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">handleClick</span><span class="pl-kos">}</span> <span class="pl-c1">/</span><span class="pl-c1">></span><span class="pl-kos">)</span><span class="pl-kos">}</span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">GridList</span><span class="pl-c1">></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">class</span> <span class="pl-v">MyTile</span> <span class="pl-k">extends</span> <span class="pl-v">Component</span> <span class="pl-kos">{</span>
<span class="pl-c1">handleClick</span> <span class="pl-c1">=</span> <span class="pl-s1">event</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-c">// Passing the id without using an anonymous function in the JSX props</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">props</span><span class="pl-kos">.</span><span class="pl-en">onClick</span><span class="pl-kos">(</span><span class="pl-s1">event</span><span class="pl-kos">,</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">props</span><span class="pl-kos">.</span><span class="pl-c1">id</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-en">render</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-kos">(</span>
<span class="pl-c1"><</span><span class="pl-ent">GridListTile</span> <span class="pl-c1">cols</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-c1">1</span><span class="pl-kos">}</span> <span class="pl-c1">style</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-kos">{</span><span class="pl-c1">background</span>: <span class="pl-s">'green'</span><span class="pl-kos">}</span><span class="pl-kos">}</span> <span class="pl-c1">onClick</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">handleClick</span><span class="pl-kos">}</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">props</span><span class="pl-kos">.</span><span class="pl-c1">id</span><span class="pl-kos">}</span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">GridListTile</span><span class="pl-c1">></span>
<span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-en">render</span><span class="pl-kos">(</span><span class="pl-c1"><</span><span class="pl-ent">App</span> <span class="pl-c1">/</span><span class="pl-c1">></span><span class="pl-kos">,</span> <span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">getElementById</span><span class="pl-kos">(</span><span class="pl-s">'root'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> | 0 |
<p dir="auto">After upgrade from 2.4.10 to 2.5.6 I've got error</p>
<p dir="auto"><em>Variable "welcome_title" does not exist ...</em></p>
<p dir="auto">config.yml</p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="twig:
globals:
welcome_title: Welcome!"><pre class="notranslate"><span class="pl-ent">twig</span>:
<span class="pl-ent">globals</span>:
<span class="pl-ent">welcome_title</span>: <span class="pl-s">Welcome!</span></pre></div>
<p dir="auto">After investigation I've found difference in the app/cache/dev/appDevDebugProjectContainer.php</p>
<p dir="auto"><strong>2.4.10</strong></p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="...
$instance->addGlobal('app', $this->get('templating.globals'));
$instance->addGlobal('welcome_title', 'Welcome!');
return $instance;"><pre class="notranslate"><span class="pl-c1">.</span>.<span class="pl-c1">.</span>
<span class="pl-s1"><span class="pl-c1">$</span>instance</span>-><span class="pl-en">addGlobal</span>(<span class="pl-s">'app'</span>, <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-en">get</span>(<span class="pl-s">'templating.globals'</span>));
<span class="pl-s1"><span class="pl-c1">$</span>instance</span>-><span class="pl-en">addGlobal</span>(<span class="pl-s">'welcome_title'</span>, <span class="pl-s">'Welcome!'</span>);
<span class="pl-k">return</span> <span class="pl-s1"><span class="pl-c1">$</span>instance</span>;</pre></div>
<p dir="auto"><strong>2.5.x</strong> (I've tried few version: 2.5.1, 2.5.4, , 2.5.6)<br>
only</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="...
$instance->addGlobal('app', $this->get('templating.globals'));
return $instance;"><pre class="notranslate"><span class="pl-c1">.</span>.<span class="pl-c1">.</span>
<span class="pl-s1"><span class="pl-c1">$</span>instance</span>-><span class="pl-en">addGlobal</span>(<span class="pl-s">'app'</span>, <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-en">get</span>(<span class="pl-s">'templating.globals'</span>));
<span class="pl-k">return</span> <span class="pl-s1"><span class="pl-c1">$</span>instance</span>;</pre></div>
<p dir="auto">Bug?<br>
Suggestions?</p> | <p dir="auto">When rendering a <em>Date</em> field type using a <em>Choice</em> widget the value field e.g. 1901 is correct but the text part is empty.</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<option value="1900"></option>
<option value="1901"></option>
<option value="1902">1902</option>"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">option</span> <span class="pl-c1">value</span>="<span class="pl-s">1900</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">option</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">option</span> <span class="pl-c1">value</span>="<span class="pl-s">1901</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">option</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">option</span> <span class="pl-c1">value</span>="<span class="pl-s">1902</span>"<span class="pl-kos">></span>1902<span class="pl-kos"></</span><span class="pl-ent">option</span><span class="pl-kos">></span></pre></div>
<p dir="auto">This is most obvious when using a Birthday field as it by default starts 120 years ago.</p>
<p dir="auto">Symfony 2.1.2<br>
PHP 5.4.6</p> | 0 |
<p dir="auto">#### Summary</p>
<p dir="auto">The user code usually expects a specific type for the data returned from a request. currently however that metadata is lost and when using AxiosResponse and AxiosPromise we have to do casting.</p>
<p dir="auto">Here is how you could allow setting the type while not breaking backward compatibility:</p>
<p dir="auto">redefine the types:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export interface AxiosResponse<T = any> {
data: T;
status: number;
statusText: string;
headers: any;
config: AxiosRequestConfig;
}
export interface AxiosPromise<TData = any> extends Promise<AxiosResponse<TData>> {
}
export interface AxiosInstance {
/// ...redacted code
request<T = any>(config: AxiosRequestConfig): AxiosPromise<T>;
get<T = any>(url: string, config?: AxiosRequestConfig): AxiosPromise<T>;
delete<T = any>(url: string, config?: AxiosRequestConfig): AxiosPromise<T>;
head<T = any>(url: string, config?: AxiosRequestConfig): AxiosPromise<T>;
post<T = any>(url: string, data?: any, config?: AxiosRequestConfig): AxiosPromise<T>;
put<T = any>(url: string, data?: any, config?: AxiosRequestConfig): AxiosPromise<T>;
patch<T = any>(url: string, data?: any, config?: AxiosRequestConfig): AxiosPromise<T>;
}"><pre class="notranslate"><code class="notranslate">export interface AxiosResponse<T = any> {
data: T;
status: number;
statusText: string;
headers: any;
config: AxiosRequestConfig;
}
export interface AxiosPromise<TData = any> extends Promise<AxiosResponse<TData>> {
}
export interface AxiosInstance {
/// ...redacted code
request<T = any>(config: AxiosRequestConfig): AxiosPromise<T>;
get<T = any>(url: string, config?: AxiosRequestConfig): AxiosPromise<T>;
delete<T = any>(url: string, config?: AxiosRequestConfig): AxiosPromise<T>;
head<T = any>(url: string, config?: AxiosRequestConfig): AxiosPromise<T>;
post<T = any>(url: string, data?: any, config?: AxiosRequestConfig): AxiosPromise<T>;
put<T = any>(url: string, data?: any, config?: AxiosRequestConfig): AxiosPromise<T>;
patch<T = any>(url: string, data?: any, config?: AxiosRequestConfig): AxiosPromise<T>;
}
</code></pre></div>
<p dir="auto">Now you can do this and get an error</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="let promise = axios.request<{email:string}>(config);
promise.then(res=>{
console.log('The user email is ' + res.data.eail); /// ERROR
});"><pre class="notranslate"><code class="notranslate">let promise = axios.request<{email:string}>(config);
promise.then(res=>{
console.log('The user email is ' + res.data.eail); /// ERROR
});
</code></pre></div>
<p dir="auto">I can look at the actual code (not the d.ts files) and make a pull request if you want.</p>
<p dir="auto">#### Context</p>
<ul dir="auto">
<li>axios version: 1.6</li>
<li>typescript >= 2.3 (for the default generic type)</li>
</ul> | <p dir="auto">Hello,</p>
<p dir="auto">As axios automatically converts JSON responses could we get something like this:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="get<T>(url: string, config?: AxiosRequestConfig): AxiosPromise<T>;
export interface AxiosPromise<T> extends Promise<AxiosResponse<T>> {
}
export interface AxiosResponse<T> {
data: T;
status: number;
statusText: string;
headers: any;
config: AxiosRequestConfig;
}"><pre class="notranslate"><span class="pl-s1">get</span><span class="pl-c1"><</span><span class="pl-smi">T</span><span class="pl-c1">></span><span class="pl-kos">(</span><span class="pl-s1">url</span>: <span class="pl-smi">string</span><span class="pl-kos">,</span> <span class="pl-s1">config</span>?: <span class="pl-smi">AxiosRequestConfig</span><span class="pl-kos">)</span>: <span class="pl-smi">AxiosPromise</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">export</span> <span class="pl-k">interface</span> <span class="pl-smi">AxiosPromise</span><span class="pl-c1"><</span><span class="pl-smi">T</span><span class="pl-c1">></span> <span class="pl-k">extends</span> <span class="pl-smi">Promise</span><span class="pl-kos"><</span><span class="pl-smi">AxiosResponse</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-kos">{</span>
<span class="pl-kos">}</span>
<span class="pl-k">export</span> <span class="pl-k">interface</span> <span class="pl-smi">AxiosResponse</span><span class="pl-c1"><</span><span class="pl-smi">T</span><span class="pl-c1">></span> <span class="pl-kos">{</span>
<span class="pl-c1">data</span>: <span class="pl-smi">T</span><span class="pl-kos">;</span>
<span class="pl-c1">status</span>: <span class="pl-smi">number</span><span class="pl-kos">;</span>
<span class="pl-c1">statusText</span>: <span class="pl-smi">string</span><span class="pl-kos">;</span>
<span class="pl-c1">headers</span>: <span class="pl-smi">any</span><span class="pl-kos">;</span>
<span class="pl-c1">config</span>: <span class="pl-smi">AxiosRequestConfig</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div> | 1 |
<p dir="auto"><code class="notranslate">kubectl get <resource_name></code> prints all the resource info as a table by default. Sometimes there is just too much data and one row of the table is not able to fit in one line. It takes time to comprehend that entire output. It may be particularly useful to restrict columns by name. So for example in context of resource pod, something like..</p>
<p dir="auto"><code class="notranslate">kubectl get pods --filter names</code></p>
<p dir="auto">that would only pod names instead of an entire table containing all columns like POD, HOST, STATUS, CREATED, etc. would be particularly useful.</p>
<p dir="auto">Exact interface for this might need to be discussed and planned on a wiki. (I'll try to update this issue with a more detailed suggest if I can think of something)</p> | <p dir="auto">I am working with Huawei PaaS team on Ubernetes Phase I implementation, and focus on Uberenetes scheduler. I created a sequence diagram to illustrate the process of ubernetes scheduler and want to start some discussions.</p>
<p dir="auto"><strong>A general principle design spec</strong><br>
Currently clusterSelector (implemented as a LabelSelector) only supports a simple list of acceptable clusters. Workloads will be evenly distributed on these acceptable clusters in phase one.</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Need to make agreement that "evenly distributed" simply means cloning Federation-RC as sub-RC, and assign target clusters, replicas will not be cared in Federation level, that is sub-RC will keep the same value for replicas of Federation RC.</li>
</ul>
<p dir="auto"><strong>Supported cases in phase I</strong><br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="35192559" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/1" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/1/hovercard" href="https://github.com/kubernetes/kubernetes/issues/1">#1</a>. User specifies clusterSelector in RC Spec, e.g. The following RC is created in Federation-1 with 3 running clusters a, b and c.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="apiVersion: v1
kind: ReplicationController
metadata:
name: nginx-controller
spec:
replicas: 5
...
clusterSelector:
name in (a, b) "><pre class="notranslate"><code class="notranslate">apiVersion: v1
kind: ReplicationController
metadata:
name: nginx-controller
spec:
replicas: 5
...
clusterSelector:
name in (a, b)
</code></pre></div>
<p dir="auto">The result will be, if scheduling succeeds, the two sub-RC are created, each RC has 5 replicas, one RC is assigned to cluster a, the other RC is assigned to cluster b.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="35192602" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/2" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/2/hovercard" href="https://github.com/kubernetes/kubernetes/issues/2">#2</a>. User does not specify clusterSelector in RC Spec, e.g. The following RC is created in Federation-1 with 3 running clusters a, b and c.</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> need to discuss should we support this case?</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="apiVersion: v1
kind: ReplicationController
metadata:
name: nginx-controller
spec:
replicas: 5
..."><pre class="notranslate"><code class="notranslate">apiVersion: v1
kind: ReplicationController
metadata:
name: nginx-controller
spec:
replicas: 5
...
</code></pre></div>
<p dir="auto">As a result, the RC will be cloned to 3 sub-RC and assigned to all running clusters a, b, and c in Federation-1.</p>
<p dir="auto"><strong>Code logics, details in the diagram</strong></p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> most of code of package plugin/cmd/kube-scheduler could be reused, minor changes include package import to ube-scheduler, and remove some unnecessary logics.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> The design of ube-scheduler will be created based on k8s scheduler code, but with some logical changes, highlighted in RED in the sequence diagram.</li>
</ul>
<ol dir="auto">
<li>There is no need for binding pod, so Ubernetes scheduler will not check scheduled Federation RC, no code like scheduledPodPopulator</li>
<li>Only default predicate and priority plugins are supported in P1</li>
<li>No need to watch Federation Services, as there is no need for spreading sub-RC of same Federation Service</li>
<li>About scheduler plugins<br>
a). There will be two predicates plugins, MatchClusterSelector and RCFitsResources<br>
b).<br>
From above cases description, I did not see requirement to do prioritize, so only a dummy priority plugin will be created.</li>
<li>The plugin will return a list of clusters, the Federation RC will be cloned as sub-RC and each element of the cluster list will be assigned as target.</li>
<li>As <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="35192559" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/1" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/1/hovercard" href="https://github.com/kubernetes/kubernetes/issues/1">#1</a> described, no need for cluster binding, scheduling done after step 5.</li>
</ol>
<p dir="auto"><strong>Dependencies</strong></p>
<p dir="auto">Need definition of cluster, federation RC and sub RC</p>
<ul class="contains-task-list">
<li>Cluster entity is already in WIP</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Federation RC and sub RC definition need to be settled ASAP.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Need api of accessing new defined entities in pkg/client/cache/listers.go</li>
</ul>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/16643108/13914519/d4ef1444-ef89-11e5-958b-acef4e60c9fe.png"><img src="https://cloud.githubusercontent.com/assets/16643108/13914519/d4ef1444-ef89-11e5-958b-acef4e60c9fe.png" alt="scheduler" style="max-width: 100%;"></a></p> | 0 |
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="trait Foo {
type Bar;
fn bar(&self) -> Option<<Self as Foo>::Bar>;
}"><pre class="notranslate"><span class="pl-k">trait</span> <span class="pl-smi">Foo</span> <span class="pl-kos">{</span>
<span class="pl-k">type</span> <span class="pl-smi">Bar</span><span class="pl-kos">;</span>
<span class="pl-k">fn</span> <span class="pl-en">bar</span><span class="pl-kos">(</span><span class="pl-c1">&</span><span class="pl-smi">self</span><span class="pl-kos">)</span> -> <span class="pl-smi">Option</span><span class="pl-kos"><</span><<span class="pl-smi">Self</span> <span class="pl-k">as</span> <span class="pl-smi">Foo</span>><span class="pl-kos">::</span><span class="pl-smi">Bar</span><span class="pl-kos">></span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">Gives:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<anon>:7:32: 7:34 error: expected `;` or `{`, found `<<`
<anon>:7 fn bar(&self) -> Option<<Self as Foo>::Bar>;"><pre class="notranslate"><code class="notranslate"><anon>:7:32: 7:34 error: expected `;` or `{`, found `<<`
<anon>:7 fn bar(&self) -> Option<<Self as Foo>::Bar>;
</code></pre></div>
<p dir="auto">Adding a space so it becomes <code class="notranslate">< <</code> fixes it.</p> | <h3 dir="auto">STR</h3>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#![feature(associated_types)]
trait Trait {
type Type;
// OK
fn method() -> <Self as Trait>::Type;
// Can't parse
fn method() -> Box<<Self as Trait>::Type>;
}
fn main() {}"><pre class="notranslate"><span class="pl-c1">#!<span class="pl-kos">[</span>feature<span class="pl-kos">(</span>associated_types<span class="pl-kos">)</span><span class="pl-kos">]</span></span>
<span class="pl-k">trait</span> <span class="pl-smi">Trait</span> <span class="pl-kos">{</span>
<span class="pl-k">type</span> <span class="pl-smi">Type</span><span class="pl-kos">;</span>
<span class="pl-c">// OK</span>
<span class="pl-k">fn</span> <span class="pl-en">method</span><span class="pl-kos">(</span><span class="pl-kos">)</span> -> <<span class="pl-smi">Self</span> <span class="pl-k">as</span> <span class="pl-smi">Trait</span>><span class="pl-kos">::</span><span class="pl-smi">Type</span><span class="pl-kos">;</span>
<span class="pl-c">// Can't parse</span>
<span class="pl-k">fn</span> <span class="pl-en">method</span><span class="pl-kos">(</span><span class="pl-kos">)</span> -> <span class="pl-smi">Box</span><span class="pl-kos"><</span><<span class="pl-smi">Self</span> <span class="pl-k">as</span> <span class="pl-smi">Trait</span>><span class="pl-kos">::</span><span class="pl-smi">Type</span><span class="pl-kos">></span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div>
<h3 dir="auto">Output</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ai.rs:9:23: 9:25 error: expected `;` or `{`, found `<<`
ai.rs:9 fn method() -> Box<<Self as Trait>::Type>;"><pre class="notranslate"><code class="notranslate">ai.rs:9:23: 9:25 error: expected `;` or `{`, found `<<`
ai.rs:9 fn method() -> Box<<Self as Trait>::Type>;
</code></pre></div>
<h3 dir="auto">Version</h3>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="rustc 0.12.0-pre (9508faa22 2014-09-17 23:45:36 +0000)"><pre class="notranslate">rustc <span class="pl-c1">0.12</span><span class="pl-kos">.</span><span class="pl-c1">0</span>-<span class="pl-en">pre</span> <span class="pl-kos">(</span><span class="pl-c1">9508</span>faa22 <span class="pl-c1">2014</span>-<span class="pl-c1">09</span>-<span class="pl-c1">17</span> <span class="pl-c1">23</span><span class="pl-kos">:</span><span class="pl-c1">45</span><span class="pl-kos">:</span><span class="pl-c1">36</span> +<span class="pl-c1">0000</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pcwalton/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pcwalton">@pcwalton</a></p> | 1 |
<p dir="auto">I have rules set like this</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="rules = [
Rule(LinkExtractor(
allow= '/topic/\d+/organize$',
restrict_xpaths = '//div[@id= "zh-topic-organize-child-editor"]'
),
process_request='request_tagPage', callback = "parse_tagPage", follow = True)
]"><pre class="notranslate"><code class="notranslate">rules = [
Rule(LinkExtractor(
allow= '/topic/\d+/organize$',
restrict_xpaths = '//div[@id= "zh-topic-organize-child-editor"]'
),
process_request='request_tagPage', callback = "parse_tagPage", follow = True)
]
</code></pre></div>
<p dir="auto"><code class="notranslate">request_tagPage()</code> is used to add cookie and headers to a request. I found that once I used <code class="notranslate">process_request</code> parameter, the callback function <code class="notranslate">parse_tagPage()</code> isn't get called.</p>
<p dir="auto">Then I manually set <code class="notranslate">parse_tagPage()</code> as callback function in the <code class="notranslate">request_tagPage()</code>. Now when response is returned, <code class="notranslate">parse_tagPage()</code> is called but the spider only crawls the links from the <code class="notranslate">start_urls</code></p>
<p dir="auto">My full spider is here:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="class ZhihuSpider(CrawlSpider):
name = "zhihu"
BASE_URL = "www.zhihu.com"
get_xsrf_url = "https://www.zhihu.com" # url to visit first to get xsrf information
login_url = "https://www.zhihu.com/login/email" # url to visit to login and get valid cookie
start_urls = [
"https://www.zhihu.com/topic/19776749/organize",
]
headers = {
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
"Accept-Encoding": "gzip,deflate",
"Accept-Language": "en-US,en;q=0.8,zh-TW;q=0.6,zh;q=0.4",
"Connection": "keep-alive",
"Content-Type":" application/x-www-form-urlencoded; charset=UTF-8",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36",
"Referer": "http://www.zhihu.com"
}
# Rules to enforce using cookie every time request a tag information page
#restrict_xpaths = '//div[@id= "zh-topic-organize-page-children"]/ul/li/ul[@class= "zm-topic-organize-list"]',
rules = [
Rule(LinkExtractor(
allow= '/topic/\d+/organize$',
restrict_xpaths = '//div[@id= "zh-topic-organize-child-editor"]'
),
process_request='request_tagPage', callback = "parse_tagPage", follow = True)
# 发现match rule的页面会用parse_tagPage去处理
# follow = True,这样页面被parse_tagPage处理后,还是会被抓内部的link去继续crawling
] # 使用list,rules就自动成为iterable
# 用来保存tag结构的大dictionary,会在item pipeline中得到更新
d = {"「根话题」":{}}
# 用来保存每一条tag的list,会在item pipeline中得到更新
l = []
# Function to get the login response; Only called once
# Scrapy刚启动时会call这个函数,函数的目的是拿到xsrf信息
def start_requests(self):
print("---"*5)
print("start to request for getting the hidden info and cookie")
print("---"*5)
return [Request(self.get_xsrf_url, headers= self.headers, meta= \
{"cookiejar":1}, callback= self.post_login)]
# Function to post a login form, notice it gets the xsrf string first before send the form
# 这个函数会提取只有试图login知乎时才会得到的xsrf信息来构建一个登录form,然后得到登录成功的cookie
def post_login(self, response):
print("---"*5)
print("preparing login...")
print("---"*5)
# Get the xsrf string
xsrf = Selector(response).xpath('//div[@data-za-module="SignInForm"]//form//input[@name="_xsrf"]/@value').extract()[0]
return FormRequest(self.login_url,
meta = {"cookiejar": response.meta["cookiejar"]},
headers = self.headers,
# create form
formdata = {
"_xsrf": xsrf,
"password": "zhihu_19891217",
"email": "skywalker.ljc@gmail.com",
"remeber_me": "true",
},
callback = self.after_login,
)
# After login, this function request urls in the start_urls, initiate the whole process
# 这个函数会给登录成功的cookie给start_urls, 这样start_urls也会带着cookie去request
def after_login(self, response):
for url in self.start_urls:
# No need to callback since the rules has set the process_request parameter,
# which specifies a function to send the actual request.
yield Request(url, meta = {"cookiejar": 1}, headers = self.headers, \
callback = self.parse, dont_filter = True)
# self.parse is the default parser used by CrawlSpider to apply rules
# dont_filter = True so that this start_url request won't be filtered
print("A start_url has been requested:", url)
print("---"*5)
print("All start_urls cookies are have been requested!")
print("---"*5)
# Function to request tag information page
# 这个函数是为了让scrapy爬后续的页面时也会带上cookie;
# CrawlSpider会首先用最低级的Request()去形成基础的request, 但是基础request无法通过zhihu.com反爬虫机制
# 所以在rules中要求spider再用这个函数加工基础request成带cookie和header的能通过zhihu反爬虫机制的request
def request_tagPage(self, request):
return Request(request.url, meta = {"cookiejar": 1}, \
headers = self.headers, callback=self.parse_tagPage)
# When use process_request, the callback in Rule object won't work, has to assign a callback here
# Finally, the function to actually parse the tag information page
# 这个函数才是真正接受知乎的tag结构页面并且parse页面的
# 这个函数还会根据每一个tag的信息,修改spider用来保存tag structure的dictionary
def parse_tagPage(self, response):
print("---"*5)
print("parse_tagPage is called!")
print("---"*5)
sel = Selector(response)
# tag的名字和链接
name = sel.xpath('//h1[@class= "zm-editable-content"]/text()').extract()[0]
relative_link = sel.xpath('//div[@class= "zm-topic-topbar"]//a/@href').extract()[0]
# tag的parent
parents = sel.xpath('//div[@id= "zh-topic-organize-parent-editor"]//a[@class= "zm-item-tag"]/text()').extract()
parents = [s.replace("\n", "") for s in parents]
# tag的children
children = sel.xpath('//div[@id= "zh-topic-organize-child-editor"]//a[@class= "zm-item-tag"]/text()').extract()
children = [s.replace("\n", "") for s in children]
# 新建一个tag item
item = {}
item["name"] = name
item["relative_link"] = relative_link
item["parents"] = parents
item["children"] = children
self.l.append(item)"><pre class="notranslate"><code class="notranslate">class ZhihuSpider(CrawlSpider):
name = "zhihu"
BASE_URL = "www.zhihu.com"
get_xsrf_url = "https://www.zhihu.com" # url to visit first to get xsrf information
login_url = "https://www.zhihu.com/login/email" # url to visit to login and get valid cookie
start_urls = [
"https://www.zhihu.com/topic/19776749/organize",
]
headers = {
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
"Accept-Encoding": "gzip,deflate",
"Accept-Language": "en-US,en;q=0.8,zh-TW;q=0.6,zh;q=0.4",
"Connection": "keep-alive",
"Content-Type":" application/x-www-form-urlencoded; charset=UTF-8",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36",
"Referer": "http://www.zhihu.com"
}
# Rules to enforce using cookie every time request a tag information page
#restrict_xpaths = '//div[@id= "zh-topic-organize-page-children"]/ul/li/ul[@class= "zm-topic-organize-list"]',
rules = [
Rule(LinkExtractor(
allow= '/topic/\d+/organize$',
restrict_xpaths = '//div[@id= "zh-topic-organize-child-editor"]'
),
process_request='request_tagPage', callback = "parse_tagPage", follow = True)
# 发现match rule的页面会用parse_tagPage去处理
# follow = True,这样页面被parse_tagPage处理后,还是会被抓内部的link去继续crawling
] # 使用list,rules就自动成为iterable
# 用来保存tag结构的大dictionary,会在item pipeline中得到更新
d = {"「根话题」":{}}
# 用来保存每一条tag的list,会在item pipeline中得到更新
l = []
# Function to get the login response; Only called once
# Scrapy刚启动时会call这个函数,函数的目的是拿到xsrf信息
def start_requests(self):
print("---"*5)
print("start to request for getting the hidden info and cookie")
print("---"*5)
return [Request(self.get_xsrf_url, headers= self.headers, meta= \
{"cookiejar":1}, callback= self.post_login)]
# Function to post a login form, notice it gets the xsrf string first before send the form
# 这个函数会提取只有试图login知乎时才会得到的xsrf信息来构建一个登录form,然后得到登录成功的cookie
def post_login(self, response):
print("---"*5)
print("preparing login...")
print("---"*5)
# Get the xsrf string
xsrf = Selector(response).xpath('//div[@data-za-module="SignInForm"]//form//input[@name="_xsrf"]/@value').extract()[0]
return FormRequest(self.login_url,
meta = {"cookiejar": response.meta["cookiejar"]},
headers = self.headers,
# create form
formdata = {
"_xsrf": xsrf,
"password": "zhihu_19891217",
"email": "skywalker.ljc@gmail.com",
"remeber_me": "true",
},
callback = self.after_login,
)
# After login, this function request urls in the start_urls, initiate the whole process
# 这个函数会给登录成功的cookie给start_urls, 这样start_urls也会带着cookie去request
def after_login(self, response):
for url in self.start_urls:
# No need to callback since the rules has set the process_request parameter,
# which specifies a function to send the actual request.
yield Request(url, meta = {"cookiejar": 1}, headers = self.headers, \
callback = self.parse, dont_filter = True)
# self.parse is the default parser used by CrawlSpider to apply rules
# dont_filter = True so that this start_url request won't be filtered
print("A start_url has been requested:", url)
print("---"*5)
print("All start_urls cookies are have been requested!")
print("---"*5)
# Function to request tag information page
# 这个函数是为了让scrapy爬后续的页面时也会带上cookie;
# CrawlSpider会首先用最低级的Request()去形成基础的request, 但是基础request无法通过zhihu.com反爬虫机制
# 所以在rules中要求spider再用这个函数加工基础request成带cookie和header的能通过zhihu反爬虫机制的request
def request_tagPage(self, request):
return Request(request.url, meta = {"cookiejar": 1}, \
headers = self.headers, callback=self.parse_tagPage)
# When use process_request, the callback in Rule object won't work, has to assign a callback here
# Finally, the function to actually parse the tag information page
# 这个函数才是真正接受知乎的tag结构页面并且parse页面的
# 这个函数还会根据每一个tag的信息,修改spider用来保存tag structure的dictionary
def parse_tagPage(self, response):
print("---"*5)
print("parse_tagPage is called!")
print("---"*5)
sel = Selector(response)
# tag的名字和链接
name = sel.xpath('//h1[@class= "zm-editable-content"]/text()').extract()[0]
relative_link = sel.xpath('//div[@class= "zm-topic-topbar"]//a/@href').extract()[0]
# tag的parent
parents = sel.xpath('//div[@id= "zh-topic-organize-parent-editor"]//a[@class= "zm-item-tag"]/text()').extract()
parents = [s.replace("\n", "") for s in parents]
# tag的children
children = sel.xpath('//div[@id= "zh-topic-organize-child-editor"]//a[@class= "zm-item-tag"]/text()').extract()
children = [s.replace("\n", "") for s in children]
# 新建一个tag item
item = {}
item["name"] = name
item["relative_link"] = relative_link
item["parents"] = parents
item["children"] = children
self.l.append(item)
</code></pre></div> | <p dir="auto">Was trying to send email through scrapy.<br>
Settings I used are:-<br>
#settings for mail<br>
MAIL_FROM = '<a href="mailto:...@gmail.com">...@gmail.com</a>'<br>
MAIL_HOST = 'smtp.gmail.com'<br>
MAIL_PORT = 587<br>
MAIL_USER = '<a href="mailto:...@gmail.com">...@gmail.com</a>'<br>
MAIL_PASS = 'xxxxxxx'<br>
MAIL_TLS = True<br>
MAIL_SSL = False</p>
<p dir="auto">Email was sent successfully. But the following exception is thrown;<br>
2019-04-25 18:10:15 [twisted] CRITICAL: Unhandled Error<br>
Traceback (most recent call last):<br>
File "/lib/python3.6/site-packages/twisted/python/log.py", line 103, in callWithLogger<br>
return callWithContext({"system": lp}, func, *args, **kw)<br>
File "/python3.6/site-packages/twisted/python/log.py", line 86, in callWithContext<br>
return context.call({ILogContext: newCtx}, func, *args, **kw)<br>
File "/lib/python3.6/site-packages/twisted/python/context.py", line 122, in callWithContext<br>
return self.currentContext().callWithContext(ctx, func, *args, **kw)<br>
File "/lib/python3.6/site-packages/twisted/python/context.py", line 85, in callWithContext<br>
return func(*args,**kw)<br>
--- ---<br>
File "/lib/python3.6/site-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite<br>
why = selectable.doRead()<br>
File "/lib/python3.6/site-packages/twisted/internet/tcp.py", line 243, in doRead<br>
return self._dataReceived(data)<br>
File "/lib/python3.6/site-packages/twisted/internet/tcp.py", line 249, in _dataReceived<br>
rval = self.protocol.dataReceived(data)<br>
File "/lib/python3.6/site-packages/twisted/protocols/tls.py", line 330, in dataReceived<br>
self._flushReceiveBIO()<br>
File "/lib/python3.6/site-packages/twisted/protocols/tls.py", line 300, in _flushReceiveBIO<br>
self._flushSendBIO()<br>
File "/lib/python3.6/site-packages/twisted/protocols/tls.py", line 252, in _flushSendBIO<br>
bytes = self._tlsConnection.bio_read(2 ** 15)<br>
builtins.AttributeError: 'NoneType' object has no attribute 'bio_read'</p> | 0 |
<p dir="auto">I don't see what version of tsc you support so this might be a version problem:</p>
<p dir="auto">error.ts<br>
/// <reference path="node.d.ts" /></p>
<blockquote>
<p dir="auto">tsc error.ts<br>
node.d.ts(101,36): error TS1005: ';' expected.<br>
node.d.ts(690,23): error TS1005: ';' expected.<br>
node.d.ts(702,23): error TS1005: ';' expected.<br>
node.d.ts(1228,36): error TS1005: ';' expected.<br>
tsc<br>
Version 1.0.3.0</p>
</blockquote> | <p dir="auto">A definition file for the small color library <a href="https://github.com/gka/chroma.js">chroma.js</a> would be quite useful.</p> | 0 |
<p dir="auto"><strong>Migrated issue, originally created by Michael Bayer (<a href="https://github.com/zzzeek">@zzzeek</a>)</strong></p>
<p dir="auto">ML thread <a href="https://groups.google.com/forum/?hl=en#!topic/sqlalchemy/t8a6SLTYrIc" rel="nofollow">https://groups.google.com/forum/?hl=en#!topic/sqlalchemy/t8a6SLTYrIc</a></p>
<p dir="auto">even though all the docs show string names being sent to insert.values(), you can use columns as keys inside a dictionary as well, just as we need to do with UPDATE some times. It doesn't work for multi-values though:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from sqlalchemy import MetaData, String, Integer, Table, Column
from sqlalchemy.dialects.postgresql.base import PGDialect
m = MetaData()
t = Table('mytable', m,
Column('int_col', Integer),
Column('str_col', String),
)
print("Case 1")
print(t.insert().values(
{t.c.str_col:"string", t.c.int_col:2}
).compile(dialect=PGDialect()))
print("Case 2")
print(t.insert().values(
[
{t.c.str_col:"str", t.c.int_col:1}
]
).compile(dialect=PGDialect()))
print("Case 3")
print(t.insert().values(
[
{t.c.str_col:"string", t.c.int_col:1},
{t.c.str_col:"text", t.c.int_col:2}
]
).compile(dialect=PGDialect()))
"><pre class="notranslate"><code class="notranslate">from sqlalchemy import MetaData, String, Integer, Table, Column
from sqlalchemy.dialects.postgresql.base import PGDialect
m = MetaData()
t = Table('mytable', m,
Column('int_col', Integer),
Column('str_col', String),
)
print("Case 1")
print(t.insert().values(
{t.c.str_col:"string", t.c.int_col:2}
).compile(dialect=PGDialect()))
print("Case 2")
print(t.insert().values(
[
{t.c.str_col:"str", t.c.int_col:1}
]
).compile(dialect=PGDialect()))
print("Case 3")
print(t.insert().values(
[
{t.c.str_col:"string", t.c.int_col:1},
{t.c.str_col:"text", t.c.int_col:2}
]
).compile(dialect=PGDialect()))
</code></pre></div>
<p dir="auto">gerrit at <a href="https://gerrit.sqlalchemy.org/#/c/zzzeek/sqlalchemy/+/626" rel="nofollow">https://gerrit.sqlalchemy.org/#/c/zzzeek/sqlalchemy/+/626</a> fixes.</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">even though columns-as-keys is de-emphasized in the documentation for insert, it does work, except for multi-values:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from sqlalchemy import *
from sqlalchemy.dialects import sqlite
t = table('t', column('a'), column('b'))
print t.insert().values([
{"a": 1, "b": 2},
{"a": 2, "b": 2},
{"a": 3, "b": 2}
]).compile(dialect=sqlite.dialect())
print t.insert().values([
{t.c.a: 1, t.c.b: 2},
{t.c.a: 2, t.c.b: 2},
{t.c.a: 3, t.c.b: 2},
]).compile(dialect=sqlite.dialect())"><pre class="notranslate"><code class="notranslate">from sqlalchemy import *
from sqlalchemy.dialects import sqlite
t = table('t', column('a'), column('b'))
print t.insert().values([
{"a": 1, "b": 2},
{"a": 2, "b": 2},
{"a": 3, "b": 2}
]).compile(dialect=sqlite.dialect())
print t.insert().values([
{t.c.a: 1, t.c.b: 2},
{t.c.a: 2, t.c.b: 2},
{t.c.a: 3, t.c.b: 2},
]).compile(dialect=sqlite.dialect())
</code></pre></div>
<p dir="auto">output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#!
INSERT INTO t (a, b) VALUES (?, ?), (?, ?), (?, ?)
Traceback (most recent call last):
...
File "/home/classic/dev/sqlalchemy/lib/sqlalchemy/sql/crud.py", line 419, in _process_multiparam_default_bind
"a Python-side value or SQL expression is required" % c)
sqlalchemy.exc.CompileError: INSERT value for column t.a is explicitly rendered as a boundparameter in the VALUES clause; a Python-side value or SQL expression is required
"><pre class="notranslate"><code class="notranslate">#!
INSERT INTO t (a, b) VALUES (?, ?), (?, ?), (?, ?)
Traceback (most recent call last):
...
File "/home/classic/dev/sqlalchemy/lib/sqlalchemy/sql/crud.py", line 419, in _process_multiparam_default_bind
"a Python-side value or SQL expression is required" % c)
sqlalchemy.exc.CompileError: INSERT value for column t.a is explicitly rendered as a boundparameter in the VALUES clause; a Python-side value or SQL expression is required
</code></pre></div> | 1 |
<ul dir="auto">
<li>Electron version: 1.3.5</li>
<li>Operating system: Windows 10</li>
</ul>
<p dir="auto">It seems like certain menu accelerators don't work when the app is running in Windows, but they do work in macOS. In the example below, none of the accelerators work in Windows, but clicking the menu item does log the correct message. But <code class="notranslate">CmdOrCtrl+B</code> <em>does</em> work in Windows.</p>
<p dir="auto">Here's the code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const electron = require('electron');
const app = electron.app;
const Menu = electron.Menu;
const BrowserWindow = electron.BrowserWindow;
app.on('ready', function() {
let mainWindow = new BrowserWindow({width: 800, height: 600});
mainWindow.loadURL(`file://${__dirname}/index.html`);
let menu = Menu.buildFromTemplate([
{
label: 'Edit',
submenu: [
{
label: 'Cut',
accelerator: 'CmdOrCtrl+X',
click: () => console.log('cut'),
},
{
label: 'Copy',
accelerator: 'CmdOrCtrl+C',
click: () => console.log('copy'),
},
{
label: 'Paste',
accelerator: 'CmdOrCtrl+V',
click: () => console.log('paste'),
},
{
label: 'Select All',
accelerator: 'CmdOrCtrl+A',
click: () => console.log('select all'),
},
],
},
]);
Menu.setApplicationMenu(menu);
});
app.on('window-all-closed', function() {
app.quit();
});"><pre class="notranslate"><code class="notranslate">const electron = require('electron');
const app = electron.app;
const Menu = electron.Menu;
const BrowserWindow = electron.BrowserWindow;
app.on('ready', function() {
let mainWindow = new BrowserWindow({width: 800, height: 600});
mainWindow.loadURL(`file://${__dirname}/index.html`);
let menu = Menu.buildFromTemplate([
{
label: 'Edit',
submenu: [
{
label: 'Cut',
accelerator: 'CmdOrCtrl+X',
click: () => console.log('cut'),
},
{
label: 'Copy',
accelerator: 'CmdOrCtrl+C',
click: () => console.log('copy'),
},
{
label: 'Paste',
accelerator: 'CmdOrCtrl+V',
click: () => console.log('paste'),
},
{
label: 'Select All',
accelerator: 'CmdOrCtrl+A',
click: () => console.log('select all'),
},
],
},
]);
Menu.setApplicationMenu(menu);
});
app.on('window-all-closed', function() {
app.quit();
});
</code></pre></div> | <ul dir="auto">
<li>Electron version: All</li>
<li>Operating system: Windows vs Mac</li>
</ul>
<p dir="auto">When I define a custom undo behaviour I found it become different between Windows and Mac devices.</p>
<p dir="auto">This is what I did:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// the main menu I overwrite:
let menuTemplate = [
// Edit
{
label: 'Edit',
submenu: [
{
label: 'Undo',
accelerator: 'CmdOrCtrl+Z',
click () {
console.log('Undo');
}
},
{
label: 'Redo',
accelerator: 'Shift+CmdOrCtrl+Z',
click () {
console.log('Redo');
}
},
]
}
];"><pre class="notranslate"><span class="pl-c">// the main menu I overwrite:</span>
<span class="pl-k">let</span> <span class="pl-s1">menuTemplate</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span>
<span class="pl-c">// Edit</span>
<span class="pl-kos">{</span>
<span class="pl-c1">label</span>: <span class="pl-s">'Edit'</span><span class="pl-kos">,</span>
<span class="pl-c1">submenu</span>: <span class="pl-kos">[</span>
<span class="pl-kos">{</span>
<span class="pl-c1">label</span>: <span class="pl-s">'Undo'</span><span class="pl-kos">,</span>
<span class="pl-c1">accelerator</span>: <span class="pl-s">'CmdOrCtrl+Z'</span><span class="pl-kos">,</span>
<span class="pl-en">click</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">'Undo'</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-c1">label</span>: <span class="pl-s">'Redo'</span><span class="pl-kos">,</span>
<span class="pl-c1">accelerator</span>: <span class="pl-s">'Shift+CmdOrCtrl+Z'</span><span class="pl-kos">,</span>
<span class="pl-en">click</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">'Redo'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">]</span>
<span class="pl-kos">}</span>
<span class="pl-kos">]</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">As you can see, I overwrite the Undo behaviour and use the same shortcuts from the Browser. When I press <code class="notranslate">ctrl/cmd+z</code> on Mac, things goes fine, the menu click go first and take over it. But in Windows, it seems like the original <code class="notranslate">webContents.undo()</code> will be executed first, if the undo stack have states (which means you should typing some letters on a <code class="notranslate"><input></code> first).</p>
<p dir="auto">This makes me have no chance to overwrite the undo for Windows platform. Is this expect in Windows? If we can not change the menu behaviour, is there a way to disable/stop <code class="notranslate">webContents.undo</code> when pressing <code class="notranslate">ctrl+z</code> so that the Main Menu can receive it?</p> | 1 |
<h3 dir="auto">Preflight Checklist</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://www.github.com/electron/electron/issues">issue tracker</a> for a feature request that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Electron Version</h3>
<p dir="auto">13.1.17</p>
<h3 dir="auto">What operating system are you using?</h3>
<p dir="auto">Windows</p>
<h3 dir="auto">Operating System Version</h3>
<p dir="auto">win10 20H2</p>
<h3 dir="auto">What arch are you using?</h3>
<p dir="auto">x64</p>
<h3 dir="auto">Last Known Working Electron version</h3>
<p dir="auto">9.0.0</p>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">const options = {</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" deviceName: "233B",
silent: true,
printBackground: true,
margins: {
marginsType: 'custom',
top: 0,
bottom: 0,
left: 0,
right: 0
},
pageSize: {
width: curTagBaseSet.printSet.width * 1000 - 1000,
height: curTagBaseSet.printSet.height * 1000,
}
}"><pre class="notranslate"><code class="notranslate"> deviceName: "233B",
silent: true,
printBackground: true,
margins: {
marginsType: 'custom',
top: 0,
bottom: 0,
left: 0,
right: 0
},
pageSize: {
width: curTagBaseSet.printSet.width * 1000 - 1000,
height: curTagBaseSet.printSet.height * 1000,
}
}
</code></pre></div>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">webview print is not working with deviceName</p>
<h3 dir="auto">Testcase Gist URL</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Additional Information</h3>
<p dir="auto"><em>No response</em></p> | <h3 dir="auto">Preflight Checklist</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://www.github.com/electron/electron/issues">issue tracker</a> for a feature request that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Electron Version</h3>
<p dir="auto">12.0.5,11.3.0,12.0.7</p>
<h3 dir="auto">What operating system are you using?</h3>
<p dir="auto">Windows</p>
<h3 dir="auto">Operating System Version</h3>
<p dir="auto">Windows 10</p>
<h3 dir="auto">What arch are you using?</h3>
<p dir="auto">x64</p>
<h3 dir="auto">Last Known Working Electron version</h3>
<p dir="auto">12.0.7</p>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">Window Set printer dynamically</p>
<p dir="auto">code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="let printCon = { silent: true, printBackground: false, ...printOptions }
log.log('url = ' + strUrl + '\n printCon=' + JSON.stringify(printCon))
try {
// did-finish-load
printWindow.webContents.on('did-finish-load', () => {
log.log('did-finish-load')
printWindow.webContents.print(
printCon,
(success, failureReason) => {
log.log('success=' + success + ' failureReason =' + failureReason)
if (callback) {
callback(success ? null : failureReason)
}
}
)
})"><pre class="notranslate"><code class="notranslate">let printCon = { silent: true, printBackground: false, ...printOptions }
log.log('url = ' + strUrl + '\n printCon=' + JSON.stringify(printCon))
try {
// did-finish-load
printWindow.webContents.on('did-finish-load', () => {
log.log('did-finish-load')
printWindow.webContents.print(
printCon,
(success, failureReason) => {
log.log('success=' + success + ' failureReason =' + failureReason)
if (callback) {
callback(success ? null : failureReason)
}
}
)
})
</code></pre></div>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">Windows Error: webContents.print(): Invalid deviceName provided!<br>
mac is working</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1973318/118950086-725a1b80-b98c-11eb-8764-e13b7a41b018.png"><img src="https://user-images.githubusercontent.com/1973318/118950086-725a1b80-b98c-11eb-8764-e13b7a41b018.png" alt="截屏2021-05-20 下午4 22 17" style="max-width: 100%;"></a></p>
<h3 dir="auto">Testcase Gist URL</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Additional Information</h3>
<p dir="auto">code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="let printCon = { silent: true, printBackground: false, ...printOptions }
log.log('url = ' + strUrl + '\n printCon=' + JSON.stringify(printCon))
try {
// did-finish-load
printWindow.webContents.on('did-finish-load', () => {
log.log('did-finish-load')
printWindow.webContents.print(
printCon,
(success, failureReason) => {
log.log('success=' + success + ' failureReason =' + failureReason)
if (callback) {
callback(success ? null : failureReason)
}
}
)
})"><pre class="notranslate"><code class="notranslate">let printCon = { silent: true, printBackground: false, ...printOptions }
log.log('url = ' + strUrl + '\n printCon=' + JSON.stringify(printCon))
try {
// did-finish-load
printWindow.webContents.on('did-finish-load', () => {
log.log('did-finish-load')
printWindow.webContents.print(
printCon,
(success, failureReason) => {
log.log('success=' + success + ' failureReason =' + failureReason)
if (callback) {
callback(success ? null : failureReason)
}
}
)
})
</code></pre></div> | 1 |
<p dir="auto">After upgrading to babel 7, the command to transpile a directory, that worked well in the same project with Babel 6 is failing with a <code class="notranslate">Maximum call stack size exceeded</code> after transpiling <strong>369 files</strong>.</p>
<p dir="auto">The command executed is:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="babel --copy-files --ignore '**/__tests__/*.js,node_modules' --out-dir ./functions ./modules"><pre class="notranslate"><code class="notranslate">babel --copy-files --ignore '**/__tests__/*.js,node_modules' --out-dir ./functions ./modules
</code></pre></div>
<p dir="auto">When executed on a subset of the the folder, it works well. It seems to be an issue with the number of files being transpiled.</p>
<h3 dir="auto">Stack trace</h3>
<p dir="auto">(The stack trace changes with the number of files being transpilled).</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="RangeError: Maximum call stack size exceeded
at normalizeStringPosix (path.js:78:30)
at Object.normalize (path.js:1193:12)
at Object.join (path.js:1228:18)
at getDest (<project>/node_modules/@babel/cli/lib/babel/dir.js:57:26)
at <project>/node_modules/@babel/cli/lib/babel/dir.js:70:20
at write (<project>/node_modules/@babel/cli/lib/babel/dir.js:30:14)
at handleFile (<project>/node_modules/@babel/cli/lib/babel/dir.js:66:5)
at sequentialHandleFile (<project>/node_modules/@babel/cli/lib/babel/dir.js:89:5)
at <project>/node_modules/@babel/cli/lib/babel/dir.js:94:9
at <project>/node_modules/@babel/cli/lib/babel/dir.js:75:14"><pre class="notranslate"><code class="notranslate">RangeError: Maximum call stack size exceeded
at normalizeStringPosix (path.js:78:30)
at Object.normalize (path.js:1193:12)
at Object.join (path.js:1228:18)
at getDest (<project>/node_modules/@babel/cli/lib/babel/dir.js:57:26)
at <project>/node_modules/@babel/cli/lib/babel/dir.js:70:20
at write (<project>/node_modules/@babel/cli/lib/babel/dir.js:30:14)
at handleFile (<project>/node_modules/@babel/cli/lib/babel/dir.js:66:5)
at sequentialHandleFile (<project>/node_modules/@babel/cli/lib/babel/dir.js:89:5)
at <project>/node_modules/@babel/cli/lib/babel/dir.js:94:9
at <project>/node_modules/@babel/cli/lib/babel/dir.js:75:14
</code></pre></div>
<h3 dir="auto">Babel Configuration</h3>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"presets": [
["@babel/env", {
"targets": {
"node": "6.11.5"
}
}],
"@babel/flow",
"@babel/react"
],
"plugins": [
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-proposal-class-properties",
"transform-decorators",
[ "module-resolver", {
"alias": {
"@gitbook": "./modules",
"aphrodite": "aphrodite/no-important"
},
"cwd": "babelrc"
}]
],
"ignore": [
"modules/node_modules/**/*",
"modules/styleguide/icons/*.js"
]
}"><pre class="notranslate"><span class="pl-kos">{</span>
<span class="pl-s">"presets"</span>: <span class="pl-kos">[</span>
<span class="pl-kos">[</span><span class="pl-s">"@babel/env"</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>
<span class="pl-s">"targets"</span>: <span class="pl-kos">{</span>
<span class="pl-s">"node"</span>: <span class="pl-s">"6.11.5"</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-s">"@babel/flow"</span><span class="pl-kos">,</span>
<span class="pl-s">"@babel/react"</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-s">"plugins"</span>: <span class="pl-kos">[</span>
<span class="pl-s">"@babel/plugin-proposal-object-rest-spread"</span><span class="pl-kos">,</span>
<span class="pl-s">"@babel/plugin-proposal-class-properties"</span><span class="pl-kos">,</span>
<span class="pl-s">"transform-decorators"</span><span class="pl-kos">,</span>
<span class="pl-kos">[</span> <span class="pl-s">"module-resolver"</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>
<span class="pl-s">"alias"</span>: <span class="pl-kos">{</span>
<span class="pl-s">"@gitbook"</span>: <span class="pl-s">"./modules"</span><span class="pl-kos">,</span>
<span class="pl-s">"aphrodite"</span>: <span class="pl-s">"aphrodite/no-important"</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-s">"cwd"</span>: <span class="pl-s">"babelrc"</span>
<span class="pl-kos">}</span><span class="pl-kos">]</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-s">"ignore"</span>: <span class="pl-kos">[</span>
<span class="pl-s">"modules/node_modules/**/*"</span><span class="pl-kos">,</span>
<span class="pl-s">"modules/styleguide/icons/*.js"</span>
<span class="pl-kos">]</span>
<span class="pl-kos">}</span></pre></div> | <h3 dir="auto">Babel/Babylon Configuration (.babelrc, package.json, cli command)</h3>
<p dir="auto">.babelrc</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"presets": [
["@babel/env", {
"targets": { "node": "6.11.5" }
}]
],
"plugins": ["@babel/plugin-proposal-object-rest-spread"]
}"><pre class="notranslate"><span class="pl-kos">{</span>
<span class="pl-s">"presets"</span>: <span class="pl-kos">[</span>
<span class="pl-kos">[</span><span class="pl-s">"@babel/env"</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>
<span class="pl-s">"targets"</span>: <span class="pl-kos">{</span> <span class="pl-s">"node"</span>: <span class="pl-s">"6.11.5"</span> <span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">]</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-s">"plugins"</span>: <span class="pl-kos">[</span><span class="pl-s">"@babel/plugin-proposal-object-rest-spread"</span><span class="pl-kos">]</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">CLI Command</p>
<p dir="auto"><code class="notranslate">babel 'functions/src' --out-dir 'functions/bundle' --copy-files --ignore 'functions/src/node_modules' </code></p>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">After executing this command, resulting files were correctly copied at functions/bundle folder using beta.37</p>
<h3 dir="auto">Current Behavior</h3>
<p dir="auto">With beta.38 and beta.39, following error arises after processing last file</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="RangeError: Maximum call stack size exceeded
at /Users/karlas/myapp/node_modules/@babel/cli/lib/babel/dir.js:71:56
at write (/Users/karlas/myapp/node_modules/@babel/cli/lib/babel/dir.js:30:14)
at handleFile (/Users/karlas/myapp/node_modules/@babel/cli/lib/babel/dir.js:66:5)
at sequentialHandleFile (/Users/karlas/myapp/node_modules/@babel/cli/lib/babel/dir.js:89:5)
at /Users/karlas/myapp/node_modules/@babel/cli/lib/babel/dir.js:94:9
at /Users/karlas/myapp/node_modules/@babel/cli/lib/babel/dir.js:75:14
at write (/Users/karlas/myapp/node_modules/@babel/cli/lib/babel/dir.js:30:14)
at handleFile (/Users/karlas/myapp/node_modules/@babel/cli/lib/babel/dir.js:66:5)
at sequentialHandleFile (/Users/karlas/myapp/node_modules/@babel/cli/lib/babel/dir.js:89:5)
at /Users/karlas/myapp/node_modules/@babel/cli/lib/babel/dir.js:94:9"><pre class="notranslate"><code class="notranslate">RangeError: Maximum call stack size exceeded
at /Users/karlas/myapp/node_modules/@babel/cli/lib/babel/dir.js:71:56
at write (/Users/karlas/myapp/node_modules/@babel/cli/lib/babel/dir.js:30:14)
at handleFile (/Users/karlas/myapp/node_modules/@babel/cli/lib/babel/dir.js:66:5)
at sequentialHandleFile (/Users/karlas/myapp/node_modules/@babel/cli/lib/babel/dir.js:89:5)
at /Users/karlas/myapp/node_modules/@babel/cli/lib/babel/dir.js:94:9
at /Users/karlas/myapp/node_modules/@babel/cli/lib/babel/dir.js:75:14
at write (/Users/karlas/myapp/node_modules/@babel/cli/lib/babel/dir.js:30:14)
at handleFile (/Users/karlas/myapp/node_modules/@babel/cli/lib/babel/dir.js:66:5)
at sequentialHandleFile (/Users/karlas/myapp/node_modules/@babel/cli/lib/babel/dir.js:89:5)
at /Users/karlas/myapp/node_modules/@babel/cli/lib/babel/dir.js:94:9
</code></pre></div>
<h3 dir="auto">Possible Solution</h3>
<p dir="auto">Check <a class="commit-link" href="https://github.com/babel/babel/commit/26e4911eb22a75f6581febe0cedc245a683c55cb#diff-f93fbf6dce06b5cbf6cc65f5f7dac101"><tt>26e4911</tt>#diff-f93fbf6dce06b5cbf6cc65f5f7dac101</a></p>
<p dir="auto">This is the last commit where this dir.js file was modified. Tags are beta.38 and beta.39 (the affected versions)</p>
<h3 dir="auto">Context</h3>
<p dir="auto">Just transpiling about 20 files to be used on Firebase Functions</p>
<h3 dir="auto">Your Environment</h3>
<table role="table">
<thead>
<tr>
<th>software</th>
<th>version(s)</th>
</tr>
</thead>
<tbody>
<tr>
<td>Babel</td>
<td>7.0.0-beta.39</td>
</tr>
<tr>
<td>node</td>
<td>8.9.3</td>
</tr>
<tr>
<td>npm</td>
<td>5.5.1</td>
</tr>
<tr>
<td>yarn</td>
<td>1.3.2</td>
</tr>
<tr>
<td>Operating System</td>
<td>macOS High Sierra</td>
</tr>
</tbody>
</table> | 1 |
<p dir="auto">I'm just reporting this error I got when using atom.<br>
Error report:</p>
<p dir="auto">[Enter steps to reproduce below:]</p>
<ol dir="auto">
<li>I opened a folder in atom with the windows context menu item</li>
<li>I right clicked on a a folder in the sidebar and up pops the error.</li>
</ol>
<p dir="auto"><strong>Atom Version</strong>: 0.210.0<br>
<strong>System</strong>: Microsoft Windows 8.1 Pro with Media Center<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Stack Trace</h3>
<p dir="auto">Uncaught Error: Cannot find module './context-menu'<br>
Error: Cannot find module './context-menu'<br>
at Function.Module._resolveFilename (module.js:328:15)<br>
at Function.Module._load (module.js:270:25)<br>
at Module.require (module.js:357:17)<br>
at require (module.js:376:17)<br>
at BrowserWindow. (C:\Users\Philip\AppData\Local\atom\app-0.210.0\resources\app.asar\src\browser\atom-window.js:152:27)<br>
at emitOne (events.js:77:13)<br>
at BrowserWindow.emit (events.js:166:7)<br>
at callFunction (C:\Users\Philip\AppData\Local\atom\app-0.210.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)<br>
at EventEmitter. (C:\Users\Philip\AppData\Local\atom\app-0.210.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)<br>
at emitMany (events.js:108:13)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At C:\Users\Philip\AppData\Local\atom\app-0.210.0\resources\atom.asar\renderer\api\lib\remote.js:77
Error: Cannot find module './context-menu'
Error: Cannot find module './context-menu'
at Function.Module._resolveFilename (module.js:328:15)
at Function.Module._load (module.js:270:25)
at Module.require (module.js:357:17)
at require (module.js:376:17)
at BrowserWindow.<anonymous> (C:\Users\Philip\AppData\Local\atom\app-0.210.0\resources\app.asar\src\browser\atom-window.js:152:27)
at emitOne (events.js:77:13)
at BrowserWindow.emit (events.js:166:7)
at callFunction (C:\Users\Philip\AppData\Local\atom\app-0.210.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)
at EventEmitter.<anonymous> (C:\Users\Philip\AppData\Local\atom\app-0.210.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)
at emitMany (events.js:108:13)
at metaToValue (C:\Users\Philip\AppData\Local\atom\app-0.210.0\resources\atom.asar\renderer\api\lib\remote.js:77:15)
at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\Philip\AppData\Local\atom\app-0.210.0\resources\atom.asar\renderer\api\lib\remote.js:111:26)
at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\Philip\AppData\Local\atom\app-0.210.0\resources\app.asar\src\context-menu-manager.js:170:31)
at HTMLDocument.<anonymous> (C:\Users\Philip\AppData\Local\atom\app-0.210.0\resources\app.asar\src\window-event-handler.js:150:33)
at HTMLDocument.handler (C:\Users\Philip\AppData\Local\atom\app-0.210.0\resources\app.asar\src\space-pen-extensions.js:112:34)
at HTMLDocument.jQuery.event.dispatch (C:\Users\Philip\AppData\Local\atom\app-0.210.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9)
at HTMLDocument.elemData.handle (C:\Users\Philip\AppData\Local\atom\app-0.210.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46)"><pre class="notranslate"><code class="notranslate">At C:\Users\Philip\AppData\Local\atom\app-0.210.0\resources\atom.asar\renderer\api\lib\remote.js:77
Error: Cannot find module './context-menu'
Error: Cannot find module './context-menu'
at Function.Module._resolveFilename (module.js:328:15)
at Function.Module._load (module.js:270:25)
at Module.require (module.js:357:17)
at require (module.js:376:17)
at BrowserWindow.<anonymous> (C:\Users\Philip\AppData\Local\atom\app-0.210.0\resources\app.asar\src\browser\atom-window.js:152:27)
at emitOne (events.js:77:13)
at BrowserWindow.emit (events.js:166:7)
at callFunction (C:\Users\Philip\AppData\Local\atom\app-0.210.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)
at EventEmitter.<anonymous> (C:\Users\Philip\AppData\Local\atom\app-0.210.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)
at emitMany (events.js:108:13)
at metaToValue (C:\Users\Philip\AppData\Local\atom\app-0.210.0\resources\atom.asar\renderer\api\lib\remote.js:77:15)
at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\Philip\AppData\Local\atom\app-0.210.0\resources\atom.asar\renderer\api\lib\remote.js:111:26)
at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\Philip\AppData\Local\atom\app-0.210.0\resources\app.asar\src\context-menu-manager.js:170:31)
at HTMLDocument.<anonymous> (C:\Users\Philip\AppData\Local\atom\app-0.210.0\resources\app.asar\src\window-event-handler.js:150:33)
at HTMLDocument.handler (C:\Users\Philip\AppData\Local\atom\app-0.210.0\resources\app.asar\src\space-pen-extensions.js:112:34)
at HTMLDocument.jQuery.event.dispatch (C:\Users\Philip\AppData\Local\atom\app-0.210.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9)
at HTMLDocument.elemData.handle (C:\Users\Philip\AppData\Local\atom\app-0.210.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46)
</code></pre></div>
<h3 dir="auto">Commands</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"></code></pre></div>
<h3 dir="auto">Config</h3>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"core": {
"themes": [
"one-light-ui",
"one-light-syntax"
],
"disabledPackages": [
"atom-sharp",
"autocomplete-paths",
"linter"
]
},
"editor": {
"invisibles": {}
}
}"><pre class="notranslate">{
<span class="pl-ent">"core"</span>: {
<span class="pl-ent">"themes"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>one-light-ui<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>one-light-syntax<span class="pl-pds">"</span></span>
],
<span class="pl-ent">"disabledPackages"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>atom-sharp<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>autocomplete-paths<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>linter<span class="pl-pds">"</span></span>
]
},
<span class="pl-ent">"editor"</span>: {
<span class="pl-ent">"invisibles"</span>: {}
}
}</pre></div>
<h3 dir="auto">Installed Packages</h3>
<div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User
atom-ternjs, v0.5.30
autoclose-html, v0.18.0
build, v0.38.0
javascript-snippets, v1.0.0
language-fsharp, v0.8.4
language-rust, v0.4.3
linter-rust, v0.1.0
racer, v0.14.1
scheme-syntax, v0.4.0
simple-drag-drop-text, v0.2.3
terminal-status, v1.6.8
# Dev
No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span>
atom<span class="pl-k">-</span>ternjs, v0.<span class="pl-ii">5</span>.<span class="pl-ii">30</span>
autoclose<span class="pl-k">-</span>html, v0.<span class="pl-ii">18</span>.<span class="pl-ii">0</span>
build, v0.<span class="pl-ii">38</span>.<span class="pl-ii">0</span>
javascript<span class="pl-k">-</span>snippets, v1.<span class="pl-ii">0</span>.<span class="pl-ii">0</span>
language<span class="pl-k">-</span>fsharp, v0.<span class="pl-ii">8</span>.<span class="pl-ii">4</span>
language<span class="pl-k">-</span>rust, v0.<span class="pl-ii">4</span>.<span class="pl-ii">3</span>
linter<span class="pl-k">-</span>rust, v0.<span class="pl-ii">1</span>.<span class="pl-ii">0</span>
racer, v0.<span class="pl-ii">14</span>.<span class="pl-ii">1</span>
scheme<span class="pl-k">-</span>syntax, v0.<span class="pl-ii">4</span>.<span class="pl-ii">0</span>
simple<span class="pl-k">-</span>drag<span class="pl-k">-</span>drop<span class="pl-k">-</span>text, v0.<span class="pl-ii">2</span>.<span class="pl-ii">3</span>
terminal<span class="pl-k">-</span>status, v1.<span class="pl-ii">6</span>.<span class="pl-ii">8</span>
<span class="pl-c"><span class="pl-c">#</span> Dev</span>
<span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div> | <p dir="auto">I right-clicked on a folder in the tree view</p>
<p dir="auto"><strong>Atom Version</strong>: 0.194.0<br>
<strong>System</strong>: Windows 7 Entreprise<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Stack Trace</h3>
<p dir="auto">Uncaught Error: Cannot find module './context-menu'<br>
Error: Cannot find module './context-menu'<br>
at Function.Module._resolveFilename (module.js:328:15)<br>
at Function.Module._load (module.js:270:25)<br>
at Module.require (module.js:357:17)<br>
at require (module.js:376:17)<br>
at BrowserWindow. (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\browser\atom-window.js:152:27)<br>
at emitOne (events.js:77:13)<br>
at BrowserWindow.emit (events.js:166:7)<br>
at callFunction (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)<br>
at EventEmitter. (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)<br>
at emitMany (events.js:108:13)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77
Error: Cannot find module './context-menu'
Error: Cannot find module './context-menu'
at Function.Module._resolveFilename (module.js:328:15)
at Function.Module._load (module.js:270:25)
at Module.require (module.js:357:17)
at require (module.js:376:17)
at BrowserWindow.<anonymous> (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\browser\atom-window.js:152:27)
at emitOne (events.js:77:13)
at BrowserWindow.emit (events.js:166:7)
at callFunction (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)
at EventEmitter.<anonymous> (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)
at emitMany (events.js:108:13)
at metaToValue (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77:15)
at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:111:26)
at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\context-menu-manager.js:170:31)
at HTMLDocument.<anonymous> (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\window-event-handler.js:149:33)
at HTMLDocument.handler (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\space-pen-extensions.js:112:34)
at HTMLDocument.jQuery.event.dispatch (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9)
at HTMLDocument.elemData.handle (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46)
"><pre class="notranslate"><code class="notranslate">At C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77
Error: Cannot find module './context-menu'
Error: Cannot find module './context-menu'
at Function.Module._resolveFilename (module.js:328:15)
at Function.Module._load (module.js:270:25)
at Module.require (module.js:357:17)
at require (module.js:376:17)
at BrowserWindow.<anonymous> (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\browser\atom-window.js:152:27)
at emitOne (events.js:77:13)
at BrowserWindow.emit (events.js:166:7)
at callFunction (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)
at EventEmitter.<anonymous> (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)
at emitMany (events.js:108:13)
at metaToValue (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77:15)
at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:111:26)
at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\context-menu-manager.js:170:31)
at HTMLDocument.<anonymous> (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\window-event-handler.js:149:33)
at HTMLDocument.handler (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\space-pen-extensions.js:112:34)
at HTMLDocument.jQuery.event.dispatch (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9)
at HTMLDocument.elemData.handle (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46)
</code></pre></div>
<h3 dir="auto">Commands</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" -4:55.5.0 editor:checkout-head-revision (atom-text-editor.editor.is-focused)
2x -3:41.6.0 window:focus-pane-on-right (atom-text-editor.editor)
-3:17.5.0 application:add-project-folder (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-2:47.4.0 editor:newline (atom-text-editor.editor.is-focused)
-2:38.2.0 core:cut (atom-text-editor.editor)
-2:36.5.0 core:paste (atom-text-editor.editor.is-focused)
-2:26.6.0 core:save (atom-text-editor.editor.is-focused)
-2:20.6.0 core:move-down (atom-text-editor.editor)
-2:20.4.0 autocomplete-plus:confirm (atom-text-editor.editor)
-2:15.8.0 core:save (atom-text-editor.editor)
-2:08.7.0 core:copy (atom-text-editor.editor.is-focused)
-2:01.2.0 core:paste (atom-text-editor.editor.is-focused)
-1:59.7.0 core:save (atom-text-editor.editor.is-focused)
-1:52.2.0 core:paste (atom-text-editor.editor.is-focused)
-1:51.6.0 core:save (atom-text-editor.editor.is-focused)
-1:30.6.0 core:backspace (atom-text-editor.editor)"><pre class="notranslate"><code class="notranslate"> -4:55.5.0 editor:checkout-head-revision (atom-text-editor.editor.is-focused)
2x -3:41.6.0 window:focus-pane-on-right (atom-text-editor.editor)
-3:17.5.0 application:add-project-folder (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-2:47.4.0 editor:newline (atom-text-editor.editor.is-focused)
-2:38.2.0 core:cut (atom-text-editor.editor)
-2:36.5.0 core:paste (atom-text-editor.editor.is-focused)
-2:26.6.0 core:save (atom-text-editor.editor.is-focused)
-2:20.6.0 core:move-down (atom-text-editor.editor)
-2:20.4.0 autocomplete-plus:confirm (atom-text-editor.editor)
-2:15.8.0 core:save (atom-text-editor.editor)
-2:08.7.0 core:copy (atom-text-editor.editor.is-focused)
-2:01.2.0 core:paste (atom-text-editor.editor.is-focused)
-1:59.7.0 core:save (atom-text-editor.editor.is-focused)
-1:52.2.0 core:paste (atom-text-editor.editor.is-focused)
-1:51.6.0 core:save (atom-text-editor.editor.is-focused)
-1:30.6.0 core:backspace (atom-text-editor.editor)
</code></pre></div>
<h3 dir="auto">Config</h3>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"core": {
"ignoredNames": [
"node_modules"
],
"themes": [
"atom-dark-ui",
"seti-syntax"
],
"disabledPackages": [
"Tern"
],
"projectHome": "Y:\\app-tfoumax"
},
"editor": {
"invisibles": {},
"softWrap": true,
"showIndentGuide": true
}
}"><pre class="notranslate">{
<span class="pl-ent">"core"</span>: {
<span class="pl-ent">"ignoredNames"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>node_modules<span class="pl-pds">"</span></span>
],
<span class="pl-ent">"themes"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>atom-dark-ui<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>seti-syntax<span class="pl-pds">"</span></span>
],
<span class="pl-ent">"disabledPackages"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>Tern<span class="pl-pds">"</span></span>
],
<span class="pl-ent">"projectHome"</span>: <span class="pl-s"><span class="pl-pds">"</span>Y:<span class="pl-cce">\\</span>app-tfoumax<span class="pl-pds">"</span></span>
},
<span class="pl-ent">"editor"</span>: {
<span class="pl-ent">"invisibles"</span>: {},
<span class="pl-ent">"softWrap"</span>: <span class="pl-c1">true</span>,
<span class="pl-ent">"showIndentGuide"</span>: <span class="pl-c1">true</span>
}
}</pre></div>
<h3 dir="auto">Installed Packages</h3>
<div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User
autocomplete-plus, v2.12.0
autocomplete-snippets, v1.2.0
javascript-snippets, v1.0.0
jshint, v1.3.5
language-ejs, v0.1.0
linter, v0.12.1
pretty-json, v0.3.3
save-session, v0.14.0
Search, v0.4.0
seti-syntax, v0.4.0
# Dev
No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span>
autocomplete<span class="pl-k">-</span>plus, v2.<span class="pl-ii">12</span>.<span class="pl-ii">0</span>
autocomplete<span class="pl-k">-</span>snippets, v1.<span class="pl-ii">2</span>.<span class="pl-ii">0</span>
javascript<span class="pl-k">-</span>snippets, v1.<span class="pl-ii">0</span>.<span class="pl-ii">0</span>
jshint, v1.<span class="pl-ii">3</span>.<span class="pl-ii">5</span>
language<span class="pl-k">-</span>ejs, v0.<span class="pl-ii">1</span>.<span class="pl-ii">0</span>
linter, v0.<span class="pl-ii">12</span>.<span class="pl-ii">1</span>
pretty<span class="pl-k">-</span>json, v0.<span class="pl-ii">3</span>.<span class="pl-ii">3</span>
save<span class="pl-k">-</span>session, v0.<span class="pl-ii">14</span>.<span class="pl-ii">0</span>
Search, v0.<span class="pl-ii">4</span>.<span class="pl-ii">0</span>
seti<span class="pl-k">-</span>syntax, v0.<span class="pl-ii">4</span>.<span class="pl-ii">0</span>
<span class="pl-c"><span class="pl-c">#</span> Dev</span>
<span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div> | 1 |
<p dir="auto">I have tested this input code in chrome and your compiled code also and discovered an issue. I have described that issue in the comments in the following code.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class B extends RegExp {
constructor(source, flags) {
super(source, flags);
}
getName() {
return 'name';
}
}
new B('test', 'i').test('TeSt') // is true as should be
new B('test', 'i').test('TeSt') // throws error but should be "name""><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">B</span> <span class="pl-k">extends</span> <span class="pl-v">RegExp</span> <span class="pl-kos">{</span>
<span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-s1">source</span><span class="pl-kos">,</span> <span class="pl-s1">flags</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">super</span><span class="pl-kos">(</span><span class="pl-s1">source</span><span class="pl-kos">,</span> <span class="pl-s1">flags</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-en">getName</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-s">'name'</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-k">new</span> <span class="pl-v">B</span><span class="pl-kos">(</span><span class="pl-s">'test'</span><span class="pl-kos">,</span> <span class="pl-s">'i'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'TeSt'</span><span class="pl-kos">)</span> <span class="pl-c">// is true as should be</span>
<span class="pl-k">new</span> <span class="pl-v">B</span><span class="pl-kos">(</span><span class="pl-s">'test'</span><span class="pl-kos">,</span> <span class="pl-s">'i'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'TeSt'</span><span class="pl-kos">)</span> <span class="pl-c">// throws error but should be "name"</span></pre></div> | <p dir="auto">Current Babel transform, when it comes to call the parent</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function _possibleConstructorReturn(self, call) {
if (!self) {
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}
return call && (typeof call === "object" || typeof call === "function") ? call : self;
}"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">_possibleConstructorReturn</span><span class="pl-kos">(</span><span class="pl-s1">self</span><span class="pl-kos">,</span> <span class="pl-s1">call</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-c1">!</span><span class="pl-s1">self</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">throw</span> <span class="pl-k">new</span> <span class="pl-v">ReferenceError</span><span class="pl-kos">(</span><span class="pl-s">"this hasn't been initialised - super() hasn't been called"</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">call</span> <span class="pl-c1">&&</span> <span class="pl-kos">(</span><span class="pl-k">typeof</span> <span class="pl-s1">call</span> <span class="pl-c1">===</span> <span class="pl-s">"object"</span> <span class="pl-c1">||</span> <span class="pl-k">typeof</span> <span class="pl-s1">call</span> <span class="pl-c1">===</span> <span class="pl-s">"function"</span><span class="pl-kos">)</span> ? <span class="pl-s1">call</span> : <span class="pl-s1">self</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">It's a way too poor implementation.</p>
<p dir="auto">If we take the current basic ES6 compat syntax:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class List extends Array {}"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">List</span> <span class="pl-k">extends</span> <span class="pl-v">Array</span> <span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div>
<p dir="auto">We'll realize babel does a bad job.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var l = new List();
l instanceof List; // false"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">l</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">List</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">l</span> <span class="pl-k">instanceof</span> <span class="pl-v">List</span><span class="pl-kos">;</span> <span class="pl-c">// false</span></pre></div>
<p dir="auto">The reason is simple: Babel replace the returns and exit, without caring about userland expectations.</p>
<p dir="auto">This is how above basic extend should desugar:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function List() {
return Object.setPrototypeOf(
Array.apply(this, arguments),
List.prototype
);
}"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-v">List</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-v">Object</span><span class="pl-kos">.</span><span class="pl-en">setPrototypeOf</span><span class="pl-kos">(</span>
<span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-en">apply</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">,</span> <span class="pl-smi">arguments</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-v">List</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span>
<span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">It's a very ad-hoc case for the initial example that currently fails, but it's good enough to understand that inheriting the prototype is the least of the problem.</p>
<p dir="auto">Indeed, we have 3 ways to do that within a transpiled code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// losing the initial prototype
// for polyfilled ES5+ or lower
List.prototype = Object.create(
Array.prototype,
{constructor: {
configurable: true,
writable: true,
value: List.prototype
}}
);
// using a cleaner way
// for ES5+ compliant targets
Object.setPrototypeOf(
List.prototype,
Array.prototype
);
// using a cleaner way
// that works well with
// partially polyfilled .setPrototypeOf
List.prototype = Object.setPrototypeOf(
List.prototype,
Array.prototype
);"><pre class="notranslate"><span class="pl-c">// losing the initial prototype</span>
<span class="pl-c">// for polyfilled ES5+ or lower</span>
<span class="pl-v">List</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span> <span class="pl-c1">=</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">create</span><span class="pl-kos">(</span>
<span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span><span class="pl-c1">constructor</span>: <span class="pl-kos">{</span>
<span class="pl-c1">configurable</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c1">writable</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c1">value</span>: <span class="pl-v">List</span><span class="pl-kos">.</span><span class="pl-c1">prototype</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">// using a cleaner way</span>
<span class="pl-c">// for ES5+ compliant targets</span>
<span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">setPrototypeOf</span><span class="pl-kos">(</span>
<span class="pl-v">List</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">,</span>
<span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span>
<span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// using a cleaner way</span>
<span class="pl-c">// that works well with</span>
<span class="pl-c">// partially polyfilled .setPrototypeOf</span>
<span class="pl-v">List</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span> <span class="pl-c1">=</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">setPrototypeOf</span><span class="pl-kos">(</span>
<span class="pl-v">List</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">,</span>
<span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span>
<span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Solved the inheritance bit, considering Babel also set the prototype of each constructor,<br>
we need to address cases where a <code class="notranslate">super</code> call might "<em>upgrade</em>" the current context, like it is for <code class="notranslate">HTMLELement</code> or exotic native objects.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// native ES6 static example
class List extends Array {
constructor(a, b, c) {
super(a, b);
this.push(c);
}
}"><pre class="notranslate"><span class="pl-c">// native ES6 static example</span>
<span class="pl-k">class</span> <span class="pl-v">List</span> <span class="pl-k">extends</span> <span class="pl-v">Array</span> <span class="pl-kos">{</span>
<span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-s1">b</span><span class="pl-kos">,</span> <span class="pl-s1">c</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">super</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-s1">b</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-s1">c</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">Above case should desugar to something like the follwoing:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function List(a, b, c) {
// the super bit
var self = Object.setPrototypeOf(
Array.call(this, a, b),
List.prototype
);
// the rest with swapped context
self.push(c);
// at the end
return self;
}"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-v">List</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-s1">b</span><span class="pl-kos">,</span> <span class="pl-s1">c</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c">// the super bit</span>
<span class="pl-k">var</span> <span class="pl-s1">self</span> <span class="pl-c1">=</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">setPrototypeOf</span><span class="pl-kos">(</span>
<span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-en">call</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">,</span> <span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-s1">b</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-v">List</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span>
<span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// the rest with swapped context</span>
<span class="pl-s1">self</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-s1">c</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// at the end</span>
<span class="pl-k">return</span> <span class="pl-s1">self</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">which is also ad-hoc example code for the previous example.</p>
<p dir="auto">Considering a transpiler will get the arguments part easily right, this is how previous case could be generically transpiled for arguments used in both constructors:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// to make it as generic as possible
function Child() {
// the super call bit desugar to ...
var
instance = Object.getPrototypeOf(Child)
.apply(this, arguments),
type = instance ? typeof instance : '',
// if Parent overwrote its default return
self = (type === 'object' || type === 'function') ?
// upgrade the instance to reflect Child constructor
Object.setPrototypeOf(instance, Child.prototype) :
// otherwise use the current context as is
this
;
// at this point, the rest of the constructor
// should use `self` instead of `this`
self.push(c);
// and return `self` reference at the end
return self;
}"><pre class="notranslate"><span class="pl-c">// to make it as generic as possible</span>
<span class="pl-k">function</span> <span class="pl-v">Child</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c">// the super call bit desugar to ...</span>
<span class="pl-k">var</span>
<span class="pl-s1">instance</span> <span class="pl-c1">=</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">getPrototypeOf</span><span class="pl-kos">(</span><span class="pl-v">Child</span><span class="pl-kos">)</span>
<span class="pl-kos">.</span><span class="pl-en">apply</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">,</span> <span class="pl-smi">arguments</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-s1">type</span> <span class="pl-c1">=</span> <span class="pl-s1">instance</span> ? <span class="pl-k">typeof</span> <span class="pl-s1">instance</span> : <span class="pl-s">''</span><span class="pl-kos">,</span>
<span class="pl-c">// if Parent overwrote its default return</span>
<span class="pl-s1">self</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-s1">type</span> <span class="pl-c1">===</span> <span class="pl-s">'object'</span> <span class="pl-c1">||</span> <span class="pl-s1">type</span> <span class="pl-c1">===</span> <span class="pl-s">'function'</span><span class="pl-kos">)</span> ?
<span class="pl-c">// upgrade the instance to reflect Child constructor</span>
<span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">setPrototypeOf</span><span class="pl-kos">(</span><span class="pl-s1">instance</span><span class="pl-kos">,</span> <span class="pl-v">Child</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">)</span> :
<span class="pl-c">// otherwise use the current context as is</span>
<span class="pl-smi">this</span>
<span class="pl-kos">;</span>
<span class="pl-c">// at this point, the rest of the constructor</span>
<span class="pl-c">// should use `self` instead of `this`</span>
<span class="pl-s1">self</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-s1">c</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// and return `self` reference at the end</span>
<span class="pl-k">return</span> <span class="pl-s1">self</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">The last problem is that modern syntax would use <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect" rel="nofollow">Reflect</a> to create any sort of object, instead of old, ES3 friendly, <code class="notranslate">.call</code> or <code class="notranslate">.apply</code> way.</p>
<p dir="auto">Following a past, present, and even future proof approach:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var
reConstruct = typeof Reflect === 'object' ?
Reflect.construct :
function (Parent, args, Child) {
return Parent.apply(this, args);
}
;
function Child() {
// the super call bit
var
instance = reConstruct.call(
this,
Object.getPrototypeOf(Child),
arguments,
Child
),
type = instance ? typeof instance : '',
self = (type === 'object' || type === 'function') ?
Object.setPrototypeOf(instance, Child.prototype) :
this
;
// the rest of the constructor body
self.push(c);
// at the end or instead of empty returns
return self;
}"><pre class="notranslate"><span class="pl-k">var</span>
<span class="pl-s1">reConstruct</span> <span class="pl-c1">=</span> <span class="pl-k">typeof</span> <span class="pl-v">Reflect</span> <span class="pl-c1">===</span> <span class="pl-s">'object'</span> ?
<span class="pl-v">Reflect</span><span class="pl-kos">.</span><span class="pl-c1">construct</span> :
<span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-v">Parent</span><span class="pl-kos">,</span> <span class="pl-s1">args</span><span class="pl-kos">,</span> <span class="pl-v">Child</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-v">Parent</span><span class="pl-kos">.</span><span class="pl-en">apply</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">,</span> <span class="pl-s1">args</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">;</span>
<span class="pl-k">function</span> <span class="pl-v">Child</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c">// the super call bit</span>
<span class="pl-k">var</span>
<span class="pl-s1">instance</span> <span class="pl-c1">=</span> <span class="pl-s1">reConstruct</span><span class="pl-kos">.</span><span class="pl-en">call</span><span class="pl-kos">(</span>
<span class="pl-smi">this</span><span class="pl-kos">,</span>
<span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">getPrototypeOf</span><span class="pl-kos">(</span><span class="pl-v">Child</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">arguments</span><span class="pl-kos">,</span>
<span class="pl-v">Child</span>
<span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-s1">type</span> <span class="pl-c1">=</span> <span class="pl-s1">instance</span> ? <span class="pl-k">typeof</span> <span class="pl-s1">instance</span> : <span class="pl-s">''</span><span class="pl-kos">,</span>
<span class="pl-s1">self</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-s1">type</span> <span class="pl-c1">===</span> <span class="pl-s">'object'</span> <span class="pl-c1">||</span> <span class="pl-s1">type</span> <span class="pl-c1">===</span> <span class="pl-s">'function'</span><span class="pl-kos">)</span> ?
<span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">setPrototypeOf</span><span class="pl-kos">(</span><span class="pl-s1">instance</span><span class="pl-kos">,</span> <span class="pl-v">Child</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">)</span> :
<span class="pl-smi">this</span>
<span class="pl-kos">;</span>
<span class="pl-c">// the rest of the constructor body</span>
<span class="pl-s1">self</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-s1">c</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// at the end or instead of empty returns</span>
<span class="pl-k">return</span> <span class="pl-s1">self</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">Above solution would work with userland, exotic, or DOM constructors, and in both native and transpiled engines.</p> | 1 |
<p dir="auto">when I click the <code class="notranslate">reset</code>, the input value was empty.<br>
but the v-model <code class="notranslate">message</code> still was old value.<br>
Code here:<br>
<a href="https://jsfiddle.net/50wL7mdz/9404/" rel="nofollow">https://jsfiddle.net/50wL7mdz/9404/</a></p> | <p dir="auto">It clears the inputs but data is still there</p>
<p dir="auto"><a href="http://jsfiddle.net/5a6z6xmk/" rel="nofollow">http://jsfiddle.net/5a6z6xmk/</a></p> | 1 |
<h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version:1.32.2</li>
<li>Operating System: linux</li>
<li>Browser: [All, Chromium, Firefox, WebKit]</li>
<li>Other info:</li>
</ul>
<h3 dir="auto">Source code</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" docker-compose up --exit-code-from e2e--build e2e"><pre class="notranslate"><code class="notranslate"> docker-compose up --exit-code-from e2e--build e2e
</code></pre></div>
<p dir="auto"><strong>Steps</strong></p>
<ul dir="auto">
<li>Run a test in a container in circleCI</li>
</ul>
<p dir="auto"><strong>Expected</strong></p>
<p dir="auto">Delay exit code after the report generation might solve the issue</p>
<p dir="auto"><strong>Actual</strong></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/32042806/229803221-5993f7d9-41cf-45c3-8336-514516b27641.png"><img width="731" alt="Screenshot 2023-04-04 at 09 45 34" src="https://user-images.githubusercontent.com/32042806/229803221-5993f7d9-41cf-45c3-8336-514516b27641.png" style="max-width: 100%;"></a></p>
<p dir="auto">In order to show step failure we have to pass --exit-code-from flag, but this flag will case to terminate the container right away once test is done and playwright return exit code 1, this will case container to terminate before report generating</p> | <h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: [v1.0.0]</li>
<li>Operating System: [Windows 10]</li>
<li>Browser: [Chromium]</li>
<li>Other info:</li>
</ul>
<h3 dir="auto">Source code</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I provided exact source code that allows reproducing the issue locally.</li>
</ul>
<p dir="auto"><strong>Link to the GitHub repository with the repro</strong></p>
<p dir="auto">[https://github.com/your_profile/playwright_issue_title]</p>
<p dir="auto">or</p>
<p dir="auto"><strong>Config file</strong></p>
<p dir="auto">readonly msgContainer: Locator;<br>
this.msgContainer = page<br>
.locator(<br>
".ContextContainer.activeTab #MessagesContainerId .scil_label.messageHeaderValue.selectable.messageEmail"<br>
)<br>
.first();<br>
await expect(this.msgContainer).toHaveText(global.grabEmail);</p>
<p dir="auto"><strong>Steps</strong></p>
<ul dir="auto">
<li>[Run the test]</li>
<li>[...]</li>
</ul>
<p dir="auto"><strong>Expected</strong></p>
<p dir="auto">The text of msgContainer should grabbed as as it is.</p>
<p dir="auto"><strong>Actual</strong></p>
<p dir="auto">The value of msgContainer took grabbed with some additional '/'. The real value is ""Spider Man" <a href="mailto:spider.man@gmail.com">spider.man@gmail.com</a>" . But grabbed as ""Spider Man" <a href="mailto:spider.man@gmail.com">spider.man@gmail.com</a>"</p> | 0 |
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class FooError extends Error {
constructor(message:string) {
super(message);
}
}
console.log((new FooError('foo')).message); // <nothing>
console.log((new Error('bar')).message); // bar"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-smi">FooError</span> <span class="pl-k">extends</span> <span class="pl-smi">Error</span> <span class="pl-kos">{</span>
<span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-s1">message</span>:<span class="pl-smi">string</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">super</span><span class="pl-kos">(</span><span class="pl-s1">message</span><span class="pl-kos">)</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-kos">(</span><span class="pl-k">new</span> <span class="pl-smi">FooError</span><span class="pl-kos">(</span><span class="pl-s">'foo'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">message</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// <nothing></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-kos">(</span><span class="pl-k">new</span> <span class="pl-smi">Error</span><span class="pl-kos">(</span><span class="pl-s">'bar'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">message</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// bar</span></pre></div>
<p dir="auto">Am I missing something obvious or is there a bug with 1.8.9?</p> | <p dir="auto">Test case:</p>
<p dir="auto">myError.ts</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class MyError extends Error {
constructor(message: string) {
super(message);
}
}
let error = new MyError('Error Message');
console.log(error.message);"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-smi">MyError</span> <span class="pl-k">extends</span> <span class="pl-smi">Error</span> <span class="pl-kos">{</span>
<span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-s1">message</span>: <span class="pl-smi">string</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">super</span><span class="pl-kos">(</span><span class="pl-s1">message</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">let</span> <span class="pl-s1">error</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-smi">MyError</span><span class="pl-kos">(</span><span class="pl-s">'Error Message'</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-s1">error</span><span class="pl-kos">.</span><span class="pl-c1">message</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">tsconfig.json</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"compilerOptions": {
"target": "ES5",
"module": "commonjs"
}
}"><pre class="notranslate">{
<span class="pl-ent">"compilerOptions"</span>: {
<span class="pl-ent">"target"</span>: <span class="pl-s"><span class="pl-pds">"</span>ES5<span class="pl-pds">"</span></span>,
<span class="pl-ent">"module"</span>: <span class="pl-s"><span class="pl-pds">"</span>commonjs<span class="pl-pds">"</span></span>
}
}</pre></div>
<p dir="auto">compile and run using node:</p>
<p dir="auto">node myError.js</p>
<p dir="auto">Observe: nothing is printed to the console. Debugging it shows that the message passed to super is not recorded. Something seems very strange with the prototype chain in this case.</p>
<p dir="auto">I was under the impression from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="88569754" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/3516" data-hovercard-type="pull_request" data-hovercard-url="/microsoft/TypeScript/pull/3516/hovercard" href="https://github.com/microsoft/TypeScript/pull/3516">#3516</a> that this should work now even if generating ES5 code. If not possible for ES5 then the compiler should produce an error.</p> | 1 |
<p dir="auto">"var" is not more highlighted in blue in javascript file!</p> | <p dir="auto">Windows 10 is half baked one IE and now this editor.</p>
<p dir="auto">I was surprised with the built in extensions, but I'm feeling terrible after experiencing this issue.</p>
<p dir="auto">I was working with this editor, and suddenly my system became very slow and I'm forced to shut down my system. After the restart my current working file (see the attachment), got changed in to some other encoding. I lost my 3 hours of work :(.</p>
<ul dir="auto">
<li>Bala<br>
<a href="https://github.com/Microsoft/vscode/files/57803/global.txt">global.txt</a></li>
</ul> | 0 |
<p dir="auto"><strong>Migrated issue, originally created by Michael Bayer (<a href="https://github.com/zzzeek">@zzzeek</a>)</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from sqlalchemy import Integer, Column, ForeignKey
from sqlalchemy.ext.declarative import declarative_base
Base = declarative_base()
class A(Base):
__tablename__ = 'a'
id = Column(Integer, primary_key=True)
class AAbs(A):
__abstract__ = True
class B1(A):
__tablename__ = 'b1'
id = Column(ForeignKey('a.id'), primary_key=True)
class B2(AAbs):
__tablename__ = 'b2'
id = Column(ForeignKey('a.id'), primary_key=True)
assert B1.__mapper__.inherits is A.__mapper__ # passes
assert B2.__mapper__.inherits is A.__mapper__ # fails
"><pre class="notranslate"><code class="notranslate">from sqlalchemy import Integer, Column, ForeignKey
from sqlalchemy.ext.declarative import declarative_base
Base = declarative_base()
class A(Base):
__tablename__ = 'a'
id = Column(Integer, primary_key=True)
class AAbs(A):
__abstract__ = True
class B1(A):
__tablename__ = 'b1'
id = Column(ForeignKey('a.id'), primary_key=True)
class B2(AAbs):
__tablename__ = 'b2'
id = Column(ForeignKey('a.id'), primary_key=True)
assert B1.__mapper__.inherits is A.__mapper__ # passes
assert B2.__mapper__.inherits is A.__mapper__ # fails
</code></pre></div> | <p dir="auto"><strong>Migrated issue, originally created by David Lord (<a href="https://github.com/davidism">@davidism</a>)</strong></p>
<p dir="auto">I have the following models:</p>
<ul dir="auto">
<li><code class="notranslate">Device</code></li>
<li><code class="notranslate">DeviceSource</code> has a foreign key and relationship to <code class="notranslate">Device</code></li>
<li><code class="notranslate">LDAPDeviceSource</code> is a joined-table inheritance of <code class="notranslate">DeviceSource</code></li>
</ul>
<p dir="auto">In order to make defining new <code class="notranslate">DeviceSource</code> subclasses easier, I created <code class="notranslate">DeviceSourceMixin</code>, which inherits from <code class="notranslate">DeviceSource</code> and provides declared attrs for <code class="notranslate">__tablename__</code> and the foreign primary <code class="notranslate">id</code>. <code class="notranslate">DeviceSourceMixin</code> is <code class="notranslate">__abstract__</code> so that it doesn't create a table of its own.</p>
<p dir="auto">The issue is that this intermediate <code class="notranslate">__abstract__</code> seems to break the declarative model. The foreign key and relationship in <code class="notranslate">DeviceSource</code> do not get inherited by <code class="notranslate">LDAPDeviceSource</code> when subclassing <code class="notranslate">DeviceSourceMixin</code>.</p>
<p dir="auto">This code demonstrates the issue:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import sqlalchemy as sa
from sqlalchemy.ext.declarative import declared_attr, as_declarative
from sqlalchemy.orm import Session, relationship
engine = sa.create_engine('sqlite:///:memory:', echo=True)
session = Session(bind=engine)
@as_declarative(bind=engine)
class Base(object):
@declared_attr
def __tablename__(cls):
return cls.__name__.lower()
id = sa.Column(sa.Integer, primary_key=True)
class Device(Base):
pass
class DeviceSource(Base):
type = sa.Column(sa.String, nullable=False)
device_id = sa.Column(sa.Integer, sa.ForeignKey(Device.id), nullable=False)
device = relationship(Device, backref='sources')
__mapper_args__ = {
'polymorphic_on': type
}
class DeviceSourceMixin(DeviceSource):
__abstract__ = True
@declared_attr
def __tablename__(cls):
return cls.__name__.lower()
@declared_attr
def id(cls):
return sa.Column(sa.Integer, sa.ForeignKey(DeviceSource.id), primary_key=True)
class LDAPDeviceSource(DeviceSourceMixin):
name = sa.Column(sa.String, nullable=False)
__mapper_args__ = {
'polymorphic_identity': 'ldap'
}
Base.metadata.create_all()
d1 = Device()
s1 = LDAPDeviceSource(device=d1, name='s1')
session.add(s1)
session.commit()"><pre class="notranslate"><code class="notranslate">import sqlalchemy as sa
from sqlalchemy.ext.declarative import declared_attr, as_declarative
from sqlalchemy.orm import Session, relationship
engine = sa.create_engine('sqlite:///:memory:', echo=True)
session = Session(bind=engine)
@as_declarative(bind=engine)
class Base(object):
@declared_attr
def __tablename__(cls):
return cls.__name__.lower()
id = sa.Column(sa.Integer, primary_key=True)
class Device(Base):
pass
class DeviceSource(Base):
type = sa.Column(sa.String, nullable=False)
device_id = sa.Column(sa.Integer, sa.ForeignKey(Device.id), nullable=False)
device = relationship(Device, backref='sources')
__mapper_args__ = {
'polymorphic_on': type
}
class DeviceSourceMixin(DeviceSource):
__abstract__ = True
@declared_attr
def __tablename__(cls):
return cls.__name__.lower()
@declared_attr
def id(cls):
return sa.Column(sa.Integer, sa.ForeignKey(DeviceSource.id), primary_key=True)
class LDAPDeviceSource(DeviceSourceMixin):
name = sa.Column(sa.String, nullable=False)
__mapper_args__ = {
'polymorphic_identity': 'ldap'
}
Base.metadata.create_all()
d1 = Device()
s1 = LDAPDeviceSource(device=d1, name='s1')
session.add(s1)
session.commit()
</code></pre></div>
<p dir="auto">It produces the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last):
File "/home/david/Projects/cedar/example2.py", line 62, in <module>
s1 = LDAPDeviceSource(device=d1, name='s1')
File "<string>", line 4, in __init__
File "/home/david/.virtualenvs/cedar/lib/python3.4/site-packages/sqlalchemy/orm/state.py", line 260, in _initialize_instance
return manager.original_init(*mixed[1:], **kwargs)
File "<string>", line 6, in __init__
File "/home/david/.virtualenvs/cedar/lib/python3.4/site-packages/sqlalchemy/ext/declarative/base.py", line 526, in _declarative_constructor
setattr(self, k, kwargs[k])
File "/home/david/.virtualenvs/cedar/lib/python3.4/site-packages/sqlalchemy/orm/attributes.py", line 226, in __set__
instance_dict(instance), value, None)
File "/home/david/.virtualenvs/cedar/lib/python3.4/site-packages/sqlalchemy/orm/attributes.py", line 812, in set
value = self.fire_replace_event(state, dict_, value, old, initiator)
File "/home/david/.virtualenvs/cedar/lib/python3.4/site-packages/sqlalchemy/orm/attributes.py", line 832, in fire_replace_event
state, value, previous, initiator or self._replace_token)
File "/home/david/.virtualenvs/cedar/lib/python3.4/site-packages/sqlalchemy/orm/attributes.py", line 1148, in emit_backref_from_scalar_set_event
passive=PASSIVE_NO_FETCH)
File "/home/david/.virtualenvs/cedar/lib/python3.4/site-packages/sqlalchemy/orm/attributes.py", line 980, in append
collection.append_with_event(value, initiator)
File "/home/david/.virtualenvs/cedar/lib/python3.4/site-packages/sqlalchemy/orm/collections.py", line 653, in append_with_event
self._data()._sa_appender(item, _sa_initiator=initiator)
File "/home/david/.virtualenvs/cedar/lib/python3.4/site-packages/sqlalchemy/orm/collections.py", line 1047, in append
item = __set(self, item, _sa_initiator)
File "/home/david/.virtualenvs/cedar/lib/python3.4/site-packages/sqlalchemy/orm/collections.py", line 1019, in __set
item = executor.fire_append_event(item, _sa_initiator)
File "/home/david/.virtualenvs/cedar/lib/python3.4/site-packages/sqlalchemy/orm/collections.py", line 716, in fire_append_event
item, initiator)
File "/home/david/.virtualenvs/cedar/lib/python3.4/site-packages/sqlalchemy/orm/attributes.py", line 929, in fire_append_event
value = fn(state, value, initiator or self._append_token)
File "/home/david/.virtualenvs/cedar/lib/python3.4/site-packages/sqlalchemy/orm/attributes.py", line 1157, in emit_backref_from_collection_append_event
child_impl = child_state.manager[key].impl
KeyError: 'device'"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last):
File "/home/david/Projects/cedar/example2.py", line 62, in <module>
s1 = LDAPDeviceSource(device=d1, name='s1')
File "<string>", line 4, in __init__
File "/home/david/.virtualenvs/cedar/lib/python3.4/site-packages/sqlalchemy/orm/state.py", line 260, in _initialize_instance
return manager.original_init(*mixed[1:], **kwargs)
File "<string>", line 6, in __init__
File "/home/david/.virtualenvs/cedar/lib/python3.4/site-packages/sqlalchemy/ext/declarative/base.py", line 526, in _declarative_constructor
setattr(self, k, kwargs[k])
File "/home/david/.virtualenvs/cedar/lib/python3.4/site-packages/sqlalchemy/orm/attributes.py", line 226, in __set__
instance_dict(instance), value, None)
File "/home/david/.virtualenvs/cedar/lib/python3.4/site-packages/sqlalchemy/orm/attributes.py", line 812, in set
value = self.fire_replace_event(state, dict_, value, old, initiator)
File "/home/david/.virtualenvs/cedar/lib/python3.4/site-packages/sqlalchemy/orm/attributes.py", line 832, in fire_replace_event
state, value, previous, initiator or self._replace_token)
File "/home/david/.virtualenvs/cedar/lib/python3.4/site-packages/sqlalchemy/orm/attributes.py", line 1148, in emit_backref_from_scalar_set_event
passive=PASSIVE_NO_FETCH)
File "/home/david/.virtualenvs/cedar/lib/python3.4/site-packages/sqlalchemy/orm/attributes.py", line 980, in append
collection.append_with_event(value, initiator)
File "/home/david/.virtualenvs/cedar/lib/python3.4/site-packages/sqlalchemy/orm/collections.py", line 653, in append_with_event
self._data()._sa_appender(item, _sa_initiator=initiator)
File "/home/david/.virtualenvs/cedar/lib/python3.4/site-packages/sqlalchemy/orm/collections.py", line 1047, in append
item = __set(self, item, _sa_initiator)
File "/home/david/.virtualenvs/cedar/lib/python3.4/site-packages/sqlalchemy/orm/collections.py", line 1019, in __set
item = executor.fire_append_event(item, _sa_initiator)
File "/home/david/.virtualenvs/cedar/lib/python3.4/site-packages/sqlalchemy/orm/collections.py", line 716, in fire_append_event
item, initiator)
File "/home/david/.virtualenvs/cedar/lib/python3.4/site-packages/sqlalchemy/orm/attributes.py", line 929, in fire_append_event
value = fn(state, value, initiator or self._append_token)
File "/home/david/.virtualenvs/cedar/lib/python3.4/site-packages/sqlalchemy/orm/attributes.py", line 1157, in emit_backref_from_collection_append_event
child_impl = child_state.manager[key].impl
KeyError: 'device'
</code></pre></div> | 1 |
<p dir="auto">Sometimes the private modifier on the constructor can be useful, especially if you want to implement some kind of singletons.</p> | <p dir="auto">I think it is a pretty common pattern to have a static factory method to create a class and the constructor of this class being otherwise private so that you cannot instantiate the class unless you use the factory method.</p> | 1 |
<p dir="auto"><strong>Describe the bug</strong><br>
Using SQLAlchemy 1.4.0b2, I'm joining one version of subquery on itself, so I get duplicate column names. The SQL produced properly disambiguates these column names, however the keys returned in the result set are not disambiguated.</p>
<p dir="auto">(I'm new to SQLAlchemy, so this may not be a bug, but I would think it would be as I can't distinguish between the two different fields in the results.)</p>
<p dir="auto"><strong>Expected behavior</strong><br>
For the labels to be the same as the keys in the result set.</p>
<p dir="auto"><strong>To Reproduce</strong><br>
If we have two queries joined on each other, like this:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="query1 = <query>.alias('a')
query2 = <query>.alias('b')
joined_query = (
select(query1, query2)
.join(query1, query1.c.join_field == query2.c.join_field)
.set_label_style(LABEL_STYLE_TABLENAME_PLUS_COL)
)"><pre class="notranslate"><span class="pl-s1">query1</span> <span class="pl-c1">=</span> <span class="pl-c1"><</span><span class="pl-s1">query</span><span class="pl-c1">></span>.<span class="pl-en">alias</span>(<span class="pl-s">'a'</span>)
<span class="pl-s1">query2</span> <span class="pl-c1">=</span> <span class="pl-c1"><</span><span class="pl-s1">query</span><span class="pl-c1">></span>.<span class="pl-en">alias</span>(<span class="pl-s">'b'</span>)
<span class="pl-s1">joined_query</span> <span class="pl-c1">=</span> (
<span class="pl-en">select</span>(<span class="pl-s1">query1</span>, <span class="pl-s1">query2</span>)
.<span class="pl-en">join</span>(<span class="pl-s1">query1</span>, <span class="pl-s1">query1</span>.<span class="pl-s1">c</span>.<span class="pl-s1">join_field</span> <span class="pl-c1">==</span> <span class="pl-s1">query2</span>.<span class="pl-s1">c</span>.<span class="pl-s1">join_field</span>)
.<span class="pl-en">set_label_style</span>(<span class="pl-v">LABEL_STYLE_TABLENAME_PLUS_COL</span>)
)</pre></div>
<p dir="auto">We then get SQL produced like:</p>
<div class="highlight highlight-source-sql notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="SELECT a.foo as a_foo, b.foo as b_foo
FROM (<query>) a
JOIN (<query>) b ON a.join_field = b.join_field"><pre class="notranslate"><span class="pl-k">SELECT</span> <span class="pl-c1">a</span>.<span class="pl-c1">foo</span> <span class="pl-k">as</span> a_foo, <span class="pl-c1">b</span>.<span class="pl-c1">foo</span> <span class="pl-k">as</span> b_foo
<span class="pl-k">FROM</span> (<span class="pl-k"><</span>query<span class="pl-k">></span>) a
<span class="pl-k">JOIN</span> (<span class="pl-k"><</span>query<span class="pl-k">></span>) b <span class="pl-k">ON</span> <span class="pl-c1">a</span>.<span class="pl-c1">join_field</span> <span class="pl-k">=</span> <span class="pl-c1">b</span>.<span class="pl-c1">join_field</span></pre></div>
<p dir="auto">So far so good. The column names are disambiguated in SQL according to the specific method.</p>
<p dir="auto">However, when I try to get the results, as follows, that disambiguation disappears:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="result = session.execute(joined_query)
for row in result:
print(row.keys())"><pre class="notranslate"><span class="pl-s1">result</span> <span class="pl-c1">=</span> <span class="pl-s1">session</span>.<span class="pl-en">execute</span>(<span class="pl-s1">joined_query</span>)
<span class="pl-k">for</span> <span class="pl-s1">row</span> <span class="pl-c1">in</span> <span class="pl-s1">result</span>:
<span class="pl-en">print</span>(<span class="pl-s1">row</span>.<span class="pl-en">keys</span>())</pre></div>
<p dir="auto">I get a result that looks like: <code class="notranslate">RMKeyView(['foo', 'foo'])</code> which means that I can't reference the two columns separately. I would think I could do something like <code class="notranslate">row['a_foo']</code> or <code class="notranslate">row.a_foo</code> and <code class="notranslate">row['b_foo']</code> or <code class="notranslate">row.b_foo</code>, but these throw an error.</p>
<p dir="auto">(Note that this is true even using the default label disambiguation style, which would produce something like <code class="notranslate">a.foo, b.foo AS foo_1</code> in the SQL, but still return both keys as <code class="notranslate">foo</code> in the result set.)</p>
<p dir="auto"><strong>Versions.</strong></p>
<ul dir="auto">
<li>OS: macOS 11.1</li>
<li>Python: 3.9.0</li>
<li>SQLAlchemy: 1.4.0b2</li>
<li>Database: PostgreSQL</li>
<li>DBAPI: psycopg2==2.8.6</li>
</ul>
<p dir="auto"><strong>Thank you for any and all help!</strong><br>
I have done extensive Googling about this and can't find a resolution, which makes me think this may be a bug introduced in the new version.</p>
<p dir="auto">If this is <em>not</em> a bug, any recommendations about how to resolve this problem would be appreciated!</p> | <p dir="auto"><strong>Migrated issue, originally created by Leonardo Rossi (<a href="https://github.com/hachreak">@hachreak</a>)</strong></p>
<p dir="auto">update: this specifically hits the _stored_in_collection assertion because the check for <code class="notranslate">if event_key._listen_fn not in self.listeners</code> fails for an event key with wrapping.</p>
<p dir="auto">I'm using Invenio 2.0 and try to replace old version of SQLAlchemy 0.8.7 with the last 0.9.7.<br>
The utility to automaticaly create the db works (inveniomanage database recreate --yes-i-know).</p>
<p dir="auto">But when I start tests with: python setup.py test</p>
<p dir="auto">It return me a error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="test_fisrt_blueprint (invenio.testsuite.test_ext_template.TemplateLoaderCase) ... --------------------------------------------------------------------------------
ERROR in wrappers [/home/vagrant/.virtualenvs/invenio2/src/invenio/invenio/ext/logging/wrappers.py:310]:
--------------------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/.virtualenvs/invenio2/src/invenio/invenio/ext/legacy/__init__.py", line 124, in __call__
response = self.app.full_dispatch_request()
File "/home/vagrant/.virtualenvs/invenio2/local/lib/python2.7/site-packages/flask/app.py", line 1470, in full_dispatch_request
self.try_trigger_before_first_request_functions()
File "/home/vagrant/.virtualenvs/invenio2/local/lib/python2.7/site-packages/flask/app.py", line 1497, in try_trigger_before_first_request_functions
func()
File "/home/vagrant/.virtualenvs/invenio2/src/invenio/invenio/modules/messages/views.py", line 264, in invoke_email_alert_register
email_alert_register()
File "/home/vagrant/.virtualenvs/invenio2/src/invenio/invenio/modules/messages/models.py", line 202, in email_alert_register
event.listen(MsgMESSAGE, 'after_insert', email_alert)
File "/home/vagrant/.virtualenvs/invenio2/local/lib/python2.7/site-packages/sqlalchemy/event/api.py", line 63, in listen
_event_key(target, identifier, fn).listen(*args, **kw)
File "/home/vagrant/.virtualenvs/invenio2/local/lib/python2.7/site-packages/sqlalchemy/event/registry.py", line 187, in listen
self.dispatch_target.dispatch._listen(self, *args, **kw)
File "/home/vagrant/.virtualenvs/invenio2/local/lib/python2.7/site-packages/sqlalchemy/orm/events.py", line 547, in _listen
event_key.base_listen(**kw)
File "/home/vagrant/.virtualenvs/invenio2/local/lib/python2.7/site-packages/sqlalchemy/event/registry.py", line 226, in base_listen
for_modify(target.dispatch).append(self, propagate)
File "/home/vagrant/.virtualenvs/invenio2/local/lib/python2.7/site-packages/sqlalchemy/event/attr.py", line 328, in append
event_key.append_to_list(self, self.listeners)
File "/home/vagrant/.virtualenvs/invenio2/local/lib/python2.7/site-packages/sqlalchemy/event/registry.py", line 237, in append_to_list
_stored_in_collection(self, owner)
File "/home/vagrant/.virtualenvs/invenio2/local/lib/python2.7/site-packages/sqlalchemy/event/registry.py", line 74, in _stored_in_collection
assert dispatch_reg[owner_ref] == listen_ref
AssertionError"><pre class="notranslate"><code class="notranslate">test_fisrt_blueprint (invenio.testsuite.test_ext_template.TemplateLoaderCase) ... --------------------------------------------------------------------------------
ERROR in wrappers [/home/vagrant/.virtualenvs/invenio2/src/invenio/invenio/ext/logging/wrappers.py:310]:
--------------------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/.virtualenvs/invenio2/src/invenio/invenio/ext/legacy/__init__.py", line 124, in __call__
response = self.app.full_dispatch_request()
File "/home/vagrant/.virtualenvs/invenio2/local/lib/python2.7/site-packages/flask/app.py", line 1470, in full_dispatch_request
self.try_trigger_before_first_request_functions()
File "/home/vagrant/.virtualenvs/invenio2/local/lib/python2.7/site-packages/flask/app.py", line 1497, in try_trigger_before_first_request_functions
func()
File "/home/vagrant/.virtualenvs/invenio2/src/invenio/invenio/modules/messages/views.py", line 264, in invoke_email_alert_register
email_alert_register()
File "/home/vagrant/.virtualenvs/invenio2/src/invenio/invenio/modules/messages/models.py", line 202, in email_alert_register
event.listen(MsgMESSAGE, 'after_insert', email_alert)
File "/home/vagrant/.virtualenvs/invenio2/local/lib/python2.7/site-packages/sqlalchemy/event/api.py", line 63, in listen
_event_key(target, identifier, fn).listen(*args, **kw)
File "/home/vagrant/.virtualenvs/invenio2/local/lib/python2.7/site-packages/sqlalchemy/event/registry.py", line 187, in listen
self.dispatch_target.dispatch._listen(self, *args, **kw)
File "/home/vagrant/.virtualenvs/invenio2/local/lib/python2.7/site-packages/sqlalchemy/orm/events.py", line 547, in _listen
event_key.base_listen(**kw)
File "/home/vagrant/.virtualenvs/invenio2/local/lib/python2.7/site-packages/sqlalchemy/event/registry.py", line 226, in base_listen
for_modify(target.dispatch).append(self, propagate)
File "/home/vagrant/.virtualenvs/invenio2/local/lib/python2.7/site-packages/sqlalchemy/event/attr.py", line 328, in append
event_key.append_to_list(self, self.listeners)
File "/home/vagrant/.virtualenvs/invenio2/local/lib/python2.7/site-packages/sqlalchemy/event/registry.py", line 237, in append_to_list
_stored_in_collection(self, owner)
File "/home/vagrant/.virtualenvs/invenio2/local/lib/python2.7/site-packages/sqlalchemy/event/registry.py", line 74, in _stored_in_collection
assert dispatch_reg[owner_ref] == listen_ref
AssertionError
</code></pre></div>
<p dir="auto">In /home/vagrant/.virtualenvs/invenio2/src/invenio/invenio/modules/messages/views.py (row 264)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# Registration of email_alert invoked from blueprint
# in order to use before_app_first_request.
# Reading config CFG_WEBMESSAGE_EMAIL_ALERT
# required app context.
@blueprint.before_app_first_request
def invoke_email_alert_register():
email_alert_register()"><pre class="notranslate"><code class="notranslate"># Registration of email_alert invoked from blueprint
# in order to use before_app_first_request.
# Reading config CFG_WEBMESSAGE_EMAIL_ALERT
# required app context.
@blueprint.before_app_first_request
def invoke_email_alert_register():
email_alert_register()
</code></pre></div>
<p dir="auto">In /home/vagrant/.virtualenvs/invenio2/src/invenio/invenio/modules/messages/models.py (row 202)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# Registration of email_alert invoked from blueprint
# in order to use before_app_first_request.
# Reading config CFG_WEBMESSAGE_EMAIL_ALERT
# required app context.
def email_alert_register():
if cfg['CFG_WEBMESSAGE_EMAIL_ALERT']:
from sqlalchemy import event
# Register after insert callback.
event.listen(MsgMESSAGE, 'after_insert', email_alert)"><pre class="notranslate"><code class="notranslate"># Registration of email_alert invoked from blueprint
# in order to use before_app_first_request.
# Reading config CFG_WEBMESSAGE_EMAIL_ALERT
# required app context.
def email_alert_register():
if cfg['CFG_WEBMESSAGE_EMAIL_ALERT']:
from sqlalchemy import event
# Register after insert callback.
event.listen(MsgMESSAGE, 'after_insert', email_alert)
</code></pre></div>
<p dir="auto">Someone can help me? :)<br>
(Sorry, this is my first issues and I don't know how to set "kind", etc... T_T)</p>
<p dir="auto">Installed:</p>
<ul dir="auto">
<li>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="-e git+https://github.com/mitsuhiko/flask-sqlalchemy@c7eccba63314f3ea77e2c6217d3d3c8b0d2552fd#egg=Flask_SQLAlchemy-2.0"><pre class="notranslate"><code class="notranslate">-e git+https://github.com/mitsuhiko/flask-sqlalchemy@c7eccba63314f3ea77e2c6217d3d3c8b0d2552fd#egg=Flask_SQLAlchemy-2.0
</code></pre></div>
</li>
<li>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="MySQL-python==1.2.5"><pre class="notranslate"><code class="notranslate">MySQL-python==1.2.5
</code></pre></div>
</li>
<li>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="SQLAlchemy==0.9.7"><pre class="notranslate"><code class="notranslate">SQLAlchemy==0.9.7
</code></pre></div>
</li>
<li>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="SQLAlchemy-Utils==0.23.5"><pre class="notranslate"><code class="notranslate">SQLAlchemy-Utils==0.23.5
</code></pre></div>
</li>
</ul> | 0 |
<h1 dir="auto">Description of the new feature/enhancement</h1>
<p dir="auto">When pasting a large amount of text or even just having multiple lines show a OPTIONALLY warning to the user. This is the behaviour in Cmder</p>
<h1 dir="auto">Proposed technical implementation details (optional)</h1> | <h1 dir="auto">Support win10 1803</h1>
<h1 dir="auto">Local compilation</h1> | 0 |
<h3 dir="auto">Version</h3>
<p dir="auto">2.6.10</p>
<h3 dir="auto">Reproduction link</h3>
<p dir="auto"><a href="https://github.com/wxkcoder/bugs_demo">https://github.com/wxkcoder/bugs_demo</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">vue version:2.6.10<br>
ios version:10.3.3 or 11.4<br>
use wxchat webview</p>
<p dir="auto">page A use 'this.$router.push({name:B})' Jump to Page B<br>
Page B import component C<br>
Component C bind a touchstart event<br>
the problem is Component C use slot label Input content,click that content is dose not trigger C's touchstart event</p>
<p dir="auto">Direct access to page B can trigger C‘s touchstart event<br>
change ios version to 12.3.1 can trigger C‘s touchstart event<br>
change vue version to 2.5.22 can trigger C‘s touchstart event</p>
<p dir="auto">pleace try to run this demo <a href="https://github.com/wxkcoder/bugs_demo">https://github.com/wxkcoder/bugs_demo</a> on ios 10.3.3</p>
<h3 dir="auto">What is expected?</h3>
<p dir="auto">no trigger</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">trigger</p> | <h3 dir="auto">Version</h3>
<p dir="auto">2.6.10</p>
<h3 dir="auto">Reproduction link</h3>
<p dir="auto"><a href="https://github.com/wxkcoder/bugs_demo">https://github.com/wxkcoder/bugs_demo</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">vue version:2.6.10<br>
ios version:10.3.3 or 11.4<br>
use WeChat webview</p>
<p dir="auto">page A use 'this.$router.push({name:B})' Jump to Page B<br>
Page B import component C<br>
Component C bind a touchstart event<br>
the problem is Component C use slot label Input content,click that content is dose not trigger C's touchstart event</p>
<p dir="auto">Direct access to page B can trigger C‘s touchstart event<br>
change ios version to 12.3.1 can trigger C‘s touchstart event<br>
change vue version to 2.5.22 can trigger C‘s touchstart event</p>
<p dir="auto">pleace try to run this demo <a href="https://github.com/wxkcoder/bugs_demo">https://github.com/wxkcoder/bugs_demo</a> on ios 10.3.3</p>
<h3 dir="auto">What is expected?</h3>
<p dir="auto">trigger C's touchstart event</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">no trigger C's touchstart event</p> | 1 |
<p dir="auto">hi, all</p>
<p dir="auto">when i use the scipy.optimize.linprog for a simple LP</p>
<p dir="auto">how can i get the value of dual variant (in a simple way)?</p>
<p dir="auto">cuz in my problem, the dual variant has some practical significance</p> | <p dir="auto">I have a huge linprog problem of almost 1k variables and restrictions. I can calculate the solution with scipy.optimize.linprog(method='simplex') but I need shadow prices (or opportunity costs / duals) of ~100 inequalities.</p>
<p dir="auto">I'm able to calculate them by adding 1 to the right side of the inequality and then solving that problem. Then I get the shadow price substracting the objective functions values for both solutions: shadow_price_i = f_max_original - f_max_i. Then repeat 100 times. This method works but it's painfully slow (1h). Note: I could also pose the dual problem and solve it</p>
<p dir="auto">It's a shame that scipy does not return duals, so I'm opening a feature request. I'm new contributing to open projects, but I'm a CS graduate and have experience with both python and the simplex method, so I may be able to do so with some guidance.</p> | 1 |
<p dir="auto">Set user lockout after X amount of failed logins to protect against bruteforce attacks.</p>
<ul dir="auto">
<li>Feature toggle in config</li>
<li>Configurable number of logins in config</li>
<li>Admin can reset user (Is Active true/false)</li>
<li>Email recovery link</li>
</ul> | <p dir="auto"><strong>Is your feature request related to a problem? Please describe.</strong><br>
In its default state, the Superset login page permits any number of failed login attempts. This has been flagged as a security issue by our sysadmin team, and I agree with them. I have only tested users created in the database and have not tried other authentication methods.</p>
<p dir="auto"><strong>Describe the solution you'd like</strong><br>
The login page should permit, say, 3 incorrect login attempts and should ask the user to try again after a period of time. This time should be customizable from the config file.</p>
<p dir="auto"><strong>Describe alternatives you've considered</strong><br>
I am not sure if this already works for other authentication methods.</p>
<p dir="auto"><strong>Additional context</strong><br>
None.</p> | 1 |
<p dir="auto"><strong>TypeScript Version:</strong></p>
<p dir="auto">1.8.9</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="// A self-contained demonstration of the problem follows...
export interface IHiddenColumns {
hiddenColumns: string;
}
export class HiddenColumnsLoader {
public loadHiddenColumns(): Promise<void> {
return new Promise<void>((resolve, reject) => {
let promises: Promise<IHiddenColumns>[] = [];
// push promises
// .forEach(structureContent => {
// promises.push(this.loadStructureHiddenColumns(structureContent.rowSectionDefinition, structureContent.columnSectionDefinition, provider));
// });
Promise
.all(promises)
.then((results) => {
// results should be typeof IHiddenColumns[] and not Promise<IHiddenColumns[]>. See stack below
this.resolveResults(results);
resolve();
})
});
}
private resolveResults(loadPageResults: IHiddenColumns[]) {
// resolve
}
}"><pre class="notranslate"><span class="pl-c">// A self-contained demonstration of the problem follows...</span>
<span class="pl-k">export</span> <span class="pl-k">interface</span> <span class="pl-smi">IHiddenColumns</span> <span class="pl-kos">{</span>
<span class="pl-c1">hiddenColumns</span>: <span class="pl-smi">string</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">export</span> <span class="pl-k">class</span> <span class="pl-smi">HiddenColumnsLoader</span> <span class="pl-kos">{</span>
<span class="pl-k">public</span> <span class="pl-en">loadHiddenColumns</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-smi">Promise</span><span class="pl-kos"><</span><span class="pl-smi"><span class="pl-k">void</span></span><span class="pl-kos">></span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-k">new</span> <span class="pl-smi">Promise</span><span class="pl-kos"><</span><span class="pl-smi"><span class="pl-k">void</span></span><span class="pl-kos">></span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">resolve</span><span class="pl-kos">,</span> <span class="pl-s1">reject</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">let</span> <span class="pl-s1">promises</span>: <span class="pl-smi">Promise</span><span class="pl-kos"><</span><span class="pl-smi">IHiddenColumns</span><span class="pl-kos">></span><span class="pl-kos">[</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
<span class="pl-c">// push promises</span>
<span class="pl-c">// .forEach(structureContent => {</span>
<span class="pl-c">// promises.push(this.loadStructureHiddenColumns(structureContent.rowSectionDefinition, structureContent.columnSectionDefinition, provider));</span>
<span class="pl-c">// });</span>
<span class="pl-smi">Promise</span>
<span class="pl-kos">.</span><span class="pl-en">all</span><span class="pl-kos">(</span><span class="pl-s1">promises</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">results</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-c">// results should be typeof IHiddenColumns[] and not Promise<IHiddenColumns[]>. See stack below</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">resolveResults</span><span class="pl-kos">(</span><span class="pl-s1">results</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">private</span> <span class="pl-en">resolveResults</span><span class="pl-kos">(</span><span class="pl-s1">loadPageResults</span>: <span class="pl-smi">IHiddenColumns</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">// resolve</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto"><strong>Expected behavior:</strong><br>
Compilation succeeded in Typescript 1.8.7.<br>
Failed in 1.8.9</p>
<p dir="auto">'results' inside Promise.all().then() should be considered typeof IHiddenColumns[]. Seems to be instead : Promise<IHiddenColumns[]>. See trace below.</p>
<p dir="auto"><strong>Actual behavior:</strong><br>
Compilation failed in 1.8.9 whereas it worked in 1.8.7 (and still works if I backward to 1.8.7).</p>
<p dir="auto">Here is the stacktrace :<br>
[11:39:07]<br>
42 this.resolveResults(gridModel, results);<br>
~~~~~~~</p>
<p dir="auto">.../HiddenColumnsLoader.ts(42,37): error TS2345: Argument of type 'Promise[]' is not assignable to parameter of type 'IHiddenColumns[]'.<br>
Type 'Promise' is not assignable to type 'IHiddenColumns'.</p> | <p dir="auto"><strong>TypeScript Version:</strong></p>
<p dir="auto">1.8.9</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="Promise.all([Promise.resolve('')]); // has type Promise<Promise<string>[]>"><pre class="notranslate"><span class="pl-smi">Promise</span><span class="pl-kos">.</span><span class="pl-en">all</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-smi">Promise</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-s">''</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">// has type Promise<Promise<string>[]></span></pre></div>
<p dir="auto"><strong>Expected behavior:</strong><br>
The expression has type <code class="notranslate">Promise<string[]></code> as in 1.8.7<br>
<strong>Actual behavior:</strong><br>
The expression has type <code class="notranslate">Promise<Promise<string>[]></code></p> | 1 |
<p dir="auto">In my project I have:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" "devDependencies": {
"babel-cli": "~6.1.2",
"babel-preset-es2015": "~6.1.2",
…"><pre class="notranslate"><code class="notranslate"> "devDependencies": {
"babel-cli": "~6.1.2",
"babel-preset-es2015": "~6.1.2",
…
</code></pre></div>
<p dir="auto">When I run babel-doctor I see this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="❯ babel-doctor
Babel Doctor
Running sanity checks on your system. This may take a few minutes...
✔ Found config at /Users/tema/Dropbox/Projects/_Repos/sweet2/.babelrc
✔ No duplicate babel packages found
✖ We found some outdated packages:
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
✔ You're on npm >=3.3.0
Found potential issues on your machine :("><pre class="notranslate"><code class="notranslate">❯ babel-doctor
Babel Doctor
Running sanity checks on your system. This may take a few minutes...
✔ Found config at /Users/tema/Dropbox/Projects/_Repos/sweet2/.babelrc
✔ No duplicate babel packages found
✖ We found some outdated packages:
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
✔ You're on npm >=3.3.0
Found potential issues on your machine :(
</code></pre></div>
<p dir="auto">But the latest version of babel-cli depends on babel-runtime ^5.0.0 so I can’t fix this warning. It’s very confusing.</p> | <h2 dir="auto">bug report</h2>
<h3 dir="auto">Input Code</h3>
<p dir="auto">This is only an issue when using both the react and typescript presets.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="interface I {
<T>(p: T): T
}"><pre class="notranslate"><span class="pl-s1">interface</span> <span class="pl-v">I</span> <span class="pl-kos">{</span>
<span class="pl-c1"><</span><span class="pl-v">T</span><span class="pl-c1">></span><span class="pl-kos">(</span><span class="pl-s1">p</span>: <span class="pl-v">T</span><span class="pl-kos">)</span>: <span class="pl-v">T</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto"><a href="https://babeljs.io/repl/#?babili=false&browsers=&build=&builtIns=false&code_lz=JYOwLgpgTgZghgYwgAgJLIN4Chm-QHgBUA-ACgAcAuZQgSmsKwF8sg&debug=false&forceAllTransforms=false&shippedProposals=false&circleciRepo=&evaluate=true&fileSize=false&lineWrap=true&presets=react%2Ctypescript&prettier=false&targets=&version=7.0.0-beta.38&envVersion=" rel="nofollow">Repl Link</a></p>
<h3 dir="auto">Babel/Babylon Configuration (.babelrc, package.json, cli command)</h3>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"presets": [
"@babel/react",
"@babel/typescript"
],
}"><pre class="notranslate"><span class="pl-kos">{</span>
<span class="pl-s">"presets"</span>: <span class="pl-kos">[</span>
<span class="pl-s">"@babel/react"</span><span class="pl-kos">,</span>
<span class="pl-s">"@babel/typescript"</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span></pre></div>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">It should not throw and error.</p>
<h3 dir="auto">Current Behavior</h3>
<p dir="auto">It throws:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ SyntaxError: ./src/test.tsx: Unexpected token (2:4)
1 | interface I {
> 2 | <T>(p: T): T
| ^
3 | }
4 |"><pre class="notranslate"><code class="notranslate">{ SyntaxError: ./src/test.tsx: Unexpected token (2:4)
1 | interface I {
> 2 | <T>(p: T): T
| ^
3 | }
4 |
</code></pre></div>
<h3 dir="auto">Possible Solution</h3>
<p dir="auto">Similar issue with generic methods: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="270481396" data-permission-text="Title is private" data-url="https://github.com/babel/babel/issues/6665" data-hovercard-type="issue" data-hovercard-url="/babel/babel/issues/6665/hovercard" href="https://github.com/babel/babel/issues/6665">#6665</a><br>
Similar fix for generic methods: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="289022397" data-permission-text="Title is private" data-url="https://github.com/babel/babel/issues/7225" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/7225/hovercard" href="https://github.com/babel/babel/pull/7225">#7225</a><br>
Duplicate but closed Issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="286193118" data-permission-text="Title is private" data-url="https://github.com/babel/babel/issues/7158" data-hovercard-type="issue" data-hovercard-url="/babel/babel/issues/7158/hovercard" href="https://github.com/babel/babel/issues/7158">#7158</a></p>
<h3 dir="auto">Context</h3>
<h3 dir="auto">Your Environment</h3>
<table role="table">
<thead>
<tr>
<th>software</th>
<th>version(s)</th>
</tr>
</thead>
<tbody>
<tr>
<td>Babel</td>
<td>7.0.0-beta.40</td>
</tr>
<tr>
<td>preset-react</td>
<td>7.0.0-beta.40</td>
</tr>
<tr>
<td>preset-typescript</td>
<td>7.0.0-beta.40</td>
</tr>
<tr>
<td>node</td>
<td>8.9.0</td>
</tr>
<tr>
<td>npm</td>
<td>5.5.1</td>
</tr>
<tr>
<td>Operating System</td>
<td>OSX</td>
</tr>
</tbody>
</table> | 0 |
<h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: 1.30.0 and newer</li>
<li>Operating System: Windows 11, Official Playwright Jammy image</li>
<li>Browser: Chromium</li>
<li>Other info: Problem happens locally on Wndows 11 and on the CI on a GitLab runner running the offical Playwright Jammy image</li>
</ul>
<h3 dir="auto">Source code</h3>
<p dir="auto"><strong>Config file</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// playwright.config.ts
import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
projects: [
{
name: 'chromium',
reporter: [
["html"]
],
use: {
headless: false, //Running this headless decreases the speed of the tests by 5-6x
viewport: { width: 1280, height: 720 },
video: "on",
screenshot: "on",
trace: "on",
},
},
},
});"><pre class="notranslate"><span class="pl-c">// playwright.config.ts</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">defineConfig</span><span class="pl-kos">,</span> <span class="pl-s1">devices</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span><span class="pl-kos">;</span>
<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-en">defineConfig</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">projects</span>: <span class="pl-kos">[</span>
<span class="pl-kos">{</span>
<span class="pl-c1">name</span>: <span class="pl-s">'chromium'</span><span class="pl-kos">,</span>
<span class="pl-c1">reporter</span>: <span class="pl-kos">[</span>
<span class="pl-kos">[</span><span class="pl-s">"html"</span><span class="pl-kos">]</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c1">use</span>: <span class="pl-kos">{</span>
<span class="pl-c1">headless</span>: <span class="pl-c1">false</span><span class="pl-kos">,</span> <span class="pl-c">//Running this headless decreases the speed of the tests by 5-6x</span>
<span class="pl-c1">viewport</span>: <span class="pl-kos">{</span> <span class="pl-c1">width</span>: <span class="pl-c1">1280</span><span class="pl-kos">,</span> <span class="pl-c1">height</span>: <span class="pl-c1">720</span> <span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">video</span>: <span class="pl-s">"on"</span><span class="pl-kos">,</span>
<span class="pl-c1">screenshot</span>: <span class="pl-s">"on"</span><span class="pl-kos">,</span>
<span class="pl-c1">trace</span>: <span class="pl-s">"on"</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span><span class="pl-kos"></span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Steps</strong></p>
<p dir="auto">Running a simple test on v1.29.2 creates a snapshot, a trace and a video.<br>
Since version 1.30.0 the exact same code won't create the video anymore.<br>
The latest version 1.33.0 still won't create a video.</p>
<p dir="auto"><strong>Expected</strong></p>
<p dir="auto">Video is created on version 1.30.0 and later</p>
<p dir="auto"><strong>Actual</strong></p>
<p dir="auto">No video since version 1.29.2 (latest version where it's working).</p> | <h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: [v1.24.0]</li>
<li>Operating System: [Ubuntu 20, macOS 13.2]</li>
<li>Browser: [Chromium]</li>
<li>Other info:</li>
</ul>
<h3 dir="auto">Source code</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I provided exact source code that allows reproducing the issue locally.</li>
</ul>
<p dir="auto"><strong>Link to the GitHub repository with the repro</strong></p>
<p dir="auto">[https://github.com/your_profile/playwright_issue_title]</p>
<p dir="auto">or</p>
<p dir="auto"><strong>Config file</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// playwright.config.ts
import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'], },
},
});"><pre class="notranslate"><span class="pl-c">// playwright.config.ts</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">defineConfig</span><span class="pl-kos">,</span> <span class="pl-s1">devices</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span><span class="pl-kos">;</span>
<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-en">defineConfig</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">projects</span>: <span class="pl-kos">[</span>
<span class="pl-kos">{</span>
<span class="pl-c1">name</span>: <span class="pl-s">'chromium'</span><span class="pl-kos">,</span>
<span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Desktop Chrome'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span><span class="pl-kos"></span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Test file (self-contained)</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" test('should load login form', async ({ loginPage }) => {
await loginPage.doStuff();
await loginPage.doStuff(['']);
await loginPage.doStuff('');
await loginPage.doStuff();
});"><pre class="notranslate"> <span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'should load login form'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> loginPage <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">await</span> <span class="pl-s1">loginPage</span><span class="pl-kos">.</span><span class="pl-en">doStuff</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">await</span> <span class="pl-s1">loginPage</span><span class="pl-kos">.</span><span class="pl-en">doStuff</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-s">''</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">await</span> <span class="pl-s1">loginPage</span><span class="pl-kos">.</span><span class="pl-en">doStuff</span><span class="pl-kos">(</span><span class="pl-s">''</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">await</span> <span class="pl-s1">loginPage</span><span class="pl-kos">.</span><span class="pl-en">doStuff</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Fixture</strong></p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { Page, test as base } from '@playwright/test';
const v8toIstanbul = require('v8-to-istanbul');
import {
LoginPage,
} from '../src/pages';
let appPage: Page = null;
export const test = base.extend<{
loginPage: LoginPage;
}>({
page: async ({ browser }, use) => {
if (appPage === null) {
appPage = await browser.newPage();
}
await use(appPage);
},
loginPage: async ({ page }, use) => {
await use(new LoginPage(page));
},
});
test.beforeEach(async ({ page }) => {
await page.coverage.startJSCoverage();
});
test.afterEach(async ({ page }) => {
const coverage = await page.coverage.stopJSCoverage();
console.log(coverage);
for (const entry of coverage) {
const converter = v8toIstanbul('', 0, { source: entry.source });
await converter.load();
converter.applyCoverage(entry.functions);
console.log(JSON.stringify(converter.toIstanbul()));
}
});"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-smi">Page</span><span class="pl-kos">,</span> <span class="pl-s1">test</span> <span class="pl-k">as</span> <span class="pl-s1">base</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">v8toIstanbul</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'v8-to-istanbul'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span>
<span class="pl-smi">LoginPage</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'../src/pages'</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> <span class="pl-s1">appPage</span>: <span class="pl-smi">Page</span> <span class="pl-c1">=</span> <span class="pl-c1">null</span><span class="pl-kos">;</span>
<span class="pl-k">export</span> <span class="pl-k">const</span> <span class="pl-s1">test</span> <span class="pl-c1">=</span> <span class="pl-s1">base</span><span class="pl-kos">.</span><span class="pl-en">extend</span><span class="pl-kos"><</span><span class="pl-kos">{</span>
<span class="pl-c1">loginPage</span>: <span class="pl-smi">LoginPage</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-en">page</span>: <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> browser <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-s1">use</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">appPage</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">appPage</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">browser</span><span class="pl-kos">.</span><span class="pl-en">newPage</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">await</span> <span class="pl-en">use</span><span class="pl-kos">(</span><span class="pl-s1">appPage</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-en">loginPage</span>: <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> page <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-s1">use</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">await</span> <span class="pl-en">use</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-smi">LoginPage</span><span class="pl-kos">(</span><span class="pl-s1">page</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">test</span><span class="pl-kos">.</span><span class="pl-en">beforeEach</span><span class="pl-kos">(</span><span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> page <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-c1">coverage</span><span class="pl-kos">.</span><span class="pl-en">startJSCoverage</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-s1">test</span><span class="pl-kos">.</span><span class="pl-en">afterEach</span><span class="pl-kos">(</span><span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> page <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-s1">coverage</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-c1">coverage</span><span class="pl-kos">.</span><span class="pl-en">stopJSCoverage</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-s1">coverage</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">const</span> <span class="pl-s1">entry</span> <span class="pl-k">of</span> <span class="pl-s1">coverage</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-s1">converter</span> <span class="pl-c1">=</span> <span class="pl-en">v8toIstanbul</span><span class="pl-kos">(</span><span class="pl-s">''</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-c1">source</span>: <span class="pl-s1">entry</span><span class="pl-kos">.</span><span class="pl-c1">source</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">await</span> <span class="pl-s1">converter</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">converter</span><span class="pl-kos">.</span><span class="pl-en">applyCoverage</span><span class="pl-kos">(</span><span class="pl-s1">entry</span><span class="pl-kos">.</span><span class="pl-c1">functions</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-smi">JSON</span><span class="pl-kos">.</span><span class="pl-en">stringify</span><span class="pl-kos">(</span><span class="pl-s1">converter</span><span class="pl-kos">.</span><span class="pl-en">toIstanbul</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Console error:</strong></p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{"":{"path":"","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":0}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":46}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":23}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":61}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":21}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":22}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":10}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":68}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":60}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":58}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":40}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":50}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":25}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":58}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":10}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":0}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":46}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":51}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":60}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":51}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":15}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":24}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":9}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":42}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":61}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":43}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":50}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":15}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":75}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":9}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":0}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":8}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":0}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":61}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":72}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":59}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":64}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":51}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":44}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":48}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":48}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":17}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":50}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":81}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":112}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":87}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":84}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":52}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":40}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":40}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":17}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":9}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":31}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":52}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":40}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":60}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":17}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":9}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":1,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":1,"53":0,"54":0,"55":0,"56":0,"57":0},"branchMap":{"0":{"type":"branch","line":2,"loc":{"start":{"line":2,"column":-1},"end":{"line":58,"column":9}},"locations":[{"start":{"line":2,"column":-1},"end":{"line":58,"column":9}}]},"1":{"type":"branch","line":43,"loc":{"start":{"line":43,"column":31},"end":{"line":43,"column":47}},"locations":[{"start":{"line":43,"column":31},"end":{"line":43,"column":47}}]},"2":{"type":"branch","line":43,"loc":{"start":{"line":43,"column":49},"end":{"line":52,"column":9}},"locations":[{"start":{"line":43,"column":49},"end":{"line":52,"column":9}}]},"3":{"type":"branch","line":53,"loc":{"start":{"line":53,"column":30},"end":{"line":58,"column":9}},"locations":[{"start":{"line":53,"column":30},"end":{"line":58,"column":9}}]}},"b":{"0":[1],"1":[0],"2":[0],"3":[0]},"fnMap":{"0":{"name":"createNode","decl":{"start":{"line":17,"column":8},"end":{"line":23,"column":9}},"loc":{"start":{"line":17,"column":8},"end":{"line":23,"column":9}},"line":17},"1":{"name":"appendNodesToDom","decl":{"start":{"line":24,"column":8},"end":{"line":30,"column":9}},"loc":{"start":{"line":24,"column":8},"end":{"line":30,"column":9}},"line":24}},"f":{"0":0,"1":0}}}
Passed: 0 Failed: 1 Pending: 0
1) login/login.test.ts:18:3 › Login scenarios › should load login page ==================
Error: An error occurred while trying to read the map file at /Users/<path>/ag-grid-chunk-bfc390cf.js.map
Error: ENOENT: no such file or directory, open '/Users/<path>/ag-grid-chunk-bfc390cf.js.map'
at readFromFileMap (/Users/<path>/node_modules/convert-source-map/index.js:60:11)
at new Converter (/Users/<path>/node_modules/convert-source-map/index.js:67:32)
at Object.exports.fromMapFileComment (/Users/<path>/node_modules/convert-source-map/index.js:153:10)
at Object.exports.fromMapFileSource (/Users/<path>/node_modules/convert-source-map/index.js:165:22)
at V8ToIstanbul.load (/Users/<path>/node_modules/v8-to-istanbul/lib/v8-to-istanbul.js:52:66)
at /Users/<path>/fixtures/blink.ts:334:21
"><pre class="notranslate">{"":{"path":"","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":0}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":46}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":23}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":61}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":21}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":22}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":10}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":68}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":60}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":58}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":40}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":50}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":25}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":58}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":10}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":0}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":46}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":51}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":60}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":51}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":15}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":24}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":9}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":42}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":61}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":43}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":50}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":15}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":75}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":9}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":0}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":8}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":0}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":61}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":72}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":59}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":64}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":51}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":44}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":48}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":48}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":17}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":50}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":81}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":112}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":87}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":84}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":52}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":40}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":40}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":17}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":9}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":31}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":52}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":40}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":60}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":17}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":9}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":1,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":1,"53":0,"54":0,"55":0,"56":0,"57":0},"branchMap":{"0":{"type":"branch","line":2,"loc":{"start":{"line":2,"column":-1},"end":{"line":58,"column":9}},"locations":[{"start":{"line":2,"column":-1},"end":{"line":58,"column":9}}]},"1":{"type":"branch","line":43,"loc":{"start":{"line":43,"column":31},"end":{"line":43,"column":47}},"locations":[{"start":{"line":43,"column":31},"end":{"line":43,"column":47}}]},"2":{"type":"branch","line":43,"loc":{"start":{"line":43,"column":49},"end":{"line":52,"column":9}},"locations":[{"start":{"line":43,"column":49},"end":{"line":52,"column":9}}]},"3":{"type":"branch","line":53,"loc":{"start":{"line":53,"column":30},"end":{"line":58,"column":9}},"locations":[{"start":{"line":53,"column":30},"end":{"line":58,"column":9}}]}},"b":{"0":[1],"1":[0],"2":[0],"3":[0]},"fnMap":{"0":{"name":"createNode","decl":{"start":{"line":17,"column":8},"end":{"line":23,"column":9}},"loc":{"start":{"line":17,"column":8},"end":{"line":23,"column":9}},"line":17},"1":{"name":"appendNodesToDom","decl":{"start":{"line":24,"column":8},"end":{"line":30,"column":9}},"loc":{"start":{"line":24,"column":8},"end":{"line":30,"column":9}},"line":24}},"f":{"0":0,"1":0}}}
Passed: 0 Failed: 1 Pending: 0
1) login/login.test.ts:18:3 › Login scenarios › should load login page ==================
Error: An error occurred <span class="pl-k">while</span> trying to <span class="pl-c1">read</span> the map file at /Users/<span class="pl-k"><</span>path<span class="pl-k">></span>/ag-grid-chunk-bfc390cf.js.map
Error: ENOENT: no such file or directory, open <span class="pl-s"><span class="pl-pds">'</span>/Users/<path>/ag-grid-chunk-bfc390cf.js.map<span class="pl-pds">'</span></span>
at readFromFileMap (/Users/<span class="pl-k"><</span>path<span class="pl-k">></span>/node_modules/convert-source-map/index.js:60:11)
at new Converter (/Users/<span class="pl-k"><</span>path<span class="pl-k">></span>/node_modules/convert-source-map/index.js:67:32)
at Object.exports.fromMapFileComment (/Users/<span class="pl-k"><</span>path<span class="pl-k">></span>/node_modules/convert-source-map/index.js:153:10)
at Object.exports.fromMapFileSource (/Users/<span class="pl-k"><</span>path<span class="pl-k">></span>/node_modules/convert-source-map/index.js:165:22)
at V8ToIstanbul.load (/Users/<span class="pl-k"><</span>path<span class="pl-k">></span>/node_modules/v8-to-istanbul/lib/v8-to-istanbul.js:52:66)
at /Users/<span class="pl-k"><</span>path<span class="pl-k">></span>/fixtures/blink.ts:334:21
</pre></div>
<p dir="auto"><strong>Steps</strong></p>
<ul dir="auto">
<li>[Run the test]</li>
<li>npx playwright test</li>
</ul>
<p dir="auto"><strong>Expected</strong></p>
<p dir="auto">I followed the instructions as per <a href="https://playwright.dev/docs/api/class-coverage" rel="nofollow">https://playwright.dev/docs/api/class-coverage</a> to get the code coverage.</p>
<p dir="auto"><strong>Actual</strong></p>
<p dir="auto">But I am facing an error complaining that the map is not present at the given location. This seems to be happening with latest version as well.</p> | 0 |
<p dir="auto">Apache Druid 0.21.0 contains around 120 new features, bug fixes, performance enhancements, documentation improvements, and additional test coverage from 36 contributors. Refer to the complete list of changes and everything tagged to the milestone for further details.</p>
<h1 dir="auto"><a name="user-content-21-new-features" href="#21-new-features">#</a> New features</h1>
<h2 dir="auto"><a name="user-content-21-operation" href="#21-operation">#</a> Operation</h2>
<h3 dir="auto"><a name="user-content-21-k8s-extension" href="#21-k8s-extension">#</a> Service discovery and leader election based on Kubernetes</h3>
<p dir="auto">The new Kubernetes extension supports service discovery and leader election based on Kubernetes. This extension works in conjunction with the HTTP-based server view (<code class="notranslate">druid.serverview.type=http</code>) and task management (<code class="notranslate">druid.indexer.runner.type=httpRemote</code>) to allow you to run a Druid cluster <em>with zero ZooKeeper dependencies</em>. This extension is still <strong>experimental</strong>. See <a href="https://druid.apache.org/docs/latest/development/extensions-core/kubernetes.html" rel="nofollow">Kubernetes extension</a> for more details.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="733350445" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10544" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10544/hovercard" href="https://github.com/apache/druid/pull/10544">#10544</a><br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="579718925" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/9507" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/9507/hovercard" href="https://github.com/apache/druid/pull/9507">#9507</a><br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="730754190" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10537" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10537/hovercard" href="https://github.com/apache/druid/pull/10537">#10537</a></p>
<h3 dir="auto"><a name="user-content-21-segment-count-limit-for-balancing" href="#21-segment-count-limit-for-balancing">#</a> New dynamic coordinator configuration to limit the number of segments when finding a candidate segment for segment balancing</h3>
<p dir="auto">You can set the <code class="notranslate">percentOfSegmentsToConsiderPerMove</code> to limit the number of segments considered when picking a candidate segment to move. The candidates are searched up to <code class="notranslate">maxSegmentsToMove * 2</code> times. This new configuration prevents Druid from iterating through all available segments to speed up the segment balancing process, especially if you have lots of available segments in your cluster. See <a href="https://druid.apache.org/docs/latest/configuration/index.html#dynamic-configuration" rel="nofollow">Coordinator dynamic configuration</a> for more details.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="679301098" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10284" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10284/hovercard" href="https://github.com/apache/druid/pull/10284">#10284</a></p>
<h3 dir="auto"><a name="user-content-21-indexer-endpoints" href="#21-indexer-endpoints">#</a> <code class="notranslate">status</code> and <code class="notranslate">selfDiscovered</code> endpoints for Indexers</h3>
<p dir="auto">The Indexer now supports <code class="notranslate">status</code> and <code class="notranslate">selfDiscovered</code> endpoints. See <a href="https://druid.apache.org/docs/latest/operations/api-reference.html#process-information" rel="nofollow">Processor information APIs</a> for details.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="766730261" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10679" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10679/hovercard" href="https://github.com/apache/druid/pull/10679">#10679</a></p>
<h2 dir="auto"><a name="user-content-21-querying" href="#21-querying">#</a> Querying</h2>
<h3 dir="auto"><a name="user-content-21-grouping-function" href="#21-grouping-function">#</a> New <code class="notranslate">grouping</code> aggregator function</h3>
<p dir="auto">You can use the new <code class="notranslate">grouping</code> aggregator SQL function with <code class="notranslate">GROUPING SETS</code> or <code class="notranslate">CUBE</code> to indicate which grouping dimensions are included in the current grouping set. See <a href="https://druid.apache.org/docs/latest/querying/sql.html#aggregation-functions" rel="nofollow">Aggregation functions</a> for more details.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="724533044" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10518" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10518/hovercard" href="https://github.com/apache/druid/pull/10518">#10518</a></p>
<h3 dir="auto"><a name="user-content-21-expr-type-handling" href="#21-expr-type-handling">#</a> Improved missing argument handling in expressions and functions</h3>
<p dir="auto">Expression processing now can be vectorized when inputs are missing. For example a non-existent column. When an argument is missing in an expression, Druid can now infer the proper type of result based on non-null arguments. For instance, for <code class="notranslate">longColumn + nonExistentColumn</code>, <code class="notranslate">nonExistentColumn</code> is treated as <code class="notranslate">(long) 0</code> instead of <code class="notranslate">(double) 0.0</code>. Finally, in default null handling mode, math functions can produce output properly by treating missing arguments as zeros.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="718393720" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10499" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10499/hovercard" href="https://github.com/apache/druid/pull/10499">#10499</a></p>
<h3 dir="auto"><a name="user-content-21-timestampadd" href="#21-timestampadd">#</a> Allow zero period for <code class="notranslate">TIMESTAMPADD</code></h3>
<p dir="auto"><code class="notranslate">TIMESTAMPADD</code> function now allows zero period. This functionality is required for some BI tools such as Tableau.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="735045372" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10550" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10550/hovercard" href="https://github.com/apache/druid/pull/10550">#10550</a></p>
<h2 dir="auto"><a name="user-content-21-ingestion" href="#21-ingestion">#</a> Ingestion</h2>
<h3 dir="auto"><a name="user-content-21-parallel-ingestion-without-intervals" href="#21-parallel-ingestion-without-intervals">#</a> Native parallel ingestion no longer requires explicit intervals</h3>
<p dir="auto">Parallel task no longer requires you to set explicit intervals in <code class="notranslate">granularitySpec</code>. If intervals are missing, the parallel task executes an extra step for input sampling which collects the intervals to index.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="745272114" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10592" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10592/hovercard" href="https://github.com/apache/druid/pull/10592">#10592</a><br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="758058186" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10647" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10647/hovercard" href="https://github.com/apache/druid/pull/10647">#10647</a></p>
<h3 dir="auto"><a name="user-content-21-old-kafka-support" href="#21-old-kafka-support">#</a> Old Kafka version support</h3>
<p dir="auto">Druid now supports Apache Kafka older than 0.11. To read from an old version of Kafka, set the <code class="notranslate">isolation.level</code> to <code class="notranslate">read_uncommitted</code> in <code class="notranslate">consumerProperties</code>. Only 0.10.2.1 have been tested up until this release. See <a href="https://druid.apache.org/docs/latest/development/extensions-core/kafka-ingestion.html#kafkasupervisorioconfig" rel="nofollow">Kafka supervisor configurations</a> for details.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="735167823" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10551" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10551/hovercard" href="https://github.com/apache/druid/pull/10551">#10551</a></p>
<h3 dir="auto">Multi-phase segment merge for native batch ingestion</h3>
<p dir="auto">A new tuningConfig, <code class="notranslate">maxColumnsToMerge</code>, controls how many segments can be merged at the same time in the task. This configuration can be useful to avoid high memory pressure during the merge. See <a href="https://druid.apache.org/docs/latest/ingestion/native-batch.html#tuningconfig" rel="nofollow">tuningConfig for native batch ingestion</a> for more details.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="770353384" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10689" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10689/hovercard" href="https://github.com/apache/druid/pull/10689">#10689</a></p>
<h3 dir="auto"><a name="user-content-21-compaction" href="#21-compaction">#</a> Native re-ingestion is less memory intensive</h3>
<p dir="auto">Parallel tasks now sort segments by ID before assigning them to subtasks. This sorting minimizes the number of time chunks for each subtask to handle. As a result, each subtask is expected to use less memory, especially when a single Parallel task is issued to re-ingest segments covering a long time period.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="757790268" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10646" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10646/hovercard" href="https://github.com/apache/druid/pull/10646">#10646</a></p>
<h2 dir="auto"><a name="user-content-21-web-console" href="#21-web-console">#</a> Web console</h2>
<h3 dir="auto"><a name="user-content-21-refresh-console-style" href="#21-refresh-console-style">#</a> Updated and improved web console styles</h3>
<p dir="auto">The new web console styles make better use of the Druid brand colors and standardize paddings and margins throughout. The icon and background colors are now derived from the Druid logo.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/177816/96206449-c3e58800-0f1d-11eb-977a-8fbdbe4dce77.png"><img src="https://user-images.githubusercontent.com/177816/96206449-c3e58800-0f1d-11eb-977a-8fbdbe4dce77.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="722839948" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10515" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10515/hovercard" href="https://github.com/apache/druid/pull/10515">#10515</a></p>
<h3 dir="auto"><a name="user-content-21-web-console-partitioning" href="#21-web-console-partitioning">#</a> Partitioning information is available in the web console</h3>
<p dir="auto">The web console now shows datasource partitioning information on the new <code class="notranslate">Segment granularity</code> and <code class="notranslate">Partitioning</code> columns.</p>
<h5 dir="auto"><code class="notranslate">Segment granularity</code> column in the <code class="notranslate">Datasources</code> tab</h5>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2322288/104550926-b7d79800-55ea-11eb-824e-58a71b506139.png"><img src="https://user-images.githubusercontent.com/2322288/104550926-b7d79800-55ea-11eb-824e-58a71b506139.png" alt="97240667-1b9cb280-17ac-11eb-9c55-e312c24cd8fc" style="max-width: 100%;"></a></p>
<h5 dir="auto"><code class="notranslate">Partitioning</code> column in the <code class="notranslate">Segments</code> tab</h5>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2322288/104550932-bc03b580-55ea-11eb-9196-c3f4c8203ede.png"><img src="https://user-images.githubusercontent.com/2322288/104550932-bc03b580-55ea-11eb-9196-c3f4c8203ede.png" alt="97240597-ebedaa80-17ab-11eb-976f-a0d49d6d1a40" style="max-width: 100%;"></a></p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="730062911" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10533" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10533/hovercard" href="https://github.com/apache/druid/pull/10533">#10533</a></p>
<h3 dir="auto"><a name="user-content-21-web-console-dim-ordering" href="#21-web-console-dim-ordering">#</a> The column order in the <code class="notranslate">Schema</code> table matches the <code class="notranslate">dimensionsSpec</code></h3>
<p dir="auto">The <code class="notranslate">Schema</code> table now reflects the dimension ordering in the <code class="notranslate">dimensionsSpec</code>.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2322288/104551169-35030d00-55eb-11eb-99ca-6aad43986b8b.png"><img src="https://user-images.githubusercontent.com/2322288/104551169-35030d00-55eb-11eb-99ca-6aad43986b8b.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="744252987" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10588" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10588/hovercard" href="https://github.com/apache/druid/pull/10588">#10588</a></p>
<h3 dir="auto"><a name="user-content-21-metrics" href="#21-metrics">#</a> Metrics</h3>
<h3 dir="auto"><a name="user-content-21-coordinator-duty-metrics" href="#21-coordinator-duty-metrics">#</a> Coordinator duty runtime metrics</h3>
<p dir="auto">The coordinator performs several 'duty' tasks. For example segment balancing, loading new segments, etc. Now there are two new metrics to help you analyze how fast the Coordinator is executing these duties.</p>
<ul dir="auto">
<li><code class="notranslate">coordinator/time</code>: the time for an individual duty to execute</li>
<li><code class="notranslate">coordinator/global/time</code>: the time for the whole duties runnable to execute</li>
</ul>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="750116085" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10603" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10603/hovercard" href="https://github.com/apache/druid/pull/10603">#10603</a></p>
<h3 dir="auto"><a name="user-content-21-query-timeout-metric" href="#21-query-timeout-metric">#</a> Query timeout metric</h3>
<p dir="auto">A new metric provides the number of timed out queries. Previously timed out queries were treated as interrupted and included in the <code class="notranslate">query/interrupted/count</code> (see <a href="#21-http-error-codes">Changed HTTP status codes for query errors</a> for more details).</p>
<p dir="auto"><code class="notranslate">query/timeout/count</code>: the number of timed out queries during the emission period</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="739280480" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10567" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10567/hovercard" href="https://github.com/apache/druid/pull/10567">#10567</a></p>
<h3 dir="auto"><a name="user-content-21-shuffle-metrics" href="#21-shuffle-metrics">#</a> Shuffle metrics for batch ingestion</h3>
<p dir="auto">Two new metrics provide shuffle statistics for MiddleManagers and Indexers. These metrics have the <code class="notranslate">supervisorTaskId</code> as their dimension.</p>
<ul dir="auto">
<li><code class="notranslate">ingest/shuffle/bytes</code>: number of bytes shuffled per emission period</li>
<li><code class="notranslate">ingest/shuffle/requests</code>: number of shuffle requests per emission period</li>
</ul>
<p dir="auto">To enable the shuffle metrics, add <code class="notranslate">org.apache.druid.indexing.worker.shuffle.ShuffleMonitor</code> in <code class="notranslate">druid.monitoring.monitors</code>. See <a href="https://druid.apache.org/docs/latest/operations/metrics.md" rel="nofollow">Shuffle metrics</a> for more details.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="693811103" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10359" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10359/hovercard" href="https://github.com/apache/druid/pull/10359">#10359</a></p>
<h3 dir="auto"><a name="user-content-21-cron-scheduler" href="#21-cron-scheduler">#</a> New clock-drift safe metrics monitor scheduler</h3>
<p dir="auto">The default metrics monitor scheduler is implemented based on <code class="notranslate">ScheduledThreadPoolExecutor</code> which is prone to unbounded <a href="https://en.wikipedia.org/wiki/Clock_drift" rel="nofollow">clock drift</a>. A new monitor scheduler, <code class="notranslate">ClockDriftSafeMonitorScheduler</code>, overcomes this limitation. To use the new scheduler, set <code class="notranslate">druid.monitoring.schedulerClassName</code> to <code class="notranslate">org.apache.druid.java.util.metrics.ClockDriftSafeMonitorScheduler</code> in the runtime.properties file.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="711000773" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10448" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10448/hovercard" href="https://github.com/apache/druid/pull/10448">#10448</a><br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="780978092" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10732" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10732/hovercard" href="https://github.com/apache/druid/pull/10732">#10732</a></p>
<h3 dir="auto"><a name="user-content-21-others" href="#21-others">#</a> Others</h3>
<h3 dir="auto"><a name="user-content-21-rds-password-provider" href="#21-rds-password-provider">#</a> New extension for a password provider based on AWS RDS token</h3>
<p dir="auto">A new <code class="notranslate">PasswordProvider</code> type allows access to AWS RDS DB instances using temporary AWS tokens. This extension can be useful when an RDS is used as Druid's metadata store. See <a href="https://druid.apache.org/docs/latest/development/extensions-core/druid-aws-rds.html" rel="nofollow">AWS RDS extension</a> for more details.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="581066263" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/9518" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/9518/hovercard" href="https://github.com/apache/druid/pull/9518">#9518</a></p>
<h3 dir="auto"><a name="user-content-21-system-table-leader" href="#21-system-table-leader">#</a> The <code class="notranslate">sys.servers</code> table shows leaders</h3>
<p dir="auto">A new long-typed column <code class="notranslate">is_leader</code> in the <code class="notranslate">sys.servers</code> table indicates whether or not the server is the leader.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="767209636" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10680" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10680/hovercard" href="https://github.com/apache/druid/pull/10680">#10680</a></p>
<h3 dir="auto"><a name="user-content-21-https-influxdb" href="#21-https-influxdb">#</a> <code class="notranslate">druid-influxdb-emitter</code> extension supports the HTTPS protocol</h3>
<p dir="auto">See <a href="https://druid.apache.org/docs/latest/development/extensions-contrib/influxdb-emitter.html" rel="nofollow">Influxdb emitter extension</a> for new configurations.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="625805019" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/9938" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/9938/hovercard" href="https://github.com/apache/druid/pull/9938">#9938</a></p>
<h2 dir="auto"><a name="user-content-21-docker" href="#21-docker">#</a> Docker</h2>
<h3 dir="auto"><a name="user-content-21-small-docker" href="#21-small-docker">#</a> Small docker image</h3>
<p dir="auto">The docker image size is reduced by half by eliminating unnecessary duplication.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="719413192" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10506" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10506/hovercard" href="https://github.com/apache/druid/pull/10506">#10506</a></p>
<h2 dir="auto"><a name="user-content-21-development" href="#21-development">#</a> Development</h2>
<h3 dir="auto"><a name="user-content-21-dynamic-config-provider" href="#21-dynamic-config-provider">#</a> Extensible Kafka consumer properties via a new <code class="notranslate">DynamicConfigProvider</code></h3>
<p dir="auto">A new class <code class="notranslate">DynamicConfigProvider</code> enables fetching consumer properties at runtime. For instance, you can use <code class="notranslate">DynamicConfigProvider</code> fetch <code class="notranslate">bootstrap.servers</code> from location such as a local environment variable if it is not static. Currently, only a map-based config provider is supported by default. See <a href="https://druid.apache.org/docs/latest/operations/dynamic-config-provider.md" rel="nofollow">DynamicConfigProvider</a> for how to implement a custom config provider.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="683915395" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10309" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10309/hovercard" href="https://github.com/apache/druid/pull/10309">#10309</a></p>
<h1 dir="auto"><a name="user-content-21-bug-fixes" href="#21-bug-fixes">#</a> Bug fixes</h1>
<p dir="auto">Druid 0.21.0 contains 30 bug fixes, you can see <a href="https://github.com/apache/druid/pulls?q=is%3Apr+milestone%3A0.21.0+is%3Aclosed+label%3ABug+">the complete list here</a>.</p>
<h3 dir="auto"><a name="user-content-21-post-agg-subtotal" href="#21-post-agg-subtotal">#</a> Post-aggregator computation with subtotals</h3>
<p dir="auto">Before 0.21.0, the query fails with an error when you use post aggregators with sub-totals. Now this bug is fixed and you can use post aggregators with subtotals.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="759392455" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10653" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10653/hovercard" href="https://github.com/apache/druid/pull/10653">#10653</a></p>
<h3 dir="auto"><a name="user-content-21-indexer-announce" href="#21-indexer-announce">#</a> Indexers announce themselves as segment servers</h3>
<p dir="auto">In 0.19.0 and 0.20.0, Indexers could not process queries against streaming data as they did not announce themselves as segment servers. They are fixed to announce themselves properly in 0.21.0.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="756800514" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10631" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10631/hovercard" href="https://github.com/apache/druid/pull/10631">#10631</a></p>
<h3 dir="auto"><a name="user-content-21-historical-segment-loading" href="#21-historical-segment-loading">#</a> Validity check for segment files in historicals</h3>
<p dir="auto">Historicals now perform validity check after they download segment files and re-download automatically if those files are crashed.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="758349838" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10650" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10650/hovercard" href="https://github.com/apache/druid/pull/10650">#10650</a></p>
<h3 dir="auto"><a name="user-content-21-storage-location-selector" href="#21-storage-location-selector">#</a> <code class="notranslate">StorageLocationSelectorStrategy</code> injection failure is fixed</h3>
<p dir="auto">The injection failure while reading the configurations of <code class="notranslate">StorageLocationSelectorStrategy</code> is fixed.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="695007257" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10363" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10363/hovercard" href="https://github.com/apache/druid/pull/10363">#10363</a></p>
<h1 dir="auto"><a name="user-content-21-upgrading-to-0.21.0" href="#21-upgrading-to-0.21.0">#</a> Upgrading to 0.21.0</h1>
<p dir="auto">Consider the following changes and updates when upgrading from Druid 0.20.0 to 0.21.0. If you're updating from an earlier version than 0.20.0, see the release notes of the relevant intermediate versions.</p>
<h3 dir="auto"><a name="user-content-21-http-error-codes" href="#21-http-error-codes">#</a> Improved HTTP status codes for query errors</h3>
<p dir="auto">Before this release, Druid returned the "internal error (500)" for most of the query errors. Now Druid returns different error codes based on their cause. The following table lists the errors and their corresponding codes that has changed:</p>
<table role="table">
<thead>
<tr>
<th>Exception</th>
<th>Description</th>
<th>Old code</th>
<th>New code</th>
</tr>
</thead>
<tbody>
<tr>
<td>SqlParseException and ValidationException from Calcite</td>
<td>Query planning failed</td>
<td>500</td>
<td><strong>400</strong></td>
</tr>
<tr>
<td>QueryTimeoutException</td>
<td>Query execution didn't finish in timeout</td>
<td>500</td>
<td><strong>504</strong></td>
</tr>
<tr>
<td>ResourceLimitExceededException</td>
<td>Query asked more resources than configured threshold</td>
<td>500</td>
<td><strong>400</strong></td>
</tr>
<tr>
<td>InsufficientResourceException</td>
<td>Query failed to schedule because of lack of merge buffers available at the time when it was submitted</td>
<td>500</td>
<td><strong>429</strong>, merged to QueryCapacityExceededException</td>
</tr>
<tr>
<td>QueryUnsupportedException</td>
<td>Unsupported functionality</td>
<td>400</td>
<td><strong>501</strong></td>
</tr>
</tbody>
</table>
<p dir="auto">There is also a new query metric for query timeout errors. See <a href="#21-query-timeout-metric">New query timeout metric</a> for more details.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="713736306" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10464" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10464/hovercard" href="https://github.com/apache/druid/pull/10464">#10464</a><br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="784032276" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10746" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10746/hovercard" href="https://github.com/apache/druid/pull/10746">#10746</a></p>
<h3 dir="auto"><a name="user-content-21-query-interrupted-metric" href="#21-query-interrupted-metric">#</a> Query interrupted metric</h3>
<p dir="auto"><code class="notranslate">query/interrupted/count</code> no longer counts the queries that timed out. These queries are counted by <code class="notranslate">query/timeout/count</code>.</p>
<h3 dir="auto"><a name="user-content-21-context-dimension" href="#21-context-dimension">#</a> <code class="notranslate">context</code> dimension in query metrics</h3>
<p dir="auto"><code class="notranslate">context</code> is now a default dimension emitted for all query metrics. <code class="notranslate">context</code> is a JSON-formatted string containing the query context for the query that the emitted metric refers to. The addition of a dimension that was not previously alters some metrics emitted by Druid. You should plan to handle this new <code class="notranslate">context</code> dimension in your metrics pipeline. Since the dimension is a JSON-formatted string, a common solution is to parse the dimension and either flatten it or extract the bits you want and discard the full JSON-formatted string blob.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="742054647" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10578" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10578/hovercard" href="https://github.com/apache/druid/pull/10578">#10578</a></p>
<h3 dir="auto"><a name="user-content-21-deprecate-zk-3.4" href="#21-deprecate-zk-3.4">#</a> Deprecated support for Apache ZooKeeper 3.4</h3>
<p dir="auto"><a href="https://mail-archives.apache.org/mod_mbox/zookeeper-user/202004.mbox/%3C41A7EC67-D8F4-4C3A-B2DB-C2741C2EECA3%40apache.org%3E" rel="nofollow">As ZooKeeper 3.4 has been end-of-life for a while</a>, support for ZooKeeper 3.4 is deprecated in 0.21.0 and will be removed in the near future.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="789542120" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10780" data-hovercard-type="issue" data-hovercard-url="/apache/druid/issues/10780/hovercard" href="https://github.com/apache/druid/issues/10780">#10780</a></p>
<h3 dir="auto"><a name="user-content-21-consistent-segments-table" href="#21-consistent-segments-table">#</a> Consistent serialization format and column naming convention for the <code class="notranslate">sys.segments</code> table</h3>
<p dir="auto">All columns in the <code class="notranslate">sys.segments</code> table are now serialized in the JSON format to make them consistent with other system tables. Column names now use the same "snake case" convention.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="715198285" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/10481" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/10481/hovercard" href="https://github.com/apache/druid/pull/10481">#10481</a></p>
<h1 dir="auto"><a name="user-content-21-known-issues" href="#21-known-issues">#</a> Known issues</h1>
<h3 dir="auto"><a name="user-content-21-cve-2020-13949" href="#21-cve-2020-13949">#</a> Known security vulnerability in the Thrift library</h3>
<p dir="auto">The <a href="https://druid.apache.org/docs/latest/development/extensions-contrib/thrift.html" rel="nofollow">Thrift extension</a> can be useful for ingesting files of the Thrift format into Druid. However, there is a <a href="https://nvd.nist.gov/vuln/detail/CVE-2020-13949" rel="nofollow">known security vulnerability</a> in the version of the Thrift library that Druid uses. The vulerability can be exploitable by ingesting maliciously crafted Thrift files when you use Indexers. We recommend granting the <code class="notranslate">DATASOURCE WRITE</code> permission to only trusted users.</p>
<p dir="auto">For a full list of open issues, please see
<a id="label-5191ae" href="https://github.com/apache/druid/labels/Bug" data-name="Bug" style="--label-r:252;--label-g:41;--label-b:41;--label-h:0;--label-s:97;--label-l:57;" data-view-component="true" class="IssueLabel hx_IssueLabel Label--inline">
Bug</a>
.</p>
<h1 dir="auto"><a name="user-content-21-credits" href="#21-credits">#</a> Credits</h1>
<p dir="auto">Thanks to everyone who contributed to this release!</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/a2l007/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/a2l007">@a2l007</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/abhishekagarwal87/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/abhishekagarwal87">@abhishekagarwal87</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/asdf2014/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/asdf2014">@asdf2014</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/AshishKapoor/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/AshishKapoor">@AshishKapoor</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/awelsh93/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/awelsh93">@awelsh93</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ayushkul2910/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ayushkul2910">@ayushkul2910</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bananaaggle/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bananaaggle">@bananaaggle</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/capistrant/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/capistrant">@capistrant</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ccaominh/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ccaominh">@ccaominh</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clintropolis/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clintropolis">@clintropolis</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/cloventt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/cloventt">@cloventt</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/FrankChen021/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/FrankChen021">@FrankChen021</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gianm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gianm">@gianm</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/harinirajendran/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/harinirajendran">@harinirajendran</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/himanshug/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/himanshug">@himanshug</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jihoonson/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jihoonson">@jihoonson</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jon-wei/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jon-wei">@jon-wei</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kroeders/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kroeders">@kroeders</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/liran-funaro/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/liran-funaro">@liran-funaro</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/martin-g/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/martin-g">@martin-g</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/maytasm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/maytasm">@maytasm</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mghosh4/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mghosh4">@mghosh4</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/michaelschiff/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/michaelschiff">@michaelschiff</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nishantmonu51/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nishantmonu51">@nishantmonu51</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pcarrier/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pcarrier">@pcarrier</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/QingdongZeng3/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/QingdongZeng3">@QingdongZeng3</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sthetland/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sthetland">@sthetland</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/suneet-s/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/suneet-s">@suneet-s</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tdt17/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tdt17">@tdt17</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/techdocsmith/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/techdocsmith">@techdocsmith</a><br>
@valdemar-giosg<br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/viatcheslavmogilevsky/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/viatcheslavmogilevsky">@viatcheslavmogilevsky</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/viongpanzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/viongpanzi">@viongpanzi</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vogievetsky/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vogievetsky">@vogievetsky</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/xvrl/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/xvrl">@xvrl</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zhangyue19921010/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zhangyue19921010">@zhangyue19921010</a></p> | <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gianm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gianm">@gianm</a>, this is meant as a placeholder, feel free to alter title and content of this issue</p>
<p dir="auto">In <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="345406624" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/6066" data-hovercard-type="issue" data-hovercard-url="/apache/druid/issues/6066/hovercard" href="https://github.com/apache/druid/issues/6066">#6066</a> we discussed the possibility of specifying the <code class="notranslate">sortOrder</code> on ingestion specs.</p>
<p dir="auto">Currently, rows in segments are sorted based on <code class="notranslate">[__time] + dimensions</code>. Knowing that Druid's bitmaps use some form of RLE compression, and that LZ4 operates by finding duplication on sliding windows (reminiscent of RLE-compression), allowing for a custom sort order could allow for significantly denser segments. Users may want to take the time to specify a sort order improves perf based on their data and workloads. This may mean sorting based on cardinality (lower dims first), one-to-many hierarchies across dims (country->region), or heavily used and/or commonly predicated column.</p>
<p dir="auto">A key item would be to remove the assumption that <code class="notranslate">__time</code> is the first item in the ordering to allow for more RLE-friendly ordering. As <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gianm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gianm">@gianm</a> mentioned in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="345406624" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/6066" data-hovercard-type="issue" data-hovercard-url="/apache/druid/issues/6066/hovercard" href="https://github.com/apache/druid/issues/6066">#6066</a>, many places in the codebase build upon this assumption, and we'd have to make sure that isn't the case anymore as a prerequisite.</p> | 0 |
<p dir="auto">I think it should be computed in terms of <code class="notranslate">zero_one_loss</code> to avoid code duplication.</p> | <p dir="auto">Hi, I would like to report what seems to be a bug in the treatment of the <code class="notranslate">copy_X</code> parameter of the <code class="notranslate">LassoLarsIC</code> class. Because it's a simple bug, it's much easier to see in the code directly than in the execution, so I am not posting steps to reproduce it.</p>
<p dir="auto">As you can see here, LassoLarsIC accepts a copy_X parameter.<br>
</p><div class="Box Box--condensed my-2">
<div class="Box-header f6">
<p class="mb-0 text-bold">
<a href="https://github.com/scikit-learn/scikit-learn/blob/7389dbac82d362f296dc2746f10e43ffa1615660/sklearn/linear_model/least_angle.py#L1487">scikit-learn/sklearn/linear_model/least_angle.py</a>
</p>
<p class="mb-0 color-fg-muted">
Line 1487
in
<a data-pjax="true" class="commit-tease-sha" href="/scikit-learn/scikit-learn/commit/7389dbac82d362f296dc2746f10e43ffa1615660">7389dba</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="L1487" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="1487"></td>
<td id="LC1487" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">self</span>.<span class="pl-s1">copy_X</span> <span class="pl-c1">=</span> <span class="pl-s1">copy_X</span> </td>
</tr>
</tbody></table>
</div>
</div>
<p></p>
<p dir="auto">However, it also takes a copy_X parameter a few lines below, in the definition of <code class="notranslate">fit</code>.<br>
<code class="notranslate">def fit(self, X, y, copy_X=True):</code></p>
<p dir="auto">Now there are two values (potentially contradicting each other) for copy_X and each one is used once. Therefore <code class="notranslate">fit</code> can have a mixed behaviour. Even worse, this can be completely invisible to the user, since copy_X has a default value of True. Let's assume that I'd like it to be False, and have set it to False in the initialization, <code class="notranslate">my_lasso = LassoLarsIC(copy_X=False)</code>. I then call <code class="notranslate">my_lasso.fit(X, y)</code> and my choice will be silently overwritten.</p>
<p dir="auto">Ideally I think that copy_X should be removed as an argument in <code class="notranslate">fit</code>. No other estimator seems to have a duplication in class parameters and fit arguments (I've checked more than ten in the linear models module). However, this would break existing code. Therefore I propose that <code class="notranslate">fit</code> takes a default value of <code class="notranslate">None</code> and only overwrites the existing value if the user has explicitly passed it as an argument to <code class="notranslate">fit</code>. I will submit a PR to that effect.</p> | 0 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=janning" rel="nofollow">Janning Vygen</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-3449?redirect=false" rel="nofollow">SPR-3449</a></strong> and commented</p>
<p dir="auto">the binding of a list does not work in spring 2.0.4. The error is reproducable with the code below (including pom maven descriptor).<br>
The same code DOES work with spring 2.0.3 (you just need to change the pom if you use maven)</p>
<p dir="auto">// imports removed<br>
public class SimpleControllerTest extends TestCase {<br>
private SimpleController controller;</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="public void testCorrectModel ( ) throws Exception {
controller = new SimpleController();
controller.setCommandClass(ListForm.class);
MockHttpServletRequest req = new MockHttpServletRequest("POST", "/myurl");
MockHttpServletResponse res = new MockHttpServletResponse();
req.addParameter("oks[0].ok", "true");
ModelAndView mav = controller.handleRequest(req, res);
ListForm form = (ListForm) mav.getModelMap().get("command");
Boolean ok = form.getOks().get(0).getOk();
assertNotNull(ok);
}"><pre class="notranslate"><code class="notranslate">public void testCorrectModel ( ) throws Exception {
controller = new SimpleController();
controller.setCommandClass(ListForm.class);
MockHttpServletRequest req = new MockHttpServletRequest("POST", "/myurl");
MockHttpServletResponse res = new MockHttpServletResponse();
req.addParameter("oks[0].ok", "true");
ModelAndView mav = controller.handleRequest(req, res);
ListForm form = (ListForm) mav.getModelMap().get("command");
Boolean ok = form.getOks().get(0).getOk();
assertNotNull(ok);
}
</code></pre></div>
<p dir="auto">}</p>
<p dir="auto">// imports removed<br>
public class SimpleController extends AbstractFormController<br>
{<br>
protected ModelAndView processFormSubmission ( HttpServletRequest req, HttpServletResponse resp, Object command, BindException err ) throws Exception {<br>
ModelAndView mav = new ModelAndView();<br>
mav.addObject("command", command);<br>
return mav;<br>
}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Override
protected ModelAndView showForm ( HttpServletRequest arg0, HttpServletResponse arg1, BindException arg2 ) throws Exception {
return null;
}"><pre class="notranslate"><code class="notranslate">@Override
protected ModelAndView showForm ( HttpServletRequest arg0, HttpServletResponse arg1, BindException arg2 ) throws Exception {
return null;
}
</code></pre></div>
<p dir="auto">}</p>
<p dir="auto">// imports removed<br>
public class Ok<br>
{<br>
Boolean ok;<br>
public Boolean getOk () {<br>
return ok;<br>
}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="public void setOk ( Boolean ok ) {
this.ok = ok;
} "><pre class="notranslate"><code class="notranslate">public void setOk ( Boolean ok ) {
this.ok = ok;
}
</code></pre></div>
<p dir="auto">}</p>
<p dir="auto">// imports removed<br>
public class ListForm<br>
{<br>
private List<Ok> oks = new ArrayList<Ok>();</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="public ListForm () {
for( int index = 0; index < 5; index++) {
Ok ok = new Ok();
oks.add( ok );
}
}
public List<Ok> getOks ( ) {
return oks;
}
public void setOks ( List<Ok> oks ) {
this.oks = oks;
}"><pre class="notranslate"><code class="notranslate">public ListForm () {
for( int index = 0; index < 5; index++) {
Ok ok = new Ok();
oks.add( ok );
}
}
public List<Ok> getOks ( ) {
return oks;
}
public void setOks ( List<Ok> oks ) {
this.oks = oks;
}
</code></pre></div>
<p dir="auto">}</p>
<p dir="auto"><?xml version="1.0" encoding="UTF-8"?><br>
<project><br>
<modelVersion>4.0.0</modelVersion><br>
<groupId>test</groupId><br>
<artifactId>test</artifactId><br>
<packaging>jar</packaging><br>
<version>1.0-SNAPSHOT</version><br>
<build><br>
<plugins><br>
<plugin><br>
<artifactId>maven-compiler-plugin</artifactId><br>
<configuration><br>
<source>1.5</source><br>
<target>1.5</target><br>
</configuration><br>
</plugin><br>
</plugins><br>
</build><br>
<dependencies><br>
<dependency><br>
<groupId>org.springframework</groupId><br>
<artifactId>spring</artifactId><br>
<version>2.0.4</version><br>
<!--<br>
<version>2.0.3</version><br>
--><br>
</dependency><br>
<dependency><br>
<groupId>junit</groupId><br>
<artifactId>junit</artifactId><br>
<version>3.8.1</version><br>
<scope>test</scope><br>
</dependency> <dependency><br>
<groupId>org.springframework</groupId><br>
<artifactId>spring-mock</artifactId><br>
<version>2.0.4</version><br>
<!--<br>
<version>2.0.3</version><br>
--><br>
<scope>test</scope><br>
</dependency><br>
</dependencies><br>
</project></p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0.4</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="398077000" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/8043" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/8043/hovercard" href="https://github.com/spring-projects/spring-framework/issues/8043">#8043</a> Error in BeanWrapperImpl.setPropertyValue for nested paths for primitive wrapper types such as integer (<em><strong>"duplicates"</strong></em>)</li>
</ul> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=peter.dettman" rel="nofollow">Peter Dettman</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-6041?redirect=false" rel="nofollow">SPR-6041</a></strong> and commented</p>
<p dir="auto">The Caucho hessian lib has now stabilised its v2.0 protocol and rounded up several regressions, with the release of v4.0.1 (<a href="http://caucho.com/download/hessian-4.0.1.jar" rel="nofollow">http://caucho.com/download/hessian-4.0.1.jar</a>).</p>
<p dir="auto">In 4.0.1, the HessianSkeleton class provides a ready-made invoke method that Spring's HessianExporter can call (instead of duplicating its code). I am attaching a patch that modifies HessianExporter.java to do so. The debugging output part of the code is still duplicated of necessity until some suitable refactoring of HessianSkeleton is done.</p>
<p dir="auto">As far as backward compatibility is concerned, I believe users should avoid using Hessian 2.0 protocol from previous versions (that may be an overly strict interpretation). Hessian 1.0 protocol should work fine with a v4.0.1 server. I understand that there could be problems if people are using HessianOutput/Hessian2Output or streaming versions directly.</p>
<p dir="auto">I recommend Caucho's Hessian 4.0.1 be used for Spring 3.0, a fresh start of sorts.</p>
<p dir="auto">See also:<br>
<a href="http://maillist.caucho.com/pipermail/hessian-interest/2009-June/000750.html" rel="nofollow">http://maillist.caucho.com/pipermail/hessian-interest/2009-June/000750.html</a> (and surrounding discussion on that list)<br>
<a href="http://jira.springframework.org/browse/SPR-5469" rel="nofollow">http://jira.springframework.org/browse/SPR-5469</a><br>
<a href="http://bugs.caucho.com/view.php?id=3646" rel="nofollow">http://bugs.caucho.com/view.php?id=3646</a></p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.0 M4</p>
<p dir="auto"><strong>Attachments:</strong></p>
<ul dir="auto">
<li><a href="https://jira.spring.io/secure/attachment/15642/HessianExporter_401.patch" rel="nofollow">HessianExporter_401.patch</a> (<em>2.88 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="398093127" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10142" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10142/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10142">#10142</a> Support Hessian 3.2.1</li>
</ul>
<p dir="auto">2 votes, 4 watchers</p> | 0 |
<h3 dir="auto">Bug report</h3>
<p dir="auto"><strong>Bug summary</strong></p>
<p dir="auto">Attempting to IMPORT matplotlib under Python 3.7.x on a Win10Pro results in error: "ImportError: DLL load failed: The specific module could not be found".<br>
DLL name not given.<br>
However, first importing PyQt5, and only then importing matplotlib works as it should.</p>
<p dir="auto"><strong>Code for reproduction</strong></p>
<ul dir="auto">
<li>install Python 3.7.x (tested both 3.7.2 and 3.7.3) on Win10Pro</li>
<li>install matplotlib (version 3.1.0) with pip - installs fine, no issues</li>
<li>install PyQt5 (version 5.12.2) with pip - installs fine, no issues</li>
<li>start Python</li>
<li>under Python, enter command: "import matplotlib"</li>
</ul>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Program Files\Python37\lib\site-packages\matplotlib\__init__.py", line 200, in <module>
_check_versions()
File "C:\Program Files\Python37\lib\site-packages\matplotlib\__init__.py", line 194, in _check_versions
module = importlib.import_module(modname)
File "C:\Program Files\Python37\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: DLL load failed: The specified module could not be found.
>>>
>>>
# importing matplotlib works fine when PyQt5 imported first
>>> import PyQt5
>>> import matplotlib
>>> import serial
>>>
>>> ^Z
"><pre class="notranslate"><span class="pl-v">Python</span> <span class="pl-c1">3.7</span><span class="pl-c1">.3</span> (<span class="pl-s1">v3</span>.<span class="pl-c1">7.3</span>:<span class="pl-s1">ef4ec6ed12</span>, <span class="pl-v">Mar</span> <span class="pl-c1">25</span> <span class="pl-c1">2019</span>, <span class="pl-c1">22</span>:<span class="pl-c1">22</span>:<span class="pl-c1">05</span>) [<span class="pl-v">MSC</span> <span class="pl-s1">v</span><span class="pl-c1">.1916</span> <span class="pl-c1">64</span> <span class="pl-en">bit</span> (<span class="pl-v">AMD64</span>)] <span class="pl-s1">on</span> <span class="pl-s1">win32</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">>></span><span class="pl-c1">></span> <span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>
<span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>):
<span class="pl-v">File</span> <span class="pl-s">"<stdin>"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1</span>, <span class="pl-c1">in</span> <span class="pl-c1"><</span><span class="pl-s1">module</span><span class="pl-c1">></span>
<span class="pl-v">File</span> <span class="pl-s">"C:\Program Files\Python37\lib\site-packages\matplotlib\__init__.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">200</span>, <span class="pl-s1">in</span> <span class="pl-c1"><</span><span class="pl-s1">module</span><span class="pl-c1">></span>
<span class="pl-en">_check_versions</span>()
<span class="pl-v">File</span> <span class="pl-s">"C:\Program Files\Python37\lib\site-packages\matplotlib\__init__.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">194</span>, <span class="pl-s1">in</span> <span class="pl-s1">_check_versions</span>
<span class="pl-s1">module</span> <span class="pl-c1">=</span> <span class="pl-s1">importlib</span>.<span class="pl-en">import_module</span>(<span class="pl-s1">modname</span>)
<span class="pl-v">File</span> <span class="pl-s">"C:\Program Files\Python37\lib\importlib\__init__.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">127</span>, <span class="pl-s1">in</span> <span class="pl-s1">import_module</span>
<span class="pl-s1">return</span> <span class="pl-s1">_bootstrap</span>.<span class="pl-en">_gcd_import</span>(<span class="pl-s1">name</span>[<span class="pl-s1">level</span>:], <span class="pl-s1">package</span>, <span class="pl-s1">level</span>)
<span class="pl-v">ImportError</span>: <span class="pl-v">DLL</span> <span class="pl-s1">load</span> <span class="pl-s1">failed</span>: <span class="pl-v">The</span> <span class="pl-s1">specified</span> <span class="pl-s1">module</span> <span class="pl-s1">could</span> <span class="pl-c1">not</span> <span class="pl-s1">be</span> <span class="pl-s1">found</span>.
<span class="pl-c1">>></span><span class="pl-c1">></span>
<span class="pl-c1">>></span><span class="pl-c1">></span>
<span class="pl-c"># importing matplotlib works fine when PyQt5 imported first</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">import</span> <span class="pl-v">PyQt5</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">import</span> <span class="pl-s1">matplotlib</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">import</span> <span class="pl-s1">serial</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-v">Z</span></pre></div>
<p dir="auto"><strong>Actual outcome</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# see above"><pre class="notranslate"><code class="notranslate"># see above
</code></pre></div>
<p dir="auto"><strong>Expected outcome</strong></p>
<p dir="auto">using matplotlib should not depend on importing PyQt5 first; but when done, code works fine</p>
<p dir="auto"><strong>Matplotlib version</strong></p>
<ul dir="auto">
<li>Operating system: Win10Pro</li>
<li>Matplotlib version: 3.1.0</li>
<li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>): TkAgg right after importing; in the full code using qt5agg</li>
<li>Python version: 3.7.2, 3.7.3, 64 bit</li>
<li>Jupyter version (if applicable): n.a.</li>
<li>Other libraries:</li>
</ul>
<p dir="auto">Python installed from Win installer<br>
matplotlib and PyQt5 installed with pip</p> | <h3 dir="auto">Documentation Link</h3>
<p dir="auto"><a href="https://matplotlib.org/devdocs/api/_as_gen/mpl_toolkits.mplot3d.axes3d.Axes3D.html#mpl_toolkits.mplot3d.axes3d.Axes3D.scatter" rel="nofollow">https://matplotlib.org/devdocs/api/_as_gen/mpl_toolkits.mplot3d.axes3d.Axes3D.html#mpl_toolkits.mplot3d.axes3d.Axes3D.scatter</a></p>
<h3 dir="auto">Problem</h3>
<p dir="auto">Note that both scatter() and scatter3D() appear, although they are strict aliases of one another, duplicating much content. (I'm not suggesting to get rid of the alias, just to dedupe them in the docs.) Quite a few other methods exhibit the same duplication.</p>
<h3 dir="auto">Suggested improvement</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Matplotlib Version</h3>
<p dir="auto">3.4.2.post1559+g3a46327c9c</p>
<h3 dir="auto">Matplotlib documentation version</h3>
<p dir="auto">3.4.2.post1559+g3a46327c9c</p> | 0 |
<h2 dir="auto">Bug Report</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I would like to work on a fix!</li>
</ul>
<p dir="auto"><strong>Current Behavior</strong><br>
I created my porject with CRA.<br>
I tried to import React-Navigation to my project. After the import, babel started throwing me an error for "@babel/plugin-proposal-export-default-from" plugin every time i tried to run my code. So I added it and also updated my babel configuration, but it still keeps throwing me this error. What am I missing?</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="SyntaxError: .../node_modules/react-native-gesture-handler/DrawerLayout.js: Support for the experimental syntax 'exportDefaultFrom' isn't currently enabled (30:8):
28 | const SETTLING = 'Settling';
29 |
> 30 | export type PropType = {
| ^
31 | children: any,
32 | drawerBackgroundColor?: string,
33 | drawerPosition: 'left' | 'right',
Add @babel/plugin-proposal-export-default-from (https://git.io/vb4yH) to the 'plugins' section of your Babel config to enable transformation."><pre class="notranslate"><code class="notranslate">SyntaxError: .../node_modules/react-native-gesture-handler/DrawerLayout.js: Support for the experimental syntax 'exportDefaultFrom' isn't currently enabled (30:8):
28 | const SETTLING = 'Settling';
29 |
> 30 | export type PropType = {
| ^
31 | children: any,
32 | drawerBackgroundColor?: string,
33 | drawerPosition: 'left' | 'right',
Add @babel/plugin-proposal-export-default-from (https://git.io/vb4yH) to the 'plugins' section of your Babel config to enable transformation.
</code></pre></div>
<p dir="auto"><strong>Input Code</strong></p>
<ul dir="auto">
<li>REPL or Repo link if applicable:</li>
</ul>
<p dir="auto"><a href="https://github.com/FrediArro/babel-error">https://github.com/FrediArro/babel-error</a></p>
<p dir="auto"><strong>Expected behavior/code</strong><br>
No errors</p>
<p dir="auto"><strong>Babel Configuration (babel.config.js, .babelrc, package.json#babel, cli command, .eslintrc)</strong></p>
<ul dir="auto">
<li>Filename: <code class="notranslate">package.json</code></li>
</ul>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""babel": {
"plugins": [
"@babel/plugin-proposal-export-default-from"
]
}"><pre class="notranslate"><span class="pl-s">"babel"</span>: <span class="pl-kos">{</span>
<span class="pl-s">"plugins"</span>: <span class="pl-kos">[</span>
<span class="pl-s">"@babel/plugin-proposal-export-default-from"</span>
<span class="pl-kos">]</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto"><strong>Environment</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" System:
OS: Linux 5.3 Ubuntu 18.04.4 LTS (Bionic Beaver)
Binaries:
Node: 12.16.1 - ~/.nvm/versions/node/v12.16.1/bin/node
Yarn: 1.21.1 - /usr/bin/yarn
npm: 6.13.4 - ~/.nvm/versions/node/v12.16.1/bin/npm
npmPackages:
@babel/plugin-proposal-export-default-from: ^7.8.3 => 7.8.3
@babel/plugin-proposal-export-namespace-from: ^7.8.3 => 7.8.3 "><pre class="notranslate"><code class="notranslate"> System:
OS: Linux 5.3 Ubuntu 18.04.4 LTS (Bionic Beaver)
Binaries:
Node: 12.16.1 - ~/.nvm/versions/node/v12.16.1/bin/node
Yarn: 1.21.1 - /usr/bin/yarn
npm: 6.13.4 - ~/.nvm/versions/node/v12.16.1/bin/npm
npmPackages:
@babel/plugin-proposal-export-default-from: ^7.8.3 => 7.8.3
@babel/plugin-proposal-export-namespace-from: ^7.8.3 => 7.8.3
</code></pre></div>
<p dir="auto"><strong>Possible Solution</strong></p>
<p dir="auto"><strong>Additional context/Screenshots</strong><br>
Add any other context about the problem here. If applicable, add screenshots to help explain.</p> | <h2 dir="auto">Bug Report</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I would like to work on a fix!</li>
</ul>
<p dir="auto"><strong>Current behavior</strong><br>
@babel/eslint-parser gives false positive (shows error) for no-unused-vars rule with TypeScript types:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error 'Rubik' is defined but never used no-unused-vars"><pre class="notranslate"><code class="notranslate">error 'Rubik' is defined but never used no-unused-vars
</code></pre></div>
<p dir="auto"><strong>Input Code</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import Rubik from './Rubik';
export default class Arranger {
private readonly rubik: Rubik;
}"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-v">Rubik</span> <span class="pl-k">from</span> <span class="pl-s">'./Rubik'</span><span class="pl-kos">;</span>
<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-k">class</span> <span class="pl-v">Arranger</span> <span class="pl-kos">{</span>
<span class="pl-c1">private</span> <span class="pl-s1">readonly</span> <span class="pl-s1">rubik</span>: <span class="pl-v">Rubik</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto"><strong>Expected behavior</strong><br>
When run eslint, no errors/warnings should arise.</p>
<p dir="auto"><strong>Babel Configuration (babel.config.js, .babelrc, package.json#babel, cli command, .eslintrc)</strong></p>
<ul dir="auto">
<li>Filename: <code class="notranslate">babel.config.js</code></li>
</ul>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"presets": [
"@babel/preset-env",
"@babel/preset-typescript"
],
"plugins": [
"@babel/proposal-class-properties"
]
}"><pre class="notranslate"><span class="pl-kos">{</span>
<span class="pl-s">"presets"</span>: <span class="pl-kos">[</span>
<span class="pl-s">"@babel/preset-env"</span><span class="pl-kos">,</span>
<span class="pl-s">"@babel/preset-typescript"</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-s">"plugins"</span>: <span class="pl-kos">[</span>
<span class="pl-s">"@babel/proposal-class-properties"</span>
<span class="pl-kos">]</span>
<span class="pl-kos">}</span></pre></div>
<ul dir="auto">
<li>Filename: <code class="notranslate">.eslintrc.json</code></li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"parser": "@babel/eslint-parser",
"rules": {
"no-unused-vars": ["error"]
}
}"><pre class="notranslate"><code class="notranslate">{
"parser": "@babel/eslint-parser",
"rules": {
"no-unused-vars": ["error"]
}
}
</code></pre></div>
<p dir="auto"><strong>Environment</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" System:
OS: Linux 4.19 Alpine Linux
Binaries:
Node: 12.18.3 - /usr/bin/node
Yarn: 1.22.4 - /usr/bin/yarn
npmPackages:
@babel/core: ^7.10.2 => 7.11.4
@babel/eslint-parser: ^7.11.4 => 7.11.4
@babel/eslint-plugin: ^7.11.3 => 7.11.3
@babel/plugin-proposal-class-properties: ^7.8.3 => 7.10.4
@babel/preset-env: ^7.10.2 => 7.11.0
@babel/preset-typescript: ^7.9.0 => 7.10.4
eslint: 7.2.* => 7.2.0
webpack: ^4.43.0 => 4.44.1"><pre class="notranslate"><code class="notranslate"> System:
OS: Linux 4.19 Alpine Linux
Binaries:
Node: 12.18.3 - /usr/bin/node
Yarn: 1.22.4 - /usr/bin/yarn
npmPackages:
@babel/core: ^7.10.2 => 7.11.4
@babel/eslint-parser: ^7.11.4 => 7.11.4
@babel/eslint-plugin: ^7.11.3 => 7.11.3
@babel/plugin-proposal-class-properties: ^7.8.3 => 7.10.4
@babel/preset-env: ^7.10.2 => 7.11.0
@babel/preset-typescript: ^7.9.0 => 7.10.4
eslint: 7.2.* => 7.2.0
webpack: ^4.43.0 => 4.44.1
</code></pre></div>
<p dir="auto"><strong>Note</strong><br>
This issue already <a href="https://github.com/babel/babel-eslint/issues/835" data-hovercard-type="issue" data-hovercard-url="/babel/babel-eslint/issues/835/hovercard">existed before switching</a> to Babel monorepo (in babel/babel-eslint) so the switch is not the cause.</p> | 0 |
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/1064" rel="nofollow">http://projects.scipy.org/numpy/ticket/1064</a> on 2009-03-23 by trac user changimeno, assigned to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/charris/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/charris">@charris</a>.</em></p>
<p dir="auto"><code class="notranslate">interp(x, xp, fp, left=None, right=None)</code></p>
<p dir="auto">the "right"--parameter option does not work properly.</p>
<p dir="auto">Example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [2]: x = arange(4)*2 + 2
In [3]: y=x**2
In [4]: xx = arange(11)
In [5]: x
Out[5]: array([2, 4, 6, 8])
In [6]: y
Out[6]: array([ 4, 16, 36, 64])
In [7]: xx
Out[7]: array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10])
In [14]: numpy.interp(xx,x,y)
Out[14]: array([ 4., 4., 4., 10., 16., 26., 36., 50., 64., 64., 64.]) #---->>>> RIGHT!!!!
In [15]: numpy.interp(xx,x,y,left=0.)
Out[15]: array([ 0., 0., 4., 10., 16., 26., 36., 50., 64., 64., 64.]) #---->>>> RIGHT!!!!
In [16]: numpy.interp(xx,x,y,left=0.,right=0.)
Out[16]: array([ 0., 0., 4., 10., 16., 26., 36., 50., 0., 0., 0.]) #---->>>> WRONG!!!!"><pre class="notranslate"><code class="notranslate">In [2]: x = arange(4)*2 + 2
In [3]: y=x**2
In [4]: xx = arange(11)
In [5]: x
Out[5]: array([2, 4, 6, 8])
In [6]: y
Out[6]: array([ 4, 16, 36, 64])
In [7]: xx
Out[7]: array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10])
In [14]: numpy.interp(xx,x,y)
Out[14]: array([ 4., 4., 4., 10., 16., 26., 36., 50., 64., 64., 64.]) #---->>>> RIGHT!!!!
In [15]: numpy.interp(xx,x,y,left=0.)
Out[15]: array([ 0., 0., 4., 10., 16., 26., 36., 50., 64., 64., 64.]) #---->>>> RIGHT!!!!
In [16]: numpy.interp(xx,x,y,left=0.,right=0.)
Out[16]: array([ 0., 0., 4., 10., 16., 26., 36., 50., 0., 0., 0.]) #---->>>> WRONG!!!!
</code></pre></div>
<p dir="auto">numpy.interp set the vales of the interpolated array (yy) for "xx[i] >= x[len(x)-1]" to the given RIGHT value. So, the last GOOD value (xx[i] == x[len(x)-1]) is wrongly set to the RIGHT value instead of the proper value yy[i] = y[len(x)-1].</p>
<p dir="auto">I edited the file numpy/lib/src/_compiled_base.c and fixed this bug (see attachment). Now</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [19]: numpy.interp(xx,x,y,0.,0.)
Out[19]: array([ 0., 0., 4., 10., 16., 26., 36., 50., 64., 0., 0.]) #---->>>> RIGHT!!!!"><pre class="notranslate"><code class="notranslate">In [19]: numpy.interp(xx,x,y,0.,0.)
Out[19]: array([ 0., 0., 4., 10., 16., 26., 36., 50., 64., 0., 0.]) #---->>>> RIGHT!!!!
</code></pre></div>
<p dir="auto">My only worry is that I modified "binary_search" together with "arr_interp" and I do not know if this function is called by other routines and whether this modification can alter the results.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="diff
> /* sgg */
> else if (dval > dlist [len-1])
> result = len ;
> /* sgg */
448c454,455
< else if (indx >= lenxp - 1)
---
> /*sgg else if (indx >= lenxp - 1) */
> else if (indx > lenxp - 1)"><pre class="notranslate"><code class="notranslate">diff
> /* sgg */
> else if (dval > dlist [len-1])
> result = len ;
> /* sgg */
448c454,455
< else if (indx >= lenxp - 1)
---
> /*sgg else if (indx >= lenxp - 1) */
> else if (indx > lenxp - 1)
</code></pre></div>
<p dir="auto">Cheers,<br>
Chan</p> | <p dir="auto">Cross-compiling scipy and other projects that depend on numpy's distutils is a huge pain right now, because to do it [in addition to lots of other details that you have to get right] you have to have both a native and cross-compiled version of numpy installed. It seems pretty unreasonable that I need a native version of numpy installed to compile scipy. One might ask, why is this needed?</p>
<p dir="auto">Well, scipy's setup.py uses numpy's distutils fork for the fortran support (I think). Because numpy.distutils is a subpackage of numpy, if you're working with a cross-compiled version of numpy, it eventually tries to import some .so that wasn't compiled for your host and everything dies -- thus you have to have a native numpy installed to allow numpy.distutils to import correctly.</p>
<p dir="auto">As far as I can tell, numpy's distutils fork is pure python and doesn't actually use anything else in numpy itself, and so is completely separable from numpy. If it were its own top-level package that scipy et al could use, then cross-compiling would be significantly less tricky.</p>
<p dir="auto">The mechanics of this would work like so:</p>
<ul dir="auto">
<li>contents of numpy.distutils would be moved to 'numpy_distutils' package</li>
<li>importing numpy.distutils would raise a deprecation warning and redirect to numpy_distutils, probably using import hook magic</li>
<li>scipy and other packages would now utilize numpy_distutils instead of numpy.distutils at build time</li>
</ul>
<p dir="auto">Initially, I considered proposing creating a separate pypi package for numpy_distutils, but I expect that would be more trouble than it's worth. One could also propose creating a new PEP 517 build backend, or move to cmake, or other huge changes, but those also seem more trouble than they're worth.</p>
<p dir="auto">Thanks for your consideration.</p> | 0 |
<h4 dir="auto">Description</h4>
<p dir="auto">When there are duplicated input points to Kmeans resulting to number of unique points < number of requested clusters, there is no error thrown. Instead, clustering continues to (seemingly) produce the number of clusters requested, but some of them are exactly the same, so the cluster labels produced for the input points do not go all the way to number of requested clusters.</p>
<h4 dir="auto">Steps/Code to Reproduce</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from sklearn.cluster import KMeans
import numpy as np
# some input points here are identical, so that n_total=17, n_unique=9
x2d = np.array([(1086, 348), (1087, 347), (1190, 244), (1190, 244), (1086, 348), (1185, 249), (1193, 241), (1185, 249), (1087, 347), (1188, 247), (1187, 233), (26, 111), (26, 111), (26, 110), (26, 110), (26, 110), (26, 110)])
kmeans = KMeans(n_clusters=10) # n_clusters > n_unique
c_labels = kmeans.fit_predict(x2d)
c_centers = kmeans.cluster_centers_"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">cluster</span> <span class="pl-k">import</span> <span class="pl-v">KMeans</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-c"># some input points here are identical, so that n_total=17, n_unique=9</span>
<span class="pl-s1">x2d</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([(<span class="pl-c1">1086</span>, <span class="pl-c1">348</span>), (<span class="pl-c1">1087</span>, <span class="pl-c1">347</span>), (<span class="pl-c1">1190</span>, <span class="pl-c1">244</span>), (<span class="pl-c1">1190</span>, <span class="pl-c1">244</span>), (<span class="pl-c1">1086</span>, <span class="pl-c1">348</span>), (<span class="pl-c1">1185</span>, <span class="pl-c1">249</span>), (<span class="pl-c1">1193</span>, <span class="pl-c1">241</span>), (<span class="pl-c1">1185</span>, <span class="pl-c1">249</span>), (<span class="pl-c1">1087</span>, <span class="pl-c1">347</span>), (<span class="pl-c1">1188</span>, <span class="pl-c1">247</span>), (<span class="pl-c1">1187</span>, <span class="pl-c1">233</span>), (<span class="pl-c1">26</span>, <span class="pl-c1">111</span>), (<span class="pl-c1">26</span>, <span class="pl-c1">111</span>), (<span class="pl-c1">26</span>, <span class="pl-c1">110</span>), (<span class="pl-c1">26</span>, <span class="pl-c1">110</span>), (<span class="pl-c1">26</span>, <span class="pl-c1">110</span>), (<span class="pl-c1">26</span>, <span class="pl-c1">110</span>)])
<span class="pl-s1">kmeans</span> <span class="pl-c1">=</span> <span class="pl-v">KMeans</span>(<span class="pl-s1">n_clusters</span><span class="pl-c1">=</span><span class="pl-c1">10</span>) <span class="pl-c"># n_clusters > n_unique</span>
<span class="pl-s1">c_labels</span> <span class="pl-c1">=</span> <span class="pl-s1">kmeans</span>.<span class="pl-en">fit_predict</span>(<span class="pl-s1">x2d</span>)
<span class="pl-s1">c_centers</span> <span class="pl-c1">=</span> <span class="pl-s1">kmeans</span>.<span class="pl-s1">cluster_centers_</span></pre></div>
<h4 dir="auto">Expected Results</h4>
<p dir="auto">Either an error thrown, or the cluster labels produced should match the unique clusters only (i.e. no identical cluster centres)</p>
<h4 dir="auto">Actual Results</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=">>> c_labels # note there's no entry for cluster 9
array([7, 2, 6, 6, 7, 5, 4, 5, 2, 1, 3, 8, 8, 0, 0, 0, 0], dtype=int32)
>>> c_centers # two of these 10 clusters have identical centers, so only 9 of them are unique
array([[ 26., 110.],
[ 1188., 247.],
[ 1087., 347.],
[ 1187., 233.],
[ 1193., 241.],
[ 1185., 249.],
[ 1190., 244.],
[ 1086., 348.],
[ 26., 111.],
[ 26., 110.]]) "><pre class="notranslate"><span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">c_labels</span> <span class="pl-c"># note there's no entry for cluster 9</span>
<span class="pl-en">array</span>([<span class="pl-c1">7</span>, <span class="pl-c1">2</span>, <span class="pl-c1">6</span>, <span class="pl-c1">6</span>, <span class="pl-c1">7</span>, <span class="pl-c1">5</span>, <span class="pl-c1">4</span>, <span class="pl-c1">5</span>, <span class="pl-c1">2</span>, <span class="pl-c1">1</span>, <span class="pl-c1">3</span>, <span class="pl-c1">8</span>, <span class="pl-c1">8</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">int32</span>)
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">c_centers</span> <span class="pl-c"># two of these 10 clusters have identical centers, so only 9 of them are unique</span>
<span class="pl-en">array</span>([[ <span class="pl-c1">26.</span>, <span class="pl-c1">110.</span>],
[ <span class="pl-c1">1188.</span>, <span class="pl-c1">247.</span>],
[ <span class="pl-c1">1087.</span>, <span class="pl-c1">347.</span>],
[ <span class="pl-c1">1187.</span>, <span class="pl-c1">233.</span>],
[ <span class="pl-c1">1193.</span>, <span class="pl-c1">241.</span>],
[ <span class="pl-c1">1185.</span>, <span class="pl-c1">249.</span>],
[ <span class="pl-c1">1190.</span>, <span class="pl-c1">244.</span>],
[ <span class="pl-c1">1086.</span>, <span class="pl-c1">348.</span>],
[ <span class="pl-c1">26.</span>, <span class="pl-c1">111.</span>],
[ <span class="pl-c1">26.</span>, <span class="pl-c1">110.</span>]]) </pre></div>
<h4 dir="auto">Versions</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Darwin-16.7.0-x86_64-i386-64bit
Python 3.6.1 |Continuum Analytics, Inc.| (default, May 11 2017, 13:04:09)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)]
NumPy 1.13.1
SciPy 0.19.1
Scikit-Learn 0.18.2"><pre class="notranslate"><span class="pl-v">Darwin</span><span class="pl-c1">-</span><span class="pl-c1">16.7</span>.<span class="pl-c1">0</span><span class="pl-c1">-</span><span class="pl-s1">x86_64</span><span class="pl-c1">-</span><span class="pl-s1">i386</span><span class="pl-c1">-</span><span class="pl-c1">64</span><span class="pl-s1">bit</span>
<span class="pl-v">Python</span> <span class="pl-c1">3.6</span><span class="pl-c1">.1</span> <span class="pl-c1">|</span><span class="pl-v">Continuum</span> <span class="pl-v">Analytics</span>, <span class="pl-v">Inc</span>.<span class="pl-s1"></span><span class="pl-c1">|</span> (<span class="pl-s1">default</span>, <span class="pl-v">May</span> <span class="pl-c1">11</span> <span class="pl-c1">2017</span>, <span class="pl-c1">13</span>:<span class="pl-c1">04</span>:<span class="pl-c1">09</span>)
[<span class="pl-v">GCC</span> <span class="pl-c1">4.2</span><span class="pl-c1">.1</span> <span class="pl-v">Compatible</span> <span class="pl-v">Apple</span> <span class="pl-v">LLVM</span> <span class="pl-c1">6.0</span> (<span class="pl-s1">clang</span><span class="pl-c1">-</span><span class="pl-c1">600.0</span>.<span class="pl-c1">57</span>)]
<span class="pl-v">NumPy</span> <span class="pl-c1">1.13</span><span class="pl-c1">.1</span>
<span class="pl-v">SciPy</span> <span class="pl-c1">0.19</span><span class="pl-c1">.1</span>
<span class="pl-v">Scikit</span><span class="pl-c1">-</span><span class="pl-v">Learn</span> <span class="pl-c1">0.18</span><span class="pl-c1">.2</span></pre></div> | <h3 dir="auto">Describe the bug</h3>
<p dir="auto">PCA fit_transform() gives different (and wrong) results with fit() first and then transform() on the same data, and doing two separately yields the correct results.</p>
<h3 dir="auto">Steps/Code to Reproduce</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from sklearn.decomposition import PCA
test_encoding=np.matrix([[0., 0., 1., 0., 0., 0.],
[0., 0., 1., 0., 0., 0.],
[0., 0., 1., 0., 0., 0.],
[0., 0., 0., 0., 0., 1.],
[0., 0., 0., 0., 0., 1.]])
# two steps
pca = PCA(n_components=2)
pca.fit(test_encoding)
print(pca.transform(test_encoding)) # correct results
# one step
pca = PCA(n_components=2)
print(pca.fit_transform(test_encoding)) # wrong results, because the first 3 rows should be the same"><pre class="notranslate"><code class="notranslate">from sklearn.decomposition import PCA
test_encoding=np.matrix([[0., 0., 1., 0., 0., 0.],
[0., 0., 1., 0., 0., 0.],
[0., 0., 1., 0., 0., 0.],
[0., 0., 0., 0., 0., 1.],
[0., 0., 0., 0., 0., 1.]])
# two steps
pca = PCA(n_components=2)
pca.fit(test_encoding)
print(pca.transform(test_encoding)) # correct results
# one step
pca = PCA(n_components=2)
print(pca.fit_transform(test_encoding)) # wrong results, because the first 3 rows should be the same
</code></pre></div>
<h3 dir="auto">Expected Results</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="array([[-5.65685425e-01, -8.88178420e-17],
[-5.65685425e-01, -8.88178420e-17],
[-5.65685425e-01, -8.88178420e-17],
[ 8.48528137e-01, 1.33226763e-16],
[ 8.48528137e-01, 1.33226763e-16]])
"><pre class="notranslate"><code class="notranslate">array([[-5.65685425e-01, -8.88178420e-17],
[-5.65685425e-01, -8.88178420e-17],
[-5.65685425e-01, -8.88178420e-17],
[ 8.48528137e-01, 1.33226763e-16],
[ 8.48528137e-01, 1.33226763e-16]])
</code></pre></div>
<h3 dir="auto">Actual Results</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="array([[-5.65685425e-01, 6.23316960e-17],
[-5.65685425e-01, -5.02181828e-17],
[-5.65685425e-01, -5.02181828e-17],
[ 8.48528137e-01, -1.27015565e-17],
[ 8.48528137e-01, -1.27015565e-17]])"><pre class="notranslate"><code class="notranslate">array([[-5.65685425e-01, 6.23316960e-17],
[-5.65685425e-01, -5.02181828e-17],
[-5.65685425e-01, -5.02181828e-17],
[ 8.48528137e-01, -1.27015565e-17],
[ 8.48528137e-01, -1.27015565e-17]])
</code></pre></div>
<h3 dir="auto">Versions</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import sklearn
sklearn.__version__ # '0.23.2'"><pre class="notranslate"><code class="notranslate">import sklearn
sklearn.__version__ # '0.23.2'
</code></pre></div> | 0 |
<p dir="auto">I have a problem installing Atom 0.190.0 using AtomSetup.exe - it runs for a fraction of a second and exits immediately without any error message.</p>
<p dir="auto">I managed to determine that Atom is using something called Squirrel to build the installer (is it mentioned somewhere?), so here is its SquirrelSetup.log:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\szx\AppData\Local\atom\packages\RELEASES'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
at Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__28.MoveNext()
CheckForUpdateImpl: Reading RELEASES file from C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
ApplyReleasesImpl: Writing files to app directory: C:\Users\szx\AppData\Local\atom\app-0.187.0
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\szx\AppData\Local\atom\app-0.187.0\atom.exe]
ApplyReleasesImpl: Starting fixPinnedExecutables
ApplyReleasesImpl: fixPinnedExecutables: oldAppDirectories is empty, this is pointless
ApplyReleasesImpl: cleanDeadVersions: for version 0.187.0
ApplyReleasesImpl: cleanDeadVersions: exclude folder app-0.187.0
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\szx\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\szx\AppData\Local\atom\app-0.190.0\atom.exe]
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\szx\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\szx\AppData\Local\atom\app-0.190.0\atom.exe]
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\szx\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\szx\AppData\Local\atom\app-0.190.0\atom.exe]
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\szx\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\szx\AppData\Local\atom\app-0.190.0\atom.exe]
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\szx\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\szx\AppData\Local\atom\app-0.190.0\atom.exe]
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\szx\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\szx\AppData\Local\atom\app-0.190.0\atom.exe]
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\szx\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\szx\AppData\Local\atom\app-0.190.0\atom.exe]
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: hwhat, local version is greater than remote version
ApplyReleasesImpl: Found partially applied release folder, killing it: C:\Users\szx\AppData\Local\atom\app-0.189.0
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app\apm\node_modules\npm\node_modules\fstream-npm\node_modules: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app\apm\node_modules\npm\node_modules\fstream-npm: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app\node_modules\babel-core\node_modules\output-file-sync\node_modules\mkdirp\node_modules: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app\node_modules\babel-core\node_modules\output-file-sync\node_modules\mkdirp: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app\node_modules\babel-core\node_modules\output-file-sync\node_modules: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app\node_modules\babel-core\node_modules\output-file-sync: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app\node_modules\babel-core\node_modules: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app\node_modules\babel-core: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app\apm\node_modules\npm\node_modules: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app\apm\node_modules\npm: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app\apm\node_modules: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app\apm: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app\node_modules: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
ApplyReleasesImpl: Writing files to app directory: C:\Users\szx\AppData\Local\atom\app-0.189.0
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\szx\AppData\Local\atom\app-0.190.0\atom.exe]
ApplyReleasesImpl: Starting fixPinnedExecutables
ApplyReleasesImpl: Processing shortcut 'C:\Users\szx\AppData\Local\atom\app-0.190.0\atom.exe'
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.187.0', continuing to next directory
ApplyReleasesImpl: Processing shortcut 'C:\Program Files (x86)\CMake\bin\cmake-gui.exe'
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.187.0', continuing to next directory
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.190.0', continuing to next directory
ApplyReleasesImpl: Processing shortcut ''
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.187.0', continuing to next directory
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.190.0', continuing to next directory
ApplyReleasesImpl: Processing shortcut 'C:\Program Files (x86)\foobar2000\foobar2000.exe'
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.187.0', continuing to next directory
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.190.0', continuing to next directory
ApplyReleasesImpl: Processing shortcut 'C:\Program Files (x86)\Mozilla Firefox\firefox.exe'
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.187.0', continuing to next directory
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.190.0', continuing to next directory
ApplyReleasesImpl: Processing shortcut 'C:\Program Files (x86)\Skype\Phone\Skype.exe'
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.187.0', continuing to next directory
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.190.0', continuing to next directory
ApplyReleasesImpl: Processing shortcut 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe'
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.187.0', continuing to next directory
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.190.0', continuing to next directory
ApplyReleasesImpl: Processing shortcut 'C:\Users\szx\AppData\Roaming\uTorrent\uTorrent.exe'
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.187.0', continuing to next directory
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.190.0', continuing to next directory
ApplyReleasesImpl: cleanDeadVersions: for version 0.190.0
ApplyReleasesImpl: cleanDeadVersions: exclude folder app-0.190.0
ApplyReleasesImpl: cleanDeadVersions: exclude folder app-0.190.0
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\szx\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\szx\AppData\Local\atom\app-0.190.0\atom.exe]
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\szx\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\szx\AppData\Local\atom\app-0.190.0\atom.exe]
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\szx\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\szx\AppData\Local\atom\app-0.190.0\atom.exe]
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\szx\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\szx\AppData\Local\atom\app-0.190.0\atom.exe]"><pre class="notranslate"><code class="notranslate">Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\szx\AppData\Local\atom\packages\RELEASES'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
at Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__28.MoveNext()
CheckForUpdateImpl: Reading RELEASES file from C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
ApplyReleasesImpl: Writing files to app directory: C:\Users\szx\AppData\Local\atom\app-0.187.0
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\szx\AppData\Local\atom\app-0.187.0\atom.exe]
ApplyReleasesImpl: Starting fixPinnedExecutables
ApplyReleasesImpl: fixPinnedExecutables: oldAppDirectories is empty, this is pointless
ApplyReleasesImpl: cleanDeadVersions: for version 0.187.0
ApplyReleasesImpl: cleanDeadVersions: exclude folder app-0.187.0
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\szx\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\szx\AppData\Local\atom\app-0.190.0\atom.exe]
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\szx\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\szx\AppData\Local\atom\app-0.190.0\atom.exe]
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\szx\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\szx\AppData\Local\atom\app-0.190.0\atom.exe]
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\szx\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\szx\AppData\Local\atom\app-0.190.0\atom.exe]
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\szx\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\szx\AppData\Local\atom\app-0.190.0\atom.exe]
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\szx\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\szx\AppData\Local\atom\app-0.190.0\atom.exe]
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\szx\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\szx\AppData\Local\atom\app-0.190.0\atom.exe]
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: hwhat, local version is greater than remote version
ApplyReleasesImpl: Found partially applied release folder, killing it: C:\Users\szx\AppData\Local\atom\app-0.189.0
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app\apm\node_modules\npm\node_modules\fstream-npm\node_modules: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app\apm\node_modules\npm\node_modules\fstream-npm: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app\node_modules\babel-core\node_modules\output-file-sync\node_modules\mkdirp\node_modules: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app\node_modules\babel-core\node_modules\output-file-sync\node_modules\mkdirp: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app\node_modules\babel-core\node_modules\output-file-sync\node_modules: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app\node_modules\babel-core\node_modules\output-file-sync: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app\node_modules\babel-core\node_modules: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app\node_modules\babel-core: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app\apm\node_modules\npm\node_modules: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app\apm\node_modules\npm: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app\apm\node_modules: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app\apm: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app\node_modules: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources\app: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0\resources: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
Utility: DeleteDirectory: could not delete - C:\Users\szx\AppData\Local\atom\app-0.189.0: System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
ApplyReleasesImpl: Writing files to app directory: C:\Users\szx\AppData\Local\atom\app-0.189.0
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\szx\AppData\Local\atom\app-0.190.0\atom.exe]
ApplyReleasesImpl: Starting fixPinnedExecutables
ApplyReleasesImpl: Processing shortcut 'C:\Users\szx\AppData\Local\atom\app-0.190.0\atom.exe'
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.187.0', continuing to next directory
ApplyReleasesImpl: Processing shortcut 'C:\Program Files (x86)\CMake\bin\cmake-gui.exe'
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.187.0', continuing to next directory
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.190.0', continuing to next directory
ApplyReleasesImpl: Processing shortcut ''
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.187.0', continuing to next directory
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.190.0', continuing to next directory
ApplyReleasesImpl: Processing shortcut 'C:\Program Files (x86)\foobar2000\foobar2000.exe'
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.187.0', continuing to next directory
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.190.0', continuing to next directory
ApplyReleasesImpl: Processing shortcut 'C:\Program Files (x86)\Mozilla Firefox\firefox.exe'
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.187.0', continuing to next directory
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.190.0', continuing to next directory
ApplyReleasesImpl: Processing shortcut 'C:\Program Files (x86)\Skype\Phone\Skype.exe'
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.187.0', continuing to next directory
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.190.0', continuing to next directory
ApplyReleasesImpl: Processing shortcut 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe'
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.187.0', continuing to next directory
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.190.0', continuing to next directory
ApplyReleasesImpl: Processing shortcut 'C:\Users\szx\AppData\Roaming\uTorrent\uTorrent.exe'
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.187.0', continuing to next directory
ApplyReleasesImpl: Does not match 'C:\Users\szx\AppData\Local\atom\app-0.190.0', continuing to next directory
ApplyReleasesImpl: cleanDeadVersions: for version 0.190.0
ApplyReleasesImpl: cleanDeadVersions: exclude folder app-0.190.0
ApplyReleasesImpl: cleanDeadVersions: exclude folder app-0.190.0
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\szx\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\szx\AppData\Local\atom\app-0.190.0\atom.exe]
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\szx\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\szx\AppData\Local\atom\app-0.190.0\atom.exe]
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\szx\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\szx\AppData\Local\atom\app-0.190.0\atom.exe]
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\szx\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\szx\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\szx\AppData\Local\atom\app-0.190.0\atom.exe]
</code></pre></div> | <p dir="auto">Hi all,<br>
when i try to install Atom on my Windows 8.1 machine i get this error.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/1be5527ef8779c46b73a71bd811d86061417279700719d671598459a9450313a/687474703a2f2f692e696d6775722e636f6d2f6e565061356b772e706e67"><img src="https://camo.githubusercontent.com/1be5527ef8779c46b73a71bd811d86061417279700719d671598459a9450313a/687474703a2f2f692e696d6775722e636f6d2f6e565061356b772e706e67" alt="Error" data-canonical-src="http://i.imgur.com/nVPa5kw.png" style="max-width: 100%;"></a></p>
<h2 dir="auto">And the log say:</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\Mattia\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\Mattia\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\Mattia\AppData\Local\atom\app-0.179.0\atom.exe]
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\Mattia\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\Mattia\AppData\Local\SquirrelTemp
ApplyReleasesImpl: Found partially applied release folder, killing it: C:\Users\Mattia\AppData\Local\atom\app-0.182.0
ApplyReleasesImpl: Writing files to app directory: C:\Users\Mattia\AppData\Local\atom\app-0.182.0
IEnableLogger: Failed to update local releases file: System.IO.IOException: File esistente.
in System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
in System.IO.__Error.WinIOError()
in System.IO.Path.InternalGetTempFileName(Boolean checkHost)
in Squirrel.ReleaseEntry.BuildReleasesFile(String releasePackagesDir)
in Squirrel.UpdateManager.ApplyReleasesImpl.<updateLocalReleasesFile>b__ed()
in System.Threading.Tasks.Task`1.InnerInvoke()
in System.Threading.Tasks.Task.Execute()
--- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione ---
in System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
in Squirrel.UpdateManager.ApplyReleasesImpl.<updateLocalReleasesFile>d__ee.MoveNext()
--- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione ---
in System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
in Squirrel.Utility.<LogIfThrows>d__4b`1.MoveNext()"><pre class="notranslate"><code class="notranslate">Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\Mattia\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\Mattia\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\Mattia\AppData\Local\atom\app-0.179.0\atom.exe]
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\Mattia\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\Mattia\AppData\Local\SquirrelTemp
ApplyReleasesImpl: Found partially applied release folder, killing it: C:\Users\Mattia\AppData\Local\atom\app-0.182.0
ApplyReleasesImpl: Writing files to app directory: C:\Users\Mattia\AppData\Local\atom\app-0.182.0
IEnableLogger: Failed to update local releases file: System.IO.IOException: File esistente.
in System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
in System.IO.__Error.WinIOError()
in System.IO.Path.InternalGetTempFileName(Boolean checkHost)
in Squirrel.ReleaseEntry.BuildReleasesFile(String releasePackagesDir)
in Squirrel.UpdateManager.ApplyReleasesImpl.<updateLocalReleasesFile>b__ed()
in System.Threading.Tasks.Task`1.InnerInvoke()
in System.Threading.Tasks.Task.Execute()
--- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione ---
in System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
in Squirrel.UpdateManager.ApplyReleasesImpl.<updateLocalReleasesFile>d__ee.MoveNext()
--- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione ---
in System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
in Squirrel.Utility.<LogIfThrows>d__4b`1.MoveNext()
</code></pre></div>
<p dir="auto">After this error, i've found the full Atom app (0.182.0) inside the folder AppData\Local\atom\app-0.182.0. I've tried to run Atom.exe inside this folder and the app start regularly and i have linked the .exe file to desktop. The directory \bin does not exist in <code class="notranslate">AppData\Local\atom</code></p> | 1 |
<p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/increment-a-number-with-javascript#?solution=var%20myVar%20%3D%2087%3B%0A%0A%2F%2F%20Only%20change%20code%20below%20this%20line%0AmyVar%2B%2B%3B%0A%0A" rel="nofollow">Increment a Number with JavaScript</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">Link to page:</p>
<p dir="auto"><a href="https://www.freecodecamp.com/challenges/increment-a-number-with-javascript#?solution=var%20myVar%20%3D%2087%3B%0A%0A%2F%2F%20Only%20change%20code%20below%20this%20line%0AmyVar%2B%2B%3B%0A%0A" rel="nofollow">https://www.freecodecamp.com/challenges/increment-a-number-with-javascript#?solution=var%20myVar%20%3D%2087%3B%0A%0A%2F%2F%20Only%20change%20code%20below%20this%20line%0AmyVar%2B%2B%3B%0A%0A</a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/10551051/14186192/1e993282-f74b-11e5-9a97-7c079d92125f.jpg"><img src="https://cloud.githubusercontent.com/assets/10551051/14186192/1e993282-f74b-11e5-9a97-7c079d92125f.jpg" alt="javascript i f_ - https___www freecodecamp com_chall" style="max-width: 100%;"></a></p> | <p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/adjusting-the-padding-of-an-element#?solution=%3Cstyle%3E%0A%20%20.injected-text%20%7B%0A%20%20%20%20margin-bottom%3A%20-25px%3B%0A%20%20%20%20text-align%3A%20center%3B%0A%20%20%7D%0A%0A%20%20.box%20%7B%0A%20%20%20%20border-style%3A%20solid%3B%0A%20%20%20%20border-color%3A%20black%3B%0A%20%20%20%20border-width%3A%205px%3B%0A%20%20%20%20text-align%3A%20center%3B%0A%20%20%7D%0A%0A%20%20.yellow-box%20%7B%0A%20%20%20%20background-color%3A%20yellow%3B%0A%20%20%20%20padding%3A%2010px%3B%0A%20%20%7D%0A%20%20%0A%20%20.red-box%20%7B%0A%20%20%20%20background-color%3A%20red%3B%0A%20%20%20%20padding%3A%2020px%3B%0A%20%20%7D%0A%0A%20%20.green-box%20%7B%0A%20%20%20%20background-color%3A%20green%3B%0A%20%20%20%20padding%3A%2020px%3B%0A%20%20%7D%0A%3C%2Fstyle%3E%0A%3Ch5%20class%3D%22injected-text%22%3Emargin%3C%2Fh5%3E%0A%0A%3Cdiv%20class%3D%22box%20yellow-box%22%3E%0A%20%20%3Ch5%20class%3D%22box%20red-box%22%3Epadding%3C%2Fh5%3E%0A%20%20%3Ch5%20class%3D%22box%20green-box%22%3Epadding%3C%2Fh5%3E%0A%3C%2Fdiv%3E%0A" rel="nofollow">Adjusting the Padding of an Element</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 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="<style>
.injected-text {
margin-bottom: -25px;
text-align: center;
}
.box {
border-style: solid;
border-color: black;
border-width: 5px;
text-align: center;
}
.yellow-box {
background-color: yellow;
padding: 10px;
}
.red-box {
background-color: red;
padding: 20px;
}
.green-box {
background-color: green;
padding: 20px;
}
</style>
<h5 class="injected-text">margin</h5>
<div class="box yellow-box">
<h5 class="box red-box">padding</h5>
<h5 class="box green-box">padding</h5>
</div>
"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">style</span><span class="pl-kos">></span>
.<span class="pl-c1">injected-text</span> {
<span class="pl-c1">margin-bottom</span><span class="pl-kos">:</span> <span class="pl-c1">-25<span class="pl-smi">px</span></span>;
<span class="pl-c1">text-align</span><span class="pl-kos">:</span> center;
}
.<span class="pl-c1">box</span> {
<span class="pl-c1">border-style</span><span class="pl-kos">:</span> solid;
<span class="pl-c1">border-color</span><span class="pl-kos">:</span> black;
<span class="pl-c1">border-width</span><span class="pl-kos">:</span> <span class="pl-c1">5<span class="pl-smi">px</span></span>;
<span class="pl-c1">text-align</span><span class="pl-kos">:</span> center;
}
.<span class="pl-c1">yellow-box</span> {
<span class="pl-c1">background-color</span><span class="pl-kos">:</span> yellow;
<span class="pl-c1">padding</span><span class="pl-kos">:</span> <span class="pl-c1">10<span class="pl-smi">px</span></span>;
}
.<span class="pl-c1">red-box</span> {
<span class="pl-c1">background-color</span><span class="pl-kos">:</span> red;
<span class="pl-c1">padding</span><span class="pl-kos">:</span> <span class="pl-c1">20<span class="pl-smi">px</span></span>;
}
.<span class="pl-c1">green-box</span> {
<span class="pl-c1">background-color</span><span class="pl-kos">:</span> green;
<span class="pl-c1">padding</span><span class="pl-kos">:</span> <span class="pl-c1">20<span class="pl-smi">px</span></span>;
}
<span class="pl-kos"></</span><span class="pl-ent">style</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h5</span> <span class="pl-c1">class</span>="<span class="pl-s">injected-text</span>"<span class="pl-kos">></span>margin<span class="pl-kos"></</span><span class="pl-ent">h5</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">box yellow-box</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h5</span> <span class="pl-c1">class</span>="<span class="pl-s">box red-box</span>"<span class="pl-kos">></span>padding<span class="pl-kos"></</span><span class="pl-ent">h5</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h5</span> <span class="pl-c1">class</span>="<span class="pl-s">box green-box</span>"<span class="pl-kos">></span>padding<span class="pl-kos"></</span><span class="pl-ent">h5</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span></pre></div>
<p dir="auto">Edit by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/raisedadead/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/raisedadead">@raisedadead</a>:</p>
<h4 dir="auto">Camper is unable to advance between challenges due to slow/poor connectivity.</h4> | 1 |
<p dir="auto">I'm trying to calculate the NDCG score for binary relevance:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from sklearn import metrics
# test 1
y_true = [[3]]
y_score = [[5]]
metrics.ndcg_score(y_true, y_score)"><pre class="notranslate"><code class="notranslate">from sklearn import metrics
# test 1
y_true = [[3]]
y_score = [[5]]
metrics.ndcg_score(y_true, y_score)
</code></pre></div>
<p dir="auto">And getting error</p>
<p dir="auto"><code class="notranslate">ValueError: Only ('multilabel-indicator', 'continuous-multioutput', 'multiclass-multioutput') formats are supported. Got binary instead </code></p>
<p dir="auto">Below code snippet is working which has more than 1 item. Please suggest why single item array is not working.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from sklearn import metrics
# test 1
y_true = [[6 ,5, 4, 3, 2, 1]]
y_score = [[120, -2, -6, -3, 2, 12]]
metrics.ndcg_score(y_true, y_score)"><pre class="notranslate"><code class="notranslate">from sklearn import metrics
# test 1
y_true = [[6 ,5, 4, 3, 2, 1]]
y_score = [[120, -2, -6, -3, 2, 12]]
metrics.ndcg_score(y_true, y_score)
</code></pre></div> | <p dir="auto">See this code example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=">>> t = [[1]]
>>> p = [[0]]
>>> metrics.ndcg_score(t, p)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/cbournhonesque/.pyenv/versions/bento/lib/python3.8/site-packages/sklearn/utils/validation.py", line 63, in inner_f
return f(*args, **kwargs)
File "/Users/cbournhonesque/.pyenv/versions/bento/lib/python3.8/site-packages/sklearn/metrics/_ranking.py", line 1567, in ndcg_score
_check_dcg_target_type(y_true)
File "/Users/cbournhonesque/.pyenv/versions/bento/lib/python3.8/site-packages/sklearn/metrics/_ranking.py", line 1307, in _check_dcg_target_type
raise ValueError(
ValueError: Only ('multilabel-indicator', 'continuous-multioutput', 'multiclass-multioutput') formats are supported. Got binary instead"><pre class="notranslate"><code class="notranslate">>>> t = [[1]]
>>> p = [[0]]
>>> metrics.ndcg_score(t, p)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/cbournhonesque/.pyenv/versions/bento/lib/python3.8/site-packages/sklearn/utils/validation.py", line 63, in inner_f
return f(*args, **kwargs)
File "/Users/cbournhonesque/.pyenv/versions/bento/lib/python3.8/site-packages/sklearn/metrics/_ranking.py", line 1567, in ndcg_score
_check_dcg_target_type(y_true)
File "/Users/cbournhonesque/.pyenv/versions/bento/lib/python3.8/site-packages/sklearn/metrics/_ranking.py", line 1307, in _check_dcg_target_type
raise ValueError(
ValueError: Only ('multilabel-indicator', 'continuous-multioutput', 'multiclass-multioutput') formats are supported. Got binary instead
</code></pre></div>
<p dir="auto">It works correctly when the number of elements is bigger than 1: <a href="https://stackoverflow.com/questions/64303839/how-to-calculate-ndcg-with-binary-relevances-using-sklearn" rel="nofollow">https://stackoverflow.com/questions/64303839/how-to-calculate-ndcg-with-binary-relevances-using-sklearn</a></p> | 1 |
<p dir="auto">I started having trouble with a site I have in development that uses Joomla 3.1.5 with Bootstrap (meet gavern template) under IE10 on Win7 Ultimate. So I tried opening the getbootstrap site under IE10 and it also has big issues (attached). The home page loads the background, a couple text fields and nothing else, and when I go to getbootstrap.com/components I get this error in the console:SCRIPT87: Invalid argument. holder.js, line 119 character 4.</p>
<p dir="auto">If I go to getbootstrap.com/2.3.2, I get this error: SCRIPT5002: Function expected<br>
holder.js, line 316 character 2.</p>
<p dir="auto">IE10 goes into compatibility mode with IE7 Standards Document Mode when the page loads. Some pages display blank white - even though all the code has loaded if I call up the view source window - and then if I resize the window it goes black.</p>
<p dir="auto">I have an NVIDIA GeForce Display, not one of the displays with known issues for IE10. There is another person on the Joomla forum who has this issue so I know it is not just my computer. It seems to be ie10 and Windows Ultimate.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/7819503b77a022a1bb1893c2a595b269715fa1a0b4a0f1d7cb03b2dd5fe900e0/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353532303634372f313139393733382f33656332353637382d323531372d313165332d393039652d3062366430366130303336392e706e67"><img src="https://camo.githubusercontent.com/7819503b77a022a1bb1893c2a595b269715fa1a0b4a0f1d7cb03b2dd5fe900e0/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353532303634372f313139393733382f33656332353637382d323531372d313165332d393039652d3062366430366130303336392e706e67" alt="bootstrap" data-canonical-src="https://f.cloud.github.com/assets/5520647/1199738/3ec25678-2517-11e3-909e-0b6d06a00369.png" style="max-width: 100%;"></a></p> | <p dir="auto">if the PC has<br>
"helvetica" font,<br>
and<br>
css sais<br>
font-family: "helvetica";<br>
IE 9&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> | 1 |
<p dir="auto">After I checkout SciPy and run the tests as-is, I'm seeing >50 test failures. The steps being followed are:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="conda create -n scipy python=3
conda install -y mkl numpy setuptools matplotlib cython pytest
git clone https://github.com/scipy/scipy
cd scipy
python setup.py build_ext --inplace
python runtests.py -v"><pre class="notranslate">conda create -n scipy python=3
conda install -y mkl numpy setuptools matplotlib cython pytest
git clone https://github.com/scipy/scipy
<span class="pl-c1">cd</span> scipy
python setup.py build_ext --inplace
python runtests.py -v</pre></div>
<p dir="auto">I have also tried:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="apt-get install -yq build-essential ca-certificates gcc gfortran git python3 python3-pip
pip3 install cython matplotlib mkl numpy pytest setuptools
git clone https://github.com/scipy/scipy
cd scipy
python setup.py build_ext --inplace
python runtests.py -v"><pre class="notranslate">apt-get install -yq build-essential ca-certificates gcc gfortran git python3 python3-pip
pip3 install cython matplotlib mkl numpy pytest setuptools
git clone https://github.com/scipy/scipy
<span class="pl-c1">cd</span> scipy
python setup.py build_ext --inplace
python runtests.py -v</pre></div>
<p dir="auto">These steps were followed in the continuumio/anaconda3 Docker image. I have also had similar luck trying to do this on OSX. For what it's worth, the OSX binaries from Conda output two failures when I run:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="python -c 'import scipy; scipy.test("full")'"><pre class="notranslate">python -c <span class="pl-s"><span class="pl-pds">'</span>import scipy; scipy.test("full")<span class="pl-pds">'</span></span></pre></div>
<p dir="auto">What is the right way to build SciPy in a way that passes all tests?</p> | <h3 dir="auto">Issue</h3>
<p dir="auto">I installed the latest github version of scikit learn 1.1.0 as of 24.01.2017 latest commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/scipy/scipy/commit/beb258ef9f9b76567f094984f5bfeed774e7e9eb/hovercard" href="https://github.com/scipy/scipy/commit/beb258ef9f9b76567f094984f5bfeed774e7e9eb"><tt>beb258e</tt></a> and I get undefined <code class="notranslate">symbol: _gfortran_stop_numeric_f08</code></p>
<p dir="auto">It seems that the error comes from an scikit-image, but it is due to scipy import problem.<br>
The issue is resolved when the release version 1.0.0 is installed</p>
<h3 dir="auto">Reproducing code example:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" from skimage import , transform"><pre class="notranslate"><code class="notranslate"> from skimage import , transform
</code></pre></div>
<h3 dir="auto">Error message:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ImportError: /anaconda/envs/py35/lib/python3.5/site-packages/scipy/special/_ufuncs.cpython-35m-x86_64-linux-gnu.so: undefined symbol: _gfortran_stop_numeric_f08
"><pre class="notranslate"><code class="notranslate">ImportError: /anaconda/envs/py35/lib/python3.5/site-packages/scipy/special/_ufuncs.cpython-35m-x86_64-linux-gnu.so: undefined symbol: _gfortran_stop_numeric_f08
</code></pre></div>
<p dir="auto">Traceback (most recent call last):<br>
File "travers.py", line 15, in <br>
from vis.visualization import visualize_saliency, overlay<br>
File "/anaconda/envs/py35/lib/python3.5/site-packages/vis/visualization/<strong>init</strong>.py", line 4, in <br>
from .activation_maximization import visualize_activation_with_losses<br>
File "/anaconda/envs/py35/lib/python3.5/site-packages/vis/visualization/activation_maximization.py", line 6, in <br>
from ..losses import ActivationMaximization<br>
File "/anaconda/envs/py35/lib/python3.5/site-packages/vis/losses.py", line 4, in <br>
from .utils import utils<br>
File "/anaconda/envs/py35/lib/python3.5/site-packages/vis/utils/utils.py", line 14, in <br>
from skimage import io, transform<br>
File "/anaconda/envs/py35/lib/python3.5/site-packages/skimage/transform/<strong>init</strong>.py", line 1, in <br>
from .hough_transform import (hough_line, hough_line_peaks,<br>
File "/anaconda/envs/py35/lib/python3.5/site-packages/skimage/transform/hough_transform.py", line 2, in <br>
from scipy import ndimage<br>
File "/anaconda/envs/py35/lib/python3.5/site-packages/scipy/ndimage/<strong>init</strong>.py", line 161, in <br>
from .filters import *<br>
File "/anaconda/envs/py35/lib/python3.5/site-packages/scipy/ndimage/filters.py", line 37, in <br>
from scipy.misc import doccer<br>
File "/anaconda/envs/py35/lib/python3.5/site-packages/scipy/misc/<strong>init</strong>.py", line 67, in <br>
from scipy.interpolate._pade import pade as _pade<br>
File "/anaconda/envs/py35/lib/python3.5/site-packages/scipy/interpolate/<strong>init</strong>.py", line 175, in <br>
from .interpolate import *<br>
File "/anaconda/envs/py35/lib/python3.5/site-packages/scipy/interpolate/interpolate.py", line 21, in <br>
import scipy.special as spec<br>
File "/anaconda/envs/py35/lib/python3.5/site-packages/scipy/special/<strong>init</strong>.py", line 639, in <br>
from ._ufuncs import *<br>
ImportError: /anaconda/envs/py35/lib/python3.5/site-packages/scipy/special/_ufuncs.cpython-35m-x86_64-linux-gnu.so: undefined symbol: _gfortran_stop_numeric_f08</p>
<h3 dir="auto">Scipy/Numpy/Python version information:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<<Output from 'import sys, scipy, numpy; print(scipy.__version__, numpy.__version__, sys.version_info)'>>"><pre class="notranslate"><code class="notranslate"><<Output from 'import sys, scipy, numpy; print(scipy.__version__, numpy.__version__, sys.version_info)'>>
</code></pre></div>
<p dir="auto">1.1.0.dev0+Unknown 1.14.0 sys.version_info(major=3, minor=5, micro=2, releaselevel='final', serial=0)</p>
<p dir="auto">scikit-image (0.13.1)</p> | 1 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: xxx</li>
<li>Operating System version: xxx</li>
<li>Java version: xxx</li>
</ul>
<h1 dir="auto">Http Request Solutions</h1>
<p dir="auto">We are going to export dubbo service for front-end request(eg: h5 outside). We are doubt about the advantage and disadvantage of below two solutions, anyone have good ideas for that?</p>
<p dir="auto">Generally, there are two ways to support that.<br>
Solution1: Add proxy(through GenericService) for the http request (http -> proxy -> dubbo)<br>
Solution2: Support dubbo & http protocol in service side (eg: dubbox/jsonrpc).</p>
<h2 dir="auto">For Solution1:</h2>
<h3 dir="auto">Advantage:</h3>
<ol dir="auto">
<li>It's easy for the user, no need to maintain both http & dubbo protocols.</li>
<li>No need to maintain two types of configurations (one for dubbo, another for http). Following two conditions may confuse the user. Firstly, xxx config support for dubbo and http, but they are in different key. Secondly, yyy config is supported in dubbo, not for http. User maybe confused on so much of the configs.</li>
</ol>
<h3 dir="auto">Disadvantage:</h3>
<ol dir="auto">
<li>The latency is high for the proxy mode.<br>
For dubbo protocol: 1k request/100k response/3000QPS, average response is 1-2ms, and able to support 7000-8000QPS in 8Core server.<br>
For the proxy mode: 1K request/100K response/600QPS, the average response is 14ms, only with 600QPS.</li>
<li>The proxy CPU is very high.<br>
For dubbo protocol: With 7000-8000QPS, the service CPU is about 80-90%, with 600QPS, the service CPU below 5-10% maybe.<br>
For proxy mode: With 600QPS, service CPU is low, but the proxy's CPU is almost full (80-90%). That means, it need 4-5times of the server to host the request.</li>
</ol>
<h2 dir="auto">For Solution2:</h2>
<h3 dir="auto">Advantage:</h3>
<ol dir="auto">
<li>The latency is very low, as it's directly connect to the service.</li>
</ol>
<h3 dir="auto">Disadvantage:</h3>
<ol dir="auto">
<li>User have to maintain both dubbo & http protocol, as described in solution 1 .</li>
</ol>
<p dir="auto">We are confused to find a better solution. Am i in a wrong way, or anyone have good suggestions or solutions for http request?</p>
<p dir="auto">Thanks for any suggestions.</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/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/wiki/FAQ">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.6.2</li>
<li>Operating System version: win10</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Step to reproduce this issue</h3>
<p dir="auto">1、the code in <strong>ThriftProtocol</strong><br>
String serviceKey = serviceKey(channel.getLocalAddress().getPort(), serviceName, null, null);<br>
DubboExporter exporter = (DubboExporter) exporterMap.get(serviceKey);<br>
2、why set the serviceVersion and serviceGroup null ? I do not understand</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="com.alibaba.dubbo.remoting.RemotingException: Not found exported service: com.zbss.common.api.config.service.ConfigService$Iface:20080 in [service-config/com.zbss.common.api.config.service.ConfigService$Iface:20080], may be version or group mismatch , channel: consumer: /192.168.3.63:61251 --> provider: /192.168.3.63:20080, message:RpcInvocation [methodName=getVendorConfig, parameterTypes=[class java.lang.String], arguments=[123], attachments={interface=com.zbss.common.api.config.service.ConfigService$Iface}]
at com.alibaba.dubbo.rpc.protocol.thrift.ThriftProtocol$1.reply(ThriftProtocol.java:67)
at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:96)
at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:172)
at com.alibaba.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51)
at com.alibaba.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:80)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)"><pre class="notranslate"><code class="notranslate">com.alibaba.dubbo.remoting.RemotingException: Not found exported service: com.zbss.common.api.config.service.ConfigService$Iface:20080 in [service-config/com.zbss.common.api.config.service.ConfigService$Iface:20080], may be version or group mismatch , channel: consumer: /192.168.3.63:61251 --> provider: /192.168.3.63:20080, message:RpcInvocation [methodName=getVendorConfig, parameterTypes=[class java.lang.String], arguments=[123], attachments={interface=com.zbss.common.api.config.service.ConfigService$Iface}]
at com.alibaba.dubbo.rpc.protocol.thrift.ThriftProtocol$1.reply(ThriftProtocol.java:67)
at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:96)
at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:172)
at com.alibaba.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51)
at com.alibaba.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:80)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
</code></pre></div> | 0 |
<h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => 3.4.1</li>
<li>Operating System / Platform => windows 10 x64</li>
<li>Compiler => mingw-w64 8.1.0 and mingw-w64 7.3.0</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">imwrite crash<br>
test with mingw-w64 8.1.0 and mingw-w64 7.3.0</p>
<p dir="auto">All same settings but OpenCV 3.4.0 is good.</p>
<h5 dir="auto">Steps to reproduce</h5>
<p dir="auto">c++ code crash when inline matrix operation</p>
<div class="highlight highlight-source-c++ notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#include <opencv2/opencv.hpp>
using namespace cv;
int main(int argc, char *argv[]) {
Mat1b img = Mat1b::zeros(300, 300);
imwrite("img.png", img + 50);
return 0;
}"><pre class="notranslate">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds"><</span>opencv2/opencv.hpp<span class="pl-pds">></span></span>
<span class="pl-k">using</span> <span class="pl-k">namespace</span> <span class="pl-en">cv</span><span class="pl-k">;</span>
<span class="pl-k">int</span> <span class="pl-en">main</span>(<span class="pl-k">int</span> argc, <span class="pl-k">char</span> *argv[]) {
Mat1b img = <span class="pl-c1">Mat1b::zeros</span>(<span class="pl-c1">300</span>, <span class="pl-c1">300</span>);
<span class="pl-c1">imwrite</span>(<span class="pl-s"><span class="pl-pds">"</span>img.png<span class="pl-pds">"</span></span>, img + <span class="pl-c1">50</span>);
<span class="pl-k">return</span> <span class="pl-c1">0</span>;
}</pre></div>
<p dir="auto">this way don't crash</p>
<div class="highlight highlight-source-c++ notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#include <opencv2/opencv.hpp>
using namespace cv;
int main(int argc, char *argv[]) {
Mat1b img = Mat1b::zeros(300, 300);
img = img + 50;
imwrite("img.png", img);
return 0;
}"><pre class="notranslate">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds"><</span>opencv2/opencv.hpp<span class="pl-pds">></span></span>
<span class="pl-k">using</span> <span class="pl-k">namespace</span> <span class="pl-en">cv</span><span class="pl-k">;</span>
<span class="pl-k">int</span> <span class="pl-en">main</span>(<span class="pl-k">int</span> argc, <span class="pl-k">char</span> *argv[]) {
Mat1b img = <span class="pl-c1">Mat1b::zeros</span>(<span class="pl-c1">300</span>, <span class="pl-c1">300</span>);
img = img + <span class="pl-c1">50</span>;
<span class="pl-c1">imwrite</span>(<span class="pl-s"><span class="pl-pds">"</span>img.png<span class="pl-pds">"</span></span>, img);
<span class="pl-k">return</span> <span class="pl-c1">0</span>;
}</pre></div>
<p dir="auto">cmake configuration</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="General configuration for OpenCV 3.4.1 =====================================
Version control: unknown
Platform:
Timestamp: 2018-06-04T06:00:53Z
Host: Windows 10.0.17134 AMD64
CMake: 3.11.2
CMake generator: MinGW Makefiles
CMake build tool: C:/msys64/mingw64/bin/mingw32-make.exe
Configuration: Release
CPU/HW features:
Baseline: SSE SSE2 SSE3
requested: SSE3
Dispatched code generation:
requested: SSE3
C/C++:
Built as dynamic libs?: NO
C++11: YES
C++ Compiler: C:/msys64/mingw64/bin/g++.exe (ver 7.3.0)
C++ flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wno-implicit-fallthrough -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -O3 -DNDEBUG -DNDEBUG
C++ flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wno-implicit-fallthrough -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -g -O0 -DDEBUG -D_DEBUG
C Compiler: C:/msys64/mingw64/bin/gcc.exe
C flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wno-implicit-fallthrough -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fopenmp -O3 -DNDEBUG -DNDEBUG
C flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wno-implicit-fallthrough -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fopenmp -g -O0 -DDEBUG -D_DEBUG
Linker flags (Release): -Wl,--gc-sections
Linker flags (Debug): -Wl,--gc-sections
ccache: NO
Precompiled headers: NO
Extra dependencies: avifil32 avicap32 winmm msvfw32 comctl32 gdi32 ole32 setupapi ws2_32 opengl32 glu32
3rdparty dependencies: libprotobuf libjpeg libwebp libpng libtiff libjasper IlmImf zlib
OpenCV modules:
To be built: calib3d core dnn features2d flann highgui imgcodecs imgproc java_bindings_generator ml objdetect photo python_bindings_generator shape stitching superres ts video videoio world
Disabled: js videostab
Disabled by dependency: -
Unavailable: cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev java python2 python3 viz
Applications: tests perf_tests apps
Documentation: NO
Non-free algorithms: NO
Windows RT support: NO
GUI:
Win32 UI: YES
OpenGL support: YES (opengl32 glu32)
VTK support: NO
Media I/O:
ZLib: build (ver 1.2.11)
JPEG: build (ver 90)
WEBP: build (ver encoder: 0x020e)
PNG: build (ver 1.6.34)
TIFF: build (ver 42 - 4.0.9)
JPEG 2000: build (ver 1.900.1)
OpenEXR: build (ver 1.7.1)
Video I/O:
Video for Windows: YES
DC1394: NO
FFMPEG: YES (prebuilt binaries)
avcodec: YES (ver 57.107.100)
avformat: YES (ver 57.83.100)
avutil: YES (ver 55.78.100)
swscale: YES (ver 4.8.100)
avresample: YES (ver 3.7.0)
GStreamer: NO
DirectShow: YES
Parallel framework: OpenMP
Trace: YES (built-in)
Other third-party libraries:
Lapack: NO
Eigen: NO
Custom HAL: NO
Protobuf: build (3.5.1)
NVIDIA CUDA: NO
OpenCL: YES (no extra features)
Include path: D:/software/opencv-3.4.1/3rdparty/include/opencl/1.2
Link libraries: Dynamic load
Python (for build): NO
Java:
ant: NO
JNI: NO
Java wrappers: NO
Java tests: NO
Matlab: NO
Install to: D:/software/cv/install
-----------------------------------------------------------------"><pre class="notranslate"><code class="notranslate">General configuration for OpenCV 3.4.1 =====================================
Version control: unknown
Platform:
Timestamp: 2018-06-04T06:00:53Z
Host: Windows 10.0.17134 AMD64
CMake: 3.11.2
CMake generator: MinGW Makefiles
CMake build tool: C:/msys64/mingw64/bin/mingw32-make.exe
Configuration: Release
CPU/HW features:
Baseline: SSE SSE2 SSE3
requested: SSE3
Dispatched code generation:
requested: SSE3
C/C++:
Built as dynamic libs?: NO
C++11: YES
C++ Compiler: C:/msys64/mingw64/bin/g++.exe (ver 7.3.0)
C++ flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wno-implicit-fallthrough -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -O3 -DNDEBUG -DNDEBUG
C++ flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wno-implicit-fallthrough -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -g -O0 -DDEBUG -D_DEBUG
C Compiler: C:/msys64/mingw64/bin/gcc.exe
C flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wno-implicit-fallthrough -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fopenmp -O3 -DNDEBUG -DNDEBUG
C flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wno-implicit-fallthrough -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fopenmp -g -O0 -DDEBUG -D_DEBUG
Linker flags (Release): -Wl,--gc-sections
Linker flags (Debug): -Wl,--gc-sections
ccache: NO
Precompiled headers: NO
Extra dependencies: avifil32 avicap32 winmm msvfw32 comctl32 gdi32 ole32 setupapi ws2_32 opengl32 glu32
3rdparty dependencies: libprotobuf libjpeg libwebp libpng libtiff libjasper IlmImf zlib
OpenCV modules:
To be built: calib3d core dnn features2d flann highgui imgcodecs imgproc java_bindings_generator ml objdetect photo python_bindings_generator shape stitching superres ts video videoio world
Disabled: js videostab
Disabled by dependency: -
Unavailable: cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev java python2 python3 viz
Applications: tests perf_tests apps
Documentation: NO
Non-free algorithms: NO
Windows RT support: NO
GUI:
Win32 UI: YES
OpenGL support: YES (opengl32 glu32)
VTK support: NO
Media I/O:
ZLib: build (ver 1.2.11)
JPEG: build (ver 90)
WEBP: build (ver encoder: 0x020e)
PNG: build (ver 1.6.34)
TIFF: build (ver 42 - 4.0.9)
JPEG 2000: build (ver 1.900.1)
OpenEXR: build (ver 1.7.1)
Video I/O:
Video for Windows: YES
DC1394: NO
FFMPEG: YES (prebuilt binaries)
avcodec: YES (ver 57.107.100)
avformat: YES (ver 57.83.100)
avutil: YES (ver 55.78.100)
swscale: YES (ver 4.8.100)
avresample: YES (ver 3.7.0)
GStreamer: NO
DirectShow: YES
Parallel framework: OpenMP
Trace: YES (built-in)
Other third-party libraries:
Lapack: NO
Eigen: NO
Custom HAL: NO
Protobuf: build (3.5.1)
NVIDIA CUDA: NO
OpenCL: YES (no extra features)
Include path: D:/software/opencv-3.4.1/3rdparty/include/opencl/1.2
Link libraries: Dynamic load
Python (for build): NO
Java:
ant: NO
JNI: NO
Java wrappers: NO
Java tests: NO
Matlab: NO
Install to: D:/software/cv/install
-----------------------------------------------------------------
</code></pre></div> | <h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => 3.4.1</li>
<li>Operating System / Platform => Ubuntu 18.04 64 Bit</li>
<li>Compiler => gcc 7.3.0</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">imwrite produces a segfault if the provided input array is an expression involving an operation on a mat, such as 2 * x or x + y. It occurs for me with both jpg and png output, and with 8U and 32F types. The problem does not occur on OpenCV 3.0.0, other versions untested.</p>
<h5 dir="auto">Steps to reproduce</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="cv::Mat1b m = cv::Mat1b::zeros(10, 10);
cv::imwrite("works.png", cv::Mat(m * 2));
cv::imwrite("fails.png", m * 2);"><pre class="notranslate"><code class="notranslate">cv::Mat1b m = cv::Mat1b::zeros(10, 10);
cv::imwrite("works.png", cv::Mat(m * 2));
cv::imwrite("fails.png", m * 2);
</code></pre></div> | 1 |
<p dir="auto">Calling scipy.stats.hypergeom.pmf with a total of 0 Type I objects (and therefore, having a maximal k value of 0), returns a NaN value instead of 1.0.</p>
<p dir="auto">From the documentation :<br>
pmf(k, M, n, N) = choose(n, k) * choose(M - n, N - k) / choose(M, N),</p>
<p dir="auto">Fixing k = n = 0, we have :<br>
pmf(0, M, 0, N) = choose(0, 0) * choose(M - 0, N - 0) / choose(M, N),<br>
= 1 * choose(M, N) / choose(M, N)<br>
= 1 * 1<br>
= 1</p> | <p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/scipy/ticket/57" rel="nofollow">http://projects.scipy.org/scipy/ticket/57</a> on 2006-04-02 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rkern/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rkern">@rkern</a>, assigned to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rkern/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rkern">@rkern</a>.</em></p>
<p dir="auto">The function <code class="notranslate">tmean</code> in file source:trunk/Lib/stats/stats.py needs review.</p>
<p dir="auto">Please look over the StatisticsReview guidelines and add your comments below.</p> | 0 |
<p dir="auto">The weekly build with nightly wheels from numpy and pandas<br>
has failed. Check the logs for any updates that need to be<br>
made in matplotlib.<br>
<a href="https://github.com/matplotlib/matplotlib/actions/runs/2722394505">https://github.com/matplotlib/matplotlib/actions/runs/2722394505</a></p> | <p dir="auto">The weekly build with nightly wheels from numpy and pandas<br>
has failed. Check the logs for any updates that need to be<br>
made in matplotlib.<br>
<a href="https://github.com/matplotlib/matplotlib/actions/runs/2600273155">https://github.com/matplotlib/matplotlib/actions/runs/2600273155</a></p> | 1 |
<p dir="auto">Screenie: <a href="http://puu.sh/l7m9w/0f05381eb0.png" rel="nofollow">http://puu.sh/l7m9w/0f05381eb0.png</a></p>
<p dir="auto">I finished the lesson, but I'm unable to progress. This happened with every lesson in the jQuery section, but all the others finally worked after a dozen clicks or thereabouts. The script runs correctly, and the hinge animated takes place (wasn't able to puush fast enough to catch it in action). I'm going to keep clicking in the hopes that it eventually works, but it is very discouraging.</p>
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-use-jquery-to-modify-the-entire-page#?solution=fccss%0A%20%20%24%28document%29.ready%28function%28%29%20%7B%0A%20%20%20%20%24%28%22%23target1%22%29.css%28%22color%22%2C%20%22red%22%29%3B%0A%20%20%20%20%24%28%22%23target1%22%29.prop%28%22disabled%22%2C%20true%29%3B%0A%20%20%20%20%24%28%22%23target4%22%29.remove%28%29%3B%0A%20%20%20%20%24%28%22%23target2%22%29.appendTo%28%22%23right-well%22%29%3B%0A%20%20%20%20%24%28%22%23target5%22%29.clone%28%29.appendTo%28%22%23left-well%22%29%3B%0A%20%20%20%20%24%28%22%23target1%22%29.parent%28%29.css%28%22background-color%22%2C%20%22red%22%29%3B%0A%20%20%20%20%24%28%22%23right-well%22%29.children%28%29.css%28%22color%22%2C%20%22green%22%29%3B%0A%20%20%20%20%24%28%22%23left-well%22%29.children%28%29.css%28%22color%22%2C%20%22green%22%29%3B%0A%20%20%20%20%24%28%22.target%3Anth-child%282%29%22%29.addClass%28%22animated%20bounce%22%29%3B%0A%20%20%20%20%24%28%22.target%3Aeven%22%29.addClass%28%22animated%20shake%22%29%3B%0A%20%20%20%20%24%28%22body%22%29.addClass%28%22animated%20hinge%22%29%3B%0A%0A%20%20%7D%29%3B%0Afcces%0A%0A%3C!--%20Only%20change%20code%20above%20this%20line.%20--%3E%0A%0A%3Cdiv%20class%3D%22container-fluid%22%3E%0A%20%20%3Ch3%20class%3D%22text-primary%20text-center%22%3EjQuery%20Playground%3C%2Fh3%3E%0A%20%20%3Cdiv%20class%3D%22row%22%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23left-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22left-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target1%22%3E%23target1%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target2%22%3E%23target2%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target3%22%3E%23target3%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23right-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22right-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target4%22%3E%23target4%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target5%22%3E%23target5%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target6%22%3E%23target6%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A" rel="nofollow">Waypoint: Use jQuery to Modify the Entire Page</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 10.0; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0</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="<script>
$(document).ready(function() {
$("#target1").css("color", "red");
$("#target1").prop("disabled", true);
$("#target4").remove();
$("#target2").appendTo("#right-well");
$("#target5").clone().appendTo("#left-well");
$("#target1").parent().css("background-color", "red");
$("#right-well").children().css("color", "green");
$("#left-well").children().css("color", "green");
$(".target:nth-child(2)").addClass("animated bounce");
$(".target:even").addClass("animated shake");
$("body").addClass("animated hinge");
});
</script>
<!-- Only change code above this line. -->
<div class="container-fluid">
<h3 class="text-primary text-center">jQuery Playground</h3>
<div class="row">
<div class="col-xs-6">
<h4>#left-well</h4>
<div class="well" id="left-well">
<button class="btn btn-default target" id="target1">#target1</button>
<button class="btn btn-default target" id="target2">#target2</button>
<button class="btn btn-default target" id="target3">#target3</button>
</div>
</div>
<div class="col-xs-6">
<h4>#right-well</h4>
<div class="well" id="right-well">
<button class="btn btn-default target" id="target4">#target4</button>
<button class="btn btn-default target" id="target5">#target5</button>
<button class="btn btn-default target" id="target6">#target6</button>
</div>
</div>
</div>
</div>
"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-smi">document</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">ready</span><span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">css</span><span class="pl-kos">(</span><span class="pl-s">"color"</span><span class="pl-kos">,</span> <span class="pl-s">"red"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">prop</span><span class="pl-kos">(</span><span class="pl-s">"disabled"</span><span class="pl-kos">,</span> <span class="pl-c1">true</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target4"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">remove</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target2"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#right-well"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target5"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">clone</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#left-well"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">parent</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">css</span><span class="pl-kos">(</span><span class="pl-s">"background-color"</span><span class="pl-kos">,</span> <span class="pl-s">"red"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#right-well"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">children</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">css</span><span class="pl-kos">(</span><span class="pl-s">"color"</span><span class="pl-kos">,</span> <span class="pl-s">"green"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#left-well"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">children</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">css</span><span class="pl-kos">(</span><span class="pl-s">"color"</span><span class="pl-kos">,</span> <span class="pl-s">"green"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">".target:nth-child(2)"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">addClass</span><span class="pl-kos">(</span><span class="pl-s">"animated bounce"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">".target:even"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">addClass</span><span class="pl-kos">(</span><span class="pl-s">"animated shake"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"body"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">addClass</span><span class="pl-kos">(</span><span class="pl-s">"animated hinge"</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-ent">script</span><span class="pl-kos">></span>
<span class="pl-c"><!-- Only change code above this line. --></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">container-fluid</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h3</span> <span class="pl-c1">class</span>="<span class="pl-s">text-primary text-center</span>"<span class="pl-kos">></span>jQuery Playground<span class="pl-kos"></</span><span class="pl-ent">h3</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">row</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h4</span><span class="pl-kos">></span>#left-well<span class="pl-kos"></</span><span class="pl-ent">h4</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">left-well</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target1</span>"<span class="pl-kos">></span>#target1<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target2</span>"<span class="pl-kos">></span>#target2<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target3</span>"<span class="pl-kos">></span>#target3<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h4</span><span class="pl-kos">></span>#right-well<span class="pl-kos"></</span><span class="pl-ent">h4</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">right-well</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target4</span>"<span class="pl-kos">></span>#target4<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target5</span>"<span class="pl-kos">></span>#target5<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target6</span>"<span class="pl-kos">></span>#target6<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span></pre></div> | <p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-change-the-css-of-an-element-using-jquery" rel="nofollow">http://www.freecodecamp.com/challenges/waypoint-change-the-css-of-an-element-using-jquery</a> has an issue. Please describe how to reproduce it, and include links to screenshots if possible.</p>
<p dir="auto">Code fails validation ("Your target1 element should have red text." continues to show a red X even though the condition has been met). Interestingly, if "Run Code" is pushed several (sometimes >5) times, the code does eventually pass even though nothing changed.</p>
<p dir="auto">Screenshot <em>after</em> pressing "Run Code":<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/10679949/9600757/ccad476a-5051-11e5-81de-752777838a8b.png"><img src="https://cloud.githubusercontent.com/assets/10679949/9600757/ccad476a-5051-11e5-81de-752777838a8b.png" alt="codecampchallenge" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto">When I close an unsaved file, I get a popup saying "foo has changes, do you want to save them?". The popup has three buttons "Save", "Cancel" and "Don't Save".</p>
<p dir="auto">The standard Windows dialog for this allows me to hit n to select Don't Save.</p>
<p dir="auto">WIBNI Atom would allow me to do the same, at least on Windows?</p> | <p dir="auto">(this is possibly windows only, tested with 0.113.0)</p>
<p dir="auto"><strong>Steps To Reproduce</strong></p>
<ul dir="auto">
<li>Open Atom</li>
<li>Type something into a new editor or change an existing file (doesn't matter which)</li>
<li>Attempt to close the tab (for example <code class="notranslate">Ctrl+W</code>)</li>
<li>Correctly, a dialogue opens, that will give you a choice how to proceed</li>
</ul>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/124909/3550749/38cadc72-08dd-11e4-8d71-83e665a150cd.png"><img src="https://cloud.githubusercontent.com/assets/124909/3550749/38cadc72-08dd-11e4-8d71-83e665a150cd.png" alt="close-dialog-keyboard-lacking" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>current (faulty) behaviour</strong></p>
<p dir="auto">The Keyboard is pretty much useless for this dialogue. You can only Hit <code class="notranslate">[Enter]</code> to save.</p>
<p dir="auto"><strong>Desired Behaviour</strong></p>
<p dir="auto">These interactions all don't work, but would be very much needed, all of these are very much standard behaviour for any application:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <code class="notranslate">[left]</code> and <code class="notranslate">[right]</code> should switch focus between buttos (so we can select a different thing with keyboard only)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <code class="notranslate">[esc]</code> should Cancel</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">[alt]</code> should bring up shortcut labels (much like it does for the application menu, i.e. _F_ile, which means press <code class="notranslate">[Alt+F]</code>)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <code class="notranslate">[tab]</code> should cycle between the buttons, <code class="notranslate">[shift-tab]</code> should cycle backwards.</li>
</ul> | 1 |
<p dir="auto">I didn't know but it seems that PHP is replacing dots by underscores in parameter names in all global variables ($_GET, $_POST, ...). This bug in PHP is described on <a href="http://stackoverflow.com/questions/68651/get-php-to-stop-replacing-characters-in-get-or-post-arrays#answer-68742" rel="nofollow">stackoverflow</a> and on <a href="http://fr2.php.net/variables.external#language.variables.external.dot-in-names" rel="nofollow">php.net</a>.<br>
Since the Request class uses those globals in <code class="notranslate">createFromGlobals</code> method, all values in Request::$query, Request::$attributes, ... are "wrong".</p>
<p dir="auto">Is this a known and accepted behavior ? There is a <a href="https://gist.github.com/elyobo/6200838">Gist</a> with a proposed solution. Do you think it is worth a PR or do I have to wait for <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/fabpot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/fabpot">@fabpot</a>'s one on RequestFactory (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="19151654" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/8957" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/8957/hovercard" href="https://github.com/symfony/symfony/pull/8957">#8957</a>) ?</p> | <p dir="auto">Symfony/Component/BrowserKit/Client->submit uses $form->getPhpValues() which uses parsestr which automagically converts . to _, this breaks compatibility with forms intended for non-PHP services.</p>
<p dir="auto"><strong>Background</strong><br>
I am trying to write a functional test for connecting to an OpenID2 implementation in ASP.NET, however this requires use of a (auto-submitted by javascript) form with names like hidden form names like openid.mode.</p> | 1 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.5-SNAPSHOT</li>
<li>Operating System version: win10</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto">A compilation error occurred when cloning the latest code to local, as follows: cannot resolve com.alibaba.spring: Spring context support: 1.0.4-snapshotPls. 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?</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">What actually happens?</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here!
</code></pre></div> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.0</li>
<li>Operating System version: mac</li>
<li>Java version: 1.8</li>
</ul>
<p dir="auto"><code class="notranslate">org.apache.dubbo.config.AbstractConfig</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="static {
// this is only for compatibility
Runtime.getRuntime().addShutdownHook(DubboShutdownHook.getDubboShutdownHook());
}"><pre class="notranslate"><code class="notranslate">static {
// this is only for compatibility
Runtime.getRuntime().addShutdownHook(DubboShutdownHook.getDubboShutdownHook());
}
</code></pre></div>
<p dir="auto">The jvm hook is registered by default. When the user uses spring, the default hook is not removed. It was the earliest cause of this shutdown graceful, mainly due to this reason. Please note:<br>
Spring does not register hooks by default, but users may register themselves, spring-boot will also register hooks by default.</p>
<p dir="auto"><code class="notranslate">org.apache.dubbo.config.spring.extension.SpringExtensionFactory.ShutdownHookListener</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="private static class ShutdownHookListener implements ApplicationListener {
@Override
public void onApplicationEvent(ApplicationEvent event) {
if (event instanceof ContextClosedEvent) {
// we call it anyway since dubbo shutdown hook make sure its destroyAll() is re-entrant.
// pls. note we should not remove dubbo shutdown hook when spring framework is present, this is because
// its shutdown hook may not be installed.
DubboShutdownHook shutdownHook = DubboShutdownHook.getDubboShutdownHook();
shutdownHook.destroyAll();
}
}
}"><pre class="notranslate"><code class="notranslate">private static class ShutdownHookListener implements ApplicationListener {
@Override
public void onApplicationEvent(ApplicationEvent event) {
if (event instanceof ContextClosedEvent) {
// we call it anyway since dubbo shutdown hook make sure its destroyAll() is re-entrant.
// pls. note we should not remove dubbo shutdown hook when spring framework is present, this is because
// its shutdown hook may not be installed.
DubboShutdownHook shutdownHook = DubboShutdownHook.getDubboShutdownHook();
shutdownHook.destroyAll();
}
}
}
</code></pre></div> | 0 |
<p dir="auto">I need show the format of date of this way 'dd/mmm/yyyy', thanks</p>
<p dir="auto"><code class="notranslate"><Field style={style.field} title="Birthday" name="dob" disabled={sendIn} component={TextField} validate={Validations.required} type="date" InputLabelProps={{ shrink: true, }} /></code><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/29447081/31400979-fd188ef4-adb6-11e7-8151-099d61c42bd6.png"><img src="https://user-images.githubusercontent.com/29447081/31400979-fd188ef4-adb6-11e7-8151-099d61c42bd6.png" alt="screen shot 2017-10-10 at 12 30 42 pm" style="max-width: 100%;"></a></p> | <p dir="auto"><code class="notranslate">TextField</code> with a <code class="notranslate">label</code> set to something and <code class="notranslate">type</code> set to date but with no initial value displays the label and <code class="notranslate">mm/dd/yyyy</code> on top of each other in the <code class="notranslate">TextField</code>. Once you enter the field, the label moves up as superscript and the mm/dd/yyyy remains and is readable.</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 the date picker has no value, if it is going to display the expected date format in the field, it should treat that as a value and move the label up to superscript. Alternatively, don't display the date format unless the user enters the field and there is no value.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">Currently the label and date format overwrite each other if there is no value for the TextField.</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto">Example on codesandbox.io:<br>
<a href="https://codesandbox.io/s/6ljy4wq04k" rel="nofollow">https://codesandbox.io/s/6ljy4wq04k</a></p>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Material-UI</td>
<td>1.0.0-beta.9</td>
</tr>
<tr>
<td>React</td>
<td>15.6.1</td>
</tr>
<tr>
<td>browser</td>
<td>Chrome 60.03</td>
</tr>
</tbody>
</table> | 1 |
<p dir="auto">Rust version:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ /opt/rust-0.6/bin/rustc -v
/opt/rust-0.6/bin/rustc 0.6
host: x86_64-unknown-linux-gnu
$"><pre class="notranslate"><code class="notranslate">$ /opt/rust-0.6/bin/rustc -v
/opt/rust-0.6/bin/rustc 0.6
host: x86_64-unknown-linux-gnu
$
</code></pre></div>
<p dir="auto">Code to reproduce:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="struct Test;
pub impl Test {
pub fn new() -> Test {
return Test;
}
}
fn main() {
let test = Test.new();
}"><pre class="notranslate"><code class="notranslate">struct Test;
pub impl Test {
pub fn new() -> Test {
return Test;
}
}
fn main() {
let test = Test.new();
}
</code></pre></div>
<p dir="auto">Stack trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ RUST_LOG=rustc=1,::rt::backtrace /opt/rust-0.6/bin/rustc reproduce.ts
error: internal compiler error: calling transform_self_type_for_method on static method
rust: task failed at 'explicit failure', /tmp/rust-0.6/src/libsyntax/diagnostic.rs:99
/opt/rust-0.6/bin/../lib/librustrt.so(_ZN9rust_task13begin_failureEPKcS1_m+0x4b)[0x7f12b4824d1b]
/opt/rust-0.6/bin/../lib/librustrt.so(+0x2c7b9)[0x7f12b48357b9]
/opt/rust-0.6/bin/../lib/librustrt.so(upcall_fail+0x1a0)[0x7f12b4826b00]
/opt/rust-0.6/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x10a4db)[0x7f12b7b404db]
/opt/rust-0.6/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x10a482)[0x7f12b7b40482]
/opt/rust-0.6/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(_ZN3sys12begin_unwind17_61fe198059b9e3fc3_06E+0x71)[0x7f12b7a88551]
/opt/rust-0.6/bin/../lib/libsyntax-84efebcb12c867a2-0.6.so(_ZN10diagnostic14__extensions__9meth_84585fatal15_c79235bb6437b73_06E+0x196)[0x7f12b6fef986]
/opt/rust-0.6/bin/../lib/libsyntax-84efebcb12c867a2-0.6.so(_ZN10diagnostic14__extensions__9meth_84813bug15_c79235bb6437b73_06E+0x6f)[0x7f12b6ff011f]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6driver7session14__extensions__10meth_188433bug17_b5f71376f9f489aa3_06E+0x80)[0x7f12b6350880]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check6method30transform_self_type_for_method17_51f0b1aaf3e498fc3_06E+0x192)[0x7f12b66dbc52]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check6method14__extensions__10meth_4855036create_rcvr_ty_and_substs_for_method17_971e65ec50f97c323_06E+0x2a8)[0x7f12b66d99c8]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check6method14__extensions__10meth_4843725push_candidates_from_impl17_9ac8518896a5ac6c3_06E+0x2d1)[0x7f12b66d7fa1]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8c0fb4)[0x7f12b6afafb4]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x4a120c)[0x7f12b66db20c]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x4a105e)[0x7f12b66db05e]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check6method14__extensions__10meth_4842338push_inherent_impl_candidates_for_type16_eeee7bdb4b835d03_06E+0x9e)[0x7f12b66d4d2e]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check6method14__extensions__10meth_4838924push_inherent_candidates16_59939f4aa551e6a3_06E+0x1d3)[0x7f12b66ce403]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check6method14__extensions__10meth_483439do_lookup17_9ecadfb4b1ffaff13_06E+0x610)[0x7f12b66cc660]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check6method6lookup15_35be5e67e7e9ab3_06E+0x1df)[0x7f12b66ca83f]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check23check_expr_with_unifier17_841417e8b97d6e713_06E+0x2a35)[0x7f12b6726755]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check28check_expr_coercable_to_type17_5acee3342c4cd5a23_06E+0x91)[0x7f12b673baa1]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check22check_decl_initializer17_1547d91555c977933_06E+0xb2)[0x7f12b674eb22]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check16check_decl_local16_ac37e3abcfdd7ff3_06E+0x5ea)[0x7f12b674f20a]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8c0fb4)[0x7f12b6afafb4]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x51709a)[0x7f12b675109a]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check10check_stmt17_e63c562496e2808c3_06E+0x26e)[0x7f12b6750b0e]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x517271)[0x7f12b6751271]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check25check_block_with_expected17_b352eb1d2e7639c03_06E+0x21e)[0x7f12b66ec55e]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check8check_fn17_20cad4a150c275a73_06E+0x1089)[0x7f12b66eada9]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check13check_bare_fn14_4fc3abe889a533_06E+0x17e)[0x7f12b66e9a5e]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check10check_item16_f8c9b58265752963_06E+0x43d)[0x7f12b66e889d]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x4ae2b1)[0x7f12b66e82b1]
/opt/rust-0.6/bin/../lib/libsyntax-84efebcb12c867a2-0.6.so(+0xe5214)[0x7f12b706b214]
/opt/rust-0.6/bin/../lib/libsyntax-84efebcb12c867a2-0.6.so(+0xe4dba)[0x7f12b706adba]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check16check_item_types17_b41350aeb9ad50f23_06E+0x430)[0x7f12b66e8080]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x5e4d55)[0x7f12b681ed55]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck11check_crate17_63c941d6da5d83433_06E+0x2d0)[0x7f12b681d970]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6driver6driver12compile_rest17_b2b258b84b35f3533_06E+0x1218)[0x7f12b6ab78e8]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8c0fb4)[0x7f12b6afafb4]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6driver6driver12compile_upto17_12335154b455986e3_06E+0x108)[0x7f12b6abcbf8]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8c0fb4)[0x7f12b6afafb4]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6driver6driver13compile_input15_bb29edf7a232863_06E+0xca)[0x7f12b6abd03a]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN12run_compiler17_64d52739a36d169c3_06E+0x20aa)[0x7f12b6aec44a]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8bea81)[0x7f12b6af8a81]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8bb2ac)[0x7f12b6af52ac]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8c0fb4)[0x7f12b6afafb4]
/opt/rust-0.6/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0xd2f8e)[0x7f12b7b08f8e]
/opt/rust-0.6/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x152bb4)[0x7f12b7b88bb4]
/opt/rust-0.6/bin/../lib/librustrt.so(_Z18task_start_wrapperP10spawn_args+0x24)[0x7f12b4825564]
rust: task failed at 'explicit failure', /tmp/rust-0.6/src/librustc/rustc.rc:357
/opt/rust-0.6/bin/../lib/librustrt.so(_ZN9rust_task13begin_failureEPKcS1_m+0x4b)[0x7f12b4824d1b]
/opt/rust-0.6/bin/../lib/librustrt.so(+0x2c7b9)[0x7f12b48357b9]
/opt/rust-0.6/bin/../lib/librustrt.so(upcall_fail+0x1a0)[0x7f12b4826b00]
/opt/rust-0.6/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x10a4db)[0x7f12b7b404db]
/opt/rust-0.6/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x10a482)[0x7f12b7b40482]
/opt/rust-0.6/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(_ZN3sys12begin_unwind17_61fe198059b9e3fc3_06E+0x71)[0x7f12b7a88551]
/opt/rust-0.6/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x152bb4)[0x7f12b7b88bb4]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN7monitor17_78935df9ff9e1afa3_06E+0x1577)[0x7f12b6aeea77]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8c0fb4)[0x7f12b6afafb4]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN4main15_c4de63b748e03d3_06E+0x7e)[0x7f12b6afabce]
/opt/rust-0.6/bin/../lib/librustrt.so(_Z18task_start_wrapperP10spawn_args+0x24)[0x7f12b4825564]
rust: domain main @0xe073e0 root task failed
$ "><pre class="notranslate"><code class="notranslate">$ RUST_LOG=rustc=1,::rt::backtrace /opt/rust-0.6/bin/rustc reproduce.ts
error: internal compiler error: calling transform_self_type_for_method on static method
rust: task failed at 'explicit failure', /tmp/rust-0.6/src/libsyntax/diagnostic.rs:99
/opt/rust-0.6/bin/../lib/librustrt.so(_ZN9rust_task13begin_failureEPKcS1_m+0x4b)[0x7f12b4824d1b]
/opt/rust-0.6/bin/../lib/librustrt.so(+0x2c7b9)[0x7f12b48357b9]
/opt/rust-0.6/bin/../lib/librustrt.so(upcall_fail+0x1a0)[0x7f12b4826b00]
/opt/rust-0.6/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x10a4db)[0x7f12b7b404db]
/opt/rust-0.6/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x10a482)[0x7f12b7b40482]
/opt/rust-0.6/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(_ZN3sys12begin_unwind17_61fe198059b9e3fc3_06E+0x71)[0x7f12b7a88551]
/opt/rust-0.6/bin/../lib/libsyntax-84efebcb12c867a2-0.6.so(_ZN10diagnostic14__extensions__9meth_84585fatal15_c79235bb6437b73_06E+0x196)[0x7f12b6fef986]
/opt/rust-0.6/bin/../lib/libsyntax-84efebcb12c867a2-0.6.so(_ZN10diagnostic14__extensions__9meth_84813bug15_c79235bb6437b73_06E+0x6f)[0x7f12b6ff011f]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6driver7session14__extensions__10meth_188433bug17_b5f71376f9f489aa3_06E+0x80)[0x7f12b6350880]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check6method30transform_self_type_for_method17_51f0b1aaf3e498fc3_06E+0x192)[0x7f12b66dbc52]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check6method14__extensions__10meth_4855036create_rcvr_ty_and_substs_for_method17_971e65ec50f97c323_06E+0x2a8)[0x7f12b66d99c8]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check6method14__extensions__10meth_4843725push_candidates_from_impl17_9ac8518896a5ac6c3_06E+0x2d1)[0x7f12b66d7fa1]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8c0fb4)[0x7f12b6afafb4]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x4a120c)[0x7f12b66db20c]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x4a105e)[0x7f12b66db05e]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check6method14__extensions__10meth_4842338push_inherent_impl_candidates_for_type16_eeee7bdb4b835d03_06E+0x9e)[0x7f12b66d4d2e]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check6method14__extensions__10meth_4838924push_inherent_candidates16_59939f4aa551e6a3_06E+0x1d3)[0x7f12b66ce403]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check6method14__extensions__10meth_483439do_lookup17_9ecadfb4b1ffaff13_06E+0x610)[0x7f12b66cc660]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check6method6lookup15_35be5e67e7e9ab3_06E+0x1df)[0x7f12b66ca83f]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check23check_expr_with_unifier17_841417e8b97d6e713_06E+0x2a35)[0x7f12b6726755]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check28check_expr_coercable_to_type17_5acee3342c4cd5a23_06E+0x91)[0x7f12b673baa1]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check22check_decl_initializer17_1547d91555c977933_06E+0xb2)[0x7f12b674eb22]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check16check_decl_local16_ac37e3abcfdd7ff3_06E+0x5ea)[0x7f12b674f20a]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8c0fb4)[0x7f12b6afafb4]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x51709a)[0x7f12b675109a]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check10check_stmt17_e63c562496e2808c3_06E+0x26e)[0x7f12b6750b0e]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x517271)[0x7f12b6751271]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check25check_block_with_expected17_b352eb1d2e7639c03_06E+0x21e)[0x7f12b66ec55e]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check8check_fn17_20cad4a150c275a73_06E+0x1089)[0x7f12b66eada9]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check13check_bare_fn14_4fc3abe889a533_06E+0x17e)[0x7f12b66e9a5e]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check10check_item16_f8c9b58265752963_06E+0x43d)[0x7f12b66e889d]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x4ae2b1)[0x7f12b66e82b1]
/opt/rust-0.6/bin/../lib/libsyntax-84efebcb12c867a2-0.6.so(+0xe5214)[0x7f12b706b214]
/opt/rust-0.6/bin/../lib/libsyntax-84efebcb12c867a2-0.6.so(+0xe4dba)[0x7f12b706adba]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck5check16check_item_types17_b41350aeb9ad50f23_06E+0x430)[0x7f12b66e8080]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x5e4d55)[0x7f12b681ed55]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle6typeck11check_crate17_63c941d6da5d83433_06E+0x2d0)[0x7f12b681d970]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6driver6driver12compile_rest17_b2b258b84b35f3533_06E+0x1218)[0x7f12b6ab78e8]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8c0fb4)[0x7f12b6afafb4]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6driver6driver12compile_upto17_12335154b455986e3_06E+0x108)[0x7f12b6abcbf8]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8c0fb4)[0x7f12b6afafb4]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6driver6driver13compile_input15_bb29edf7a232863_06E+0xca)[0x7f12b6abd03a]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN12run_compiler17_64d52739a36d169c3_06E+0x20aa)[0x7f12b6aec44a]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8bea81)[0x7f12b6af8a81]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8bb2ac)[0x7f12b6af52ac]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8c0fb4)[0x7f12b6afafb4]
/opt/rust-0.6/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0xd2f8e)[0x7f12b7b08f8e]
/opt/rust-0.6/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x152bb4)[0x7f12b7b88bb4]
/opt/rust-0.6/bin/../lib/librustrt.so(_Z18task_start_wrapperP10spawn_args+0x24)[0x7f12b4825564]
rust: task failed at 'explicit failure', /tmp/rust-0.6/src/librustc/rustc.rc:357
/opt/rust-0.6/bin/../lib/librustrt.so(_ZN9rust_task13begin_failureEPKcS1_m+0x4b)[0x7f12b4824d1b]
/opt/rust-0.6/bin/../lib/librustrt.so(+0x2c7b9)[0x7f12b48357b9]
/opt/rust-0.6/bin/../lib/librustrt.so(upcall_fail+0x1a0)[0x7f12b4826b00]
/opt/rust-0.6/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x10a4db)[0x7f12b7b404db]
/opt/rust-0.6/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x10a482)[0x7f12b7b40482]
/opt/rust-0.6/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(_ZN3sys12begin_unwind17_61fe198059b9e3fc3_06E+0x71)[0x7f12b7a88551]
/opt/rust-0.6/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x152bb4)[0x7f12b7b88bb4]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN7monitor17_78935df9ff9e1afa3_06E+0x1577)[0x7f12b6aeea77]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8c0fb4)[0x7f12b6afafb4]
/opt/rust-0.6/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN4main15_c4de63b748e03d3_06E+0x7e)[0x7f12b6afabce]
/opt/rust-0.6/bin/../lib/librustrt.so(_Z18task_start_wrapperP10spawn_args+0x24)[0x7f12b4825564]
rust: domain main @0xe073e0 root task failed
$
</code></pre></div> | <p dir="auto">This should not compile (AFAIK, but static methods aren't documented), but it shouldn't ICE either.</p>
<h2 dir="auto">output</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error: internal compiler error: calling transform_self_type_for_method on static method
rust: task failed at 'explicit failure', /Users/burg/repos/rust/src/libsyntax/diagnostic.rs:78
rust: task failed at 'explicit failure', /Users/burg/repos/rust/src/rustc/driver/rustc.rs:275
rust: domain main @0x7f8c0a800010 root task failed
"><pre class="notranslate"><code class="notranslate">error: internal compiler error: calling transform_self_type_for_method on static method
rust: task failed at 'explicit failure', /Users/burg/repos/rust/src/libsyntax/diagnostic.rs:78
rust: task failed at 'explicit failure', /Users/burg/repos/rust/src/rustc/driver/rustc.rs:275
rust: domain main @0x7f8c0a800010 root task failed
</code></pre></div>
<h2 dir="auto">testcase</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="struct Obj {
member: uint
}
impl Obj {
static pure fn boom() -> bool {
return 1+1 == 2
}
pure fn chirp() {
self.boom();
}
}
fn main() {
let o = Obj { member: 0 };
o.chirp();
1 + 1;
}"><pre class="notranslate"><code class="notranslate">struct Obj {
member: uint
}
impl Obj {
static pure fn boom() -> bool {
return 1+1 == 2
}
pure fn chirp() {
self.boom();
}
}
fn main() {
let o = Obj { member: 0 };
o.chirp();
1 + 1;
}
</code></pre></div> | 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?q=is%3Aissue">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<p dir="auto">I uploaded my Next.js/Express app on AWS and it's failing at runtime for unknown reason.</p>
<p dir="auto">I have the following AWS logs:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="START RequestId: 27f88393-2541-11e8-af21-a362290178d9 Version: $LATEST
2018-03-11 16:30:42.490 (+01:00) 27f88393-2541-11e8-af21-a362290178d9 req from http://staging.loan-advisor.studylink.fr/
END RequestId: 27f88393-2541-11e8-af21-a362290178d9
REPORT RequestId: 27f88393-2541-11e8-af21-a362290178d9 Duration: 600.55 ms Billed Duration: 700 ms Memory Size: 256 MB Max Memory Used: 40 MB
START RequestId: 293c9c47-2541-11e8-9e47-bb956db55617 Version: $LATEST
2018-03-11 16:30:43.008 (+01:00) 293c9c47-2541-11e8-9e47-bb956db55617 req from http://staging.loan-advisor.studylink.fr/_next/fa74e99a-3209-47d0-b35e-096852884958/page/_error.js
END RequestId: 293c9c47-2541-11e8-9e47-bb956db55617
REPORT RequestId: 293c9c47-2541-11e8-9e47-bb956db55617 Duration: 123.53 ms Billed Duration: 200 ms Memory Size: 256 MB Max Memory Used: 40 MB "><pre class="notranslate"><code class="notranslate">START RequestId: 27f88393-2541-11e8-af21-a362290178d9 Version: $LATEST
2018-03-11 16:30:42.490 (+01:00) 27f88393-2541-11e8-af21-a362290178d9 req from http://staging.loan-advisor.studylink.fr/
END RequestId: 27f88393-2541-11e8-af21-a362290178d9
REPORT RequestId: 27f88393-2541-11e8-af21-a362290178d9 Duration: 600.55 ms Billed Duration: 700 ms Memory Size: 256 MB Max Memory Used: 40 MB
START RequestId: 293c9c47-2541-11e8-9e47-bb956db55617 Version: $LATEST
2018-03-11 16:30:43.008 (+01:00) 293c9c47-2541-11e8-9e47-bb956db55617 req from http://staging.loan-advisor.studylink.fr/_next/fa74e99a-3209-47d0-b35e-096852884958/page/_error.js
END RequestId: 293c9c47-2541-11e8-9e47-bb956db55617
REPORT RequestId: 293c9c47-2541-11e8-9e47-bb956db55617 Duration: 123.53 ms Billed Duration: 200 ms Memory Size: 256 MB Max Memory Used: 40 MB
</code></pre></div>
<p dir="auto">What I could deduce from those logs is that a request is handled at <a href="http://staging.loan-advisor.studylink.fr/" rel="nofollow">http://staging.loan-advisor.studylink.fr/</a> by Express and then a new request from <a href="http://staging.loan-advisor.studylink.fr/_next/fa74e99a-3209-47d0-b35e-096852884958/page/_error.js" rel="nofollow">http://staging.loan-advisor.studylink.fr/_next/fa74e99a-3209-47d0-b35e-096852884958/page/_error.js</a> is handled.</p>
<p dir="auto">Next loads correctly IMHO, since it's able to load the <a href="http://staging.loan-advisor.studylink.fr/_next/fa74e99a-3209-47d0-b35e-096852884958/page/_error.js" rel="nofollow">http://staging.loan-advisor.studylink.fr/_next/fa74e99a-3209-47d0-b35e-096852884958/page/_error.js</a> script, which, I guess, displays a 404?</p>
<p dir="auto">So, something is wrong when Next.js app tries to display something initially, but I have nothing to help me debug the issue <g-emoji class="g-emoji" alias="confused" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f615.png">😕</g-emoji></p>
<p dir="auto">Locally, everything works correctly, but I'm concerned about the lack of logs in the AWS environment, which makes it super hard to debug anything.</p>
<p dir="auto">I did force <code class="notranslate">quiet: false</code> when instanciating my Next.js app but it doesn't have any effect.</p>
<hr>
<p dir="auto">Edit: I made a simple debug page at <a href="https://staging.loan-advisor.studylink.fr/debug" rel="nofollow">https://staging.loan-advisor.studylink.fr/debug</a> which works fine and gets rendered correctly, so my first assumption is right, an exception happens in the index page which leads to throwing a 404 somehow. (instead of a 500 :/)</p> | <h1 dir="auto">Feature request</h1>
<h2 dir="auto">Is your feature request related to a problem? Please describe.</h2>
<p dir="auto">I see a lot of people using a separate component, just for adding an active class when a route is active. My suggestion is the add functional support for className in the link component.</p>
<p dir="auto">To give an example:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import Link from "./link";
// Example using classnames package.
import cx from "classnames";
<Link className={active => cx({ "text-gray-200": active })} href="/">
<a>Home</a>
</Link>;
// Example using pure javascript.
<Link className={active => active && "text-gray-200"} href="/">
<a>Home</a>
</Link>;"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-v">Link</span> <span class="pl-k">from</span> <span class="pl-s">"./link"</span><span class="pl-kos">;</span>
<span class="pl-c">// Example using classnames package.</span>
<span class="pl-k">import</span> <span class="pl-s1">cx</span> <span class="pl-k">from</span> <span class="pl-s">"classnames"</span><span class="pl-kos">;</span>
<span class="pl-c1"><</span><span class="pl-ent">Link</span> <span class="pl-c1">className</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">active</span> <span class="pl-c1">=></span> <span class="pl-en">cx</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-s">"text-gray-200"</span>: <span class="pl-s1">active</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">}</span> <span class="pl-c1">href</span><span class="pl-c1">=</span><span class="pl-s">"/"</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">a</span><span class="pl-c1">></span>Home<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">a</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">Link</span><span class="pl-c1">></span><span class="pl-kos">;</span>
<span class="pl-c">// Example using pure javascript.</span>
<span class="pl-c1"><</span><span class="pl-ent">Link</span> <span class="pl-c1">className</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">active</span> <span class="pl-c1">=></span> <span class="pl-s1">active</span> <span class="pl-c1">&&</span> <span class="pl-s">"text-gray-200"</span><span class="pl-kos">}</span> <span class="pl-c1">href</span><span class="pl-c1">=</span><span class="pl-s">"/"</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">a</span><span class="pl-c1">></span>Home<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">a</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">Link</span><span class="pl-c1">></span><span class="pl-kos">;</span></pre></div>
<h2 dir="auto">Describe the solution you'd like</h2>
<p dir="auto">My solution is to allow <code class="notranslate">className</code> to be both a string and a function; When then component identifies the <code class="notranslate">className</code> as a function, call the method with the first argument is a boolean if the route is active then true else false.</p>
<h2 dir="auto">Describe alternatives you've considered</h2>
<p dir="auto">An alternative solution is to implement the component yourself, as I have done so far.</p>
<p dir="auto">Another way would be creating a component with an <code class="notranslate">activeClassName</code> attribute but this prevents support for class IntelliSense in editors as VSCode.</p>
<p dir="auto">The reason I suggest this is because as the latest releases show, next.js is all about zero-config and not too much complexity. So why not implement such used feature into the existing Link component.</p>
<h2 dir="auto">Additional context</h2>
<p dir="auto">My current solution to this request is using a custom component.</p>
<p dir="auto">Made a gist to my component and a small example here: <a href="https://gist.github.com/ch99q/b417990540d2ef91870e1af99ac6a516">https://gist.github.com/ch99q/b417990540d2ef91870e1af99ac6a516</a></p> | 0 |
<p dir="auto">The Git history for this repository is invalid. You'll run into this if you enable verification of the history in your configuration (which should really be the default):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[transfer]
fsckobjects = true
[fetch]
fsckobjects = true
[receive]
fsckobjects = true"><pre class="notranslate"><code class="notranslate">[transfer]
fsckobjects = true
[fetch]
fsckobjects = true
[receive]
fsckobjects = true
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="% git clone https://github.com/kennethreitz/requests.git
Cloning into 'requests'...
remote: Counting objects: 16580, done.
error: object 5e6ecdad9f69b1ff789a17733b8edc6fd7091bd8: badTimezone: invalid author/committer line - bad time zone
fatal: Error in object"><pre class="notranslate"><code class="notranslate">% git clone https://github.com/kennethreitz/requests.git
Cloning into 'requests'...
remote: Counting objects: 16580, done.
error: object 5e6ecdad9f69b1ff789a17733b8edc6fd7091bd8: badTimezone: invalid author/committer line - bad time zone
fatal: Error in object
</code></pre></div>
<p dir="auto">If you look at the commit with verification disabled, you can see the problem:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="commit 5e6ecdad9f69b1ff789a17733b8edc6fd7091bd8
Author: Shrikant Sharat Kandula <shrikantsharat.k@gmail.com>
Date: Thu Sep 8 02:38:50 2011 +51800
Typo in documentation
The kwarg is named `headers`, not `header`. Also, its a dict, not a set."><pre class="notranslate"><code class="notranslate">commit 5e6ecdad9f69b1ff789a17733b8edc6fd7091bd8
Author: Shrikant Sharat Kandula <shrikantsharat.k@gmail.com>
Date: Thu Sep 8 02:38:50 2011 +51800
Typo in documentation
The kwarg is named `headers`, not `header`. Also, its a dict, not a set.
</code></pre></div>
<p dir="auto">I don't have a suggestion on how to approach this. It's quite unfortunate. The history would probably have to be rewritten, and that would be awful. I do think it's worth noting though... verification by default may become the default on various distributions or even upstream.</p> | <p dir="auto">Hi Kenneth,<br>
I'd like to see this feature: allow developers to specify more hooks per category, and let them be applied in pipe.<br>
I'll be very glad to produce a patch.</p> | 0 |
<h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => Any version:</li>
<li>Operating System / Platform => Windows 64 Bit and Windows 32 Bit</li>
<li>Compiler => Visual Studio 2015</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">dist.h compile without NEON or GNUC</p>
<p dir="auto">It will cause Memory out of bound Error!!<br>
Because size * sizeof(pop_t), larger than original size</p>
<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/opencv/opencv/blob/b39cd06249213220e802bb64260727711d9fc98c/modules/flann/include/opencv2/flann/dist.h#L468">opencv/modules/flann/include/opencv2/flann/dist.h</a>
</p>
<p class="mb-0 color-fg-muted">
Line 468
in
<a data-pjax="true" class="commit-tease-sha" href="/opencv/opencv/commit/b39cd06249213220e802bb64260727711d9fc98c">b39cd06</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="L468" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="468"></td>
<td id="LC468" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">reinterpret_cast</span><<span class="pl-k">const</span> <span class="pl-k">unsigned</span> <span class="pl-k">char</span>*> (b), size * <span class="pl-k">sizeof</span>(<span class="pl-c1">pop_t</span>)); </td>
</tr>
</tbody></table>
</div>
</div>
<p></p>
<h5 dir="auto">Steps to reproduce</h5> | <h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => : 4.1.2:</li>
<li>Operating System / Platform => :Windows 64 Bit:</li>
<li>Compiler => :Visual Studio 2015:</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<h5 dir="auto">Steps to reproduce</h5>
<p dir="auto">I converted from a keras model to tensorflow. But I get this error. Has anyone already encountered this type of error?</p> | 0 |
<ul class="contains-task-list">
<li class="task-list-item">
<p dir="auto"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the <code class="notranslate">@types/lodash</code> package and had problems.</p>
</li>
<li class="task-list-item">
<p dir="auto"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the latest stable version of tsc. <a href="https://www.npmjs.com/package/typescript" rel="nofollow">https://www.npmjs.com/package/typescript</a></p>
</li>
<li class="task-list-item">
<p dir="auto"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have a question that is inappropriate for <a href="https://stackoverflow.com/" rel="nofollow">StackOverflow</a>.</p>
</li>
<li>
<p dir="auto">Authors: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bczengel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bczengel">@bczengel</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/chrootsu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/chrootsu">@chrootsu</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/stepancar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/stepancar">@stepancar</a></p>
</li>
</ul>
<h3 dir="auto">Ref</h3>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="271294027" data-permission-text="Title is private" data-url="https://github.com/lodash/lodash/issues/3475" data-hovercard-type="issue" data-hovercard-url="/lodash/lodash/issues/3475/hovercard" href="https://github.com/lodash/lodash/issues/3475">lodash/lodash#3475</a></p>
<h2 dir="auto">Error Details</h2>
<h3 dir="auto">Code</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import * as _ from "lodash";
const res = _.chain([1, 2, 3]).take(1);"><pre class="notranslate"><code class="notranslate">import * as _ from "lodash";
const res = _.chain([1, 2, 3]).take(1);
</code></pre></div>
<h3 dir="auto">Error</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="sh-3.2# tsc
index.ts(3,13): error TS2684: The 'this' context of type 'LoDashExplicitWrapper<number[]>' is not assignable to method's 'this' of type'LoDashExplicitWrapper<ArrayLike<number> | null | undefined>'. Types of property 'push' are incompatible.
Type '<T>(this: _.LoDashExplicitWrapper<ArrayLike<T> | null | undefined>, ...items: T[]) => _.LoDashExp...' is not assignable to typ
e '<T>(this: _.LoDashExplicitWrapper<ArrayLike<T> | null | undefined>, ...items: T[]) => _.LoDashExp...'. Two different types with this
name exist, but they are unrelated.
Type 'LoDashExplicitWrapper<number[]>' is not assignable to type 'LoDashExplicitWrapper<ArrayLike<number> | null | undefined>'.
sh-3.2#"><pre class="notranslate"><code class="notranslate">sh-3.2# tsc
index.ts(3,13): error TS2684: The 'this' context of type 'LoDashExplicitWrapper<number[]>' is not assignable to method's 'this' of type'LoDashExplicitWrapper<ArrayLike<number> | null | undefined>'. Types of property 'push' are incompatible.
Type '<T>(this: _.LoDashExplicitWrapper<ArrayLike<T> | null | undefined>, ...items: T[]) => _.LoDashExp...' is not assignable to typ
e '<T>(this: _.LoDashExplicitWrapper<ArrayLike<T> | null | undefined>, ...items: T[]) => _.LoDashExp...'. Two different types with this
name exist, but they are unrelated.
Type 'LoDashExplicitWrapper<number[]>' is not assignable to type 'LoDashExplicitWrapper<ArrayLike<number> | null | undefined>'.
sh-3.2#
</code></pre></div>
<h3 dir="auto">Environment</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ ts: '1.0.0',
npm: '5.5.1',
ares: '1.10.1-DEV',
cldr: '31.0.1',
http_parser: '2.7.0',
icu: '59.1',
modules: '57',
nghttp2: '1.25.0',
node: '8.9.0',
openssl: '1.0.2l',
tz: '2017b',
unicode: '9.0',
uv: '1.15.0',
v8: '6.1.534.46',
zlib: '1.2.11' }"><pre class="notranslate"><code class="notranslate">{ ts: '1.0.0',
npm: '5.5.1',
ares: '1.10.1-DEV',
cldr: '31.0.1',
http_parser: '2.7.0',
icu: '59.1',
modules: '57',
nghttp2: '1.25.0',
node: '8.9.0',
openssl: '1.0.2l',
tz: '2017b',
unicode: '9.0',
uv: '1.15.0',
v8: '6.1.534.46',
zlib: '1.2.11' }
</code></pre></div>
<h3 dir="auto">Typescript</h3>
<p dir="auto">version : 2.6.1<br>
target: "es6"<br>
module: "commonjs"<br>
types/lodash: 4.14.82</p> | <p dir="auto">_.chain from <code class="notranslate">@types/lodash</code> is broken on Typescript 2.6</p>
<p dir="auto">I have little knowledge of lodash internals, but the project that I'm working on uses it a lot. Using the new <code class="notranslate">@ts-ignore</code> silences the error, but I wanted to register it here.</p>
<h3 dir="auto">Reproducing:</h3>
<p dir="auto">install typescript ~2.6.0<br>
<code class="notranslate">tsc -init</code><br>
<code class="notranslate">npm i lodash @types/lodash --save</code><br>
index.ts:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import * as _ from 'lodash'
var a = _.chain([1,2,3]).map((x) => { return x + 1 })
console.log(a.value())"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-s1">_</span> <span class="pl-k">from</span> <span class="pl-s">'lodash'</span>
<span class="pl-k">var</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-s1">_</span><span class="pl-kos">.</span><span class="pl-en">chain</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span><span class="pl-c1">2</span><span class="pl-kos">,</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-en">map</span><span class="pl-kos">(</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-k">return</span> <span class="pl-s1">x</span> <span class="pl-c1">+</span> <span class="pl-c1">1</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-s1">a</span><span class="pl-kos">.</span><span class="pl-en">value</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">run <code class="notranslate">tsc</code></p>
<h3 dir="auto">Result:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="index.ts(3,9): error TS2684: The 'this' context of type 'LoDashExplicitWrapper<number[]>' is not assignable to method's 'this' of type 'LoDashExplicitWrapper<ArrayLike<number> | Dictionary<number> | NumericDictionary<number> | null |...'.
Types of property 'push' are incompatible.
Type '<T>(this: _.LoDashExplicitWrapper<ArrayLike<T> | null | undefined>, ...items: T[]) => _.LoDashExp...' is not assignable to type '<T>(this: _.LoDashExplicitWrapper<ArrayLike<T> | null | undefined>, ...items: T[]) => _.LoDashExp...'. Two different types with this name exist, but they are unrelated.
Type 'LoDashExplicitWrapper<number[]>' is not assignable to type 'LoDashExplicitWrapper<ArrayLike<number> | Dictionary<number> | NumericDictionary<number> | null |...'.
index.ts(3,31): error TS7006: Parameter 'x' implicitly has an 'any' type."><pre class="notranslate"><code class="notranslate">index.ts(3,9): error TS2684: The 'this' context of type 'LoDashExplicitWrapper<number[]>' is not assignable to method's 'this' of type 'LoDashExplicitWrapper<ArrayLike<number> | Dictionary<number> | NumericDictionary<number> | null |...'.
Types of property 'push' are incompatible.
Type '<T>(this: _.LoDashExplicitWrapper<ArrayLike<T> | null | undefined>, ...items: T[]) => _.LoDashExp...' is not assignable to type '<T>(this: _.LoDashExplicitWrapper<ArrayLike<T> | null | undefined>, ...items: T[]) => _.LoDashExp...'. Two different types with this name exist, but they are unrelated.
Type 'LoDashExplicitWrapper<number[]>' is not assignable to type 'LoDashExplicitWrapper<ArrayLike<number> | Dictionary<number> | NumericDictionary<number> | null |...'.
index.ts(3,31): error TS7006: Parameter 'x' implicitly has an 'any' type.
</code></pre></div>
<h3 dir="auto">Dependencies:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" "@types/lodash": "^4.14.80",
"lodash": "^4.17.4""><pre class="notranslate"><code class="notranslate"> "@types/lodash": "^4.14.80",
"lodash": "^4.17.4"
</code></pre></div>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/aj-r/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/aj-r">@aj-r</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/thorn0/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/thorn0">@thorn0</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/andy-ms/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andy-ms">@andy-ms</a> any ideas?</p> | 1 |
<p dir="auto"><strong>Elasticsearch version</strong>:<br>
5.0<br>
<strong>Plugins installed</strong>: []<br>
x-pack<br>
<strong>JVM version</strong>:<br>
1.8<br>
<strong>OS version</strong>:<br>
ubuntu 14.05<br>
<strong>Description of the problem including expected versus actual behavior</strong>:</p>
<p dir="auto">enter command<br>
service elasticsearch start<br>
after 10s failed.<br>
/var/log/elasticsearch there is no logs.<br>
so I was test /etc/init.d/elasticsearch, it seems to timeout and immediately finished.<br>
I have no idea... what can i do anything?<br>
thanks your support.</p>
<p dir="auto"><strong>Steps to reproduce</strong>:<br>
1.<br>
2.<br>
3.</p>
<p dir="auto"><strong>Provide logs (if relevant)</strong>:</p>
<p dir="auto"><strong>Describe the feature</strong>:</p> | <p dir="auto"><strong>Elasticsearch version</strong>: 5.0.0</p>
<p dir="auto"><strong>Plugins installed</strong>: none</p>
<p dir="auto"><strong>JVM version</strong>:<br>
openjdk version "1.8.0_91"<br>
OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-0ubuntu4~14.04-b14)<br>
OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)</p>
<p dir="auto"><strong>OS version</strong>: Ubuntu 14.04.5 LTS</p>
<p dir="auto"><strong>Description of the problem including expected versus actual behavior</strong>: Elasticsearch fails to start, doesn't gives any logs.</p>
<p dir="auto"><strong>Steps to reproduce</strong>: I'm using Ansible script to create my infrastructure. I had the same issue when I tried to upgrade my ES from 2.3 to ES 5.0. To determine the root cause, I've tried it in a new server with no installations.</p>
<ul dir="auto">
<li>
<p dir="auto">name: Install apt-transport-https<br>
apt: name=apt-transport-https state=present</p>
</li>
<li>
<p dir="auto">name: Add Java (OpenJDK) Repository<br>
apt_repository: repo='ppa:openjdk-r/ppa' state=present</p>
</li>
<li>
<p dir="auto">name: Install Java (OpenJDK)<br>
apt: pkg=openjdk-8-jdk state=installed update_cache=yes</p>
</li>
<li>
<p dir="auto">name: Add Elasticsearch Key<br>
apt_key:<br>
url: '<a href="https://artifacts.elastic.co/GPG-KEY-elasticsearch" rel="nofollow">https://artifacts.elastic.co/GPG-KEY-elasticsearch</a>'</p>
</li>
<li>
<p dir="auto">name: Add Elasticsearch Repository<br>
apt_repository: repo='deb <a href="https://artifacts.elastic.co/packages/5.x/apt" rel="nofollow">https://artifacts.elastic.co/packages/5.x/apt</a> stable main' state=present</p>
</li>
<li>
<p dir="auto">name: Install Elasticsearch<br>
apt: pkg=elasticsearch state=installed update_cache=yes</p>
</li>
<li>
<p dir="auto">name: Init Elasticsearch<br>
command: update-rc.d elasticsearch defaults 95 10</p>
</li>
<li>
<p dir="auto">name: Enable Elasticsearch (Start on boot)<br>
service: name=elasticsearch enabled=yes</p>
</li>
</ul>
<p dir="auto"><strong>Provide logs (if relevant)</strong>: I don't see any logs, link to the YML file.<br>
<a href="https://gist.github.com/ronakjain90/08ae1c225f806af81e383aba24804a60">https://gist.github.com/ronakjain90/08ae1c225f806af81e383aba24804a60</a></p>
<p dir="auto"><strong>Describe the feature</strong>: Since I'm just trying to install the ES with no extra plugins, it seems weird that it just fails to start providing no clue why is it is crashing, since there are no logs that I can see. ES 5.0 works fine in my MacBook though.</p> | 1 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/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.4.1</li>
<li>Operating System version: win10</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>zookeeper客户端连接服务时采用的时异步的方式,当连接时间所需较长时,导致使用Stat监听节点时报未连接异常</li>
</ol>
<p dir="auto">自己尝试的解决方案:<a href="https://blog.csdn.net/fate_destiny/article/details/103066932" rel="nofollow">https://blog.csdn.net/fate_destiny/article/details/103066932</a></p>
<h3 dir="auto">Actual Result</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Exception in thread "main" java.lang.IllegalStateException: zookeeper not connected
at org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.<init>(CuratorZookeeperClient.java:83)
at org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperTransporter.createZookeeperClient(CuratorZookeeperTransporter.java:26)
at org.apache.dubbo.remoting.zookeeper.support.AbstractZookeeperTransporter.connect(AbstractZookeeperTransporter.java:68)
at org.apache.dubbo.remoting.zookeeper.ZookeeperTransporter$Adaptive.connect(ZookeeperTransporter$Adaptive.java)
at org.apache.dubbo.configcenter.support.zookeeper.ZookeeperDynamicConfiguration.<init>(ZookeeperDynamicConfiguration.java:62)
at org.apache.dubbo.configcenter.support.zookeeper.ZookeeperDynamicConfigurationFactory.createDynamicConfiguration(ZookeeperDynamicConfigurationFactory.java:37)
at org.apache.dubbo.configcenter.AbstractDynamicConfigurationFactory.getDynamicConfiguration(AbstractDynamicConfigurationFactory.java:33)
at org.apache.dubbo.config.AbstractInterfaceConfig.getDynamicConfiguration(AbstractInterfaceConfig.java:315)
at org.apache.dubbo.config.AbstractInterfaceConfig.prepareEnvironment(AbstractInterfaceConfig.java:290)
at org.apache.dubbo.config.AbstractInterfaceConfig.startConfigCenter(AbstractInterfaceConfig.java:280)
at org.apache.dubbo.config.AbstractInterfaceConfig.lambda$null$7(AbstractInterfaceConfig.java:636)
at java.util.Optional.orElseGet(Optional.java:267)
at org.apache.dubbo.config.AbstractInterfaceConfig.lambda$useRegistryForConfigIfNecessary$8(AbstractInterfaceConfig.java:620)
at java.util.Optional.ifPresent(Optional.java:159)
at org.apache.dubbo.config.AbstractInterfaceConfig.useRegistryForConfigIfNecessary(AbstractInterfaceConfig.java:618)
at org.apache.dubbo.config.AbstractInterfaceConfig.checkRegistry(AbstractInterfaceConfig.java:208)
at org.apache.dubbo.config.ServiceConfig.checkAndUpdateSubConfigs(ServiceConfig.java:303)
at org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:370)
at org.apache.dubbo.config.spring.ServiceBean.export(ServiceBean.java:336)
at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:114)
at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:60)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:883)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
at Provider.main(Provider.java:5)
Caused by: java.lang.IllegalStateException: zookeeper not connected
at org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.<init>(CuratorZookeeperClient.java:80)
... 30 more"><pre class="notranslate"><code class="notranslate">Exception in thread "main" java.lang.IllegalStateException: zookeeper not connected
at org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.<init>(CuratorZookeeperClient.java:83)
at org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperTransporter.createZookeeperClient(CuratorZookeeperTransporter.java:26)
at org.apache.dubbo.remoting.zookeeper.support.AbstractZookeeperTransporter.connect(AbstractZookeeperTransporter.java:68)
at org.apache.dubbo.remoting.zookeeper.ZookeeperTransporter$Adaptive.connect(ZookeeperTransporter$Adaptive.java)
at org.apache.dubbo.configcenter.support.zookeeper.ZookeeperDynamicConfiguration.<init>(ZookeeperDynamicConfiguration.java:62)
at org.apache.dubbo.configcenter.support.zookeeper.ZookeeperDynamicConfigurationFactory.createDynamicConfiguration(ZookeeperDynamicConfigurationFactory.java:37)
at org.apache.dubbo.configcenter.AbstractDynamicConfigurationFactory.getDynamicConfiguration(AbstractDynamicConfigurationFactory.java:33)
at org.apache.dubbo.config.AbstractInterfaceConfig.getDynamicConfiguration(AbstractInterfaceConfig.java:315)
at org.apache.dubbo.config.AbstractInterfaceConfig.prepareEnvironment(AbstractInterfaceConfig.java:290)
at org.apache.dubbo.config.AbstractInterfaceConfig.startConfigCenter(AbstractInterfaceConfig.java:280)
at org.apache.dubbo.config.AbstractInterfaceConfig.lambda$null$7(AbstractInterfaceConfig.java:636)
at java.util.Optional.orElseGet(Optional.java:267)
at org.apache.dubbo.config.AbstractInterfaceConfig.lambda$useRegistryForConfigIfNecessary$8(AbstractInterfaceConfig.java:620)
at java.util.Optional.ifPresent(Optional.java:159)
at org.apache.dubbo.config.AbstractInterfaceConfig.useRegistryForConfigIfNecessary(AbstractInterfaceConfig.java:618)
at org.apache.dubbo.config.AbstractInterfaceConfig.checkRegistry(AbstractInterfaceConfig.java:208)
at org.apache.dubbo.config.ServiceConfig.checkAndUpdateSubConfigs(ServiceConfig.java:303)
at org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:370)
at org.apache.dubbo.config.spring.ServiceBean.export(ServiceBean.java:336)
at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:114)
at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:60)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:883)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
at Provider.main(Provider.java:5)
Caused by: java.lang.IllegalStateException: zookeeper not connected
at org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.<init>(CuratorZookeeperClient.java:80)
... 30 more
</code></pre></div> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.5</li>
<li>Operating System version: MAC OS X</li>
<li>Java version: Hotspot 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto">1.define method<br>
void add(Map<Integer, Student> map)<br>
2.config<br>
<dubbo:protocol name="dubbo" port="20880" serialization="fastjson" /><br>
3.call method add.</p>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">provider deserialize Map<Integer, Student> ok, map's value is Student type.</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">Map's value is JSONObject type.</p>
<p dir="auto">Because in DecodeableRpcInvocation#decode(Channel channel, InputStream input),<br>
pts = methodDescriptor.getParameterClasses(), not ParameterizedType, in this case, fastjson unable parse Map's value is Student.</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here!
</code></pre></div> | 0 |
<ul dir="auto">
<li>Electron version: 0.30+</li>
<li>Operating system: Windows, Mac & Linux</li>
</ul>
<p dir="auto">There are plenty of small & large desktop applications <a href="https://github.com/sindresorhus/awesome-electron">made in Electron</a>, and while core application logic may be under a few megabytes, the installer (having its own Electron bundled) itself adds over 60 MB of weight. Once I have couple of Electron based apps installed, I have multiple Electron binaries installed dedicated for each single app.</p>
<p dir="auto">Now, I'm aware that each such app <strong>may be using a different version of Electron itself (relying on features & bugs of a particular version to get the job done)</strong>, but that's the point here, to make sure that run-time serves the platform and apps carry just its own dependencies (NPM modules unrelated of Electron), thus making resulting installers way less in size. Look at JVM or Adobe AIR, for example.</p>
<p dir="auto">Obviously there can be special scenarios where Electron is patched for a particular app (<a href="https://github.com/brave/browser-laptop">Brave</a> browser for instance, has process sandboxing enabled, a feature not natively supported in Electron itself), in such case installer can carry runtime along, but trivial applications don't need it.</p>
<p dir="auto"><a href="https://github.com/brrd/Abricotine/releases">Abricotine</a> is one such example, where it is plain Markdown editor (and source is measly <strong>2 MB</strong>), but 64bit Windows installer is <strong>75 MB!</strong>.</p>
<p dir="auto">This problem of redundant installations is only going to add bloat as adoption of technologies like Electron & NW.js increases to create Desktop applications (being dead simple to get apps running instead of going a native route).</p>
<p dir="auto">Thanks.</p> | <p dir="auto">Currently developers using atom-shell have to ship the whole atom-shell binaries when distributing their apps, but since now we have <a href="https://github.com/atom/asar">asar</a> as atom-shell's app format, we may add runtime mode to atom-shell like <a href="http://www.adobe.com/products/air.html" rel="nofollow">Adobe Air</a> or <a href="https://developers.google.com/chrome/apps/docs/developers_guide" rel="nofollow">Chrome Hosted Apps</a> that developers only need to distribute packaged app in <code class="notranslate">asar</code> format as long as end users have the runtime mode of atom-shell installed.</p>
<p dir="auto">The runtime mode can just be another app based on atom-shell (let's call it <code class="notranslate">atom-runtime</code> for now), and has deep platform integrations:</p>
<ul dir="auto">
<li>On Windows, we can provide installer and auto updater for atom-runtime, and register the <code class="notranslate">.asar</code> file type to be opened with it.</li>
<li>On Linux, we provide official software sources of atom-runtime for some popular distributions, and also register atom-runtime as handler of <code class="notranslate">.asar</code> files.</li>
<li>On Mac, we need to provide a tool to help users package their apps into Mac bundles. We can reference how Steam created bundles for downloaded games, or how Parallel created bundles for applications in hosted OS.</li>
</ul>
<p dir="auto">We can even provide a tool or service to help generating installers for developers' apps which can automatically download atom-runtime if it is not installed on user's machine, just like many .NET applications.</p> | 1 |
<p dir="auto">Atom crashes every time when I try to open it, from command line and from dock. It crashes immediately after opening, I can't even see the window. I have used atom in my computer few months with out any problem.</p>
<p dir="auto">When opening atom from terminal it prints following message every time:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="LSOpenURLsWithRole() failed for the application /Applications/Atom.app with error -10810."><pre class="notranslate"><code class="notranslate">LSOpenURLsWithRole() failed for the application /Applications/Atom.app with error -10810.
</code></pre></div>
<p dir="auto">And OS X opens "Problem Report for Atom" window.</p>
<p dir="auto">It contains following information</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Process: Atom [27076]
Path: /Applications/Atom.app/Contents/MacOS/Atom
Identifier: com.github.atom
Version: ???
Code Type: X86-64 (Native)
Parent Process: launchd [353]
Responsible: Atom [27076]
User ID: 501
Date/Time: 2015-03-27 23:58:27.061 +0200
OS Version: Mac OS X 10.9.5 (13F1066)
Report Version: 11
...
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: @rpath/libchromiumcontent.dylib
Referenced from: /Applications/Atom.app/Contents/Frameworks/Atom Framework.framework/Versions/A/Atom Framework
Reason: image not found
Binary Images:
0x7fff6e412000 - 0x7fff6e445817 dyld (239.4) <7AD43B9B-5CEA-3C7E-9836-A06909F9CA56> /usr/lib/dyld
0x7fff855f1000 - 0x7fff855f1fff com.apple.Carbon (154 - 157) <45A9A40A-78FF-3EA0-8FAB-A4F81052FA55> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x7fff8727d000 - 0x7fff87419ff3 com.apple.QuartzCore (1.8 - 332.3) <72003E51-1287-395B-BCBC-331597D45C5E> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x7fff8ee6d000 - 0x7fff8eebffff libc++.1.dylib (120) <4F68DFC5-2077-39A8-A449-CAC5FDEE7BDE> /usr/lib/libc++.1.dylib
0x7fff90102000 - 0x7fff90103ff7 libSystem.B.dylib (1197.1.1) <E303F2F8-A8CF-3DF3-84B3-F2D0EE41CCF6> /usr/lib/libSystem.B.dylib"><pre class="notranslate"><code class="notranslate">Process: Atom [27076]
Path: /Applications/Atom.app/Contents/MacOS/Atom
Identifier: com.github.atom
Version: ???
Code Type: X86-64 (Native)
Parent Process: launchd [353]
Responsible: Atom [27076]
User ID: 501
Date/Time: 2015-03-27 23:58:27.061 +0200
OS Version: Mac OS X 10.9.5 (13F1066)
Report Version: 11
...
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: @rpath/libchromiumcontent.dylib
Referenced from: /Applications/Atom.app/Contents/Frameworks/Atom Framework.framework/Versions/A/Atom Framework
Reason: image not found
Binary Images:
0x7fff6e412000 - 0x7fff6e445817 dyld (239.4) <7AD43B9B-5CEA-3C7E-9836-A06909F9CA56> /usr/lib/dyld
0x7fff855f1000 - 0x7fff855f1fff com.apple.Carbon (154 - 157) <45A9A40A-78FF-3EA0-8FAB-A4F81052FA55> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x7fff8727d000 - 0x7fff87419ff3 com.apple.QuartzCore (1.8 - 332.3) <72003E51-1287-395B-BCBC-331597D45C5E> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x7fff8ee6d000 - 0x7fff8eebffff libc++.1.dylib (120) <4F68DFC5-2077-39A8-A449-CAC5FDEE7BDE> /usr/lib/libc++.1.dylib
0x7fff90102000 - 0x7fff90103ff7 libSystem.B.dylib (1197.1.1) <E303F2F8-A8CF-3DF3-84B3-F2D0EE41CCF6> /usr/lib/libSystem.B.dylib
</code></pre></div> | <p dir="auto">I am unable to open Atom from the command line on Mac OS X 10.10 (Beta 4)—I don't remember when it broke or what caused it, but re-downloading/re-installing the command line tools didn't fix it. I believe this is different from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22363953" data-permission-text="Title is private" data-url="https://github.com/atom/atom/issues/1103" data-hovercard-type="issue" data-hovercard-url="/atom/atom/issues/1103/hovercard" href="https://github.com/atom/atom/issues/1103">#1103</a> because I'm on Atom <code class="notranslate">0.119.0</code>.</p>
<p dir="auto">I investigated which line of <code class="notranslate">/usr/local/bin/atom</code> was causing the error and discovered that</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="open -a /Applications/Atom.app"><pre class="notranslate"><code class="notranslate">open -a /Applications/Atom.app
</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="open -a /Applications/Atom.app -n"><pre class="notranslate"><code class="notranslate">open -a /Applications/Atom.app -n
</code></pre></div>
<p dir="auto">causes the error.</p>
<p dir="auto">Full error message:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="LSOpenURLsWithRole() failed for the application /Applications/Atom.app with error -10810."><pre class="notranslate"><code class="notranslate">LSOpenURLsWithRole() failed for the application /Applications/Atom.app with error -10810.
</code></pre></div> | 1 |
<p dir="auto"><strong>TypeScript Version:</strong></p>
<p dir="auto">1.8.7</p>
<p dir="auto">compiled: <code class="notranslate">tsc --noImplicitAny error.ts</code><br>
(the behavior is exactly the same with or without <code class="notranslate">--noImplictAny</code>)</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="// A self-contained demonstration of the problem follows...
type Greeting = "hello" | "goodbye"
const apply = <T extends string,R>(t: T, f: (t:T) => R): R => f(t)
const f1 = (a: Greeting) => console.log('greetings')
const f2 = (a: number) => console.log(3+a)
apply("hello", f1) /* 1. should be good. is good */
apply("helo", f1) /* 2a. should be error. is good */
apply<Greeting, void>("helo", f1) /* 2b. should be error. is error */
apply("hello", f2) /* 3. should be error. is error */
apply(3, f1) /* 4. should be error. is error */
apply(3, f2) /* 5. should be error. is error */
"><pre class="notranslate"><span class="pl-c">// A self-contained demonstration of the problem follows...</span>
<span class="pl-k">type</span> <span class="pl-smi">Greeting</span> <span class="pl-c1">=</span> <span class="pl-s">"hello"</span> <span class="pl-c1">|</span> <span class="pl-s">"goodbye"</span>
<span class="pl-k">const</span> <span class="pl-en">apply</span> <span class="pl-c1">=</span> <span class="pl-c1"><</span><span class="pl-smi">T</span> <span class="pl-k">extends</span> <span class="pl-smi">string</span><span class="pl-kos">,</span><span class="pl-smi">R</span><span class="pl-c1">></span><span class="pl-kos">(</span><span class="pl-s1">t</span>: <span class="pl-smi">T</span><span class="pl-kos">,</span> <span class="pl-s1">f</span>: <span class="pl-kos">(</span><span class="pl-s1">t</span>:<span class="pl-smi">T</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-smi">R</span><span class="pl-kos">)</span>: <span class="pl-smi">R</span> <span class="pl-c1">=></span> <span class="pl-en">f</span><span class="pl-kos">(</span><span class="pl-s1">t</span><span class="pl-kos">)</span>
<span class="pl-k">const</span> <span class="pl-en">f1</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-s1">a</span>: <span class="pl-smi">Greeting</span><span class="pl-kos">)</span> <span class="pl-c1">=></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">'greetings'</span><span class="pl-kos">)</span>
<span class="pl-k">const</span> <span class="pl-en">f2</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-s1">a</span>: <span class="pl-smi">number</span><span class="pl-kos">)</span> <span class="pl-c1">=></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-c1">3</span><span class="pl-c1">+</span><span class="pl-s1">a</span><span class="pl-kos">)</span>
<span class="pl-en">apply</span><span class="pl-kos">(</span><span class="pl-s">"hello"</span><span class="pl-kos">,</span> <span class="pl-s1">f1</span><span class="pl-kos">)</span> <span class="pl-c">/* 1. should be good. is good */</span>
<span class="pl-en">apply</span><span class="pl-kos">(</span><span class="pl-s">"helo"</span><span class="pl-kos">,</span> <span class="pl-s1">f1</span><span class="pl-kos">)</span> <span class="pl-c">/* 2a. should be error. is good */</span>
<span class="pl-en">apply</span><span class="pl-kos"><</span><span class="pl-smi">Greeting</span><span class="pl-kos">,</span> <span class="pl-smi"><span class="pl-k">void</span></span><span class="pl-kos">></span><span class="pl-kos">(</span><span class="pl-s">"helo"</span><span class="pl-kos">,</span> <span class="pl-s1">f1</span><span class="pl-kos">)</span> <span class="pl-c">/* 2b. should be error. is error */</span>
<span class="pl-en">apply</span><span class="pl-kos">(</span><span class="pl-s">"hello"</span><span class="pl-kos">,</span> <span class="pl-s1">f2</span><span class="pl-kos">)</span> <span class="pl-c">/* 3. should be error. is error */</span>
<span class="pl-en">apply</span><span class="pl-kos">(</span><span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-s1">f1</span><span class="pl-kos">)</span> <span class="pl-c">/* 4. should be error. is error */</span>
<span class="pl-en">apply</span><span class="pl-kos">(</span><span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-s1">f2</span><span class="pl-kos">)</span> <span class="pl-c">/* 5. should be error. is error */</span></pre></div>
<p dir="auto"><strong>Expected behavior:</strong><br>
2-5 should have an error:</p>
<p dir="auto">2 should have an error because <code class="notranslate">"helo"</code> is not a member of <code class="notranslate">"hello"|"goodbye"</code><br>
3 should have an error because <code class="notranslate">"hello"</code> is not a <code class="notranslate">number</code><br>
4 should have an error because <code class="notranslate">3</code> is not a member of <code class="notranslate">"hello"|"goodbye"</code> and because <code class="notranslate">3</code> is not a member of type which <code class="notranslate">extends string</code><br>
5 should have an error because <code class="notranslate">3</code> is not a member of a type which <code class="notranslate">extends string</code>, and because <code class="notranslate">number</code> does not <code class="notranslate">extend string</code>.</p>
<p dir="auto"><strong>Actual behavior:</strong><br>
1, 2b, 3-5 are correct<br>
2a passes typechecking even though it should be equivalent to 2b</p> | <p dir="auto"><strong>TypeScript Version:</strong></p>
<p dir="auto">1.8.9</p>
<p dir="auto"><strong>Code</strong></p>
<p dir="auto">Based on <a href="https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API">Using the Compiler API</a>, to generate an AST, use <code class="notranslate">createSourceFile</code> like this:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// A self-contained demonstration of the problem follows...
ts.createSourceFile(<filename>, <file content>, ts.ScriptTarget.ES6, true)"><pre class="notranslate"><span class="pl-c">// A self-contained demonstration of the problem follows...</span>
<span class="pl-s1">ts</span><span class="pl-kos">.</span><span class="pl-en">createSourceFile</span><span class="pl-kos">(</span><span class="pl-c1"><</span><span class="pl-smi">filename</span><span class="pl-c1">></span><span class="pl-kos">,</span> <span class="pl-c1"><</span><span class="pl-s1">file</span> <span class="pl-smi">content</span><span class="pl-c1">></span><span class="pl-kos">,</span> <span class="pl-s1">ts</span><span class="pl-kos">.</span><span class="pl-c1">ScriptTarget</span><span class="pl-kos">.</span><span class="pl-c1">ES6</span><span class="pl-kos">,</span> <span class="pl-c1">true</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">What gets generated appears to be an untyped AST, i.e. the <code class="notranslate">.type</code> field only gets filled if it's declared explicitly in the source code.</p>
<p dir="auto">What I'm looking for is to generated the typed AST, i.e. having the sources being loaded and typed-checked.</p>
<p dir="auto">How can I do that? Thanks.</p> | 0 |
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import 'dart:async';
import 'package:flutter/widgets.dart';
final GlobalKey _kKey = new GlobalKey();
Future main() async {
runApp(new Block(
children: new List<Widget>.generate(
2,
(_) => new Padding(
padding: const EdgeInsets.all(8.0),
child: new Container(
key: _kKey,
width: 100.0,
height: 100.0,
decoration: new BoxDecoration(
backgroundColor: new Color(0xFFFFFF00)))))));
}
"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s">'dart:async'</span>;
<span class="pl-k">import</span> <span class="pl-s">'package:flutter/widgets.dart'</span>;
<span class="pl-k">final</span> <span class="pl-c1">GlobalKey</span> _kKey <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-c1">GlobalKey</span>();
<span class="pl-c1">Future</span> <span class="pl-en">main</span>() <span class="pl-k">async</span> {
<span class="pl-en">runApp</span>(<span class="pl-k">new</span> <span class="pl-c1">Block</span>(
children<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">List</span><<span class="pl-c1">Widget</span>>.<span class="pl-en">generate</span>(
<span class="pl-c1">2</span>,
(_) <span class="pl-k">=></span> <span class="pl-k">new</span> <span class="pl-c1">Padding</span>(
padding<span class="pl-k">:</span> <span class="pl-k">const</span> <span class="pl-c1">EdgeInsets</span>.<span class="pl-en">all</span>(<span class="pl-c1">8.0</span>),
child<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Container</span>(
key<span class="pl-k">:</span> _kKey,
width<span class="pl-k">:</span> <span class="pl-c1">100.0</span>,
height<span class="pl-k">:</span> <span class="pl-c1">100.0</span>,
decoration<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">BoxDecoration</span>(
backgroundColor<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Color</span>(<span class="pl-c1">0xFFFFFF00</span>)))))));
}
</pre></div> | <p dir="auto">If you're creating an app that has native and flutter components there is no way to share images or fonts between flutter and android/ios. This means that assets needed on both sides will have to be included in the binary twice and that could be expensive.</p> | 0 |
<p dir="auto">Runas blows up because it's using old nan, but upgrading it to latest doesn't seem to help, yet when I just run <code class="notranslate">npm install</code>, it all works >:| It'd be cool if we could get on official io.js for building so we could just replace all references of node.js everywhere in the docs</p> | <p dir="auto"><code class="notranslate">gyp http GET https://atom.io/download/atom-shell/v0.25.1/iojs-v0.25.1.tar.gz</code><br>
<code class="notranslate">gyp http 403 https://atom.io/download/atom-shell/v0.25.1/iojs-v0.25.1.tar.gz</code></p>
<p dir="auto">It looks already released but can't access. Is it temporary?<br>
<a href="https://github.com/atom/electron/releases">https://github.com/atom/electron/releases</a></p> | 1 |
<p dir="auto">When trying to drag the mouse in order to select text, nothing happen and the cursor stays where the mouse was first clicked. It also prevent from drag and dropping tabs in the same way.</p>
<p dir="auto">I had the same bug as soon as I updated my Google Chrome to version 41. I had to add this flag '--touch-devices=123' when opening it as mentionned in this issue tracker:</p>
<p dir="auto"><a href="https://code.google.com/p/chromium/issues/detail?id=456222#c102" rel="nofollow">https://code.google.com/p/chromium/issues/detail?id=456222#c102</a></p>
<p dir="auto">I do not know how I can add this flag for Atom?</p>
<p dir="auto">Windows 8.1 Host, Ubuntu 14.04 Guest, VirtualBox 4.3.26</p> | <p dir="auto">There is a <a href="https://code.google.com/p/chromium/issues/detail?id=456222" rel="nofollow">known issue</a> with Chrome41 engine running on Linux in VirtualBox. It actually became a show-stopper for Chrome42. <strong>TL;DR</strong>: in VB Chrome41 engine <em>always</em> runs in touch-screen mode, even on desktops.</p>
<p dir="auto">Hotfix in Chrome41 is to pass <code class="notranslate">--touch-devices=123</code> to the chrome command line.</p>
<p dir="auto">Is it possible to pass parameters to Atom’s command line so that chrome engine will understand them?</p> | 1 |
<ul dir="auto">
<li>Electron version: 1.4.3</li>
<li>Operating system: macOS Sierra 10.12</li>
<li>Description:<br>
I haven't found something in issues so I created it :) Maybe it is a duplicate. Than it can be closed :D<br>
However. It would be great if we can create separator in <a href="https://github.com/electron/electron/blob/master/docs/api/tray.md">Tray</a>.<br>
Like the <a href="https://github.com/electron/electron/blob/master/docs/api/menu-item.md">menu-item type separator</a>.</li>
</ul>
<p dir="auto">Current tray implementation (without separator):<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/10229883/19338769/6f00d0d6-911f-11e6-8505-9d818621811a.png"><img src="https://cloud.githubusercontent.com/assets/10229883/19338769/6f00d0d6-911f-11e6-8505-9d818621811a.png" alt="bildschirmfoto 2016-10-13 um 08 27 03" style="max-width: 100%;"></a><br>
(Here I like separators between upload and settings and between settings and close)</p>
<p dir="auto">Example of macOS:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/10229883/19338789/8d32ed0a-911f-11e6-9e43-77edcf3980f0.png"><img src="https://cloud.githubusercontent.com/assets/10229883/19338789/8d32ed0a-911f-11e6-9e43-77edcf3980f0.png" alt="bildschirmfoto 2016-10-13 um 08 28 29" style="max-width: 100%;"></a></p> | <ul dir="auto">
<li>Electron Version: 2.0.5</li>
<li>Operating System (Platform and Version): macOS Mojave beta4</li>
</ul>
<p dir="auto"><strong>Expected Behavior</strong><br>
Call <code class="notranslate">browserWindow.setProgressBar(0.5)</code>, the app hard crashes citing an unrecognized selector. Doesn't happen on High Sierra</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[_NSImageViewSimpleImageView setDoubleValue:]: unrecognized selector sent to instance 0x7fa6b7472040"><pre class="notranslate"><code class="notranslate">[_NSImageViewSimpleImageView setDoubleValue:]: unrecognized selector sent to instance 0x7fa6b7472040
</code></pre></div>
<p dir="auto"><strong>Actual behavior</strong><br>
Don't crash, set the progress bar</p>
<p dir="auto"><strong>To Reproduce</strong></p>
<p dir="auto">Clone the repo and press the crash button...</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="git clone https://github.com/wavebox/electron-quick-start.git -b mojave_set_progressbar_crash
cd electron-quick-start
npm install
npm start"><pre class="notranslate">git clone https://github.com/wavebox/electron-quick-start.git -b mojave_set_progressbar_crash
<span class="pl-c1">cd</span> electron-quick-start
npm install
npm start</pre></div> | 0 |
<p dir="auto">We should add some basic synchronization around multiple processes creating the node_modules folder at the same time. Basically do whatever <code class="notranslate">cargo build</code> does and have each process wait on the other.</p>
<p dir="auto">This is necessary because it seems like multiple processes creating junctions at the same time causes some weird issues with the junctions becoming invalid. Also, it's duplicate work for the two processes to do this.</p>
<p dir="auto">Edit: I have the code done for this... just need to write a test.</p> | <p dir="auto">I am using deno_core version 0.112.0 in my project. But when I make a release build and run it on another computer without cargo installed I get the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: The system cannot find the path specified. (os error 3)', C:\Users\user\.cargo\registry\src\github.com-1ecc6299db9ec823\deno_core-0.112.0\runtime.rs:390:38"><pre class="notranslate"><code class="notranslate">thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: The system cannot find the path specified. (os error 3)', C:\Users\user\.cargo\registry\src\github.com-1ecc6299db9ec823\deno_core-0.112.0\runtime.rs:390:38
</code></pre></div>
<p dir="auto">It appears to be trying to load <code class="notranslate">00_primordials.js</code> which doesn't exist on my other system. Deno ships in a single executable so i figured that it is possible to do the same with deno_core.</p> | 0 |
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong></p>
<p dir="auto">Report a bug.</p>
<p dir="auto"><strong>What is the current behavior?</strong></p>
<p dir="auto">Getting the following error while trying to hydrate SSR content.<br>
<code class="notranslate">Expected server HTML to contain a matching <linearGradient> in <defs>.</code></p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via <a href="https://jsfiddle.net" rel="nofollow">https://jsfiddle.net</a> or similar (template for React 16: <a href="https://jsfiddle.net/Luktwrdm/" rel="nofollow">https://jsfiddle.net/Luktwrdm/</a>, template for React 15: <a href="https://jsfiddle.net/hmbg7e9w/" rel="nofollow">https://jsfiddle.net/hmbg7e9w/</a>).</strong></p>
<p dir="auto">The following check returns false<br>
</p><div class="Box Box--condensed my-2">
<div class="Box-header f6">
<p class="mb-0 text-bold">
<a href="https://github.com/facebook/react/blob/177cd8525348c83a89962c426fa482b5c8ca4f39/packages/react-dom/src/client/ReactDOM.js#L453-L462">react/packages/react-dom/src/client/ReactDOM.js</a>
</p>
<p class="mb-0 color-fg-muted">
Lines 453 to 462
in
<a data-pjax="true" class="commit-tease-sha" href="/facebook/react/commit/177cd8525348c83a89962c426fa482b5c8ca4f39">177cd85</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="L453" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="453"></td>
<td id="LC453" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-c1">canHydrateInstance</span><span class="pl-kos">(</span> </td>
</tr>
<tr class="border-0">
<td id="L454" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="454"></td>
<td id="LC454" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">instance</span>: <span class="pl-v">Instance</span> <span class="pl-c1">|</span> <span class="pl-v">TextInstance</span><span class="pl-kos">,</span> </td>
</tr>
<tr class="border-0">
<td id="L455" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="455"></td>
<td id="LC455" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-c1">type</span>: <span class="pl-s1">string</span><span class="pl-kos">,</span> </td>
</tr>
<tr class="border-0">
<td id="L456" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="456"></td>
<td id="LC456" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-c1">props</span>: <span class="pl-v">Props</span><span class="pl-kos">,</span> </td>
</tr>
<tr class="border-0">
<td id="L457" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="457"></td>
<td id="LC457" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-kos">)</span>: <span class="pl-c1">boolean</span> <span class="pl-kos">{</span> </td>
</tr>
<tr class="border-0">
<td id="L458" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="458"></td>
<td id="LC458" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">return</span> <span class="pl-kos">(</span> </td>
</tr>
<tr class="border-0">
<td id="L459" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="459"></td>
<td id="LC459" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">instance</span><span class="pl-kos">.</span><span class="pl-s1">nodeType</span> <span class="pl-c1">===</span> <span class="pl-c1">ELEMENT_NODE</span> <span class="pl-c1">&&</span> </td>
</tr>
<tr class="border-0">
<td id="L460" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="460"></td>
<td id="LC460" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">type</span><span class="pl-kos">.</span><span class="pl-s1">toLowerCase</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">===</span> <span class="pl-c1">instance</span><span class="pl-kos">.</span><span class="pl-c1">nodeName</span><span class="pl-kos">.</span><span class="pl-c1">toLowerCase</span><span class="pl-kos">(</span><span class="pl-kos">)</span> </td>
</tr>
<tr class="border-0">
<td id="L461" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="461"></td>
<td id="LC461" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-kos">)</span><span class="pl-kos">;</span> </td>
</tr>
<tr class="border-0">
<td id="L462" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="462"></td>
<td id="LC462" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-kos">}</span><span class="pl-kos">,</span> </td>
</tr>
</tbody></table>
</div>
</div>
<p></p>
<p dir="auto">as <code class="notranslate">type</code> is <code class="notranslate">linearGradient</code> and <code class="notranslate">instance.nodeName.toLowerCase()</code> is <code class="notranslate">lineargradient</code></p>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto">Node types are compared correctly as SVG uses camelCase for tagName</p>
<p dir="auto"><strong>Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?</strong></p>
<p dir="auto">React 16</p> | <p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong><br>
Bug</p>
<p dir="auto"><strong>What is the current behavior?</strong><br>
I've started recieving this warning about my SVGs which is using <a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feGaussianBlur" rel="nofollow">feGaussianBlur</a>:<br>
<code class="notranslate">Warning: Expected server HTML to contain a matching <feGaussianBlur> in <filter>.</code></p>
<p dir="auto"><strong>What is the expected behavior?</strong><br>
Should be no warnings because there are no difference.</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>
Such behavior started right after updating to <code class="notranslate">React 16.0.0-rc.3</code> and never happened with <code class="notranslate">React 15.6.1</code></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">EC2_GROUP</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" ansible 2.2.0.0
config file =
configured module search path = Default w/o overrides
"><pre class="notranslate"><code class="notranslate"> ansible 2.2.0.0
config file =
configured module search path = Default w/o overrides
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">Amazon Linux 2016.09</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">"msg": "group referenced_group will be automatically created by rule {'to_port': 65535, 'from_port': 0, 'proto': 'tcp', 'group_name': 'referenced_group'} and no description was provided"</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">pip install ansible<br>
attempt to apply group with a reference to another group</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="---
- name: new_group
hosts: localhost
gather_facts: no
tasks:
- name: new_group
local_action:
module: ec2_group
name: new_group
description: new security group for some service
vpc_id: "{{ vpc }}"
region: "{{ region }}"
profile: "{{ profile }}"
rules:
- proto: tcp
from_port: 0
to_port: 65535
group_name: referenced_group
- proto: tcp
from_port: 22
to_port: 22
cidr_ip: "{{ access_cidr }}"
"><pre class="notranslate"><code class="notranslate">---
- name: new_group
hosts: localhost
gather_facts: no
tasks:
- name: new_group
local_action:
module: ec2_group
name: new_group
description: new security group for some service
vpc_id: "{{ vpc }}"
region: "{{ region }}"
profile: "{{ profile }}"
rules:
- proto: tcp
from_port: 0
to_port: 65535
group_name: referenced_group
- proto: tcp
from_port: 22
to_port: 22
cidr_ip: "{{ access_cidr }}"
</code></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">Application of security group(s)</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<p dir="auto">fatal: [localhost -> localhost]: FAILED! => {<br>
"changed": false,<br>
"failed": true,</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" "msg": "group referenced_group will be automatically created by rule {'to_port': 65535, 'from_port': 0, 'proto': 'tcp', 'group_name': 'referenced_group'} and no description was provided""><pre class="notranslate"><code class="notranslate"> "msg": "group referenced_group will be automatically created by rule {'to_port': 65535, 'from_port': 0, 'proto': 'tcp', 'group_name': 'referenced_group'} and no description was provided"
</code></pre></div> | <h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">ec2_group</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.2.1.0
config file =
configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">ansible 2.2.1.0
config file =
configured module search path = Default w/o overrides
</code></pre></div>
<p dir="auto">install: sudo pip install -U git+<a href="https://github.com/ansible/ansible.git@v2.2.1.0-0.2.rc2">https://github.com/ansible/ansible.git@v2.2.1.0-0.2.rc2</a> --upgrade --ignore-installed six</p>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">default ansible.cfg</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">OS X El Capitan 10.11.6<br>
Multi VPC AWS environment. Peers between VPC's w/appropriate routing between them</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">ec2_group does not allow group_name to use groups via group name from other peered VPC's. This worked in v1.9.6 and v2.0.2. It appears to be due to some additional conditions that were added on 7/27/16. If I revert this change, it works as expected.</p>
<p dir="auto"><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/ansible/ansible/commit/04199140c5f089db8215aee4842d5987cf12e28d/hovercard" href="https://github.com/ansible/ansible/commit/04199140c5f089db8215aee4842d5987cf12e28d"><tt>0419914</tt></a></p>
<p dir="auto">Using group_id with the name of the security group in a different VPC works but is not idempotent. It will create the rule if it's new but will fail if it already exists.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">Attempt to use a AWS security group name from another VPC with required peering present using group_name:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: Provision Security Groups
ec2_group:
name: MyGroup
description: MyDesc
region: us-east-1
vpc_id: vpc-xxxxxxxx
rules:
- proto: tcp
from_port: 22
to_port: 22
group_name: <Other_VPC_SG_NAME>"><pre class="notranslate"><code class="notranslate">- name: Provision Security Groups
ec2_group:
name: MyGroup
description: MyDesc
region: us-east-1
vpc_id: vpc-xxxxxxxx
rules:
- proto: tcp
from_port: 22
to_port: 22
group_name: <Other_VPC_SG_NAME>
</code></pre></div>
<p dir="auto">Attempt to use a AWS security group name from another VPC with required peering present using group_id:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: Provision Security Groups
ec2_group:
name: MyGroup
description: MyDesc
region: us-east-1
vpc_id: vpc-xxxxxxxx
rules:
- proto: tcp
from_port: 22
to_port: 22
group_id: <Other_VPC_SG_NAME>"><pre class="notranslate"><code class="notranslate">- name: Provision Security Groups
ec2_group:
name: MyGroup
description: MyDesc
region: us-east-1
vpc_id: vpc-xxxxxxxx
rules:
- proto: tcp
from_port: 22
to_port: 22
group_id: <Other_VPC_SG_NAME>
</code></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">Translate group name to group ID (sg-xxxxxxxx) and update rule with the security group ID of the other VPC's security group.</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<p dir="auto">The group in the peered VPC is not found and an attempt to create a new group in the current VPC is executed. In my case, this fails due to "no description"</p>
<p dir="auto">Message using group_name with security group name from a different VPC</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""msg": "group <PeeredVPCGroupName> will be automatically created by rule {'to_port': 22, 'from_port': 22, 'group_name': '<PeeredVPCGroupName>', 'proto': 'tcp'} and no description was provided""><pre class="notranslate"><code class="notranslate">"msg": "group <PeeredVPCGroupName> will be automatically created by rule {'to_port': 22, 'from_port': 22, 'group_name': '<PeeredVPCGroupName>', 'proto': 'tcp'} and no description was provided"
</code></pre></div>
<p dir="auto">Message using group_id with security group name from a different VPC if the rule exists. If the rule does not exist, it is added as expected.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" "module_stderr": "Traceback (most recent call last):\n File \"/var/folders/t8/vdrxm90s1ps41pghp7wxn8n80000gp/T/ansible_pJu0pZ/ansible_module_ec2_group.py\", line 479, in <module>\n main()\n File \"/var/folders/t8/vdrxm90s1ps41pghp7wxn8n80000gp/T/ansible_pJu0pZ/ansible_module_ec2_group.py\", line 374, in main\n group.authorize(rule['proto'], rule['from_port'], rule['to_port'], thisip, grantGroup)\n File \"/Library/Python/2.7/site-packages/boto-2.38.0-py2.7.egg/boto/ec2/securitygroup.py\", line 203, in authorize\n dry_run=dry_run)\n File \"/Library/Python/2.7/site-packages/boto-2.38.0-py2.7.egg/boto/ec2/connection.py\", line 3191, in authorize_security_group\n params, verb='POST')\n File \"/Library/Python/2.7/site-packages/boto-2.38.0-py2.7.egg/boto/connection.py\", line 1227, in get_status\n raise self.ResponseError(response.status, response.reason, body)\nboto.exception.EC2ResponseError: EC2ResponseError: 400 Bad Request\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Response><Errors><Error><Code>InvalidPermission.Duplicate</Code><Message>the specified rule \"peer: sg-xxxxxxxx, TCP, from port: 22, to port: 22, ALLOW\" already exists</Message></Error></Errors><RequestID>b9ec5eee-4a86-49d7-90b8-86bfbf2ba21b</RequestID></Response>\n",
"module_stdout": "",
"msg": "MODULE FAILURE""><pre class="notranslate"><code class="notranslate"> "module_stderr": "Traceback (most recent call last):\n File \"/var/folders/t8/vdrxm90s1ps41pghp7wxn8n80000gp/T/ansible_pJu0pZ/ansible_module_ec2_group.py\", line 479, in <module>\n main()\n File \"/var/folders/t8/vdrxm90s1ps41pghp7wxn8n80000gp/T/ansible_pJu0pZ/ansible_module_ec2_group.py\", line 374, in main\n group.authorize(rule['proto'], rule['from_port'], rule['to_port'], thisip, grantGroup)\n File \"/Library/Python/2.7/site-packages/boto-2.38.0-py2.7.egg/boto/ec2/securitygroup.py\", line 203, in authorize\n dry_run=dry_run)\n File \"/Library/Python/2.7/site-packages/boto-2.38.0-py2.7.egg/boto/ec2/connection.py\", line 3191, in authorize_security_group\n params, verb='POST')\n File \"/Library/Python/2.7/site-packages/boto-2.38.0-py2.7.egg/boto/connection.py\", line 1227, in get_status\n raise self.ResponseError(response.status, response.reason, body)\nboto.exception.EC2ResponseError: EC2ResponseError: 400 Bad Request\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Response><Errors><Error><Code>InvalidPermission.Duplicate</Code><Message>the specified rule \"peer: sg-xxxxxxxx, TCP, from port: 22, to port: 22, ALLOW\" already exists</Message></Error></Errors><RequestID>b9ec5eee-4a86-49d7-90b8-86bfbf2ba21b</RequestID></Response>\n",
"module_stdout": "",
"msg": "MODULE FAILURE"
</code></pre></div> | 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/mui-org/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">Dialog will scroll its own content when I make a scroll gesture on the phone</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">Once I open a second fullscreen modal (which is opened previously by another fullscreen modal), the scroll won't work as expected, since it will scroll contents that are not visible (the Modal behind)</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto"><a href="https://codesandbox.io/s/pkjk07o8o0" rel="nofollow">https://codesandbox.io/s/pkjk07o8o0</a></p>
<ul dir="auto">
<li>Open the link on iOS</li>
<li>Go to the second Dialog</li>
<li>Scroll to the very end, scroll two time more while at the end</li>
<li>Once at the end of the modal, scroll to the top</li>
<li>Scroll will start to feel weird.<br>
Note: it seems that this is happening when you scroll tapping on a input, not 100% sure.</li>
</ul>
<h2 dir="auto">Context</h2>
<p dir="auto">I'm trying to go thru a list of Cards on a Dialog, click on a specific one so it will open a edit Modal, trying to add data to the fields on the 2nd modal will feel weird when I try to scroll.</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>Next</td>
</tr>
<tr>
<td>React</td>
<td>16.2.0</td>
</tr>
<tr>
<td>browser</td>
<td>iOS</td>
</tr>
<tr>
<td>etc</td>
<td></td>
</tr>
</tbody>
</table> | <p dir="auto">Tested dialogs in <a href="http://www.material-ui.com/#/components/dialog" rel="nofollow">http://www.material-ui.com/#/components/dialog</a>.<br>
On desktop Chrome, background scrolling is disabled when dialogs are shown.<br>
However, it is not disabled in iOS Safari or Chrome.</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=">>> pd.to_datetime('2017-01-01T15:00:00-05:00')
... Timestamp('2017-01-01 20:00:00') # This is a timezone-naive Timestamp, but was converted to UTC"><pre class="notranslate"><span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">pd</span>.<span class="pl-en">to_datetime</span>(<span class="pl-s">'2017-01-01T15:00:00-05:00'</span>)
... <span class="pl-v">Timestamp</span>(<span class="pl-s">'2017-01-01 20:00:00'</span>) <span class="pl-c"># This is a timezone-naive Timestamp, but was converted to UTC</span></pre></div>
<h4 dir="auto">Problem description</h4>
<p dir="auto">Given a timezone-aware string (e.g., in ISO8601 format), <code class="notranslate">pd.to_datetime</code> converts the string to UTC time, but doesn't set the <code class="notranslate">tzinfo</code> to UTC.</p>
<p dir="auto">This makes it difficult to differentiate between string that are truly timezone-naive strings (e.g., '2017-01-01') and timezone-aware strings (e.g., '2017-01-01T15:00:00-05:00').</p>
<h4 dir="auto">Expected Output</h4>
<p dir="auto">Option 1: Convert the string to UTC (current behavior) and also set the timezone to UTC:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=">>> pd.to_datetime('2017-01-01T15:00:00-05:00')
... Timestamp('2017-01-01 20:00:00+0000', tz='UTC')"><pre class="notranslate"><span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">pd</span>.<span class="pl-en">to_datetime</span>(<span class="pl-s">'2017-01-01T15:00:00-05:00'</span>)
... <span class="pl-v">Timestamp</span>(<span class="pl-s">'2017-01-01 20:00:00+0000'</span>, <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s">'UTC'</span>)</pre></div>
<p dir="auto">Option 2: Don't convert to UTC and retain timezone. This is the behavior of <code class="notranslate">dateutil.parser.parse</code>:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=">>> pd.to_datetime(parser.parse('2017-01-01T15:00:00-0500'))
... Timestamp('2017-01-01 15:00:00-0500', tz='tzoffset(None, -18000)')"><pre class="notranslate"><span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">pd</span>.<span class="pl-en">to_datetime</span>(<span class="pl-s1">parser</span>.<span class="pl-en">parse</span>(<span class="pl-s">'2017-01-01T15:00:00-0500'</span>))
... <span class="pl-v">Timestamp</span>(<span class="pl-s">'2017-01-01 15:00:00-0500'</span>, <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s">'tzoffset(None, -18000)'</span>)</pre></div>
<h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4>
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.5.3.final.0
python-bits: 64
OS: Linux
OS-release: 4.1.35-pv-ts1
machine: x86_64
processor:
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: en_US.UTF-8
<p dir="auto">pandas: 0.20.3<br>
pytest: 3.1.2<br>
pip: 9.0.1<br>
setuptools: 27.2.0<br>
Cython: 0.25.2<br>
numpy: 1.12.1<br>
scipy: 0.19.1<br>
xarray: None<br>
IPython: 6.1.0<br>
sphinx: 1.6.2<br>
patsy: 0.4.1<br>
dateutil: 2.6.0<br>
pytz: 2017.2<br>
blosc: None<br>
bottleneck: 1.2.1<br>
tables: 3.3.0<br>
numexpr: 2.6.2<br>
feather: None<br>
matplotlib: 2.0.2<br>
openpyxl: 2.4.7<br>
xlrd: 1.0.0<br>
xlwt: None<br>
xlsxwriter: 0.9.6<br>
lxml: None<br>
bs4: 4.6.0<br>
html5lib: 0.999<br>
sqlalchemy: 1.1.11<br>
pymysql: None<br>
psycopg2: None<br>
jinja2: 2.9.6<br>
s3fs: None<br>
pandas_gbq: None<br>
pandas_datareader: None</p>
</details> | <p dir="auto">Suppose you have an existing SQL table called <code class="notranslate">person_age</code>, where <code class="notranslate">id</code> is the primary key:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
age
id
1 18
2 42"><pre class="notranslate"> <span class="pl-s1">age</span>
<span class="pl-s1">id</span>
<span class="pl-c1">1</span> <span class="pl-c1">18</span>
<span class="pl-c1">2</span> <span class="pl-c1">42</span></pre></div>
<p dir="auto">and you also have new data in a <code class="notranslate">DataFrame</code> called <code class="notranslate">extra_data</code></p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" age
id
2 44
3 95"><pre class="notranslate"> <span class="pl-s1">age</span>
<span class="pl-s1">id</span>
<span class="pl-c1">2</span> <span class="pl-c1">44</span>
<span class="pl-c1">3</span> <span class="pl-c1">95</span></pre></div>
<p dir="auto">then it would be useful to have an option on <code class="notranslate">extra_data.to_sql()</code> that allows to pass the DataFrame to SQL with an <code class="notranslate">INSERT</code> or <code class="notranslate">UPDATE</code> option on the rows, based on the <code class="notranslate">primary key</code>.</p>
<p dir="auto">In this case, the <code class="notranslate">id=2</code> row would get updated to <code class="notranslate">age=44</code> and the <code class="notranslate">id=3</code> row would get added</p>
<h4 dir="auto">Expected Output</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" age
id
1 18
2 44
3 95"><pre class="notranslate"> <span class="pl-s1">age</span>
<span class="pl-s1">id</span>
<span class="pl-c1">1</span> <span class="pl-c1">18</span>
<span class="pl-c1">2</span> <span class="pl-c1">44</span>
<span class="pl-c1">3</span> <span class="pl-c1">95</span></pre></div>
<h4 dir="auto">(Maybe) helpful code references</h4>
<ul dir="auto">
<li><a href="http://stackoverflow.com/questions/7889183/sqlalchemy-insert-or-update-example" rel="nofollow">Use <code class="notranslate">merge</code> from SQLAlchemy</a>?</li>
<li>The query: '''INSERT or REPLACE into person_age (id, age) values (?,?,?) ''' in <a href="http://stackoverflow.com/questions/23574614/appending-pandas-dataframe-to-sqlite-table-by-primary-key" rel="nofollow">this question</a></li>
</ul>
<p dir="auto">I looked at <code class="notranslate">pandas</code> <code class="notranslate">sql.py</code> sourcecode to come up with a solution, but I couldn't follow.</p>
<h4 dir="auto">Code to replicate the example above</h4>
<p dir="auto">(Apologies for mixing <code class="notranslate">sqlalchemy</code> and <code class="notranslate">sqlite</code></p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import pandas as pd
from sqlalchemy import create_engine
import sqlite3
conn = sqlite3.connect('example.db')
c = conn.cursor()
c.execute('''DROP TABLE IF EXISTS person_age;''')
c.execute('''
CREATE TABLE person_age
(id INTEGER PRIMARY KEY ASC, age INTEGER NOT NULL)
''')
conn.commit()
conn.close()
##### Create original table
engine = create_engine("sqlite:///example.db")
sql_df = pd.DataFrame({'id' : [1, 2], 'age' : [18, 42]})
sql_df.to_sql('person_age', engine, if_exists='append', index=False)
#### Extra data to insert/update
extra_data = pd.DataFrame({'id' : [2, 3], 'age' : [44, 95]})
extra_data.set_index('id', inplace=True)
#### extra_data.to_sql() with row update or insert option
expected_df = pd.DataFrame({'id': [1, 2, 3], 'age': [18, 44, 95]})
expected_df.set_index('id', inplace=True)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span>
<span class="pl-k">from</span> <span class="pl-s1">sqlalchemy</span> <span class="pl-k">import</span> <span class="pl-s1">create_engine</span>
<span class="pl-k">import</span> <span class="pl-s1">sqlite3</span>
<span class="pl-s1">conn</span> <span class="pl-c1">=</span> <span class="pl-s1">sqlite3</span>.<span class="pl-en">connect</span>(<span class="pl-s">'example.db'</span>)
<span class="pl-s1">c</span> <span class="pl-c1">=</span> <span class="pl-s1">conn</span>.<span class="pl-en">cursor</span>()
<span class="pl-s1">c</span>.<span class="pl-en">execute</span>(<span class="pl-s">'''DROP TABLE IF EXISTS person_age;'''</span>)
<span class="pl-s1">c</span>.<span class="pl-en">execute</span>(<span class="pl-s">'''</span>
<span class="pl-s"> CREATE TABLE person_age</span>
<span class="pl-s"> (id INTEGER PRIMARY KEY ASC, age INTEGER NOT NULL)</span>
<span class="pl-s"> '''</span>)
<span class="pl-s1">conn</span>.<span class="pl-en">commit</span>()
<span class="pl-s1">conn</span>.<span class="pl-en">close</span>()
<span class="pl-c">##### Create original table</span>
<span class="pl-s1">engine</span> <span class="pl-c1">=</span> <span class="pl-en">create_engine</span>(<span class="pl-s">"sqlite:///example.db"</span>)
<span class="pl-s1">sql_df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>({<span class="pl-s">'id'</span> : [<span class="pl-c1">1</span>, <span class="pl-c1">2</span>], <span class="pl-s">'age'</span> : [<span class="pl-c1">18</span>, <span class="pl-c1">42</span>]})
<span class="pl-s1">sql_df</span>.<span class="pl-en">to_sql</span>(<span class="pl-s">'person_age'</span>, <span class="pl-s1">engine</span>, <span class="pl-s1">if_exists</span><span class="pl-c1">=</span><span class="pl-s">'append'</span>, <span class="pl-s1">index</span><span class="pl-c1">=</span><span class="pl-c1">False</span>)
<span class="pl-c">#### Extra data to insert/update</span>
<span class="pl-s1">extra_data</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>({<span class="pl-s">'id'</span> : [<span class="pl-c1">2</span>, <span class="pl-c1">3</span>], <span class="pl-s">'age'</span> : [<span class="pl-c1">44</span>, <span class="pl-c1">95</span>]})
<span class="pl-s1">extra_data</span>.<span class="pl-en">set_index</span>(<span class="pl-s">'id'</span>, <span class="pl-s1">inplace</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)
<span class="pl-c">#### extra_data.to_sql() with row update or insert option</span>
<span class="pl-s1">expected_df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>({<span class="pl-s">'id'</span>: [<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>], <span class="pl-s">'age'</span>: [<span class="pl-c1">18</span>, <span class="pl-c1">44</span>, <span class="pl-c1">95</span>]})
<span class="pl-s1">expected_df</span>.<span class="pl-en">set_index</span>(<span class="pl-s">'id'</span>, <span class="pl-s1">inplace</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)</pre></div> | 0 |
<h2 dir="auto"><g-emoji class="g-emoji" alias="memo" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4dd.png">📝</g-emoji> Provide a description of the new feature</h2>
<p dir="auto">I Would love to see a feature allowing us to set any window to be always on top of other windows. I thing a good way to enable the feature would just be add it to the context menu when you right click on the title bar of a window.</p>
<h2 dir="auto"><em>What is the expected behavior of the proposed feature? What is the scenario this would be used?</em><br>
Enable the feature, the window stays always on top of ALL other windows.</h2>
<p dir="auto">If you'd like to see this feature implemented, add a <g-emoji class="g-emoji" alias="+1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png">👍</g-emoji> reaction to this post.</p> | <p dir="auto">Please make an MSI available as was done in previous versions. It's nice that the EXE has apparently reached parity with the MSI, but MSI is much preferred for distribution in an enterprise environment using Configuration Manager.</p>
<hr>
<p dir="auto">If you'd like to see this feature implemented, add a 👍 reaction to this post.</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" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://www.github.com/electron/electron/issues">issue tracker</a> for a feature request that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Electron Version</h3>
<p dir="auto">11.2.3</p>
<h3 dir="auto">What operating system are you using?</h3>
<p dir="auto">Windows</p>
<h3 dir="auto">Operating System Version</h3>
<p dir="auto">Windows 10</p>
<h3 dir="auto">What arch are you using?</h3>
<p dir="auto">x64</p>
<h3 dir="auto">Last Known Working Electron version</h3>
<p dir="auto">5.10.0</p>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">When use fse.copy() function to copy a file from one location to another, it should works.</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">It seems like, on 11.2.3, fse.copy() will stop working sometimes, without any error or warning. It's like the app doesn't have the permission to perform the operation. On 5.10.0, the same code works perfectly.</p>
<p dir="auto">Here is more information.<br>
1.Not everyone will encounter this BUG.<br>
2.For some people, they can temporarily solve this problem by restarting the app. The bug will show up afterwards.<br>
3.For some people, even restarting the app will not solve this problem.<br>
4.This bug is only found on Windows OS.</p>
<h3 dir="auto">Testcase Gist URL</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Additional Information</h3>
<p dir="auto">Our app is a book reading app. We updated the version of electron from 5.10 to 11.2.3 last month.<br>
We have got a lot of complaints about "can not add new books to the library sometimes." after the update.<br>
Our team member has encountered the same problem once, but we cannot reproduce it afterwards.<br>
Right now, we have narrowed down the problem to following functions fse.copy().</p>
<p dir="auto">It seems like, on 11.2.3, fse.copy() will stop working sometimes, without any error or warning. It's like the app doesn't have the permission to perform the operation. On 5.10.0, the same code works perfectly.</p> | <p dir="auto">Our app is a book reading app. We updated the version of electron from 5.10 to 11.2.3 last month.<br>
We have got a lot of complaints about "can not add new books to the library sometimes." after the update.<br>
Our team member has encountered the same problem once, but we cannot reproduce it afterward.<br>
Right now, we have narrowed down the problem to following functions fse.copy().</p>
<p dir="auto">It seems like, on 11.2.3, fse.copy() will stop working sometimes, without any error or warning. It's like the app doesn't have the permission to perform the operation. On 5.x, the same code works perfectly.</p>
<p dir="auto">Here is more information.<br>
1.Not everyone will encounter this BUG.<br>
2.For some people, they can temporarily solve this problem by restarting the app.<br>
3.For some people, even restarting the app will not solve this problem.<br>
4.This bug only found on Windows OS.</p>
<p dir="auto">Does anyone know why this is? what should we do?<br>
Thanks.</p> | 1 |
<h3 dir="auto">Description</h3>
<p dir="auto">At present, a <code class="notranslate">set</code> method in XCom using two steps:</p>
<ol dir="auto">
<li>delete all XCom with key <code class="notranslate">(dag_id, execution_date, task_id)</code></li>
<li>insert new XCom</li>
</ol>
<p dir="auto">However, when the xcom is set frequently, some error will occur, like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (1205, 'Lock wait timeout exceeded; try restarting transaction')"><pre class="notranslate"><code class="notranslate">sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (1205, 'Lock wait timeout exceeded; try restarting transaction')
</code></pre></div>
<p dir="auto">related code lines: <a href="https://github.com/apache/airflow/blob/main/airflow/models/xcom.py#L84">https://github.com/apache/airflow/blob/main/airflow/models/xcom.py#L84</a></p>
<h3 dir="auto">Use case/motivation</h3>
<p dir="auto">using <code class="notranslate">ON DUPLICATE KEY UPDATE</code> maybe better?</p>
<h3 dir="auto">Related issues</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Are you willing to submit a PR?</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Yes I am willing to submit a PR!</li>
</ul>
<h3 dir="auto">Code of Conduct</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li>
</ul> | <p dir="auto">I have a kind request for all the contributors to the latest provider packages release.<br>
Could you please help us to test the RC versions of the providers?</p>
<p dir="auto">Let us know in the comment, whether the issue is addressed.</p>
<p dir="auto">Those are providers that require testing as there were some substantial changes introduced:</p>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-amazon/8.0.0rc1" rel="nofollow">amazon: 8.0.0rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/30748" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30748/hovercard">Remove deprecated "delegate_to" from GCP operators and hooks (#30748)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/shahar1/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/shahar1">@shahar1</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/30755" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30755/hovercard">take advantage of upcoming major version release to remove deprecated things (#30755)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vandonr-amz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vandonr-amz">@vandonr-amz</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/30720" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30720/hovercard">add a stop operator to emr serverless (#30720)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vandonr-amz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vandonr-amz">@vandonr-amz</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/30460" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30460/hovercard">SqlToS3Operator - Add feature to partition SQL table (#30460)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/utkarsharma2/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/utkarsharma2">@utkarsharma2</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/28338" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/28338/hovercard">New AWS sensor — DynamoDBValueSensor (#28338)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mrichman/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mrichman">@mrichman</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/30703" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30703/hovercard">Fixed logging issue in <code class="notranslate">DynamoDBValueSensor</code> (#30703)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mrichman/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mrichman">@mrichman</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/30595" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30595/hovercard">DynamoDBHook - waiter_path() to consider <code class="notranslate">resource_type</code> or <code class="notranslate">client_type</code> (#30595)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/utkarsharma2/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/utkarsharma2">@utkarsharma2</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/30586" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30586/hovercard">Add ability to override waiter delay in EcsRunTaskOperator (#30586)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vincbeck/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vincbeck">@vincbeck</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/29522" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/29522/hovercard">Add support in AWS Batch Operator for multinode jobs (#29522)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vandonr-amz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vandonr-amz">@vandonr-amz</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/30756" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30756/hovercard">AWS logs. Exit fast when 3 consecutive responses are returned from AWS Cloudwatch logs (#30756)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vincbeck/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vincbeck">@vincbeck</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/30774" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30774/hovercard">Remove @poke_mode_only from EmrStepSensor (#30774)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vincbeck/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vincbeck">@vincbeck</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/30541" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30541/hovercard">Organize Amazon provider docs index (#30541)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/eladkal/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/eladkal">@eladkal</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/30634" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30634/hovercard">Remove duplicate param docstring in EksPodOperator (#30634)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jlaneve/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jlaneve">@jlaneve</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-apache-beam/5.0.0rc1" rel="nofollow">apache.beam: 5.0.0rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/30748" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30748/hovercard">Remove deprecated "delegate_to" from GCP operators and hooks (#30748)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/shahar1/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/shahar1">@shahar1</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/30422" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30422/hovercard">Add mechanism to suspend providers (#30422)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-apache-kafka/1.0.0rc1/" rel="nofollow">apache.kafka: 1.0.0rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/30175" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30175/hovercard">Add provider for Apache Kafka (#30175)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dylanbstorey/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dylanbstorey">@dylanbstorey</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-cncf-kubernetes/6.1.0rc1" rel="nofollow">cncf.kubernetes: 6.1.0rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/30769" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30769/hovercard">Add multiple exit code handling in skip logic for <code class="notranslate">DockerOperator</code> and <code class="notranslate">KubernetesPodOperator</code> (#30769)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/eladkal/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/eladkal">@eladkal</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/29000" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/29000/hovercard">Skip KubernetesPodOperator task when it returns a provided exit code (#29000)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/hussein-awala/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/hussein-awala">@hussein-awala</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-databricks/4.1.0rc1" rel="nofollow">databricks: 4.1.0rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/30646" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30646/hovercard">Add delete inactive run functionality to databricks provider (#30646)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/phanikumv/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/phanikumv">@phanikumv</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/30477" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30477/hovercard">Databricks SQL sensor (#30477)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/harishkesavarao/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/harishkesavarao">@harishkesavarao</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-dbt-cloud/3.1.1rc1" rel="nofollow">dbt.cloud: 3.1.1rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/30227" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30227/hovercard">Merge DbtCloudJobRunAsyncSensor logic to DbtCloudJobRunSensor (#30227)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Lee-W/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Lee-W">@Lee-W</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/29989" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/29989/hovercard">Move typing imports behind TYPE_CHECKING in DbtCloudHook (#29989)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/josh-fell/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/josh-fell">@josh-fell</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-docker/3.6.0rc1" rel="nofollow">docker: 3.6.0rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/30769" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30769/hovercard">Add multiple exit code handling in skip logic for <code class="notranslate">DockerOperator</code> and <code class="notranslate">KubernetesPodOperator</code> (#30769)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/eladkal/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/eladkal">@eladkal</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/30310" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30310/hovercard">In <code class="notranslate">DockerOperator</code>, adding an attribute <code class="notranslate">tls_verify</code> to choose whether to validate certificate (#30309) (#30310)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/oboki/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/oboki">@oboki</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/30733" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30733/hovercard">Deprecate <code class="notranslate">skip_exit_code</code> in <code class="notranslate">DockerOperator</code> and <code class="notranslate">KubernetesPodOperator</code> (#30733)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/eladkal/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/eladkal">@eladkal</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-google/10.0.0rc1" rel="nofollow">google: 10.0.0rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/30748" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30748/hovercard">Remove deprecated "delegate_to" from GCP operators and hooks (#30748)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/shahar1/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/shahar1">@shahar1</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/30598" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30598/hovercard">Update Google Campaign Manager360 operators to use API v4 (#30598)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/VladaZakharova/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/VladaZakharova">@VladaZakharova</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/30741" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30741/hovercard">Update DataprocCreateCluster operator to use 'label' parameter properly (#30741)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/VladaZakharova/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/VladaZakharova">@VladaZakharova</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/30651" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30651/hovercard">BigQueryGetDataOperator should use project_id (#30651)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ying-w/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ying-w">@ying-w</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/30577" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30577/hovercard">Display Video 360 cleanup v1 API usage (#30577)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lwyszomi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lwyszomi">@lwyszomi</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-microsoft-azure/6.0.0rc1" rel="nofollow">microsoft.azure: 6.0.0rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/30748" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30748/hovercard">Remove deprecated "delegate_to" from GCP operators and hooks (#30748)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/shahar1/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/shahar1">@shahar1</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/30488" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30488/hovercard">Add deferrable mode to <code class="notranslate">WasbBlobSensor</code> (#30488)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/phanikumv/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/phanikumv">@phanikumv</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-mysql/5.0.0rc1" rel="nofollow">mysql: 5.0.0rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/30487" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30487/hovercard">Remove mysql-connector-python (#30487)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/moiseenkov/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/moiseenkov">@moiseenkov</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-presto/5.0.0rc1" rel="nofollow">presto: 5.0.0rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/30748" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30748/hovercard">Remove deprecated "delegate_to" from GCP operators and hooks (#30748)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/shahar1/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/shahar1">@shahar1</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/30422" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30422/hovercard">Add mechanism to suspend providers (#30422)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-snowflake/4.0.5rc1" rel="nofollow">snowflake: 4.0.5rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/30020" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30020/hovercard">Update documentation for snowflake provider 4.0 breaking change (#30020)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-sqlite/3.3.2rc1" rel="nofollow">sqlite: 3.3.2rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/28721" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/28721/hovercard">Use connection URI in SqliteHook (#28721)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/feluelle/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/feluelle">@feluelle</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-trino/5.0.0rc1" rel="nofollow">trino: 5.0.0rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/30748" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30748/hovercard">Remove deprecated "delegate_to" from GCP operators and hooks (#30748)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/shahar1/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/shahar1">@shahar1</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/30422" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/30422/hovercard">Add mechanism to suspend providers (#30422)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
</ul>
<p dir="auto">The guidelines on how to test providers can be found in</p>
<p dir="auto"><a href="https://github.com/apache/airflow/blob/main/dev/README_RELEASE_PROVIDER_PACKAGES.md#verify-by-contributors">Verify providers by contributors</a></p>
<p dir="auto">All users involved in the PRs:<br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/feluelle/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/feluelle">@feluelle</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ying-w/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ying-w">@ying-w</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vandonr-amz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vandonr-amz">@vandonr-amz</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/eladkal/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/eladkal">@eladkal</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mrichman/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mrichman">@mrichman</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/hussein-awala/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/hussein-awala">@hussein-awala</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lwyszomi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lwyszomi">@lwyszomi</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/utkarsharma2/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/utkarsharma2">@utkarsharma2</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jlaneve/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jlaneve">@jlaneve</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/josh-fell/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/josh-fell">@josh-fell</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vincbeck/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vincbeck">@vincbeck</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/shahar1/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/shahar1">@shahar1</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Lee-W/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Lee-W">@Lee-W</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/harishkesavarao/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/harishkesavarao">@harishkesavarao</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/oboki/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/oboki">@oboki</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/phanikumv/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/phanikumv">@phanikumv</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/moiseenkov/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/moiseenkov">@moiseenkov</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/VladaZakharova/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/VladaZakharova">@VladaZakharova</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dylanbstorey/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dylanbstorey">@dylanbstorey</a></p>
<h3 dir="auto">Committer</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I acknowledge that I am a maintainer/committer of the Apache Airflow project.</li>
</ul> | 0 |
<h1 dir="auto">Bug report</h1>
<p dir="auto"><strong>What is the current behavior?</strong><br>
For the dynamic imports which contains some expression, the <code class="notranslate">resolve.extensionAlias</code> configuration option is not used to resolving the imports.</p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// Config
const config = {
...
resolve: {
extensions: [ '.ts', '.tsx', '.js', '.jsx' ],
extensionAlias: {
'.js': [ '.js', '.ts', '.tsx' ]
}
}
...
};"><pre class="notranslate"><span class="pl-c">// Config</span>
<span class="pl-k">const</span> <span class="pl-s1">config</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
...
<span class="pl-s1">resolve</span>: <span class="pl-kos">{</span>
<span class="pl-s1">extensions</span>: <span class="pl-kos">[</span> <span class="pl-s">'.ts'</span><span class="pl-kos">,</span> <span class="pl-s">'.tsx'</span><span class="pl-kos">,</span> <span class="pl-s">'.js'</span><span class="pl-kos">,</span> <span class="pl-s">'.jsx'</span> <span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c1">extensionAlias</span>: <span class="pl-kos">{</span>
<span class="pl-s">'.js'</span>: <span class="pl-kos">[</span> <span class="pl-s">'.js'</span><span class="pl-kos">,</span> <span class="pl-s">'.ts'</span><span class="pl-kos">,</span> <span class="pl-s">'.tsx'</span> <span class="pl-kos">]</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-kos">.</span><span class="pl-kos">.</span><span class="pl-kos">.</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// Input:
// /index.ts
const x = 'a';
import(`./lazy-${x}.js`);
// /lazy-a.ts
export {}"><pre class="notranslate"><span class="pl-c">// Input:</span>
<span class="pl-c">// /index.ts</span>
<span class="pl-k">const</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s">'a'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span><span class="pl-kos">(</span><span class="pl-s">`./lazy-<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">x</span><span class="pl-kos">}</span></span>.js`</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// /lazy-a.ts</span>
<span class="pl-k">export</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="// Output:
...
/***/ "./. lazy recursive ^\\.\\/lazy\\-.*\\.js$":
/*!*****************************************************!*\
!*** ././ lazy ^\.\/lazy\-.*\.js$ namespace object ***!
\*****************************************************/
/***/ ((module) => {
function webpackEmptyAsyncContext(req) {
// Here Promise.resolve().then() is used instead of new Promise() to prevent
// uncaught exception popping up in devtools
return Promise.resolve().then(() => {
var e = new Error("Cannot find module '" + req + "'");
e.code = 'MODULE_NOT_FOUND';
throw e;
});
}
webpackEmptyAsyncContext.keys = () => ([]);
webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;
webpackEmptyAsyncContext.id = "./. lazy recursive ^\\.\\/lazy\\-.*\\.js$";
module.exports = webpackEmptyAsyncContext;
/***/ })
...
(() => {
/*!******************!*\
!*** ./index.ts ***!
\******************/
const x = 'a';
__webpack_require__("./. lazy recursive ^\\.\\/lazy\\-.*\\.js$")(`./lazy-${x}.js`);
})();
..."><pre class="notranslate"><span class="pl-c">// Output:</span>
...
<span class="pl-c">/***/</span> <span class="pl-s">"./. lazy recursive ^\\.\\/lazy\\-.*\\.js$"</span>:
<span class="pl-c">/*!*****************************************************!*\</span>
<span class="pl-c"> !*** ././ lazy ^\.\/lazy\-.*\.js$ namespace object ***!</span>
<span class="pl-c"> \*****************************************************/</span>
<span class="pl-c">/***/</span> <span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">module</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">function</span> <span class="pl-en">webpackEmptyAsyncContext</span><span class="pl-kos">(</span><span class="pl-s1">req</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c">// Here Promise.resolve().then() is used instead of new Promise() to prevent</span>
<span class="pl-c">// uncaught exception popping up in devtools</span>
<span class="pl-k">return</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">resolve</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-kos">)</span> <span class="pl-c1">=></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-k">new</span> <span class="pl-v">Error</span><span class="pl-kos">(</span><span class="pl-s">"Cannot find module '"</span> <span class="pl-c1">+</span> <span class="pl-s1">req</span> <span class="pl-c1">+</span> <span class="pl-s">"'"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">e</span><span class="pl-kos">.</span><span class="pl-c1">code</span> <span class="pl-c1">=</span> <span class="pl-s">'MODULE_NOT_FOUND'</span><span class="pl-kos">;</span>
<span class="pl-k">throw</span> <span class="pl-s1">e</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-s1">webpackEmptyAsyncContext</span><span class="pl-kos">.</span><span class="pl-en">keys</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">webpackEmptyAsyncContext</span><span class="pl-kos">.</span><span class="pl-c1">resolve</span> <span class="pl-c1">=</span> <span class="pl-s1">webpackEmptyAsyncContext</span><span class="pl-kos">;</span>
<span class="pl-s1">webpackEmptyAsyncContext</span><span class="pl-kos">.</span><span class="pl-c1">id</span> <span class="pl-c1">=</span> <span class="pl-s">"./. lazy recursive ^\\.\\/lazy\\-.*\\.js$"</span><span class="pl-kos">;</span>
<span class="pl-s1">module</span><span class="pl-kos">.</span><span class="pl-c1">exports</span> <span class="pl-c1">=</span> <span class="pl-s1">webpackEmptyAsyncContext</span><span class="pl-kos">;</span>
<span class="pl-c">/***/</span> <span class="pl-kos">}</span><span class="pl-kos">)</span>
<span class="pl-kos">.</span><span class="pl-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> <span class="pl-kos">{</span>
<span class="pl-c">/*!******************!*\</span>
<span class="pl-c"> !*** ./index.ts ***!</span>
<span class="pl-c"> \******************/</span>
<span class="pl-k">const</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s">'a'</span><span class="pl-kos">;</span>
<span class="pl-en">__webpack_require__</span><span class="pl-kos">(</span><span class="pl-s">"./. lazy recursive ^\\.\\/lazy\\-.*\\.js$"</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-s">`./lazy-<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">x</span><span class="pl-kos">}</span></span>.js`</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">When we will change the code to use <code class="notranslate">.ts</code> extension in the import like:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="...
import(`./lazy-${x}.ts`);
..."><pre class="notranslate">...
<span class="pl-k">import</span><span class="pl-kos">(</span><span class="pl-s">`./lazy-<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">x</span><span class="pl-kos">}</span></span>.ts`</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
...</pre></div>
<p dir="auto">Or we remove the the extension from the import expression like</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="...
import(`./lazy-${x}`);
..."><pre class="notranslate">...
<span class="pl-k">import</span><span class="pl-kos">(</span><span class="pl-s">`./lazy-<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">x</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
...</pre></div>
<p dir="auto">The output code is fine and contains the resolution map like:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// Output:
...
/***/ "./. lazy recursive ^\\.\\/lazy\\-.*\\.ts$":
/*!*****************************************************!*\
!*** ././ lazy ^\.\/lazy\-.*\.ts$ namespace object ***!
\*****************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
var map = {
"./lazy-a.ts": [
"./lazy-a.ts",
"lazy-a_ts"
]
};
..."><pre class="notranslate"><span class="pl-c">// Output:</span>
...
<span class="pl-c">/***/</span> <span class="pl-s">"./. lazy recursive ^\\.\\/lazy\\-.*\\.ts$"</span>:
<span class="pl-c">/*!*****************************************************!*\</span>
<span class="pl-c"> !*** ././ lazy ^\.\/lazy\-.*\.ts$ namespace object ***!</span>
<span class="pl-c"> \*****************************************************/</span>
<span class="pl-c">/***/</span> <span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">module</span><span class="pl-kos">,</span> <span class="pl-s1">__unused_webpack_exports</span><span class="pl-kos">,</span> <span class="pl-s1">__webpack_require__</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">var</span> <span class="pl-s1">map</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-s">"./lazy-a.ts"</span>: <span class="pl-kos">[</span>
<span class="pl-s">"./lazy-a.ts"</span><span class="pl-kos">,</span>
<span class="pl-s">"lazy-a_ts"</span>
<span class="pl-kos">]</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
...</pre></div>
<p dir="auto">The full gist: <a href="https://gist.github.com/majo44/e774abdc4aea027d11df1ee8582e97ee">https://gist.github.com/majo44/e774abdc4aea027d11df1ee8582e97ee</a></p>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto">In case of es module javascript/typescript code the extensions formally are obligatory, the typescript resolution logic also supports the '.js' extensions. Webpack perfectly handling that for the static imports and for the dynamic imports without expressions by using of provided <code class="notranslate">extensionAlias</code> configuration property. Unfortunately it is not align with the resolution of dynamic imports with expressions. The expectation is to properly resolve the dynamic imports with expression by taking the <code class="notranslate">extensionAlias</code> in consideration.</p>
<p dir="auto"><strong>Other relevant information:</strong><br>
webpack version: 5.80.0<br>
Node.js version: v18.16.0<br>
Operating System: Windows 11</p> | <h1 dir="auto">Bug report</h1>
<p dir="auto"><strong>What is the current behavior?</strong></p>
<hr>
<h2 dir="auto"><strong>The same problem in <code class="notranslate">require.context</code> and <code class="notranslate">import.meta.webpackContext</code></strong>, so need to be fixed too</h2>
<p dir="auto">For example, <code class="notranslate">highlight.js</code> has the following in <code class="notranslate">exports</code> of <code class="notranslate">package.json</code>:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"exports": {
"./lib/languages/*": {
"require": "./lib/languages/*.js",
"import": "./es/languages/*.js"
}
}
}"><pre class="notranslate">{
<span class="pl-ent">"exports"</span>: {
<span class="pl-ent">"./lib/languages/*"</span>: {
<span class="pl-ent">"require"</span>: <span class="pl-s"><span class="pl-pds">"</span>./lib/languages/*.js<span class="pl-pds">"</span></span>,
<span class="pl-ent">"import"</span>: <span class="pl-s"><span class="pl-pds">"</span>./es/languages/*.js<span class="pl-pds">"</span></span>
}
}
}</pre></div>
<p dir="auto">I tried to import a language dynamically using the following code in a Vue 3 / TS 4 app:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const langName = ref('')
const message = ref('')
const module = await import(
`highlight.js/lib/languages/${langName.value}`
)
message.value = module.default.name"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">langName</span> <span class="pl-c1">=</span> <span class="pl-en">ref</span><span class="pl-kos">(</span><span class="pl-s">''</span><span class="pl-kos">)</span>
<span class="pl-k">const</span> <span class="pl-s1">message</span> <span class="pl-c1">=</span> <span class="pl-en">ref</span><span class="pl-kos">(</span><span class="pl-s">''</span><span class="pl-kos">)</span>
<span class="pl-k">const</span> <span class="pl-s1">module</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-k">import</span><span class="pl-kos">(</span>
<span class="pl-s">`highlight.js/lib/languages/<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">langName</span><span class="pl-kos">.</span><span class="pl-c1">value</span><span class="pl-kos">}</span></span>`</span>
<span class="pl-kos">)</span>
<span class="pl-s1">message</span><span class="pl-kos">.</span><span class="pl-c1">value</span> <span class="pl-c1">=</span> <span class="pl-s1">module</span><span class="pl-kos">.</span><span class="pl-c1">default</span><span class="pl-kos">.</span><span class="pl-c1">name</span></pre></div>
<p dir="auto">This leads to the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" error in ./src/App.vue?vue&type=script&lang=ts
Module not found: Error: Package path ./lib/languages is not exported from package <path_to_proj>/node_modules/highlight.js (see exports field in <path_to_proj>/node_modules/highlight.js/package.json)"><pre class="notranslate"><code class="notranslate"> error in ./src/App.vue?vue&type=script&lang=ts
Module not found: Error: Package path ./lib/languages is not exported from package <path_to_proj>/node_modules/highlight.js (see exports field in <path_to_proj>/node_modules/highlight.js/package.json)
</code></pre></div>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p>
<ol start="0" dir="auto">
<li>Clone <a href="https://github.com/dhruvkb/expcheck">minimum reproduction repo</a> and <code class="notranslate">npm install</code>.</li>
<li>Run the project with <code class="notranslate">npm run serve</code>.</li>
<li>See error.</li>
</ol>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto">Replacing <code class="notranslate">${langName.value}</code> with a literal value works and imports the file as expected:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const langName = ref('')
const message = ref('')
const module = await import(
`highlight.js/lib/languages/javascript`
)
message.value = module.default.name"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">langName</span> <span class="pl-c1">=</span> <span class="pl-en">ref</span><span class="pl-kos">(</span><span class="pl-s">''</span><span class="pl-kos">)</span>
<span class="pl-k">const</span> <span class="pl-s1">message</span> <span class="pl-c1">=</span> <span class="pl-en">ref</span><span class="pl-kos">(</span><span class="pl-s">''</span><span class="pl-kos">)</span>
<span class="pl-k">const</span> <span class="pl-s1">module</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-k">import</span><span class="pl-kos">(</span>
<span class="pl-s">`highlight.js/lib/languages/javascript`</span>
<span class="pl-kos">)</span>
<span class="pl-s1">message</span><span class="pl-kos">.</span><span class="pl-c1">value</span> <span class="pl-c1">=</span> <span class="pl-s1">module</span><span class="pl-kos">.</span><span class="pl-c1">default</span><span class="pl-kos">.</span><span class="pl-c1">name</span></pre></div>
<p dir="auto">Dynamic import should work equally well.</p>
<p dir="auto"><strong>Workarounds</strong></p>
<p dir="auto">The comment <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="910093439" data-permission-text="Title is private" data-url="https://github.com/highlightjs/highlight.js/issues/3223" data-hovercard-type="issue" data-hovercard-url="/highlightjs/highlight.js/issues/3223/hovercard?comment_id=886143417&comment_type=issue_comment" href="https://github.com/highlightjs/highlight.js/issues/3223#issuecomment-886143417">highlightjs/highlight.js#3223 (comment)</a> contains possible workarounds, if that helps to narrow the problem.</p>
<p dir="auto"><strong>Other relevant information:</strong><br>
webpack version: 5<br>
Node.js version: 14<br>
Operating System: mac OS<br>
Additional tools: TypeScript 4, Vue 3, Babel 7</p> | 1 |
<p dir="auto">The challenge asks the user to make the top margin 20px when the challenge itself only accepts 40px as the correct answer</p> | <p dir="auto">In the instructions for the margin, you have the pixel setting for "Top" to 20px instead of 40px.</p> | 1 |
<ul dir="auto">
<li>Electron version:1.4.14</li>
<li>Operating system: mac v10.12.3</li>
</ul>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">setting BrowserWindow options frame false</p>
<p dir="auto">browser Top frame zone</p>
<p dir="auto">There is an invisible window</p>
<p dir="auto">i want work css cursor:pointer</p>
<p dir="auto">my option code</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="mainWindow = new BrowserWindow({
show: false,
frame: false,// look
title: "",
useContentSize: false,
width: mainWindowWidth,
minWidth: mainWindowWidth,
height: mainWindowHeight,
minHeight: mainWindowHeight,
maximizable:false,
fullscreenable:false,
icon: iconPath
});"><pre class="notranslate"><code class="notranslate">mainWindow = new BrowserWindow({
show: false,
frame: false,// look
title: "",
useContentSize: false,
width: mainWindowWidth,
minWidth: mainWindowWidth,
height: mainWindowHeight,
minHeight: mainWindowHeight,
maximizable:false,
fullscreenable:false,
icon: iconPath
});
</code></pre></div> | <ul dir="auto">
<li>Electron version: 1.4.1</li>
<li>Operating system: Mac with retina display</li>
</ul>
<p dir="auto">Step to reproduce:</p>
<ol dir="auto">
<li>create a frameless window on a retina device</li>
<li>put an element at the very top, say a div, and set the cursor type to pointer</li>
<li>observe that the cursor does not always change to a 'pointer' type</li>
</ol>
<p dir="auto">I have a video here for demo purpose: <a href="https://youtu.be/yFZayteopgg" rel="nofollow">https://youtu.be/yFZayteopgg</a></p>
<p dir="auto">The video demonstrated the issue on Mac, but it's also reproducible on Windows, and on Windows it's worse because not only the cursor type does not change, the click event won't register either. Thus it's impossible to correctly implement close/maximize/minimize buttons with CSS.</p>
<p dir="auto">Notice it's only reproducible on hi dpi devices, everything seems to work correctly on regular displays.</p>
<p dir="auto">the demo in the video is made by adapting the frameless window example in the electron api demo app.</p> | 1 |
<p dir="auto">Would it be possible to utilize <code class="notranslate">APP_ENV</code> variable when running <code class="notranslate">yarn encore</code>?</p>
<p dir="auto">So instead of <code class="notranslate">yarn encore dev</code> or <code class="notranslate">yarn encore production</code> I would do <code class="notranslate">yarn encore</code>.</p>
<p dir="auto">More explicit option would be <code class="notranslate">yarn encore env</code> that selects dev or production based on <code class="notranslate">APP_ENV</code>.</p>
<p dir="auto">This would avoid duplication of install/deploy configurations between production and development.</p>
<p dir="auto">Rest of Symfony is doing that already.</p> | <p dir="auto"><strong>Symfony version(s) affected</strong>: 4.1.1 (at least)</p>
<p dir="auto"><strong>Description</strong><br>
I tried to decorate the serializer, but it's not possible; I get an exception:</p>
<blockquote>
<p dir="auto">Circular reference detected for service "App\Serializer", path: "App\Serializer -> App\Serializer.inner -> App\Serializer".</p>
</blockquote>
<p dir="auto"><strong>How to reproduce</strong></p>
<p dir="auto">With a fresh website skeleton, add this commit: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/lyrixx/test/commit/f6e27f55d6ee946451e002f9a6938652ed56220b/hovercard" href="https://github.com/lyrixx/test/commit/f6e27f55d6ee946451e002f9a6938652ed56220b">lyrixx/test@<tt>f6e27f5</tt></a></p>
<p dir="auto">I tried to decorate the Router, in order to ensure the decoration system works as expected, and it works well. So I think there is something special with the serializer, but I don't know what :/</p>
<p dir="auto">Note: Actually, I don't need this at all, I found that while trying to help someone</p> | 0 |
<p dir="auto">I would like to apply a directive conditionally through something like [class.draggable]="someBool" with '.draggable' as the selector on the directive, but this is not supported. What then is the recommended way to conditionally apply a directive on an existing element? Do I use an attribute for the selector and pass in the boolean as an input (i.e. the directive is always "active")? I'd prefer not to use ng-ifs with duplicate elements everywhere. Is there a cleaner way to attach and detach a behavior?</p> | <p dir="auto">The metadata extractor allows this:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export function FACTORY(parentDispatcher: ViewportRuler) {
return parentDispatcher || new ViewportRuler();
};"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">function</span> <span class="pl-smi">FACTORY</span><span class="pl-kos">(</span><span class="pl-s1">parentDispatcher</span>: <span class="pl-smi">ViewportRuler</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-s1">parentDispatcher</span> <span class="pl-c1">||</span> <span class="pl-k">new</span> <span class="pl-smi">ViewportRuler</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">But not this:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export const FACTORY = (parentDispatcher: ViewportRuler) => {
return parentDispatcher || new ViewportRuler();
};"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">const</span> <span class="pl-smi">FACTORY</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-s1">parentDispatcher</span>: <span class="pl-smi">ViewportRuler</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-s1">parentDispatcher</span> <span class="pl-c1">||</span> <span class="pl-k">new</span> <span class="pl-smi">ViewportRuler</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 latter results in</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Error: Error encountered resolving symbol values statically.
Function calls are not supported.
Consider replacing the function or lambda with a reference to an exported function
(position 59:48 in the original .ts file),
resolving symbol VIEWPORT_RULER_PROVIDER_FACTORY in..."><pre class="notranslate"><code class="notranslate">Error: Error encountered resolving symbol values statically.
Function calls are not supported.
Consider replacing the function or lambda with a reference to an exported function
(position 59:48 in the original .ts file),
resolving symbol VIEWPORT_RULER_PROVIDER_FACTORY in...
</code></pre></div>
<p dir="auto">Note from <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/chuckjaz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/chuckjaz">@chuckjaz</a>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="The reason we don't today is because we blindly inline local references.
What we should should only conditionally inline (simplify) exported constants."><pre class="notranslate"><code class="notranslate">The reason we don't today is because we blindly inline local references.
What we should should only conditionally inline (simplify) exported constants.
</code></pre></div> | 0 |
<h2 dir="auto">Checklist</h2>
<ul dir="auto">
<li>
<p dir="auto">[x ] I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="software -> celery:4.1.0 (latentcall) kombu:4.1.0 py:3.6.5
billiard:3.5.0.3 redis:2.10.6
platform -> system:Windows arch:64bit, WindowsPE imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:redis results:redis://localhost:6379/0
broker_url: 'redis://127.0.0.1:6379//'
result_backend: 'redis://localhost:6379/0'
include: ['base.tasks']"><pre class="notranslate"><code class="notranslate">software -> celery:4.1.0 (latentcall) kombu:4.1.0 py:3.6.5
billiard:3.5.0.3 redis:2.10.6
platform -> system:Windows arch:64bit, WindowsPE imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:redis results:redis://localhost:6379/0
broker_url: 'redis://127.0.0.1:6379//'
result_backend: 'redis://localhost:6379/0'
include: ['base.tasks']
</code></pre></div>
</li>
<li>
<p dir="auto">[ x] I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</p>
</li>
</ul>
<h2 dir="auto">Steps to reproduce</h2>
<p dir="auto"><code class="notranslate">celery -A base.celery worker -P gevent</code></p>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">runs</p>
<h2 dir="auto">Actual behavior</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" File "c:\programdata\miniconda3\envs\myenv\lib\site-packages\celery\concurrency\gevent.py", line 34, in __init__
from gevent.greenlet import Greenlet, GreenletExit
ImportError: cannot import name 'GreenletExit'"><pre class="notranslate"><code class="notranslate"> File "c:\programdata\miniconda3\envs\myenv\lib\site-packages\celery\concurrency\gevent.py", line 34, in __init__
from gevent.greenlet import Greenlet, GreenletExit
ImportError: cannot import name 'GreenletExit'
</code></pre></div>
<p dir="auto">Changing Timer.<strong>init</strong> from this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="class Timer(_timer.Timer):
def __init__(self, *args, **kwargs):
from gevent.greenlet import Greenlet, GreenletExit"><pre class="notranslate"><code class="notranslate">class Timer(_timer.Timer):
def __init__(self, *args, **kwargs):
from gevent.greenlet import Greenlet, GreenletExit
</code></pre></div>
<p dir="auto">...to this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="class Timer(_timer.Timer):
def __init__(self, *args, **kwargs):
from gevent.greenlet import Greenlet
from greenlet import GreenletExit"><pre class="notranslate"><code class="notranslate">class Timer(_timer.Timer):
def __init__(self, *args, **kwargs):
from gevent.greenlet import Greenlet
from greenlet import GreenletExit
</code></pre></div>
<p dir="auto">...resolves the problem. After changing the import then <code class="notranslate">celery -A base.celery worker -P gevent</code> runs like it should.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" -------------- celery@DESKTOP-7QUDBA4 v4.1.0 (latentcall)
---- **** -----
--- * *** * -- Windows-10-10.0.17134-SP0 2018-05-29 22:02:10
-- * - **** ---
- ** ---------- [config]
- ** ---------- .> app: base:0x205ee24df60
- ** ---------- .> transport: redis://127.0.0.1:6379//
- ** ---------- .> results: redis://localhost:6379/0
- *** --- * --- .> concurrency: 4 (gevent)
-- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker)
--- ***** -----
-------------- [queues]
.> celery exchange=celery(direct) key=celery"><pre class="notranslate"><code class="notranslate"> -------------- celery@DESKTOP-7QUDBA4 v4.1.0 (latentcall)
---- **** -----
--- * *** * -- Windows-10-10.0.17134-SP0 2018-05-29 22:02:10
-- * - **** ---
- ** ---------- [config]
- ** ---------- .> app: base:0x205ee24df60
- ** ---------- .> transport: redis://127.0.0.1:6379//
- ** ---------- .> results: redis://localhost:6379/0
- *** --- * --- .> concurrency: 4 (gevent)
-- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker)
--- ***** -----
-------------- [queues]
.> celery exchange=celery(direct) key=celery
</code></pre></div>
<p dir="auto">I'm running gevent==1.3.2 and greenlet==0.4.13</p> | <h2 dir="auto">Checklist</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>
</ul>
<h2 dir="auto">Steps to reproduce</h2>
<p dir="auto">I'm using Python 3.5.2 with celery 4.1.0 and gevent 1.3.0<br>
When launching a worker, it returns an ImportError on GreenletExit</p>
<p dir="auto">celery worker --app=superset.sql_lab:celery_app --pool=gevent -Ofair</p>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">The worker should launch.</p>
<h2 dir="auto">Actual behavior</h2>
<p dir="auto">Celery is unable to launch the worker, it return this error:</p>
<p dir="auto">/home/joao/Superset/lib/python3.5/site-packages/celery/<strong>init</strong>.py:113: MonkeyPatchWarning: Monkey-patching ssl after ssl has already been imported may lead to errors, including RecursionError on Python 3.6. Please monkey-patch earlier. See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="256694563" data-permission-text="Title is private" data-url="https://github.com/gevent/gevent/issues/1016" data-hovercard-type="issue" data-hovercard-url="/gevent/gevent/issues/1016/hovercard" href="https://github.com/gevent/gevent/issues/1016">gevent/gevent#1016</a><br>
monkey.patch_all()<br>
Loaded your LOCAL configuration at [/home/joao/Superset/superset_config.py]<br>
/home/joaog/Superset/lib/python3.5/site-packages/flask_cache/jinja2ext.py:33: ExtDeprecationWarning: Importing flask.ext.cache is deprecated, use flask_cache instead.<br>
from flask.ext.cache import make_template_fragment_key<br>
Traceback (most recent call last):<br>
File "/home/joao/superset/bin/celery", line 11, in <br>
load_entry_point('celery==4.1.0', 'console_scripts', 'celery')()<br>
...<br>
...<br>
...<br>
File "/home/joao/Superset/lib/python3.5/site-packages/celery/concurrency/gevent.py", line 34, in <strong>init</strong><br>
from gevent.greenlet import Greenlet, GreenletExit<br>
ImportError: cannot import name 'GreenletExit'</p>
<p dir="auto">It appears the GreenletExit should be imported like this:<br>
from gevent import GreenletExit</p> | 1 |
<blockquote>
<p dir="auto">PHP Fatal error: Can't inherit abstract function Symfony\Component\HttpKernel\Log\LoggerInterface::alert() (previously declared abstract in Psr\Log\LoggerInterface) in /home/olaurendeau/git/lafourchette-core/vendor/symfony/symfony/src/Symfony/Bridge/Monolog/Logger.php on line 23</p>
</blockquote>
<p dir="auto">Symfony interface <a href="https://github.com/symfony/symfony/blob/2.1/src/Symfony/Component/HttpKernel/Log/LoggerInterface.php">LoggerInterface</a> seems to conflict with Psr interface <a href="https://github.com/php-fig/log/blob/master/Psr/Log/LoggerInterface.php">LoggerInterface</a> .</p>
<p dir="auto">Between Symfony class <a href="https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Monolog/Logger.php">Logger</a></p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class Logger extends BaseLogger implements LoggerInterface, DebugLoggerInterface"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">Logger</span> <span class="pl-k">extends</span> <span class="pl-v">BaseLogger</span> <span class="pl-k">implements</span> <span class="pl-v">LoggerInterface</span>, <span class="pl-v">DebugLoggerInterface</span></pre></div>
<p dir="auto">And freshly updated Monolog class <a href="https://github.com/Seldaek/monolog/blob/master/src/Monolog/Logger.php">Logger</a></p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class Logger implements LoggerInterface"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">Logger</span> <span class="pl-k">implements</span> <span class="pl-v">LoggerInterface</span></pre></div> | <p dir="auto">As of today, we have a <code class="notranslate">LoggerInterface</code> declared in the HttpKernel component. This can be problematic for components that need a logger but do not depend on HttpKernel.</p>
<p dir="auto">There are several options here to fix this "issue":</p>
<p dir="auto">1/ Let the FIG group decide on an interface and rely on the FIG package that would declare this interface (keep in mind that we need to have something stable by the end of December for Symfony 2.2);<br>
2/ Create a new Symfony component with just the <code class="notranslate">LoggerInterface</code> file;<br>
3/ Remove the interface altogether and rely on Monolog instead;<br>
4/ Create a Symfony Logger component that support both Monolog and the Zend Logger;<br>
5/ Do nothing.</p>
<p dir="auto">see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="8106307" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/5911" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/5911/hovercard" href="https://github.com/symfony/symfony/issues/5911">#5911</a> for the start of the discussion.</p>
<p dir="auto">I tend to prefer option 3 for the many reasons:</p>
<ul dir="auto">
<li>If we had created a Logger component when we decided to create Monolog (switching from the Zend Logger at that time), we wouldn't have this discussion about this today. So, I like to think of Monolog as being the Symfony Logger component;</li>
<li>There aren' that many other logger libraries in PHP and this is not the kind of problems that need to have the flexibility to be replaced by something else;</li>
<li>Monolog is flexible enough to cover all the use cases you will ever need;</li>
<li>If this is a must, we can also add support for the Zend Logger library within Monolog (<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Seldaek/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Seldaek">@Seldaek</a> agreed with this possibility);</li>
<li>Thanks to Composer, relying on an external library like Monolog is not a problem anymore.</li>
</ul> | 1 |
<p dir="auto">Function <code class="notranslate">redirect</code> returns the wrong type according to <code class="notranslate">mypy</code>:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# file "redir.py"
from flask import Response, redirect
def something() -> Response:
return redirect("https://wikipedia.org/")"><pre class="notranslate"><span class="pl-c"># file "redir.py"</span>
<span class="pl-k">from</span> <span class="pl-s1">flask</span> <span class="pl-k">import</span> <span class="pl-v">Response</span>, <span class="pl-s1">redirect</span>
<span class="pl-k">def</span> <span class="pl-en">something</span>() <span class="pl-c1">-></span> <span class="pl-v">Response</span>:
<span class="pl-k">return</span> <span class="pl-en">redirect</span>(<span class="pl-s">"https://wikipedia.org/"</span>)</pre></div>
<p dir="auto">Then mypy complains:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="redir.py:3: error: Incompatible return value type (got "werkzeug.wrappers.response.Response", expected "flask.wrappers.Response")
Found 1 error in 1 file (checked 1 source file)"><pre class="notranslate"><code class="notranslate">redir.py:3: error: Incompatible return value type (got "werkzeug.wrappers.response.Response", expected "flask.wrappers.Response")
Found 1 error in 1 file (checked 1 source file)
</code></pre></div>
<p dir="auto">Function <code class="notranslate">redirect</code> should return a <code class="notranslate">flask.wrappers.Response</code>.</p>
<p dir="auto">Environment:</p>
<ul dir="auto">
<li>Python version: 3.8.10</li>
<li>Flask version: 2.1.2</li>
</ul> | <p dir="auto">I am not sure if this is a bug in Sphinx, but stuff like the <code class="notranslate">root_path</code> and <code class="notranslate">static_url_path</code> attributes/properties from <code class="notranslate">_PackageBoundObject</code> end up not documented in the API page of the docs. <code class="notranslate">api.rst</code> just contains this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=".. autoclass:: Flask
:members:
:inherited-members:"><pre class="notranslate"><code class="notranslate">.. autoclass:: Flask
:members:
:inherited-members:
</code></pre></div> | 0 |
<p dir="auto">When I try to import the package it shows me this message:</p>
<p dir="auto">Traceback (most recent call last):<br>
File "/Users/fabio/Desktop/Utilità/Politecnico/Magistrale/pythonProject1/venv/lib/python3.7/site-packages/sklearn/__check_build/<strong>init</strong>.py", line 44, in <br>
from ._check_build import check_build # noqa<br>
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import<br>
module = self._system_import(name, *args, **kwargs)<br>
ImportError: dlopen(/Users/fabio/Desktop/Utilità/Politecnico/Magistrale/pythonProject1/venv/lib/python3.7/site-packages/sklearn/__check_build/_check_build.cpython-37m-darwin.so, 2): Symbol not found: ____chkstk_darwin<br>
Referenced from: /Users/fabio/Desktop/Utilità/Politecnico/Magistrale/pythonProject1/venv/lib/python3.7/site-packages/sklearn/__check_build/../.dylibs/libomp.dylib (which was built for Mac OS X 10.15)<br>
Expected in: /usr/lib/libSystem.B.dylib<br>
in /Users/fabio/Desktop/Utilità/Politecnico/Magistrale/pythonProject1/venv/lib/python3.7/site-packages/sklearn/__check_build/../.dylibs/libomp.dylib<br>
During handling of the above exception, another exception occurred:<br>
Traceback (most recent call last):<br>
File "", line 1, in <br>
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import<br>
module = self._system_import(name, *args, **kwargs)<br>
File "/Users/fabio/Desktop/Utilità/Politecnico/Magistrale/pythonProject1/venv/lib/python3.7/site-packages/sklearn/<strong>init</strong>.py", line 81, in <br>
from . import __check_build # noqa: F401<br>
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import<br>
module = self._system_import(name, *args, **kwargs)<br>
File "/Users/fabio/Desktop/Utilità/Politecnico/Magistrale/pythonProject1/venv/lib/python3.7/site-packages/sklearn/__check_build/<strong>init</strong>.py", line 46, in <br>
raise_build_error(e)<br>
File "/Users/fabio/Desktop/Utilità/Politecnico/Magistrale/pythonProject1/venv/lib/python3.7/site-packages/sklearn/__check_build/<strong>init</strong>.py", line 41, in raise_build_error<br>
%s""" % (e, local_dir, ''.join(dir_content).strip(), msg))<br>
ImportError: dlopen(/Users/fabio/Desktop/Utilità/Politecnico/Magistrale/pythonProject1/venv/lib/python3.7/site-packages/sklearn/__check_build/_check_build.cpython-37m-darwin.so, 2): Symbol not found: ____chkstk_darwin<br>
Referenced from: /Users/fabio/Desktop/Utilità/Politecnico/Magistrale/pythonProject1/venv/lib/python3.7/site-packages/sklearn/__check_build/../.dylibs/libomp.dylib (which was built for Mac OS X 10.15)<br>
Expected in: /usr/lib/libSystem.B.dylib<br>
in /Users/fabio/Desktop/Utilità/Politecnico/Magistrale/pythonProject1/venv/lib/python3.7/site-packages/sklearn/__check_build/../.dylibs/libomp.dylib</p>
<hr>
<p dir="auto">Contents of /Users/fabio/Desktop/Utilità/Politecnico/Magistrale/pythonProject1/venv/lib/python3.7/site-packages/sklearn/__check_build:<br>
<strong>init</strong>.py <strong>pycache</strong> _check_build.cpython-37m-darwin.so<br>
setup.py</p>
<hr>
<p dir="auto">It seems that scikit-learn has not been built correctly.<br>
If you have installed scikit-learn from source, please do not forget<br>
to build the package before using it: run <code class="notranslate">python setup.py install</code> or<br>
<code class="notranslate">make</code> in the source directory.<br>
If you have used an installer, please check that it is suited for your<br>
Python version, your operating system and your platform.</p>
<p dir="auto">I've already tried to fix it with unistall and installing back, but still I see this message.</p> | <h4 dir="auto">Describe the bug</h4>
<p dir="auto">Importing <code class="notranslate">scikit-learn==0.24</code> fails on macOS 10.13.</p>
<p dir="auto">I believe this is similar to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="560157938" data-permission-text="Title is private" data-url="https://github.com/nodegui/nodegui/issues/391" data-hovercard-type="issue" data-hovercard-url="/nodegui/nodegui/issues/391/hovercard" href="https://github.com/nodegui/nodegui/issues/391">nodegui/nodegui#391</a>, i.e. the prebuilt <code class="notranslate">libomp</code> binary (from 10.15) isn't compatible with macOS 10.13.</p>
<p dir="auto">We're also tracking this issue on the project where we encountered it: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="773884700" data-permission-text="Title is private" data-url="https://github.com/spinalcordtoolbox/spinalcordtoolbox/issues/3121" data-hovercard-type="issue" data-hovercard-url="/spinalcordtoolbox/spinalcordtoolbox/issues/3121/hovercard" href="https://github.com/spinalcordtoolbox/spinalcordtoolbox/issues/3121">spinalcordtoolbox/spinalcordtoolbox#3121</a>.</p>
<h4 dir="auto">Steps/Code to Reproduce</h4>
<ol dir="auto">
<li>Install <code class="notranslate">scikit-learn==0.24.0</code> on macOS 10.13 (for us, it appeared as a successful install)
<ul dir="auto">
<li>Shown in our CI: <a href="https://travis-ci.com/github/neuropoly/spinalcordtoolbox/jobs/464176777#L568" rel="nofollow">https://travis-ci.com/github/neuropoly/spinalcordtoolbox/jobs/464176777#L568</a></li>
</ul>
</li>
<li>Import <code class="notranslate">scikit-learn</code> (for us, an error was thrown)
<ul dir="auto">
<li>Shown in our CI: <a href="https://travis-ci.com/github/neuropoly/spinalcordtoolbox/jobs/464176777#L1074" rel="nofollow">https://travis-ci.com/github/neuropoly/spinalcordtoolbox/jobs/464176777#L1074</a></li>
</ul>
</li>
</ol>
<h4 dir="auto">Expected Results</h4>
<p dir="auto">No error is thrown.</p>
<h4 dir="auto">Actual Results</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="dlopen(/Users/travis/build/neuropoly/spinalcordtoolbox/python/envs/venv_sct/lib/python3.6/site-packages/sklearn/__check_build/_check_build.cpython-36m-darwin.so, 2): Symbol not found: ____chkstk_darwin
Referenced from: /Users/travis/build/neuropoly/spinalcordtoolbox/python/envs/venv_sct/lib/python3.6/site-packages/sklearn/__check_build/../.dylibs/libomp.dylib (which was built for Mac OS X 10.15)
Expected in: /usr/lib/libSystem.B.dylib
in /Users/travis/build/neuropoly/spinalcordtoolbox/python/envs/venv_sct/lib/python3.6/site-packages/sklearn/__check_build/../.dylibs/libomp.dylib
___________________________________________________________________________
Contents of /Users/travis/build/neuropoly/spinalcordtoolbox/python/envs/venv_sct/lib/python3.6/site-packages/sklearn/__check_build:
__init__.py __pycache__ _check_build.cpython-36m-darwin.so
setup.py
___________________________________________________________________________
It seems that scikit-learn has not been built correctly.
If you have installed scikit-learn from source, please do not forget
to build the package before using it: run `python setup.py install` or
`make` in the source directory.
If you have used an installer, please check that it is suited for your
Python version, your operating system and your platform."><pre class="notranslate"><code class="notranslate">dlopen(/Users/travis/build/neuropoly/spinalcordtoolbox/python/envs/venv_sct/lib/python3.6/site-packages/sklearn/__check_build/_check_build.cpython-36m-darwin.so, 2): Symbol not found: ____chkstk_darwin
Referenced from: /Users/travis/build/neuropoly/spinalcordtoolbox/python/envs/venv_sct/lib/python3.6/site-packages/sklearn/__check_build/../.dylibs/libomp.dylib (which was built for Mac OS X 10.15)
Expected in: /usr/lib/libSystem.B.dylib
in /Users/travis/build/neuropoly/spinalcordtoolbox/python/envs/venv_sct/lib/python3.6/site-packages/sklearn/__check_build/../.dylibs/libomp.dylib
___________________________________________________________________________
Contents of /Users/travis/build/neuropoly/spinalcordtoolbox/python/envs/venv_sct/lib/python3.6/site-packages/sklearn/__check_build:
__init__.py __pycache__ _check_build.cpython-36m-darwin.so
setup.py
___________________________________________________________________________
It seems that scikit-learn has not been built correctly.
If you have installed scikit-learn from source, please do not forget
to build the package before using it: run `python setup.py install` or
`make` in the source directory.
If you have used an installer, please check that it is suited for your
Python version, your operating system and your platform.
</code></pre></div>
<h4 dir="auto">Versions</h4>
<ul dir="auto">
<li>Python: <code class="notranslate">python-3.6.12</code></li>
<li>Numpy: <code class="notranslate">numpy-1.19.4</code></li>
<li>Scipy: <code class="notranslate">scipy-1.5.4</code></li>
<li>Scikit-learn: <code class="notranslate">scikit-learn-0.24.0</code></li>
</ul> | 1 |
<p dir="auto"><strong>Migrated issue, originally created by Anonymous</strong></p>
<p dir="auto">using cast and INTERVAL seems to cause a problem: (note this code is corrupted by an issue tracker migration some years ago)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import sqlalchemy as sa
import sqlalchemy.dialects.postgresql as sa_pg
s1 = sa.select([week ago', sa_pg.DATE)](sa.cast('1))
print s1
s2 = sa.select([seconds', sa_pg.INTERVAL)](sa.cast('100))
print s2
AttributeError: 'GenericTypeCompiler' object has no attribute 'visit_INTERVAL'"><pre class="notranslate"><code class="notranslate">import sqlalchemy as sa
import sqlalchemy.dialects.postgresql as sa_pg
s1 = sa.select([week ago', sa_pg.DATE)](sa.cast('1))
print s1
s2 = sa.select([seconds', sa_pg.INTERVAL)](sa.cast('100))
print s2
AttributeError: 'GenericTypeCompiler' object has no attribute 'visit_INTERVAL'
</code></pre></div>
<p dir="auto">The DATE cast works fine.<br>
The INTERVAL cast fails.</p>
<p dir="auto">0.6.7 and 0.7b5 (current as of 7606:4d99799ee724070fe0fe7404f655854d223f6e93)</p> | <p dir="auto"><strong>Migrated issue, originally created by Michael Bayer (<a href="https://github.com/zzzeek">@zzzeek</a>)</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="diff --git a/lib/sqlalchemy/engine/default.py b/lib/sqlalchemy/engine/default.py
index 3e5f339..9f845e7 100644
--- a/lib/sqlalchemy/engine/default.py
+++ b/lib/sqlalchemy/engine/default.py
@@ -474,6 +474,23 @@ class DefaultDialect(interfaces.Dialect):
self.set_isolation_level(dbapi_conn, self.default_isolation_level)
+class StrCompileDialect(DefaultDialect):
+
+ statement_compiler = compiler.StrSQLCompiler
+ ddl_compiler = compiler.DDLCompiler
+ type_compiler = compiler.StrSQLTypeCompiler
+ preparer = compiler.IdentifierPreparer
+
+ supports_sequences = True
+ sequences_optional = True
+ preexecute_autoincrement_sequences = False
+ implicit_returning = False
+
+ supports_native_boolean = True
+
+ supports_simple_order_by_label = True
+
+
class DefaultExecutionContext(interfaces.ExecutionContext):
isinsert = False
isupdate = False
diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py
index c5f87cc..076ae53 100644
--- a/lib/sqlalchemy/sql/compiler.py
+++ b/lib/sqlalchemy/sql/compiler.py
@@ -2118,6 +2118,30 @@ class SQLCompiler(Compiled):
self.preparer.format_savepoint(savepoint_stmt)
+class StrSQLCompiler(SQLCompiler):
+ """"a compiler subclass with a few non-standard SQL features allowed.
+
+ Used for stringification of SQL statements when a real dialect is not
+ available.
+
+ """
+
+ def visit_getitem_binary(self, binary, operator, **kw):
+ return "%s[%s]" % (
+ self.process(binary.left, **kw),
+ self.process(binary.right, **kw)
+ )
+
+ def returning_clause(self, stmt, returning_cols):
+
+ columns = [
+ self._label_select_column(None, c, True, False, {})
+ for c in elements._select_iterables(returning_cols)
+ ]
+
+ return 'RETURNING ' + ', '.join(columns)
+
+
class DDLCompiler(Compiled):
@util.memoized_property
@@ -2640,6 +2664,17 @@ class GenericTypeCompiler(TypeCompiler):
return type_.get_col_spec(**kw)
+class StrSQLTypeCompiler(GenericTypeCompiler):
+ def __getattr__(self, key):
+ if key.startswith("visit_"):
+ return self._visit_unknown
+ else:
+ raise AttributeError(key)
+
+ def _visit_unknown(self, type_, **kw):
+ return "%s" % type_.__class__.__name__
+
+
class IdentifierPreparer(object):
"""Handle quoting and case-folding of identifiers based on options."""
diff --git a/lib/sqlalchemy/sql/elements.py b/lib/sqlalchemy/sql/elements.py
index de17aab..fe2fecc 100644
--- a/lib/sqlalchemy/sql/elements.py
+++ b/lib/sqlalchemy/sql/elements.py
@@ -429,7 +429,7 @@ class ClauseElement(Visitable):
dialect = self.bind.dialect
bind = self.bind
else:
- dialect = default.DefaultDialect()
+ dialect = default.StrCompileDialect()
return self._compiler(dialect, bind=bind, **kw)
def _compiler(self, dialect, **kw):
"><pre class="notranslate"><code class="notranslate">diff --git a/lib/sqlalchemy/engine/default.py b/lib/sqlalchemy/engine/default.py
index 3e5f339..9f845e7 100644
--- a/lib/sqlalchemy/engine/default.py
+++ b/lib/sqlalchemy/engine/default.py
@@ -474,6 +474,23 @@ class DefaultDialect(interfaces.Dialect):
self.set_isolation_level(dbapi_conn, self.default_isolation_level)
+class StrCompileDialect(DefaultDialect):
+
+ statement_compiler = compiler.StrSQLCompiler
+ ddl_compiler = compiler.DDLCompiler
+ type_compiler = compiler.StrSQLTypeCompiler
+ preparer = compiler.IdentifierPreparer
+
+ supports_sequences = True
+ sequences_optional = True
+ preexecute_autoincrement_sequences = False
+ implicit_returning = False
+
+ supports_native_boolean = True
+
+ supports_simple_order_by_label = True
+
+
class DefaultExecutionContext(interfaces.ExecutionContext):
isinsert = False
isupdate = False
diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py
index c5f87cc..076ae53 100644
--- a/lib/sqlalchemy/sql/compiler.py
+++ b/lib/sqlalchemy/sql/compiler.py
@@ -2118,6 +2118,30 @@ class SQLCompiler(Compiled):
self.preparer.format_savepoint(savepoint_stmt)
+class StrSQLCompiler(SQLCompiler):
+ """"a compiler subclass with a few non-standard SQL features allowed.
+
+ Used for stringification of SQL statements when a real dialect is not
+ available.
+
+ """
+
+ def visit_getitem_binary(self, binary, operator, **kw):
+ return "%s[%s]" % (
+ self.process(binary.left, **kw),
+ self.process(binary.right, **kw)
+ )
+
+ def returning_clause(self, stmt, returning_cols):
+
+ columns = [
+ self._label_select_column(None, c, True, False, {})
+ for c in elements._select_iterables(returning_cols)
+ ]
+
+ return 'RETURNING ' + ', '.join(columns)
+
+
class DDLCompiler(Compiled):
@util.memoized_property
@@ -2640,6 +2664,17 @@ class GenericTypeCompiler(TypeCompiler):
return type_.get_col_spec(**kw)
+class StrSQLTypeCompiler(GenericTypeCompiler):
+ def __getattr__(self, key):
+ if key.startswith("visit_"):
+ return self._visit_unknown
+ else:
+ raise AttributeError(key)
+
+ def _visit_unknown(self, type_, **kw):
+ return "%s" % type_.__class__.__name__
+
+
class IdentifierPreparer(object):
"""Handle quoting and case-folding of identifiers based on options."""
diff --git a/lib/sqlalchemy/sql/elements.py b/lib/sqlalchemy/sql/elements.py
index de17aab..fe2fecc 100644
--- a/lib/sqlalchemy/sql/elements.py
+++ b/lib/sqlalchemy/sql/elements.py
@@ -429,7 +429,7 @@ class ClauseElement(Visitable):
dialect = self.bind.dialect
bind = self.bind
else:
- dialect = default.DefaultDialect()
+ dialect = default.StrCompileDialect()
return self._compiler(dialect, bind=bind, **kw)
def _compiler(self, dialect, **kw):
</code></pre></div> | 1 |
<p dir="auto"><a href="https://storage.cloud.google.com/kubernetes-jenkins/pr-logs/pull/27728/node-pull-build-e2e-test/11333/build-log.txt" rel="nofollow">https://storage.cloud.google.com/kubernetes-jenkins/pr-logs/pull/27728/node-pull-build-e2e-test/11333/build-log.txt</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Summarizing 9 Failures:
[Fail] [k8s.io] Downward API [It] should provide container's limits.cpu/memory and requests.cpu/memory as env vars
/var/lib/jenkins/workspace/node-pull-build-e2e-test/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/util.go:2078
[Fail] [k8s.io] Container Runtime Conformance Test container runtime conformance blackbox test when starting a container that exits [It] it should run with the expected status [Conformance]
/var/lib/jenkins/workspace/node-pull-build-e2e-test/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e_node/runtime_conformance_test.go:114
[Fail] [k8s.io] Container Runtime Conformance Test container runtime conformance blackbox test when starting a container that exits [It] should report termination message if TerminationMessagePath is set [Conformance]
/var/lib/jenkins/workspace/node-pull-build-e2e-test/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e_node/runtime_conformance_test.go:157
[Fail] [k8s.io] Container Runtime Conformance Test container runtime conformance blackbox test when running a container with a new image [It] should not be able to pull image from invalid registry
/var/lib/jenkins/workspace/node-pull-build-e2e-test/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e_node/runtime_conformance_test.go:270
[Fail] [k8s.io] Container Runtime Conformance Test container runtime conformance blackbox test when running a container with a new image [It] should not be able to pull non-existing image from gcr.io
/var/lib/jenkins/workspace/node-pull-build-e2e-test/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e_node/runtime_conformance_test.go:270
[Fail] [k8s.io] Container Runtime Conformance Test container runtime conformance blackbox test when running a container with a new image [It] should be able to pull image from gcr.io
/var/lib/jenkins/workspace/node-pull-build-e2e-test/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e_node/runtime_conformance_test.go:265
[Fail] [k8s.io] Container Runtime Conformance Test container runtime conformance blackbox test when running a container with a new image [It] should be able to pull image from docker hub
/var/lib/jenkins/workspace/node-pull-build-e2e-test/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e_node/runtime_conformance_test.go:265
[Fail] [k8s.io] Container Runtime Conformance Test container runtime conformance blackbox test when running a container with a new image [It] should not be able to pull from private registry without secret
/var/lib/jenkins/workspace/node-pull-build-e2e-test/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e_node/runtime_conformance_test.go:270
[Fail] [k8s.io] Container Runtime Conformance Test container runtime conformance blackbox test when running a container with a new image [It] should be able to pull from private registry with secret
/var/lib/jenkins/workspace/node-pull-build-e2e-test/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e_node/runtime_conformance_test.go:265
Ran 20 of 23 Specs in 1950.350 seconds
FAIL! -- 11 Passed | 9 Failed | 0 Pending | 3 Skipped --- FAIL: TestE2eNode (1950.35s)
FAIL"><pre class="notranslate"><code class="notranslate">Summarizing 9 Failures:
[Fail] [k8s.io] Downward API [It] should provide container's limits.cpu/memory and requests.cpu/memory as env vars
/var/lib/jenkins/workspace/node-pull-build-e2e-test/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/util.go:2078
[Fail] [k8s.io] Container Runtime Conformance Test container runtime conformance blackbox test when starting a container that exits [It] it should run with the expected status [Conformance]
/var/lib/jenkins/workspace/node-pull-build-e2e-test/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e_node/runtime_conformance_test.go:114
[Fail] [k8s.io] Container Runtime Conformance Test container runtime conformance blackbox test when starting a container that exits [It] should report termination message if TerminationMessagePath is set [Conformance]
/var/lib/jenkins/workspace/node-pull-build-e2e-test/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e_node/runtime_conformance_test.go:157
[Fail] [k8s.io] Container Runtime Conformance Test container runtime conformance blackbox test when running a container with a new image [It] should not be able to pull image from invalid registry
/var/lib/jenkins/workspace/node-pull-build-e2e-test/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e_node/runtime_conformance_test.go:270
[Fail] [k8s.io] Container Runtime Conformance Test container runtime conformance blackbox test when running a container with a new image [It] should not be able to pull non-existing image from gcr.io
/var/lib/jenkins/workspace/node-pull-build-e2e-test/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e_node/runtime_conformance_test.go:270
[Fail] [k8s.io] Container Runtime Conformance Test container runtime conformance blackbox test when running a container with a new image [It] should be able to pull image from gcr.io
/var/lib/jenkins/workspace/node-pull-build-e2e-test/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e_node/runtime_conformance_test.go:265
[Fail] [k8s.io] Container Runtime Conformance Test container runtime conformance blackbox test when running a container with a new image [It] should be able to pull image from docker hub
/var/lib/jenkins/workspace/node-pull-build-e2e-test/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e_node/runtime_conformance_test.go:265
[Fail] [k8s.io] Container Runtime Conformance Test container runtime conformance blackbox test when running a container with a new image [It] should not be able to pull from private registry without secret
/var/lib/jenkins/workspace/node-pull-build-e2e-test/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e_node/runtime_conformance_test.go:270
[Fail] [k8s.io] Container Runtime Conformance Test container runtime conformance blackbox test when running a container with a new image [It] should be able to pull from private registry with secret
/var/lib/jenkins/workspace/node-pull-build-e2e-test/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e_node/runtime_conformance_test.go:265
Ran 20 of 23 Specs in 1950.350 seconds
FAIL! -- 11 Passed | 9 Failed | 0 Pending | 3 Skipped --- FAIL: TestE2eNode (1950.35s)
FAIL
</code></pre></div> | <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Cluster level logging using Elasticsearch
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/es_cluster_logging.go:46
should check that logs from pods on all nodes are ingested into Elasticsearch [It]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/es_cluster_logging.go:45
Expected error:
<*errors.errorString | 0xc82073bf50>: {
s: "gave up waiting for pod 'synthlogger-1' to be 'success or failure' after 5m0s",
}
gave up waiting for pod 'synthlogger-1' to be 'success or failure' after 5m0s
not to have occurred
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/es_cluster_logging.go:296"><pre class="notranslate"><code class="notranslate">Cluster level logging using Elasticsearch
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/es_cluster_logging.go:46
should check that logs from pods on all nodes are ingested into Elasticsearch [It]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/es_cluster_logging.go:45
Expected error:
<*errors.errorString | 0xc82073bf50>: {
s: "gave up waiting for pod 'synthlogger-1' to be 'success or failure' after 5m0s",
}
gave up waiting for pod 'synthlogger-1' to be 'success or failure' after 5m0s
not to have occurred
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/es_cluster_logging.go:296
</code></pre></div>
<p dir="auto">From <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="128751179" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/20149" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/20149/hovercard?comment_id=178874021&comment_type=issue_comment" href="https://github.com/kubernetes/kubernetes/pull/20149#issuecomment-178874021">#20149 (comment)</a>:</p>
<p dir="auto">e2e failed because kubelet wasn't able to pull the ubuntu image in time (<a href="http://kubekins.dls.corp.google.com:8081/job/kubernetes-pull-build-test-e2e-gce/26352/" rel="nofollow">http://kubekins.dls.corp.google.com:8081/job/kubernetes-pull-build-test-e2e-gce/26352/</a>):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="failed to "StartContainer" for "synth-logger" with ErrImagePull: "API error (500): unable to ping registry endpoint https://gcr.io/v0/\nv2 ping attempt failed with error: Get https://gcr.io/v2/: dial tcp: lookup gcr.io on 10.240.0.1:53: dial udp 10.240.0.1:53: network is unreachable\n v1 ping attempt failed with error: Get https://gcr.io/v1/_ping: dial tcp: lookup gcr.io on 10.240.0.1:53: dial udp 10.240.0.1:53: network is unreachable\n""><pre class="notranslate"><code class="notranslate">failed to "StartContainer" for "synth-logger" with ErrImagePull: "API error (500): unable to ping registry endpoint https://gcr.io/v0/\nv2 ping attempt failed with error: Get https://gcr.io/v2/: dial tcp: lookup gcr.io on 10.240.0.1:53: dial udp 10.240.0.1:53: network is unreachable\n v1 ping attempt failed with error: Get https://gcr.io/v1/_ping: dial tcp: lookup gcr.io on 10.240.0.1:53: dial udp 10.240.0.1:53: network is unreachable\n"
</code></pre></div> | 0 |
<p dir="auto">The places I'd expect to get warnings are indicated by the comments in this example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fn main() {
let a: u8 = 1000;
let b = 1000u8;
let c = 1000 as u8; // NO WARNING !!!
let one: u8 = 1;
let d = (one * 1000) as u32;
let e = (one * -1) as u32; // NO WARNING !!!
let f = (one * -255) as u32; // NO WARNING !!!
let g = (one * -256) as u32;
println!("{}, {}, {}, {}, {}, {}, {}", a, b, c, d, e, f, g);
}"><pre class="notranslate"><code class="notranslate">fn main() {
let a: u8 = 1000;
let b = 1000u8;
let c = 1000 as u8; // NO WARNING !!!
let one: u8 = 1;
let d = (one * 1000) as u32;
let e = (one * -1) as u32; // NO WARNING !!!
let f = (one * -255) as u32; // NO WARNING !!!
let g = (one * -256) as u32;
println!("{}, {}, {}, {}, {}, {}, {}", a, b, c, d, e, f, g);
}
</code></pre></div>
<p dir="auto">Here's the compiler output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="warning: literal out of range for its type, #[warn(type_overflow)] on by default
let a: u8 = 1000;
^~~~
warning: literal out of range for its type, #[warn(type_overflow)] on by default
let b = 1000u8;
^~~~~~
warning: literal out of range for its type, #[warn(type_overflow)] on by default
let d = (one * 1000) as u32;
^~~~
warning: literal out of range for its type, #[warn(type_overflow)] on by default
let g = (one * -256) as u32;
^~~"><pre class="notranslate"><code class="notranslate">warning: literal out of range for its type, #[warn(type_overflow)] on by default
let a: u8 = 1000;
^~~~
warning: literal out of range for its type, #[warn(type_overflow)] on by default
let b = 1000u8;
^~~~~~
warning: literal out of range for its type, #[warn(type_overflow)] on by default
let d = (one * 1000) as u32;
^~~~
warning: literal out of range for its type, #[warn(type_overflow)] on by default
let g = (one * -256) as u32;
^~~
</code></pre></div>
<p dir="auto">And here's the program output:<br>
<code class="notranslate">232, 232, 232, 232, 255, 1, 0</code></p> | <p dir="auto">The compiler should show a warning message when is used a negative number into a like-uint type</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let n: u8 = -1;
println!("{}", n); // => 255"><pre class="notranslate"><span class="pl-k">let</span> n<span class="pl-kos">:</span> <span class="pl-smi">u8</span> = -<span class="pl-c1">1</span><span class="pl-kos">;</span>
<span class="pl-en">println</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-s">"{}"</span>, n<span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// => 255</span></pre></div> | 1 |
<p dir="auto">on master: <a href="https://travis-ci.org/angular/angular/jobs/66142657#L650" rel="nofollow">https://travis-ci.org/angular/angular/jobs/66142657#L650</a></p>
<p dir="auto">are those expected ?</p>
<p dir="auto">/cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kegluneq/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kegluneq">@kegluneq</a></p> | <p dir="auto">Right now, we get the following errors during our build. I think this is because we have almost empty files inside of <code class="notranslate">web/e2e_test</code> that look like this:</p>
<p dir="auto">E.g. compiler_perf.dart</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="library benchmarks.e2e_test.compiler_perf;
main() {}"><pre class="notranslate"><code class="notranslate">library benchmarks.e2e_test.compiler_perf;
main() {}
</code></pre></div>
<p dir="auto">The error in the build is as follows:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[21:01:16] Starting 'build/pubbuild.dart'...
Loading source assets...
Loading angular2, di/module_transformer, observe and smoke/src/default_transformer transformers... (1.5s)
Loading angular transformers... (1.4s)
Building benchmarks_external...
[Warning from InjectorGenerator on benchmarks_external|web/e2e_test/compiler_perf.dart]:
Unable to resolve injectable annotation angular.core.annotation_src.Decorator
[Warning from InjectorGenerator on benchmarks_external|web/e2e_test/compiler_perf.dart]:
Unable to resolve injectable annotation angular.core.annotation_src.Component
[Warning from InjectorGenerator on benchmarks_external|web/e2e_test/compiler_perf.dart]:
Unable to resolve injectable annotation angular.core.annotation_src.Formatter
[Warning from InjectorGenerator on benchmarks_external|web/e2e_test/compiler_perf.dart]:
Unable to resolve injected type name perf_api.Profiler
Build error:
Transform InjectorGenerator on benchmarks_external|web/e2e_test/compiler_perf.dart threw error: Bad state: No element
dart:collection/iterable.dart 329 IterableBase.last
package:di/transformer/injector_generator.dart 368:30 _Processor._editMain
package:di/transformer/injector_generator.dart 72:5 _Processor.process
package:di/transformer/injector_generator.dart 25:52 InjectorGenerator.applyResolver
package:code_transformers/src/resolvers.dart 111:31 Transformer&ResolverTransformer.applyToEntryPoints.<fn>.<fn>
dart:async/future.dart 118 Future.Future.<fn>
dart:async-patch/timer_patch.dart 16 Timer._createTimer.<fn>
dart:isolate-patch/timer_impl.dart 385 _Timer._runTimers
dart:isolate-patch/timer_impl.dart 411 _Timer._handleMessage
dart:isolate-patch/isolate_patch.dart 142 _RawReceivePortImpl._handleMessage
dart:collection IterableBase.last
package:di/transformer/injector_generator.dart 368:30 _Processor._editMain
package:di/transformer/injector_generator.dart 72:5 _Processor.process
package:di/transformer/injector_generator.dart 25:52 InjectorGenerator.applyResolver
package:code_transformers/src/resolvers.dart 111:31 Transformer&ResolverTransformer.applyToEntryPoints.<fn>.<fn>
dart:isolate _RawReceivePortImpl._handleMessage"><pre class="notranslate"><code class="notranslate">[21:01:16] Starting 'build/pubbuild.dart'...
Loading source assets...
Loading angular2, di/module_transformer, observe and smoke/src/default_transformer transformers... (1.5s)
Loading angular transformers... (1.4s)
Building benchmarks_external...
[Warning from InjectorGenerator on benchmarks_external|web/e2e_test/compiler_perf.dart]:
Unable to resolve injectable annotation angular.core.annotation_src.Decorator
[Warning from InjectorGenerator on benchmarks_external|web/e2e_test/compiler_perf.dart]:
Unable to resolve injectable annotation angular.core.annotation_src.Component
[Warning from InjectorGenerator on benchmarks_external|web/e2e_test/compiler_perf.dart]:
Unable to resolve injectable annotation angular.core.annotation_src.Formatter
[Warning from InjectorGenerator on benchmarks_external|web/e2e_test/compiler_perf.dart]:
Unable to resolve injected type name perf_api.Profiler
Build error:
Transform InjectorGenerator on benchmarks_external|web/e2e_test/compiler_perf.dart threw error: Bad state: No element
dart:collection/iterable.dart 329 IterableBase.last
package:di/transformer/injector_generator.dart 368:30 _Processor._editMain
package:di/transformer/injector_generator.dart 72:5 _Processor.process
package:di/transformer/injector_generator.dart 25:52 InjectorGenerator.applyResolver
package:code_transformers/src/resolvers.dart 111:31 Transformer&ResolverTransformer.applyToEntryPoints.<fn>.<fn>
dart:async/future.dart 118 Future.Future.<fn>
dart:async-patch/timer_patch.dart 16 Timer._createTimer.<fn>
dart:isolate-patch/timer_impl.dart 385 _Timer._runTimers
dart:isolate-patch/timer_impl.dart 411 _Timer._handleMessage
dart:isolate-patch/isolate_patch.dart 142 _RawReceivePortImpl._handleMessage
dart:collection IterableBase.last
package:di/transformer/injector_generator.dart 368:30 _Processor._editMain
package:di/transformer/injector_generator.dart 72:5 _Processor.process
package:di/transformer/injector_generator.dart 25:52 InjectorGenerator.applyResolver
package:code_transformers/src/resolvers.dart 111:31 Transformer&ResolverTransformer.applyToEntryPoints.<fn>.<fn>
dart:isolate _RawReceivePortImpl._handleMessage
</code></pre></div> | 1 |
<p dir="auto">Currently, developing a flutter project that includes swift can be a bit of a pain when including various plugins - in particular Firebase messaging is the one I've had trouble with.</p>
<p dir="auto">This is more or less the structure of (the iOS part) of my app:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="App
↳ swift source
↳ firebase messaging
↳ objc source
↳ various static libraries included in sub-pods etc
↳ Qr code plugin
↳ objc source (originally swift but had issues with that)
↳ Google MobileVision (objc source)
↳ various static libraries included as sub-pods etc
↳ Swift plugin(s) (source, no libraries)
↳ Objc plugin(s) (source, no libraries)"><pre class="notranslate"><code class="notranslate">App
↳ swift source
↳ firebase messaging
↳ objc source
↳ various static libraries included in sub-pods etc
↳ Qr code plugin
↳ objc source (originally swift but had issues with that)
↳ Google MobileVision (objc source)
↳ various static libraries included as sub-pods etc
↳ Swift plugin(s) (source, no libraries)
↳ Objc plugin(s) (source, no libraries)
</code></pre></div>
<p dir="auto">Because of my usage of swift, <code class="notranslate">use_frameworks!</code> is set in my Podfile.</p>
<p dir="auto">What's happening when I build currently is that the various libraries are each being build as dynamic frameworks i.e. Firebase, qr code pluign, swift plugin(s), objc plugin(s). Then it appears that the static libraries are being linked properly when running on the device, but when I do an achive build, upload to testflight, and run on the device it fails to run. As far as I can tell, the static libraries are being linked into the main app rather than the dynamic libraries where they're required (i.e. firebase), although I may be misdiagnosing that as I'm not an expert by any means.</p>
<p dir="auto">I do have an example project but the issue is that to actually reproduce the issue you have to archive it, upload to app store, and use testflight etc to run it; I sometimes saw issues with release builds after running <code class="notranslate">flutter build ios --release</code> but not always for some reason.</p>
<p dir="auto">This is the error though, although not all that detailed as it's hard to debug an app from testflight:<br>
<code class="notranslate">Termination Description: DYLD, Symbol not found: _OBJC_CLASS_$_FIRApp | Referenced from: /private/var/containers/Bundle/Application/A9C35A12-B9A3-4F0C-A508-C0554CA2843A/Runner.app/Frameworks/firebase_messaging.framework/firebase_messaging | Expected in: flat namespace | in /private/var/containers/Bundle/Application/A9C35A12-B9A3-4F0C-A508-C0554CA2843A/Runner.app/Frameworks/firebase_messaging.framework/firebase_messaging</code></p>
<p dir="auto">What I'd like to propose is some way of forcing cocoapods to do what is needed (i.e. link the libraries into the right place). I tried various things including manually specifying the name of the dependency libraries in the podspec of the framework including them, which did link them into the dynamic framework but then resulted in duplicate definitions of classes and all sorts of other fun issues. I'm sure it's possible but that I just couldn't figure it out.</p>
<p dir="auto">However, cocoapods does have a relatively new option introduced in 1.4.0 - static_framework. To use it, you simply specify <code class="notranslate">static_framework = true</code> in the podspec of the framework which includes a static library, and the framework will compile statically including the dependent libraries (it should also theoretically remove the requirement for the `s.pod_target_xcconfig = { 'FRAMEWORK_SEARCH_PATHS .... OTHER_LDFLAGS ...' currently in firebase_messaging.podspec (and I assume the other plugins as well).</p>
<p dir="auto">There are a couple of caveats to this - the first being that CocoaPods currently has <a href="https://github.com/CocoaPods/CocoaPods/issues/7463" data-hovercard-type="issue" data-hovercard-url="/CocoaPods/CocoaPods/issues/7463/hovercard">a bug</a> that means public_headers which are symlinked from outside the project (as flutter has recently started doing) get included as <code class="notranslate">Project Headers</code> instead of <code class="notranslate">Public Headers</code> at least for when static_framework is used (it might pop up other places too). I've submitted <a href="https://github.com/CocoaPods/CocoaPods/pull/7470" data-hovercard-type="pull_request" data-hovercard-url="/CocoaPods/CocoaPods/pull/7470/hovercard">a PR</a> to cocoapods to resolve that <del>but still need to write some unit tests for them (yay, I get to learn more ruby <g-emoji class="g-emoji" alias="unamused" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f612.png">😒</g-emoji>)</del> <em>(edit: it has now been accepted into master but no idea about release date)</em>. Also, FYI - the trunk of cocoapods seems to not work with flutter (I don't currently have time to track down why not) so the next release that includes this fix could theoretically fail on that. It will also require people to update to cocoapods 1.4.0 if they haven't already.</p>
<p dir="auto">Sorry for the long-windedness, but I think this is something worth considering especially now that more developers will hopefully be coming on board since the beta release - and I'd bet that a lot of them will want to use both swift and the various plugins flutter provides for firebase etc.</p> | <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="10-03 11:29:10.612 29886 29912 E flutter : [ERROR:../../lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
10-03 11:29:10.612 29886 29912 E flutter : The null object does not have a method 'inheritFromWidgetOfExactType'.
10-03 11:29:10.612 29886 29912 E flutter :
10-03 11:29:10.612 29886 29912 E flutter : NoSuchMethodError: method not found: 'inheritFromWidgetOfExactType'
10-03 11:29:10.612 29886 29912 E flutter : Receiver: null
10-03 11:29:10.612 29886 29912 E flutter : Arguments: [Type: class 'FormScope']
10-03 11:29:10.612 29886 29912 E flutter : #0 Object._noSuchMethod (dart:core-patch/object_patch.dart)
10-03 11:29:10.612 29886 29912 E flutter : #1 Object.noSuchMethod (dart:core-patch/object_patch.dart)
10-03 11:29:10.612 29886 29912 E flutter : #2 _FormFieldData.onChanged (package:flutter/src/material/input.dart)
10-03 11:29:10.612 29886 29912 E flutter : #3 RawInputLineState._handleTextUpdated (package:flutter/src/widgets/editable.dart)
10-03 11:29:10.612 29886 29912 E flutter : #4 _KeyboardClientImpl.updateEditingState (package:flutter/src/widgets/editable.dart)
10-03 11:29:10.612 29886 29912 E flutter : #5 _KeyboardClientStubControl.handleMessage (package:sky_services/editing/editing.mojom.dart)
10-03 11:29:10.612 29886 29912 E flutter : #6 StubMessageHandler.handleRead (package:mojo/src/stub.dart)
10-03 11:29:10.612 29886 29912 E flutter : #7 MojoEventHandler._handleEvent (package:mojo/src/event_handler.dart)
10-03 11:29:10.612 29886 29912 E flutter : #8 MojoEventHandler._tryHandleEvent (package:mojo/src/event_handler.dart)
10-03 11:29:10.612 29886 29912 E flutter : #9 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart)"><pre class="notranslate"><code class="notranslate">10-03 11:29:10.612 29886 29912 E flutter : [ERROR:../../lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
10-03 11:29:10.612 29886 29912 E flutter : The null object does not have a method 'inheritFromWidgetOfExactType'.
10-03 11:29:10.612 29886 29912 E flutter :
10-03 11:29:10.612 29886 29912 E flutter : NoSuchMethodError: method not found: 'inheritFromWidgetOfExactType'
10-03 11:29:10.612 29886 29912 E flutter : Receiver: null
10-03 11:29:10.612 29886 29912 E flutter : Arguments: [Type: class 'FormScope']
10-03 11:29:10.612 29886 29912 E flutter : #0 Object._noSuchMethod (dart:core-patch/object_patch.dart)
10-03 11:29:10.612 29886 29912 E flutter : #1 Object.noSuchMethod (dart:core-patch/object_patch.dart)
10-03 11:29:10.612 29886 29912 E flutter : #2 _FormFieldData.onChanged (package:flutter/src/material/input.dart)
10-03 11:29:10.612 29886 29912 E flutter : #3 RawInputLineState._handleTextUpdated (package:flutter/src/widgets/editable.dart)
10-03 11:29:10.612 29886 29912 E flutter : #4 _KeyboardClientImpl.updateEditingState (package:flutter/src/widgets/editable.dart)
10-03 11:29:10.612 29886 29912 E flutter : #5 _KeyboardClientStubControl.handleMessage (package:sky_services/editing/editing.mojom.dart)
10-03 11:29:10.612 29886 29912 E flutter : #6 StubMessageHandler.handleRead (package:mojo/src/stub.dart)
10-03 11:29:10.612 29886 29912 E flutter : #7 MojoEventHandler._handleEvent (package:mojo/src/event_handler.dart)
10-03 11:29:10.612 29886 29912 E flutter : #8 MojoEventHandler._tryHandleEvent (package:mojo/src/event_handler.dart)
10-03 11:29:10.612 29886 29912 E flutter : #9 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart)
</code></pre></div> | 0 |
<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<ul dir="auto">
<li>template expansion</li>
</ul>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.2.1.0
config file =
configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">ansible 2.2.1.0
config file =
configured module search path = Default w/o overrides
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">N/A</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">Ubuntu 16.04. ansible installed via pip.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ pip list --format=legacy
ansible (2.2.1.0)
cffi (1.9.1)
configobj (5.0.6)
crit (0.0.1)
cryptography (1.7.1)
dynagen (0.9.0)
enum34 (1.1.6)
idna (2.2)
ipaddr (2.1.11)
ipaddress (1.0.18)
Jinja2 (2.9.4)
MarkupSafe (0.23)
paramiko (2.1.1)
pip (9.0.1)
protobuf (3.1.0.post1)
pyasn1 (0.1.9)
pycparser (2.17)
pycrypto (2.6.1)
python-apt (1.1.0b1)
PyYAML (3.12)
setuptools (33.1.1)
six (1.10.0)
wheel (0.29.0)"><pre class="notranslate"><code class="notranslate">$ pip list --format=legacy
ansible (2.2.1.0)
cffi (1.9.1)
configobj (5.0.6)
crit (0.0.1)
cryptography (1.7.1)
dynagen (0.9.0)
enum34 (1.1.6)
idna (2.2)
ipaddr (2.1.11)
ipaddress (1.0.18)
Jinja2 (2.9.4)
MarkupSafe (0.23)
paramiko (2.1.1)
pip (9.0.1)
protobuf (3.1.0.post1)
pyasn1 (0.1.9)
pycparser (2.17)
pycrypto (2.6.1)
python-apt (1.1.0b1)
PyYAML (3.12)
setuptools (33.1.1)
six (1.10.0)
wheel (0.29.0)
</code></pre></div>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">When one template <em>imports</em> another one, and then <em>includes</em> another template, it barfs with "KeyError: 'undefined variable: 0'"</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# test.yml
- hosts: localhost
tasks:
- template:
src: foo
dest: /tmp/foo
# templates/foo
{% import 'qux' as qux with context %}
hello world
{{ qux.wibble }}
{% include 'bar' %}
# templates/bar
Goodbye
# templates/qux
{% set wibble = "WIBBLE" %}"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> test.yml</span>
- <span class="pl-ent">hosts</span>: <span class="pl-s">localhost</span>
<span class="pl-ent">tasks</span>:
- <span class="pl-ent">template</span>:
<span class="pl-ent">src</span>: <span class="pl-s">foo</span>
<span class="pl-ent">dest</span>: <span class="pl-s">/tmp/foo</span>
<span class="pl-c"><span class="pl-c">#</span> templates/foo</span>
<span class="pl-s">{% import 'qux' as qux with context %}</span>
<span class="pl-s">hello world</span>
<span class="pl-s">{{ qux.wibble }}</span>
<span class="pl-s">{% include 'bar' %}</span>
<span class="pl-c"><span class="pl-c">#</span> templates/bar</span>
<span class="pl-s">Goodbye</span>
<span class="pl-c"><span class="pl-c">#</span> templates/qux</span>
<span class="pl-s">{% set wibble = "WIBBLE" %}</span></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">/tmp/foo to be created with:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="hello world
WIBBLE
Goodbye"><pre class="notranslate"><code class="notranslate">hello world
WIBBLE
Goodbye
</code></pre></div>
<h5 dir="auto">ACTUAL RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK [template] ****************************************************************
task path: /home/ubuntu/bug/test.yml:3
fatal: [localhost]: FAILED! => {
"changed": false,
"failed": true,
"invocation": {
"module_args": {
"dest": "/tmp/foo",
"src": "foo"
},
"module_name": "template"
},
"msg": "KeyError: 'undefined variable: 0'"
}"><pre class="notranslate"><code class="notranslate">TASK [template] ****************************************************************
task path: /home/ubuntu/bug/test.yml:3
fatal: [localhost]: FAILED! => {
"changed": false,
"failed": true,
"invocation": {
"module_args": {
"dest": "/tmp/foo",
"src": "foo"
},
"module_name": "template"
},
"msg": "KeyError: 'undefined variable: 0'"
}
</code></pre></div>
<h5 dir="auto">ADDITIONAL INFO</h5>
<p dir="auto">If you change <code class="notranslate">templates/foo</code> to this, it works fine:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="hello world
{% include 'bar' %}"><pre class="notranslate"><code class="notranslate">hello world
{% include 'bar' %}
</code></pre></div>
<p dir="auto">And so does this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{% import 'qux' as qux with context %}
hello world
{{ qux.wibble }}"><pre class="notranslate"><code class="notranslate">{% import 'qux' as qux with context %}
hello world
{{ qux.wibble }}
</code></pre></div>
<p dir="auto">So it appears to be something to do with the <em>combination</em> of import and include which is causing it to barf.</p>
<p dir="auto">However if you remove the "with context", like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{% import 'qux' as qux %}
hello world
{{ qux.wibble }}"><pre class="notranslate"><code class="notranslate">{% import 'qux' as qux %}
hello world
{{ qux.wibble }}
</code></pre></div>
<p dir="auto">then it barfs in a different way:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK [template] ****************************************************************
task path: /home/ubuntu/bug/test.yml:3
fatal: [localhost]: FAILED! => {
"changed": false,
"failed": true,
"invocation": {
"module_args": {
"dest": "/tmp/foo",
"src": "foo"
},
"module_name": "template"
},
"msg": "AttributeError: 'NoneType' object has no attribute 'add_locals'"
}"><pre class="notranslate"><code class="notranslate">TASK [template] ****************************************************************
task path: /home/ubuntu/bug/test.yml:3
fatal: [localhost]: FAILED! => {
"changed": false,
"failed": true,
"invocation": {
"module_args": {
"dest": "/tmp/foo",
"src": "foo"
},
"module_name": "template"
},
"msg": "AttributeError: 'NoneType' object has no attribute 'add_locals'"
}
</code></pre></div>
<p dir="auto">So there is a potentially separate issue, that 'import ... with context' works, but 'import' by itself does not, in Ansible.</p>
<p dir="auto">The <a href="http://jinja.pocoo.org/docs/2.9/templates/#import-context-behavior" rel="nofollow">difference</a> is that in the latter case, jinja2 will cache the import with the template (since it doesn't depend on any of the dynamic context in that particular expansion of the template)</p>
<p dir="auto">Finally: this appears not to be a bug with jinja2 itself. Using jinja2 API directly runs the test case with no problem:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#!/usr/bin/python
from jinja2 import Environment, FileSystemLoader
env = Environment(
loader=FileSystemLoader('templates'),
)
template = env.get_template('foo')
print template.render()"><pre class="notranslate"><code class="notranslate">#!/usr/bin/python
from jinja2 import Environment, FileSystemLoader
env = Environment(
loader=FileSystemLoader('templates'),
)
template = env.get_template('foo')
print template.render()
</code></pre></div>
<p dir="auto">gives:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ python test.py
hello world
WIBBLE
Goodbye"><pre class="notranslate"><code class="notranslate">$ python test.py
hello world
WIBBLE
Goodbye
</code></pre></div> | <h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">Template</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.3.0 (devel 0aad46c85b) last updated 2017/01/09 16:11:21 (GMT -400)
config file = /home/jadams/.ansible.cfg
configured module search path = Default w/o overrides
"><pre class="notranslate"><code class="notranslate">ansible 2.3.0 (devel 0aad46c85b) last updated 2017/01/09 16:11:21 (GMT -400)
config file = /home/jadams/.ansible.cfg
configured module search path = Default w/o overrides
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">Tested on vanilla / no extra configuration</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">N/A but tested from Fedora 25</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">When Jinja2 dependency is >= 2.9.0, nested templates inside of loops defined in a parent template do not receive the local scope. For example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{% for item in foo %}
{% include "other_template.j2" %}
{% endfor %"><pre class="notranslate"><code class="notranslate">{% for item in foo %}
{% include "other_template.j2" %}
{% endfor %
</code></pre></div>
<p dir="auto">In the above example, other_template.j2 would not have the item variable defined.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Example Playbook
- hosts: localhost
connection: local
vars:
foo:
- bar
- baz
tasks:
- name: Test Template
template: src=parent.j2 dest=/tmp/template.out"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> Example Playbook</span>
- <span class="pl-ent">hosts</span>: <span class="pl-s">localhost</span>
<span class="pl-ent">connection</span>: <span class="pl-s">local</span>
<span class="pl-ent">vars</span>:
<span class="pl-ent">foo</span>:
- <span class="pl-s">bar</span>
- <span class="pl-s">baz</span>
<span class="pl-ent">tasks</span>:
- <span class="pl-ent">name</span>: <span class="pl-s">Test Template</span>
<span class="pl-ent">template</span>: <span class="pl-s">src=parent.j2 dest=/tmp/template.out</span></pre></div>
<div class="highlight highlight-text-html-django notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# parent.j2
{% for item in foo %}
{% include "subtemplate.j2" %}
{% endfor %}
"><pre class="notranslate"># parent.j2
<span class="pl-e">{%</span> <span class="pl-k">for</span> <span class="pl-s">item</span> <span class="pl-k">in</span> <span class="pl-s">foo</span> <span class="pl-e">%}</span>
<span class="pl-e">{%</span> <span class="pl-k">include</span> <span class="pl-s">"subtemplate.j2"</span> <span class="pl-e">%}</span>
<span class="pl-e">{%</span> <span class="pl-k">endfor</span> <span class="pl-e">%}</span>
</pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#subtemplate.j2
{{ item }}"><pre class="notranslate"><code class="notranslate">#subtemplate.j2
{{ item }}
</code></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">Expected the output of the following file:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="bar
baz"><pre class="notranslate"><code class="notranslate">bar
baz
</code></pre></div>
<h5 dir="auto">ACTUAL RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK [Test Template] ************************************************************************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: 'item' is undefined"}"><pre class="notranslate"><code class="notranslate">TASK [Test Template] ************************************************************************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: 'item' is undefined"}
</code></pre></div>
<p dir="auto">I believe this is because of the Jinja2 Context changes mentioned <a href="http://jinja.pocoo.org/docs/2.9/changelog/#version-2-9" rel="nofollow">here</a> in combination with Ansible overriding default Jinja2 functions. I wasn't able to track down the root cause in my limited testing.</p> | 1 |
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [1]: import pandas as pd
In [2]: df = pd.DataFrame([[1, 0, 0],[0,0,0]])
# non sparse
In [19]: %time df.loc[0]
CPU times: user 367 µs, sys: 14 µs, total: 381 µs
Wall time: 374 µs
Out[19]:
0 1
1 0
2 0
Name: 0, dtype: int64
In [20]: %time df.loc[[0]]
CPU times: user 808 µs, sys: 57 µs, total: 865 µs
Wall time: 827 µs
Out[20]:
0 1 2
0 1 0 0
In [3]: df = df.to_sparse()
# sparse
In [5]: %time df.loc[0]
CPU times: user 429 µs, sys: 14 µs, total: 443 µs
Wall time: 436 µs
Out[5]:
0 1.0
1 0.0
2 0.0
Name: 0, dtype: float64
BlockIndex
Block locations: array([0], dtype=int32)
Block lengths: array([3], dtype=int32)
In [6]: %time df.loc[[0]]
CPU times: user 4.07 ms, sys: 406 µs, total: 4.48 ms
Wall time: 6.16 ms
Out[6]:
0 1 2
0 1.0 0.0 0.0
"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">1</span>]: <span class="pl-s1">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span>
<span class="pl-v">In</span> [<span class="pl-c1">2</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-c1">1</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>],[<span class="pl-c1">0</span>,<span class="pl-c1">0</span>,<span class="pl-c1">0</span>]])
<span class="pl-c"># non sparse</span>
<span class="pl-v">In</span> [<span class="pl-c1">19</span>]: <span class="pl-c1">%</span><span class="pl-s1">time</span> <span class="pl-s1">df</span>.<span class="pl-s1">loc</span>[<span class="pl-c1">0</span>]
<span class="pl-v">CPU</span> <span class="pl-s1">times</span>: <span class="pl-s1">user</span> <span class="pl-c1">367</span> <span class="pl-s1">µs</span>, <span class="pl-s1">sys</span>: <span class="pl-c1">14</span> <span class="pl-s1">µs</span>, <span class="pl-s1">total</span>: <span class="pl-c1">381</span> <span class="pl-s1">µs</span>
<span class="pl-v">Wall</span> <span class="pl-s1">time</span>: <span class="pl-c1">374</span> <span class="pl-s1">µs</span>
<span class="pl-v">Out</span>[<span class="pl-c1">19</span>]:
<span class="pl-c1">0</span> <span class="pl-c1">1</span>
<span class="pl-c1">1</span> <span class="pl-c1">0</span>
<span class="pl-c1">2</span> <span class="pl-c1">0</span>
<span class="pl-v">Name</span>: <span class="pl-c1">0</span>, <span class="pl-s1">dtype</span>: <span class="pl-s1">int64</span>
<span class="pl-v">In</span> [<span class="pl-c1">20</span>]: <span class="pl-c1">%</span><span class="pl-s1">time</span> <span class="pl-s1">df</span>.<span class="pl-s1">loc</span>[[<span class="pl-c1">0</span>]]
<span class="pl-v">CPU</span> <span class="pl-s1">times</span>: <span class="pl-s1">user</span> <span class="pl-c1">808</span> <span class="pl-s1">µs</span>, <span class="pl-s1">sys</span>: <span class="pl-c1">57</span> <span class="pl-s1">µs</span>, <span class="pl-s1">total</span>: <span class="pl-c1">865</span> <span class="pl-s1">µs</span>
<span class="pl-v">Wall</span> <span class="pl-s1">time</span>: <span class="pl-c1">827</span> <span class="pl-s1">µs</span>
<span class="pl-v">Out</span>[<span class="pl-c1">20</span>]:
<span class="pl-c1">0</span> <span class="pl-c1">1</span> <span class="pl-c1">2</span>
<span class="pl-c1">0</span> <span class="pl-c1">1</span> <span class="pl-c1">0</span> <span class="pl-c1">0</span>
<span class="pl-v">In</span> [<span class="pl-c1">3</span>]: <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">df</span>.<span class="pl-en">to_sparse</span>()
<span class="pl-c"># sparse</span>
<span class="pl-v">In</span> [<span class="pl-c1">5</span>]: <span class="pl-c1">%</span><span class="pl-s1">time</span> <span class="pl-s1">df</span>.<span class="pl-s1">loc</span>[<span class="pl-c1">0</span>]
<span class="pl-v">CPU</span> <span class="pl-s1">times</span>: <span class="pl-s1">user</span> <span class="pl-c1">429</span> <span class="pl-s1">µs</span>, <span class="pl-s1">sys</span>: <span class="pl-c1">14</span> <span class="pl-s1">µs</span>, <span class="pl-s1">total</span>: <span class="pl-c1">443</span> <span class="pl-s1">µs</span>
<span class="pl-v">Wall</span> <span class="pl-s1">time</span>: <span class="pl-c1">436</span> <span class="pl-s1">µs</span>
<span class="pl-v">Out</span>[<span class="pl-c1">5</span>]:
<span class="pl-c1">0</span> <span class="pl-c1">1.0</span>
<span class="pl-c1">1</span> <span class="pl-c1">0.0</span>
<span class="pl-c1">2</span> <span class="pl-c1">0.0</span>
<span class="pl-v">Name</span>: <span class="pl-c1">0</span>, <span class="pl-s1">dtype</span>: <span class="pl-s1">float64</span>
<span class="pl-v">BlockIndex</span>
<span class="pl-v">Block</span> <span class="pl-s1">locations</span>: <span class="pl-en">array</span>([<span class="pl-c1">0</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">int32</span>)
<span class="pl-v">Block</span> <span class="pl-s1">lengths</span>: <span class="pl-en">array</span>([<span class="pl-c1">3</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">int32</span>)
<span class="pl-v">In</span> [<span class="pl-c1">6</span>]: <span class="pl-c1">%</span><span class="pl-s1">time</span> <span class="pl-s1">df</span>.<span class="pl-s1">loc</span>[[<span class="pl-c1">0</span>]]
<span class="pl-v">CPU</span> <span class="pl-s1">times</span>: <span class="pl-s1">user</span> <span class="pl-c1">4.07</span> <span class="pl-s1">ms</span>, <span class="pl-s1">sys</span>: <span class="pl-c1">406</span> <span class="pl-s1">µs</span>, <span class="pl-s1">total</span>: <span class="pl-c1">4.48</span> <span class="pl-s1">ms</span>
<span class="pl-v">Wall</span> <span class="pl-s1">time</span>: <span class="pl-c1">6.16</span> <span class="pl-s1">ms</span>
<span class="pl-v">Out</span>[<span class="pl-c1">6</span>]:
<span class="pl-c1">0</span> <span class="pl-c1">1</span> <span class="pl-c1">2</span>
<span class="pl-c1">0</span> <span class="pl-c1">1.0</span> <span class="pl-c1">0.0</span> <span class="pl-c1">0.0</span></pre></div>
<p dir="auto">It seems in SparseDataFrame, selecting as dataframe, the time increased much more than it does in DataFrame, I would expect it runs faster(on my 1m x 500 SparseDataFrame it takes seconds for the loc operation)</p>
<details>
## INSTALLED VERSIONS
<p dir="auto">commit: None<br>
python: 3.5.1.final.0<br>
python-bits: 64<br>
OS: Darwin<br>
OS-release: 15.6.0<br>
machine: x86_64<br>
processor: i386<br>
byteorder: little<br>
LC_ALL: en_GB.UTF-8<br>
LANG: en_GB.UTF-8</p>
<p dir="auto">pandas: 0.18.1<br>
nose: None<br>
pip: 8.1.2<br>
setuptools: 24.0.2<br>
Cython: None<br>
numpy: 1.11.0<br>
scipy: 0.17.1<br>
statsmodels: None<br>
xarray: None<br>
IPython: 5.0.0<br>
sphinx: None<br>
patsy: None<br>
dateutil: 2.5.3<br>
pytz: 2016.4<br>
blosc: None<br>
bottleneck: None<br>
tables: None<br>
numexpr: 2.6.1<br>
matplotlib: 1.5.1<br>
openpyxl: None<br>
xlrd: None<br>
xlwt: None<br>
xlsxwriter: None<br>
lxml: None<br>
bs4: None<br>
html5lib: None<br>
httplib2: None<br>
apiclient: None<br>
sqlalchemy: 1.0.13<br>
pymysql: None<br>
psycopg2: 2.6.1 (dt dec pq3 ext lo64)<br>
jinja2: None<br>
boto: None<br>
pandas_datareader: None</p>
</details> | <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 = Dataframe(numpy.zeros(10000,10000))
random_fill_df(df, num_elements=20)
df = df.to_sparse(fill_value=0)
timeit.timeit('df.loc[[23, 45, 65, 67],:]', globals=globals(), number=10)"><pre class="notranslate"><span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-v">Dataframe</span>(<span class="pl-s1">numpy</span>.<span class="pl-en">zeros</span>(<span class="pl-c1">10000</span>,<span class="pl-c1">10000</span>))
<span class="pl-en">random_fill_df</span>(<span class="pl-s1">df</span>, <span class="pl-s1">num_elements</span><span class="pl-c1">=</span><span class="pl-c1">20</span>)
<span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">df</span>.<span class="pl-en">to_sparse</span>(<span class="pl-s1">fill_value</span><span class="pl-c1">=</span><span class="pl-c1">0</span>)
<span class="pl-s1">timeit</span>.<span class="pl-en">timeit</span>(<span class="pl-s">'df.loc[[23, 45, 65, 67],:]'</span>, <span class="pl-s1">globals</span><span class="pl-c1">=</span><span class="pl-en">globals</span>(), <span class="pl-s1">number</span><span class="pl-c1">=</span><span class="pl-c1">10</span>)</pre></div>
<h4 dir="auto">Problem description</h4>
<p dir="auto">The reason why row slicing takes so long is because a sparse dataframe a bunch of sparse series. Column slicing is several order of magnitude faster but row slicing is very poor. The sparse dataframe doesn't take advantage of the scipy sparse matrix library which is even faster (both column and row).</p>
<h4 dir="auto">Expected Output</h4>
<p dir="auto">In case data is stored as a scipy sparse matrix (as well) inside dataframe object, the slicing operations can be improved, by several orders of magnitude.</p>
<p dir="auto">I propose that data be stored as a sparse matrix as well in the dataframe object.</p>
<h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4>
<details>
<p dir="auto">pandas: 0.20.3<br>
pytest: None<br>
pip: 9.0.1<br>
setuptools: 36.2.0<br>
Cython: None<br>
numpy: 1.13.1<br>
scipy: 0.19.1<br>
xarray: None<br>
IPython: None<br>
sphinx: None<br>
patsy: None<br>
dateutil: 2.6.1<br>
pytz: 2017.2<br>
blosc: None<br>
bottleneck: 1.2.1<br>
tables: None<br>
numexpr: 2.6.2<br>
feather: None<br>
matplotlib: 2.0.2<br>
openpyxl: None<br>
xlrd: None<br>
xlwt: None<br>
xlsxwriter: None<br>
lxml: None<br>
bs4: 4.6.0<br>
html5lib: 0.999999999<br>
sqlalchemy: None<br>
pymysql: None<br>
psycopg2: None<br>
jinja2: None<br>
s3fs: None<br>
pandas_gbq: None<br>
pandas_datareader: None</p>
</details> | 1 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.1</li>
<li>Operating System version: windows7</li>
<li>Java version: 1.8</li>
<li>Dubbo Spring boot Starter: 2.7.0</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="dubbo:
protocol:
port: 20880
registry:
address: N/A
check: false
consumer:
check: false"><pre class="notranslate"><code class="notranslate">dubbo:
protocol:
port: 20880
registry:
address: N/A
check: false
consumer:
check: false
</code></pre></div>
<p dir="auto">AppController:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Reference(check = false)
private UserService userService;"><pre class="notranslate"><code class="notranslate">@Reference(check = false)
private UserService userService;
</code></pre></div>
<h3 dir="auto">exception:</h3>
<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 'appController': Injection of @org.apache.dubbo.config.annotation.Reference dependencies is failed; nested exception is java.lang.IllegalStateException: No such any registry to reference com.epipe.ucloud.crm.service.sys.UserService on the consumer 192.168.3.177 use dubbo version 2.7.1, please config <dubbo:registry address="..." /> to your spring config.
"><pre class="notranslate"><code class="notranslate">org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appController': Injection of @org.apache.dubbo.config.annotation.Reference dependencies is failed; nested exception is java.lang.IllegalStateException: No such any registry to reference com.epipe.ucloud.crm.service.sys.UserService on the consumer 192.168.3.177 use dubbo version 2.7.1, please config <dubbo:registry address="..." /> to your spring config.
</code></pre></div>
<p dir="auto"><code class="notranslate">check=false</code> doesn't take effect</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.4.1</li>
<li>Operating System version: macos, linux</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">背景</h3>
<p dir="auto">这个issue不是正常的使用场景下产生的啊... 我在做一个 dubbo 的<a href="https://github.com/asura-pro/pea">压测工具</a> , 要在 JVM 不退出的情况下 重载 dubbo 的接口class. 如: <a href="https://github.com/asura-pro/pea-simulations/blob/master/ext-library/src/main/java/pea/example/ext/dubbo/api/GreetingService.java">GreetingService</a></p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="public interface GreetingService {
String sayHello(String name);
HelloResponse sayHello2(String name);
}"><pre class="notranslate"><span class="pl-k">public</span> <span class="pl-k">interface</span> <span class="pl-smi">GreetingService</span> {
<span class="pl-smi">String</span> <span class="pl-en">sayHello</span>(<span class="pl-smi">String</span> <span class="pl-s1">name</span>);
<span class="pl-smi">HelloResponse</span> <span class="pl-en">sayHello2</span>(<span class="pl-smi">String</span> <span class="pl-s1">name</span>);
}</pre></div>
<h3 dir="auto">现象</h3>
<p dir="auto">第一次调用时 <code class="notranslate">HelloResponse</code> 返回正常,类加载器是: <a href="https://github.com/asura-pro/pea/blob/master/app/pea/app/compiler/ReloadableClassLoader.scala">pea.app.compiler.ReloadableClassLoader</a><br>
(这个是我自定义的类加载器, 每次调用都会是新的)。</p>
<p dir="auto">之后的调用就会报异常:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[error] p.d.a.DubboAction - failure: ==========> java.lang.ClassCastException: pea.example.ext.dubbo.response.HelloResponse cannot be cast to pea.example.ext.dubbo.response.HelloResponse
at org.apache.dubbo.common.bytecode.proxy1.sayHello2(proxy1.java)
at pea.example.dubbo.GreetingSimulation.$anonfun$scn$1(GreetingSimulation.scala:23)
at pea.dubbo.action.DubboAction.$anonfun$execute$1(DubboAction.scala:43)
at scala.concurrent.Future$.$anonfun$apply$1(Future.scala:658)
at scala.util.Success.$anonfun$map$1(Try.scala:255)
at scala.util.Success.map(Try.scala:213)"><pre class="notranslate"><code class="notranslate">[error] p.d.a.DubboAction - failure: ==========> java.lang.ClassCastException: pea.example.ext.dubbo.response.HelloResponse cannot be cast to pea.example.ext.dubbo.response.HelloResponse
at org.apache.dubbo.common.bytecode.proxy1.sayHello2(proxy1.java)
at pea.example.dubbo.GreetingSimulation.$anonfun$scn$1(GreetingSimulation.scala:23)
at pea.dubbo.action.DubboAction.$anonfun$execute$1(DubboAction.scala:43)
at scala.concurrent.Future$.$anonfun$apply$1(Future.scala:658)
at scala.util.Success.$anonfun$map$1(Try.scala:255)
at scala.util.Success.map(Try.scala:213)
</code></pre></div>
<h3 dir="auto">问题</h3>
<p dir="auto">这个问题大概是怎么产生的啊?为啥第一调用没事, 代理类返回的 <code class="notranslate">HelloResponse</code>是不是有缓存啊之类的?如果有怎么清掉?</p> | 0 |
<ul dir="auto">
<li>VSCode Version: 0.10.11</li>
<li>OS Version: Ubuntu 14.04</li>
</ul>
<p dir="auto">Steps to Reproduce:</p>
<ol dir="auto">
<li>
<p dir="auto">Export a variable in your default shell (<code class="notranslate">~/.zlogin</code> for zsh; <code class="notranslate">~/.bash_login</code> for bash, for example. You can use <code class="notranslate">.bashrc</code> as well).</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export FOOBAR="1""><pre class="notranslate"><span class="pl-k">export</span> FOOBAR=<span class="pl-s"><span class="pl-pds">"</span>1<span class="pl-pds">"</span></span></pre></div>
</li>
<li>
<p dir="auto">Pass different value of the same variable to VSCode.</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="FOOBAR=2 code ."><pre class="notranslate">FOOBAR=2 code <span class="pl-c1">.</span></pre></div>
</li>
<li>
<p dir="auto">VSCode uses value defined for login shell, not current session:</p>
</li>
</ol>
<p dir="auto">Help > Toggle Developer Tools. And in Console, <code class="notranslate">process.env.FOOBAR</code> gives "1" when I expect "2".</p>
<p dir="auto">It looks like VSCode executes default shell as login shell again before launching the program UI.</p>
<p dir="auto">Being able to pass different values for existing environment variables greatly helps writing/testing extensions.</p>
<p dir="auto">Related discussion: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="138329367" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode-go/issues/220" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode-go/issues/220/hovercard?comment_id=203092824&comment_type=issue_comment" href="https://github.com/microsoft/vscode-go/issues/220#issuecomment-203092824">microsoft/vscode-go#220 (comment)</a></p>
<h6 dir="auto">strace example:</h6>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ strace -E GOPATH=1 -E FOOBAR=2 -s 1000000 -e verbose=execve -e abbrev=none ./.build/electron/electron .
execve("./.build/electron/electron", ["./.build/electron/electron", "."], [... "GOPATH=1", ...]) # What I expected
...
read(62, "...\nGOPATH=/home/saml/go\n....") # What is this?
..."><pre class="notranslate">$ strace -E GOPATH=1 -E FOOBAR=2 -s 1000000 -e verbose=execve -e abbrev=none ./.build/electron/electron <span class="pl-c1">.</span>
execve(<span class="pl-s"><span class="pl-pds">"</span>./.build/electron/electron<span class="pl-pds">"</span></span>, [<span class="pl-s"><span class="pl-pds">"</span>./.build/electron/electron<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>.<span class="pl-pds">"</span></span>], [... <span class="pl-s"><span class="pl-pds">"</span>GOPATH=1<span class="pl-pds">"</span></span>, ...]) <span class="pl-c"><span class="pl-c">#</span> What I expected</span>
...
read(62, <span class="pl-s"><span class="pl-pds">"</span>...\nGOPATH=/home/saml/go\n....<span class="pl-pds">"</span></span>) <span class="pl-c"><span class="pl-c">#</span> What is this?</span>
...</pre></div> | <p dir="auto">Per <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="120116257" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode-go/issues/141" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode-go/issues/141/hovercard" href="https://github.com/microsoft/vscode-go/issues/141">microsoft/vscode-go#141</a>, there appears to still be an issue with how env vars are passed into Code, even after the fix for <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118682489" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/560" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/560/hovercard" href="https://github.com/microsoft/vscode/issues/560">#560</a>.</p>
<p dir="auto">Steps to reproduce:</p>
<ol dir="auto">
<li>have <code class="notranslate">export FOO=1</code> in your <code class="notranslate">.bash_profile</code></li>
<li>ensure your function to start visual studio code looks like this <code class="notranslate">code () { VSCODE_CWD="$PWD" open -n -b "com.microsoft.VSCode" --args $* ;}</code></li>
<li>open a terminal session</li>
<li><code class="notranslate">export FOO=2</code> in your terminal session</li>
<li>open <code class="notranslate">code .</code></li>
<li>open developer tools, and eval <code class="notranslate">process.env["FOO"]</code></li>
</ol>
<p dir="auto">Expected: <code class="notranslate">Foo</code> should be <code class="notranslate">2</code><br>
Result: <code class="notranslate">FOO</code> will be <code class="notranslate">1</code></p>
<p dir="auto">But the thing that's really odd is that if you skip step (1) (remove this from you <code class="notranslate">.bash_profile</code>), you will see <code class="notranslate">Foo</code> set to <code class="notranslate">2</code>. So in that case, the local environment is getting passed in.</p>
<p dir="auto">It seems like this must be either a problem with how vscode is setting up the env vars, or how <code class="notranslate">open</code> in OS X behaves.</p> | 1 |
<p dir="auto">I've had a few conversations on IRC about using <code class="notranslate">#![no_std]</code> in Rust libraries. There are comments around (such as <a href="https://github.com/servo/html5ever/blob/cb98c0cb700835f7473a9fc09a7ee9564ef3c73e/src/lib.rs#L16-L18">here in html5ever</a>) that using <code class="notranslate">#![no_std]</code> should be used if one wants to write a Rust library that is going to be used from other languages. It's not really clear to me how accurate that recommendation still is currently / will be at 1.0 with the changes to std that have happened over the past months; however, assuming it's still true, I think there are a couple of problems that don't seem to have easy solutions:</p>
<ul dir="auto">
<li>It's really easy to accidentally pull in std by using another crate that links std (html5ever currently has this problem - <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="46222730" data-permission-text="Title is private" data-url="https://github.com/servo/html5ever/issues/47" data-hovercard-type="issue" data-hovercard-url="/servo/html5ever/issues/47/hovercard" href="https://github.com/servo/html5ever/issues/47">servo/html5ever#47</a>).</li>
<li>According to <a href="http://doc.rust-lang.org/guide-unsafe.html#avoiding-the-standard-library" rel="nofollow">the unsafe docs</a>, a crate using <code class="notranslate">#![no_std]</code> needs to define a few lang_items like <code class="notranslate">stack_exhausted</code>. If two independently-developed crates both define the lang items, you get duplicate name errors when trying to use both simultaneously.</li>
</ul> | <p dir="auto">It would be great to be able to do some thing like this :<br>
<code class="notranslate">type A = { a: int }; type B = {b: int} herit A;</code></p>
<p dir="auto">So in fact<code class="notranslate">B = {a: int, b: int};</code></p>
<p dir="auto">It could maybe replace an object model when combined with interfaces.</p> | 0 |
<p dir="auto">One of the pages (Bonfire: Seek and Destroy) is completely "frozen" for me. I mean I can move the mouse, but can't click on anything, can't reset or edit my code or do anything, and if I close the tab and return later I still see my old code and the page is frozen.</p> | <p dir="auto">Challenge <a href="http://freecodecamp.com/challenges/bonfire-reverse-a-string" rel="nofollow">http://freecodecamp.com/challenges/bonfire-reverse-a-string</a> has an issue. Please describe how to reproduce it, and include links to screenshots if possible.</p>
<p dir="auto">Cannot reset code, page is frozen on me.</p> | 1 |