chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dependencies-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1005

Questions ?
Please refer to the Backport tool documentation


⚠ Homepage has degraded performance

In 542f3c4, Homepage (https://ononoki.org) experienced degraded performance:

HTTP code: 200
Response time: 13680 ms

Resolved: Homepage performance has improved in 06a177e.


Form style updates

Make the Sign In and New User registration form consistently use the same style as the Settings Form instead of generic bootstrap.
In the User edit page, make the following tweaks:
Part 1

move sensor code above password
create a separation between password and password confirmation and current password
increase size of the "tooltip" fonts next to the input fields

Part 2
4. create a separate form for changing password
5. make deleting the account require a password
Part 3
6. update css in user sign in form, password reset, and password edit (from password reset) forms

closed by #143


Oracle Error ORA-12650

System information:

Operating system (distribution) and version : Win 10 Enterprise
DBeaver version: Version <IP_ADDRESS>001051908

Connection specification:

Database name and version: Oracle 11,

Describe your question:
I have just started learning using DBeaver,
I can do a successful connection using TOAD, however I get this error while connecting to DBeaver : Io exception: Oracle Error ORA-12650
I am adding screen shot of TOAD for your reference: Here DBA_LAMDA is the schema name. Can you please look into this and let me know what could be causing this issue ?

Sorry for the long answer. Is it still actual for you?

Are you using TNS LDAP resolution? Dbeaver apparently does not support that, you should provide hostname + port + service_name/sid. tnsping will give you the information you need.

Hello Thanks for your time and response.
I am getting the following issue:
[image: image.png]
and here are my settings:
[image: image.png]
Can you please see whats going on?
Thanks
Ankit Bhurat
On Mon, May 18, 2020 at 7:08 PM Paolo Inaudi<EMAIL_ADDRESS>wrote:

Are you using TNS LDAP resolution? Dbeaver apparently does not support
that, you should provide hostname + port + service_name/sid. tnsping will
give you the information you need.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dbeaver/dbeaver/issues/7668#issuecomment-630480740,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABG6NTEOBMWVXQ6YH6ZVZA3RSG5VDANCNFSM4KHV6PNA
.

Hello
Please ignore my previous email, I was able to connect it this time.
However, when I try to execute the SQL, I am getting error as: SQL Error
[942] [42000]: ORA-00942: table or view does not exist
Although, I can execute the same sql in TOAD. This table is under a
particular schema:
I tried the following:
select * from DBA_LAMDA.PARCEL_INVOLVED_PARTY
Thanks
Ankit Bhurat
On Fri, Jun 5, 2020 at 9:54 AM Ankit Bhurat<EMAIL_ADDRESS>wrote:

Hello Thanks for your time and response.
I am getting the following issue:
[image: image.png]
and here are my settings:
[image: image.png]
Can you please see whats going on?
Thanks
Ankit Bhurat
On Mon, May 18, 2020 at 7:08 PM Paolo Inaudi<EMAIL_ADDRESS>wrote:

Are you using TNS LDAP resolution? Dbeaver apparently does not support
that, you should provide hostname + port + service_name/sid. tnsping will
give you the information you need.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dbeaver/dbeaver/issues/7668#issuecomment-630480740,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABG6NTEOBMWVXQ6YH6ZVZA3RSG5VDANCNFSM4KHV6PNA
.

Could you try the latest version https://dbeaver.io/?
I can't reproduce the issue.

there are not any updates on issue for a long time.
ticket closed. If the issue is still reproducible for you - feel free to reopen the ticket


[docs_app] rxjs.dev is out of date - not being updated/deployed/published

Describe the bug
rxjs.dev documentation is outdated.
For example, https://github.com/ReactiveX/rxjs/pull/6548 updated the importing guide last month (to import from rxjs instead of rxjs/operators), but the live page still shows the old way to import: https://rxjs.dev/guide/installation.
Also, the docs_app has been updated to Angular 13 (see https://github.com/ReactiveX/rxjs/commit/c6547f760fdc0326b0b65ed8f0bd6650cdf3a566), but rxjs.dev is still running Angular 9!

Also, the footer in rxjs.dev says: Version 7.1.1-local+sha.5de9e1b35., but the latest release is currently 7.5.2.

Expected behavior
According to the CONTRIBUTING guide:

After a PR is merged to master the docs will be published to https://rxjs.dev/

Version
7.5.2

I would absolutely love to help with this if you need it, but I'm afraid it would require you give me access to rxjs infrastructure, so I don't know how easily you can grant just anyone the required privileges to help you here. If there is anything I can do to help get the updated docs deployed, then please don't hesitate to say so.

Update: Seems like the docs site rxjs.dev has finally been updated (so perhaps this issue could be closed).

Agreed, closing as resolved.


About License

Hello, i read your parper "A Unified Model for Extractive and Abstractive Summarization using Inconsistency Loss." recently.
I want to implement your model, but it's too hard to preprocess the CNN/Daily mail dataset.
Because there's no license about this repository, i want to know that i can use your code about preprocessing data.

Hi,
Yes, you can use my code to preprocess the data.


encode error on install

Attempting to install boxen on OS X 10.10.3.
After accepting my GitHub OTP, it fails out with-
/opt/boxen/repo/.bundle/ruby/2.0.0/gems/json-1.8.2/lib/json/common.rb:223:in `encode': "\xE2" from ASCII-8BIT to UTF-8 (Encoding::UndefinedConversionError)
	from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/json-1.8.2/lib/json/common.rb:223:in `generate'
	from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/json-1.8.2/lib/json/common.rb:223:in `generate'
	from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/json-1.8.2/lib/json/common.rb:394:in `dump'
	from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/sawyer-0.5.5/lib/sawyer/serializer.rb:49:in `call'
	from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/sawyer-0.5.5/lib/sawyer/serializer.rb:49:in `encode'
	from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/sawyer-0.5.5/lib/sawyer/agent.rb:116:in `encode_body'
	from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/sawyer-0.5.5/lib/sawyer/agent.rb:96:in `block in call'
	from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/faraday-0.9.1/lib/faraday/connection.rb:374:in `block in run_request'
	from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/faraday-0.9.1/lib/faraday/connection.rb:388:in `block in build_request'
	from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/faraday-0.9.1/lib/faraday/request.rb:26:in `block in create'
	from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/faraday-0.9.1/lib/faraday/request.rb:25:in `tap'
	from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/faraday-0.9.1/lib/faraday/request.rb:25:in `create'
	from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/faraday-0.9.1/lib/faraday/connection.rb:384:in `build_request'
	from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/faraday-0.9.1/lib/faraday/connection.rb:370:in `run_request'
	from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/faraday-0.9.1/lib/faraday/connection.rb:177:in `post'
	from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/sawyer-0.5.5/lib/sawyer/agent.rb:94:in `call'
	from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/octokit-2.7.2/lib/octokit/client.rb:257:in `request'
	from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/octokit-2.7.2/lib/octokit/client.rb:138:in `post'
	from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/octokit-2.7.2/lib/octokit/client/authorizations.rb:70:in `create_authorization'
	from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/boxen-2.7.2/lib/boxen/preflight/creds.rb:88:in `run'
	from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/boxen-2.7.2/lib/boxen/check.rb:28:in `block in run'
	from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/boxen-2.7.2/lib/boxen/check.rb:28:in `each'
	from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/boxen-2.7.2/lib/boxen/check.rb:28:in `run'
	from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/boxen-2.7.2/lib/boxen/cli.rb:43:in `run'
	from ./script/boxen:165:in `<main>'

All that has been done up to this point is that it has asked for my GitHub credentials-
[Cm-Fm7-B♭sus-C5 repo (master)]$ ./script/boxen
--> Preparing to auto-update...
--> Complete! Nothing new from upstream.
GitHub login: |drothstein| drewrothstein
GitHub password: **************************************************

--> It looks like you have two-factor auth enabled.

One time password (via SMS or device):
******

Checked out a couple SHAs back, 1de9c88bcf6b96d05e12722b35a997591ff3ce2f and it was able to run successfully.  Then I was able to checkout master and it kept working.
Happy to provide more system information if helpful.

Hi @drewrothstein! Thanks for opening an issue, unfortunately it's been a while and it hasn't been updated. Could you please let me know if this is still an issue? I'm going to close this off but if you reply I'll gladly open it back up and help you work through the problem.


Check the dx value of numerical differentiation is actually valid for my hydrostatic mass calculation

The problem with numerical differentiation is I need to set the dx value, this could affect the mass calculated quite a lot.
This is why I want to find analytical expressions for the differentiations of the density and temperature profile models I use

Less relevant now I have rejigged the way I do models, I can easily set different values for different radius units (0.001 kpc works really for kpc for instance)


Support Task looping syntax inside Pipelines

Desired behaviour
In some cases we are provided a parameter that is an array of values where we want to run a particular Task against each element of the array, when we don't know in advance the length of the array.
You could also imagine a Pipeline that operates on some value, such as the source code for and destination of, an image, and you want to be able to run the same Pipeline for 1+ images, when you only know at runtime how many images you'll be operating on.
Current behaviour
To support this we currently have to dynamically write a Pipeline that has the appropriate Tasks.
In addition, there are variations that we might want to think of here like parallel vs. sequential, conditional execution, early termination, and likely more.

As long as we don't have Tekton dynamically creating Pipelines I'm all for this.
I'd like to see this more like a Python "list comprehension" vs. a looping construct that allows for parts of Pipelines to execute in loops.

re: comprehension -- yes,  that's where my head is at too

I also would like a feature like this but at the Task Step level where the input is an array, and for each element in the array it explodes out into n steps.

To me ansible loops syntax look pretty nice. As very weak, but example, it could be used to run task for multiple cluster resources.
tasks:
  - name: run-deploy
    pipelineRef:
      name: deploy
    params:
      - name: cluster
        value: {{item.name}}
    for_each:
      - name: testing
      - name: fake_production
      - name: production
    when: !strings.Contains(item.name, "fake")

This type of fan-out tasks will also require syntax / logic for tasks to:

access the task result / output resources of any of the tasks
express workflow rules like runAfter against the collection of tasks

Conditions may be attached to the task. Do we run the condition N times? Ideally if we had a way to determine whether the condition depends on the param that generates the fan-out - we could run the condition one, but in general we will need to run it once for each instance of the task.

In my use case, I don't need access to the results or outputs, I'm just relying on the success or failure of the task. So maybe there's room for a first iteration of this facility that doesn't have all the bells and whistles, but allows a simple fan out

Even though there are cases that do not require results, I think it would be good to have support as part of the general solution since  it makes it consistent with the Task interface.
Another decision we have to make here is around supporting parallel vs sequential task running. It might make a lot of sense here if we adopted the semantics of map (tasks run in parallel and produce an array of 'results') and reduce (tasks run sequentially accumulating the previous with the current value to create a final result). We might also consider adding a filter (tasks run in parallel to return true/false to return a filtered version of the original array input) but that could be done later.
tasks:
-  name: my-map-task
    map:
       array: [$(params.myArray[*])]
    taskRef:
      name: someParallelTask
    params: # map params have the variables: currentValue, index, and array in scope
      - name: param1
         value: $(currentValue)
      - name: param2
         value: $(index)
      - name: param3
         value: $(array)
    #results is an array of the individual task results
-  name: my-reduce-task
    reduce:
       array: [$(params.myArray[*])]
       initialValue: 0
    taskRef:
      name: someSequentialTask
    params: # reduce params have the variables: accumulator, currentValue, index, and array in scope
      - name: param0
         value: $(accumulator)
      - name: param1
         value: $(currentValue)
      - name: param2
         value: $(index)
      - name: param3
         value: $(array)
      #results is the final result of the last sequentially run task

This is borrowing a lot from what was spec'ed in Javascript Map and Reduce which in turn borrowed heavily from the ideas in Python.

Couple questions that spring to mind:

What does a Task with a runAfter: [my-map-task] do?  Does the runAfter expand into a list of all the map tasks?
Similarly for runAfter: [my-reduce-task], I presume this expands into runAfter: [my-reduce-task-N] where N is the final iteration's index?

What I particularly like about this is it seems we could statically generate the entire Pipeline plan from this format. Does that sound right?  If so that in turn leads me to think we could explore this in an experimental tool/library external to the controller initially.  If we wrote this as a library then it could be reusable in tkn too for, e.g., something like tkn plan my-pipeline-reduce --array=1,3,5 #... to see the complete generated Pipeline before it executes.

Pre-generation only works if tasks are only allowed to iterate on statically-defined arrays and not on the results of previous tasks.  This seems like a key decision that has to be made.

Yes that's correct re: runAfter (although it really would be nice to have)
The idea was definitely that the structure can be statically generated at "TaskRun" time however the array might come from a previous TaskRun result so the structure cannot always be created before the pipeline run. (and repeating what @GregDritschler also said!)

I believe Argo Workflow supports looping, recursion, etc. It might be useful to explore how it's done there for ideas, although I'm not sure if it satisfies everyones' use cases.

I take back my earlier comment that static Pipeline generation wouldn't allow iterating on task results.  If we assume that iterating on task results means "iterate on the results of a previous task which itself was iterated", then both tasks have the same number of iterations.  Therefore it would be possible to generate the pipeline tasks and appropriately map the result references.
I came up with a starting list of functional considerations for task iteration, independently of how it may end up being implemented.

Where can Task iteration be specified?

Pipeline task
TaskRun ?

Can Tasks themselves iterate on arrays?  See #2112.

Does the iteration syntax support either an array parameter or an inline list of strings?

How does the Pipeline task pass the current item (as a parameter value) to the task?  Is there a special "item" variable?

Is iterating on a single array sufficient?  What if the task needs to iterate through a "table"?  Can it step through multiple arrays simultaneously?  It might be possible to satisfy this by allowing array indexing.

Is an option required to specify sequential vs parallel execution?  Should there be a concurrency limit (e.g. 1=sequential, n=throttled at n maximum, -1=no limit)?

Does iterating single tasks constrain the possible workflows too much?
For example, if the user wants to clone and build multiple git repos, the workflow will be:
clone1, clone2, ... cloneN, build1, build2, ... buildN
whereas the user might really want:
clone1, build1, clone2, build2, ... cloneN, buildN.
(The former might need more resource, e.g. disk space, than the latter.)

Can PipelineResources be used with Task iteration?  PipelineResources generate internal steps in TaskRuns.  There's no way to coordinate them when a Task is iterated so they would behave unpredictably.

Can a Condition reference the current item?  The problem is that a Condition failure causes that Task as well any any dependent tasks to be skipped.  This implies doing task dependencies at the item level.  The task skipping proposal in #2127 also needs to be investigated with respect to how it would work with iteration.

How are results from an iterated task handled?  Is there an array formed from the individual task results?  Is that array referenced via the normal pattern with [*] added, $(tasks.x.results.y[*])?  Can another task iterate on this array?

Does the task timeout specify the maximum time for a single iteration or for all iterations?

Does the number of retries specify the number of retries for a single iteration or across all iterations?

I believe Argo Workflow supports looping, recursion, etc. It might be useful to explore how it's done there for ideas, although I'm not sure if it satisfies everyones' use cases.

@jcmcken yes Argo has full featured looping and recursion support - @Tomcli can point to some implementation details there

I take back my earlier comment that static Pipeline generation wouldn't allow iterating on task results. If we assume that iterating on task results means "iterate on the results of a previous task which itself was iterated", then both tasks have the same number of iterations. Therefore it would be possible to generate the pipeline tasks and appropriately map the result references.
I came up with a starting list of functional considerations for task iteration, independently of how it may end up being implemented.

Thanks @GregDritschler for the detailed analysis - is this being discussed in any workgroup meeting on Tekton side?

@animeshsingh There was a discussion this past Monday, mainly around whether there are sufficient CI/CD use cases to justify doing it in Tekton.  That's where it stands for now.

I wanted to write about my use case. There is kaniko Task from catalog https://github.com/tektoncd/catalog/tree/v1beta1/kaniko, it's great and works fine but only for one image. What if I have multiple images (which are unknown at the time of building static Pipeline definition) to build from one repository? Then I cannot use it and I have to build images is some custom way in loop.

@GregDritschler above is an exact example - dynamic parallel steps needed to complete a task based on the output of previous step, and used in multiple CI/CD scenarios.

Great to know tekton could support this feature!
It's true out of the control in current tekton pipeline, if the loop parameters are defined by user as input parameters or it's the result of another task.
We may need to support both the parameters with array list, e.g [a, b, c, d] and array list with dict, e.g [{'a': 1, 'b': 2}, {'a': 10, 'b': 20}]. Then only one loop param need to be considerred to support muilt loop params.
I would like to provide you how it defined in an argo yaml file:
array list param:
https://github.com/kubeflow/pipelines/blob/master/sdk/python/tests/compiler/testdata/withparam_global.yaml
array list with dict param:
https://github.com/kubeflow/pipelines/blob/master/sdk/python/tests/compiler/testdata/withparam_global_dict.yaml

Another use case:
I've got a pipeline that uses a git as an input resource, reads a config file and generates a set of tekton-results containing dependent gits.  i.e result-1=git-1 , result-2=git-2 etc.. then I run a git-clone task to clone git-1 , git-2 etc..  I've also got a condition that checks if result result-1 is not null before running a git-clone task.. so I'd really like a loop which runs on a set of parameters which is passed to a condition, and if the condition returns true, checks out the corresponding git..
At the moment, I've got separate conditions for each variable and hence separate git-clone tasks for each 'true' condition. Would cut my yaml file down to a  few lines from a few hundreds of lines.

Does this issue has any progress?

@fenglixa I think that @GregDritschler has been continuing to iterate on the design he proposed.
@ImJasonH has also been working on a mechanism to make it easier to prototype workflow features via "custom tasks", which we may want to use to prototype this.
And we've been discussing both of these in our api working group if you are interested in joining or following along :D

hey all, I'm reposting the question I asked in slack and was directed to this issue. Totally looking forward to this feature!

curious for suggestions/techniques folks are using to solve this type of scenario: I have a statically defined Pipeline which has 1 Task that invokes Kaniko to build an image. I instantiate the PipelineRun for it via a TriggerTemplate and it works fine. In some cases however I need to build N images. Whats the best way to approach this? Effectively for some PipelineRuns i need the Pipeline that it instantiates to have N Tasks wired up instead of just the one... yet other times I want only the single build to happen. The number of builds per invocation varies based on the webhook that ultimately invokes this and I obviously want to pre-create all the possible variant Pipeline manifests, but I guess I could create the Pipeline dynamically via resourcetemplates, but I see no way to iterate over a number to generate the N Tasks within it.

That said, in addition to the simpler scenario of just being able to iterate to generate N single Tasks within a pipeline. I also have the scenario where I would like to generate (per iteration) a "set/group" of things. (i.e. a Task followed by 2 Conditions etc)

@fenglixa I think that @GregDritschler has been continuing to iterate on the design he proposed.
@ImJasonH has also been working on a mechanism to make it easier to prototype workflow features via "custom tasks", which we may want to use to prototype this.
And we've been discussing both of these in our api working group if you are interested in joining or following along :D

Any reason that design document is private, and not public?

Any reason that design document is private, and not public?

This is mostly a google docs issue (aka most of our corporate google account do not allow us to create a fully public document.. at least I never found out how). Those are available if you are part of either tekton-dev/tekton-users mailing list (see here). And this is also why we started the TEP process.

/remove-lifecycle stale

We've got this in the (hopefully soon to be updated) roadmap to at least come to a decision on supporting it in the long run, so I think it makes sense to:
/lifecycle frozen

Note that right now, the take on "looping" is to experiment with it using Custom Task, and see whether it make sense or not to have it built-in (and if it make sense, in which shape).

Experimental custom task: https://github.com/tektoncd/experimental/tree/master/task-loops#task-loop-extension

Experimental custom task: https://github.com/tektoncd/experimental/tree/master/task-loops#task-loop-extension

in my case, I have many dockerfiles in one git repo.
/ docker / Dockerfile
  python / Dockerfile
  Ubuntu / Dockerfile
...

and pipeline what I think is
<git clone> - <get last commit's file dir (result: dir name array)> - <dynamic parallel docker build>
dynamic parallel means that

create tasks for array elements
each task runs get Dockerfile and run docker build and push

This can be possible in jenkins already.

I have a scenario where in my gitrepo has a file with bunch of vault paths and vault-read needs to run for every entry and get the secrets in that path.
within pipeline, I need to be able to call vault-read # of times.  Is this still in the roadmap?

Progress Tracker

TEP-0090: Matrix
TEP pull requests:

https://github.com/tektoncd/community/pull/532
https://github.com/tektoncd/community/pull/600

Implementation pull requests:

[ ] https://github.com/tektoncd/pipeline/pull/4600
[ ] https://github.com/tektoncd/pipeline/pull/4601
[ ] https://github.com/tektoncd/pipeline/pull/4635
[ ] https://github.com/tektoncd/pipeline/pull/4670
[ ] https://github.com/tektoncd/pipeline/pull/4684
[ ] https://github.com/tektoncd/pipeline/pull/4685
[ ] https://github.com/tektoncd/pipeline/pull/4689
[ ] https://github.com/tektoncd/pipeline/pull/4704
[ ] https://github.com/tektoncd/pipeline/pull/4707

Update that this issue has been addressed through Matrix
Design: https://github.com/tektoncd/community/blob/main/teps/0090-matrix.md
Documentation: https://github.com/tektoncd/pipeline/blob/main/docs/matrix.md
Please share any feedback in issue tracking promotion of Matrix to beta: https://github.com/tektoncd/pipeline/issues/5265


Failing to build

3/4] Linking dependencies...
warning "discord-rich-presence ><EMAIL_ADDRESS>has unmet peer dependency "register-scheme@github:devsnek/node-register-scheme".
warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>[4/4] Rebuilding all packages...
[1/12] ⢀ mdns
[2/12] ⢀ runas
[8/12] ⢀ electron-chromedriver
[4/12] ⢀ electron
error /home/solaraquarion/build/gpmdp-git/src/Google-Play-Music-Desktop-Player-UNOFFICIAL-/node_modules/gpmdp-electron-winstaller: Command failed.
Exit code: 1
Command: node lib/fetch-vendor.js
Arguments:
Directory: /home/solaraquarion/build/gpmdp-git/src/Google-Play-Music-Desktop-Player-UNOFFICIAL-/node_modules/gpmdp-electron-winstaller
Output:
fs.js:27
const { Math, Object } = primordials;
^
ReferenceError: primordials is not defined
at fs.js:27:26
at req_ (/home/solaraquarion/build/gpmdp-git/src/Google-Play-Music-Desktop-Player-UNOFFICIAL-/node_modules/natives/index.js:143:24)
at Object.req [as require] (/home/solaraquarion/build/gpmdp-git/src/Google-Play-Music-Desktop-Player-UNOFFICIAL-/node_modules/natives/index.js:55:10)
at Object. (/home/solaraquarion/build/gpmdp-git/src/Google-Play-Music-Desktop-Player-UNOFFICIAL-/node_modules/unzip/node_modules/graceful-fs/fs.js:1:37)
at Module._compile (internal/modules/cjs/loader.js:936:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:947:10)
at Module.load (internal/modules/cjs/loader.js:790:32)
warning Error running install script for optional dependency: "/home/solaraquarion/build/gpmdp-git/src/Google-Play-Music-Desktop-Player-UNOFFICIAL-/node_modules/mouse-forward-back: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /home/solaraquarion/build/gpmdp-git/src/Google-Play-Music-Desktop-Player-UNOFFICIAL-/node_modules/mouse-forward-back
Output:
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| linux | x64
gyp info find Python using Python version 2.7.16 found at "/usr/bin/python2.7"
gyp info spawn /usr/bin/python2.7
gyp info spawn args [
gyp info spawn args   '/usr/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/home/solaraquarion/build/gpmdp-git/src/Google-Play-Music-Desktop-Player-UNOFFICIAL-/node_modules/mouse-forward-back/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/solaraquarion/.cache/node-gyp/12.9.0/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/home/solaraquarion/.cache/node-gyp/12.9.0',
gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/home/solaraquarion/.cache/node-gyp/12.9.0/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/home/solaraquarion/build/gpmdp-git/src/Google-Play-Music-Desktop-Player-UNOFFICIAL-/node_modules/mouse-forward-back',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/home/solaraquarion/build/gpmdp-git/src/Google-Play-Music-Desktop-Player-UNOFFICIAL-/node_modules/mouse-forward-back/build'
CXX(target) Release/obj.target/mouse-forward-back/mouse-forward-back.o
In file included from ../mouse-forward-back.cc:1:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type]
2298 |     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
|                                                              ^
../mouse-forward-back.cc: In function ‘void events_callback(uv_async_t*)’:
../mouse-forward-back.cc:61:63: error: no matching function for call to ‘v8::Function::Call(v8::Localv8::Object, const unsigned int&, v8::Localv8::Value [1])’
61 |     f->Call(isolate->GetCurrentContext()->Global(), argc, argv);
|                                                               ^
In file included from /home/solaraquarion/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../mouse-forward-back.cc:1:
/home/solaraquarion/.cache/node-gyp/12.9.0/include/node/v8.h:4161:43: note: candidate: ‘v8::MaybeLocalv8::Value v8::Function::Call(v8::Localv8::Context, v8::Localv8::Value, int, v8::Localv8::Value)’
4161 |   V8_WARN_UNUSED_RESULT MaybeLocal Call(Local context,
|                                           ^~~~
/home/solaraquarion/.cache/node-gyp/12.9.0/include/node/v8.h:4161:43: note:   candidate expects 4 arguments, 3 provided
../mouse-forward-back.cc: In function ‘void RunCallback(const v8::FunctionCallbackInfov8::Value&)’:
../mouse-forward-back.cc:77:5: error: ‘Handle’ was not declared in this scope
77 |     Handle cb = Handle::Cast(args[0]);
|     ^~~~~~
../mouse-forward-back.cc:77:20: error: expected primary-expression before ‘>’ token
77 |     Handle cb = Handle::Cast(args[0]);
|                    ^
../mouse-forward-back.cc:77:22: error: ‘cb’ was not declared in this scope
77 |     Handle cb = Handle::Cast(args[0]);
|                      ^~
../mouse-forward-back.cc:77:42: error: expected primary-expression before ‘>’ token
77 |     Handle cb = Handle::Cast(args[0]);
|                                          ^
../mouse-forward-back.cc:77:45: error: ‘::Cast’ has not been declared
77 |     Handle cb = Handle::Cast(args[0]);
|                                             ^~~~
In file included from ../../nan/nan.h:54,
from ../mouse-forward-back.cc:1:
../mouse-forward-back.cc: At global scope:
/home/solaraquarion/.cache/node-gyp/12.9.0/include/node/node.h:556:43: warning: cast between incompatible function types from ‘void ()(v8::Localv8::Object, v8::Localv8::Object)’ to ‘node::addon_register_func’ {aka ‘void ()(v8::Localv8::Object, v8::Localv8::Value, void)’} [-Wcast-function-type]
556 |       (node::addon_register_func) (regfunc),                          \\n      |                                           ^
/home/solaraquarion/.cache/node-gyp/12.9.0/include/node/node.h:590:3: note: in expansion of macro ‘NODE_MODULE_X’
590 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
|   ^~~~~~~~~~~~~
../mouse-forward-back.cc:101:1: note: in expansion of macro ‘NODE_MODULE’
101 | NODE_MODULE(mouse, init)
| ^~~~~~~~~~~
In file included from /home/solaraquarion/.cache/node-gyp/12.9.0/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../mouse-forward-back.cc:1:
/home/solaraquarion/.cache/node-gyp/12.9.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase::SetWeak(P*, typename v8::WeakCallbackInfo::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo::Callback = void ()(const v8::WeakCallbackInfonode::ObjectWrap&)]’:
/home/solaraquarion/.cache/node-gyp/12.9.0/include/node/node_object_wrap.h:84:78:   required from here
/home/solaraquarion/.cache/node-gyp/12.9.0/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfonode::ObjectWrap::Callback’ {aka ‘void ()(const v8::WeakCallbackInfonode::ObjectWrap&)’} to ‘Callback’ {aka ‘void ()(const v8::WeakCallbackInfo&)’} [-Wcast-function-type]
9893 |                reinterpret_cast(callback), type);
|                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/solaraquarion/.cache/node-gyp/12.9.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase::SetWeak(P, typename v8::WeakCallbackInfo::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo::Callback = void ()(const v8::WeakCallbackInfoNan::ObjectWrap&)]’:
../../nan/nan_object_wrap.h:65:61:   required from here
/home/solaraquarion/.cache/node-gyp/12.9.0/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfoNan::ObjectWrap::Callback’ {aka ‘void ()(const v8::WeakCallbackInfoNan::ObjectWrap&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo&)’} [-Wcast-function-type]
make: *** [mouse-forward-back.target.mk:105: Release/obj.target/mouse-forward-back/mouse-forward-back.o] Error 1
make: Leaving directory '/home/solaraquarion/build/gpmdp-git/src/Google-Play-Music-Desktop-Player-UNOFFICIAL-/node_modules/mouse-forward-back/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:190:23)
gyp ERR! stack     at ChildProcess.emit (events.js:209:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 5.2.9-zen1-1-zen
gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/solaraquarion/build/gpmdp-git/src/Google-Play-Music-Desktop-Player-UNOFFICIAL-/node_modules/mouse-forward-back
gyp ERR! node -v v12.9.0
gyp ERR! node-gyp -v v5.0.2
gyp ERR! not ok"

@SolarAquarion I would open a new issue for that, with specific details of what you may be using and what git hash you built from. Be sure to use the issue template. Closing this as I've offered a solution for the build problem.

Node v12 doesn't compile with the version of electron in the app, as well as most of the modules. I believe the latest that will work is either 8 or 10.

Sorry for leaving that on the closed issue.
FWIW, I was able to build the app from master with Node 11.15.0 on Linux and OS X just fine so it seems that only 12.* is affected.
@jostrander how about adding this info to the Readme? Now it's not really clear for those who are going to build it.


Added closing quotation

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@Bouncey What about this one?

Thanks for your suggestion @JarrelThomas, but I am closing as not required.


Back Button always disabled

Hello,
I noticed that the back button always disabled 🙃
Example: https://stackblitz.com/edit/vue-92nhbv
Thanks!

Hi @ThornWalli - thanks for spotting this. Looks like a bug introduced in the latest NPM release aimed at rectifying this issue: https://github.com/sjmc11/tourguide-js/issues/3
This should be a quick fix and will aim to have this addressed ASAP. I will update this issue when I have done so.

Perfectly works! 👌
Thank you for the fast support. 🙂


Testing documentation tutorial results in errors

Hey all!
First of all, I'd like to say that I am very enthusiastic about the future of nexus and prisma. It's been great fun learning these tools the past few weeks!
I've started an attempt to write a test suite for an API I'm working on, following the tutorial on the nexus documentation site.
https://nexusjs.org/docs/getting-started/tutorial/chapter-testing-your-api
However, two things arose as I was following this step:

The pm add command in the article npm add --save-dev jest @types/jest ts-jest graphql-request does not mention the get-port npm package which is later used in tests/__helpers.ts
After running my tests, jest gives the error message Jest did not exit one second after the test run has completed. This usually means that there are asynchronous operations that weren't stopped in your tests. and doesn't terminate. Running with the --detectOpenHandles flag hides the warning message but jest still doesn't terminate and shows no extra output.

Maybe a pointer towards the solution of the second issue: when I run a development server of the api on port 4000 and I have a test suite with only one test which I also run on port 4000, the warning is not displayed and jest exits as normal.
The project I'm working on is based on the code in this project from the prisma-examples repo: https://github.com/prisma/prisma-examples/tree/latest/typescript/subscriptions-pubsub.
I am not experienced with jest (or rather, software testing as a whole) and I would love some help. Is anyone else experiencing the same issue?

@saphewilliam I'm completely new to testing as well. Were you able to get around or fix this problem?

I have not yet, are you experiencing the same issues as me?
I did find a prisma day 2020 video where they explain testing with nexus-plugin-prisma. I have not had the time to test it yet, it might be a bit outdated. https://youtu.be/oFk4rxz_KO8?t=8328 (timestamp included)
Are you willing to test it and report back to this issue if it is still working?

@saphewilliam Sure! I can look into the video you sent and explore more as well and get back to you. Meanwhile if you come across a solution, do update 🙂 .
I used Apollo Express server rather than the standalone Apollo server and one solution I tried was closing the express server in the afterEach hook but that didn't seem to work either.

Pass the --forceExit flag to jest. I fixed a bunch of things in the tutorial tonight and updated https://github.com/graphql-nexus/tutorial. Hope it helps!

It works! Thanks so much! :)

@jasonkuhrt After further debugging I found the issue to be that the Prisma Client connection was never disconnected and hence prevented Jest from exiting. Although using --forceExit worked, it wasn't a fix and it was just a workaround. I submitted a proper fix in graphql-nexus/tutorial#13. Let me know if you're okay with it and I could probably update the docs in this repo accordingly 🙂


How to change the colour of 'ShowTime' component

Hi,
I have lightline and lightline_buffer, and I have the following configuration:
    \ 'tabline': {
    \   'left': [ [ 'bufferinfo' ],
    \             [ 'separator' ],
    \             [ 'bufferbefore', 'buffercurrent', 'bufferafter' ], ],
    \   'right': [ [ 'clock' ], ]
    \ },

where the clock is:
	\ 'component_function': {
	\	'clock': 'ShowTime',
	\ },

and the ShowTime is:
function! ShowTime()
	return strftime('%c')
endfunction

I do have:
    \ 'component_type': {
    \   'buffercurrent': 'tabsel',
    \   'bufferbefore': 'raw',
    \   'bufferafter': 'raw',
    \	'clock': 'tabsel',
    \ }

but the clock colouring is not working. How can I set a custom colour to the clock component?

Note that component_type is not applied to component_function by design.
let g:lightline = {
      \ 'tabline': {
      \   'right': [ [ 'clock' ] ],
      \ },
      \ 'component_expand': {
      \   'clock': 'ShowTime',
      \ },
      \ 'component_type': {
      \   'clock': 'tabsel',
      \ },
      \ }
function! ShowTime()
  return strftime('%c')
endfunction

Got it! Thnx! It works.
Can you please tell me what is the difference between component_expand and component_function? When one is preferred over the other?

These are different features. The golden rule of lightline components is that components in a group such as g:lightline.active.left[0] and g:lightline.tabline.left[0] have the same color. But within this rule, it is difficult to color the current tab in the tabs component. Component expansion is the phase to evaluate components, and create a component group if the component type is configured. This feature is introduced to implement the tabs component, but can be used to show the warning messages of syntactic tools. Note that expansion components in 'statusline' are evaluated only when the active window is switched (you can force update by call lightline#update()), but when used in 'tabline', there are no such optimization and less performant.


Add components to corresponding aem62 integration test suite

Add components that run smoothly on aem62 to corresponding aem62 integration test suite.

appr


⚠ gorzdrav.org has degraded performance

In 8343fce, gorzdrav.org (https://gorzdrav.org) experienced degraded performance:

HTTP code: 200
Response time: 8156 ms

Resolved: gorzdrav.org performance has improved in 7f5b437.


Add description and AC config for BERT-large on SQuAD v1.1 (FP32, INT8)

@vladimir-dudnik the CI error in documentation is not in the code I changed in this commit. Could you help resolve this?

Jenkins please retry a build

I only bring in one model in two variants: FP32 and INT8. These variants cannot use one and the same AC config since there is more than 1 output for the model, and therefore output nodes have to be specified explicitly in the AC config; the output node names are different between the two variants.
At the same time we are supposed to group the FP32 and INT8 model variants under one model name and folder, if I'm not mistaken. We cannot both group FP32 and INT8 variants of one model under a single name and have separate AC configs for them. We'll have to resolve this contradiction in one way or another.

@vshampor we have two models and so have to put each model to corresponding folder.

@kchechil @zmaslova

@vshampor  let's have 2 folders and 2 AC configs as they are different and in practice we could try to quantize fp32 model with POT and redistribute this IR as well. This will be the simplest solution.
@vladimir-dudnik however it would be interesting to understand why we can't put few models into a single folder having in mind we can put AC configs there as well. I believe OMZ CI and publishing to download.01.org can be done in different ways.

@vshampor please upload vocab.txt file to model's directory

@vshampor please resolve conflict

@vladimir-dudnik @eaidova @eizamaliev Any other changes I need to do for this PR?

I'm confused here.
First of all, I thought you agreed to have two folders for the two versions of the model, but there's still only one folder. So are you going to do that or not?
Second, what even is this model (models?)? From the description it sounds like it's just the original model from 🤗 Transformers, in which case why is it not published as a public model? And if it's not the original, then the documentation should explain what the difference is.

The FP32 weights are different from the huggingface version, which for BERTs is enough to consider models different.
The resulting metrics are also different - this model boasts 93.21% F1 / 87.20% EM, while the huggingface version has 93.15% F1 and 86.91% EM.
Finally, I trained this model personally since before the huggingface fine-tuned version was published, which makes this model an Intel model. The INT8 version is based upon this Intel version of the model as well, not upon the huggingface version.
The metrics are included in the docs for everyone to see and compare to the huggingface version, and as for the rest of the reasons - putting these in the documentation would make it look strange.
This is one model in 2 precisions. To keep consistency with the rest of the multi-precision models offered in OMZ, we have to stick to 1 folder per model.

Split the model in two folders if there really is no way around it with the existing infrastructure. This looks bad and leads to the duplication of the vast majority of the doc text.

Finally, I trained this model personally since before the huggingface fine-tuned version was published, which makes this model an Intel model.

Okay, so it's been independently trained. That all I wanted to know.


Allow the dockerfile to be specified in action inputs

https://community.fly.io/t/detected-a-phoenix-app-with-dockerfile-specified-in-fly-toml/5804
Flyctl is no longer auto-detecting that our app has a Dockerfile b/c the precedence has been changed and now it wants to generate a new dockerfile with mix release :(

@grossvogel yessir - not sure how to change the settings on this repo because I don't have the settings tab. I'll merge this for you though


Add files via upload

added calculator's code
Related Issue
issue number is 704
Proposed Changes

make a simple calculator which calculate -*/+

Checklist

[x] ✅ My code follows the code style of this project.
[ ] 📝 My change requires a change to the README.
[x] 🎀 I have updated the README accordingly.
[x] 👀 I have read the CONTRIBUTING document.
[x] ✨ I have added tests to cover my changes.
[x] 🚩 All new and existing tests passed.
[ ] 🌟 ed the repo

I make the code to calculate operations

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)

Output Screenshots
| 2 * 4 |       | 3 - 2 |
| result = 8 | result =  |

Add your code inside here https://github.com/Lakhankumawat/LearnCPP/tree/main/P-Problem Statements %26 Solution/1-Level 1 with proper file name

Make your issue a descriptive one so it is easy for us
mentors to get hold of your contribution and can guide you for further steps.
I would recommend you to go through this tutorial video of the project here , thanks.
///--------------------Pull Requests--------------------///

Short Description or CheckLists

Make sure your Pull Request is descriptive and complete the checklist .
I would recommend you to go through this tutorial video of the project here ,thanks.
///------------------Description -----------------------///
For contribution and more guidelines i would recommend you to go through this
tutorial video of the project here, thanks.
///------------------Description -----------------------///
Let me show you how to check the check list , there should be no space inside brackets like [x]
[x]

[x] Checklist
[ ] Or you can just check them from outside without doing any of these
[x] ✨ I have added tests to cover my changes.
[x] 🚩 All new and existing tests passed.
[ ] 🌟 ed the repo

1. Starr the repo if you haven't !

Have you watched this video ?

///----------------------PR README --------------------///
You need to follow particular guidelines for your README , please follow
these guidelines click here
also you can see how your README should look like see here
for more please go through these here

What is this? No read me nothing?


[Question] Sort order for folders across email accounts?

Hi,
I love nostalgy, and it's the one killer app that keeps me with Thunderbird - thank you!
What is the sort order for folder completion when the same folder exists in several email accounts?
Background:
I'd like to shove folders on my archive server to the end of the list or even exclude that particular server from the folder search entirely.
My setup is that I have a local mail server that acts as IMAP archive server. An folder<EMAIL_ADDRESS>becomes "archive<EMAIL_ADDRESS>as I use the mail adress as top level folder on the archive server. This way I can archive mails across several imap servers in one respository keeping the folder structure.
If I do folder completion, unfortunately "archive..." folders come first no matter what name I give the server. When looking for a specific folder this is not a issue, but I love to create new folders by gowing to "..../projects/" and then type the name for a new project which is the created. But 15 projects on "archive..." clogg the list...
So - is there a way that my "archive...." server always comes last or a way to exclude that server entirely? Thank you!
Regards
Peter

The order of the folder suggestions should depend on two preferences:

Sort folders alphabetically
Use Statistical Prediction

@dr-froehlich Do you have 1. enabled and 2. disabled?
My guess is that the folders are by default (i.e. with Sort folders alphabetically disabled) displayed in the order that they are provided by the Thunderbird API.
Sort folders alphabetically should sort the folders according to their "Full Folder Name":
https://github.com/nostalgy/nostalgy/blob/7dc4f78de515cf8dbb58306585a17356603e5fa0/chrome/content/folders.js#L389-L395
The "Full Folder Name" is computed as follows:
https://github.com/nostalgy/nostalgy/blob/7dc4f78de515cf8dbb58306585a17356603e5fa0/chrome/content/folders.js#L78-L86

I just found that the folders are retrieved consecutively for each account in NostalgyIterateFoldersAllServers. Therefore the account name is effectively ignored w.r.t. to the order of the folders:
https://github.com/nostalgy/nostalgy/blob/7dc4f78de515cf8dbb58306585a17356603e5fa0/chrome/content/folders.js#L323-L356

Thank you so much for commenting. So, as the account name is ignored, I understand that changing the account name does not influence the sort order. For me the best option would be if I could eliminate one server entirely from nostalgy's access.
Anyway, thanks for your reply and pointing me back to Nostagly which I had to drop a few weeks ago after moving to TB 68 - It's working again!! :-)


Uptime percentage

There is any way is calculated automatically so we can get it?

When you say "get it", do you mean as in have the percentage exposed through an API for other applications to consume, or do you mean as in have it displayed on the dashboard?
I've been thinking of adding something like a "more information" modal that could display similar information at some point.

Having the percentage exposed through the API

I can see this being useful.
Would it be per service, overall, or both?

FYI, I got a bit inspired yesterday and decided to start working on this.
I also decided to implement dynamic uptime badges.
The first version will likely come out today, but the uptime is not displayed on the dashboard yet, so it will only be available through the API and through the badges.

Sneak peak:

I just pushed the first version I talked about earlier in master, so this is currently only available in the twinproduction/gatus:latest.
As for your original question, the uptime is now exposed through the API (/api/v1/statuses):
{
  "core_twinnation - article 43": {
    "name": "twinnation - article 43",
    "group": "core",
    "results": ["omitted for brevity"],
    "uptime": {
      "7d": 1,
      "24h": 1,
      "1h": 1
    }
}

@camilonova While it's not displayed on the frontend yet, does this satisfy your initial request (to expose the uptime through the API)?

Having the percentage exposed through the API. Something like:

statping like xD

Released part of this feature in v1.11.0
For now, the API returns the uptime percentage of each services, which was the initial request. As I've also previously mentioned, I decided to add support for uptime badges.
In the future, I will also probably add the average response on the UI, but I haven't gotten around to it yet.

Released part of this feature in v1.11.0
For now, the API returns the uptime percentage of each services, which was the initial request. As I've also previously mentioned, I decided to add support for uptime badges.
In the future, I will also probably add the average response on the UI, but I haven't gotten around to it yet.

Thank you

Thank you


Edit pass on the "Configure default view" help page.

This is a revision of the help documentation in #20070.
Note that I did not assume that we are renaming the settings as I suggested in a comment in #20070. If we do so, we should update the instructions here accordingly.
Testing plan:
manual
GIFs or screenshots:

I'm not sure what you meant about the renaming the settings, though.

Ah, I meant this comment that I left on your PR:

Maybe this should be "Esc navigates to default view"?

@timabbott I don't know what your thoughts are on the menu option wording ("Escape key" vs. "Esc")?

I pushed changes addressing your other two comments. Thanks for the careful review, @laurynmm !

I'm incorporating this into #20070, so closing this.  Thanks @alya!


Release tslint-language-service 1.0?

The latest version of tslint-language-service does not support typescript 3. However, it looks like on master the peer dependency has been bumped.

See my comment,at https://github.com/angelozerr/tslint-language-service/pull/78#issuecomment-418782177

I don't know if I should do this, and there is still a new tslint that's being developed according to @angelozerr, but while waiting for it, I forked this repo and published v1.0.0 under tslint-language-service-ts3.
I hope you don't mind @angelozerr, but if you do I can remove it from registry.


CCM panic when starts

Is this a BUG REPORT or FEATURE REQUEST?
BUG
Versions
CCM Version:
0.5.0
What happened?
I0709 14:56:07.802970       1 ccm.go:133] Waiting for node informer cache to sync
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x14c9f50]

goroutine 120 [running]:
github.com/oracle/oci-cloud-controller-manager/pkg/oci.(*CloudProvider).Initialize(0xc42022e5a0, 0x25073a0, 0xc4203b90e0)
	/go/src/github.com/oracle/oci-cloud-controller-manager/pkg/oci/ccm.go:150 +0x5e0
github.com/oracle/oci-cloud-controller-manager/vendor/k8s.io/kubernetes/cmd/cloud-controller-manager/app.startControllers(0xc42039e338, 0xc4203b90e0, 0x25073a0, 0xc4203b90e0, 0x25073a0, 0xc4203b90e0, 0xc42007a480, 0x25022e0, 0xc4202eebc0, 0x2508000, ...)
	/go/src/github.com/oracle/oci-cloud-controller-manager/vendor/k8s.io/kubernetes/cmd/cloud-controller-manager/app/controllermanager.go:202 +0xc5e
github.com/oracle/oci-cloud-controller-manager/vendor/k8s.io/kubernetes/cmd/cloud-controller-manager/app.Run.func1(0xc42007a480)
	/go/src/github.com/oracle/oci-cloud-controller-manager/vendor/k8s.io/kubernetes/cmd/cloud-controller-manager/app/controllermanager.go:147 +0xc9
created by github.com/oracle/oci-cloud-controller-manager/vendor/k8s.io/client-go/tools/leaderelection.(*LeaderElector).Run
	/go/src/github.com/oracle/oci-cloud-controller-manager/vendor/k8s.io/client-go/tools/leaderelection/leaderelection.go:145 +0x92

What you expected to happen?
It to start fine :)
How to reproduce it (as minimally and precisely as possible)?
I have security list management disabled.

https://github.com/oracle/oci-cloud-controller-manager/blob/master/pkg/oci/ccm.go#L140-L150
service informer is nil which causes an NPE on like 150 when it does .Lister()

cc @harveylowndes


myTree.reveal error when hightlighting multiple lines

VSCode Version: 1.24
OS Version: Windows 10

Steps to Reproduce:
gsl-1.3.3.vsix.zip

Install the attached vsix
Open a folder in VS Code
Create a file test.gsl with following data (or use the included file in the zip)

: "test1"
.
: "test2"
.
: "test3"
.
: "test4"
.
: "test5"
.

Using the mouse, highlighting the following lines multiple times (it doesn't always happen on the first attempt):

: "test3"
.

The following error then occasionally happens:
WARNING: Promise with no error callback:2

Object
  exception: Object
  error: null
  promise :Object
    _value: Object
    _isException: true
    _errorId: 2
  id: 2
Error: Cannot resolve tree item for element 0/0:test3
	at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:485:57
	at n.Class.define.cancel.then (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:83:517)
	at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:484:953
	at n.Class.define.cancel.then (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:83:517)
	at t.resolveTreeNode (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:484:893)
	at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:483:778
	at Object.g [as _notify] (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:76:971)
	at Object.enter (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:80:277)
	at n.Class.derive._creator._run (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:82:84)
	at n.Class.derive._creator._completed (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:81:523)
	at n.Class.derive._creator.then (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:83:517)
	at Object.enter (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:79:374)
	at n.Class.derive._creator._run (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:82:84)
	at n.Class.derive._creator._setCompleteValue (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:81:776)
	at Object.g [as _notify] (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:76:951)
	at Object.enter (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:80:277)
	at n.Class.derive._creator._run (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:82:84)
	at n.Class.derive._creator._completed (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:81:523)
	at Object.g [as _notify] (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:76:971)
	at Object.enter (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:80:277)
	at n.Class.derive._oncancel._run (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:82:84)
	at n.Class.derive._oncancel._completed (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:81:523)
	at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:482:918
	at Object.g [as _notify] (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:76:971)
	at Object.enter (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:80:277)
	at n.Class.derive._oncancel._run (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:82:84)
	at n.Class.derive._oncancel._completed (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:81:523)
	at e.resolveOk (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:545:791)
	at e._receiveReply (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:636:165)
	at e._receiveOneMessage (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:635:473)
	at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:634:315
	at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:637:395
	at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:95:432
	at e.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:96:764)
	at Socket.<anonymous> (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:154:338)
	at emitOne (events.js:96:13)
	at Socket.emit (events.js:191:7)
	at readableAddChunk (_stream_readable.js:178:18)
	at Socket.Readable.push (_stream_readable.js:136:10)
	at Pipe.onread (net.js:560:20)

@pltrant Looks to me it is an issue with the extension code and how it is calling reveal and firing change events
Whenever there is a change in editor text selection, you are

Revealing multiple elements in the selection
Firing a change event

You are doing all these in async. It means while revealing you are triggering change event. Reveal API returns a promise and right approach is to wait for reveal to finish. Also I do not understand why you want to reveal multiple elements at the same time. At the end, last reveal API will override the previous ones.


Fixup TS_USE_LINUX_NATIVE_AIO AIO_MODE_NATIVE

./configure --enable-experimental-linux-native-aio

[approve ci]

[approve ci]

Hi
Is this change correct and acceptable?
I need linux aio for my investigarion, but the current master doesn't compile with --enable-experimental-linux-native-aio

[approve ci]

I will take a look at this

There is support for this already in EventProcessor. I'd recommend something more like
for ( EThread * et : eventProcessor.active_group_threads(ET_NET)) {
  et->diskHandler = new DiskHandler();
  et->schedule_imm(et->diskHandler);}

[approve ci]

@cukiernik Please run clang-format over the code - it is failing formatting.  Also if you want, can you fix make check.  It is failing in test_AIO.cc:
  CXX      test_AIO-test_AIO.o
../../../iocore/aio/test_AIO.cc: In function ‘int main(int, char**)’:
../../../iocore/aio/test_AIO.cc:426:41: error: ‘class EventProcessor’ has no member named ‘n_threads_for_type’
  426 |   int n_netthreads     = eventProcessor.n_threads_for_type[etype];
      |                                         ^~~~~~~~~~~~~~~~~~
../../../iocore/aio/test_AIO.cc:427:41: error: ‘class EventProcessor’ has no member named ‘eventthread’
  427 |   EThread **netthreads = eventProcessor.eventthread[etype];
      |                                         ^~~~~~~~~~~
make[3]: *** [Makefile:938: test_AIO-test_AIO.o] Error 1

[approve ci]

[approve ci autest]


opened install.bat

its not working can u tell me what i need to do and kindly put a good guide and let me know what i want to do

Hi, ypu need to install newest python version at https://www.python.org/
Then it will work.

ohhh ty is it necessary to install it like my pc is not much updated to install it

ohhh ty is it necessary to install it like my pc is not much updated to install it

edit install.bat and instead of py -3.8 put python. as long as you have python 3.x installed this should fix it.

I used 3.8 beacuse i code in 3.8 and in different version may not work properly.

yeah but i looked through the code and as far as i can tell there's no 3.8 exclusive features, so even a somewhat recent version will do. even 3.4 will probably work

@lnxcz Tested in 3.7
Works, but after some codes, it randomly crashes. Unsure why, will document.

@pikachu-bot-info
If this issue is solved please close it


Feature Request: Add a flag to change output format

Hi!
Would you be open to a PR about adding an output format flag? I'd like to output json from the ls command to further script some processes.
Thanks!

sure!


[Feature] Tracking multiple Steam-Profiles on the same machine

Hi again,
the issue is partly adressed in a post a little lower, however is a little different:
When changing Steamnames of the SAME player, my KD and MMR stays consistent (at least for me). However, if a DIFFERENT player is putting his Steamname (eg a Friend playing on my Laptop during a small LAN session), it seems like he inherits the stats and charts of the original player up to that point.
If it means a lot of effort to implement/change this to being able to track multiple profiles, dont bother, I was just trying to make you aware of that scenario.

This could be doable...currently it assumes there'd only be one person is using it, so it's just using a single database file for everything.  It'd be a bit of work, but I'll look into it.
One possible solution in the meantime:  click Settings, then Open Settings Folder, and rename the huntstats.db file to something else, like huntstats-player1.db, and restart the app.  This would create a new huntstats.db file, so you'll just need to make sure to go into the Settings folder and be sure the .db file you want  to use is called huntstats.db.  Not the best solution, but it could work :)

I use a simple bat file for that (paired with, a not so simple, backup script for safety measures).
I describe how I do it but without the backup script for the sake of simplicity. (it can be done easier and most likely better, but I do it this way)
I highly suggest you make backups of your files before you start to do something like this.
First I setup a clean Hunt "attributes.xml" and a clean Hunt Stats Logger "settings.ini" ( "huntstats.db" deleted in order for it to be recreated)
After that I start Hunt with my first account, play a match and exit Hunt.
Then I backup the "attributes.xml", "huntstats.db" and "settings.ini"
Repeat the same with my second account from scratch (with the clean  "attributes.xml" and "settings.ini")
After that is done use 3 bat files to start the game and the logger (I also use a backup script in between to avoid data loss due to overwriting as I already stated)
01 - Create the Bat-Files:
#Bat-File 1: StartHuntAndLogger.bat:
Start Hunt & Logger bat (Replace "PathToTheLogger" with the path where you saved the HSL):
@echo off
start steam://rungameid/594650
start "" "PathToTheLogger\HuntStatsLogger.exe"
exit
#Bat-File 2: Prepare the files for use with account1 and start Hunt+HSL bat (adjust paths):
@echo off
xcopy "...\SteamLibrary\steamapps\common\Hunt Showdown\user\profiles\default\attributes.xml" "PathToTheLogger\Data_Account2" /s/h/e/k/f/c/y
xcopy "C:\Users\YourUserName\AppData\Roaming\hsl_files2\huntstats.db" "PathToTheLogger\Data_Account2" /s/h/e/k/f/c/y
xcopy "C:\Users\YourUserName\AppData\Roaming\hsl_files2\settings.ini" "PathToTheLogger\Data_Account2" /s/h/e/k/f/c/y
xcopy "PathToTheLogger\Data_Account1\attributes.xml" "G:\SteamLibrary\steamapps\common\Hunt Showdown\user\profiles\default" /s/h/e/k/f/c/y
xcopy "PathToTheLogger\Data_Account1\huntstats.db" "C:\Users\YourUserName\AppData\Roaming\hsl_files2" /s/h/e/k/f/c/y
xcopy "PathToTheLogger\Data_Account1\settings.ini" "C:\Users\YourUserName\AppData\Roaming\hsl_files2" /s/h/e/k/f/c/y
call StartHuntAndLogger.bat
exit
#Bat-File 3: Prepare the files for use with account2 and start Hunt+HSL bat (adjust paths):
@echo off
xcopy "...\SteamLibrary\steamapps\common\Hunt Showdown\user\profiles\default\attributes.xml" "PathToTheLogger\Data_Account1" /s/h/e/k/f/c/y
xcopy "C:\Users\YourUserName\AppData\Roaming\hsl_files2\huntstats.db" "PathToTheLogger\Data_Account1" /s/h/e/k/f/c/y
xcopy "C:\Users\YourUserName\AppData\Roaming\hsl_files2\settings.ini" "PathToTheLogger\Data_Account1" /s/h/e/k/f/c/y
xcopy "PathToTheLogger\Data_Account2\attributes.xml" "G:\SteamLibrary\steamapps\common\Hunt Showdown\user\profiles\default" /s/h/e/k/f/c/y
xcopy "PathToTheLogger\Data_Account2\huntstats.db" "C:\Users\YourUserName\AppData\Roaming\hsl_files2" /s/h/e/k/f/c/y
xcopy "PathToTheLogger\Data_Account2\settings.ini" "C:\Users\YourUserName\AppData\Roaming\hsl_files2" /s/h/e/k/f/c/y
call StartHuntAndLogger.bat
exit
02 - Crerate Shortcut 1:
Create a Shortcut for Bat-File 2.
03 - Create Shortcut 2:
Create a Shortcut for Bat-File 3.
04 - Done
Start Hunt and HSL with your shortcuts.
!!WARNING!!
If you accidently use the same shortcut twice in a row, it overwrites your "attributes.xml", "huntstats.db" and "settings.ini" with the files the shortcut is told to copy from and to (for example: If you use "Shortcut 2" twice in a row you will have "attributes.xml", "huntstats.db" and "settings.ini" from account 2 everywhere)
Infos:
All the Bat-Files need to be in the same directory in order to work properly!
"xcopy "PathToCopyFrom\Filename.ending" "PathToCopyTo" /s/h/e/k/f/c/y" means, always copy that file to the given location and overwrite all files with the same name.
I hope that helps, cheers


Test Boundaries for NumTables in CFE_TBL_GetAddresses

Is your feature request related to a problem? Please describe.
From #548.
Describe the solution you'd like
Should test on boundary conditions for NumTables.
Requester Info
Ariel Adams, ASRC Federal

I'll work on this.


Click doesn't forward to child  in MenuItem while using keyboard

I've made REPL for showing this behavior.
If you will try to navigate by keyboard through the first Menu links will redirect by pressing enter. But it will not work in the second example.

Thanks for the great report with a REPL!
The upstream library has this same behavior, actually: https://codesandbox.io/s/frosty-jepsen-c120o Given that, this is probably a wontfix, but I'm curious what your use case is, since the first example in your REPL seems to work fine. You can still render the MenuItems as ul and wrap the individual MenuItems in
 to get the same markup.
The reason this doesn't work is because the arrow keys focus the MenuItem components themselves, so in your second example, the  tags aren't focused (because they're children).

Well, my particular case is to use HeadlessUI components with DaisyUi appearance. I have been able to use dropdown and menu components from DaisyUi and everything working well except keyboard navigation.

  <MenuItem href="/">Link</MenuItem>

This will solve the problem with working links by keyboard navigation but I can't show the active state with this solution. Because let:active will be accessible only in child elements of .
In react HeadlessUi I would be able to make it like that:

  <Menu.Item>
    {({ active }) => (
      Link
    )
  </Menu.Item>

And it will work perfectly because react HeadlessUi uses child  as the main element of MenuItem. But in svelte HeadlessUi the same approach will lead to a not working link when you press Enter.
Any ideas on how I can have fully working keyboard navigation with the ability to set active classes in svelte HeadlessUi?

Fully working Codesandbox with an example which I want to reach in svelte HeadlessUi. Actually, it seems impossible with the current implementation.

You can have class be a function which takes active as an argument:
<MenuItem href="/" class={({active}) => active ? 'active-class' : ''}>Link</MenuItem>

This isn't well-documented in the React docs, but you can see a preview of some docs I'm writing here: https://github.com/rgossiaux/svelte-headlessui/blob/initial-docs/src/routes/docs/general/important-concepts.svx

Thank you very much. Glad that there option to set active classes right in MenuItem. Definitely would be helpful to have this feature documented. =D


fix/react native init platform bug

Summary:
Previously this would always pass the name: react-native and cause init --platform-name react-native to be called. Bypassing any template logic the CLI might want to inject.
Users have to npx @react-native-community/cli@next init --version next to test Release Candidates before this fix.

Changelog:
[General][[Fixed] npx react-native init no longer provides a default platformName
Test Plan:
Modified the .npm/_npx cache entry to replicate the change.

🚨 This Pull Request will break support for creating new projects with OOT platforms' init e.g. OOT platforms such as react-native-visionos leverage platforName parameter, removing it 1) is a breaking change, 2) removes the possibility to create new projects for OOT platform and we don't have any other way AFAIK.
Because https://github.com/react-native-community/cli/commit/d53582d2bf8219f06f254dd6a9bc5033ef66ea3a landed I hope that we can close this PR because condition added by @blakef omit react-native as platformName.
cc: @cortinico, @blakef, @okwasniewski

🚨 This Pull Request will break support for creating new projects with OOT platforms' init e.g. OOT platforms such as react-native-visionos leverage platforName parameter, removing it is a breaking change and every platform would need to follow up.
Because react-native-community/cli@d53582d landed I hope that we can close this PR because condition added by @blakef omit react-native as platformName.
cc: @cortinico, @blakef, @okwasniewski

Can you show how this would break other OOT platforms?  Currently this calls require('@react-native-communt/cli').run('react-native') (as it is).  Users who want to use an OOT platform can init with the --platformName argument and they'll still work.

Hey @blakef,
For the core repo it calls require('@react-native-communt/cli').run('react-native') but OOT platforms change the name in package.json so for visionOS it would be require('@react-native-communt/cli').run('@callstack/react-native-visionos').
This change would require OOT platforms to add this line back to their fork, the idea behind this was to unify the solution across those forks. But if it's already handled in CLI - then this change isn't necessary, right?

That makes sense 👍.  Will close the PR.
One thing to keep in mind is npx react-native@latest init won't work from 0.76 onwards and the code is going to be removed in 0.77.  We should make sure that all of the OOT platforms docs are updated.


Create Post “2021-08-01-testing”

Automatically generated by Netlify CMS

👷 Deploy Preview for admiring-haibt-6e6728 processing.
🔨 Explore the source changes: 9fc60110a53d2bd966372d888e339de66cac8fe8
🔍 Inspect the deploy log: https://app.netlify.com/sites/admiring-haibt-6e6728/deploys/610709e6cbf8bd000784419d


ImportError: librccl.so.1: cannot open shared object file: No such file or directory

Hello, I am trying to install rocm but got the above error when trying to import tensorflow
" ImportError: librccl.so.1: cannot open shared object file: No such file or directory "
My set up is:
ubuntu 20.04
rocm 3.5
tensorflow-rocm 2.2.0
gpu rx580
cpu intel 9100f
( using anaconda, if that matter )
I saw some other guys has same error he fix it with:
yum install rccl
I used
sudo apt install rccl
installing was successful but I still got same error.
What should I do?

It's said that rocm cannot support ubuntu-20.04 right now.
https://github.com/RadeonOpenCompute/ROCm/issues/1112
I just install rocm-3.5.1 on ubunt-18.04, with sudo apt install rccl.
Ubuntu 18.04.04
ROCm 3.5.1-34
Python 3.6.10 with anaconda
tensorflow-rocm 2.2.0
cpu I7 4770
gpu RX 580

It seems the reboot wont refresh ld cache, we must run sudo ldconfig.

I already had an old version of rccl installed:
$ sudo apt install rccl
[...]
rccl is already the newest version (2.10.0-311-g1d2aa4e-rocm-rel-3.3-19).

I tried reinstalling it, anyways:
$ sudo apt install --reinstall rccl
[...]
Reinstallation of rccl is not possible, it cannot be downloaded.

Uninstalling and installing RCCL got me the ROCm 3.8 version:
$ sudo apt remove rccl
[...]
Removing rccl (2.10.0-311-g1d2aa4e-rocm-rel-3.3-19) ...
$ sudo apt install rccl
[...]
Preparing to unpack .../rccl_<IP_ADDRESS>7-rocm-rel-3.8-30-391bbf3_amd64.deb ...
Unpacking rccl (<IP_ADDRESS>7-rocm-rel-3.8-30-391bbf3) Setting up rccl (<IP_ADDRESS>7-rocm-rel-3.8-30-391bbf3)

So for your convenience:
sudo apt remove --yes rccl && sudo apt install --yes rccl

Hi @vuquocan1987
Thanks for reaching out.
As tensorflow needs rccl and other math libraries along with rocm, always recommend to try the below way.
sudo apt install rocm-dkms rocm-libs rccl.
Recommend to try with the latest ROCm 3.10 and all packging/installation issues are resolved.

Same error with tensorflow-rocm binary wheel/package from PYPI:
ImportError: librccl.so.1: cannot open shared object file: No such file or directory

As this issue is already closed, recommend to open a new issue with all supported details.
Thank you.

Installing rccl package and adding it to LD_LIBRARY_PATH resolved the issue.
Having RCCL wheel from PYPI would resolve this issue without sudo access.
On Tue, Aug 10, 2021 at 7:54 AM ROCmSupport @.***>
wrote:

As this issue is already closed, recommend to open a new issue with all
supported details.
Thank you.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/RadeonOpenCompute/ROCm/issues/1161#issuecomment-896002650,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB4BTZM7JBQM7OZWQGICQSDT4EOPBANCNFSM4OFTJXVQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.


Feature/eigen/cpp_ad for py

@googlebot I consent.

I synced the branch with master.

Thanks, triggering CI again (PAGMO2 should be off by default, otherwise CI fails)

Thanks @ErikGartner , I added some comments in-line, could you have a look?

Hi @erwincoumans! Sorry I missed a notification from Github. I'll have a look and get back to you asap. /Erik

Hi @erwincoumans, I have fixed your comments now. Let me know if there is anything else. :-)

In the python/CMakeListst.txt, we need to add IF(USE_CPPAD) before set_target_properties on a project.

@erwincoumans Should be fixed now in 88b66dc.

Thanks for the contribution, I'll merge and check it out. Did you also have PD control for spherical joints?

When running python setup.py build on Windows, it fails.
ffsim_ad.cc /Fobuild\temp.win-amd64-3.7\Release\python/pytinydiffsim_ad.obj -fpermissive -DPYBULLET_USE_NUMPY -DWIN32 -DGLEW_STATIC /std:c++17
cl : Command line warning D9002 : ignoring unknown option '-fpermissive'
pytinydiffsim_ad.cc
python/pytinydiffsim_ad.cc(17): fatal error C1083: Cannot open include file: 'cppad/cg/cppadcg.hpp': No such file or directory

Probably best to disable pytinydiffsim_ad.cc for now, unless we can easily build cppad etc from within setup.py (note that it doesn't use cmake or precompiled libs)

I think we need to update the Python examples since I changed the API to only expose one type of data types., i.e. Quaternion that either compile to TinyQuaternion or Eigen::Quaternion depending on the interface.
I tried to have both both but pybind11 didn't like having TinyQuaternion and at the same type compiling Quaternion to TinyQuaternion.

Good point, haven't tried running the examples recently. It would be good to fix them, and also add a Python example for the new CppAd (or is there already one)?


[PROFILE REVIEW]

GitHub Profile Link:-
https://github.com/<your-username>
You can also join our Discord community here
Feel free to check out other cool repositories of the Open Source Community here

Same issue as #28


skip rechability tests

Skip Flaky test in multicluster

@aryan16: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-istiodremote_istio
4b72c007e3b334ff8b62a9987d3b80c1362f3578
link
true
/test integ-security-istiodremote_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


A typo in a khcheck spec can cause khckeck listing to fail

Describe the bug
If any khcheck custom resource in kuberhealthy 2 has a syntax error in the spec, it appears that the kubernetes client fails to list all khcheck objects.

Example error from this:
time="2019-10-02T20:30:31Z" level=error msg="Error listing check configuration resources khcheckcrd.KuberhealthyCheckList.Items: []khcheckcrd.KuberhealthyCheck: khcheckcrd.KuberhealthyCheck.Spec: khcheckcrd.CheckConfig.PodSpec: v1.PodSpec.Containers: []v1.Container: decode slice: expect [ or n, but found {, error found in #10 byte of ...|tainers\":{\"image\":\"i|..., bigger context ...|\"testLabel\":\"testLabel\"},\"podSpec\":{\"containers\":{\"image\":\"integrii/kh-test-check:doesnotexist\",\"ima|..."

It may be that we register an endpoint on kuberhealthy as a validatingwebhook and send all crd operations through it.  This would give us a chance to validate the yaml before it ends up in the database.

This is being solved with an admission controller deployment.  in #222

closing in favor of #222


bug(a11y): contrast issues on blog single code blocks.

Context
var(--code-background), on "light" modem, is too dark for the some of the colors inside Github "light" code highlighting theme. e.g. the green text in the screenshot
Screenshot

Tasks

[ ] Update theme

Work is planned for 27/12/2023.

Similar issue for dark theme can be avoided by setting content.highlight.theme.dark to dark-plus

Will be fixed as part of 3.5.25


【kosmos-2】The code for GRIT construction

Describe
Model I am using kosmos-2: Will you updata the code of GRIT construction process? I'd like to finetune kosmos-2 in App UI scene, but the detail of GRIT construction is not clear enough for me. For example, the steps of "get noun chunks and region from detector" and "input image and noun chunks into glip to obtain bboxes" seems same? Thaks for your great work!

Thanks for your reply! It seems the step"input image and noun chunks into glip to obtain bboxes" is not necessary? we just detect objects by detector and expand the noun chunks to referring expressions?

Oh，sorry！ I made a mistake. Another question: The process of generate grit is strict? In a specific scene, GLIP might can not recognize all objects. In this case, is it possible to generate object bbox、captions and nuon-chunks manually for fientuning?

Yes, manual annotations would be quite helpful.


adding .flake8 file to set line length to 100 chars

Pull Request
Description
A two-line PR!  This one implements one way of automatically checking that lines are <= 100 chars long, as per OCF's style guide.
How Has This Been Tested?
This works with my code editor (Emacs).  I haven't tested it with Black yet.  It's possible Black will need another config file.

[ ] No
[x] Yes

I'll merge for now.  We can always move to the 'meta' nowcasting repo if that's the right place for this!


My first revup foo

Topic: foo

#
head
base
diff
date
summary

0
6877bbca
37f685bd
diff
Oct 28 10:30 AM
1 file changed, 0 insertions(+), 0 deletions(-)


Update Merkle Proof Library to use Bytes type

Type of change

Improvement (refactoring, restructuring repository, cleaning tech debt, ...)

Changes
The following changes have been made:

leaf_digest() and node_digest() now use the Bytes type to tightly pack bytes
Ignored tests have now been readded
Some tests have been updated to use a greater number of leaves with a total tree depth of up to 8
Documentation has been updated that the library now works with the Fuel-Merkle repo

Notes

The Bytes type does not have a From<T> implemented to natively convert a b256. This should be updated when  https://github.com/FuelLabs/sway/issues/3810 is resolved
The Bytes type does not have a way to natively hash the tightly packed bytes. This should be updated when https://github.com/FuelLabs/sway/issues/3809 is resolved.
This should unblock the Chess and Battleship games to use Merkle proof verification

Related Issues

Closes #80

Given that sway#3809 is merged, do we want to use this PR to get the hashing working correctly? Or will that be addressed with a separate PR ?


Feat/esm icons

resolves #719

seeing a couple errors from the react icon components. props naming issues:

Warning: Invalid DOM property fill-rule. Did you mean fillRule?
Warning: Invalid DOM property clip-rule. Did you mean clipRule?

svgr was camelizing so we'll probably have to do the same
...actually it's weird because the generated component looks right. maybe the packages in the site aren't correct 🤷♂

Are you seeing that on bootstrap, storybook, or site?

on site

@danethurber update regex to camelcase dashed svg attributes not starting with data or aria


Offset random seed for setup and teardown

Fixes #22.

@adamchainz this works great for us!

Released on PyPI at 1.1.0 https://pypi.python.org/pypi/pytest-randomly

Awesome, thanks again! Found another flaky test in our projects already. 😩

Can this behavior be added as an option instead?

@kmantelpton please open a new issue and explain what problems it's causing you


clarified docs, errors, and warnings

Small change to make the config easier to understand.
Signed-off-by: Sienna Lloyd<EMAIL_ADDRESS>

Thanks for the PR, but the change seems to be incorrect -
when RTTMillisecond is 100 milliseconds and the election interval is expected to be 1 second, ElectionRTT should be 10.

Is ElectionRTT a multiplier or a length of time? I can make the change, I just want to make sure I understand it.

@lni would you be able to provide clarification on my previous question?

Even though I am not @lni I think I can answer your question: ElectionRTT and HeartbeatRTT are both multipliers of RTTMillisecond.

@coufalja is correct.
@mxplusb I had a quick look at the godoc in config/config.go, there are concrete examples on the definitions of both ElectionRTT and HeartbeatRTT. Would you like to have a look and provide feedback on whether it is still a little bit difficult to understand. Thanks.


Add a note about commit signing to CONTRIBUTING.md

And remove extra EOL whitespaces
Details

Fixed Issues

Fixes GH_LINK
Tests

Screenshots

I have read the CLA Document and I hereby sign the CLA

recheck


RTL and vertical text

Support eg. Arabic and vertical text. Needs proper font parser.

Incorporated in #45


feat(release_walker.go): update version as well

enables deisrel to update workflow-dev version and workflow-dev-e2e version

Closes #66


Current party indicator and feedback form

Added to current party indicator on vote info
Added feedback form to footer

@hmrtn done that and rebased with develop


Create ReactScroller.js

Marking as SPAM. Please note that submitting unnecessary PRs are not acceptable for Hacktoberfest and are disqualified. This is also noted on Hacktoberfest's website.


Feature/breakpoints

Changes to RunnableController to accept a list of breakpoints at which it will return the control to the operator during a scan.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@3805463). Click here to learn what that means.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master     #290   +/-   ##
=========================================
  Coverage          ?   92.48%
=========================================
  Files             ?      211
  Lines             ?    11070
  Branches          ?        0
=========================================
  Hits              ?    10238
  Misses            ?      832
  Partials          ?        0

Impacted Files
Coverage Δ

...modules/scanning/controllers/runnablecontroller.py
89.5% <100%> (ø)

malcolm/modules/scanning/util.py
99.13% <100%> (ø)

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 3805463...81bd752. Read the comment docs.

Codecov Report

Merging #290 into master will decrease coverage by 0.02%.
The diff coverage is 94.84%.

@@            Coverage Diff             @@
##           master     #290      +/-   ##
==========================================
- Coverage   92.32%   92.30%   -0.03%
==========================================
  Files         212      212
  Lines       10884    10938      +54
==========================================
+ Hits        10049    10096      +47
- Misses        835      842       +7

Impacted Files
Coverage Δ

...alcolm/modules/scanning/parts/detectorchildpart.py
93.04% <ø> (ø)

...modules/scanning/controllers/runnablecontroller.py
89.70% <94.38%> (-0.93%)
:arrow_down:

malcolm/modules/scanning/hooks.py
97.77% <100.00%> (+0.07%)
:arrow_up:

malcolm/modules/scanning/util.py
99.13% <100.00%> (+0.02%)
:arrow_up:

malcolm/core/context.py
94.67% <0.00%> (ø)

malcolm/core/models.py
96.91% <0.00%> (+0.14%)
:arrow_up:

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 dfb0366...2967482. Read the comment docs.

Can we have a unit test with a grid scan, when Malcolm does only x, and 2 breakpoints in the line. Also, can we have one with the same grid scan, but where the sum of the breakpoints is greater than the number of Malcolm executed points in an inner scan, Malcolm should error (the existing code just warns).

Can we have a unit test with a grid scan, when Malcolm does only x, and 2 breakpoints in the line. Also, can we have one with the same grid scan, but where the sum of the breakpoints is greater than the number of Malcolm executed points in an inner scan, Malcolm should error (the existing code just warns).

Sure, I'll look into adding these tests. I will also check the status of the previous conversations.

I have made some modifications to this branch as noted in the comments above:

Should now supported multiple dimensions of outer axes in the scan
An exception is now raised at configure time if the sum of steps in between each breakpoint exceeds the total number of steps of the inner scan
Tests have been added to test both of these additions

Codecov Report

Merging #290 into master will decrease coverage by 0.12%.
The diff coverage is 95.23%.

@@            Coverage Diff             @@
##           master     #290      +/-   ##
==========================================
- Coverage   92.73%   92.61%   -0.13%
==========================================
  Files         213      213
  Lines       11278    11342      +64
==========================================
+ Hits        10459    10504      +45
- Misses        819      838      +19

Impacted Files
Coverage Δ

...alcolm/modules/scanning/parts/detectorchildpart.py
93.06% <ø> (-1.99%)
:arrow_down:

...modules/scanning/controllers/runnablecontroller.py
90.20% <94.59%> (-2.49%)
:arrow_down:

...modules/ADPandABlocks/parts/pandaseqtriggerpart.py
91.84% <100.00%> (+0.03%)
:arrow_up:

malcolm/modules/scanning/hooks.py
100.00% <100.00%> (ø)

malcolm/modules/scanning/util.py
99.13% <100.00%> (+0.02%)
:arrow_up:

malcolm/modules/builtin/parts/childpart.py
96.23% <0.00%> (-0.84%)
:arrow_down:

malcolm/core/context.py
96.77% <0.00%> (ø)

malcolm/core/views.py
96.47% <0.00%> (+0.70%)
:arrow_up:

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 08633c5...88962a4. Read the comment docs.

@thomascobb I believe this is ready for your eyes again.

@thomascobb I believe this is ready for your eyes again.

@thomascobb duplicated code has now been moved. Are other changes required?

@thomascobb duplicated code has now been moved. Are other changes required?


Update new way to get datacite schema

Proposed solution
Based on changes in backend https://github.com/CSCfi/metadata-submitter/pull/400, datacite schema was removed. It's now under folders schema only and we should fetch it from folders schema.
DoD (Definition of Done)
Datacite schema is fetched from folder.json["doiInfo"]
Testing
Current unit tests and integration tests should cover this issue.

we can still retrieve the datacite schema using the same endpoint nothing changed there so, this should not impact anything just tested stuff still work with that change

we can still retrieve the datacite schema using the same endpoint nothing changed there so, this should not impact anything just tested stuff still work with that change

Thanks, I was thinking too far. I tested and it should be fine, so I close this issue.


[Bug]: GNET client not working as expected

Actions I've taken before I'm here

[X] I've thoroughly read the documentations on this issue but still have no clue.
[X] I've searched the Github Issues but didn't find any duplicate issues that have been resolved.
[X] I've searched the internet for this issue but didn't find anything helpful.

What happened?
Tried using GNET as a HTTP client, I send request payload but were unable to receive response back from the web server.
Major version of gnet
v2
Specific version of gnet
v2.5.0
Operating system
Windows
OS version
Windows 11 Home 10.0.22631 x64-based PC
Go version
go version go1.22.2 windows/amd64
Relevant log output
~\Documents\Lightning via 🐹 v1.22.2
❯ go run .
boot
onopen
GET / HTTP/1.1
Host: pix4.dev

~\Documents\Lightning via 🐹 v1.22.2 took 9s

Code snippets (optional)
Standard HTTP client to test stuff, however even tho I send the HTTP request but I do get absolute no response back, ontraffic is not triggered. But I did send payload to remote socket at OnOpen event.

package main

import (
	"fmt"
	"log"

	"github.com/panjf2000/gnet/v2"
)

type EventHandler struct {
	gnet.BuiltinEventEngine
	eng gnet.Engine
}

func (es *EventHandler) OnBoot(eng gnet.Engine) gnet.Action {
	fmt.Println("boot")
	es.eng = eng
	return gnet.None
}

func (e *EventHandler) OnOpen(c gnet.Conn) (out []byte, action gnet.Action) {
	fmt.Println("onopen")
	out = []byte("GET / HTTP/1.1\r\nHost: pix4.dev\r\n\r\n")
	fmt.Println(string(out))
	return out, gnet.None
}

func (e *EventHandler) OnTraffic(c gnet.Conn) (action gnet.Action) {
	fmt.Println("traffic")
	rd, err := c.Next(-1)
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(string(rd), 1)
	return gnet.None
}

func (e *EventHandler) OnClose(c gnet.Conn, err error) (action gnet.Action) {
	fmt.Println("close")
	fmt.Println(err)
	return gnet.Close
}

func main() {
	client, err := gnet.NewClient(&EventHandler{}, gnet.WithMulticore(true))
	if err != nil {
		log.Fatal(err)
	}

	if err := client.Start(); err != nil {
		log.Fatal(err)
	}

	_, err = client.Dial("tcp", "<IP_ADDRESS>:443")
	if err != nil {
		log.Fatal(err)
	}
}

How to Reproduce
Reproduce what I've described above.
Does this issue reproduce with the latest release?
It can reproduce with the latest release

I think your program exited before it received the response, you need to hang in the main func.

Oh damn, true lmao. my bad i forgot totally about its even driven architecture anyways thanks!
Got one more question if u do not mind. Currently it is not possible for me to convert the connection to accommodate TLS. For example when OnOpen emits, I convert to TLS then later everytime OnTraffic fires its a TLS connection.
Will be pretty dope and I like ``gnet``` pretty much so far. Good job 🫡🫡🫡

gnet hasn't supported TLS yet, but it's on our roadmap, I hope we can get it done someday.

Please close this issue if your problem has been solved.


how to process millions datasets

I hava millions datasets，each dataset is 1GB size.
every dataset should be process by a workflow.
Is that mean I should submit millions workflow to k8s cluster?
What can I do ?

As discussed on the argo slack channel, this will require an admission queue/controller for workflows.
https://github.com/argoproj/argo/issues/993


Support Lemmy v0.18.0

Lemmy v0.18.0 was released today.
According to the post:

There are two breaking changes since the last release:

GetSite.taglines is now required, and is an empty array.
SortType and ListingType are now numbered enums, rather than strings in some places, and numbers in others.

A full comparison of the changes can be found here.
It is very unclear at this point how the Lemmy API is versioned. The expectation (although I don't believe documented anywhere) is that breaking API changes would bump the version in the API path. This was not the case with the release of Lemmy 0.18.0.
I have posted a comment in reply to @dessalines's Lemmy post requesting clarification on how Lemmy is viewing API versioning.
An API like this that is designed to be used externally, needs some type of solid versioning system, because you don't know what server you are talking to and what version they are running until you run GetSiteRequest.

I'm still trying to figure out the best way to handle these breaking changes within this package. If anyone has any feedback or advice, I would love to hear it.

I generally agree, this isn't great to work with.
On the other hand they're at 0.x releases so technically breaking changes can come at any time. Still, this isn't optimal.
It's basically impossible to predict or handle these changes in a way that wouldn't require an update to this API Client and that is not a great situation for people relying on this to build an app.


Can't install on a fresh created openshift cluster.

helm install openebs openebs/openebs -n openebs --create-namespace
Error: INSTALLATION FAILED: rendered manifests contain a resource that already exists. Unable to continue with install: CustomResourceDefinition "lvmnodes.local.openebs.io" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "app.kubernetes.io/managed-by": must be set to "Helm"; annotation validation error: missing key "meta.helm.sh/release-name": must be set to "openebs"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "openebs"

deleted CRDS

Deleting CRDs is okay here because you're going for a fresh install.
Otherwise, using the --set lvm-localpv.crds.lvmLocalPv.enabled=false option should fix this.
Ref: https://openebs.io/docs/user-guides/upgrade