Errors when rerunning test suite

Environment data

VS Code version: 1.33.1 (user setup)
Extension version (available under the Extensions sidebar): 2019.4.12954
OS and version: Windows 10
Python version (& distribution if applicable, e.g. Anaconda): Miniconda Python 3.6.8
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Relevant/affected Python packages and their versions: tensorflow-gpu==1.13.1

Expected behaviour
Running the same test suite multiple times should result in the same result each time.
Actual behaviour
After restarting VS Code, the test suite runs normally the first time.  But then running it again (sometimes on the second attempt, sometimes after rerunning it several times) results in a bunch of errors related to CUDNN ("Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR" or "Could not create cudnn handle: CUDNN_STATUS_ALLOC_FAILED").
Based on these issues:
https://github.com/tensorflow/tensorflow/issues/6698#issuecomment-297159181
https://github.com/tensorflow/tensorflow/issues/24496
https://stackoverflow.com/a/53707323
I believe that that CUDNN error is actually caused by the previous test process not shutting down completely, which causes those errors when the test suite runs again.
Note that this issue does not occur when running the tests normally through a command prompt (e.g., just calling pytest from the command line).  It only happens when running the tests through VS Code.
Steps to reproduce:

Create a test file containing

import tensorflow as tf
import numpy as np

def test_tf():
    a = tf.placeholder(tf.float32, (2, 4, 4, 1))
    b = tf.layers.conv2d(a, 2, kernel_size=3)

    with tf.Session() as sess:
        sess.run(tf.global_variables_initializer())
        sess.run(b, feed_dict={a: np.ones((2, 4, 4, 1))})

Run that test (using any of the methods described here https://code.visualstudio.com/docs/python/unit-testing#_run-tests).

Repeat step 2 until error appears.

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
___________________________________ test_tf ___________________________________

self = <tensorflow.python.client.session.Session object at 0x000001E530ED82E8>
fn = <function BaseSession._do_run.<locals>._run_fn at 0x000001E530F02268>
args = ({<tensorflow.python.pywrap_tensorflow_internal.TF_Output; proxy of <Swig Object of type 'TF_Output *' at 0x000001E530...p_tensorflow_internal.TF_Output; proxy of <Swig Object of type 'TF_Output *' at 0x000001E530F01720> >], [], None, None)
message = 'Failed to get convolution algorithm.  This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
 This is probably because cuDNN failed to initialize, so try looking to see if a ...ed above.\n\t [[node conv2d/Conv2D (defined at d:\\Documents\\nengo-repos\\nengo-dl\\nengo_dl\\tests\\test_tf.py:9) ]]'
m = <_sre.SRE_Match object; span=(158, 182), match='[[{{node conv2d/Conv2D}}'>

    def _do_call(self, fn, *args):
      try:
        return fn(*args)
      except errors.OpError as e:
        message = compat.as_text(e.message)
        m = BaseSession._NODEDEF_NAME_RE.search(message)
        node_def = None
        op = None
        if m is not None:
          node_name = m.group(3)
          try:
            op = self._graph.get_operation_by_name(node_name)
            node_def = op.node_def
          except KeyError:
            pass
        message = error_interpolation.interpolate(message, self._graph)
>       raise type(e)(node_def, op, message)
E       tensorflow.python.framework.errors_impl.UnknownError: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
E       	 [[node conv2d/Conv2D (defined at d:\Documents\nengo-repos\nengo-dl\nengo_dl\tests\test_tf.py:9) ]]
E
E       Caused by op 'conv2d/Conv2D', defined at:
E         File "D:\Miniconda3\envs\tmp\lib\runpy.py", line 193, in _run_module_as_main
E           "__main__", mod_spec)
E         File "D:\Miniconda3\envs\tmp\lib\runpy.py", line 85, in _run_code
E           exec(code, run_globals)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\pytest.py", line 91, in <module>
E           raise SystemExit(pytest.main())
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\_pytest\config\__init__.py", line 77, in main
E           return config.hook.pytest_cmdline_main(config=config)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\pluggy\hooks.py", line 289, in __call__
E           return self._hookexec(self, self.get_hookimpls(), kwargs)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\pluggy\manager.py", line 68, in _hookexec
E           return self._inner_hookexec(hook, methods, kwargs)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\pluggy\manager.py", line 62, in <lambda>
E           firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\pluggy\callers.py", line 187, in _multicall
E           res = hook_impl.function(*args)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\_pytest\main.py", line 218, in pytest_cmdline_main
E           return wrap_session(config, _main)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\_pytest\main.py", line 185, in wrap_session
E           session.exitstatus = doit(config, session) or 0
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\_pytest\main.py", line 225, in _main
E           config.hook.pytest_runtestloop(session=session)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\pluggy\hooks.py", line 289, in __call__
E           return self._hookexec(self, self.get_hookimpls(), kwargs)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\pluggy\manager.py", line 68, in _hookexec
E           return self._inner_hookexec(hook, methods, kwargs)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\pluggy\manager.py", line 62, in <lambda>
E           firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\pluggy\callers.py", line 187, in _multicall
E           res = hook_impl.function(*args)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\_pytest\main.py", line 246, in pytest_runtestloop
E           item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\pluggy\hooks.py", line 289, in __call__
E           return self._hookexec(self, self.get_hookimpls(), kwargs)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\pluggy\manager.py", line 68, in _hookexec
E           return self._inner_hookexec(hook, methods, kwargs)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\pluggy\manager.py", line 62, in <lambda>
E           firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\pluggy\callers.py", line 187, in _multicall
E           res = hook_impl.function(*args)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\_pytest\runner.py", line 76, in pytest_runtest_protocol
E           runtestprotocol(item, nextitem=nextitem)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\_pytest\runner.py", line 91, in runtestprotocol
E           reports.append(call_and_report(item, "call", log))
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\_pytest\runner.py", line 171, in call_and_report
E           call = call_runtest_hook(item, when, **kwds)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\_pytest\runner.py", line 195, in call_runtest_hook
E           treat_keyboard_interrupt_as_exception=item.config.getvalue("usepdb"),
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\_pytest\runner.py", line 211, in __init__
E           self.result = func()
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\_pytest\runner.py", line 193, in <lambda>
E           lambda: ihook(item=item, **kwds),
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\pluggy\hooks.py", line 289, in __call__
E           return self._hookexec(self, self.get_hookimpls(), kwargs)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\pluggy\manager.py", line 68, in _hookexec
E           return self._inner_hookexec(hook, methods, kwargs)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\pluggy\manager.py", line 62, in <lambda>
E           firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\pluggy\callers.py", line 187, in _multicall
E           res = hook_impl.function(*args)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\_pytest\runner.py", line 121, in pytest_runtest_call
E           item.runtest()
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\_pytest\python.py", line 1438, in runtest
E           self.ihook.pytest_pyfunc_call(pyfuncitem=self)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\pluggy\hooks.py", line 289, in __call__
E           return self._hookexec(self, self.get_hookimpls(), kwargs)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\pluggy\manager.py", line 68, in _hookexec
E           return self._inner_hookexec(hook, methods, kwargs)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\pluggy\manager.py", line 62, in <lambda>
E           firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\pluggy\callers.py", line 187, in _multicall
E           res = hook_impl.function(*args)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\_pytest\python.py", line 166, in pytest_pyfunc_call
E           testfunction(**testargs)
E         File "d:\Documents\nengo-repos\nengo-dl\nengo_dl\tests\test_tf.py", line 9, in test_tf
E           b = tf.layers.conv2d(a, 2, kernel_size=3)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\tensorflow\python\util\deprecation.py", line 324, in new_func
E           return func(*args, **kwargs)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\tensorflow\python\layers\convolutional.py", line 424, in conv2d
E           return layer.apply(inputs)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\tensorflow\python\keras\engine\base_layer.py", line 1227, in apply
E           return self.__call__(inputs, *args, **kwargs)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\tensorflow\python\layers\base.py", line 530, in __call__
E           outputs = super(Layer, self).__call__(inputs, *args, **kwargs)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\tensorflow\python\keras\engine\base_layer.py", line 554, in __call__
E           outputs = self.call(inputs, *args, **kwargs)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\tensorflow\python\keras\layers\convolutional.py", line 194, in call
E           outputs = self._convolution_op(inputs, self.kernel)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\tensorflow\python\ops\nn_ops.py", line 966, in __call__
E           return self.conv_op(inp, filter)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\tensorflow\python\ops\nn_ops.py", line 591, in __call__
E           return self.call(inp, filter)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\tensorflow\python\ops\nn_ops.py", line 208, in __call__
E           name=self.name)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\tensorflow\python\ops\gen_nn_ops.py", line 1113, in conv2d
E           data_format=data_format, dilations=dilations, name=name)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 788, in _apply_op_helper
E           op_def=op_def)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\tensorflow\python\util\deprecation.py", line 507, in new_func
E           return func(*args, **kwargs)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\tensorflow\python\framework\ops.py", line 3300, in create_op
E           op_def=op_def)
E         File "D:\Miniconda3\envs\tmp\lib\site-packages\tensorflow\python\framework\ops.py", line 1801, in __init__
E           self._traceback = tf_stack.extract_stack()
E
E       UnknownError (see above for traceback): Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
E       	 [[node conv2d/Conv2D (defined at d:\Documents\nengo-repos\nengo-dl\nengo_dl\tests\test_tf.py:9) ]]

D:\Miniconda3\envs\tmp\lib\site-packages\tensorflow\python\client\session.py:1348: UnknownError
---------------------------- Captured stdout call -----------------------------
1.13.1
---------------------------- Captured stderr call -----------------------------
WARNING:tensorflow:From d:\Documents\nengo-repos\nengo-dl\nengo_dl\tests\test_tf.py:9: conv2d (from tensorflow.python.layers.convolutional) is deprecated and will be removed in a future version.
Instructions for updating:
Use keras.layers.conv2d instead.
WARNING:tensorflow:From D:\Miniconda3\envs\tmp\lib\site-packages\tensorflow\python\framework\op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
2019-05-09 16:50:28.857769: E tensorflow/stream_executor/cuda/cuda_dnn.cc:334] Could not create cudnn handle: CUDNN_STATUS_ALLOC_FAILED
2019-05-09 16:50:28.859645: E tensorflow/stream_executor/cuda/cuda_dnn.cc:334] Could not create cudnn handle: CUDNN_STATUS_ALLOC_FAILED
------------------------------ Captured log call ------------------------------
deprecation.py             323 WARNING  From d:\Documents\nengo-repos\nengo-dl\nengo_dl\tests\test_tf.py:9: conv2d (from tensorflow.python.layers.convolutional) is deprecated and will be removed in a future version.
Instructions for updating:
Use keras.layers.conv2d instead.
deprecation.py             323 WARNING  From D:\Miniconda3\envs\tmp\lib\site-packages\tensorflow\python\framework\op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.

Agreed.
My suggestion is to wait for the tests to run to completion before starting it again.
Please could you try waiting for tests to complete before starting, then let me know how this goes.
I don't see how we can solve this, as this is purely an environment issue.
Will leave this issue open to explore other avenues.

The above reproduction steps work even if you wait for the tests to run to completion each time.  So the issue is that even though the tests have finished running, VS Code is keeping that process open in some way.

Also worth noting that although there seems to be some randomness in how many times you need to run the tests to trigger the failure, once it reaches this failure state then the tests will fail every time from then on with those CUDNN errors.

The process doesn't stay alive, it dies.
I'd say the code that's running in the testisnt testing down properly.
Do you know what needs to shot down, if you I errors suggest adding an atexit handler or similar.

This problem only occurs when running through VS Code, not when running the tests in other ways (e.g. running pytest from the terminal, or running in PyCharm).  So I am fairly certain that it is something specific to how VS Code is running or tearing down the tests.  Do you have any suggestions on what might be different with VS Code, e.g. if there are some settings I can enable to encourage proper shutdown behaviour?

There's nothing specific to VS Code.
Here's what we do:

Run the tests using the standard pytest CLI
Thats it, nothing more than that.
I'll add some code to log the command thats being generated and executed. FYI - The output is displayed in the Python Test Log output panel.

Solution:

Use python code instead of pytest cli
Log commands executed along with the output

Closing in favour of https://github.com/microsoft/vscode-python/issues/7608.


Add service account for worker

Add ServiceAccount for the worker making it able to list, retrieve and create secrets in his workspace.
This PR could be adapted to add different Kubernetes ressources the worker would need to access.

Forgot to merge this PR so I rebased the branch on current master and changed the chart version.


fix: export system and process info for prometheus

change . to _ for correct prometheus format

Thanks. Look good


Write a Readme

Why we doing this
How to create your own plugin
How to run
How to build
...

Done


Use proper keywords for variable declarations in examples

Add constants instead of vars in the examples for data that is not being redeclared

konradgryt Thank you for your contribution.
I am closing this PR. This is not applicable anymore.


[Spike - Analysis] Create the boilerplate of the Dataset section with Dataset title

Overview of the Feature Request
Analyze the end-to-end for feature #58.
Once analyzed, create and size the spike issues required for the end-to-end development (UI work, js-dataverse extension, and API extension).
What kind of user is the feature intended for?
Developers
What inspired the request?

UI feature development process

What existing behavior do you want changed?
N/A
Any brand new behavior do you want to add to Dataverse?
N/A
Any open or closed issues related to this feature request?

#58

Closed because the spike analysis is done.


add support for go1.20

When use the kitex with go1.20 I encountered the following problems , I hope there will be support for go 1.20 soon
# github.com/cloudwego/frugal/internal/loader
../../../../go/pkg/mod/github.com/cloudwego/frugal@v0.1.3/internal/loader/funcdata.go:32:22: undefined: _ModuleData
../../../../go/pkg/mod/github.com/cloudwego/frugal@v0.1.3/internal/loader/funcdata.go:35:27: undefined: _ModuleData
../../../../go/pkg/mod/github.com/cloudwego/frugal@v0.1.3/internal/loader/funcdata.go:39:16: undefined: _ModuleData
../../../../go/pkg/mod/github.com/cloudwego/frugal@v0.1.3/internal/loader/funcdata.go:75:26: undefined: _ModuleData
../../../../go/pkg/mod/github.com/cloudwego/frugal@v0.1.3/internal/loader/funcdata_invalid.go:27:9: panic("Unsupported Go version. Supported versions are: 1.15, 1.16, 1.17, 1.18, 1.19") (no value) used as value

Thanks for you feedback. The support for go 1.20 is under development now.

What's the progress of supporting to go 1.20? Is there a possibility to support new version at go rc stage?

@xieyh11 should be ready next wwek. And for new versions of go, we'll support before release.

@xieyh11 @jiajun-c Support for Go 1.20 was added in this commit.


IOS, openening one notification cause clearing all other notifications

Expected Behaviour
I send more than one notificaiton to my device and then drop on my screen. after that i clicked one of them, open my cordova app and catch my clicked notification. its good but other notifications are disappeared?? and then cant be caught by plugin anymore.
if we got 3 notification on lock screen, can we get them like array??

Sorry to be a jerk but I'm now closing issues that don't follow the issue submission guidelines. This plugin takes a lot of work to maintain and I can't afford the time required to solicit the required info from everyone.
I'm closing this issue but please feel free to re-open the issue if you provide the requested details from the new issue submission guidelines.
https://github.com/phonegap/phonegap-plugin-push/blob/master/.github/ISSUE_TEMPLATE.md


Do not generate graph.wo_split.dot

Since Splitter is not available in model architecture, graph.wo_split.dot and graph.dot is exactly same DAG. So, we do not need to generate the former one.

Thanks!


Unable to run current versions of mailcatcher with Rails 7

I recently installed mailcatcher in my Rails 7 project as I was having issues with letter_opener and WSL. The current stable version appears to be 0.8.2. However, this version has a dependency of rack 1.5. Rails 7 requires rack 2.0+. The version of mailcatcher that installs on Rails 7 is 0.2.4 which was released back in 2011. This version of mailcatcher installs some fairly old and unsupported gems. Updating the gem to support Rails 7 with currently managed and supported versions of dependencies would be great.

Please do not include MailCatcher in your Gemfile:
https://github.com/sj26/mailcatcher#bundler


Clarify marking "no issues on this page"

It isn't clear, at the moment, that pressing Finish without adding any tags is the same as marking no issues found for a page.
Possible solutions:

Add an explicit "Nothing here" button
Always show the current list of tags, defaulting to "No issues on this page."

Minor tweak: can we add in the word "yet" to the "no issues on this page" label ("no issues on this page yet'")


update the ruby gems for fluentd to the latest and greatest

I thought we decided to go fluentd -> CloudWatch?

@bromanko @jhurliman correct!  I wanted to understand how docker logging and fluentd worked first, and elasticsearch gave me instant access to visualize via kibana.


how to use the video component?

Can you explain the parameters in the video component, for example, I want to get a video of the ship dataset circling the ship, but the ship can't be displayed in a positive way

Thank you very much, you understood what I meant. Now I want to use my own point cloud file to generate a video of a circle around the object, can you help me make the video smooth [https://drive.google.com/file/d/1gzF7yfngRgMR9nue4LMlpaYPuS1mmmQT/view?usp=sharing er?]

Thank you very much, you understood what I meant. Now I want to use my own point cloud file to generate a video of a circle around the object, can you help me make the video smooth

Thank you very much, you understood what I meant. Now I want to use my own point cloud file to generate a video of a circle around the object, can you help me make the video smooth https://drive.google.com/file/d/1gzF7yfngRgMR9nue4LMlpaYPuS1mmmQT/view?usp=sharing er?https://drive.google.com/file/d/1gzF7yfngRgMR9nue4LMlpaYPuS1mmmQT/view?usp=sharing er?

Does this look right?
https://github.com/Florian-Barthel/gaussian_viewer/assets/38436810/cde33b76-9281-4b00-ba72-077d57be91d8


WIP: ConcurrentArray implementation via inheritance

@st0012 this is the alternative implementation I've mentioned in the other ConcurrentArray PR; I've implemented only one method, for showcasing the idea.
The second commit shows how the arguments checking should be performed outside of the thread-protected method, since checking doesn't need any locking.

@saveriomiroddi This is pretty close to what I thought, and it's more like concurrent-ruby's Concurrent::Array implementation I think. Which approach do you prefer?
From my opinion, the main consideration will be if we would need to customize concurrent array object's methods in the future. For example, use atomic package to do more low-level lock operations to improve performance (although I don't think we'll have to do this).

I've checked the concurrent-ruby project.
Technically speaking, their solution is very similar to #487 - both are wrappers introducing a mutex (see https://github.com/ruby-concurrency/concurrent-ruby/blob/master/lib/concurrent/array.rb and https://github.com/ruby-concurrency/concurrent-ruby/blob/master/lib/concurrent/thread_safe/util/array_hash_rbx.rb). The difference with this PR is due to the fact that here the superclass (top-level Array) is modified, while in ruby's concurrent, and #487, we don't.
From a theoretical perspective, this solution will introduce a small overhead in ::Array methods, due to calling the locking methods (which will be both empty), and it will also of course introduce the convention to use in such class (that is, defining the code a func).
The first may be negligible, the second is a design choice.
I'm fine with this approach, also because it should work out of the box.

@saveriomiroddi Um...After comparison I think your design (#487) is more straightforward and easy to understand. So if you don't mind I'll close this and we can go back to #487. I will help you solve the CFP issue.

Um...After comparison I think your design (#487) is more straightforward and easy to understand. So if you don't mind I'll close this and we can go back to #487. I will help you solve the CFP issue.

:+1: Closing.


Using 'back button' on mouse causes Hyperterm window to go black.

Makes the app unusable if I accidentally hit the back button just under my thumb.
Shouldn't Hyperterm have "back" command disabled?
Thoughts?
Excuse me if this is totally off base.

Do you have a "forward" button mapped? What happens if you were to press that?
Related: if you use the "view a website" feature, where you type in a URL, you can't get back to the terminal window, as far as I can tell. Wondering if your back button lets you get back to the shell...

What is the current state of this in the master? @JackMordaunt

With the latest version of hyper on OSX the issue appears to be resolved. Haven't tested on Windows. @ppot

Good. Il close it.


Separate core package Node/browser specific code into platform folders

There is a de-factor standard for a "browser" field in the package.json (see package-browser-field-spec) that webpack, Rollup, etc. respect.
It allows us to specify replacement modules for when the package is used in the browser instead of Node. So we could structure things like this:
// src/platform/index.ts
export * from './node'; // Use Node platform by default

// src/platform/node/index.ts
export * from './id'; // Has Node specific `randomSpanId`

// src/platform/browser/index.ts
export * from './id'; // Has browser specific `randomSpanId`

Then in our package.json for opentelemetry-core we have this:
// packages/opentelemetry-core/package.json
{
   ...
   "browser": {
       "./src/platform/index.ts": "./src/platform/browser/index.ts"
   },
   ...
}

The problem with this approach is that the entrypoint is not the platform. The platform is used by the entrypoint.
The way we do it is to allow switching platform. So in browser.js it's possible to do something like platform.use(browser).
Another potential alternative if the standard supports that would be to do what you mentioned above but in the subpackage opentelemetry-platform instead of in opentelemetry-core.

Nevermind, I didn't know you could change multiple files.

Can we close this one via #84?

Yep!


Stripe for donations

Added working stripe checkout for donations page.
Added figaro for ENV variables. Will need to install figaro and run figaro heroku:set -e production locally to have the ENV variables work on heroku.

@gxespino a few issues detected.

Still unable to merge this PR.

On Jun 22, 2015, at 1:56 AM, Glenn Espinosa<EMAIL_ADDRESS>wrote:
Added working stripe checkout for donations page.
Added figaro for ENV variables. Will need to install figaro and run figaro heroku:set -e production locally to have the ENV variables work on heroku.
You can view, comment on, or merge this pull request online at:
https://github.com/OperationCode/operationcode/pull/66
Commit Summary
Add working stripe donation form, need to do styling and success pages.
Remove old donation page, links and references.
Add files for working stripe donation form, need to do styling and success pages.


Dimension or Split By option not available in azure-monitor-mgmt client "metrics.list" method

An option like Dimension or Split By should be provided which is currently not available in azure-monitor-mgmt client "metrics.list" method .
Package class: azure.mgmt.monitor._monitor_management_client.MonitorManagementClient
Operation Method: metrics.list()
A "--dimension" option which is provided in az cli command , similar parameter can be provided in its python sdk counterpart -
az monitor metrics list --resource {ResourceName} --aggregation Total --dimension "ResponseType" --metric Transactions --start-time 2022-12-08T16:00:00Z --interval PT1H

Az CLI Reference from: https://learn.microsoft.com/en-us/cli/azure/monitor/metrics?view=azure-cli-latest#az-monitor-metrics-list
Az monitor metrics Python SDK Reference from: https://learn.microsoft.com/en-us/python/api/azure-mgmt-monitor/azure.mgmt.monitor.v2018_01_01.operations.metricsoperations?view=azure-python#azure-mgmt-monitor-v2018-01-01-operations-metricsoperations-list

As a workaround I use a filter in client.query_resource() function. You need to get familiar with the dimension names first and use filter like:
filter="Power Supply eq ''"
or
filer="Component eq '' and Controller eq '' and Index eq ''"
for multidimensional metrics.
You may need to set max_results to a higher value (default is 10).


adding covalent

ℹ Repository information
The repository has:

[x] At least three issues with the good first issue label.
https://github.com/AgnostiqHQ/covalent/labels/good first issue
[x] At least 10 contributors.
https://github.com/AgnostiqHQ/covalent/graphs/contributors
[x] Detailed setup instructions for the project.
https://covalent.readthedocs.io/en/stable/getting_started/index.html
[x] CONTRIBUTING.md
https://github.com/AgnostiqHQ/covalent/blob/develop/CONTRIBUTING.md
[x] Actively maintained.
https://github.com/AgnostiqHQ/covalent/pulse

Hey @wjcunningham7  ! I tried to contribute to this repo as well but I haven't seen any activity in the last few months. I decided to fork it to keep it alive. Please see https://github.com/lucavallin/gfi and feel free to open a pull request there. At this time I am setting up the hosting and cleaning up the code. If you're up for it, I could use some help to convert the app from Nuxt.js & Python to Next.js & Typescript.


backport fix bundle_v2 integration tests failures due to running out of space on track/2.0

Backports #428 to track/2.0

Closed because the branch was mis-named.  Replaced with #431


[Transaction][Buffer] move the transaction buffer code to the broker module

Motivation
Currently, all transaction buffer code in the transaction module. A transaction buffer inherits PersistentTopic, it depends on the pulsar-broker module. When we need to create a transaction buffer at the pulsar-broker, the pulsar-broker depends on the transaction module. So it will cause cyclic reference.
Modifications

move the code under transaction buffer module to the broker module

@sijie Could you take a look and if I on the right track?

@zymap make sense to me

@sijie  Thanks, I will move all related code and tests to the pulsar-broker module.

run cpp tests
run java8 tests


【代码迁移】任务：X

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.zxlzd seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Build Error at end of run.

When a testrun is completed a build error is thrown.
[INFO  SimpleTestExecutorMonitor] Test 2366/2367 returned Errors: 0 / Prevalence: 0. Test: rutt:foaf-RDFSDOMAIN-MISS-ce32ce369944d467574430f8a2c9b638b535fa0981634f7176e007322a630a9d
[INFO  SimpleTestExecutorMonitor] Test 2367/2367 returned Errors: 0 / Prevalence: 0. Test: rutt:foaf-RDFSDOMAIN-MISS-892f44da16d3228153e3800c73194f447259e7e01b41f6a7bedf459635fdc446
[ERROR] BUILD ERROR

When -o html,ttl is appended to the command the error is gone. So that's a required parameter (in some cases?)

-o html is the default output format and shoudn't interfere.
Did you close this by using explicit -o or for another reason?

asking because ATM RDFUnit is under a lot of refactoring and bugs are easy to slip out

The build error disappeared when explicit using -o
If -o should be the default option then there is a problem because when omitted the build error is thrown.

I cannot reproduce it, can you send me the exact input

I cannot find a log entry of it, it just said Build Error as shown above.

Meant to send me what exactly you run and get this error

Of course:
bin/rdfunit -d http://lod.kb.nl/nbc/ -e http://lod.kb.nl/sparql  -g http://lod.kb.nl/nbc/

still cannot reproduce, it runs fine locally
can you send me the log of a failed execution? should be in rdfunit-validate/log/*


feat: upgrade to RN 0.63

upgrades to the latest version of react-native
BREAKING CHANGE: major react native update

@nathan-sankbeil - Android stalled out on Travis, which for some reason isn't giving me the ability to restart through the UI. Can you see if you can restart it or push an empty commit?

Conflicts.

Trying this both with and without merging in the feature branch, it looks like images aren't loading on both iOS and Android.

Unfortunately, per agreements we have with clients, we cannot remove things without deprecating it for a cycle first. Can you please restore the old legacy form components and add yellow box warnings about their deprecations?

tcomb-form-native hasn't been updated since 10-11-18 and the last supported version of RN it has listed is 0.35.0. Can we deprecate it in FS9?


webpki-roots v0.26.4+ published with MPL-2.0 license but contains Apache-2.0 and MIT license texts

The webpki-roots crate has an MPL-2.0 license but now ships Apache-2.0 and MIT license texts. It looks like this was unintentional? Please restore the MPL-2.0 license text and remove the LICENSE-APACHE and LICENSE-MIT symlinks from the webpki-roots workspace member.
It looks like this PR which added symlinks for license texts is the cause:
https://github.com/rustls/webpki-roots/pull/75

:facepalm: Thank you for catching this. You're right, I messed this up in https://github.com/rustls/webpki-roots/pull/75/commits/6bcc0ec2bcfbf675b27ad8ec98524077883d2147. Fixing in #80

Thanks for the quick fix! 🚀


Crashes because dyld library not loaded

First of all thanks for this library! I really would like to test it.
Running the demo project on a real iPhone causes a crash (using Xcode 10.2):

Thank you for sharing. Is anybody else seeing this problem? It will help to isolate since this is probably an undefined inputs problem.

I've fixed it using by remove the frame work in the project setting, then add the embbed framework again. See the screenshot:

Thanks for sharing. Now I'm trying to figure out what caused this problem.
Here is the current recipe https://github.com/fulldecent/swift5-module-template


Process killed

I tried the MIVOS + STCN on  a 1.5 minute 4k video that was down sampled to 480p and the program crashed.
What are the steps to reformat/sample a 4k video to make it work for this tool?
Also can this tool run on multiple GPUs?

What was the error?

What was the error?
@hkchengrex
attached pictures

Can you try --mem_profile 2?

There are also a lot of frames so maybe you need to set --mem_freq higher, e.g., 30.

Can you try --mem_profile 2?

@hkchengrex seems to work.  Do you think you have memory leaks ? Because the video I'm trying to use is only 34MB.
I see what it is doing now in:
class InferenceCore:
    """
    images - leave them in original dimension (unpadded), but do normalize them.
            Should be CPU tensors of shape B*T*3*H*W

    mem_profile - How extravagant I can use the GPU memory.
                Usually more memory -> faster speed but I have not drawn the exact relation
                0 - Use the most memory
                1 - Intermediate, larger buffer
                2 - Intermediate, small buffer
                3 - Use the minimal amount of GPU memory
                Note that *none* of the above options will affect the accuracy
                This is a space-time tradeoff, not a space-performance one

    mem_freq - Period at which new memory are put in the bank
                Higher number -> less memory usage
                Unlike the last option, this *is* a space-performance tradeoff
    """

34MB is the size after compression. Raw pixels occupy much more space. The model in this branch https://github.com/hkchengrex/MiVOS/tree/MiVOS-STCN will perform better/use somewhat less memory I believe.

34MB is the size after compression. Raw pixels occupy much more space. The model in this branch https://github.com/hkchengrex/MiVOS/tree/MiVOS-STCN will perform better/use somewhat less memory I believe.

@hkchengrex that's the branch I'm using. So what do we need to do to control the memory. I see the YouTube videos which are long and high resolution. What's different there ? How was the input of a large resolution video adjusted to the tool without you know crashing the GPU memory or causing memory issues ? Was a much more powerful hardware used ? or multiple GPUs ?

None of the youtube videos are that long (<500 frames). We just downsample high-res video to 480p (probably like what you did).
We used a 2080Ti (11GB) and that should be sufficient for all the examples shown.
For your setting, I would suggest a higher mem_freq and use 480p videos to generate the masks (upsample afterward).

None of the youtube videos that we show are that long (<500 frames). We just downsample high-res video to 480p (probably like what you did). We used a 2080Ti (11GB) and that should be sufficient for all the examples shown.
For your setting, I would suggest a higher mem_freq and use 480p videos to generate the masks (upsample afterward).

@hkchengrex I see. So a higher 'mem_freq' with video down-sampled for MIVOS + STCN processing and then once finished the masks are up-sampled as post-processing to match the dimension of the original 1080 or 4K video. Does that sound right ?

Yes.

Yes.

@hkchengrex  got it! Thank you very much!


refactor: generalise linearity of inner product

The acting ring doesn't need to be the ring the inner product is valued in.

Before I fix code further downstream, can people (@j-loreaux ?) tell me which way I should fix it? Should I restore the existing lemmas with multiplication on the RHS under a different name, or should I adapt the downstream proofs? EDIT: Went with keeping the * special cases

bors r+


Can I get the pointer of the table represented object?

In most case, I want to call a C++ function in lua, and the C++ function need a pointer, such as UGameplayStatics::GetGameInstance(UObject* WorldContext),  and in GameMode.lua, the self is a table? how can I get the light userdata of GameMode?

you can just pass the table to the function.The framework will switch the table to the c++ object.
and self.cppinstance is the c++ object.


Remove targets older than 5000 ticks

resolves #130

This Pull Request has been merged by GitConsensus.
Vote Totals

Yes
No
Abstain
Voters

5
0
0
5

Vote Breakdown

User
Yes
No
Abstain

tedivm
✔

dragoonreas
✔

ViezeVingertjes
✔

ButAds
✔

PostCrafter
✔

Vote Results

Criteria
Result

Has Quorum
True

Has Votes
True


Handle RequestLimitExceeded in throttled_call

The new version of boto3 is throwing RequestLimitExceeded instead of Throttling
exceptions so we need to catch those too when using throttled_call
This is the reason some of our bakes are still failing even after adding throttled_call to everywhere to DiscoVPC

👍

👍


Help setting up khd

Hi,
I'm new with both kwm and khd, as of today I installed the latest versions available in github.
$ brew install koekeishiya/kwm/kwm
Warning: koekeishiya/kwm/kwm-4.0.2 already installed
$ brew install koekeishiya/khd/khd
Warning: koekeishiya/khd/khd-1.1.0 already installed

I granted both accesibility rights in the security panel.  Kwm seems to be working fine, it resizes the windows automatically and the focus follows my mouse (really nice!).
Now when I installed khd I also run the command cp /usr/local/Cellar/khd/1.1.0/khdrc .khdrc, then I started the khd service:
$ brew services start khd
==> Successfully started `khd` (label: homebrew.mxcl.khd)
$ khd
Khd: Could not start daemon! Terminating.

Then I tried a couple of the commands listed in the README.md:

$ khd -e "mode activate default" does nothing and outputs the following in the /tmp/khd.err: zsh:1: command not found: kwmc
Others that seem to be working:

$ khd -w "this text will be printed by generating key-up/down events"
this t%
$ this text will be printed by generating key-up/down events
$ khd -p "cmd - right"
Token_Modifier: cmd
Token_Literal: right

So following with the issue #25 I tried the following configuration:
# Change focus
lalt - up : kwmc window -f north
lalt - right : kwmc window -f east
lalt - down : kwmc window -f south
lalt - left : kwmc window -f west

# Move window
lalt + shift - up : kwmc window -m north
lalt + shift - right : kwmc window -m east
lalt + shift - down : kwmc window -m south
lalt + shift - left : kwmc window -m west

# Open iterm
lalt - return : open -na /Applications/iTerm2.app

And restarted the service with the same outcome:
$ brew services restart khd
Stopping `khd`... (might take a while)
==> Successfully stopped `khd` (label: homebrew.mxcl.khd)
==> Successfully started `khd` (label: homebrew.mxcl.khd)
$ khd
Khd: Could not start daemon! Terminating.
$ khd -c .khdrc
Khd: Could not start daemon! Terminating

Don't know what I'm missing but I would really like to make it work! Some help would be appreciated.
Cheers

Seems like path issues, see #9

$ brew services restart khd
Stopping khd... (might take a while)
==> Successfully stopped khd (label: homebrew.mxcl.khd)
==> Successfully started khd (label: homebrew.mxcl.khd)
$ khd
Khd: Could not start daemon! Terminating.
$ khd -c .khdrc
Khd: Could not start daemon! Terminating

brew services starts khd for you, so trying to manually run it afterwards will not work as the port will already be in use.

@koekeishiya that makes it work. I wonder why this happens since /usr/local/bin/kwmc is in my path...
Thank you! And really good job, for those who come from linux you are making us happy.
Cheers


maintainer-list: drop gm6k

Description of changes

This user has requested their personal information to be removed and wants to proceed further legal actions to enforce it. To comply we are proactivly removing all their personal information from this repository. See https://github.com/NixOS/nixpkgs/pull/273146#issuecomment-1858088510
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Under what conditions to lose maintainer status is described here: https://github.com/NixOS/nixpkgs/blob/master/maintainers/README.md?plain=1#L45 ff. The author did not provide any evidence for the maintainer being unresponsive, and also did not wait for one week, so this PR is invalid as per our community guidelines.
Furthermore, the claims (which aren't relevant for revoking maintainer status) seem to be wrong. I could not find evidence anywhere for the maintainer asking to remove "all their personal information" from the repository. Furthermore, legal action cannot be confirmed since the author did not provide any court or file number to verify.
Taking also into account that the author was involved in several attempts to boycott contributions from the maintainer for no obvious reason, this seems to be a case where the author abused his commit privilege for bullying a developer he has personal issues with.
Should this not be the case, the author can revert this commit, refrain from his attempt to push it to further branches, and publish a loud and unambiguous apology on Discourse and GitHub.

I did not revoke your maintenance status but you asked us to remove personal identifiable while threatening with legal consequences. Since this is a serious allegations it's better to be act fast and be better on the safe side. Feel free to open a pull request to restore this status

@zeuner following the contributions guidelines by the letter and not by the spirit is rules lawyering to me. Because obviously nobody will have written down something about how to handle the current situation. Mic made a call of judgement, and we can discuss it calmly without being threatened by knee-jerk counter reactions.


(WIP) 962 attempt 2 at improving the cache.

See #962 .  This is option 2

Notes:

The tables created by splink need to be separate from the cache because when you register a table, you don't want this to be deleted.   More generally, keeping track of the list of tables created so they can be deleted is conceptually different from keeping track of a small number of named tables that form an intermediate cache

Things to do:

If you run linker.cumulative_num_comparisons_from_blocking_rules_chart() on a link_only two table job, does it correctly use cache?  You want it to retrieve from the cache and then proceed and queue the left and right tables

Copy pasting Tom's comments here:
Some quick changes to get the new caching system running.
Outside of the repeated use of concat_with_tf = linker._initialise_df_concat_with_tf(), I've also:

Adjusted the pipeline to accept None as an argument to input_dataframes. If None is encountered, it will skip. This means we can ask to queue or use the cache, and then return either None or a splinkdf for use in the execution step.
Got all tests aside from 1 running.
Adjusted the cache_uuid to initialise with the linker object. See the tests for more.
Fixed this issue with debugging mode.
Checked that our concat and tf tables all correctly utilise the cache. I'll add another test for this shortly.

I have not:

Checked debug_mode.
Done any extensive testing on query_sql and register_table.
Checked anything on the implementation of final_tables, rather than just intermediate_tables, which this PR makes adjustments to.
Reviewed all charts and methods. I've only made adjustments to those being flagged in the tests.

A link_only currently fails with ParserException: Parser Error: Duplicate CTE name "__splink__df_concat_with_tf_left"

Things to do:

[ ]  If you run linker.cumulative_num_comparisons_from_blocking_rules_chart() on a link_only two table job, does it correctly use cache?  You want it to retrieve from the cache and then proceed and queue the left and right tables
[ ] All the register_table methods should accept a string of an existing table in the databsae.  This would allow the table to be registered as a templated table e.g. registering my_input_table as the __splink__df_concat_with_tf table
[ ] Check I can load a duckdb database with a arbitarily-named 'predict' table, and subsequently run clustering

Re: tests, my initial thought is we want a way of testing cache hits. I.e. the behaviour we want to test is whether the cache is used correctly, irrespective of the implementation.  Not sure best way to implement this, but maybe the linker could just store the list of cache hits


Let users specify a minimum threshold for an audio asset to be considered loaded

Browsers don't give you an event when an audio item has completely loaded, but we can still manually compare the loaded time against what the user expects.
The upside is that you can then force Crafty.load to only continue when the full audio has been fetched.
The downside is that the user has to specify the expected audio length, and keep it up to date if the audio asset changes.

I realized that there's also a loadedmetadata event that fires when metadata, including the audio length, is available.
That means we could use a slightly more reasonable strategy:  wait until both canplaythrough and length >= threshold || length >= duration are true.  The threshold value would have a global default that's quite small, but a user could specify something much larger, both globally or for individual assets.

Good find!

The threshold value would have a global default that's quite small
Wouldn't it make sense to make the threshold = Infinity? Wait for it to be completely loaded, but have an option for advanced users, who understand the risk of starting the game too soon.


Slider button: Not moving while mouse button is pressed, jumping to new position after mouse button released

What am I doing wrong?
I was expecting that the slider button can be seen while holding it with the mouse button and moving, but this is not the case: I can only see the new slider button position after releasing the mouse button.
Kindly provide help.

I have the same issue. But it's only after I switched to vis2 in vis1 it's still working as intended. Since I updated it's basically unusable especially on mobile devices you can't control the lights anymore.


Backend Analytics: Remove double occurence of "leaf"-Field in Navigation-Model

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/#/issues/SW-15893.
Please use this issue to track the state of your pull request.


release(operator): release prepare 0.0.7

Description
Prepare for release v0.0.7

@josedonizetti @chen-keinan can we wait for https://github.com/aquasecurity/trivy-operator/pull/130 to do a release?

@JAORMX I'd rather have it on the next release, I merged the other PR but the idea was to do a release of only refactorings.

@JAORMX its good to have it in this release as a quiet feature, so we can gather some feedback on it, if all good, we can announce it officially with the configAuditReport on next release


New release needed

Discussed in https://github.com/jrief/django-formset/discussions/111

Originally posted by YLITC February  8, 2024
Hi I just started using your library
Please create a new release because 1.3.7 is broken unless you have phonenumbers package - but it is not a dependency.
Unfortunately i wasted quite a bit of time figuring out the error.
The fix has already been committed a few weeks ago but it needs a release
Thank you
Joe

Version 1.3.8 has been released. Thanks for the reminder.


Support OAK-D SR PoE

The latest version of depthai-viewer crashes when I try to connect the SR PoE camera. Just updating the depthai library should be enough, I managed to get it working locally by changing the version tag here to <IP_ADDRESS>:
https://github.com/luxonis/depthai-viewer/blob/ea0cdb3130d041f47ca6587309ba49f0109ee579/rerun_py/depthai_viewer/requirements.txt#L7
Side note: I noticed that the latest version of depthai-sdk currently depends on depthai==<IP_ADDRESS>. The only reason it works in this case is because depthai==<IP_ADDRESS> is installed after depthai-sdk. The SDK should not need to be locked to a specific minor release if semantic versioning is followed.

Awesome - thanks for looking into it already - will fix this as you suggested (dai 2.25 includes the new revision of oak d sr poe boards).
I agree with the versioning there - at least in the viewer we install it in a separate venv to not influence the system wide depthai version. Perhaps the sdk should have bundled it's own depthai version as the viewer does... anyways we will not fix this in the sdk as it's deprecated - we will rather make depthai more capable.

We've got pretty good OAK-D-SR-POE support now, since: https://github.com/luxonis/depthai-viewer/releases/tag/v0.2.0. Closing this issue.


Verification is backwards

Verification should not verify the next link in the chain.  It should verify the previous link in the chain:
C = h1, h2, h3, h4 -> held by Client and Server generated by h = h(K || h-1)
Client sends message and h4 to server and stores h3 as next expected hash,
Server receives message and h4, generates chain up to h4 to validate it and stores h3 as next expected hash.
Server sends message ACK and h3 to client, client validates that h3 is what was sent.  If client wants to continue session client sends another message with h2.

fixed with commit ba1fc67


Fix the issue where camera zoom get stuck when looking up

Currently the camera zooming is stuck when looking up to the target. It is because the math for zooming assumes the camera is always looking down to the earth surface. The fix is to check the angle between the camera direction and the earth-origin-to-camera direction. If they are less than 120 degree, it looks up and we choose the method zoom-on-vector. Theoretically, we should check for 90 degree, but in practice, it doesn't work really well.
@lilleyse Can you please take a look at it? Please let me know if I should add anything

Thanks for the pull request @baothientran!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

@lilleyse This is the sandcastle to replicate the problem. If you look up to the ceiling, it will get stuck in the master branch

@baothientran Nice fix! I can confirm this fixes the bug where the camera gets stuck when zooming towards a surface above it. This change also has the positive side effect of improving navigation at higher elevations (above 3000) because it now favors the zoomOnVector behavior except for bird's eye views. Zooming around Mt. Everest is less jolty than before.


[Tooling]<EMAIL_ADDRESS>cannot be used as a CLI

Describe the bug
By initializing the project with npx genkit, it can be successful executed in version 0.5.x, but it shows "could not determine executable to run" in the latest 0.9.0 version.
To Reproduce
Steps to reproduce the behavior:
npx genkit@latest init

But it works with:
npx<EMAIL_ADDRESS>init

Expected behavior
Show select a runtime initalize instruction.
Screenshots

Desktop (please complete the following information):

OS: macOS

Additional context
None.

Thanks for reporting this!
Two things here:

There's no more genkit init.
The CLI package is now called genkit-cli so the only way to make this work is to do npx genkit-cli start...

Hi @apascal07! I tried using the npx genkit-cli init command and the genkit init and the list of commands appears but the project does not start.

@lperezp genkit-cli init is no longer available. The new CLI tool requires manual project initialization.
You can view the cli changes here: https://bit.ly/genkit-0-9

Hi, I'm confused. Could anybody give the steps to install and initialise genkit ui for the latest version?

@Aqshra Unfortunately, the official tutorial for the G has never been updated, and you can only refer to the tutorial for the JS.


How to diff immutable record types?

I want to diff immutable record types (classes with public final members, and object identity dependent on all such members). I don't need to merge, I just need to see what the differences are between them.
I've looked at Instrospector and the StandardIntrospector implementation, but TypeInfo requires accessors to be provided, which my classes don't have.
public class Service
{
	public final String name;
	public final Map<String, String> credentials;

	public Service(String name, Map<String, String> credentials)
	{
		this.name = name;
		this.credentials = Collections.unmodifiableMap(credentials);
	}

	//hashCode and equals on both properties
}

I'm afraid there isn't a built-in way to deal with getter-less classes (yet). However, although I didn't try it, I think all you need to do is to implement a simple PropertyAwareAccessor that is able to deal with fields and then make use of it in you own Introspector implementation. Feel free to ask any questions that come up along the way! I'd be happy to help you make it work!

Thanks for getting back to me and for the suggestion. I ended up using Javers instead, as whilst it's a bit heavyweight for my needs, it supports this use-case out of the box.


Autocomplete & format with Snowflake not working after EXTRACT

Description
Snowflake contains the function EXTRACT, which is used for extracting the specified date or time part from a date, time, or timestamp.
EXTRACT( <date_or_time_part> FROM <date_or_time_expr> )
After using the extract function, autocomplete stops working for subsequent fields

DBeaver Version
Community Version <IP_ADDRESS>409221725
Operating System
Windows 11
Database and driver
Snowflake (DBeaver net.snowflake.client.jdbc.SnowflakeDriver)
Steps to reproduce

I write a select statement containing an extract function
I attempt to write a new field and trigger autocomplete
Autocomplete does not contain any fieldname suggestions

Additional context
No response

Thank you for your request

Suspect that issue comes from having FROM within the EXTRACT function

yes, you're right


feat(all): Allow uuid 0.4 and 0.5 in dependencies.

Lettre works with uuid 0.4 and 0.5. Allowing both in dependencies reduces dependency duplication a little bit in projects that use both lettre and uuid.

There were the following issues with your Pull Request

Commit: 904ece698739c074a0f8fdcca1aad7d0a9e5d98e
Commits must be in the following format: %{type}(%{scope}): %{description}

Guidelines are available at https://github.com/lettre/lettre/blob/master/CONTRIBUTING.md

This message was auto-generated by https://gitcop.com

There were the following issues with your Pull Request

Commit: 904ece698739c074a0f8fdcca1aad7d0a9e5d98e
Commits must be in the following format: %{type}(%{scope}): %{description}

Guidelines are available at https://github.com/lettre/lettre/blob/master/CONTRIBUTING.md

This message was auto-generated by https://gitcop.com

Coverage remained the same at 0.0% when pulling 12ecad34bab755922f1310c2c5d7b87ff4609eaf on mpietrzak:master into 11a983f07872a8c7700d29554e49e92dbe7c93b1 on lettre:master.


Add heketi-glusterfs vendor dependency.

Signed-off-by: Humble Chirammal<EMAIL_ADDRESS>

@wongma7 PTAL . Thanks !

@wongma7 Sure. I have tried to include the changes in one PR https://github.com/kubernetes-incubator/external-storage/pull/97/

Closing this project.

Sorry it should have been '' pull request" instead of project


Upload File(s) to Gist fails while using Remote-WSL connection

Describe the bug
Attempts to Upload File(s) to Gist fails while using a Remote-WSL connection with the following message...
Error running command gistpad.uploadFileToGist: Running the contributed command: 'gistpad.uploadFileToGist' failed.. This is likely caused by the extension that contributes gistpad.uploadFileToGist.
To Reproduce
Steps to reproduce the behavior:

From VSCode running on Windows 10 w/ Windows Subsystem for Linux; command pallete -> Remote-WSL: New Window
Open the GistPad tab in the activity bar
Right click on a Gist, and chose Upload File(s)
Select any file from the pop-up file chooser
Error encountered

Expected behavior
Expect file to upload to Gist.
Screenshots
Error running command gistpad.uploadFileToGist: Running the contributed command: 'gistpad.uploadFileToGist' failed.. This is likely caused by the extension that contributes gistpad.uploadFileToGist.
Desktop (please complete the following information):

Windows 10 20H2, WSL w/ Ubuntu-20.04
VS Code Version 1.55.2
GistPad Version 0.2.8
Remote - WSL extension Version 0.54.6

Hmm, interesting. If you try this outside of a WSL context, does it work?

Yes, it works fine outside of a WSL context.  (Love the extension btw.)
Interestingly, I uninstalled the extension form the marketplace and tried building the extension myself and running it in the extension development host and it works fine so this appears to be something with that build.

I'm lost as to why this works when running in the debugger but fails otherwise.  Since addFilesToGist works but uploadFileToGist does not I compared their code.  The obvious difference is that add is just using readFile while update is using readFileSync.  Making a guess there is an issue with the blocking synchronous read I modified uploadFileToGist to use just readFile, built a new .vsix and tested it.  The upload works succesfully with my change.
https://github.com/cmelaro/gistpad/commit/4bf56132e41d0e254a8f14f83fc4b5fe18984278#diff-35e5c25f149a4c791fd9dd440a2f1ba225acc7e6546037430e1e90d198db51da
patch.txt

Confirmed this issue still exists with a Remote-WSL connection with the following components:
Windows 10 21H2 (OS Build 19044.1766)
WSL distribution: Ubuntu 22.04 LTS (Linux Ubuntu-2204 <IP_ADDRESS>-microsoft-standard-WSL2)
VS Code version: 1.68.1
GistPad extension version: v0.4.1
Remote - WSL extenstion version: v0.66.3

Closing this as fixed


Buildings without height still need to extrude starting at zoom 17/18

This is important for routing.
This seems to work with WebGL, but is broken in the ES version in Eraser Map.
@blair1618, @bcamper, @meetar

I see that buildings with extrusion are defined here, and you have extrude: true in the two rules there. According to the docs, extrude: true should extrude buildings according to their height and min_height properties, so a feature without height should not be extruded by this rule.
If those buildings are being extruded in WebGL then that would be a bug.
Another possibility is that the map isn't zoomed enough in routing mode for buildings to match the $zoom: { min: 18 } filter, and therefore you aren't seeing as many buildings as you expect.

See also: https://github.com/mapzen/eraser-map/issues/166 which suggests the current max_zoom on the map in the Android app is 18 or 17.9 so I could see the { min: 18 } filter being an issue.
I think @meetar wrote this style originally, can you weigh in with suggested fix / WebGL versus ES comparison?

Eh, it turns out (this is very very old code) that extrude has a default value of 20 meters, if the height is not defined:
https://github.com/tangrams/tangram/blob/master/src/styles/polygons/polygons.js#L59
https://github.com/tangrams/tangram/blob/master/src/styles/style_parser.js#L122
We could deal with this by:

Changing this behavior, and adjusting any previous stylesheets as necessary.

If we do this, we could add an extrude_default (similar to sprite_default), so it is configurable instead of hard-coded. Though this can also be accomplished in less elegant fashion with extrude: function() { return feature.height || 20; }.

Implementing the default in ES.
Other?

Sorry, this is kind of a weird once since it goes way back to when I first added extrusion :)  And I guess there is some argument that if you put extrude: true on a feature, it's helpful to get the immediate feedback by seeing it raised. Unsure what is most desirable here...

This feels similar to the default text font size of 12
…
If I extrude a building I expect it to extrude to some default. I vote
for implementing the default in ES.
And in the meantime we could hack it for Eraser Map scene with extrude: function() { return feature.height || 20; }, as Brett suggests.
On Thu, Dec 3, 2015 at 8:32 PM, Brett Camper<EMAIL_ADDRESS>wrote:

Eh, it turns out (this is very very old code) that extrude has a default
value of 20 meters, if the height is not defined:
https://github.com/tangrams/tangram/blob/master/src/styles/polygons/polygons.js#L59
https://github.com/tangrams/tangram/blob/master/src/styles/style_parser.js#L122
We could deal with this by:

Changing this behavior, and adjusting any previous stylesheets as
necessary.

If we do this, we could add an extrude_default (similar to
sprite_default), so it is configurable instead of hard-coded.
Though this can also be accomplished in less elegant fashion with extrude:
function() { return feature.height || 20; }.

Implementing the default in ES.
Other?

Sorry, this is kind of a weird once since it goes way back to when I first
added extrusion :) And I guess there is some argument that if you put extrude:
true on a feature, it's helpful to get the immediate feedback by seeing
it raised. Unsure what is most desirable here...
—
Reply to this email directly or view it on GitHub
https://github.com/tangrams/eraser-map/issues/109#issuecomment-161872799
.

I do think it's friendlier from a learning-the-system perspective, type
less to get a result (the counter argument is that defaults can be
confusing).
On Fri, Dec 4, 2015 at 12:05 AM, Nathaniel V. KELSO <
<EMAIL_ADDRESS>wrote:

This feels similar to the default text font size of 12
…
If I extrude a building I expect it to extrude to some default. I vote
for implementing the default in ES.
And in the meantime we could hack it for Eraser Map scene with extrude: function() { return feature.height || 20; }, as Brett suggests.
On Thu, Dec 3, 2015 at 8:32 PM, Brett Camper<EMAIL_ADDRESS>wrote:

Eh, it turns out (this is very very old code) that extrude has a default
value of 20 meters, if the height is not defined:

https://github.com/tangrams/tangram/blob/master/src/styles/polygons/polygons.js#L59

https://github.com/tangrams/tangram/blob/master/src/styles/style_parser.js#L122

We could deal with this by:

Changing this behavior, and adjusting any previous stylesheets as
necessary.
If we do this, we could add an extrude_default (similar to
sprite_default), so it is configurable instead of hard-coded.
Though this can also be accomplished in less elegant fashion with
extrude:
function() { return feature.height || 20; }.
Implementing the default in ES.
Other?

Sorry, this is kind of a weird once since it goes way back to when I
first
added extrusion :) And I guess there is some argument that if you put
extrude:
true on a feature, it's helpful to get the immediate feedback by seeing
it raised. Unsure what is most desirable here...
—
Reply to this email directly or view it on GitHub
<
https://github.com/tangrams/eraser-map/issues/109#issuecomment-161872799>
.

—
Reply to this email directly or view it on GitHub
https://github.com/tangrams/eraser-map/issues/109#issuecomment-161877765
.

I don't think this default extrusion behavior is a good idea.
It's easy to accomplish a default extrusion height in a style; a one-line position injection will do splendidly for the eraser-map style.
Adding implicit, exceptional behavior like this makes it more difficult to reason about the behavior of a system that's already quite complex.

@bcamper and @blair1618 I suspect this needs to be set in the shader itself and not the basic YAML extrude property. That is to say, setting extrude: function() { return feature.height || 20; } makes buildings with height infinitely tall on device, and buildings without height still aren't extruded.
$ git diff
diff --git a/eraser-map.yaml b/eraser-map.yaml
index 8fc5379..e80087e 100644
--- a/eraser-map.yaml
+++ b/eraser-map.yaml
@@ -2292,20 +2292,12 @@ layers:
                 polygons:
                     visible: true
                     style: building-grid
-                    extrude: function() { return feature.height || 20; }
+                    extrude: true
                     color: [.885, .870, .870]
                 lines:
                     visible: true
                     style: building-lines
-                    extrude: function() { return feature.height || 20; }
-
-            buildings-z17-boost:
-                filter: { $zoom: { min: 17, max: 18 }, height: false }
-                draw:
-                    polygons:
-                        extrude: 30
-                    lines:
-                        extrude: 30
+                    extrude: true

I wonder if the height is controlled with shader magic here:
    scale-buildings:
        shaders:
            blocks:
                position: |
                    // scale buildings based on zoom
                    float zoom = u_map_position.z;
                    float min = .1;         // minimum building scale
                    float midpoint = 16.; // middle of zoom range
                    float speed = 2.;  // number of zoom levels to transition over
                    float e = (zoom - midpoint) / (speed * .2);
                    position.z *= ((1. - min) / (1. + (exp(e)))) + min;

Can @bcamper take a look at this? I don't have enough experience to set this, and it's hard also to test and not gum up the main Android build.

@sensescape Can you attach the awesome screenshot here?

Sounds like a feature.
On Mon, Dec 7, 2015 at 5:01 PM, Geraldine Sarmiento <
<EMAIL_ADDRESS>wrote:

[image: screenshot_2015-12-07-14-00-26]
https://cloud.githubusercontent.com/assets/466585/11641063/ff60383a-9cea-11e5-858c-4de848a9aca8.png
—
Reply to this email directly or view it on GitHub
https://github.com/tangrams/eraser-map/issues/109#issuecomment-162679473
.

Yeah, I think I've just seen what you're talking about :)
This should be a correct way to write this behavior in the stylesheet. I'm unclear why it's totally bonkers on ES right now but I have two theories:

JS functions may not be enabled for "extrude". I thought this was enabled already, but if not it's quite simple to enable JS functions on a parameter.
Numeric values for "extrude" might not be interpreted in meters. I'm pretty confident this is true, and it'll be fixed with one multiplication.

Thanks for giving it a spin; hang tight while I un-crazy those extrusions!

Progress: it turns out functions do work for 'extrude' but only if you return [min_height, height], so I'll add a case to allow returning a single value (like on JS). The unit values are also scaled incorrectly, like I thought, and that's a simple change.

Fixed in d0ad47eb9b1784b215251128eb7000ccf4dcdb5d and verified in master-569 on device!


Update

Hey I know I went quiet for quite a while, but I recently decided to publish one of my longtime projects to Github, a text editor powered by ScintillaNET. If you're interested at all, you can view it here. I'm also planning on making a few more contributions to ScintillaNET in the future sometime.

Looks good. Thanks for sharing.


Problems editing a Markdown card in Safari

Issue Summary
Editing a Markdown card in Safari causes the browser to crash.
To Reproduce
Steps vary, normally occurs when editing a Markdown card in a post. Following steps where how I discovered it:

Create a new post
Add a Markdown card
Add content to card
Attempt to escape the card

Technical details

Ghost Version: 2.31.0
Node Version: -
Browser/OS: Safari v13.0.1 / macOS Mojave
Database: Pro account

Originally reported here: https://twitter.com/tehwey/status/1176901401454116864

Hi Ghoster's,
I can confirm this bug with Safari 13.0.1.
In my case when I add image card and click to add image, Safari hangs with spinning cursor.
I had to do to "Force Quit" to kill browser, which then generated crash report.
To did a ghost update to ensure I had latest and greatest ghost version but problem was still there.
My updated ghost installation is now on:
Ghost-CLI version: 1.10.1
Ghost version: 2.31.1
As work around I did not editing with FireFox.
Regards,
Zebity.

I also confirm this bug when making a Header on Safari 13.0.2 / Mac Mojave 10.14.6.
To reproduce:

Create a new post,
select some text
change it to a Header using the "H" button

Then Safari crashes, I have to force quit.
Info
Ghost CLI: 1.11.0
Ghost: 2.34.0

Same issue with same versions.

I believe my comment in #11257 is also applicable here: https://github.com/TryGhost/Ghost/issues/11257#issuecomment-546143195

Which is to say, Safari 13.0.2 (146<IP_ADDRESS>.3) fixes this (the “.3” at the end of the WebKit version in parentheses is important).

Yes, for me the issue is fixed on Safari 13.0.2 (146<IP_ADDRESS>.3). First thought it was fixed in ghost v3 but on a v2 site it is also working as expected again.

Hi Ghoster's,
I have  also confirmed with ghost / CLI:
Ghost-CLI version: 1.11.0
Ghost version: 2.31.1 (at /var/www/ghost)
and Safari 13.0.2 (156<IP_ADDRESS>.1) on MacOS Catalina that ghost posting and editing is now working.
I believe that this issue can be closed.
Cheers,
Zebity

I'm also no longer experiencing issues. Closing this as it was a bug in Safari itself that has been fixed in Safari 13.0.2 (156<IP_ADDRESS>.1).


fix: show rejected in archive (HL-1039)

Description :sparkles:
Rejected are not sent to Talpa, so the status for them isn't SENT_TO_TALPA and so the archived is staying false. Now also set archived=true for rejected. Haven't worked with Talpa stuff before, can this interfere with something?

APPLICANT branch is deployed to platta: https://helsinkilisa-ui-pr2588.dev.hel.ninja :rocket::rocket::rocket:

TestCafe result is success for https://helsinkilisa-ui-pr2588.dev.hel.ninja :laughing::tada::tada::tada:

We need a new state probably as there is one too few. We just decided on this in todays daily. Also, the whole decision process has to be double checked on assertion that AHJO's BatchStatus.DECISION_REJECTED probably does not equal to ApplicationStatus.REJECTED (suggesting that rejected applications can have accepted ahjo decision)

We need a new state probably as there is one too few. We just decided on this in todays daily. Also, the whole decision process has to be double checked on assertion that AHJO's BatchStatus.DECISION_REJECTED probably does not equal to ApplicationStatus.REJECTED (suggesting that rejected applications can have both accepted/rejected ahjo decision).

OK, thanks. Then we should probably expand the scope of this ticket. Let's discuss next week.

HANDLER branch is deployed to platta: https://helsinkilisa-ui-handler-pr2588.dev.hel.ninja :rocket::rocket::rocket:

HANDLER branch is deployed to platta: https://helsinkilisa-ui-handler-pr2588.dev.hel.ninja :rocket::rocket::rocket:

TestCafe handler result is failed for https://helsinkilisa-ui-handler-pr2588.dev.hel.ninja :crying_cat_face::anger::boom::boom:

HANDLER branch is deployed to platta: https://helsinkilisa-ui-handler-pr2588.dev.hel.ninja :rocket::rocket::rocket:

TestCafe handler result is failed for https://helsinkilisa-ui-handler-pr2588.dev.hel.ninja :crying_cat_face::anger::boom::boom:

API branch is deployed to platta: https://helsinkilisa-pr2588.api.dev.hel.ninja/healthz :rocket::rocket::rocket:

APPLICANT branch is deployed to platta: https://helsinkilisa-ui-pr2588.dev.hel.ninja :rocket::rocket::rocket:

TestCafe result is success for https://helsinkilisa-ui-pr2588.dev.hel.ninja :laughing::tada::tada::tada:

HANDLER branch is deployed to platta: https://helsinkilisa-ui-handler-pr2588.dev.hel.ninja :rocket::rocket::rocket:

TestCafe result is success for https://helsinkilisa-ui-handler-pr2588.dev.hel.ninja :laughing::tada::tada::tada:


Fixup letsencrypt role

The letsencrypt role constantly breaks for a variety of reasons. Sometimes it's because cerbot versions change and things work differently from one OS to the other or with some legacy setups.
We should really look into cleaning up the letsencrypt pattern to work properly and debug the issues we are having with it.
This may also be related to: https://github.com/ooni/backend/issues/366.

Related: #256 #87 #90

We currently have an issue with amsmatomo.ooni.nu which is not renewing the certificate.
Here are the errors we are seeing on the host:
root@amsmatomo:/home/art# systemctl status certbot
● certbot.service - Certbot
   Loaded: loaded (/lib/systemd/system/certbot.service; static; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2020-06-24 08:59:37 UTC; 148ms ago
     Docs: file:///usr/share/doc/python-certbot-doc/html/index.html
           https://letsencrypt.readthedocs.io/en/latest/
  Process: 13036 ExecStart=/usr/bin/certbot -q renew (code=exited, status=1/FAILURE)
 Main PID: 13036 (code=exited, status=1/FAILURE)
Jun 24 08:59:36 amsmatomo.ooni.nu certbot[13036]: Attempting to renew cert (matomo.ooni.org) from /etc/letsencrypt/renewal/matomo.ooni.org.conf produced an unexpected error: Missing command line flag or config ent
Jun 24 08:59:36 amsmatomo.ooni.nu certbot[13036]: Select the webroot for amsmatomo.ooni.nu:
Jun 24 08:59:36 amsmatomo.ooni.nu certbot[13036]: Choices: ['Enter a new webroot', '/var/www/letsencrypt']
Jun 24 08:59:36 amsmatomo.ooni.nu certbot[13036]: (You can set this with the --webroot-path flag). Skipping.
Jun 24 08:59:36 amsmatomo.ooni.nu certbot[13036]: All renewal attempts failed. The following certs could not be renewed:
Jun 24 08:59:36 amsmatomo.ooni.nu certbot[13036]:   /etc/letsencrypt/live/matomo.ooni.org/fullchain.pem (failure)
Jun 24 08:59:36 amsmatomo.ooni.nu certbot[13036]: 1 renew failure(s), 0 parse failure(s)

Moreover when I drop a file inside of the letsencrypt directory /var/www/letsencrypt it doesn't appear to be reachable from http://matomo.ooni.org/.well-known/acme-challenge/foo/foo.txt.


Set GIT_INFO_SHA only when packaging

reference vesoft-inc/nebula-common#372

show hosts meta/graph/storage previously will print the git info sha, so it won't work if we don't package?

show hosts meta/graph/storage previously will print the git info sha, so it won't work if we don't package?
--version? BTW, there is another http will show the sha.

previous git sha is common commit hash, not the storage repo commit info, since the cmake target defined in common repo. And if you want to embed the git sha into storage binary locally, you can modify the cmake configure options like cmake -DGIT_INFO_SHA=$(git rev-parse --short HEAD) ... to do that.

Hold on this PR, I will check whether NEBULA_STRINGFY(GIT_INFO_SHA) is expected when not define GIT_INFO_SHA macro.

Hold on this PR, I will check whether NEBULA_STRINGFY(GIT_INFO_SHA) is expected when not define GIT_INFO_SHA macro.

👌

LGTM, we'd better add DGIT_INFO_SHA when package. Otherwise, storage and services will only print the NEBULA_BUILD_VERSION, which is set as graph SHA when packaging.


[Docs Rewrite] Meta-Issue: FAQ

This is a tracking issue for all work related to updating the FAQ section.
Tasks

[ ] Determine info that should be reflected in other pages
[ ] Review and clean up links for each entry, including highlighting key links
[ ] Add "Comparison to Other Tools" section
[ ] Any other updates listed in #2854
[ ] Come up with nice FAQ shortlinks again

Would love to work on these! Maybe I'll start with reading existing entries and

Review and clean up links for each entry, including highlighting key links

And what is it about the shortlinks?

The FAQ still needs some review and cleanup. Some specifics:

Add a new "Is Redux dead?" entry, because this is literally what people keep asking ( latest example: https://www.reddit.com/r/reactjs/comments/p9eu3t/reddit_uses_reactjs_now_weve_gone_full_recursion/ha03q0y/?context=3 )
Add a "Comparison with Other Tools" page or something that mentions Context, Apollo, Hooks, React Query, Mobx, etc, and links to articles like https://blog.isquaredsoftware.com/2021/01/context-redux-differences/ . I could see this going somewhere other than the FAQ as well.
Some of the advice in the FAQ is now out of date compared to what we recommend in the Style Guide, like "how should I organize my files?" and "where should my business logic go?". Those should be updated.
I'm guessing a number of the links are probably dead by now, and some should be replaced by newer links.


Allow swagger-ui custom parameters

Allow user to pass custom swagger configuration parameters described https://github.com/swagger-api/swagger-ui#parameters
from https://github.com/batdevis/swagger_engine/blob/master/lib/swagger_engine/engine.rb#L11
to to the https://github.com/batdevis/swagger_engine/blob/master/app/views/swagger_engine/swaggers/show.html.erb#L28

This was opened a year ago. Is it available now? Basically I'm interested how I can pass basic authentication (https://github.com/swagger-api/swagger-ui#custom-header-parameters---for-basic-auth-etc).


docker-machine create fails on windows

Hi,
I'm using the latest docker on Windows 10 Enterprise (build 14393). docker-machine version is 0.8.2, build e18a919.
When I try to create a docker machine with external virtual switching i'm getting the following error:
C:\windows\system32>docker-machine create --driver hyperv --hyperv-virtual-switch "Test" mytestmachine
Running pre-create checks...
Creating machine...
(mytestmachine) Copying C:\Users\eldak.docker\machine\cache\boot2docker.iso to C:\Users\eldak.docker\machine\machines
mytestmachine\boot2docker.iso...
(mytestmachine) Creating SSH key...
(mytestmachine) Creating VM...
(mytestmachine) Using switch "Test"
(mytestmachine) Creating VHD
(mytestmachine) Starting VM...
Error creating machine: Error in driver during machine creation: exit status 1
Any help or possible path of the more detailed log file is highly appreciated.
Thanks!

I got that issue before with not enough memory to start new machine. After you get that error, you can open Hyper-v manager to start that machine manually.

Duplicate https://github.com/docker/machine/issues/2267

Firstly I don't know alot about the docker-machine codebase yet. But maybe this can be handled at the notification layer? Maybe we just need to handle it more gracefully? Like changing the message to something more friendly i.e. "Can't allocate memory" ?


global: beginning of new generation

Signed-off-by: Jiri Kuncar<EMAIL_ADDRESS>

NOTE to myself:

[ ] add SQLite to Travis CI matrix

@nharraud please can you have a look now?


Pressing tab is causing the auto complete to automatically show suggestions

So sometimes when I'm indenting something the simple fact of pressing tab in the blank causes suggestions to popup which can be quite annoying...
Would be nice to be able to disable this behavior. My cmp triggers automatically when I start typing something, so that would be the intended behavior for me

This is configurable in your cmp config. Unlike other completion sources, copilot can use other lines above or below an empty line to provide a completion. I don't like the tab behavior either though, so I wrote this into my config so that the menu still appears, but tab does not select it unless a character other than whitespace has actually been typed. I'll put this in the readme, I thought I had but this post made me realize I hadn't and should really put it there.
local has_words_before = function()
  if vim.api.nvim_buf_get_option(0, "buftype") == "prompt" then return false end
  local line, col = unpack(vim.api.nvim_win_get_cursor(0))
  return col ~= 0 and vim.api.nvim_buf_get_text(0, line-1, 0, line-1, col, {})[1]:match("^%s*$") == nil
end
cmp.setup({
  mapping = {
    ["<Tab>"] = vim.schedule_wrap(function(fallback)
      if cmp.visible() and has_words_before() then
        cmp.select_next_item({ behavior = cmp.SelectBehavior.Select })
      else
        fallback()
      end
    end),
  },
})

This didn't work for me... I'm having the same behavior

This didn't work for me... I'm having the same behavior

Are you entering the menu when you try to tab or it is just showing up?

It opens the popup for the auto complete. Then I press Esc for it to close. It doesn't matter if I select an option or not. It will go alway only if I select an option or press Esc to close it.

Is this still a problem? I haven't had any issues with it or been able to reproduce it after using the above snippet.

Unfortunately yes. The snippet didn't work for me.

Unfortunately yes. The snippet didn't work for me.

Can you supply your full cmp config?

https://github.com/augustocdias/dotfiles/blob/main/.config/nvim/lua/setup/cmp.lua

Unfortunately yes. The snippet didn't work for me.

The commented code with has_words_before didn't match mine. It needs to be in the outermost if statement. Something like:
if has_words_before()
if visible()
elseif jumpable()
end
else
fallback()
end
I'm on mobile so that's not perfect but you should get the idea.

I'll be back to work next week and I'll try it. Thanks

I'm trying but I'm not managing to see copilot suggestions anymore :(
and I have no idea why...
here's how I set it up:
               use( {
                    'zbirenbaum/copilot-cmp',
                    module = 'copilot_cmp',
                    requires = { 'zbirenbaum/copilot.lua' },
                })

and then on my cmp config:
        require('copilot').setup({
            filetypes = {
                markdown = false,
            },
        })
        require('copilot_cmp').setup()

I'm trying but I'm not managing to see copilot suggestions anymore :(
and I have no idea why...
here's how I set it up:

               use( {

                    'zbirenbaum/copilot-cmp',

                    module = 'copilot_cmp',

                    requires = { 'zbirenbaum/copilot.lua' },

                })

and then on my cmp config:

        require('copilot').setup({

            filetypes = {

                markdown = false,

            },

        })

        require('copilot_cmp').setup()

Can you check your node version? If it's anything above 16 then that's why.

You're right. And everything is working as expected now. Thanks


Scroll-Issue → in x-direction with resizedetector

When I wanted to check for https://github.com/namespace-ee/react-calendar-timeline/issues/39 I came along a scroll issue when I activate the resizedetector introduced with https://github.com/namespace-ee/react-calendar-timeline/pull/94:
Code Example → try to scroll sideways

The resizedetector caused since the introduction some issues (https://github.com/namespace-ee/react-calendar-timeline/issues/109) but I think it's good to work on it and make it smooth. Other people could really use it once its bullet proof.

Hey! This was because when the height of the timeline changed due to stacking updates, it triggered a resize and got stuck. I changed it and now only changes in width are registered. Fixed with PR #124


Cannot load cora-ml with 15% and 20% perturbation rate

Hi,
I found we cannot load cora-ml datasets with 15% and 20% perturbation rate when I am trying to run test_sgc.py. The problem is that we cannot find cora_ml_meta_adj_0.15.npz and cora_ml_meta_adj_0.2.np in the github repo Pro-GNN. As you are from the same research group, I just open an issue here. Hope these two perturbed graphs can be uploaded there. Then the problem will be resolved and it will make the example more complete. Thanks in advance.

Hi,
Thanks for the comment. I redid the attacks (0.5, 0.1, 0.15, 0.2, 0.25 perturbation rates) and uploaded the data to Pro-GNN. Note that the graphs under 0.05/0.1/0.25 perturbation rates are also different from previous ones.

Great! Thank you Wei Jin.
Regards,
Juncheng
On 27 Mar 2021, 6:46 AM +0800, Wei Jin @.***>, wrote:

Hi,
Thanks for the comment. I redid the attacks (0.5, 0.1, 0.15, 0.2, 0.25 perturbation rates) and uploaded the data to Pro-GNN. Note that the graphs under 0.05/0.1/0.25 perturbation rates are also different from previous ones.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi,
Thanks for the comment. I redid the attacks (0.5, 0.1, 0.15, 0.2, 0.25 perturbation rates) and uploaded the data to Pro-GNN. Note that the graphs under 0.05/0.1/0.25 perturbation rates are also different from previous ones.
Hi Wei Jin,

I use SGC and GCN on the dataset with 0.25 perturbation rate. The test accuracies are both larger than 60%. On the dataset with 0.2 and 0.15 perturbation rates, the accuracies are usually less than 60%. I think it's quite strange. Could you check it? Maybe there're some mistakes?

Please remove the original files of the perturbed graphs. For example, if you stored them in "/tmp", you should remove /tmp/cora_ml_meta_adj_0.25.npz or rm /tmp/cora_ml_meta_*.

Please remove the original files of the perturbed graphs. For example, if you stored them in "/tmp", you should remove /tmp/cora_ml_meta_adj_0.25.npz or rm /tmp/cora_ml_meta_*.

Thanks. Now all look good!


Reading performance

This looks like a great project that I would very readily use in my own codes (I work with a lot of Fortran codes and Fortran outputs).
The one thing that stops me from using the FortranRecordReader/Writer classes here in most of my own projects is that they're simply too slow for the size files that I'm trying to parse. As an example, in one of my projects I have a very simplistic parser that supports a tiny subset of permissible formats (but currently covers all of my use cases for that project). [https://github.com/swails/ParmEd/blob/master/chemistry/amber/amberformat.py#L22-L168 if you're interested]
Replacing my primitive code with the classes here results in a 5x-6x slowdown (file reading goes from 4 seconds to 17 seconds on a medium-sized example file). I understand the challenges in making codes both flexible and fast. I filed this issue in case you wanted to hear feedback like this. Feel free to close this issue as wontfix or invalid if either time constraints or project scope preclude working on performance enhancements.

The way they are implemented is a port of the GFortran code which is really complex and 'bit pushy' C-code. I could make this a lot simpler once I have a good test suite in place.

Works started at https://github.com/brendanarnold/py-fortranformat/tree/issues/9-performance


[formrecognizer] Regenerate with latest swagger

WIP

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-ai-formrecognizer


PermissionError: [WinError 32]

My OS is windows 10.
I tried to run the train.py with 'python train.py --desc std-cifar10' but I got an error:
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: .....
Apparently, the error is related to shutil.rmtree(LOG_DIR). But I can't solve it.

My OS is windows 10. I tried to run the train.py with 'python train.py --desc std-cifar10' but I got an error: PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: ..... Apparently, the error is related to shutil.rmtree(LOG_DIR). But I can't solve it.

I also encountered this problem. Have you solved it now?


How works your library and how can i use it?

Hi!,
I try to use your library but i don´t know how start it. Please help

Please help

Please help

Hello Carlos, please excuse the late reply I just came back to this project a few days ago. As stated in the readme the library is still in early development. But now we are able to e2e decode IO-Link process and parameter data. Feel free to checkout the /samples I have provided so far.


[Clarification] Terrain Tracking

Hello, I found your compatibility here: https://github.com/manuelVo/foundryvtt-drag-ruler/issues/340 and I was wanting to know if it has compatibility with the Difficult Terrain feature that Drag Ruler had when using Enhanced Terrain Layer. If not, that's ok, I still plan to use your module because I missed Drag Ruler so much with V12 Foundry, but the difficult terrain tracking would also be really nice!

Hey! As far as I can see, there is no foundry v12 version of Enhanced Terrain Layer (EHT) and this module here is explicitly for v12+ (since that's when the original pf2e drag ruler stopped working).
Currently, I don't support EHT for this reason - but if it's possible to use EHT with Foundry 12+, then I'll be happy to add support for it, because that's something that would be cool for my own games as well.


problem in playing the game

when i click tutorial or play game the screen closes giving exit code 0.
and gives this error message:
java.lang.NullPointerException
at org.destinationsol.assets.audio.OggMusicManager.playMusic(OggMusicManager.java:99)
at org.destinationsol.SolApplication.play(SolApplication.java:228)
at org.destinationsol.menu.NewShipScreen.updateCustom(NewShipScreen.java:82)
at org.destinationsol.ui.SolInputManager.update(SolInputManager.java:220)
at org.destinationsol.SolApplication.update(SolApplication.java:175)
at org.destinationsol.SolApplication.safeUpdate(SolApplication.java:153)
at org.destinationsol.SolApplication.render(SolApplication.java:132)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:215)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:120)

i am getting this message when i am typing command gradlew idea:
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.2/userguide/command_line_interface.html#sec:command_line_warnings

Hey, in future please place log ouputs into hastebin.com or pastebin.com and link them instead, like how I edited your comment, because they are really long.
As for the error, the errors about the gradle features being deprecated are benign and hence can be ignored.
As for the main error, did you delete your copy of the game and then re-clone? Because the errors being thrown seem to indicate that there is some mismatch and you are not on the latest version for all of the code.

yes. can you tell me how to fix it

You just need to reclone the workspace. Check this tutorial for more info.

i recloned the workspace as per the tutorial but still facing the same problem

Hey sohil.
So, I just checked your account, and your develop and codein branches are waaaaay behind the current develop. You'll either have to delete your fork, and fork DS again - or you'll have to reset your develop to the latest upstream/develop. It would be way easier if you hopped onto IRC or Discord, and asked someone for help in reseting your develop to the latest version.

I've run into this issue as well. The default music is never loaded if there is no music config file present in the module. To fix this temporarily, you can change the code in OggMusicManager.java from this:
https://github.com/MovingBlocks/DestinationSol/blob/c8879dfeaccbfd2dbb3d35af2c3e92265ddae106/engine/src/main/java/org/destinationsol/assets/audio/OggMusicManager.java#L161-L166
to this:
 try {
     musicJson = Assets.getJson(moduleName + ":musicConfig");
 } catch (RuntimeException e) {
     logger.warn("Music config not found for module " + moduleName + ":musicConfig");
     break;
}

(Change the return statement to a break one)
That fixed the issue for me. I have experienced it on a clean git clone as well (develop latest commit https://github.com/MovingBlocks/DestinationSol/commit/c8879dfeaccbfd2dbb3d35af2c3e92265ddae106), so it is a genuine issue.
This should be fixed when #374 is merged, although I have not tested it myself.

i deleted my fork and set up a new workspace and i am facing the same problem in the latest workspace

when i am playing the game my ship does not appear but it moves
how to solve this problem(only my modules ship)

how to make a pull request for json schemas

@sohil1234 I'm closing this because the original problem has been solved. Additionally for questions like that you are better off visiting our Discord (which you did)

@sohil1234 I'm closing this because the original problem has been solved. Additionally for questions like that you are better off visiting our Discord (which you did)


build: add emacs undo tree to .gitignore

Add undo tree to gitignore
Signed-off-by: Ray Kinsella<EMAIL_ADDRESS>

Disappointed in you, Ray! #editorwars

old skool!


Need ui fix

Hi developer,
first of all thanks for ui .... Wonderful work you done .. love it
Small suggestion... Need a small button to regenerate images... Hope you solve in next build ....
Thank you very much

Hi there!
Thank you for your kind words. I'm glad you like the UI. I'll add it to the next build.

Hi there!
Thank you for your kind words. I'm glad you like the UI.
I'll add it to the next build.
Thanks for reply
Hey another small request....
Is it possible to add bunch facility....at Time 3-4 images,
Thank you

Thanks for reply Hey another small request.... Is it possible to add bunch facility....at Time 3-4 images, Thank you

Thanks for your suggestion . We are working on it


Delay SVD of the transformation matrix in TauSampling and MatsubaraSampling

The SVD can be done when the fit is called first time.

I implemented this in the lazy-svd branch but had to make the *Sampling types mutable, so I'm a little hesitant to merge into main. If it degrades performance, maybe the current solution (specifying factorize = false via kwarg in the *Sampling constructors) is preferable. What do you think?

maybe the current solution (specifying factorize = false via kwarg in the *Sampling constructors) is preferable.
Sorry, I was not aware of this change!
OK, let us stick to your solution.

BTW, we should add some description on this point in the "sparse-ir-tutorial" since this is crucial when evaluating an object on a large number of frequencies and tau points.


MAINT: optimize.differential_evolution: clarify that bounds must be finite

Reference issue
closes gh-18953
What does this implement/fix?
When differential evolution is passed infinite bounds, the error message did not mention that the bounds need to be finite. This PR resolves the issue by adding the word "finite" to the error message.
Additional information
The requirement for bounds to be finite is already present in the documentation.

Lgtm, merge when green.


⚠ ClamAV has degraded performance

In 6dc5b52, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 70 ms

Resolved: ClamAV performance has improved in ecde1a6.


Use ID::{A,B,Y,keep,blackbox,whitebox} instead of ID()

Thought I'd try using the existing globals too.
Note I've aliased the RTLIL::ID namespace as the ID namespace:
https://github.com/YosysHQ/yosys/blob/453a9429b67551f94f8c714c24f12929e472052c/kernel/yosys.h#L228
Not sure what's possible with dollar-identifiers (e.g. $and) globals, though...

Grrr seems like this line doesn't go down well with gcc-4.8: https://github.com/YosysHQ/yosys/blob/453a9429b67551f94f8c714c24f12929e472052c/kernel/yosys.h#L228

Just remove "using namespace RTLIL;" from wreduce.cc and use RTLIL::Sx instead of Sx and RTLIL::S0 instead of S0. This is anyway how it is used on all other parts of code. Tested and this works on gcc-4.8 and others as well

Thanks @mmicko! I never noticed that there was a stray using namespace RTLIL; inside wreduce.cc and thought it affected other files too!