Highly available setup of influxdb cluster

System info:
influxdb version: v1.8.10-c1.1.2
OS: Linux influxdb-cluster-data-0 5.4.0-1108-azure #114~18.04.1-Ubuntu SMP Tue Apr 25 19:10:30 UTC 2023 x86_64 GNU/Linux
Docker Image: chengshiwen/influxdb:1.8.10-c1.1.2-data
I want a highly available setup, is it possible to do that using this? Right now I am facing issues while querying or writing data when one of the data pod is not running.
Steps to reproduce:

Run helm install influxdb-cluster ./influxdb-cluster --set "fullnameOverride=influxdb-cluster"
add data and meta nodes in meta-0 pod
stop one of the VM where one of the data pod is running
Now all the query and write apis are failing

Expected behavior:
All the query and write functionalities should work as expected.
Actual behavior:
all the query and write APIs are failing with timeout error
[httpd] <IP_ADDRESS> [31/Aug/2023:09:09:53 +0000] "POST /api/v2/write?org=quartic&bucket=quartic&precision=ns HTTP/1.1" 500 25 "-" "influxdb-client-java/0.1.0-SNAPSHOT" 25985edc-47de-11ee-a5f2-0e3e75d11849 26307
ts=2023-08-31T09:09:53.438196Z lvl=error msg="[500] - \"write failed\"" log_id=0jvfgjøW000 service=httpd
ts=2023-08-31T09:09:53.454397Z lvl-info msg="Write failed" log_id=ØjvfgjøW000 service=write node_id=4 shard_id=46_error="hinted handoff queue not empty"
ts=2023-08-31T09:09:53.454404Z lvl-info msg="Write failed" log_id=0jvfgjøW000 service=write node_id=4 shard_id=47 error="hinted handoff queue not empty"
[httpd] <IP_ADDRESS> [31/Aug/2023:09:09:53 +0000] "POST /api/v2/write?org=quartic&bucket=quartic&precision=ns HTTP/1.1" 500 25 "-" "influxdb-client-java/0.1.0-SNAPSHOT" 259b96cf-47de-11ee-a5f3-0e3e75d11849 21548
ts=2023-08-31T09:09:53.454520Z lvl-error msg="[500] \"write failed\"" log_id=0jvfgjøW000 service=httpd
ts=2023-08-31T09:09:53.477233Z lvl-info msg="Write failed" log_id=0jvfgjøW000 service=write node_id=4 shard_id=46 error="hinted handoff queue not empty"
ts=2023-08-31T09:09:53.477249Z lvl-info msg="Write failed" log_id=ØjvfgjøW000 service=write node_id=4 shard_id=47_error="hinted handoff queue not empty"
[httpd] <IP_ADDRESS>
[31/Aug/2023:09:09:53 +0000] "POST /api/v2/write?org-quartic&bucket=quartic&precision=ns HTTP/1.1 500 25 "-" "influxdb-client-java/0.1.0-SNAPSHOT" 259dce85-47de-11ee-a5f4-0e3e75d11849 29861
ts=2023-08-31T09:09:53.477389Z lvl-error_msg="[500] \"write failed\"" log_id=0jvfgjøW000 service=httpd
[httpd] <IP_ADDRESS> quartic_influx_read_write [31/Aug/2023:09:09:47 +0000] "POST /api/v2/query HTTP/1.1 500 51 "Python/3.9 aiohttp/3.8.1" 222784e5-47de-11ee-a5e5-0e3e75d11849 10012524
ts=2023-08-31T09:09:57.651665Z lvl=error msg="[500] - \"dial tcp <IP_ADDRESS>:8088: i/o timeout\'
\"" log_id=0jvfgj0W000 service=httpd
[httpd] <IP_ADDRESS> - quartic_influx_read_write [31/Aug/2023:09:09:47 +0000] "POST /api/v2/query HTTP/1.1 500 51 "-" "Python/3.9 aiohttp/3.8.1" 222865e6-47de-11ee-a5e6-0e3e75d11849 10011211
ts=2023-08-31T09:09:57.656105Z lvl=error msg="[500] - \"dial tcp <IP_ADDRESS>:8088: i/o timeout\" log_id=0jvfgj0W000 service=httpd
[httpd] <IP_ADDRESS> [31/Aug/2023:09:09:57 +0000] "GET /ping HTTP/1.1" 204 0 "kube-probe/1.27" 282e4d72-47de-11ee-a5f5-0e3e75d11849 48
[httpd] <IP_ADDRESS> [31/Aug/2023:09:09:57 +0000] "GET /ping HTTP/1.1" 204 0 -" "kube-probe/1.27" 282e4f1f-47de-11ee-a5f6-0e3e75d11849 35

Please refer to:

InfluxDB Enterprise Clustering
InfluxDB Enterprise data node

For high availability, installations must have at least two data nodes. The number of data nodes in your cluster must be the same as your highest replication factor. Any replication factor greater than two gives you additional fault tolerance and query capacity within the cluster.
In k8s, you also need to pay attention to avoid all data nodes running on one node. You can use affinity and podAntiAffinity to solve this problem.

Thank you so much @chengshiwen, I was able to fix this issue by following this doc https://docs.influxdata.com/enterprise_influxdb/v1.8/guides/rebalance/


post install tasks are broken

The post-install tasks in post-install subdirectory have always failed for me in master branch, which is why I disabled them in branch https://github.com/Algebraic-Programming/LPF/tree/functional_tests_use_gtest
make install

Following output is printed during minutes of post install hangups
POST INSTALL CHECK
Compiling a BSPlib program with pthreads engine
Compiling a BSPlib program with C++ compiler and pthreads engine
Compiling an LPF program for any engine
Running an LPF program on any of the engines: pthread;mpimsg;mpirma;ibverbs;zero;hybrid
CMake Error at post-install/post-install-test.cmake:75 (message):
  lpfrun failed running a simple universal program with zero engine
Call Stack (most recent call first):
  post-install/cmake_install.cmake:46 (include)
  cmake_install.cmake:183 (include)

CMake Error at post-install/post-install-test.cmake:75 (message):
  lpfrun failed running a simple universal program with zero engine
Call Stack (most recent call first):
  post-install/cmake_install.cmake:46 (include)
  cmake_install.cmake:183 (include)

Compiling an LPF program with debug library
Running an LPF program with debug library on any of the engines: pthread;mpimsg;mpirma;ibverbs;zero;hybrid
Compiling a BSPlib C program with pthreads engine using -link_info and -compile_info output
Compiling a BSPlib C++ program with pthreads engine using -link_info and -compile_info output
Compiling a BSPlib program with mpimsg engine
Compiling a simple LPF program with mpimsg engine
cc1: fatal error: /home/kdichev/hicr9/extern/lpf/tests/functional/func_lpf_hook_subset.mpimsg.c: No such file or directory
compilation terminated.
CMake Error at post-install/post-install-test.cmake:281 (message):
  lpfcc failed to compile a simple MPI LPF program
Call Stack (most recent call first):
  post-install/cmake_install.cmake:46 (include)
  cmake_install.cmake:183 (include)

Compiling a BSPlib program with C++ compiler and mpimsg engine
Running a BSPlib program with pthreads engine
Testing generated CMake module files for engine pthread
Testing generated CMake module files for engine mpimsg
Testing generated CMake module files for engine mpirma

Testing generated CMake module files for engine ibverbs
Testing generated CMake module files for engine zero
CMake Error at post-install/post-install-test.cmake:408 (message):
  'Make test' failed while using the generated CMake module files.  See
  /home/kdichev/hicr9/extern/lpf/build/post-install/cmake-module-test-zero/cmake-module-test.log
Call Stack (most recent call first):
  post-install/cmake_install.cmake:46 (include)
  cmake_install.cmake:183 (include)

Testing generated CMake module files for engine hybrid
Testing compiler frontend compatibility with CMake
CMake Error at post-install/post-install-test.cmake:456 (message):
  Compiler frontends don't seem to work properly during build.  See
  /home/kdichev/hicr9/extern/lpf/build/post-install/cmake-compat-make.log
Call Stack (most recent call first):
  post-install/cmake_install.cmake:46 (include)
  cmake_install.cmake:183 (include)

CMake Error at post-install/post-install-test.cmake:466 (message):
  Compiler frontends don't seem to work properly for running tests.  See
  /home/kdichev/hicr9/extern/lpf/build/post-install/cmake-compat-test.log
Call Stack (most recent call first):
  post-install/cmake_install.cmake:46 (include)
  cmake_install.cmake:183 (include)

make: *** [Makefile:120: install] Error 1

It seems like most (if not all) post install tasks seg. fault:
: Test command: /home/kdichev/hicr9/extern/lpf/build/bin/lpfrun "-n" "2" "-engine" "zero" "/home/kdichev/hicr9/extern/lpf/build/post-install/cmake-module-test-zero/univ_test_FindLPF"
2: Working Directory: /home/kdichev/hicr9/extern/lpf/build/post-install/cmake-module-test-zero
2: Test timeout computed to be: 10000000
2:
2: ===================================================================================
2: =   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
2: =   PID 679570 RUNNING AT srv01
2: =   EXIT CODE: 139
2: =   CLEANING UP REMAINING PROCESSES
2: =   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
2: ===================================================================================
2: YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Segmentation fault (signal 11)
2: This typically refers to a problem with your application.
2: Please see the FAQ page for debugging suggestions
2/2 Test #2: test_cmake_univ_zero .............***Failed    2.63 sec

0% tests passed, 2 tests failed out of 2

Total Test time (real) =   5.36 sec

The following tests FAILED:
	  1 - test_cmake_zero (Failed)
	  2 - test_cmake_univ_zero (Failed)
Errors while running CTest
Output from these tests are in: /home/kdichev/hicr9/extern/lpf/build/post-install/cmake-module-test-zero/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
kdichev@srv01:~/hicr9/extern/lpf/build/post-install/cmake-module-test-zero$ /home/kdichev/hicr9/extern/lpf/build/bin/lpfrun -n 2 -engine zero /home/kdichev/hicr9/extern/lpf/build/post-install/cmake-module-test-zero/univ_test_FindLPF

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   PID 679691 RUNNING AT srv01
=   EXIT CODE: 139
=   CLEANING UP REMAINING PROCESSES
=   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
===================================================================================
YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Segmentation fault (signal 11)
This typically refers to a problem with your application.
Please see the FAQ page for debugging suggestions

This part of the failures is resolved in #26:
Compiling a simple LPF program with mpimsg engine
cc1: fatal error: /home/kdichev/hicr9/extern/lpf/tests/functional/func_lpf_hook_subset.mpimsg.c: No such file or directory
compilation terminated.
CMake Error at post-install/post-install-test.cmake:281 (message):
  lpfcc failed to compile a simple MPI LPF program
Call Stack (most recent call first):
  post-install/cmake_install.cmake:46 (include)
  cmake_install.cmake:183 (include)

Orestis reports it via:
srun -p TaiShanV110 -c 64 -t "2:00:00" --pty /bin/bash
loading environment via Spack
./bootstrap.sh
make
make install


Fix global editorconfig to create correct license header for new files (WIP)

Looks like semi-colon is always recognized as comment, and can never be escaped. Also missing some newlines, and some missing spaces.

Close and reopen to rebuild

I don't get this, this worked before when I created the initial config?

This one worked? https://github.com/NLog/NLog/pull/3972 What am I missing?

No idea maybe because I'm using VS2019 16.8 preview
Sent from my Sony Xperia
---- Julian Verdurmen wrote ----
This one worked? #3972https://github.com/NLog/NLog/pull/3972 What am I missing?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHubhttps://github.com/NLog/NLog/pull/4127#issuecomment-704493203, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACXZ7HCYGBRA75KHVLSXIQTSJNTIJANCNFSM4SD76KBA.

I will test with that one otherwise, Currently on Version 16.7.4

Tested this with Version 16.8.3:

--> https://github.com/MicrosoftDocs/visualstudio-docs/issues/6386

--> https://github.com/dotnet/roslyn/issues/44596
No fix expected for now

We could two things:

Or change all headers (and .editorconfig) so we use comma's
Or close this one and reopen after fix from MS.

Change all headers (and .editorconfig) so we use comma's

I like this one.

Ok I will do that :)

(but only for dev?)

Yes only for dev-branch is fine.
Sent from my Sony Xperia
---- Julian Verdurmen wrote ----
(but only for dev?)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHubhttps://github.com/NLog/NLog/pull/4127#issuecomment-810111628, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACXZ7HAAJFZR2CIYAR6RUWDTGGSI7ANCNFSM4SD76KBA.

I was thinking about this, of only the dev branch then you need always a (manual) change of you add a file in master. Maybe better to wait for NLog 5 when dev is merged into master?
Or just both is still an option, but will do a master to dev before it (of needed)

No idea what is the best. Just annnoying that when creating new files, then the header is wrong by default :)

Closed for now until bug is fixed in VS

@304NotModified Then maybe delete the file_header_template from .editorconfig until the bug has been fixed? (Since it is currently broken)

That's a good idea :)


Need to add interoperate

Hi,
There is no interaction, you can try add.
For example pie chart add click event and dynamically change data.

All charts can change data dynamically except for pie chart. Waiting for @ZhangHang to do so.


Update plugin doc how to use re3data plugin

We have updated the documentation, so beginners get better started with using the re3data plugin. It also helps to understand how option set plugins work.

Thanks!


glob-parent before 5.1.2 vulnerable to Regular Expression Denial of Service in enclosure regex

🐛 Summary
This affects the package glob-parent before 5.1.2. The enclosure regex used to check for strings ending in enclosure containing path separator.
In frontend/package-lock.json
Upgrade glob-parent to version 5.1.2 or later. For example:
"dependencies": {
  "glob-parent": ">=5.1.2"
}

CVE-2020-28469
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Thanks, want to contribute a PR to upgrade the version?

Hi! @epicfaace Thank you for your respond, of course I appreciated that.
Upgrade to glob-parent to version 5.1.2.
"dependencies": {
  "glob-parent": ">=5.1.2"
}

I would love to be invited to the [CisaGov] repository. I really appreciate it.
for the future I will pathced/fixed all vulnerabilities that exist in each project / repo cisagov.

Please fork the repository and submit a pull request!

Hello, I have this vulnerability problem with my adonis js project, could you please help me, thanks
glob-parent  <5.1.2
Severity: high
glob-parent before 5.1.2 vulnerable to Regular Expression Denial of Service in enclosure regex - https://github.com/advisories/GHSA-ww39-953v-wcq6No fix available
node_modules/fast-glob/node_modules/glob-parent
fast-glob  <=2.2.7
Depends on vulnerable versions of glob-parent
node_modules/fast-glob
globby  8.0.0 - 9.2.0
Depends on vulnerable versions of fast-glob
node_modules/globby
cpy  7.0.0 - 8.1.2
Depends on vulnerable versions of globby
node_modules/cpy
@adonisjs/assembler  *
Depends on vulnerable versions of cpy
node_modules/@adonisjs/assembler

Of course, nope


BibTex for this book

Thanks for your excellent work. I plan to cite this project and the related book into a talk and tutorial. I write a Bibtex and think it is helpful for other users who have the same purpose as me.
@online{Klok2019,
  author = {Hayden Klok and Yoni Nazarathy},
  title = {Statistics with Julia},
  subtitle = {Fundamentals for Data Science, Machine Learning and Artificial Intelligence.},
  year = 2019,
  url = {https://people.smp.uq.edu.au/YoniNazarathy/julia-stats/StatisticsWithJulia.pdf},
  urldate = {2019-07-14}
}

Thank you JiaxiangBU. The book has a contract with Springer and will be published via Springer. The online version will be removed (however code will remain available) once published. In your Bibtex entry, maybe just remove "howpublished".

In your Bibtex entry, maybe just remove "howpublished".

Just wait for this published one and I drop this entry in the issue body.


I would like to work on this

Hello, I am Akrati Kushwah from frontend batch 14, I would like to work on this.I have created various projects like a digital clock, my portfolio website,  tic toe game, CGPA calculator, etc you can see my GitHub profile. I would be really grateful if you give me this project to work on.

Hello, I am Akrati Kushwah from frontend batch 14, I would like to work on this.I have created various projects like a digital clock, my portfolio website, tic toe game, CGPA calculator, etc you can see my GitHub profile. I would be really grateful if you give me this project to work on.

Hyy, you have spammed the same issue like 5 times. Please don't break the code of conduct

Sorry , I didn't knew that I have to write different description for different issues... Really sorry

If you want to work on a issue just go there and ask them to assign it for you


Cannot fetchUserRepositories use the code.

Code:
OCTUser *user = [OCTUser userWithRawLogin:@"Janrin" server:OCTServer.dotComServer];
OCTClient *client = [OCTClient unauthenticatedClientWithUser:user];
RACSignal *request = [client fetchUserRepositories];
[request subscribeNext:^(OCTRepository *repository) {
NSLog(@"%@", repository.name);
} error:^(NSError *error) {
NSLog(@"%@", error);
} completed:^{
NSLog(@"done.....");
}];
Console Log:
2015-08-22 14:58:27.467 Example[5234:471735] Error Domain=OCTClientErrorDomain Code=668 "Not Found" UserInfo=0x7ff872c685a0 {NSLocalizedDescription=Not Found, OCTClientErrorHTTPStatusCodeKey=404, OCTClientErrorRequestURLKey=https://api.github.com/users/(null)/repos?per_page=100, NSUnderlyingError=0x7ff872d29bb0 "Expected status code in (200-299,304), got 404"}

Huh, that does indeed look like a bug.
+userWithRawLogin:server: should (probably?) set the login as well.

Was this resolved ?


update node versions to 4,6,7

Time marches on, and the list of currently supported node.js
versions has changed.

Hmm... the mdns package is failing to install (failing to compile) for all versions.

@drewfish Check these docs: https://docs.travis-ci.com/user/languages/javascript-with-nodejs#Node.js-v4-(or-io.js-v3)-compiler-requirements

Strange, didn't seem to take:
../node_modules/nan/nan.h:43:3: error: #error This version of node/NAN/v8 requires a C++11 compiler

I didn't see the env setting in the build config:
https://travis-ci.org/yahoo/reginabox/jobs/195619543/config

I got confused. It's building well now.

👍


4899 flake8

Resolves #4899
This PR uses autopep8 instead of black for autoformatting (black is opinionated).
Merge blocked pending https://github.com/hydroshare/hydroshare/pull/4877

Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

[Enter positive test case here]

METRIC
VALUE

https://sonarqube.cuahsi-workstation.com:9000/dashboard?id=hydroshare-4914


Accessing engine service during acceptance test

We are running an acceptance test, during which we want to stub out a method on one of the services which is included on the engine. I don't think/I can't find a clean way to get access to this service from the acceptance test.
Originally we tried this:
test('send view event on result page', async function(assert) {
  let count = 0;
  this.application.resolveRegistration('booking-flow@service:ecommerce-analytics').reopen({
    reportView(folder) {
      assert.ok(folder.get('cents'), 'Folder has a price');
      assert.ok(folder.get('origin'), 'Folder has an origin');
      assert.ok(folder.get('destination'), 'Folder has a destination');
      count++;
    },
  });

  /* some function that gets test to right state */
  await goToResult.call(this, assert);

  assert.equal(count, 1, 'reportView is called once');
});

The problem being here that we reopen the class and not the instance of the service, so 1 test works, subsequent tests break as they have all the other stubs on them. We solved this by doing the following:
test('send view event on result page', async function(assert) {

  let count = 0;
  reopenEcommerceAnalytics(this, {
    reportView(folder) {
      assert.ok(folder.get('cents'), 'Folder has a price');
      assert.ok(folder.get('origin'), 'Folder has an origin');
      assert.ok(folder.get('destination'), 'Folder has a destination');
      count++;
    },
  });

  await goToResult.call(this, assert);

  assert.equal(count, 1, 'reportView is called once');
});

async function reopenEcommerceAnalytics(context, hash) {
  // we need to access the app so the router is instantiated and can be looked
  // up below via lookup('router:main')
  await visit('/');

  let router = getOwner(context).lookup('router:main');

  // object hash wich contains all instances of this engine, where the key is
  // incremented for every new instance of this engine
  let bookingFlowInstances = router._engineInstances['booking-flow'];

  // since we only mounted the engine once, the current booking flow engine
  // instance is always via the first (and only) key
  let [instanceKey] = Object.keys(bookingFlowInstances);
  let bookingFlowEngine = bookingFlowInstances[instanceKey];

  let ecommerceService = bookingFlowEngine.__container__.lookup('service:ecommerce-analytics');

  ecommerceService.reopen(hash);
}

Is there an easier way to get an instance of a service registered on an engine from a host app? Or a better way to test a service on an engine?

@geekygrappler
import { registerHelper } from '@ember/test';

export default registerHelper(
  'extendService',
  function (application, serviceName, serviceStub, injectIntos, stubName = 'stub') {
    injectIntos = injectIntos || ['route'];
    let service = application.resolveRegistration(`service:${serviceName}`);
    let service2 = service.extend(serviceStub);
    application.unregister(`service:${serviceName}-${stubName}`);
    application.register(`service:${serviceName}-${stubName}`, service2);
    injectIntos.forEach((injectInto) => {
      application.inject(injectInto, serviceName, `service:${serviceName}-${stubName}`);
    });
    let serviceInstance = application.__container__.lookup(`service:${serviceName}-${stubName}`);
    application[`${serviceName}Service`] = serviceInstance;
    return serviceInstance;
  }
);

Seems to have issue with that once we start using a shared service with the engine though (the stub doesn't seem to be shared)

I used the code of @geekygrappler above to try and extend the services in my engines, problem I have now is that the engines are not instantiated when using the helper in my app - even with the setup in https://github.com/ember-engines/ember-engines#testing-for-standalone-engines.
Going to an engine route before running the code below is not an option, as what I want to test is a redirection (i.e. I never stay in the engine in tha ttest scenario).
import { registerHelper } from '@ember/test';

export default registerHelper(
  'extendService',
  function (application, serviceName, serviceStub, injectIntos, stubName = 'stub') {
    injectIntos = injectIntos || ['route'];
    let service = application.resolveRegistration(`service:${serviceName}`),
      service2 = service.extend(serviceStub),
      router = application.__container__.lookup('router:main'),
      engineInstances = router._engineInstances;//length is 0
    application.unregister(`service:${serviceName}-${stubName}`);
    application.register(`service:${serviceName}-${stubName}`, service2);
    injectIntos.forEach((injectInto) => {
      application.inject(injectInto, serviceName, `service:${serviceName}-${stubName}`);
      Object.keys(engineInstances).forEach((key) => {
        engineInstances[key].inject(injectInto, serviceName, `service:${serviceName}-${stubName}`);
      });
    });
    let serviceInstance = application.__container__.lookup(`service:${serviceName}-${stubName}`);
    application[`${serviceName}Service`] = serviceInstance;
    return serviceInstance;
  }
);

So I'm using an extendService helper now in my engine's moduleForAcceptance file:
//oam-appointments-engine/tests/helpers/module-for-acceptance

const metricsServiceStub = {
  init() {
    this._pageReport = [];
    this._eventReport = [];
  },
  _pageReport: [],
  _eventReport: [],
  trackPage: function ({url}) {
    this._pageReport.pushObject(url);
  },
  trackEvent: function (data) {
    this._eventReport.pushObject(data);
  }
};

export default function (name, options = {}) {
  module(name, {
    beforeEach(assert) {
      this.application = startApp();
      if (options.beforeEach) {
        //it's differing from an app here:
        //we need to do the mirage scenario stuff BEFORE extending the services
        //as we already visit a route straightafter (/premises/1/accounts/book-engineer/dummy-router-instantiate)
        //this means that:
        //* we cannot use extended services in beforeEach hooks
        //* we cannot change the mirage scenario in tests
        options.beforeEach.apply(this, arguments);
      }
      visit('/premises/1/accounts/book-engineer/dummy-router-instantiate');
      extendService('metrics', metricsServiceStub, ['route', 'model', 'component', 'controller', 'serializer', 'adapter'], true);
      andThen(() => {
        let router = this.application.__container__.lookup('router:main'),
          engineInstances = router._engineInstances,
          engineInstanceKeys = Object.keys(engineInstances['oam-appointments-engine']);
        this.engineInstance = engineInstances['oam-appointments-engine'][engineInstanceKeys[0]];
      });
    },
    afterEach() {
      let afterEach = options.afterEach && options.afterEach.apply(this, arguments);
      return Promise.resolve(afterEach).then(() => destroyApp(this.application));
    }
  });
}

Looking at above, looks like things would be solved best by having the registerHelper automatically / optionally plug on engines, or by having  an registerHelperForEngine helper??

OK, I think I found a far simpler solution with @rwjblue 's help.
This apparently works without problem with engines, as we don't need to resolve a service then reinject under a different namespace. Also, extending instead of reopening the class prevents memory leaks, and also to only change small parts of a service while keeping the main class intact.
//oam-appointments-engine/tests/helpers/extendable-services
//just re-export from services folders the one we can extend in tests, to be able to access a global object containing these services:
export {default as windowService} from 'oam/services/window';
export {default as trackjsService} from 'oam/services/trackjs';
export {default as metricsService} from 'oam/services/metrics';
export {default as optileadService} from 'oam/services/optilead';
export {default as toastService} from 'oam/services/toast';
export {default as abService} from 'oam/services/ab';
export {default as configServiceService} from 'oam/services/config-service';
export {default as oauthService} from 'oam/services/oauth';
export {default as passwordlessServiceService} from 'oam/services/passwordless-service';

//oam-appointments-engine/tests/helpers/extend-service
import { registerHelper } from '@ember/test';
import * as services from './extendable-services';

export default registerHelper(
  'extendService',
  function (application, name, serviceStub) {
    let serviceName = `${name}Service`,
      service2 = services[serviceName].extend(serviceStub),
      container = application.__container__;
    container.owner.register(`service:${name}`, service2);
    application[serviceName] = container.lookup(`service:${name}`);
  }
);

//oam-appointments-engine/tests/helpers/start-app.js
import extendService from './extend-service';
//..

//oam-appointments-engine/tests/helpers/module-for-acceptance.js
const windowServiceStub = {
windowObject: {
location: {
pathname: 'my-account',
href: null,
search: '',
host: window.location.host
},
navigator: {
msSaveOrOpenBlob: false
},
open() {
return windowForPdfStub;
},
addEventListener() {},
removeEventListener() {},
scrollTo() {},
digitalData: null
}
};
extendService('window', windowServiceStub);
this.windowService = this.application.windowService;
//..

There even seems to be a problem when using the new test syntax:
// MyService = service from engine or addon
let mock = MyService.extend({ mockedProperty() { ... });
let service = this.owner.register('service:my-service', mock);

I would suppose that this work (either from beforeEach or within a test), but I can't get to make it work - it keeps injecting the original service (in this case it's a service from an addon within the engine, which I've overridden in engine). Am I doing something wrong or is this an issue? Maybe this is also related to #525?

@arm1n just a guess: try this.owner.unregister('service:my-service') first?

are there any news about making this work when using new test syntax?

Bumping ☝

Also just came across this issue when trying to stub values on the router service for an engine in an acceptance test.... I suppose there was no progress?

Also just came across this issue when trying to stub values on the router service for an engine in an acceptance test.... I suppose there was no progress?

@lougreenwood would that help you?
//extend-service.js
import {getContext} from '@ember/test-helpers';
import {run} from '@ember/runloop';
import {dasherize} from '@ember/string';

export function extendService(name, serviceStub) {
  const {owner} = getContext();
  //can add separate mapping later on if the list grows
  const addonName = name === 'metrics' ? 'ember-metrics' : 'ukh-web-addon-parent-dependencies';
  const service1 = require(`${addonName}/services/${dasherize(name)}`).default;
  const service2 = service1.extend(serviceStub);
  run(() => {
    owner.unregister(`service:${name}`);
    owner.register(`service:${name}`, service2);
  });
}

and use it in a beforeEach hook:
const windowServiceStub = {};
extendService('window', windowServiceStub);

@lougreenwood would that help you?
//extend-service.js
import {getContext} from '@ember/test-helpers';
import {run} from '@ember/runloop';
import {dasherize} from '@ember/string';

export function extendService(name, serviceStub) {
  const {owner} = getContext();
  //can add separate mapping later on if the list grows
  const addonName = name === 'metrics' ? 'ember-metrics' : 'ukh-web-addon-parent-dependencies';
  const service1 = require(`${addonName}/services/${dasherize(name)}`).default;
  const service2 = service1.extend(serviceStub);
  run(() => {
    owner.unregister(`service:${name}`);
    owner.register(`service:${name}`, service2);
  });
}

and use it in a beforeEach hook:
const windowServiceStub = {};
extendService('window', windowServiceStub);


MudMenu - on mobile when a dialog is opened from a MudMenuItem the dialog is closed automatically.

Bug type
Component
Component name
MudMenuItem
What happened?
Given a MudMenu with a MudMenuItem within
When the user touches the MudMenuItem to open a MudDialog
The MudDialog is closed automatically
Expected behavior
The MudDialog should stay opened
Reproduction link
https://try.mudblazor.com/snippet/wYcxPPFDmkJTmqSk
Reproduction steps

On desktop click on Open Menu
Click on Open Dialog item
Observed that the dialog is displayed
Click outside of the dialog
Observed that the dialog is closed
Switch on Mobile from developer tools
Click on Open Menu
Click on Open Dialog item
Observed that the dialog is not displayed

Relevant log output
No response
Version (bug)
6.11.0
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

It might be related with another issue that was fixed in past https://github.com/MudBlazor/MudBlazor/issues/4549

I'm having the same problem.
You can workaround it by using the DialogOption DisableBackdropClick=true (which is quite of an inconvenient UX for mobile :D)


Tests for CYA page

Some tidy up to be done in general but also for Xpath/selectors for review page as order changes
Move some tests to own feature file


Update Academicons version to support latest icons

Feature Request
Is your feature request related to a problem? Please describe.
Latest version of Academicons adds support for many new icons used frequently in academia and fixes some problems with icons in the previous version: Check the Website or GitHub.
Describe the solution you'd like
Just updating to the latest version.
Additional context
I think I can do a pull request myself, but I'm not sure if changing the link on the data/assets.toml file is enough to update the version of Academicons.

Is there any breaking change preventing this update?


removed lodash from index file

Coverage remained the same at 98.79% when pulling 4e155731b5854da1c7f07b4c268ab7944ed78ee1 on crubin/lodash-fix into 88395ea0022fec8e2c271a2d74365bfec67807cb on master.


Problems with boot

It's nice that it boots but this is still problematic. Not sure why it's so upset about having to use gzip-6 when the ISO handles it just fine. Typo maybe? Will look into it further. I will also see on using a different compression algorithm.
Lastly there is the issue of it not booting correctly, which I assume to be an issue based on the compression algorithm issue, but I will look around to see what I may have done wrong.

Progress update, fixed the boot issue and it now boots to this. Going to look into what I did wrong and how to fix it

I usually fix this by adding a label with gpart modify -i index -l label geom

Adding a label should work. I could have a manual /etc/fstab generator in the build script with some default values.

I was looking through the codebase to see if there was anything I missed and yes, the issue is I forgot I needed to generate the /dev/fstab file

I added the FSTAB and did a test, did not change a thing:
https://github.com/Potabi/PCLI/blob/45a052cdc049460dff26d175acd30ce424c6359a/build.new.sh#L73-L77

Looking at the error message some more, and I think I see the issue with my current setup

I tested to see if we can load zroot, but I couldn't. The zroot is where I have all the source.

@time-killer-games Could you perhaps look into the code some more, I can't seem to figure out the issue.

if you can figure out what I am doing wrong here, that'd be awesome.

Uh huh... Yes. I think I found the issue :)

Hell yeah, progress

Uh it paused here, and I think that's that. We have a basic installer tool >.>


0.135.0 version of emulator crashes with unsupported architecture aarch64

The 0.135.0 jar pulled here:
<dependency>
     <groupId>com.google.cloud</groupId>
     <artifactId>google-cloud-bigtable-emulator</artifactId>
     <version>0.135.0</version>
     <scope>test</scope>
</dependency>

Crashes with an aarch64 exception. The .class file shows that the conditional does not check for arm.
Where can I get a maven dep that has the newest version of the code, the one on main in this repository?

Hi @ce07c3, I believe the feature you're looking for was included in emulator version 0.142.0 (see https://github.com/googleapis/java-bigtable/releases/tag/v2.5.0).
Currently, the latest version of the emulator is 0.153.0 -  https://search.maven.org/artifact/com.google.cloud/google-cloud-bigtable-emulator
Please let us know if you have any other issues. Thanks!

Hi @ce07c3, I believe the feature you're looking for was included in emulator version 0.142.0 (see https://github.com/googleapis/java-bigtable/releases/tag/v2.5.0).
Currently, the latest version of the emulator is 0.153.0 - https://search.maven.org/artifact/com.google.cloud/google-cloud-bigtable-emulator
Please let us know if you have any other issues. Thanks!

Thank you so much for your swift reply. I will try that out - I must have missed that somehow. I will close this ticket for now. 🙂


Streamline ParseType Logic

The ParseType code has a lot of jumps and incongruity in respect to the code's behavior despite there being functions that have identical behavior. For readability, and to highlight this, I refactored this file to better reflect that.

Done!

Indeed it is!

OK, please address any review comments from the previous PR that remain applicable.

Please update the base branch to main by Oct 5th otherwise the pull request will be closed automatically.

How to change the base branch: (Link)
More detail about the branch update: (Link)


⚠ ClamAV has degraded performance

In 8536b2e, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 448 ms

Resolved: ClamAV performance has improved in 473c189.


Mod loading error has occurred

https://mclo.gs/98wygd7

https://github.com/george8188625/Create-Diesel-Generators/issues/41

It seems like the crash won't happen again? It's strange, I'll open this issue again when the problem occurs once more.

Occasional crash. The most recent crash log: https://mclo.gs/UXxjZ4H

I don't really know what causes this issue to be honest, at line 83 the sprite shifts are loaded and it says there is some hashmap error, I believe this is a flywheel error since that's where the crash points with the concurrent modification exeption

Thank you for your response. Should I report it to Flywheel or Create?

don't report it yet, I'm gonna look into that issue more

Of course, I will always wait for your message.

that's something I can't really fix, if 2 mods register the sprite shifts at the exact same time the crash happens

Can you adjust the registration order to make compatibility? Or there's another way

when I did it later sometimes the connected textures didn't work, I can't register it before it already is

Do you know what another mod that registers with sprite shifts is?

any mod that uses creates connected textures

So, there's a really interesting question here. If I install more than one mod of this type (in fact, I should have installed more than one), why don't they conflict with each other?

https://www.curseforge.com/minecraft/mc-mods/create-deco
https://www.curseforge.com/minecraft/mc-mods/create-crystal-clear
https://www.curseforge.com/minecraft/mc-mods/create-steam-n-rails
I know of these three mods, there may be more. I have a modpack with over 500 mods.

So, there's a really interesting question here. If I install more than one mod of this type (in fact, I should have installed more than one), why don't they conflict with each other?

I don't really know, it's happening at random, but it's weird that it only starts happening with c:dg, I don't have any other explanation as the ConcurrentModificationExeption happens when a map is modified at the same time, which only can be done by two mods registering these sprite shifts at the same time. I use many mods using creates connected textures and I've never got an error like that

So there's no way to solve it?

Most likely I can't do anything to fix it

Well, I'm sorry to have to give up adding this mod to my modpack.


AttributeError: module 'numba' has no attribute 'core'

numba 0.49.0
import numba
Traceback (most recent call last):
File "", line 1, in
import numba
File "C:\Users\ks0063\AppData\Local\Continuum\anaconda3\lib\site-packages\numba_init_.py", line 17, in
from numba.core import types, errors
File "C:\Users\ks0063\AppData\Local\Continuum\anaconda3\lib\site-packages\numba\core\types_init_.py", line 8, in
from .functions import *
File "C:\Users\ks0063\AppData\Local\Continuum\anaconda3\lib\site-packages\numba\core\types\functions.py", line 9, in
_termcolor = errors.termcolor()
File "C:\Users\ks0063\AppData\Local\Continuum\anaconda3\lib\site-packages\numba\core\errors.py", line 291, in termcolor
scheme = themes[numba.core.config.COLOR_SCHEME]
AttributeError: module 'numba' has no attribute 'core'

Thanks for the report. Please could you provide more information:

How did you install Numba?
What you were doing to trigger this problem?
Does this happen all the time?
Does this happen in a new environment?

Thanks for your help.

I tried both  conda update numba and  pip install numba
I tried to make quantecon-0.4.7 to work. when I was importing quantecon I got an error
File "C:\Users\ks0063\AppData\Local\Continuum\anaconda3\lib\site-packages\quantecon\util\numba.py", line 15, in
types.float32: 's',
AttributeError: module 'numba.types' has no attribute 'float32'

python 3.7.7 (default, Apr 15 2020, 05:09:04) [MSC v.1916 64 bit (AMD64)]
quantecon-0.4.7
numba-0.49.0

@shahkirill please could you try the recently released Numba 0.49.1, it's available as described here: https://groups.google.com/a/continuum.io/forum/#!topic/numba-users/DqSatiOo3ks and would likely fix the problem described. Thanks.

I am getting a similar error with Numba 0.49.1 under python version 3.6.9
I'm trying to install umap-learn in a NGC docker container which uses conda.
Get this:
`---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
 in
----> 1 import numba
2 import umap
/opt/conda/lib/python3.6/site-packages/numba/init.py in
27
28 # Re-export types itself
---> 29 import numba.core.types as types
30
31 # Re-export all type names
AttributeError: module 'numba' has no attribute 'core'`
tried to install numba separately with
pip install numba  conda update numba
no effect.

For anyone who is still experiencing this, you may want to try setting up your environment from scratch and installing the most recent version of Numba directly i.e. without updating. Current evidence in https://github.com/numba/numba/issues/5677 seems to point towards the idea that this issue may be introduced locally during the update process for some people.

Same issue here. Tried 0.49.0 and 0.48.0. Both have same issue. I created separated environment yet  there is problem.

@Eddieliu0514 thanks for reporting back about this. The module numba.core is definitely there: https://github.com/numba/numba/tree/master/numba/core -- so maybe you could submit the piece of code you are using that has this error. Perhaps that will allow us to move forward on this issue?

Closing this issue as no new information has been provided. It is assumed that the above resolved the reported issue, if this is not the case please reopen the issue with new information. Many thanks.


TyD1 F1 configurability

aferritto created the following on Apr 21:

[ ] Allow language configuration for metric
[ ] Min non-null thresholds (sa/la)
[ ] skip_missing_example_ids
[ ] minimal_offsets_per_passage

Original issue: https://github.ibm.com/ai-foundation/PrimeQA/issues/146

@bhavani105 : please update the status and the pipeline label for this issue


API/MNT: make qt_kicker not install on import

There is now a function install_qt_kicker in qt_kicker which must be
called to install the kicker.
THIS WILL REQUIRE A CHANGE TO THE BEAMLINE CONFIG
The suggested pattern is:
from bluesky.qt_kicker import install_qt_kicker
install_qt_kicker()
closes #214

:+1: much prefer the explicit call

Previously the qt-kicker loop started on import. Now you it does not start until you explicitly tell it to. Why the change in behavior?  I am not advocating for one over the other but I would like to understand what the rationale for the change is

Because registering something like this on import as a bit surprising.

Cool. Thanks for the explanation.  Makes sense to change the behavior so that you have to explicitly activate the kicker

Removed debugging statements and try/except logic

To quote my comment above:

Not until 1.5 is tagged at least.

@tacaswell Why remove the code that let this work on < 1.5? If you want to assume >= 1.5 in some callbacks, that's fine with me, but I don't see the advantage in making this utility less useful.


Intro and monitor are called in parallel

The intent is to have monitor get called after intro, however, they are getting called in parallel.
https://github.com/Nordstrom/serverless-artillery/blob/4151fc4e420162e27fd05fdd112458960684636a/tests/integration/run.integration.js#L25

This has been fixed. The integration tests now run sequentially. Closing.


Span EPERM Issue

I am not sure what the issue is here. But I don't think it should be throwing a permissions issue when setting the UID field. Any way I can help let me know.
internal/child_process.js:298
    throw errnoException(err, 'spawn');
    ^

Error: spawn EPERM
    at exports._errnoException (util.js:870:11)
    at ChildProcess.spawn (internal/child_process.js:298:11)
    at exports.spawn (child_process.js:362:9)
    at loop (/Users/Alex/code/systems/alive/node_modules/respawn/index.js:106:17)
    at Monitor.start (/Users/Alex/code/systems/alive/node_modules/respawn/index.js:180:3)
    at Object.exports.add (/Users/Alex/code/systems/alive/index.js:173:10)
    at Object.<anonymous> (/Users/Alex/code/systems/alive/test.js:15:7)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)

isn't this being emitted as a error on the monitor?

I am not sure. I will create an example and post it. Also the monitor starts when running the script with sudo.


Change appendenvpath default

Potential solution for https://github.com/SCons/scons/issues/3276
Change the default to not touch the path.
Contributor Checklist:

[ ] I have created a new test or updated the unit tests to cover the new/changed functionality.
[x] I have updated master/src/CHANGES.txt directory (and read the README.txt in that directory)
[ ] I have updated the appropriate documentation

So this is ready to merge right?
mingw failure expected at this point?

Yeah, this ones good to go
On Fri, Feb 1, 2019, 5:13 PM William Deegan<EMAIL_ADDRESS>wrote:

So this is ready to merge right?
mingw failure expected at this point?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SCons/scons/pull/3281#issuecomment-459900036, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AF2YzAdBMaAYP5CR1t9byLMKASqobMhLks5vJMoRgaJpZM4aVHBC
.


Share my experience Boost 1.55 on OSX 10.10 Yosemite

Today I have to build Boost-for-Android because it's needed in this project "sh1r0/caffe-android-lib".
My system is OSX 10.10 Yosemite, My Android NDK version is "r10e", after clone this project, I download the "boost_1_55_0.tar.bz2" and put it inside Boost-for-Android folder
cd Boost-for-Android

basically i need to compile part of boost for android-caffe project with this command:
./build-android.sh /Users/ABC/Work/Libs/android-ndk-r10e --boost=1.55.0 --with-libraries=date_time,math,random,thread,system

error:
Undefined or not supported Android NDK version!

fix:
in "build-android.sh" file, after
    "10 (64-bit)"|"10b (64-bit)"|"10c (64-bit)"|"10d (64-bit)")
        TOOLCHAIN=${TOOLCHAIN:-arm-linux-androideabi-4.6}
        CXXPATH=$AndroidNDKRoot/toolchains/${TOOLCHAIN}/prebuilt/${PlatformOS}-x86_64/bin/arm-linux-androideabi-g++
        TOOLSET=gcc-androidR8e
        ;;

add
    "10e (64-bit)")
        TOOLCHAIN=${TOOLCHAIN:-arm-linux-androideabi-4.9}
        CXXPATH=$AndroidNDKRoot/toolchains/${TOOLCHAIN}/prebuilt/${PlatformOS}-x86_64/bin/arm-linux-androideabi-g++
        TOOLSET=gcc-androidR8e
        ;;

so that it recognize the newest "r10e" NDK version, and in "r10e" NDK, it only contains androideabi-4.8 and androideabi-4.9, there isn't androideabi-4.6 anymore.

error:
In file included from ./boost/date_time/gregorian/greg_month.hpp:12:0,
                 from libs/date_time/src/gregorian/greg_month.cpp:14:
./boost/date_time/constrained_value.hpp:12:21: fatal error: exception: No such file or directory
 #include <exception>
                     ^
compilation terminated.

    "arm-linux-androideabi-g++"  -ftemplate-depth-128 -D__arm__ -D_REENTRANT -D_GLIBCXX__PTHREADS -O3 -finline-functions -Wno-inline -Wall -fexceptions -frtti -fpic -ffunction-sections -funwind-tables -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -Wno-psabi -march=armv5te -mtune=xscale -msoft-float -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -I/Users/ABC/Work/Libs/android-ndk-r10e/platforms/android-9/arch-arm/usr/include -Wa,--noexecstack -DANDROID -D__ANDROID__ -DNDEBUG -O2 -g -I/Users/ABC/Work/Libs/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.6/include -I/Users/ABC/Work/Libs/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.6/libs/armeabi/include -fvisibility=hidden -fvisibility-inlines-hidden -fdata-sections -pthread  -DBOOST_ALL_NO_LIB=1 -DBOOST_DATE_TIME_STATIC_LINK -DDATE_TIME_INLINE -DNDEBUG  -I"." -c -o "bin.v2/libs/date_time/build/gcc-androidR8e/release/link-static/target-os-linux/threading-multi/gregorian/greg_month.o" "libs/date_time/src/gregorian/greg_month.cpp"

...failed gcc.compile.c++ bin.v2/libs/date_time/build/gcc-androidR8e/release/link-static/target-os-linux/threading-multi/gregorian/greg_month.o...

fix:
in "configs/user-config-boost-1_55_0.jam", since the "TOOLSET" for "r10e" is "androidR8e" in "build-android.sh" file, so after
# --------------------------------------------------------------------
using gcc : androidR8e
:
arm-linux-androideabi-g++

i change
<compileflags>-I$(AndroidNDKRoot)/sources/cxx-stl/gnu-libstdc++/4.6/include
<compileflags>-I$(AndroidNDKRoot)/sources/cxx-stl/gnu-libstdc++/4.6/libs/armeabi/include

to be
<compileflags>-I$(AndroidNDKRoot)/sources/cxx-stl/gnu-libstdc++/4.9/include
<compileflags>-I$(AndroidNDKRoot)/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi/include

Actually there is no "/Users/ABC/Work/Libs/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.6/include" and "/Users/ABC/Work/Libs/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.6/libs/armeabi/include" folders, that's why it cannot find exception.hpp.

about "build-android.py" file: "$PROGDIR" is "Boost-for-Android" folder, "$BOOST_DIR" is "boost_1_xx_x" folder, by default every time you run "./build-android.py" it will delete the "boost_1_xx_x" folder and "build" folder, then unzip the "boost_1_xx_x.tar.bz2" again, which is a bit annoying when you are debugging the compilation errors, you can comment line 148-151
#if [ -d "$PROGDIR/$BOOST_DIR" ]; then
    #echo "Cleaning: $BOOST_DIR"
    #rm -f -r $PROGDIR/$BOOST_DIR
#fi

then when you run "build-android.py", it will only delete build folder.
Also by default "build-android.py" will copy "configs/user-configboost-1_xx_x.jam" to be "boost_1_xx_x/tools/build/v2/user-config.jam" in line 353 after apply patches to boost, and it actually calls "boost_1_xx_x/tools/build/v2/user-config.jam" file's configurations when it complies. If you comment the line 148-151 as i mentioned above, running "build-android.py" will not copy jam file anymore, so you will need to change "boost_1_xx_x/tools/build/v2/user-config.jam" instead of "configs/user-configboost-1_xx_x.jam" when fix the second type of error.
After all i only built few modules (date_time,math,random,thread,system), and i got stucked in the second type of error for almost a whole day, as i found in "Boost-for-Android/boost_1_55_0/boost" folder there is also "exception.hpp" file and a "exception" folder, at first i thought it was trying to include this header file instead of the "exception.hpp" in NDK folder, so i tried to include "Boost-for-Android/boost_1_55_0/boost" many times but still got the same error untill i found there is no ".../gnu-libstdc++/4.6/..." folders inside NDK.
I still got a "link.jam: No such file or directory" thing, but the compilation finished and seems all the libraries i need are built, hope it works fine in run time.

Thanks for sharing this, has helped me a lot!


broken assets fixed

fixed broken play and sfx assets
added .idea directory to .gitignore (used by Webstorm)

Signed-off-by: Microwavekonijn<EMAIL_ADDRESS>

#38


Upgrade worker to upstream

There are a few mandatory features in the upstream worker that we need.
It is best to wait until  https://github.com/integritee-network/worker/pull/1337 is merged. Then we have a clean state, which is updated to the newest Polkadot version and it will prolong the time we don't need maintenance here. The merge of this PR is currently blocked by a bug.

Hmm, actually. As we run the BEST-energy worker in the Offchain worker mode, we can integrate the changes of https://github.com/integritee-network/worker/pull/1337 before this PR is merged.

Done


Add noGui to the list of configurable options

So I don't have to alias or manually type --no-gui when invoking

Please reconsider, I hate having to use things like bash scripts or aliases. I generally agree that launch arguments shouldn't permanently set configuration options permanently, but I don't see anything about the PR that really implies that. Is that just how Syncplay works? I think it'd be better to change that.
I don't like to have many different windows open at once, and I think this is definitely one of those kinds of programs that shouldn't need any more than one. I never run mpv in anything that's not fullscreen either, so having to minimise it to do things is pretty inconvenient.


Sentinel without AUTH and replicas with AUTH

Describe the bug
I'm trying to connect sentinel
Sentinel does not have authentication, but replicas do have a password.
Can't create client that uses password only for Redis replica
To Reproduce
        $sentinels = ["tcp://my_sentinel:26379"];

        $client = new Client($sentinels, [
            "replication" => "sentinel",
            "service" => "test",
            "parameters" => [
                "password" => "mypassword",
                "database" => "0",
            ],
        ]);

        $client->connect();

If config have  "password"  -- get an error "No sentinel server available for autodiscovery". Client send AUTH to sentinel connections.
If config dont have "password" :
Predis\Connection\ConnectionException : SELECTfailed: NOAUTH Authentication required. [tcp://<IP_ADDRESS>:6379]
Client dont use AUTH for replica.
.
Versions (please complete the following information):

Predis: 2.
PHP 8.1
Redis Server  6.2.
Ubuntu

Maybe I'm doing something wrong?

It's a known issue. Pull Requests welcome. See #782.

If there's no password on sentinels then you need to set password in url as empty string, otherwise it will use default redis password for sentinels and fail. This is breaking change from 1.1.10 to 2.0.0, try something like this:
$sentinels = array(
    'tcp://sentinel1:26379?password=',
    'tcp://sentinel2:26379?password=',
    'tcp://sentinel3:26379?password=',
);

$client = new Predis\Client($sentinels, array(
    'replication' => 'sentinel',
    'service' => 'mymaster',
    'parameters' => ['database'=> 0, 'password' => 'redis-password']
));

I don't have the bandwidth to test Sentinel setups. I'm open to PRs with test cases and detailed explanations.

I was facing this issue. My issue got resolved after increasing the timeout.
I face another issue, while investigating, it is found that in SentinelReplication.php we are using SENTINEL slaves command which is not supported in new version IMHO. I tried with sentinel help command in redis-cli and unable to find it. When i switch the command to SENTINELS then it work. Not sure either it was the exact fix or not.

The missing command was re-added in 7.0.1: https://github.com/redis/redis/pull/10723

Looks like this was mentioned here https://github.com/predis/predis/issues/658 and already fixed here https://github.com/predis/predis/commit/16957f3b39679b42b08ed2100debf4af89170fa4 but was reverted and broken again here https://github.com/predis/predis/commit/619890f7154ccb6aca758fe23fd4a5fd2f728caa. That commit was done by you @tillkruss do you remember what fix test was for?

Digging further, it looks like it was broken on 1.1.5 and fixed on 1.1.6 (https://github.com/predis/predis/commit/16957f3b39679b42b08ed2100debf4af89170fa4) but 2.0.0-beta1 was merged from 1.1.5 (https://github.com/predis/predis/commit/d954e9f43f75d33a04b15a210a801cb1fe7837c8) so current code has what 1.1.6 claimed to be a bug in it. And current fixes are not merged because they don't have the appropriate tests. Was 2.0.x forked from 1.1.5, was there a reason why later developments where dropped, I don't know the history?
I'll see what I can come up with in therms of a mr. I'd appreciate any pointers.

@tillkruss is there a sentinel authentication scenario currently in predis? From what I can see any authentication with sentinal just does not work and because of this issue redis authentication with sentinal does not work. As mentioned before the code committed on 1.1.5 was admittedly broken.
I'll look at it but with tests that the removal won't break other sentinel authentication scenarios requires fully developing sentinel authentication as it does not exist in predis.
I might be wrong of course, and if there is currently working sentinel authentication implementation in the code that I am not able to see, then I am sorry and it is perfectly fine to tell everybody to use authentication, don't use an open system. But if I am correct than the current stance forces sentinel use to opening redis itself.

@mta59066: I don't know TBH, I don't use Redis Sentinel myself.

I built test servers with redis-3.2.12 and redis-7.0.5, and created master-slave and multiple sentinel configurations, with and without authentication (basic authentication not user/acl). Predis sentinel authentication under these setups works fine. The way to get replica-authentication with no-sentinel-authentication is to pass empty password on the uri ('tcp://sentinel1:26379?password=') as it was suggested earlier by @dakorpar.
The requirement for empty password is not documented and I think it should work without it, so I'll send a pr that handles that with tests that make sure current empty password method works as expected as before.

pr #807

Closed via #807.


Wrap external provider inside NamedDomainObjectProvider

It allow NamedDomainObjectCollection#named to work properly.
Context
See https://github.com/gradle/gradle-native/issues/709.
Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

Closing this PR as fixing the ClassCastException in named cause the issue fixed in https://github.com/gradle/gradle/pull/6614.

The PR will be merged with the other one.


Greenkeeper/@types/node 10.11.2

Coverage remained the same at 91.304% when pulling dbc774fcf9f29b043d542eedb7f9d27c64509ba0 on<EMAIL_ADDRESS>into 31ccdb421396dc041d0e061dc66cedf9035c1220 on master.


copy/move zip/7z to Android/data

I'm not sure what you're asking here? GBCC can already import zip files containing ROMs and saves, and will extract them to the correct places.

Showing the zip/7zip file in the game list
My Android phone is rooted
All of my 4000+ files are zip, and unzipping them to Android/data would take a lot of time

Android/data/com.philj56.gbcc
Tutorial.gbc
Wario Land 3 (World) (En,Ja).zip
GBCC
Tutorial


Delete Content

This branch adds content deletion capabilities. It deletes entities such us groups and documents. All comments (and replies) associated with a document also get deleted. The frontend can bring the content back by listing the deleted items and removing them from the deleted list. After that, it should call discoverentity (or let the periodic syncing do its work)

Looks like tests are failing @juligasa


LateInitializationError: Field '_theoPlayerViewController@654089593' has not been initialized.

late THEOplayer theOplayer;
theOplayer = THEOplayer(
fullscreenBuilder: (BuildContext context, THEOplayer player) {
// default, chromeless behaviour, same as not specifying a fullscreenBuilder.
return theOplayer.isInitialized==false?const Center(child: CircularProgressIndicator(color: Colors.white,strokeAlign: 2,strokeWidth: 2)):PlayerScreen(
isInPicture: isInPicture,
forwardController: _forwardController,
backwardController: _backwardController,
animationController: animationController,
theOplayer: theOplayer,
/embedInfo: embedInfo!/ id: widget.id,
image: widget.imgPath,
title: widget.title);
},
theoPlayerConfig: THEOplayerConfig(
license: "",
fullscreenConfiguration:
FullscreenConfig(fullscreenSystemUiMode: SystemUiMode.immersiveSticky, preferredFullscreenOrientations: [
DeviceOrientation.landscapeRight,
DeviceOrientation.landscapeLeft,
], preferredRestoredOrientations: [
DeviceOrientation.portraitUp
]),
androidConfiguration: AndroidConfig.create(
viewComposition: AndroidViewComposition.TEXTURE_LAYER,
),
      // Extra THEOlive configuration:
      //theolive: TheoLiveConfiguration(externalSessionId: "mySessionID"),
    ),
    onCreate: () {
      print("main - THEOplayer - onCreate");

      theOplayer.source = SourceDescription(sources: [
        TypedSource(src: "https://cdn.theoplayer.com/video/big_buck_bunny/big_buck_bunny.m3u8"),
      ]);

      theOplayer.autoplay = true;
      theOplayer.allowBackgroundPlayback = false;

      animationController.forward();
      theOplayer.videoTracks.map((e) {
        print("Video ${e.activeQuality}");
      }).toList();
      theOplayer.audioTracks.map((e) {
        print("Audio ${e.activeQuality}");
      }).toList();
      theOplayer.allowAutomaticPictureInPicture = false;
      isInPicture = false;
      if (kIsWeb) {
        theOplayer.setPresentationMode(PresentationMode.PIP);
      }

      theOplayer.addEventListener(PlayerEventTypes.ERROR, (errorEvent) {
        var error = errorEvent as ErrorEvent;
        ScaffoldMessenger.of(context).showSnackBar(
          SnackBar(
            duration: const Duration(milliseconds: 6000),
            backgroundColor: Colors.red,
            content: Text(error.error),
            action: SnackBarAction(
              label: 'OK',
              onPressed: () {
                // Code to execute.
              },
            ),
          ),
        );
      });
      theOplayer.addEventListener(PlayerEventTypes.WAITING, (event) {
        isLoading = false;
        setState(() {});
        print("Player is buffering ${event.type}");
      });

      theOplayer.addEventListener(PlayerEventTypes.PLAYING, (event) {
        isLoading = true;
        setState(() {});
        print("Player is Paying ${event.type}");
      });
    });

can't initialize

Hi @this-sunil ,
Do you have a stack trace of the problem?
Usually, this issue happens if you try to access the player before the player's onCreate()callback is called.


Slash after # in WebID seems wrong

The URI for the WebID I created is given as safe://webid.safeandsolid/#/me which is unusual and possibly not valid. I suggest generating WebIDs with a text only fragment such as:
safe://webid.safeandsolid/#me
Solid WebIDs usually point to a fragment in a profile file such as:
safe://webid.safeandsolid/public/card#me

I think this is actually Peruse's fault.
At least in the rdf graph this is #me, so I'll have to have a peek at Peruse's uri resolution.
Will post back when confirmed.

This is indeed peruse's URL handling.
https://github.com/joshuef/peruse/commit/6b1f172fc8e10c337c48c5c0a1dfeec936b86660
sorts this.


Face Recognition

It will be made using OpenCV. It will create a blue rectangle around the face.

@pranjay-poddar please assign me this

@pranjay-poddar it will be level 3 sir. It will made using open cv. It will detect face sir.

@Avik-creator I have already done this , I had also integrated some cool filters along with face recognition


Allow changing the Manifest URL

I am currently working on creating my own Manifest and videos for Aerial-like screensavers. Currently to use a custom URL in this, one needs to patch the source and recompile, but it would be tremendous if it simply had a preference for it.

Starting with version 1.4, we now load 3 different JSONs, they do need their own tweaks though as they aren't in the same format, or won't use the same tags for urls.
For your specific need, with 1.4, you can edit one of the jsons in the Cache folder (see the Offline mode explaination in the readme), and add your videos there. You'll need to delete the preferences, you'll find them in
~/Library/Preferences/ByHost/com.JohnCoates.Aerial.(something).plist
delete said file and it will reload your modified JSON.


support update, enable and disable backup policy

bash-5.2$ ./ybm backup policy update --cluster-name=loving-squid --retention-period-in-days=2  --full-backup-frequency-in-days=10
Successfully updated backup policy for cluster loving-squid

bash-5.2$ ./ybm backup policy list --cluster-name=loving-squid
Time Interval(days)   Days of the Week   Backup Start Time
10                    NA                 NA

bash-5.2$ ./ybm backup policy update --cluster-name=loving-squid --retention-period-in-days=2  --full-backup-schedule-days-of-week=th,fr,sa,su --full-backup-schedule-time=23:05
Successfully updated backup policy for cluster loving-squid

bash-5.2$ ./ybm backup policy list --cluster-name=loving-squid
Time Interval(days)   Days of the Week   Backup Start Time
NA                    Su,Th,Fr,Sa        23:05

bash-5.2$ ./ybm backup policy disable --cluster-name=loving-squid
Successfully disabled backup policy for cluster loving-squid

bash-5.2$ ./ybm backup policy list --cluster-name=loving-squid
A newer version is available. Please upgrade to the latest version v0.1.17
No backup policies found for the given cluster

bash-5.2$ ./ybm backup policy enable --cluster-name=loving-squid
Successfully enabled backup policy for cluster loving-squid

bash-5.2$ ./ybm backup policy list --cluster-name=loving-squid
Time Interval(days)   Days of the Week   Backup Start Time
NA                    Su,Th,Fr,Sa        23:05

This way, simple and custom backup policy can be configured through the CLI. Also, the policy can be either enabled or disabled. Relevant guards are put in place to restrict and guide the user to provide only the allowed set of flags.

@shinji62 @cdavid please take another look


feat: map nostr public key to DNS joyboy.community using NIP-05

We should be able to delete the vercel project and reinit it as a next.js app

@maciejka this is the image below

@drspacemn looks like we can recreate this as next.js app in vercel.

@maciejka please find the screenshot below
...

Thanks! Please resolve conflicts.

@maciejka please find the screenshot below
...

Thanks! Please resolve conflicts.

Resolved!

@maciejka please find the screenshot below
...

Thanks! Please resolve conflicts.

Resolved!

Thanks! Let's now wait for @drspacemn to fix the deployment.

@Gift-Naomi I consider this pr as complete. We just need to wait for vercel reset.

@Gift-Naomi I consider this pr as complete. We just need to wait for vercel reset.

Alright.

@Gift-Naomi would you please resolve conflicts?
@drspacemn will you have a look at vercel deployment?

@Gift-Naomi would you please resolve conflicts? @drspacemn will you have a look at vercel deployment?

Okay

@Gift-Naomi would you please resolve conflicts? @drspacemn will you have a look at vercel deployment?

Done!

So to confirm you want me to re-initialize this project with the website subdir as the root, correct?
Keep in mind this won't build the branch from the PR only main


Firmware 2022 801 can´t read nor write - controller in reboot-loop

Hi,
I have the 1200w 48v Modell with display.
it seems like newer firmware doesn´t send any status codes. The "Esp-Soyosource-Controller" also doesn´t get values but the "rs485" shows in the display and I can send a target Power. So I think the Hardware is okay but because there are no values - this firmware crashes.
Is there anyone out there with a solution ?
Whats about this "displayport" Didn´t find any description to it.
Kind Regards
David

This project does work for silent inverters too in general. What do you mean by "this firmware crashs"?

Do you use MQTT or the native api? Could you provide some logs of the crash?

Okay Im getting the logs later because Im at work.
Testet both - mqtt und Homeassistant mode
in mqtt mode its a login - logout reboot -login loop
in Homeassistant mode it send 3 times something to serial that starts with 24 ...., then sets some defaults - waits till some timeout - would say 5 to 10 sec. then reboot - loop
I used the example yaml with and without display, because I don´t know what that display port thing stands for - The Soyosource with display or some device with an Serial Port for a Display ...

I've pushed reduced YAML configuration examples:
https://github.com/syssi/esphome-soyosource-gtn-virtual-meter/blob/main/esp32-limiter-example.yaml
https://github.com/syssi/esphome-soyosource-gtn-virtual-meter/blob/main/esp8266-limiter-example.yaml
Please flash one of these examples and provide the logs / crashs later the day. I will try to get an idea what's going on.

Hi,
I flashed my 2 boards with esp32 and esp8266 (D1 mini) and that settings;
Both stopped to reboot.
The ESP32 didn´t work with either the RS485 boards (SOYOSOURCE shows no RS485 in Display) and power-demand value has no effect.
The logs from ESP32 are:
INFO Waiting for result...
INFO OTA successful
INFO Successfully uploaded program.
INFO Starting log output from soyosource-gtn-virtual-meter/debug
INFO Connected to MQTT broker!
[21:01:39][C][soyosource_inverter:152]:   State Class: 'measurement'
[21:01:49][I][mqtt:216]: MQTT Connected!
[21:01:49][I][app:062]: setup() finished successfully!
[21:01:49][I][app:102]: ESPHome version 2023.2.4 compiled on Mar  7 2023, 21:01:15
[21:01:49][I][app:104]: Project syssi.esphome-soyosource-gtn-virtual-meter version 2.0.0
[21:06:39][I][ota:113]: Boot seems successful, resetting boot loop counter.

The "old" D1 mini (8266) worked - RS485 in display of SOYOSOURCE and also with both RS485 Boards and power-demand value is working.
Maybe the Pinout is not all the same...
Kind Regards
David

https://cdn.shopify.com/s/files/1/1509/1638/files/ESP32_D1-Mini_480x480.png?v=1611046537
I used the same place as with the older d1 mini. Seems to me like GPO01 an GPO03.

That should have worked. Please double check your RS485 converter and please make sure you didn't swap the TX/RX lines accidently. There are many devices that already come dead from the factory.
Does it work now for the ESP8266 and your setup is stable?

Hi,
my ESP8266 is stable and solving my Problem.
Because this 2 Boards have same Pinout with tx/rx 5v , GND and 3,3v I made 2 Boards with socket for the D1 mini with each of the RS485 Boards. So I can switch the ESP as I like.
That's why I'm pretty sure the RS485 are both running because they work with the older one.
Maybe Im going to try some other GPIO on the ESP32 - they seem to have a second RX/TX on GPIO16/17

The ESP32 has a GPIO matrix / IO mux so the hardware UARTs can be routed to any pin. Feel free to attach the RS485 converter to any pin.


Widget disappears from pane

I'm having an issue where an HTML widget w/ dweet datasource will disappear from it's pane.  I've seen this occur for two reasons, but doesn't happen with any real consistency.

Re-arranging / re-sizing elements
Submitting data to a dweet from two different scripts

I have 3 other panes with an almost identical HTML widget that do not do this.
I can fully delete the widget and pane (and even the datasource) and re-add, but it will happen again eventually.
Inspecting the page, it shows that there should be an HTML widget there, but it has 0 height and no content.  The widget controls are not available to click either.

If it's in this state, I can just submit some junk data (just a word, non-html), then resubmit my intended payload, and it'll come back without needing to recreate the pane/widget.


[Bug][Framework] Api Collector got stuck again

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
When collecting pr_reviews, I found that the process got stuck
What you expected to happen
Collect everything correctly
How to reproduce
collect our github repo
Anything else
No response
Version
main
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

It might because of the Release of apiClient stop the token creating, I will try to fix it.


navigation_experimental: 0.3.0-0 in 'melodic/distribution.yaml' [bloom]

Increasing version of package(s) in repository navigation_experimental to 0.3.0-0:

upstream repository: https://github.com/ros-planning/navigation_experimental.git
release repository: https://github.com/ros-gbp/navigation_experimental-release.git
distro file: melodic/distribution.yaml
bloom version: 0.6.6
previous version for package: null

assisted_teleop
* Convert to TF2 + new navigation API (for melodic)
* Use non deprecated pluginlib macro + headers
* Contributors: Martin Günther

goal_passer
* Use non deprecated pluginlib macro + headers
* Contributors: Martin Günther

navigation_experimental

No changes

pose_base_controller
* Convert to TF2 + new navigation API (for melodic)
* Contributors: Martin Günther

pose_follower
* Convert to TF2 + new navigation API (for melodic)
* Use non deprecated pluginlib macro + headers
* Contributors: Martin Günther

sbpl_lattice_planner
* sbpl_lattice_planner: Update to tf2, add dependency
* Use non deprecated pluginlib macro + headers
* Contributors: Martin Günther

sbpl_recovery
* Convert to TF2 + new navigation API (for melodic)
* Use non deprecated pluginlib macro + headers
* Contributors: Martin Günther

twist_recovery
* Convert to TF2 + new navigation API (for melodic)
* Use non deprecated pluginlib macro + headers
* Contributors: Martin Günther

(waiting on sync https://discourse.ros.org/t/preparing-for-melodic-sync-2018-09-04/5919)

@mintar Sorry this seems to have merge conflicts now, can you try to resolve them please? Thanks!

Ok, fixed!


[WIP]multicluster global hub API

Signed-off-by: morvencao<EMAIL_ADDRESS>

closing this in favor of https://github.com/stolostron/multicluster-global-hub/pull/222


Map TWAP orders in the queue

Summary
We currently check that an executionDate is present within a transaction in order to map the TWAP order. However, queued transactions aren't executed yet.
This removes the above check, adjusting the logic accordingly so that TWAP orders inthe queue can be mapped.
Changes

Decouple fetching of buy/sell token with order, fetching the later separately
Don't fetch orders if the transaction is not executed, mapping "empty" values if no orders were fetched
Add/update the test coverage accordingly

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 13 (0.0%)  changed or added relevant lines in 4 files are covered.
4 unchanged lines in 4 files lost coverage.
Overall coverage increased (+0.005%) to 48.739%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/routes/transactions/mappers/common/transaction-info.mapper.ts
0
1
0.0%

src/routes/transactions/mappers/common/swap-order.mapper.ts
0
2
0.0%

src/routes/transactions/transactions-view.service.ts
0
2
0.0%

src/routes/transactions/mappers/common/twap-order.mapper.ts
0
8
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/routes/transactions/helpers/swap-order.helper.ts
1
27.27%

src/routes/transactions/transactions-view.service.ts
1
17.14%

src/routes/transactions/mappers/common/swap-order.mapper.ts
1
25.58%

src/routes/transactions/mappers/common/twap-order.mapper.ts
1
32.81%

Totals

Change from base Build<PHONE_NUMBER>:
0.005%

Covered Lines:
4107

Relevant Lines:
6799

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 13 (0.0%)  changed or added relevant lines in 4 files are covered.
4 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-0.03%) to 48.707%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/routes/transactions/mappers/common/transaction-info.mapper.ts
0
1
0.0%

src/routes/transactions/mappers/common/swap-order.mapper.ts
0
2
0.0%

src/routes/transactions/transactions-view.service.ts
0
2
0.0%

src/routes/transactions/mappers/common/twap-order.mapper.ts
0
8
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/routes/transactions/helpers/swap-order.helper.ts
1
27.27%

src/routes/transactions/transactions-view.service.ts
1
17.14%

src/routes/transactions/mappers/common/swap-order.mapper.ts
1
25.58%

src/routes/transactions/mappers/common/twap-order.mapper.ts
1
30.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
4107

Relevant Lines:
6799

💛  - Coveralls


Taylor's_Series_of_e^x

Hey, @tarun26091999  @rudrakshi99  I am a gssoc'21 participant. Please assign this issue to me for work in CPP.
Taylor's series of e^x is:-
e^x= 1+ x/1! + x/2! + x/3! + x/4!..........(n terms)
where the value of x and n (number of terms to be considered)  are taken as input from the user.

Hello, @kunal-j10 @anubhavitis @dheerajkotwani @tarun26091999 @avijit1999  I think this is an important question and this should definitely be added in the Algo-Tree and I will start working on it as soon as I get assigned!! as I am a part of GSSoC'21, so I would like to implement this in c++.

Hi,
I am GSSOC'21 participant
My code will be in JAVA with proper comments and test cases.
@rudrakshi99 @nakul-19 @plazzy99 please assign me this issue

@rudrakshi99 is this relevant to the repo?

Yes, you add it in Number Theory.

Hi,
I am GSSOC'21 participant
My code will be in JAVA with proper comments and test cases.
@rudrakshi99 @nakul-19 @plazzy99 please assign me this issue

ok, you will provide the code in java.

thank you @tarun26091999  for assigning this to me


How to specify a log path for seaweedfs output

Hi,Chris
seaweedfs use glog which support log rotate. I want to specify the -log_dir option in my production environment , then I think that  the seaweedfs's normal and abnormal output will be asynchronously written to the physical log files in that directory,  and there should be a new created log file every one hour
But it failed when I try the following command:
./weed server -master.port=9334 -dir=./2 -volume.port=8081 -master.peers=localhost:9333  -log_dir=mylog &
Could you give me some suggestions?
Thanks!

Even though this issue has been solved by talking in IM(Weixin) ,
I think I have to paste solution here for someone else in the future:
./weed  -log_dir=mylog server -master.port=9334 -dir=./2 -volume.port=8081 -master.peers=localhost:9333  &


export_datasources command failed during internal sorting

Superset version
Superset version : 0.26.3
Python version : 3.6.3
Expected results
Run export_datasources
Actual results
Traceback (most recent call last):
File "/home/gnomeby/.virtualenvs/superset/bin/superset", line 15, in
cli()
File "/home/gnomeby/.virtualenvs/superset/lib/python3.6/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/home/gnomeby/.virtualenvs/superset/lib/python3.6/site-packages/flask/cli.py", line 380, in main
return AppGroup.main(self, *args, **kwargs)
File "/home/gnomeby/.virtualenvs/superset/lib/python3.6/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/home/gnomeby/.virtualenvs/superset/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/gnomeby/.virtualenvs/superset/lib/python3.6/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/gnomeby/.virtualenvs/superset/lib/python3.6/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/home/gnomeby/.virtualenvs/superset/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/gnomeby/.virtualenvs/superset/lib/python3.6/site-packages/flask/cli.py", line 257, in decorator
return __ctx.invoke(f, *args, **kwargs)
File "/home/gnomeby/.virtualenvs/superset/lib/python3.6/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/home/gnomeby/.virtualenvs/superset/lib/python3.6/site-packages/superset/cli.py", line 328, in export_datasources
include_defaults=include_defaults)
File "/home/gnomeby/.virtualenvs/superset/lib/python3.6/site-packages/superset/dict_import_export_util.py", line 35, in export_to_dict
include_defaults=include_defaults) for database in dbs]
File "/home/gnomeby/.virtualenvs/superset/lib/python3.6/site-packages/superset/dict_import_export_util.py", line 35, in
include_defaults=include_defaults) for database in dbs]
File "/home/gnomeby/.virtualenvs/superset/lib/python3.6/site-packages/superset/models/helpers.py", line 200, in export_to_dict
key=lambda k: sorted(k.items())
TypeError: '<' not supported between instances of 'dict' and 'dict'
Steps to reproduce
Define multiple datasources. I have default one, clickhouse and postgresql
Run
superset export_datasources

You had a similar issue https://github.com/apache/incubator-superset/issues/5798 that was closed by mistake.

I am getting same error in 0.29.0rc7 version. Please help


Fix icon duplication bug

Fixes the icon duplication bug from #9.

Superceded by https://github.com/catppuccin/qbittorrent/pull/16
Sorry!


Fuzzing: Add new fuzzers

Summary

Add two new fuzzers for the OSS-FUZZ fuzzing of this project.
Release Note

Documentation

@arthurscchan I think we need to refactor these changes into the fuzzing gradle module

Refactored.

Refactored and fixed the formatting.

I can commit these fuzzers with the CI fuzz issues if we want to deal with them in another PR?

Sounds good to me. I will push fixes PR later.


Unable to install 1.8.7-p375

I tried to install ruby 1.8.7-p375 on CentOS 5.  But it is failed.
$ rbenv install 1.8.7-p375
Checking out http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7...

BUILD FAILED (CentOS release 5.11 (Final) using ruby-build 20160111)

$ rbenv install -l
Available versions:
  1.8.6-p383
(snip)
  1.8.7-p374
  1.8.7-p375
  1.9.1-p378

It seems rbenv is support to install 1.8.7-p375.  1.8.7-p374 is OK.
share/ruby-build/1.8.7-p374 use a source of ruby below

install_package "ruby-1.8.7-p374" "https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p374.tar.bz2#b4e34703137f7bfb8761c4ea474f7438d6ccf440b3d35f39cc5e4d4e239c07e3" auto_tcltk standard

And share/ruby-build/1.8.7-p375 use below

install_svn "ruby-1.8.7-p375" "http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7" "44351" autoconf auto_tcltk standard

I hope to fix to build it or remove 1.8.7-p375 from the list.

Since Ruby 1.8.7 p375 was never tagged in their version control, we have to resort to pulling it down via svn. Perhaps the installation failed because you need to install SVN first, and you were able to install other versions because they don't need SVN.
In any case, we can't know more until you share with us the full build log (you only shared with us the parital build output). The full log is stored in a reference file.
I hope this advice helps you work around this! Good luck.


Enable multiple style parameters in query string.

This requires the 'qs' library which does more than the Node 'querystring'
enabling us to spread the style array out nicely.
Updated the test as well.

Thanks @felix, I've tested it and works as expected. Failed tests are only in node 0.8, probably ok. Can't really comment on the code style as I'm not familiar with the code base.

Let me know if code style has to change. Also not sure about travis failures, let me know what I need to get them to work.

Probably should just remove node 0.8 from testing, quite old now.  @fabriziomoscon ?

Is the fork where this is fixed published in NPM? I'd really like to use this without having to wait for this to be merged.

What I actually meant to ask, (since I can reference that fork in my package.json), is when this is going to be merged, since without this static maps style are pretty broken

What I actually meant to ask, (since I can reference that fork in my package.json), is when this is going to be merged, since without this static maps style are pretty broken

This looks good :+1:

I still haven't got a chance to test this work personally.
Although it looks like this PR changes the expected results for this test: https://github.com/felix/node-googlemaps/blob/86-single-style/test/unit/utils/parseStylesTest.js#L48
I understand qs helps with nesting of parameters, but because of the change in the test it is not possible to ensure this change won't break other users' code.

Been a while since this pull request started. It seems the change to the parseStylesTest is necessary to test the whole point of this PR. If parseStyles is actually part of the public API then yes, it may break others' code, but it is broken anyway.

Ok, I tested your changes and they look good.
Please amend these blocks to make them consistent with the new return type of the function
https://github.com/felix/node-googlemaps/blob/86-single-style/test/unit/utils/parseStylesTest.js#L30
https://github.com/moshen/node-googlemaps/blob/master/lib%2Futils%2FparseStyles.js#L2,L15
and then it is good to be merged

@felix @rayshan this is now published on npm under version 1.2.0

:tada: thanks @felix @fabriziomoscon & team!


Server Side Rendering

Do you have suggestion to use in server rendering?
I got window is not defined when rendering from server.

Hi, thanks for the report.
I was able to reproduce this by adding my component to this example setup.
I don't have experience with SSR, but it seems like the problem is caused by the ref attribute on the input, because there is no DOM on server side.
I'll look further into it.

I've created custom input component with ref but it seems okay even in SSR. 🤔

I think maybe you might take a look my PR. I've test it in Server side, but not in client side yet 😅
Could you please maybe help me to test in client side.

Thanks for the PR.
Basically it works on client side as well, but <style dangerouslySetInnerHTML={{ __html: style }} /> is adding the styles directly to the component and thus overriding possible custom styles from the head 😞

Well I use your amazing works, at least with my patch it will works in my case first 😅
Maybe you can help to make it more tidy 😋
Or maybe manually extract scss into css and let the user import it self will be okay like nprogress do 😉

Styles seem to be fine now.

Merged and released as v0.1.4.

Hi
How do u get the value from this compoment. I am sorry if this is a basic question but I am strgguling to use it

Hi, thanks for using my component.
The props.input.onChange callback will be called on every change of the value.
This means you can get it like this:
<VerificationInput input={{
    onChange: value => console.log(value),
}} />

Then you can put it in your state or whatever.
Sorry if this was a bit confusing.

Hi Andreas that is great thanks for your help. No I am fairly new to this and using Custom components still confuses me.
Cheers for the help

Great, I'm always happy to help.


support ES document type

thanks for feedback @taraslayshchuk. Code updated accordingly. Since multiple values supported for doc types, option renamed to doc_types.

Thanks, according to renaming could you please correct the [readme] (https://github.com/taraslayshchuk/es2csv/pull/13/commits/244cc771205d584dff3034158c82af26e34bc85f#diff-88b99bb28683bd5b7e3a204826ead112R41) - --doc_type -> --doc_types ?

And there is conflicts now, @code4value could you please resolve it?

readme updated and conflict resolved

Great job, thanks for adding this feature!


As a user (any role) I want to view Experts list on "Experts" page so that I can choose which one I want to read.

Reused: https://docs.google.com/document/d/1bFocIi4w03yRbd6MOpMxJmFCerebAyfiM4jfDqxY6PM/edit?usp=sharing
As a user (any role) I want to view Experts list on "Experts" page so that I can choose which one I want to read.
User (any role) should view a list with Experts cards on the Experts page.
Experts page content should contain:

“Topics” (“Теми”) section;
“Region” (“Регіон”) section;
Experts list section;
Expert cards.

Experts list:

Two columns;
Three cards in a column;
Go to the next list of six cards.

Clicking on "1" button should change to the first card list.
Clicking on "2", “3”, etc. button should change to the next card list by number.
Clicking on ">>" button should change the list with cards to the last list.
Clicking on "<<" button should change the list with cards to the first list.
Each Experts card should contain:

Author's picture;
First name, last name;
Topics;
Place of work;
Position;
Last added material title (if it exists).

Click on "First name, last name, place of work”  should redirect to "Expert" page.
Click on "Last added material title" should redirect to "Material" page.
“Topics” (“Теми”) section should contain:

List of tagged destinations.
Possibility of filtering by tags with checkbox.
By default all topics are chosen.

Click on \/ button should the full Topic's section come out.
Click on /\ button should the full Topic's section come back.
Chosen Topics are displayed in the top of section. Chosen regions are displayed after Click on /\ button.

“Region” (“Регіон”) section should contain:

List of regions;
Possibility of filtering with checkbox;
By default all regions are chosen.

Click on \/ button should the full region's section come out.
Click on /\ button should the full region's section come back.
Chosen regions are displayed in the top of section. Chosen regions are displayed after Click on /\ button.

Results should be sorted by the value of Expert Rating, max to min. If few Experts have equal rating they should be sorted in alphabetic order.
Expert Rating by default is set to the number of posts in PUBLISHED state.
We should have a separate Expert Rating field in the database so that admin could correct it where required.
Sorting rules for search results:

If a user chooses one or no filtration parameter, results should be sorted by the value of Expert rating (max to min).
If a user chooses two or more filtration parameters, firstly should be displayed results satisfying maximal number of parameters sorted by value of Expert rating (max to min). Secondly should be displayed results satisfying (max-1) number of parameters sorted by value of Expert rating (max to min). Lastly should be displayed results satisfying 1 parameter sorted by value of Expert rating (max to min).

AC:

Expert's list is displayed
Experts list has 6 cards in 2 columns
Experts list is sorted by Expert rating.
Expert's cards are displayed
Region section is displayed
Topics section is displayed
Clicking on "1" button should change to the first card list.
Clicking on "2", “3”, etc. button should change to the next card list by number.
Clicking on ">>" button should change the list with cards to the last list.
Clicking on "<<" button should change the list with cards to the first list.
Click on "First name, last name, place of work”  should redirect to "Expert" page.
Click on "Last added material title" should redirect to "Material" page.
Click on \/ button should the full Topic's section come out.
Click on /\ button should the full Topic's section come back.
Click on \/ button should the full region's section come out.
Click on /\ button should the full region's section come back.

SI about page name // Edited 25.02.2021 by #183

BA checked


Fix method name in the sdk example

Quick fix for the method name. Naming the example method “tensorboard_vis” is misleading here because this example is related to webapp visualisation and not tensorboard visualisation (present in the section above).

@milosjava can you please rebase?

this PR was made long ago, I will create a new one with some additional changes


settagstack can't natively replicate :tag behavior

Plugins like LSP clients are now using settagstack to replicate the behavior of C-], but the provided API only allows replacing the entire stack or appending to it, which makes it non-trivial to replicate the native tagstack behavior.
Natively, jumping to a tag will insert the new tag at the current index, and remove everything that came after it. This allows "tree like" navigation through tags, by using C-T to go up in the stack and then jumping to a different tag branching off in a different direction.
I think settagstack should have a third mode to replace the tagstack entries from the current index up to the end, so as to easily replicate native tag navigation. Without this mode, plugin authors either manually reimplement it as in vim-lsp, or simply use append without being aware of the difference in behavior.

Use tagfunc

Francisco Giordano wrote:

Plugins like LSP clients are now using settagstack to replicate the
behavior of C-], but the provided API only allows replacing the
entire stack or appending to it, which makes it non-trivial to
replicate the native tagstack behavior.
Natively, jumping to a tag will insert the new tag at the current
index, and remove everything that came after it. This allows "tree
like" navigation through tags, by using C-T to go up in the stack
and then jumping to a different tag branching off in a different
direction.
I think settagstack should have a third mode to replace the tagstack
entries from the current index up to the end, so as to easily
replicate native tag navigation. Without this mode, plugin authors
either manually reimplement it as in
vim-lsp,
or simply use append without being aware of the difference in
behavior.

Can't you get the existing stack with gettagsack() and modify it any way
before using settagstack() ?
--
Some say the world will end in fire; some say in segfaults.
I say it will end in a curly bracket.
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Can't you get the existing stack with gettagsack() and modify it any way
before using settagstack() ?

Yes, this is what vim-lsp is doing. I'm trying to say that since it will almost always be the right thing to do, the functionality should exist out of the box.

Can't you get the existing stack with gettagsack() and modify it any way
before using settagstack() ?

Yes, this is what vim-lsp is doing. I'm trying to say that since it
will almost always be the right thing to do, the functionality should
exist out of the box.

So it would be sufficient to add an action "t" (for truncate), that
works like "a" (append), but first truncates at the current index?
--
I'm sure that I asked CBuilder to do a "full" install.  Looks like I got
a "fool" install, instead.		Charles E Campbell, Jr, PhD
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

That's what I had in mind yes!

Hi,
On Sun, Dec 29, 2019 at 8:44 PM Francisco Giordano <
<EMAIL_ADDRESS>wrote:

That's what I had in mind yes!

I have created PR #5417 to add support for truncating the tag stack before
pushing new items onto the stack.

Yegappan

included as of https://github.com/vim/vim/releases/tag/v8.2.0077

Hi,
On Sun, Dec 29, 2019 at 12:20 AM Francisco Giordano <
<EMAIL_ADDRESS>wrote:

Plugins like LSP clients are now using settagstack to replicate the
behavior of C-], but the provided API only allows replacing the entire
stack or appending to it, which makes it non-trivial to replicate the
native tagstack behavior.
Natively, jumping to a tag will insert the new tag at the current index,
and remove everything that came after it. This allows "tree like"
navigation through tags, by using C-T to go up in the stack and then
jumping to a different tag branching off in a different direction.
I think settagstack should have a third mode to replace the tagstack
entries from the current index up to the end, so as to easily replicate
native tag navigation. Without this mode, plugin authors either manually
reimplement it as in vim-lsp
https://github.com/prabirshrestha/vim-lsp/blob/master/autoload/lsp/ui/vim.vim#L456-L476,
or simply use append without being aware of the difference in behavior.

Can you try the latest version of Vim and see whether the new truncate
tagstack functionality meets your requirement?
Thanks,
Yegappan


⚠ Adacta-fintech.com has degraded performance

In b186bed, Adacta-fintech.com (https://www.adacta-fintech.com) experienced degraded performance:

HTTP code: 200
Response time: 1039 ms

Resolved: Adacta-fintech.com performance has improved in a91be3d after 15 minutes.


Options to use virtual host style of s3 other than forcing users to use path style

Hey,
I see we have hardcoded our s3 addressing style to path style, but on some s3-like services, they only support virtual host style. Can we have an option for that?
Here's the code from: libs/remote_storage/src/s3_bucket.rs
if let Some(custom_endpoint) = aws_config.endpoint.clone() {
            config_builder = config_builder
                .endpoint_url(custom_endpoint)
                .force_path_style(true);
        }

We don't currently use any object storage backends that require virtualhost, but if you would like to open a PR to add a configuration option to the S3Config structure and wire it up, I think it would be a totally reasonable change.
By the way, I'm always curious: which object store are you using that only supports virtualhost style?


Draft: Updating voila-embed component

This PR closes #2 and updates the JupyterWidgetEmbed code with the latest changes from the original voila-embed.js script file in https://github.com/mariobuikhuizen/voila-embed.
However, the example fails to load.  I see the error TypeError: Cannot read properties of undefined (reading 'kernelChanged'), which might be related to https://github.com/mariobuikhuizen/voila-embed/issues/18. @mariobuikhuizen Any ideas on how to fix?

@havok2063, I've added a dev install section to the readme: #4. Without the linking, it uses the old version from CDN.

Running the example now fails on lint errors in JupyterWidgetEmbed.js, which it shouldn't lint.  I'll look into fixing this.
I locally fixed the lint errors, and your PR works for me.

I've updated the dev install section in #4, which is now a simple copying of files.

Thanks!