Detox is unable to launch the app on the simulator and failed with timeout error

Description
Seeing thsi issue on MacOS Catalina. detox unable to launch the app on the Simulator.
Works fine on Macos HighSierra.
-->

Detox: 14.3.1
react-native-cli: 2.0.1
react-native: 0.60.5
Node:v12.16.2
Device: simulator iPhone X 12.2
Xcode: 11.1
macOS: Cartalina

Device and verbose Detox logs
02HW045446:e2e-react-native-detox binay$ detox test --debug-synchronization 200
detox[18076] INFO:  [test.js] configuration="ios.sim.release" debugSynchronization=200 artifactsLocation="artifacts/ios.sim.release.2020-04-29 22-47-07Z" recordLogs="none" takeScreenshots="manual" recordVideos="none" recordPerformance="none" reportSpecs=true node_modules/.bin/jest --config=e2e/config.json --maxWorkers=1 '--testNamePattern=^((?!:android:).)*$' "e2e"
detox[18077] INFO:  [DetoxServer.js] server listening on localhost:57623...
my-test.test.js assigned to undefined
Example: should show "Step One" at the begging
Example: should show "Step One" at the begging [FAIL]
Example: should render "See Your Changes" in the second slide
Example: should render "See Your Changes" in the second slide [FAIL]
Example: should enable swiping back and forth
Example: should enable swiping back and forth [FAIL]
Example: should render "Debug" and have a Button to click in the third slide
Example: should render "Debug" and have a Button to click in the third slide [FAIL]
Example: should render "Learn More" and change text in the fourth slide
Example: should render "Learn More" and change text in the fourth slide [FAIL]
FAIL  e2e/my-test.test.js (301.035s)
Example
✕ should show "Step One" at the begging (4ms)
✕ should render "See Your Changes" in the second slide (1ms)
✕ should enable swiping back and forth (2ms)
✕ should render "Debug" and have a Button to click in the third slide (1ms)
✕ should render "Learn More" and change text in the fourth slide (1ms)
● Example › should show "Step One" at the begging
Timeout - Async callback was not invoked within the 300000ms timeout specified by jest.setTimeout.Error: Timeout - Async callback was not invoked within the 300000ms timeout specified by jest.setTimeout.

  at mapper (../node_modules/jest-jasmine2/build/queueRunner.js:25:45)

● Example › should show "Step One" at the begging
ReferenceError: device is not defined

  3 | describe('Example', () => {
  4 |   beforeEach(async () => {
> 5 |     await device.disableSynchronization();
    |           ^
  6 |     await device.setURLBlacklist(['.*<IP_ADDRESS>.*']);
  7 |     //await device.reloadReactNative();
  8 |   });

  at _callee$ (my-test.test.js:5:11)
  at tryCatch (../node_modules/regenerator-runtime/runtime.js:45:40)
  at Generator.invoke [as _invoke] (../node_modules/regenerator-runtime/runtime.js:274:22)
  at Generator.prototype.<computed> [as next] (../node_modules/regenerator-runtime/runtime.js:97:21)
  at tryCatch (../node_modules/regenerator-runtime/runtime.js:45:40)
  at invoke (../node_modules/regenerator-runtime/runtime.js:135:20)
  at ../node_modules/regenerator-runtime/runtime.js:170:11
  at callInvokeWithMethodAndArg (../node_modules/regenerator-runtime/runtime.js:169:16)
  at AsyncIterator.enqueue (../node_modules/regenerator-runtime/runtime.js:192:13)
  at AsyncIterator.prototype.<computed> [as next] (../node_modules/regenerator-runtime/runtime.js:97:21)
  at Object.<anonymous>.exports.async (../node_modules/regenerator-runtime/runtime.js:219:14)
  at Object._callee (my-test.test.js:4:14)

● Example › should show "Step One" at the begging
ReferenceError: element is not defined

   8 |   });
   9 |
> 10 |   it('should show "Step One" at the begging', async () => {
     |                                               ^
  11 |     await expect(element(by.text('Step One'))).toBeVisible();
  12 |   });
  13 |

  at _callee2$ (my-test.test.js:10:47)
  at tryCatch (../node_modules/regenerator-runtime/runtime.js:45:40)
  at Generator.invoke [as _invoke] (../node_modules/regenerator-runtime/runtime.js:274:22)
  at Generator.prototype.<computed> [as next] (../node_modules/regenerator-runtime/runtime.js:97:21)
  at tryCatch (../node_modules/regenerator-runtime/runtime.js:45:40)
  at invoke (../node_modules/regenerator-runtime/runtime.js:135:20)
  at ../node_modules/regenerator-runtime/runtime.js:170:11
  at callInvokeWithMethodAndArg (../node_modules/regenerator-runtime/runtime.js:169:16)
  at AsyncIterator.enqueue (../node_modules/regenerator-runtime/runtime.js:192:13)
  at AsyncIterator.prototype.<computed> [as next] (../node_modules/regenerator-runtime/runtime.js:97:21)
  at Object.<anonymous>.exports.async (../node_modules/regenerator-runtime/runtime.js:219:14)
  at Object._callee2 (my-test.test.js:10:47)

● Example › should render "See Your Changes" in the second slide
Timeout - Async callback was not invoked within the 300000ms timeout specified by jest.setTimeout.Error: Timeout - Async callback was not invoked within the 300000ms timeout specified by jest.setTimeout.

  at mapper (../node_modules/jest-jasmine2/build/queueRunner.js:25:45)

● Example › should render "See Your Changes" in the second slide
ReferenceError: device is not defined

  3 | describe('Example', () => {
  4 |   beforeEach(async () => {
> 5 |     await device.disableSynchronization();
    |           ^
  6 |     await device.setURLBlacklist(['.*<IP_ADDRESS>.*']);
  7 |     //await device.reloadReactNative();
  8 |   });

  at _callee$ (my-test.test.js:5:11)
  at tryCatch (../node_modules/regenerator-runtime/runtime.js:45:40)
  at Generator.invoke [as _invoke] (../node_modules/regenerator-runtime/runtime.js:274:22)
  at Generator.prototype.<computed> [as next] (../node_modules/regenerator-runtime/runtime.js:97:21)
  at tryCatch (../node_modules/regenerator-runtime/runtime.js:45:40)
  at invoke (../node_modules/regenerator-runtime/runtime.js:135:20)
  at ../node_modules/regenerator-runtime/runtime.js:170:11
  at callInvokeWithMethodAndArg (../node_modules/regenerator-runtime/runtime.js:169:16)
  at AsyncIterator.enqueue (../node_modules/regenerator-runtime/runtime.js:192:13)
  at AsyncIterator.prototype.<computed> [as next] (../node_modules/regenerator-runtime/runtime.js:97:21)
  at Object.<anonymous>.exports.async (../node_modules/regenerator-runtime/runtime.js:219:14)
  at Object._callee (my-test.test.js:4:14)

● Example › should render "See Your Changes" in the second slide
ReferenceError: element is not defined

  12 |   });
  13 |
> 14 |   it('should render "See Your Changes" in the second slide', async () => {
     |                                                              ^
  15 |     await element(by.id('slides')).swipe('left');
  16 |     await expect(element(by.text('See Your Changes'))).toBeVisible();
  17 |   });

  at _callee3$ (my-test.test.js:14:62)
  at tryCatch (../node_modules/regenerator-runtime/runtime.js:45:40)
  at Generator.invoke [as _invoke] (../node_modules/regenerator-runtime/runtime.js:274:22)
  at Generator.prototype.<computed> [as next] (../node_modules/regenerator-runtime/runtime.js:97:21)
  at tryCatch (../node_modules/regenerator-runtime/runtime.js:45:40)
  at invoke (../node_modules/regenerator-runtime/runtime.js:135:20)
  at ../node_modules/regenerator-runtime/runtime.js:170:11
  at callInvokeWithMethodAndArg (../node_modules/regenerator-runtime/runtime.js:169:16)
  at AsyncIterator.enqueue (../node_modules/regenerator-runtime/runtime.js:192:13)
  at AsyncIterator.prototype.<computed> [as next] (../node_modules/regenerator-runtime/runtime.js:97:21)
  at Object.<anonymous>.exports.async (../node_modules/regenerator-runtime/runtime.js:219:14)
  at Object._callee3 (my-test.test.js:14:62)

● Example › should enable swiping back and forth
Timeout - Async callback was not invoked within the 300000ms timeout specified by jest.setTimeout.Error: Timeout - Async callback was not invoked within the 300000ms timeout specified by jest.setTimeout.

  at mapper (../node_modules/jest-jasmine2/build/queueRunner.js:25:45)

● Example › should enable swiping back and forth
ReferenceError: device is not defined

  3 | describe('Example', () => {
  4 |   beforeEach(async () => {
> 5 |     await device.disableSynchronization();
    |           ^
  6 |     await device.setURLBlacklist(['.*<IP_ADDRESS>.*']);
  7 |     //await device.reloadReactNative();
  8 |   });

  at _callee$ (my-test.test.js:5:11)
  at tryCatch (../node_modules/regenerator-runtime/runtime.js:45:40)
  at Generator.invoke [as _invoke] (../node_modules/regenerator-runtime/runtime.js:274:22)
  at Generator.prototype.<computed> [as next] (../node_modules/regenerator-runtime/runtime.js:97:21)
  at tryCatch (../node_modules/regenerator-runtime/runtime.js:45:40)
  at invoke (../node_modules/regenerator-runtime/runtime.js:135:20)
  at ../node_modules/regenerator-runtime/runtime.js:170:11
  at callInvokeWithMethodAndArg (../node_modules/regenerator-runtime/runtime.js:169:16)
  at AsyncIterator.enqueue (../node_modules/regenerator-runtime/runtime.js:192:13)
  at AsyncIterator.prototype.<computed> [as next] (../node_modules/regenerator-runtime/runtime.js:97:21)
  at Object.<anonymous>.exports.async (../node_modules/regenerator-runtime/runtime.js:219:14)
  at Object._callee (my-test.test.js:4:14)

● Example › should enable swiping back and forth
ReferenceError: element is not defined

  17 |   });
  18 |
> 19 |   it('should enable swiping back and forth', async () => {
     |                                              ^
  20 |     await expect(element(by.text('Step One'))).toBeVisible();
  21 |     await element(by.id('slides')).swipe('left');
  22 |     await element(by.id('slides')).swipe('right');

  at _callee4$ (my-test.test.js:19:46)
  at tryCatch (../node_modules/regenerator-runtime/runtime.js:45:40)
  at Generator.invoke [as _invoke] (../node_modules/regenerator-runtime/runtime.js:274:22)
  at Generator.prototype.<computed> [as next] (../node_modules/regenerator-runtime/runtime.js:97:21)
  at tryCatch (../node_modules/regenerator-runtime/runtime.js:45:40)
  at invoke (../node_modules/regenerator-runtime/runtime.js:135:20)
  at ../node_modules/regenerator-runtime/runtime.js:170:11
  at callInvokeWithMethodAndArg (../node_modules/regenerator-runtime/runtime.js:169:16)
  at AsyncIterator.enqueue (../node_modules/regenerator-runtime/runtime.js:192:13)
  at AsyncIterator.prototype.<computed> [as next] (../node_modules/regenerator-runtime/runtime.js:97:21)
  at Object.<anonymous>.exports.async (../node_modules/regenerator-runtime/runtime.js:219:14)
  at Object._callee4 (my-test.test.js:19:46)

● Example › should render "Debug" and have a Button to click in the third slide
Timeout - Async callback was not invoked within the 300000ms timeout specified by jest.setTimeout.Error: Timeout - Async callback was not invoked within the 300000ms timeout specified by jest.setTimeout.

  at mapper (../node_modules/jest-jasmine2/build/queueRunner.js:25:45)

● Example › should render "Debug" and have a Button to click in the third slide
ReferenceError: device is not defined

  3 | describe('Example', () => {
  4 |   beforeEach(async () => {
> 5 |     await device.disableSynchronization();
    |           ^
  6 |     await device.setURLBlacklist(['.*<IP_ADDRESS>.*']);
  7 |     //await device.reloadReactNative();
  8 |   });

  at _callee$ (my-test.test.js:5:11)
  at tryCatch (../node_modules/regenerator-runtime/runtime.js:45:40)
  at Generator.invoke [as _invoke] (../node_modules/regenerator-runtime/runtime.js:274:22)
  at Generator.prototype.<computed> [as next] (../node_modules/regenerator-runtime/runtime.js:97:21)
  at tryCatch (../node_modules/regenerator-runtime/runtime.js:45:40)
  at invoke (../node_modules/regenerator-runtime/runtime.js:135:20)
  at ../node_modules/regenerator-runtime/runtime.js:170:11
  at callInvokeWithMethodAndArg (../node_modules/regenerator-runtime/runtime.js:169:16)
  at AsyncIterator.enqueue (../node_modules/regenerator-runtime/runtime.js:192:13)
  at AsyncIterator.prototype.<computed> [as next] (../node_modules/regenerator-runtime/runtime.js:97:21)
  at Object.<anonymous>.exports.async (../node_modules/regenerator-runtime/runtime.js:219:14)
  at Object._callee (my-test.test.js:4:14)

● Example › should render "Debug" and have a Button to click in the third slide
ReferenceError: element is not defined

  24 |   });
  25 |
> 26 |   it('should render "Debug" and have a Button to click in the third slide', async () => {
     |                                                                             ^
  27 |     await element(by.id('slides')).swipe('left');
  28 |     await element(by.id('slides')).swipe('left');
  29 |     await expect(element(by.text('Debug'))).toBeVisible();

  at _callee5$ (my-test.test.js:26:77)
  at tryCatch (../node_modules/regenerator-runtime/runtime.js:45:40)
  at Generator.invoke [as _invoke] (../node_modules/regenerator-runtime/runtime.js:274:22)
  at Generator.prototype.<computed> [as next] (../node_modules/regenerator-runtime/runtime.js:97:21)
  at tryCatch (../node_modules/regenerator-runtime/runtime.js:45:40)
  at invoke (../node_modules/regenerator-runtime/runtime.js:135:20)
  at ../node_modules/regenerator-runtime/runtime.js:170:11
  at callInvokeWithMethodAndArg (../node_modules/regenerator-runtime/runtime.js:169:16)
  at AsyncIterator.enqueue (../node_modules/regenerator-runtime/runtime.js:192:13)
  at AsyncIterator.prototype.<computed> [as next] (../node_modules/regenerator-runtime/runtime.js:97:21)
  at Object.<anonymous>.exports.async (../node_modules/regenerator-runtime/runtime.js:219:14)
  at Object._callee5 (my-test.test.js:26:77)

● Example › should render "Learn More" and change text in the fourth slide
Timeout - Async callback was not invoked within the 300000ms timeout specified by jest.setTimeout.Error: Timeout - Async callback was not invoked within the 300000ms timeout specified by jest.setTimeout.

  at mapper (../node_modules/jest-jasmine2/build/queueRunner.js:25:45)

● Example › should render "Learn More" and change text in the fourth slide
ReferenceError: device is not defined

  3 | describe('Example', () => {
  4 |   beforeEach(async () => {
> 5 |     await device.disableSynchronization();
    |           ^
  6 |     await device.setURLBlacklist(['.*<IP_ADDRESS>.*']);
  7 |     //await device.reloadReactNative();
  8 |   });

  at _callee$ (my-test.test.js:5:11)
  at tryCatch (../node_modules/regenerator-runtime/runtime.js:45:40)
  at Generator.invoke [as _invoke] (../node_modules/regenerator-runtime/runtime.js:274:22)
  at Generator.prototype.<computed> [as next] (../node_modules/regenerator-runtime/runtime.js:97:21)
  at tryCatch (../node_modules/regenerator-runtime/runtime.js:45:40)
  at invoke (../node_modules/regenerator-runtime/runtime.js:135:20)
  at ../node_modules/regenerator-runtime/runtime.js:170:11
  at callInvokeWithMethodAndArg (../node_modules/regenerator-runtime/runtime.js:169:16)
  at AsyncIterator.enqueue (../node_modules/regenerator-runtime/runtime.js:192:13)
  at AsyncIterator.prototype.<computed> [as next] (../node_modules/regenerator-runtime/runtime.js:97:21)
  at Object.<anonymous>.exports.async (../node_modules/regenerator-runtime/runtime.js:219:14)
  at Object._callee (my-test.test.js:4:14)

● Example › should render "Learn More" and change text in the fourth slide
ReferenceError: element is not defined

  33 |   });
  34 |
> 35 |   it('should render "Learn More" and change text in the fourth slide', async () => {
     |                                                                        ^
  36 |     await element(by.id('slides')).swipe('left');
  37 |     await element(by.id('slides')).swipe('left');
  38 |     await element(by.id('slides')).swipe('left');

  at _callee6$ (my-test.test.js:35:72)
  at tryCatch (../node_modules/regenerator-runtime/runtime.js:45:40)
  at Generator.invoke [as _invoke] (../node_modules/regenerator-runtime/runtime.js:274:22)
  at Generator.prototype.<computed> [as next] (../node_modules/regenerator-runtime/runtime.js:97:21)
  at tryCatch (../node_modules/regenerator-runtime/runtime.js:45:40)
  at invoke (../node_modules/regenerator-runtime/runtime.js:135:20)
  at ../node_modules/regenerator-runtime/runtime.js:170:11
  at callInvokeWithMethodAndArg (../node_modules/regenerator-runtime/runtime.js:169:16)
  at AsyncIterator.enqueue (../node_modules/regenerator-runtime/runtime.js:192:13)
  at AsyncIterator.prototype.<computed> [as next] (../node_modules/regenerator-runtime/runtime.js:97:21)
  at Object.<anonymous>.exports.async (../node_modules/regenerator-runtime/runtime.js:219:14)
  at Object._callee6 (my-test.test.js:35:72)

Jest did not exit one second after the test run has completed.
This usually means that there are asynchronous operations that weren't stopped in your tests. Consider running Jest with --detectOpenHandles to troubleshoot this issue.

Try upgrading applesimutils. Also, please open issues with the designated issue templates.

Thanks LeoNatan. Sure going forward will keep that in mind while opening issues.
I have the latest applesimutils version 0.7.7 installed.
Could you please help me with the below issue?below is the part of code from Detoxserver.js file,
class DetoxServer {
constructor({ port, log, standalone = false }) {
this.wss = new WebSocketServer({ port });
this.sessions = {};
this.standalone = standalone;
this.log = log.child({ __filename });
this.log.info(server listening on localhost:${this.wss.options.port}...);
this._setup();
}
_setup() {
this.wss.on('connection', (ws) => {
let sessionId;
let role;
ws.on('message', (str) => {
try {
const action = JSON.parse(str);
if (!action.type) {
return;
}
So my issue here is the _setup() function called when you execute the command detox test but it never entered inside the loop  this.wss.on('connection', (ws) => {} for which the applesimutils.js does not start and also the the Login with the tester never happen.
Appreciate your help.

Please open a new issue with your finding. I am not familiar with this part of the code.


Can't modify frozen autoload_paths in development environment

Steps to reproduce

Add gem "view_component" to Gemfile
Add require "view_component/engine" to config/application.rb
Run bin/rails generate component Example title content

Expected behavior

The generator creates all files/templates for the new new ViewComponent

Actual behavior

The generator crashes with the following errror:

`<<': can't modify frozen #<Class:#Array:0x00007ff3e041bcf8> (FrozenError
/home/manuel/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/change_observer.rb:10:in `<<': can't modify frozen #<Class:#<Array:0x00007ff3e041bcf8>> (FrozenError)
	from /home/manuel/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/change_observer.rb:10:in `<<'
	from /home/manuel/.rvm/gems/ruby-2.5.1/gems/view_component-2.7.0/lib/view_component/engine.rb:29:in `block in <class:Engine>'
	from /home/manuel/.rvm/gems/ruby-2.5.1/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:32:in `instance_exec'
	from /home/manuel/.rvm/gems/ruby-2.5.1/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:32:in `run'
	from /home/manuel/.rvm/gems/ruby-2.5.1/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:61:in `block in run_initializers'
	from /home/manuel/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/tsort.rb:228:in `block in tsort_each'
	from /home/manuel/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
	from /home/manuel/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/tsort.rb:431:in `each_strongly_connected_component_from'
	from /home/manuel/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/tsort.rb:349:in `block in each_strongly_connected_component'
	from /home/manuel/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/tsort.rb:347:in `each'
	from /home/manuel/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/tsort.rb:347:in `call'
	from /home/manuel/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/tsort.rb:347:in `each_strongly_connected_component'
	from /home/manuel/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/tsort.rb:226:in `tsort_each'
	from /home/manuel/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/tsort.rb:205:in `tsort_each'
	from /home/manuel/.rvm/gems/ruby-2.5.1/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:60:in `run_initializers'
	from /home/manuel/.rvm/gems/ruby-2.5.1/gems/railties-<IP_ADDRESS>/lib/rails/application.rb:363:in `initialize!'
	from /home/manuel/kodo/main-street/mainstreet/config/environment.rb:5:in `<top (required)>'
	from /home/manuel/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
	from /home/manuel/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
	from /home/manuel/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	from /home/manuel/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
	from /home/manuel/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
	from /home/manuel/.rvm/gems/ruby-2.5.1/gems/zeitwerk-2.2.2/lib/zeitwerk/kernel.rb:23:in `require'
	from /home/manuel/.rvm/gems/ruby-2.5.1/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:325:in `block in require'
	from /home/manuel/.rvm/gems/ruby-2.5.1/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:291:in `load_dependency'
	from /home/manuel/.rvm/gems/ruby-2.5.1/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:325:in `require'
	from /home/manuel/.rvm/gems/ruby-2.5.1/gems/spring-2.1.0/lib/spring/application.rb:106:in `preload'
	from /home/manuel/.rvm/gems/ruby-2.5.1/gems/spring-2.1.0/lib/spring/application.rb:157:in `serve'
	from /home/manuel/.rvm/gems/ruby-2.5.1/gems/spring-2.1.0/lib/spring/application.rb:145:in `block in run'
	from /home/manuel/.rvm/gems/ruby-2.5.1/gems/spring-2.1.0/lib/spring/application.rb:139:in `loop'
	from /home/manuel/.rvm/gems/ruby-2.5.1/gems/spring-2.1.0/lib/spring/application.rb:139:in `run'
	from /home/manuel/.rvm/gems/ruby-2.5.1/gems/spring-2.1.0/lib/spring/application/boot.rb:19:in `<top (required)>'
	from /home/manuel/.rvm/rubies/ruby-2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	from /home/manuel/.rvm/rubies/ruby-2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	from -e:1:in `<main>'

System configuration
Rails version: Rails <IP_ADDRESS>
Ruby version: ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
Gem version: view_component-2.7.0
   # config/application.rb
   require 'rails/all'
   require "view_component/engine"
   module MyApp
    class Application < Rails::Application
      ...
      config.load_defaults "6.0"
      ...
    end
  end

@ortegacmanuel thank you for the report and for the proposed fix! Would you be willing to provide a demo Rails application with this issue?
@vinistock @juanmanuelramallo as creators of the generator and previews (where this exception is being raised: lib/view_component/engine.rb:29), do you have any thoughts on the best resolution here?
As an aside, I'm wondering if this exception involving bootsnap is a sign that we should start testing for bootsnap compatibility in our test suite. Perhaps that's something you could look into @ortegacmanuel? Having our suite fail on an error like this would be ideal.

It might be related to:

https://guides.rubyonrails.org/autoloading_and_reloading_constants.html#autoload-paths
We are mutating it directly https://github.com/github/view_component/blob/master/lib/view_component/engine.rb#L29

I think it's worth trying out what @juanmanuelramallo pointed out. We should always prefer the public API anyways and it might be the underlying issue.

This is still an issue, because you are still mutating the ActiveSupport::Dependencies.autoload_paths array.
https://github.com/ViewComponent/view_component/blob/e85b23b1d5b4c486aa0412f0db7f9b0e8003cf71/lib/view_component/engine.rb#L83-L84
This happens only if paths_to_add.any?, which only happens if other paths than the default test/components/previews are used (ie. spec/components/previews) or if you add component previews from an Rails engine.
This is fixed by using test/components/previews in a Rails application, but still this is an unresolved issue for engine authors.

Fixed by https://github.com/ViewComponent/view_component/pull/2182


Upcoming Talks

moved from here
William Osler - OpenRCT2
John Markiewicz - wmultils/swn OR emacs for vim users<EMAIL_ADDRESS>Alex Fuhr - TBA
Ben Keith - Best of NICAR 2016
Nikit Malkan - KODI and media libraries
Nikit Malkan - maybe gaming on Linux.
Requests: tasker
update
Nikit & William - Linux and Open Source Gaming
Alex - BTC
Brandon - GNU/Linux History
Fuhr - Audio
Brandon & Cody - Digital Audio
John (EDT) - Emacs for Vim users
@benlk - Best of NICAR 2016
Dan - Blender
Nikit & Bam - Git
Matt Curtin
Security Club
Paradigm - Bedrock Linux
Nikit - Regular Expressions
William/Nikit - dot file setup
John - Bricking Android :)

@Nefari0uss @moore3071
This is the file that needs updated

NICAR is March 10 to March 13, but the following Thursday is March 17: Spring Break. I'm going to pencil my talk in for March 24, in a PR.

Per @benlk's recommendation, I picked a date and created a PR: https://github.com/OSUOSC/open-source-club-website/pull/163

Cool. Next few from what I know:
2-4: Alex Fuhr: Pure Data
2-11: Brandon Moore: Git
2-18: Open, but I may be able to take this spot
2-25: Matt Curtin: Forensic Data Analysis

@kriegersaurusrex that is the last time I'm updating the schedule. It is your responsibility to promptly updated the meeting schedule and site content.

March 10th is the date @oslerw and I are shooting for our Linux Gaming talk.

@Nefari0uss sounds good. March 3rd is the weekend before the makeathon; if we want to find a hardware-oriented talk for that day.

April 14th: Nick Wolff, FreeBSD

looks like we scheduled talks for all of our meetings.


Fix broken links to LL and LR parsing lectures

The links on http://tudelft-in4303.github.io/lectures/ to the LL and LR parsing lectures don't work.

Somehow these changes are not yet reflected on the actual github.io site.

They are on my machine. Try hard-refreshing the page (probably a caching thing)

Tried that, didn't help. Different browser, same thing. Used WGET to get the HTML, same problem. Interesting.

I'm not a Jekyll expert but shouldn't these two files be renamed to uppercase LL and LR:
https://github.com/TUDelft-IN4303/TUDelft-IN4303.github.io/tree/master/lectures/generation
and update the links on the main lecture page also to uppercase LL and LR?
https://github.com/TUDelft-IN4303/TUDelft-IN4303.github.io/blob/master/lectures/index.md

@milosonator I guess you were trying to reach the page trough the menu (instead of http://tudelft-in4303.github.io/lectures/ which this PR fixed), see #16.

+1

Right, thanks guys!


App Not Working Properly :Player-Handler using Redux for React Native v0.57.4 and react-native-track-player v 1.0.0 For Android

I Know there is an example of it including in this package And I followed it.
My App Sometime Run and some time App stops on Android. But When I run in Debug mode I saw two warning about store.
Warning : Failed child context type: The child context 'store' is marked as required in 'Provider', but its value is "null"
And then On My Audio Screen
Error: Invariant Voilation:Could not find "store" in either the context or props of "Connect(AudioScreen)". Either wrap the root component in a <Provider>. or explicitly pass "store" as a prop to "Connect(AudioScreen)"
What am I Doing Wrong??

index.js:
import {AppRegistry} from 'react-native';
import { createStore, applyMiddleware } from 'redux';
import thunkMiddleware from 'redux-thunk';
import App from './App';
import TrackPlayer from 'react-native-track-player';
import EventHandler from './player-handler';
import reducers from './reducers';
const store = createStore(reducers, applyMiddleware(thunkMiddleware));
AppRegistry.registerComponent("AudioApp", () => App(store));
TrackPlayer.registerEventHandler(EventHandler(store));

reducers.js:
import { combineReducers } from "redux";
import { ActionType } from "./action";
const merge = (pre, nex) => Object.assign({}, pre, nex);
const AudioStatus = (state = {}, action) => {
  if (
    action.type === ActionType.PLAY ||
    action.type === ActionType.PAUSE ||
    action.type === ActionType.STOP
  ) {
    return merge(state, {
      AudioStatus: action.payload
    });
  }
  return state;
};
const reducer = combineReducers({
  Audio: AudioStatus
});
export default reducer;

action.js
//================Action Types Constants
const PLAY = "PLAY",
  PAUSE = "PAUSE",
  STOP = "STOP",
  OperationDoing = "OperationDoing";

//================Action Creators
//ASYNC ACTION CREATOR
const ButtonOp = Type => async dispatch => {
  // dispatch({ type: OperationDoing });
  try {
    dispatch({ type: Type, payload: Type });
  } catch (e) {
    alert("Fishy Here");
  }
};

module.exports = {
  ButtonOp,
  ActionType: {
    PLAY,
    PAUSE,
    STOP,
    OperationDoing
  }
};

App.js
import React from "react";
import { View, StatusBar, AppState } from "react-native";
import AudioScreen from "./AudiosScreen";
import { Provider } from "react-redux";
import TrackPlayer from "react-native-track-player";
import Orientation from "react-native-orientation-locker";
class App extends React.PureComponent {
  static store = null;
  constructor(props) {
    super(props);
  }
  componentWillMount() {
    Orientation.lockToPortrait();
  }
  async componentWillUnmount() {
    try {
      await TrackPlayer.destroy();
    } catch (e) {}
  }
  componentDidMount() {
    TrackPlayer.setupPlayer({}).then(() => {
      TrackPlayer.updateOptions({
        capabilities: [
          TrackPlayer.CAPABILITY_PLAY,
          TrackPlayer.CAPABILITY_PAUSE,
          TrackPlayer.CAPABILITY_STOP
        ],
        compactCapabilities: [
          TrackPlayer.CAPABILITY_PLAY,
          TrackPlayer.CAPABILITY_PAUSE,
          TrackPlayer.CAPABILITY_STOP
        ],
        stopWithApp: true,
        color: 0x2ecc71
      });
    });
  }
render() {
    return (
      <View style={{ flex: 1 }}>
        <StatusBar hidden={true} />
          <Provider store={App.store}>
            <AudioScreen />
          </Provider>
      </View>
    );
  }
}

module.exports = function(store) {
  App.store = store;
  return App;
};

player-handler.js
import { ButtonOp, ActionType } from "./action";

async function eventHandler(store, data) {
  switch (data.type) {
    case "remote-play":
      store.dispatch(ButtonOp(ActionType.PLAY));
      break;
    case "remote-pause":
      store.dispatch(ButtonOp(ActionType.PAUSE));
      break;
    case "remote-stop":
      store.dispatch(ButtonOp(ActionType.STOP));
      break;
  }
}

module.exports = function(store) {
  return eventHandler.bind(null, store);
};

Take a look to #333

@imran1992 do you still have the issue with new version ? if not can you close the issue ?


Cannot connect to Event Hub endpoint through proxy

Expected Behavior
I would expect to be able to send/receive data to/from the Event Hub endpoint when operating behind a proxy, but this does not appear to be supported.
I'd expect to see a WithProxy(...) function of type HubOption to be used when setting up a hub, for example:
rawConnStr := os.Getenv("EVENTHUB_CONNECTION_STRING")
if rawConnStr == "" {
        fmt.Println("FATAL: expected environment variable EVENTHUB_CONNECTION_STRING not set")
        return
}

hubName := os.Getenv("EVENTHUB_NAME")
if hubName == "" {
	fmt.Println("FATAL: expected environment variable EVENTHUB_NAME not set")
        return
}

httpProxy := os.Getenv("HTTP_PROXY")
if hubName == "" {
	fmt.Println("FATAL: expected environment variable HTTP_PROXY not set")
	return
}

connStr := rawConnStr + ";EntityPath=" + hubName

hub, err := eventhub.NewHubFromConnectionString(connStr, WithProxy(httpProxy))
if err != nil {
	fmt.Println(err)
	return
}

ctx, cancel := context.WithTimeout(context.Background(), 20*time.Second)
defer cancel()

runtimeInfo, err := hub.GetRuntimeInformation(ctx)
if err != nil {
	fmt.Println(err)
	return
}

A WithAuthenticatedProxy(httpProxy, username, password) option would also be useful for those behind a proxy which requires a username and password.
Actual Behavior
Without the option to provide a proxy configuration, I encounter the error:
dial tcp <event-hub-ip>:5671: connectex: No connection could be made because the target machine actively refused it.
Environment

OS: Windows
Go version: 1.13
Version of Library: v3.1.2

I may be wrong, but you can do that for Java, thanks to https://github.com/Azure/azure-event-hubs-java/pull/362.
Having said that, I've the same problem as @Bixx and I need to use filebeat to access Azure Event Hub from behind a corporate HTTP(S) proxy.

@Bixx
how did you do that . in which version is kind of functionality available

You will need to use websockets to achieve this. Sample code is below:
`
func newWebSocketConnFn(ctx context.Context, args azeventhubs.WebSocketConnParams) (net.Conn, error) {
defaultTransport := &http.Transport{
Proxy:                 http.ProxyFromEnvironment,
.
.
.
}
opts := &websocket.DialOptions{
Subprotocols: []string{"amqp"},
HTTPClient: &http.Client{
Transport: defaultTransport,
},
}
wssConn, _, err := websocket.Dial(ctx, args.Host, opts)
if err != nil {
	return nil, err
}

return websocket.NetConn(ctx, wssConn, websocket.MessageBinary), nil

}
consumerClient, err := azeventhubs.NewConsumerClientFromConnectionString(nameSpaceConnectionString, eventhubName, consumerGroup, &azeventhubs.ConsumerClientOptions{
NewWebSocketConn: newWebSocketConnFn,
})
`
An example is provided here: https://github.com/Azure/azure-sdk-for-go/blob/main/sdk/messaging/azeventhubs/example_websockets_and_proxies_test.go#L32


Add empty set_atomically parameter service

New parameter client implementations check the availability of all the related services before executing a command.
We were missing the /set_parameters_atomically, making ROS 2 Cli parameter commands fail.
This PR adds a empty service implementation to fix this issue. Related: https://github.com/micro-ROS/micro-ROS-Agent/issues/195
Note: This fix shall be included on the Iron release.

Codecov Report

Merging #354 (72621aa) into master (2648503) will increase coverage by 0.42%.
The diff coverage is 95.55%.

@@            Coverage Diff             @@
##           master     #354      +/-   ##
==========================================
+ Coverage   69.20%   69.63%   +0.42%
==========================================
  Files          16       16
  Lines        2715     2760      +45
  Branches      765      766       +1
==========================================
+ Hits         1879     1922      +43
- Misses        450      452       +2
  Partials      386      386

Impacted Files
Coverage Δ

...lc_parameter/src/rclc_parameter/parameter_server.c
83.10% <95.55%> (+0.68%)
:arrow_up:

@JanStaschulat No, this is just needed on Iron and Rolling. Thanks!


Finalizing the chat guide and some other guide tweaks

Closes #505

Just a couple comments, then :shipit:


Gradient type source filter

A picture tells a thousand words
After this PR

Coverage decreased (-1.6%) to 42.76% when pulling 855ab27b7cd9394ff1bd654bcc10cba3112d83fc on bjornreppen:filter into 37947aa3d141763122661f7a43161da65613bf54 on Artsdatabanken:master.


Cant mount local volume to percona-server volume

Hi
I'm running on CentOS 7 instance with 17.03.1-ce running on it
I've been running other dockers for a while now with mounted volumes without any hickups
But this is the first time I'm getting into problems and  maybe you have idea  what the issue (if its a bug) or how to fix it
So here's how my docker-compose.yml looks like

version: '2'
services:
  mysql:
    container_name: "mysql"
    image: percona:5.7
    volumes:
      - /var/data/mysql:/var/lib/mysql
    ports:
      - "3306:3306"
    environment:
      MYSQL_ROOT_PASSWORD: "secret"

And i keep getting this annoying error when  running it
mkdir: cannot create directory '/var/lib/mysql/': File exists

The end result is the container crashes and not running at all
When not mounting the volume everything works as expected but as crazy as it sounds im looking for persistent solution :)

Sorry for the delay -- this looks like it might be SELinux-related.  Have you tried running chcon -Rt svirt_sandbox_file_t /var/data/mysql as noted in the image description? (https://hub.docker.com/_/mysql/)

Since the proposed resolution was not responded to in some time I'm assuming the issue is resolved


querying instant exchange orders triggers the rate limit

we seem to be query the cex api's too frequently
2023-10-17 14:06:53.122 [ERR] SHWL: Error getting order info: instantSwap.GetOrderInfo: exchangeclient:error:429 Too Many Requests
2023-10-17 14:06:53.122 [ERR] SHWL: Error checking for exchange updates: instantSwap.GetOrderInfo: exchangeclient:error:429 Too Many Requests
2023-10-17 14:07:07.997 [INF] BTC: Current sync progress update is on block 812661, target sync block is 812661
2023-10-17 14:07:13.793 [ERR] SHWL: Error getting order info: instantSwap.GetOrderInfo: exchangeclient:error:429 Too Many Requests
2023-10-17 14:07:13.793 [ERR] SHWL: Error checking for exchange updates: instantSwap.GetOrderInfo: exchangeclient:error:429 Too Many Requests
2023-10-17 14:07:34.026 [ERR] SHWL: Error getting order info: instantSwap.GetOrderInfo: exchangeclient:error:429 Too Many Requests
2023-10-17 14:07:34.026 [ERR] SHWL: Error checking for exchange updates: instantSwap.GetOrderInfo: exchangeclient:error:429 Too Many Requests
2023-10-17 14:07:49.027 [ERR] SHWL: Error syncing exchange server: failed to sync exchange server [{flypme {false    }}] after 3 attempts
2023-10-17 14:07:49.027 [ERR] UI: Error syncing instant swap: failed to sync exchange server [{flypme {false    }}] after 3 attempts

i noticed this while reviewing https://github.com/crypto-power/cryptopower/pull/177

We can utilize an exchange rate cache and WebSocket connection(if available) like in #177. But to keep the scope small, this can be implemented in another PR.

Another PR, is fine, but it should follow immediately after #177
It should be better for 177, to leave out exchange rate query for the cex pages, i think that would be better, rather that introducing a regression into the codebase.

It should be better for 177, to leave out exchange rate query for the cex pages

Uhmm, can you shade more light on this?

It should be better for 177, to leave out exchange rate query for the cex pages

Uhmm, can you shed more light on this?

It seems the centralized exchange pages were modified to work with the websockets? And that's what causing the cex apis to reach reate limit

It seems the centralized exchange pages were modified to work with the websockets? And that's what causing the cex apis to reach reate limit

Oh, now I understand. Yes, the page is refreshed and since caches are not yet implemented for CEX we end up with multiple requests.
I'll pull the plug for the CEX create order page.

still getting this as of today
2023-11-01 11:34:59.220 [ERR] SHWL: Error getting order info: instantSwap.GetOrderInfo: exchangeclient:error:429 Too Many Requests
2023-11-01 11:34:59.220 [ERR] SHWL: Error checking for exchange updates: instantSwap.GetOrderInfo: exchangeclient:error:429 Too Many Requests
2023-11-01 11:35:19.381 [ERR] SHWL: Error getting order info: instantSwap.GetOrderInfo: exchangeclient:error:429 Too Many Requests
2023-11-01 11:35:19.381 [ERR] SHWL: Error checking for exchange updates: instantSwap.GetOrderInfo: exchangeclient:error:429 Too Many Requests
2023-11-01 11:35:39.550 [ERR] SHWL: Error getting order info: instantSwap.GetOrderInfo: exchangeclient:error:429 Too Many Requests
2023-11-01 11:35:39.550 [ERR] SHWL: Error checking for exchange updates: instantSwap.GetOrderInfo: exchangeclient:error:429 Too Many Requests
2023-11-01 11:35:54.550 [ERR] SHWL: Error syncing exchange server: failed to sync exchange server [{flypme {false    }}] after 3 attempts
2023-11-01 11:35:54.550 [ERR] UI: Error syncing instant swap: failed to sync exchange server [{flypme {false    }}] after 3 attempts


Removed stopping play mode in SceneField:Validate()

There is no need to stop the play mode, because there are scenes from Addressables that do not have their own build index.
and in general it is not convenient, there is enough error~

Also, I looked for ways to check the presence of a scene in addressables cases to preserve the intended behavior, but I didn't find anything I needed - so I think that removing the stop of the play mode is the only option

I don't get the purpose of this PR.
from your commit message I guess that it fails for scenes that are from the addressables system, this would be an issue - but the code lines you removed also handle other cases which have nothing to do with addressables.
We can't introduce a "fix" for an optional package, if it introduces issues for the main engine.
So I can't really approve it. There has to be another solution. The easiest would be to create your own kind of SceneVariable that is also allowed to handle Addressable Scenes.
Sadly I don't know enough about the Addressable scenes to know why those scenes are allowed to have no build index

Sadly I don't know enough about the Addressable scenes to know why those scenes are allowed to have no build index

Because the build index is an old system, it is needed only for the pack scene into build of the game

We can't introduce a "fix" for an optional package

>optional  :trollface:
Well, good luck with the approach of "we will show an error and not let you start the play mode", I'll probably give up this package, there are too many memes like this

You could run your own fork of the package and do your custom modifications. That would solve your personal needs but keeps the package functioning.
You could create a custom Atom, instead of using the built-in one. That is one of the core pillars of atoms. Yeah, we try to provide a lot of basic stuff (and some more specialized stuff) from the get go, but we are absolutely aware that different projects are different and it is absolutely encouraged for people to create their own datastructures as needed
You could provide arguments and alternatives to your case that makes it easier understandable, from observing the code, your change would break a security feature of package

But instead you behave like a small kid.

You ignore the "contributing.md" which states that a PR must have an issue associated with it (while this is fine for me, it is important because it allows to gather all relevant information for the problem and possible solutions to it, which is one of the reasons why I can't accept your PR as is: there are too many unknowns currently)
As long as there is no deprecated flag on the buildIndex it is not an old system.
by definition the Addressable system IS optional, and no amount of "trollface"-emojis will change that. It might be mandatory for your use case and I'm all in to make atoms work better with Addressables, but not in this destructive manner as this PR suggests.
If the package is not to your liking, feel free to pick any other SOA package or create your own. You can argue that Unity Atoms is somewhat opinionated and that might not be for everyone. That is fine for me and it seems to be fine for quite a few other people, but I understand if it's not your jam.


[CT-554] [Spike] Support new logging

dbt-rpc hooks into a lot of logbook magic today: logger.py
I think there are two areas in particular that need spiking / investigation:

Custom processors that enrich structured log events with server-specific metadata (addr, http_method, request_id, method, response_code, context)
Every RPC request batches up logs specific to that request, and the list of logs is included in the server response. (I think that filtering happens here)

The desirable outcome may look like:

Reimplementing core event-module functions, to enrich each event with additional fields (noted above)
Using EVENT_HISTORY to batch up log events by request_id, and passing them into the response when ready / polled

Feature parity
Once dbt-rpc supports new logging, we'll need to take stock of content/feature parity. I know a lot changed between legacy and new logging. There's one piece in particular that comes to mind:

Legacy logging: logbook would enrich every row with the unique_id of the node it's relevant to, sticking it in extra.unique_id (source)
New logging: all subclass events of NodeInfo include a much richer node_info dictionary, including node_info.unique_id — but this is certainly fewer events than the ones which previously had extra.unique_id. Most notably, it's missing SQLQuery, the actual SQL run for this model.

This is important for supporting the dbt Cloud IDE's ability to show logs per node run (e.g. this screenshot), which expects to filter on extra.unique_id today

The main goal of this is for the IDE to consume these logs so I think it would be 1) stdout 2) spec poll response. @jtcohen6 @davidharting correct me if I'm wrong here

@leahwicz That sounds correct. The IDE still has access to the log files from dbt. Ultimately, we want "the same logs we get today" - which I believe is primarily stdout / stderror wrapped up into JSON and sent from the rpc server.
I'm not precisely sure what "spec poll response" is.

@davidharting Can you confirm that the rpc poll response is the desired location for the logs when you get a chance?

@iknox-fa that is correct. We poll, and grab the logs from the poll response to render logs to the user. Once we get a "success" response from polling, we know we have the complete set of logs and continue to display that set of logs to the user any time that they refer back to that historical invocation

Findings in brief: https://www.notion.so/dbtlabs/Structured-logging-with-dbt-rpc-79a87bef88394e39a97df5b0abe98af7


Deployment

Challenge 1 - application deployed at live URL with no errors.

Application GitHub URL submitted and repository URL submitted

GitHub repository that contains application code.

Completed available on git hub pages


I downloaded davinci-assembly_3.0.1-0.3.0-SNAPSHOT-dist-beta.4, couldn't start server

hello team:
I downloaded davinci-assembly_3.0.1-0.3.0-SNAPSHOT-dist-beta.4 and configured by following the instruction. I could see a log file created in logs forlder, but no any words in log file. the cmd line quickly disappeared. anyone can advice what happened? thanks a lot.

BTW, I am using window 10

It's usually due to incorrect configuration or environment variable.

Check your environment variable(JAVA, DAVINCI3).
Check your configuration file, such as mail server, YAML format( there is at least one space between the colon after key and value in the yaml file).

Thanks, there were some confige issue, I coul see the logs, but I saw this error which could not make me complete starting:
2019-03-21 22:16:55.167  INFO 11084 --- [           main] org.quartz.core.QuartzScheduler          : Scheduler schedulerFactoryBean_$NON_CLUSTERED started.
2019-03-21 22:16:55.386 ERROR 11084 --- [           main] e.davinci.runner.CustomDataSourceRunner  : Cannot construct instance of edp.core.model.CustomDataSource (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('com.mysql.jdbc.Driver')
at [Source: UNKNOWN; line: -1, column: -1]
2019-03-21 22:16:55.402  INFO 11084 --- [           main] org.quartz.core.QuartzScheduler          : Scheduler schedulerFactoryBean$NON_CLUSTERED paused.
2019-03-21 22:16:55.474  INFO 11084 --- [           main] org.quartz.core.QuartzScheduler          : Scheduler schedulerFactoryBean$NON_CLUSTERED shutting down.
2019-03-21 22:16:55.478  INFO 11084 --- [           main] org.quartz.core.QuartzScheduler          : Scheduler schedulerFactoryBean$NON_CLUSTERED paused.
2019-03-21 22:16:55.481  INFO 11084 --- [           main] org.quartz.core.QuartzScheduler          : Scheduler schedulerFactoryBean$_NON_CLUSTERED shutdown complete.
2019-03-21 22:16:55.502  INFO 11084 --- [           main] com.alibaba.druid.pool.DruidDataSource   : {dataSource-1} closed
2019-03-21 22:16:55.590  INFO 11084 --- [           main] e.davinci.runner.CustomDataSourceRunner  : Server shutdown
2019-03-21 22:16:55.603  INFO 11084 --- [           main] e.davinci.runner.CustomDataSourceRunner  : Load custom datasource finish
2019-03-21 22:16:55.683 ERROR 11084 --- [           main] edp.davinci.runner.CronJobRunner         : nested exception is org.apache.ibatis.exceptions.PersistenceException:
Error querying database.  Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is com.alibaba.druid.pool.DataSourceClosedException: dataSource already closed at Thu Mar 21 22:16:55 CST 2019
The error may exist in edp/davinci/dao/CronJobMapper.java (best guess)
The error may involve edp.davinci.dao.CronJobMapper.getStartedJobs
The error occurred while executing a query
Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is com.alibaba.druid.pool.DataSourceClosedException: dataSource already closed at Thu Mar 21 22:16:55 CST 2019
2019-03-21 22:16:55.684  INFO 11084 --- [           main] edp.davinci.runner.CronJobRunner         : Load cron job finish
Here is my datasource_driver.yml. Could you lease help to let me know any clue?
mysql:
name:  mysql
desc:  mysql
driver: com.mysql.jdbc.Driver
keyword_prefix:
keyword_suffix:
alias_prefix:
alias_suffix:

Refer to the user manual for deployment

I get the same error and I can not run the server successfully


Clamp the Excerpt end index to the end of the file

The desired context excerpt could, in cases where the match is close to the end of the file, result in an index out of range error. Change to clamp the index to be inside the file.

/azp run

/azp run


Looking for a maintainer

We're currently looking for a maintainer of this project. If you're interested, please comment here or retweet this to help!

Hi, I'm interested for maintaining this project.


Updated the C# and Python OpenAI text-to-speech samples to latest code/SDK/API versions

The existing samples had a few issues:

the C# example did not compile at all because of breaking changes in the latest SDK
the Python example was pinned to very old OpenAI package

This PR introduces the following changes:

for C#, updates everything to the latest version Azure.AI.OpenAI
for C#, simplifies the code to take advantage of things like top level programs and adds additional validations around the env variables
for Python, updates everything to use the latest version of the openai package
for both, moves the model name to an environment variable too
for both, moves away from using the legacy Completion API to using the Chat Completion API. The new OAI models do not support the legacy API anymore (it received last final update in summer of 2023) so using that API would fail with new models even when the code would compile fine

Hope the changes make sense!
cc @eric-urban

@eric-urban
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@mrbullwinkle - What are your thoughts about the version upgrade?

@filipw - Thank you! We'll check.

I updated this again, this time to match the newly released Azure.AI.OpenAI 1.0.0-beta.12

Hi @eric-urban,
Are there any updates on this PR? Should it be closed or merged?
Thanks!

I emailed the author today.

#sign-off


PowerToys Run Wox Plugins

Summary of the new feature/enhancement
Wox has a ton of useful plugins which don't work on the PT RUN version. I would love to be able to do what I posted in #3945 but I cant do that with plugins do to compatibility issues.
I'd also love to do /s [game name] to launch steam names, which I used to do with Hain.
I don't really get why this was removed or PT RUN was altered so much that the plugins won't work.
Proposed technical implementation details (optional)
Euhmm CTRL+Z on some set limitations or changes?
Mark plugins as unsupported and warn people not to make issues about it on the GitHub.
Give it a switch.

sounds like plugins are intentionally disabled at this time
https://github.com/microsoft/PowerToys/issues/3200#issuecomment-631130861

Related to #3200

Tracked by https://github.com/microsoft/PowerToys/issues/3200 and https://github.com/microsoft/PowerToys/issues/5273


[BUG] 1.14.4 chat not being sent to discord, and flooding console.

What happened?

On server start, the chat seems to stop being sent to discord, and console gets flooded.

What should happen?

Chat should be sent to discord. Status (Player count and uptime) freeze, and TPS seems to stay stuck at 20 TPS

Steps to reproduce

Start server
Wait 11 minutes and 02 seconds according to the uptime.

Version

1.14.4 forge 28.2.0

Mod version 1.1.14-1.14
Config file

https://hastebin.com/ozayavufan.bash

No crash report. Server stays open.

Additional info

Can, however, provide the errors that flood console.
https://hastebin.com/jedekehomo.md
the mpm errors are normal, since we're using a snapshot version of MorePlayerModels haha.

Interestingly, after a second restart, the bot seems to be working fine again. Will update if this changes.
I noticed another issue though, ./tellraw's output doesn't seem to be sent to the bot. is this intended?

Additionally, the bot doesn't seem to be outputting player names/weapons in death messages. Interestingly, it still outputs mobs killing a player, though.


Using Gluon to complile and deploying to an Samsung S5 Android phone.

Within the Gluon compile environment, the desktop version (Windows 10/JDK 8u66) runs very well. However when I deploy and tried running in the S5 Android phone, the JavaFX WebView displays the following: "Web Page not available, net::ERR_UNKNOWN_URL_SCHEME".
It may be that the Android JavaFX Webview treats the embedded maps.html differently from the way the Windows 10 JavaFX Webview component does.
It I instantiate JavaFX Webview and passes in a web URL, both the Windows 10 and Android environment runs identically without any issues.

Will look at this as part of the next release.

I did an initial test with this using the latest Gluon desktop library and the WebView doesn't load the Google Map, leaving just a gray box where the WebView is on the UI.  Will need to research this  further.


multi domain, about login

I'm using pyresttest in QA unit now.
And I occurred a question, this is my test case:

login to api.domain.com, and get a cookie(login identity).
POST a request to buy.domain.com, it will use the cookie.

Now I can only pass one argument to command, so I cannot do the test case.
Thank you.

Hi @alswl,
I am not sure what you are asking here?
You can extract multiple values from the login request (multiple extractor declarations, using the set-cookie headers) and use them as variables in future requests.  You can use multiple variables in templates for the POST requests.  You can also (fun part) supply a 'vars' argument at the command line, which is parsed as a YAML dictionary of variables to use in the test.
Kind regards,
Sam

Hi, thanks for your reply.
My question is, I must login in A domain, and test HTTP API in B domain.
I cannot extract A domain's cookie to B domain, because this command pyresttest SOME_DOMAIN SOME_TEST.py only takes one domain.

The first argument is just a URL prefix, it should work with something like 'http://' as the basis, and then each test just defines the rest of the URL.
Or you can use the '--absolute-urls' command line argument - this will disregard any URL prefix you supply at the command line, and just use the URL or fragment defined in the tests themselves.

@alswl ^ answered above, that should solve your challenge.

Thanks, --absolute-urls + --vars should solve my problem.


Merge pull request #24 from MachineLearningLifeScience/dev

Fixes a couple of bugs introduced with the new alternative start

Weird that this spawns another PR, given that there are literally no changes.


[zh] fix markdown lint error in website/content/zh-cn/docs/concepts/o…

PR Summary
Fixed and Markdown typo error in page (zh-cn) Namespaces.
The current zh-cn Namespaces page looks like this:

The current en Namespaces page looks like this:

In short, at the beginning of this document page, the term "Namespace" should be presented in italic font, without bold formatting.
Furthermore, there is currently a missing half-width space character after the asterisk symbol in the current page, which is actually causing the display issue.

Best Regards,
Kivinsae Fang

@windsonsea
Sorry for the bothering.
It seems that the Netlify pipeline was failed due to some timeout issue during the buiding process.
Could I request a second build check?
Thanks for any reply! Best regards,

@windsonsea Sorry for the bothering. It seems that the Netlify pipeline was failed due to some timeout issue during the buiding process. Could I request a second build check?
Thanks for any reply! Best regards,

Sure, you can run the following command to trigger ci again after you modify it locally:
git add .
git commit --amend --no-edit
git push -f

@windsonsea Sorry for the bothering. It seems that the Netlify pipeline was failed due to some timeout issue during the buiding process. Could I request a second build check?
Thanks for any reply! Best regards,

Sure, you can run the following command to trigger ci again after you modify it locally:
git add .
git commit --amend --no-edit
git push -f

oh, you need squash your commits now.

Copy that. I will do the squash then. Thank you!

@windsonsea
Hi Micheal.
I have squashed multiple commits into one commit.
Thanks for the review in advance.


Rethink the issue templates

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Users don't delete the template text of issues, which results in very long issues with a lot of noise.
One problem is that users don't have an "issue" that is outside of a predefined standard, except this small button that noone notices:

Describe the solution you'd like
A clear and concise description of what you want to happen.
I think we need another issue template for "other" that is light and helps in case the regular templates fail.
also I think it would be good if the issue templates would be structured in a way that suggests to delete the instructions, maybe like:
[Describe the solution you'd like: a clear and consise description of what you want to happen]

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
It might be possible to delete all issue templates, but that doesn't help too much either 😛
Additional context
Add any other context or screenshots about the feature request here.

@martinheidegger You can wrap your suggestions in <!-- ... --> comment tags, then they won't be visible when you're browsing the issues, but will be seen by the user as they report an issue.

One funny thing, I didn't want to submit a PR to fix #13 because then I'd have cloned this repo as @chmac/.github which is not something I wanted to do.

In terms of feedback, no harm in having an "Other" or "General" issue template. One thing that I personally assume when there are issue templates, is that other types of messages not welcome on the repo. We use this as a strategy in repos where we don't provide support for example.


Remove trapif and trapff

WIP.
This branch removes the trapif and trapff instructions, in favor of using an explicit comparison and trapnz. This moves us closer to removing iflags and fflags, but introduces the need to implement instructions like iadd_cout in the x64 and aarch64 backends.

but introduces the need to implement instructions like iadd_cout in the x64 and aarch64 backends.

I'm working on implementing iadd_cout for aarch64, should have something soon!

but introduces the need to implement instructions like iadd_cout in the x64 and aarch64 backends.

I'm working on implementing iadd_cout for aarch64, should have something soon (i.e. tomorrow)!
WIP branch but its still failing on the fuzzer, although I suspect thats a wrong implementation on the interpreter.

Awesome, thank you Afonso!


Update redis4cats-effects, ... to 1.5.2

About this PR
📦 Updates

dev.profunktor:redis4cats-effects
dev.profunktor:redis4cats-log4cats

from 1.2.0 to 1.5.2
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.profunktor" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.profunktor" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #243.


Script or function to generate mapping between graph_num and name?

Is your feature request related to a problem? Please describe.
I'm generating all the US data, including by state. This yield ./output/US-*/csv/i.csv. It would be great to easily map i (counties for US-foo) to the associated name.
Describe the solution you'd like
Perhaps something like python ./mobius.py proc -names input folder which would title the files by the area name. Or simply python ./mobius.py map input which would generate a dict or json file with i: area_name for each graph.
Describe alternatives you've considered
I'm currently brute forcing this by using  download -p followed by the linux command pdftotext and then processing the test file.
Other than the first page (which I ignore by skipping lines), all the other area names appear on the line before each instance of Retail & recreation. I iterate through readlines() using enumerate), then if I get a hit withre.findall, I know lines[i-1] is the area name. Since they're in order, each list index i corresponds to i+1.csv
Apologies if this already exists and I'm just missing it. I'm not sure how others are post-processing all the i.csv files that get generated?

Hi @jwhendy we pushed a new function today called mobius.py full. Have a look and see if that matches what you're after.

You'll need to download the PDFs too.
So mobius.py download CC -p
Then mobius.py full path/to/pdf path/to/svg path/to/output

This is very cool and you're cranking out the features! in record time
I went with my own concocted solution, mostly because it was faster. I doubt you'd want to implement it (hacky and relies on the pdf text not changing). I didn't dig into the guts of pdfminer or how you're finding all the elements systematically vs. what I'm doing (keying off of form feed symbols indicating a new page).
For comparison, here was the output on just one state, US-Alabama (reported 27sec):
$ python ./mobius.py full pdfs/US-Alabama.pdf svgs/US-Alabama.svg ./output/
Extracting plot summaries: 408it [00:27, 14.63it/s]
Extracting data from SVG plots: 100%|█████████████████| 408/408 [00:01<00:00, 333.59it/s]
Plots with data: 280

With all the reports already downloaded (with -p) and everything processed to ./output, my code runs through all 50 sates in ~9sec. I haven't fully debugged, but my spot checking has shown reasonable results so far.

Great stuff @jwhendy if you ever think it should be implemented to this code then please feel free to make a pull request. The team have moved onto other work now - fast pace timelines at the moment as I'm sure you'll understand - so we are reliant on collaborators to improve our process. Thanks again. Michael

I would like this feature as well. Another project has some relevant code as well https://github.com/kylemcdonald/covid-mobility-data.

@mshodge I would be honored to contribute, but realistically would probably be best fit to work with someone on that. I admit whenever I see a project with decorators I expect my skills have been surpassed :)
I can take a look at understanding your code a bit better to see if I can make mine fit this style/structure better if this is of value. Let me know what you think.

Hi both @jwhendy and @ladew222 our latest changes have made great improvements to the code - we think.

Great. My goal it merge the data into my COVID Dataiewer I am build for USA that bring in social/census data. Right now I use https://github.com/ActiveConclusion/COVID19_mobility https://github.com/ActiveConclusion/COVID19_mobility which has the number but not the time series.

On Apr 8, 2020, at 11:28 AM, Michael Hodge<EMAIL_ADDRESS>wrote:
Hi both @jwhendy https://github.com/jwhendy and @ladew222 https://github.com/ladew222 our latest changes have made great improvements to the code - we think.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/datasciencecampus/mobility-report-data-extractor/issues/13#issuecomment-611058722, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4CIC3WGBRORMCOEPKTI33RLSQ2PANCNFSM4MDJQHXQ.

As an alternative approach, my script outputs the path to the associated .csv. Would it help to just post that? Once one has this, as long as ./output/US-foo/ has been generated with proc, one could merge them all together.
Alternatively, one could just do this and provide the csv directly for the US. I like the downloading-on-the-fly approach here if the data updates, but otherwise... it seems pretty redundant for local computers to all complete this tedious pdf/svg -> csv step, particularly if we're only going to see the data update every few days (or maybe it's frozen at 3/29 at this point).

I posted this in the linked issue, but circling back here in case a direct download of all the US county time series data is of interest.
For anyone tracking this down and just wanting all the data, I uploaded to my covid19 exploration repo.

mobility-data-agg: the high level value pulled from the pdf for each state/county; note that this also contains the state-level averages (df.county=='summary') and the states themselves (df.area=='United States') so there's redundancy in that set
mobilty-data-ts: time series data for each county. this does not have the US country data (country total, per-state levels) or the high level state summaries from pg1-pg2 of each PDF. It only has county level data.

Let me know if you find any errors. Currently not verified, but the plots are cool :) Look at the dual modes of residential and workplace, which might indicate those are the most robust indicators of what people are doing?

Great. Thanks @mshodge.  I will take a look.

Thanks @jwhendy I will create a section in the readme for brilliant uses of the code like this. I will then link to your comment.

Thanks as well @mshodge and @jwhendy.  My dashboard with is now at www.balefire.info and is now fully integrated with the data from your tool.  It maps COVID-19 data, census information and Google information at county level and displays it on a choropleth. It also allows users to look at correlations between confirmed cases and these data points.  As it shows,  the Google data is strong.


slickGoTo as prop for PureComponent

Hi,
It would help a lot to keep the ability to pass slider position as int in the props. I use the slider in a pure component and it would be a mess to care about the livecylce hooks. Any chances to prevent deprecation?
best regards :)

If you want to set slider position only once, you can use initialSlide option.

@akiran  is there no way to manage manage the slider state in a pure component after mounting?


Update sql-database-elastic-transactions-overview.md

Reverting the previous change .

Hi @SilviaDoomra, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (sdoomra). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


feat: upgrade native sdk <IP_ADDRESS>

Update native sdk <IP_ADDRESS> dependencies

This pull request is trigger by bot, you can checkout this branch and update it.

Examples built:

https://nightly.link/littleGnAl/hoe/actions/runs/9639114325/agora_rtc_engine_android_6.2.6-sp.42614_20240624034124.zip
https://nightly.link/littleGnAl/hoe/actions/runs/9639114325/agora_rtc_engine_ios_6.2.6-sp.42614_20240624033726.zip
https://nightly.link/littleGnAl/hoe/actions/runs/9639114325/agora_rtc_engine_macos_6.2.6-sp.42614_20240624033515.zip
https://nightly.link/littleGnAl/hoe/actions/runs/9639114325/agora_rtc_engine_windows_6.2.6-sp.42614_20240624033518.zip
https://nightly.link/littleGnAl/hoe/actions/runs/9639114325/agora_rtc_engine_web_6.2.6-sp.42614_20240624033103.zip

This comment is commented by bot, do not edit it directly


Incorrect error message when missing a cert.

Expected Behavior
If we don't find the correct key in the configmap for webhook registrationg, we display the correct value:
https://github.com/knative/pkg/blob/67830c7a64431edc38ee19628dc7116b0c6d99b5/webhook/webhook.go#L145
Actual Behavior
prints ca.crt instead of the key we're missing (in this case:)
requestheader-client-ca-file
Steps to Reproduce the Problem

Delete that key and watch the webhook pods be unhappy (crashloop backoff)
log messages display incorrect error message

Additional Info

@vaikas-google I will work on this issue and send you a PR

/kind good-first-issue


Legend click check

Highlighting both nodes and relations on respective legends click
Node :

Relations:

suggestion:
Highlight the selection on node labels


Place holders for date while creating a data resource

Is your feature request related to a problem? Please describe.
No indication of the format in which the date should be entered while registering a data resource in https://matwerk.datamanager.kit.edu/repo-management.html
Describe the solution you'd like
I think if the wrong format is entered the resource does not get registered. Placeholders that show the format of the date should be made present

Agree, will be added in the next version of frontend-collection.


ERROR worker: Failed while importing descriptors

Howdy,
Having issues running this in the following environment:

OpenSUSE Tumbleweed.
Bitcoin Core: v23.0 (snap):
-server=1; disablewallet not set; txindex enabled.

Config is generated from the latest Ledger Live AppImage and the device is running the latest Bitcoin Nano app (2.x).
lss is able to communicate with the node. Runs the circulating supply check. I can see the satstack wallet being loaded in the Qt gui (but appears blank).
Once the circulating supply check is complete, the following error is printed and lss quits:
[2022/08/12 - 19:51:32]  INFO worker: #RunTheNumbers successful                     actualSupply=19119485.92676553 BTC expectedSupply=19119693.75 BTC height=749151

[2022/08/12 - 19:51:32] ERROR worker: Failed while importing descriptors            error=-4: This type of wallet does not support this command

[2022/08/12 - 19:51:32]  INFO Shutdown server: in progress

[2022/08/12 - 19:51:32] ERROR Failed to query status                        err=bitcoind unreachable: -18: Requested wallet does not exist or is not loaded

[GIN] 2022/08/12 - 19:51:32 | 200 |     1.65613ms |       <IP_ADDRESS> | GET      "/blockchain/v3/explorer/status"

[2022/08/12 - 19:51:32]  INFO Unloaded wallet successfully                  wallet=satstack

[2022/08/12 - 19:51:32]  INFO Shutdown server: done

Any idea?
Attempted removing the taproot descriptors from the generated config thinking that might the issue, same result.

Yeah, this is probably due to missing taproot support, I am working on it.

hi @SkanderHelali I released 0.16.0 this morning, it might work better now, can you please give it a try? thank you vm

I am also receiving this error when trying to connect satstack to LedgerLive.
[GIN] 2022/08/16 - 17:41:38 |←[97;42m 200 ←[0m|            0s |       <IP_ADDRESS> |←[97;44m GET     ←[0m "/blockchain/v3/explorer/status"
[GIN] 2022/08/16 - 17:41:39 |←[97;42m 200 ←[0m|            0s |       <IP_ADDRESS> |←[97;44m GET     ←[0m "/blockchain/v3/explorer/status"
[GIN] 2022/08/16 - 17:41:40 |←[97;42m 200 ←[0m|            0s |       <IP_ADDRESS> |←[97;44m GET     ←[0m "/blockchain/v3/explorer/status"
←[0;90m[2022/08/16 - 17:41:41]←[0m ←[0;32m INFO←[0m←[0;36m worker:←[0m #RunTheNumbers successful                     ←[0;32mactualSupply←[0m=xxx.xxx BTC ←[0;32mexpectedSupply←[0m=xxx.xxx BTC ←[0;32mheight←[0m=749750
[GIN] 2022/08/16 - 17:41:41 |←[97;42m 200 ←[0m|      6.6159ms |       <IP_ADDRESS> |←[97;44m GET     ←[0m "/blockchain/v3/explorer/status"
←[0;90m[2022/08/16 - 17:41:41]←[0m ←[0;31mERROR←[0m err -4: importdescriptors is not available for non-descriptor wallets
←[0;90m[2022/08/16 - 17:41:41]←[0m ←[0;31mERROR←[0m←[0;36m worker:←[0m Failed while importing descriptors            ←[0;31merror←[0m=-4: importdescriptors is not available for non-descriptor wallets
←[0;90m[2022/08/16 - 17:41:41]←[0m ←[0;31mFATAL←[0m←[0;36m worker:←[0m Failed to send INTERRUPT signal               ←[0;31merror←[0m=not supported by windows ←[0;31mpid←[0m=29168

Also, I am using 0.16.0

I guess I know what's going on... do you know how to delete the satstack wallet on your bitcoin node? Satstack will re-create differently and it should work fine.

@adrienlacombe-ledger  Sorry for the delay, rescan took a while with birthday not set.
Tested on 0.16.0 and the issue seems to be fixed. Was able to import/scan all accounts and use them in Ledger Live. 👍🏻
Thanks!
I'll leave this open for bscameheorn.

Excellent @SkanderHelali ! Thank you :)

Worked, thank you!!

Excellent news!

I am unsure why, but I am stuck in a loop in LedgerLive and satstack on Status: x% Account scan in progress ... It just keeps going from 100% to 0% after I delete my wallet, and delete all data in LedgerLive on windows and in bitcoin-gui it shows Rescanning and transactions are there. Do you have any ideas why?

I am unsure why, but I am stuck in a loop in LedgerLive and satstack on Status: x% Account scan in progress ... It just keeps going from 100% to 0% after I delete my wallet, and delete all data in LedgerLive on windows and in bitcoin-gui it shows Rescanning and transactions are there. Do you have any ideas why?

It will take a very long time if you don't set a birthday in the generated config file. Ledger live doesn't seem to ask/set one.
Rescanning 10 accounts for every script type, from 2013 (default) to today - you'll see that "Account scan" loop for quite a while.
It will finish if you don't interrupt it, eventually.
You're better off defining the birthday in the config for each account. (YYYY/MM/DD format)

thank you @SkanderHelali , indeed @bscameheorn depending on your hardware it can take a long time, not great that the loop restarts though I agree.


Max Past Epochs fix

Fixes issue where max_past_epochs flag is not being respected for the group creator

Merge activity

Oct 9, 2:56 PM PDT: A user started a stack merge that includes this pull request via Graphite.


Explore methods for maintaining a graph of entities

There have been numerous requests to have a standard way to maintain, and query a graph of associated entities.  Such a method must be able to keep consistent the state of the graph and leave no dangling or disconnected references during lifecycle events.

Implementing in terracotta-platform#181


saving system still confuses some people

As per feedback in this doc (available to hack club staff). It records notes from usage in a club meeting with kids around age 10.
One suggestion is to add auto-saving. We have previously discussed saving every run.

make it automatically save when typing perhaps


Defer entering data into console until absolutely necessary

Prior to this commit the process module would spawn a Neovim terminal in the background immediately and write whatever data it needed to. This interferes with user auto commands for TermOpen. See #587 for an example.
This commit defers opening the terminal until absolutely necessary and writes all the data to it at that point. This ensures relevant auto commands for TermOpen are properly issued when the term is going to be actually used, not when its been backgrounded.
Another thing this commit does is improve the scroll function to use in-built functionality from Neovim instead of parsing the terminal buffer. By going into insert mode, waiting a small amount of time, and then exiting it ensures the cursor is directly at the end of viewable content.
Closes #587

Fantastic - it looks a lot nicer to delay that until absolutely needed. Thanks again :D


c.json() but my Date is stringify with 3 digits of ms

When I using itty-router, the date is stringified correctly with 6 digits of ms.
This loss of information break my api 🩴🩴🩴

Can you share the short code returning Response in your itty-router app?

It's like this:
import { json } from "itty-router-extras";

return json({ audios });

Nvm, I found the bug.
When I replace itty with hono, I also moved my database from PlanetScale to D1. While the PlanetScale play with iso8601, the D1 recognize date.toString better.

It's not the same itty-router's json function and Hono's c.json(). It's not a bug.

It's not the same itty-router's json function and Hono's c.json(). It's not a bug.

Yep. It was a bug with my database, neither itty or hono.


Local deployment : user from deployment account is not authorized to perform sts:AssumeRole on dataallPivotRole in environment account

Describe the bug
Context
the .aws/credentials file is configured with permanent user's credentials generated from IAM user console. The user has administratorAccess
at create environment step, at get stack step the following error is received
error:User:arn:aws:sts:dep_account:assumed-role/Admin/user-name is not authorized to perform: sts:AssumeRome on resource: arn:aws:iam:env_account:role/dataallPivotRole
Investigation
The pivot role stack created generates a Trust policy containing the following condition (both from nested pivot role stack and pivotRole.yaml file present in deploy folder):
"StringLike": {                     "aws:PrincipalArn": [                         "arn:aws:iam::account_number:role/*graphql-role",                         "arn:aws:iam::account_number:role/*awsworker-role",                         "arn:aws:iam::account_number:role/*ecs-tasks-role"                     ]
Temporary solution
The temporary solution I used to work around this issue was to delete the previous condition from my trust policy .
Further work
How to guarantee least privilege principle while enabling the local evironment to use the pivot role having user credentials ?

Should we enforce a specific naming convention for the users and add it as part of the previous condition ?
Is this condition with String comparison really strong ? anyone can juste create a role and name it in a way that the respects that convention i.e.  I can create a role and name it inas-graphql-role even if what the role performs is not graphql api requests etc ...

I would be happy to contribute to solving this issue
Expected behavior
credentials used locally allow to assume pivotRole to perform actions on data.all locally
OS
macos
Python version
3.9.6
AWS data.all version
v1.6.0
Additional context
No response

Hi @InasK6! Yes, we added that hardening of the pivot roles as part of a security review. Your guesses are totally right, the trust policy prevents any role assumption expect for those suffixed.

For local development you can create a role called local-graphql-role or any that satisfies this naming convention
The only permissions that this role needs are assume role permissions to pivotRoles. It is a role that is only used to assume the pivot role, then it is the pivot role the one that executes the SDK calls

thank you for the clarification @dlpzx


signal-cli: 0.7.4 -> 0.8.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/AsamK/signal-cli/releases.
meta.description for signal-cli is: "Command-line and dbus interface for communicating with the Signal messaging service"
meta.homepage for signal-cli is: "https://github.com/AsamK/signal-cli"
meta.changelog for signal-cli is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.8.0 with grep in /nix/store/p2vadi59yaa24xjxigy3hw39r3xy1djv-signal-cli-0.8.0

directory tree listing: https://gist.github.com/372283eced816de4959f1924016c0c4d

du listing: https://gist.github.com/02de4a4bc3ba706d143511150219ba5e

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
signal-cli

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/p2vadi59yaa24xjxigy3hw39r3xy1djv-signal-cli-0.8.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A signal-cli https://github.com/r-ryantm/nixpkgs/archive/81db233e38f776bdbb6916164f251d36127eef1b.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/p2vadi59yaa24xjxigy3hw39r3xy1djv-signal-cli-0.8.0
ls -la /nix/store/p2vadi59yaa24xjxigy3hw39r3xy1djv-signal-cli-0.8.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

signal-cli

Maintainer pings
cc @ivan @erictapen for testing.

Result of nixpkgs-review pr 113301 at 81db233e run on aarch64-linux 1

1 package built:

signal-cli

2 suggestions:

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/applications/networking/instant-messengers/signal-cli/default.nix:16:3:
   |
16 |   installPhase = ''
   |   ^

warning: unclear-gpl
gpl3 is a deprecated license, check if project uses gpl3Plus or gpl3Only and change meta.license accordingly.
Near pkgs/applications/networking/instant-messengers/signal-cli/default.nix:50:5:
   |
50 |     license = licenses.gpl3;
   |     ^


Updating the README.md to adding the Quest 3 as a supported viewer/headset

Addresses #45

Thanks!


[sw,meson,verilator,build] Support building on MacOS

Add support for building meson project and Verilator executable.

Verilator support added, PR#10111

Meson support added, PR #10164


bitwise-or as an alias of bitwise-ior in (liii bitwise)

What
as title
Why
bitwise-or is much more natural than bitwise-ior defined in SRFI 151.

Seems good to me. Nice work.


crawl: 0.25.1 -> 0.26.0

Motivation for this change
crawl: 0.25.1 -> 0.26.0
FORCE_PKGCONFIG was added upstream in crawl/crawl@61de54256c8, so we
can drop our patch to the Makefile which does the same thing - nice!
Still need the other patches since crawl/crawl#1367 isn't yet fully
merged.
I haven't tested building on MacOS - changing to FORCE_PKGCONFIG will affect the MacOS build, so can someone do that?
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 110566 run on x86_64-linux 1

2 packages built:

crawl
crawlTiles

This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 110566 run on x86_64-linux 1

2 packages built:

crawl
crawlTiles

Note https://github.com/crawl/crawl/issues/1225 - upgrading users will have to manually delete ~/.crawl/des

Note https://github.com/crawl/crawl/issues/1225 - upgrading users will have to manually delete ~/.crawl/des


Conda deployment

@wolfv @levi-armstrong @traversaro @mpowelson I've created an issues here for discussing integration with tesseract using anaconda.

See https://github.com/pyri-project/pyri-core/blob/master/doc/pyri_software_architecture.md for a detailed overview of the teach pendant software architecture if you are not familiar with the project.

See https://github.com/pyri-project/pyri-core/blob/master/doc/pyri_software_architecture.md for a detailed overview of the teach pendant software architecture if you are not familiar with the project.


Fix: Can not set default filter for FilterDateRange #864

*fix - default filter for FilterDateRage can not be set
*issue - https://github.com/contributte/datagrid/issues/864

I don't really understand, how is this broken. See https://examples.contributte.org/packages/datagrid/filters?grid-perPage=20&grid-filter[birth_date_2][to]=7. 4. 2020

Aha! I see, will fix that

Awesome, thanks!


Please add documentation about the proper location av config files.

I'd just like to know in what locations tsfmt will look for tsfmt.json, .editorconfig and tslint.json

Is this not enough for you? https://www.npmjs.com/package/typescript-formatter#read-settings-rules

Ah. Sorry I didn't parse that. Two follow up questions?

When tsfmt reads more then one ruleset, which rules gets precedence in
the event of a conflict?

Is there a setting for correctly indenting tsx?

On Mon, Aug 29, 2016, 15:58 Masahiro Wakame<EMAIL_ADDRESS>wrote:

Is this not enough for you?
https://www.npmjs.com/package/typescript-formatter#read-settings-rules
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vvakame/typescript-formatter/issues/57#issuecomment-243131653,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAZGVMYqP2LwuNp53wchCB3IXN4wX1vKks5qkuWYgaJpZM4JvS7C
.

When tsfmt reads more then one ruleset, which rules gets precedence in
the event of a conflict?

tsfmt.json > tsconfig.json > editorconfig > tslint.json
The rules gathering per files.
foo/bar/buzz.ts and foo/fuga/piyo.ts are not formatting by same ruleset.

Is there a setting for correctly indenting tsx?

Maybe yes. I don't using tsx. but it can consumed by TypeScript Language Service.


Upgrade charabia v0.6.0

Pull Request
What does this PR do?

Update log
Upgrade charabia

related to https://github.com/meilisearch/meilisearch/issues/2686

bors merge

bors merge

bors merge

bors merge

bors merge

bors merge

bors merge


Remove JVM shutdown hook on stop()

This PR removes the JVM shutdown hook for a ServerGroup when ServerGroup.stop() completes. This prevents leaking ServerGroups after they have been stopped, and it also prevents a massive amount of unnecessary log spam when the JVM finally does exit:
241993 2015-02-17 21:29:28,049 INFO  [Thread-279] impl.DefaultHttpProxyServer (?:?).?() - Shutting down proxy
241993 2015-02-17 21:29:28,049 INFO  [Thread-279] impl.DefaultHttpProxyServer (?:?).?() - Already stopped
241994 2015-02-17 21:29:28,050 INFO  [Thread-340] impl.DefaultHttpProxyServer (?:?).?() - Shutting down proxy
241994 2015-02-17 21:29:28,050 INFO  [Thread-340] impl.DefaultHttpProxyServer (?:?).?() - Closing all channels...
241994 2015-02-17 21:29:28,050 INFO  [Thread-10] impl.DefaultHttpProxyServer (?:?).?() - Shutting down proxy
[...]

LGTM thanks @jekh


Set up for GitHub Pages.

Adapt repo to Jekyll - I have not linked all the LPC resources that were already here but in plaintext. That will be a later step.
Include DGD pages from eOS.
Link to DGD and LPC resources elsewhere.
Link to other ChatTheatre doc pages, including some that will be available only with (very near) future PRs.

There is a conflicting file here.

Fixed.


Option to Disconnect ORCID does not revoke token

Is your feature request related to a problem? Please describe.
If a user has connected their ORCID iD to their Person entity profile via the ORCID API/OAuth, and then they click the button to "Disconnect ORCID" - it appears that the ORCID iD is just removed from the interface and perhaps removed from the DSpace database, but the access token is not revoked, because DSpace still appears as a trusted organization in the user's ORCID record.
Describe the solution you'd like
Ideally the disconnect button from the platform side should revoke all access tokens. Once all access tokens have been revoked, the organization will be removed from the Trusted Orgs list in the user's ORCID record.
The "disconnect" button should trigger a /revoke API Call. However, this is not mandatory to move to production, but ORCID does recommend it.
Find here more details on how the access token works:
Basically, the access tokens are linked to the Client ID, the ORCID record and the scopes. This is the key to interact with the ORCID record.
Each time a user signs in to your system using ORCID credentials, a new access token is generated.
We recommend one of these two approaches when using access tokens:
A)  Use the first access token generated and revoke all access tokens generated after each user authentication.
B) Use the latest access token generated and revoke all access tokens that have been previously generated.
If you have multiple tokens, you will need to revoke each token separately in order to remove all access and have your client no longer appear in the list of trusted organizations on the record.
Just to confirm, we recommend using the refresh tokens workflow to limit the scope or duration of an existing access token or update a token if it has been compromised. We recommend revoking the access tokens for all other situations.
You can find here an example of a revoke token call:
https://info.orcid.org/ufaqs/how-can-i-revoke-tokens/

Hello @sheilarabun @tdonohue ,
We @4Science can work on this issue. I'm going to self-assign this one.
Thank you.


Deleting Params is too difficult

Add a description
I needed to delete some Transform that had Params (Run) and therefore also needed to delete the ParamValues. It was not obvious to me that they are in lamindb.core. Moreover, it was even less obvious that I need to delete RunParamValue which I can only access if I directly access lnschema_core. No user will ever get that.
I was still annoyed that https://github.com/laminlabs/lamindb/issues/1547 is not yet implemented. Maybe I'll do it at some point.

Yes, so my plan was adding run.params.remove_values() in analogy to what I did for features a week ago:

https://github.com/laminlabs/lamindb/pull/2218


Add dropEffect 'move' to event.DataTransfer on dispatchDrop

As mentioned in issue #54, the event generated by dispatchDrop does not contain a dropEffect, which breaks the interaction with angular-drag-and-drop-lists.

Although this is a static solution and correct for only certain scenarios, I think it's far more commonly correct than our current situation of no dropEffect property for the drop event.
We'll have better dropEffect handling once the rewrite in #44 gets realized. Until then, I'll merge this patch. Thanks!


Explore  component on landing details screen

@MRTNKCR has this been replaced by

this?

also, when do we show this component?

@MRTNKCR any progress on this one?

Closed by mistake, still missing menu item

We shall not do this component after all