[security] INFOSEC-3652

Before contributing, please read our contributing guidelines and code of conduct.
Overview
Describe the changes present in the pull request
Related Github Issue
Include a link to the related GitHub issue, if applicable
Testing
The agent includes a suite of unit and functional tests which should be used to
verify your changes don't break existing functionality. These tests will run with
Github Actions when a pull request is made. More details on running the tests locally can be found
here for our unit tests,
and here for our functional tests.
For most contributions it is strongly recommended to add additional tests which
exercise your changes.
Reviewer Checklist

[ ] Perform code review
[ ] Add performance label
[ ] Perform appropriate level of performance testing
[ ] Confirm all checks passed
[ ] Add version label prior to acceptance

Thanks very much for this! Closing in favor of #967 to spare you having to jump through the contributor agreement hoop.


Paddings

The Seeker by default has vertical and horizontal paddings, but I tried to give modifier 0.dp padding, but it still has padding. How do I remove them??

In the image i made, like the text, the slider also has 0.dp padding from all sites but it is a little above from the bottom and horizontally it also has padding. is the problem

This is a desired effect. The horizontal padding on each side is equal to half of the thumb radius, if a thumb is present. This is so that the thumb doesn't overflow the boundaries of the container. The minimum height of Seeker is bounded by the size of twice the size of the ripple effect of the thumb, if the thumb is pressed which is 48 dp. This is to provide a comfortable touch area around the track.


Extension not working

Hi,
after update spell checker when I exrcute VSCode i see this bug:
Error: Cannot find module 'genSequence'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object. (/home/*******/.vscode/extensions/streetsidesoftware.code-spell-checker-0.13.0/server/src/util/text.js:6:23)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
[Info  - 10:13:44] Connection to server got closed. Server will restart.
The Code Spell Checker server crashed 5 times in the last 3 minutes. The server will not be restarted.
VScode: 1.8.1
OS: Xubuntu 16.04.1
Extension version: 0.13.0

Thank you.  I'll fix that right away.

I have published a fix.  Please install 0.13.1.

It's working! Thanks!


Feature Request: Laptop Price Predictor

Is your feature request related to a problem? Please describe.
There is currently no feature in the repository that predicts laptop prices based on specifications and market data. This addition would benefit users who are looking to estimate the price of a laptop based on various features like brand, processor, RAM, storage, etc.
Describe the solution you'd like

Implement a machine learning model that predicts laptop prices based on specifications such as:

Brand
Processor (e.g., Intel, AMD)
RAM (e.g., 8GB, 16GB)
Storage (e.g., SSD, HDD)
GPU (Graphics card)
Screen size and resolution
Operating system (Windows, macOS, Linux)

Describe alternatives you've considered

Alternative approaches could involve integrating an API from an e-commerce platform that provides real-time laptop prices.

Additional context

This feature would be highly useful for users looking to buy or sell laptops, as it would provide a reliable price estimate based on up-to-date data.

@UppuluriKalyani , I have checked all open and closed issues, branches, and recent commits, but I couldn't find any model for predicting Laptop Price. So can you please check?

@Kaibalya27  You can start working !

Please assign this issue to me as I have great experience in working with Data Science and Machine Learning

I m a gssoc extended contributor . Please assign this project to me . I have already worked in many ml related tasks like nlp .


fix the integration test variable name for buckets

The TF_VAR was renamed from s3_bucket_name to object_store_bucket_name, but the integration test was not updated to match.
Fixes #15

Build failed do to #18

Last attempt failed do to VLAN availability.

Getting the integration tests passing is difficult. I'm going to merge this so we can release an updated tag with the fixed variables.


Report more information about nodes during cluster validation

Report more information about nodes during cluster validation.
Use a temporary node file with a unique name.
Cleanup the temporary file when done.

@filbranden @zmerlynn

I hope this will help to diagnose some of the failed cluster creations we have seen in our e2e tests.

LGTM.


Is there a plan to add authentication support?

Hi
Is there a plan to add support for basic authentication?  For both those of us on hosted clusters and now that shield is here?

Hi,
No plans so far. You can modify the internal http client to use authentication of your choice (as mentioned in #34) but yes obviously a more straightforward way of doing it would be nicer.

Thanks I found what I needed on that thread!


Update x-plat guide for RC1

Use CoreCLR by default in the tutorials.

cc @rowanmiller

I investigated showing VS Code in the guides, but this still has a dependency on Mono (see https://github.com/OmniSharp/omnisharp-roslyn/issues/336).

:shipit:


⚠ AGEG website (redirect) has degraded performance

In 53360e2, AGEG website (redirect) (https://ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 2541 ms

Resolved: AGEG website (redirect) performance has improved in 9880cba.


Added an option to calculate the TFIDF score for sparse data.

Also, fixed a minor bug with cloning #tf. Since #tf is an array of hashes we would need to 'deep clone' it.

Awesome, thanks!


error: No such module 'SWXMLHash'

I cloned the repository and tried running the playground however I get the following error:

Playground execution failed: error: SWXMLHashPlayground.playground:6:8: error: no such module 'SWXMLHash'
import SWXMLHash
^

thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.3

frame #0: 0x0000000102bf03b0 SWXMLHashPlaygroundexecutePlayground frame #1: 0x0000000103701b5c CoreFoundationCFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK + 12
frame #2: 0x00000001036e6e54 CoreFoundation__CFRunLoopDoBlocks + 356 frame #3: 0x00000001036e65ee CoreFoundation__CFRunLoopRun + 894
frame #4: 0x00000001036e6016 CoreFoundationCFRunLoopRunSpecific + 406 frame #5: 0x0000000108b16a24 GraphicsServicesGSEventRunModal + 62
frame #6: 0x0000000104268134 UIKitUIApplicationMain + 159 frame #7: 0x0000000102bef6d9 SWXMLHashPlaygroundmain + 201
frame #8: 0x0000000106ca465d libdyld.dylib`start + 1

It looks like it is still working on my side, though I did have a tiny syntax error in the Playground code that I just corrected in master. Which version of Xcode are you using?

Xcode 8.3.3
Forgive me,
I was neglecting to open the Playground from within the Workspace. I thought opening the Playground by itself would work for some reason.

Ah, gotcha. That makes sense. Thanks for the update!

hii im facing this issue in xcode Version 15.2 (15C500b) only in vs code but in xcode its working f9. How to solve this ?

Hi @jeeva-s, I suspect this is a slightly different problem as this issue was related to the Swift Playground. Regarding debugging, though, I suspect that the VS Code approach is using the Swift command line tools behind the scenes, though I'm not positive. Could you open a new issue and drop the details there along with the VS Code extension you're using? Also, I'd guess the extension has logs that show any command line output... those would probably help with diagnosing as well. Thanks!


I Can't use get_player()

I call Auth.connect() return error
"Attempt to decode JSON with unexpected mimetype: text/html"
cause I can't use other function

Are you on the latest version? This should be fixed.

I see that thanks for your helping~


Dictionary subclasses with referencing are encoded/decoded incorrectly

import jsonpickle

class MyDict(dict):
    def __init__(self, obj=None):
        self.obj = obj or object()

d = MyDict()
d["inner"] = MyDict(d.obj)

assert d.obj == d["inner"].obj

json = jsonpickle.encode(d)

d2 = jsonpickle.decode(json)
assert d2.obj == d2["inner"].obj

The second assertion fails, because while d2["inner"].obj is correctly decoded to an object, d2.obj is somehow set to d2["inner"].__dict__!
>>> d2["inner"].obj
<object object at 0x0000022AEAD35700>
>>> d2.obj
{'obj': <object object at 0x0000022AEAD35700>}

The encoded JSON is:
{
  "py/object": "__main__.MyDict",
  "inner": {
    "py/object": "__main__.MyDict",
    "__dict__": {
      "obj": {
        "py/object": "builtins.object"
      }
    }
  },
  "__dict__": {
    "obj": {
      "py/id": 2
    }
  }
}

Actually this problem can occur even without nesting the dictionaries, e.g. slightly simpler repro:
import jsonpickle

class MyDict(dict):
    pass

d = MyDict()
o = object()

original = [d, o, o]
assert original[1] is original[2]  # ok

json = jsonpickle.encode(original)

decoded = jsonpickle.decode(json)
assert decoded[1] is decoded[2] # fails

The JSON in this case is:
[
  {
    "py/object": "__main__.MyDict",
    "__dict__": {}
  },
  {
    "py/object": "builtins.object"
  },
  {
    "py/id": 2
  }
]


Increase parallelism in CI

Rather than having Jenkins run the monolithic scripts/job/validate/test script, let's have it run components of that in parallel. That would allow us to better exploit the breadth of our build cluster for a single, uncontended validation job, and hopefully get the best-case feedback time well under 30 minutes.
The recent changes to the definition of validate-main are take a step in this direction. All scripts matching test,test/*,integrate/ide are turned into parallel stages of the Jenkins pipeline.
However, we also need to weigh up the extra cost of this approach: repeating the compile step in each of those tasks.
In https://github.com/retronym/hoarder-jenkins-demo, I demonstrate how to use an SBT plugin to reuse compiled classes across multiple, parallel Jenkins workspaces. It is harder than it sounds because of SBT's propensity to recompile when the location of classfile in the new workspace doesn't match the metadata ("Analysis report") it recorded in the previous compile. hoarder patches that metadata with the new paths.
There may be different/simpler ways to convince SBT not to recompile in our simple use case (we want the already-compiled projects to be locked/read-only, so maybe just adding a new compilation policy to SBT would suffice. But leaving the un-patched metadata in place might mess up subsequent SBT tasks that use it.
It may be worthwhile migrating to an in-repository Jenkinsfile pipeline definition before attempting to integrate hoarder. That will let us evolve our SBT build definition in concert with the pipeline definition.
Note: the approach of having the pipeline glob for test scripts and spawn parallel stages dynamically for each is really just a stepping stone towards #240, which would have the pipeline definition in scala/scala. We could then "hard code" the test granularity in the pipeline definition, and even just have it call sbt directly rather than indirecting through the scripts/job/**/* scripts.
Parallel stages in Jenkins can be defined either to fail-fast or not. I propose that we configure all but the tip of the PR to fail fast to save resources.

A simpler alternative to Hoarder might be to use SBT 1.x's new IncOptions.withEnabled option to disable the incremental compiler. If that's not suitable, maybe we can change Zinc to add the compile mode we're after.

Even better, I found skip in compile := true, already in SBT 0.13.x, which has exactly the semantics we need.
https://github.com/retronym/hoarder-jenkins-demo/blob/simpler-skip-compile/Jenkinsfile

I'm experimenting with a fully parallel Jenkins pipeline using the skip in compile trick.
https://scala-ci.typesafe.com/job/scala-validate-main-experimental/2/
It is probably too parallel at the moment, but I thought it would be useful dial that up to 11 to see what we can learn.
There seems to be some sort of infrastructural problem whereby the .class files of the SBT get out of sync:
[test-partest-presentation] error: error while loading PartestTestListener, /home/jenkins/workspace/scala-validate-main-experimental/project/target/scala-2.10/sbt-0.13/classes/scala/build/PartestTestListener.class (No such file or directory)
[test-partest-presentation] /home/jenkins/workspace/scala-validate-main-experimental/build.sbt:682: error: scala.build.PartestTestListener does not have a constructor
[test-partest-presentation]     testListeners in IntegrationTest += new PartestTestListener(target.value)
[test-partest-presentation]                                         ^

[test-partest-scaladoc] ok 72 - run/usecase-var-expansion.scala
[test-partest-scaladoc]
[test-partest-scaladoc] Exception in thread "Thread-3" java.lang.NoClassDefFoundError: scala/build/PartestTestListener$$anonfun$testEvent$1
[test-partest-scaladoc] 	at scala.build.PartestTestListener.testEvent(PartestTestListener.scala:49)
[test-partest-scaladoc] 	at sbt.React$$anonfun$react$7.apply(ForkTests.scala:138)
[test-partest-scaladoc] 	at sbt.React$$anonfun$react$7.apply(ForkTests.scala:138)
[test-partest-scaladoc] 	at scala.collection.immutable.List.foreach(List.scala:318)
[test-partest-scaladoc] 	at sbt.React.react(ForkTests.scala:138)
[test-partest-scaladoc] 	at sbt.ForkTests$$anonfun$mainTestTask$1$Acceptor$2$.run(ForkTests.scala:76)
[test-partest-scaladoc] 	at java.lang.Thread.run(Thread.java:748)
[test-partest-scaladoc] Caused by: java.lang.ClassNotFoundException: scala.build.PartestTestListener$$anonfun$testEvent$1
[test-partest-scaladoc] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
[test-partest-scaladoc] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[test-partest-scaladoc] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[test-partest-scaladoc] 	... 7 more
[test-partest-scaladoc] Internal error when running tests: sbt.ForkMain$Run$RunAborted: java.net.SocketException: Broken pipe (Write failed)

Maybe we need to turn on skip in compile in the SBT build to avoid it reaching back into the original workspace to delete classfiles.

A later iteration of scripts, seems to have cleared up those failures, but landed on:
sbt.ForkMain$ForkError: scala.tools.partest.sbt.TestFailedThrowable: output differs
% scalac doc/doc.scala
% <in process execution of presentation/doc> > doc-presentation.log
% diff<EMAIL_ADDRESS><EMAIL_ADDRESS>@@ -1,2 +1 @@
reload: Base.scala, Class.scala, Derived.scala
-Unexpected foo method comment:None
at scala.tools.partest.sbt.SBTRunner.makeStatus(SBTRunner.scala:90)
at scala.tools.partest.sbt.SBTRunner$$anon$1$$anon$2.<init>(SBTRunner.scala:77)
at scala.tools.partest.sbt.SBTRunner$$anon$1.onFinishTest(SBTRunner.scala:73)
at scala.tools.partest.nest.SuiteRunner.runTest(Runner.scala:866)
at scala.tools.partest.nest.SuiteRunner.$anonfun$runTestsForFiles$2(Runner.scala:873)
at scala.tools.partest.package$$anon$2.call(package.scala:134)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

It's possible that this is a latent bug, scaladoc support in the presentatation compiler a flaky area of a flaky component.

Okay, we've got a clean build which was run without contention from other jobs.
The entire pipeline duration was 23minutes. Not really much better than the just letting one executor perform the full job, which is about 30m.
We have a pretty slow sequential start to the build: 4 mins for the publish the core module as the new starr, 5 minutes to recompile everything with that, then we can start the parallel steps.
The creates some queued jobs which triggers workers 2+3 to up, but worker startup takes 2-4minutes. It would be nice if we could signal forthcoming demand to wake them up to be primed and ready when the sequential part was finished. We could schedule some dummy jobs, but that's pretty icky.
We still have to worry about finding the sweet spot of number of executor slots on each worker. I think 3 is too high.
So maybe this mode is easier to reason about in a model with fast container startup, one build per container, etc.

In case we delete that -experimental Job, here's the config I used:
#!groovy

def testJobsPaths = []
def scalaVersion = ""

node("public") {
	stage('publish') {
		try {
			setDisplayName()
			scalaCheckout()
			ansiColor('xterm') {
				runScript("scripts/jobs/validate/publish-core")
			}
			def props = readProperties file: 'jenkins.properties'
			scalaVersion = props['maven.version.number']
			testJobsPaths = findFiles(glob: jobsGlob)

		} finally {
			archiveArtifacts artifacts: 'hs_err_*.log,jenkins.properties', allowEmptyArchive: true
		}
	}
	stage('compile') {
		try {
			env['scalaVersion'] = scalaVersion
			ansiColor('xterm') {
				runScript("scripts/jobs/validate/compile-all")
			}
			stash name: "workspace-stash", include: "**/*"
		} finally {
			archiveArtifacts artifacts: 'hs_err_*.log,jenkins.properties', allowEmptyArchive: true
		}
	}
}

def testStage(scalaVersion, scriptFile) {
	def name = (scriptFile.name == "test") ? "test" : "test-${scriptFile.name}"
	// We need to wrap what we return in a Groovy closure, or else it's invoked
	// when this method is called, not when we pass it to parallel.
	// To do this, you need to wrap the code below in { }, and either return
	// that explicitly, or use { -> } syntax.
	action = { ->
		node("public") { stage(name) {
			try {
				println("Starting stage ${name} to run ${scriptFile} on<EMAIL_ADDRESS>in ${env.WORKSPACE}")
				unstash name: "workspace-stash"
				env['scalaVersion'] = scalaVersion
				sh """
			    echo "skip in compile in ThisBuild := true" > __skipCompile.sbt
			    cp __skipCompile.sbt ./project/
				"""
				ansiColor('xterm') {
					runScript(scriptFile)
				}
			}
			finally {
				println("Ending stage ${name} to run ${scriptFile} on<EMAIL_ADDRESS>in ${env.WORKSPACE}")

				archiveArtifacts artifacts: 'hs_err_*.log,**/test-reports/**/*.xml,build/junit/TEST-*,build/osgi/TEST-*', allowEmptyArchive: true
				junit allowEmptyResults: true, testResults: '**/test-reports/**/*.xml'
			}
		}}
	}
	[name, action]
}

parallel testJobsPaths.collectEntries{testStage(scalaVersion, it)}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// END OF BUILD PROPER
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

def setDisplayName() {
	currentBuild.setDisplayName("[${currentBuild.number}] $repo_user/$repo_name#$_scabot_pr at ${repo_ref.take(6)}")
}

def scalaCheckout() {
	checkout changelog: false, poll: false, scm: [$class: 'GitSCM', branches: [[name: '${repo_ref}']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'CleanCheckout']], submoduleCfg: [], userRemoteConfigs: [[name: '${repo_user}', refspec: '+refs/heads/*:refs/remotes/${repo_user}/* +refs/pull/*/head:refs/remotes/${repo_user}/pr/*/head', url: 'https://github.com/${repo_user}/${repo_name}.git']]]
}

def runScript(path) {
	sh """#!/bin/bash -ex
    if [ -f /usr/local/share/jvm/jvm-select ]; then
        . /usr/local/share/jvm/jvm-select;
        jvmSelect $jvmFlavor $jvmVersion;
    else
        echo 'WARNING: jvm-select not present. using system default Java';
    fi
    echo scalaVersion=\$scalaVersion
    echo BASH_VERSION="\$BASH_VERSION"
    . ${path}
    """
}

Together with these changes to scala/scala: https://github.com/retronym/scala/tree/topic/stash

Nice! On travis, the start up cost for a VM is < 1 min, and we could reduce it on Jenkins as well by speculatively bringing up all workers whenever we launch one of them.


[AVM Module Issue]: Feature Request: output the mapping set for policy assignment id to policy definition reference ids

Check for previous/existing GitHub issues

[x] I have checked for previous/existing GitHub issues

Issue Type?
Feature Request
(Optional) Module Version
No response
(Optional) Correlation Id
No response
Description
Basically, we would like to create the remediation for each assignment, but it requires policy_definition_reference_id. Therefore, would like this terraform-azurerm-avm-ptn-alz module to output the mapping set for policy_assignment_id to policy_definition_reference_id.
resource "azurerm_management_group_policy_remediation" "policy_remediation" {
name                           =
management_group_id            =
policy_assignment_id           =
policy_definition_reference_id = []
}

Hi @VeronicaSea
Please can you give an example of the data structure you need?
I will then create outputs to suit.
Thanks

@matt-FFFFFF Thank you so much! I would like to have the output data set structure for one object with 2 properties:
{
management_group_id (string),
policy_role_assignment_resource_id (string),
policy_definition_reference_id (optional, string)
}
For the argument reference, you can get more detail from here:
management_group_id - (Required) The Management Group ID at which the Policy Remediation should be applied. Changing this forces a new resource to be created.
policy_assignment_id - (Required) The ID of the Policy Assignment that should be remediated.
policy_definition_reference_id - (Optional) The unique ID for the policy definition reference within the policy set definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition.

Hi @VeronicaSea
I can create a list of objects with the above schema. I'd like to ask how you will be creating the remediation task? Do you really want to create one for each assignment and pdref?

After consideration we have decided not to implement this feature as it would not serve the intended use case. See internal email.


running apache example

Hi,
I am trying to run the apache example by
../../honggfuzz -f ./corpus_http1 -w ./httpd.wordlist -- ./dist/bin/httpd -DFOREGROUND -f  ./dist/conf/httpd.conf.h1

according to my path setting.
However, honggfuzz have no update on the Coverage row, which keeps displaying Coverage: edge: 0 pc: 0 amp: 0
In addition, the log shows a bunch of messages as:

Persistent mode: Launched new persistent PID: 69668
[2018-10-24T19:42:13-0400][W][61989] arch_reapChild():409 Persistent mode: PID 69667 exited with status: EXITED, exit code: 1

I am using Mac OS system,
ProductName:	Mac OS X
ProductVersion:	10.14
BuildVersion:	18A391
Linux system is also checked and has the same behavior as well.
The version of tools I am using:

httpd: 2.4.37
apr: 1.6.5
apr-util: 1.6.1
nghttp2: 1.34.0

I'm having the same problem on linux. I've documented the steps that I have taken here:
https://github.com/Quick700/Quick700/tree/master/honggfuzz

Please try with the full path to the config file. If this doesn't work, try running honggfuzz with -Q, it'll show you httpd's error.log
This doesn't work for me
$ ~/src/honggfuzz/honggfuzz -f IN/ -w ~/src/honggfuzz/examples/apache/httpd.wordlist -- ./httpd/httpd -X -f dist/conf/httpd.conf.h1
...
[2018-10-28T02:40:21+0100][W][28301] arch_checkWait():308 Persistent mode: PID 28340 exited with status: EXITED, exit code: 1

but this does
$ ~/src/honggfuzz/honggfuzz -f IN/ -w ~/src/honggfuzz/examples/apache/httpd.wordlist -- ./httpd/httpd -X -f /home/jagger/fuzz/apache/dist/conf/httpd.conf.h1

As for the original issue, could you try with -X instead of -DFOREGROUND? Also, please try running honggfuzz with -Q, it's noise but maybe it'll help you to find the problem

Having the full path to the config file fixed the issue for me, thanks!


Transactions can cause hanging

Most of my application is not using transactions. I recently added one because I need the for update functionality in mysql. I have noticed that sometimes the database will hang when doing reads afterwards. This seems to only happen sometimes. However, I was able to find something related.  This seems to be repeatable every time. If I remove the transaction and just do my queries independently I don't have any issues. Any advice is welcome.
Using Innodb, mysql 5.7.22, mysqljs 2.13.0

Definitely sounds like an issue somewhere. Would it be possible to provide some runnable code that reproduces the issue? I'm not even sure where to start.

I'll try and or something together this morning.
On Sep 13, 2018 7:01 AM, "Douglas Wilson"<EMAIL_ADDRESS>wrote:
Definitely sounds like an issue somewhere. Would it be possible to provide
some runnable code that reproduces the issue? I'm not even sure where to
start.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mysqljs/mysql/issues/2098#issuecomment-420998012, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFwYM8pPENEL54lUq-n3ARcT7-6KW72Lks5ualcogaJpZM4WmkZj
.

Turns out it was an issue in my own code. I was returning on an edge case without committing the transaction. Sorry for the false alarm.


Group Layers are not at right level

It seems like they are always cascading instead of going back to the top level when they should.
I've played with this a bit, but haven't found the right way to fix...
I believe the fix should be around this area of code.
// place subLayers not in the root
 if (parentId !== -1) {
          subListNode = domConstruct.create("ul", {
           className: this.css.subList
           }, this._nodes[layerIndex].subNodes[parentId].subLayer);
 }

( I worked on a sample using this mapservice - http://sampleserver6.arcgisonline.com/arcgis/rest/services/NetworkAnalysis/SanDiego/MapServer
here is my publicly available webmap
( http://www.arcgis.com/home/webmap/viewer.html?webmap=dd4d01ea18154183a2b0bdad32991e82 )
The 4 top level groups are 'San Diego', 'Route', 'Closest Facility' and 'Service Area'
However, Route ends up showing under San Diego, and so on..

hey @gcaseycupp I think the route is showing under san diego because the layer title is "san diego". It's just showing the layer name. I think the hierarchy is correct though.

@gcaseycupp you were right. there was something messed up with the heirarchy. I think i got it fixed.

Nice job. I just tested and it worked

thanks! :+1:


Error while extracting decoder

2020-05-03 07:13:43.247 T:2420106096  NOTICE: [script.module.inputstreamhelper] Recursively create directory '/storage/.kodi/userdata/addon_data/script.module.inputstreamhelper/temp'.
2020-05-03 07:13:43.247 T:2420106096  NOTICE: [script.module.inputstreamhelper] Create directory '/storage/.kodi/userdata/addon_data/script.module.inputstreamhelper/temp/mnt'.
2020-05-03 07:13:43.261 T:2420106096  NOTICE: [script.module.inputstreamhelper] Create directory '/storage/.kodi/cdm'.
2020-05-03 07:13:43.264 T:2420106096  NOTICE: Previous line repeats 1 times.
2020-05-03 07:13:43.264 T:2420106096 WARNING: [script.module.inputstreamhelper] Widevine CDM is not installed.
2020-05-03 07:13:43.266 T:2420106096  NOTICE: [script.module.inputstreamhelper] Create directory '/storage/.kodi/cdm'.
2020-05-03 07:13:43.267 T:2420106096  NOTICE: [script.module.inputstreamhelper] Recursively create directory '/storage/.kodi/userdata/addon_data/script.module.inputstreamhelper/temp'.
2020-05-03 07:13:43.926 T:2420106096  NOTICE: Previous line repeats 1 times.
2020-05-03 07:13:43.926 T:2420106096   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IOError'>
Error Contents: [Errno 2] No such file or directory: u'/storage/.kodi/userdata/addon_data/script.module.inputstreamhelper/temp/4.10.1582.2-mac-x64.zip'
Traceback (most recent call last):
File "/storage/.kodi/addons/script.module.inputstreamhelper/default.py", line 8, in
run(sys.argv)
File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/api.py", line 14, in run
widevine_install()
File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/api.py", line 42, in widevine_install
Helper('mpd', drm='widevine').install_widevine()
File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/init.py", line 33, in clean_before_after
result = func(self, *args, **kwargs)
File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/init.py", line 217, in install_widevine
if not widevine_eula():
File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/widevine/widevine.py", line 39, in widevine_eula
downloaded = http_download(url, message=localize(30025))  # Acquiring EULA
File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/utils.py", line 92, in http_download
with open(download_path, 'wb') as image:
IOError: [Errno 2] No such file or directory: u'/storage/.kodi/userdata/addon_data/script.module.inputstreamhelper/temp/4.10.1582.2-mac-x64.zip'
-->End of Python script error report<--

Should be fixed: https://github.com/emilsvennesson/script.module.inputstreamhelper/pull/334/files#diff-68cc89a423b48fc3f74979a0ea3b7dc2R93


Support for external etcd clusters

What feature would you like to be added?
KubeOne should be able to support using an externally managed etcd cluster for the Kubernetes control plane. Kubeadm supports using an external ectd cluster, as is described here.
What are use cases of the feature?
Splitting the etcd cluster from the rest of the Kubernetes control plane would allow for the following:

independent scaling of etcd and Kubernetes control plane nodes
performance tuning of etcd cluster
being able to run etcd cluster in different environment than the Kubernetes cluster itself
a slight security advantage of keeping the cluster state in etcd explicitly seperate from running containerized user workloads

@shaase-ctrl  has this feature being added?

@shaase-ctrl  has this feature being added?

@shaase-ctrl has this feature being added?

Nope. Not yet, but we still having internal discussion for wether we should support this. External etcds are not the problem (kubeadm support it), but we having a problem to define good balance between UX and security to allow to manage PKI for etcd.

@shaase-ctrl has this feature being added?

Nope. Not yet, but we still having internal discussion for wether we should support this. External etcds are not the problem (kubeadm support it), but we having a problem to define good balance between UX and security to allow to manage PKI for etcd.

@kron4eg  Thanks for the fast explanation :+1:

@kron4eg  Thanks for the fast explanation :+1:


Scroll bar is not blending in

Description
Scroll bar should be having rounded corners in order to merge with the theme.
I want to work on this issue.
Screenshots

Go ahead

I want to contribute to this issue.
Kindly assign me

Can you assign this issue to me?

@IAmTamal done!


geometry2: 0.5.15-0 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository geometry2 to 0.5.15-0:

upstream repository: https://github.com/ros/geometry_experimental.git
release repository: https://github.com/ros-gbp/geometry2-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.5.23
previous version for package: 0.5.14-0

geometry2

No changes

tf2

No changes

tf2_bullet

No changes

tf2_eigen
* fixup #186 <https://github.com/ros/geometry2/issues/186>: inline template specializations (#200 <https://github.com/ros/geometry2/issues/200>)
* Contributors: Robert Haschke

tf2_geometry_msgs

No changes

tf2_kdl

No changes

tf2_msgs

No changes

tf2_py

No changes

tf2_ros
* tf2_ros: add option to unregister TransformListener (#201 <https://github.com/ros/geometry2/issues/201>)
* Contributors: Hans-Joachim Krauch

tf2_sensor_msgs

No changes

tf2_tools

No changes

holding for release with more packages


InvalidOperationException upon accessing AccountsController from default yeoman generator

The full error: "InvalidOperationException: Unable to resolve service for type 'WebApplication.Models.ApplicationDbContext' while attempting to activate 'Microsoft.AspNet.Identity.EntityFramework.UserStore`3[WebApplication.Models.ApplicationUser,Microsoft.AspNet.Identity.IdentityRole,WebApplication.Models.ApplicationDbContext]'."
I'm on OS X 10.10, trying to setup a default ASP.NET Web Application using Yeoman (generator-aspnet). Upon trying to access /Accounts/Login, or /Accounts/Register, the error above is displayed.
Does EF work on OS X? If not, what methods can I go about to persisting data. (While avoiding writing manual SQL statements everywhere...) My apologies if it is felt that this issue doesn't belong here. Wasn't sure where exactly it'd belong. It does however somewhat match Issue #359, but no one ever got to it.

So what I've been able to gather is, that EF does not work on OS X / unix based operating systems just yet. Something like this http://tattoocoder.com/building-vnext-web-api-using-mvc-6-mongodb-azure/ is recommended for the time being.

@divega can you take a look?

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.


Update sample data

Codecov Report

Merging #254 (4434871) into master (a3e9a3f) will increase coverage by 0.06%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #254      +/-   ##
============================================
+ Coverage     59.81%   59.88%   +0.06%
- Complexity      682      684       +2
============================================
  Files           130      130
  Lines          2663     2667       +4
  Branches        341      343       +2
============================================
+ Hits           1593     1597       +4
  Misses          913      913
  Partials        157      157

Impacted Files
Coverage Δ

...gic/parser/property/TypePropertyCommandParser.java
100.00% <0.00%> (ø)

...c/parser/property/StatusPropertyCommandParser.java
100.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Add Support for 311i Max

Originally requested by @matt-timmons here:

Hi there, I just picked up a 311i Max (different from 311i+ Max) over the weekend, and it's not showing up in homebridge / "Found 0 devices" in homebridge log.
All features appear to be the same as the 311i+, including auto mode, dynamic fan speed, child lock, LED, and PM 2.5 sensors. No other PM sizes. I think the only difference is that the 311i+ has a more powerful fan.
I'm not an expert at homebridge but happy to provide any other info I can.
Thanks!

@matt-timmons - There should be a line in the logs that looks something like this:
[BlueAir] This device is not yet supported. Device Type:  nb_l_1.0
Can you investigate and share? That Device type is what I'll need to add support on my end.

@jonato1 - I'm having the same issue with a 311i Max.
Looked in my logs after restarting the bridge and below is all I got -- nothing stating a device type. Are there other logs elsewhere I can/should be checking?
(I added Xs to obscure my email address in the API URL....)
7/14/2023, 1:30:48 PMBlueair Bridge starting
7/14/2023, 1:31:14 PMBlueair BridgeLoaded plugin '@fjs21/homebridge-blueair'
7/14/2023, 1:31:14 PMBlueair BridgeLoading 1 platforms...
7/14/2023, 1:31:14 PMBlueair BridgeBlueAirbase_API_url: https://api.blueair.io/v2/user/xxxxxxxxxxxxx/homehost/
7/14/2023, 1:31:14 PMBlueair BridgeBridge is running on port 51856.
7/14/2023, 1:31:15 PMBlueair BridgeBlueAirGot homehost: api-us-east-1.blueair.io
7/14/2023, 1:31:15 PMBlueair BridgeBlueAirx-auth-token: eyJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6Imt5bGVyb2JlcnRtY2RhbmllbEBnbWFpbC5jb20iLCJqdGkiOiJlMDhiN2Y0MS01OWY3LTQzOGYtYmJiMy1iZDBjMTg4Yjg0ZmQiLCJleHAiOjE3MjA5MDI2NzU4ODEsImV4cGlyYXRpb25EYXRlIjoxNzIwOTAyNjc1ODgxfQ.E0P5TGSIpFkWKEaUcVnqQbhHVumFPDbNZ0RhUdJtG8k
7/14/2023, 1:31:16 PMBlueair BridgeBlueAirFound 0 devices.

I have the exact same issue with my Blueair 211i Max :(

I picked up a 311i Max yesterday and installed this plugin today. I'm happy to say all is working well for me.

My logs. If there is any additional information needed, I'd be happy to provide it
[10/10/2023, 2:58:04 PM] [@fjs21/homebridge-blueair] Launched child bridge with PID <removed>
[10/10/2023, 2:58:09 PM] [@fjs21/homebridge-blueair] Loaded @fjs21/homebridge-blueair v1.3.1 child bridge successfully
[10/10/2023, 2:58:09 PM] [@fjs21/homebridge-blueair] base_API_url: <removed>
[10/10/2023, 2:58:10 PM] [@fjs21/homebridge-blueair] Got homehost: api-us-east-1.blueair.io
[10/10/2023, 2:58:11 PM] [@fjs21/homebridge-blueair] x-auth-token: <removed>
[10/10/2023, 2:58:11 PM] [@fjs21/homebridge-blueair] Found 0 devices.

I picked up a 311i Max yesterday and installed this plugin today. I'm happy to say all is working well for me.

Would you mind pasting your logs on here? Maybe we can see any differences between all of ours?

It's been a while since I restarted my homebridge, but here is what I am seeing when the plugin starts up:
[16/11/2023, 16:32:45] [Bedroom Air Purifier] x-auth-token: <removed>
[16/11/2023, 16:32:46] [Bedroom Air Purifier] Found 0 devices.
[16/11/2023, 16:32:46] [Bedroom Air Purifier] ** AWS login complete **
[16/11/2023, 16:32:47] [Bedroom Air Purifier] Found 3 Blueair AWS-compatible devices.
[16/11/2023, 16:32:47] [Bedroom Air Purifier] Restoring existing accessory from cache: Bedroom Purifier
[16/11/2023, 16:32:48] [Bedroom Air Purifier] Creating new object: BlueAirDustProtectAccessory
[16/11/2023, 16:32:48] [Bedroom Air Purifier] Restoring existing accessory from cache: Studio Purifier
[16/11/2023, 16:32:49] [Bedroom Air Purifier] Creating new object: BlueAirDustProtectAccessory
[16/11/2023, 16:32:49] [Bedroom Air Purifier] Restoring existing accessory from cache: Living Room Purifier
[16/11/2023, 16:32:49] [Bedroom Air Purifier] Removing stale Service: uuid:[<removed>]
[16/11/2023, 16:32:49] [Bedroom Air Purifier] Removing stale Service: uuid:[<removed>]
[16/11/2023, 16:32:50] [Bedroom Air Purifier] Removing stale Service: uuid:[<removed>]
[16/11/2023, 16:32:50] [Bedroom Air Purifier] Removing stale Service: uuid:[<removed>]
[16/11/2023, 16:32:50] [Bedroom Air Purifier] Creating new object: BlueAirDustProtectAccessory
[16/11/2023, 16:32:51] [Bedroom Air Purifier] Removing stale Service: uuid:[<removed>]
[16/11/2023, 16:32:51] [Bedroom Air Purifier] Removing stale Service: uuid:[<removed>]


health_monitor.stderr.log should include timestamps

During recent troubleshooting, we noticed that the health_monitor.stderr.log doesn't include timestamps, this makes debugging impossible.
$ tail -f health_monitor.stderr.log
Net::ReadTimeout
Net::ReadTimeout
Net::ReadTimeout

@tushar-dadlani we'll look into that. default logger should be prefixing lines. may be some puts somehow got in there?

Closing due to inactivity. Feel free to reopen if this is still an issue.


Test and integrate the Unit Tests ( Node Tier)

QA to integrate the Unit tests ( Node Tier) to test harness once they are available .

Moving this to 8.0-2 as node will come in post 8.0-1 . Discussed in triage meeting.


LDAP Connection Superset

Is your feature request related to a problem? Please describe.
I was trying to connect more than one domain on my Superset, but I think Superset does not permit that. When I try to connect more than one LDAP SERVER the Superset doesn't accept because on his source code he just accept one parameter.
Describe the solution you'd like
Ask for a option to add more than one domain on Superset.
Describe alternatives you've considered
Superset just permit us to connect just one LDAP connection with the parameters below:
AUTH_LDAP_SERVER = ""
AUTH_LDAP_USE_TLS = False
AUTH_LDAP_BIND_USER = ""
AUTH_LDAP_BIND_PASSWORD = ""
AUTH_LDAP_SEARCH = ""
AUTH_LDAP_UID_FIELD = ""
AUTH_LDAP_FIRSTNAME_FIELD = ""
AUTH_LDAP_LASTNAME_FIELD = ""
If we can use a separition to connect one more domain, ou many others, separating them with a space or a comma it would be very useful.

Hi @ziusware,
This is more of a FAB question, since the LDAP auth is performed by it. Feel free to open and issue there.

Hi @bharath0208,
I'm having the same problem, ldap is running and can query it from my local machine and docker, however when try from kubernetes cluster, cannot connect to ldap server.
Did you find any solution?


Beta site should support https

godbolt.org cert is only valid for *.godbolt.org, so can't just use that... should move to a /beta style approach or similar.

Done! Check it out at https://gcc.godbolt.org/beta/ etc


Change types inside Scope to PyDictRef.

Codecov Report

Merging #751 into master will decrease coverage by 0.11%.
The diff coverage is 38%.

@@            Coverage Diff             @@
##           master     #751      +/-   ##
==========================================
- Coverage   42.06%   41.94%   -0.12%
==========================================
  Files          80       80
  Lines       16866    16848      -18
  Branches     4217     4209       -8
==========================================
- Hits         7094     7067      -27
- Misses       8026     8033       +7
- Partials     1746     1748       +2

Impacted Files
Coverage Δ

vm/src/import.rs
37.31% <0%> (ø)
:arrow_up:

vm/src/builtins.rs
37.46% <30%> (-0.98%)
:arrow_down:

vm/src/vm.rs
49.8% <33.33%> (-0.87%)
:arrow_down:

vm/src/obj/objframe.rs
30% <38.88%> (-14.12%)
:arrow_down:

vm/src/frame.rs
44.28% <41.66%> (+0.34%)
:arrow_up:

vm/src/pyobject.rs
53.01% <50%> (-0.86%)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e68eb9c...4a5592d. Read the comment docs.


Asking the Basic

hello... i have question about the basic that i dont know, just like the user plugin when i want to add the submit value to the front-end i must add something like {{user.name}}, but i've confused when using the value from the form i build, to show up in front-end page, is that i must  using sql query to echoing the value?
Q : how to use the value from the back-end table to front-end page.
Thanks.

The data is stored as json on the "form_data" field.
You can convert to a php array with json_decode().
(I will add something to the docs)

thanks it's very useful but how to get RECORD_ID? or just ID of the index record?


Client API: Sync

Description
Exposing a client API for managing peer discovery and sync mechanisms, as well as subscribing to relevant events.
Related to #74
Tasks

[ ]

Replaced by #134


Add: The Base Gospel [GH]

Channel Name
The Base Gospel
Alternative Names (optional)
No response
Network (optional)
No response
Owners (optional)
No response
Country
GH
Subdivision (optional)
No response
City (optional)
No response
Broadcast Area
c/GH
Languages
eng
Categories (optional)
Music
NSFW
FALSE
Launched (optional)
No response
Closed (optional)
No response
Replaced By (optional)
No response
Website (optional)
No response
Logo
https://escuchar.radio/assets/images/radios/thebasegospel.jpg
Notes
No response

We only add TV channels to the database.

We only add TV channels to the database.

Is also TV channel.
https://asiakwa.com/thebasetv/index.m3u8


$eq and $ne behaviour is different from Mongo for array fields

In MongoDB, it is possible to test if array field contains some value by using following query: {"array": "value"}.
https://docs.mongodb.com/manual/reference/operator/query/eq/#array-element-equals-a-value

Array Element Equals a Value
The following example queries the inventory collection to select all documents where the tags array contains an element with the value "B" [1]:
db.inventory.find( { tags: { $eq: "B" } } )
The query is equivalent to:
db.inventory.find( { tags: "B" } )
Both queries match the following documents:
{ _id: 1, item: { name: "ab", code: "123" }, qty: 15, tags: [ "A", "B", "C" ] }
{ _id: 2, item: { name: "cd", code: "123" }, qty: 20, tags: [ "B" ] }
{ _id: 3, item: { name: "ij", code: "456" }, qty: 25, tags: [ "A", "B" ] }
{ _id: 4, item: { name: "xy", code: "456" }, qty: 30, tags: [ "B", "A" ] }

So, the aforementioned query would match a document like {"_id": 1, "array": ["value", "another value"]}.
Docs don't explicitly state that $ne behaves similarly, but, in practice, I noticed that it does, and it would make sense since the operators are counterparts of each other.
https://docs.mongodb.com/manual/reference/operator/query/ne/
This issue has been previously reported in #323 and was closed, but I was able to reproduce it under mongomock 3.16.0, so maybe it's a regression?
Adding a piece of code to reproduce. Using regular MongoClient against a real database, these tests work, but with mongomock they fail.
import mongomock

def test_eq_array():
    client = mongomock.MongoClient()
    collection = client.test_db.test_collection
    collection.insert_one({'_id': 1, 'array_field': [1]})
    query = {'array_field': {'$eq': 1}}  # {'array_field' : 1} would work similarly to explicit $eq
    matching_documents = collection.find(query)
    assert matching_documents[0]['_id'] == 1

def test_ne_array():
    client = mongomock.MongoClient()
    collection = client.test_db.test_collection
    collection.insert_one({'_id': 1, 'array_field': [1]})
    query = {'array_field': {'$ne': 1}}
    matching_documents = collection.find(query)
    assert list(matching_documents) == []

Thanks for reporting @NazarTopolsky and the very good examples. I'll take a stab at it.


Dataclasses, init=False and private attributes

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
Two issues in one, that should probably be addressed in 2.X or perhaps in https://github.com/pydantic/pydantic/labels/v3:

Fields with init=False are excluded from serialization:

from dataclasses import field

from pydantic import TypeAdapter
from pydantic.dataclasses import dataclass

@dataclass
class A:
    f: int = field(init=False)

a = A()
a.f = 1

ta = TypeAdapter(A)
ta.dump_python(a)
#> {}

Private attributes are not supported, but some people assumed so. In 3.11, Python raises a ValueError when using mutable defaults, resulting in a confusing error:

from pydantic import PrivateAttr
from pydantic.dataclasses import dataclass

@dataclass
class A:
    _a: int  # Not considered as a private attr
    _b: int = PrivateAttr()  # Errors on py311

# Private attrs not excluded from serialization.

For Pydantic models, we have special logic to call the default/default factory of private fields as a post init hook. This means we would have to support this as well, and exclude these private fields from serialization. Quite some work involved, some I'm inclined to just not support private fields for dataclasses.
Example Code
No response
Python, Pydantic & OS Version
main

If possible, I'd like to contribute to the support of dataclasses. I think using dataclasses and pydantic can contribute to standardize and port models. It's a huge feature that if it's well implemented, even more people would be happy to join the pydantic ecosystem.

We'll have to discuss this with the team this week, but there's a chance that we will not support it unfortunately. I'll get back to you tomorrow or Thursday.

Awesome! Thank you for the quick answer. I'll be watching this thread!

Hmm, 1st one seems like a change for v3, if any.
We could probably at least make it more clear that we don't support the 2nd for now.


FuzzyEngine Defuzzify working only once

I've found out that once a calculation is made the premise is not reset when calculating for another value, thus calculating invalid values.
PremiseModifier value gets a value and it never gets a lower value, even on the Defuzzify method where it says //reset membership functions, it does nothing as the setter filters out setting a lower value.
I've fixed it for myself by adding a reset method which sets the PremiseModifier to zero.

I had the same issue. Glmnet, would you post your fix here?

I've forked this repo and pushed my changes there, I added a reset method to BaseMembershipFunction so I call it instead of the 0 assignation in FuzzyEngine.cs line 83... in the original repo this is failing as the setter has a filter (value > currentValue) and as value is 0 this never happens.
I respect the effort of the author and I learn a lot of fuzzy logic with this library but overall code quality is not very good.
I'm not using it so I cannot work on it.

David,
Thanks for your reply. Is there a Fuzzy C# library that you recommend instead of FLS?
I was thinking about going over the FLS code and cleaning it up, but I am new to Fuzzy Logic. I am going to use the library for a fluid control simulation.
Thanks,
Tim
--
Timothy Walter Dion
<EMAIL_ADDRESS>c408-624-6938
On Fri, Feb 22, 2019, at 12:32 PM, Guillermo Ruffino wrote:

I've forked this repo and pushed my changes there, I added a reset method to BaseMembershipFunction so I call it instead of the 0 assignation in FuzzyEngine.cs line 83... in the original repo this is failing as the setter has a filter (value > currentValue) and as value is 0 this never happens.
I respect the effort of the author and I learn a lot of fuzzy logic with this library but overall code quality is not very good.
I'm not using it so I cannot work on it.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/davidgrupp/Fuzzy-Logic-Sharp/issues/1#issuecomment-466537263, or mute the thread https://github.com/notifications/unsubscribe-auth/AtriXzMlyHKd2ek0UnzmJP0gK-foGLZPks5vQFPKgaJpZM4ZT7k0.

I did not find anything better than this library. Did not find many either.

@glmnet @tdion Hi all, sorry for late reply. I'd be happy to merge in your fix you mentioned if you create a PR. If not I can take a stab at fixing it myself.

Sure I’ll send a PR
El El jue, 28 mar. 2019 a las 19:09, david grupp<EMAIL_ADDRESS>escribió:

@glmnet https://github.com/glmnet @tdion https://github.com/tdion Hi
all, sorry for late reply. I'd be happy to merge in your fix you mentioned
if you create a PR. If not I can take a stab at fixing it myself.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/davidgrupp/Fuzzy-Logic-Sharp/issues/1#issuecomment-477789585,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAF3oozusTUndF182YJe09dbyF5zWJWjks5vbT2hgaJpZM4ZT7k0
.

--
GLM

David, Thanks for your reply. Is there a Fuzzy C# library that you recommend instead of FLS? I was thinking about going over the FLS code and cleaning it up, but I am new to Fuzzy Logic. I am going to use the library for a fluid control simulation. Thanks, Tim
…
-- Timothy Walter Dion<EMAIL_ADDRESS>c408-624-6938
On Fri, Feb 22, 2019, at 12:32 PM, Guillermo Ruffino wrote: I've forked this repo and pushed my changes there, I added a reset method to BaseMembershipFunction so I call it instead of the 0 assignation in FuzzyEngine.cs line 83... in the original repo this is failing as the setter has a filter (value > currentValue) and as value is 0 this never happens. I respect the effort of the author and I learn a lot of fuzzy logic with this library but overall code quality is not very good. I'm not using it so I cannot work on it. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#1 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AtriXzMlyHKd2ek0UnzmJP0gK-foGLZPks5vQFPKgaJpZM4ZT7k0.

Try Accord.Fuzzy it based on AForge.NET Fuzzy Computations Library
https://www.nuget.org/packages/Accord.Fuzzy/3.8.0


Integration of multiple datasets

Dear all,

thanks to the authors for this great web page, I am really beginner in coding and scData analysis.
Would there be any option to extend the applicability of this tool to integrate several datasets, preserving however the origin of every single one?
Thanks a lot and best wishes, Michael

Would there be any option to extend the applicability of this tool to integrate several datasets, preserving however the origin of every single one?

Yes, this is in the plan somewhere (see https://github.com/LTLA/CppMnnCorrect for the method that we plan to use). But it'll have to wait until we squeeze out the manuscript.

@MichaelSchulzGSH we now support integration of multiple datasets using the MNN correction algorithm.


Do not hardcode CC=gcc in the Makefile

The Makefile hardcodes the CC variable as CC=gcc, forcing users to comment it out in case they want to use clang/a different version of gcc.
It would be wiser IMHO to just leave the CC variable alone, given that in GNU Make it defaults to cc when not set (which is almost always a symlink to gcc).

@alois31 yes, you can also use that, but it doesn't really solve the issue - the Makefile should pick CC from the environment make is running from, and having GCC hardcoded it's really not useful to anyone. For instance, a script that automates package building (like Arch Linux PKGBUILDs) would have to invoke make as make CC=$CC, which is rather clunky.

I was recently trying to cross compile procdump as a package for openwrt
Following are some methods I tried:
A. edit the CC var in the Makefile of procdump source code to "CC ?= gcc"

add in my openwrt makefile the following:
CC=$(TARGET_CROSS)gcc
$(MAKE)
This uses default cc instead of what I set(built for host rather than cross compiled).
Output in logs: cc -c -g -o obj/Procdump.o src/Procdump.c  -I ./include -pthread -std=gnu99
export the CC variable and then invoke make
export CC=$(TARGET_CROSS)gcc
$(MAKE)
The cross compilation is successful.
Output in logs: aarch64-openwrt-linux-gnu-gcc -c -g -o obj/Procdump.o src/Procdump.c  -I
./include -pthread -std=gnu99
B. Using existing Makefile, instead pass CC to make and override the one in Makefile
$(MAKE) CC=$(TARGET_CROSS)gcc
Output in logs: aarch64-openwrt-linux-gnu-gcc -c -g -o obj/Procdump.o src/Procdump.c  -I
./include -pthread -std=gnu99

Method A.2 should be similar to what the scripts would usually have when automating package build.
Change "CC=gcc" to "CC ?= gcc" should solve the problem of 1. Makefile using specifying gcc if env not set. 2. Problem of explicitly passing CC to make.
Proposed Solution:
--- ProcDump-for-Linux-1.1.1/Makefile   2020-04-03 12:03:02.000000000 -0700
+++ procdump/Makefile   2020-06-13 20:31:31.307826141 -0700
@@ -1,5 +1,5 @@
ROOT=.
-CC=gcc
+CC ?= gcc
CFLAGS ?= -Wall
CCFLAGS=$(CFLAGS) -I ./include -pthread -std=gnu99
LIBDIR=lib

Fixed.


Impossible to trigger dropdown on a index tile

I want to delete an index from the backoffice. But the "..." button is not clickable anymore.
I'm almost sure there was a feature around this "..." button
Expected Behavior

When I click on the "..." button, I have a dropdown giving me the possibility to delete an index from the backoffice
Current Behavior

Nothing happened
Possible Solution

Steps to Reproduce

Go to http://kuzzle-backoffice.netlify.com
Create an index
Try to delete the index by clicking the "..." button > delete Index

Context (Environment)

Kuzzle 1.2.10
No console error

Hi, do your index have special characters in its name, as _ or other?
Hi,
There is an open issue on a bug preventing popup menu to show when index or collection's name contain some special char.
ping @Njuelle
Cheers

https://github.com/kuzzleio/kuzzle-backoffice/pull/361

That's exactly my case

Fixed but not deployed yet


Unable to delete a database while associated with job account but the job account has been deleted

Hi there
arrived here while trying to get assistance with this preview feature
as test a job account has been created and associated with a test database.
Now the job account has been successfully deleted but I'm unable to delete the database because of this error
Failed to delete the database:
ErrorCode: 400
ErrorMessage: The database  on server  is used by job account leastic. Database cannot be deleted or renamed while associated with job account.
thanks
Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[ ] The relevant Azure service or technology.
[ ] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[ ] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/forums/34192--general-feedback.

@benoithamet Can you please provide us with the URL of the Azure doc that you are having issues with? We look forward to your reply.

@benoithamet Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly reopen the issue and continue the discussion.


Script is now outdated with new game release v<IP_ADDRESS>

First try on this screenshot was with a backed up .sav from yesterday, prior to the game update, and 2nd try is with the current .sav, post game update:

Taking an old backup and running the script works, but If I take the current save file from the new patch, the script cannot see it.

thanks for making an issue. I'll check this out

Hi,
Yesterday I used the script with a Savegame of Version <IP_ADDRESS> without Problems. Just the Savegame on the Local Map needed to be newer than the one at the Server.

Appreciate the comment @Terrorwolf01. Good to know it mostly still works

I confirm it doesn't work, the script cant "see" the save file from the new version.

I've validated newer saves work with the script so we should be good now.


Add Linear search and Binary search algorithm in C++/Algorithm folder

Add README file for each algorithm in their respective folder. Example C++/Algorithm/BinarySearch folder contains - binary_search (source file) and README.md file

Please assign this to me.

Please assign this to me @risingstar-bit

assigned

Is this issue still open?
I would like to resolve this issue.

Is this issue still open? I would like to resolve this issue.

The issue is already resolved @risingstar-bit


Build(deps-dev): Bump @storybook/addon-essentials from 6.5.7 to 6.5.8 (#3604)

Pull request opened by the merge tool on behalf of #3604

Merged in ec0f13895b17b20c222afcb800e959c780e3fa48


Recursive clean (-rC) not as expected

# poudriere bulk -j 12 -rC security/openssl
With the recent replacement of openssl111 to openssl, I needed to rebuild all ports which rely on openssl. pourdriere did not automatically notice the change to DEFAULT_VERSIONS which required all dependent ports to be rebuild.
The above command might be expected to clean all ports relying on openssl, but it only cleans the one port.

bulk expects a consistent view of what you want to build. You need to pass in the same list of packages every time. Then it should recognize the openssl origin change and rebuild everything.
I can see a desire for it working like you expected but currently it doesn't. I am open to reworking that in the future.

Would it help if poudriere had a default value for the list of ports to build? Currently you need to pass -f with that file for very many operations so that poudriere has a view of what ports you care about.


[silgen] When assigning into an lvalue, the value that we are storing…

… must be at plus one.
This allows us to obey Semantic SIL when attempting to assign a guaranteed value
into a storage location.
rdar://34222540

Again, this is behind a flag, so current codegen shouldn't change.

@swift-ci test and merge


gtburst not working

Hello everyone, when I installed fermitools, it showed that the installation was successful, but when I used Gtburst, the following error occurred!
(fermi3ML) lm@LAPTOP-PGKLAI6C:~$ gtburst
Loading pyBurstAnalysisGUI v. 03-00-00p5 ....... done
Traceback (most recent call last):
File "/home/lm/miniconda3/envs/fermi3ML/lib/python3.9/site-packages/fermitools/gtburst.py", line 137, in handle_exception
return method(*args, **kwargs)
File "/home/lm/miniconda3/envs/fermi3ML/lib/python3.9/site-packages/fermitools/gtburst.py", line 585, in main
self.root = Tk()
File "/home/lm/miniconda3/envs/fermi3ML/lib/python3.9/tkinter/init.py", line 2270, in init
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/lm/miniconda3/envs/fermi3ML/lib/python3.9/site-packages/fermitools/gtburst.py", line 137, in handle_exception
return method(*args, **kwargs)
File "/home/lm/miniconda3/envs/fermi3ML/lib/python3.9/site-packages/fermitools/gtburst.py", line 179, in init
self.main()
File "/home/lm/miniconda3/envs/fermi3ML/lib/python3.9/site-packages/fermitools/gtburst.py", line 154, in handle_exception
showerror("Unhandled exception", msg)
File "/home/lm/miniconda3/envs/fermi3ML/lib/python3.9/tkinter/messagebox.py", line 98, in showerror
return _show(title, message, ERROR, OK, **options)
File "/home/lm/miniconda3/envs/fermi3ML/lib/python3.9/tkinter/messagebox.py", line 76, in _show
res = Message(**options).show()
File "/home/lm/miniconda3/envs/fermi3ML/lib/python3.9/tkinter/commondialog.py", line 42, in show
w = Frame(self.master)
File "/home/lm/miniconda3/envs/fermi3ML/lib/python3.9/tkinter/init.py", line 3124, in init
Widget.init(self, master, 'frame', cnf, {}, extra)
File "/home/lm/miniconda3/envs/fermi3ML/lib/python3.9/tkinter/init.py", line 2566, in init
BaseWidget._setup(self, master, cnf)
File "/home/lm/miniconda3/envs/fermi3ML/lib/python3.9/tkinter/init.py", line 2533, in _setup
master = _get_default_root()
File "/home/lm/miniconda3/envs/fermi3ML/lib/python3.9/tkinter/init.py", line 298, in _get_default_root
root = Tk()
File "/home/lm/miniconda3/envs/fermi3ML/lib/python3.9/tkinter/init.py", line 2270, in init
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/lm/miniconda3/envs/fermi3ML/bin/gtburst", line 11, in
sys.exit(main())
File "/home/lm/miniconda3/envs/fermi3ML/lib/python3.9/site-packages/fermitools/gtburst.py", line 2118, in main
g = GUI()
File "/home/lm/miniconda3/envs/fermi3ML/lib/python3.9/site-packages/fermitools/gtburst.py", line 154, in handle_exception
showerror("Unhandled exception", msg)
File "/home/lm/miniconda3/envs/fermi3ML/lib/python3.9/tkinter/messagebox.py", line 98, in showerror
return _show(title, message, ERROR, OK, **options)
File "/home/lm/miniconda3/envs/fermi3ML/lib/python3.9/tkinter/messagebox.py", line 76, in _show
res = Message(**options).show()
File "/home/lm/miniconda3/envs/fermi3ML/lib/python3.9/tkinter/commondialog.py", line 42, in show
w = Frame(self.master)
File "/home/lm/miniconda3/envs/fermi3ML/lib/python3.9/tkinter/init.py", line 3124, in init
Widget.init(self, master, 'frame', cnf, {}, extra)
File "/home/lm/miniconda3/envs/fermi3ML/lib/python3.9/tkinter/init.py", line 2566, in init
BaseWidget._setup(self, master, cnf)
File "/home/lm/miniconda3/envs/fermi3ML/lib/python3.9/tkinter/init.py", line 2533, in _setup
master = _get_default_root()
File "/home/lm/miniconda3/envs/fermi3ML/lib/python3.9/tkinter/init.py", line 298, in _get_default_root
root = Tk()
File "/home/lm/miniconda3/envs/fermi3ML/lib/python3.9/tkinter/init.py", line 2270, in init
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable
Note:
OS: WSL
fermitools v2.2.0

It's strange, when I set export DISPLAY=:0, it still doesn't work.
(base) lm@LAPTOP-PGKLAI6C:~$ fv
application-specific initialization failed: couldn't connect to display ":0"
Error in startup script: couldn't connect to display ":0"
while executing
"load /home/lm/workdir/heasoft/tcltk/x86_64-pc-linux-gnu-libc2.31/lib/libtk8.6.so Tk"
("package ifneeded Tk 8.6.11" script)
invoked from within
"load /home/lm/workdir/heasoft/tcltk/x86_64-pc-linux-gnu-libc2.31/lib/itk4.1.0/libitk4.1.0.so Itk"
("package ifneeded Itk 4.1.0" script)
invoked from within
"package require Itk"
(procedure "fvInit" line 11)
invoked from within
"fvInit"
("eval" body line 1)
invoked from within
"eval fvInit $argv"
(file "/home/lm/workdir/heasoft/x86_64-pc-linux-gnu-libc2.31/lib/fv/fvInit.tcl" line 18)

@Liaomao123 Windows 10 is not working yet, you can try to upgrade your system to windows11 professional edition, all my current GUI tools can be used in windows11 system.


Not able to use UseState inside the block

What version of million are you using?
2.6.0-beta.13
Are you using an SSR adapter? If so, which one?
NO
What package manager are you using?
yarn
What operating system are you using?
Windows
What browser are you using?
Chrome
Describe the Bug
While using block component
const Block=block(MyComp)
I am getting error "Invalid hook call. Hooks can only be called inside of the body of a function component"
I am using useState hooks inside the component.
What's the expected result?
The block should work without the above issue
Link to Minimal Reproducible Example
n/a
Participation

[ ] I am willing to submit a pull request for this issue.

Could you send that piece of code, please?

Agreed, @kdRanaa can we have a minimal reproduction that you're facing?

Here is the code snippet
`import React from 'react'
import {block} from 'million/react'
const Mycomp=()=>{
const [state,setState]=React.useState(0)
return (
{state}
)
}
const Myblock=block(Mycomp)
export default Myblock
`
And the error i am getting is
Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app

Here is the code snippet
import React from 'react'
import {block} from 'million/react'

const Mycomp=()=>{
  const [state,setState]=React.useState<number>(0)

  return (
    <p>{state}</p>
  )
}

const Myblock=block(Mycomp)

export default Myblock

And the error i am getting is
Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app

Well, that's a rule blocks are supposed to follow. If you really need to use the state, then pass it's value and the function for setting it to a value as arguments to the component of the block.

This is likely a misconfiguration with the compiler. Can you send your config? @kul-sudo

This is likely a misconfiguration with the compiler. Can you send your config? @kul-sudo

I am not the one who has the problem.

`I am using react-app-rewired
const path = require("path");
const fs = require("fs");
const rewireBabelLoader = require("react-app-rewire-babel-loader");
const million = require('million/compiler');
const appDirectory = fs.realpathSync(process.cwd());
module.exports = function override(config, env) {
config.plugins = (config.plugins || []).concat([
million.webpack()
]);
config.module.rules.push({
test: /.mjs$/,
include: /node_modules/,
type: "javascript/auto",
});
return config;
};
`
i have added the configuration to the file, now i am getting runtime error , regarding "Module Not Found" which were imported from mui and other.

@kul-sudo, I have shared my compiler configuration.

@kul-sudo, I have shared my compiler configuration.

I have never used react-app-rewired, so I am not sure what I can say.

@aidenybai  can you have a look at @kdRanaa  configuration becuase it looks alright to me, but look at it and see if it's the configuration that's causing the issue
and @kdRanaa , try updating to the latest version of million and see if the issue still persists

Are you still getting the same error @kdRanaa?

@aidenybai

This is likely a misconfiguration with the compiler

I'm seeing this as well and I'm not confident my compiler is set up correctly. Is there something I can do to validate my complier set up?

I am facing the same basic issue, any help would be appreciated!

@rushi-visilean I had the same issue the other day. Have you installed craco yet? After installing it, I manage to get it working.
One thing that the documentation needs for newbie (like me) is that it's dependent on craco instead of assuming prior knowledge just because it shows a craco configuration file.

Hi @Skarvion
Thanks for your prompt reply and for sharing your experience. I completely agree with your observation. After installing Craco and updating the start script, I successfully integrated Million. It's great to know I wasn't the only one facing this and that it worked for you too.
I completely empathize with your point about the documentation. It's crucial to have clear instructions, especially for newcomers like us. The documentation could be improved by highlighting the dependency on Craco for newcomers who might not have prior knowledge. It can be quite confusing without explicit guidance.
Hopefully, our feedback will help refine the documentation for a smoother experience for future users.

Hi @Skarvion
Thanks for your prompt reply and for sharing your experience. I completely agree with your observation. After installing Craco and updating the start script, I successfully integrated Million. It's great to know I wasn't the only one facing this and that it worked for you too.
I completely empathize with your point about the documentation. It's crucial to have clear instructions, especially for newcomers like us. The documentation could be improved by highlighting the dependency on Craco for newcomers who might not have prior knowledge. It can be quite confusing without explicit guidance.
Hopefully, our feedback will help refine the documentation for a smoother experience for future users.

Thank you very much, Rushi!! We're actually on it 😢😢😢


Installation issues with root_numpy and clang

Hi!
I've been trying to install root_numpy. I have already updated my gcc to the latest version and have gotten past the "missing atomic file" but now a new error appears after I built numpy with gcc-6.
Here is a part of the error I got.
[`/Users/DC/Downloads/build/include/TClassEdit.h:181:45: error: 'TClassEdit::GetUniquePtrType' declared as an 'inline' variable
    inline std::string GetUniquePtrType(std::string_view name)
                                             ^~~~~~~~~~~
/Users/DC/Downloads/build/include/TClassEdit.h:181:40: error: 'string_view' is not a member of 'std'
    inline std::string GetUniquePtrType(std::string_view name)
                                        ^~~
/Users/DC/Downloads/build/include/TClassEdit.h:182:4: error: expected ',' or ';' before '{' token
    {
    ^
error: command 'gcc' failed with exit status 1`](url)

Hi @uzzielperez! Which version of ROOT is this? There have been issues compiling ROOT with gcc6 in the past: https://sft.its.cern.ch/jira/browse/ROOT-8139

Hi @ndawe! Thanks for your reply! I'm using ROOT v6.08.02. I forgot to tell that I am using MacOS. Someone told me that I should be using clang instead. I don't really understand what that means.
I think my problem is I should build numpy properly first. Should I reinstall anaconda to do that or could I just build numpy separately and then build root_numpy?

Hi @ndawe, I reinstalled bumpy using pip2 install numpy and then built ROOT v6.08.02 using cmake.
And then inside the git cloned root_numpy directory I did
sudo ROOTSYS=$ROOTSYS python setup.py install
but I get the following error
/Users/up/Downloads/build/include/Rtypes.h:37:10: fatal error: 'atomic' file not found #include <atomic>          ^ 1 warning and 1 error generated. error: command '/usr/bin/clang' failed with exit status 1
Do you have an idea on why this happens?

Hmm.. seems like c++11 is disabled somewhere. Can you try placing this in the setup.py?
140     extra_compile_args=root_cflags + [
141         '-Wno-unused-function',
142         '-Wno-write-strings',
NEW       '-std=c++11',
143     ],

root_numpy should automatically get that from root-config. When you build ROOT with cmake is c++11 enabled?
What do you see when running the following?
root-config --cflags
-pthread -std=c++11 -m64 -I/blabla/ROOT/v6-09-01/include/root

@uzzielperez - were you able to get this fixed?

Closing for now. Reopen if necessary.

This is the second time I've installed root_numpy on OSX10.12 and  have had to  turn to  the fix (with a ton of warnings that seem, in the end, harmless) at https://github.com/scikit-hep/root_numpy/issues/157


Feature request: Button to reload all backends

Please add a button in microG settings to reload all backends.
When permissions of backends are lost I have to disable them, confirm and re-enable them in microG settings to get the permission requests again.

Sounds more like a problem with the backends than with microG itself. . . Each backend should check to see if it has the privileges it needs when it runs and ask for them if it doesn't. At least it should work that way on recent versions of Android.
What backends have you noticed this being a problem with?
What situations lead up to them losing their permissions?

@n76
Well, I'm not sure if it is a good thing that while using other apps it popup a backend asking for permissions.
But I think that while opening microG settings they should check everytime.
Mainly the Mozilla backend (but I think it may happen also to others).
I'm not sure about the causebut it may be something like updating ROM, clean dalvik/ART cache or similar things.

When permissions of backends are lost I have to disable them, confirm and re-enable them in microG settings to get the permission requests again.

This is old, but permissions is set by the OS (and LineageOS Privacy Guard if used), not microG.

@realmain: No, they are runtime permissions so they must be granted by the user.

Another approach would be add an exported function in every backend, something like "VerifyAndRegrantPermissions()"; so UnifiedNLP can cycle all enable backends and execute these functions (if exist).

The LocationBackendService object which back ends inherit to be a backend supports a getInitIntent() method which returns an Intent containing all the permissions the backend needs but has not been granted. So your "VerifyAndRegrantPermissions()" is effectively supported by some backends today. You would need code in UnifiedNlp to cycle through the installed backends, make the call to the getInitIntent() method, deal with the needed permissions, etc.
At present, at least in the GmsCore version of UnifiedNlp, calls to that method are only made when you enable a backend.

You would need code in UnifiedNlp to cycle through the installed backends, make the call to the getInitIntent() method

So I think this Feature request: "Button to reload all backends" as such is inappropriate.
Instead, there should be bug report that UnifiedNlp doesn't call that getInitIntent() method anywhere  where needed.

@bam80
Well, it may be called: "Button to cycle all backends and call getInitIntent()".
There should be a manual action to recover from lost permissions without the need of doing it manually.

@ale5000-git
as I understood this, if the permissions was lost, the UnifiedNlp should handle it itself and call getInitIntent() when needed, so no separate "Button" needed. But I may be wrong

@bam80: Well, call it continuously would be a waste of resources since backends are always needed.

+1 to this request, as debugging backends issues can get really tedious, especially when combined with LineageOS' Privacy Guard/Trust settings.

Also, I feel that sometimes, backends would silently crash. Re-enabling them manually usually solves the issue, but it's tedious. A button to reload them all would ease the process.


add Composer.json for easier use in deployments

@tomharrigan Review/merge? :)

@davisshaver awesome!  Thanks :)